@opencode/client 2.0.6 → 2.0.8
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/api/api.d.ts
CHANGED
package/dist/effect/client.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export declare const make: (options?: {
|
|
|
43
43
|
}[] | undefined;
|
|
44
44
|
readonly custom?: boolean | undefined;
|
|
45
45
|
readonly title?: string | undefined;
|
|
46
|
+
readonly hidden?: boolean | undefined;
|
|
46
47
|
readonly when?: readonly {
|
|
47
48
|
readonly key: string;
|
|
48
49
|
readonly op: "eq" | "neq";
|
|
@@ -55,6 +56,7 @@ export declare const make: (options?: {
|
|
|
55
56
|
readonly description?: string | undefined;
|
|
56
57
|
readonly default?: number | undefined;
|
|
57
58
|
readonly title?: string | undefined;
|
|
59
|
+
readonly hidden?: boolean | undefined;
|
|
58
60
|
readonly when?: readonly {
|
|
59
61
|
readonly key: string;
|
|
60
62
|
readonly op: "eq" | "neq";
|
|
@@ -69,6 +71,7 @@ export declare const make: (options?: {
|
|
|
69
71
|
readonly description?: string | undefined;
|
|
70
72
|
readonly default?: number | undefined;
|
|
71
73
|
readonly title?: string | undefined;
|
|
74
|
+
readonly hidden?: boolean | undefined;
|
|
72
75
|
readonly when?: readonly {
|
|
73
76
|
readonly key: string;
|
|
74
77
|
readonly op: "eq" | "neq";
|
|
@@ -83,6 +86,7 @@ export declare const make: (options?: {
|
|
|
83
86
|
readonly description?: string | undefined;
|
|
84
87
|
readonly default?: boolean | undefined;
|
|
85
88
|
readonly title?: string | undefined;
|
|
89
|
+
readonly hidden?: boolean | undefined;
|
|
86
90
|
readonly when?: readonly {
|
|
87
91
|
readonly key: string;
|
|
88
92
|
readonly op: "eq" | "neq";
|
|
@@ -101,6 +105,7 @@ export declare const make: (options?: {
|
|
|
101
105
|
readonly default?: readonly string[] | undefined;
|
|
102
106
|
readonly custom?: boolean | undefined;
|
|
103
107
|
readonly title?: string | undefined;
|
|
108
|
+
readonly hidden?: boolean | undefined;
|
|
104
109
|
readonly when?: readonly {
|
|
105
110
|
readonly key: string;
|
|
106
111
|
readonly op: "eq" | "neq";
|
|
@@ -132,6 +137,7 @@ export declare const make: (options?: {
|
|
|
132
137
|
}[] | undefined;
|
|
133
138
|
readonly custom?: boolean | undefined;
|
|
134
139
|
readonly title?: string | undefined;
|
|
140
|
+
readonly hidden?: boolean | undefined;
|
|
135
141
|
readonly when?: readonly {
|
|
136
142
|
readonly key: string;
|
|
137
143
|
readonly op: "eq" | "neq";
|
|
@@ -144,6 +150,7 @@ export declare const make: (options?: {
|
|
|
144
150
|
readonly description?: string | undefined;
|
|
145
151
|
readonly default?: number | undefined;
|
|
146
152
|
readonly title?: string | undefined;
|
|
153
|
+
readonly hidden?: boolean | undefined;
|
|
147
154
|
readonly when?: readonly {
|
|
148
155
|
readonly key: string;
|
|
149
156
|
readonly op: "eq" | "neq";
|
|
@@ -158,6 +165,7 @@ export declare const make: (options?: {
|
|
|
158
165
|
readonly description?: string | undefined;
|
|
159
166
|
readonly default?: number | undefined;
|
|
160
167
|
readonly title?: string | undefined;
|
|
168
|
+
readonly hidden?: boolean | undefined;
|
|
161
169
|
readonly when?: readonly {
|
|
162
170
|
readonly key: string;
|
|
163
171
|
readonly op: "eq" | "neq";
|
|
@@ -172,6 +180,7 @@ export declare const make: (options?: {
|
|
|
172
180
|
readonly description?: string | undefined;
|
|
173
181
|
readonly default?: boolean | undefined;
|
|
174
182
|
readonly title?: string | undefined;
|
|
183
|
+
readonly hidden?: boolean | undefined;
|
|
175
184
|
readonly when?: readonly {
|
|
176
185
|
readonly key: string;
|
|
177
186
|
readonly op: "eq" | "neq";
|
|
@@ -190,6 +199,7 @@ export declare const make: (options?: {
|
|
|
190
199
|
readonly default?: readonly string[] | undefined;
|
|
191
200
|
readonly custom?: boolean | undefined;
|
|
192
201
|
readonly title?: string | undefined;
|
|
202
|
+
readonly hidden?: boolean | undefined;
|
|
193
203
|
readonly when?: readonly {
|
|
194
204
|
readonly key: string;
|
|
195
205
|
readonly op: "eq" | "neq";
|
|
@@ -1110,6 +1120,7 @@ export declare const make: (options?: {
|
|
|
1110
1120
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1111
1121
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1112
1122
|
};
|
|
1123
|
+
readonly started: number;
|
|
1113
1124
|
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1114
1125
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1115
1126
|
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
@@ -198,6 +198,7 @@ export declare const make: (options?: {
|
|
|
198
198
|
}[] | undefined;
|
|
199
199
|
readonly custom?: boolean | undefined;
|
|
200
200
|
readonly title?: string | undefined;
|
|
201
|
+
readonly hidden?: boolean | undefined;
|
|
201
202
|
readonly when?: readonly {
|
|
202
203
|
readonly key: string;
|
|
203
204
|
readonly op: "eq" | "neq";
|
|
@@ -210,6 +211,7 @@ export declare const make: (options?: {
|
|
|
210
211
|
readonly description?: string | undefined;
|
|
211
212
|
readonly default?: number | undefined;
|
|
212
213
|
readonly title?: string | undefined;
|
|
214
|
+
readonly hidden?: boolean | undefined;
|
|
213
215
|
readonly when?: readonly {
|
|
214
216
|
readonly key: string;
|
|
215
217
|
readonly op: "eq" | "neq";
|
|
@@ -224,6 +226,7 @@ export declare const make: (options?: {
|
|
|
224
226
|
readonly description?: string | undefined;
|
|
225
227
|
readonly default?: number | undefined;
|
|
226
228
|
readonly title?: string | undefined;
|
|
229
|
+
readonly hidden?: boolean | undefined;
|
|
227
230
|
readonly when?: readonly {
|
|
228
231
|
readonly key: string;
|
|
229
232
|
readonly op: "eq" | "neq";
|
|
@@ -238,6 +241,7 @@ export declare const make: (options?: {
|
|
|
238
241
|
readonly description?: string | undefined;
|
|
239
242
|
readonly default?: boolean | undefined;
|
|
240
243
|
readonly title?: string | undefined;
|
|
244
|
+
readonly hidden?: boolean | undefined;
|
|
241
245
|
readonly when?: readonly {
|
|
242
246
|
readonly key: string;
|
|
243
247
|
readonly op: "eq" | "neq";
|
|
@@ -256,6 +260,7 @@ export declare const make: (options?: {
|
|
|
256
260
|
readonly default?: readonly string[] | undefined;
|
|
257
261
|
readonly custom?: boolean | undefined;
|
|
258
262
|
readonly title?: string | undefined;
|
|
263
|
+
readonly hidden?: boolean | undefined;
|
|
259
264
|
readonly when?: readonly {
|
|
260
265
|
readonly key: string;
|
|
261
266
|
readonly op: "eq" | "neq";
|
|
@@ -287,6 +292,7 @@ export declare const make: (options?: {
|
|
|
287
292
|
}[] | undefined;
|
|
288
293
|
readonly custom?: boolean | undefined;
|
|
289
294
|
readonly title?: string | undefined;
|
|
295
|
+
readonly hidden?: boolean | undefined;
|
|
290
296
|
readonly when?: readonly {
|
|
291
297
|
readonly key: string;
|
|
292
298
|
readonly op: "eq" | "neq";
|
|
@@ -299,6 +305,7 @@ export declare const make: (options?: {
|
|
|
299
305
|
readonly description?: string | undefined;
|
|
300
306
|
readonly default?: number | undefined;
|
|
301
307
|
readonly title?: string | undefined;
|
|
308
|
+
readonly hidden?: boolean | undefined;
|
|
302
309
|
readonly when?: readonly {
|
|
303
310
|
readonly key: string;
|
|
304
311
|
readonly op: "eq" | "neq";
|
|
@@ -313,6 +320,7 @@ export declare const make: (options?: {
|
|
|
313
320
|
readonly description?: string | undefined;
|
|
314
321
|
readonly default?: number | undefined;
|
|
315
322
|
readonly title?: string | undefined;
|
|
323
|
+
readonly hidden?: boolean | undefined;
|
|
316
324
|
readonly when?: readonly {
|
|
317
325
|
readonly key: string;
|
|
318
326
|
readonly op: "eq" | "neq";
|
|
@@ -327,6 +335,7 @@ export declare const make: (options?: {
|
|
|
327
335
|
readonly description?: string | undefined;
|
|
328
336
|
readonly default?: boolean | undefined;
|
|
329
337
|
readonly title?: string | undefined;
|
|
338
|
+
readonly hidden?: boolean | undefined;
|
|
330
339
|
readonly when?: readonly {
|
|
331
340
|
readonly key: string;
|
|
332
341
|
readonly op: "eq" | "neq";
|
|
@@ -345,6 +354,7 @@ export declare const make: (options?: {
|
|
|
345
354
|
readonly default?: readonly string[] | undefined;
|
|
346
355
|
readonly custom?: boolean | undefined;
|
|
347
356
|
readonly title?: string | undefined;
|
|
357
|
+
readonly hidden?: boolean | undefined;
|
|
348
358
|
readonly when?: readonly {
|
|
349
359
|
readonly key: string;
|
|
350
360
|
readonly op: "eq" | "neq";
|
|
@@ -1265,6 +1275,7 @@ export declare const make: (options?: {
|
|
|
1265
1275
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1266
1276
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1267
1277
|
};
|
|
1278
|
+
readonly started: number;
|
|
1268
1279
|
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1269
1280
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1270
1281
|
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
@@ -1178,6 +1178,7 @@ export type SessionStepStarted = {
|
|
|
1178
1178
|
agent: string;
|
|
1179
1179
|
model: ModelRef;
|
|
1180
1180
|
snapshot?: string;
|
|
1181
|
+
started: number;
|
|
1181
1182
|
};
|
|
1182
1183
|
};
|
|
1183
1184
|
export type SessionStepStreamed = {
|
|
@@ -2088,6 +2089,7 @@ export type FormNumberField = {
|
|
|
2088
2089
|
title?: string;
|
|
2089
2090
|
description?: string;
|
|
2090
2091
|
required?: boolean;
|
|
2092
|
+
hidden?: boolean;
|
|
2091
2093
|
when?: Array<FormWhen>;
|
|
2092
2094
|
type: "number";
|
|
2093
2095
|
minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
@@ -2099,6 +2101,7 @@ export type FormIntegerField = {
|
|
|
2099
2101
|
title?: string;
|
|
2100
2102
|
description?: string;
|
|
2101
2103
|
required?: boolean;
|
|
2104
|
+
hidden?: boolean;
|
|
2102
2105
|
when?: Array<FormWhen>;
|
|
2103
2106
|
type: "integer";
|
|
2104
2107
|
minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
@@ -2110,6 +2113,7 @@ export type FormBooleanField = {
|
|
|
2110
2113
|
title?: string;
|
|
2111
2114
|
description?: string;
|
|
2112
2115
|
required?: boolean;
|
|
2116
|
+
hidden?: boolean;
|
|
2113
2117
|
when?: Array<FormWhen>;
|
|
2114
2118
|
type: "boolean";
|
|
2115
2119
|
default?: boolean;
|
|
@@ -2119,6 +2123,7 @@ export type FormStringField = {
|
|
|
2119
2123
|
title?: string;
|
|
2120
2124
|
description?: string;
|
|
2121
2125
|
required?: boolean;
|
|
2126
|
+
hidden?: boolean;
|
|
2122
2127
|
when?: Array<FormWhen>;
|
|
2123
2128
|
type: "string";
|
|
2124
2129
|
format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -2135,6 +2140,7 @@ export type FormMultiselectField = {
|
|
|
2135
2140
|
title?: string;
|
|
2136
2141
|
description?: string;
|
|
2137
2142
|
required?: boolean;
|
|
2143
|
+
hidden?: boolean;
|
|
2138
2144
|
when?: Array<FormWhen>;
|
|
2139
2145
|
type: "multiselect";
|
|
2140
2146
|
options: Array<FormOption>;
|
|
@@ -2322,6 +2328,7 @@ export type FormStringField1 = {
|
|
|
2322
2328
|
title?: string;
|
|
2323
2329
|
description?: string;
|
|
2324
2330
|
required?: boolean;
|
|
2331
|
+
hidden?: boolean;
|
|
2325
2332
|
when?: Array<FormWhen1>;
|
|
2326
2333
|
type: "string";
|
|
2327
2334
|
format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -2338,6 +2345,7 @@ export type FormNumberField1 = {
|
|
|
2338
2345
|
title?: string;
|
|
2339
2346
|
description?: string;
|
|
2340
2347
|
required?: boolean;
|
|
2348
|
+
hidden?: boolean;
|
|
2341
2349
|
when?: Array<FormWhen1>;
|
|
2342
2350
|
type: "number";
|
|
2343
2351
|
minimum?: number;
|
|
@@ -2349,6 +2357,7 @@ export type FormIntegerField1 = {
|
|
|
2349
2357
|
title?: string;
|
|
2350
2358
|
description?: string;
|
|
2351
2359
|
required?: boolean;
|
|
2360
|
+
hidden?: boolean;
|
|
2352
2361
|
when?: Array<FormWhen1>;
|
|
2353
2362
|
type: "integer";
|
|
2354
2363
|
minimum?: number;
|
|
@@ -2360,6 +2369,7 @@ export type FormBooleanField1 = {
|
|
|
2360
2369
|
title?: string;
|
|
2361
2370
|
description?: string;
|
|
2362
2371
|
required?: boolean;
|
|
2372
|
+
hidden?: boolean;
|
|
2363
2373
|
when?: Array<FormWhen1>;
|
|
2364
2374
|
type: "boolean";
|
|
2365
2375
|
default?: boolean;
|
|
@@ -2369,6 +2379,7 @@ export type FormMultiselectField1 = {
|
|
|
2369
2379
|
title?: string;
|
|
2370
2380
|
description?: string;
|
|
2371
2381
|
required?: boolean;
|
|
2382
|
+
hidden?: boolean;
|
|
2372
2383
|
when?: Array<FormWhen1>;
|
|
2373
2384
|
type: "multiselect";
|
|
2374
2385
|
options: Array<FormOption>;
|
|
@@ -3055,7 +3066,7 @@ export type ConfigEntry = {
|
|
|
3055
3066
|
portable_shell_scanner?: boolean;
|
|
3056
3067
|
subagent_depth?: number;
|
|
3057
3068
|
policies?: Array<{
|
|
3058
|
-
action: "provider.use";
|
|
3069
|
+
action: "provider.use" | "permission";
|
|
3059
3070
|
resource: string;
|
|
3060
3071
|
effect: "allow" | "deny";
|
|
3061
3072
|
}>;
|
|
@@ -6114,6 +6125,7 @@ export type SessionFormCreateInput = {
|
|
|
6114
6125
|
readonly title?: string;
|
|
6115
6126
|
readonly description?: string;
|
|
6116
6127
|
readonly required?: boolean;
|
|
6128
|
+
readonly hidden?: boolean;
|
|
6117
6129
|
readonly when?: ReadonlyArray<{
|
|
6118
6130
|
readonly key: string;
|
|
6119
6131
|
readonly op: "eq" | "neq";
|
|
@@ -6137,6 +6149,7 @@ export type SessionFormCreateInput = {
|
|
|
6137
6149
|
readonly title?: string;
|
|
6138
6150
|
readonly description?: string;
|
|
6139
6151
|
readonly required?: boolean;
|
|
6152
|
+
readonly hidden?: boolean;
|
|
6140
6153
|
readonly when?: ReadonlyArray<{
|
|
6141
6154
|
readonly key: string;
|
|
6142
6155
|
readonly op: "eq" | "neq";
|
|
@@ -6151,6 +6164,7 @@ export type SessionFormCreateInput = {
|
|
|
6151
6164
|
readonly title?: string;
|
|
6152
6165
|
readonly description?: string;
|
|
6153
6166
|
readonly required?: boolean;
|
|
6167
|
+
readonly hidden?: boolean;
|
|
6154
6168
|
readonly when?: ReadonlyArray<{
|
|
6155
6169
|
readonly key: string;
|
|
6156
6170
|
readonly op: "eq" | "neq";
|
|
@@ -6165,6 +6179,7 @@ export type SessionFormCreateInput = {
|
|
|
6165
6179
|
readonly title?: string;
|
|
6166
6180
|
readonly description?: string;
|
|
6167
6181
|
readonly required?: boolean;
|
|
6182
|
+
readonly hidden?: boolean;
|
|
6168
6183
|
readonly when?: ReadonlyArray<{
|
|
6169
6184
|
readonly key: string;
|
|
6170
6185
|
readonly op: "eq" | "neq";
|
|
@@ -6177,6 +6192,7 @@ export type SessionFormCreateInput = {
|
|
|
6177
6192
|
readonly title?: string;
|
|
6178
6193
|
readonly description?: string;
|
|
6179
6194
|
readonly required?: boolean;
|
|
6195
|
+
readonly hidden?: boolean;
|
|
6180
6196
|
readonly when?: ReadonlyArray<{
|
|
6181
6197
|
readonly key: string;
|
|
6182
6198
|
readonly op: "eq" | "neq";
|
|
@@ -6204,6 +6220,7 @@ export type SessionFormCreateInput = {
|
|
|
6204
6220
|
readonly title?: string;
|
|
6205
6221
|
readonly description?: string;
|
|
6206
6222
|
readonly required?: boolean;
|
|
6223
|
+
readonly hidden?: boolean;
|
|
6207
6224
|
readonly when?: ReadonlyArray<{
|
|
6208
6225
|
readonly key: string;
|
|
6209
6226
|
readonly op: "eq" | "neq";
|
|
@@ -6227,6 +6244,7 @@ export type SessionFormCreateInput = {
|
|
|
6227
6244
|
readonly title?: string;
|
|
6228
6245
|
readonly description?: string;
|
|
6229
6246
|
readonly required?: boolean;
|
|
6247
|
+
readonly hidden?: boolean;
|
|
6230
6248
|
readonly when?: ReadonlyArray<{
|
|
6231
6249
|
readonly key: string;
|
|
6232
6250
|
readonly op: "eq" | "neq";
|
|
@@ -6241,6 +6259,7 @@ export type SessionFormCreateInput = {
|
|
|
6241
6259
|
readonly title?: string;
|
|
6242
6260
|
readonly description?: string;
|
|
6243
6261
|
readonly required?: boolean;
|
|
6262
|
+
readonly hidden?: boolean;
|
|
6244
6263
|
readonly when?: ReadonlyArray<{
|
|
6245
6264
|
readonly key: string;
|
|
6246
6265
|
readonly op: "eq" | "neq";
|
|
@@ -6255,6 +6274,7 @@ export type SessionFormCreateInput = {
|
|
|
6255
6274
|
readonly title?: string;
|
|
6256
6275
|
readonly description?: string;
|
|
6257
6276
|
readonly required?: boolean;
|
|
6277
|
+
readonly hidden?: boolean;
|
|
6258
6278
|
readonly when?: ReadonlyArray<{
|
|
6259
6279
|
readonly key: string;
|
|
6260
6280
|
readonly op: "eq" | "neq";
|
|
@@ -6267,6 +6287,7 @@ export type SessionFormCreateInput = {
|
|
|
6267
6287
|
readonly title?: string;
|
|
6268
6288
|
readonly description?: string;
|
|
6269
6289
|
readonly required?: boolean;
|
|
6290
|
+
readonly hidden?: boolean;
|
|
6270
6291
|
readonly when?: ReadonlyArray<{
|
|
6271
6292
|
readonly key: string;
|
|
6272
6293
|
readonly op: "eq" | "neq";
|
|
@@ -6303,6 +6324,7 @@ export type SessionFormCreateInput = {
|
|
|
6303
6324
|
readonly title?: string;
|
|
6304
6325
|
readonly description?: string;
|
|
6305
6326
|
readonly required?: boolean;
|
|
6327
|
+
readonly hidden?: boolean;
|
|
6306
6328
|
readonly when?: ReadonlyArray<{
|
|
6307
6329
|
readonly key: string;
|
|
6308
6330
|
readonly op: "eq" | "neq";
|
|
@@ -6326,6 +6348,7 @@ export type SessionFormCreateInput = {
|
|
|
6326
6348
|
readonly title?: string;
|
|
6327
6349
|
readonly description?: string;
|
|
6328
6350
|
readonly required?: boolean;
|
|
6351
|
+
readonly hidden?: boolean;
|
|
6329
6352
|
readonly when?: ReadonlyArray<{
|
|
6330
6353
|
readonly key: string;
|
|
6331
6354
|
readonly op: "eq" | "neq";
|
|
@@ -6340,6 +6363,7 @@ export type SessionFormCreateInput = {
|
|
|
6340
6363
|
readonly title?: string;
|
|
6341
6364
|
readonly description?: string;
|
|
6342
6365
|
readonly required?: boolean;
|
|
6366
|
+
readonly hidden?: boolean;
|
|
6343
6367
|
readonly when?: ReadonlyArray<{
|
|
6344
6368
|
readonly key: string;
|
|
6345
6369
|
readonly op: "eq" | "neq";
|
|
@@ -6354,6 +6378,7 @@ export type SessionFormCreateInput = {
|
|
|
6354
6378
|
readonly title?: string;
|
|
6355
6379
|
readonly description?: string;
|
|
6356
6380
|
readonly required?: boolean;
|
|
6381
|
+
readonly hidden?: boolean;
|
|
6357
6382
|
readonly when?: ReadonlyArray<{
|
|
6358
6383
|
readonly key: string;
|
|
6359
6384
|
readonly op: "eq" | "neq";
|
|
@@ -6366,6 +6391,7 @@ export type SessionFormCreateInput = {
|
|
|
6366
6391
|
readonly title?: string;
|
|
6367
6392
|
readonly description?: string;
|
|
6368
6393
|
readonly required?: boolean;
|
|
6394
|
+
readonly hidden?: boolean;
|
|
6369
6395
|
readonly when?: ReadonlyArray<{
|
|
6370
6396
|
readonly key: string;
|
|
6371
6397
|
readonly op: "eq" | "neq";
|
|
@@ -6393,6 +6419,7 @@ export type SessionFormCreateInput = {
|
|
|
6393
6419
|
readonly title?: string;
|
|
6394
6420
|
readonly description?: string;
|
|
6395
6421
|
readonly required?: boolean;
|
|
6422
|
+
readonly hidden?: boolean;
|
|
6396
6423
|
readonly when?: ReadonlyArray<{
|
|
6397
6424
|
readonly key: string;
|
|
6398
6425
|
readonly op: "eq" | "neq";
|
|
@@ -6416,6 +6443,7 @@ export type SessionFormCreateInput = {
|
|
|
6416
6443
|
readonly title?: string;
|
|
6417
6444
|
readonly description?: string;
|
|
6418
6445
|
readonly required?: boolean;
|
|
6446
|
+
readonly hidden?: boolean;
|
|
6419
6447
|
readonly when?: ReadonlyArray<{
|
|
6420
6448
|
readonly key: string;
|
|
6421
6449
|
readonly op: "eq" | "neq";
|
|
@@ -6430,6 +6458,7 @@ export type SessionFormCreateInput = {
|
|
|
6430
6458
|
readonly title?: string;
|
|
6431
6459
|
readonly description?: string;
|
|
6432
6460
|
readonly required?: boolean;
|
|
6461
|
+
readonly hidden?: boolean;
|
|
6433
6462
|
readonly when?: ReadonlyArray<{
|
|
6434
6463
|
readonly key: string;
|
|
6435
6464
|
readonly op: "eq" | "neq";
|
|
@@ -6444,6 +6473,7 @@ export type SessionFormCreateInput = {
|
|
|
6444
6473
|
readonly title?: string;
|
|
6445
6474
|
readonly description?: string;
|
|
6446
6475
|
readonly required?: boolean;
|
|
6476
|
+
readonly hidden?: boolean;
|
|
6447
6477
|
readonly when?: ReadonlyArray<{
|
|
6448
6478
|
readonly key: string;
|
|
6449
6479
|
readonly op: "eq" | "neq";
|
|
@@ -6456,6 +6486,7 @@ export type SessionFormCreateInput = {
|
|
|
6456
6486
|
readonly title?: string;
|
|
6457
6487
|
readonly description?: string;
|
|
6458
6488
|
readonly required?: boolean;
|
|
6489
|
+
readonly hidden?: boolean;
|
|
6459
6490
|
readonly when?: ReadonlyArray<{
|
|
6460
6491
|
readonly key: string;
|
|
6461
6492
|
readonly op: "eq" | "neq";
|
|
@@ -6492,6 +6523,7 @@ export type SessionFormCreateInput = {
|
|
|
6492
6523
|
readonly title?: string;
|
|
6493
6524
|
readonly description?: string;
|
|
6494
6525
|
readonly required?: boolean;
|
|
6526
|
+
readonly hidden?: boolean;
|
|
6495
6527
|
readonly when?: ReadonlyArray<{
|
|
6496
6528
|
readonly key: string;
|
|
6497
6529
|
readonly op: "eq" | "neq";
|
|
@@ -6515,6 +6547,7 @@ export type SessionFormCreateInput = {
|
|
|
6515
6547
|
readonly title?: string;
|
|
6516
6548
|
readonly description?: string;
|
|
6517
6549
|
readonly required?: boolean;
|
|
6550
|
+
readonly hidden?: boolean;
|
|
6518
6551
|
readonly when?: ReadonlyArray<{
|
|
6519
6552
|
readonly key: string;
|
|
6520
6553
|
readonly op: "eq" | "neq";
|
|
@@ -6529,6 +6562,7 @@ export type SessionFormCreateInput = {
|
|
|
6529
6562
|
readonly title?: string;
|
|
6530
6563
|
readonly description?: string;
|
|
6531
6564
|
readonly required?: boolean;
|
|
6565
|
+
readonly hidden?: boolean;
|
|
6532
6566
|
readonly when?: ReadonlyArray<{
|
|
6533
6567
|
readonly key: string;
|
|
6534
6568
|
readonly op: "eq" | "neq";
|
|
@@ -6543,6 +6577,7 @@ export type SessionFormCreateInput = {
|
|
|
6543
6577
|
readonly title?: string;
|
|
6544
6578
|
readonly description?: string;
|
|
6545
6579
|
readonly required?: boolean;
|
|
6580
|
+
readonly hidden?: boolean;
|
|
6546
6581
|
readonly when?: ReadonlyArray<{
|
|
6547
6582
|
readonly key: string;
|
|
6548
6583
|
readonly op: "eq" | "neq";
|
|
@@ -6555,6 +6590,7 @@ export type SessionFormCreateInput = {
|
|
|
6555
6590
|
readonly title?: string;
|
|
6556
6591
|
readonly description?: string;
|
|
6557
6592
|
readonly required?: boolean;
|
|
6593
|
+
readonly hidden?: boolean;
|
|
6558
6594
|
readonly when?: ReadonlyArray<{
|
|
6559
6595
|
readonly key: string;
|
|
6560
6596
|
readonly op: "eq" | "neq";
|
|
@@ -6582,6 +6618,7 @@ export type SessionFormCreateInput = {
|
|
|
6582
6618
|
readonly title?: string;
|
|
6583
6619
|
readonly description?: string;
|
|
6584
6620
|
readonly required?: boolean;
|
|
6621
|
+
readonly hidden?: boolean;
|
|
6585
6622
|
readonly when?: ReadonlyArray<{
|
|
6586
6623
|
readonly key: string;
|
|
6587
6624
|
readonly op: "eq" | "neq";
|
|
@@ -6605,6 +6642,7 @@ export type SessionFormCreateInput = {
|
|
|
6605
6642
|
readonly title?: string;
|
|
6606
6643
|
readonly description?: string;
|
|
6607
6644
|
readonly required?: boolean;
|
|
6645
|
+
readonly hidden?: boolean;
|
|
6608
6646
|
readonly when?: ReadonlyArray<{
|
|
6609
6647
|
readonly key: string;
|
|
6610
6648
|
readonly op: "eq" | "neq";
|
|
@@ -6619,6 +6657,7 @@ export type SessionFormCreateInput = {
|
|
|
6619
6657
|
readonly title?: string;
|
|
6620
6658
|
readonly description?: string;
|
|
6621
6659
|
readonly required?: boolean;
|
|
6660
|
+
readonly hidden?: boolean;
|
|
6622
6661
|
readonly when?: ReadonlyArray<{
|
|
6623
6662
|
readonly key: string;
|
|
6624
6663
|
readonly op: "eq" | "neq";
|
|
@@ -6633,6 +6672,7 @@ export type SessionFormCreateInput = {
|
|
|
6633
6672
|
readonly title?: string;
|
|
6634
6673
|
readonly description?: string;
|
|
6635
6674
|
readonly required?: boolean;
|
|
6675
|
+
readonly hidden?: boolean;
|
|
6636
6676
|
readonly when?: ReadonlyArray<{
|
|
6637
6677
|
readonly key: string;
|
|
6638
6678
|
readonly op: "eq" | "neq";
|
|
@@ -6645,6 +6685,7 @@ export type SessionFormCreateInput = {
|
|
|
6645
6685
|
readonly title?: string;
|
|
6646
6686
|
readonly description?: string;
|
|
6647
6687
|
readonly required?: boolean;
|
|
6688
|
+
readonly hidden?: boolean;
|
|
6648
6689
|
readonly when?: ReadonlyArray<{
|
|
6649
6690
|
readonly key: string;
|
|
6650
6691
|
readonly op: "eq" | "neq";
|
|
@@ -6681,6 +6722,7 @@ export type SessionFormCreateInput = {
|
|
|
6681
6722
|
readonly title?: string;
|
|
6682
6723
|
readonly description?: string;
|
|
6683
6724
|
readonly required?: boolean;
|
|
6725
|
+
readonly hidden?: boolean;
|
|
6684
6726
|
readonly when?: ReadonlyArray<{
|
|
6685
6727
|
readonly key: string;
|
|
6686
6728
|
readonly op: "eq" | "neq";
|
|
@@ -6704,6 +6746,7 @@ export type SessionFormCreateInput = {
|
|
|
6704
6746
|
readonly title?: string;
|
|
6705
6747
|
readonly description?: string;
|
|
6706
6748
|
readonly required?: boolean;
|
|
6749
|
+
readonly hidden?: boolean;
|
|
6707
6750
|
readonly when?: ReadonlyArray<{
|
|
6708
6751
|
readonly key: string;
|
|
6709
6752
|
readonly op: "eq" | "neq";
|
|
@@ -6718,6 +6761,7 @@ export type SessionFormCreateInput = {
|
|
|
6718
6761
|
readonly title?: string;
|
|
6719
6762
|
readonly description?: string;
|
|
6720
6763
|
readonly required?: boolean;
|
|
6764
|
+
readonly hidden?: boolean;
|
|
6721
6765
|
readonly when?: ReadonlyArray<{
|
|
6722
6766
|
readonly key: string;
|
|
6723
6767
|
readonly op: "eq" | "neq";
|
|
@@ -6732,6 +6776,7 @@ export type SessionFormCreateInput = {
|
|
|
6732
6776
|
readonly title?: string;
|
|
6733
6777
|
readonly description?: string;
|
|
6734
6778
|
readonly required?: boolean;
|
|
6779
|
+
readonly hidden?: boolean;
|
|
6735
6780
|
readonly when?: ReadonlyArray<{
|
|
6736
6781
|
readonly key: string;
|
|
6737
6782
|
readonly op: "eq" | "neq";
|
|
@@ -6744,6 +6789,7 @@ export type SessionFormCreateInput = {
|
|
|
6744
6789
|
readonly title?: string;
|
|
6745
6790
|
readonly description?: string;
|
|
6746
6791
|
readonly required?: boolean;
|
|
6792
|
+
readonly hidden?: boolean;
|
|
6747
6793
|
readonly when?: ReadonlyArray<{
|
|
6748
6794
|
readonly key: string;
|
|
6749
6795
|
readonly op: "eq" | "neq";
|
|
@@ -6771,6 +6817,7 @@ export type SessionFormCreateInput = {
|
|
|
6771
6817
|
readonly title?: string;
|
|
6772
6818
|
readonly description?: string;
|
|
6773
6819
|
readonly required?: boolean;
|
|
6820
|
+
readonly hidden?: boolean;
|
|
6774
6821
|
readonly when?: ReadonlyArray<{
|
|
6775
6822
|
readonly key: string;
|
|
6776
6823
|
readonly op: "eq" | "neq";
|
|
@@ -6794,6 +6841,7 @@ export type SessionFormCreateInput = {
|
|
|
6794
6841
|
readonly title?: string;
|
|
6795
6842
|
readonly description?: string;
|
|
6796
6843
|
readonly required?: boolean;
|
|
6844
|
+
readonly hidden?: boolean;
|
|
6797
6845
|
readonly when?: ReadonlyArray<{
|
|
6798
6846
|
readonly key: string;
|
|
6799
6847
|
readonly op: "eq" | "neq";
|
|
@@ -6808,6 +6856,7 @@ export type SessionFormCreateInput = {
|
|
|
6808
6856
|
readonly title?: string;
|
|
6809
6857
|
readonly description?: string;
|
|
6810
6858
|
readonly required?: boolean;
|
|
6859
|
+
readonly hidden?: boolean;
|
|
6811
6860
|
readonly when?: ReadonlyArray<{
|
|
6812
6861
|
readonly key: string;
|
|
6813
6862
|
readonly op: "eq" | "neq";
|
|
@@ -6822,6 +6871,7 @@ export type SessionFormCreateInput = {
|
|
|
6822
6871
|
readonly title?: string;
|
|
6823
6872
|
readonly description?: string;
|
|
6824
6873
|
readonly required?: boolean;
|
|
6874
|
+
readonly hidden?: boolean;
|
|
6825
6875
|
readonly when?: ReadonlyArray<{
|
|
6826
6876
|
readonly key: string;
|
|
6827
6877
|
readonly op: "eq" | "neq";
|
|
@@ -6834,6 +6884,7 @@ export type SessionFormCreateInput = {
|
|
|
6834
6884
|
readonly title?: string;
|
|
6835
6885
|
readonly description?: string;
|
|
6836
6886
|
readonly required?: boolean;
|
|
6887
|
+
readonly hidden?: boolean;
|
|
6837
6888
|
readonly when?: ReadonlyArray<{
|
|
6838
6889
|
readonly key: string;
|
|
6839
6890
|
readonly op: "eq" | "neq";
|
package/dist/solid/data.js
CHANGED
|
@@ -704,6 +704,7 @@ export function createData(config) {
|
|
|
704
704
|
existing.finish = undefined;
|
|
705
705
|
existing.rawFinish = undefined;
|
|
706
706
|
existing.providerState = undefined;
|
|
707
|
+
existing.time.created = event.data.started;
|
|
707
708
|
existing.time.streamed = undefined;
|
|
708
709
|
existing.time.completed = undefined;
|
|
709
710
|
if (event.data.snapshot)
|
|
@@ -723,7 +724,7 @@ export function createData(config) {
|
|
|
723
724
|
metadata: event.metadata,
|
|
724
725
|
content: [],
|
|
725
726
|
snapshot: event.data.snapshot ? { start: event.data.snapshot } : undefined,
|
|
726
|
-
time: { created: event.
|
|
727
|
+
time: { created: event.data.started },
|
|
727
728
|
});
|
|
728
729
|
});
|
|
729
730
|
return;
|
|
@@ -910,6 +911,11 @@ export function createData(config) {
|
|
|
910
911
|
: "interrupted",
|
|
911
912
|
time: { created: event.created },
|
|
912
913
|
});
|
|
914
|
+
if (store.session.message[event.data.sessionID]?.some((item) => item.type === "assistant" &&
|
|
915
|
+
item.content.some((part) => part.type === "tool" && (part.state.status === "streaming" || part.state.status === "running")))) {
|
|
916
|
+
sync.invalidate(`session.message:${event.data.sessionID}`);
|
|
917
|
+
refresh(() => result.session.message.sync(event.data.sessionID));
|
|
918
|
+
}
|
|
913
919
|
// An event can overtake the first read; queue a revalidation when that read is still active.
|
|
914
920
|
if (!store.session.info[event.data.sessionID] && !sync.has(`session:${event.data.sessionID}`))
|
|
915
921
|
return;
|
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": "2.0.
|
|
4
|
+
"version": "2.0.8",
|
|
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": "2.0.
|
|
61
|
-
"@opencode/protocol": "2.0.
|
|
60
|
+
"@opencode/schema": "2.0.8",
|
|
61
|
+
"@opencode/protocol": "2.0.8"
|
|
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": "2.0.
|
|
77
|
+
"@opencode/httpapi-codegen": "2.0.8",
|
|
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",
|