@m-kopa/launchpad-cli 0.68.0 → 0.70.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 +25 -0
- package/dist/bundle/orchestrate.d.ts +2 -0
- package/dist/bundle/orchestrate.d.ts.map +1 -1
- package/dist/cli.js +460 -189
- package/dist/commands/deploy.d.ts +3 -0
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/logs.d.ts.map +1 -1
- package/dist/commands/migrate-live.d.ts +19 -0
- package/dist/commands/migrate-live.d.ts.map +1 -0
- package/dist/commands/migrate.d.ts +2 -1
- package/dist/commands/migrate.d.ts.map +1 -1
- package/dist/commands/pull.d.ts.map +1 -1
- package/dist/commands/status.d.ts +10 -0
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/deploy/deployment-status.d.ts +4 -0
- package/dist/deploy/deployment-status.d.ts.map +1 -1
- package/dist/secrets/push.d.ts +6 -0
- package/dist/secrets/push.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/skills/launchpad-content-pr/SKILL.md +4 -4
- package/skills/launchpad-deploy/SKILL.md +8 -3
- package/skills/launchpad-deploy-status/SKILL.md +10 -1
- package/skills/launchpad-destroy/SKILL.md +1 -1
- package/skills/launchpad-identity/SKILL.md +3 -2
- package/skills/launchpad-onboard/SKILL.md +1 -1
- package/skills/launchpad-report/SKILL.md +1 -1
- package/skills/launchpad-status/SKILL.md +1 -1
- package/dist/manifest/migrate-dispatch.d.ts +0 -18
- package/dist/manifest/migrate-dispatch.d.ts.map +0 -1
|
@@ -37,6 +37,9 @@ export { MAX_COMPRESSED_TARBALL_BYTES };
|
|
|
37
37
|
* with a warning: blocking would stop a registered app's deploy on a registry
|
|
38
38
|
* blip, and a new app that slips through still meets the bot's Pages capacity
|
|
39
39
|
* refusal. Also throws when the converted manifest cannot be saved.
|
|
40
|
+
*
|
|
41
|
+
* A registry blip would otherwise stop a registered app's normal deploy, so the
|
|
42
|
+
* read is retried with a short backoff before failing closed (Lead #1014).
|
|
40
43
|
*/
|
|
41
44
|
export declare function defaultToDispatch(cwd: string, manifestPath: string, io: CliIo): Promise<void>;
|
|
42
45
|
/** A new app that only implies Pages and cannot convert to dispatch. Nothing was deployed. */
|
|
@@ -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;AAY/B,OAAO,EAAa,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAY,MAAM,kBAAkB,CAAC;AASjE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;AAEjD,eAAO,MAAM,aAAa,EAAE,OAI3B,CAAC;AAEF,UAAU,UAAU;IAClB,6BAA6B;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AA6RD;;;;;;GAMG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAoBpC;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,UAAU,GAAG,IAAI,CA4BpE;AAiMD,2BAA2B;AAC3B,OAAO,EAAE,4BAA4B,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AA0EA,OAAO,EAGL,4BAA4B,EAC7B,MAAM,uBAAuB,CAAC;AAY/B,OAAO,EAAa,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAY,MAAM,kBAAkB,CAAC;AASjE,OAAO,EA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GAAG,SAAqB,GAC1C,MAAM,CAOR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../../src/commands/logs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../../src/commands/logs.ts"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAa,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAI9D,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,WAAW,EAAE,OAIzB,CAAC;AAEF,UAAU,QAAQ;IAChB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AA8FD,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,QAAQ,GAAG,IAAI,CA0BlE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,SAAS,iBAAiB,EAAE,EACzC,EAAE,EAAE,KAAK,GACR,IAAI,CA+BN"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `launchpad migrate` for a registered, live app (ADR 0041 amendment 1): a
|
|
3
|
+
* thin client over the portal-bot's `/apps/<slug>/migration` endpoint.
|
|
4
|
+
*
|
|
5
|
+
* Owns: argument-to-action mapping, the warnings an owner must read before
|
|
6
|
+
* finalize or rollback, and rendering the bot's verdicts.
|
|
7
|
+
*
|
|
8
|
+
* Must never: edit the local launchpad.yaml (the bot commits every stage and
|
|
9
|
+
* the owner picks it up with `launchpad pull`), or decide eligibility itself;
|
|
10
|
+
* the bot is the authority and this only reports what it said.
|
|
11
|
+
*/
|
|
12
|
+
import type { CliIo } from "../dispatcher.js";
|
|
13
|
+
export type LiveAction = "check" | "start" | "status" | "flip" | "finalize" | "rollback";
|
|
14
|
+
/** Run one migration action against the bot and render the answer. Returns the exit code. */
|
|
15
|
+
export declare function runLiveMigration(slug: string, action: LiveAction, options: {
|
|
16
|
+
readonly consent?: string;
|
|
17
|
+
readonly json: boolean;
|
|
18
|
+
}, io: CliIo): Promise<number>;
|
|
19
|
+
//# sourceMappingURL=migrate-live.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migrate-live.d.ts","sourceRoot":"","sources":["../../src/commands/migrate-live.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;AAsBzF,6FAA6F;AAC7F,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE;IAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CAAE,EAC9D,EAAE,EAAE,KAAK,GACR,OAAO,CAAC,MAAM,CAAC,CA2BjB"}
|
|
@@ -7,6 +7,7 @@ export declare const BACKUP_PATH = ".launchpad/manifest-before-dispatch.yaml";
|
|
|
7
7
|
export declare function secretsNextStep(secrets: readonly string[]): string | null;
|
|
8
8
|
export type DispatchConversion = {
|
|
9
9
|
readonly kind: "already";
|
|
10
|
+
readonly migrating?: boolean;
|
|
10
11
|
} | {
|
|
11
12
|
readonly kind: "eligible" | "converted";
|
|
12
13
|
readonly slug: string;
|
|
@@ -41,7 +42,7 @@ export declare class MigrationSaveError extends Error {
|
|
|
41
42
|
export declare class RegistryUnavailableError extends Error {
|
|
42
43
|
constructor(cause: unknown);
|
|
43
44
|
}
|
|
44
|
-
/** The slug already has an app record;
|
|
45
|
+
/** The slug already has an app record; `launchpad migrate` then moves it through the bot in stages. */
|
|
45
46
|
export declare class RegisteredAppError extends Error {
|
|
46
47
|
constructor();
|
|
47
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../src/commands/migrate.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAS,OAAO,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../src/commands/migrate.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAS,OAAO,EAAE,MAAM,kBAAkB,CAAC;AASvD,eAAO,MAAM,cAAc,EAAE,OAI5B,CAAC;AAgHF,oFAAoF;AACpF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAI1E;AAED,eAAO,MAAM,WAAW,6CAA6C,CAAC;AAEtE,8FAA8F;AAC9F,wBAAgB,eAAe,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAGzE;AAED,MAAM,MAAM,kBAAkB,GAC1B;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAC1D;IACE,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,WAAW,CAAC;IACxC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,kGAAkG;IAClG,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,uFAAuF;IACvF,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;CAC7C,CAAC;AAEN;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA+BjG;AAqCD;;;GAGG;AACH,qBAAa,0BAA2B,SAAQ,KAAK;gBACvC,KAAK,EAAE,OAAO;CAG3B;AAED,kFAAkF;AAClF,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,yFAAyF;AACzF,qBAAa,kBAAmB,SAAQ,KAAK;gBAC/B,KAAK,EAAE,OAAO;CAG3B;AAED,yFAAyF;AACzF,qBAAa,wBAAyB,SAAQ,KAAK;gBACrC,KAAK,EAAE,OAAO;CAG3B;AAED,uGAAuG;AACvG,qBAAa,kBAAmB,SAAQ,KAAK;;CAI5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pull.d.ts","sourceRoot":"","sources":["../../src/commands/pull.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pull.d.ts","sourceRoot":"","sources":["../../src/commands/pull.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAS,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAGjE,eAAO,MAAM,WAAW,EAAE,OAIzB,CAAC;AAEF,UAAU,QAAQ;IAChB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,oFAAoF;IACpF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B;AAoID,4EAA4E;AAC5E,wBAAgB,SAAS,CACvB,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,GAAG,GAAE,MAAsB,EAC3B,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAC5B,QAAQ,GAAG,MAAM,CA6EnB"}
|
|
@@ -29,6 +29,14 @@ export interface LifecycleView {
|
|
|
29
29
|
readonly statusPageUrl?: string;
|
|
30
30
|
/** AIO-811: latest container content-redeploy outcome (never changes `state`). */
|
|
31
31
|
readonly containerRedeploy?: ContainerRedeployView;
|
|
32
|
+
/** Live-app dispatch migration, when one has started (ADR 0041 amendment 1). */
|
|
33
|
+
readonly migration?: MigrationView;
|
|
34
|
+
}
|
|
35
|
+
/** The migration stage and the origin serving users, as the bot reports it. */
|
|
36
|
+
export interface MigrationView {
|
|
37
|
+
readonly stage: string;
|
|
38
|
+
readonly servingOrigin: "pages" | "dispatch";
|
|
39
|
+
readonly updatedAt: string;
|
|
32
40
|
}
|
|
33
41
|
/** Latest container content-redeploy outcome, as the bot reports it. */
|
|
34
42
|
export interface ContainerRedeployView {
|
|
@@ -106,6 +114,8 @@ export interface StatusJsonOutput {
|
|
|
106
114
|
readonly statusPageUrl?: string;
|
|
107
115
|
/** AIO-811: latest container content-redeploy outcome (never changes `state`). */
|
|
108
116
|
readonly containerRedeploy?: ContainerRedeployView;
|
|
117
|
+
/** Live-app dispatch migration, when one has started (ADR 0041 amendment 1). */
|
|
118
|
+
readonly migration?: MigrationView;
|
|
109
119
|
}
|
|
110
120
|
export interface StatusGroupIssue {
|
|
111
121
|
readonly code: "group_not_assigned";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/commands/status.ts"],"names":[],"mappings":"AA6CA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AAUxC,OAAO,EAIL,KAAK,QAAQ,EAEb,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;AAUlC,OAAO,KAAK,EAAS,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAGjE,eAAO,MAAM,aAAa,EAAE,OAI3B,CAAC;AAEF,UAAU,UAAU;IAClB,QAAQ,CAAC,IAAI,EAAE,MAA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GAAG,MAAM,CA2ErB"}
|
|
@@ -69,6 +69,10 @@ export interface StandingExceptionView {
|
|
|
69
69
|
* propagate.
|
|
70
70
|
*/
|
|
71
71
|
export declare function fetchStandingExceptions(cfg: CliConfig, slug: string, fetcher?: typeof fetch): Promise<readonly StandingExceptionView[] | null>;
|
|
72
|
+
/** Read the live deployment state, best-effort: any failure (old bot,
|
|
73
|
+
* transient error, auth) returns null. For callers that only use it to
|
|
74
|
+
* sharpen a message and must never fail because of it (pull, logs). */
|
|
75
|
+
export declare function fetchDeploymentStatusBestEffort(cfg: CliConfig, slug: string): Promise<DeploymentStatusView | null>;
|
|
72
76
|
/**
|
|
73
77
|
* Fetch the live deployment status. Returns `null` when the bot
|
|
74
78
|
* pre-dates the endpoint (404) or the response doesn't carry the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment-status.d.ts","sourceRoot":"","sources":["../../src/deploy/deployment-status.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;AAC/D,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,UAAU,CAAC;AACpD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAClE,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,UAAU,GACV,UAAU,GACV,WAAW,GACX,MAAM,GACN,QAAQ,CAAC;AACb,MAAM,MAAM,aAAa,GACrB,OAAO,GACP,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,UAAU,GACV,MAAM,GACN,QAAQ,CAAC;AAEb,qEAAqE;AACrE,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,eA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AqB,CACzC,GAAG,EAAE,SAAS,EACd,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,OAAO,KAAa,GAC5B,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CA8BtC"}
|
package/dist/secrets/push.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ export interface PushOptions {
|
|
|
13
13
|
* (no silent prod deploy — sp-rdpl41 AC3).
|
|
14
14
|
*/
|
|
15
15
|
readonly redeploy?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* `--staged`: write to the app's staged dispatch script during a live-app
|
|
18
|
+
* migration (between `launchpad migrate --origin dispatch` and `--flip`),
|
|
19
|
+
* so the flip's secret check passes. Users stay on Pages meanwhile.
|
|
20
|
+
*/
|
|
21
|
+
readonly staged?: boolean;
|
|
16
22
|
}
|
|
17
23
|
export interface PushDeps {
|
|
18
24
|
readonly config?: CliConfig;
|
|
@@ -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;AAY1D,OAAO,EAAe,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC/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;
|
|
1
|
+
{"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../../src/secrets/push.ts"],"names":[],"mappings":"AAoDA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC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URL=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.70.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -364,9 +364,9 @@ Once you've shipped first content, the daily-use verbs are:
|
|
|
364
364
|
- **`launchpad logs --slug <slug>`** - Pages apps only: recent
|
|
365
365
|
Cloudflare Pages deployment history (default 10 entries, max 25 via
|
|
366
366
|
`--lines`). Note: the slug is flag-only, not positional. A dispatch
|
|
367
|
-
app has no Pages deployment history, so `logs`
|
|
368
|
-
`launchpad status`, which shows the
|
|
369
|
-
is one, the GitHub Actions run URL.
|
|
367
|
+
app has no Pages deployment history, so `logs` just says so and
|
|
368
|
+
points at `launchpad status`, which shows the delivery stage, any
|
|
369
|
+
refusal reason and, when there is one, the GitHub Actions run URL.
|
|
370
370
|
- **`launchpad rollback`** — revert manifest to a prior git SHA +
|
|
371
371
|
re-apply.
|
|
372
372
|
|
|
@@ -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.70.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -177,7 +177,12 @@ If `launchpad status` shows the same refusal after that deploy, the paths are ou
|
|
|
177
177
|
A refused dispatch build is not a reason to switch to Pages: do not rewrite the manifest as v1, set `origin: pages`, or pass `--origin pages` to get past it.
|
|
178
178
|
The Cloudflare account has a fixed limit of 100 Pages projects, so a new Pages project can fail at Terraform apply even after the CLI accepts the deploy.
|
|
179
179
|
Changing `appType` to `react` would not convert the API; do not suggest it.
|
|
180
|
-
|
|
180
|
+
A live app already on Pages moves with `launchpad migrate`, not by editing `origin` and deploying: deploy refuses that with `origin_change_requires_migrate`.
|
|
181
|
+
Only an owner or co-owner can run it, and only while the platform team has switched it on for that app; otherwise it answers `migration_disabled` or `not_on_allowlist`, which is not the author's fault.
|
|
182
|
+
The steps are `launchpad migrate --origin dispatch --dry-run` (a verdict with a code per blocker, nothing changed), `launchpad migrate --origin dispatch` (stage: users stay on Pages), `launchpad migrate --status` until it says `staged`, `launchpad secrets push --staged` for every Pages secret, `launchpad migrate --flip`, then `launchpad migrate --finalize` no sooner than 24 hours later.
|
|
183
|
+
Run `launchpad pull` after each step before the next deploy; a deploy whose manifest disagrees with the migration is refused with `migration_manifest_mismatch`.
|
|
184
|
+
Never run `--flip`, `--finalize` or `--rollback` for the author without asking first; finalize deletes the Pages project, and rollback after finalize is refused.
|
|
185
|
+
Do not delete Pages resources by hand.
|
|
181
186
|
If the pool is full or inventory cannot be read, report the capacity error; do not fall back to Pages or change authentication to bypass it.
|
|
182
187
|
Do not replace that manifest with a v1 example or add `--origin pages` just because an older app uses Pages.
|
|
183
188
|
Use `--origin pages` only when Pages is deliberately required.
|
|
@@ -490,7 +495,7 @@ Flags — there is nothing useful to pass on the Model A path:
|
|
|
490
495
|
a platform capacity fault, not the author's. Do not retry on Pages,
|
|
491
496
|
and do not create a new slug to get round it. A registered app that
|
|
492
497
|
was moved from dispatch to Pages needs the platform team to return
|
|
493
|
-
it to dispatch (`launchpad migrate`
|
|
498
|
+
it to dispatch (`launchpad migrate` only moves live Pages apps), so
|
|
494
499
|
offer `/launchpad-report` with the slug and the error.
|
|
495
500
|
- **Terminal-failed but the app is actually serving** → `launchpad
|
|
496
501
|
recover <slug>`. The bot re-derives reality from live Cloudflare
|
|
@@ -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.70.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -375,6 +375,15 @@ into the body. Do **not** offer to file for a user-side failure (auth/401,
|
|
|
375
375
|
not-found/404) — resolve those instead.
|
|
376
376
|
|
|
377
377
|
|
|
378
|
+
## Live-app migration status
|
|
379
|
+
|
|
380
|
+
When `launchpad status` prints `Migration to Workers dispatch: <stage> (users served by <origin>)`, the app is mid-migration (or finished one).
|
|
381
|
+
Run `launchpad migrate --status` for the detail and relay its `Next:` line verbatim.
|
|
382
|
+
The stages are `staging` (building and uploading the Worker; users on Pages), `staged` (ready to flip), `flipped` (users on the Worker; Pages kept for rollback during the 24-hour soak), `finalized` (Pages deleted) and `rolled_back` (back on Pages).
|
|
383
|
+
In `staging`, a `Dispatch delivery: refused` line means the staged build failed: relay the reason, and the author either fixes it and deploys again or runs `launchpad migrate --rollback`.
|
|
384
|
+
Ask before running `--flip`, `--finalize` or `--rollback`; they change what users are served.
|
|
385
|
+
If a deploy is refused with `migration_manifest_mismatch` or `origin_change_requires_migrate`, run `launchpad pull` and deploy again; do not edit `origin` or `migration` by hand.
|
|
386
|
+
|
|
378
387
|
## Dispatch status in CLI 0.60.0
|
|
379
388
|
|
|
380
389
|
New static and React apps use Workers dispatch and have no per-app Pages project.
|
|
@@ -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.70.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.70.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -71,7 +71,8 @@ A dispatch `static` or `react` app **cannot ship functions**.
|
|
|
71
71
|
`launchpad migrate` and the first-deploy conversion refuse a `functions/`
|
|
72
72
|
directory on those types, and on an app that is already on dispatch the
|
|
73
73
|
build only compiles `functions/` for `react+api`, so a `functions/` tree
|
|
74
|
-
added to a static or React app ships but never runs (`/api/me` 404s).
|
|
74
|
+
added to a static or React app ships but never runs (`/api/me` 404s).
|
|
75
|
+
`launchpad deploy` warns when it sees one, but does not stop the deploy. If a
|
|
75
76
|
static or React app needs the signed-in user:
|
|
76
77
|
|
|
77
78
|
- **New app:** scaffold it as `react+api` (`launchpad init --type
|
|
@@ -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.70.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.70.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.70.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type DeploymentManifest, type Manifest, type ManifestV2 } from "@m-kopa/launchpad-engine";
|
|
2
|
-
/** What the app's wrangler config declares, already checked by the caller. */
|
|
3
|
-
export interface WranglerSettings {
|
|
4
|
-
readonly d1?: string;
|
|
5
|
-
readonly vars?: Readonly<Record<string, string>>;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Convert a Pages-implied manifest to v2 dispatch, keeping only what the
|
|
9
|
-
* dispatch runtime preserves. Wrangler `vars` become plain_text env vars.
|
|
10
|
-
*/
|
|
11
|
-
export declare function dispatchManifest(manifest: DeploymentManifest, wrangler?: WranglerSettings): ManifestV2;
|
|
12
|
-
/**
|
|
13
|
-
* The D1 binding name when `targets` is exactly one pages target carrying
|
|
14
|
-
* `d1_binding`. Dispatch declares that database as `spec.bindings.d1`; every
|
|
15
|
-
* other target shape (cron Workers, secrets surfaces) has no dispatch form.
|
|
16
|
-
*/
|
|
17
|
-
export declare function pagesTargetD1(manifest: Pick<Manifest, "targets">): string | undefined;
|
|
18
|
-
//# sourceMappingURL=migrate-dispatch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migrate-dispatch.d.ts","sourceRoot":"","sources":["../../src/manifest/migrate-dispatch.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,kBAAkB,EAEvB,KAAK,QAAQ,EACb,KAAK,UAAU,EAGhB,MAAM,0BAA0B,CAAC;AAUlC,8EAA8E;AAC9E,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAClD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,QAAQ,GAAE,gBAAqB,GAAG,UAAU,CAiD1G;AA2FD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,MAAM,GAAG,SAAS,CAIrF"}
|