@opencode/client 2.0.31 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/chunks/{contract-2ny4vxct.js → rpc-runtime-2ny4vxct.js} +2 -2
  2. package/dist/chunks/{contract-csw6v8a4.js → rpc-runtime-3d7b8k62.js} +4 -4
  3. package/dist/chunks/{contract-m77rqa4a.js → rpc-runtime-61wt4y9h.js} +22 -17
  4. package/dist/chunks/{contract-1y4a697q.js → rpc-runtime-6vp15eh6.js} +1 -1
  5. package/dist/chunks/{contract-j4tgja9b.js → rpc-runtime-91bd4p6h.js} +1 -1
  6. package/dist/chunks/{contract-vt9jbch8.js → rpc-runtime-ezt8t3fk.js} +2 -1
  7. package/dist/chunks/{contract-frbwqjmf.js → rpc-runtime-frbwqjmf.js} +1 -1
  8. package/dist/chunks/{contract-qfk0hgz0.js → rpc-runtime-nv358xrg.js} +27 -3
  9. package/dist/chunks/{contract-9swsjjg0.js → rpc-runtime-q4y9w4td.js} +24 -5
  10. package/dist/chunks/{contract-t1xa31vm.js → rpc-runtime-t1xa31vm.js} +1 -1
  11. package/dist/chunks/{contract-4yh01835.js → rpc-runtime-tjkwftgd.js} +5 -5
  12. package/dist/chunks/{contract-w1w809zr.js → rpc-runtime-w1w809zr.js} +2 -2
  13. package/dist/contract.js +1 -1
  14. package/dist/effect/api/api.d.ts +91 -29
  15. package/dist/effect/client.d.ts +1389 -1361
  16. package/dist/effect/client.js +8 -8
  17. package/dist/effect/generated/client-error.js +1 -1
  18. package/dist/effect/generated/client.d.ts +1279 -1251
  19. package/dist/effect/generated/client.js +3 -3
  20. package/dist/effect/generated/index.js +4 -4
  21. package/dist/effect/index.js +8 -8
  22. package/dist/effect/rpc.js +2 -2
  23. package/dist/effect/service.js +6 -6
  24. package/dist/promise/client.d.ts +13 -7
  25. package/dist/promise/client.js +7 -7
  26. package/dist/promise/generated/client-error.js +1 -1
  27. package/dist/promise/generated/client.d.ts +8 -2
  28. package/dist/promise/generated/client.js +2 -2
  29. package/dist/promise/generated/index.js +6 -4
  30. package/dist/promise/generated/types.d.ts +286 -1429
  31. package/dist/promise/generated/types.js +3 -1
  32. package/dist/promise/index.js +10 -8
  33. package/dist/promise/rpc.js +2 -2
  34. package/dist/promise/service.js +6 -6
  35. package/dist/pty-handoff.js +1 -1
  36. package/dist/rpc-runtime.d.ts +5 -5
  37. package/dist/rpc-runtime.js +1 -1
  38. package/dist/service-contender.js +1 -1
  39. package/dist/service-probe.d.ts +5 -5
  40. package/dist/service-probe.js +3 -3
  41. package/dist/service-timing.js +1 -1
  42. package/dist/service-version.js +1 -1
  43. package/dist/service.js +1 -1
  44. package/dist/shared-events.js +1 -1
  45. package/dist/solid/connection.js +1 -1
  46. package/dist/solid/data.js +9 -9
  47. package/dist/solid/index.js +12 -12
  48. package/dist/solid/pty.js +1 -1
  49. package/dist/solid/usage.js +1 -1
  50. package/package.json +6 -6
  51. /package/dist/chunks/{contract-6mptkzbc.js → rpc-runtime-6mptkzbc.js} +0 -0
  52. /package/dist/chunks/{contract-7f0py9js.js → rpc-runtime-7f0py9js.js} +0 -0
  53. /package/dist/chunks/{contract-8s2anffy.js → rpc-runtime-8s2anffy.js} +0 -0
  54. /package/dist/chunks/{contract-9rqn6x4v.js → rpc-runtime-9rqn6x4v.js} +0 -0
  55. /package/dist/chunks/{contract-gne7h7mq.js → rpc-runtime-gne7h7mq.js} +0 -0
  56. /package/dist/chunks/{contract-js54wxgp.js → rpc-runtime-js54wxgp.js} +0 -0
  57. /package/dist/chunks/{contract-m2eywc8w.js → rpc-runtime-m2eywc8w.js} +0 -0
  58. /package/dist/chunks/{contract-qav6mfdz.js → rpc-runtime-qav6mfdz.js} +0 -0
  59. /package/dist/chunks/{contract-sxt88q69.js → rpc-runtime-sxt88q69.js} +0 -0
  60. /package/dist/chunks/{contract-ve4aws36.js → rpc-runtime-ve4aws36.js} +0 -0
  61. /package/dist/chunks/{contract-vmytr4q8.js → rpc-runtime-vmytr4q8.js} +0 -0
  62. /package/dist/chunks/{contract-vyas3vgt.js → rpc-runtime-vyas3vgt.js} +0 -0
  63. /package/dist/chunks/{contract-xgnj2w4v.js → rpc-runtime-xgnj2w4v.js} +0 -0
  64. /package/dist/chunks/{contract-ydhz1zrh.js → rpc-runtime-ydhz1zrh.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  make5
3
- } from "../../chunks/contract-9swsjjg0.js";
4
- import"../../chunks/contract-7f0py9js.js";
5
- import"../../chunks/contract-vmytr4q8.js";
3
+ } from "../../chunks/rpc-runtime-q4y9w4td.js";
4
+ import"../../chunks/rpc-runtime-7f0py9js.js";
5
+ import"../../chunks/rpc-runtime-vmytr4q8.js";
6
6
  export {
7
7
  make5 as make
8
8
  };
