@linnlabs/linnkit 0.34.0 → 0.35.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 +16 -0
- package/dist/cli.cjs +11 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +11 -2
- 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 +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 +1113 -1113
- package/dist/contracts/events.d.ts +1113 -1113
- 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 +38 -38
- package/dist/contracts/token-accounting.d.ts +38 -38
- package/dist/index.cjs +19 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -6
- package/dist/index.js.map +1 -1
- package/dist/quickstart.cjs +11 -2
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.js +11 -2
- package/dist/quickstart.js.map +1 -1
- package/dist/runtime-kernel/child-runs/childRunInvoker.d.cts +5 -0
- package/dist/runtime-kernel/child-runs/childRunInvoker.d.ts +5 -0
- package/dist/runtime-kernel/events/agentEvents.d.cts +172 -172
- package/dist/runtime-kernel/events/agentEvents.d.ts +172 -172
- package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.cts +1 -0
- package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.ts +1 -0
- package/dist/runtime-kernel.cjs +19 -6
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.js +19 -6
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit.cjs +19 -6
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.js +19 -6
- package/dist/testkit.js.map +1 -1
- package/docs/integration/child-runs.md +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [0.35.1] - 2026-09-11
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Initialize durable graph budgets before the first checkpoint, including child runs
|
|
22
|
+
with execution policies. Every initial checkpoint now passes the public storage parser.
|
|
23
|
+
|
|
24
|
+
## [0.35.0] - 2026-09-11
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Child invocation accepts a Host-admitted initial request and turn identity. Frozen Host
|
|
29
|
+
inputs, original model and step budget survive a crash before the first graph commit;
|
|
30
|
+
continuation continues to consume only the original durable checkpoint.
|
|
31
|
+
- Paused child activation can attach the current parent execution's abort signal.
|
|
32
|
+
|
|
17
33
|
## [0.34.0] - 2026-09-11
|
|
18
34
|
|
|
19
35
|
### Added
|
package/dist/cli.cjs
CHANGED
|
@@ -3088,13 +3088,21 @@ var GraphExecutor = class {
|
|
|
3088
3088
|
if (existing) {
|
|
3089
3089
|
throw new Error(`Graph checkpoint already exists: ${checkpointKey}`);
|
|
3090
3090
|
}
|
|
3091
|
-
this.
|
|
3091
|
+
const initialLocal = this.executionCheckpointPort ? {
|
|
3092
|
+
...local,
|
|
3093
|
+
executorLocal: {
|
|
3094
|
+
...isRecord4(local.executorLocal) ? local.executorLocal : {},
|
|
3095
|
+
stepCount: 0,
|
|
3096
|
+
maxSteps: options.maxSteps ?? this.config.maxSteps
|
|
3097
|
+
}
|
|
3098
|
+
} : local;
|
|
3099
|
+
this.ephemeralLocals.set(checkpointKey, { ...initialLocal });
|
|
3092
3100
|
await this.commitCheckpoint(checkpointKey, {
|
|
3093
3101
|
nodeId,
|
|
3094
3102
|
...this.executionCheckpointPort ? { executionStatus: "ready" } : {},
|
|
3095
3103
|
revision: 1,
|
|
3096
3104
|
schemaVersion: ENGINE_STATE_SCHEMA_VERSION,
|
|
3097
|
-
local: sanitizeCheckpointLocal(
|
|
3105
|
+
local: sanitizeCheckpointLocal(initialLocal)
|
|
3098
3106
|
});
|
|
3099
3107
|
return this.runUntilYieldQueued(
|
|
3100
3108
|
checkpointKey,
|
|
@@ -12630,6 +12638,7 @@ var DefaultRunSupervisor = class {
|
|
|
12630
12638
|
metadata: { ...record.metadata, executionId: input.executionId }
|
|
12631
12639
|
});
|
|
12632
12640
|
const controller = new AbortController();
|
|
12641
|
+
forwardParentAbortSignal(controller, input.parentSignal);
|
|
12633
12642
|
handle.replaceExecutionAbortController(controller, input.executionId);
|
|
12634
12643
|
handle.attachTransportEventBus(input.eventBus);
|
|
12635
12644
|
this.controllers.set(input.runId, controller);
|