@opencode/client 0.0.0-dev-1325 → 0.0.0-dev-1328

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-j5hjvvb4.js → service-probe-1c19f6wy.js} +2 -2
  2. package/dist/chunks/{service-y2etg5bs.js → service-probe-7f0py9js.js} +2 -2
  3. package/dist/chunks/{service-xafd70ys.js → service-probe-7s3gfrb2.js} +1 -1
  4. package/dist/chunks/{service-2ny4vxct.js → service-probe-8ye1ye6f.js} +2 -2
  5. package/dist/chunks/{service-88gjqypq.js → service-probe-9nf6mew2.js} +19 -11
  6. package/dist/chunks/{service-yaaq8kh5.js → service-probe-b58x3wrg.js} +43 -19
  7. package/dist/chunks/{service-x80b58mq.js → service-probe-ftynhkc9.js} +17 -17
  8. package/dist/chunks/{service-gecjxyvt.js → service-probe-gecjxyvt.js} +1 -1
  9. package/dist/chunks/{service-nwcpakzx.js → service-probe-js54wxgp.js} +2 -2
  10. package/dist/chunks/{service-15p82y03.js → service-probe-myz4ngx9.js} +5 -5
  11. package/dist/chunks/service-probe-pwk3dyev.js +30 -0
  12. package/dist/chunks/{service-ryy6kscr.js → service-probe-ryy6kscr.js} +1 -1
  13. package/dist/chunks/{service-6hqrj29e.js → service-probe-t2hneane.js} +2 -1
  14. package/dist/chunks/{service-sh042gpe.js → service-probe-wcj4wnr9.js} +1 -1
  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 +12 -10
  32. package/dist/promise/generated/types.d.ts +36 -0
  33. package/dist/promise/generated/types.js +3 -1
  34. package/dist/promise/index.js +17 -15
  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 +1 -1
  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-rwqtjvht.js +0 -30
  55. /package/dist/chunks/{service-3eaz3m83.js → service-probe-3eaz3m83.js} +0 -0
  56. /package/dist/chunks/{service-60xe5cbf.js → service-probe-60xe5cbf.js} +0 -0
  57. /package/dist/chunks/{service-6mptkzbc.js → service-probe-6mptkzbc.js} +0 -0
  58. /package/dist/chunks/{service-6mq2wh8y.js → service-probe-6mq2wh8y.js} +0 -0
  59. /package/dist/chunks/{service-6r38tsk5.js → service-probe-6r38tsk5.js} +0 -0
  60. /package/dist/chunks/{service-8s2anffy.js → service-probe-8s2anffy.js} +0 -0
  61. /package/dist/chunks/{service-9rqn6x4v.js → service-probe-9rqn6x4v.js} +0 -0
  62. /package/dist/chunks/{service-mwrzahmf.js → service-probe-mwrzahmf.js} +0 -0
  63. /package/dist/chunks/{service-qav6mfdz.js → service-probe-qav6mfdz.js} +0 -0
  64. /package/dist/chunks/{service-sxt88q69.js → service-probe-sxt88q69.js} +0 -0
  65. /package/dist/chunks/{service-ve4aws36.js → service-probe-ve4aws36.js} +0 -0
  66. /package/dist/chunks/{service-vyas3vgt.js → service-probe-vyas3vgt.js} +0 -0
  67. /package/dist/chunks/{service-xgnj2w4v.js → service-probe-xgnj2w4v.js} +0 -0
  68. /package/dist/chunks/{service-ydhz1zrh.js → service-probe-ydhz1zrh.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
- ClientError2
3
- } from "../chunks/service-y2etg5bs.js";
4
- import"../chunks/service-60xe5cbf.js";
5
- import"../chunks/service-88gjqypq.js";
6
- import"../chunks/service-6mptkzbc.js";
7
- import"../chunks/service-gecjxyvt.js";
8
- import"../chunks/service-ryy6kscr.js";
9
- import"../chunks/service-15p82y03.js";
2
+ ClientError3
3
+ } from "../chunks/service-probe-7f0py9js.js";
4
+ import"../chunks/service-probe-60xe5cbf.js";
5
+ import"../chunks/service-probe-9nf6mew2.js";
6
+ import"../chunks/service-probe-6mptkzbc.js";
7
+ import"../chunks/service-probe-gecjxyvt.js";
8
+ import"../chunks/service-probe-ryy6kscr.js";
9
+ import"../chunks/service-probe-myz4ngx9.js";
10
10
  import {
11
- exports_client
12
- } from "../chunks/service-x80b58mq.js";
11
+ exports_client3
12
+ } from "../chunks/service-probe-ftynhkc9.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
- ClientError2 as ClientError,
46
+ ClientError3 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_client as OpenCode,
57
+ exports_client3 as OpenCode,
58
58
  Permission,
