@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.
- package/dist/chunks/{service-timing-3s7q7x9k.js → rpc-runtime-0djk1vpd.js} +19 -19
- package/dist/chunks/{service-timing-myz4ngx9.js → rpc-runtime-15p82y03.js} +5 -5
- package/dist/chunks/{service-timing-8ye1ye6f.js → rpc-runtime-2ny4vxct.js} +2 -2
- package/dist/chunks/{service-timing-xafd70ys.js → rpc-runtime-7s3gfrb2.js} +1 -1
- package/dist/chunks/rpc-runtime-cz490mp4.js +30 -0
- package/dist/chunks/{service-timing-hwa6zdcq.js → rpc-runtime-dz2zzf2j.js} +2 -2
- package/dist/chunks/{service-timing-hw6kqa0w.js → rpc-runtime-gecjxyvt.js} +4 -4
- package/dist/chunks/{service-timing-t8bqr56k.js → rpc-runtime-nvtq28t3.js} +43 -19
- package/dist/chunks/{service-timing-js54wxgp.js → rpc-runtime-nwcpakzx.js} +2 -2
- package/dist/chunks/{service-timing-ryy6kscr.js → rpc-runtime-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-timing-6hqrj29e.js → rpc-runtime-t2hneane.js} +2 -1
- package/dist/chunks/{service-timing-sh042gpe.js → rpc-runtime-wcj4wnr9.js} +1 -1
- package/dist/chunks/{service-timing-7f0py9js.js → rpc-runtime-y2etg5bs.js} +2 -2
- package/dist/chunks/{service-timing-5fh62h9m.js → rpc-runtime-zrgqmrbq.js} +19 -11
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +32 -0
- package/dist/effect/client.d.ts +5 -0
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +6 -1
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +8 -8
- package/dist/effect/index.js +12 -12
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.d.ts +5 -0
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +6 -1
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +10 -8
- package/dist/promise/generated/types.d.ts +37 -2
- package/dist/promise/generated/types.js +3 -1
- package/dist/promise/index.js +18 -16
- package/dist/promise/media.d.ts +5 -0
- package/dist/promise/media.js +1 -1
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +6 -6
- package/dist/pty-handoff.js +4 -4
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-probe.js +3 -3
- package/dist/service-timing.js +1 -1
- package/dist/service-version.js +1 -1
- package/dist/service.js +1 -1
- package/dist/shared-events.js +3 -3
- package/dist/solid/connection.js +1 -1
- package/dist/solid/data.js +10 -10
- package/dist/solid/index.js +14 -14
- package/dist/solid/pty.js +1 -1
- package/dist/solid/retention.js +1 -1
- package/dist/solid/usage.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/service-timing-12mqmnk4.js +0 -30
- /package/dist/chunks/{service-timing-3eaz3m83.js → rpc-runtime-3eaz3m83.js} +0 -0
- /package/dist/chunks/{service-timing-60xe5cbf.js → rpc-runtime-60xe5cbf.js} +0 -0
- /package/dist/chunks/{service-timing-6mptkzbc.js → rpc-runtime-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-timing-6mq2wh8y.js → rpc-runtime-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{service-timing-6r38tsk5.js → rpc-runtime-6r38tsk5.js} +0 -0
- /package/dist/chunks/{service-timing-8s2anffy.js → rpc-runtime-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-timing-9rqn6x4v.js → rpc-runtime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-timing-mwrzahmf.js → rpc-runtime-mwrzahmf.js} +0 -0
- /package/dist/chunks/{service-timing-qav6mfdz.js → rpc-runtime-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-timing-sxt88q69.js → rpc-runtime-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-timing-ve4aws36.js → rpc-runtime-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-timing-vyas3vgt.js → rpc-runtime-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-timing-xgnj2w4v.js → rpc-runtime-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-timing-ydhz1zrh.js → rpc-runtime-ydhz1zrh.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import"../../chunks/
|
|
1
|
+
import"../../chunks/rpc-runtime-6mptkzbc.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../chunks/
|
|
3
|
+
exports_client2
|
|
4
|
+
} from "../../chunks/rpc-runtime-zrgqmrbq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../chunks/
|
|
8
|
-
import"../../chunks/
|
|
6
|
+
ClientError2
|
|
7
|
+
} from "../../chunks/rpc-runtime-y2etg5bs.js";
|
|
8
|
+
import"../../chunks/rpc-runtime-60xe5cbf.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
ClientError2 as ClientError,
|
|
11
|
+
exports_client2 as OpenCode
|
|
12
12
|
};
|
package/dist/effect/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
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
|
-
|
|
12
|
-
} from "../chunks/
|
|
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
|
-
|
|
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
|
-
|
|
57
|
+
exports_client as OpenCode,
|
|
58
58
|
Permission,
|
|
59
59
|
PermissionSaved,
|
|
60
60
|
Project,
|
package/dist/effect/rpc.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
make3,
|
|
3
3
|
aborted2,
|
|
4
4
|
exports_rpc
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
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
|
-
|
|
10
|
+
make3 as make
|
|
11
11
|
};
|
package/dist/effect/service.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spawnServiceContender2,
|
|
3
3
|
contenderPool2
|
|
4
|
-
} from "../chunks/
|
|
4
|
+
} from "../chunks/rpc-runtime-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/rpc-runtime-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
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/
|
|
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/
|
|
25
|
-
import"../chunks/
|
|
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";
|
package/dist/promise/client.d.ts
CHANGED
|
@@ -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>;
|
package/dist/promise/client.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
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
|
-
|
|
13
|
-
|
|
12
|
+
exports_client3 as OpenCode,
|
|
13
|
+
make5 as make
|
|
14
14
|
};
|
|
@@ -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
|
-
|
|
3
|
-
} from "../../chunks/
|
|
4
|
-
import"../../chunks/
|
|
2
|
+
make6
|
|
3
|
+
} from "../../chunks/rpc-runtime-nvtq28t3.js";
|
|
4
|
+
import"../../chunks/rpc-runtime-nwcpakzx.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
make6 as make
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../../chunks/
|
|
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/
|
|
47
|
+
} from "../../chunks/rpc-runtime-t2hneane.js";
|
|
47
48
|
import {
|
|
48
|
-
|
|
49
|
-
} from "../../chunks/
|
|
49
|
+
exports_client4
|
|
50
|
+
} from "../../chunks/rpc-runtime-nvtq28t3.js";
|
|
50
51
|
import {
|
|
51
|
-
|
|
52
|
-
} from "../../chunks/
|
|
52
|
+
ClientError3
|
|
53
|
+
} from "../../chunks/rpc-runtime-nwcpakzx.js";
|
|
53
54
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
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/
|
|
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,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/rpc-runtime-6r38tsk5.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import
|
|
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/
|
|
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
|
-
|
|
59
|
-
} from "../chunks/
|
|
60
|
-
import"../chunks/
|
|
59
|
+
ClientError3
|
|
60
|
+
} from "../chunks/rpc-runtime-nwcpakzx.js";
|
|
61
|
+
import"../chunks/rpc-runtime-gecjxyvt.js";
|
|
61
62
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
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,
|
package/dist/promise/media.d.ts
CHANGED
|
@@ -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>;
|
package/dist/promise/media.js
CHANGED
package/dist/promise/rpc.js
CHANGED
package/dist/promise/service.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spawnServiceContender2,
|
|
3
3
|
contenderPool2
|
|
4
|
-
} from "../chunks/
|
|
4
|
+
} from "../chunks/rpc-runtime-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/rpc-runtime-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
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/
|
|
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/
|
|
25
|
-
import"../chunks/
|
|
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";
|
package/dist/pty-handoff.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
complete2,
|
|
5
5
|
clear2,
|
|
6
6
|
exports_pty_handoff
|
|
7
|
-
} from "./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
10
|
-
import"./chunks/
|
|
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,
|
package/dist/rpc-runtime.js
CHANGED
package/dist/service-probe.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
same2,
|
|
5
5
|
probeResult2,
|
|
6
6
|
headers2
|
|
7
|
-
} from "./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
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,
|
package/dist/service-timing.js
CHANGED
package/dist/service-version.js
CHANGED
package/dist/service.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunks/
|
|
1
|
+
import"./chunks/rpc-runtime-qav6mfdz.js";
|
package/dist/shared-events.js
CHANGED
package/dist/solid/connection.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
defaultIdleTimeout2,
|
|
3
3
|
foregroundIdleThreshold2,
|
|
4
4
|
createClientConnection2
|
|
5
|
-
} from "../chunks/
|
|
5
|
+
} from "../chunks/rpc-runtime-ydhz1zrh.js";
|
|
6
6
|
export {
|
|
7
7
|
createClientConnection2 as createClientConnection,
|
|
8
8
|
defaultIdleTimeout2 as defaultIdleTimeout,
|
package/dist/solid/data.js
CHANGED
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
settleMs2,
|
|
3
3
|
locationKey2,
|
|
4
4
|
createData2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/
|
|
12
|
-
import"../chunks/
|
|
13
|
-
import"../chunks/
|
|
14
|
-
import"../chunks/
|
|
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,
|