fix(core/api): restore re-exports and resolve visibility warning

- Re-export ModelClient, Prompt, ResponseEvent, ResponseStream
- Re-export ContentItem, ResponseItem, ReasoningItemContent
- Make EnvironmentContext public to eliminate private_interfaces warning

status: build clean
This commit is contained in:
just-every-code
2025-09-09 01:12:42 +00:00
parent cd33b92cf0
commit b29212ca74
2 changed files with 645 additions and 318 deletions
+644 -317
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -23,7 +23,7 @@ pub enum NetworkAccess {
}
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
#[serde(rename = "environment_context", rename_all = "snake_case")]
pub(crate) struct EnvironmentContext {
pub struct EnvironmentContext {
pub cwd: Option<PathBuf>,
pub approval_policy: Option<AskForApproval>,
pub sandbox_mode: Option<SandboxMode>,