@linnlabs/linnkit 0.35.1 → 0.36.0

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.
Files changed (49) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cli.cjs +13 -3
  3. package/dist/cli.cjs.map +1 -1
  4. package/dist/cli.js +13 -3
  5. package/dist/cli.js.map +1 -1
  6. package/dist/contracts/agentSpec.d.cts +30 -30
  7. package/dist/contracts/agentSpec.d.ts +30 -30
  8. package/dist/contracts/audit.d.cts +32 -32
  9. package/dist/contracts/audit.d.ts +32 -32
  10. package/dist/contracts/contextPolicy.d.cts +36 -36
  11. package/dist/contracts/contextPolicy.d.ts +36 -36
  12. package/dist/contracts/events.d.cts +1114 -1114
  13. package/dist/contracts/events.d.ts +1114 -1114
  14. package/dist/contracts/execution.d.cts +8 -8
  15. package/dist/contracts/execution.d.ts +8 -8
  16. package/dist/contracts/messages.d.cts +1178 -1178
  17. package/dist/contracts/messages.d.ts +1178 -1178
  18. package/dist/contracts/provider-continuation.d.cts +28 -28
  19. package/dist/contracts/provider-continuation.d.ts +28 -28
  20. package/dist/contracts/sse.d.cts +899 -899
  21. package/dist/contracts/sse.d.ts +899 -899
  22. package/dist/contracts/sub-run-trace-payload.d.cts +26 -26
  23. package/dist/contracts/sub-run-trace-payload.d.ts +26 -26
  24. package/dist/contracts/token-accounting.d.cts +46 -46
  25. package/dist/contracts/token-accounting.d.ts +46 -46
  26. package/dist/index.cjs +13 -3
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.js +13 -3
  29. package/dist/index.js.map +1 -1
  30. package/dist/quickstart.cjs +13 -3
  31. package/dist/quickstart.cjs.map +1 -1
  32. package/dist/quickstart.js +13 -3
  33. package/dist/quickstart.js.map +1 -1
  34. package/dist/runtime-kernel/events/agentEvents.d.cts +172 -172
  35. package/dist/runtime-kernel/events/agentEvents.d.ts +172 -172
  36. package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.cts +3 -1
  37. package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.ts +3 -1
  38. package/dist/runtime-kernel/run-supervisor/runSupervisor.d.cts +2 -2
  39. package/dist/runtime-kernel/run-supervisor/runSupervisor.d.ts +2 -2
  40. package/dist/runtime-kernel.cjs +13 -3
  41. package/dist/runtime-kernel.cjs.map +1 -1
  42. package/dist/runtime-kernel.js +13 -3
  43. package/dist/runtime-kernel.js.map +1 -1
  44. package/dist/testkit.cjs +13 -3
  45. package/dist/testkit.cjs.map +1 -1
  46. package/dist/testkit.js +13 -3
  47. package/dist/testkit.js.map +1 -1
  48. package/docs/integration/run-supervisor.md +2 -0
  49. package/package.json +2 -2