@@ -1,11 +1,11 @@
1
- import"../../chunks/contract-6mptkzbc.js";
1
+ import"../../chunks/rpc-runtime-6mptkzbc.js";
2
2
  import {
3
3
  exports_client4
4
- } from "../../chunks/contract-9swsjjg0.js";
4
+ } from "../../chunks/rpc-runtime-q4y9w4td.js";
5
5
  import {
6
6
  ClientError3
7
- } from "../../chunks/contract-7f0py9js.js";
8
- import"../../chunks/contract-vmytr4q8.js";
7
+ } from "../../chunks/rpc-runtime-7f0py9js.js";
8
+ import"../../chunks/rpc-runtime-vmytr4q8.js";
9
9
  export {
10
10
  ClientError3 as ClientError,
11
11
  exports_client4 as OpenCode
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ClientError3
3
- } from "../chunks/contract-7f0py9js.js";
4
- import"../chunks/contract-vmytr4q8.js";
5
- import"../chunks/contract-9swsjjg0.js";
6
- import"../chunks/contract-6mptkzbc.js";
7
- import"../chunks/contract-frbwqjmf.js";
8
- import"../chunks/contract-t1xa31vm.js";
9
- import"../chunks/contract-w1w809zr.js";
3
+ } from "../chunks/rpc-runtime-7f0py9js.js";
4
+ import"../chunks/rpc-runtime-vmytr4q8.js";
5
+ import"../chunks/rpc-runtime-q4y9w4td.js";
6
+ import"../chunks/rpc-runtime-6mptkzbc.js";
7
+ import"../chunks/rpc-runtime-frbwqjmf.js";
8
+ import"../chunks/rpc-runtime-t1xa31vm.js";
9
+ import"../chunks/rpc-runtime-w1w809zr.js";
10
10
  import {
11
11
  exports_client3
12
- } from "../chunks/contract-4yh01835.js";
12
+ } from "../chunks/rpc-runtime-tjkwftgd.js";
13
13
 
14
14
  // src/effect/index.ts
15
15
  import { Agent } from "@opencode/schema/agent";
