@harness-engineering/cli 1.24.3 → 1.25.1

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.
Files changed (116) hide show
  1. package/dist/agents/skills/claude-code/harness-architecture-advisor/SKILL.md +10 -6
  2. package/dist/agents/skills/claude-code/harness-code-review/SKILL.md +40 -5
  3. package/dist/agents/skills/claude-code/harness-git-workflow/SKILL.md +32 -11
  4. package/dist/agents/skills/claude-code/harness-planning/SKILL.md +19 -0
  5. package/dist/agents/skills/claude-code/harness-skill-authoring/SKILL.md +42 -7
  6. package/dist/agents/skills/claude-code/harness-verification/SKILL.md +25 -0
  7. package/dist/agents/skills/codex/harness-architecture-advisor/SKILL.md +10 -6
  8. package/dist/agents/skills/codex/harness-code-review/SKILL.md +40 -5
  9. package/dist/agents/skills/codex/harness-git-workflow/SKILL.md +32 -11
  10. package/dist/agents/skills/codex/harness-planning/SKILL.md +19 -0
  11. package/dist/agents/skills/codex/harness-skill-authoring/SKILL.md +42 -7
  12. package/dist/agents/skills/codex/harness-verification/SKILL.md +25 -0
  13. package/dist/agents/skills/cursor/harness-architecture-advisor/SKILL.md +10 -6
  14. package/dist/agents/skills/cursor/harness-code-review/SKILL.md +40 -5
  15. package/dist/agents/skills/cursor/harness-git-workflow/SKILL.md +32 -11
  16. package/dist/agents/skills/cursor/harness-planning/SKILL.md +19 -0
  17. package/dist/agents/skills/cursor/harness-skill-authoring/SKILL.md +42 -7
  18. package/dist/agents/skills/cursor/harness-verification/SKILL.md +25 -0
  19. package/dist/agents/skills/gemini-cli/harness-architecture-advisor/SKILL.md +10 -6
  20. package/dist/agents/skills/gemini-cli/harness-code-review/SKILL.md +40 -5
  21. package/dist/agents/skills/gemini-cli/harness-git-workflow/SKILL.md +32 -11
  22. package/dist/agents/skills/gemini-cli/harness-planning/SKILL.md +19 -0
  23. package/dist/agents/skills/gemini-cli/harness-skill-authoring/SKILL.md +42 -7
  24. package/dist/agents/skills/gemini-cli/harness-verification/SKILL.md +25 -0
  25. package/dist/agents-md-MCUM4SIZ.js +10 -0
  26. package/dist/{architecture-FBSLURIB.js → architecture-HNIO6AUX.js} +6 -5
  27. package/dist/{assess-project-74UVWPMB.js → assess-project-6MV5TNY3.js} +2 -1
  28. package/dist/bin/harness-mcp.js +18 -17
  29. package/dist/bin/harness.js +47 -31
  30. package/dist/{check-phase-gate-WY6UICCL.js → check-phase-gate-VCBQHQAC.js} +6 -5
  31. package/dist/{chunk-Q3XYV5UC.js → chunk-47N6R2F4.js} +5 -1
  32. package/dist/{chunk-3XAPHB2Z.js → chunk-4NK7Z3BP.js} +1 -1
  33. package/dist/{chunk-I4QR3HNH.js → chunk-5BQ5BOJL.js} +5 -1
  34. package/dist/{chunk-LM5Z2WCA.js → chunk-6VZQJ5CX.js} +5 -1
  35. package/dist/{chunk-NV4FPO7J.js → chunk-AT74HEQM.js} +1 -1
  36. package/dist/{chunk-TDLOFNNQ.js → chunk-BOQRTARD.js} +1 -1
  37. package/dist/{chunk-ZAMT24QN.js → chunk-CJXVNDZZ.js} +1537 -737
  38. package/dist/{chunk-A737JDL4.js → chunk-CXJTVICF.js} +4 -4
  39. package/dist/{chunk-LOUH2LIC.js → chunk-EHRZMOQ2.js} +5 -1
  40. package/dist/{chunk-L5UONZ53.js → chunk-F23H3U5U.js} +6 -2
  41. package/dist/{chunk-YPKKEP3O.js → chunk-FES2YEQU.js} +9 -9
  42. package/dist/{chunk-SPTKLCKC.js → chunk-FIQL2HND.js} +6 -2
  43. package/dist/{chunk-FP53DDB5.js → chunk-FSNPBT74.js} +5 -1
  44. package/dist/{chunk-TB427QOK.js → chunk-GEEYCQDS.js} +13 -9
  45. package/dist/{chunk-ZOVATVQC.js → chunk-HIK6OEUF.js} +6 -1
  46. package/dist/chunk-K2SON7TI.js +5382 -0
  47. package/dist/chunk-KFQGP6VL.js +33 -0
  48. package/dist/{chunk-V2FGX2KD.js → chunk-M55DGGF3.js} +9 -5
  49. package/dist/{chunk-H4U2QNY2.js → chunk-MI6MA6OP.js} +16888 -13143
  50. package/dist/{chunk-YDRB55Q4.js → chunk-P7PANON5.js} +5 -1
  51. package/dist/chunk-RL4VMEXL.js +53 -0
  52. package/dist/{chunk-XNEMDKV5.js → chunk-RRHUCDRD.js} +1 -1
  53. package/dist/{chunk-O6UF33QH.js → chunk-RX7TUMBR.js} +320 -136
  54. package/dist/{chunk-3VYWO6QN.js → chunk-TYV4EUAD.js} +12 -8
  55. package/dist/{chunk-FJYP32IV.js → chunk-UQZBZINS.js} +6 -6
  56. package/dist/{chunk-UFQQBGC3.js → chunk-UV3BZMGT.js} +64 -3
  57. package/dist/{chunk-5PMRARB5.js → chunk-WIQA4BSH.js} +12 -5
  58. package/dist/{chunk-UQEUYRBP.js → chunk-WWACIIBA.js} +1 -1
  59. package/dist/{chunk-LVYPPKZI.js → chunk-XTITAVUR.js} +5 -1
  60. package/dist/{chunk-WEN5Z7CL.js → chunk-YTP2UDPV.js} +3 -3
  61. package/dist/ci-workflow-RTM7VVTD.js +10 -0
  62. package/dist/{constants-5JGUXPEK.js → constants-P4M3C2T3.js} +1 -0
  63. package/dist/{create-skill-QCXINA5Q.js → create-skill-6QWJHQYS.js} +3 -2
  64. package/dist/{dist-666AAZQ6.js → dist-3EWNRFFQ.js} +6 -1
  65. package/dist/{dist-RRMRZRV7.js → dist-ABTKRYZH.js} +1 -0
  66. package/dist/{dist-QW5G3GX3.js → dist-RADHOOXG.js} +4 -1
  67. package/dist/{dist-7EBSGAHX.js → dist-WCSJHQPK.js} +106 -3
  68. package/dist/{docs-H34GBVRS.js → docs-UBOGGHTY.js} +6 -5
  69. package/dist/engine-MJJAP5CH.js +10 -0
  70. package/dist/{entropy-ZAY73R6A.js → entropy-EMSXF2PX.js} +5 -4
  71. package/dist/{feedback-TMEGYMWU.js → feedback-ZLUX72HD.js} +2 -1
  72. package/dist/{generate-agent-definitions-PQPG6SX5.js → generate-agent-definitions-AWLPJ27C.js} +6 -5
  73. package/dist/{glob-helper-SRXMZPKM.js → glob-helper-VCQXK5XY.js} +2 -0
  74. package/dist/{graph-loader-M6FXJAKK.js → graph-loader-JHQVQRUS.js} +2 -1
  75. package/dist/hooks/adoption-tracker.js +189 -0
  76. package/dist/hooks/block-no-verify.js +50 -0
  77. package/dist/hooks/cost-tracker.js +66 -0
  78. package/dist/hooks/pre-compact-state.js +115 -0
  79. package/dist/hooks/profiles.ts +48 -0
  80. package/dist/hooks/protect-config.js +75 -0
  81. package/dist/hooks/quality-gate.js +131 -0
  82. package/dist/hooks/sentinel-post.js +159 -0
  83. package/dist/hooks/sentinel-pre.js +244 -0
  84. package/dist/hooks/telemetry-reporter.js +248 -0
  85. package/dist/index.d.ts +13 -7
  86. package/dist/index.js +30 -29
  87. package/dist/loader-JVSJZSWZ.js +12 -0
  88. package/dist/mcp-2553PNUC.js +38 -0
  89. package/dist/{performance-N67YJJDG.js → performance-7AGWJUY4.js} +6 -5
  90. package/dist/review-pipeline-ZWVQJTJX.js +13 -0
  91. package/dist/{runner-TY7DJGQV.js → runner-AAEF2TXY.js} +1 -0
  92. package/dist/runtime-D6YUQPP2.js +11 -0
  93. package/dist/{scan-U67OKDRS.js → scan-MPJ6JHUY.js} +2 -1
  94. package/dist/security-JLZUAQYT.js +14 -0
  95. package/dist/skill-executor-MOCUIAYS.js +9 -0
  96. package/dist/templates/base/.agnix.toml +16 -0
  97. package/dist/templates/orchestrator/WORKFLOW.md +55 -7
  98. package/dist/templates/orchestrator/template.json +1 -0
  99. package/dist/tool-tiers-7QGZ3FKY.js +98 -0
  100. package/dist/validate-TIIHRPMA.js +14 -0
  101. package/dist/validate-cross-check-ZOWFA3DB.js +10 -0
  102. package/dist/{version-KFFPOQAX.js → version-CUI434OP.js} +1 -0
  103. package/package.json +4 -4
  104. package/dist/agents-md-PBKKTSQY.js +0 -9
  105. package/dist/chunk-5LMZA5LZ.js +0 -38
  106. package/dist/chunk-OZIHPMA7.js +0 -5171
  107. package/dist/ci-workflow-QZRHAIO2.js +0 -9
  108. package/dist/engine-VUQEAJFZ.js +0 -9
  109. package/dist/loader-Y6A42WBD.js +0 -11
  110. package/dist/mcp-LCHC4NZ5.js +0 -37
  111. package/dist/review-pipeline-YXF5ITL2.js +0 -12
  112. package/dist/runtime-XNJUJCSG.js +0 -10
  113. package/dist/security-L2YN3CTI.js +0 -9
  114. package/dist/skill-executor-GA7BDX3F.js +0 -8
  115. package/dist/validate-MNE25KLZ.js +0 -13
  116. package/dist/validate-cross-check-Y4PDR63C.js +0 -9
