@brainpilot/protocol 0.2.3 → 0.3.0-rc.2
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/domain.d.ts +954 -130
- package/dist/domain.d.ts.map +1 -1
- package/dist/domain.js +56 -3
- package/dist/domain.js.map +1 -1
- package/dist/error-copy.d.ts +18 -0
- package/dist/error-copy.d.ts.map +1 -0
- package/dist/error-copy.js +21 -0
- package/dist/error-copy.js.map +1 -0
- package/dist/events.d.ts +184 -3
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +43 -1
- package/dist/events.js.map +1 -1
- package/dist/http.d.ts +284 -3
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +51 -4
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/http.d.ts
CHANGED
|
@@ -93,6 +93,26 @@ export declare const CreateSessionRequestSchema: z.ZodObject<{
|
|
|
93
93
|
modelId: z.ZodOptional<z.ZodString>;
|
|
94
94
|
/** Per-session domain resources; omitted means full for backward compatibility. */
|
|
95
95
|
domainResources: z.ZodOptional<z.ZodEnum<["full", "base"]>>;
|
|
96
|
+
/** Per-conversation skills / knowledge / datasets / external tools. */
|
|
97
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
skillIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
99
|
+
knowledgeBaseIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
100
|
+
datasetIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
101
|
+
toolIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
102
|
+
builtinToolIds: z.ZodOptional<z.ZodArray<z.ZodEnum<["skill_search", "get_domain_knowledge_local", "search_papers_local"]>, "many">>;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
skillIds?: string[] | undefined;
|
|
105
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
106
|
+
datasetIds?: string[] | undefined;
|
|
107
|
+
toolIds?: string[] | undefined;
|
|
108
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
skillIds?: string[] | undefined;
|
|
111
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
112
|
+
datasetIds?: string[] | undefined;
|
|
113
|
+
toolIds?: string[] | undefined;
|
|
114
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
115
|
+
}>>;
|
|
96
116
|
/** One reasoning effort shared by every agent in this session. */
|
|
97
117
|
thinkingLevel: z.ZodOptional<z.ZodEnum<["off", "low", "medium", "high"]>>;
|
|
98
118
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -102,6 +122,13 @@ export declare const CreateSessionRequestSchema: z.ZodObject<{
|
|
|
102
122
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
103
123
|
providerId?: string | undefined;
|
|
104
124
|
modelId?: string | undefined;
|
|
125
|
+
resources?: {
|
|
126
|
+
skillIds?: string[] | undefined;
|
|
127
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
128
|
+
datasetIds?: string[] | undefined;
|
|
129
|
+
toolIds?: string[] | undefined;
|
|
130
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
131
|
+
} | undefined;
|
|
105
132
|
}, {
|
|
106
133
|
id?: string | undefined;
|
|
107
134
|
title?: string | undefined;
|
|
@@ -109,6 +136,13 @@ export declare const CreateSessionRequestSchema: z.ZodObject<{
|
|
|
109
136
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
110
137
|
providerId?: string | undefined;
|
|
111
138
|
modelId?: string | undefined;
|
|
139
|
+
resources?: {
|
|
140
|
+
skillIds?: string[] | undefined;
|
|
141
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
142
|
+
datasetIds?: string[] | undefined;
|
|
143
|
+
toolIds?: string[] | undefined;
|
|
144
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
145
|
+
} | undefined;
|
|
112
146
|
}>;
|
|
113
147
|
export type CreateSessionRequest = z.infer<typeof CreateSessionRequestSchema>;
|
|
114
148
|
export declare const CreateSessionResponseSchema: z.ZodObject<{
|
|
@@ -123,6 +157,25 @@ export declare const CreateSessionResponseSchema: z.ZodObject<{
|
|
|
123
157
|
reasoningSupported: z.ZodOptional<z.ZodBoolean>;
|
|
124
158
|
providerId: z.ZodOptional<z.ZodString>;
|
|
125
159
|
modelId: z.ZodOptional<z.ZodString>;
|
|
160
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
161
|
+
skillIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
162
|
+
knowledgeBaseIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
163
|
+
datasetIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
164
|
+
toolIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
165
|
+
builtinToolIds: z.ZodOptional<z.ZodArray<z.ZodEnum<["skill_search", "get_domain_knowledge_local", "search_papers_local"]>, "many">>;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
skillIds?: string[] | undefined;
|
|
168
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
169
|
+
datasetIds?: string[] | undefined;
|
|
170
|
+
toolIds?: string[] | undefined;
|
|
171
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
172
|
+
}, {
|
|
173
|
+
skillIds?: string[] | undefined;
|
|
174
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
175
|
+
datasetIds?: string[] | undefined;
|
|
176
|
+
toolIds?: string[] | undefined;
|
|
177
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
178
|
+
}>>;
|
|
126
179
|
}, "strip", z.ZodTypeAny, {
|
|
127
180
|
id: string;
|
|
128
181
|
title: string;
|
|
@@ -133,6 +186,13 @@ export declare const CreateSessionResponseSchema: z.ZodObject<{
|
|
|
133
186
|
reasoningSupported?: boolean | undefined;
|
|
134
187
|
providerId?: string | undefined;
|
|
135
188
|
modelId?: string | undefined;
|
|
189
|
+
resources?: {
|
|
190
|
+
skillIds?: string[] | undefined;
|
|
191
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
192
|
+
datasetIds?: string[] | undefined;
|
|
193
|
+
toolIds?: string[] | undefined;
|
|
194
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
195
|
+
} | undefined;
|
|
136
196
|
}, {
|
|
137
197
|
id: string;
|
|
138
198
|
title: string;
|
|
@@ -143,6 +203,13 @@ export declare const CreateSessionResponseSchema: z.ZodObject<{
|
|
|
143
203
|
reasoningSupported?: boolean | undefined;
|
|
144
204
|
providerId?: string | undefined;
|
|
145
205
|
modelId?: string | undefined;
|
|
206
|
+
resources?: {
|
|
207
|
+
skillIds?: string[] | undefined;
|
|
208
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
209
|
+
datasetIds?: string[] | undefined;
|
|
210
|
+
toolIds?: string[] | undefined;
|
|
211
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
212
|
+
} | undefined;
|
|
146
213
|
}>>;
|
|
147
214
|
}, "strip", z.ZodTypeAny, {
|
|
148
215
|
id: string;
|
|
@@ -156,6 +223,13 @@ export declare const CreateSessionResponseSchema: z.ZodObject<{
|
|
|
156
223
|
reasoningSupported?: boolean | undefined;
|
|
157
224
|
providerId?: string | undefined;
|
|
158
225
|
modelId?: string | undefined;
|
|
226
|
+
resources?: {
|
|
227
|
+
skillIds?: string[] | undefined;
|
|
228
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
229
|
+
datasetIds?: string[] | undefined;
|
|
230
|
+
toolIds?: string[] | undefined;
|
|
231
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
232
|
+
} | undefined;
|
|
159
233
|
} | undefined;
|
|
160
234
|
}, {
|
|
161
235
|
id: string;
|
|
@@ -169,18 +243,59 @@ export declare const CreateSessionResponseSchema: z.ZodObject<{
|
|
|
169
243
|
reasoningSupported?: boolean | undefined;
|
|
170
244
|
providerId?: string | undefined;
|
|
171
245
|
modelId?: string | undefined;
|
|
246
|
+
resources?: {
|
|
247
|
+
skillIds?: string[] | undefined;
|
|
248
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
249
|
+
datasetIds?: string[] | undefined;
|
|
250
|
+
toolIds?: string[] | undefined;
|
|
251
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
252
|
+
} | undefined;
|
|
172
253
|
} | undefined;
|
|
173
254
|
}>;
|
|
174
255
|
export type CreateSessionResponse = z.infer<typeof CreateSessionResponseSchema>;
|
|
175
256
|
export declare const UpdateSessionRequestSchema: z.ZodObject<{
|
|
176
257
|
title: z.ZodOptional<z.ZodString>;
|
|
177
258
|
thinkingLevel: z.ZodOptional<z.ZodEnum<["off", "low", "medium", "high"]>>;
|
|
259
|
+
/** Replace this conversation's resource scope. */
|
|
260
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
261
|
+
skillIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
262
|
+
knowledgeBaseIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
263
|
+
datasetIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
264
|
+
toolIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
265
|
+
builtinToolIds: z.ZodOptional<z.ZodArray<z.ZodEnum<["skill_search", "get_domain_knowledge_local", "search_papers_local"]>, "many">>;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
skillIds?: string[] | undefined;
|
|
268
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
269
|
+
datasetIds?: string[] | undefined;
|
|
270
|
+
toolIds?: string[] | undefined;
|
|
271
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
skillIds?: string[] | undefined;
|
|
274
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
275
|
+
datasetIds?: string[] | undefined;
|
|
276
|
+
toolIds?: string[] | undefined;
|
|
277
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
278
|
+
}>>;
|
|
178
279
|
}, "strip", z.ZodTypeAny, {
|
|
179
280
|
title?: string | undefined;
|
|
180
281
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
282
|
+
resources?: {
|
|
283
|
+
skillIds?: string[] | undefined;
|
|
284
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
285
|
+
datasetIds?: string[] | undefined;
|
|
286
|
+
toolIds?: string[] | undefined;
|
|
287
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
288
|
+
} | undefined;
|
|
181
289
|
}, {
|
|
182
290
|
title?: string | undefined;
|
|
183
291
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
292
|
+
resources?: {
|
|
293
|
+
skillIds?: string[] | undefined;
|
|
294
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
295
|
+
datasetIds?: string[] | undefined;
|
|
296
|
+
toolIds?: string[] | undefined;
|
|
297
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
298
|
+
} | undefined;
|
|
184
299
|
}>;
|
|
185
300
|
export type UpdateSessionRequest = z.infer<typeof UpdateSessionRequestSchema>;
|
|
186
301
|
export declare const ListSessionsResponseSchema: z.ZodObject<{
|
|
@@ -194,6 +309,25 @@ export declare const ListSessionsResponseSchema: z.ZodObject<{
|
|
|
194
309
|
reasoningSupported: z.ZodOptional<z.ZodBoolean>;
|
|
195
310
|
providerId: z.ZodOptional<z.ZodString>;
|
|
196
311
|
modelId: z.ZodOptional<z.ZodString>;
|
|
312
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
313
|
+
skillIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
314
|
+
knowledgeBaseIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
315
|
+
datasetIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
316
|
+
toolIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
317
|
+
builtinToolIds: z.ZodOptional<z.ZodArray<z.ZodEnum<["skill_search", "get_domain_knowledge_local", "search_papers_local"]>, "many">>;
|
|
318
|
+
}, "strip", z.ZodTypeAny, {
|
|
319
|
+
skillIds?: string[] | undefined;
|
|
320
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
321
|
+
datasetIds?: string[] | undefined;
|
|
322
|
+
toolIds?: string[] | undefined;
|
|
323
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
324
|
+
}, {
|
|
325
|
+
skillIds?: string[] | undefined;
|
|
326
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
327
|
+
datasetIds?: string[] | undefined;
|
|
328
|
+
toolIds?: string[] | undefined;
|
|
329
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
330
|
+
}>>;
|
|
197
331
|
}, "strip", z.ZodTypeAny, {
|
|
198
332
|
id: string;
|
|
199
333
|
title: string;
|
|
@@ -204,6 +338,13 @@ export declare const ListSessionsResponseSchema: z.ZodObject<{
|
|
|
204
338
|
reasoningSupported?: boolean | undefined;
|
|
205
339
|
providerId?: string | undefined;
|
|
206
340
|
modelId?: string | undefined;
|
|
341
|
+
resources?: {
|
|
342
|
+
skillIds?: string[] | undefined;
|
|
343
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
344
|
+
datasetIds?: string[] | undefined;
|
|
345
|
+
toolIds?: string[] | undefined;
|
|
346
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
347
|
+
} | undefined;
|
|
207
348
|
}, {
|
|
208
349
|
id: string;
|
|
209
350
|
title: string;
|
|
@@ -214,6 +355,13 @@ export declare const ListSessionsResponseSchema: z.ZodObject<{
|
|
|
214
355
|
reasoningSupported?: boolean | undefined;
|
|
215
356
|
providerId?: string | undefined;
|
|
216
357
|
modelId?: string | undefined;
|
|
358
|
+
resources?: {
|
|
359
|
+
skillIds?: string[] | undefined;
|
|
360
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
361
|
+
datasetIds?: string[] | undefined;
|
|
362
|
+
toolIds?: string[] | undefined;
|
|
363
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
364
|
+
} | undefined;
|
|
217
365
|
}>, "many">;
|
|
218
366
|
}, "strip", z.ZodTypeAny, {
|
|
219
367
|
sessions: {
|
|
@@ -226,6 +374,13 @@ export declare const ListSessionsResponseSchema: z.ZodObject<{
|
|
|
226
374
|
reasoningSupported?: boolean | undefined;
|
|
227
375
|
providerId?: string | undefined;
|
|
228
376
|
modelId?: string | undefined;
|
|
377
|
+
resources?: {
|
|
378
|
+
skillIds?: string[] | undefined;
|
|
379
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
380
|
+
datasetIds?: string[] | undefined;
|
|
381
|
+
toolIds?: string[] | undefined;
|
|
382
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
383
|
+
} | undefined;
|
|
229
384
|
}[];
|
|
230
385
|
}, {
|
|
231
386
|
sessions: {
|
|
@@ -238,6 +393,13 @@ export declare const ListSessionsResponseSchema: z.ZodObject<{
|
|
|
238
393
|
reasoningSupported?: boolean | undefined;
|
|
239
394
|
providerId?: string | undefined;
|
|
240
395
|
modelId?: string | undefined;
|
|
396
|
+
resources?: {
|
|
397
|
+
skillIds?: string[] | undefined;
|
|
398
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
399
|
+
datasetIds?: string[] | undefined;
|
|
400
|
+
toolIds?: string[] | undefined;
|
|
401
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
402
|
+
} | undefined;
|
|
241
403
|
}[];
|
|
242
404
|
}>;
|
|
243
405
|
export type ListSessionsResponse = z.infer<typeof ListSessionsResponseSchema>;
|
|
@@ -251,6 +413,25 @@ export declare const GetSessionResponseSchema: z.ZodObject<{
|
|
|
251
413
|
reasoningSupported: z.ZodOptional<z.ZodBoolean>;
|
|
252
414
|
providerId: z.ZodOptional<z.ZodString>;
|
|
253
415
|
modelId: z.ZodOptional<z.ZodString>;
|
|
416
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
417
|
+
skillIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
418
|
+
knowledgeBaseIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
419
|
+
datasetIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
420
|
+
toolIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
421
|
+
builtinToolIds: z.ZodOptional<z.ZodArray<z.ZodEnum<["skill_search", "get_domain_knowledge_local", "search_papers_local"]>, "many">>;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
skillIds?: string[] | undefined;
|
|
424
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
425
|
+
datasetIds?: string[] | undefined;
|
|
426
|
+
toolIds?: string[] | undefined;
|
|
427
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
428
|
+
}, {
|
|
429
|
+
skillIds?: string[] | undefined;
|
|
430
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
431
|
+
datasetIds?: string[] | undefined;
|
|
432
|
+
toolIds?: string[] | undefined;
|
|
433
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
434
|
+
}>>;
|
|
254
435
|
}, "strip", z.ZodTypeAny, {
|
|
255
436
|
id: string;
|
|
256
437
|
title: string;
|
|
@@ -261,6 +442,13 @@ export declare const GetSessionResponseSchema: z.ZodObject<{
|
|
|
261
442
|
reasoningSupported?: boolean | undefined;
|
|
262
443
|
providerId?: string | undefined;
|
|
263
444
|
modelId?: string | undefined;
|
|
445
|
+
resources?: {
|
|
446
|
+
skillIds?: string[] | undefined;
|
|
447
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
448
|
+
datasetIds?: string[] | undefined;
|
|
449
|
+
toolIds?: string[] | undefined;
|
|
450
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
451
|
+
} | undefined;
|
|
264
452
|
}, {
|
|
265
453
|
id: string;
|
|
266
454
|
title: string;
|
|
@@ -271,6 +459,13 @@ export declare const GetSessionResponseSchema: z.ZodObject<{
|
|
|
271
459
|
reasoningSupported?: boolean | undefined;
|
|
272
460
|
providerId?: string | undefined;
|
|
273
461
|
modelId?: string | undefined;
|
|
462
|
+
resources?: {
|
|
463
|
+
skillIds?: string[] | undefined;
|
|
464
|
+
knowledgeBaseIds?: string[] | undefined;
|
|
465
|
+
datasetIds?: string[] | undefined;
|
|
466
|
+
toolIds?: string[] | undefined;
|
|
467
|
+
builtinToolIds?: ("skill_search" | "get_domain_knowledge_local" | "search_papers_local")[] | undefined;
|
|
468
|
+
} | undefined;
|
|
274
469
|
}>;
|
|
275
470
|
export type GetSessionResponse = z.infer<typeof GetSessionResponseSchema>;
|
|
276
471
|
export declare const DeleteSessionResponseSchema: z.ZodObject<{
|
|
@@ -2335,6 +2530,81 @@ export declare const InterruptToolResponseSchema: z.ZodObject<{
|
|
|
2335
2530
|
reason?: "timeout" | "already_finished" | "not_cancellable" | undefined;
|
|
2336
2531
|
}>;
|
|
2337
2532
|
export type InterruptToolResponse = z.infer<typeof InterruptToolResponseSchema>;
|
|
2533
|
+
/**
|
|
2534
|
+
* Ask a running expert to stop expanding and hand back its best current
|
|
2535
|
+
* result on the next step. This is not an abort: the task stays pending until
|
|
2536
|
+
* the expert calls `complete_task(partial)` or the runtime's final-step
|
|
2537
|
+
* fallback does so with the last assistant text.
|
|
2538
|
+
*/
|
|
2539
|
+
export declare const WrapUpAgentRequestSchema: z.ZodObject<{
|
|
2540
|
+
/** Optional task to wrap up; defaults to the agent's oldest pending task. */
|
|
2541
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
2542
|
+
}, "strip", z.ZodTypeAny, {
|
|
2543
|
+
task_id?: string | undefined;
|
|
2544
|
+
}, {
|
|
2545
|
+
task_id?: string | undefined;
|
|
2546
|
+
}>;
|
|
2547
|
+
export type WrapUpAgentRequest = z.infer<typeof WrapUpAgentRequestSchema>;
|
|
2548
|
+
export declare const WrapUpAgentResponseSchema: z.ZodObject<{
|
|
2549
|
+
wrapped: z.ZodBoolean;
|
|
2550
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
2551
|
+
steps_used: z.ZodOptional<z.ZodNumber>;
|
|
2552
|
+
max_steps: z.ZodOptional<z.ZodNumber>;
|
|
2553
|
+
reason: z.ZodOptional<z.ZodEnum<["no_pending_task", "already_completed", "not_running"]>>;
|
|
2554
|
+
}, "strip", z.ZodTypeAny, {
|
|
2555
|
+
wrapped: boolean;
|
|
2556
|
+
reason?: "no_pending_task" | "already_completed" | "not_running" | undefined;
|
|
2557
|
+
max_steps?: number | undefined;
|
|
2558
|
+
steps_used?: number | undefined;
|
|
2559
|
+
task_id?: string | undefined;
|
|
2560
|
+
}, {
|
|
2561
|
+
wrapped: boolean;
|
|
2562
|
+
reason?: "no_pending_task" | "already_completed" | "not_running" | undefined;
|
|
2563
|
+
max_steps?: number | undefined;
|
|
2564
|
+
steps_used?: number | undefined;
|
|
2565
|
+
task_id?: string | undefined;
|
|
2566
|
+
}>;
|
|
2567
|
+
export type WrapUpAgentResponse = z.infer<typeof WrapUpAgentResponseSchema>;
|
|
2568
|
+
/**
|
|
2569
|
+
* POST /sessions/:id/tasks/:taskId/resume — continue a partial/replied or
|
|
2570
|
+
* interrupted task with the same expert (same context, appended budget).
|
|
2571
|
+
*/
|
|
2572
|
+
export declare const ResumeTaskRequestSchema: z.ZodObject<{
|
|
2573
|
+
/** Extra model-turn budget to append. Defaults to the task's default budget. */
|
|
2574
|
+
additional_steps: z.ZodOptional<z.ZodNumber>;
|
|
2575
|
+
/** Optional user/principal instruction to inject with the resume event. */
|
|
2576
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
2577
|
+
}, "strip", z.ZodTypeAny, {
|
|
2578
|
+
additional_steps?: number | undefined;
|
|
2579
|
+
instruction?: string | undefined;
|
|
2580
|
+
}, {
|
|
2581
|
+
additional_steps?: number | undefined;
|
|
2582
|
+
instruction?: string | undefined;
|
|
2583
|
+
}>;
|
|
2584
|
+
export type ResumeTaskRequest = z.infer<typeof ResumeTaskRequestSchema>;
|
|
2585
|
+
export declare const ResumeTaskResponseSchema: z.ZodObject<{
|
|
2586
|
+
resumed: z.ZodBoolean;
|
|
2587
|
+
task: z.ZodOptional<z.ZodString>;
|
|
2588
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "replied", "cancelled"]>>;
|
|
2589
|
+
steps_used: z.ZodOptional<z.ZodNumber>;
|
|
2590
|
+
max_steps: z.ZodOptional<z.ZodNumber>;
|
|
2591
|
+
reason: z.ZodOptional<z.ZodEnum<["not_found", "not_partial", "still_pending", "not_creator"]>>;
|
|
2592
|
+
}, "strip", z.ZodTypeAny, {
|
|
2593
|
+
resumed: boolean;
|
|
2594
|
+
status?: "cancelled" | "pending" | "replied" | undefined;
|
|
2595
|
+
task?: string | undefined;
|
|
2596
|
+
reason?: "not_found" | "not_partial" | "still_pending" | "not_creator" | undefined;
|
|
2597
|
+
max_steps?: number | undefined;
|
|
2598
|
+
steps_used?: number | undefined;
|
|
2599
|
+
}, {
|
|
2600
|
+
resumed: boolean;
|
|
2601
|
+
status?: "cancelled" | "pending" | "replied" | undefined;
|
|
2602
|
+
task?: string | undefined;
|
|
2603
|
+
reason?: "not_found" | "not_partial" | "still_pending" | "not_creator" | undefined;
|
|
2604
|
+
max_steps?: number | undefined;
|
|
2605
|
+
steps_used?: number | undefined;
|
|
2606
|
+
}>;
|
|
2607
|
+
export type ResumeTaskResponse = z.infer<typeof ResumeTaskResponseSchema>;
|
|
2338
2608
|
/** #47: base64 JSON upload body. Content is base64 (binary-safe over the JSON byte chain). */
|
|
2339
2609
|
export declare const WriteFileRequestSchema: z.ZodObject<{
|
|
2340
2610
|
/** Workspace-relative path (a leading `/workspace` prefix is tolerated). */
|
|
@@ -2531,7 +2801,7 @@ export declare const RUNTIME_ROUTES: {
|
|
|
2531
2801
|
readonly method: "GET";
|
|
2532
2802
|
readonly path: "/sessions/:id";
|
|
2533
2803
|
};
|
|
2534
|
-
/** Update session metadata (
|
|
2804
|
+
/** Update session metadata (`title`, `thinkingLevel`, `resources`); persists to meta.json. */
|
|
2535
2805
|
readonly updateSession: {
|
|
2536
2806
|
readonly method: "PUT";
|
|
2537
2807
|
readonly path: "/sessions/:id";
|
|
@@ -2612,8 +2882,9 @@ export declare const RUNTIME_ROUTES: {
|
|
|
2612
2882
|
* Persisted AG-UI event history from `events.jsonl`. The SPA calls this on
|
|
2613
2883
|
* session activation to rehydrate chat after a runtime restart (the SSE
|
|
2614
2884
|
* stream only replays the in-memory ring buffer). Query: `?limit=N`
|
|
2615
|
-
* (default 1000, capped at 5000
|
|
2616
|
-
* the
|
|
2885
|
+
* (default 1000, capped at 5000; zero/negative uses default). A byte cap also
|
|
2886
|
+
* bounds reads. `cursor=start` walks from the beginning with nextCursor until
|
|
2887
|
+
* the frozen EOF; total is null until known. No request materializes the log.
|
|
2617
2888
|
*/
|
|
2618
2889
|
readonly getSessionHistory: {
|
|
2619
2890
|
readonly method: "GET";
|
|
@@ -2627,6 +2898,16 @@ export declare const RUNTIME_ROUTES: {
|
|
|
2627
2898
|
readonly method: "POST";
|
|
2628
2899
|
readonly path: "/sessions/:id/tools/:toolCallId/interrupt";
|
|
2629
2900
|
};
|
|
2901
|
+
/** Soft "deliver what you have now" request for one expert (next step wraps up). */
|
|
2902
|
+
readonly wrapUpAgent: {
|
|
2903
|
+
readonly method: "POST";
|
|
2904
|
+
readonly path: "/sessions/:id/agents/:name/wrap-up";
|
|
2905
|
+
};
|
|
2906
|
+
/** Continue a partial/interrupted task with the same expert and appended budget. */
|
|
2907
|
+
readonly resumeTask: {
|
|
2908
|
+
readonly method: "POST";
|
|
2909
|
+
readonly path: "/sessions/:id/tasks/:taskId/resume";
|
|
2910
|
+
};
|
|
2630
2911
|
readonly listAgents: {
|
|
2631
2912
|
readonly method: "GET";
|
|
2632
2913
|
readonly path: "/sessions/:id/agents";
|
package/dist/http.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../src/http.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../src/http.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE3D,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,gDAAgD;IAChD,QAAQ,CAAC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,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQzB,8FAA8F;;;;;;;;;;;;;IAI9F;;;;OAIG;;;;;IAEH,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYpD,4CAA4C;;;;;IAE5C,8EAA8E;;;;;IAE9E;;;;;;;OAOG;;;;;;;;;;;;;IAIH,oFAAoF;;;;;IAEpF,oFAAoF;;;;;;;;;;;;;IAIpF;;;;;;;;;OASG;;;;;;;;;;;;;;;;;IAKH;;;;OAIG;;;;;CAEwC,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,cAAc,CAAC"}
|
package/dist/http.js
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*/
|
|
26
26
|
import { z } from "zod";
|
|
27
27
|
import { AgUiEventSchema } from "./events.js";
|
|
28
|
-
import { AgentStatusSchema, SessionSchema, ThinkingLevelSchema, SessionStateSnapshotSchema, SessionStatsSchema, TraceDependencySchema, } from "./domain.js";
|
|
28
|
+
import { AgentStatusSchema, SessionSchema, ThinkingLevelSchema, SessionStateSnapshotSchema, SessionResourcesSchema, SessionStatsSchema, TraceDependencySchema, } from "./domain.js";
|
|
29
29
|
/* ------------------------------------------------------------------ *
|
|
30
30
|
* GET /health
|
|
31
31
|
* ------------------------------------------------------------------ */
|
|
@@ -73,6 +73,8 @@ export const CreateSessionRequestSchema = z.object({
|
|
|
73
73
|
modelId: z.string().optional(),
|
|
74
74
|
/** Per-session domain resources; omitted means full for backward compatibility. */
|
|
75
75
|
domainResources: z.enum(["full", "base"]).optional(),
|
|
76
|
+
/** Per-conversation skills / knowledge / datasets / external tools. */
|
|
77
|
+
resources: SessionResourcesSchema.optional(),
|
|
76
78
|
/** One reasoning effort shared by every agent in this session. */
|
|
77
79
|
thinkingLevel: ThinkingLevelSchema.optional(),
|
|
78
80
|
});
|
|
@@ -83,6 +85,8 @@ export const CreateSessionResponseSchema = z.object({
|
|
|
83
85
|
export const UpdateSessionRequestSchema = z.object({
|
|
84
86
|
title: z.string().optional(),
|
|
85
87
|
thinkingLevel: ThinkingLevelSchema.optional(),
|
|
88
|
+
/** Replace this conversation's resource scope. */
|
|
89
|
+
resources: SessionResourcesSchema.optional(),
|
|
86
90
|
});
|
|
87
91
|
/* ------------------------------------------------------------------ *
|
|
88
92
|
* GET /sessions (list) + GET /sessions/:id + DELETE /sessions/:id
|
|
@@ -183,6 +187,44 @@ export const InterruptToolResponseSchema = z.object({
|
|
|
183
187
|
toolCallId: z.string(),
|
|
184
188
|
reason: z.enum(["already_finished", "not_cancellable", "timeout"]).optional(),
|
|
185
189
|
});
|
|
190
|
+
/* ------------------------------------------------------------------ *
|
|
191
|
+
* POST /sessions/:id/agents/:name/wrap-up (soft early delivery)
|
|
192
|
+
* ------------------------------------------------------------------ */
|
|
193
|
+
/**
|
|
194
|
+
* Ask a running expert to stop expanding and hand back its best current
|
|
195
|
+
* result on the next step. This is not an abort: the task stays pending until
|
|
196
|
+
* the expert calls `complete_task(partial)` or the runtime's final-step
|
|
197
|
+
* fallback does so with the last assistant text.
|
|
198
|
+
*/
|
|
199
|
+
export const WrapUpAgentRequestSchema = z.object({
|
|
200
|
+
/** Optional task to wrap up; defaults to the agent's oldest pending task. */
|
|
201
|
+
task_id: z.string().optional(),
|
|
202
|
+
});
|
|
203
|
+
export const WrapUpAgentResponseSchema = z.object({
|
|
204
|
+
wrapped: z.boolean(),
|
|
205
|
+
task_id: z.string().optional(),
|
|
206
|
+
steps_used: z.number().int().nonnegative().optional(),
|
|
207
|
+
max_steps: z.number().int().positive().optional(),
|
|
208
|
+
reason: z.enum(["no_pending_task", "already_completed", "not_running"]).optional(),
|
|
209
|
+
});
|
|
210
|
+
/**
|
|
211
|
+
* POST /sessions/:id/tasks/:taskId/resume — continue a partial/replied or
|
|
212
|
+
* interrupted task with the same expert (same context, appended budget).
|
|
213
|
+
*/
|
|
214
|
+
export const ResumeTaskRequestSchema = z.object({
|
|
215
|
+
/** Extra model-turn budget to append. Defaults to the task's default budget. */
|
|
216
|
+
additional_steps: z.number().int().positive().max(200).optional(),
|
|
217
|
+
/** Optional user/principal instruction to inject with the resume event. */
|
|
218
|
+
instruction: z.string().trim().max(4000).optional(),
|
|
219
|
+
});
|
|
220
|
+
export const ResumeTaskResponseSchema = z.object({
|
|
221
|
+
resumed: z.boolean(),
|
|
222
|
+
task: z.string().optional(),
|
|
223
|
+
status: z.enum(["pending", "replied", "cancelled"]).optional(),
|
|
224
|
+
steps_used: z.number().int().nonnegative().optional(),
|
|
225
|
+
max_steps: z.number().int().positive().optional(),
|
|
226
|
+
reason: z.enum(["not_found", "not_partial", "still_pending", "not_creator"]).optional(),
|
|
227
|
+
});
|
|
186
228
|
/* ------------------------------------------------------------------ *
|
|
187
229
|
* POST /sessions/:id/files (#47 — upload a file into the workspace)
|
|
188
230
|
* ------------------------------------------------------------------ *
|
|
@@ -233,7 +275,7 @@ export const RUNTIME_ROUTES = {
|
|
|
233
275
|
createSession: { method: "POST", path: "/sessions" },
|
|
234
276
|
listSessions: { method: "GET", path: "/sessions" },
|
|
235
277
|
getSession: { method: "GET", path: "/sessions/:id" },
|
|
236
|
-
/** Update session metadata (
|
|
278
|
+
/** Update session metadata (`title`, `thinkingLevel`, `resources`); persists to meta.json. */
|
|
237
279
|
updateSession: { method: "PUT", path: "/sessions/:id" },
|
|
238
280
|
deleteSession: { method: "DELETE", path: "/sessions/:id" },
|
|
239
281
|
getSessionState: { method: "GET", path: "/sessions/:id/state" },
|
|
@@ -263,12 +305,17 @@ export const RUNTIME_ROUTES = {
|
|
|
263
305
|
* Persisted AG-UI event history from `events.jsonl`. The SPA calls this on
|
|
264
306
|
* session activation to rehydrate chat after a runtime restart (the SSE
|
|
265
307
|
* stream only replays the in-memory ring buffer). Query: `?limit=N`
|
|
266
|
-
* (default 1000, capped at 5000
|
|
267
|
-
* the
|
|
308
|
+
* (default 1000, capped at 5000; zero/negative uses default). A byte cap also
|
|
309
|
+
* bounds reads. `cursor=start` walks from the beginning with nextCursor until
|
|
310
|
+
* the frozen EOF; total is null until known. No request materializes the log.
|
|
268
311
|
*/
|
|
269
312
|
getSessionHistory: { method: "GET", path: "/sessions/:id/history" },
|
|
270
313
|
interrupt: { method: "POST", path: "/sessions/:id/interrupt" },
|
|
271
314
|
interruptTool: { method: "POST", path: "/sessions/:id/tools/:toolCallId/interrupt" },
|
|
315
|
+
/** Soft "deliver what you have now" request for one expert (next step wraps up). */
|
|
316
|
+
wrapUpAgent: { method: "POST", path: "/sessions/:id/agents/:name/wrap-up" },
|
|
317
|
+
/** Continue a partial/interrupted task with the same expert and appended budget. */
|
|
318
|
+
resumeTask: { method: "POST", path: "/sessions/:id/tasks/:taskId/resume" },
|
|
272
319
|
listAgents: { method: "GET", path: "/sessions/:id/agents" },
|
|
273
320
|
evictSession: { method: "POST", path: "/sessions/:id/evict" },
|
|
274
321
|
/**
|
package/dist/http.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.js","sourceRoot":"","sources":["../src/http.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAUrB;;wEAEwE;AAExE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1D,8EAA8E;IAC9E,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,C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M,EAAE,KAAK,EAAE,IAAI,EAAE,qBAAqB,EAAE;IACzD,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,6BAA6B,EAAE;IAChE,WAAW,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,yBAAyB,EAAE;IAC/D,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAqB,EAAE;IAC7D;;;;OAIG;IACH,SAAS,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE;CACf,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,UAAU,CAAC;AAExC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,UAAU,CAAC;AAExC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,OAAO,CAAC;AAExC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,OAAO,CAAC;AAExC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC"}
|