@m-kopa/launchpad-cli 0.75.0 → 0.75.2
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 +12 -0
- package/dist/cli.js +55 -3
- package/dist/commands/envvars.d.ts +8 -0
- package/dist/commands/envvars.d.ts.map +1 -1
- package/dist/http/error-envelope.d.ts +2 -0
- package/dist/http/error-envelope.d.ts.map +1 -1
- package/dist/secrets/declared.d.ts +4 -0
- package/dist/secrets/declared.d.ts.map +1 -1
- package/dist/secrets/push.d.ts.map +1 -1
- package/dist/secrets/set.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 +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-ingest/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
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ 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.75.2 - 2026-10-12
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `launchpad envvars set KEY=value --secret` on a per-app-workspace app (this includes new dispatch apps) no longer stops at a dead-end HTTP 501 `per_app_env_var_edit_not_wired` that named an internal runbook (AIO-1070). The platform still makes no direct change there, because Terraform is the only writer for that app (ADR 0018). The CLI now prints the supported route: declare the name in `launchpad.yaml` under `spec.env_vars` with `type: secret_text` and a `secret_ref`, run `launchpad deploy`, then run `launchpad secrets push` (or `--env <file>`). A plain-text `set` or an `rm` prints the manifest and `launchpad deploy` step. The bot sends a `hint` field (`use_secrets_push` or `use_manifest_deploy`) so that an older CLI also shows a usable message.
|
|
14
|
+
|
|
15
|
+
## 0.75.1 - 2026-10-07
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- A `secret_text` secret on a **static app on the dispatch origin** no longer reads PRESENT and then silently goes MISSING after the next deploy (AIO-763). A static app's dispatch script is assets-only: it has no code that can read a secret, and Cloudflare drops secrets from it on the next delivery. `launchpad secrets push` now writes such secrets to the app's cron target(s) only. With no cron target, or with `targets: [primary]`, the push stops with `static_app_no_secrets` and writes nothing. `launchpad secrets status` leaves the assets-only script out of the audit and says so. With no cron target it exits `1` with the reason instead of a false green. `secrets status --set` reports such a member as an audit error.
|
|
20
|
+
|
|
9
21
|
## 0.75.0 - 2026-10-07
|
|
10
22
|
|
|
11
23
|
### Added
|
package/dist/cli.js
CHANGED
|
@@ -19,7 +19,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
20
20
|
|
|
21
21
|
// src/version.ts
|
|
22
|
-
var CLI_VERSION = "0.75.
|
|
22
|
+
var CLI_VERSION = "0.75.2";
|
|
23
23
|
|
|
24
24
|
// src/config.ts
|
|
25
25
|
import { readFileSync } from "node:fs";
|
|
@@ -75,6 +75,7 @@ function decodeErrorEnvelope(input, context) {
|
|
|
75
75
|
const code = boundedOptionalString(body.code, "code", omissions) ?? legacyError ?? "api_error";
|
|
76
76
|
const serverMessage = boundedOptionalString(body.message, "message", omissions);
|
|
77
77
|
const reason = boundedOptionalString(body.reason, "reason", omissions);
|
|
78
|
+
const hint = boundedOptionalString(body.hint, "hint", omissions);
|
|
78
79
|
const message = serverMessage ?? `bot returned HTTP ${context.status}`;
|
|
79
80
|
const source = boundedOptionalString(body.source, "source", omissions);
|
|
80
81
|
const sourceSha = nullableBoundedString(body.source_sha ?? body.sourceSha, "source_sha", omissions);
|
|
@@ -86,6 +87,7 @@ function decodeErrorEnvelope(input, context) {
|
|
|
86
87
|
message,
|
|
87
88
|
...serverMessage === undefined ? {} : { serverMessage },
|
|
88
89
|
...reason === undefined ? {} : { reason },
|
|
90
|
+
...hint === undefined ? {} : { hint },
|
|
89
91
|
...legacyError === undefined ? {} : { legacyError },
|
|
90
92
|
...source === undefined ? {} : { source },
|
|
91
93
|
...sourceSha === undefined ? {} : { sourceSha },
|
|
@@ -9356,6 +9358,8 @@ function declaredSecrets(loaded) {
|
|
|
9356
9358
|
bindings: [...m.spec.secrets?.bindings ?? [], ...fromEnvVars]
|
|
9357
9359
|
};
|
|
9358
9360
|
}
|
|
9361
|
+
var ASSETS_ONLY_NO_SURFACE = "this static app's dispatch script is assets-only, so it holds no secrets, and the app has no " + "cron target to hold them. Remove the secret_text entries from spec.env_vars, or change " + "spec.appType to react+api if server code needs them.";
|
|
9362
|
+
var ASSETS_ONLY_NOTE = "primary is not audited: this static app's dispatch script is assets-only and holds no " + "secrets. Secrets are checked on its cron target(s) only.";
|
|
9359
9363
|
|
|
9360
9364
|
// src/commands/redeploy.ts
|
|
9361
9365
|
import { existsSync as existsSync7, readFileSync as readFileSync11 } from "node:fs";
|
|
@@ -9820,8 +9824,8 @@ async function runSecretsPush(opts, io, deps = {}) {
|
|
|
9820
9824
|
io.err(`✗ secrets push ${b.name}: invalid bot response (results must be an array)`);
|
|
9821
9825
|
return 2;
|
|
9822
9826
|
}
|
|
9823
|
-
if (resp.error === "dispatch_script_not_delivered" || resp.error === "no_staged_migration") {
|
|
9824
|
-
io.err(`✗ secrets push ${b.name}: ${resp.message ??
|
|
9827
|
+
if (resp.error === "dispatch_script_not_delivered" || resp.error === "no_staged_migration" || resp.error === "static_app_no_secrets") {
|
|
9828
|
+
io.err(`✗ secrets push ${b.name}: ${resp.message ?? resp.error}`);
|
|
9825
9829
|
io.err(`${pushed} of ${envFileBindings.length} pushed before failure.`);
|
|
9826
9830
|
return 1;
|
|
9827
9831
|
}
|
|
@@ -12121,6 +12125,12 @@ async function runEnvvars(args, io) {
|
|
|
12121
12125
|
return 1;
|
|
12122
12126
|
}
|
|
12123
12127
|
if (e instanceof ApiError) {
|
|
12128
|
+
const steps = nextStepsFor(e);
|
|
12129
|
+
if (steps !== null) {
|
|
12130
|
+
for (const line of steps)
|
|
12131
|
+
io.err(line);
|
|
12132
|
+
return 1;
|
|
12133
|
+
}
|
|
12124
12134
|
io.err(`launchpad envvars: ${e.message}`);
|
|
12125
12135
|
return 1;
|
|
12126
12136
|
}
|
|
@@ -12225,6 +12235,36 @@ function renderList(envVars, io) {
|
|
|
12225
12235
|
io.out(fmt(row));
|
|
12226
12236
|
}
|
|
12227
12237
|
}
|
|
12238
|
+
function nextStepsFor(e) {
|
|
12239
|
+
if (e.code !== "per_app_env_var_edit_not_wired")
|
|
12240
|
+
return null;
|
|
12241
|
+
const hint = e.envelope.hint;
|
|
12242
|
+
if (hint === "use_secrets_push") {
|
|
12243
|
+
return [
|
|
12244
|
+
"launchpad envvars: this app does not take secret values through `envvars set`.",
|
|
12245
|
+
"Nothing was changed. Set the secret with `launchpad secrets push`:",
|
|
12246
|
+
" 1. In launchpad.yaml, declare the name under spec.env_vars:",
|
|
12247
|
+
" MY_SECRET:",
|
|
12248
|
+
" type: secret_text",
|
|
12249
|
+
" secret_ref: my-secret",
|
|
12250
|
+
" 2. Run `launchpad deploy`.",
|
|
12251
|
+
" 3. Put MY_SECRET=<value> in .env (or a separate file), then run",
|
|
12252
|
+
" `launchpad secrets push` (or `launchpad secrets push --env <file>`).",
|
|
12253
|
+
"secrets push sends only the secret_text names that launchpad.yaml declares.",
|
|
12254
|
+
"It skips other .env keys with a warning. It sends nothing if a declared",
|
|
12255
|
+
"secret has no value in the env file. A static app holds secrets only on",
|
|
12256
|
+
"a cron target (see `launchpad secrets push` in the docs)."
|
|
12257
|
+
];
|
|
12258
|
+
}
|
|
12259
|
+
if (hint === "use_manifest_deploy") {
|
|
12260
|
+
return [
|
|
12261
|
+
"launchpad envvars: this app does not take env-var edits through `envvars`.",
|
|
12262
|
+
"Nothing was changed. Change the env var in launchpad.yaml under",
|
|
12263
|
+
"spec.env_vars (type: plain_text, value: ...), then run `launchpad deploy`."
|
|
12264
|
+
];
|
|
12265
|
+
}
|
|
12266
|
+
return null;
|
|
12267
|
+
}
|
|
12228
12268
|
function describe19(e) {
|
|
12229
12269
|
return e instanceof Error ? e.message : String(e);
|
|
12230
12270
|
}
|
|
@@ -15987,6 +16027,14 @@ async function runSecretsStatus(opts, io, deps = {}) {
|
|
|
15987
16027
|
return 2;
|
|
15988
16028
|
}
|
|
15989
16029
|
const surfaces = resp.surfaces;
|
|
16030
|
+
if (resp.assetsOnlyPrimary === true) {
|
|
16031
|
+
if (surfaces.length === 0) {
|
|
16032
|
+
io.err(`launchpad secrets status: ${ASSETS_ONLY_NO_SURFACE}`);
|
|
16033
|
+
return 1;
|
|
16034
|
+
}
|
|
16035
|
+
io.out(`Note: ${ASSETS_ONLY_NOTE}`);
|
|
16036
|
+
io.out("");
|
|
16037
|
+
}
|
|
15990
16038
|
const { rows, notPresent } = auditSecretPresence(bindings.map((b) => b.targets !== undefined ? { name: b.name, targets: b.targets } : { name: b.name }), surfaces.map((s) => ({
|
|
15991
16039
|
id: s.id,
|
|
15992
16040
|
deployed: s.deployed,
|
|
@@ -16114,6 +16162,10 @@ async function auditSet(cfg, set, fetcher) {
|
|
|
16114
16162
|
continue;
|
|
16115
16163
|
}
|
|
16116
16164
|
const surfaces = resp.surfaces;
|
|
16165
|
+
if (resp.assetsOnlyPrimary === true && surfaces.length === 0) {
|
|
16166
|
+
out.push({ member, rows: [], notPresent: secrets.length, notDeployed: 0, error: ASSETS_ONLY_NO_SURFACE });
|
|
16167
|
+
continue;
|
|
16168
|
+
}
|
|
16117
16169
|
const { rows, notPresent } = auditSecretPresence(secrets.map((name) => ({ name })), surfaces.map((s) => ({ id: s.id, deployed: s.deployed, secrets: (s.secrets ?? []).map((x) => x.name) })));
|
|
16118
16170
|
const notDeployed = rows.filter((r) => r.cell === "not_deployed").length;
|
|
16119
16171
|
out.push({ member, rows, notPresent, notDeployed });
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ApiError } from "../http/errors.js";
|
|
1
2
|
import type { CliIo, Command } from "../dispatcher.js";
|
|
2
3
|
import { inferSlugFromCwd } from "./infer-slug.js";
|
|
3
4
|
export { inferSlugFromCwd };
|
|
@@ -25,4 +26,11 @@ export declare function parseArgs(args: readonly string[]): EnvArgs | null;
|
|
|
25
26
|
* `•••` (the bot never returns them, so this is what we have).
|
|
26
27
|
*/
|
|
27
28
|
export declare function renderList(envVars: readonly EnvVarEntry[], io: CliIo): void;
|
|
29
|
+
/**
|
|
30
|
+
* AIO-1070: a per-app-workspace app answers a direct env-var edit with
|
|
31
|
+
* 501 `per_app_env_var_edit_not_wired` and a `hint`. Print the supported
|
|
32
|
+
* route instead of the raw bot message, so the user is not left at a
|
|
33
|
+
* dead end. Returns `null` for any other error.
|
|
34
|
+
*/
|
|
35
|
+
export declare function nextStepsFor(e: ApiError): readonly string[] | null;
|
|
28
36
|
//# sourceMappingURL=envvars.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envvars.d.ts","sourceRoot":"","sources":["../../src/commands/envvars.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"envvars.d.ts","sourceRoot":"","sources":["../../src/commands/envvars.ts"],"names":[],"mappings":"AA0BA,OAAO,EACL,QAAQ,EAKT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAY,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAa,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAI9D,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,OAAO,KAAK,EACV,WAAW,EAEZ,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,cAAc,EAAE,OAI5B,CAAC;AAEF,UAAU,QAAQ;IAChB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AACD,UAAU,OAAO;IACf,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACzD,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AACD,UAAU,MAAM;IACd,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;CAClC;AACD,KAAK,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAyH3C,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,GAAG,IAAI,CAqDjE;AAED;;;GAGG;AACH,wBAAgB,UAAU,CACxB,OAAO,EAAE,SAAS,WAAW,EAAE,EAC/B,EAAE,EAAE,KAAK,GACR,IAAI,CAqBN;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,QAAQ,GAAG,SAAS,MAAM,EAAE,GAAG,IAAI,CA4BlE"}
|
|
@@ -22,6 +22,8 @@ export interface StructuredErrorEnvelope {
|
|
|
22
22
|
readonly serverMessage?: string;
|
|
23
23
|
/** Machine-readable sub-code (e.g. `insufficient-role` on a 403), when sent. */
|
|
24
24
|
readonly reason?: string;
|
|
25
|
+
/** Machine-readable next-step hint (e.g. `use_secrets_push`), when sent. */
|
|
26
|
+
readonly hint?: string;
|
|
25
27
|
readonly legacyError?: string;
|
|
26
28
|
readonly source?: string;
|
|
27
29
|
readonly sourceSha?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-envelope.d.ts","sourceRoot":"","sources":["../../src/http/error-envelope.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,uFAAuF;IACvF,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,gFAAgF;IAChF,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,SAAS,eAAe,EAAE,CAAC;IAC5C,QAAQ,CAAC,UAAU,EAAE,SAAS,mBAAmB,EAAE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AC;IACnC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,SAAS,eAAe,EAAE,CAAC;IAC5C,QAAQ,CAAC,UAAU,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACpD,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,+EAA+E;AAC/E,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,OAAO,EACd,OAAO,EAAE,kBAAkB,GAC1B,uBAAuB,CAiDzB;AAED,8EAA8E;AAC9E,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,kBAAkB,GAC1B,uBAAuB,CAkBzB;AAED,wDAAwD;AACxD,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,uBAAuB,GAAG,MAAM,CA8B7E;AAED,gFAAgF;AAChF,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,uBAAuB,GAAG,MAAM,CAwB3E"}
|
|
@@ -9,4 +9,8 @@ export interface DeclaredSecrets {
|
|
|
9
9
|
export declare function declaredSecrets(loaded: Extract<AnyVersionLoadResult, {
|
|
10
10
|
kind: "ok";
|
|
11
11
|
}>): DeclaredSecrets;
|
|
12
|
+
/** Shown when an assets-only app has no secret surface left to audit. */
|
|
13
|
+
export declare const ASSETS_ONLY_NO_SURFACE: string;
|
|
14
|
+
/** Shown above the audit when the primary was left out. */
|
|
15
|
+
export declare const ASSETS_ONLY_NOTE: string;
|
|
12
16
|
//# sourceMappingURL=declared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declared.d.ts","sourceRoot":"","sources":["../../src/secrets/declared.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAc,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAGhE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,CAAC;CAC7C;AAED,+EAA+E;AAC/E,wBAAgB,eAAe,CAC7B,MAAM,EAAE,OAAO,CAAC,oBAAoB,EAAE;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC,GACpD,eAAe,CAiBjB"}
|
|
1
|
+
{"version":3,"file":"declared.d.ts","sourceRoot":"","sources":["../../src/secrets/declared.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAc,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAGhE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,CAAC;CAC7C;AAED,+EAA+E;AAC/E,wBAAgB,eAAe,CAC7B,MAAM,EAAE,OAAO,CAAC,oBAAoB,EAAE;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC,GACpD,eAAe,CAiBjB;AAMD,yEAAyE;AACzE,eAAO,MAAM,sBAAsB,QAGqB,CAAC;AAEzD,2DAA2D;AAC3D,eAAO,MAAM,gBAAgB,QAE+B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../../src/secrets/push.ts"],"names":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Q,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;IAChC,sEAAsE;IACtE,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,OAAO,CAAC;IAC/B,+CAA+C;IAC/C,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACxD,6CAA6C;IAC7C,QAAQ,CAAC,WAAW,CAAC,EAAE,CACrB,IAAI,EAAE,eAAe,EACrB,EAAE,EAAE,KAAK,EACT,IAAI,CAAC,EAAE,YAAY,KAChB,OAAO,CAAC,QAAQ,CAAC,CAAC;IACvB,6EAA6E;IAC7E,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,EAAE,EAAE,KAAK,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;CACjF;AAiBD,wBAAsB,cAAc,CAClC,IAAI,EAAE,WAAW,EACjB,EAAE,EAAE,KAAK,EACT,IAAI,GAAE,QAAa,GAClB,OAAO,CAAC,QAAQ,CAAC,CA2LnB;AA8FD,8EAA8E;AAC9E,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAM1E;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,KAAK,GAAG,QAAQ,GAAG,IAAI,CAGlF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set.d.ts","sourceRoot":"","sources":["../../src/secrets/set.ts"],"names":[],"mappings":"AA+BA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"set.d.ts","sourceRoot":"","sources":["../../src/secrets/set.ts"],"names":[],"mappings":"AA+BA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cA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C;CAC/B;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;CACjC;
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/secrets/status.ts"],"names":[],"mappings":"AAaA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAY1D,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;CACjC;AAmBD,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,aAAa,EACnB,EAAE,EAAE,KAAK,EACT,IAAI,GAAE,UAAe,GACpB,OAAO,CAAC,QAAQ,CAAC,CA4EnB"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.75.
|
|
1
|
+
export declare const CLI_VERSION = "0.75.2";
|
|
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.75.
|
|
4
|
+
version: 0.75.2
|
|
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-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.75.
|
|
4
|
+
version: 0.75.2
|
|
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-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.75.
|
|
4
|
+
version: 0.75.2
|
|
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-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.75.
|
|
4
|
+
version: 0.75.2
|
|
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.75.
|
|
4
|
+
version: 0.75.2
|
|
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-ingest
|
|
3
3
|
description: Scaffold a verified ingest endpoint so an approved backend (an approved integration, ADR 0060) can write into a Launchpad react+api app - declare the integration in launchpad.yaml, add a Hono route registered ahead of the user-auth middleware that verifies the gateway's X-Launchpad-Integration-Assertion with @m-kopa/platform-auth, validates the body with zod, and does an idempotent D1 insert keyed on a caller-supplied idempotency key. Use when someone says "let another system push data into my app", "add an ingest endpoint", "receive data from the Sales backend", "approved integration", "machine-to-machine write", "/launchpad-ingest", or asks what a calling team must send.
|
|
4
|
-
version: 0.75.
|
|
4
|
+
version: 0.75.2
|
|
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.75.
|
|
4
|
+
version: 0.75.2
|
|
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.75.
|
|
4
|
+
version: 0.75.2
|
|
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.75.
|
|
4
|
+
version: 0.75.2
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- BEGIN shell-contract (managed by scripts/sync-skill-contract.sh — edit skills/_partials/shell-contract.md) -->
|