@brainpilot/protocol 0.2.3 → 0.3.0-rc.1
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/http.d.ts +199 -3
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +9 -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<{
|
|
@@ -2531,7 +2726,7 @@ export declare const RUNTIME_ROUTES: {
|
|
|
2531
2726
|
readonly method: "GET";
|
|
2532
2727
|
readonly path: "/sessions/:id";
|
|
2533
2728
|
};
|
|
2534
|
-
/** Update session metadata (
|
|
2729
|
+
/** Update session metadata (`title`, `thinkingLevel`, `resources`); persists to meta.json. */
|
|
2535
2730
|
readonly updateSession: {
|
|
2536
2731
|
readonly method: "PUT";
|
|
2537
2732
|
readonly path: "/sessions/:id";
|
|
@@ -2612,8 +2807,9 @@ export declare const RUNTIME_ROUTES: {
|
|
|
2612
2807
|
* Persisted AG-UI event history from `events.jsonl`. The SPA calls this on
|
|
2613
2808
|
* session activation to rehydrate chat after a runtime restart (the SSE
|
|
2614
2809
|
* stream only replays the in-memory ring buffer). Query: `?limit=N`
|
|
2615
|
-
* (default 1000, capped at 5000
|
|
2616
|
-
* the
|
|
2810
|
+
* (default 1000, capped at 5000; zero/negative uses default). A byte cap also
|
|
2811
|
+
* bounds reads. `cursor=start` walks from the beginning with nextCursor until
|
|
2812
|
+
* the frozen EOF; total is null until known. No request materializes the log.
|
|
2617
2813
|
*/
|
|
2618
2814
|
readonly getSessionHistory: {
|
|
2619
2815
|
readonly method: "GET";
|
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,IA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KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAMxE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM1E,eAAO,MAAM,0BAA0B;;IAErC,2CAA2C;;;;;;;;EAE3C,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAM9E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQzB,8FAA8F;;;;;;;;;;;;;IAI9F;;;;OAIG;;;;;IAEH,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYpD,4CAA4C;;;;;IAE5C,8EAA8E;;;;;IAE9E;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;IAMH;;;;;;;;;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
|
|
@@ -233,7 +237,7 @@ export const RUNTIME_ROUTES = {
|
|
|
233
237
|
createSession: { method: "POST", path: "/sessions" },
|
|
234
238
|
listSessions: { method: "GET", path: "/sessions" },
|
|
235
239
|
getSession: { method: "GET", path: "/sessions/:id" },
|
|
236
|
-
/** Update session metadata (
|
|
240
|
+
/** Update session metadata (`title`, `thinkingLevel`, `resources`); persists to meta.json. */
|
|
237
241
|
updateSession: { method: "PUT", path: "/sessions/:id" },
|
|
238
242
|
deleteSession: { method: "DELETE", path: "/sessions/:id" },
|
|
239
243
|
getSessionState: { method: "GET", path: "/sessions/:id/state" },
|
|
@@ -263,8 +267,9 @@ export const RUNTIME_ROUTES = {
|
|
|
263
267
|
* Persisted AG-UI event history from `events.jsonl`. The SPA calls this on
|
|
264
268
|
* session activation to rehydrate chat after a runtime restart (the SSE
|
|
265
269
|
* stream only replays the in-memory ring buffer). Query: `?limit=N`
|
|
266
|
-
* (default 1000, capped at 5000
|
|
267
|
-
* the
|
|
270
|
+
* (default 1000, capped at 5000; zero/negative uses default). A byte cap also
|
|
271
|
+
* bounds reads. `cursor=start` walks from the beginning with nextCursor until
|
|
272
|
+
* the frozen EOF; total is null until known. No request materializes the log.
|
|
268
273
|
*/
|
|
269
274
|
getSessionHistory: { method: "GET", path: "/sessions/:id/history" },
|
|
270
275
|
interrupt: { method: "POST", path: "/sessions/:id/interrupt" },
|
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,CAAC,CAAC,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAGH;;wEAEwE;AAExE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,C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EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,sBAAsB,EAAE;IACnE;;;;;;;OAOG;IACH,iBAAiB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,uBAAuB,EAAE;IACnE,SAAS,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE;IAC9D,aAAa,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,2CAA2C,EAAE;IACpF,UAAU,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,sBAAsB,EAAE;IAC3D,YAAY,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE;IAC7D;;;;;;;;;OASG;IACH,SAAS,EAAE,EAAE,MAAM,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"}
|