@lmctl-ai/lmctl 0.2.8 → 0.2.9

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.
@@ -1,2 +1,23 @@
1
1
  /** Resolve the package.json version of lmctl-next, with a safe fallback. */
2
- export declare function readLmctlNextVersion(): string;
2
+ export declare function readLmctlNextVersion(root?: string): string;
3
+ /**
4
+ * Real incident, 2026-09-29 (math routing, strengthening queued#21790): a
5
+ * dev-linked lmctl reported `--version 0.2.1` while running code from a much
6
+ * newer, unreleased checkout -- package.json's version is only bumped by the
7
+ * release commit, so any checkout sitting between releases (or a stale one
8
+ * that never rebuilt) silently reports the PREVIOUS release's number while
9
+ * running different code. That produced real false confidence: a flag
10
+ * removed that same morning was about to be published as verified-current
11
+ * documentation.
12
+ *
13
+ * A real npm install has no `.git` directory (pack-release excludes it), so
14
+ * this only ever adds detail for a git checkout, and degrades safely (plain
15
+ * `readLmctlNextVersion()`) whenever git is unavailable, the directory isn't
16
+ * a repo, or any git call fails -- `--version` must never hard-depend on git
17
+ * being installed.
18
+ *
19
+ * `root` is a test seam (defaults to the real package root) so tests can
20
+ * point this at a throwaway fixture repo instead of asserting on whatever
21
+ * commit this repo's own checkout happens to be at when the suite runs.
22
+ */
23
+ export declare function resolveLmctlVersionDisplay(root?: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmctl-ai/lmctl",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "A provider-agnostic control plane for teams of AI coding agents — across providers, with independent review and durable memory.",
5
5
  "type": "module",
6
6
  "homepage": "https://lmctl.com",