@opencode/client 0.0.0-dev-21163 → 0.0.0-dev-21164

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 (63) hide show
  1. package/dist/chunks/{service-version-mnyft54j.js → pty-handoff-65kht65h.js} +5 -5
  2. package/dist/chunks/{service-version-1y4a697q.js → pty-handoff-6vp15eh6.js} +1 -1
  3. package/dist/chunks/{service-version-2ny4vxct.js → pty-handoff-8ye1ye6f.js} +2 -2
  4. package/dist/chunks/{service-version-1rg78mqg.js → pty-handoff-918t3a42.js} +17 -17
  5. package/dist/chunks/pty-handoff-9ks4e624.js +30 -0
  6. package/dist/chunks/{service-version-ecq6p6gm.js → pty-handoff-efrgmxnr.js} +19 -11
  7. package/dist/chunks/{service-version-vt9jbch8.js → pty-handoff-ezt8t3fk.js} +2 -1
  8. package/dist/chunks/{service-version-b567398j.js → pty-handoff-f8apz0vw.js} +1 -1
  9. package/dist/chunks/{service-version-frbwqjmf.js → pty-handoff-frbwqjmf.js} +1 -1
  10. package/dist/chunks/{service-version-js54wxgp.js → pty-handoff-nwcpakzx.js} +2 -2
  11. package/dist/chunks/{service-version-m77rqa4a.js → pty-handoff-pkgaqevf.js} +1 -1
  12. package/dist/chunks/{service-version-t1xa31vm.js → pty-handoff-t1xa31vm.js} +1 -1
  13. package/dist/chunks/{service-version-hqeq47hr.js → pty-handoff-teb2xrcv.js} +27 -19
  14. package/dist/chunks/{service-version-7f0py9js.js → pty-handoff-y2etg5bs.js} +2 -2
  15. package/dist/contract.js +1 -1
  16. package/dist/effect/api/api.d.ts +8 -0
  17. package/dist/effect/client.d.ts +1 -0
  18. package/dist/effect/client.js +12 -12
  19. package/dist/effect/generated/client-error.js +3 -3
  20. package/dist/effect/generated/client.d.ts +2 -1
  21. package/dist/effect/generated/client.js +5 -5
  22. package/dist/effect/generated/index.js +8 -8
  23. package/dist/effect/index.js +12 -12
  24. package/dist/effect/rpc.js +4 -4
  25. package/dist/effect/service.js +6 -6
  26. package/dist/promise/client.d.ts +1 -0
  27. package/dist/promise/client.js +11 -11
  28. package/dist/promise/generated/client-error.js +3 -3
  29. package/dist/promise/generated/client.d.ts +2 -1
  30. package/dist/promise/generated/client.js +4 -4
  31. package/dist/promise/generated/index.js +10 -8
  32. package/dist/promise/generated/types.d.ts +22 -0
  33. package/dist/promise/generated/types.js +3 -1
  34. package/dist/promise/index.js +14 -12
  35. package/dist/promise/rpc.js +2 -2
  36. package/dist/promise/service.js +6 -6
  37. package/dist/pty-handoff.js +1 -1
  38. package/dist/rpc-runtime.js +1 -1
  39. package/dist/service-contender.js +1 -1
  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 +4 -4
  51. package/dist/chunks/service-version-q008jpwa.js +0 -30
  52. /package/dist/chunks/{service-version-6mptkzbc.js → pty-handoff-6mptkzbc.js} +0 -0
  53. /package/dist/chunks/{service-version-8s2anffy.js → pty-handoff-8s2anffy.js} +0 -0
  54. /package/dist/chunks/{service-version-9rqn6x4v.js → pty-handoff-9rqn6x4v.js} +0 -0
  55. /package/dist/chunks/{service-version-gne7h7mq.js → pty-handoff-gne7h7mq.js} +0 -0
  56. /package/dist/chunks/{service-version-m2eywc8w.js → pty-handoff-m2eywc8w.js} +0 -0
  57. /package/dist/chunks/{service-version-qav6mfdz.js → pty-handoff-qav6mfdz.js} +0 -0
  58. /package/dist/chunks/{service-version-sxt88q69.js → pty-handoff-sxt88q69.js} +0 -0
  59. /package/dist/chunks/{service-version-ve4aws36.js → pty-handoff-ve4aws36.js} +0 -0
  60. /package/dist/chunks/{service-version-vmytr4q8.js → pty-handoff-vmytr4q8.js} +0 -0
  61. /package/dist/chunks/{service-version-vyas3vgt.js → pty-handoff-vyas3vgt.js} +0 -0
  62. /package/dist/chunks/{service-version-xgnj2w4v.js → pty-handoff-xgnj2w4v.js} +0 -0
  63. /package/dist/chunks/{service-version-ydhz1zrh.js → pty-handoff-ydhz1zrh.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  import {
2
- make5,
2
+ make3,
3
3
  aborted2,
4
4
  exports_rpc
5
- } from "../chunks/service-version-mnyft54j.js";
6
- import"../chunks/service-version-t1xa31vm.js";
5
+ } from "../chunks/pty-handoff-65kht65h.js";
6
+ import"../chunks/pty-handoff-t1xa31vm.js";
7
7
  export {
8
8
  exports_rpc as RpcClientRuntime,
9
9
  aborted2 as aborted,
10
- make5 as make
10
+ make3 as make
11
11
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/service-version-ve4aws36.js";
4
+ } from "../chunks/pty-handoff-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-version-xgnj2w4v.js";
8
+ } from "../chunks/pty-handoff-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-version-sxt88q69.js";
11
+ } from "../chunks/pty-handoff-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/service-version-b567398j.js";
17
+ } from "../chunks/pty-handoff-f8apz0vw.js";
18
18
  import {
19
19
  decide2,
20
20
  fallback2,
21
21
  same2,
22
22
  probeResult2,
23
23
  headers2
24
- } from "../chunks/service-version-2ny4vxct.js";
25
- import"../chunks/service-version-qav6mfdz.js";
24
+ } from "../chunks/pty-handoff-8ye1ye6f.js";
25
+ import"../chunks/pty-handoff-qav6mfdz.js";
26
26
 
