@linnlabs/linnkit 0.32.1 → 0.32.3
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/CHANGELOG.md +13 -0
- package/dist/cli.cjs +35 -14
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +35 -14
- package/dist/cli.js.map +1 -1
- package/dist/contracts/agentSpec.d.cts +30 -30
- package/dist/contracts/agentSpec.d.ts +30 -30
- package/dist/contracts/audit.d.cts +24 -24
- package/dist/contracts/audit.d.ts +24 -24
- package/dist/contracts/contextPolicy.d.cts +36 -36
- package/dist/contracts/contextPolicy.d.ts +36 -36
- package/dist/contracts/events.d.cts +1080 -1080
- package/dist/contracts/events.d.ts +1080 -1080
- package/dist/contracts/execution.d.cts +8 -8
- package/dist/contracts/execution.d.ts +8 -8
- package/dist/contracts/messages.d.cts +1178 -1178
- package/dist/contracts/messages.d.ts +1178 -1178
- package/dist/contracts/provider-continuation.d.cts +28 -28
- package/dist/contracts/provider-continuation.d.ts +28 -28
- package/dist/contracts/sse.d.cts +897 -897
- package/dist/contracts/sse.d.ts +897 -897
- package/dist/contracts/sub-run-trace-payload.d.cts +26 -26
- package/dist/contracts/sub-run-trace-payload.d.ts +26 -26
- package/dist/contracts/token-accounting.d.cts +30 -30
- package/dist/contracts/token-accounting.d.ts +30 -30
- package/dist/index.cjs +35 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +35 -14
- package/dist/index.js.map +1 -1
- package/dist/quickstart.cjs +35 -14
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.js +35 -14
- package/dist/quickstart.js.map +1 -1
- package/dist/runtime-kernel/events/agentEvents.d.cts +172 -172
- package/dist/runtime-kernel/events/agentEvents.d.ts +172 -172
- package/dist/runtime-kernel.cjs +35 -14
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.js +35 -14
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit.cjs +35 -14
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.js +35 -14
- package/dist/testkit.js.map +1 -1
- package/docs/integration/01-installation.md +1 -1
- package/package.json +4 -4
|
@@ -51,7 +51,6 @@ 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;
|
|
55
54
|
schema_version: 2;
|
|
56
55
|
producer: {
|
|
57
56
|
model_id: string;
|
|
@@ -60,9 +59,9 @@ declare const ProviderContinuation: z.ZodObject<{
|
|
|
60
59
|
capability_id: string;
|
|
61
60
|
endpoint_model_id: string;
|
|
62
61
|
};
|
|
62
|
+
kind: string;
|
|
63
63
|
payload: SerializableJsonValue;
|
|
64
64
|
}, {
|
|
65
|
-
kind: string;
|
|
66
65
|
schema_version: 2;
|
|
67
66
|
producer: {
|
|
68
67
|
model_id: string;
|
|
@@ -71,6 +70,7 @@ declare const ProviderContinuation: z.ZodObject<{
|
|
|
71
70
|
capability_id: string;
|
|
72
71
|
endpoint_model_id: string;
|
|
73
72
|
};
|
|
73
|
+
kind: string;
|
|
74
74
|
payload: SerializableJsonValue;
|
|
75
75
|
}>;
|
|
76
76
|
type ProviderContinuation = z.infer<typeof ProviderContinuation>;
|
|
@@ -98,7 +98,6 @@ 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;
|
|
102
101
|
schema_version: 2;
|
|
103
102
|
producer: {
|
|
104
103
|
model_id: string;
|
|
@@ -107,9 +106,9 @@ declare const ProviderContinuations: z.ZodArray<z.ZodObject<{
|
|
|
107
106
|
capability_id: string;
|
|
108
107
|
endpoint_model_id: string;
|
|
109
108
|
};
|
|
109
|
+
kind: string;
|
|
110
110
|
payload: SerializableJsonValue;
|
|
111
111
|
}, {
|
|
112
|
-
kind: string;
|
|
113
112
|
schema_version: 2;
|
|
114
113
|
producer: {
|
|
115
114
|
model_id: string;
|
|
@@ -118,6 +117,7 @@ declare const ProviderContinuations: z.ZodArray<z.ZodObject<{
|
|
|
118
117
|
capability_id: string;
|
|
119
118
|
endpoint_model_id: string;
|
|
120
119
|
};
|
|
120
|
+
kind: string;
|
|
121
121
|
payload: SerializableJsonValue;
|
|
122
122
|
}>, "many">;
|
|
123
123
|
type ProviderContinuations = z.infer<typeof ProviderContinuations>;
|
|
@@ -154,7 +154,6 @@ 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;
|
|
158
157
|
schema_version: 2;
|
|
159
158
|
producer: {
|
|
160
159
|
model_id: string;
|
|
@@ -163,9 +162,9 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
163
162
|
capability_id: string;
|
|
164
163
|
endpoint_model_id: string;
|
|
165
164
|
};
|
|
165
|
+
kind: string;
|
|
166
166
|
payload: SerializableJsonValue;
|
|
167
167
|
}, {
|
|
168
|
-
kind: string;
|
|
169
168
|
schema_version: 2;
|
|
170
169
|
producer: {
|
|
171
170
|
model_id: string;
|
|
@@ -174,13 +173,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
174
173
|
capability_id: string;
|
|
175
174
|
endpoint_model_id: string;
|
|
176
175
|
};
|
|
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;
|
|
184
183
|
schema_version: 2;
|
|
185
184
|
producer: {
|
|
186
185
|
model_id: string;
|
|
@@ -189,13 +188,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
189
188
|
capability_id: string;
|
|
190
189
|
endpoint_model_id: string;
|
|
191
190
|
};
|
|
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;
|
|
199
198
|
schema_version: 2;
|
|
200
199
|
producer: {
|
|
201
200
|
model_id: string;
|
|
@@ -204,6 +203,7 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
204
203
|
capability_id: string;
|
|
205
204
|
endpoint_model_id: string;
|
|
206
205
|
};
|
|
206
|
+
kind: string;
|
|
207
207
|
payload: SerializableJsonValue;
|
|
208
208
|
}[] | undefined;
|
|
209
209
|
}>, z.ZodObject<{
|
|
@@ -233,7 +233,6 @@ 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;
|
|
237
236
|
schema_version: 2;
|
|
238
237
|
producer: {
|
|
239
238
|
model_id: string;
|
|
@@ -242,9 +241,9 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
242
241
|
capability_id: string;
|
|
243
242
|
endpoint_model_id: string;
|
|
244
243
|
};
|
|
244
|
+
kind: string;
|
|
245
245
|
payload: SerializableJsonValue;
|
|
246
246
|
}, {
|
|
247
|
-
kind: string;
|
|
248
247
|
schema_version: 2;
|
|
249
248
|
producer: {
|
|
250
249
|
model_id: string;
|
|
@@ -253,13 +252,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
253
252
|
capability_id: string;
|
|
254
253
|
endpoint_model_id: string;
|
|
255
254
|
};
|
|
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;
|
|
263
262
|
schema_version: 2;
|
|
264
263
|
producer: {
|
|
265
264
|
model_id: string;
|
|
@@ -268,13 +267,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
268
267
|
capability_id: string;
|
|
269
268
|
endpoint_model_id: string;
|
|
270
269
|
};
|
|
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;
|
|
278
277
|
schema_version: 2;
|
|
279
278
|
producer: {
|
|
280
279
|
model_id: string;
|
|
@@ -283,6 +282,7 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
283
282
|
capability_id: string;
|
|
284
283
|
endpoint_model_id: string;
|
|
285
284
|
};
|
|
285
|
+
kind: string;
|
|
286
286
|
payload: SerializableJsonValue;
|
|
287
287
|
}[] | undefined;
|
|
288
288
|
}>, z.ZodObject<{
|
|
@@ -312,7 +312,6 @@ 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;
|
|
316
315
|
schema_version: 2;
|
|
317
316
|
producer: {
|
|
318
317
|
model_id: string;
|
|
@@ -321,9 +320,9 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
321
320
|
capability_id: string;
|
|
322
321
|
endpoint_model_id: string;
|
|
323
322
|
};
|
|
323
|
+
kind: string;
|
|
324
324
|
payload: SerializableJsonValue;
|
|
325
325
|
}, {
|
|
326
|
-
kind: string;
|
|
327
326
|
schema_version: 2;
|
|
328
327
|
producer: {
|
|
329
328
|
model_id: string;
|
|
@@ -332,13 +331,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
332
331
|
capability_id: string;
|
|
333
332
|
endpoint_model_id: string;
|
|
334
333
|
};
|
|
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;
|
|
342
341
|
schema_version: 2;
|
|
343
342
|
producer: {
|
|
344
343
|
model_id: string;
|
|
@@ -347,13 +346,13 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
347
346
|
capability_id: string;
|
|
348
347
|
endpoint_model_id: string;
|
|
349
348
|
};
|
|
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;
|
|
357
356
|
schema_version: 2;
|
|
358
357
|
producer: {
|
|
359
358
|
model_id: string;
|
|
@@ -362,6 +361,7 @@ declare const AssistantReplayPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
362
361
|
capability_id: string;
|
|
363
362
|
endpoint_model_id: string;
|
|
364
363
|
};
|
|
364
|
+
kind: string;
|
|
365
365
|
payload: SerializableJsonValue;
|
|
366
366
|
}[] | undefined;
|
|
367
367
|
}>]>;
|
|
@@ -393,7 +393,6 @@ 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;
|
|
397
396
|
schema_version: 2;
|
|
398
397
|
producer: {
|
|
399
398
|
model_id: string;
|
|
@@ -402,9 +401,9 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
402
401
|
capability_id: string;
|
|
403
402
|
endpoint_model_id: string;
|
|
404
403
|
};
|
|
404
|
+
kind: string;
|
|
405
405
|
payload: SerializableJsonValue;
|
|
406
406
|
}, {
|
|
407
|
-
kind: string;
|
|
408
407
|
schema_version: 2;
|
|
409
408
|
producer: {
|
|
410
409
|
model_id: string;
|
|
@@ -413,13 +412,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
413
412
|
capability_id: string;
|
|
414
413
|
endpoint_model_id: string;
|
|
415
414
|
};
|
|
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;
|
|
423
422
|
schema_version: 2;
|
|
424
423
|
producer: {
|
|
425
424
|
model_id: string;
|
|
@@ -428,13 +427,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
428
427
|
capability_id: string;
|
|
429
428
|
endpoint_model_id: string;
|
|
430
429
|
};
|
|
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;
|
|
438
437
|
schema_version: 2;
|
|
439
438
|
producer: {
|
|
440
439
|
model_id: string;
|
|
@@ -443,6 +442,7 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
443
442
|
capability_id: string;
|
|
444
443
|
endpoint_model_id: string;
|
|
445
444
|
};
|
|
445
|
+
kind: string;
|
|
446
446
|
payload: SerializableJsonValue;
|
|
447
447
|
}[] | undefined;
|
|
448
448
|
}>, z.ZodObject<{
|
|
@@ -472,7 +472,6 @@ 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;
|
|
476
475
|
schema_version: 2;
|
|
477
476
|
producer: {
|
|
478
477
|
model_id: string;
|
|
@@ -481,9 +480,9 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
481
480
|
capability_id: string;
|
|
482
481
|
endpoint_model_id: string;
|
|
483
482
|
};
|
|
483
|
+
kind: string;
|
|
484
484
|
payload: SerializableJsonValue;
|
|
485
485
|
}, {
|
|
486
|
-
kind: string;
|
|
487
486
|
schema_version: 2;
|
|
488
487
|
producer: {
|
|
489
488
|
model_id: string;
|
|
@@ -492,13 +491,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
492
491
|
capability_id: string;
|
|
493
492
|
endpoint_model_id: string;
|
|
494
493
|
};
|
|
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;
|
|
502
501
|
schema_version: 2;
|
|
503
502
|
producer: {
|
|
504
503
|
model_id: string;
|
|
@@ -507,13 +506,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
507
506
|
capability_id: string;
|
|
508
507
|
endpoint_model_id: string;
|
|
509
508
|
};
|
|
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;
|
|
517
516
|
schema_version: 2;
|
|
518
517
|
producer: {
|
|
519
518
|
model_id: string;
|
|
@@ -522,6 +521,7 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
522
521
|
capability_id: string;
|
|
523
522
|
endpoint_model_id: string;
|
|
524
523
|
};
|
|
524
|
+
kind: string;
|
|
525
525
|
payload: SerializableJsonValue;
|
|
526
526
|
}[] | undefined;
|
|
527
527
|
}>, z.ZodObject<{
|
|
@@ -551,7 +551,6 @@ 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;
|
|
555
554
|
schema_version: 2;
|
|
556
555
|
producer: {
|
|
557
556
|
model_id: string;
|
|
@@ -560,9 +559,9 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
560
559
|
capability_id: string;
|
|
561
560
|
endpoint_model_id: string;
|
|
562
561
|
};
|
|
562
|
+
kind: string;
|
|
563
563
|
payload: SerializableJsonValue;
|
|
564
564
|
}, {
|
|
565
|
-
kind: string;
|
|
566
565
|
schema_version: 2;
|
|
567
566
|
producer: {
|
|
568
567
|
model_id: string;
|
|
@@ -571,13 +570,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
571
570
|
capability_id: string;
|
|
572
571
|
endpoint_model_id: string;
|
|
573
572
|
};
|
|
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;
|
|
581
580
|
schema_version: 2;
|
|
582
581
|
producer: {
|
|
583
582
|
model_id: string;
|
|
@@ -586,13 +585,13 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
586
585
|
capability_id: string;
|
|
587
586
|
endpoint_model_id: string;
|
|
588
587
|
};
|
|
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;
|
|
596
595
|
schema_version: 2;
|
|
597
596
|
producer: {
|
|
598
597
|
model_id: string;
|
|
@@ -601,6 +600,7 @@ declare const AssistantReplayParts: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
|
601
600
|
capability_id: string;
|
|
602
601
|
endpoint_model_id: string;
|
|
603
602
|
};
|
|
603
|
+
kind: string;
|
|
604
604
|
payload: SerializableJsonValue;
|
|
605
605
|
}[] | undefined;
|
|
606
606
|
}>]>, "many">;
|