@m-kopa/launchpad-cli 0.27.1 → 0.27.3

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 CHANGED
@@ -6,6 +6,30 @@ 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.27.3 — 2026-06-15
10
+
11
+ DX: keep the Claude Code skill bundle current automatically (sp-uwugsm).
12
+
13
+ - `launchpad update` now **auto-syncs the skill bundle** after a successful
14
+ upgrade (npm/pm and platform channels) by running the just-upgraded
15
+ binary's `skills update` — replacing the old "Next: run `launchpad skills
16
+ update`" manual nudge. Best-effort: if the sync can't complete it prints a
17
+ one-line fallback and the upgrade still exits `0`.
18
+ - The passive update-notifier now also flags **skills drift** — when the
19
+ installed bundle is behind the running CLI it points you at `launchpad
20
+ skills update`; when no bundle is installed it shows a gentle one-time
21
+ `launchpad skills install` hint. Both reuse the existing suppression
22
+ (CI / non-TTY / `--json` / `LAUNCHPAD_NO_UPDATE_NOTIFIER`) and do no
23
+ network work on the hot path.
24
+
25
+ ## 0.27.2 — 2026-06-15
26
+
27
+ Fix: `launchpad login --help` and `launchpad logout --help` (and `-h`)
28
+ now print usage and exit without side effects. Previously both verbs
29
+ ignored their arguments and ran the real flow, so asking for help
30
+ actually signed you in / revoked + cleared your session. The flags are
31
+ now documented on each command's docs page.
32
+
9
33
  ## 0.27.1 — 2026-06-12
10
34
 
11
35
  Bundled-skills refresh (sp-s4k9wm) — no CLI code changes. Every
@@ -5,6 +5,9 @@ export interface BundleAndDeployArgs {
5
5
  readonly cfg: CliConfig;
6
6
  readonly cwd: string;
7
7
  readonly slug: string;
8
+ /** sp-vmj0j0 AC7 — typed override forwarded to the bot to proceed past
9
+ * a stale-overlap BLOCK in place. */
10
+ readonly overrideStale?: string | null;
8
11
  }
9
12
  export type BundleAndDeployResult = {
10
13
  kind: "walk-error";
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrate.d.ts","sourceRoot":"","sources":["../../src/bundle/orchestrate.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAItE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACvC;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACvC;IAAE,IAAI,EAAE,oBAAoB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GACvD;IACE,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,OAAO,CAAC,kBAAkB,EAAE;QAAE,IAAI,EAAE,IAAI,CAAA;KAAE,CAAC,CAAC,UAAU,CAAC,CAAC;IAChE,IAAI,EAAE,UAAU,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,oEAAoE;IACpE,YA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AAI,CAAC;IACX,MAAM,EAAE,OAAO,CAAC,kBAAkB,EAAE;QAAE,IAAI,EAAE,IAAI,CAAA;KAAE,CAAC,CAAC,UAAU,CAAC,CAAC;IAChE,IAAI,EAAE,UAAU,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,oEAAoE;IACpE,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iFAAiF;IACjF,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC,CAAC;AAEN;;;;;;;;;;;;;GAaG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,mBAAmB,GACxB,OAAO,CAAC,qBAAqB,CAAC,CAuGhC"}
@@ -12,6 +12,15 @@ export interface StandingExceptionsSummary {
12
12
  }>;
13
13
  readonly message?: string;
14
14
  }
15
+ /** Anti-divergence verdict riding on a deploy response (sp-vmj0j0 AC2):
16
+ * the clone's recorded base SHA vs the bot's fresh `main` head.
17
+ * `stale` = main moved past the clone; `unverifiable` = head could not
18
+ * be resolved (warn-and-proceed). Absent = current or no marker. */
19
+ export interface StalenessVerdict {
20
+ readonly kind: "stale" | "unverifiable";
21
+ readonly base_sha: string;
22
+ readonly head_sha?: string;
23
+ }
15
24
  /**
16
25
  * Response shape from the bot's deploy-bundle endpoint when the
17
26
  * bundle was committed to the per-app repo (HTTP 202, status="accepted").
@@ -29,6 +38,7 @@ export interface DeployBundleAccepted {
29
38
  * contract, never-shippable paths). */
30
39
  readonly boundary_stripped?: readonly string[];
31
40
  readonly standing_exceptions?: StandingExceptionsSummary;
41
+ readonly staleness?: StalenessVerdict;
32
42
  }
33
43
  /**
34
44
  * Response shape when managed main already matches the upload
@@ -42,6 +52,7 @@ export interface DeployBundleNothingToDeploy {
42
52
  readonly message: string;
43
53
  readonly boundary_stripped?: readonly string[];
44
54
  readonly standing_exceptions?: StandingExceptionsSummary;
55
+ readonly staleness?: StalenessVerdict;
45
56
  }
46
57
  /**
47
58
  * Response shape when the slug was never registered before and the
@@ -94,5 +105,11 @@ export type DeployBundleResult = {
94
105
  * the session token. We can't reuse it directly because it
95
106
  * assumes JSON body; the multipart body has its own headers.
96
107
  */
97
- export declare function uploadBundle(cfg: CliConfig, slug: string, manifestYaml: string, bundleTarGz: Uint8Array, workerArtifact?: WorkerArtifact): Promise<DeployBundleResult>;
108
+ export declare function uploadBundle(cfg: CliConfig, slug: string, manifestYaml: string, bundleTarGz: Uint8Array, workerArtifact?: WorkerArtifact,
109
+ /** Clone-recorded base SHA (sp-vmj0j0): forwarded so the bot can warn
110
+ * on a stale clone. Null/absent for a pre-provenance clone. */
111
+ baseSha?: string | null,
112
+ /** Typed-confirmation override (sp-vmj0j0 AC7): echoes the head SHA to
113
+ * proceed past a stale-overlap BLOCK in place. Null = not overriding. */
114
+ overrideStale?: string | null): Promise<DeployBundleResult>;
98
115
  //# sourceMappingURL=upload.d.ts.map
@@ -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,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAgBvD;;;oCAGoC;AACpC,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClF,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC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