@dzhechkov/harness-cli 0.8.6 → 0.8.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.
@@ -44,10 +44,10 @@ import { fileURLToPath } from 'node:url';
44
44
  * standing test (`test/core-import-floor.test.ts`, F1) fails if the two drift apart,
45
45
  * because a guard that says 0.4.7 while npm may install 0.4.2 is worse than no guard.
46
46
  */
47
- // 0.7.0: this CLI reads `HybridRecall.semanticRanked` and `VectorTierStatus.mirroredOther` /
48
- // `orphaned` / `unmirrored`, none of which exist in 0.6.1 a lower core would not merely behave
49
- // differently, it would be missing the fields every recall claim is now derived from.
50
- export const MIN_CORE = '0.8.4';
47
+ // 0.8.7: the statusline statically imports the ETA parser/estimator surface. An older core fails
48
+ // during ESM linking before runCli can print a useful diagnostic, so the import-free preflight must
49
+ // refuse it first.
50
+ export const MIN_CORE = '0.8.7';
51
51
 
52
52
  /** The npm name of the guarded package — one literal, used by every leg below. */
53
53
  export const CORE_PACKAGE_NAME = '@dzhechkov/harness-core';
package/src/index.ts CHANGED
@@ -14,7 +14,7 @@ export { DZ_COMMANDS, runCli } from './cli.js';
14
14
  export type { CliIo, ReleaseExecRunner } from './cli.js';
15
15
  // The Codex hook DELIVERY seam (crossrt-2 fix round, findings 1+2): the argv→operation mapping and
16
16
  // the one place a success word may be printed, exported so both can be pinned without a live codex.
17
- export { codexHooksSummary, codexHooksSyncOptions, deliverCodexHooks } from './cli.js';
17
+ export { codexHooksSummary, codexHooksSyncOptions, deliverCodexHooks, normalizeCodexHookOutcome } from './cli.js';
18
18
  // Exported for its own test: the guard that keeps `--json` stdout parseable when a dependency greets
19
19
  // stdout. Tested directly because the end-to-end path cannot reach it without a populated vector tier.
20
20
  export { withForeignStdoutOnStderr } from './cli.js';
@@ -12,6 +12,7 @@
12
12
  export const KNOWN_CLI_FLAGS: readonly string[] = [
13
13
  'affected',
14
14
  'all',
15
+ 'allow-integrations',
15
16
  'allow-same-family',
16
17
  'allow-same-family-qe',
17
18
  'any',
@@ -26,6 +27,11 @@ export const KNOWN_CLI_FLAGS: readonly string[] = [
26
27
  'backfill',
27
28
  'base',
28
29
  'baseline',
30
+ // Not dz flags: git arguments this CLI PASSES to `git diff` (volume counters). The derivation
31
+ // scans every `--name` literal in cli.ts by design — a SUPERSET only softens the unknown-flag
32
+ // notice, while narrowing the scan risks the expensive failure this guard exists to prevent:
33
+ // warning at a user who typed a real flag.
34
+ 'binary',
29
35
  'body',
30
36
  'book',
31
37
  'books',
@@ -39,6 +45,7 @@ export const KNOWN_CLI_FLAGS: readonly string[] = [
39
45
  'candidates',
40
46
  'canonical',
41
47
  'category',
48
+ 'class-form',
42
49
  'ceiling',
43
50
  'channel',
44
51
  'check',
@@ -51,6 +58,7 @@ export const KNOWN_CLI_FLAGS: readonly string[] = [
51
58
  'commands',
52
59
  'commit',
53
60
  'compare',
61
+ 'component',
54
62
  'config',
55
63
  'confirm',
56
64
  'confirmed',
@@ -157,7 +165,9 @@ export const KNOWN_CLI_FLAGS: readonly string[] = [
157
165
  'no-filters',
158
166
  'no-fund',
159
167
  'no-guard',
168
+ 'no-ext-diff',
160
169
  'no-hooks',
170
+ 'no-integrations',
161
171
  'no-index',
162
172
  'no-issue',
163
173
  'no-memory',