@opencode/client 0.0.0-dev-20858 → 0.0.0-dev-20859
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/effect/service.js +1 -1
- package/dist/promise/client.js +3 -3
- package/dist/promise/generated/index.js +6 -6
- package/dist/promise/generated/types.d.ts +24 -19
- package/dist/promise/index.js +6 -6
- package/dist/promise/service.js +1 -1
- package/dist/pty-handoff.js +1 -1
- package/dist/solid/data.js +3 -3
- package/dist/solid/index.js +1 -1
- package/package.json +4 -4
- /package/dist/chunks/{pty-handoff-d2t3jt2r.js → pty-handoff-r2jrs2kk.js} +0 -0
- /package/dist/chunks/{pty-handoff-j8bgrn1y.js → pty-handoff-xrgnamvt.js} +0 -0
package/dist/effect/service.js
CHANGED
package/dist/promise/client.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make5,
|
|
3
3
|
exports_client3
|
|
4
|
-
} from "../chunks/pty-handoff-
|
|
5
|
-
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
4
|
+
} from "../chunks/pty-handoff-xrgnamvt.js";
|
|
6
5
|
import"../chunks/pty-handoff-1y4a697q.js";
|
|
7
|
-
import"../chunks/pty-handoff-
|
|
6
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
8
7
|
import"../chunks/pty-handoff-ecs5ftka.js";
|
|
9
8
|
import"../chunks/pty-handoff-nwcpakzx.js";
|
|
9
|
+
import"../chunks/pty-handoff-vt9jbch8.js";
|
|
10
10
|
import"../chunks/pty-handoff-frbwqjmf.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_client3 as OpenCode,
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import"../../chunks/pty-handoff-vyas3vgt.js";
|
|
2
|
+
import {
|
|
3
|
+
exports_client4
|
|
4
|
+
} from "../../chunks/pty-handoff-ecs5ftka.js";
|
|
5
|
+
import {
|
|
6
|
+
ClientError3
|
|
7
|
+
} from "../../chunks/pty-handoff-nwcpakzx.js";
|
|
2
8
|
import {
|
|
3
9
|
isInvalidRequestError2,
|
|
4
10
|
isUnauthorizedError2,
|
|
@@ -34,12 +40,6 @@ import {
|
|
|
34
40
|
isWorktreeError2,
|
|
35
41
|
isVcsInitNotSupportedError2
|
|
36
42
|
} from "../../chunks/pty-handoff-vt9jbch8.js";
|
|
37
|
-
import {
|
|
38
|
-
exports_client4
|
|
39
|
-
} from "../../chunks/pty-handoff-ecs5ftka.js";
|
|
40
|
-
import {
|
|
41
|
-
ClientError3
|
|
42
|
-
} from "../../chunks/pty-handoff-nwcpakzx.js";
|
|
43
43
|
export {
|
|
44
44
|
ClientError3 as ClientError,
|
|
45
45
|
exports_client4 as OpenCode,
|
|
@@ -29,6 +29,7 @@ export type ProviderCompaction = {
|
|
|
29
29
|
type: "native";
|
|
30
30
|
};
|
|
31
31
|
export type ProviderTransport = "http" | "websocket";
|
|
32
|
+
export type ProviderEncoding = "zstd" | "gzip" | "none";
|
|
32
33
|
export type AgentColor = string;
|
|
33
34
|
export type PermissionEffect = "allow" | "deny" | "ask";
|
|
34
35
|
export type PluginSource = {
|
|
@@ -482,22 +483,19 @@ export type SessionProviderContextProvenance = {
|
|
|
482
483
|
protocol: string;
|
|
483
484
|
endpoint: string;
|
|
484
485
|
};
|
|
485
|
-
export type ModelSettings = {
|
|
486
|
-
compaction?: ProviderCompaction;
|
|
487
|
-
} & {
|
|
488
|
-
[x: string]: any;
|
|
489
|
-
};
|
|
490
|
-
export type ConfigModelSettings = {
|
|
491
|
-
compaction?: ProviderCompaction;
|
|
492
|
-
} & {
|
|
493
|
-
[x: string]: JsonValue | null;
|
|
494
|
-
};
|
|
495
486
|
export type ProviderSettings = {
|
|
496
487
|
timeout?: number | false;
|
|
497
488
|
headerTimeout?: number | false;
|
|
498
489
|
chunkTimeout?: number | false;
|
|
499
490
|
compaction?: ProviderCompaction;
|
|
500
491
|
transport?: ProviderTransport;
|
|
492
|
+
encoding?: ProviderEncoding;
|
|
493
|
+
} & {
|
|
494
|
+
[x: string]: any;
|
|
495
|
+
};
|
|
496
|
+
export type ModelSettings = {
|
|
497
|
+
compaction?: ProviderCompaction;
|
|
498
|
+
encoding?: ProviderEncoding;
|
|
501
499
|
} & {
|
|
502
500
|
[x: string]: any;
|
|
503
501
|
};
|
|
@@ -507,6 +505,13 @@ export type ConfigProviderSettings = {
|
|
|
507
505
|
chunkTimeout?: number | false;
|
|
508
506
|
compaction?: ProviderCompaction;
|
|
509
507
|
transport?: ProviderTransport;
|
|
508
|
+
encoding?: ProviderEncoding;
|
|
509
|
+
} & {
|
|
510
|
+
[x: string]: JsonValue | null;
|
|
511
|
+
};
|
|
512
|
+
export type ConfigModelSettings = {
|
|
513
|
+
compaction?: ProviderCompaction;
|
|
514
|
+
encoding?: ProviderEncoding;
|
|
510
515
|
} & {
|
|
511
516
|
[x: string]: JsonValue | null;
|
|
512
517
|
};
|
|
@@ -1175,22 +1180,22 @@ export type SessionProviderContext = {
|
|
|
1175
1180
|
provenance: SessionProviderContextProvenance;
|
|
1176
1181
|
messages: JsonValue;
|
|
1177
1182
|
};
|
|
1178
|
-
export type
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
headers?: {
|
|
1183
|
+
export type ProviderRequest = {
|
|
1184
|
+
settings: ProviderSettings;
|
|
1185
|
+
headers: {
|
|
1182
1186
|
[x: string]: string;
|
|
1183
1187
|
};
|
|
1184
|
-
body
|
|
1188
|
+
body: {
|
|
1185
1189
|
[x: string]: any;
|
|
1186
1190
|
};
|
|
1187
1191
|
};
|
|
1188
|
-
export type
|
|
1189
|
-
|
|
1190
|
-
|
|
1192
|
+
export type ModelVariant = {
|
|
1193
|
+
id: string;
|
|
1194
|
+
settings?: ModelSettings;
|
|
1195
|
+
headers?: {
|
|
1191
1196
|
[x: string]: string;
|
|
1192
1197
|
};
|
|
1193
|
-
body
|
|
1198
|
+
body?: {
|
|
1194
1199
|
[x: string]: any;
|
|
1195
1200
|
};
|
|
1196
1201
|
};
|
package/dist/promise/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import"../chunks/pty-handoff-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client3
|
|
4
|
-
} from "../chunks/pty-handoff-
|
|
5
|
-
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
4
|
+
} from "../chunks/pty-handoff-xrgnamvt.js";
|
|
6
5
|
import"../chunks/pty-handoff-1y4a697q.js";
|
|
6
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
7
|
+
import"../chunks/pty-handoff-ecs5ftka.js";
|
|
8
|
+
import {
|
|
9
|
+
ClientError3
|
|
10
|
+
} from "../chunks/pty-handoff-nwcpakzx.js";
|
|
7
11
|
import {
|
|
8
12
|
isInvalidRequestError2,
|
|
9
13
|
isUnauthorizedError2,
|
|
@@ -39,10 +43,6 @@ import {
|
|
|
39
43
|
isWorktreeError2,
|
|
40
44
|
isVcsInitNotSupportedError2
|
|
41
45
|
} from "../chunks/pty-handoff-vt9jbch8.js";
|
|
42
|
-
import"../chunks/pty-handoff-ecs5ftka.js";
|
|
43
|
-
import {
|
|
44
|
-
ClientError3
|
|
45
|
-
} from "../chunks/pty-handoff-nwcpakzx.js";
|
|
46
46
|
import"../chunks/pty-handoff-frbwqjmf.js";
|
|
47
47
|
export {
|
|
48
48
|
ClientError3 as ClientError,
|
package/dist/promise/service.js
CHANGED
package/dist/pty-handoff.js
CHANGED
package/dist/solid/data.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
createData2
|
|
5
5
|
} from "../chunks/pty-handoff-9vdz0zwn.js";
|
|
6
6
|
import"../chunks/pty-handoff-m2eywc8w.js";
|
|
7
|
-
import"../chunks/pty-handoff-
|
|
8
|
-
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
7
|
+
import"../chunks/pty-handoff-xrgnamvt.js";
|
|
9
8
|
import"../chunks/pty-handoff-1y4a697q.js";
|
|
10
|
-
import"../chunks/pty-handoff-
|
|
9
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
11
10
|
import"../chunks/pty-handoff-ecs5ftka.js";
|
|
12
11
|
import"../chunks/pty-handoff-nwcpakzx.js";
|
|
12
|
+
import"../chunks/pty-handoff-vt9jbch8.js";
|
|
13
13
|
import"../chunks/pty-handoff-frbwqjmf.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
package/dist/solid/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import"../chunks/pty-handoff-vt9jbch8.js";
|
|
|
4
4
|
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
5
5
|
import"../chunks/pty-handoff-frbwqjmf.js";
|
|
6
6
|
import"../chunks/pty-handoff-1y4a697q.js";
|
|
7
|
-
import"../chunks/pty-handoff-
|
|
7
|
+
import"../chunks/pty-handoff-xrgnamvt.js";
|
|
8
8
|
import"../chunks/pty-handoff-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
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-20859",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"typecheck": "tsgo --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-20859",
|
|
61
|
+
"@opencode/protocol": "0.0.0-dev-20859"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"effect": "4.0.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
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-20859",
|
|
78
78
|
"@tsconfig/bun": "1.0.9",
|
|
79
79
|
"@types/bun": "1.4.0",
|
|
80
80
|
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|
|
File without changes
|
|
File without changes
|