@opencode/client 0.0.0-dev-1326 → 0.0.0-dev-1329

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 (68) hide show
  1. package/dist/chunks/{service-timing-3s7q7x9k.js → rpc-runtime-0djk1vpd.js} +19 -19
  2. package/dist/chunks/{service-timing-myz4ngx9.js → rpc-runtime-15p82y03.js} +5 -5
  3. package/dist/chunks/{service-timing-8ye1ye6f.js → rpc-runtime-2ny4vxct.js} +2 -2
  4. package/dist/chunks/{service-timing-xafd70ys.js → rpc-runtime-7s3gfrb2.js} +1 -1
  5. package/dist/chunks/rpc-runtime-cz490mp4.js +30 -0
  6. package/dist/chunks/{service-timing-hwa6zdcq.js → rpc-runtime-dz2zzf2j.js} +2 -2
  7. package/dist/chunks/{service-timing-hw6kqa0w.js → rpc-runtime-gecjxyvt.js} +4 -4
  8. package/dist/chunks/{service-timing-t8bqr56k.js → rpc-runtime-nvtq28t3.js} +43 -19
  9. package/dist/chunks/{service-timing-js54wxgp.js → rpc-runtime-nwcpakzx.js} +2 -2
  10. package/dist/chunks/{service-timing-ryy6kscr.js → rpc-runtime-ryy6kscr.js} +1 -1
  11. package/dist/chunks/{service-timing-6hqrj29e.js → rpc-runtime-t2hneane.js} +2 -1
  12. package/dist/chunks/{service-timing-sh042gpe.js → rpc-runtime-wcj4wnr9.js} +1 -1
  13. package/dist/chunks/{service-timing-7f0py9js.js → rpc-runtime-y2etg5bs.js} +2 -2
  14. package/dist/chunks/{service-timing-5fh62h9m.js → rpc-runtime-zrgqmrbq.js} +19 -11
  15. package/dist/contract.js +1 -1
  16. package/dist/effect/api/api.d.ts +32 -0
  17. package/dist/effect/client.d.ts +5 -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 +6 -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 +5 -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 +6 -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 +37 -2
  33. package/dist/promise/generated/types.js +3 -1
  34. package/dist/promise/index.js +18 -16
  35. package/dist/promise/media.d.ts +5 -0
  36. package/dist/promise/media.js +1 -1
  37. package/dist/promise/rpc.js +2 -2
  38. package/dist/promise/service.js +6 -6
  39. package/dist/pty-handoff.js +4 -4
  40. package/dist/rpc-runtime.js +1 -1
  41. package/dist/service-contender.js +1 -1
  42. package/dist/service-probe.js +3 -3
  43. package/dist/service-timing.js +1 -1
  44. package/dist/service-version.js +1 -1
  45. package/dist/service.js +1 -1
  46. package/dist/shared-events.js +3 -3
  47. package/dist/solid/connection.js +1 -1
  48. package/dist/solid/data.js +10 -10
  49. package/dist/solid/index.js +14 -14
  50. package/dist/solid/pty.js +1 -1
  51. package/dist/solid/retention.js +1 -1
  52. package/dist/solid/usage.js +1 -1
  53. package/package.json +4 -4
  54. package/dist/chunks/service-timing-12mqmnk4.js +0 -30
  55. /package/dist/chunks/{service-timing-3eaz3m83.js → rpc-runtime-3eaz3m83.js} +0 -0
  56. /package/dist/chunks/{service-timing-60xe5cbf.js → rpc-runtime-60xe5cbf.js} +0 -0
  57. /package/dist/chunks/{service-timing-6mptkzbc.js → rpc-runtime-6mptkzbc.js} +0 -0
  58. /package/dist/chunks/{service-timing-6mq2wh8y.js → rpc-runtime-6mq2wh8y.js} +0 -0
  59. /package/dist/chunks/{service-timing-6r38tsk5.js → rpc-runtime-6r38tsk5.js} +0 -0
  60. /package/dist/chunks/{service-timing-8s2anffy.js → rpc-runtime-8s2anffy.js} +0 -0
  61. /package/dist/chunks/{service-timing-9rqn6x4v.js → rpc-runtime-9rqn6x4v.js} +0 -0
  62. /package/dist/chunks/{service-timing-mwrzahmf.js → rpc-runtime-mwrzahmf.js} +0 -0
  63. /package/dist/chunks/{service-timing-qav6mfdz.js → rpc-runtime-qav6mfdz.js} +0 -0
  64. /package/dist/chunks/{service-timing-sxt88q69.js → rpc-runtime-sxt88q69.js} +0 -0
  65. /package/dist/chunks/{service-timing-ve4aws36.js → rpc-runtime-ve4aws36.js} +0 -0
  66. /package/dist/chunks/{service-timing-vyas3vgt.js → rpc-runtime-vyas3vgt.js} +0 -0
  67. /package/dist/chunks/{service-timing-xgnj2w4v.js → rpc-runtime-xgnj2w4v.js} +0 -0
  68. /package/dist/chunks/{service-timing-ydhz1zrh.js → rpc-runtime-ydhz1zrh.js} +0 -0
