@linnlabs/linnkit 0.35.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 +7 -0
- package/dist/cli.cjs +10 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +10 -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 +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/quickstart.cjs +10 -2
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.js +10 -2
- package/dist/quickstart.js.map +1 -1
- package/dist/runtime-kernel/events/agentEvents.d.cts +172 -172
- package/dist/runtime-kernel/events/agentEvents.d.ts +172 -172
- package/dist/runtime-kernel.cjs +10 -2
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.js +10 -2
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit.cjs +10 -2
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.js +10 -2
- package/dist/testkit.js.map +1 -1
- package/package.json +1 -1
package/dist/runtime-kernel.cjs
CHANGED
|
@@ -2992,13 +2992,21 @@ var GraphExecutor = class {
|
|
|
2992
2992
|
if (existing) {
|
|
2993
2993
|
throw new Error(`Graph checkpoint already exists: ${checkpointKey}`);
|
|
2994
2994
|
}
|
|
2995
|
-
this.
|
|
2995
|
+
const initialLocal = this.executionCheckpointPort ? {
|
|
2996
|
+
...local,
|
|
2997
|
+
executorLocal: {
|
|
2998
|
+
...isRecord4(local.executorLocal) ? local.executorLocal : {},
|
|
2999
|
+
stepCount: 0,
|
|
3000
|
+
maxSteps: options.maxSteps ?? this.config.maxSteps
|
|
3001
|
+
}
|
|
3002
|
+
} : local;
|
|
3003
|
+
this.ephemeralLocals.set(checkpointKey, { ...initialLocal });
|
|
2996
3004
|
await this.commitCheckpoint(checkpointKey, {
|
|
2997
3005
|
nodeId,
|
|
2998
3006
|
...this.executionCheckpointPort ? { executionStatus: "ready" } : {},
|
|
2999
3007
|
revision: 1,
|
|
3000
3008
|
schemaVersion: ENGINE_STATE_SCHEMA_VERSION,
|
|
3001
|
-
local: sanitizeCheckpointLocal(
|
|
3009
|
+
local: sanitizeCheckpointLocal(initialLocal)
|
|
3002
3010
|
});
|
|
3003
3011
|
return this.runUntilYieldQueued(
|
|
3004
3012
|
checkpointKey,
|