@m-kopa/launchpad-cli 0.32.2 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/dist/cli.js +5612 -4534
  3. package/dist/commands/deploy.d.ts.map +1 -1
  4. package/dist/commands/init.d.ts.map +1 -1
  5. package/dist/commands/redeploy.d.ts +39 -0
  6. package/dist/commands/redeploy.d.ts.map +1 -0
  7. package/dist/commands/status.d.ts +31 -3
  8. package/dist/commands/status.d.ts.map +1 -1
  9. package/dist/commands/watch.d.ts +9 -0
  10. package/dist/commands/watch.d.ts.map +1 -0
  11. package/dist/deploy/served-verify.d.ts +12 -0
  12. package/dist/deploy/served-verify.d.ts.map +1 -1
  13. package/dist/deploy/verify-deploy.d.ts +18 -0
  14. package/dist/deploy/verify-deploy.d.ts.map +1 -1
  15. package/dist/dispatcher.d.ts.map +1 -1
  16. package/dist/secrets/push.d.ts +15 -0
  17. package/dist/secrets/push.d.ts.map +1 -1
  18. package/dist/version.d.ts +1 -1
  19. package/dist/watch/capabilities.d.ts +23 -0
  20. package/dist/watch/capabilities.d.ts.map +1 -0
  21. package/dist/watch/engine.d.ts +35 -0
  22. package/dist/watch/engine.d.ts.map +1 -0
  23. package/dist/watch/index.d.ts +19 -0
  24. package/dist/watch/index.d.ts.map +1 -0
  25. package/dist/watch/model.d.ts +69 -0
  26. package/dist/watch/model.d.ts.map +1 -0
  27. package/dist/watch/phases.d.ts +20 -0
  28. package/dist/watch/phases.d.ts.map +1 -0
  29. package/dist/watch/render.d.ts +55 -0
  30. package/dist/watch/render.d.ts.map +1 -0
  31. package/dist/watch/sanitize.d.ts +14 -0
  32. package/dist/watch/sanitize.d.ts.map +1 -0
  33. package/package.json +2 -1
  34. package/skills/launchpad-content-pr/SKILL.md +1 -1
  35. package/skills/launchpad-deploy/SKILL.md +17 -5
  36. package/skills/launchpad-deploy-status/SKILL.md +33 -4
  37. package/skills/launchpad-destroy/SKILL.md +1 -1
  38. package/skills/launchpad-identity/SKILL.md +1 -1
  39. package/skills/launchpad-onboard/SKILL.md +1 -1
  40. package/skills/launchpad-status/SKILL.md +1 -1
package/CHANGELOG.md CHANGED
@@ -6,6 +6,67 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
  This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html);
7
7
  pre-1.0 minor bumps may carry breaking changes per ADR 0005.
8
8
 
9
+ ## 0.34.0 — 2026-06-18
10
+
11
+ New verb: **`launchpad redeploy [<slug>]`** (sp-rdpl41) — trigger a fresh
12
+ deployment of an app's **already-live content** so deploy-time config (a
13
+ just-pushed secret, env var, or binding) re-binds, without editing any files.
14
+ Closes the "pushed a secret, `launchpad deploy` says nothing to deploy, the
15
+ secret stays inactive" foot-gun: a Cloudflare Pages app binds env/secrets only
16
+ on a NEW deployment, but `deploy` is content-hash idempotent and no-ops on
17
+ unchanged content.
18
+
19
+ - **Distinct from `deploy` (ADR 0025).** `redeploy` makes **no git commit** and
20
+ never no-ops — it asks the bot to build what's already live. Activation stays
21
+ in the bot trust boundary (it holds the sole CF token); the verb is a thin
22
+ client over `POST /apps/<slug>/redeploy`.
23
+ - **Falsifiable success signal.** Reports the **new Cloudflare deployment id**
24
+ (distinct from the previously-live one — proof the production env was
25
+ re-snapshotted), then served-verifies the live URL. If CF returns the same id
26
+ (no new deployment), it says so and exits non-zero — never a phantom
27
+ activation.
28
+ - **Tier-aware.** Pages apps get a triggered deployment; Worker/container apps
29
+ bind on next invocation, so `redeploy` is an explicit no-op for them.
30
+ - **`secrets push` offers it.** When a push writes a **Pages** surface, `push`
31
+ now ends with a tier-aware next-step: an interactive prompt
32
+ (`Redeploy … now? [y/N]`), `--redeploy`/`--yes` to activate without a prompt,
33
+ or — non-interactively — the `launchpad redeploy <slug>` hint (no silent prod
34
+ deploy; push and deploy stay decoupled). Worker-only pushes don't nag.
35
+ - **Honest react verification.** Served-verify now reports a distinct
36
+ **reachability-only** outcome ("✓ Live and reachable (HTTP 200)") for
37
+ react/react+api apps instead of falsely claiming "serves exactly what you
38
+ shipped" — their build transforms source → output, so byte-equality can't be
39
+ checked. This makes both `deploy` and `redeploy` honest: a redeploy can't
40
+ silently ship a different build to prod under the guise of "just reactivating
41
+ a secret".
42
+
43
+ ## 0.33.0 — 2026-06-17
44
+
45
+ New verb: **`launchpad watch [<slug>]`** (and `launchpad status <slug> --watch`) —
46
+ watch an app provision to live in real time (sp-wtch7q). Run it in a second
47
+ terminal after a first `launchpad deploy` instead of re-running `launchpad status`
48
+ by hand.
49
+
50
+ - **Live phase pipeline.** The 15 provisioning stages are grouped into six phases
51
+ (Repo · Build · Infra · Certificate · Access · Verify) with a spinner on the
52
+ active phase, `stage N/15`, and **client-side** per-phase timers (the lifecycle
53
+ exposes only the current stage, so timings are measured from observed transitions
54
+ and omitted — never faked — for stages that completed before the watch attached).
55
+ - **Graceful terminal frames.** On live, the app URL front and centre; on failure,
56
+ the failing stage + reason + the exact recovery command. `Ctrl-C` stops *watching*
57
+ only — provisioning continues.
58
+ - **Capability-tiered, cross-platform.** A terminal probe selects the richest safe
59
+ renderer — inline live-redraw → ASCII-glyph fallback → append-only → plain — and
60
+ **degrades, never assumes** (Windows legacy code pages get ASCII, not garbage).
61
+ Piped / CI / non-TTY output is plain, escape-free text. The platform's **first
62
+ Windows CI matrix** (windows-latest × Git-Bash/PowerShell/cmd) runs the watcher's
63
+ degraded tiers.
64
+ - **Safe by construction.** Every bot-supplied string is escape-sanitised before it
65
+ reaches the terminal (no terminal-escape injection). **Zero new runtime deps** —
66
+ the ANSI is hand-rolled, now guarded by an assertive zero-runtime-dep CI check.
67
+ - A richer full-screen ("alt-screen") mode is planned as a later opt-in experimental
68
+ variant; this release ships the inline renderer.
69
+
9
70
  ## 0.32.2 — 2026-06-17
10
71
 
11
72
  Docs: skill-accuracy sweep. Audited all bundled skills against the live