@@ -1,12 +1,12 @@
1
- import"../../chunks/service-timing-6mptkzbc.js";
1
+ import"../../chunks/rpc-runtime-6mptkzbc.js";
2
2
  import {
3
- exports_client4
4
- } from "../../chunks/service-timing-5fh62h9m.js";
3
+ exports_client2
4
+ } from "../../chunks/rpc-runtime-zrgqmrbq.js";
5
5
  import {
6
- ClientError3
7
- } from "../../chunks/service-timing-7f0py9js.js";
8
- import"../../chunks/service-timing-60xe5cbf.js";
6
+ ClientError2
7
+ } from "../../chunks/rpc-runtime-y2etg5bs.js";
8
+ import"../../chunks/rpc-runtime-60xe5cbf.js";
9
9
  export {
10
- ClientError3 as ClientError,
11
- exports_client4 as OpenCode
10
+ ClientError2 as ClientError,
11
+ exports_client2 as OpenCode
12
12
  };
@@ -1,15 +1,15 @@
1
1
  import {
2
- ClientError3
3
- } from "../chunks/service-timing-7f0py9js.js";
4
- import"../chunks/service-timing-60xe5cbf.js";
5
- import"../chunks/service-timing-5fh62h9m.js";
6
- import"../chunks/service-timing-6mptkzbc.js";
7
- import"../chunks/service-timing-hw6kqa0w.js";
8
- import"../chunks/service-timing-ryy6kscr.js";
9
- import"../chunks/service-timing-myz4ngx9.js";
2
+ ClientError2
3
+ } from "../chunks/rpc-runtime-y2etg5bs.js";
4
+ import"../chunks/rpc-runtime-60xe5cbf.js";
5
+ import"../chunks/rpc-runtime-zrgqmrbq.js";
6
+ import"../chunks/rpc-runtime-6mptkzbc.js";
7
+ import"../chunks/rpc-runtime-gecjxyvt.js";
8
+ import"../chunks/rpc-runtime-ryy6kscr.js";
9
+ import"../chunks/rpc-runtime-15p82y03.js";
10
10
  import {
11
- exports_client3
12
- } from "../chunks/service-timing-3s7q7x9k.js";
11
+ exports_client
12
+ } from "../chunks/rpc-runtime-0djk1vpd.js";
13
13
 
14
14
  // src/effect/index.ts
15
15
  import { Agent } from "@opencode/schema/agent";
