@opencode/client 0.0.0-dev-21163 → 0.0.0-dev-21164
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-version-mnyft54j.js → pty-handoff-65kht65h.js} +5 -5
- package/dist/chunks/{service-version-1y4a697q.js → pty-handoff-6vp15eh6.js} +1 -1
- package/dist/chunks/{service-version-2ny4vxct.js → pty-handoff-8ye1ye6f.js} +2 -2
- package/dist/chunks/{service-version-1rg78mqg.js → pty-handoff-918t3a42.js} +17 -17
- package/dist/chunks/pty-handoff-9ks4e624.js +30 -0
- package/dist/chunks/{service-version-ecq6p6gm.js → pty-handoff-efrgmxnr.js} +19 -11
- package/dist/chunks/{service-version-vt9jbch8.js → pty-handoff-ezt8t3fk.js} +2 -1
- package/dist/chunks/{service-version-b567398j.js → pty-handoff-f8apz0vw.js} +1 -1
- package/dist/chunks/{service-version-frbwqjmf.js → pty-handoff-frbwqjmf.js} +1 -1
- package/dist/chunks/{service-version-js54wxgp.js → pty-handoff-nwcpakzx.js} +2 -2
- package/dist/chunks/{service-version-m77rqa4a.js → pty-handoff-pkgaqevf.js} +1 -1
- package/dist/chunks/{service-version-t1xa31vm.js → pty-handoff-t1xa31vm.js} +1 -1
- package/dist/chunks/{service-version-hqeq47hr.js → pty-handoff-teb2xrcv.js} +27 -19
- package/dist/chunks/{service-version-7f0py9js.js → pty-handoff-y2etg5bs.js} +2 -2
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +8 -0
- package/dist/effect/client.d.ts +1 -0
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +2 -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 +1 -0
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +2 -1
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +10 -8
- package/dist/promise/generated/types.d.ts +22 -0
- package/dist/promise/generated/types.js +3 -1
- package/dist/promise/index.js +14 -12
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +6 -6
- package/dist/pty-handoff.js +1 -1
- 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 +9 -9
- package/dist/solid/index.js +12 -12
- package/dist/solid/pty.js +1 -1
- package/dist/solid/usage.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/service-version-q008jpwa.js +0 -30
- /package/dist/chunks/{service-version-6mptkzbc.js → pty-handoff-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-version-8s2anffy.js → pty-handoff-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-version-9rqn6x4v.js → pty-handoff-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-version-gne7h7mq.js → pty-handoff-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-version-m2eywc8w.js → pty-handoff-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-version-qav6mfdz.js → pty-handoff-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-version-sxt88q69.js → pty-handoff-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-version-ve4aws36.js → pty-handoff-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-version-vmytr4q8.js → pty-handoff-vmytr4q8.js} +0 -0
- /package/dist/chunks/{service-version-vyas3vgt.js → pty-handoff-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-version-xgnj2w4v.js → pty-handoff-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-version-ydhz1zrh.js → pty-handoff-ydhz1zrh.js} +0 -0
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/pty-handoff-65kht65h.js";
|
|
6
|
+
import"../chunks/pty-handoff-t1xa31vm.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/pty-handoff-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/pty-handoff-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/pty-handoff-sxt88q69.js";
|
|
12
12
|
import {
|
|
13
13
|
prepare2,
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/
|
|
17
|
+
} from "../chunks/pty-handoff-f8apz0vw.js";
|
|
18
18
|
import {
|
|
19
19
|
decide2,
|
|
20
20
|
fallback2,
|
|
21
21
|
same2,
|
|
22
22
|
probeResult2,
|
|
23
23
|
headers2
|
|
24
|
-
} from "../chunks/
|
|
25
|
-
import"../chunks/
|
|
24
|
+
} from "../chunks/pty-handoff-8ye1ye6f.js";
|
|
25
|
+
import"../chunks/pty-handoff-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
|
@@ -156,6 +156,7 @@ export declare function make(options: ClientOptions): {
|
|
|
156
156
|
};
|
|
157
157
|
saved: {
|
|
158
158
|
list: (input?: import("./index.js").PermissionSavedListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PermissionSavedInfo[]>;
|
|
159
|
+
update: (input: import("./index.js").PermissionSavedUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PermissionSavedInfo>;
|
|
159
160
|
remove: (input: import("./index.js").PermissionSavedRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
160
161
|
};
|
|
161
162
|
create: (input: import("./index.js").PermissionCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<{
|
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/pty-handoff-9ks4e624.js";
|
|
5
|
+
import"../chunks/pty-handoff-6vp15eh6.js";
|
|
6
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
7
|
+
import"../chunks/pty-handoff-ezt8t3fk.js";
|
|
8
|
+
import"../chunks/pty-handoff-teb2xrcv.js";
|
|
9
|
+
import"../chunks/pty-handoff-nwcpakzx.js";
|
|
10
|
+
import"../chunks/pty-handoff-frbwqjmf.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, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionStatsInput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, VoiceSessionInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, FileWriteInput, FileWriteOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, 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, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "./types.js";
|
|
1
|
+
import type { ServerConnectInput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionStatsInput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, VoiceSessionInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, FileWriteInput, FileWriteOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, 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, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "./types.js";
|
|
2
2
|
export interface ClientOptions {
|
|
3
3
|
readonly baseUrl: string;
|
|
4
4
|
readonly fetch?: typeof globalThis.fetch;
|
|
@@ -163,6 +163,7 @@ export declare function make(options: ClientOptions): {
|
|
|
163
163
|
};
|
|
164
164
|
saved: {
|
|
165
165
|
list: (input?: PermissionSavedListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionSavedInfo[]>;
|
|
166
|
+
update: (input: PermissionSavedUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionSavedInfo>;
|
|
166
167
|
remove: (input: PermissionSavedRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
167
168
|
};
|
|
168
169
|
create: (input: PermissionCreateInput, requestOptions?: RequestOptions) => Promise<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/
|
|
4
|
-
import"../../chunks/
|
|
2
|
+
make6
|
|
3
|
+
} from "../../chunks/pty-handoff-teb2xrcv.js";
|
|
4
|
+
import"../../chunks/pty-handoff-nwcpakzx.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
make6 as make
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../../chunks/
|
|
1
|
+
import"../../chunks/pty-handoff-vyas3vgt.js";
|
|
2
2
|
import {
|
|
3
3
|
isInvalidRequestError2,
|
|
4
4
|
isUnauthorizedError2,
|
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
isIntegrationMethodNotFoundError2,
|
|
25
25
|
isMcpServerNotFoundError2,
|
|
26
26
|
isProjectNotFoundError2,
|
|
27
|
+
isPermissionSavedNotFoundError2,
|
|
27
28
|
isPermissionNotFoundError2,
|
|
28
29
|
isFileNotFoundError2,
|
|
29
30
|
isRpcError2,
|
|
@@ -33,16 +34,16 @@ import {
|
|
|
33
34
|
isShellNotFoundError2,
|
|
34
35
|
isWorktreeError2,
|
|
35
36
|
isVcsInitNotSupportedError2
|
|
36
|
-
} from "../../chunks/
|
|
37
|
+
} from "../../chunks/pty-handoff-ezt8t3fk.js";
|
|
37
38
|
import {
|
|
38
|
-
|
|
39
|
-
} from "../../chunks/
|
|
39
|
+
exports_client4
|
|
40
|
+
} from "../../chunks/pty-handoff-teb2xrcv.js";
|
|
40
41
|
import {
|
|
41
|
-
|
|
42
|
-
} from "../../chunks/
|
|
42
|
+
ClientError3
|
|
43
|
+
} from "../../chunks/pty-handoff-nwcpakzx.js";
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
ClientError3 as ClientError,
|
|
46
|
+
exports_client4 as OpenCode,
|
|
46
47
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
47
48
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
48
49
|
isCommandNotFoundError2 as isCommandNotFoundError,
|
|
@@ -62,6 +63,7 @@ export {
|
|
|
62
63
|
isMcpServerNotFoundError2 as isMcpServerNotFoundError,
|
|
63
64
|
isMessageNotFoundError2 as isMessageNotFoundError,
|
|
64
65
|
isPermissionNotFoundError2 as isPermissionNotFoundError,
|
|
66
|
+
isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
|
|
65
67
|
isProjectNotFoundError2 as isProjectNotFoundError,
|
|
66
68
|
isProviderNotFoundError2 as isProviderNotFoundError,
|
|
67
69
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
@@ -3602,6 +3602,12 @@ export type ProjectNotFoundError = {
|
|
|
3602
3602
|
readonly message: string;
|
|
3603
3603
|
};
|
|
3604
3604
|
export declare const isProjectNotFoundError: (value: unknown) => value is ProjectNotFoundError;
|
|
3605
|
+
export type PermissionSavedNotFoundError = {
|
|
3606
|
+
readonly _tag: "PermissionSavedNotFoundError";
|
|
3607
|
+
readonly id: string;
|
|
3608
|
+
readonly message: string;
|
|
3609
|
+
};
|
|
3610
|
+
export declare const isPermissionSavedNotFoundError: (value: unknown) => value is PermissionSavedNotFoundError;
|
|
3605
3611
|
export type PermissionNotFoundError = {
|
|
3606
3612
|
readonly _tag: "PermissionNotFoundError";
|
|
3607
3613
|
readonly requestID: string;
|
|
@@ -8043,6 +8049,22 @@ export type PermissionSavedListInput = {
|
|
|
8043
8049
|
export type PermissionSavedListOutput = {
|
|
8044
8050
|
data: Array<PermissionSavedInfo>;
|
|
8045
8051
|
}["data"];
|
|
8052
|
+
export type PermissionSavedUpdateInput = {
|
|
8053
|
+
readonly id: {
|
|
8054
|
+
readonly id: string;
|
|
8055
|
+
}["id"];
|
|
8056
|
+
readonly action?: {
|
|
8057
|
+
readonly action?: string | undefined;
|
|
8058
|
+
readonly resource?: string | undefined;
|
|
8059
|
+
}["action"];
|
|
8060
|
+
readonly resource?: {
|
|
8061
|
+
readonly action?: string | undefined;
|
|
8062
|
+
readonly resource?: string | undefined;
|
|
8063
|
+
}["resource"];
|
|
8064
|
+
};
|
|
8065
|
+
export type PermissionSavedUpdateOutput = {
|
|
8066
|
+
data: PermissionSavedInfo;
|
|
8067
|
+
}["data"];
|
|
8046
8068
|
export type PermissionSavedRemoveInput = {
|
|
8047
8069
|
readonly id: {
|
|
8048
8070
|
readonly id: string;
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
isIntegrationMethodNotFoundError2,
|
|
24
24
|
isMcpServerNotFoundError2,
|
|
25
25
|
isProjectNotFoundError2,
|
|
26
|
+
isPermissionSavedNotFoundError2,
|
|
26
27
|
isPermissionNotFoundError2,
|
|
27
28
|
isFileNotFoundError2,
|
|
28
29
|
isRpcError2,
|
|
@@ -32,7 +33,7 @@ import {
|
|
|
32
33
|
isShellNotFoundError2,
|
|
33
34
|
isWorktreeError2,
|
|
34
35
|
isVcsInitNotSupportedError2
|
|
35
|
-
} from "../../chunks/
|
|
36
|
+
} from "../../chunks/pty-handoff-ezt8t3fk.js";
|
|
36
37
|
export {
|
|
37
38
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
38
39
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
@@ -53,6 +54,7 @@ export {
|
|
|
53
54
|
isMcpServerNotFoundError2 as isMcpServerNotFoundError,
|
|
54
55
|
isMessageNotFoundError2 as isMessageNotFoundError,
|
|
55
56
|
isPermissionNotFoundError2 as isPermissionNotFoundError,
|
|
57
|
+
isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
|
|
56
58
|
isProjectNotFoundError2 as isProjectNotFoundError,
|
|
57
59
|
isProviderNotFoundError2 as isProviderNotFoundError,
|
|
58
60
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/pty-handoff-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
3
|
+
exports_client3
|
|
4
|
+
} from "../chunks/pty-handoff-9ks4e624.js";
|
|
5
|
+
import"../chunks/pty-handoff-6vp15eh6.js";
|
|
6
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
7
7
|
import {
|
|
8
8
|
isInvalidRequestError2,
|
|
9
9
|
isUnauthorizedError2,
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
isIntegrationMethodNotFoundError2,
|
|
30
30
|
isMcpServerNotFoundError2,
|
|
31
31
|
isProjectNotFoundError2,
|
|
32
|
+
isPermissionSavedNotFoundError2,
|
|
32
33
|
isPermissionNotFoundError2,
|
|
33
34
|
isFileNotFoundError2,
|
|
34
35
|
isRpcError2,
|
|
@@ -38,15 +39,15 @@ import {
|
|
|
38
39
|
isShellNotFoundError2,
|
|
39
40
|
isWorktreeError2,
|
|
40
41
|
isVcsInitNotSupportedError2
|
|
41
|
-
} from "../chunks/
|
|
42
|
-
import"../chunks/
|
|
42
|
+
} from "../chunks/pty-handoff-ezt8t3fk.js";
|
|
43
|
+
import"../chunks/pty-handoff-teb2xrcv.js";
|
|
43
44
|
import {
|
|
44
|
-
|
|
45
|
-
} from "../chunks/
|
|
46
|
-
import"../chunks/
|
|
45
|
+
ClientError3
|
|
46
|
+
} from "../chunks/pty-handoff-nwcpakzx.js";
|
|
47
|
+
import"../chunks/pty-handoff-frbwqjmf.js";
|
|
47
48
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
ClientError3 as ClientError,
|
|
50
|
+
exports_client3 as OpenCode,
|
|
50
51
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
51
52
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
52
53
|
isCommandNotFoundError2 as isCommandNotFoundError,
|
|
@@ -66,6 +67,7 @@ export {
|
|
|
66
67
|
isMcpServerNotFoundError2 as isMcpServerNotFoundError,
|
|
67
68
|
isMessageNotFoundError2 as isMessageNotFoundError,
|
|
68
69
|
isPermissionNotFoundError2 as isPermissionNotFoundError,
|
|
70
|
+
isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
|
|
69
71
|
isProjectNotFoundError2 as isProjectNotFoundError,
|
|
70
72
|
isProviderNotFoundError2 as isProviderNotFoundError,
|
|
71
73
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
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/pty-handoff-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/pty-handoff-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/pty-handoff-sxt88q69.js";
|
|
12
12
|
import {
|
|
13
13
|
prepare2,
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/
|
|
17
|
+
} from "../chunks/pty-handoff-f8apz0vw.js";
|
|
18
18
|
import {
|
|
19
19
|
decide2,
|
|
20
20
|
fallback2,
|
|
21
21
|
same2,
|
|
22
22
|
probeResult2,
|
|
23
23
|
headers2
|
|
24
|
-
} from "../chunks/
|
|
25
|
-
import"../chunks/
|
|
24
|
+
} from "../chunks/pty-handoff-8ye1ye6f.js";
|
|
25
|
+
import"../chunks/pty-handoff-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
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/pty-handoff-8ye1ye6f.js";
|
|
8
|
+
import"./chunks/pty-handoff-xgnj2w4v.js";
|
|
9
|
+
import"./chunks/pty-handoff-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/pty-handoff-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/pty-handoff-ydhz1zrh.js";
|
|
6
6
|
export {
|
|
7
7
|
createClientConnection2 as createClientConnection,
|
|
8
8
|
defaultIdleTimeout2 as defaultIdleTimeout,
|
package/dist/solid/data.js
CHANGED
|
@@ -2,15 +2,15 @@ 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/
|
|
5
|
+
} from "../chunks/pty-handoff-pkgaqevf.js";
|
|
6
|
+
import"../chunks/pty-handoff-m2eywc8w.js";
|
|
7
|
+
import"../chunks/pty-handoff-9ks4e624.js";
|
|
8
|
+
import"../chunks/pty-handoff-6vp15eh6.js";
|
|
9
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
10
|
+
import"../chunks/pty-handoff-ezt8t3fk.js";
|
|
11
|
+
import"../chunks/pty-handoff-teb2xrcv.js";
|
|
12
|
+
import"../chunks/pty-handoff-nwcpakzx.js";
|
|
13
|
+
import"../chunks/pty-handoff-frbwqjmf.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
|
16
16
|
locationKey2 as locationKey,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import"../chunks/
|
|
2
|
-
import"../chunks/
|
|
3
|
-
import"../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/pty-handoff-nwcpakzx.js";
|
|
2
|
+
import"../chunks/pty-handoff-teb2xrcv.js";
|
|
3
|
+
import"../chunks/pty-handoff-ezt8t3fk.js";
|
|
4
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
5
|
+
import"../chunks/pty-handoff-frbwqjmf.js";
|
|
6
|
+
import"../chunks/pty-handoff-6vp15eh6.js";
|
|
7
|
+
import"../chunks/pty-handoff-9ks4e624.js";
|
|
8
|
+
import"../chunks/pty-handoff-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/
|
|
13
|
+
} from "../chunks/pty-handoff-pkgaqevf.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/pty-handoff-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/
|
|
22
|
+
} from "../chunks/pty-handoff-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
lastAssistantWithUsage2
|
|
25
|
-
} from "../chunks/
|
|
25
|
+
} from "../chunks/pty-handoff-8s2anffy.js";
|
|
26
26
|
export {
|
|
27
27
|
createClientConnection2 as createClientConnection,
|
|
28
28
|
createData2 as createData,
|
package/dist/solid/pty.js
CHANGED
package/dist/solid/usage.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/client",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-21164",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"typecheck": "tsc --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@opencode/schema": "0.0.0-dev-
|
|
61
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
60
|
+
"@opencode/schema": "0.0.0-dev-21164",
|
|
61
|
+
"@opencode/protocol": "0.0.0-dev-21164"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"effect": "4.0.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@effect/platform-node": "4.0.1",
|
|
77
|
-
"@opencode/httpapi-codegen": "0.0.0-dev-
|
|
77
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-21164",
|
|
78
78
|
"@tsconfig/bun": "1.0.9",
|
|
79
79
|
"@types/bun": "1.4.0",
|
|
80
80
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
make7
|
|
3
|
-
} from "./service-version-frbwqjmf.js";
|
|
4
|
-
import {
|
|
5
|
-
make3
|
|
6
|
-
} from "./service-version-hqeq47hr.js";
|
|
7
|
-
import {
|
|
8
|
-
makeRpc2
|
|
9
|
-
} from "./service-version-1y4a697q.js";
|
|
10
|
-
import {
|
|
11
|
-
__export
|
|
12
|
-
} from "./service-version-9rqn6x4v.js";
|
|
13
|
-
|
|
14
|
-
// src/promise/client.ts
|
|
15
|
-
var exports_client = {};
|
|
16
|
-
__export(exports_client, {
|
|
17
|
-
OpenCode: () => exports_client,
|
|
18
|
-
make: () => make2
|
|
19
|
-
});
|
|
20
|
-
function make2(options) {
|
|
21
|
-
const raw = make3(options);
|
|
22
|
-
const events = make7((signal, onActivity) => raw.event.subscribe({ signal, onActivity }));
|
|
23
|
-
return {
|
|
24
|
-
...raw,
|
|
25
|
-
rpc: Object.assign(makeRpc2(raw, events), raw.rpc),
|
|
26
|
-
event: events
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { make2, exports_client };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|