@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.
- package/dist/chunks/{service-j5hjvvb4.js → service-probe-1c19f6wy.js} +2 -2
- package/dist/chunks/{service-y2etg5bs.js → service-probe-7f0py9js.js} +2 -2
- package/dist/chunks/{service-xafd70ys.js → service-probe-7s3gfrb2.js} +1 -1
- package/dist/chunks/{service-2ny4vxct.js → service-probe-8ye1ye6f.js} +2 -2
- package/dist/chunks/{service-88gjqypq.js → service-probe-9nf6mew2.js} +19 -11
- package/dist/chunks/{service-yaaq8kh5.js → service-probe-b58x3wrg.js} +43 -19
- package/dist/chunks/{service-x80b58mq.js → service-probe-ftynhkc9.js} +17 -17
- package/dist/chunks/{service-gecjxyvt.js → service-probe-gecjxyvt.js} +1 -1
- package/dist/chunks/{service-nwcpakzx.js → service-probe-js54wxgp.js} +2 -2
- package/dist/chunks/{service-15p82y03.js → service-probe-myz4ngx9.js} +5 -5
- package/dist/chunks/service-probe-pwk3dyev.js +30 -0
- package/dist/chunks/{service-ryy6kscr.js → service-probe-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-6hqrj29e.js → service-probe-t2hneane.js} +2 -1
- package/dist/chunks/{service-sh042gpe.js → service-probe-wcj4wnr9.js} +1 -1
- 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 +12 -10
- package/dist/promise/generated/types.d.ts +36 -0
- package/dist/promise/generated/types.js +3 -1
- package/dist/promise/index.js +17 -15
- 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 +1 -1
- 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-rwqtjvht.js +0 -30
- /package/dist/chunks/{service-3eaz3m83.js → service-probe-3eaz3m83.js} +0 -0
- /package/dist/chunks/{service-60xe5cbf.js → service-probe-60xe5cbf.js} +0 -0
- /package/dist/chunks/{service-6mptkzbc.js → service-probe-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-6mq2wh8y.js → service-probe-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{service-6r38tsk5.js → service-probe-6r38tsk5.js} +0 -0
- /package/dist/chunks/{service-8s2anffy.js → service-probe-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-9rqn6x4v.js → service-probe-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-mwrzahmf.js → service-probe-mwrzahmf.js} +0 -0
- /package/dist/chunks/{service-qav6mfdz.js → service-probe-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-sxt88q69.js → service-probe-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-ve4aws36.js → service-probe-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-vyas3vgt.js → service-probe-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-xgnj2w4v.js → service-probe-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-ydhz1zrh.js → service-probe-ydhz1zrh.js} +0 -0
package/dist/effect/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../chunks/service-
|
|
4
|
-
import"../chunks/service-60xe5cbf.js";
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-6mptkzbc.js";
|
|
7
|
-
import"../chunks/service-gecjxyvt.js";
|
|
8
|
-
import"../chunks/service-ryy6kscr.js";
|
|
9
|
-
import"../chunks/service-
|
|
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
|
-
|
|
12
|
-
} from "../chunks/service-
|
|
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
|
-
|
|
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
|
-
|
|
57
|
+
exports_client3 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
|
+
make6,
|
|
3
3
|
aborted2,
|
|
4
4
|
exports_rpc
|
|
5
|
-
} from "../chunks/service-
|
|
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
|
-
|
|
10
|
+
make6 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/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-
|
|
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-
|
|
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";
|
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/service-
|
|
5
|
-
import"../chunks/service-vyas3vgt.js";
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
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
|
-
|
|
13
|
-
|
|
12
|
+
exports_client as OpenCode,
|
|
13
|
+
make2 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/service-
|
|
4
|
-
import"../../chunks/service-
|
|
2
|
+
make3
|
|
3
|
+
} from "../../chunks/service-probe-b58x3wrg.js";
|
|
4
|
+
import"../../chunks/service-probe-js54wxgp.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
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-
|
|
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
|
-
|
|
55
|
-
|
|
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-
|
|
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,
|
package/dist/promise/index.js
CHANGED
|
@@ -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
|
|
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-
|
|
56
|
-
import"../chunks/service-
|
|
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
|
-
|
|
63
|
-
|
|
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,
|
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/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-
|
|
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-
|
|
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";
|
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/service-
|
|
8
|
-
import"./chunks/service-
|
|
9
|
-
import"./chunks/service-
|
|
10
|
-
import"./chunks/service-
|
|
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,
|
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/service-
|
|
8
|
-
import"./chunks/service-
|
|
9
|
-
import"./chunks/service-
|
|
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,
|
package/dist/service-timing.js
CHANGED
package/dist/service-version.js
CHANGED
package/dist/service.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunks/service-qav6mfdz.js";
|
|
1
|
+
import"./chunks/service-probe-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/service-ydhz1zrh.js";
|
|
5
|
+
} from "../chunks/service-probe-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/service-
|
|
6
|
-
import"../chunks/service-6r38tsk5.js";
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
10
|
-
import"../chunks/service-
|
|
11
|
-
import"../chunks/service-
|
|
12
|
-
import"../chunks/service-
|
|
13
|
-
import"../chunks/service-
|
|
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,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import"../chunks/service-
|
|
2
|
-
import"../chunks/service-
|
|
3
|
-
import"../chunks/service-
|
|
4
|
-
import"../chunks/service-vyas3vgt.js";
|
|
5
|
-
import"../chunks/service-gecjxyvt.js";
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
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-
|
|
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,
|