@@ -43,7 +43,7 @@ import { PromptInput } from "@opencode/schema/prompt-input";
43
43
  export {
44
44
  AbsolutePath,
45
45
  Agent,
46
- ClientError3 as ClientError,
46
+ ClientError2 as ClientError,
47
47
  Command,
48
48
  Config,
49
49
  Credential,
@@ -54,7 +54,7 @@ export {
54
54
  Integration,
55
55
  Location,
56
56
  Model,
57
- exports_client3 as OpenCode,
57
+ exports_client as OpenCode,
58
58
  Permission,
59
59
  PermissionSaved,
60
60
  Project,
@@ -1,11 +1,11 @@
1
1
  import {
2
- make6,
2
+ make3,
3
3
  aborted2,
4
4
  exports_rpc
5
- } from "../chunks/service-timing-myz4ngx9.js";
6
- import"../chunks/service-timing-ryy6kscr.js";
5
+ } from "../chunks/rpc-runtime-15p82y03.js";
6
+ import"../chunks/rpc-runtime-ryy6kscr.js";
7
7
  export {
8
8
  exports_rpc as RpcClientRuntime,
9
9
  aborted2 as aborted,
10
- make6 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-timing-ve4aws36.js";
4
+ } from "../chunks/rpc-runtime-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-timing-xgnj2w4v.js";
8
+ } from "../chunks/rpc-runtime-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-timing-sxt88q69.js";
11
+ } from "../chunks/rpc-runtime-sxt88q69.js";
12
12
  import {
13
13
  decide2,
14
14
  fallback2,
15
15
  same2,
16
16
  probeResult2,
17
17
  headers2
18
- } from "../chunks/service-timing-8ye1ye6f.js";
18
+ } from "../chunks/rpc-runtime-2ny4vxct.js";
19
19
  import {
20
20
  prepare2,
21
21
  environment2,
22
22
  complete2,
23
23
  clear2
24
- } from "../chunks/service-timing-hwa6zdcq.js";
25
- import"../chunks/service-timing-qav6mfdz.js";
24
+ } from "../chunks/rpc-runtime-dz2zzf2j.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";
@@ -117,6 +117,11 @@ export declare function make(options: ClientOptions): {
117
117
  list: (input?: import("./index.js").ExperimentalJobListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").JobInfo[]>;
118
118
  cancel: (input: import("./index.js").ExperimentalJobCancelInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
119
119
  };
120
+ machine: {
121
+ list: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").MachineInfo[]>;
122
+ add: (input: import("./index.js").ExperimentalMachineAddInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").MachineInvite>;
123
+ remove: (input: import("./index.js").ExperimentalMachineRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
124
+ };
120
125
  migration: {
121
126
  v1: {
122
127
  status: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ExperimentalMigrationV1StatusOutput>;
@@ -1,14 +1,14 @@
1
1
  import {
2
- make2,
3
- exports_client
4
- } from "../chunks/service-timing-12mqmnk4.js";
5
- import"../chunks/service-timing-vyas3vgt.js";
6
- import"../chunks/service-timing-xafd70ys.js";
7
- import"../chunks/service-timing-6hqrj29e.js";
8
- import"../chunks/service-timing-t8bqr56k.js";
9
- import"../chunks/service-timing-js54wxgp.js";
10
- import"../chunks/service-timing-hw6kqa0w.js";
2
+ make5,
3
+ exports_client3
4
+ } from "../chunks/rpc-runtime-cz490mp4.js";
5
+ import"../chunks/rpc-runtime-7s3gfrb2.js";
6
+ import"../chunks/rpc-runtime-vyas3vgt.js";
7
+ import"../chunks/rpc-runtime-t2hneane.js";
8
+ import"../chunks/rpc-runtime-nvtq28t3.js";
9
+ import"../chunks/rpc-runtime-nwcpakzx.js";
10
+ import"../chunks/rpc-runtime-gecjxyvt.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-timing-js54wxgp.js";
2
+ ClientError3
3
+ } from "../../chunks/rpc-runtime-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, PluginGuiInput, PluginGuiOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionGenerateInput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, ExperimentalSessionStatsInput, ExperimentalSessionImportInput, ExperimentalSessionExportInput, ExperimentalSessionSkillInput, ExperimentalSessionWaitInput, ExperimentalSessionInstructionsEntryListInput, ExperimentalSessionInstructionsEntryPutInput, ExperimentalSessionInstructionsEntryRemoveInput, ExperimentalSessionLogInput, ExperimentalSessionLogOutput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, ExperimentalGenerateTextInput, ExperimentalGenerateImageInput, ExperimentalGenerateVideoCreateInput, ExperimentalGenerateVideoGetInput, ExperimentalGenerateDecisionsInput, ExperimentalVoiceSessionInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, ExperimentalIntegrationWellknownAddInput, McpListInput, McpListOutput, McpResourceCatalogInput, McpResourceCatalogOutput, ExperimentalMcpAddInput, ExperimentalMcpRemoveInput, ExperimentalMcpConnectInput, ExperimentalMcpDisconnectInput, ExperimentalMcpClientTokenInput, ExperimentalMcpClientTokenOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, ExperimentalFileWriteInput, ExperimentalFileWriteOutput, ExperimentalFileWatchInput, ExperimentalFileUnwatchInput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, EventSubscribeInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ExperimentalMediaGetInput, ExperimentalMediaGetOutput, ExperimentalBlobGetInput, ExperimentalBlobGetOutput, ExperimentalAutomationCreateInput, ExperimentalAutomationListInput, ExperimentalAutomationGetInput, ExperimentalAutomationPauseInput, ExperimentalAutomationResumeInput, ExperimentalAutomationDeleteInput, ExperimentalArtifactsProvidersInput, ExperimentalArtifactsProvidersOutput, ExperimentalArtifactsListInput, ExperimentalArtifactsListOutput, ExperimentalArtifactsCreateInput, ExperimentalArtifactsCreateOutput, ExperimentalArtifactsGetInput, ExperimentalArtifactsGetOutput, ExperimentalArtifactsUpdateInput, ExperimentalArtifactsUpdateOutput, ExperimentalArtifactsDeleteInput, ExperimentalArtifactsViewInput, ExperimentalArtifactsViewOutput, ExperimentalJobListInput, ExperimentalJobCancelInput, 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, DebugHeapDumpInput, DebugHeapDumpOutput, DebugLocationListOutput, DebugLocationEvictInput, ExperimentalMigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ExperimentalUsageLimitsInput, ExperimentalUsageLimitsOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ExperimentalConfigUpdateInput } from "./types.js";
1
+ import type { ServerConnectInput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginGuiInput, PluginGuiOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionGenerateInput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, ExperimentalSessionStatsInput, ExperimentalSessionImportInput, ExperimentalSessionExportInput, ExperimentalSessionSkillInput, ExperimentalSessionWaitInput, ExperimentalSessionInstructionsEntryListInput, ExperimentalSessionInstructionsEntryPutInput, ExperimentalSessionInstructionsEntryRemoveInput, ExperimentalSessionLogInput, ExperimentalSessionLogOutput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, ExperimentalGenerateTextInput, ExperimentalGenerateImageInput, ExperimentalGenerateVideoCreateInput, ExperimentalGenerateVideoGetInput, ExperimentalGenerateDecisionsInput, ExperimentalVoiceSessionInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, ExperimentalIntegrationWellknownAddInput, McpListInput, McpListOutput, McpResourceCatalogInput, McpResourceCatalogOutput, ExperimentalMcpAddInput, ExperimentalMcpRemoveInput, ExperimentalMcpConnectInput, ExperimentalMcpDisconnectInput, ExperimentalMcpClientTokenInput, ExperimentalMcpClientTokenOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, ExperimentalFileWriteInput, ExperimentalFileWriteOutput, ExperimentalFileWatchInput, ExperimentalFileUnwatchInput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, EventSubscribeInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ExperimentalMediaGetInput, ExperimentalMediaGetOutput, ExperimentalBlobGetInput, ExperimentalBlobGetOutput, ExperimentalAutomationCreateInput, ExperimentalAutomationListInput, ExperimentalAutomationGetInput, ExperimentalAutomationPauseInput, ExperimentalAutomationResumeInput, ExperimentalAutomationDeleteInput, ExperimentalArtifactsProvidersInput, ExperimentalArtifactsProvidersOutput, ExperimentalArtifactsListInput, ExperimentalArtifactsListOutput, ExperimentalArtifactsCreateInput, ExperimentalArtifactsCreateOutput, ExperimentalArtifactsGetInput, ExperimentalArtifactsGetOutput, ExperimentalArtifactsUpdateInput, ExperimentalArtifactsUpdateOutput, ExperimentalArtifactsDeleteInput, ExperimentalArtifactsViewInput, ExperimentalArtifactsViewOutput, ExperimentalJobListInput, ExperimentalJobCancelInput, ExperimentalMachineAddInput, ExperimentalMachineRemoveInput, 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, DebugHeapDumpInput, DebugHeapDumpOutput, DebugLocationListOutput, DebugLocationEvictInput, ExperimentalMigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ExperimentalUsageLimitsInput, ExperimentalUsageLimitsOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ExperimentalConfigUpdateInput } from "./types.js";
2
2
  export interface ClientOptions {
3
3
  readonly baseUrl: string;
4
4
  readonly fetch?: typeof globalThis.fetch;
@@ -124,6 +124,11 @@ export declare function make(options: ClientOptions): {
124
124
  list: (input?: ExperimentalJobListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").JobInfo[]>;
125
125
  cancel: (input: ExperimentalJobCancelInput, requestOptions?: RequestOptions) => Promise<void>;
126
126
  };
127
+ machine: {
128
+ list: (requestOptions?: RequestOptions) => Promise<import("./types.js").MachineInfo[]>;
129
+ add: (input: ExperimentalMachineAddInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MachineInvite>;
130
+ remove: (input: ExperimentalMachineRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
131
+ };
127
132
  migration: {
128
133
  v1: {
129
134
  status: (requestOptions?: RequestOptions) => Promise<ExperimentalMigrationV1StatusOutput>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- make3
3
- } from "../../chunks/service-timing-t8bqr56k.js";
4
- import"../../chunks/service-timing-js54wxgp.js";
2
+ make6
3
+ } from "../../chunks/rpc-runtime-nvtq28t3.js";
4
+ import"../../chunks/rpc-runtime-nwcpakzx.js";
5
5
  export {
6
- make3 as make
6
+ make6 as make
7
7
  };
@@ -1,4 +1,4 @@
1
- import"../../chunks/service-timing-vyas3vgt.js";
1
+ import"../../chunks/rpc-runtime-vyas3vgt.js";
2
2
  import {
3
3
  isInvalidRequestError2,
4
4
  isUnauthorizedError2,
@@ -40,19 +40,20 @@ import {
40
40
  isBlobNotFoundError2,
41
41
  isAutomationNotFoundError2,
42
42
  isArtifactNotFoundError2,
43
+ isMachineNotFoundError2,
43
44
  isShellNotFoundError2,
44
45
  isWorktreeError2,
45
46
  isVcsInitNotSupportedError2
46
- } from "../../chunks/service-timing-6hqrj29e.js";
47
+ } from "../../chunks/rpc-runtime-t2hneane.js";
47
48
  import {
48
- exports_client2
49
- } from "../../chunks/service-timing-t8bqr56k.js";
49
+ exports_client4
50
+ } from "../../chunks/rpc-runtime-nvtq28t3.js";
50
51
  import {
51
- ClientError2
52
- } from "../../chunks/service-timing-js54wxgp.js";
52
+ ClientError3
53
+ } from "../../chunks/rpc-runtime-nwcpakzx.js";
53
54
  export {
54
- ClientError2 as ClientError,
55
- exports_client2 as OpenCode,
55
+ ClientError3 as ClientError,
56
+ exports_client4 as OpenCode,
56
57
  isAgentNotFoundError2 as isAgentNotFoundError,
57
58
  isArtifactNotFoundError2 as isArtifactNotFoundError,
58
59
  isAutomationNotFoundError2 as isAutomationNotFoundError,
@@ -72,6 +73,7 @@ export {
72
73
  isInvalidCursorError2 as isInvalidCursorError,
73
74
  isInvalidRequestError2 as isInvalidRequestError,
74
75
  isLocationNotFoundError2 as isLocationNotFoundError,
76
+ isMachineNotFoundError2 as isMachineNotFoundError,
75
77
  isMcpServerNotFoundError2 as isMcpServerNotFoundError,
76
78
  isMessageNotFoundError2 as isMessageNotFoundError,
77
79
  isModelNotFoundError2 as isModelNotFoundError,
@@ -510,6 +510,18 @@ export type ArtifactTime = {
510
510
  created: number;
511
511
  updated: number;
512
512
  };
513
+ export type MachineInfo = {
514
+ id: string;
515
+ online: boolean;
516
+ paired: boolean;
517
+ os?: string;
518
+ arch?: string;
519
+ };
520
+ export type MachineInvite = {
521
+ name: string;
522
+ join: string;
523
+ expires: number;
524
+ };
513
525
  export type ReferenceGitSource = {
514
526
  type: "git";
515
527
  repository: string;
@@ -3361,6 +3373,7 @@ export type ConfigEntry = {
3361
3373
  };
3362
3374
  username?: string;
3363
3375
  timezone?: string;
3376
+ automations?: boolean;
3364
3377
  permissions?: PermissionRuleset;
3365
3378
  policies?: Array<{
3366
3379
  action: "provider.use" | "tool.use" | "integration.connect" | "integration.use" | "mcp.use" | "skill.use" | "plugin.use" | "websearch.use";
@@ -3613,7 +3626,6 @@ export type ConfigEntry = {
3613
3626
  all_flags?: boolean;
3614
3627
  todo?: boolean;
3615
3628
  media_blob?: boolean;
3616
- automations?: boolean;
3617
3629
  artifacts?: boolean;
3618
3630
  video_generate?: boolean | {
3619
3631
  model?: string | {
@@ -3630,7 +3642,6 @@ export type ConfigEntry = {
3630
3642
  home_memory?: boolean;
3631
3643
  project_overlay?: boolean;
3632
3644
  sqlite_fts?: boolean;
3633
- schedules?: boolean;
3634
3645
  part_rows?: boolean;
3635
3646
  image_generate?: boolean | {
3636
3647
  model?: string | {
@@ -4190,6 +4201,12 @@ export type ArtifactNotFoundError = {
4190
4201
  readonly message: string;
4191
4202
  };
4192
4203
  export declare const isArtifactNotFoundError: (value: unknown) => value is ArtifactNotFoundError;
4204
+ export type MachineNotFoundError = {
4205
+ readonly _tag: "MachineNotFoundError";
4206
+ readonly machine: string;
4207
+ readonly message: string;
4208
+ };
4209
+ export declare const isMachineNotFoundError: (value: unknown) => value is MachineNotFoundError;
4193
4210
  export type ShellNotFoundError = {
4194
4211
  readonly _tag: "ShellNotFoundError";
4195
4212
  readonly id: string;
@@ -5844,6 +5861,24 @@ export type ExperimentalJobCancelInput = {
5844
5861
  readonly id: string;
5845
5862
  };
5846
5863
  export type ExperimentalJobCancelOutput = void;
5864
+ export type ExperimentalMachineListOutput = {
5865
+ data: Array<MachineInfo>;
5866
+ }["data"];
5867
+ export type ExperimentalMachineAddInput = {
5868
+ readonly name: string;
5869
+ readonly reach: ReadonlyArray<{
5870
+ readonly type: "url";
5871
+ readonly url: string;
5872
+ }>;
5873
+ readonly replace?: boolean | undefined;
5874
+ };
5875
+ export type ExperimentalMachineAddOutput = {
5876
+ data: MachineInvite;
5877
+ }["data"];
5878
+ export type ExperimentalMachineRemoveInput = {
5879
+ readonly name: string;
5880
+ };
5881
+ export type ExperimentalMachineRemoveOutput = void;
5847
5882
  export type ShellListInput = {
5848
5883
  readonly location?: {
5849
5884
  readonly directory?: string | undefined;
@@ -39,10 +39,11 @@ import {
39
39
  isBlobNotFoundError2,
40
40
  isAutomationNotFoundError2,
41
41
  isArtifactNotFoundError2,
42
+ isMachineNotFoundError2,
42
43
  isShellNotFoundError2,
43
44
  isWorktreeError2,
44
45
  isVcsInitNotSupportedError2
45
- } from "../../chunks/service-timing-6hqrj29e.js";
46
+ } from "../../chunks/rpc-runtime-t2hneane.js";
46
47
  export {
47
48
  isAgentNotFoundError2 as isAgentNotFoundError,
48
49
  isArtifactNotFoundError2 as isArtifactNotFoundError,
@@ -63,6 +64,7 @@ export {
63
64
  isInvalidCursorError2 as isInvalidCursorError,
64
65
  isInvalidRequestError2 as isInvalidRequestError,
65
66
  isLocationNotFoundError2 as isLocationNotFoundError,
67
+ isMachineNotFoundError2 as isMachineNotFoundError,
66
68
  isMcpServerNotFoundError2 as isMcpServerNotFoundError,
67
69
  isMessageNotFoundError2 as isMessageNotFoundError,
68
70
  isModelNotFoundError2 as isModelNotFoundError,
@@ -1,9 +1,13 @@
1
- import"../chunks/service-timing-6r38tsk5.js";
1
+ import"../chunks/rpc-runtime-6r38tsk5.js";
2
2
  import {
3
- exports_client
4
- } from "../chunks/service-timing-12mqmnk4.js";
5
- import"../chunks/service-timing-vyas3vgt.js";
6
- import"../chunks/service-timing-xafd70ys.js";
3
+ mediaHashFromUri2,
4
+ withMediaRefs2
5
+ } from "../chunks/rpc-runtime-mwrzahmf.js";
6
+ import {
7
+ exports_client3
8
+ } from "../chunks/rpc-runtime-cz490mp4.js";
9
+ import"../chunks/rpc-runtime-7s3gfrb2.js";
10
+ import"../chunks/rpc-runtime-vyas3vgt.js";
7
11
  import {
8
12
  isInvalidRequestError2,
9
13
  isUnauthorizedError2,
@@ -45,22 +49,19 @@ import {
45
49
  isBlobNotFoundError2,
46
50
  isAutomationNotFoundError2,
47
51
  isArtifactNotFoundError2,
52
+ isMachineNotFoundError2,
48
53
  isShellNotFoundError2,
49
54
  isWorktreeError2,
50
55
  isVcsInitNotSupportedError2
51
- } from "../chunks/service-timing-6hqrj29e.js";
52
- import {
53
- mediaHashFromUri2,
54
- withMediaRefs2
55
- } from "../chunks/service-timing-mwrzahmf.js";
56
- import"../chunks/service-timing-t8bqr56k.js";
56
+ } from "../chunks/rpc-runtime-t2hneane.js";
57
+ import"../chunks/rpc-runtime-nvtq28t3.js";
57
58
  import {
58
- ClientError2
59
- } from "../chunks/service-timing-js54wxgp.js";
60
- import"../chunks/service-timing-hw6kqa0w.js";
59
+ ClientError3
60
+ } from "../chunks/rpc-runtime-nwcpakzx.js";
61
+ import"../chunks/rpc-runtime-gecjxyvt.js";
61
62
  export {
62
- ClientError2 as ClientError,
63
- exports_client as OpenCode,
63
+ ClientError3 as ClientError,
64
+ exports_client3 as OpenCode,
64
65
  isAgentNotFoundError2 as isAgentNotFoundError,
65
66
  isArtifactNotFoundError2 as isArtifactNotFoundError,
66
67
  isAutomationNotFoundError2 as isAutomationNotFoundError,
@@ -80,6 +81,7 @@ export {
80
81
  isInvalidCursorError2 as isInvalidCursorError,
81
82
  isInvalidRequestError2 as isInvalidRequestError,
82
83
  isLocationNotFoundError2 as isLocationNotFoundError,
84
+ isMachineNotFoundError2 as isMachineNotFoundError,
83
85
  isMcpServerNotFoundError2 as isMcpServerNotFoundError,
84
86
  isMessageNotFoundError2 as isMessageNotFoundError,
85
87
  isModelNotFoundError2 as isModelNotFoundError,
@@ -127,6 +127,11 @@ export declare function withMediaRefs(api: ReturnType<typeof make>): {
127
127
  list: (input?: import("./index.js").ExperimentalJobListInput, requestOptions?: RequestOptions) => Promise<import("./index.js").JobInfo[]>;
128
128
  cancel: (input: import("./index.js").ExperimentalJobCancelInput, requestOptions?: RequestOptions) => Promise<void>;
129
129
  };
130
+ machine: {
131
+ list: (requestOptions?: RequestOptions) => Promise<import("./index.js").MachineInfo[]>;
132
+ add: (input: import("./index.js").ExperimentalMachineAddInput, requestOptions?: RequestOptions) => Promise<import("./index.js").MachineInvite>;
133
+ remove: (input: import("./index.js").ExperimentalMachineRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
134
+ };
130
135
  migration: {
131
136
  v1: {
132
137
  status: (requestOptions?: RequestOptions) => Promise<import("./index.js").ExperimentalMigrationV1StatusOutput>;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  mediaHashFromUri2,
3
3
  withMediaRefs2
4
- } from "../chunks/service-timing-mwrzahmf.js";
4
+ } from "../chunks/rpc-runtime-mwrzahmf.js";
5
5
  export {
6
6
  mediaHashFromUri2 as mediaHashFromUri,
7
7
  withMediaRefs2 as withMediaRefs
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  makeRpc2
3
- } from "../chunks/service-timing-xafd70ys.js";
4
- import"../chunks/service-timing-6hqrj29e.js";
3
+ } from "../chunks/rpc-runtime-7s3gfrb2.js";
4
+ import"../chunks/rpc-runtime-t2hneane.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-timing-ve4aws36.js";
4
+ } from "../chunks/rpc-runtime-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-timing-xgnj2w4v.js";
8
+ } from "../chunks/rpc-runtime-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-timing-sxt88q69.js";
11
+ } from "../chunks/rpc-runtime-sxt88q69.js";
12
12
  import {
13
13
  decide2,
14
14
  fallback2,
15
15
  same2,
16
16
  probeResult2,
17
17
  headers2
18
- } from "../chunks/service-timing-8ye1ye6f.js";
18
+ } from "../chunks/rpc-runtime-2ny4vxct.js";
19
19
  import {
20
20
  prepare2,
21
21
  environment2,
22
22
  complete2,
23
23
  clear2
24
- } from "../chunks/service-timing-hwa6zdcq.js";
25
- import"../chunks/service-timing-qav6mfdz.js";
24
+ } from "../chunks/rpc-runtime-dz2zzf2j.js";
25
+ import"../chunks/rpc-runtime-qav6mfdz.js";
26
26
 
27
27
  // src/promise/service.ts
28
28
  import { readFile, rm } from "node:fs/promises";
@@ -4,10 +4,10 @@ import {
4
4
  complete2,
5
5
  clear2,
6
6
  exports_pty_handoff
7
- } from "./chunks/service-timing-hwa6zdcq.js";
8
- import"./chunks/service-timing-8ye1ye6f.js";
9
- import"./chunks/service-timing-xgnj2w4v.js";
10
- import"./chunks/service-timing-sxt88q69.js";
7
+ } from "./chunks/rpc-runtime-dz2zzf2j.js";
8
+ import"./chunks/rpc-runtime-2ny4vxct.js";
9
+ import"./chunks/rpc-runtime-sxt88q69.js";
10
+ import"./chunks/rpc-runtime-xgnj2w4v.js";
11
11
  export {
12
12
  exports_pty_handoff as PtyHandoff,
13
13
  clear2 as clear,
@@ -4,7 +4,7 @@ import {
4
4
  event2,
5
5
  eventType2,
6
6
  exports_rpc_runtime
7
- } from "./chunks/service-timing-ryy6kscr.js";
7
+ } from "./chunks/rpc-runtime-ryy6kscr.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-timing-ve4aws36.js";
5
+ } from "./chunks/rpc-runtime-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-timing-8ye1ye6f.js";
8
- import"./chunks/service-timing-xgnj2w4v.js";
9
- import"./chunks/service-timing-sxt88q69.js";
7
+ } from "./chunks/rpc-runtime-2ny4vxct.js";
8
+ import"./chunks/rpc-runtime-sxt88q69.js";
9
+ import"./chunks/rpc-runtime-xgnj2w4v.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-timing-xgnj2w4v.js";
5
+ } from "./chunks/rpc-runtime-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-timing-sxt88q69.js";
3
+ } from "./chunks/rpc-runtime-sxt88q69.js";
4
4
  export {
5
5
  matchesVersion2 as matchesVersion
6
6
  };
package/dist/service.js CHANGED
@@ -1 +1 @@
1
- import"./chunks/service-timing-qav6mfdz.js";
1
+ import"./chunks/rpc-runtime-qav6mfdz.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
- make5,
2
+ make7,
3
3
  exports_shared_events
4
- } from "./chunks/service-timing-hw6kqa0w.js";
4
+ } from "./chunks/rpc-runtime-gecjxyvt.js";
5
5
  export {
6
6
  exports_shared_events as SharedEvents,
7
- make5 as make
7
+ make7 as make
8
8
  };
@@ -2,7 +2,7 @@ import {
2
2
  defaultIdleTimeout2,
3
3
  foregroundIdleThreshold2,
4
4
  createClientConnection2
5
- } from "../chunks/service-timing-ydhz1zrh.js";
5
+ } from "../chunks/rpc-runtime-ydhz1zrh.js";
6
6
  export {
7
7
  createClientConnection2 as createClientConnection,
8
8
  defaultIdleTimeout2 as defaultIdleTimeout,
@@ -2,16 +2,16 @@ import {
2
2
  settleMs2,
3
3
  locationKey2,
4
4
  createData2
5
- } from "../chunks/service-timing-sh042gpe.js";
6
- import"../chunks/service-timing-6r38tsk5.js";
7
- import"../chunks/service-timing-12mqmnk4.js";
8
- import"../chunks/service-timing-vyas3vgt.js";
9
- import"../chunks/service-timing-xafd70ys.js";
10
- import"../chunks/service-timing-6hqrj29e.js";
11
- import"../chunks/service-timing-mwrzahmf.js";
12
- import"../chunks/service-timing-t8bqr56k.js";
13
- import"../chunks/service-timing-js54wxgp.js";
14
- import"../chunks/service-timing-hw6kqa0w.js";
5
+ } from "../chunks/rpc-runtime-wcj4wnr9.js";
6
+ import"../chunks/rpc-runtime-6r38tsk5.js";
7
+ import"../chunks/rpc-runtime-mwrzahmf.js";
8
+ import"../chunks/rpc-runtime-cz490mp4.js";
9
+ import"../chunks/rpc-runtime-7s3gfrb2.js";
10
+ import"../chunks/rpc-runtime-vyas3vgt.js";
11
+ import"../chunks/rpc-runtime-t2hneane.js";
12
+ import"../chunks/rpc-runtime-nvtq28t3.js";
13
+ import"../chunks/rpc-runtime-nwcpakzx.js";
14
+ import"../chunks/rpc-runtime-gecjxyvt.js";
15
15
  export {
16
16
  createData2 as createData,
17
17
  locationKey2 as locationKey,