@@ -2,8 +2,8 @@ import {
2
2
  make6,
3
3
  aborted2,
4
4
  exports_rpc
5
- } from "../chunks/contract-w1w809zr.js";
6
- import"../chunks/contract-t1xa31vm.js";
5
+ } from "../chunks/rpc-runtime-w1w809zr.js";
6
+ import"../chunks/rpc-runtime-t1xa31vm.js";
7
7
  export {
8
8
  exports_rpc as RpcClientRuntime,
9
9
  aborted2 as aborted,
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/contract-ve4aws36.js";
4
+ } from "../chunks/rpc-runtime-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/contract-xgnj2w4v.js";
8
+ } from "../chunks/rpc-runtime-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/contract-sxt88q69.js";
11
+ } from "../chunks/rpc-runtime-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/contract-j4tgja9b.js";
17
+ } from "../chunks/rpc-runtime-91bd4p6h.js";
18
18
  import {
19
19
  decide2,
20
20
  fallback2,
21
21
  same2,
22
22
  probeResult2,
23
23
  headers2
24
- } from "../chunks/contract-2ny4vxct.js";
25
- import"../chunks/contract-qav6mfdz.js";
24
+ } from "../chunks/rpc-runtime-2ny4vxct.js";
25
+ import"../chunks/rpc-runtime-qav6mfdz.js";
26
26
 
27
27
  // src/effect/service.ts
28
28
  import { Effect, FileSystem, Option, Schedule, Schema } from "effect";
@@ -4,12 +4,6 @@ import { OpenCode } from "./generated/index.js";
4
4
  import type { ClientOptions } from "./generated/client.js";
5
5
  export type { ClientOptions, RequestOptions } from "./generated/client.js";
