Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 14 Jun 08:39
· 435 commits to main since this release
8dcf1dd

This patch release fixes container targeting for dwe logs/stop/restart/reset --service (now resolved by compose labels instead of guessed names), adds whole-stack dwe logs, corrects the files dwe init scaffolds, and expands the bundled dwe agent skill into a setup-and-authoring assistant.

🐛 Fixes

Label-based container resolution (#16)

Commands targeting a specific container (dwe logs, dwe stop <name>, dwe restart <name>, dwe reset run --service <name>) previously guessed the container name as <project>-<container>, which broke under compose's default <project>-<service>-<index> naming and failed with "No such container". They now resolve the real container via the com.docker.compose.project + com.docker.compose.service labels — like dwe status/dwe shell already did — so targeting works regardless of any container_name override or -N suffix. Also fixes a latent bug where reset --service silently left an un-pinned container behind.

dwe init scaffold fixes (#17)

  • /.env is now gitignored — the generated root env file (dwe render env --out .env) was previously committable, secrets included.
  • Init templates pointed at dwe docs config <area>, which isn't a real command (rc=1); replaced everywhere with the working dwe docs show config/<area>.
  • .gitignore gained the render-pack override pattern (workspace/templates/*/*.local/), root-anchored /.dwe/, and a minimal editor/OS set (.DS_Store, /.idea/, /.vscode/, /.zed/, …) anchored so it never shadows tracked ide-pack files.

✨ Features

Whole-stack dwe logs (#16)

dwe logs with no argument now tails the whole stack instead of erroring: text via docker compose logs (native prefixes), JSON via a per-service multiplex with a service field on each NDJSON record. Whole-stack lookups run concurrently and always reap their subprocesses.

dwe shell cwd detection (#16)

Standing in a service's source directory now auto-selects that service; an explicit argument still wins, then single-enabled / interactive selection.

📚 Docs

  • The bundled dwe agent skill (skills/dwe/) grew from a thin navigator into a navigator + authoring assistant, with six new on-demand reference guides (populate-init-repo, add-service-and-tools, authoring-commands, render-and-vars, pipelines-and-orchestration, snapshots-reset-troubleshoot). (#18)
  • The generated AGENTS.md now documents --lang en and --output json conventions; container field reference and dwe logs usage updated (EN + RU). (#16, #17)

Full changelog: v0.2.0...v0.2.1