@opencode-ai/protocol 0.0.0-next-14692 → 0.0.0-next-14693
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/groups/agent.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare const AgentGroup: HttpApiGroup.HttpApiGroup<"server.agent", HttpA
|
|
|
45
45
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
46
46
|
}>>, never, never>;
|
|
47
47
|
readonly request: Schema.Struct<{
|
|
48
|
+
readonly settings: Schema.withConstructorDefault<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
48
49
|
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
49
50
|
readonly body: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
50
51
|
}>;
|
|
@@ -63,6 +64,9 @@ export declare const AgentGroup: HttpApiGroup.HttpApiGroup<"server.agent", HttpA
|
|
|
63
64
|
empty: (id: Agent.ID) => {
|
|
64
65
|
readonly id: string & import("effect/Brand").Brand<"AgentV2.ID">;
|
|
65
66
|
readonly request: {
|
|
67
|
+
readonly settings: {
|
|
68
|
+
readonly [x: string]: unknown;
|
|
69
|
+
};
|
|
66
70
|
readonly headers: {
|
|
67
71
|
readonly [x: string]: string;
|
|
68
72
|
};
|
package/dist/groups/model.d.ts
CHANGED
|
@@ -46,10 +46,12 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
46
46
|
}>;
|
|
47
47
|
readonly request: Schema.Struct<{
|
|
48
48
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
49
|
+
readonly settings: Schema.withConstructorDefault<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
49
50
|
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
50
51
|
readonly body: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
51
52
|
}>;
|
|
52
53
|
readonly variants: Schema.$Array<Schema.Struct<{
|
|
54
|
+
readonly settings: Schema.withConstructorDefault<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
53
55
|
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
54
56
|
readonly body: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
55
57
|
readonly id: Schema.brand<Schema.String, "VariantID">;
|
|
@@ -106,6 +108,9 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
106
108
|
readonly output: readonly string[];
|
|
107
109
|
};
|
|
108
110
|
readonly request: {
|
|
111
|
+
readonly settings: {
|
|
112
|
+
readonly [x: string]: unknown;
|
|
113
|
+
};
|
|
109
114
|
readonly headers: {
|
|
110
115
|
readonly [x: string]: string;
|
|
111
116
|
};
|
|
@@ -115,6 +120,9 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
115
120
|
readonly variant?: string | undefined;
|
|
116
121
|
};
|
|
117
122
|
readonly variants: readonly {
|
|
123
|
+
readonly settings: {
|
|
124
|
+
readonly [x: string]: unknown;
|
|
125
|
+
};
|
|
118
126
|
readonly headers: {
|
|
119
127
|
readonly [x: string]: string;
|
|
120
128
|
};
|
|
@@ -38,6 +38,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
38
38
|
readonly settings: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
39
39
|
}>]>;
|
|
40
40
|
readonly request: Schema.Struct<{
|
|
41
|
+
readonly settings: Schema.withConstructorDefault<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
41
42
|
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
42
43
|
readonly body: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
43
44
|
}>;
|
|
@@ -60,6 +61,9 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
60
61
|
readonly url?: string | undefined;
|
|
61
62
|
};
|
|
62
63
|
readonly request: {
|
|
64
|
+
readonly settings: {
|
|
65
|
+
readonly [x: string]: unknown;
|
|
66
|
+
};
|
|
63
67
|
readonly headers: {
|
|
64
68
|
readonly [x: string]: string;
|
|
65
69
|
};
|
|
@@ -120,6 +124,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
120
124
|
readonly settings: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
121
125
|
}>]>;
|
|
122
126
|
readonly request: Schema.Struct<{
|
|
127
|
+
readonly settings: Schema.withConstructorDefault<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
123
128
|
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
124
129
|
readonly body: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
125
130
|
}>;
|
|
@@ -142,6 +147,9 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
142
147
|
readonly url?: string | undefined;
|
|
143
148
|
};
|
|
144
149
|
readonly request: {
|
|
150
|
+
readonly settings: {
|
|
151
|
+
readonly [x: string]: unknown;
|
|
152
|
+
};
|
|
145
153
|
readonly headers: {
|
|
146
154
|
readonly [x: string]: string;
|
|
147
155
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/protocol",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-14693",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typecheck": "tsgo --noEmit"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@opencode-ai/schema": "0.0.0-next-
|
|
29
|
+
"@opencode-ai/schema": "0.0.0-next-14693",
|
|
30
30
|
"effect": "4.0.0-beta.83"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|