@m-kopa/launchpad-cli 0.57.0 → 0.61.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 +89 -0
- package/README.md +10 -0
- package/dist/bundle/upload.d.ts +2 -0
- package/dist/bundle/upload.d.ts.map +1 -1
- package/dist/cli.js +845 -326
- package/dist/commands/deploy-flags.d.ts.map +1 -1
- package/dist/commands/deploy.d.ts +15 -0
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/init.d.ts +5 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/status.d.ts +14 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/deploy/apply.d.ts +6 -0
- package/dist/deploy/apply.d.ts.map +1 -1
- package/dist/deploy/commit-match-settle.d.ts +14 -1
- package/dist/deploy/commit-match-settle.d.ts.map +1 -1
- package/dist/deploy/deployment-status.d.ts +19 -0
- package/dist/deploy/deployment-status.d.ts.map +1 -1
- package/dist/deploy/manifest-diff.d.ts +2 -0
- package/dist/deploy/manifest-diff.d.ts.map +1 -1
- package/dist/deploy/verify-deploy.d.ts +2 -0
- package/dist/deploy/verify-deploy.d.ts.map +1 -1
- package/dist/manifest/load.d.ts +27 -0
- package/dist/manifest/load.d.ts.map +1 -1
- package/dist/secrets/push.d.ts +8 -0
- package/dist/secrets/push.d.ts.map +1 -1
- package/dist/secrets/status.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/skills/launchpad-content-pr/SKILL.md +13 -1
- package/skills/launchpad-deploy/SKILL.md +50 -23
- package/skills/launchpad-deploy-status/SKILL.md +10 -1
- package/skills/launchpad-destroy/SKILL.md +1 -1
- package/skills/launchpad-identity/SKILL.md +1 -1
- package/skills/launchpad-onboard/SKILL.md +13 -1
- package/skills/launchpad-report/SKILL.md +1 -1
- package/skills/launchpad-status/SKILL.md +10 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: launchpad-identity
|
|
3
3
|
description: Teach an app author how to use the signed-in user's identity inside a Launchpad app — read the gateway-forwarded X-Launchpad-User-Assertion in a Pages Function, VERIFY it with @m-kopa/platform-auth (fail-closed), and show who's logged in (sub/email/name). Use when someone says "who is logged in", "show the current user", "get the user's email in my app", "auth in my launchpad app", "read the user identity", "/launchpad-identity", or is wiring up an /api/me for a gateway-fronted app.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.61.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: launchpad-onboard
|
|
3
3
|
description: One-time setup for the Launchpad CLI + Claude Code skill bundle. Verifies the `launchpad` CLI is installed and current, runs `launchpad whoami` to confirm the session is fresh, and checks the bundled skills are installed and in lock-step with the CLI. Idempotent — safe to re-run any time. Use when someone says "set me up for Launchpad", "I just got a new machine and want to use Launchpad", "/launchpad-onboard", or any of the other launchpad-* skills fails on a prereq check.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.61.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -211,3 +211,15 @@ Otherwise finish with:
|
|
|
211
211
|
- Do **not** read `~/.launchpad/session.json` directly. Use
|
|
212
212
|
`launchpad whoami`; the file is an internal artefact.
|
|
213
213
|
- Do **not** retry indefinitely. One pass, one summary, done.
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
## New app defaults
|
|
217
|
+
|
|
218
|
+
`launchpad init` creates new static and React apps on Workers dispatch with gateway authentication.
|
|
219
|
+
The generated v2 manifest preserves the detected build settings and the chosen access groups.
|
|
220
|
+
Use the normal `launchpad deploy` flow; authors do not create Cloudflare projects or choose a gateway.
|
|
221
|
+
The platform assigns new gateway-fronted apps to the configured gateway with the most free hostname slots, including pending reservations.
|
|
222
|
+
Existing apps keep their assigned gateway, URL and access groups.
|
|
223
|
+
React API starters remain on Pages, and existing manifests keep their current origin.
|
|
224
|
+
An explicit `--origin pages` is available when required.
|
|
225
|
+
Dispatch secret bindings are not supported yet, so do not promise that `launchpad secrets push` will work for those apps.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: launchpad-report
|
|
3
3
|
description: File a bug report or feature request to the Launchpad team's tracker from the CLI. Use when someone reports something broken, hits an error in a launchpad command, or wishes a feature existed — e.g. "this is broken", "report a bug", "can you file that", "I wish launchpad could…", "/launchpad-bug", "/launchpad-feature". Always confirm and show exactly what you'll send before filing; never file silently.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.61.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: launchpad-status
|
|
3
3
|
description: Safely refresh a Launchpad clone, show manifest drift, or read the deployed manifest. Wraps bare `launchpad pull` for source sync, `launchpad pull --manifest` for deployed YAML, and `launchpad status` for drift. Use for "sync my clone", "what's deployed", "show drift", "/launchpad-status", "/launchpad-pull", or post-deploy verification.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.61.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -379,3 +379,12 @@ CI.
|
|
|
379
379
|
## Version
|
|
380
380
|
|
|
381
381
|
This skill ships in launchpad-cli v0.56.0+.
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
## Dispatch status in CLI 0.60.0
|
|
385
|
+
|
|
386
|
+
New static and React apps use Workers dispatch and have no per-app Pages project.
|
|
387
|
+
A missing Pages project is expected for `origin: dispatch`; do not treat it as a failed deployment or create a replacement.
|
|
388
|
+
Use `launchpad status <slug> --json` to compare `deployedSha`, `headSha` and `deployment.liveDeployment.buildStatus`.
|
|
389
|
+
A `live_drift_unknown` state can include a successful dispatch deployment while infrastructure drift is unavailable.
|
|
390
|
+
If the CLI's first-deploy wait expires, keep checking the recorded submission instead of creating another app or claiming it is live.
|