@opencode/client 0.0.0-dev-21603 → 0.0.0-dev-21612
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-probe-0yt83ffw.js → service-timing-5g2t7szy.js} +1 -1
- package/dist/chunks/{service-probe-8bbb028w.js → service-timing-8bbb028w.js} +1 -1
- package/dist/chunks/{service-probe-8ye1ye6f.js → service-timing-8ye1ye6f.js} +2 -2
- package/dist/chunks/{service-probe-ezt8t3fk.js → service-timing-c46qzyff.js} +2 -2
- package/dist/chunks/{service-probe-61wt4y9h.js → service-timing-g9ajxfy0.js} +1 -1
- package/dist/chunks/{service-probe-q8jx5gjp.js → service-timing-g9wej58t.js} +9 -9
- package/dist/chunks/{service-probe-2kam2gy2.js → service-timing-ka0wmgdp.js} +4 -4
- package/dist/chunks/{service-probe-anregfhs.js → service-timing-myz4ngx9.js} +5 -5
- package/dist/chunks/{service-probe-3gaxfvs6.js → service-timing-q4a98k9r.js} +13 -2
- package/dist/chunks/{service-probe-ryy6kscr.js → service-timing-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-probe-6vp15eh6.js → service-timing-skhp7hxc.js} +1 -1
- package/dist/chunks/{service-probe-1wp7yhqk.js → service-timing-wwnmjcfr.js} +12 -7
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +16 -1
- package/dist/effect/client.d.ts +3 -0
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- package/dist/effect/generated/client.d.ts +4 -1
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +4 -4
- package/dist/effect/index.js +8 -8
- 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 +7 -7
- package/dist/promise/generated/client-error.js +1 -1
- package/dist/promise/generated/client.d.ts +4 -1
- package/dist/promise/generated/client.js +2 -2
- package/dist/promise/generated/index.js +5 -5
- package/dist/promise/generated/types.d.ts +30 -9
- package/dist/promise/generated/types.js +2 -2
- package/dist/promise/index.js +9 -9
- 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-probe-6mptkzbc.js → service-timing-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-probe-7f0py9js.js → service-timing-7f0py9js.js} +0 -0
- /package/dist/chunks/{service-probe-8s2anffy.js → service-timing-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-probe-9rqn6x4v.js → service-timing-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-probe-gne7h7mq.js → service-timing-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-probe-js54wxgp.js → service-timing-js54wxgp.js} +0 -0
- /package/dist/chunks/{service-probe-m2eywc8w.js → service-timing-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-probe-qav6mfdz.js → service-timing-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-probe-sxt88q69.js → service-timing-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-probe-ve4aws36.js → service-timing-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-probe-vmytr4q8.js → service-timing-vmytr4q8.js} +0 -0
- /package/dist/chunks/{service-probe-vyas3vgt.js → service-timing-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-probe-xgnj2w4v.js → service-timing-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-probe-ydhz1zrh.js → service-timing-ydhz1zrh.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defaultEnsureTiming2
|
|
3
|
-
} from "./service-
|
|
3
|
+
} from "./service-timing-xgnj2w4v.js";
|
|
4
4
|
import {
|
|
5
5
|
matchesVersion2
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-timing-sxt88q69.js";
|
|
7
7
|
|
|
8
8
|
// src/service-probe.ts
|
|
9
9
|
import { homedir } from "node:os";
|
|
@@ -22,6 +22,7 @@ var isIntegrationNotFoundError2 = (value) => typeof value === "object" && value
|
|
|
22
22
|
var isIntegrationAttemptNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "IntegrationAttemptNotFoundError";
|
|
23
23
|
var isIntegrationMethodNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "IntegrationMethodNotFoundError";
|
|
24
24
|
var isMcpServerNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "McpServerNotFoundError";
|
|
25
|
+
var isForbiddenError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "ForbiddenError";
|
|
25
26
|
var isProjectNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "ProjectNotFoundError";
|
|
26
27
|
var isPermissionSavedNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "PermissionSavedNotFoundError";
|
|
27
28
|
var isPermissionNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "PermissionNotFoundError";
|
|
@@ -29,9 +30,8 @@ var isFileNotFoundError2 = (value) => typeof value === "object" && value !== nul
|
|
|
29
30
|
var isRpcError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "RpcError";
|
|
30
31
|
var isRpcInternalError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "RpcInternalError";
|
|
31
32
|
var isPtyNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "PtyNotFoundError";
|
|
32
|
-
var isForbiddenError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "ForbiddenError";
|
|
33
33
|
var isShellNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "ShellNotFoundError";
|
|
34
34
|
var isWorktreeError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "WorktreeError";
|
|
35
35
|
var isVcsInitNotSupportedError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "VcsInitNotSupportedError";
|
|
36
36
|
|
|
37
|
-
export { isInvalidRequestError2, isUnauthorizedError2, isLocationNotFoundError2, isServiceUnavailableError2, isAgentNotFoundError2, isInvalidCursorError2, isSessionNotFoundError2, isConflictError2, isUnknownError2, isMessageNotFoundError2, isCommandNotFoundError2, isCommandExecutionError2, isSkillNotFoundError2, isSessionBusyError2, isInstructionEntryValueTooLargeError2, isFormNotFoundError2, isFormInvalidAnswerError2, isFormAlreadySettledError2, isProviderNotFoundError2, isIntegrationNotFoundError2, isIntegrationAttemptNotFoundError2, isIntegrationMethodNotFoundError2, isMcpServerNotFoundError2, isProjectNotFoundError2, isPermissionSavedNotFoundError2, isPermissionNotFoundError2, isFileNotFoundError2, isRpcError2, isRpcInternalError2, isPtyNotFoundError2,
|
|
37
|
+
export { isInvalidRequestError2, isUnauthorizedError2, isLocationNotFoundError2, isServiceUnavailableError2, isAgentNotFoundError2, isInvalidCursorError2, isSessionNotFoundError2, isConflictError2, isUnknownError2, isMessageNotFoundError2, isCommandNotFoundError2, isCommandExecutionError2, isSkillNotFoundError2, isSessionBusyError2, isInstructionEntryValueTooLargeError2, isFormNotFoundError2, isFormInvalidAnswerError2, isFormAlreadySettledError2, isProviderNotFoundError2, isIntegrationNotFoundError2, isIntegrationAttemptNotFoundError2, isIntegrationMethodNotFoundError2, isMcpServerNotFoundError2, isForbiddenError2, isProjectNotFoundError2, isPermissionSavedNotFoundError2, isPermissionNotFoundError2, isFileNotFoundError2, isRpcError2, isRpcInternalError2, isPtyNotFoundError2, isShellNotFoundError2, isWorktreeError2, isVcsInitNotSupportedError2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make7
|
|
3
|
-
} from "./service-
|
|
3
|
+
} from "./service-timing-8bbb028w.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientError3
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-timing-7f0py9js.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./service-
|
|
8
|
+
make5
|
|
9
|
+
} from "./service-timing-wwnmjcfr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
make6,
|
|
12
12
|
aborted2
|
|
13
|
-
} from "./service-
|
|
13
|
+
} from "./service-timing-myz4ngx9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./service-
|
|
16
|
+
} from "./service-timing-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/effect/client.ts
|
|
19
19
|
var exports_client3 = {};
|
|
@@ -30,7 +30,7 @@ var CurrentHeaders = Context.Reference("@opencode/client/effect/rpc/headers", {
|
|
|
30
30
|
});
|
|
31
31
|
var make4 = Effect.fn("OpenCode.make")(function* (options) {
|
|
32
32
|
const httpClient = yield* HttpClient.HttpClient;
|
|
33
|
-
const raw = yield*
|
|
33
|
+
const raw = yield* make5(options).pipe(Effect.provideService(HttpClient.HttpClient, HttpClient.mapRequestEffect(httpClient, (request) => Effect.map(CurrentHeaders, (headers) => headers ? HttpClientRequest.setHeaders(request, new Headers(headers)) : request))));
|
|
34
34
|
const context = yield* Effect.context();
|
|
35
35
|
const native = raw.event.subscribe();
|
|
36
36
|
|
|
@@ -45,7 +45,7 @@ var make4 = Effect.fn("OpenCode.make")(function* (options) {
|
|
|
45
45
|
return {
|
|
46
46
|
...raw,
|
|
47
47
|
event: { ...raw.event, subscribe },
|
|
48
|
-
rpc: Object.assign(
|
|
48
|
+
rpc: Object.assign(make6((input, options) => raw.rpc.call(input).pipe(Effect.provideService(CurrentHeaders, options?.headers)), subscribe), raw.rpc)
|
|
49
49
|
};
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make7
|
|
3
|
-
} from "./service-
|
|
3
|
+
} from "./service-timing-8bbb028w.js";
|
|
4
4
|
import {
|
|
5
5
|
make3
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-timing-q4a98k9r.js";
|
|
7
7
|
import {
|
|
8
8
|
makeRpc2
|
|
9
|
-
} from "./service-
|
|
9
|
+
} from "./service-timing-skhp7hxc.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./service-
|
|
12
|
+
} from "./service-timing-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/promise/client.ts
|
|
15
15
|
var exports_client = {};
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
readError2,
|
|
4
4
|
event2,
|
|
5
5
|
eventType2
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-timing-ryy6kscr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./service-
|
|
9
|
+
} from "./service-timing-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/effect/rpc.ts
|
|
12
12
|
var exports_rpc = {};
|
|
13
13
|
__export(exports_rpc, {
|
|
14
14
|
RpcClientRuntime: () => exports_rpc,
|
|
15
15
|
aborted: () => aborted2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Stream } from "effect";
|
|
19
|
-
function
|
|
19
|
+
function make6(call, subscribe) {
|
|
20
20
|
return (definition) => {
|
|
21
21
|
const methods = Object.fromEntries(Object.entries(definition.methods).map(([name, method]) => [
|
|
22
22
|
name,
|
|
@@ -59,4 +59,4 @@ function aborted2(signal) {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export {
|
|
62
|
+
export { make6, aborted2, exports_rpc };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientError2
|
|
3
|
-
} from "./service-
|
|
3
|
+
} from "./service-timing-js54wxgp.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-timing-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/promise/generated/client.ts
|
|
9
9
|
var exports_client2 = {};
|
|
@@ -857,6 +857,17 @@ function make3(options) {
|
|
|
857
857
|
declaredStatuses: [400, 401, 404],
|
|
858
858
|
empty: false
|
|
859
859
|
}, requestOptions)
|
|
860
|
+
},
|
|
861
|
+
client: {
|
|
862
|
+
token: (input, requestOptions) => request({
|
|
863
|
+
method: "POST",
|
|
864
|
+
path: `/api/experimental/client-mcp/token`,
|
|
865
|
+
query: { location: input["location"], name: input["name"] },
|
|
866
|
+
headers: { "x-opencode-ticket": input["x-opencode-ticket"] },
|
|
867
|
+
successStatus: 200,
|
|
868
|
+
declaredStatuses: [400, 401, 403, 404],
|
|
869
|
+
empty: false
|
|
870
|
+
}, requestOptions)
|
|
860
871
|
}
|
|
861
872
|
},
|
|
862
873
|
credential: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientApi2
|
|
3
|
-
} from "./service-
|
|
3
|
+
} from "./service-timing-vmytr4q8.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientError3
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-timing-7f0py9js.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./service-
|
|
9
|
+
} from "./service-timing-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/effect/generated/client.ts
|
|
12
12
|
var exports_client4 = {};
|
|
13
13
|
__export(exports_client4, {
|
|
14
|
-
make: () =>
|
|
14
|
+
make: () => make5
|
|
15
15
|
});
|
|
16
16
|
import { Effect, Stream, Schema } from "effect";
|
|
17
17
|
import { Sse } from "effect/encoding";
|
|
@@ -364,13 +364,18 @@ var EndpointMcpRemove = (raw) => (input) => preserveEffect()(raw["mcp.remove"]({
|
|
|
364
364
|
var EndpointMcpConnect = (raw) => (input) => preserveEffect()(raw["mcp.connect"]({ params: { server: input["server"] }, query: { location: input["location"] } }).pipe(Effect.mapError(mapClientError)));
|
|
365
365
|
var EndpointMcpDisconnect = (raw) => (input) => preserveEffect()(raw["mcp.disconnect"]({ params: { server: input["server"] }, query: { location: input["location"] } }).pipe(Effect.mapError(mapClientError)));
|
|
366
366
|
var EndpointMcpResourceCatalog = (raw) => (input) => preserveEffect()(raw["mcp.resource.catalog"]({ query: { location: input?.["location"] } }).pipe(Effect.mapError(mapClientError)));
|
|
367
|
+
var EndpointMcpClientToken = (raw) => (input) => preserveEffect()(raw["mcp.clientToken"]({
|
|
368
|
+
query: { location: input["location"], name: input["name"] },
|
|
369
|
+
headers: { "x-opencode-ticket": input["x-opencode-ticket"] }
|
|
370
|
+
}).pipe(Effect.mapError(mapClientError)));
|
|
367
371
|
var adaptGroupMcp = (raw) => ({
|
|
368
372
|
list: EndpointMcpList(raw),
|
|
369
373
|
add: EndpointMcpAdd(raw),
|
|
370
374
|
remove: EndpointMcpRemove(raw),
|
|
371
375
|
connect: EndpointMcpConnect(raw),
|
|
372
376
|
disconnect: EndpointMcpDisconnect(raw),
|
|
373
|
-
resource: { catalog: EndpointMcpResourceCatalog(raw) }
|
|
377
|
+
resource: { catalog: EndpointMcpResourceCatalog(raw) },
|
|
378
|
+
client: { token: EndpointMcpClientToken(raw) }
|
|
374
379
|
});
|
|
375
380
|
var EndpointCredentialList = (raw) => () => preserveEffect()(raw["credential.list"]({}).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
|
|
376
381
|
var EndpointCredentialCreate = (raw) => (input) => preserveEffect()(raw["credential.create"]({
|
|
@@ -646,6 +651,6 @@ var adaptClient = (raw) => ({
|
|
|
646
651
|
websearch: adaptGroupWebsearch(raw["server.websearch"]),
|
|
647
652
|
config: adaptGroupConfig(raw["server.config"])
|
|
648
653
|
});
|
|
649
|
-
var
|
|
654
|
+
var make5 = (options) => HttpApiClient.make(ClientApi2, options).pipe(Effect.map(adaptClient));
|
|
650
655
|
|
|
651
|
-
export {
|
|
656
|
+
export { make5, exports_client4 };
|
package/dist/contract.js
CHANGED
package/dist/effect/api/api.d.ts
CHANGED
|
@@ -28,13 +28,13 @@ import type { Form } from "@opencode/schema/form";
|
|
|
28
28
|
import type { Provider } from "@opencode/schema/provider";
|
|
29
29
|
import type { Integration } from "@opencode/schema/integration";
|
|
30
30
|
import type { Mcp } from "@opencode/schema/mcp";
|
|
31
|
+
import type { PtyTicket } from "@opencode/schema/pty-ticket";
|
|
31
32
|
import type { Credential } from "@opencode/schema/credential";
|
|
32
33
|
import type { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
33
34
|
import type { FileSystem } from "@opencode/schema/filesystem";
|
|
34
35
|
import type { Command } from "@opencode/schema/command";
|
|
35
36
|
import type { OpenCodeEvent } from "@opencode/protocol/groups/event";
|
|
36
37
|
import type { Pty } from "@opencode/schema/pty";
|
|
37
|
-
import type { PtyTicket } from "@opencode/schema/pty-ticket";
|
|
38
38
|
import type { Reference } from "@opencode/schema/reference";
|
|
39
39
|
import type { Worktree } from "@opencode/schema/worktree";
|
|
40
40
|
import type { Vcs } from "@opencode/schema/vcs";
|
|
@@ -2080,6 +2080,18 @@ export type McpResourceCatalogOutput = {
|
|
|
2080
2080
|
readonly data: Mcp.ResourceCatalog;
|
|
2081
2081
|
};
|
|
2082
2082
|
export type McpResourceCatalogOperation<E = never> = (input?: McpResourceCatalogInput) => Effect.Effect<McpResourceCatalogOutput, E>;
|
|
2083
|
+
export type McpClientTokenInput = {
|
|
2084
|
+
readonly location?: {
|
|
2085
|
+
readonly directory?: string | undefined;
|
|
2086
|
+
} | undefined;
|
|
2087
|
+
readonly name: string;
|
|
2088
|
+
readonly "x-opencode-ticket"?: string | undefined;
|
|
2089
|
+
};
|
|
2090
|
+
export type McpClientTokenOutput = {
|
|
2091
|
+
readonly location: Location.PublicRef;
|
|
2092
|
+
readonly data: PtyTicket.ConnectToken;
|
|
2093
|
+
};
|
|
2094
|
+
export type McpClientTokenOperation<E = never> = (input: McpClientTokenInput) => Effect.Effect<McpClientTokenOutput, E>;
|
|
2083
2095
|
export interface McpApi<E = never> {
|
|
2084
2096
|
readonly list: McpListOperation<E>;
|
|
2085
2097
|
readonly add: McpAddOperation<E>;
|
|
@@ -2089,6 +2101,9 @@ export interface McpApi<E = never> {
|
|
|
2089
2101
|
readonly resource: {
|
|
2090
2102
|
readonly catalog: McpResourceCatalogOperation<E>;
|
|
2091
2103
|
};
|
|
2104
|
+
readonly client: {
|
|
2105
|
+
readonly token: McpClientTokenOperation<E>;
|
|
2106
|
+
};
|
|
2092
2107
|
}
|
|
2093
2108
|
export type CredentialListOutput = ReadonlyArray<Credential.Entry>;
|
|
2094
2109
|
export type CredentialListOperation<E = never> = () => Effect.Effect<CredentialListOutput, E>;
|
package/dist/effect/client.d.ts
CHANGED
|
@@ -132,6 +132,9 @@ export declare const make: (options?: {
|
|
|
132
132
|
resource: {
|
|
133
133
|
catalog: (input?: import("./api.js").McpResourceCatalogInput) => Effect.Effect<import("./api.js").McpResourceCatalogOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
134
134
|
};
|
|
135
|
+
client: {
|
|
136
|
+
token: (input: import("./api.js").McpClientTokenInput) => Effect.Effect<import("./api.js").McpClientTokenOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
137
|
+
};
|
|
135
138
|
};
|
|
136
139
|
credential: {
|
|
137
140
|
list: () => Effect.Effect<import("./api.js").CredentialListOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
package/dist/effect/client.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make4,
|
|
3
3
|
exports_client3
|
|
4
|
-
} from "../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
10
|
-
import"../chunks/service-
|
|
11
|
-
import"../chunks/service-
|
|
4
|
+
} from "../chunks/service-timing-g9wej58t.js";
|
|
5
|
+
import"../chunks/service-timing-6mptkzbc.js";
|
|
6
|
+
import"../chunks/service-timing-wwnmjcfr.js";
|
|
7
|
+
import"../chunks/service-timing-7f0py9js.js";
|
|
8
|
+
import"../chunks/service-timing-vmytr4q8.js";
|
|
9
|
+
import"../chunks/service-timing-myz4ngx9.js";
|
|
10
|
+
import"../chunks/service-timing-ryy6kscr.js";
|
|
11
|
+
import"../chunks/service-timing-8bbb028w.js";
|
|
12
12
|
export {
|
|
13
13
|
exports_client3 as OpenCode,
|
|
14
14
|
make4 as make
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Effect, Stream, Schema } from "effect";
|
|
2
2
|
import { Sse } from "effect/encoding";
|
|
3
3
|
import { HttpClientError } from "effect/http";
|
|
4
|
-
import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionStatsInput, SessionStatsOutput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionExportOutput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryListOutput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionGenerateOutput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, GenerateTextOutput, VoiceModelsOutput, VoiceSessionInput, VoiceSessionOutput, VoiceInstructionsInput, 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, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, 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 "../api/api.js";
|
|
4
|
+
import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionStatsInput, SessionStatsOutput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionExportOutput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryListOutput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionGenerateOutput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, GenerateTextOutput, VoiceModelsOutput, VoiceSessionInput, VoiceSessionOutput, VoiceInstructionsInput, 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, McpClientTokenInput, McpClientTokenOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, 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 "../api/api.js";
|
|
5
5
|
import { ClientError } from "./client-error.js";
|
|
6
6
|
export declare const make: (options?: {
|
|
7
7
|
readonly baseUrl?: URL | string;
|
|
@@ -131,6 +131,9 @@ export declare const make: (options?: {
|
|
|
131
131
|
resource: {
|
|
132
132
|
catalog: (input?: McpResourceCatalogInput) => Effect.Effect<McpResourceCatalogOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
133
133
|
};
|
|
134
|
+
client: {
|
|
135
|
+
token: (input: McpClientTokenInput) => Effect.Effect<McpClientTokenOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
136
|
+
};
|
|
134
137
|
};
|
|
135
138
|
credential: {
|
|
136
139
|
list: () => Effect.Effect<CredentialListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/service-
|
|
4
|
-
import"../../chunks/service-
|
|
5
|
-
import"../../chunks/service-
|
|
2
|
+
make5
|
|
3
|
+
} from "../../chunks/service-timing-wwnmjcfr.js";
|
|
4
|
+
import"../../chunks/service-timing-7f0py9js.js";
|
|
5
|
+
import"../../chunks/service-timing-vmytr4q8.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
make5 as make
|
|
8
8
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import"../../chunks/service-
|
|
1
|
+
import"../../chunks/service-timing-6mptkzbc.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client4
|
|
4
|
-
} from "../../chunks/service-
|
|
4
|
+
} from "../../chunks/service-timing-wwnmjcfr.js";
|
|
5
5
|
import {
|
|
6
6
|
ClientError3
|
|
7
|
-
} from "../../chunks/service-
|
|
8
|
-
import"../../chunks/service-
|
|
7
|
+
} from "../../chunks/service-timing-7f0py9js.js";
|
|
8
|
+
import"../../chunks/service-timing-vmytr4q8.js";
|
|
9
9
|
export {
|
|
10
10
|
ClientError3 as ClientError,
|
|
11
11
|
exports_client4 as OpenCode
|
package/dist/effect/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientError3
|
|
3
|
-
} from "../chunks/service-
|
|
4
|
-
import"../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
3
|
+
} from "../chunks/service-timing-7f0py9js.js";
|
|
4
|
+
import"../chunks/service-timing-vmytr4q8.js";
|
|
5
|
+
import"../chunks/service-timing-wwnmjcfr.js";
|
|
6
|
+
import"../chunks/service-timing-6mptkzbc.js";
|
|
7
|
+
import"../chunks/service-timing-8bbb028w.js";
|
|
8
|
+
import"../chunks/service-timing-ryy6kscr.js";
|
|
9
|
+
import"../chunks/service-timing-myz4ngx9.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_client3
|
|
12
|
-
} from "../chunks/service-
|
|
12
|
+
} from "../chunks/service-timing-g9wej58t.js";
|
|
13
13
|
|
|
14
14
|
// src/effect/index.ts
|
|
15
15
|
import { Agent } from "@opencode/schema/agent";
|
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-
|
|
5
|
+
} from "../chunks/service-timing-myz4ngx9.js";
|
|
6
|
+
import"../chunks/service-timing-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-
|
|
4
|
+
} from "../chunks/service-timing-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/service-
|
|
8
|
+
} from "../chunks/service-timing-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/service-
|
|
11
|
+
} from "../chunks/service-timing-sxt88q69.js";
|
|
12
12
|
import {
|
|
13
13
|
prepare2,
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/service-
|
|
17
|
+
} from "../chunks/service-timing-5g2t7szy.js";
|
|
18
18
|
import {
|
|
19
19
|
decide2,
|
|
20
20
|
fallback2,
|
|
21
21
|
same2,
|
|
22
22
|
probeResult2,
|
|
23
23
|
headers2
|
|
24
|
-
} from "../chunks/service-
|
|
25
|
-
import"../chunks/service-
|
|
24
|
+
} from "../chunks/service-timing-8ye1ye6f.js";
|
|
25
|
+
import"../chunks/service-timing-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
|
@@ -143,6 +143,9 @@ export declare function make(options: ClientOptions): {
|
|
|
143
143
|
resource: {
|
|
144
144
|
catalog: (input?: import("./index.js").McpResourceCatalogInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").McpResourceCatalogOutput>;
|
|
145
145
|
};
|
|
146
|
+
client: {
|
|
147
|
+
token: (input: import("./index.js").McpClientTokenInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").McpClientTokenOutput>;
|
|
148
|
+
};
|
|
146
149
|
};
|
|
147
150
|
credential: {
|
|
148
151
|
list: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").CredentialEntry[]>;
|
package/dist/promise/client.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2,
|
|
3
3
|
exports_client
|
|
4
|
-
} from "../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
10
|
-
import"../chunks/service-
|
|
4
|
+
} from "../chunks/service-timing-ka0wmgdp.js";
|
|
5
|
+
import"../chunks/service-timing-skhp7hxc.js";
|
|
6
|
+
import"../chunks/service-timing-vyas3vgt.js";
|
|
7
|
+
import"../chunks/service-timing-c46qzyff.js";
|
|
8
|
+
import"../chunks/service-timing-q4a98k9r.js";
|
|
9
|
+
import"../chunks/service-timing-js54wxgp.js";
|
|
10
|
+
import"../chunks/service-timing-8bbb028w.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_client as OpenCode,
|
|
13
13
|
make2 as make
|
|
@@ -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, VoiceInstructionsInput, 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";
|
|
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, VoiceInstructionsInput, 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, McpClientTokenInput, McpClientTokenOutput, 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;
|
|
@@ -150,6 +150,9 @@ export declare function make(options: ClientOptions): {
|
|
|
150
150
|
resource: {
|
|
151
151
|
catalog: (input?: McpResourceCatalogInput, requestOptions?: RequestOptions) => Promise<McpResourceCatalogOutput>;
|
|
152
152
|
};
|
|
153
|
+
client: {
|
|
154
|
+
token: (input: McpClientTokenInput, requestOptions?: RequestOptions) => Promise<McpClientTokenOutput>;
|
|
155
|
+
};
|
|
153
156
|
};
|
|
154
157
|
credential: {
|
|
155
158
|
list: (requestOptions?: RequestOptions) => Promise<import("./types.js").CredentialEntry[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../../chunks/service-
|
|
1
|
+
import"../../chunks/service-timing-vyas3vgt.js";
|
|
2
2
|
import {
|
|
3
3
|
isInvalidRequestError2,
|
|
4
4
|
isUnauthorizedError2,
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
isIntegrationAttemptNotFoundError2,
|
|
24
24
|
isIntegrationMethodNotFoundError2,
|
|
25
25
|
isMcpServerNotFoundError2,
|
|
26
|
+
isForbiddenError2,
|
|
26
27
|
isProjectNotFoundError2,
|
|
27
28
|
isPermissionSavedNotFoundError2,
|
|
28
29
|
isPermissionNotFoundError2,
|
|
@@ -30,17 +31,16 @@ import {
|
|
|
30
31
|
isRpcError2,
|
|
31
32
|
isRpcInternalError2,
|
|
32
33
|
isPtyNotFoundError2,
|
|
33
|
-
isForbiddenError2,
|
|
34
34
|
isShellNotFoundError2,
|
|
35
35
|
isWorktreeError2,
|
|
36
36
|
isVcsInitNotSupportedError2
|
|
37
|
-
} from "../../chunks/service-
|
|
37
|
+
} from "../../chunks/service-timing-c46qzyff.js";
|
|
38
38
|
import {
|
|
39
39
|
exports_client2
|
|
40
|
-
} from "../../chunks/service-
|
|
40
|
+
} from "../../chunks/service-timing-q4a98k9r.js";
|
|
41
41
|
import {
|
|
42
42
|
ClientError2
|
|
43
|
-
} from "../../chunks/service-
|
|
43
|
+
} from "../../chunks/service-timing-js54wxgp.js";
|
|
44
44
|
export {
|
|
45
45
|
ClientError2 as ClientError,
|
|
46
46
|
exports_client2 as OpenCode,
|
|
@@ -347,6 +347,10 @@ export type McpResourceTemplate = {
|
|
|
347
347
|
description?: string;
|
|
348
348
|
mimeType?: string;
|
|
349
349
|
};
|
|
350
|
+
export type PtyTicketConnectToken = {
|
|
351
|
+
ticket: string;
|
|
352
|
+
expires_in: number;
|
|
353
|
+
};
|
|
350
354
|
export type CredentialKey = {
|
|
351
355
|
type: "key";
|
|
352
356
|
key: string;
|
|
@@ -412,10 +416,6 @@ export type SessionStatus = {
|
|
|
412
416
|
} | {
|
|
413
417
|
type: "busy";
|
|
414
418
|
};
|
|
415
|
-
export type PtyTicketConnectToken = {
|
|
416
|
-
ticket: string;
|
|
417
|
-
expires_in: number;
|
|
418
|
-
};
|
|
419
419
|
export type PersistentPtyHandoff = {
|
|
420
420
|
directory: string;
|
|
421
421
|
instanceID: string;
|
|
@@ -3632,6 +3632,11 @@ export type McpServerNotFoundError = {
|
|
|
3632
3632
|
readonly message: string;
|
|
3633
3633
|
};
|
|
3634
3634
|
export declare const isMcpServerNotFoundError: (value: unknown) => value is McpServerNotFoundError;
|
|
3635
|
+
export type ForbiddenError = {
|
|
3636
|
+
readonly _tag: "ForbiddenError";
|
|
3637
|
+
readonly message: string;
|
|
3638
|
+
};
|
|
3639
|
+
export declare const isForbiddenError: (value: unknown) => value is ForbiddenError;
|
|
3635
3640
|
export type ProjectNotFoundError = {
|
|
3636
3641
|
readonly _tag: "ProjectNotFoundError";
|
|
3637
3642
|
readonly projectID: string;
|
|
@@ -3676,11 +3681,6 @@ export type PtyNotFoundError = {
|
|
|
3676
3681
|
readonly message: string;
|
|
3677
3682
|
};
|
|
3678
3683
|
export declare const isPtyNotFoundError: (value: unknown) => value is PtyNotFoundError;
|
|
3679
|
-
export type ForbiddenError = {
|
|
3680
|
-
readonly _tag: "ForbiddenError";
|
|
3681
|
-
readonly message: string;
|
|
3682
|
-
};
|
|
3683
|
-
export declare const isForbiddenError: (value: unknown) => value is ForbiddenError;
|
|
3684
3684
|
export type ShellNotFoundError = {
|
|
3685
3685
|
readonly _tag: "ShellNotFoundError";
|
|
3686
3686
|
readonly id: string;
|
|
@@ -6598,6 +6598,27 @@ export type McpResourceCatalogOutput = {
|
|
|
6598
6598
|
location: LocationPublicRef;
|
|
6599
6599
|
data: McpResourceCatalog;
|
|
6600
6600
|
};
|
|
6601
|
+
export type McpClientTokenInput = {
|
|
6602
|
+
readonly location?: {
|
|
6603
|
+
readonly location?: {
|
|
6604
|
+
readonly directory?: string | undefined;
|
|
6605
|
+
} | undefined;
|
|
6606
|
+
readonly name: string;
|
|
6607
|
+
}["location"];
|
|
6608
|
+
readonly name: {
|
|
6609
|
+
readonly location?: {
|
|
6610
|
+
readonly directory?: string | undefined;
|
|
6611
|
+
} | undefined;
|
|
6612
|
+
readonly name: string;
|
|
6613
|
+
}["name"];
|
|
6614
|
+
readonly "x-opencode-ticket"?: {
|
|
6615
|
+
readonly "x-opencode-ticket"?: string | undefined;
|
|
6616
|
+
}["x-opencode-ticket"];
|
|
6617
|
+
};
|
|
6618
|
+
export type McpClientTokenOutput = {
|
|
6619
|
+
location: LocationPublicRef;
|
|
6620
|
+
data: PtyTicketConnectToken;
|
|
6621
|
+
};
|
|
6601
6622
|
export type CredentialListOutput = {
|
|
6602
6623
|
data: Array<CredentialEntry>;
|
|
6603
6624
|
}["data"];
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
isIntegrationAttemptNotFoundError2,
|
|
23
23
|
isIntegrationMethodNotFoundError2,
|
|
24
24
|
isMcpServerNotFoundError2,
|
|
25
|
+
isForbiddenError2,
|
|
25
26
|
isProjectNotFoundError2,
|
|
26
27
|
isPermissionSavedNotFoundError2,
|
|
27
28
|
isPermissionNotFoundError2,
|
|
@@ -29,11 +30,10 @@ import {
|
|
|
29
30
|
isRpcError2,
|
|
30
31
|
isRpcInternalError2,
|
|
31
32
|
isPtyNotFoundError2,
|
|
32
|
-
isForbiddenError2,
|
|
33
33
|
isShellNotFoundError2,
|
|
34
34
|
isWorktreeError2,
|
|
35
35
|
isVcsInitNotSupportedError2
|
|
36
|
-
} from "../../chunks/service-
|
|
36
|
+
} from "../../chunks/service-timing-c46qzyff.js";
|
|
37
37
|
export {
|
|
38
38
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
39
39
|
isCommandExecutionError2 as isCommandExecutionError,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import"../chunks/service-
|
|
1
|
+
import"../chunks/service-timing-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client
|
|
4
|
-
} from "../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
4
|
+
} from "../chunks/service-timing-ka0wmgdp.js";
|
|
5
|
+
import"../chunks/service-timing-skhp7hxc.js";
|
|
6
|
+
import"../chunks/service-timing-vyas3vgt.js";
|
|
7
7
|
import {
|
|
8
8
|
isInvalidRequestError2,
|
|
9
9
|
isUnauthorizedError2,
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
isIntegrationAttemptNotFoundError2,
|
|
29
29
|
isIntegrationMethodNotFoundError2,
|
|
30
30
|
isMcpServerNotFoundError2,
|
|
31
|
+
isForbiddenError2,
|
|
31
32
|
isProjectNotFoundError2,
|
|
32
33
|
isPermissionSavedNotFoundError2,
|
|
33
34
|
isPermissionNotFoundError2,
|
|
@@ -35,16 +36,15 @@ import {
|
|
|
35
36
|
isRpcError2,
|
|
36
37
|
isRpcInternalError2,
|
|
37
38
|
isPtyNotFoundError2,
|
|
38
|
-
isForbiddenError2,
|
|
39
39
|
isShellNotFoundError2,
|
|
40
40
|
isWorktreeError2,
|
|
41
41
|
isVcsInitNotSupportedError2
|
|
42
|
-
} from "../chunks/service-
|
|
43
|
-
import"../chunks/service-
|
|
42
|
+
} from "../chunks/service-timing-c46qzyff.js";
|
|
43
|
+
import"../chunks/service-timing-q4a98k9r.js";
|
|
44
44
|
import {
|
|
45
45
|
ClientError2
|
|
46
|
-
} from "../chunks/service-
|
|
47
|
-
import"../chunks/service-
|
|
46
|
+
} from "../chunks/service-timing-js54wxgp.js";
|
|
47
|
+
import"../chunks/service-timing-8bbb028w.js";
|
|
48
48
|
export {
|
|
49
49
|
ClientError2 as ClientError,
|
|
50
50
|
exports_client as OpenCode,
|
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-
|
|
4
|
+
} from "../chunks/service-timing-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/service-
|
|
8
|
+
} from "../chunks/service-timing-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/service-
|
|
11
|
+
} from "../chunks/service-timing-sxt88q69.js";
|
|
12
12
|
import {
|
|
13
13
|
prepare2,
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/service-
|
|
17
|
+
} from "../chunks/service-timing-5g2t7szy.js";
|
|
18
18
|
import {
|
|
19
19
|
decide2,
|
|
20
20
|
fallback2,
|
|
21
21
|
same2,
|
|
22
22
|
probeResult2,
|
|
23
23
|
headers2
|
|
24
|
-
} from "../chunks/service-
|
|
25
|
-
import"../chunks/service-
|
|
24
|
+
} from "../chunks/service-timing-8ye1ye6f.js";
|
|
25
|
+
import"../chunks/service-timing-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/service-
|
|
8
|
-
import"./chunks/service-
|
|
9
|
-
import"./chunks/service-
|
|
7
|
+
} from "./chunks/service-timing-8ye1ye6f.js";
|
|
8
|
+
import"./chunks/service-timing-xgnj2w4v.js";
|
|
9
|
+
import"./chunks/service-timing-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-
|
|
1
|
+
import"./chunks/service-timing-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-
|
|
5
|
+
} from "../chunks/service-timing-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/service-
|
|
6
|
-
import"../chunks/service-
|
|
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-
|
|
5
|
+
} from "../chunks/service-timing-g9ajxfy0.js";
|
|
6
|
+
import"../chunks/service-timing-m2eywc8w.js";
|
|
7
|
+
import"../chunks/service-timing-ka0wmgdp.js";
|
|
8
|
+
import"../chunks/service-timing-skhp7hxc.js";
|
|
9
|
+
import"../chunks/service-timing-vyas3vgt.js";
|
|
10
|
+
import"../chunks/service-timing-c46qzyff.js";
|
|
11
|
+
import"../chunks/service-timing-q4a98k9r.js";
|
|
12
|
+
import"../chunks/service-timing-js54wxgp.js";
|
|
13
|
+
import"../chunks/service-timing-8bbb028w.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/service-
|
|
2
|
-
import"../chunks/service-
|
|
3
|
-
import"../chunks/service-
|
|
4
|
-
import"../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
1
|
+
import"../chunks/service-timing-js54wxgp.js";
|
|
2
|
+
import"../chunks/service-timing-q4a98k9r.js";
|
|
3
|
+
import"../chunks/service-timing-c46qzyff.js";
|
|
4
|
+
import"../chunks/service-timing-vyas3vgt.js";
|
|
5
|
+
import"../chunks/service-timing-8bbb028w.js";
|
|
6
|
+
import"../chunks/service-timing-skhp7hxc.js";
|
|
7
|
+
import"../chunks/service-timing-ka0wmgdp.js";
|
|
8
|
+
import"../chunks/service-timing-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/service-
|
|
13
|
+
} from "../chunks/service-timing-g9ajxfy0.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/service-
|
|
18
|
+
} from "../chunks/service-timing-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/service-
|
|
22
|
+
} from "../chunks/service-timing-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
lastAssistantWithUsage2
|
|
25
|
-
} from "../chunks/service-
|
|
25
|
+
} from "../chunks/service-timing-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-21612",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"typecheck": "tsc --noEmit"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@opencode/schema": "0.0.0-dev-
|
|
65
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
64
|
+
"@opencode/schema": "0.0.0-dev-21612",
|
|
65
|
+
"@opencode/protocol": "0.0.0-dev-21612"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"effect": "4.0.1",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@effect/platform-node": "4.0.1",
|
|
81
81
|
"@modelcontextprotocol/client": "2.0.0",
|
|
82
|
-
"@opencode/httpapi-codegen": "0.0.0-dev-
|
|
82
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-21612",
|
|
83
83
|
"@tsconfig/bun": "1.0.9",
|
|
84
84
|
"@types/bun": "1.4.3",
|
|
85
85
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
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
|
|
File without changes
|
|
File without changes
|