@@ -51,6 +51,7 @@ declare const ProviderContinuation: z.ZodObject<{
51
51
  kind: z.ZodString;
52
52
  payload: z.ZodType<SerializableJsonValue, z.ZodTypeDef, SerializableJsonValue>;
53
53
  }, "strict", z.ZodTypeAny, {
54
+ kind: string;
54
55
  schema_version: 2;
55
56
  producer: {
56
57
  model_id: string;
@@ -59,9 +60,9 @@ declare const ProviderContinuation: z.ZodObject<{
59
60
  capability_id: string;
60
61
  endpoint_model_id: string;
61
62
  };
62
- kind: string;
63
63
  payload: SerializableJsonValue;
64
64
  }, {
65
+ kind: string;
65
66
  schema_version: 2;
66
67
  producer: {
67
68
  model_id: string;
@@ -70,7 +71,6 @@ declare const ProviderContinuation: z.ZodObject<{
70
71
  capability_id: string;
71
72
  endpoint_model_id: string;
72
73
  };
73
- kind: string;
74
74
  payload: SerializableJsonValue;
75
75
  }>;
76
76
  type ProviderContinuation = z.infer<typeof ProviderContinuation>;
@@ -98,6 +98,7 @@ declare const ProviderContinuations: z.ZodArray<z.ZodObject<{
98
98
  kind: z.ZodString;
99
99
  payload: z.ZodType<SerializableJsonValue, z.ZodTypeDef, SerializableJsonValue>;
100
100
  }, "strict", z.ZodTypeAny, {
101
+ kind: string;
101
102
  schema_version: 2;
102
103
  producer: {
103
104
  model_id: string;
@@ -106,9 +107,9 @@ declare const ProviderContinuations: z.ZodArray<z.ZodObject<{
106
107
  capability_id: string;
107
108
  endpoint_model_id: string;
108
109
  };
109
- kind: string;
110
110
  payload: SerializableJsonValue;
111
111
  }, {
112
+ kind: string;
112
113
  schema_version: 2;
113
114
  producer: {
114
115
  model_id: string;
@@ -117,7 +118,6 @@ declare const ProviderContinuations: z.ZodArray<z.ZodObject<{
117
118
  capability_id: string;
118
119
  endpoint_model_id: string;
119
120
  };
120
- kind: string;
121
121
  payload: SerializableJsonValue;
122
122
  }>, "many">;
123
123
  type ProviderContinuations = z.infer<typeof ProviderContinuations>;
@@ -154,6 +154,7 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
154
154
  kind: z.ZodString;
155
155
  payload: z.ZodType<SerializableJsonValue, z.ZodTypeDef, SerializableJsonValue>;
156
156
  }, "strict", z.ZodTypeAny, {
157
+ kind: string;
157
158
  schema_version: 2;
158
159
  producer: {
159
160
  model_id: string;
@@ -162,9 +163,9 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
162
163
  capability_id: string;
163
164
  endpoint_model_id: string;
164
165
  };
165
- kind: string;
166
166
  payload: SerializableJsonValue;
167
167
  }, {
168
+ kind: string;
168
169
  schema_version: 2;
169
170
  producer: {
170
171
  model_id: string;
@@ -173,13 +174,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
173
174
  capability_id: string;
174
175
  endpoint_model_id: string;
175
176
  };
176
- kind: string;
177
177
  payload: SerializableJsonValue;
178
178
  }>, "many">>;
179
179
  }, "strict", z.ZodTypeAny, {
180
180
  type: "text";
181
181
  text: string;
182
182
  provider_continuations?: {
183
+ kind: string;
183
184
  schema_version: 2;
184
185
  producer: {
185
186
  model_id: string;
@@ -188,13 +189,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
188
189
  capability_id: string;
189
190
  endpoint_model_id: string;
190
191
  };
191
- kind: string;
192
192
  payload: SerializableJsonValue;
193
193
  }[] | undefined;
194
194
  }, {
195
195
  type: "text";
196
196
  text: string;
197
197
  provider_continuations?: {
198
+ kind: string;
198
199
  schema_version: 2;
199
200
  producer: {
200
201
  model_id: string;
@@ -203,7 +204,6 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
203
204
  capability_id: string;
204
205
  endpoint_model_id: string;
205
206
  };
206
- kind: string;
207
207
  payload: SerializableJsonValue;
208
208
  }[] | undefined;
209
209
  }>, z.ZodObject<{
@@ -233,6 +233,7 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
233
233
  kind: z.ZodString;
234
234
  payload: z.ZodType<SerializableJsonValue, z.ZodTypeDef, SerializableJsonValue>;
235
235
  }, "strict", z.ZodTypeAny, {
236
+ kind: string;
236
237
  schema_version: 2;
237
238
  producer: {
238
239
  model_id: string;
@@ -241,9 +242,9 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
241
242
  capability_id: string;
242
243
  endpoint_model_id: string;
243
244
  };
244
- kind: string;
245
245
  payload: SerializableJsonValue;
246
246
  }, {
247
+ kind: string;
247
248
  schema_version: 2;
248
249
  producer: {
249
250
  model_id: string;
@@ -252,13 +253,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
252
253
  capability_id: string;
253
254
  endpoint_model_id: string;
254
255
  };
255
- kind: string;
256
256
  payload: SerializableJsonValue;
257
257
  }>, "many">>;
258
258
  }, "strict", z.ZodTypeAny, {
259
259
  type: "reasoning";
260
260
  text: string;
261
261
  provider_continuations?: {
262
+ kind: string;
262
263
  schema_version: 2;
263
264
  producer: {
264
265
  model_id: string;
@@ -267,13 +268,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
267
268
  capability_id: string;
268
269
  endpoint_model_id: string;
269
270
  };
270
- kind: string;
271
271
  payload: SerializableJsonValue;
272
272
  }[] | undefined;
273
273
  }, {
274
274
  type: "reasoning";
275
275
  text: string;
276
276
  provider_continuations?: {
277
+ kind: string;
277
278
  schema_version: 2;
278
279
  producer: {
279
280
  model_id: string;
@@ -282,7 +283,6 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
282
283
  capability_id: string;
283
284
  endpoint_model_id: string;
284
285
  };
285
- kind: string;
286
286
  payload: SerializableJsonValue;
287
287
  }[] | undefined;
288
288
  }>, z.ZodObject<{
@@ -312,6 +312,7 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
312
312
  kind: z.ZodString;
313
313
  payload: z.ZodType<SerializableJsonValue, z.ZodTypeDef, SerializableJsonValue>;
314
314
  }, "strict", z.ZodTypeAny, {
315
+ kind: string;
315
316
  schema_version: 2;
316
317
  producer: {
317
318
  model_id: string;
@@ -320,9 +321,9 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
320
321
  capability_id: string;
321
322
  endpoint_model_id: string;
322
323
  };
323
- kind: string;
324
324
  payload: SerializableJsonValue;
325
325
  }, {
326
+ kind: string;
326
327
  schema_version: 2;
327
328
  producer: {
328
329
  model_id: string;
@@ -331,13 +332,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
331
332
  capability_id: string;
332
333
  endpoint_model_id: string;
333
334
  };
334
- kind: string;
335
335
  payload: SerializableJsonValue;
336
336
  }>, "many">>;
337
337
  }, "strict", z.ZodTypeAny, {
338
338
  type: "tool_call";
339
339
  tool_call_id: string;
340
340
  provider_continuations?: {
341
+ kind: string;
341
342
  schema_version: 2;
342
343
  producer: {
343
344
  model_id: string;
@@ -346,13 +347,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
346
347
  capability_id: string;
347
348
  endpoint_model_id: string;
348
349
  };
349
- kind: string;
350
350
  payload: SerializableJsonValue;
351
351
  }[] | undefined;
352
352
  }, {
353
353
  type: "tool_call";
354
354
  tool_call_id: string;
355
355
  provider_continuations?: {
356
+ kind: string;
356
357
  schema_version: 2;
357
358
  producer: {
358
359
  model_id: string;
@@ -361,7 +362,6 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
361
362
  capability_id: string;
362
363
  endpoint_model_id: string;
363
364
  };
364
- kind: string;
365
365
  payload: SerializableJsonValue;
366
366
  }[] | undefined;
367
367
  }>]>;
