@opencode/client 0.0.0-dev-21779 → 0.0.0-dev-21787
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/{contract-myz4ngx9.js → service-contender-15p82y03.js} +5 -5
- package/dist/chunks/service-contender-6d27dksz.js +30 -0
- package/dist/chunks/{contract-cqr73f3c.js → service-contender-7q2gjnxn.js} +2 -2
- package/dist/chunks/{contract-9djnfw93.js → service-contender-8bbb028w.js} +4 -4
- package/dist/chunks/{contract-2ny4vxct.js → service-contender-8ye1ye6f.js} +2 -2
- package/dist/chunks/{contract-yv0d8k9r.js → service-contender-e62n64we.js} +1 -12
- package/dist/chunks/{contract-t0xxv8t7.js → service-contender-ks3wweqr.js} +19 -19
- package/dist/chunks/{contract-js54wxgp.js → service-contender-nwcpakzx.js} +2 -2
- package/dist/chunks/{contract-wy3471e2.js → service-contender-p3pz1fa7.js} +10 -10
- package/dist/chunks/{contract-ngw4nk5v.js → service-contender-rdwzxfap.js} +19 -19
- package/dist/chunks/{contract-ryy6kscr.js → service-contender-ryy6kscr.js} +1 -1
- package/dist/chunks/{contract-skhp7hxc.js → service-contender-skhp7hxc.js} +1 -1
- package/dist/chunks/{contract-7f0py9js.js → service-contender-y2etg5bs.js} +2 -2
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +0 -3
- package/dist/effect/client.d.ts +0 -3
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +0 -3
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +8 -8
- package/dist/effect/index.js +12 -12
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +9 -9
- package/dist/promise/generated/types.d.ts +0 -9
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +13 -13
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +6 -6
- package/dist/pty-handoff.js +4 -4
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-probe.js +3 -3
- package/dist/service-timing.js +1 -1
- package/dist/service-version.js +1 -1
- package/dist/service.js +1 -1
- package/dist/shared-events.js +3 -3
- package/dist/solid/connection.js +1 -1
- package/dist/solid/data.d.ts +0 -2
- package/dist/solid/data.js +9 -9
- package/dist/solid/index.js +13 -13
- package/dist/solid/pty.js +1 -1
- package/dist/solid/retention.js +1 -1
- package/dist/solid/usage.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/contract-jkx1639k.js +0 -30
- /package/dist/chunks/{contract-6mptkzbc.js → service-contender-6mptkzbc.js} +0 -0
- /package/dist/chunks/{contract-6mq2wh8y.js → service-contender-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{contract-8s2anffy.js → service-contender-8s2anffy.js} +0 -0
- /package/dist/chunks/{contract-9rqn6x4v.js → service-contender-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{contract-c46qzyff.js → service-contender-c46qzyff.js} +0 -0
- /package/dist/chunks/{contract-gne7h7mq.js → service-contender-gne7h7mq.js} +0 -0
- /package/dist/chunks/{contract-m2eywc8w.js → service-contender-m2eywc8w.js} +0 -0
- /package/dist/chunks/{contract-qav6mfdz.js → service-contender-qav6mfdz.js} +0 -0
- /package/dist/chunks/{contract-sxt88q69.js → service-contender-sxt88q69.js} +0 -0
- /package/dist/chunks/{contract-ve4aws36.js → service-contender-ve4aws36.js} +0 -0
- /package/dist/chunks/{contract-vmytr4q8.js → service-contender-vmytr4q8.js} +0 -0
- /package/dist/chunks/{contract-vyas3vgt.js → service-contender-vyas3vgt.js} +0 -0
- /package/dist/chunks/{contract-xgnj2w4v.js → service-contender-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{contract-ydhz1zrh.js → service-contender-ydhz1zrh.js} +0 -0
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
|
decide2,
|
|
14
14
|
fallback2,
|
|
15
15
|
same2,
|
|
16
16
|
probeResult2,
|
|
17
17
|
headers2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/service-contender-8ye1ye6f.js";
|
|
19
19
|
import {
|
|
20
20
|
prepare2,
|
|
21
21
|
environment2,
|
|
22
22
|
complete2,
|
|
23
23
|
clear2
|
|
24
|
-
} from "../chunks/
|
|
25
|
-
import"../chunks/
|
|
24
|
+
} from "../chunks/service-contender-7q2gjnxn.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.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/service-contender-6d27dksz.js";
|
|
5
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
6
|
+
import"../chunks/service-contender-ks3wweqr.js";
|
|
7
|
+
import"../chunks/service-contender-nwcpakzx.js";
|
|
8
|
+
import"../chunks/service-contender-skhp7hxc.js";
|
|
9
|
+
import"../chunks/service-contender-c46qzyff.js";
|
|
10
|
+
import"../chunks/service-contender-8bbb028w.js";
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
exports_client3 as OpenCode,
|
|
13
|
+
make5 as make
|
|
14
14
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/
|
|
4
|
-
import"../../chunks/
|
|
2
|
+
make6
|
|
3
|
+
} from "../../chunks/service-contender-ks3wweqr.js";
|
|
4
|
+
import"../../chunks/service-contender-nwcpakzx.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
make6 as make
|
|
7
7
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import"../../chunks/
|
|
1
|
+
import"../../chunks/service-contender-vyas3vgt.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../chunks/
|
|
3
|
+
exports_client4
|
|
4
|
+
} from "../../chunks/service-contender-ks3wweqr.js";
|
|
5
|
+
import {
|
|
6
|
+
ClientError3
|
|
7
|
+
} from "../../chunks/service-contender-nwcpakzx.js";
|
|
5
8
|
import {
|
|
6
9
|
isInvalidRequestError2,
|
|
7
10
|
isUnauthorizedError2,
|
|
@@ -37,13 +40,10 @@ import {
|
|
|
37
40
|
isShellNotFoundError2,
|
|
38
41
|
isWorktreeError2,
|
|
39
42
|
isVcsInitNotSupportedError2
|
|
40
|
-
} from "../../chunks/
|
|
41
|
-
import {
|
|
42
|
-
ClientError2
|
|
43
|
-
} from "../../chunks/contract-js54wxgp.js";
|
|
43
|
+
} from "../../chunks/service-contender-c46qzyff.js";
|
|
44
44
|
export {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
ClientError3 as ClientError,
|
|
46
|
+
exports_client4 as OpenCode,
|
|
47
47
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
48
48
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
49
49
|
isCommandNotFoundError2 as isCommandNotFoundError,
|
|
@@ -1812,7 +1812,6 @@ export type SessionStepEnded = {
|
|
|
1812
1812
|
rawFinish?: string;
|
|
1813
1813
|
native?: SessionMessageNative1;
|
|
1814
1814
|
cost: MoneyUSD;
|
|
1815
|
-
allowance?: MoneyUSD;
|
|
1816
1815
|
tokens: TokenUsageInfo;
|
|
1817
1816
|
snapshot?: SnapshotID;
|
|
1818
1817
|
files?: Array<RelativePath>;
|
|
@@ -1839,7 +1838,6 @@ export type SessionStepFailed = {
|
|
|
1839
1838
|
rawFinish?: string;
|
|
1840
1839
|
native?: SessionMessageNative1;
|
|
1841
1840
|
cost?: MoneyUSD;
|
|
1842
|
-
allowance?: MoneyUSD;
|
|
1843
1841
|
tokens?: TokenUsageInfo;
|
|
1844
1842
|
snapshot?: SnapshotID;
|
|
1845
1843
|
files?: Array<RelativePath>;
|
|
@@ -2145,7 +2143,6 @@ export type SessionUsageRecorded = {
|
|
|
2145
2143
|
sessionID: SessionID;
|
|
2146
2144
|
source: "title" | "compaction";
|
|
2147
2145
|
cost: MoneyUSD;
|
|
2148
|
-
allowance?: MoneyUSD;
|
|
2149
2146
|
tokens: TokenUsageInfo;
|
|
2150
2147
|
};
|
|
2151
2148
|
};
|
|
@@ -2243,7 +2240,6 @@ export type SessionUsageUpdated = {
|
|
|
2243
2240
|
data: {
|
|
2244
2241
|
sessionID: SessionID;
|
|
2245
2242
|
cost: MoneyUSD;
|
|
2246
|
-
allowance?: MoneyUSD;
|
|
2247
2243
|
tokens: TokenUsageInfo;
|
|
2248
2244
|
};
|
|
2249
2245
|
};
|
|
@@ -2967,7 +2963,6 @@ export type SessionInfo = {
|
|
|
2967
2963
|
agent?: AgentID;
|
|
2968
2964
|
model?: ModelRef;
|
|
2969
2965
|
cost: MoneyUSD;
|
|
2970
|
-
allowance?: MoneyUSD;
|
|
2971
2966
|
tokens: TokenUsageInfo;
|
|
2972
2967
|
outcome?: "succeeded" | "failed" | "interrupted";
|
|
2973
2968
|
time: {
|
|
@@ -3409,7 +3404,6 @@ export type SessionMessageAssistant = {
|
|
|
3409
3404
|
rawFinish?: string;
|
|
3410
3405
|
native?: SessionMessageNative;
|
|
3411
3406
|
cost?: MoneyUSD;
|
|
3412
|
-
allowance?: MoneyUSD;
|
|
3413
3407
|
tokens?: TokenUsageInfo;
|
|
3414
3408
|
error?: SessionStructuredError;
|
|
3415
3409
|
retry?: SessionMessageAssistantRetry;
|
|
@@ -4166,7 +4160,6 @@ export type SessionImportInput = {
|
|
|
4166
4160
|
readonly variant?: string;
|
|
4167
4161
|
};
|
|
4168
4162
|
readonly cost: number;
|
|
4169
|
-
readonly allowance?: number;
|
|
4170
4163
|
readonly tokens: {
|
|
4171
4164
|
readonly input: number;
|
|
4172
4165
|
readonly output: number;
|
|
@@ -4237,7 +4230,6 @@ export type SessionImportInput = {
|
|
|
4237
4230
|
readonly variant?: string;
|
|
4238
4231
|
};
|
|
4239
4232
|
readonly cost: number;
|
|
4240
|
-
readonly allowance?: number;
|
|
4241
4233
|
readonly tokens: {
|
|
4242
4234
|
readonly input: number;
|
|
4243
4235
|
readonly output: number;
|
|
@@ -4308,7 +4300,6 @@ export type SessionImportInput = {
|
|
|
4308
4300
|
readonly variant?: string;
|
|
4309
4301
|
};
|
|
4310
4302
|
readonly cost: number;
|
|
4311
|
-
readonly allowance?: number;
|
|
4312
4303
|
readonly tokens: {
|
|
4313
4304
|
readonly input: number;
|
|
4314
4305
|
readonly output: number;
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isShellNotFoundError2,
|
|
34
34
|
isWorktreeError2,
|
|
35
35
|
isVcsInitNotSupportedError2
|
|
36
|
-
} from "../../chunks/
|
|
36
|
+
} from "../../chunks/service-contender-c46qzyff.js";
|
|
37
37
|
export {
|
|
38
38
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
39
39
|
isCommandExecutionError2 as isCommandExecutionError,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/service-contender-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import
|
|
3
|
+
exports_client3
|
|
4
|
+
} from "../chunks/service-contender-6d27dksz.js";
|
|
5
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
6
|
+
import"../chunks/service-contender-ks3wweqr.js";
|
|
7
|
+
import {
|
|
8
|
+
ClientError3
|
|
9
|
+
} from "../chunks/service-contender-nwcpakzx.js";
|
|
10
|
+
import"../chunks/service-contender-skhp7hxc.js";
|
|
8
11
|
import {
|
|
9
12
|
isInvalidRequestError2,
|
|
10
13
|
isUnauthorizedError2,
|
|
@@ -40,14 +43,11 @@ import {
|
|
|
40
43
|
isShellNotFoundError2,
|
|
41
44
|
isWorktreeError2,
|
|
42
45
|
isVcsInitNotSupportedError2
|
|
43
|
-
} from "../chunks/
|
|
44
|
-
import
|
|
45
|
-
ClientError2
|
|
46
|
-
} from "../chunks/contract-js54wxgp.js";
|
|
47
|
-
import"../chunks/contract-9djnfw93.js";
|
|
46
|
+
} from "../chunks/service-contender-c46qzyff.js";
|
|
47
|
+
import"../chunks/service-contender-8bbb028w.js";
|
|
48
48
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
ClientError3 as ClientError,
|
|
50
|
+
exports_client3 as OpenCode,
|
|
51
51
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
52
52
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
53
53
|
isCommandNotFoundError2 as isCommandNotFoundError,
|
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
|
decide2,
|
|
14
14
|
fallback2,
|
|
15
15
|
same2,
|
|
16
16
|
probeResult2,
|
|
17
17
|
headers2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/service-contender-8ye1ye6f.js";
|
|
19
19
|
import {
|
|
20
20
|
prepare2,
|
|
21
21
|
environment2,
|
|
22
22
|
complete2,
|
|
23
23
|
clear2
|
|
24
|
-
} from "../chunks/
|
|
25
|
-
import"../chunks/
|
|
24
|
+
} from "../chunks/service-contender-7q2gjnxn.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
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
complete2,
|
|
5
5
|
clear2,
|
|
6
6
|
exports_pty_handoff
|
|
7
|
-
} from "./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
10
|
-
import"./chunks/
|
|
7
|
+
} from "./chunks/service-contender-7q2gjnxn.js";
|
|
8
|
+
import"./chunks/service-contender-8ye1ye6f.js";
|
|
9
|
+
import"./chunks/service-contender-xgnj2w4v.js";
|
|
10
|
+
import"./chunks/service-contender-sxt88q69.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_pty_handoff as PtyHandoff,
|
|
13
13
|
clear2 as clear,
|
package/dist/rpc-runtime.js
CHANGED
package/dist/service-probe.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
same2,
|
|
5
5
|
probeResult2,
|
|
6
6
|
headers2
|
|
7
|
-
} from "./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
7
|
+
} from "./chunks/service-contender-8ye1ye6f.js";
|
|
8
|
+
import"./chunks/service-contender-xgnj2w4v.js";
|
|
9
|
+
import"./chunks/service-contender-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/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.d.ts
CHANGED
|
@@ -55,8 +55,6 @@ export declare function createData(config: CreateDataInput): {
|
|
|
55
55
|
/** Clear heavy cached data for the root and all known descendants. */
|
|
56
56
|
evict(sessionID: string): void;
|
|
57
57
|
cost(sessionID: string): number;
|
|
58
|
-
/** Subscription allowance used instead of money, such as OpenCode Go's; a root session's includes its family. */
|
|
59
|
-
allowance(sessionID: string): number;
|
|
60
58
|
status(sessionID: string): DataSessionStatus;
|
|
61
59
|
active(): string[];
|
|
62
60
|
input: {
|
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-e62n64we.js";
|
|
6
|
+
import"../chunks/service-contender-m2eywc8w.js";
|
|
7
|
+
import"../chunks/service-contender-6d27dksz.js";
|
|
8
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
9
|
+
import"../chunks/service-contender-ks3wweqr.js";
|
|
10
|
+
import"../chunks/service-contender-nwcpakzx.js";
|
|
11
|
+
import"../chunks/service-contender-skhp7hxc.js";
|
|
12
|
+
import"../chunks/service-contender-c46qzyff.js";
|
|
13
|
+
import"../chunks/service-contender-8bbb028w.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
|
16
16
|
locationKey2 as locationKey,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
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-nwcpakzx.js";
|
|
2
|
+
import"../chunks/service-contender-ks3wweqr.js";
|
|
3
|
+
import"../chunks/service-contender-c46qzyff.js";
|
|
4
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
5
|
+
import"../chunks/service-contender-8bbb028w.js";
|
|
6
|
+
import"../chunks/service-contender-skhp7hxc.js";
|
|
7
|
+
import"../chunks/service-contender-6d27dksz.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-e62n64we.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
|
createSessionRetention2
|
|
25
|
-
} from "../chunks/
|
|
25
|
+
} from "../chunks/service-contender-6mq2wh8y.js";
|
|
26
26
|
import {
|
|
27
27
|
lastAssistantWithUsage2
|
|
28
|
-
} from "../chunks/
|
|
28
|
+
} from "../chunks/service-contender-8s2anffy.js";
|
|
29
29
|
export {
|
|
30
30
|
createClientConnection2 as createClientConnection,
|
|
31
31
|
createData2 as createData,
|
package/dist/solid/pty.js
CHANGED
package/dist/solid/retention.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-21787",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"typecheck:tsc": "tsc --noEmit"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@opencode/schema": "0.0.0-dev-
|
|
66
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
65
|
+
"@opencode/schema": "0.0.0-dev-21787",
|
|
66
|
+
"@opencode/protocol": "0.0.0-dev-21787"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"effect": "4.0.1",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@effect/platform-node": "4.0.1",
|
|
82
82
|
"@modelcontextprotocol/client": "2.3.1",
|
|
83
|
-
"@opencode/httpapi-codegen": "0.0.0-dev-
|
|
83
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-21787",
|
|
84
84
|
"@tsconfig/bun": "1.0.9",
|
|
85
85
|
"@types/bun": "1.4.3",
|
|
86
86
|
"@typescript/native": "npm:typescript@7.1.0-beta",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
make5
|
|
3
|
-
} from "./contract-9djnfw93.js";
|
|
4
|
-
import {
|
|
5
|
-
make3
|
|
6
|
-
} from "./contract-t0xxv8t7.js";
|
|
7
|
-
import {
|
|
8
|
-
makeRpc2
|
|
9
|
-
} from "./contract-skhp7hxc.js";
|
|
10
|
-
import {
|
|
11
|
-
__export
|
|
12
|
-
} from "./contract-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 = make5((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
|
|
File without changes
|
|
File without changes
|