@m-kopa/launchpad-cli 0.55.0 → 0.56.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.
- package/CHANGELOG.md +16 -0
- package/dist/bundle/upload.d.ts +4 -0
- package/dist/bundle/upload.d.ts.map +1 -1
- package/dist/cli.js +260 -151
- package/dist/commands/deploy-flags.d.ts +2 -0
- package/dist/commands/deploy-flags.d.ts.map +1 -1
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/status.d.ts +3 -0
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/deploy/access-drift-offer.d.ts +2 -0
- package/dist/deploy/access-drift-offer.d.ts.map +1 -1
- package/dist/deploy/apply.d.ts +2 -0
- package/dist/deploy/apply.d.ts.map +1 -1
- package/dist/deploy/manifest-state.d.ts +2 -1
- package/dist/deploy/manifest-state.d.ts.map +1 -1
- package/dist/status-page-output.d.ts +12 -0
- package/dist/status-page-output.d.ts.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/watch/index.d.ts +3 -0
- package/dist/watch/index.d.ts.map +1 -1
- package/dist/watch/model.d.ts +1 -0
- package/dist/watch/model.d.ts.map +1 -1
- package/package.json +1 -1
- package/skills/launchpad-content-pr/SKILL.md +1 -1
- package/skills/launchpad-deploy/SKILL.md +1 -1
- package/skills/launchpad-deploy-status/SKILL.md +1 -1
- package/skills/launchpad-destroy/SKILL.md +1 -1
- package/skills/launchpad-identity/SKILL.md +1 -1
- package/skills/launchpad-onboard/SKILL.md +1 -1
- package/skills/launchpad-report/SKILL.md +1 -1
- package/skills/launchpad-status/SKILL.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,10 @@ pre-1.0 minor bumps may carry breaking changes per ADR 0005.
|
|
|
8
8
|
|
|
9
9
|
## Unreleased
|
|
10
10
|
|
|
11
|
+
## 0.56.0 - 2026-08-17
|
|
12
|
+
|
|
13
|
+
**Container runtime validation and deploy status pages are now available from the CLI.**
|
|
14
|
+
|
|
11
15
|
- Container commands now distinguish schema validity from runtime support before any network or filesystem mutation.
|
|
12
16
|
The first production runtime supports one local Dockerfile-backed container and rejects multi-container or registry-image manifests with a stable reason and field path.
|
|
13
17
|
- Container generation now emits deterministic `container/wrangler.toml`, `container/worker/index.ts`, and `.github/workflows/deploy.yml` artifacts.
|
|
@@ -17,6 +21,10 @@ pre-1.0 minor bumps may carry breaking changes per ADR 0005.
|
|
|
17
21
|
- Platform operators can revoke a deploy-status capability immediately with `launchpad admin status-revoke <url>`, including capabilities on a non-production host selected through `LAUNCHPAD_STATUS_PAGE_HOST`.
|
|
18
22
|
- Shareable deploy-status capability URLs now serve a noindex HTML timeline and a closed, free-text-free JSON schema with five-second ETag polling.
|
|
19
23
|
- Apply PR descriptions now include a token-free pointer to `launchpad status <slug>` so reviewers know how to follow the deployment without exposing an ephemeral status capability.
|
|
24
|
+
- `launchpad deploy` prints the ephemeral status page URL as soon as the bot returns it and opens it once in the browser for an interactive terminal.
|
|
25
|
+
- Automatic opening accepts only HTTPS URLs on the configured status-page host.
|
|
26
|
+
It is suppressed by `--no-open`, any `CI` environment setting, redirected stdout, or `"statusPageAutoOpen": false` in `~/.launchpad/config.json`, while the URL is still printed.
|
|
27
|
+
- `launchpad status` repeats the latest attempt's status page URL, and `launchpad watch` places it above the live view when the lifecycle response carries it.
|
|
20
28
|
- Fixed Model A first deployments with Pages D1 bindings so provisioning creates or adopts the slug-named database before the initial content commit, pins that durable UUID into the exact build-root `wrangler.toml`, and binds the same UUID after Terraform creates the Pages project.
|
|
21
29
|
Provisioning now fails closed on unsafe or missing TOML targets and on post-Terraform UUID drift instead of allowing every initial Pages build to fail with a stale database UUID.
|
|
22
30
|
- A manifest declaring a `pages` `d1_binding` with no `wrangler.toml` in its build root is now rejected with `400 bad_manifest`, naming the exact path expected, before the slug is claimed.
|
|
@@ -25,6 +33,14 @@ pre-1.0 minor bumps may carry breaking changes per ADR 0005.
|
|
|
25
33
|
The output labels this as latest evidence rather than claiming causality, reports why evidence is unavailable in JSON, and scrubs secret-shaped failed stages, excerpts, commit messages, and read errors.
|
|
26
34
|
- `launchpad status` no longer contradicts itself when a read reconciles a failed record to live: it labels the lifecycle snapshot stale and suppresses the `launchpad recover` instruction instead of printing both.
|
|
27
35
|
|
|
36
|
+
## 0.55.0 - 2026-07-31
|
|
37
|
+
|
|
38
|
+
**Deploy status capability controls and hosting support.**
|
|
39
|
+
|
|
40
|
+
- Platform operators can revoke a deploy-status capability immediately with `launchpad admin status-revoke <url>`.
|
|
41
|
+
- Shareable deploy-status capability URLs serve a noindex HTML timeline and a closed, free-text-free JSON schema with five-second ETag polling.
|
|
42
|
+
- Apply PR descriptions include a token-free pointer to `launchpad status <slug>` so reviewers can follow the deployment without exposing an ephemeral status capability.
|
|
43
|
+
|
|
28
44
|
## 0.54.1 - 2026-07-29
|
|
29
45
|
|
|
30
46
|
**Deleted application files now stay deleted after deployment.**
|
package/dist/bundle/upload.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export interface DeployBundleAccepted {
|
|
|
57
57
|
readonly staleness?: StalenessVerdict;
|
|
58
58
|
/** Present when the committed content also needs exact-SHA access apply. */
|
|
59
59
|
readonly reconcile?: AccessReconcileOutcome;
|
|
60
|
+
readonly statusPageUrl?: string | null;
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* Response shape when managed main already matches the upload
|
|
@@ -71,6 +72,7 @@ export interface DeployBundleNothingToDeploy {
|
|
|
71
72
|
readonly boundary_stripped?: readonly string[];
|
|
72
73
|
readonly standing_exceptions?: StandingExceptionsSummary;
|
|
73
74
|
readonly staleness?: StalenessVerdict;
|
|
75
|
+
readonly statusPageUrl?: string | null;
|
|
74
76
|
}
|
|
75
77
|
/**
|
|
76
78
|
* Response shape when the slug was never registered before and the
|
|
@@ -87,6 +89,7 @@ export interface DeployBundleProvisioningStarted {
|
|
|
87
89
|
readonly submissionId: string;
|
|
88
90
|
readonly appType: string;
|
|
89
91
|
readonly message: string;
|
|
92
|
+
readonly statusPageUrl?: string | null;
|
|
90
93
|
}
|
|
91
94
|
/** Any success shape (202 accepted / 202 provisioning / 200 no-op). */
|
|
92
95
|
export type DeployBundleSuccess = DeployBundleAccepted | DeployBundleProvisioningStarted | DeployBundleNothingToDeploy;
|
|
@@ -112,6 +115,7 @@ export interface DeployBundleError extends StructuredErrorEnvelope {
|
|
|
112
115
|
readonly reason?: string;
|
|
113
116
|
readonly minimum?: string;
|
|
114
117
|
readonly yours?: string;
|
|
118
|
+
readonly statusPageUrl?: string | null;
|
|
115
119
|
}
|
|
116
120
|
export type DeployBundleResult = {
|
|
117
121
|
kind: "ok";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/bundle/upload.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGvD,eAAO,MAAM,6BAA6B,kCACT,CAAC;AAClC,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAE3D,MAAM,MAAM,oBAAoB,GAC5B,UAAU,GACV,WAAW,GACX,SAAS,GACT,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,kEAAkE;AAClE,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAC;IACrC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ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