melchizedek-agents 1.10.1 → 1.10.2
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 +11 -0
- package/dist/lib/sandbox/sandbox.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ Consumers of the package read this file; it records changes to the
|
|
|
4
4
|
**published API surface** (the exports map in `package.json`, the bins,
|
|
5
5
|
the starter pack and the templates), not the repo's full history.
|
|
6
6
|
|
|
7
|
+
## 1.10.2 — 2026-10-21
|
|
8
|
+
|
|
9
|
+
A patch release: a process that ran the code sandbox could fail to exit.
|
|
10
|
+
`runInSandbox` (`melchizedek-agents/sandbox`, used by `run_code` and
|
|
11
|
+
`script:`) started each worker with V8 heap caps; with them, a garbage
|
|
12
|
+
collection a background compile job requested while the worker was exiting
|
|
13
|
+
could deadlock Node's task drain (nodejs/node#54918), so that worker never
|
|
14
|
+
exited and its process stayed alive after its work was done. The worker now
|
|
15
|
+
runs without `resourceLimits` (ADR 0142); a run's memory is still bounded by
|
|
16
|
+
its wasm memory limit (default 64 MB). No API changes.
|
|
17
|
+
|
|
7
18
|
## 1.10.1 — 2026-10-21
|
|
8
19
|
|
|
9
20
|
A patch release: `zod` is pinned exactly again (`4.6.7`). 1.10.0 named it
|
|
@@ -159,8 +159,10 @@ export async function runInSandbox(opts) {
|
|
|
159
159
|
const worker = new Worker(workerUrl(), {
|
|
160
160
|
// Source runs need type stripping in the worker; the package runs compiled JS.
|
|
161
161
|
execArgv: import.meta.url.endsWith('.ts') ? ['--experimental-strip-types', '--disable-warning=ExperimentalWarning'] : [],
|
|
162
|
-
//
|
|
163
|
-
|
|
162
|
+
// No resourceLimits: the code's heap is the wasm memory setMemoryLimit holds, outside the V8
|
|
163
|
+
// heap. Capping the V8 heap made GCs frequent enough that one a background compile job asked
|
|
164
|
+
// for while the worker was exiting deadlocked Node's task drain, so the worker never exited
|
|
165
|
+
// and its process never could (ADR 0142).
|
|
164
166
|
stdout: true,
|
|
165
167
|
stderr: true,
|
|
166
168
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "melchizedek-agents",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "A multi-model, multi-agent orchestration framework — YAML-defined syndicates on the engine's own agent loop, Supabase or Postgres session persistence, pgvector long-term memory. Companion repo to the lyceumagents.com curriculum.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|