59
59
  PermissionSaved,
60
60
  Project,
@@ -1,11 +1,11 @@
1
1
  import {
2
- make3,
2
+ make6,
3
3
  aborted2,
4
4
  exports_rpc
5
- } from "../chunks/service-15p82y03.js";
6
- import"../chunks/service-ryy6kscr.js";
5
+ } from "../chunks/service-probe-myz4ngx9.js";
6
+ import"../chunks/service-probe-ryy6kscr.js";
7
7
  export {
8
8
  exports_rpc as RpcClientRuntime,
9
9
  aborted2 as aborted,
10
- make3 as make
10
+ make6 as make
11
11
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/service-ve4aws36.js";
4
+ } from "../chunks/service-probe-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-xgnj2w4v.js";
8
+ } from "../chunks/service-probe-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-sxt88q69.js";
11
+ } from "../chunks/service-probe-sxt88q69.js";
12
12
  import {
13
13
  decide2,
14
14
  fallback2,
15
15
  same2,
16
16
  probeResult2,
17
17
  headers2
18
- } from "../chunks/service-2ny4vxct.js";
18
+ } from "../chunks/service-probe-8ye1ye6f.js";
19
19
  import {
20
20
  prepare2,
21
21
  environment2,
22
22
  complete2,
23
23
  clear2
24
- } from "../chunks/service-j5hjvvb4.js";
25
- import"../chunks/service-qav6mfdz.js";
24
+ } from "../chunks/service-probe-1c19f6wy.js";
25
+ import"../chunks/service-probe-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
- make5,
3
- exports_client3
4
- } from "../chunks/service-rwqtjvht.js";
5
- import"../chunks/service-vyas3vgt.js";
6
- import"../chunks/service-xafd70ys.js";
7
- import"../chunks/service-6hqrj29e.js";
8
- import"../chunks/service-yaaq8kh5.js";
9
- import"../chunks/service-nwcpakzx.js";
10
- import"../chunks/service-gecjxyvt.js";
2
+ make2,
3
+ exports_client
4
+ } from "../chunks/service-probe-pwk3dyev.js";
5
+ import"../chunks/service-probe-vyas3vgt.js";
6
+ import"../chunks/service-probe-b58x3wrg.js";
7
+ import"../chunks/service-probe-js54wxgp.js";
8
+ import"../chunks/service-probe-7s3gfrb2.js";
9
+ import"../chunks/service-probe-t2hneane.js";
10
+ import"../chunks/service-probe-gecjxyvt.js";
11
11
  export {
12
- exports_client3 as OpenCode,
13
- make5 as make
12
+ exports_client as OpenCode,
13
+ make2 as make
14
14
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ClientError3
3
- } from "../../chunks/service-nwcpakzx.js";
2
+ ClientError2
3
+ } from "../../chunks/service-probe-js54wxgp.js";
4
4
  export {
5
- ClientError3 as ClientError
5
+ ClientError2 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
- make6
3
- } from "../../chunks/service-yaaq8kh5.js";
4
- import"../../chunks/service-nwcpakzx.js";
2
+ make3
3
+ } from "../../chunks/service-probe-b58x3wrg.js";
4
+ import"../../chunks/service-probe-js54wxgp.js";
5
5
  export {
6
- make6 as make
6
+ make3 as make
7
7
  };
