mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-10 20:39:59 +00:00
* fix: validate manifest fields are plain objects, not just truthy isValidManifest used !!data.agents/clouds/matrix which accepts strings, numbers, and arrays. Downstream Object.keys() then silently returns character indices or array indices instead of real agent/cloud names. Replace with isPlainObject() checks to reject non-object values. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * test: add validation tests for non-object manifest fields Tests that loadManifest rejects manifests where agents/clouds/matrix are strings, arrays, or numbers instead of plain objects. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: L <6723574+louisgv@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||