@linnlabs/linnkit 0.32.3 → 0.34.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 (83) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/cli.cjs +458 -70
  3. package/dist/cli.cjs.map +1 -1
  4. package/dist/cli.js +458 -70
  5. package/dist/cli.js.map +1 -1
  6. package/dist/context-manager.cjs +55 -0
  7. package/dist/context-manager.cjs.map +1 -1
  8. package/dist/context-manager.js +55 -0
  9. package/dist/context-manager.js.map +1 -1
  10. package/dist/contracts/agentSpec.d.cts +30 -30
  11. package/dist/contracts/agentSpec.d.ts +30 -30
  12. package/dist/contracts/audit.d.cts +24 -24
  13. package/dist/contracts/audit.d.ts +24 -24
  14. package/dist/contracts/contextPolicy.d.cts +36 -36
  15. package/dist/contracts/contextPolicy.d.ts +36 -36
  16. package/dist/contracts/events.d.cts +1083 -1083
  17. package/dist/contracts/events.d.ts +1083 -1083
  18. package/dist/contracts/execution.d.cts +8 -8
  19. package/dist/contracts/execution.d.ts +8 -8
  20. package/dist/contracts/messages.d.cts +1178 -1178
  21. package/dist/contracts/messages.d.ts +1178 -1178
  22. package/dist/contracts/provider-continuation.d.cts +28 -28
  23. package/dist/contracts/provider-continuation.d.ts +28 -28
  24. package/dist/contracts/sse.d.cts +899 -899
  25. package/dist/contracts/sse.d.ts +899 -899
  26. package/dist/contracts/sub-run-trace-payload.d.cts +26 -26
  27. package/dist/contracts/sub-run-trace-payload.d.ts +26 -26
  28. package/dist/contracts/token-accounting.d.cts +30 -30
  29. package/dist/contracts/token-accounting.d.ts +30 -30
  30. package/dist/index.cjs +538 -94
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.js +538 -94
  33. package/dist/index.js.map +1 -1
  34. package/dist/quickstart/toolRuntime.d.cts +1 -1
  35. package/dist/quickstart/toolRuntime.d.ts +1 -1
  36. package/dist/quickstart/types.d.cts +1 -1
  37. package/dist/quickstart/types.d.ts +1 -1
  38. package/dist/quickstart.cjs +458 -70
  39. package/dist/quickstart.cjs.map +1 -1
  40. package/dist/quickstart.js +458 -70
  41. package/dist/quickstart.js.map +1 -1
  42. package/dist/runtime-kernel/child-runs/childRunInvoker.d.cts +11 -0
  43. package/dist/runtime-kernel/child-runs/childRunInvoker.d.ts +11 -0
  44. package/dist/runtime-kernel/events/agentEvents.d.cts +172 -172
  45. package/dist/runtime-kernel/events/agentEvents.d.ts +172 -172
  46. package/dist/runtime-kernel/execution/eventBusEventPersistence.d.cts +15 -1
  47. package/dist/runtime-kernel/execution/eventBusEventPersistence.d.ts +15 -1
  48. package/dist/runtime-kernel/graph-engine/definitions/runContinuation.d.cts +34 -0
  49. package/dist/runtime-kernel/graph-engine/definitions/runContinuation.d.ts +34 -0
  50. package/dist/runtime-kernel/graph-engine/engine.d.cts +13 -2
  51. package/dist/runtime-kernel/graph-engine/engine.d.ts +13 -2
  52. package/dist/runtime-kernel/graph-engine/functions/parseEngineCheckpoint.d.cts +6 -0
  53. package/dist/runtime-kernel/graph-engine/functions/parseEngineCheckpoint.d.ts +6 -0
  54. package/dist/runtime-kernel/graph-engine/index.d.cts +3 -1
  55. package/dist/runtime-kernel/graph-engine/index.d.ts +3 -1
  56. package/dist/runtime-kernel/graph-engine/types.d.cts +8 -0
  57. package/dist/runtime-kernel/graph-engine/types.d.ts +8 -0
  58. package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.cts +35 -6
  59. package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.ts +35 -6
  60. package/dist/runtime-kernel/run-supervisor/index.d.cts +1 -1
  61. package/dist/runtime-kernel/run-supervisor/index.d.ts +1 -1
  62. package/dist/runtime-kernel/run-supervisor/memoryRunRegistryStore.d.cts +1 -0
  63. package/dist/runtime-kernel/run-supervisor/memoryRunRegistryStore.d.ts +1 -0
  64. package/dist/runtime-kernel/run-supervisor/runHandle.d.cts +9 -5
  65. package/dist/runtime-kernel/run-supervisor/runHandle.d.ts +9 -5
  66. package/dist/runtime-kernel/run-supervisor/runRegistryStorePort.d.cts +2 -0
  67. package/dist/runtime-kernel/run-supervisor/runRegistryStorePort.d.ts +2 -0
  68. package/dist/runtime-kernel/run-supervisor/runSupervisor.d.cts +9 -2
  69. package/dist/runtime-kernel/run-supervisor/runSupervisor.d.ts +9 -2
  70. package/dist/runtime-kernel.cjs +535 -91
  71. package/dist/runtime-kernel.cjs.map +1 -1
  72. package/dist/runtime-kernel.d.cts +3 -1
  73. package/dist/runtime-kernel.d.ts +3 -1
  74. package/dist/runtime-kernel.js +532 -92
  75. package/dist/runtime-kernel.js.map +1 -1
  76. package/dist/testkit.cjs +535 -91
  77. package/dist/testkit.cjs.map +1 -1
  78. package/dist/testkit.js +535 -91
  79. package/dist/testkit.js.map +1 -1
  80. package/docs/integration/child-runs.md +12 -0
  81. package/docs/integration/persistence.md +24 -0
  82. package/docs/integration/run-supervisor.md +15 -2
  83. 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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
24
+ card?: "none" | "image" | "normal" | "collapsible" | "interactive" | undefined;
25
25
  }, {
26
26
  content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
27
- card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
27
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
41
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
55
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
81
+ card?: "none" | "image" | "normal" | "collapsible" | "interactive" | undefined;
82
82
  }, {
83
83
  content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
84
- card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
84
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
98
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
112
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
24
+ card?: "none" | "image" | "normal" | "collapsible" | "interactive" | undefined;
25
25
  }, {
26
26
  content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
27
- card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
27
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
41
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
55
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
81
+ card?: "none" | "image" | "normal" | "collapsible" | "interactive" | undefined;
82
82
  }, {
83
83
  content?: "code" | "text" | "markdown" | "json" | "image_url" | undefined;
84
- card?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
84
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
98
+ card?: "none" | "image" | "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?: "image" | "none" | "normal" | "collapsible" | "interactive" | undefined;
112
+ card?: "none" | "image" | "normal" | "collapsible" | "interactive" | undefined;
113
113
  } | undefined;
114
114
  run_location?: "frontend" | "backend" | undefined;
115
115
  }>;