@@ -393,6 +393,7 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
393
393
  kind: z.ZodString;
394
394
  payload: z.ZodType<SerializableJsonValue, z.ZodTypeDef, SerializableJsonValue>;
395
395
  }, "strict", z.ZodTypeAny, {
396
+ kind: string;
396
397
  schema_version: 2;
397
398
  producer: {
398
399
  model_id: string;
@@ -401,9 +402,9 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
401
402
  capability_id: string;
402
403
  endpoint_model_id: string;
403
404
  };
404
- kind: string;
405
405
  payload: SerializableJsonValue;
406
406
  }, {
407
+ kind: string;
407
408
  schema_version: 2;
408
409
  producer: {
409
410
  model_id: string;
@@ -412,13 +413,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
412
413
  capability_id: string;
413
414
  endpoint_model_id: string;
414
415
  };
415
- kind: string;
416
416
  payload: SerializableJsonValue;
417
417
  }>, "many">>;
418
418
  }, "strict", z.ZodTypeAny, {
419
419
  type: "text";
420
420
  text: string;
421
421
  provider_continuations?: {
422
+ kind: string;
422
423
  schema_version: 2;
423
424
  producer: {
424
425
  model_id: string;
@@ -427,13 +428,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
427
428
  capability_id: string;
428
429
  endpoint_model_id: string;
429
430
  };
430
- kind: string;
431
431
  payload: SerializableJsonValue;
432
432
  }[] | undefined;
433
433
  }, {
434
434
  type: "text";
435
435
  text: string;
436
436
  provider_continuations?: {
437
+ kind: string;
437
438
  schema_version: 2;
438
439
  producer: {
439
440
  model_id: string;
@@ -442,7 +443,6 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
442
443
  capability_id: string;
443
444
  endpoint_model_id: string;
444
445
  };
445
- kind: string;
446
446
  payload: SerializableJsonValue;
447
447
  }[] | undefined;
448
448
  }>, z.ZodObject<{
@@ -472,6 +472,7 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
472
472
  kind: z.ZodString;
473
473
  payload: z.ZodType<SerializableJsonValue, z.ZodTypeDef, SerializableJsonValue>;
474
474
  }, "strict", z.ZodTypeAny, {
475
+ kind: string;
475
476
  schema_version: 2;
476
477
  producer: {
477
478
  model_id: string;
@@ -480,9 +481,9 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
480
481
  capability_id: string;
481
482
  endpoint_model_id: string;
482
483
  };
483
- kind: string;
484
484
  payload: SerializableJsonValue;
485
485
  }, {
486
+ kind: string;
486
487
  schema_version: 2;
487
488
  producer: {
488
489
  model_id: string;
@@ -491,13 +492,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
491
492
  capability_id: string;
492
493
  endpoint_model_id: string;
493
494
  };
494
- kind: string;
495
495
  payload: SerializableJsonValue;
496
496
  }>, "many">>;
