@opencode/client 0.0.0-dev-21106 → 0.0.0-dev-21108
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/{shared-events-1y4a697q.js → service-contender-1y4a697q.js} +1 -1
- package/dist/chunks/{shared-events-2ny4vxct.js → service-contender-2ny4vxct.js} +2 -2
- package/dist/chunks/{shared-events-frbwqjmf.js → service-contender-frbwqjmf.js} +1 -1
- package/dist/chunks/{shared-events-hqeq47hr.js → service-contender-hqeq47hr.js} +2 -2
- package/dist/chunks/{shared-events-m77rqa4a.js → service-contender-m77rqa4a.js} +1 -1
- package/dist/chunks/{shared-events-mnyft54j.js → service-contender-mnyft54j.js} +2 -2
- package/dist/chunks/{shared-events-ek3k1tay.js → service-contender-p6ra65m6.js} +5 -5
- package/dist/chunks/{shared-events-w68y42p9.js → service-contender-q008jpwa.js} +4 -4
- package/dist/chunks/{shared-events-ecq6p6gm.js → service-contender-qf89ssmg.js} +3 -3
- package/dist/chunks/{shared-events-t1xa31vm.js → service-contender-t1xa31vm.js} +1 -1
- package/dist/chunks/{shared-events-cxj88gqf.js → service-contender-td2fzm91.js} +1 -1
- package/dist/contract.js +1 -1
- package/dist/effect/client.d.ts +1330 -1330
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- package/dist/effect/generated/client.d.ts +1401 -1401
- package/dist/effect/generated/client.js +3 -3
- package/dist/effect/generated/index.js +4 -4
- package/dist/effect/index.js +8 -8
- package/dist/effect/rpc.js +2 -2
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.d.ts +7 -7
- package/dist/promise/client.js +7 -7
- package/dist/promise/generated/client-error.js +1 -1
- package/dist/promise/generated/client.d.ts +1 -1
- package/dist/promise/generated/client.js +2 -2
- package/dist/promise/generated/index.js +8 -8
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +10 -10
- 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.d.ts +5 -5
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-probe.d.ts +5 -5
- 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 +6 -6
- /package/dist/chunks/{shared-events-6mptkzbc.js → service-contender-6mptkzbc.js} +0 -0
- /package/dist/chunks/{shared-events-7f0py9js.js → service-contender-7f0py9js.js} +0 -0
- /package/dist/chunks/{shared-events-8s2anffy.js → service-contender-8s2anffy.js} +0 -0
- /package/dist/chunks/{shared-events-9rqn6x4v.js → service-contender-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shared-events-gne7h7mq.js → service-contender-gne7h7mq.js} +0 -0
- /package/dist/chunks/{shared-events-js54wxgp.js → service-contender-js54wxgp.js} +0 -0
- /package/dist/chunks/{shared-events-m2eywc8w.js → service-contender-m2eywc8w.js} +0 -0
- /package/dist/chunks/{shared-events-qav6mfdz.js → service-contender-qav6mfdz.js} +0 -0
- /package/dist/chunks/{shared-events-sxt88q69.js → service-contender-sxt88q69.js} +0 -0
- /package/dist/chunks/{shared-events-ve4aws36.js → service-contender-ve4aws36.js} +0 -0
- /package/dist/chunks/{shared-events-vmytr4q8.js → service-contender-vmytr4q8.js} +0 -0
- /package/dist/chunks/{shared-events-vt9jbch8.js → service-contender-vt9jbch8.js} +0 -0
- /package/dist/chunks/{shared-events-vyas3vgt.js → service-contender-vyas3vgt.js} +0 -0
- /package/dist/chunks/{shared-events-xgnj2w4v.js → service-contender-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{shared-events-ydhz1zrh.js → service-contender-ydhz1zrh.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make6
|
|
3
|
-
} from "../../chunks/
|
|
4
|
-
import"../../chunks/
|
|
5
|
-
import"../../chunks/
|
|
3
|
+
} from "../../chunks/service-contender-qf89ssmg.js";
|
|
4
|
+
import"../../chunks/service-contender-7f0py9js.js";
|
|
5
|
+
import"../../chunks/service-contender-vmytr4q8.js";
|
|
6
6
|
export {
|
|
7
7
|
make6 as make
|
|
8
8
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import"../../chunks/
|
|
1
|
+
import"../../chunks/service-contender-6mptkzbc.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client4
|
|
4
|
-
} from "../../chunks/
|
|
4
|
+
} from "../../chunks/service-contender-qf89ssmg.js";
|
|
5
5
|
import {
|
|
6
6
|
ClientError3
|
|
7
|
-
} from "../../chunks/
|
|
8
|
-
import"../../chunks/
|
|
7
|
+
} from "../../chunks/service-contender-7f0py9js.js";
|
|
8
|
+
import"../../chunks/service-contender-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/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/service-contender-7f0py9js.js";
|
|
4
|
+
import"../chunks/service-contender-vmytr4q8.js";
|
|
5
|
+
import"../chunks/service-contender-qf89ssmg.js";
|
|
6
|
+
import"../chunks/service-contender-6mptkzbc.js";
|
|
7
|
+
import"../chunks/service-contender-frbwqjmf.js";
|
|
8
|
+
import"../chunks/service-contender-t1xa31vm.js";
|
|
9
|
+
import"../chunks/service-contender-mnyft54j.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_client3
|
|
12
|
-
} from "../chunks/
|
|
12
|
+
} from "../chunks/service-contender-p6ra65m6.js";
|
|
13
13
|
|
|
14
14
|
// src/effect/index.ts
|
|
15
15
|
import { Agent } from "@opencode/schema/agent";
|
package/dist/effect/rpc.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
make5,
|
|
3
3
|
aborted2,
|
|
4
4
|
exports_rpc
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/service-contender-mnyft54j.js";
|
|
6
|
+
import"../chunks/service-contender-t1xa31vm.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_rpc as RpcClientRuntime,
|
|
9
9
|
aborted2 as aborted,
|
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/service-contender-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/service-contender-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/service-contender-sxt88q69.js";
|
|
12
12
|
import {
|
|
13
13
|
prepare2,
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/
|
|
17
|
+
} from "../chunks/service-contender-td2fzm91.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/service-contender-2ny4vxct.js";
|
|
25
|
+
import"../chunks/service-contender-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
|
@@ -4,12 +4,6 @@ import { OpenCode } from "./generated/index.js";
|
|
|
4
4
|
import type { ClientOptions } from "./generated/client.js";
|
|
5
5
|
export type { ClientOptions, RequestOptions } from "./generated/client.js";
|
|
6
6
|
export declare function make(options: ClientOptions): {
|
|
7
|
-
rpc: import("./rpc.js").RpcApi<import("./rpc.js").RpcCallOptions> & {
|
|
8
|
-
call: (input: import("./index.js").RpcCallInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").RpcOutput>;
|
|
9
|
-
};
|
|
10
|
-
event: {
|
|
11
|
-
subscribe(options?: SharedEvents.SubscribeOptions): AsyncIterable<import("./index.js").V2Event>;
|
|
12
|
-
};
|
|
13
7
|
server: {
|
|
14
8
|
info: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ServerInfo>;
|
|
15
9
|
pair: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PairingCode>;
|
|
@@ -77,7 +71,7 @@ export declare function make(options: ClientOptions): {
|
|
|
77
71
|
interrupt: (input: import("./index.js").SessionInterruptInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInterruptResponse>;
|
|
78
72
|
background: (input: import("./index.js").SessionBackgroundInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
79
73
|
message: {
|
|
80
|
-
get: (input: import("./index.js").SessionMessageGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionMessageAgentSelected | import("./index.js").
|
|
74
|
+
get: (input: import("./index.js").SessionMessageGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionMessageAgentSelected | import("./index.js").SessionMessageAssistant | import("./index.js").SessionMessageCompactionCompleted | import("./index.js").SessionMessageCompactionFailed | import("./index.js").SessionMessageCompactionRunning | import("./index.js").SessionMessageIdle | import("./index.js").SessionMessageLocationSwitched | import("./index.js").SessionMessageModelSelected | import("./index.js").SessionMessageShell | import("./index.js").SessionMessageSkill | import("./index.js").SessionMessageSynthetic | import("./index.js").SessionMessageSystem | import("./index.js").SessionMessageUser>;
|
|
81
75
|
};
|
|
82
76
|
form: {
|
|
83
77
|
list: (input: import("./index.js").SessionFormListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FormInfo[]>;
|
|
@@ -254,4 +248,10 @@ export declare function make(options: ClientOptions): {
|
|
|
254
248
|
shells: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ConfigShellsOutput>;
|
|
255
249
|
update: (input: import("./index.js").ConfigUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
256
250
|
};
|
|
251
|
+
rpc: import("./rpc.js").RpcApi<import("./rpc.js").RpcCallOptions> & {
|
|
252
|
+
call: (input: import("./index.js").RpcCallInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").RpcOutput>;
|
|
253
|
+
};
|
|
254
|
+
event: {
|
|
255
|
+
subscribe(options?: SharedEvents.SubscribeOptions): AsyncIterable<import("./index.js").V2Event>;
|
|
256
|
+
};
|
|
257
257
|
};
|
package/dist/promise/client.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2,
|
|
3
3
|
exports_client
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/service-contender-q008jpwa.js";
|
|
5
|
+
import"../chunks/service-contender-1y4a697q.js";
|
|
6
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
7
|
+
import"../chunks/service-contender-vt9jbch8.js";
|
|
8
|
+
import"../chunks/service-contender-hqeq47hr.js";
|
|
9
|
+
import"../chunks/service-contender-js54wxgp.js";
|
|
10
|
+
import"../chunks/service-contender-frbwqjmf.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_client as OpenCode,
|
|
13
13
|
make2 as make
|
|
@@ -78,7 +78,7 @@ export declare function make(options: ClientOptions): {
|
|
|
78
78
|
interrupt: (input: SessionInterruptInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInterruptResponse>;
|
|
79
79
|
background: (input: SessionBackgroundInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
80
80
|
message: {
|
|
81
|
-
get: (input: SessionMessageGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageAgentSelected | import("./types.js").
|
|
81
|
+
get: (input: SessionMessageGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageAgentSelected | import("./types.js").SessionMessageAssistant | import("./types.js").SessionMessageCompactionCompleted | import("./types.js").SessionMessageCompactionFailed | import("./types.js").SessionMessageCompactionRunning | import("./types.js").SessionMessageIdle | import("./types.js").SessionMessageLocationSwitched | import("./types.js").SessionMessageModelSelected | import("./types.js").SessionMessageShell | import("./types.js").SessionMessageSkill | import("./types.js").SessionMessageSynthetic | import("./types.js").SessionMessageSystem | import("./types.js").SessionMessageUser>;
|
|
82
82
|
};
|
|
83
83
|
form: {
|
|
84
84
|
list: (input: SessionFormListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FormInfo[]>;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import"../../chunks/
|
|
2
|
-
import {
|
|
3
|
-
exports_client2
|
|
4
|
-
} from "../../chunks/shared-events-hqeq47hr.js";
|
|
5
|
-
import {
|
|
6
|
-
ClientError2
|
|
7
|
-
} from "../../chunks/shared-events-js54wxgp.js";
|
|
1
|
+
import"../../chunks/service-contender-vyas3vgt.js";
|
|
8
2
|
import {
|
|
9
3
|
isInvalidRequestError2,
|
|
10
4
|
isUnauthorizedError2,
|
|
@@ -39,7 +33,13 @@ import {
|
|
|
39
33
|
isShellNotFoundError2,
|
|
40
34
|
isWorktreeError2,
|
|
41
35
|
isVcsInitNotSupportedError2
|
|
42
|
-
} from "../../chunks/
|
|
36
|
+
} from "../../chunks/service-contender-vt9jbch8.js";
|
|
37
|
+
import {
|
|
38
|
+
exports_client2
|
|
39
|
+
} from "../../chunks/service-contender-hqeq47hr.js";
|
|
40
|
+
import {
|
|
41
|
+
ClientError2
|
|
42
|
+
} from "../../chunks/service-contender-js54wxgp.js";
|
|
43
43
|
export {
|
|
44
44
|
ClientError2 as ClientError,
|
|
45
45
|
exports_client2 as OpenCode,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
isShellNotFoundError2,
|
|
33
33
|
isWorktreeError2,
|
|
34
34
|
isVcsInitNotSupportedError2
|
|
35
|
-
} from "../../chunks/
|
|
35
|
+
} from "../../chunks/service-contender-vt9jbch8.js";
|
|
36
36
|
export {
|
|
37
37
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
38
38
|
isCommandExecutionError2 as isCommandExecutionError,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/service-contender-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import {
|
|
8
|
-
ClientError2
|
|
9
|
-
} from "../chunks/shared-events-js54wxgp.js";
|
|
10
|
-
import"../chunks/shared-events-1y4a697q.js";
|
|
4
|
+
} from "../chunks/service-contender-q008jpwa.js";
|
|
5
|
+
import"../chunks/service-contender-1y4a697q.js";
|
|
6
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
11
7
|
import {
|
|
12
8
|
isInvalidRequestError2,
|
|
13
9
|
isUnauthorizedError2,
|
|
@@ -42,8 +38,12 @@ import {
|
|
|
42
38
|
isShellNotFoundError2,
|
|
43
39
|
isWorktreeError2,
|
|
44
40
|
isVcsInitNotSupportedError2
|
|
45
|
-
} from "../chunks/
|
|
46
|
-
import"../chunks/
|
|
41
|
+
} from "../chunks/service-contender-vt9jbch8.js";
|
|
42
|
+
import"../chunks/service-contender-hqeq47hr.js";
|
|
43
|
+
import {
|
|
44
|
+
ClientError2
|
|
45
|
+
} from "../chunks/service-contender-js54wxgp.js";
|
|
46
|
+
import"../chunks/service-contender-frbwqjmf.js";
|
|
47
47
|
export {
|
|
48
48
|
ClientError2 as ClientError,
|
|
49
49
|
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/
|
|
4
|
+
} from "../chunks/service-contender-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/service-contender-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/service-contender-sxt88q69.js";
|
|
12
12
|
import {
|
|
13
13
|
prepare2,
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/
|
|
17
|
+
} from "../chunks/service-contender-td2fzm91.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/service-contender-2ny4vxct.js";
|
|
25
|
+
import"../chunks/service-contender-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.d.ts
CHANGED
|
@@ -5,16 +5,16 @@ export declare function read(schema: Rpc.Method["output"], value: unknown): Effe
|
|
|
5
5
|
export declare function readError(method: Rpc.Method, error: unknown): Effect.Effect<never, unknown>;
|
|
6
6
|
export declare const event: <D extends Rpc.Definition, Name extends keyof D["events"] & string>(definition: D, name: Name, schema: Rpc.EventDefinition, event: {
|
|
7
7
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8
|
+
readonly created: number;
|
|
9
|
+
readonly metadata?: {
|
|
10
|
+
readonly [x: string]: unknown;
|
|
11
|
+
} | undefined;
|
|
12
|
+
readonly type: `rpc.${string}`;
|
|
8
13
|
readonly location: {
|
|
9
14
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
10
15
|
};
|
|
11
16
|
readonly data: {
|
|
12
17
|
readonly [x: string]: unknown;
|
|
13
18
|
};
|
|
14
|
-
readonly type: `rpc.${string}`;
|
|
15
|
-
readonly created: number;
|
|
16
|
-
readonly metadata?: {
|
|
17
|
-
readonly [x: string]: unknown;
|
|
18
|
-
} | undefined;
|
|
19
19
|
}) => Effect.Effect<Rpc.EventPayload<D, Name>, unknown, never>;
|
|
20
20
|
export declare function eventType<const D extends Rpc.Definition, const Name extends keyof D["events"] & string>(definition: D, name: Name): `rpc.${D["id"]}.${Name}`;
|
package/dist/rpc-runtime.js
CHANGED
package/dist/service-probe.d.ts
CHANGED
|
@@ -11,17 +11,17 @@ export type LocalService = {
|
|
|
11
11
|
* it starts, replace it because its version does not meet the requirement, or fail.
|
|
12
12
|
*/
|
|
13
13
|
export declare function decide(service: LocalService, options: DiscoverOptions): {
|
|
14
|
-
_tag: "fail";
|
|
15
|
-
error: Error;
|
|
16
|
-
} | {
|
|
17
14
|
readonly _tag: "replace";
|
|
18
15
|
readonly pty: "clear" | "handoff";
|
|
19
16
|
} | {
|
|
20
|
-
readonly _tag: "reuse";
|
|
21
17
|
readonly pty?: undefined;
|
|
18
|
+
readonly _tag: "reuse";
|
|
22
19
|
} | {
|
|
23
|
-
readonly _tag: "wait";
|
|
24
20
|
readonly pty?: undefined;
|
|
21
|
+
readonly _tag: "wait";
|
|
22
|
+
} | {
|
|
23
|
+
_tag: "fail";
|
|
24
|
+
error: Error;
|
|
25
25
|
};
|
|
26
26
|
/** The default registration file. */
|
|
27
27
|
export declare function fallback(): string;
|
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/service-contender-2ny4vxct.js";
|
|
8
|
+
import"./chunks/service-contender-sxt88q69.js";
|
|
9
|
+
import"./chunks/service-contender-xgnj2w4v.js";
|
|
10
10
|
export {
|
|
11
11
|
decide2 as decide,
|
|
12
12
|
fallback2 as fallback,
|
package/dist/service-timing.js
CHANGED
package/dist/service-version.js
CHANGED
package/dist/service.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunks/
|
|
1
|
+
import"./chunks/service-contender-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/service-contender-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/service-contender-m77rqa4a.js";
|
|
6
|
+
import"../chunks/service-contender-m2eywc8w.js";
|
|
7
|
+
import"../chunks/service-contender-q008jpwa.js";
|
|
8
|
+
import"../chunks/service-contender-1y4a697q.js";
|
|
9
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
10
|
+
import"../chunks/service-contender-vt9jbch8.js";
|
|
11
|
+
import"../chunks/service-contender-hqeq47hr.js";
|
|
12
|
+
import"../chunks/service-contender-js54wxgp.js";
|
|
13
|
+
import"../chunks/service-contender-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/service-contender-js54wxgp.js";
|
|
2
|
+
import"../chunks/service-contender-hqeq47hr.js";
|
|
3
|
+
import"../chunks/service-contender-vt9jbch8.js";
|
|
4
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
5
|
+
import"../chunks/service-contender-frbwqjmf.js";
|
|
6
|
+
import"../chunks/service-contender-1y4a697q.js";
|
|
7
|
+
import"../chunks/service-contender-q008jpwa.js";
|
|
8
|
+
import"../chunks/service-contender-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/
|
|
13
|
+
} from "../chunks/service-contender-m77rqa4a.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/service-contender-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/
|
|
22
|
+
} from "../chunks/service-contender-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
lastAssistantWithUsage2
|
|
25
|
-
} from "../chunks/
|
|
25
|
+
} from "../chunks/service-contender-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-21108",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"generate": "bun run script/build.ts",
|
|
55
55
|
"check:generated": "bun run generate && git diff --exit-code -- src/promise/generated src/effect/generated src/effect/api",
|
|
56
56
|
"test": "bun test --timeout 5000",
|
|
57
|
-
"typecheck": "
|
|
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-21108",
|
|
61
|
+
"@opencode/protocol": "0.0.0-dev-21108"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"effect": "4.0.1",
|
|
@@ -74,10 +74,10 @@
|
|
|
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-21108",
|
|
78
78
|
"@tsconfig/bun": "1.0.9",
|
|
79
79
|
"@types/bun": "1.4.0",
|
|
80
|
-
"@typescript/native
|
|
80
|
+
"@typescript/native": "npm:typescript@7.0.2",
|
|
81
81
|
"effect": "4.0.1",
|
|
82
82
|
"solid-js": "1.9.15"
|
|
83
83
|
}
|
|
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
|
|
File without changes
|