@opencode-ai/client
Advanced tools
@@ -409,12 +409,8 @@ import type { HealthGetOutput, LocationGetInput, LocationGetOutput, AgentListInput, AgentListOutput, PluginListInput, PluginListOutput, SessionListInput, SessionListOutput, SessionCreateInput, SessionGetInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionRenameInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionInstructionsEntryListInput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionBackgroundInput, SessionMessageInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationConnectKeyInput, IntegrationConnectOauthInput, IntegrationConnectOauthOutput, IntegrationAttemptStatusInput, IntegrationAttemptStatusOutput, IntegrationAttemptCompleteInput, IntegrationAttemptCancelInput, ServerMcpListInput, ServerMcpListOutput, CredentialUpdateInput, CredentialRemoveInput, ProjectListOutput, ProjectCurrentInput, ProjectCurrentOutput, ProjectDirectoriesInput, ProjectDirectoriesOutput, FormListRequestsInput, FormListRequestsOutput, FormListInput, FormCreateInput, FormGetInput, FormStateInput, FormReplyInput, FormCancelInput, PermissionListRequestsInput, PermissionListRequestsOutput, PermissionListSavedInput, PermissionRemoveSavedInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, QuestionListRequestsInput, QuestionListRequestsOutput, QuestionListInput, QuestionReplyInput, QuestionRejectInput, ReferenceListInput, ReferenceListOutput, ProjectCopyCreateInput, ProjectCopyCreateOutput, ProjectCopyRemoveInput, ProjectCopyRefreshInput, VcsStatusInput, VcsStatusOutput, VcsDiffInput, VcsDiffOutput, DebugLocationOutput } from "./types"; | ||
| readonly type: "text"; | ||
| readonly id: string; | ||
| readonly text: string; | ||
| } | { | ||
| readonly type: "reasoning"; | ||
| readonly id: string; | ||
| readonly text: string; | ||
| readonly providerMetadata?: { | ||
| readonly [x: string]: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| readonly state?: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
@@ -429,15 +425,9 @@ readonly time?: { | ||
| readonly name: string; | ||
| readonly provider?: { | ||
| readonly executed: boolean; | ||
| readonly metadata?: { | ||
| readonly [x: string]: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| }; | ||
| readonly resultMetadata?: { | ||
| readonly [x: string]: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| }; | ||
| readonly executed?: boolean; | ||
| readonly providerState?: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| readonly providerResultState?: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| readonly state: { | ||
@@ -517,3 +507,3 @@ readonly status: "pending"; | ||
| readonly error: { | ||
| readonly type: "unknown"; | ||
| readonly type: string; | ||
| readonly message: string; | ||
@@ -535,3 +525,3 @@ }; | ||
| }; | ||
| readonly finish?: string; | ||
| readonly finish?: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown"; | ||
| readonly cost?: number; | ||
@@ -548,5 +538,13 @@ readonly tokens?: { | ||
| readonly error?: { | ||
| readonly type: "unknown"; | ||
| readonly type: string; | ||
| readonly message: string; | ||
| }; | ||
| readonly retry?: { | ||
| readonly attempt: number; | ||
| readonly at: number; | ||
| readonly error: { | ||
| readonly type: string; | ||
| readonly message: string; | ||
| }; | ||
| }; | ||
| } | { | ||
@@ -726,12 +724,8 @@ readonly type: "compaction"; | ||
| readonly type: "text"; | ||
| readonly id: string; | ||
| readonly text: string; | ||
| } | { | ||
| readonly type: "reasoning"; | ||
| readonly id: string; | ||
| readonly text: string; | ||
| readonly providerMetadata?: { | ||
| readonly [x: string]: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| readonly state?: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
@@ -746,15 +740,9 @@ readonly time?: { | ||
| readonly name: string; | ||
| readonly provider?: { | ||
| readonly executed: boolean; | ||
| readonly metadata?: { | ||
| readonly [x: string]: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| }; | ||
| readonly resultMetadata?: { | ||
| readonly [x: string]: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| }; | ||
| readonly executed?: boolean; | ||
| readonly providerState?: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| readonly providerResultState?: { | ||
| readonly [x: string]: import("./types").JsonValue; | ||
| }; | ||
| readonly state: { | ||
@@ -834,3 +822,3 @@ readonly status: "pending"; | ||
| readonly error: { | ||
| readonly type: "unknown"; | ||
| readonly type: string; | ||
| readonly message: string; | ||
@@ -852,3 +840,3 @@ }; | ||
| }; | ||
| readonly finish?: string; | ||
| readonly finish?: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown"; | ||
| readonly cost?: number; | ||
@@ -865,5 +853,13 @@ readonly tokens?: { | ||
| readonly error?: { | ||
| readonly type: "unknown"; | ||
| readonly type: string; | ||
| readonly message: string; | ||
| }; | ||
| readonly retry?: { | ||
| readonly attempt: number; | ||
| readonly at: number; | ||
| readonly error: { | ||
| readonly type: string; | ||
| readonly message: string; | ||
| }; | ||
| }; | ||
| } | { | ||
@@ -870,0 +866,0 @@ readonly type: "compaction"; |
+4
-4
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/client", | ||
| "version": "0.0.0-next-15016", | ||
| "version": "0.0.0-next-15017", | ||
| "type": "module", | ||
@@ -44,4 +44,4 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@opencode-ai/schema": "0.0.0-next-15016", | ||
| "@opencode-ai/protocol": "0.0.0-next-15016" | ||
| "@opencode-ai/schema": "0.0.0-next-15017", | ||
| "@opencode-ai/protocol": "0.0.0-next-15017" | ||
| }, | ||
@@ -58,3 +58,3 @@ "peerDependencies": { | ||
| "@effect/platform-node": "4.0.0-beta.83", | ||
| "@opencode-ai/httpapi-codegen": "0.0.0-next-15016", | ||
| "@opencode-ai/httpapi-codegen": "0.0.0-next-15017", | ||
| "@tsconfig/bun": "1.0.9", | ||
@@ -61,0 +61,0 @@ "@types/bun": "1.3.13", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
793101
0.96%18480
0.97%+ Added
+ Added
- Removed
- Removed