497
497
  }, "strict", z.ZodTypeAny, {
498
498
  type: "reasoning";
499
499
  text: string;
500
500
  provider_continuations?: {
501
+ kind: string;
501
502
  schema_version: 2;
502
503
  producer: {
503
504
  model_id: string;
@@ -506,13 +507,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
506
507
  capability_id: string;
507
508
  endpoint_model_id: string;
508
509
  };
509
- kind: string;
510
510
  payload: SerializableJsonValue;
511
511
  }[] | undefined;
512
512
  }, {
513
513
  type: "reasoning";
514
514
  text: string;
515
515
  provider_continuations?: {
516
+ kind: string;
516
517
  schema_version: 2;
517
518
  producer: {
518
519
  model_id: string;
@@ -521,7 +522,6 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
521
522
  capability_id: string;
522
523
  endpoint_model_id: string;
523
524
  };
524
- kind: string;
525
525
  payload: SerializableJsonValue;
526
526
  }[] | undefined;
527
527
  }>, z.ZodObject<{
@@ -551,6 +551,7 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
551
551
  kind: z.ZodString;
552
552
  payload: z.ZodType<SerializableJsonValue, z.ZodTypeDef, SerializableJsonValue>;
553
553
  }, "strict", z.ZodTypeAny, {
554
+ kind: string;
554
555
  schema_version: 2;
555
556
  producer: {
556
557
  model_id: string;
@@ -559,9 +560,9 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
559
560
  capability_id: string;
560
561
  endpoint_model_id: string;
561
562
  };
562
- kind: string;
563
563
  payload: SerializableJsonValue;
564
564
  }, {
565
+ kind: string;
565
566
  schema_version: 2;
566
567
  producer: {
567
568
  model_id: string;
@@ -570,13 +571,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
570
571
  capability_id: string;
571
572
  endpoint_model_id: string;
572
573
  };
573
- kind: string;
574
574
  payload: SerializableJsonValue;
575
575
  }>, "many">>;
576
576
  }, "strict", z.ZodTypeAny, {
577
577
  type: "tool_call";
578
578
  tool_call_id: string;
579
579
  provider_continuations?: {
580
+ kind: string;
580
581
  schema_version: 2;
581
582
  producer: {
582
583
  model_id: string;
@@ -585,13 +586,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
585
586
  capability_id: string;
586
587
  endpoint_model_id: string;
587
588
  };
588
- kind: string;
589
589
  payload: SerializableJsonValue;
590
590
  }[] | undefined;
591
591
  }, {
592
592
  type: "tool_call";
593
593
  tool_call_id: string;
594
594
  provider_continuations?: {
595
+ kind: string;
595
596
  schema_version: 2;
596
597
  producer: {
597
598
  model_id: string;
@@ -600,7 +601,6 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
600
601
  capability_id: string;
601
602
  endpoint_model_id: string;
602
603
  };
603
- kind: string;
604
604
  payload: SerializableJsonValue;
605
605
  }[] | undefined;
606
606
  }>]>, "many">;