@linnlabs/linnkit 0.32.2 → 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 CHANGED
@@ -14,6 +14,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.32.3] - 2026-09-11
18
+
19
+ ### Changed
20
+
21
+ - Allow testkit consumers to use Vitest 4 while preserving compatibility with
22
+ existing Vitest 2 and 3 hosts.
23
+
17
24
  ## [0.32.2] - 2026-09-07
18
25
 
19
26
  ### Fixed
@@ -22,12 +22,12 @@ declare const AuditDecision: z.ZodObject<{
22
22
  policy: z.ZodOptional<z.ZodString>;
23
23
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
24
24
  }, "strip", z.ZodTypeAny, {
25
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
25
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
26
26
  metadata?: Record<string, unknown> | undefined;
27
27
  reason?: string | undefined;
28
28
  policy?: string | undefined;
29
29
  }, {
30
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
30
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
31
31
  metadata?: Record<string, unknown> | undefined;
32
32
  reason?: string | undefined;
33
33
  policy?: string | undefined;
@@ -82,9 +82,9 @@ declare const AuditScope: z.ZodObject<{
82
82
  }, "strip", z.ZodTypeAny, {
83
83
  metadata?: Record<string, unknown> | undefined;
84
84
  toolName?: string | undefined;
85
- conversationId?: string | undefined;
86
85
  runId?: (string & z.BRAND<"RunId">) | undefined;
87
86
  parentRunId?: (string & z.BRAND<"RunId">) | undefined;
87
+ conversationId?: string | undefined;
88
88
  turnId?: string | undefined;
89
89
  traceId?: string | undefined;
90
90
  agentSpecId?: string | undefined;
@@ -94,9 +94,9 @@ declare const AuditScope: z.ZodObject<{
94
94
  }, {
95
95
  metadata?: Record<string, unknown> | undefined;
96
96
  toolName?: string | undefined;
97
- conversationId?: string | undefined;
98
97
  runId?: string | undefined;
99
98
  parentRunId?: string | undefined;
99
+ conversationId?: string | undefined;
100
100
  turnId?: string | undefined;
101
101
  traceId?: string | undefined;
102
102
  agentSpecId?: string | undefined;
@@ -138,12 +138,12 @@ declare const AuditEnvelope: z.ZodObject<{
138
138
  policy: z.ZodOptional<z.ZodString>;
139
139
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
140
140
  }, "strip", z.ZodTypeAny, {
141
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
141
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
142
142
  metadata?: Record<string, unknown> | undefined;
143
143
  reason?: string | undefined;
144
144
  policy?: string | undefined;
145
145
  }, {
146
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
146
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
147
147
  metadata?: Record<string, unknown> | undefined;
148
148
  reason?: string | undefined;
149
149
  policy?: string | undefined;
@@ -195,9 +195,9 @@ declare const AuditEnvelope: z.ZodObject<{
195
195
  }, "strip", z.ZodTypeAny, {
196
196
  metadata?: Record<string, unknown> | undefined;
197
197
  toolName?: string | undefined;
198
- conversationId?: string | undefined;
199
198
  runId?: (string & z.BRAND<"RunId">) | undefined;
200
199
  parentRunId?: (string & z.BRAND<"RunId">) | undefined;
200
+ conversationId?: string | undefined;
201
201
  turnId?: string | undefined;
202
202
  traceId?: string | undefined;
203
203
  agentSpecId?: string | undefined;
@@ -207,9 +207,9 @@ declare const AuditEnvelope: z.ZodObject<{
207
207
  }, {
208
208
  metadata?: Record<string, unknown> | undefined;
209
209
  toolName?: string | undefined;
210
- conversationId?: string | undefined;
211
210
  runId?: string | undefined;
212
211
  parentRunId?: string | undefined;
212
+ conversationId?: string | undefined;
213
213
  turnId?: string | undefined;
214
214
  traceId?: string | undefined;
215
215
  agentSpecId?: string | undefined;
@@ -218,8 +218,8 @@ declare const AuditEnvelope: z.ZodObject<{
218
218
  nodeId?: string | undefined;
219
219
  }>>;
220
220
  }, "strip", z.ZodTypeAny, {
221
- runId: string & z.BRAND<"RunId">;
222
221
  envelopeId: string;
222
+ runId: string & z.BRAND<"RunId">;
223
223
  ts: number;
224
224
  actor: {
225
225
  kind: "system" | "user" | "tool" | "host" | "agent" | "model";
@@ -229,7 +229,7 @@ declare const AuditEnvelope: z.ZodObject<{
229
229
  action: string;
230
230
  parentRunId?: (string & z.BRAND<"RunId">) | undefined;
231
231
  decision?: {
232
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
232
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
233
233
  metadata?: Record<string, unknown> | undefined;
234
234
  reason?: string | undefined;
235
235
  policy?: string | undefined;
@@ -249,9 +249,9 @@ declare const AuditEnvelope: z.ZodObject<{
249
249
  scope?: {
250
250
  metadata?: Record<string, unknown> | undefined;
251
251
  toolName?: string | undefined;
252
- conversationId?: string | undefined;
253
252
  runId?: (string & z.BRAND<"RunId">) | undefined;
254
253
  parentRunId?: (string & z.BRAND<"RunId">) | undefined;
254
+ conversationId?: string | undefined;
255
255
  turnId?: string | undefined;
256
256
  traceId?: string | undefined;
257
257
  agentSpecId?: string | undefined;
@@ -260,8 +260,8 @@ declare const AuditEnvelope: z.ZodObject<{
260
260
  nodeId?: string | undefined;
261
261
  } | undefined;
262
262
  }, {
263
- runId: string;
264
263
  envelopeId: string;
264
+ runId: string;
265
265
  ts: number;
266
266
  actor: {
267
267
  kind: "system" | "user" | "tool" | "host" | "agent" | "model";
@@ -271,7 +271,7 @@ declare const AuditEnvelope: z.ZodObject<{
271
271
  action: string;
272
272
  parentRunId?: string | undefined;
273
273
  decision?: {
274
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
274
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
275
275
  metadata?: Record<string, unknown> | undefined;
276
276
  reason?: string | undefined;
277
277
  policy?: string | undefined;
@@ -291,9 +291,9 @@ declare const AuditEnvelope: z.ZodObject<{
291
291
  scope?: {
292
292
  metadata?: Record<string, unknown> | undefined;
293
293
  toolName?: string | undefined;
294
- conversationId?: string | undefined;
295
294
  runId?: string | undefined;
296
295
  parentRunId?: string | undefined;
296
+ conversationId?: string | undefined;
297
297
  turnId?: string | undefined;
298
298
  traceId?: string | undefined;
299
299
  agentSpecId?: string | undefined;
@@ -22,12 +22,12 @@ declare const AuditDecision: z.ZodObject<{
22
22
  policy: z.ZodOptional<z.ZodString>;
23
23
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
24
24
  }, "strip", z.ZodTypeAny, {
25
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
25
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
26
26
  metadata?: Record<string, unknown> | undefined;
27
27
  reason?: string | undefined;
28
28
  policy?: string | undefined;
29
29
  }, {
30
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
30
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
31
31
  metadata?: Record<string, unknown> | undefined;
32
32
  reason?: string | undefined;
33
33
  policy?: string | undefined;
@@ -82,9 +82,9 @@ declare const AuditScope: z.ZodObject<{
82
82
  }, "strip", z.ZodTypeAny, {
83
83
  metadata?: Record<string, unknown> | undefined;
84
84
  toolName?: string | undefined;
85
- conversationId?: string | undefined;
86
85
  runId?: (string & z.BRAND<"RunId">) | undefined;
87
86
  parentRunId?: (string & z.BRAND<"RunId">) | undefined;
87
+ conversationId?: string | undefined;
88
88
  turnId?: string | undefined;
89
89
  traceId?: string | undefined;
90
90
  agentSpecId?: string | undefined;
@@ -94,9 +94,9 @@ declare const AuditScope: z.ZodObject<{
94
94
  }, {
95
95
  metadata?: Record<string, unknown> | undefined;
96
96
  toolName?: string | undefined;
97
- conversationId?: string | undefined;
98
97
  runId?: string | undefined;
99
98
  parentRunId?: string | undefined;
99
+ conversationId?: string | undefined;
100
100
  turnId?: string | undefined;
101
101
  traceId?: string | undefined;
102
102
  agentSpecId?: string | undefined;
@@ -138,12 +138,12 @@ declare const AuditEnvelope: z.ZodObject<{
138
138
  policy: z.ZodOptional<z.ZodString>;
139
139
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
140
140
  }, "strip", z.ZodTypeAny, {
141
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
141
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
142
142
  metadata?: Record<string, unknown> | undefined;
143
143
  reason?: string | undefined;
144
144
  policy?: string | undefined;
145
145
  }, {
146
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
146
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
147
147
  metadata?: Record<string, unknown> | undefined;
148
148
  reason?: string | undefined;
149
149
  policy?: string | undefined;
@@ -195,9 +195,9 @@ declare const AuditEnvelope: z.ZodObject<{
195
195
  }, "strip", z.ZodTypeAny, {
196
196
  metadata?: Record<string, unknown> | undefined;
197
197
  toolName?: string | undefined;
198
- conversationId?: string | undefined;
199
198
  runId?: (string & z.BRAND<"RunId">) | undefined;
200
199
  parentRunId?: (string & z.BRAND<"RunId">) | undefined;
200
+ conversationId?: string | undefined;
201
201
  turnId?: string | undefined;
202
202
  traceId?: string | undefined;
203
203
  agentSpecId?: string | undefined;
@@ -207,9 +207,9 @@ declare const AuditEnvelope: z.ZodObject<{
207
207
  }, {
208
208
  metadata?: Record<string, unknown> | undefined;
209
209
  toolName?: string | undefined;
210
- conversationId?: string | undefined;
211
210
  runId?: string | undefined;
212
211
  parentRunId?: string | undefined;
212
+ conversationId?: string | undefined;
213
213
  turnId?: string | undefined;
214
214
  traceId?: string | undefined;
215
215
  agentSpecId?: string | undefined;
@@ -218,8 +218,8 @@ declare const AuditEnvelope: z.ZodObject<{
218
218
  nodeId?: string | undefined;
219
219
  }>>;
220
220
  }, "strip", z.ZodTypeAny, {
221
- runId: string & z.BRAND<"RunId">;
222
221
  envelopeId: string;
222
+ runId: string & z.BRAND<"RunId">;
223
223
  ts: number;
224
224
  actor: {
225
225
  kind: "system" | "user" | "tool" | "host" | "agent" | "model";
@@ -229,7 +229,7 @@ declare const AuditEnvelope: z.ZodObject<{
229
229
  action: string;
230
230
  parentRunId?: (string & z.BRAND<"RunId">) | undefined;
231
231
  decision?: {
232
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
232
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
233
233
  metadata?: Record<string, unknown> | undefined;
234
234
  reason?: string | undefined;
235
235
  policy?: string | undefined;
@@ -249,9 +249,9 @@ declare const AuditEnvelope: z.ZodObject<{
249
249
  scope?: {
250
250
  metadata?: Record<string, unknown> | undefined;
251
251
  toolName?: string | undefined;
252
- conversationId?: string | undefined;
253
252
  runId?: (string & z.BRAND<"RunId">) | undefined;
254
253
  parentRunId?: (string & z.BRAND<"RunId">) | undefined;
254
+ conversationId?: string | undefined;
255
255
  turnId?: string | undefined;
256
256
  traceId?: string | undefined;
257
257
  agentSpecId?: string | undefined;
@@ -260,8 +260,8 @@ declare const AuditEnvelope: z.ZodObject<{
260
260
  nodeId?: string | undefined;
261
261
  } | undefined;
262
262
  }, {
263
- runId: string;
264
263
  envelopeId: string;
264
+ runId: string;
265
265
  ts: number;
266
266
  actor: {
267
267
  kind: "system" | "user" | "tool" | "host" | "agent" | "model";
@@ -271,7 +271,7 @@ declare const AuditEnvelope: z.ZodObject<{
271
271
  action: string;
272
272
  parentRunId?: string | undefined;
273
273
  decision?: {
274
- outcome: "requested" | "allowed" | "denied" | "fallback" | "retry" | "cancelled" | "paused" | "resumed" | "recorded";
274
+ outcome: "requested" | "paused" | "cancelled" | "allowed" | "denied" | "fallback" | "retry" | "resumed" | "recorded";
275
275
  metadata?: Record<string, unknown> | undefined;
276
276
  reason?: string | undefined;
277
277
  policy?: string | undefined;
@@ -291,9 +291,9 @@ declare const AuditEnvelope: z.ZodObject<{
291
291
  scope?: {
292
292
  metadata?: Record<string, unknown> | undefined;
293
293
  toolName?: string | undefined;
294
- conversationId?: string | undefined;
295
294
  runId?: string | undefined;
296
295
  parentRunId?: string | undefined;
296
+ conversationId?: string | undefined;
297
297
  turnId?: string | undefined;
298
298
  traceId?: string | undefined;
299
299
  agentSpecId?: string | undefined;