melchizedek-agents 1.10.0 → 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 CHANGED
@@ -4,6 +4,23 @@ 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
+
18
+ ## 1.10.1 — 2026-10-21
19
+
20
+ A patch release: `zod` is pinned exactly again (`4.6.7`). 1.10.0 named it
21
+ as `^4.6.7`, so a consumer could resolve a newer zod than the one the
22
+ engine was tested with; nothing else changes.
23
+
7
24
  ## 1.10.0 — 2026-10-20
8
25
 
9
26
  A minor release for deployments: a served syndicate takes end-user
@@ -39,7 +39,7 @@ const syndicateRecord = z
39
39
  export const projectManifestSchema = z
40
40
  .object({
41
41
  manifest: z.number().int().min(1),
42
- engine: z.string().regex(/^\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?$/, 'must be an exact version, e.g. 1.10.0'),
42
+ engine: z.string().regex(/^\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?$/, 'must be an exact version, e.g. 1.10.1'),
43
43
  agents: relPath,
44
44
  ignore: z.array(z.string().min(1)).optional(),
45
45
  tests: relPath.optional(),
@@ -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
- // The wasm heap is held by setMemoryLimit; this bounds the JS around it.
163
- resourceLimits: { maxOldGenerationSizeMb: 96, maxYoungGenerationSizeMb: 16 },
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.0",
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",
@@ -168,7 +168,7 @@
168
168
  "pg": "^8.23.1",
169
169
  "quickjs-emscripten-core": "0.32.0",
170
170
  "yaml": "^2.9.0",
171
- "zod": "^4.6.7"
171
+ "zod": "4.6.7"
172
172
  },
173
173
  "devDependencies": {
174
174
  "@electric-sql/pglite": "^0.5.10",