6
6
  export declare function make(options: ClientOptions): {
7
- rpc: import("./rpc.js").RpcApi<import("./rpc.js").RpcCallOptions> & {
8
- call: (input: import("./index.js").RpcCallInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").RpcOutput>;
9
- };
10
- event: {
11
- subscribe(options?: SharedEvents.SubscribeOptions): AsyncIterable<import("./index.js").V2Event>;
12
- };
13
7
  server: {
14
8
  info: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ServerInfo>;
15
9
  pair: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PairingCode>;
@@ -77,7 +71,7 @@ export declare function make(options: ClientOptions): {
77
71
  interrupt: (input: import("./index.js").SessionInterruptInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInterruptResponse>;
78
72
  background: (input: import("./index.js").SessionBackgroundInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
79
73
  message: {
80
- get: (input: import("./index.js").SessionMessageGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionMessageAgentSelected | import("./index.js").SessionMessageSynthetic | import("./index.js").SessionMessageSystem | import("./index.js").SessionMessageCompactionRunning | import("./index.js").SessionMessageSkill | import("./index.js").SessionMessageShell | import("./index.js").SessionMessageCompactionFailed | import("./index.js").SessionMessageIdle | import("./index.js").SessionMessageLocationSwitched | import("./index.js").SessionMessageModelSelected | import("./index.js").SessionMessageUser | import("./index.js").SessionMessageCompactionCompleted | import("./index.js").SessionMessageAssistant>;
74
+ get: (input: import("./index.js").SessionMessageGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionMessageAgentSelected | import("./index.js").SessionMessageAssistant | import("./index.js").SessionMessageCompactionCompleted | import("./index.js").SessionMessageCompactionFailed | import("./index.js").SessionMessageCompactionRunning | import("./index.js").SessionMessageIdle | import("./index.js").SessionMessageLocationSwitched | import("./index.js").SessionMessageModelSelected | import("./index.js").SessionMessageShell | import("./index.js").SessionMessageSkill | import("./index.js").SessionMessageSynthetic | import("./index.js").SessionMessageSystem | import("./index.js").SessionMessageUser>;
81
75
  };
82
76
  form: {
83
77
  list: (input: import("./index.js").SessionFormListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FormInfo[]>;
@@ -101,6 +95,11 @@ export declare function make(options: ClientOptions): {
101
95
  text: string;
102
96
  }>;
103
97
  };
98
+ voice: {
99
+ session: (input: import("./index.js").VoiceSessionInput, requestOptions?: OpenCode.RequestOptions) => Promise<{
100
+ transport: import("./index.js").VoiceTransport;
101
+ }>;
102
+ };
104
103
  provider: {
105
104
  list: (input?: import("./index.js").ProviderListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ProviderListOutput>;
106
105
  get: (input: import("./index.js").ProviderGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ProviderGetOutput>;
@@ -157,6 +156,7 @@ export declare function make(options: ClientOptions): {
157
156
  };
158
157
  saved: {
159
158
  list: (input?: import("./index.js").PermissionSavedListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PermissionSavedInfo[]>;
159
+ update: (input: import("./index.js").PermissionSavedUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PermissionSavedInfo>;
160
160
  remove: (input: import("./index.js").PermissionSavedRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
161
161
  };
162
162
  create: (input: import("./index.js").PermissionCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<{
@@ -249,4 +249,10 @@ export declare function make(options: ClientOptions): {
249
249
  shells: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ConfigShellsOutput>;
250
250
  update: (input: import("./index.js").ConfigUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
251
251
  };
252
+ rpc: import("./rpc.js").RpcApi<import("./rpc.js").RpcCallOptions> & {
253
+ call: (input: import("./index.js").RpcCallInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").RpcOutput>;
254
+ };
255
+ event: {
256
+ subscribe(options?: SharedEvents.SubscribeOptions): AsyncIterable<import("./index.js").V2Event>;
257
+ };
252
258
  };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  make2,
3
3
  exports_client
4
- } from "../chunks/contract-csw6v8a4.js";
5
- import"../chunks/contract-vyas3vgt.js";
6
- import"../chunks/contract-qfk0hgz0.js";
7
- import"../chunks/contract-js54wxgp.js";
8
- import"../chunks/contract-1y4a697q.js";
9
- import"../chunks/contract-vt9jbch8.js";
10
- import"../chunks/contract-frbwqjmf.js";
4
+ } from "../chunks/rpc-runtime-3d7b8k62.js";
5
+ import"../chunks/rpc-runtime-6vp15eh6.js";
6
+ import"../chunks/rpc-runtime-vyas3vgt.js";
7
+ import"../chunks/rpc-runtime-nv358xrg.js";
8
+ import"../chunks/rpc-runtime-js54wxgp.js";
9
+ import"../chunks/rpc-runtime-ezt8t3fk.js";
10
+ import"../chunks/rpc-runtime-frbwqjmf.js";
11
11
  export {
12
12
  exports_client as OpenCode,
13
13
  make2 as make
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ClientError2
3
- } from "../../chunks/contract-js54wxgp.js";
3
+ } from "../../chunks/rpc-runtime-js54wxgp.js";
4
4
  export {
5
5
  ClientError2 as ClientError
6
6
  };
@@ -1,4 +1,4 @@
1
- import type { ServerConnectInput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionStatsInput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, FileWriteInput, FileWriteOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "./types.js";
1
+ import type { ServerConnectInput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionStatsInput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, VoiceSessionInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, FileWriteInput, FileWriteOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "./types.js";
2
2
  export interface ClientOptions {
3
3
  readonly baseUrl: string;
4
4
  readonly fetch?: typeof globalThis.fetch;
@@ -78,7 +78,7 @@ export declare function make(options: ClientOptions): {
78
78
  interrupt: (input: SessionInterruptInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInterruptResponse>;
79
79
  background: (input: SessionBackgroundInput, requestOptions?: RequestOptions) => Promise<void>;
80
80
  message: {
81
- get: (input: SessionMessageGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageAgentSelected | import("./types.js").SessionMessageSynthetic | import("./types.js").SessionMessageSystem | import("./types.js").SessionMessageCompactionRunning | import("./types.js").SessionMessageSkill | import("./types.js").SessionMessageShell | import("./types.js").SessionMessageCompactionFailed | import("./types.js").SessionMessageIdle | import("./types.js").SessionMessageLocationSwitched | import("./types.js").SessionMessageModelSelected | import("./types.js").SessionMessageUser | import("./types.js").SessionMessageCompactionCompleted | import("./types.js").SessionMessageAssistant>;
81
+ get: (input: SessionMessageGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageAgentSelected | import("./types.js").SessionMessageAssistant | import("./types.js").SessionMessageCompactionCompleted | import("./types.js").SessionMessageCompactionFailed | import("./types.js").SessionMessageCompactionRunning | import("./types.js").SessionMessageIdle | import("./types.js").SessionMessageLocationSwitched | import("./types.js").SessionMessageModelSelected | import("./types.js").SessionMessageShell | import("./types.js").SessionMessageSkill | import("./types.js").SessionMessageSynthetic | import("./types.js").SessionMessageSystem | import("./types.js").SessionMessageUser>;
82
82
  };
83
83
  form: {
84
84
  list: (input: SessionFormListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FormInfo[]>;
@@ -102,6 +102,11 @@ export declare function make(options: ClientOptions): {
102
102
  text: string;
103
103
  }>;
104
104
  };
105
+ voice: {
106
+ session: (input: VoiceSessionInput, requestOptions?: RequestOptions) => Promise<{
107
+ transport: import("./types.js").VoiceTransport;
108
+ }>;
109
+ };
105
110
  provider: {
106
111
  list: (input?: ProviderListInput, requestOptions?: RequestOptions) => Promise<ProviderListOutput>;
107
112
  get: (input: ProviderGetInput, requestOptions?: RequestOptions) => Promise<ProviderGetOutput>;
@@ -158,6 +163,7 @@ export declare function make(options: ClientOptions): {
158
163
  };
159
164
  saved: {
160
165
  list: (input?: PermissionSavedListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionSavedInfo[]>;
166
+ update: (input: PermissionSavedUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionSavedInfo>;
161
167
  remove: (input: PermissionSavedRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
162
168
  };
163
169
  create: (input: PermissionCreateInput, requestOptions?: RequestOptions) => Promise<{
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make3
3
- } from "../../chunks/contract-qfk0hgz0.js";
4
- import"../../chunks/contract-js54wxgp.js";
3
+ } from "../../chunks/rpc-runtime-nv358xrg.js";
4
+ import"../../chunks/rpc-runtime-js54wxgp.js";
5
5
  export {
6
6
  make3 as make
7
7
  };
@@ -1,10 +1,10 @@
1
- import"../../chunks/contract-vyas3vgt.js";
1
+ import"../../chunks/rpc-runtime-vyas3vgt.js";
2
2
  import {
3
3
  exports_client2
4
- } from "../../chunks/contract-qfk0hgz0.js";
4
+ } from "../../chunks/rpc-runtime-nv358xrg.js";
5
5
  import {
6
6
  ClientError2
7
- } from "../../chunks/contract-js54wxgp.js";
7
+ } from "../../chunks/rpc-runtime-js54wxgp.js";
8
8
  import {
9
9
  isInvalidRequestError2,
10
10
  isUnauthorizedError2,
@@ -30,6 +30,7 @@ import {
30
30
  isIntegrationMethodNotFoundError2,
31
31
  isMcpServerNotFoundError2,
32
32
  isProjectNotFoundError2,
33
+ isPermissionSavedNotFoundError2,
33
34
  isPermissionNotFoundError2,
34
35
  isFileNotFoundError2,
35
36
  isRpcError2,
@@ -39,7 +40,7 @@ import {
39
40
  isShellNotFoundError2,
40
41
  isWorktreeError2,
41
42
  isVcsInitNotSupportedError2
42
- } from "../../chunks/contract-vt9jbch8.js";
43
+ } from "../../chunks/rpc-runtime-ezt8t3fk.js";
43
44
  export {
44
45
  ClientError2 as ClientError,
45
46
  exports_client2 as OpenCode,
@@ -62,6 +63,7 @@ export {
62
63
  isMcpServerNotFoundError2 as isMcpServerNotFoundError,
63
64
  isMessageNotFoundError2 as isMessageNotFoundError,
64
65
  isPermissionNotFoundError2 as isPermissionNotFoundError,
66
+ isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
65
67
  isProjectNotFoundError2 as isProjectNotFoundError,
66
68
  isProviderNotFoundError2 as isProviderNotFoundError,
67
69
  isPtyNotFoundError2 as isPtyNotFoundError,