@@ -1,4 +1,10 @@
1
- import"../../chunks/service-vyas3vgt.js";
1
+ import"../../chunks/service-probe-vyas3vgt.js";
2
+ import {
3
+ exports_client2
4
+ } from "../../chunks/service-probe-b58x3wrg.js";
5
+ import {
6
+ ClientError2
7
+ } from "../../chunks/service-probe-js54wxgp.js";
2
8
  import {
3
9
  isInvalidRequestError2,
4
10
  isUnauthorizedError2,
@@ -40,19 +46,14 @@ import {
40
46
  isBlobNotFoundError2,
41
47
  isAutomationNotFoundError2,
42
48
  isArtifactNotFoundError2,
49
+ isMachineNotFoundError2,
43
50
  isShellNotFoundError2,
44
51
  isWorktreeError2,
45
52
  isVcsInitNotSupportedError2
46
- } from "../../chunks/service-6hqrj29e.js";
47
- import {
48
- exports_client4
49
- } from "../../chunks/service-yaaq8kh5.js";
50
- import {
51
- ClientError3
52
- } from "../../chunks/service-nwcpakzx.js";
53
+ } from "../../chunks/service-probe-t2hneane.js";
53
54
  export {
54
- ClientError3 as ClientError,
55
- exports_client4 as OpenCode,
55
+ ClientError2 as ClientError,
56
+ exports_client2 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;
@@ -4190,6 +4202,12 @@ export type ArtifactNotFoundError = {
4190
4202
  readonly message: string;
4191
4203
  };
4192
4204
  export declare const isArtifactNotFoundError: (value: unknown) => value is ArtifactNotFoundError;
4205
+ export type MachineNotFoundError = {
4206
+ readonly _tag: "MachineNotFoundError";
4207
+ readonly machine: string;
4208
+ readonly message: string;
4209
+ };
4210
+ export declare const isMachineNotFoundError: (value: unknown) => value is MachineNotFoundError;
4193
4211
  export type ShellNotFoundError = {
4194
4212
  readonly _tag: "ShellNotFoundError";
4195
4213
  readonly id: string;
@@ -5844,6 +5862,24 @@ export type ExperimentalJobCancelInput = {
5844
5862
  readonly id: string;
5845
5863
  };
5846
5864
  export type ExperimentalJobCancelOutput = void;
5865
+ export type ExperimentalMachineListOutput = {
5866
+ data: Array<MachineInfo>;
5867
+ }["data"];
5868
+ export type ExperimentalMachineAddInput = {
5869
+ readonly name: string;
5870
+ readonly reach: ReadonlyArray<{
5871
+ readonly type: "url";
5872
+ readonly url: string;
5873
+ }>;
5874
+ readonly replace?: boolean | undefined;
5875
+ };
5876
+ export type ExperimentalMachineAddOutput = {
5877
+ data: MachineInvite;
5878
+ }["data"];
5879
+ export type ExperimentalMachineRemoveInput = {
5880
+ readonly name: string;
5881
+ };
5882
+ export type ExperimentalMachineRemoveOutput = void;
5847
5883
  export type ShellListInput = {
5848
5884
  readonly location?: {
5849
5885
  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-6hqrj29e.js";
46
+ } from "../../chunks/service-probe-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,13 +1,17 @@
1
- import"../chunks/service-6r38tsk5.js";
2
- import {
3
- exports_client3
4
- } from "../chunks/service-rwqtjvht.js";
5
- import"../chunks/service-vyas3vgt.js";
1
+ import"../chunks/service-probe-6r38tsk5.js";
6
2
  import {
7
3
  mediaHashFromUri2,
8
4
  withMediaRefs2
9
- } from "../chunks/service-mwrzahmf.js";
10
- import"../chunks/service-xafd70ys.js";
5
+ } from "../chunks/service-probe-mwrzahmf.js";
6
+ import {
7
+ exports_client
8
+ } from "../chunks/service-probe-pwk3dyev.js";
9
+ import"../chunks/service-probe-vyas3vgt.js";
10
+ import"../chunks/service-probe-b58x3wrg.js";
11
+ import {
12
+ ClientError2
13
+ } from "../chunks/service-probe-js54wxgp.js";
14
+ import"../chunks/service-probe-7s3gfrb2.js";
11
15
  import {
12
16
  isInvalidRequestError2,
13
17
  isUnauthorizedError2,
@@ -49,18 +53,15 @@ import {
49
53
  isBlobNotFoundError2,
50
54
  isAutomationNotFoundError2,
51
55
  isArtifactNotFoundError2,
56
+ isMachineNotFoundError2,
52
57
  isShellNotFoundError2,
53
58
  isWorktreeError2,
54
59
  isVcsInitNotSupportedError2
55
- } from "../chunks/service-6hqrj29e.js";
56
- import"../chunks/service-yaaq8kh5.js";
57
- import {
58
- ClientError3
59
- } from "../chunks/service-nwcpakzx.js";
60
- import"../chunks/service-gecjxyvt.js";
60
+ } from "../chunks/service-probe-t2hneane.js";
61
+ import"../chunks/service-probe-gecjxyvt.js";
61
62
  export {
62
- ClientError3 as ClientError,
63
- exports_client3 as OpenCode,
63
+ ClientError2 as ClientError,
64
+ exports_client 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-mwrzahmf.js";
4
+ } from "../chunks/service-probe-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-xafd70ys.js";
4
- import"../chunks/service-6hqrj29e.js";
3
+ } from "../chunks/service-probe-7s3gfrb2.js";
4
+ import"../chunks/service-probe-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-ve4aws36.js";
4
+ } from "../chunks/service-probe-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-xgnj2w4v.js";
8
+ } from "../chunks/service-probe-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-sxt88q69.js";
11
+ } from "../chunks/service-probe-sxt88q69.js";
12
12
  import {
13
13
  decide2,
14
14
  fallback2,
15
15
  same2,
16
16
  probeResult2,
17
17
  headers2
18
- } from "../chunks/service-2ny4vxct.js";
18
+ } from "../chunks/service-probe-8ye1ye6f.js";
19
19
  import {
20
20
  prepare2,
21
21
  environment2,
22
22
  complete2,
23
23
  clear2
24
- } from "../chunks/service-j5hjvvb4.js";
25
- import"../chunks/service-qav6mfdz.js";
24
+ } from "../chunks/service-probe-1c19f6wy.js";
25
+ import"../chunks/service-probe-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-j5hjvvb4.js";
8
- import"./chunks/service-2ny4vxct.js";
9
- import"./chunks/service-sxt88q69.js";
10
- import"./chunks/service-xgnj2w4v.js";
7
+ } from "./chunks/service-probe-1c19f6wy.js";
8
+ import"./chunks/service-probe-8ye1ye6f.js";
9
+ import"./chunks/service-probe-xgnj2w4v.js";
10
+ import"./chunks/service-probe-sxt88q69.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-ryy6kscr.js";
7
+ } from "./chunks/service-probe-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-ve4aws36.js";
5
+ } from "./chunks/service-probe-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-2ny4vxct.js";
8
- import"./chunks/service-sxt88q69.js";
9
- import"./chunks/service-xgnj2w4v.js";
7
+ } from "./chunks/service-probe-8ye1ye6f.js";
8
+ import"./chunks/service-probe-xgnj2w4v.js";
9
+ import"./chunks/service-probe-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-xgnj2w4v.js";
5
+ } from "./chunks/service-probe-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-sxt88q69.js";
3
+ } from "./chunks/service-probe-sxt88q69.js";
4
4
  export {
5
5
  matchesVersion2 as matchesVersion
6
6
  };
