@opencode/client 0.0.0-dev-21764 → 0.0.0-dev-21766
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-18xz77sd.js → service-contender-15p82y03.js} +5 -5
- package/dist/chunks/{service-probe-pq330c51.js → service-contender-1y5v2sf1.js} +19 -19
- package/dist/chunks/{service-probe-qv6p3pw0.js → service-contender-41qrv0nj.js} +2 -2
- package/dist/chunks/{service-probe-p88s1mvk.js → service-contender-8bbb028w.js} +4 -4
- package/dist/chunks/{service-probe-8ye1ye6f.js → service-contender-8ye1ye6f.js} +2 -2
- package/dist/chunks/{service-probe-bf2btzd2.js → service-contender-bm83m8es.js} +12 -1
- package/dist/chunks/{service-probe-0ecq0bvy.js → service-contender-m7bh361g.js} +19 -19
- package/dist/chunks/{service-probe-js54wxgp.js → service-contender-nwcpakzx.js} +2 -2
- package/dist/chunks/service-contender-rdbmqddf.js +30 -0
- package/dist/chunks/{service-probe-ryy6kscr.js → service-contender-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-probe-skhp7hxc.js → service-contender-skhp7hxc.js} +1 -1
- package/dist/chunks/{service-probe-7f0py9js.js → service-contender-y2etg5bs.js} +2 -2
- package/dist/chunks/{service-probe-x2teen5h.js → service-contender-zyytsm9r.js} +10 -10
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +3 -0
- package/dist/effect/client.d.ts +3 -0
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +3 -0
- 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 +9 -0
- 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 +2 -0
- 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/service-probe-z02pgw4r.js +0 -30
- /package/dist/chunks/{service-probe-6mptkzbc.js → service-contender-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-probe-6mq2wh8y.js → service-contender-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{service-probe-8s2anffy.js → service-contender-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-probe-9rqn6x4v.js → service-contender-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-probe-c46qzyff.js → service-contender-c46qzyff.js} +0 -0
- /package/dist/chunks/{service-probe-gne7h7mq.js → service-contender-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-probe-m2eywc8w.js → service-contender-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-probe-qav6mfdz.js → service-contender-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-probe-sxt88q69.js → service-contender-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-probe-ve4aws36.js → service-contender-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-probe-vmytr4q8.js → service-contender-vmytr4q8.js} +0 -0
- /package/dist/chunks/{service-probe-vyas3vgt.js → service-contender-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-probe-xgnj2w4v.js → service-contender-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-probe-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/service-
|
|
4
|
+
} from "../chunks/service-contender-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/service-
|
|
8
|
+
} from "../chunks/service-contender-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/service-
|
|
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/service-
|
|
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/service-
|
|
25
|
-
import"../chunks/service-
|
|
24
|
+
} from "../chunks/service-contender-41qrv0nj.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/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-
|
|
2
|
+
make5,
|
|
3
|
+
exports_client3
|
|
4
|
+
} from "../chunks/service-contender-rdbmqddf.js";
|
|
5
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
6
|
+
import"../chunks/service-contender-m7bh361g.js";
|
|
7
|
+
import"../chunks/service-contender-skhp7hxc.js";
|
|
8
|
+
import"../chunks/service-contender-c46qzyff.js";
|
|
9
|
+
import"../chunks/service-contender-nwcpakzx.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/service-
|
|
4
|
-
import"../../chunks/service-
|
|
2
|
+
make6
|
|
3
|
+
} from "../../chunks/service-contender-m7bh361g.js";
|
|
4
|
+
import"../../chunks/service-contender-nwcpakzx.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
make6 as make
|
|
7
7
|
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import"../../chunks/service-
|
|
1
|
+
import"../../chunks/service-contender-vyas3vgt.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../chunks/service-
|
|
5
|
-
import {
|
|
6
|
-
ClientError2
|
|
7
|
-
} from "../../chunks/service-probe-js54wxgp.js";
|
|
3
|
+
exports_client4
|
|
4
|
+
} from "../../chunks/service-contender-m7bh361g.js";
|
|
8
5
|
import {
|
|
9
6
|
isInvalidRequestError2,
|
|
10
7
|
isUnauthorizedError2,
|
|
@@ -40,10 +37,13 @@ import {
|
|
|
40
37
|
isShellNotFoundError2,
|
|
41
38
|
isWorktreeError2,
|
|
42
39
|
isVcsInitNotSupportedError2
|
|
43
|
-
} from "../../chunks/service-
|
|
40
|
+
} from "../../chunks/service-contender-c46qzyff.js";
|
|
41
|
+
import {
|
|
42
|
+
ClientError3
|
|
43
|
+
} from "../../chunks/service-contender-nwcpakzx.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,
|
|
@@ -1782,6 +1782,7 @@ export type SessionStepEnded = {
|
|
|
1782
1782
|
rawFinish?: string;
|
|
1783
1783
|
native?: SessionMessageNative1;
|
|
1784
1784
|
cost: MoneyUSD;
|
|
1785
|
+
allowance?: MoneyUSD;
|
|
1785
1786
|
tokens: TokenUsageInfo;
|
|
1786
1787
|
snapshot?: SnapshotID;
|
|
1787
1788
|
files?: Array<RelativePath>;
|
|
@@ -1808,6 +1809,7 @@ export type SessionStepFailed = {
|
|
|
1808
1809
|
rawFinish?: string;
|
|
1809
1810
|
native?: SessionMessageNative1;
|
|
1810
1811
|
cost?: MoneyUSD;
|
|
1812
|
+
allowance?: MoneyUSD;
|
|
1811
1813
|
tokens?: TokenUsageInfo;
|
|
1812
1814
|
snapshot?: SnapshotID;
|
|
1813
1815
|
files?: Array<RelativePath>;
|
|
@@ -2113,6 +2115,7 @@ export type SessionUsageRecorded = {
|
|
|
2113
2115
|
sessionID: SessionID;
|
|
2114
2116
|
source: "title" | "compaction";
|
|
2115
2117
|
cost: MoneyUSD;
|
|
2118
|
+
allowance?: MoneyUSD;
|
|
2116
2119
|
tokens: TokenUsageInfo;
|
|
2117
2120
|
};
|
|
2118
2121
|
};
|
|
@@ -2210,6 +2213,7 @@ export type SessionUsageUpdated = {
|
|
|
2210
2213
|
data: {
|
|
2211
2214
|
sessionID: SessionID;
|
|
2212
2215
|
cost: MoneyUSD;
|
|
2216
|
+
allowance?: MoneyUSD;
|
|
2213
2217
|
tokens: TokenUsageInfo;
|
|
2214
2218
|
};
|
|
2215
2219
|
};
|
|
@@ -2933,6 +2937,7 @@ export type SessionInfo = {
|
|
|
2933
2937
|
agent?: AgentID;
|
|
2934
2938
|
model?: ModelRef;
|
|
2935
2939
|
cost: MoneyUSD;
|
|
2940
|
+
allowance?: MoneyUSD;
|
|
2936
2941
|
tokens: TokenUsageInfo;
|
|
2937
2942
|
outcome?: "succeeded" | "failed" | "interrupted";
|
|
2938
2943
|
time: {
|
|
@@ -3365,6 +3370,7 @@ export type SessionMessageAssistant = {
|
|
|
3365
3370
|
rawFinish?: string;
|
|
3366
3371
|
native?: SessionMessageNative;
|
|
3367
3372
|
cost?: MoneyUSD;
|
|
3373
|
+
allowance?: MoneyUSD;
|
|
3368
3374
|
tokens?: TokenUsageInfo;
|
|
3369
3375
|
error?: SessionStructuredError;
|
|
3370
3376
|
retry?: SessionMessageAssistantRetry;
|
|
@@ -4121,6 +4127,7 @@ export type SessionImportInput = {
|
|
|
4121
4127
|
readonly variant?: string;
|
|
4122
4128
|
};
|
|
4123
4129
|
readonly cost: number;
|
|
4130
|
+
readonly allowance?: number;
|
|
4124
4131
|
readonly tokens: {
|
|
4125
4132
|
readonly input: number;
|
|
4126
4133
|
readonly output: number;
|
|
@@ -4191,6 +4198,7 @@ export type SessionImportInput = {
|
|
|
4191
4198
|
readonly variant?: string;
|
|
4192
4199
|
};
|
|
4193
4200
|
readonly cost: number;
|
|
4201
|
+
readonly allowance?: number;
|
|
4194
4202
|
readonly tokens: {
|
|
4195
4203
|
readonly input: number;
|
|
4196
4204
|
readonly output: number;
|
|
@@ -4261,6 +4269,7 @@ export type SessionImportInput = {
|
|
|
4261
4269
|
readonly variant?: string;
|
|
4262
4270
|
};
|
|
4263
4271
|
readonly cost: number;
|
|
4272
|
+
readonly allowance?: number;
|
|
4264
4273
|
readonly tokens: {
|
|
4265
4274
|
readonly input: number;
|
|
4266
4275
|
readonly output: number;
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isShellNotFoundError2,
|
|
34
34
|
isWorktreeError2,
|
|
35
35
|
isVcsInitNotSupportedError2
|
|
36
|
-
} from "../../chunks/service-
|
|
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,13 +1,10 @@
|
|
|
1
|
-
import"../chunks/service-
|
|
1
|
+
import"../chunks/service-contender-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import
|
|
8
|
-
ClientError2
|
|
9
|
-
} from "../chunks/service-probe-js54wxgp.js";
|
|
10
|
-
import"../chunks/service-probe-skhp7hxc.js";
|
|
3
|
+
exports_client3
|
|
4
|
+
} from "../chunks/service-contender-rdbmqddf.js";
|
|
5
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
6
|
+
import"../chunks/service-contender-m7bh361g.js";
|
|
7
|
+
import"../chunks/service-contender-skhp7hxc.js";
|
|
11
8
|
import {
|
|
12
9
|
isInvalidRequestError2,
|
|
13
10
|
isUnauthorizedError2,
|
|
@@ -43,11 +40,14 @@ import {
|
|
|
43
40
|
isShellNotFoundError2,
|
|
44
41
|
isWorktreeError2,
|
|
45
42
|
isVcsInitNotSupportedError2
|
|
46
|
-
} from "../chunks/service-
|
|
47
|
-
import
|
|
43
|
+
} from "../chunks/service-contender-c46qzyff.js";
|
|
44
|
+
import {
|
|
45
|
+
ClientError3
|
|
46
|
+
} from "../chunks/service-contender-nwcpakzx.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/service-
|
|
4
|
+
} from "../chunks/service-contender-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/service-
|
|
8
|
+
} from "../chunks/service-contender-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/service-
|
|
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/service-
|
|
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/service-
|
|
25
|
-
import"../chunks/service-
|
|
24
|
+
} from "../chunks/service-contender-41qrv0nj.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/service-
|
|
8
|
-
import"./chunks/service-
|
|
9
|
-
import"./chunks/service-
|
|
10
|
-
import"./chunks/service-
|
|
7
|
+
} from "./chunks/service-contender-41qrv0nj.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/service-
|
|
8
|
-
import"./chunks/service-
|
|
9
|
-
import"./chunks/service-
|
|
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/service-
|
|
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/service-
|
|
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,6 +55,8 @@ 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;
|
|
58
60
|
status(sessionID: string): DataSessionStatus;
|
|
59
61
|
active(): string[];
|
|
60
62
|
input: {
|
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-contender-bm83m8es.js";
|
|
6
|
+
import"../chunks/service-contender-m2eywc8w.js";
|
|
7
|
+
import"../chunks/service-contender-rdbmqddf.js";
|
|
8
|
+
import"../chunks/service-contender-vyas3vgt.js";
|
|
9
|
+
import"../chunks/service-contender-m7bh361g.js";
|
|
10
|
+
import"../chunks/service-contender-skhp7hxc.js";
|
|
11
|
+
import"../chunks/service-contender-c46qzyff.js";
|
|
12
|
+
import"../chunks/service-contender-nwcpakzx.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/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-contender-nwcpakzx.js";
|
|
2
|
+
import"../chunks/service-contender-m7bh361g.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-rdbmqddf.js";
|
|
8
|
+
import"../chunks/service-contender-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/service-
|
|
13
|
+
} from "../chunks/service-contender-bm83m8es.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/service-
|
|
18
|
+
} from "../chunks/service-contender-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/service-
|
|
22
|
+
} from "../chunks/service-contender-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
createSessionRetention2
|
|
25
|
-
} from "../chunks/service-
|
|
25
|
+
} from "../chunks/service-contender-6mq2wh8y.js";
|
|
26
26
|
import {
|
|
27
27
|
lastAssistantWithUsage2
|
|
28
|
-
} from "../chunks/service-
|
|
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-21766",
|
|
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-21766",
|
|
66
|
+
"@opencode/protocol": "0.0.0-dev-21766"
|
|
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-21766",
|
|
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
|
-
make6
|
|
3
|
-
} from "./service-probe-p88s1mvk.js";
|
|
4
|
-
import {
|
|
5
|
-
make3
|
|
6
|
-
} from "./service-probe-0ecq0bvy.js";
|
|
7
|
-
import {
|
|
8
|
-
makeRpc2
|
|
9
|
-
} from "./service-probe-skhp7hxc.js";
|
|
10
|
-
import {
|
|
11
|
-
__export
|
|
12
|
-
} from "./service-probe-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 = make6((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
|