Skip to content

v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 May 00:33

Breaking

  • LightRunClient now requires @enixcode/light-run >= 0.2.0. The wire body uses run and detached (renamed upstream from setup and async). Older runners will reject the body via Zod. SDK surface is unchanged: Node.setup is still the field authors write.

Features

  • New src/env.ts module: findEnvFile (parent walk, max 5 levels), parseEnvFile, readEnvFile, pickFromEnvFile, serializeEnvFile. One place to own .env parsing.
  • light run / light serve stream container logs in near-realtime (500 ms poll) and surface stderr + result.error per failed node.
  • light node dev generates .devcontainer/devcontainer.json and opens VS Code in the same image used in production. Declared env vars are picked from the nearest .env and injected at create time (no on-disk sidecar).
  • light cleanup stops orphan light-runner-* containers; light serve auto-evicts them on boot.
  • LightRunClient seeds input as /app/.lp-input.json instead of the wire input field (workaround for a light-runner attach/demux bug).
  • lp.js / lp.py auto-load .node.json and install crash handlers so unhandled errors surface via state.error.
  • Generated lp.d.ts exports config, outputSchema, inputSchema for editor autocomplete.
  • light node helpers now regenerates lp.js / lp.py too, not just lp.d.ts.
  • Zero-config local dev: light serve spawns light-run as a child on a free port with a generated token when LIGHT_RUN_URL is unset.
  • Claude Code plugin shipped with 5 skills via the enix marketplace.

Chores

  • DEFAULT_IGNORE widened to drop .lp-input.json, .lp-output.json, .devcontainer from the files map.
  • node-dev prompt simplified to open / quit.
  • Prod and staging deploys serialized via a single concurrency group.

Upgrade notes

Operators upgrading from 0.5.x must also upgrade @enixcode/light-run on the runner host:

npm i -g @enixcode/light-run@latest    # >= 0.2.0

Otherwise every POST /run will fail with a Zod 400 on setup / async.

Full Changelog: v0.5.1...v0.6.0

build with cc