1.5 KiB
1.5 KiB
03 — Packages (rename + new package + meta)
Sub-plan of trap-sandbox-gateway-spec. Mechanical wiring. M3; may run in parallel with M2. Depends on the Lua file paths from 02-lua-client being settled.
Scope
ccpm package definitions only: rename the legacy package, register the new trapos-sandbox, keep
packages/index.json consistent, and add trapos-sandbox to the trapos meta with a version bump.
Task checklist
- Rename
packages/trapos-sandbox/→packages/trapos-sandbox-legacy/; set"name": "trapos-sandbox-legacy"(keep its files/autostart). - New
packages/trapos-sandbox/ccpm.json: nametrapos-sandbox, version0.1.0, deps["trapos-core"], files["apis/libsandbox.lua","programs/sandbox.lua","servers/sandbox.lua"], autostart["servers/sandbox"]. packages/index.json:trapos-sandbox: "0.1.0"+ addtrapos-sandbox-legacy: "0.2.2".packages/trapos/ccpm.json: addtrapos-sandboxto deps; bump meta version.
Notes
- The daemon stays dormant until
sandbox.urlis set, so adding it to thetraposmeta is safe. - Confirm the legacy version pinned in
index.json(0.2.2) matches the renamed package's current version before committing.
Verification gate
packages/index.json resolves both names; trapos meta installs trapos-sandbox; legacy package
still installs under its new name with files/autostart intact.