27
27
  // src/effect/service.ts
28
28
  import { Effect, FileSystem, Option, Schedule, Schema } from "effect";
@@ -156,6 +156,7 @@ export declare function make(options: ClientOptions): {
156
156
  };
157
157
  saved: {
158
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>;
159
160
  remove: (input: import("./index.js").PermissionSavedRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
160
161
  };
161
162
  create: (input: import("./index.js").PermissionCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<{
@@ -1,14 +1,14 @@
1
1
  import {
2
- make2,
3
- exports_client
4
- } from "../chunks/service-version-q008jpwa.js";
5
- import"../chunks/service-version-vyas3vgt.js";
6
- import"../chunks/service-version-1y4a697q.js";
7
- import"../chunks/service-version-vt9jbch8.js";
8
- import"../chunks/service-version-hqeq47hr.js";
9
- import"../chunks/service-version-js54wxgp.js";
10
- import"../chunks/service-version-frbwqjmf.js";
2
+ make5,
3
+ exports_client3
4
+ } from "../chunks/pty-handoff-9ks4e624.js";
5
+ import"../chunks/pty-handoff-6vp15eh6.js";
6
+ import"../chunks/pty-handoff-vyas3vgt.js";
7
+ import"../chunks/pty-handoff-ezt8t3fk.js";
8
+ import"../chunks/pty-handoff-teb2xrcv.js";
9
+ import"../chunks/pty-handoff-nwcpakzx.js";
10
+ import"../chunks/pty-handoff-frbwqjmf.js";
11
11
  export {
12
- exports_client as OpenCode,
13
- make2 as make
12
+ exports_client3 as OpenCode,
13
+ make5 as make
14
14
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ClientError2
3
- } from "../../chunks/service-version-js54wxgp.js";
2
+ ClientError3
3
+ } from "../../chunks/pty-handoff-nwcpakzx.js";
4
4
  export {
5
- ClientError2 as ClientError
5
+ ClientError3 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, 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, 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;
@@ -163,6 +163,7 @@ export declare function make(options: ClientOptions): {
163
163
  };
164
164
  saved: {
165
165
  list: (input?: PermissionSavedListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionSavedInfo[]>;
166
+ update: (input: PermissionSavedUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionSavedInfo>;
166
167
  remove: (input: PermissionSavedRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
167
168
  };
168
169
  create: (input: PermissionCreateInput, requestOptions?: RequestOptions) => Promise<{
@@ -1,7 +1,7 @@
1
1
  import {
2
- make3
3
- } from "../../chunks/service-version-hqeq47hr.js";
4
- import"../../chunks/service-version-js54wxgp.js";
2
+ make6
3
+ } from "../../chunks/pty-handoff-teb2xrcv.js";
4
+ import"../../chunks/pty-handoff-nwcpakzx.js";
5
5
  export {
6
- make3 as make
6
+ make6 as make
7
7
  };
@@ -1,4 +1,4 @@
1
- import"../../chunks/service-version-vyas3vgt.js";
1
+ import"../../chunks/pty-handoff-vyas3vgt.js";
2
2
  import {
3
3
  isInvalidRequestError2,
4
4
  isUnauthorizedError2,
@@ -24,6 +24,7 @@ import {
24
24
  isIntegrationMethodNotFoundError2,
25
25
  isMcpServerNotFoundError2,
26
26
  isProjectNotFoundError2,
27
+ isPermissionSavedNotFoundError2,
27
28
  isPermissionNotFoundError2,
28
29
  isFileNotFoundError2,
29
30
  isRpcError2,
@@ -33,16 +34,16 @@ import {
33
34
  isShellNotFoundError2,
34
35
  isWorktreeError2,
35
36
  isVcsInitNotSupportedError2
36
- } from "../../chunks/service-version-vt9jbch8.js";
37
+ } from "../../chunks/pty-handoff-ezt8t3fk.js";
37
38
  import {
38
- exports_client2
39
- } from "../../chunks/service-version-hqeq47hr.js";
39
+ exports_client4
40
+ } from "../../chunks/pty-handoff-teb2xrcv.js";
40
41
  import {
41
- ClientError2
42
- } from "../../chunks/service-version-js54wxgp.js";
42
+ ClientError3
43
+ } from "../../chunks/pty-handoff-nwcpakzx.js";
43
44
  export {
44
- ClientError2 as ClientError,
45
- exports_client2 as OpenCode,
45
+ ClientError3 as ClientError,
46
+ exports_client4 as OpenCode,
46
47
  isAgentNotFoundError2 as isAgentNotFoundError,
47
48
  isCommandExecutionError2 as isCommandExecutionError,
48
49
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -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,
@@ -3602,6 +3602,12 @@ export type ProjectNotFoundError = {
3602
3602
  readonly message: string;
3603
3603
  };
3604
3604
  export declare const isProjectNotFoundError: (value: unknown) => value is ProjectNotFoundError;
3605
+ export type PermissionSavedNotFoundError = {
3606
+ readonly _tag: "PermissionSavedNotFoundError";
3607
+ readonly id: string;
3608
+ readonly message: string;
3609
+ };
3610
+ export declare const isPermissionSavedNotFoundError: (value: unknown) => value is PermissionSavedNotFoundError;
3605
3611
  export type PermissionNotFoundError = {
3606
3612
  readonly _tag: "PermissionNotFoundError";
3607
3613
  readonly requestID: string;
@@ -8043,6 +8049,22 @@ export type PermissionSavedListInput = {
8043
8049
  export type PermissionSavedListOutput = {
8044
8050
  data: Array<PermissionSavedInfo>;
8045
8051
  }["data"];
8052
+ export type PermissionSavedUpdateInput = {
8053
+ readonly id: {
8054
+ readonly id: string;
8055
+ }["id"];
8056
+ readonly action?: {
8057
+ readonly action?: string | undefined;
8058
+ readonly resource?: string | undefined;
8059
+ }["action"];
8060
+ readonly resource?: {
8061
+ readonly action?: string | undefined;
8062
+ readonly resource?: string | undefined;
8063
+ }["resource"];
8064
+ };
8065
+ export type PermissionSavedUpdateOutput = {
8066
+ data: PermissionSavedInfo;
8067
+ }["data"];
8046
8068
  export type PermissionSavedRemoveInput = {
8047
8069
  readonly id: {
8048
8070
  readonly id: string;
@@ -23,6 +23,7 @@ import {
23
23
  isIntegrationMethodNotFoundError2,
24
24
  isMcpServerNotFoundError2,
25
25
  isProjectNotFoundError2,
26
+ isPermissionSavedNotFoundError2,
26
27
  isPermissionNotFoundError2,
27
28
  isFileNotFoundError2,
28
29
  isRpcError2,
@@ -32,7 +33,7 @@ import {
32
33
  isShellNotFoundError2,
33
34
  isWorktreeError2,
34
35
  isVcsInitNotSupportedError2
35
- } from "../../chunks/service-version-vt9jbch8.js";
36
+ } from "../../chunks/pty-handoff-ezt8t3fk.js";
36
37
  export {
37
38
  isAgentNotFoundError2 as isAgentNotFoundError,
38
39
  isCommandExecutionError2 as isCommandExecutionError,
@@ -53,6 +54,7 @@ export {
53
54
  isMcpServerNotFoundError2 as isMcpServerNotFoundError,
54
55
  isMessageNotFoundError2 as isMessageNotFoundError,
55
56
  isPermissionNotFoundError2 as isPermissionNotFoundError,
57
+ isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
56
58
  isProjectNotFoundError2 as isProjectNotFoundError,
57
59
  isProviderNotFoundError2 as isProviderNotFoundError,
58
60
  isPtyNotFoundError2 as isPtyNotFoundError,
@@ -1,9 +1,9 @@
1
- import"../chunks/service-version-m2eywc8w.js";
1
+ import"../chunks/pty-handoff-m2eywc8w.js";
2
2
  import {
3
- exports_client
4
- } from "../chunks/service-version-q008jpwa.js";
5
- import"../chunks/service-version-vyas3vgt.js";
6
- import"../chunks/service-version-1y4a697q.js";
3
+ exports_client3
4
+ } from "../chunks/pty-handoff-9ks4e624.js";
5
+ import"../chunks/pty-handoff-6vp15eh6.js";
6
+ import"../chunks/pty-handoff-vyas3vgt.js";
7
7
  import {
8
8
  isInvalidRequestError2,
9
9
  isUnauthorizedError2,
@@ -29,6 +29,7 @@ import {
29
29
  isIntegrationMethodNotFoundError2,
30
30
  isMcpServerNotFoundError2,
31
31
  isProjectNotFoundError2,
32
+ isPermissionSavedNotFoundError2,
32
33
  isPermissionNotFoundError2,
33
34
  isFileNotFoundError2,
34
35
  isRpcError2,
@@ -38,15 +39,15 @@ import {
38
39
  isShellNotFoundError2,
39
40
  isWorktreeError2,
40
41
  isVcsInitNotSupportedError2
41
- } from "../chunks/service-version-vt9jbch8.js";
42
- import"../chunks/service-version-hqeq47hr.js";
42
+ } from "../chunks/pty-handoff-ezt8t3fk.js";
43
+ import"../chunks/pty-handoff-teb2xrcv.js";
43
44
  import {
44
- ClientError2
45
- } from "../chunks/service-version-js54wxgp.js";
46
- import"../chunks/service-version-frbwqjmf.js";
45
+ ClientError3
46
+ } from "../chunks/pty-handoff-nwcpakzx.js";
47
+ import"../chunks/pty-handoff-frbwqjmf.js";
47
48
  export {
48
- ClientError2 as ClientError,
49
- exports_client as OpenCode,
49
+ ClientError3 as ClientError,
50
+ exports_client3 as OpenCode,
50
51
  isAgentNotFoundError2 as isAgentNotFoundError,
51
52
  isCommandExecutionError2 as isCommandExecutionError,
52
53
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -66,6 +67,7 @@ export {
66
67
  isMcpServerNotFoundError2 as isMcpServerNotFoundError,
67
68
  isMessageNotFoundError2 as isMessageNotFoundError,
68
69
  isPermissionNotFoundError2 as isPermissionNotFoundError,
70
+ isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
69
71
  isProjectNotFoundError2 as isProjectNotFoundError,
70
72
  isProviderNotFoundError2 as isProviderNotFoundError,
71
73
  isPtyNotFoundError2 as isPtyNotFoundError,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  makeRpc2
3
- } from "../chunks/service-version-1y4a697q.js";
4
- import"../chunks/service-version-vt9jbch8.js";
3
+ } from "../chunks/pty-handoff-6vp15eh6.js";
4
+ import"../chunks/pty-handoff-ezt8t3fk.js";
5
5
  export {
6
6
  makeRpc2 as makeRpc
7
7
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/service-version-ve4aws36.js";
4
+ } from "../chunks/pty-handoff-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-version-xgnj2w4v.js";
8
+ } from "../chunks/pty-handoff-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-version-sxt88q69.js";
11
+ } from "../chunks/pty-handoff-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/service-version-b567398j.js";
17
+ } from "../chunks/pty-handoff-f8apz0vw.js";
18
18
  import {
19
19
  decide2,
20
20
  fallback2,
21
21
  same2,
22
22
  probeResult2,
23
23
  headers2
24
- } from "../chunks/service-version-2ny4vxct.js";
25
- import"../chunks/service-version-qav6mfdz.js";
24
+ } from "../chunks/pty-handoff-8ye1ye6f.js";
25
+ import"../chunks/pty-handoff-qav6mfdz.js";
26
26
 
27
27
  // src/promise/service.ts
28
28
  import { readFile, rm } from "node:fs/promises";
@@ -4,7 +4,7 @@ import {
4
4
  complete2,
5
5
  clear2,
6
6
  exports_pty_handoff
7
- } from "./chunks/service-version-b567398j.js";
7
+ } from "./chunks/pty-handoff-f8apz0vw.js";
8
8
  export {
9
9
  exports_pty_handoff as PtyHandoff,
10
10
  clear2 as clear,
@@ -4,7 +4,7 @@ import {
4
4
  event2,
5
5
  eventType2,
6
6
  exports_rpc_runtime
7
- } from "./chunks/service-version-t1xa31vm.js";
7
+ } from "./chunks/pty-handoff-t1xa31vm.js";
8
8
  export {
9
9
  exports_rpc_runtime as RpcRuntime,
10
10
  event2 as event,
@@ -2,7 +2,7 @@ import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2,
4
4
  contenderFinished2
5
- } from "./chunks/service-version-ve4aws36.js";
5
+ } from "./chunks/pty-handoff-ve4aws36.js";
6
6
  export {
7
7
  contenderFinished2 as contenderFinished,
8
8
  contenderPool2 as contenderPool,
@@ -4,9 +4,9 @@ import {
4
4
  same2,
5
5
  probeResult2,
6
6
  headers2
7
- } from "./chunks/service-version-2ny4vxct.js";
8
- import"./chunks/service-version-sxt88q69.js";
9
- import"./chunks/service-version-xgnj2w4v.js";
7
+ } from "./chunks/pty-handoff-8ye1ye6f.js";
8
+ import"./chunks/pty-handoff-xgnj2w4v.js";
9
+ import"./chunks/pty-handoff-sxt88q69.js";
10
10
  export {
11
11
  decide2 as decide,
12
12
  fallback2 as fallback,
@@ -2,7 +2,7 @@ import {
2
2
  defaultEnsureTiming2,
3
3
  ensureTiming2,
4
4
  withEnsureTiming2
5
- } from "./chunks/service-version-xgnj2w4v.js";
5
+ } from "./chunks/pty-handoff-xgnj2w4v.js";
6
6
  export {
7
7
  defaultEnsureTiming2 as defaultEnsureTiming,
8
8
  ensureTiming2 as ensureTiming,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  matchesVersion2
3
- } from "./chunks/service-version-sxt88q69.js";
3
+ } from "./chunks/pty-handoff-sxt88q69.js";
4
4
  export {
5
5
  matchesVersion2 as matchesVersion
6
6
  };
package/dist/service.js CHANGED
@@ -1 +1 @@
1
- import"./chunks/service-version-qav6mfdz.js";
1
+ import"./chunks/pty-handoff-qav6mfdz.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make7,
3
3
  exports_shared_events
4
- } from "./chunks/service-version-frbwqjmf.js";
4
+ } from "./chunks/pty-handoff-frbwqjmf.js";
5
5
  export {
6
6
  exports_shared_events as SharedEvents,
7
7
  make7 as make
@@ -2,7 +2,7 @@ import {
2
2
  defaultIdleTimeout2,
3
3
  foregroundIdleThreshold2,
4
4
  createClientConnection2
5
- } from "../chunks/service-version-ydhz1zrh.js";
5
+ } from "../chunks/pty-handoff-ydhz1zrh.js";
6
6
  export {
7
7
  createClientConnection2 as createClientConnection,
8
8
  defaultIdleTimeout2 as defaultIdleTimeout,
@@ -2,15 +2,15 @@ import {
2
2
  settleMs2,
3
3
  locationKey2,
4
4
  createData2
5
- } from "../chunks/service-version-m77rqa4a.js";
6
- import"../chunks/service-version-m2eywc8w.js";
7
- import"../chunks/service-version-q008jpwa.js";
8
- import"../chunks/service-version-vyas3vgt.js";
9
- import"../chunks/service-version-1y4a697q.js";
10
- import"../chunks/service-version-vt9jbch8.js";
11
- import"../chunks/service-version-hqeq47hr.js";
12
- import"../chunks/service-version-js54wxgp.js";
13
- import"../chunks/service-version-frbwqjmf.js";
5
+ } from "../chunks/pty-handoff-pkgaqevf.js";
6
+ import"../chunks/pty-handoff-m2eywc8w.js";
7
+ import"../chunks/pty-handoff-9ks4e624.js";
8
+ import"../chunks/pty-handoff-6vp15eh6.js";
9
+ import"../chunks/pty-handoff-vyas3vgt.js";
10
+ import"../chunks/pty-handoff-ezt8t3fk.js";
11
+ import"../chunks/pty-handoff-teb2xrcv.js";
12
+ import"../chunks/pty-handoff-nwcpakzx.js";
13
+ import"../chunks/pty-handoff-frbwqjmf.js";
14
14
  export {
15
15
  createData2 as createData,
16
16
  locationKey2 as locationKey,
@@ -1,28 +1,28 @@
1
- import"../chunks/service-version-js54wxgp.js";
2
- import"../chunks/service-version-hqeq47hr.js";
3
- import"../chunks/service-version-vt9jbch8.js";
4
- import"../chunks/service-version-vyas3vgt.js";
5
- import"../chunks/service-version-frbwqjmf.js";
6
- import"../chunks/service-version-1y4a697q.js";
7
- import"../chunks/service-version-q008jpwa.js";
8
- import"../chunks/service-version-m2eywc8w.js";
1
+ import"../chunks/pty-handoff-nwcpakzx.js";
2
+ import"../chunks/pty-handoff-teb2xrcv.js";
3
+ import"../chunks/pty-handoff-ezt8t3fk.js";
4
+ import"../chunks/pty-handoff-vyas3vgt.js";
5
+ import"../chunks/pty-handoff-frbwqjmf.js";
6
+ import"../chunks/pty-handoff-6vp15eh6.js";
7
+ import"../chunks/pty-handoff-9ks4e624.js";
8
+ import"../chunks/pty-handoff-m2eywc8w.js";
9
9
  import {
10
10
  settleMs2,
11
11
  locationKey2,
12
12
  createData2
13
- } from "../chunks/service-version-m77rqa4a.js";
13
+ } from "../chunks/pty-handoff-pkgaqevf.js";
14
14
  import {
15
15
  defaultIdleTimeout2,
16
16
  foregroundIdleThreshold2,
17
17
  createClientConnection2
18
- } from "../chunks/service-version-ydhz1zrh.js";
18
+ } from "../chunks/pty-handoff-ydhz1zrh.js";
19
19
  import {
20
20
  createPtyClient2,
21
21
  createPersistentPtyClient2
22
- } from "../chunks/service-version-gne7h7mq.js";
22
+ } from "../chunks/pty-handoff-gne7h7mq.js";
23
23
  import {
24
24
  lastAssistantWithUsage2
25
- } from "../chunks/service-version-8s2anffy.js";
25
+ } from "../chunks/pty-handoff-8s2anffy.js";
26
26
  export {
27
27
  createClientConnection2 as createClientConnection,
28
28
  createData2 as createData,
package/dist/solid/pty.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createPtyClient2,
3
3
  createPersistentPtyClient2
4
- } from "../chunks/service-version-gne7h7mq.js";
4
+ } from "../chunks/pty-handoff-gne7h7mq.js";
5
5
  export {
6
6
  createPersistentPtyClient2 as createPersistentPtyClient,
7
7
  createPtyClient2 as createPtyClient
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  lastAssistantWithUsage2
3
- } from "../chunks/service-version-8s2anffy.js";
3
+ } from "../chunks/pty-handoff-8s2anffy.js";
4
4
  export {
5
5
  lastAssistantWithUsage2 as lastAssistantWithUsage
6
6
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/client",
4
- "version": "0.0.0-dev-21163",
4
+ "version": "0.0.0-dev-21164",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -57,8 +57,8 @@
57
57
  "typecheck": "tsc --noEmit"
58
58
  },
