@opencode/client 2.2.5 → 2.2.6
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/{rpc-runtime-anregfhs.js → contract-15p82y03.js} +5 -5
- package/dist/chunks/{rpc-runtime-tq7qack3.js → contract-1r8wv9wh.js} +2 -2
- package/dist/chunks/{rpc-runtime-vrtmt90e.js → contract-503zgqsd.js} +17 -17
- package/dist/chunks/{rpc-runtime-8ye1ye6f.js → contract-8ye1ye6f.js} +2 -2
- package/dist/chunks/{rpc-runtime-gecjxyvt.js → contract-gecjxyvt.js} +1 -1
- package/dist/chunks/{rpc-runtime-js54wxgp.js → contract-nwcpakzx.js} +2 -2
- package/dist/chunks/{rpc-runtime-ryy6kscr.js → contract-ryy6kscr.js} +1 -1
- package/dist/chunks/{rpc-runtime-t2ajednw.js → contract-vxrn9xjg.js} +34 -19
- package/dist/chunks/contract-xby11z3y.js +30 -0
- package/dist/chunks/{rpc-runtime-xqwq6bgr.js → contract-xqwq6bgr.js} +1 -1
- package/dist/chunks/{rpc-runtime-7f0py9js.js → contract-y2etg5bs.js} +2 -2
- package/dist/chunks/{rpc-runtime-6ffmhce9.js → contract-yk5evh6f.js} +20 -11
- package/dist/chunks/{rpc-runtime-sbaynanj.js → contract-yn39sb5p.js} +6 -1
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +12 -0
- package/dist/effect/client.d.ts +5 -2
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +6 -3
- 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 +3 -0
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +4 -1
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +10 -10
- package/dist/promise/generated/types.d.ts +64 -5
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +14 -14
- package/dist/promise/media.d.ts +3 -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 +7 -7
- package/dist/chunks/rpc-runtime-wbnz2gjn.js +0 -30
- /package/dist/chunks/{rpc-runtime-3eaz3m83.js → contract-3eaz3m83.js} +0 -0
- /package/dist/chunks/{rpc-runtime-60xe5cbf.js → contract-60xe5cbf.js} +0 -0
- /package/dist/chunks/{rpc-runtime-6mptkzbc.js → contract-6mptkzbc.js} +0 -0
- /package/dist/chunks/{rpc-runtime-6mq2wh8y.js → contract-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{rpc-runtime-6r38tsk5.js → contract-6r38tsk5.js} +0 -0
- /package/dist/chunks/{rpc-runtime-8s2anffy.js → contract-8s2anffy.js} +0 -0
- /package/dist/chunks/{rpc-runtime-9rqn6x4v.js → contract-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-runtime-mwrzahmf.js → contract-mwrzahmf.js} +0 -0
- /package/dist/chunks/{rpc-runtime-qav6mfdz.js → contract-qav6mfdz.js} +0 -0
- /package/dist/chunks/{rpc-runtime-sdjh9vmn.js → contract-sdjh9vmn.js} +0 -0
- /package/dist/chunks/{rpc-runtime-sxt88q69.js → contract-sxt88q69.js} +0 -0
- /package/dist/chunks/{rpc-runtime-ve4aws36.js → contract-ve4aws36.js} +0 -0
- /package/dist/chunks/{rpc-runtime-vyas3vgt.js → contract-vyas3vgt.js} +0 -0
- /package/dist/chunks/{rpc-runtime-xgnj2w4v.js → contract-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{rpc-runtime-ydhz1zrh.js → contract-ydhz1zrh.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import"../../chunks/
|
|
1
|
+
import"../../chunks/contract-6mptkzbc.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../chunks/
|
|
3
|
+
exports_client2
|
|
4
|
+
} from "../../chunks/contract-yk5evh6f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../chunks/
|
|
8
|
-
import"../../chunks/
|
|
6
|
+
ClientError2
|
|
7
|
+
} from "../../chunks/contract-y2etg5bs.js";
|
|
8
|
+
import"../../chunks/contract-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/contract-y2etg5bs.js";
|
|
4
|
+
import"../chunks/contract-60xe5cbf.js";
|
|
5
|
+
import"../chunks/contract-yk5evh6f.js";
|
|
6
|
+
import"../chunks/contract-6mptkzbc.js";
|
|
7
|
+
import"../chunks/contract-gecjxyvt.js";
|
|
8
|
+
import"../chunks/contract-ryy6kscr.js";
|
|
9
|
+
import"../chunks/contract-15p82y03.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "../chunks/
|
|
11
|
+
exports_client
|
|
12
|
+
} from "../chunks/contract-503zgqsd.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/contract-15p82y03.js";
|
|
6
|
+
import"../chunks/contract-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/contract-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/contract-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/contract-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/contract-8ye1ye6f.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/contract-1r8wv9wh.js";
|
|
25
|
+
import"../chunks/contract-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
|
@@ -106,6 +106,9 @@ export declare function make(options: ClientOptions): {
|
|
|
106
106
|
delete: (input: import("./index.js").ExperimentalArtifactsDeleteInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
107
107
|
view: (input: import("./index.js").ExperimentalArtifactsViewInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ExperimentalArtifactsViewOutput>;
|
|
108
108
|
};
|
|
109
|
+
job: {
|
|
110
|
+
list: (input?: import("./index.js").ExperimentalJobListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").JobInfo[]>;
|
|
111
|
+
};
|
|
109
112
|
migration: {
|
|
110
113
|
v1: {
|
|
111
114
|
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/contract-xby11z3y.js";
|
|
5
|
+
import"../chunks/contract-vyas3vgt.js";
|
|
6
|
+
import"../chunks/contract-xqwq6bgr.js";
|
|
7
|
+
import"../chunks/contract-sdjh9vmn.js";
|
|
8
|
+
import"../chunks/contract-vxrn9xjg.js";
|
|
9
|
+
import"../chunks/contract-nwcpakzx.js";
|
|
10
|
+
import"../chunks/contract-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, 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, ExperimentalScheduleCreateInput, ExperimentalScheduleListInput, ExperimentalScheduleGetInput, ExperimentalSchedulePauseInput, ExperimentalScheduleResumeInput, ExperimentalScheduleDeleteInput, ExperimentalArtifactsProvidersInput, ExperimentalArtifactsProvidersOutput, ExperimentalArtifactsListInput, ExperimentalArtifactsListOutput, ExperimentalArtifactsCreateInput, ExperimentalArtifactsCreateOutput, ExperimentalArtifactsGetInput, ExperimentalArtifactsGetOutput, ExperimentalArtifactsUpdateInput, ExperimentalArtifactsUpdateOutput, ExperimentalArtifactsDeleteInput, ExperimentalArtifactsViewInput, ExperimentalArtifactsViewOutput, 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, 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, ExperimentalScheduleCreateInput, ExperimentalScheduleListInput, ExperimentalScheduleGetInput, ExperimentalSchedulePauseInput, ExperimentalScheduleResumeInput, ExperimentalScheduleDeleteInput, ExperimentalArtifactsProvidersInput, ExperimentalArtifactsProvidersOutput, ExperimentalArtifactsListInput, ExperimentalArtifactsListOutput, ExperimentalArtifactsCreateInput, ExperimentalArtifactsCreateOutput, ExperimentalArtifactsGetInput, ExperimentalArtifactsGetOutput, ExperimentalArtifactsUpdateInput, ExperimentalArtifactsUpdateOutput, ExperimentalArtifactsDeleteInput, ExperimentalArtifactsViewInput, ExperimentalArtifactsViewOutput, ExperimentalJobListInput, 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;
|
|
@@ -113,6 +113,9 @@ export declare function make(options: ClientOptions): {
|
|
|
113
113
|
delete: (input: ExperimentalArtifactsDeleteInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
114
114
|
view: (input: ExperimentalArtifactsViewInput, requestOptions?: RequestOptions) => Promise<ExperimentalArtifactsViewOutput>;
|
|
115
115
|
};
|
|
116
|
+
job: {
|
|
117
|
+
list: (input?: ExperimentalJobListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").JobInfo[]>;
|
|
118
|
+
};
|
|
116
119
|
migration: {
|
|
117
120
|
v1: {
|
|
118
121
|
status: (requestOptions?: RequestOptions) => Promise<ExperimentalMigrationV1StatusOutput>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/
|
|
4
|
-
import"../../chunks/
|
|
2
|
+
make6
|
|
3
|
+
} from "../../chunks/contract-vxrn9xjg.js";
|
|
4
|
+
import"../../chunks/contract-nwcpakzx.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
make6 as make
|
|
7
7
|
};
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import"../../chunks/
|
|
2
|
-
import {
|
|
3
|
-
exports_client2
|
|
4
|
-
} from "../../chunks/rpc-runtime-t2ajednw.js";
|
|
5
|
-
import {
|
|
6
|
-
ClientError2
|
|
7
|
-
} from "../../chunks/rpc-runtime-js54wxgp.js";
|
|
1
|
+
import"../../chunks/contract-vyas3vgt.js";
|
|
8
2
|
import {
|
|
9
3
|
isInvalidRequestError2,
|
|
10
4
|
isUnauthorizedError2,
|
|
@@ -47,10 +41,16 @@ import {
|
|
|
47
41
|
isShellNotFoundError2,
|
|
48
42
|
isWorktreeError2,
|
|
49
43
|
isVcsInitNotSupportedError2
|
|
50
|
-
} from "../../chunks/
|
|
44
|
+
} from "../../chunks/contract-sdjh9vmn.js";
|
|
45
|
+
import {
|
|
46
|
+
exports_client4
|
|
47
|
+
} from "../../chunks/contract-vxrn9xjg.js";
|
|
48
|
+
import {
|
|
49
|
+
ClientError3
|
|
50
|
+
} from "../../chunks/contract-nwcpakzx.js";
|
|
51
51
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
ClientError3 as ClientError,
|
|
53
|
+
exports_client4 as OpenCode,
|
|
54
54
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
55
55
|
isArtifactNotFoundError2 as isArtifactNotFoundError,
|
|
56
56
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
@@ -30,6 +30,10 @@ export type ProviderCompaction = {
|
|
|
30
30
|
type: "native";
|
|
31
31
|
};
|
|
32
32
|
export type ProviderCacheTTL = `${number}${"ms" | "s" | "m" | "h" | "d"}`;
|
|
33
|
+
export type ProviderCacheWarming = boolean | {
|
|
34
|
+
interval?: "auto" | (string & {});
|
|
35
|
+
duration?: string;
|
|
36
|
+
};
|
|
33
37
|
export type ProviderTransport = "http" | "websocket";
|
|
34
38
|
export type ProviderEncoding = "zstd" | "gzip" | "none";
|
|
35
39
|
export type AgentColor = string;
|
|
@@ -501,6 +505,11 @@ export type ArtifactTime = {
|
|
|
501
505
|
created: number;
|
|
502
506
|
updated: number;
|
|
503
507
|
};
|
|
508
|
+
export type JobStatus = "running" | "completed" | "error" | "cancelled";
|
|
509
|
+
export type JobTime = {
|
|
510
|
+
started: number;
|
|
511
|
+
completed?: number;
|
|
512
|
+
};
|
|
504
513
|
export type ReferenceGitSource = {
|
|
505
514
|
type: "git";
|
|
506
515
|
repository: string;
|
|
@@ -589,6 +598,7 @@ export type ModelRef = {
|
|
|
589
598
|
};
|
|
590
599
|
export type ProviderCache = {
|
|
591
600
|
ttl?: ProviderCacheTTL;
|
|
601
|
+
warming?: ProviderCacheWarming;
|
|
592
602
|
};
|
|
593
603
|
export type ModelVariantSettings = {
|
|
594
604
|
compaction?: ProviderCompaction;
|
|
@@ -1058,6 +1068,7 @@ export type IntegrationAttempt = {
|
|
|
1058
1068
|
url: string;
|
|
1059
1069
|
instructions: string;
|
|
1060
1070
|
mode: "auto" | "code";
|
|
1071
|
+
paste?: true;
|
|
1061
1072
|
time: {
|
|
1062
1073
|
created: number;
|
|
1063
1074
|
expires: number;
|
|
@@ -1253,6 +1264,37 @@ export type ArtifactInfo = {
|
|
|
1253
1264
|
url: string;
|
|
1254
1265
|
time: ArtifactTime;
|
|
1255
1266
|
};
|
|
1267
|
+
export type JobShell = {
|
|
1268
|
+
kind: "shell";
|
|
1269
|
+
id: string;
|
|
1270
|
+
sessionID: SessionID;
|
|
1271
|
+
status: JobStatus;
|
|
1272
|
+
title?: string;
|
|
1273
|
+
time: JobTime;
|
|
1274
|
+
shellID: string;
|
|
1275
|
+
command: string;
|
|
1276
|
+
};
|
|
1277
|
+
export type JobSubagent = {
|
|
1278
|
+
kind: "subagent";
|
|
1279
|
+
id: string;
|
|
1280
|
+
sessionID: SessionID;
|
|
1281
|
+
status: JobStatus;
|
|
1282
|
+
title?: string;
|
|
1283
|
+
time: JobTime;
|
|
1284
|
+
childSessionID: SessionID;
|
|
1285
|
+
agent: string;
|
|
1286
|
+
description: string;
|
|
1287
|
+
};
|
|
1288
|
+
export type JobImage = {
|
|
1289
|
+
kind: "image";
|
|
1290
|
+
id: string;
|
|
1291
|
+
sessionID: SessionID;
|
|
1292
|
+
status: JobStatus;
|
|
1293
|
+
title?: string;
|
|
1294
|
+
time: JobTime;
|
|
1295
|
+
path: string;
|
|
1296
|
+
model: string;
|
|
1297
|
+
};
|
|
1256
1298
|
export type VcsInfo = {
|
|
1257
1299
|
provider?: string;
|
|
1258
1300
|
branch: VcsBranch;
|
|
@@ -3032,6 +3074,7 @@ export type ArtifactContent = {
|
|
|
3032
3074
|
[x: string]: string;
|
|
3033
3075
|
};
|
|
3034
3076
|
};
|
|
3077
|
+
export type JobInfo = JobShell | JobSubagent | JobImage;
|
|
3035
3078
|
export type SessionInboxMove = {
|
|
3036
3079
|
id: SessionMessageID;
|
|
3037
3080
|
sessionID: SessionID;
|
|
@@ -3218,7 +3261,7 @@ export type ConfigEntry = {
|
|
|
3218
3261
|
timezone?: string;
|
|
3219
3262
|
permissions?: PermissionRuleset;
|
|
3220
3263
|
policies?: Array<{
|
|
3221
|
-
action: "provider.use" | "tool.use" | "integration.connect" | "integration.use" | "mcp.use" | "skill.use" | "plugin.use";
|
|
3264
|
+
action: "provider.use" | "tool.use" | "integration.connect" | "integration.use" | "mcp.use" | "skill.use" | "plugin.use" | "websearch.use";
|
|
3222
3265
|
resource: string;
|
|
3223
3266
|
effect: "allow" | "deny";
|
|
3224
3267
|
}>;
|
|
@@ -3310,6 +3353,7 @@ export type ConfigEntry = {
|
|
|
3310
3353
|
execution?: number;
|
|
3311
3354
|
};
|
|
3312
3355
|
protocol?: McpProtocol;
|
|
3356
|
+
pool?: boolean;
|
|
3313
3357
|
} | {
|
|
3314
3358
|
type: "remote";
|
|
3315
3359
|
url: string;
|
|
@@ -3332,6 +3376,7 @@ export type ConfigEntry = {
|
|
|
3332
3376
|
execution?: number;
|
|
3333
3377
|
};
|
|
3334
3378
|
protocol?: McpProtocol;
|
|
3379
|
+
pool?: boolean;
|
|
3335
3380
|
};
|
|
3336
3381
|
};
|
|
3337
3382
|
};
|
|
@@ -3382,7 +3427,7 @@ export type ConfigEntry = {
|
|
|
3382
3427
|
worktree?: ConfigWorktree;
|
|
3383
3428
|
warming?: boolean | {
|
|
3384
3429
|
prompt?: string;
|
|
3385
|
-
interval?: string;
|
|
3430
|
+
interval?: "auto" | (string & {});
|
|
3386
3431
|
duration?: string;
|
|
3387
3432
|
};
|
|
3388
3433
|
providers?: {
|
|
@@ -3461,9 +3506,14 @@ export type ConfigEntry = {
|
|
|
3461
3506
|
};
|
|
3462
3507
|
experimental?: {
|
|
3463
3508
|
portable_shell_scanner?: boolean;
|
|
3509
|
+
all_flags?: boolean;
|
|
3464
3510
|
todo?: boolean;
|
|
3465
3511
|
background_compaction?: boolean;
|
|
3466
3512
|
media_blob?: boolean;
|
|
3513
|
+
schedules?: boolean;
|
|
3514
|
+
artifacts?: boolean;
|
|
3515
|
+
part_rows?: boolean;
|
|
3516
|
+
codemode_vm?: boolean;
|
|
3467
3517
|
image_generate?: boolean | {
|
|
3468
3518
|
model?: string | {
|
|
3469
3519
|
providerID: string;
|
|
@@ -3471,12 +3521,10 @@ export type ConfigEntry = {
|
|
|
3471
3521
|
variant?: string;
|
|
3472
3522
|
};
|
|
3473
3523
|
};
|
|
3474
|
-
schedules?: boolean;
|
|
3475
|
-
artifacts?: boolean;
|
|
3476
3524
|
subagent_depth?: number;
|
|
3477
3525
|
location_idle_timeout?: string | false;
|
|
3478
3526
|
policies?: Array<{
|
|
3479
|
-
action: "provider.use" | "tool.use" | "integration.connect" | "integration.use" | "mcp.use" | "skill.use" | "plugin.use";
|
|
3527
|
+
action: "provider.use" | "tool.use" | "integration.connect" | "integration.use" | "mcp.use" | "skill.use" | "plugin.use" | "websearch.use";
|
|
3480
3528
|
resource: string;
|
|
3481
3529
|
effect: "allow" | "deny";
|
|
3482
3530
|
}>;
|
|
@@ -5014,6 +5062,7 @@ export type ExperimentalMcpAddInput = {
|
|
|
5014
5062
|
readonly execution?: number;
|
|
5015
5063
|
};
|
|
5016
5064
|
readonly protocol?: "legacy" | "auto" | "2026-07-28";
|
|
5065
|
+
readonly pool?: boolean;
|
|
5017
5066
|
} | {
|
|
5018
5067
|
readonly type: "remote";
|
|
5019
5068
|
readonly url: string;
|
|
@@ -5036,6 +5085,7 @@ export type ExperimentalMcpAddInput = {
|
|
|
5036
5085
|
readonly execution?: number;
|
|
5037
5086
|
};
|
|
5038
5087
|
readonly protocol?: "legacy" | "auto" | "2026-07-28";
|
|
5088
|
+
readonly pool?: boolean;
|
|
5039
5089
|
};
|
|
5040
5090
|
};
|
|
5041
5091
|
export type ExperimentalMcpAddOutput = void;
|
|
@@ -5609,6 +5659,15 @@ export type ExperimentalArtifactsViewInput = {
|
|
|
5609
5659
|
readonly path: string;
|
|
5610
5660
|
};
|
|
5611
5661
|
export type ExperimentalArtifactsViewOutput = globalThis.Uint8Array;
|
|
5662
|
+
export type ExperimentalJobListInput = {
|
|
5663
|
+
readonly sessionID?: string | undefined;
|
|
5664
|
+
readonly kind?: ("shell" | "subagent" | "image") | undefined;
|
|
5665
|
+
readonly status?: ("running" | "completed" | "error" | "cancelled") | undefined;
|
|
5666
|
+
readonly descendants?: boolean | undefined;
|
|
5667
|
+
};
|
|
5668
|
+
export type ExperimentalJobListOutput = {
|
|
5669
|
+
data: Array<JobInfo>;
|
|
5670
|
+
}["data"];
|
|
5612
5671
|
export type ShellListInput = {
|
|
5613
5672
|
readonly location?: {
|
|
5614
5673
|
readonly directory?: string | undefined;
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
isShellNotFoundError2,
|
|
41
41
|
isWorktreeError2,
|
|
42
42
|
isVcsInitNotSupportedError2
|
|
43
|
-
} from "../../chunks/
|
|
43
|
+
} from "../../chunks/contract-sdjh9vmn.js";
|
|
44
44
|
export {
|
|
45
45
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
46
46
|
isArtifactNotFoundError2 as isArtifactNotFoundError,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/contract-6r38tsk5.js";
|
|
2
2
|
import {
|
|
3
3
|
mediaHashFromUri2,
|
|
4
4
|
withMediaRefs2
|
|
5
|
-
} from "../chunks/
|
|
5
|
+
} from "../chunks/contract-mwrzahmf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/rpc-runtime-t2ajednw.js";
|
|
12
|
-
import {
|
|
13
|
-
ClientError2
|
|
14
|
-
} from "../chunks/rpc-runtime-js54wxgp.js";
|
|
7
|
+
exports_client3
|
|
8
|
+
} from "../chunks/contract-xby11z3y.js";
|
|
9
|
+
import"../chunks/contract-vyas3vgt.js";
|
|
10
|
+
import"../chunks/contract-xqwq6bgr.js";
|
|
15
11
|
import {
|
|
16
12
|
isInvalidRequestError2,
|
|
17
13
|
isUnauthorizedError2,
|
|
@@ -54,11 +50,15 @@ import {
|
|
|
54
50
|
isShellNotFoundError2,
|
|
55
51
|
isWorktreeError2,
|
|
56
52
|
isVcsInitNotSupportedError2
|
|
57
|
-
} from "../chunks/
|
|
58
|
-
import"../chunks/
|
|
53
|
+
} from "../chunks/contract-sdjh9vmn.js";
|
|
54
|
+
import"../chunks/contract-vxrn9xjg.js";
|
|
55
|
+
import {
|
|
56
|
+
ClientError3
|
|
57
|
+
} from "../chunks/contract-nwcpakzx.js";
|
|
58
|
+
import"../chunks/contract-gecjxyvt.js";
|
|
59
59
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
ClientError3 as ClientError,
|
|
61
|
+
exports_client3 as OpenCode,
|
|
62
62
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
63
63
|
isArtifactNotFoundError2 as isArtifactNotFoundError,
|
|
64
64
|
isCommandExecutionError2 as isCommandExecutionError,
|
package/dist/promise/media.d.ts
CHANGED
|
@@ -116,6 +116,9 @@ export declare function withMediaRefs(api: ReturnType<typeof make>): {
|
|
|
116
116
|
delete: (input: import("./index.js").ExperimentalArtifactsDeleteInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
117
117
|
view: (input: import("./index.js").ExperimentalArtifactsViewInput, requestOptions?: RequestOptions) => Promise<import("./index.js").ExperimentalArtifactsViewOutput>;
|
|
118
118
|
};
|
|
119
|
+
job: {
|
|
120
|
+
list: (input?: import("./index.js").ExperimentalJobListInput, requestOptions?: RequestOptions) => Promise<import("./index.js").JobInfo[]>;
|
|
121
|
+
};
|
|
119
122
|
migration: {
|
|
120
123
|
v1: {
|
|
121
124
|
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/contract-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/contract-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/contract-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/contract-8ye1ye6f.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/contract-1r8wv9wh.js";
|
|
25
|
+
import"../chunks/contract-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/contract-1r8wv9wh.js";
|
|
8
|
+
import"./chunks/contract-8ye1ye6f.js";
|
|
9
|
+
import"./chunks/contract-xgnj2w4v.js";
|
|
10
|
+
import"./chunks/contract-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/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
7
|
+
} from "./chunks/contract-8ye1ye6f.js";
|
|
8
|
+
import"./chunks/contract-xgnj2w4v.js";
|
|
9
|
+
import"./chunks/contract-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/
|
|
1
|
+
import"./chunks/contract-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/contract-ydhz1zrh.js";
|
|
6
6
|
export {
|
|
7
7
|
createClientConnection2 as createClientConnection,
|
|
8
8
|
defaultIdleTimeout2 as defaultIdleTimeout,
|