package/dist/service.js CHANGED
@@ -1 +1 @@
1
- import"./chunks/service-qav6mfdz.js";
1
+ import"./chunks/service-probe-qav6mfdz.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make7,
3
3
  exports_shared_events
4
- } from "./chunks/service-gecjxyvt.js";
4
+ } from "./chunks/service-probe-gecjxyvt.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-ydhz1zrh.js";
5
+ } from "../chunks/service-probe-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-sh042gpe.js";
6
- import"../chunks/service-6r38tsk5.js";
7
- import"../chunks/service-rwqtjvht.js";
8
- import"../chunks/service-vyas3vgt.js";
9
- import"../chunks/service-mwrzahmf.js";
10
- import"../chunks/service-xafd70ys.js";
11
- import"../chunks/service-6hqrj29e.js";
12
- import"../chunks/service-yaaq8kh5.js";
13
- import"../chunks/service-nwcpakzx.js";
14
- import"../chunks/service-gecjxyvt.js";
5
+ } from "../chunks/service-probe-wcj4wnr9.js";
6
+ import"../chunks/service-probe-6r38tsk5.js";
7
+ import"../chunks/service-probe-mwrzahmf.js";
8
+ import"../chunks/service-probe-pwk3dyev.js";
9
+ import"../chunks/service-probe-vyas3vgt.js";
10
+ import"../chunks/service-probe-b58x3wrg.js";
11
+ import"../chunks/service-probe-js54wxgp.js";
12
+ import"../chunks/service-probe-7s3gfrb2.js";
13
+ import"../chunks/service-probe-t2hneane.js";
14
+ import"../chunks/service-probe-gecjxyvt.js";
15
15
  export {
16
16
  createData2 as createData,
17
17
  locationKey2 as locationKey,
@@ -1,34 +1,34 @@
1
- import"../chunks/service-nwcpakzx.js";
2
- import"../chunks/service-yaaq8kh5.js";
3
- import"../chunks/service-6hqrj29e.js";
4
- import"../chunks/service-vyas3vgt.js";
5
- import"../chunks/service-gecjxyvt.js";
6
- import"../chunks/service-xafd70ys.js";
7
- import"../chunks/service-rwqtjvht.js";
8
- import"../chunks/service-mwrzahmf.js";
9
- import"../chunks/service-6r38tsk5.js";
1
+ import"../chunks/service-probe-js54wxgp.js";
2
+ import"../chunks/service-probe-b58x3wrg.js";
3
+ import"../chunks/service-probe-t2hneane.js";
4
+ import"../chunks/service-probe-vyas3vgt.js";
5
+ import"../chunks/service-probe-gecjxyvt.js";
6
+ import"../chunks/service-probe-7s3gfrb2.js";
7
+ import"../chunks/service-probe-pwk3dyev.js";
8
+ import"../chunks/service-probe-mwrzahmf.js";
9
+ import"../chunks/service-probe-6r38tsk5.js";
10
10
  import {
11
11
  settleMs2,
12
12
  locationKey2,
13
13
  createData2
14
- } from "../chunks/service-sh042gpe.js";
14
+ } from "../chunks/service-probe-wcj4wnr9.js";
15
15
  import {
16
16
  defaultIdleTimeout2,
17
17
  foregroundIdleThreshold2,
18
18
  createClientConnection2
19
- } from "../chunks/service-ydhz1zrh.js";
19
+ } from "../chunks/service-probe-ydhz1zrh.js";
20
20
  import {
21
21
  PersistentPtyMessage2,
22
22
  decodePersistentPtyMessage2,
23
23
  persistentPtyFrame2,
24
24
  createPersistentPtyClient2
25
- } from "../chunks/service-3eaz3m83.js";
25
+ } from "../chunks/service-probe-3eaz3m83.js";
26
26
  import {
27
27
  createSessionRetention2
28
- } from "../chunks/service-6mq2wh8y.js";
28
+ } from "../chunks/service-probe-6mq2wh8y.js";
29
29
  import {
30
30
  lastAssistantWithUsage2
31
- } from "../chunks/service-8s2anffy.js";
31
+ } from "../chunks/service-probe-8s2anffy.js";
32
32
  export {
33
33
  PersistentPtyMessage2 as PersistentPtyMessage,
34
34
  createClientConnection2 as createClientConnection,
package/dist/solid/pty.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  decodePersistentPtyMessage2,
4
4
  persistentPtyFrame2,
5
5
  createPersistentPtyClient2
6
- } from "../chunks/service-3eaz3m83.js";
6
+ } from "../chunks/service-probe-3eaz3m83.js";
7
7
  export {
8
8
  PersistentPtyMessage2 as PersistentPtyMessage,
9
9
  createPersistentPtyClient2 as createPersistentPtyClient,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSessionRetention2
3
- } from "../chunks/service-6mq2wh8y.js";
3
+ } from "../chunks/service-probe-6mq2wh8y.js";
4
4
  export {
5
5
  createSessionRetention2 as createSessionRetention
6
6
  };