59
59
  "dependencies": {
60
- "@opencode/schema": "0.0.0-dev-21163",
61
- "@opencode/protocol": "0.0.0-dev-21163"
60
+ "@opencode/schema": "0.0.0-dev-21164",
61
+ "@opencode/protocol": "0.0.0-dev-21164"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "effect": "4.0.1",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@effect/platform-node": "4.0.1",
77
- "@opencode/httpapi-codegen": "0.0.0-dev-21163",
77
+ "@opencode/httpapi-codegen": "0.0.0-dev-21164",
78
78
  "@tsconfig/bun": "1.0.9",
79
79
  "@types/bun": "1.4.0",
80
80
  "@typescript/native": "npm:typescript@7.0.2",
@@ -1,30 +0,0 @@
1
- import {
2
- make7
3
- } from "./service-version-frbwqjmf.js";
4
- import {
5
- make3
6
- } from "./service-version-hqeq47hr.js";
7
- import {
8
- makeRpc2
9
- } from "./service-version-1y4a697q.js";
10
- import {
11
- __export
12
- } from "./service-version-9rqn6x4v.js";
13
-
14
- // src/promise/client.ts
15
- var exports_client = {};
16
- __export(exports_client, {
17
- OpenCode: () => exports_client,
18
- make: () => make2
19
- });
20
- function make2(options) {
21
- const raw = make3(options);
22
- const events = make7((signal, onActivity) => raw.event.subscribe({ signal, onActivity }));
23
- return {
24
- ...raw,
25
- rpc: Object.assign(makeRpc2(raw, events), raw.rpc),
26
- event: events
27
- };
28
- }
29
-
30
- export { make2, exports_client };