@linnlabs/linnkit 0.37.4 → 0.38.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.
- package/CHANGELOG.md +38 -0
- package/dist/cli.cjs +347 -179
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +347 -179
- package/dist/cli.js.map +1 -1
- package/dist/context-manager.cjs +55 -11
- package/dist/context-manager.cjs.map +1 -1
- package/dist/context-manager.js +55 -11
- package/dist/context-manager.js.map +1 -1
- package/dist/contracts/audit.d.cts +6 -6
- package/dist/contracts/audit.d.ts +6 -6
- package/dist/contracts/events.d.cts +532 -50
- package/dist/contracts/events.d.ts +532 -50
- package/dist/contracts/llm-retry.d.cts +47 -0
- package/dist/contracts/llm-retry.d.ts +47 -0
- package/dist/contracts/messages.d.cts +2 -2
- package/dist/contracts/messages.d.ts +2 -2
- package/dist/contracts/runtime-error.d.cts +26 -0
- package/dist/contracts/runtime-error.d.ts +26 -0
- package/dist/contracts/sse.d.cts +571 -55
- package/dist/contracts/sse.d.ts +571 -55
- package/dist/contracts/sub-run-trace-payload.d.cts +102 -6
- package/dist/contracts/sub-run-trace-payload.d.ts +102 -6
- package/dist/contracts/token-accounting.d.cts +18 -18
- package/dist/contracts/token-accounting.d.ts +18 -18
- package/dist/contracts.cjs +65 -10
- package/dist/contracts.cjs.map +1 -1
- package/dist/contracts.d.cts +4 -2
- package/dist/contracts.d.ts +4 -2
- package/dist/contracts.js +62 -11
- package/dist/contracts.js.map +1 -1
- package/dist/index.cjs +506 -286
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +506 -286
- package/dist/index.js.map +1 -1
- package/dist/ports/canonical-inference.d.cts +3 -0
- package/dist/ports/canonical-inference.d.ts +3 -0
- package/dist/ports/llm-call.d.cts +4 -0
- package/dist/ports/llm-call.d.ts +4 -0
- package/dist/quickstart.cjs +347 -179
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.js +347 -179
- package/dist/quickstart.js.map +1 -1
- package/dist/runtime-kernel/child-run-trace/subrunTrace.types.d.cts +8 -0
- package/dist/runtime-kernel/child-run-trace/subrunTrace.types.d.ts +8 -0
- package/dist/runtime-kernel/events/agentEvents.d.cts +85 -4
- package/dist/runtime-kernel/events/agentEvents.d.ts +85 -4
- package/dist/runtime-kernel/events/eventGovernance.d.cts +1 -1
- package/dist/runtime-kernel/events/eventGovernance.d.ts +1 -1
- package/dist/runtime-kernel/events.cjs +55 -11
- package/dist/runtime-kernel/events.cjs.map +1 -1
- package/dist/runtime-kernel/events.js +55 -11
- package/dist/runtime-kernel/events.js.map +1 -1
- package/dist/runtime-kernel/llm/request-builder.d.cts +2 -0
- package/dist/runtime-kernel/llm/request-builder.d.ts +2 -0
- package/dist/runtime-kernel.cjs +468 -271
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.js +468 -271
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/shared/errorClassifier.d.cts +5 -0
- package/dist/shared/errorClassifier.d.ts +5 -0
- package/dist/testkit.cjs +466 -269
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.js +466 -269
- package/dist/testkit.js.map +1 -1
- package/docs/integration/llm-provider.md +24 -0
- package/docs/integration/realtime.md +29 -0
- package/package.json +2 -2
|
@@ -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: "
|
|
25
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
26
26
|
metadata?: Record<string, unknown> | undefined;
|
|
27
27
|
reason?: string | undefined;
|
|
28
28
|
policy?: string | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
outcome: "
|
|
30
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
31
31
|
metadata?: Record<string, unknown> | undefined;
|
|
32
32
|
reason?: string | undefined;
|
|
33
33
|
policy?: 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: "
|
|
141
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
142
142
|
metadata?: Record<string, unknown> | undefined;
|
|
143
143
|
reason?: string | undefined;
|
|
144
144
|
policy?: string | undefined;
|
|
145
145
|
}, {
|
|
146
|
-
outcome: "
|
|
146
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
147
147
|
metadata?: Record<string, unknown> | undefined;
|
|
148
148
|
reason?: string | undefined;
|
|
149
149
|
policy?: string | undefined;
|
|
@@ -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: "
|
|
232
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
233
233
|
metadata?: Record<string, unknown> | undefined;
|
|
234
234
|
reason?: string | undefined;
|
|
235
235
|
policy?: string | undefined;
|
|
@@ -271,7 +271,7 @@ declare const AuditEnvelope: z.ZodObject<{
|
|
|
271
271
|
action: string;
|
|
272
272
|
parentRunId?: string | undefined;
|
|
273
273
|
decision?: {
|
|
274
|
-
outcome: "
|
|
274
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
275
275
|
metadata?: Record<string, unknown> | undefined;
|
|
276
276
|
reason?: string | undefined;
|
|
277
277
|
policy?: 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: "
|
|
25
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
26
26
|
metadata?: Record<string, unknown> | undefined;
|
|
27
27
|
reason?: string | undefined;
|
|
28
28
|
policy?: string | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
outcome: "
|
|
30
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
31
31
|
metadata?: Record<string, unknown> | undefined;
|
|
32
32
|
reason?: string | undefined;
|
|
33
33
|
policy?: 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: "
|
|
141
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
142
142
|
metadata?: Record<string, unknown> | undefined;
|
|
143
143
|
reason?: string | undefined;
|
|
144
144
|
policy?: string | undefined;
|
|
145
145
|
}, {
|
|
146
|
-
outcome: "
|
|
146
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
147
147
|
metadata?: Record<string, unknown> | undefined;
|
|
148
148
|
reason?: string | undefined;
|
|
149
149
|
policy?: string | undefined;
|
|
@@ -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: "
|
|
232
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
233
233
|
metadata?: Record<string, unknown> | undefined;
|
|
234
234
|
reason?: string | undefined;
|
|
235
235
|
policy?: string | undefined;
|
|
@@ -271,7 +271,7 @@ declare const AuditEnvelope: z.ZodObject<{
|
|
|
271
271
|
action: string;
|
|
272
272
|
parentRunId?: string | undefined;
|
|
273
273
|
decision?: {
|
|
274
|
-
outcome: "
|
|
274
|
+
outcome: "cancelled" | "retry" | "allowed" | "denied" | "fallback" | "paused" | "resumed" | "requested" | "recorded";
|
|
275
275
|
metadata?: Record<string, unknown> | undefined;
|
|
276
276
|
reason?: string | undefined;
|
|
277
277
|
policy?: string | undefined;
|