halfcycle 0.3.35 → 0.3.37

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.
@@ -18,6 +18,7 @@
18
18
  *
19
19
  * INV-001: Node builtins and modules inside this package only.
20
20
  */
21
+ import { type ClaudeVersionProbeDeps } from './claude-version-probe.js';
21
22
  import { type BannerContent } from './banner.js';
22
23
  /**
23
24
  * The brand's front door.
@@ -50,9 +51,12 @@ export declare function bundleVersion(): string | undefined;
50
51
  * treating it as a problem would put a warning on a correct install. This is the second
51
52
  * place in the CLI that asks; they are deliberately separate calls because that one exists
52
53
  * to WARN about an old version and this one exists to state a fact, and collapsing them
53
- * would make the banner responsible for a compatibility check.
54
+ * would make the banner responsible for a compatibility check. Both go through
55
+ * `probeClaudeCodeVersion` (`claude-version-probe.ts`), which is what runs `claude.cmd`
56
+ * through `cmd.exe` on Windows; `deps` exists so a test can inject the platform and the exec
57
+ * call rather than depending on this actually running on Windows.
54
58
  */
55
- export declare function claudeCodeVersion(): string | undefined;
59
+ export declare function claudeCodeVersion(deps?: ClaudeVersionProbeDeps): string | undefined;
56
60
  /** Everything the fact collector is allowed to reach outside itself, so a test can hand it
57
61
  * a world instead of standing in one. */
58
62
  export interface FactProbes {
@@ -1 +1 @@
1
- {"version":3,"file":"banner-facts.d.ts","sourceRoot":"","sources":["../src/banner-facts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AASH,OAAO,EAAkB,KAAK,aAAa,EAAmB,MAAM,aAAa,CAAC;AAElF;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,iBAAiB,CAAC;AAExC;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,EAAE,SAAS,MAAM,EAGpC,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,cAAc,EAAE,SAAS,MAAM,EAI3C,CAAC;AAEF,iFAAiF;AACjF,wBAAgB,aAAa,IAAI,MAAM,GAAG,SAAS,CAOlD;AAED;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