@@ -0,0 +1,33 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
6
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
7
+ }) : x)(function(x) {
8
+ if (typeof require !== "undefined") return require.apply(this, arguments);
9
+ throw Error('Dynamic require of "' + x + '" is not supported');
10
+ });
11
+ var __esm = (fn, res) => function __init() {
12
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
13
+ };
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+
28
+ export {
29
+ __require,
30
+ __esm,
31
+ __export,
32
+ __toCommonJS
33
+ };
@@ -4,16 +4,20 @@ import {
4
4
  import {
5
5
  sanitizePath
6
6
  } from "./chunk-W6Y7ZW3Y.js";
7
+ import {
8
+ init_dist
9
+ } from "./chunk-MI6MA6OP.js";
7
10
  import {
8
11
  Ok
9
- } from "./chunk-5LMZA5LZ.js";
12
+ } from "./chunk-RL4VMEXL.js";
10
13
 
11
14
  // src/mcp/tools/entropy.ts
15
+ init_dist();
12
16
  async function loadEntropyGraphOptions(projectPath) {
13
- const { loadGraphStore } = await import("./graph-loader-M6FXJAKK.js");
17
+ const { loadGraphStore } = await import("./graph-loader-JHQVQRUS.js");
14
18
  const store = await loadGraphStore(projectPath);
15
19
  if (!store) return void 0;
16
- const { GraphEntropyAdapter } = await import("./dist-QW5G3GX3.js");
20
+ const { GraphEntropyAdapter } = await import("./dist-RADHOOXG.js");
17
21
  const adapter = new GraphEntropyAdapter(store);
18
22
  const driftData = adapter.computeDriftData();
19
23
  const deadCodeData = adapter.computeDeadCodeData();
@@ -123,7 +127,7 @@ function buildSummaryResponse(report) {
123
127
  }
124
128
  async function handleDetectEntropy(input) {
125
129
  try {
126
- const { EntropyAnalyzer } = await import("./dist-7EBSGAHX.js");
130
+ const { EntropyAnalyzer } = await import("./dist-WCSJHQPK.js");
127
131
  const typeFilter = input.type ?? "all";
128
132
  const analyzer = new EntropyAnalyzer({
129
133
  rootDir: sanitizePath(input.path),
@@ -142,7 +146,7 @@ async function handleDetectEntropy(input) {
142
146
  return resultToMcpResponse(result);
143
147
  }
144
148
  if (!result.ok) return resultToMcpResponse(result);
145
- const { createFixes, applyFixes, generateSuggestions } = await import("./dist-7EBSGAHX.js");
149
+ const { createFixes, applyFixes, generateSuggestions } = await import("./dist-WCSJHQPK.js");
146
150
  const report = result.value;
147
151
  const deadCode = report.deadCode;
148
152
  const fixTypesConfig = input.fixTypes ? { fixTypes: input.fixTypes } : void 0;