@m-kopa/launchpad-cli 0.71.0 → 0.73.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 +15 -0
- package/dist/cli.js +5918 -5750
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/recover.d.ts.map +1 -1
- package/dist/deploy/first-deploy-secrets.d.ts +34 -0
- package/dist/deploy/first-deploy-secrets.d.ts.map +1 -0
- package/dist/secrets/push.d.ts +23 -0
- package/dist/secrets/push.d.ts.map +1 -1
- package/dist/secrets/set.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/skills/launchpad-content-pr/SKILL.md +8 -1
- package/skills/launchpad-deploy/SKILL.md +3 -1
- package/skills/launchpad-deploy-status/SKILL.md +2 -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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AA0EA,OAAO,EAGL,4BAA4B,EAC7B,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AA0EA,OAAO,EAGL,4BAA4B,EAC7B,MAAM,uBAAuB,CAAC;AAiB/B,OAAO,EAAa,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAUjE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;AAEjD,eAAO,MAAM,aAAa,EAAE,OAI3B,CAAC;AAEF,UAAU,UAAU;IAClB,6BA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commands/recover.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAS,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAEjE,eAAO,MAAM,cAAc,EAAE,OAI5B,CAAC;AAIF,UAAU,WAAW;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;CACxB;
|
|
1
|
+
{"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../src/commands/recover.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAS,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAEjE,eAAO,MAAM,cAAc,EAAE,OAI5B,CAAC;AAIF,UAAU,WAAW;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;CACxB;AAyPD;;kEAEkE;AAClE,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,GAAG,GAAE,MAAsB,EAC3B,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAC5B,WAAW,GAAG,MAAM,CAgDtB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { CliConfig } from "../config.js";
|
|
2
|
+
import type { CliIo, ExitCode } from "../dispatcher.js";
|
|
3
|
+
import { type LifecycleView } from "../commands/status.js";
|
|
4
|
+
import { type PushDeps, type PushOptions } from "../secrets/push.js";
|
|
5
|
+
export interface FirstDeploySecretsDeps {
|
|
6
|
+
readonly fetchLifecycle: (slug: string) => Promise<LifecycleView | null>;
|
|
7
|
+
readonly sleep: (ms: number) => Promise<void>;
|
|
8
|
+
readonly now: () => number;
|
|
9
|
+
readonly push: (opts: PushOptions, io: CliIo, deps?: PushDeps) => Promise<ExitCode>;
|
|
10
|
+
readonly pushDeps?: PushDeps;
|
|
11
|
+
}
|
|
12
|
+
export declare function realFirstDeploySecretsDeps(cfg: CliConfig): FirstDeploySecretsDeps;
|
|
13
|
+
/**
|
|
14
|
+
* Before the bot is called: a slug the bot does not know is a first deploy, so
|
|
15
|
+
* `.env` must already hold every declared secret. Returns an exit code to stop
|
|
16
|
+
* with, or null to continue. A lifecycle read that throws never blocks (the
|
|
17
|
+
* bot enforces its own gates).
|
|
18
|
+
*/
|
|
19
|
+
export declare function firstDeploySecretsPreflight(args: {
|
|
20
|
+
readonly slug: string;
|
|
21
|
+
readonly manifestPath: string;
|
|
22
|
+
}, io: CliIo, deps: Pick<FirstDeploySecretsDeps, "fetchLifecycle">): Promise<ExitCode | null>;
|
|
23
|
+
/**
|
|
24
|
+
* After the bot answered 202 `provisioning_started`: wait for the app repo to
|
|
25
|
+
* hold `launchpad.yaml`, then push every declared secret. Returns null to carry
|
|
26
|
+
* on to verification, or an exit code to stop with. Never silent about a
|
|
27
|
+
* timeout: the author gets the exact command that finishes the job.
|
|
28
|
+
*/
|
|
29
|
+
export declare function pushSecretsWhenCommitted(args: {
|
|
30
|
+
readonly slug: string;
|
|
31
|
+
readonly manifestPath: string;
|
|
32
|
+
readonly timeoutMs: number;
|
|
33
|
+
}, io: CliIo, deps: FirstDeploySecretsDeps): Promise<ExitCode | null>;
|
|
34
|
+
//# sourceMappingURL=first-deploy-secrets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"first-deploy-secrets.d.ts","sourceRoot":"","sources":["../../src/deploy/first-deploy-secrets.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAIL,KAAK,QAAQ,EACb,KAAK,WAAW,EACjB,MAAM,oBAAoB,CAAC;AAgB5B,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,cAAc,EAAE,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
+
/**
|
|
23
|
+
* Set by `launchpad deploy` while a NEW container app is provisioning
|
|
24
|
+
* (AIO-892): the bot commits `launchpad.yaml` a moment after it accepts the
|
|
25
|
+
* deploy, so a 409 `manifest_not_found` is retried briefly, and the
|
|
26
|
+
* post-push hint says the first deploy will pick the secrets up (no
|
|
27
|
+
* `recover`).
|
|
28
|
+
*/
|
|
29
|
+
readonly firstDeploy?: {
|
|
30
|
+
readonly manifestRetries: number;
|
|
31
|
+
readonly retryDelayMs: number;
|
|
32
|
+
};
|
|
22
33
|
}
|
|
23
34
|
export interface PushDeps {
|
|
35
|
+
/** Override the wait between `manifest_not_found` retries (tests). */
|
|
36
|
+
readonly sleep?: (ms: number) => Promise<void>;
|
|
24
37
|
readonly config?: CliConfig;
|
|
25
38
|
readonly fetcher?: typeof fetch;
|
|
26
39
|
/** Override TTY detection (tests). Default: `process.stdin.isTTY`. */
|
|
@@ -29,6 +42,16 @@ export interface PushDeps {
|
|
|
29
42
|
readonly prompt?: (question: string) => Promise<string>;
|
|
30
43
|
/** Override the redeploy trigger (tests). */
|
|
31
44
|
readonly runRedeploy?: (opts: RedeployOptions, io: CliIo, deps?: RedeployDeps) => Promise<ExitCode>;
|
|
45
|
+
/** Override `launchpad recover <slug>` for a stuck container app (tests). */
|
|
46
|
+
readonly runRecover?: (args: readonly string[], io: CliIo) => Promise<ExitCode>;
|
|
32
47
|
}
|
|
33
48
|
export declare function runSecretsPush(opts: PushOptions, io: CliIo, deps?: PushDeps): Promise<ExitCode>;
|
|
49
|
+
/** Declared `env-file` secret names of a manifest (empty when unreadable). */
|
|
50
|
+
export declare function declaredEnvFileSecretNames(file: string): readonly string[];
|
|
51
|
+
/**
|
|
52
|
+
* Pre-flight for a first deploy: null when `.env` holds every declared
|
|
53
|
+
* `env-file` secret (or none are declared), else the exit code after printing
|
|
54
|
+
* the missing names.
|
|
55
|
+
*/
|
|
56
|
+
export declare function checkEnvSecretsReady(opts: PushOptions, io: CliIo): ExitCode | null;
|
|
34
57
|
//# sourceMappingURL=push.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../../src/secrets/push.ts"],"names":[],"mappings":"AAoDA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../../src/secrets/push.ts"],"names":[],"mappings":"AAoDA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAa1D,OAAO,EAAe,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE/F,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB;;;;;;OAMG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE;QACrB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;QACjC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;KAC/B,CAAC;CACH;AAED,MAAM,WAAW,QAAQ;IACvB,sEAAsE;IACtE,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/C,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;IAChC,sEAAsE;IACtE,QAAQ,CAAC,KAAK,CAAC,EAA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AE,OAAO,KAAK,CAAC;CACjC;AAoHD,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,gBAAgB,EACtB,EAAE,EAAE,KAAK,EACT,IAAI,GAAE,OAAY,GACjB,OAAO,CAAC,QAAQ,CAAC,CAuCnB;AAKD,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,cAAc,EACpB,EAAE,EAAE,KAAK,EACT,IAAI,GAAE,OAAY,GACjB,OAAO,CAAC,QAAQ,CAAC,CA4HnB"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.
|
|
1
|
+
export declare const CLI_VERSION = "0.73.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: launchpad-content-pr
|
|
3
3
|
description: Push a content change to a Launchpad app via `launchpad deploy` and verify it shipped via `launchpad status`. Covers the post-first-deploy iteration loop (edit → deploy → verify) - subsequent deploys commit directly to the app repo's main, then the dispatch delivery (or, for a legacy Pages app, the Pages build) runs asynchronously, so verification is its own step. Use when someone says "push a content change", "ship an update", "/launchpad-content-pr", "verify my deploy", or after `/launchpad-deploy` reports `done` and they want to follow up with an edit.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.73.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -367,6 +367,13 @@ Once you've shipped first content, the daily-use verbs are:
|
|
|
367
367
|
The gateway verifier names (`GATEWAY_*`, `CF_ACCESS_*`, `JWKS_URL`)
|
|
368
368
|
are platform-set on dispatch and refused with `reserved_secret_name`.
|
|
369
369
|
On a Pages app, follow the push with `launchpad redeploy`.
|
|
370
|
+
On a container app, `push` also sets the secrets as GitHub Actions
|
|
371
|
+
secrets on the app repo (the deploy workflow reads them there), so a
|
|
372
|
+
container's first deploy can be unblocked without repo access. If the
|
|
373
|
+
app is `provisioning_failed` at `deployment_verified` for missing
|
|
374
|
+
secrets (a new app's first `launchpad deploy` normally pushes them itself), run `launchpad secrets push` then `launchpad recover <slug>`
|
|
375
|
+
(the bot marks the app live when the retry run passes). `launchpad redeploy` is a
|
|
376
|
+
no-op for containers and cannot do this.
|
|
370
377
|
- **`launchpad secrets status`** — names-only PRESENT/MISSING audit
|
|
371
378
|
per binding.
|
|
372
379
|
- **`launchpad logs --slug <slug>`** - Pages apps only: recent
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: launchpad-deploy
|
|
3
3
|
description: Walk a Launchpad user through deploying an app from their local working directory (Model A — `launchpad init` + `launchpad deploy`). Wraps the CLI verbs end-to-end: detects the app shape, scaffolds `launchpad.yaml`, resolves the allowed Entra group via `launchpad groups`, bundles the CWD via `launchpad deploy`, and watches the rollout via `launchpad status`. Use when someone says "deploy a new app", "ship my app to Launchpad", "/launchpad-deploy", "I have an app locally — get it on Launchpad", or any variant. Resume/abandon for legacy in-flight provisioning is at the bottom.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.73.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -403,6 +403,8 @@ Only keep `auth: access` on an existing container app that has not been migrated
|
|
|
403
403
|
Do not switch an existing container between modes on your own; offer `/launchpad-report` so the platform team can migrate it.
|
|
404
404
|
Reading the signed-in user inside the container is covered in `/launchpad-identity`.
|
|
405
405
|
|
|
406
|
+
A container app's deploy workflow reads its declared secrets from GitHub Actions secrets on the app repo, which the author cannot reach. `launchpad secrets push` writes them there, so a container that declares secrets needs them pushed before its deploy workflow can pass. For a NEW container app `launchpad deploy` does this itself: it checks `.env` holds every declared name before calling the bot (stop and tell the author to fill `.env` if it lists missing names), then pushes the secrets once the app repo exists, and the deploy run waits for them. No separate `secrets push` or `recover` is needed. Fallback: if the first deploy ends `provisioning_failed` at `deployment_verified` because of missing secrets, run `launchpad secrets push` and then `launchpad recover <slug>` (the bot authorizes the retry run and marks it live itself). `launchpad deploy` with no change and `launchpad redeploy` cannot re-run a failed container deploy.
|
|
407
|
+
|
|
406
408
|
**First deploy vs subsequent deploys** (M-1234). Under Model A there
|
|
407
409
|
is no separate "create the app" step — `launchpad deploy` against a
|
|
408
410
|
fresh slug auto-provisions:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: launchpad-deploy-status
|
|
3
3
|
description: Show the current provisioning stage + failure reason for a Launchpad app via `launchpad status` (Model A drift + deployment_verified) and `launchpad apps` (lifecycle bucket), or watch provisioning live with `launchpad watch`. Renders the M-892 stage trace for in-flight provisioning, and is the canonical home for `launchpad recover` (repair a terminal-failed app record that is actually live). Use when someone says "what's the status of demo-X", "/launchpad-deploy-status", "is my deploy stuck", "watch my deploy go live", "watch provisioning", "my app says failed but it's serving", or after `/launchpad-deploy` reports a non-`done` terminal stage.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.73.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -71,6 +71,7 @@ inference source resolves.
|
|
|
71
71
|
| Is the app stuck in the legacy M-892 zero-touch flow? | See § Legacy below |
|
|
72
72
|
| What broke the most recent deploy? | `launchpad status <slug> --json` + the bot's PR check trail |
|
|
73
73
|
| It says `failed` but the app is live in a browser | `launchpad recover <slug>` — see § Recover below |
|
|
74
|
+
| A container app is `provisioning_failed` at `deployment_verified` (deploy workflow found its secrets missing; a one-step `launchpad deploy` normally prevents this) | `launchpad secrets push`, then `launchpad recover <slug>`; the bot authorizes and verifies the retry run and marks the app live (watch `launchpad status`) |
|
|
74
75
|
|
|
75
76
|
The Model A default is `launchpad status <slug>` (a one-shot read).
|
|
76
77
|
For an in-flight first deploy, `launchpad watch <slug>` is the live
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: launchpad-destroy
|
|
3
3
|
description: Tear down a Launchpad app end-to-end via `launchpad destroy` — Cloudflare Pages project, edge-auth wiring (gateway KV/audience entries, or the Access app for `auth: access` apps), custom hostname, platform-repo TF, and the app repo (archive-renamed). Owner-only verb with a two-step destructive confirmation. Use when someone says "destroy this app", "/launchpad-destroy", "tear down `<slug>`", "delete the app", or asks to clean up a smoke-test / orphan / retired app.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.73.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-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 the app's server code (functions/ on a react+api app, compiled into its Worker on dispatch, or a Pages Function on a legacy Pages app), 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.73.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.73.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-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.73.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.73.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|