@opencode/client 0.0.0-dev-21915 → 0.0.0-dev-21922
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/{rpc-runtime-10stgdsh.js → shared-events-10stgdsh.js} +1 -1
- package/dist/chunks/{rpc-runtime-15p82y03.js → shared-events-15p82y03.js} +2 -2
- package/dist/chunks/{rpc-runtime-8bbb028w.js → shared-events-8bbb028w.js} +1 -1
- package/dist/chunks/{rpc-runtime-2ny4vxct.js → shared-events-8ye1ye6f.js} +2 -2
- package/dist/chunks/{rpc-runtime-nk1xsepz.js → shared-events-nk1xsepz.js} +3 -3
- package/dist/chunks/{rpc-runtime-ryy6kscr.js → shared-events-ryy6kscr.js} +1 -1
- package/dist/chunks/{rpc-runtime-skhp7hxc.js → shared-events-skhp7hxc.js} +1 -1
- package/dist/chunks/{rpc-runtime-ykh90e52.js → shared-events-vjjdy6xx.js} +5 -5
- package/dist/chunks/{rpc-runtime-vsajws5y.js → shared-events-vsajws5y.js} +4 -4
- package/dist/chunks/{rpc-runtime-1evy2k36.js → shared-events-zyxm3269.js} +2 -2
- package/dist/chunks/{rpc-runtime-zzd46hf5.js → shared-events-zzd46hf5.js} +2 -2
- package/dist/contract.js +1 -1
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- 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.js +7 -7
- package/dist/promise/generated/client-error.js +1 -1
- package/dist/promise/generated/client.js +2 -2
- package/dist/promise/generated/index.js +4 -4
- package/dist/promise/generated/types.d.ts +104 -96
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +8 -8
- 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 +1 -1
- package/dist/solid/connection.js +1 -1
- 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/{rpc-runtime-6mptkzbc.js → shared-events-6mptkzbc.js} +0 -0
- /package/dist/chunks/{rpc-runtime-6mq2wh8y.js → shared-events-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{rpc-runtime-8s2anffy.js → shared-events-8s2anffy.js} +0 -0
- /package/dist/chunks/{rpc-runtime-9rqn6x4v.js → shared-events-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-runtime-c46qzyff.js → shared-events-c46qzyff.js} +0 -0
- /package/dist/chunks/{rpc-runtime-gne7h7mq.js → shared-events-gne7h7mq.js} +0 -0
- /package/dist/chunks/{rpc-runtime-m2eywc8w.js → shared-events-m2eywc8w.js} +0 -0
- /package/dist/chunks/{rpc-runtime-nwcpakzx.js → shared-events-nwcpakzx.js} +0 -0
- /package/dist/chunks/{rpc-runtime-qav6mfdz.js → shared-events-qav6mfdz.js} +0 -0
- /package/dist/chunks/{rpc-runtime-sxt88q69.js → shared-events-sxt88q69.js} +0 -0
- /package/dist/chunks/{rpc-runtime-ve4aws36.js → shared-events-ve4aws36.js} +0 -0
- /package/dist/chunks/{rpc-runtime-vmytr4q8.js → shared-events-vmytr4q8.js} +0 -0
- /package/dist/chunks/{rpc-runtime-vyas3vgt.js → shared-events-vyas3vgt.js} +0 -0
- /package/dist/chunks/{rpc-runtime-xgnj2w4v.js → shared-events-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{rpc-runtime-y2etg5bs.js → shared-events-y2etg5bs.js} +0 -0
- /package/dist/chunks/{rpc-runtime-ydhz1zrh.js → shared-events-ydhz1zrh.js} +0 -0
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
readError2,
|
|
4
4
|
event2,
|
|
5
5
|
eventType2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-events-ryy6kscr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shared-events-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/effect/rpc.ts
|
|
12
12
|
var exports_rpc = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defaultEnsureTiming2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-events-xgnj2w4v.js";
|
|
4
4
|
import {
|
|
5
5
|
matchesVersion2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-events-sxt88q69.js";
|
|
7
7
|
|
|
8
8
|
// src/service-probe.ts
|
|
9
9
|
import { homedir } from "node:os";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientApi2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-events-vmytr4q8.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-events-y2etg5bs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shared-events-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/effect/generated/client.ts
|
|
12
12
|
var exports_client2 = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make7
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-events-8bbb028w.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-events-y2etg5bs.js";
|
|
7
7
|
import {
|
|
8
8
|
make4
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shared-events-nk1xsepz.js";
|
|
10
10
|
import {
|
|
11
11
|
make3,
|
|
12
12
|
aborted2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shared-events-15p82y03.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shared-events-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/effect/client.ts
|
|
19
19
|
var exports_client = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make7
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-events-8bbb028w.js";
|
|
4
4
|
import {
|
|
5
5
|
make6
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-events-zzd46hf5.js";
|
|
7
7
|
import {
|
|
8
8
|
makeRpc2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shared-events-skhp7hxc.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shared-events-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/promise/client.ts
|
|
15
15
|
var exports_client3 = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientError3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-events-nwcpakzx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-events-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/promise/generated/client.ts
|
|
9
9
|
var exports_client4 = {};
|
package/dist/contract.js
CHANGED
package/dist/effect/client.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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/
|
|
11
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/shared-events-vjjdy6xx.js";
|
|
5
|
+
import"../chunks/shared-events-15p82y03.js";
|
|
6
|
+
import"../chunks/shared-events-6mptkzbc.js";
|
|
7
|
+
import"../chunks/shared-events-nk1xsepz.js";
|
|
8
|
+
import"../chunks/shared-events-y2etg5bs.js";
|
|
9
|
+
import"../chunks/shared-events-vmytr4q8.js";
|
|
10
|
+
import"../chunks/shared-events-8bbb028w.js";
|
|
11
|
+
import"../chunks/shared-events-ryy6kscr.js";
|
|
12
12
|
export {
|
|
13
13
|
exports_client as OpenCode,
|
|
14
14
|
make2 as make
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make4
|
|
3
|
-
} from "../../chunks/
|
|
4
|
-
import"../../chunks/
|
|
5
|
-
import"../../chunks/
|
|
3
|
+
} from "../../chunks/shared-events-nk1xsepz.js";
|
|
4
|
+
import"../../chunks/shared-events-y2etg5bs.js";
|
|
5
|
+
import"../../chunks/shared-events-vmytr4q8.js";
|
|
6
6
|
export {
|
|
7
7
|
make4 as make
|
|
8
8
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import"../../chunks/
|
|
1
|
+
import"../../chunks/shared-events-6mptkzbc.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client2
|
|
4
|
-
} from "../../chunks/
|
|
4
|
+
} from "../../chunks/shared-events-nk1xsepz.js";
|
|
5
5
|
import {
|
|
6
6
|
ClientError2
|
|
7
|
-
} from "../../chunks/
|
|
8
|
-
import"../../chunks/
|
|
7
|
+
} from "../../chunks/shared-events-y2etg5bs.js";
|
|
8
|
+
import"../../chunks/shared-events-vmytr4q8.js";
|
|
9
9
|
export {
|
|
10
10
|
ClientError2 as ClientError,
|
|
11
11
|
exports_client2 as OpenCode
|
package/dist/effect/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientError2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/shared-events-y2etg5bs.js";
|
|
4
|
+
import"../chunks/shared-events-vmytr4q8.js";
|
|
5
|
+
import"../chunks/shared-events-nk1xsepz.js";
|
|
6
|
+
import"../chunks/shared-events-6mptkzbc.js";
|
|
7
|
+
import"../chunks/shared-events-8bbb028w.js";
|
|
8
|
+
import"../chunks/shared-events-ryy6kscr.js";
|
|
9
|
+
import"../chunks/shared-events-15p82y03.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_client
|
|
12
|
-
} from "../chunks/
|
|
12
|
+
} from "../chunks/shared-events-vjjdy6xx.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
|
make3,
|
|
3
3
|
aborted2,
|
|
4
4
|
exports_rpc
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/shared-events-15p82y03.js";
|
|
6
|
+
import"../chunks/shared-events-ryy6kscr.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/shared-events-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/shared-events-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/shared-events-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/shared-events-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/shared-events-zyxm3269.js";
|
|
25
|
+
import"../chunks/shared-events-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,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make5,
|
|
3
3
|
exports_client3
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/shared-events-vsajws5y.js";
|
|
5
|
+
import"../chunks/shared-events-vyas3vgt.js";
|
|
6
|
+
import"../chunks/shared-events-skhp7hxc.js";
|
|
7
|
+
import"../chunks/shared-events-c46qzyff.js";
|
|
8
|
+
import"../chunks/shared-events-zzd46hf5.js";
|
|
9
|
+
import"../chunks/shared-events-nwcpakzx.js";
|
|
10
|
+
import"../chunks/shared-events-8bbb028w.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_client3 as OpenCode,
|
|
13
13
|
make5 as make
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../../chunks/
|
|
1
|
+
import"../../chunks/shared-events-vyas3vgt.js";
|
|
2
2
|
import {
|
|
3
3
|
isInvalidRequestError2,
|
|
4
4
|
isUnauthorizedError2,
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
isShellNotFoundError2,
|
|
35
35
|
isWorktreeError2,
|
|
36
36
|
isVcsInitNotSupportedError2
|
|
37
|
-
} from "../../chunks/
|
|
37
|
+
} from "../../chunks/shared-events-c46qzyff.js";
|
|
38
38
|
import {
|
|
39
39
|
exports_client4
|
|
40
|
-
} from "../../chunks/
|
|
40
|
+
} from "../../chunks/shared-events-zzd46hf5.js";
|
|
41
41
|
import {
|
|
42
42
|
ClientError3
|
|
43
|
-
} from "../../chunks/
|
|
43
|
+
} from "../../chunks/shared-events-nwcpakzx.js";
|
|
44
44
|
export {
|
|
45
45
|
ClientError3 as ClientError,
|
|
46
46
|
exports_client4 as OpenCode,
|
|
@@ -29,6 +29,7 @@ export type ProviderCompaction = {
|
|
|
29
29
|
} | {
|
|
30
30
|
type: "native";
|
|
31
31
|
};
|
|
32
|
+
export type ProviderCacheTTL = `${number}${"ms" | "s" | "m" | "h" | "d"}`;
|
|
32
33
|
export type ProviderTransport = "http" | "websocket";
|
|
33
34
|
export type ProviderEncoding = "zstd" | "gzip" | "none";
|
|
34
35
|
export type AgentColor = string;
|
|
@@ -509,37 +510,8 @@ export type ModelRef = {
|
|
|
509
510
|
providerID: ProviderID;
|
|
510
511
|
variant?: string;
|
|
511
512
|
};
|
|
512
|
-
export type
|
|
513
|
-
|
|
514
|
-
headerTimeout?: number | false;
|
|
515
|
-
chunkTimeout?: number | false;
|
|
516
|
-
compaction?: ProviderCompaction;
|
|
517
|
-
transport?: ProviderTransport;
|
|
518
|
-
encoding?: ProviderEncoding;
|
|
519
|
-
} & {
|
|
520
|
-
[x: string]: any;
|
|
521
|
-
};
|
|
522
|
-
export type ModelSettings = {
|
|
523
|
-
compaction?: ProviderCompaction;
|
|
524
|
-
encoding?: ProviderEncoding;
|
|
525
|
-
} & {
|
|
526
|
-
[x: string]: any;
|
|
527
|
-
};
|
|
528
|
-
export type ConfigProviderSettings = {
|
|
529
|
-
timeout?: number | false;
|
|
530
|
-
headerTimeout?: number | false;
|
|
531
|
-
chunkTimeout?: number | false;
|
|
532
|
-
compaction?: ProviderCompaction;
|
|
533
|
-
transport?: ProviderTransport;
|
|
534
|
-
encoding?: ProviderEncoding;
|
|
535
|
-
} & {
|
|
536
|
-
[x: string]: JsonValue | null;
|
|
537
|
-
};
|
|
538
|
-
export type ConfigModelSettings = {
|
|
539
|
-
compaction?: ProviderCompaction;
|
|
540
|
-
encoding?: ProviderEncoding;
|
|
541
|
-
} & {
|
|
542
|
-
[x: string]: JsonValue | null;
|
|
513
|
+
export type ProviderCache = {
|
|
514
|
+
ttl?: ProviderCacheTTL;
|
|
543
515
|
};
|
|
544
516
|
export type PermissionRule = {
|
|
545
517
|
action: string;
|
|
@@ -1247,24 +1219,41 @@ export type SessionMessageCompactionCompleted = {
|
|
|
1247
1219
|
cost?: MoneyUSD;
|
|
1248
1220
|
tokens?: TokenUsageInfo;
|
|
1249
1221
|
};
|
|
1250
|
-
export type
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1222
|
+
export type ProviderSettings = {
|
|
1223
|
+
timeout?: number | false;
|
|
1224
|
+
headerTimeout?: number | false;
|
|
1225
|
+
chunkTimeout?: number | false;
|
|
1226
|
+
compaction?: ProviderCompaction;
|
|
1227
|
+
cache?: ProviderCache;
|
|
1228
|
+
transport?: ProviderTransport;
|
|
1229
|
+
encoding?: ProviderEncoding;
|
|
1230
|
+
} & {
|
|
1231
|
+
[x: string]: any;
|
|
1258
1232
|
};
|
|
1259
|
-
export type
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1233
|
+
export type ModelSettings = {
|
|
1234
|
+
compaction?: ProviderCompaction;
|
|
1235
|
+
cache?: ProviderCache;
|
|
1236
|
+
encoding?: ProviderEncoding;
|
|
1237
|
+
} & {
|
|
1238
|
+
[x: string]: any;
|
|
1239
|
+
};
|
|
1240
|
+
export type ConfigProviderSettings = {
|
|
1241
|
+
timeout?: number | false;
|
|
1242
|
+
headerTimeout?: number | false;
|
|
1243
|
+
chunkTimeout?: number | false;
|
|
1244
|
+
compaction?: ProviderCompaction;
|
|
1245
|
+
cache?: ProviderCache;
|
|
1246
|
+
transport?: ProviderTransport;
|
|
1247
|
+
encoding?: ProviderEncoding;
|
|
1248
|
+
} & {
|
|
1249
|
+
[x: string]: JsonValue | null;
|
|
1250
|
+
};
|
|
1251
|
+
export type ConfigModelSettings = {
|
|
1252
|
+
compaction?: ProviderCompaction;
|
|
1253
|
+
cache?: ProviderCache;
|
|
1254
|
+
encoding?: ProviderEncoding;
|
|
1255
|
+
} & {
|
|
1256
|
+
[x: string]: JsonValue | null;
|
|
1268
1257
|
};
|
|
1269
1258
|
export type PermissionRuleset = Array<PermissionRule>;
|
|
1270
1259
|
export type UsageLimitsBudget = {
|
|
@@ -2787,22 +2776,6 @@ export type FormState = {
|
|
|
2787
2776
|
status: "cancelled";
|
|
2788
2777
|
message?: string;
|
|
2789
2778
|
};
|
|
2790
|
-
export type ProviderInfo = {
|
|
2791
|
-
id: ProviderID;
|
|
2792
|
-
canonical?: ProviderID;
|
|
2793
|
-
integrationID?: IntegrationID;
|
|
2794
|
-
name: string;
|
|
2795
|
-
activation: "auto" | "enabled" | "disabled";
|
|
2796
|
-
package: string;
|
|
2797
|
-
compatibility?: ProviderCompatibility;
|
|
2798
|
-
settings?: ProviderSettings;
|
|
2799
|
-
headers?: {
|
|
2800
|
-
[x: string]: string;
|
|
2801
|
-
};
|
|
2802
|
-
body?: {
|
|
2803
|
-
[x: string]: any;
|
|
2804
|
-
};
|
|
2805
|
-
};
|
|
2806
2779
|
export type VoiceModelsResponse = {
|
|
2807
2780
|
data: {
|
|
2808
2781
|
models: Array<VoiceModel>;
|
|
@@ -2912,49 +2885,41 @@ export type SessionStatsInfo = {
|
|
|
2912
2885
|
models: Array<SessionStatsModelUsage>;
|
|
2913
2886
|
};
|
|
2914
2887
|
export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
|
|
2915
|
-
export type
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2888
|
+
export type ProviderRequest = {
|
|
2889
|
+
settings: ProviderSettings;
|
|
2890
|
+
headers: {
|
|
2891
|
+
[x: string]: string;
|
|
2892
|
+
};
|
|
2893
|
+
body: {
|
|
2894
|
+
[x: string]: any;
|
|
2895
|
+
};
|
|
2896
|
+
};
|
|
2897
|
+
export type ProviderInfo = {
|
|
2898
|
+
id: ProviderID;
|
|
2919
2899
|
canonical?: ProviderID;
|
|
2920
|
-
|
|
2900
|
+
integrationID?: IntegrationID;
|
|
2921
2901
|
name: string;
|
|
2922
|
-
|
|
2923
|
-
package
|
|
2924
|
-
|
|
2902
|
+
activation: "auto" | "enabled" | "disabled";
|
|
2903
|
+
package: string;
|
|
2904
|
+
compatibility?: ProviderCompatibility;
|
|
2905
|
+
settings?: ProviderSettings;
|
|
2925
2906
|
headers?: {
|
|
2926
2907
|
[x: string]: string;
|
|
2927
2908
|
};
|
|
2928
2909
|
body?: {
|
|
2929
2910
|
[x: string]: any;
|
|
2930
2911
|
};
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2912
|
+
};
|
|
2913
|
+
export type ModelVariant = {
|
|
2914
|
+
id: string;
|
|
2915
|
+
settings?: ModelSettings;
|
|
2916
|
+
headers?: {
|
|
2917
|
+
[x: string]: string;
|
|
2935
2918
|
};
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
enabled: boolean;
|
|
2939
|
-
limit: {
|
|
2940
|
-
context: number;
|
|
2941
|
-
input?: number;
|
|
2942
|
-
output: number;
|
|
2919
|
+
body?: {
|
|
2920
|
+
[x: string]: any;
|
|
2943
2921
|
};
|
|
2944
2922
|
};
|
|
2945
|
-
export type AgentInfo = {
|
|
2946
|
-
id: AgentID;
|
|
2947
|
-
name: string;
|
|
2948
|
-
model?: ModelRef;
|
|
2949
|
-
request: ProviderRequest;
|
|
2950
|
-
system?: string;
|
|
2951
|
-
description?: string;
|
|
2952
|
-
mode: "subagent" | "primary" | "all";
|
|
2953
|
-
hidden: boolean;
|
|
2954
|
-
color?: AgentColor;
|
|
2955
|
-
steps?: number;
|
|
2956
|
-
permissions: PermissionRuleset;
|
|
2957
|
-
};
|
|
2958
2923
|
export type SessionInfo = {
|
|
2959
2924
|
id: SessionID;
|
|
2960
2925
|
parentID?: SessionID;
|
|
@@ -3377,6 +3342,49 @@ export type CredentialEntry = {
|
|
|
3377
3342
|
value: CredentialValue;
|
|
3378
3343
|
};
|
|
3379
3344
|
export type FormFields2 = [FormField1, ...Array<FormField1>];
|
|
3345
|
+
export type AgentInfo = {
|
|
3346
|
+
id: AgentID;
|
|
3347
|
+
name: string;
|
|
3348
|
+
model?: ModelRef;
|
|
3349
|
+
request: ProviderRequest;
|
|
3350
|
+
system?: string;
|
|
3351
|
+
description?: string;
|
|
3352
|
+
mode: "subagent" | "primary" | "all";
|
|
3353
|
+
hidden: boolean;
|
|
3354
|
+
color?: AgentColor;
|
|
3355
|
+
steps?: number;
|
|
3356
|
+
permissions: PermissionRuleset;
|
|
3357
|
+
};
|
|
3358
|
+
export type ModelInfo = {
|
|
3359
|
+
id: string;
|
|
3360
|
+
modelID: string;
|
|
3361
|
+
providerID: ProviderID;
|
|
3362
|
+
canonical?: ProviderID;
|
|
3363
|
+
family?: string;
|
|
3364
|
+
name: string;
|
|
3365
|
+
compatibility?: ModelCompatibility;
|
|
3366
|
+
package?: string;
|
|
3367
|
+
settings?: ModelSettings;
|
|
3368
|
+
headers?: {
|
|
3369
|
+
[x: string]: string;
|
|
3370
|
+
};
|
|
3371
|
+
body?: {
|
|
3372
|
+
[x: string]: any;
|
|
3373
|
+
};
|
|
3374
|
+
capabilities: ModelCapabilities;
|
|
3375
|
+
variants: Array<ModelVariant>;
|
|
3376
|
+
time: {
|
|
3377
|
+
released: number;
|
|
3378
|
+
};
|
|
3379
|
+
cost: Array<ModelCost>;
|
|
3380
|
+
status: "alpha" | "beta" | "deprecated" | "active";
|
|
3381
|
+
enabled: boolean;
|
|
3382
|
+
limit: {
|
|
3383
|
+
context: number;
|
|
3384
|
+
input?: number;
|
|
3385
|
+
output: number;
|
|
3386
|
+
};
|
|
3387
|
+
};
|
|
3380
3388
|
export type SessionsResponse = {
|
|
3381
3389
|
data: Array<SessionInfo>;
|
|
3382
3390
|
cursor: {
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isShellNotFoundError2,
|
|
34
34
|
isWorktreeError2,
|
|
35
35
|
isVcsInitNotSupportedError2
|
|
36
|
-
} from "../../chunks/
|
|
36
|
+
} from "../../chunks/shared-events-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/
|
|
1
|
+
import"../chunks/shared-events-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client3
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/shared-events-vsajws5y.js";
|
|
5
|
+
import"../chunks/shared-events-vyas3vgt.js";
|
|
6
|
+
import"../chunks/shared-events-skhp7hxc.js";
|
|
7
7
|
import {
|
|
8
8
|
isInvalidRequestError2,
|
|
9
9
|
isUnauthorizedError2,
|
|
@@ -39,12 +39,12 @@ import {
|
|
|
39
39
|
isShellNotFoundError2,
|
|
40
40
|
isWorktreeError2,
|
|
41
41
|
isVcsInitNotSupportedError2
|
|
42
|
-
} from "../chunks/
|
|
43
|
-
import"../chunks/
|
|
42
|
+
} from "../chunks/shared-events-c46qzyff.js";
|
|
43
|
+
import"../chunks/shared-events-zzd46hf5.js";
|
|
44
44
|
import {
|
|
45
45
|
ClientError3
|
|
46
|
-
} from "../chunks/
|
|
47
|
-
import"../chunks/
|
|
46
|
+
} from "../chunks/shared-events-nwcpakzx.js";
|
|
47
|
+
import"../chunks/shared-events-8bbb028w.js";
|
|
48
48
|
export {
|
|
49
49
|
ClientError3 as ClientError,
|
|
50
50
|
exports_client3 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/shared-events-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/shared-events-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/shared-events-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/shared-events-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/shared-events-zyxm3269.js";
|
|
25
|
+
import"../chunks/shared-events-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/shared-events-zyxm3269.js";
|
|
8
|
+
import"./chunks/shared-events-8ye1ye6f.js";
|
|
9
|
+
import"./chunks/shared-events-xgnj2w4v.js";
|
|
10
|
+
import"./chunks/shared-events-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/shared-events-8ye1ye6f.js";
|
|
8
|
+
import"./chunks/shared-events-xgnj2w4v.js";
|
|
9
|
+
import"./chunks/shared-events-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/shared-events-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/shared-events-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/shared-events-10stgdsh.js";
|
|
6
|
+
import"../chunks/shared-events-m2eywc8w.js";
|
|
7
|
+
import"../chunks/shared-events-vsajws5y.js";
|
|
8
|
+
import"../chunks/shared-events-vyas3vgt.js";
|
|
9
|
+
import"../chunks/shared-events-skhp7hxc.js";
|
|
10
|
+
import"../chunks/shared-events-c46qzyff.js";
|
|
11
|
+
import"../chunks/shared-events-zzd46hf5.js";
|
|
12
|
+
import"../chunks/shared-events-nwcpakzx.js";
|
|
13
|
+
import"../chunks/shared-events-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/shared-events-nwcpakzx.js";
|
|
2
|
+
import"../chunks/shared-events-zzd46hf5.js";
|
|
3
|
+
import"../chunks/shared-events-c46qzyff.js";
|
|
4
|
+
import"../chunks/shared-events-vyas3vgt.js";
|
|
5
|
+
import"../chunks/shared-events-8bbb028w.js";
|
|
6
|
+
import"../chunks/shared-events-skhp7hxc.js";
|
|
7
|
+
import"../chunks/shared-events-vsajws5y.js";
|
|
8
|
+
import"../chunks/shared-events-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/
|
|
13
|
+
} from "../chunks/shared-events-10stgdsh.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/shared-events-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/
|
|
22
|
+
} from "../chunks/shared-events-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
createSessionRetention2
|
|
25
|
-
} from "../chunks/
|
|
25
|
+
} from "../chunks/shared-events-6mq2wh8y.js";
|
|
26
26
|
import {
|
|
27
27
|
lastAssistantWithUsage2
|
|
28
|
-
} from "../chunks/
|
|
28
|
+
} from "../chunks/shared-events-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-21922",
|
|
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-21922",
|
|
66
|
+
"@opencode/protocol": "0.0.0-dev-21922"
|
|
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-21922",
|
|
84
84
|
"@tsconfig/bun": "1.0.9",
|
|
85
85
|
"@types/bun": "1.4.3",
|
|
86
86
|
"@typescript/native": "npm:typescript@7.1.0-beta",
|
|
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
|
|
File without changes
|