From 8094639aa2d5095af512d4e943fcb4af801aef07 Mon Sep 17 00:00:00 2001 From: Clawd Date: Sun, 15 Feb 2026 18:49:30 -0800 Subject: feat(v2): add CLI structure and deploy orchestration - cmd/ship/root_v2.go: new CLI with ship [PATH] as primary command - cmd/ship/deploy_v2.go: deploy orchestration with context struct - Placeholder implementations for static/docker/binary deploys - Placeholder subcommands (list, status, logs, remove, host) - Support for --name, --health, --ttl, --env flags - SHIP_PRETTY env var support Next: implement actual deploy flows --- PROGRESS.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'PROGRESS.md') diff --git a/PROGRESS.md b/PROGRESS.md index 9e9029b..f38c02d 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -6,22 +6,26 @@ Tracking rebuilding ship for agent-first JSON interface. ## Completed - [x] Design docs (SHIP_V2.md, SPEC.md) - -## Current Phase: Foundation -- [ ] JSON output types and helpers -- [ ] New CLI structure (`ship [PATH]` as primary) -- [ ] Auto-detection logic -- [ ] Error codes +- [x] JSON output types and helpers (`internal/output`) +- [x] Auto-detection logic (`internal/detect`) +- [x] Error codes and exit codes +- [x] New CLI structure (`ship [PATH]` as primary) +- [x] Deploy orchestration with placeholder implementations + +## Current Phase: Deploy Implementations +- [ ] Static site deploy (rsync + Caddyfile) +- [ ] Docker deploy (build + systemd + Caddy) +- [ ] Binary deploy (scp + systemd + Caddy) +- [ ] Health check implementation ## Upcoming -- [ ] Deploy flows (static, docker, binary) -- [ ] Health checks - [ ] TTL support + cleanup timer - [ ] `ship host init` (update to match spec) -- [ ] `ship list/status/logs/remove` with JSON output +- [ ] `ship list/status/logs/remove` implementations +- [ ] Wire up v2 commands in main.go ## Commits - +- `5b88935` feat(v2): add output and detect packages --- -- cgit v1.2.3