@opencode/client 0.0.0-dev-19633 → 0.0.0-dev-19635
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.
|
@@ -324,11 +324,11 @@ export type ProviderCompaction = {
|
|
|
324
324
|
mode: "provider";
|
|
325
325
|
threshold?: number;
|
|
326
326
|
};
|
|
327
|
+
export type ProviderTransport = "http" | "websocket";
|
|
327
328
|
export type ModelCapabilities = {
|
|
328
329
|
tools: boolean;
|
|
329
330
|
input: Array<string>;
|
|
330
331
|
output: Array<string>;
|
|
331
|
-
responsesWebsockets?: boolean;
|
|
332
332
|
};
|
|
333
333
|
export type ModelVariant = {
|
|
334
334
|
id: string;
|
|
@@ -2077,7 +2077,7 @@ export type ProviderInfo = {
|
|
|
2077
2077
|
activation: "auto" | "enabled" | "disabled";
|
|
2078
2078
|
package: string;
|
|
2079
2079
|
compaction?: ProviderCompaction;
|
|
2080
|
-
|
|
2080
|
+
transport?: ProviderTransport;
|
|
2081
2081
|
settings?: {
|
|
2082
2082
|
[x: string]: any;
|
|
2083
2083
|
};
|
|
@@ -2621,7 +2621,7 @@ export type ModelInfo = {
|
|
|
2621
2621
|
compatibility?: ModelCompatibility;
|
|
2622
2622
|
package?: string;
|
|
2623
2623
|
compaction?: ProviderCompaction;
|
|
2624
|
-
|
|
2624
|
+
transport?: ProviderTransport;
|
|
2625
2625
|
settings?: {
|
|
2626
2626
|
[x: string]: any;
|
|
2627
2627
|
};
|
|
@@ -2946,7 +2946,7 @@ export type ConfigEntry = {
|
|
|
2946
2946
|
providers?: {
|
|
2947
2947
|
[x: string]: {
|
|
2948
2948
|
compaction?: ProviderCompaction;
|
|
2949
|
-
|
|
2949
|
+
transport?: ProviderTransport;
|
|
2950
2950
|
canonical?: string;
|
|
2951
2951
|
name?: string;
|
|
2952
2952
|
env?: Array<string>;
|
|
@@ -2963,7 +2963,7 @@ export type ConfigEntry = {
|
|
|
2963
2963
|
models?: {
|
|
2964
2964
|
[x: string]: {
|
|
2965
2965
|
compaction?: ProviderCompaction;
|
|
2966
|
-
|
|
2966
|
+
transport?: ProviderTransport;
|
|
2967
2967
|
modelID?: string;
|
|
2968
2968
|
family?: string;
|
|
2969
2969
|
name?: string;
|
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-19635",
|
|
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-19635",
|
|
61
|
+
"@opencode/protocol": "0.0.0-dev-19635"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"effect": "4.0.0-rc.112",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@effect/platform-node": "4.0.0-rc.112",
|
|
77
|
-
"@opencode/httpapi-codegen": "0.0.0-dev-
|
|
77
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-19635",
|
|
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",
|