@linnlabs/linnkit 0.38.0 → 0.38.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/CHANGELOG.md +7 -1
- package/dist/contracts/agentSpec.d.cts +30 -30
- package/dist/contracts/agentSpec.d.ts +30 -30
- package/dist/contracts/audit.d.cts +32 -32
- package/dist/contracts/audit.d.ts +32 -32
- package/dist/contracts/contextPolicy.d.cts +36 -36
- package/dist/contracts/contextPolicy.d.ts +36 -36
- package/dist/contracts/events.d.cts +1203 -1203
- package/dist/contracts/events.d.ts +1203 -1203
- package/dist/contracts/execution.d.cts +8 -8
- package/dist/contracts/execution.d.ts +8 -8
- package/dist/contracts/llm-retry.d.cts +2 -2
- package/dist/contracts/llm-retry.d.ts +2 -2
- 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 +988 -988
- package/dist/contracts/sse.d.ts +988 -988
- package/dist/contracts/sub-run-trace-payload.d.cts +40 -40
- package/dist/contracts/sub-run-trace-payload.d.ts +40 -40
- package/dist/contracts/token-accounting.d.cts +38 -38
- package/dist/contracts/token-accounting.d.ts +38 -38
- package/dist/index.cjs +46 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +46 -1
- package/dist/index.js.map +1 -1
- package/dist/runtime-kernel/events/agentEvents.d.cts +184 -184
- package/dist/runtime-kernel/events/agentEvents.d.ts +184 -184
- package/dist/runtime-kernel.cjs +46 -1
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.js +46 -1
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit.cjs +46 -1
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.js +46 -1
- package/dist/testkit.js.map +1 -1
- package/docs/integration/tools.md +4 -0
- package/package.json +2 -2
|
@@ -21,10 +21,10 @@ declare const EventEnvelopeSchema: z.ZodObject<{
|
|
|
21
21
|
content: z.ZodDefault<z.ZodEnum<["markdown", "text", "json", "image_url", "code"]>>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
content: "code" | "text" | "markdown" | "json" | "image_url";
|
|
24
|
-
card?: "
|
|
24
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
|
|
27
|
-
card?: "
|
|
27
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
28
28
|
}>>;
|
|
29
29
|
run_location: z.ZodOptional<z.ZodEnum<["frontend", "backend"]>>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -38,7 +38,7 @@ declare const EventEnvelopeSchema: z.ZodObject<{
|
|
|
38
38
|
payload?: unknown;
|
|
39
39
|
render_hint?: {
|
|
40
40
|
content: "code" | "text" | "markdown" | "json" | "image_url";
|
|
41
|
-
card?: "
|
|
41
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
42
42
|
} | undefined;
|
|
43
43
|
run_location?: "frontend" | "backend" | undefined;
|
|
44
44
|
}, {
|
|
@@ -52,7 +52,7 @@ declare const EventEnvelopeSchema: z.ZodObject<{
|
|
|
52
52
|
payload?: unknown;
|
|
53
53
|
render_hint?: {
|
|
54
54
|
content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
|
|
55
|
-
card?: "
|
|
55
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
56
56
|
} | undefined;
|
|
57
57
|
run_location?: "frontend" | "backend" | undefined;
|
|
58
58
|
}>;
|
|
@@ -78,10 +78,10 @@ declare const EventEnvelope: z.ZodObject<{
|
|
|
78
78
|
content: z.ZodDefault<z.ZodEnum<["markdown", "text", "json", "image_url", "code"]>>;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
80
|
content: "code" | "text" | "markdown" | "json" | "image_url";
|
|
81
|
-
card?: "
|
|
81
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
|
|
84
|
-
card?: "
|
|
84
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
85
85
|
}>>;
|
|
86
86
|
run_location: z.ZodOptional<z.ZodEnum<["frontend", "backend"]>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -95,7 +95,7 @@ declare const EventEnvelope: z.ZodObject<{
|
|
|
95
95
|
payload?: unknown;
|
|
96
96
|
render_hint?: {
|
|
97
97
|
content: "code" | "text" | "markdown" | "json" | "image_url";
|
|
98
|
-
card?: "
|
|
98
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
99
99
|
} | undefined;
|
|
100
100
|
run_location?: "frontend" | "backend" | undefined;
|
|
101
101
|
}, {
|
|
@@ -109,7 +109,7 @@ declare const EventEnvelope: z.ZodObject<{
|
|
|
109
109
|
payload?: unknown;
|
|
110
110
|
render_hint?: {
|
|
111
111
|
content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
|
|
112
|
-
card?: "
|
|
112
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
113
113
|
} | undefined;
|
|
114
114
|
run_location?: "frontend" | "backend" | undefined;
|
|
115
115
|
}>;
|
|
@@ -21,10 +21,10 @@ declare const EventEnvelopeSchema: z.ZodObject<{
|
|
|
21
21
|
content: z.ZodDefault<z.ZodEnum<["markdown", "text", "json", "image_url", "code"]>>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
content: "code" | "text" | "markdown" | "json" | "image_url";
|
|
24
|
-
card?: "
|
|
24
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
|
|
27
|
-
card?: "
|
|
27
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
28
28
|
}>>;
|
|
29
29
|
run_location: z.ZodOptional<z.ZodEnum<["frontend", "backend"]>>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -38,7 +38,7 @@ declare const EventEnvelopeSchema: z.ZodObject<{
|
|
|
38
38
|
payload?: unknown;
|
|
39
39
|
render_hint?: {
|
|
40
40
|
content: "code" | "text" | "markdown" | "json" | "image_url";
|
|
41
|
-
card?: "
|
|
41
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
42
42
|
} | undefined;
|
|
43
43
|
run_location?: "frontend" | "backend" | undefined;
|
|
44
44
|
}, {
|
|
@@ -52,7 +52,7 @@ declare const EventEnvelopeSchema: z.ZodObject<{
|
|
|
52
52
|
payload?: unknown;
|
|
53
53
|
render_hint?: {
|
|
54
54
|
content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
|
|
55
|
-
card?: "
|
|
55
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
56
56
|
} | undefined;
|
|
57
57
|
run_location?: "frontend" | "backend" | undefined;
|
|
58
58
|
}>;
|
|
@@ -78,10 +78,10 @@ declare const EventEnvelope: z.ZodObject<{
|
|
|
78
78
|
content: z.ZodDefault<z.ZodEnum<["markdown", "text", "json", "image_url", "code"]>>;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
80
|
content: "code" | "text" | "markdown" | "json" | "image_url";
|
|
81
|
-
card?: "
|
|
81
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
|
|
84
|
-
card?: "
|
|
84
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
85
85
|
}>>;
|
|
86
86
|
run_location: z.ZodOptional<z.ZodEnum<["frontend", "backend"]>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -95,7 +95,7 @@ declare const EventEnvelope: z.ZodObject<{
|
|
|
95
95
|
payload?: unknown;
|
|
96
96
|
render_hint?: {
|
|
97
97
|
content: "code" | "text" | "markdown" | "json" | "image_url";
|
|
98
|
-
card?: "
|
|
98
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
99
99
|
} | undefined;
|
|
100
100
|
run_location?: "frontend" | "backend" | undefined;
|
|
101
101
|
}, {
|
|
@@ -109,7 +109,7 @@ declare const EventEnvelope: z.ZodObject<{
|
|
|
109
109
|
payload?: unknown;
|
|
110
110
|
render_hint?: {
|
|
111
111
|
content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
|
|
112
|
-
card?: "
|
|
112
|
+
card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
|
|
113
113
|
} | undefined;
|
|
114
114
|
run_location?: "frontend" | "backend" | undefined;
|
|
115
115
|
}>;
|
|
@@ -18,7 +18,7 @@ declare const LlmRetryState: z.ZodObject<{
|
|
|
18
18
|
error: z.ZodString;
|
|
19
19
|
error_code: z.ZodString;
|
|
20
20
|
}, "strict", z.ZodTypeAny, {
|
|
21
|
-
status: "
|
|
21
|
+
status: "failed" | "cancelled" | "waiting" | "retrying" | "succeeded" | "exhausted";
|
|
22
22
|
error: string;
|
|
23
23
|
error_code: string;
|
|
24
24
|
retry_id: string;
|
|
@@ -30,7 +30,7 @@ declare const LlmRetryState: z.ZodObject<{
|
|
|
30
30
|
delay_ms: number;
|
|
31
31
|
next_retry_at?: number | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
status: "
|
|
33
|
+
status: "failed" | "cancelled" | "waiting" | "retrying" | "succeeded" | "exhausted";
|
|
34
34
|
error: string;
|
|
35
35
|
error_code: string;
|
|
36
36
|
retry_id: string;
|
|
@@ -18,7 +18,7 @@ declare const LlmRetryState: z.ZodObject<{
|
|
|
18
18
|
error: z.ZodString;
|
|
19
19
|
error_code: z.ZodString;
|
|
20
20
|
}, "strict", z.ZodTypeAny, {
|
|
21
|
-
status: "
|
|
21
|
+
status: "failed" | "cancelled" | "waiting" | "retrying" | "succeeded" | "exhausted";
|
|
22
22
|
error: string;
|
|
23
23
|
error_code: string;
|
|
24
24
|
retry_id: string;
|
|
@@ -30,7 +30,7 @@ declare const LlmRetryState: z.ZodObject<{
|
|
|
30
30
|
delay_ms: number;
|
|
31
31
|
next_retry_at?: number | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
status: "
|
|
33
|
+
status: "failed" | "cancelled" | "waiting" | "retrying" | "succeeded" | "exhausted";
|
|
34
34
|
error: string;
|
|
35
35
|
error_code: string;
|
|
36
36
|
retry_id: string;
|