@harness-engineering/cli 1.11.0 → 1.13.0

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 (49) hide show
  1. package/dist/agents/skills/claude-code/harness-autopilot/SKILL.md +57 -9
  2. package/dist/agents/skills/claude-code/harness-brainstorming/SKILL.md +1 -1
  3. package/dist/agents/skills/claude-code/harness-code-review/SKILL.md +19 -2
  4. package/dist/agents/skills/claude-code/harness-execution/SKILL.md +39 -12
  5. package/dist/agents/skills/claude-code/harness-planning/SKILL.md +28 -11
  6. package/dist/agents/skills/claude-code/harness-roadmap/SKILL.md +34 -0
  7. package/dist/agents/skills/claude-code/harness-verification/SKILL.md +42 -0
  8. package/dist/agents/skills/gemini-cli/harness-autopilot/SKILL.md +57 -9
  9. package/dist/agents/skills/gemini-cli/harness-brainstorming/SKILL.md +1 -1
  10. package/dist/agents/skills/gemini-cli/harness-code-review/SKILL.md +19 -2
  11. package/dist/agents/skills/gemini-cli/harness-execution/SKILL.md +39 -12
  12. package/dist/agents/skills/gemini-cli/harness-planning/SKILL.md +28 -11
  13. package/dist/agents/skills/gemini-cli/harness-roadmap/SKILL.md +34 -0
  14. package/dist/agents/skills/gemini-cli/harness-verification/SKILL.md +42 -0
  15. package/dist/{agents-md-ZFV6RR5J.js → agents-md-P2RHSUV7.js} +1 -1
  16. package/dist/{architecture-EXNUMH5R.js → architecture-ESOOE26S.js} +2 -2
  17. package/dist/bin/harness-mcp.js +10 -10
  18. package/dist/bin/harness.js +12 -12
  19. package/dist/{check-phase-gate-VZFOY2PO.js → check-phase-gate-S2MZKLFQ.js} +2 -2
  20. package/dist/{chunk-GSIVNYVJ.js → chunk-2VU4MFM3.js} +4 -4
  21. package/dist/{chunk-2NCIKJES.js → chunk-3KOLLWWE.js} +1 -1
  22. package/dist/{chunk-X3MN5UQJ.js → chunk-5VY23YK3.js} +1 -1
  23. package/dist/{chunk-I6JZYEGT.js → chunk-7KQSUZVG.js} +96 -50
  24. package/dist/{chunk-PA2XHK75.js → chunk-7PZWR4LI.js} +3 -3
  25. package/dist/{chunk-2YSQOUHO.js → chunk-KELT6K6M.js} +662 -283
  26. package/dist/{chunk-WUJTCNOU.js → chunk-LD3DKUK5.js} +1 -1
  27. package/dist/{chunk-Z75JC6I2.js → chunk-MACVXDZK.js} +2 -2
  28. package/dist/{chunk-NC6PXVWT.js → chunk-MI5XJQDY.js} +3 -3
  29. package/dist/{chunk-WJZDO6OY.js → chunk-PSNN4LWX.js} +2 -2
  30. package/dist/{chunk-ZWC3MN5E.js → chunk-RZSUJBZZ.js} +765 -203
  31. package/dist/{chunk-TI4TGEX6.js → chunk-WPPDRIJL.js} +1 -1
  32. package/dist/{ci-workflow-K5RCRNYR.js → ci-workflow-4NYBUG6R.js} +1 -1
  33. package/dist/{dist-JVZ2MKBC.js → dist-WF4C7A4A.js} +27 -1
  34. package/dist/{docs-PWCUVYWU.js → docs-BPYCN2DR.js} +2 -2
  35. package/dist/{engine-6XUP6GAK.js → engine-LXLIWQQ3.js} +1 -1
  36. package/dist/{entropy-4I6JEYAC.js → entropy-4VDVV5CR.js} +2 -2
  37. package/dist/{feedback-TNIW534S.js → feedback-63QB5RCA.js} +1 -1
  38. package/dist/{generate-agent-definitions-MWKEA5NU.js → generate-agent-definitions-QABOJG56.js} +1 -1
  39. package/dist/index.d.ts +80 -43
  40. package/dist/index.js +17 -13
  41. package/dist/{loader-4FIPIFII.js → loader-Z2IT7QX3.js} +1 -1
  42. package/dist/{mcp-MOKLYNZL.js → mcp-KQHEL5IF.js} +10 -10
  43. package/dist/{performance-BTOJCPXU.js → performance-26BH47O4.js} +2 -2
  44. package/dist/{review-pipeline-3YTW3463.js → review-pipeline-GHR3WFBI.js} +1 -1
  45. package/dist/{runtime-GO7K2PJE.js → runtime-PDWD7UIK.js} +1 -1
  46. package/dist/{security-4P2GGFF6.js → security-UQFUZXEN.js} +1 -1
  47. package/dist/{validate-JN44D2Q7.js → validate-N7QJOKFZ.js} +2 -2
  48. package/dist/{validate-cross-check-DB7RIFFF.js → validate-cross-check-EDQ5QGTM.js} +1 -1
  49. package/package.json +4 -4
@@ -38,7 +38,7 @@ async function handleCheckDependencies(input) {
38
38
  const configResult = resolveProjectConfig(projectPath);
39
39
  if (!configResult.ok) return resultToMcpResponse(configResult);
40
40
  try {
41
- const { validateDependencies, TypeScriptParser } = await import("./dist-JVZ2MKBC.js");
41
+ const { validateDependencies, TypeScriptParser } = await import("./dist-WF4C7A4A.js");
42
42
  const config = configResult.value;
43
43
  const rawLayers = Array.isArray(config.layers) ? config.layers : [];
44
44
  const layers = rawLayers.map((l) => ({
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generateCIWorkflow
3
3
  } from "./chunk-VUCPTQ6G.js";
4
- import "./chunk-2YSQOUHO.js";
4
+ import "./chunk-KELT6K6M.js";
5
5
  import "./chunk-MHBMTPW7.js";
6
6
  export {
7
7
  generateCIWorkflow
@@ -74,6 +74,7 @@ import {
74
74
  ViolationSchema,
75
75
  addProvenance,
76
76
  analyzeDiff,
77
+ analyzeLearningPatterns,
77
78
  appendFailure,
78
79
  appendLearning,
79
80
  applyFixes,
@@ -82,6 +83,7 @@ import {
82
83
  archModule,
83
84
  architecture,
84
85
  archiveFailures,
86
+ archiveLearnings,
85
87
  archiveStream,
86
88
  buildDependencyGraph,
87
89
  buildExclusionSet,
@@ -89,6 +91,8 @@ import {
89
91
  checkDocCoverage,
90
92
  checkEligibility,
91
93
  classifyFinding,
94
+ clearFailuresCache,
95
+ clearLearningsCache,
92
96
  configureFeedback,
93
97
  constraintRuleId,
94
98
  contextBudget,
@@ -144,16 +148,20 @@ import {
144
148
  injectionRules,
145
149
  isSmallSuggestion,
146
150
  isUpdateCheckEnabled,
151
+ listActiveSessions,
147
152
  listStreams,
153
+ loadBudgetedLearnings,
148
154
  loadFailures,
149
155
  loadHandoff,
150
156
  loadRelevantLearnings,
157
+ loadSessionSummary,
151
158
  loadState,
152
159
  loadStreamIndex,
153
160
  logAgentAction,
154
161
  migrateToStreams,
155
162
  networkRules,
156
163
  nodeRules,
164
+ parseDateFromEntry,
157
165
  parseDiff,
158
166
  parseManifest,
159
167
  parseRoadmap,
@@ -161,9 +169,11 @@ import {
161
169
  parseSize,
162
170
  pathTraversalRules,
163
171
  previewFix,
172
+ pruneLearnings,
164
173
  reactRules,
165
174
  readCheckState,
166
175
  readLockfile,
176
+ removeContributions,
167
177
  removeProvenance,
168
178
  requestMultiplePeerReviews,
169
179
  requestPeerReview,
@@ -171,6 +181,7 @@ import {
171
181
  resolveFileToLayer,
172
182
  resolveModelTier,
173
183
  resolveRuleSeverity,
184
+ resolveSessionDir,
174
185
  resolveStreamPath,
175
186
  resolveThresholds,
176
187
  runAll,
@@ -197,6 +208,7 @@ import {
197
208
  syncRoadmap,
198
209
  touchStream,
199
210
  trackAction,
211
+ updateSessionIndex,
200
212
  validateAgentsMap,
201
213
  validateBoundaries,
202
214
  validateCommitMessage,
@@ -209,8 +221,9 @@ import {
209
221
  violationId,
210
222
  writeConfig,
211
223
  writeLockfile,
224
+ writeSessionSummary,
212
225
  xssRules
213
- } from "./chunk-2YSQOUHO.js";
226
+ } from "./chunk-KELT6K6M.js";
214
227
  import {
215
228
  Err,
216
229
  Ok,
@@ -297,6 +310,7 @@ export {
297
310
  ViolationSchema,
298
311
  addProvenance,
299
312
  analyzeDiff,
313
+ analyzeLearningPatterns,
300
314
  appendFailure,
301
315
  appendLearning,
302
316
  applyFixes,
@@ -305,6 +319,7 @@ export {
305
319
  archModule,
306
320
  architecture,
307
321
  archiveFailures,
322
+ archiveLearnings,
308
323
  archiveStream,
309
324
  buildDependencyGraph,
310
325
  buildExclusionSet,
@@ -312,6 +327,8 @@ export {
312
327
  checkDocCoverage,
313
328
  checkEligibility,
314
329
  classifyFinding,
330
+ clearFailuresCache,
331
+ clearLearningsCache,
315
332
  configureFeedback,
316
333
  constraintRuleId,
317
334
  contextBudget,
@@ -369,16 +386,20 @@ export {
369
386
  isOk,
370
387
  isSmallSuggestion,
371
388
  isUpdateCheckEnabled,
389
+ listActiveSessions,
372
390
  listStreams,
391
+ loadBudgetedLearnings,
373
392
  loadFailures,
374
393
  loadHandoff,
375
394
  loadRelevantLearnings,
395
+ loadSessionSummary,
376
396
  loadState,
377
397
  loadStreamIndex,
378
398
  logAgentAction,
379
399
  migrateToStreams,
380
400
  networkRules,
381
401
  nodeRules,
402
+ parseDateFromEntry,
382
403
  parseDiff,
383
404
  parseManifest,
384
405
  parseRoadmap,
@@ -386,9 +407,11 @@ export {
386
407
  parseSize,
387
408
  pathTraversalRules,
388
409
  previewFix,
410
+ pruneLearnings,
389
411
  reactRules,
390
412
  readCheckState,
391
413
  readLockfile,
414
+ removeContributions,
392
415
  removeProvenance,
393
416
  requestMultiplePeerReviews,
394
417
  requestPeerReview,
@@ -396,6 +419,7 @@ export {
396
419
  resolveFileToLayer,
397
420
  resolveModelTier,
398
421
  resolveRuleSeverity,
422
+ resolveSessionDir,
399
423
  resolveStreamPath,
400
424
  resolveThresholds,
401
425
  runAll,
@@ -422,6 +446,7 @@ export {
422
446
  syncRoadmap,
423
447
  touchStream,
424
448
  trackAction,
449
+ updateSessionIndex,
425
450
  validateAgentsMap,
426
451
  validateBoundaries,
427
452
  validateCommitMessage,
@@ -434,5 +459,6 @@ export {
434
459
  violationId,
435
460
  writeConfig,
436
461
  writeLockfile,
462
+ writeSessionSummary,
437
463
  xssRules
438
464
  };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  checkDocsDefinition,
3
3
  handleCheckDocs
4
- } from "./chunk-NC6PXVWT.js";
4
+ } from "./chunk-MI5XJQDY.js";
5
5
  import "./chunk-IDZNPTYD.js";
6
6
  import "./chunk-W6Y7ZW3Y.js";
7
- import "./chunk-2YSQOUHO.js";
7
+ import "./chunk-KELT6K6M.js";
8
8
  import "./chunk-MHBMTPW7.js";
9
9
  export {
10
10
  checkDocsDefinition,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TemplateEngine
3
3
  } from "./chunk-C2ERUR3L.js";
4
- import "./chunk-2YSQOUHO.js";
4
+ import "./chunk-KELT6K6M.js";
5
5
  import "./chunk-MHBMTPW7.js";
6
6
  export {
7
7
  TemplateEngine
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  detectEntropyDefinition,
3
3
  handleDetectEntropy
4
- } from "./chunk-Z75JC6I2.js";
4
+ } from "./chunk-MACVXDZK.js";
5
5
  import "./chunk-IDZNPTYD.js";
6
6
  import "./chunk-W6Y7ZW3Y.js";
7
- import "./chunk-2YSQOUHO.js";
7
+ import "./chunk-KELT6K6M.js";
8
8
  import "./chunk-MHBMTPW7.js";
9
9
  export {
10
10
  detectEntropyDefinition,
@@ -5,7 +5,7 @@ import {
5
5
  handleCreateSelfReview,
6
6
  handleRequestPeerReview,
7
7
  requestPeerReviewDefinition
8
- } from "./chunk-PA2XHK75.js";
8
+ } from "./chunk-7PZWR4LI.js";
9
9
  import "./chunk-IDZNPTYD.js";
10
10
  import "./chunk-W6Y7ZW3Y.js";
11
11
  export {
@@ -7,7 +7,7 @@ import "./chunk-KET4QQZB.js";
7
7
  import "./chunk-ZOAWBDWU.js";
8
8
  import "./chunk-HD4IBGLA.js";
9
9
  import "./chunk-3WGJMBKH.js";
10
- import "./chunk-2YSQOUHO.js";
10
+ import "./chunk-KELT6K6M.js";
11
11
  import "./chunk-MHBMTPW7.js";
12
12
  export {
13
13
  createGenerateAgentDefinitionsCommand,
package/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { Command } from 'commander';
2
2
  import { ContextQLResult, IngestResult } from '@harness-engineering/graph';
3
- import { Result, Violation } from '@harness-engineering/core';
3
+ import { Result, Violation, ConflictReport } from '@harness-engineering/core';
4
4
  import { z } from 'zod';
5
5
  import { Server } from '@modelcontextprotocol/sdk/server/index.js';
6
+ import { Result as Result$1 } from '@harness-engineering/types';
6
7
 
7
8
  interface Phase {
8
9
  name: string;
@@ -163,6 +164,39 @@ interface SkillSource {
163
164
  source: 'project' | 'community' | 'global';
164
165
  }
165
166
 
167
+ interface ImpactPreviewOptions {
168
+ detailed?: boolean;
169
+ perFile?: boolean;
170
+ path?: string;
171
+ }
172
+ declare function runImpactPreview(options: ImpactPreviewOptions): Promise<string>;
173
+
174
+ interface CheckArchOptions {
175
+ cwd?: string;
176
+ configPath?: string;
177
+ updateBaseline?: boolean;
178
+ json?: boolean;
179
+ module?: string;
180
+ }
181
+ interface CheckArchResult {
182
+ passed: boolean;
183
+ mode: 'baseline' | 'threshold-only';
184
+ totalViolations: number;
185
+ newViolations: Violation[];
186
+ resolvedViolations: string[];
187
+ preExisting: string[];
188
+ regressions: Array<{
189
+ category: string;
190
+ baselineValue: number;
191
+ currentValue: number;
192
+ delta: number;
193
+ }>;
194
+ thresholdViolations: Violation[];
195
+ baselineUpdated?: boolean;
196
+ warning?: string;
197
+ }
198
+ declare function runCheckArch(options: CheckArchOptions): Promise<Result<CheckArchResult, CLIError>>;
199
+
166
200
  /**
167
201
  * Supported output modes for the CLI.
168
202
  */
@@ -626,15 +660,15 @@ declare const HarnessConfigSchema: z.ZodObject<{
626
660
  thresholds: z.ZodDefault<z.ZodRecord<z.ZodEnum<["circular-deps", "layer-violations", "complexity", "coupling", "forbidden-imports", "module-size", "dependency-depth"]>, z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>>;
627
661
  modules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["circular-deps", "layer-violations", "complexity", "coupling", "forbidden-imports", "module-size", "dependency-depth"]>, z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>>>;
628
662
  }, "strip", z.ZodTypeAny, {
629
- thresholds: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
630
- modules: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
631
663
  enabled: boolean;
632
664
  baselinePath: string;
665
+ thresholds: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
666
+ modules: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
633
667
  }, {
634
- thresholds?: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
635
- modules?: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
636
668
  enabled?: boolean | undefined;
637
669
  baselinePath?: string | undefined;
670
+ thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
671
+ modules?: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
638
672
  }>>;
639
673
  /** How often (in ms) to check for CLI updates */
640
674
  updateCheckInterval: z.ZodOptional<z.ZodNumber>;
@@ -734,10 +768,10 @@ declare const HarnessConfigSchema: z.ZodObject<{
734
768
  } | undefined;
735
769
  } | undefined;
736
770
  architecture?: {
737
- thresholds: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
738
- modules: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
739
771
  enabled: boolean;
740
772
  baselinePath: string;
773
+ thresholds: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
774
+ modules: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
741
775
  } | undefined;
742
776
  updateCheckInterval?: number | undefined;
743
777
  }, {
@@ -836,10 +870,10 @@ declare const HarnessConfigSchema: z.ZodObject<{
836
870
  } | undefined;
837
871
  } | undefined;
838
872
  architecture?: {
839
- thresholds?: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
840
- modules?: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
841
873
  enabled?: boolean | undefined;
842
874
  baselinePath?: string | undefined;
875
+ thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
876
+ modules?: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
843
877
  } | undefined;
844
878
  updateCheckInterval?: number | undefined;
845
879
  }>;
@@ -1220,39 +1254,6 @@ declare function renderClaudeCodeAgent(def: AgentDefinition): string;
1220
1254
 
1221
1255
  declare function renderGeminiAgent(def: AgentDefinition): string;
1222
1256
 
1223
- interface ImpactPreviewOptions {
1224
- detailed?: boolean;
1225
- perFile?: boolean;
1226
- path?: string;
1227
- }
1228
- declare function runImpactPreview(options: ImpactPreviewOptions): Promise<string>;
1229
-
1230
- interface CheckArchOptions {
1231
- cwd?: string;
1232
- configPath?: string;
1233
- updateBaseline?: boolean;
1234
- json?: boolean;
1235
- module?: string;
1236
- }
1237
- interface CheckArchResult {
1238
- passed: boolean;
1239
- mode: 'baseline' | 'threshold-only';
1240
- totalViolations: number;
1241
- newViolations: Violation[];
1242
- resolvedViolations: string[];
1243
- preExisting: string[];
1244
- regressions: Array<{
1245
- category: string;
1246
- baselineValue: number;
1247
- currentValue: number;
1248
- delta: number;
1249
- }>;
1250
- thresholdViolations: Violation[];
1251
- baselineUpdated?: boolean;
1252
- warning?: string;
1253
- }
1254
- declare function runCheckArch(options: CheckArchOptions): Promise<Result<CheckArchResult, CLIError>>;
1255
-
1256
1257
  type ToolDefinition = {
1257
1258
  name: string;
1258
1259
  description: string;
@@ -1265,6 +1266,10 @@ declare function startServer(): Promise<void>;
1265
1266
  interface InstallOptions {
1266
1267
  version?: string;
1267
1268
  force?: boolean;
1269
+ from?: string;
1270
+ registry?: string;
1271
+ /** Internal: tracks which package triggered this install (for transitive deps) */
1272
+ _dependencyOf?: string | null;
1268
1273
  }
1269
1274
  interface InstallResult {
1270
1275
  installed: boolean;
@@ -1277,6 +1282,38 @@ interface InstallResult {
1277
1282
  }
1278
1283
  declare function runInstall(skillName: string, options: InstallOptions): Promise<InstallResult>;
1279
1284
 
1285
+ interface InstallConstraintsOptions {
1286
+ source: string;
1287
+ configPath: string;
1288
+ lockfilePath: string;
1289
+ forceLocal?: boolean;
1290
+ forcePackage?: boolean;
1291
+ dryRun?: boolean;
1292
+ }
1293
+ interface InstallConstraintsSuccess {
1294
+ installed: boolean;
1295
+ packageName: string;
1296
+ version: string;
1297
+ contributionsCount: number;
1298
+ conflicts: ConflictReport[];
1299
+ alreadyInstalled?: boolean;
1300
+ dryRun?: boolean;
1301
+ }
1302
+ declare function runInstallConstraints(options: InstallConstraintsOptions): Promise<Result$1<InstallConstraintsSuccess, string>>;
1303
+
1304
+ interface UninstallConstraintsOptions {
1305
+ packageName: string;
1306
+ configPath: string;
1307
+ lockfilePath: string;
1308
+ }
1309
+ interface UninstallConstraintsSuccess {
1310
+ removed: boolean;
1311
+ packageName: string;
1312
+ version: string;
1313
+ sectionsRemoved: string[];
1314
+ }
1315
+ declare function runUninstallConstraints(options: UninstallConstraintsOptions): Promise<Result$1<UninstallConstraintsSuccess, string>>;
1316
+
1280
1317
  interface UninstallOptions {
1281
1318
  force?: boolean;
1282
1319
  }
@@ -1305,4 +1342,4 @@ declare function runUninstall(skillName: string, options: UninstallOptions): Pro
1305
1342
  */
1306
1343
  declare function createProgram(): Command;
1307
1344
 
1308
- export { AGENT_DESCRIPTIONS, ALLOWED_PERSONA_COMMANDS, type AgentDefinition, CLIError, type CheckArchResult, type CommandExecutor, type CommandStep, type CreateSkillOptions, DEFAULT_TOOLS, ExitCode, GEMINI_TOOL_MAP, type GenerateAgentDefsOptions, type GenerateAgentDefsResult, type GenerateResult, type HandoffContext, type HarnessConfig, type InstallResult, OutputFormatter, OutputMode, type Persona, type PersonaMetadata, type PersonaRunReport, type RenderedFiles, type SkillExecutionContext, type SkillExecutionResult, type SkillExecutor, type SkillSource, type SkillStep, type Step, type StepExecutionContext, type StepReport, type TemplateContext, TemplateEngine, type TriggerContext, type TriggerDetectionResult, type UninstallResult, buildPreamble, createHarnessServer, createProgram, detectTrigger, executeSkill, findConfigFile, generateAgentDefinition, generateAgentDefinitions, generateAgentsMd, generateCIWorkflow, generateRuntime, generateSkillFiles, generateSlashCommands, getToolDefinitions, handleError, listPersonas, loadConfig, loadPersona, logger, renderClaudeCodeAgent, renderGeminiAgent, resolveConfig, runCheckArch, runCheckPhaseGate, runCrossCheck, runGraphExport, runGraphStatus, runImpactPreview, runIngest, runInstall, runPersona, runQuery, runScan, runUninstall, startServer };
1345
+ export { AGENT_DESCRIPTIONS, ALLOWED_PERSONA_COMMANDS, type AgentDefinition, CLIError, type CheckArchResult, type CommandExecutor, type CommandStep, type CreateSkillOptions, DEFAULT_TOOLS, ExitCode, GEMINI_TOOL_MAP, type GenerateAgentDefsOptions, type GenerateAgentDefsResult, type GenerateResult, type HandoffContext, type HarnessConfig, type InstallConstraintsOptions, type InstallConstraintsSuccess, type InstallResult, OutputFormatter, OutputMode, type Persona, type PersonaMetadata, type PersonaRunReport, type RenderedFiles, type SkillExecutionContext, type SkillExecutionResult, type SkillExecutor, type SkillSource, type SkillStep, type Step, type StepExecutionContext, type StepReport, type TemplateContext, TemplateEngine, type TriggerContext, type TriggerDetectionResult, type UninstallConstraintsOptions, type UninstallConstraintsSuccess, type UninstallResult, buildPreamble, createHarnessServer, createProgram, detectTrigger, executeSkill, findConfigFile, generateAgentDefinition, generateAgentDefinitions, generateAgentsMd, generateCIWorkflow, generateRuntime, generateSkillFiles, generateSlashCommands, getToolDefinitions, handleError, listPersonas, loadConfig, loadPersona, logger, renderClaudeCodeAgent, renderGeminiAgent, resolveConfig, runCheckArch, runCheckPhaseGate, runCrossCheck, runGraphExport, runGraphStatus, runImpactPreview, runIngest, runInstall, runInstallConstraints, runPersona, runQuery, runScan, runUninstall, runUninstallConstraints, startServer };
package/dist/index.js CHANGED
@@ -7,10 +7,12 @@ import {
7
7
  runImpactPreview,
8
8
  runIngest,
9
9
  runInstall,
10
+ runInstallConstraints,
10
11
  runQuery,
11
12
  runScan,
12
- runUninstall
13
- } from "./chunk-ZWC3MN5E.js";
13
+ runUninstall,
14
+ runUninstallConstraints
15
+ } from "./chunk-RZSUJBZZ.js";
14
16
  import {
15
17
  generateCIWorkflow
16
18
  } from "./chunk-VUCPTQ6G.js";
@@ -21,7 +23,7 @@ import {
21
23
  loadConfig,
22
24
  resolveConfig,
23
25
  runCheckPhaseGate
24
- } from "./chunk-2NCIKJES.js";
26
+ } from "./chunk-3KOLLWWE.js";
25
27
  import {
26
28
  AGENT_DESCRIPTIONS,
27
29
  DEFAULT_TOOLS,
@@ -64,18 +66,18 @@ import {
64
66
  generateSlashCommands,
65
67
  getToolDefinitions,
66
68
  startServer
67
- } from "./chunk-I6JZYEGT.js";
68
- import "./chunk-Z75JC6I2.js";
69
- import "./chunk-GSIVNYVJ.js";
70
- import "./chunk-PA2XHK75.js";
71
- import "./chunk-X3MN5UQJ.js";
72
- import "./chunk-WUJTCNOU.js";
69
+ } from "./chunk-7KQSUZVG.js";
70
+ import "./chunk-MACVXDZK.js";
71
+ import "./chunk-2VU4MFM3.js";
72
+ import "./chunk-7PZWR4LI.js";
73
+ import "./chunk-5VY23YK3.js";
74
+ import "./chunk-LD3DKUK5.js";
73
75
  import "./chunk-ZOAWBDWU.js";
74
- import "./chunk-WJZDO6OY.js";
76
+ import "./chunk-PSNN4LWX.js";
75
77
  import "./chunk-2YPZKGAG.js";
76
- import "./chunk-TI4TGEX6.js";
78
+ import "./chunk-WPPDRIJL.js";
77
79
  import "./chunk-K6XAPGML.js";
78
- import "./chunk-NC6PXVWT.js";
80
+ import "./chunk-MI5XJQDY.js";
79
81
  import "./chunk-IDZNPTYD.js";
80
82
  import "./chunk-W6Y7ZW3Y.js";
81
83
  import "./chunk-HD4IBGLA.js";
@@ -92,7 +94,7 @@ import {
92
94
  import {
93
95
  TemplateEngine
94
96
  } from "./chunk-C2ERUR3L.js";
95
- import "./chunk-2YSQOUHO.js";
97
+ import "./chunk-KELT6K6M.js";
96
98
  import "./chunk-MHBMTPW7.js";
97
99
  export {
98
100
  AGENT_DESCRIPTIONS,
@@ -134,9 +136,11 @@ export {
134
136
  runImpactPreview,
135
137
  runIngest,
136
138
  runInstall,
139
+ runInstallConstraints,
137
140
  runPersona,
138
141
  runQuery,
139
142
  runScan,
140
143
  runUninstall,
144
+ runUninstallConstraints,
141
145
  startServer
142
146
  };
@@ -2,7 +2,7 @@ import {
2
2
  listPersonas,
3
3
  loadPersona
4
4
  } from "./chunk-Q6AB7W5Z.js";
5
- import "./chunk-2YSQOUHO.js";
5
+ import "./chunk-KELT6K6M.js";
6
6
  import "./chunk-MHBMTPW7.js";
7
7
  export {
8
8
  listPersonas,
@@ -2,20 +2,20 @@ import {
2
2
  createHarnessServer,
3
3
  getToolDefinitions,
4
4
  startServer
5
- } from "./chunk-I6JZYEGT.js";
6
- import "./chunk-Z75JC6I2.js";
7
- import "./chunk-GSIVNYVJ.js";
8
- import "./chunk-PA2XHK75.js";
9
- import "./chunk-X3MN5UQJ.js";
10
- import "./chunk-WUJTCNOU.js";
5
+ } from "./chunk-7KQSUZVG.js";
6
+ import "./chunk-MACVXDZK.js";
7
+ import "./chunk-2VU4MFM3.js";
8
+ import "./chunk-7PZWR4LI.js";
9
+ import "./chunk-5VY23YK3.js";
10
+ import "./chunk-LD3DKUK5.js";
11
11
  import "./chunk-ZOAWBDWU.js";
12
- import "./chunk-WJZDO6OY.js";
12
+ import "./chunk-PSNN4LWX.js";
13
13
  import "./chunk-2YPZKGAG.js";
14
- import "./chunk-TI4TGEX6.js";
14
+ import "./chunk-WPPDRIJL.js";
15
15
  import {
16
16
  resolveProjectConfig
17
17
  } from "./chunk-K6XAPGML.js";
18
- import "./chunk-NC6PXVWT.js";
18
+ import "./chunk-MI5XJQDY.js";
19
19
  import {
20
20
  resultToMcpResponse
21
21
  } from "./chunk-IDZNPTYD.js";
@@ -23,7 +23,7 @@ import "./chunk-W6Y7ZW3Y.js";
23
23
  import "./chunk-HD4IBGLA.js";
24
24
  import "./chunk-3WGJMBKH.js";
25
25
  import "./chunk-VRFZWGMS.js";
26
- import "./chunk-2YSQOUHO.js";
26
+ import "./chunk-KELT6K6M.js";
27
27
  import "./chunk-MHBMTPW7.js";
28
28
  export {
29
29
  createHarnessServer,
@@ -7,10 +7,10 @@ import {
7
7
  handleGetPerfBaselines,
8
8
  handleUpdatePerfBaselines,
9
9
  updatePerfBaselinesDefinition
10
- } from "./chunk-GSIVNYVJ.js";
10
+ } from "./chunk-2VU4MFM3.js";
11
11
  import "./chunk-IDZNPTYD.js";
12
12
  import "./chunk-W6Y7ZW3Y.js";
13
- import "./chunk-2YSQOUHO.js";
13
+ import "./chunk-KELT6K6M.js";
14
14
  import "./chunk-MHBMTPW7.js";
15
15
  export {
16
16
  checkPerformanceDefinition,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  handleRunCodeReview,
3
3
  runCodeReviewDefinition
4
- } from "./chunk-WUJTCNOU.js";
4
+ } from "./chunk-LD3DKUK5.js";
5
5
  import "./chunk-W6Y7ZW3Y.js";
6
6
  export {
7
7
  handleRunCodeReview,
@@ -2,7 +2,7 @@ import {
2
2
  generateRuntime
3
3
  } from "./chunk-JSTQ3AWB.js";
4
4
  import "./chunk-KET4QQZB.js";
5
- import "./chunk-2YSQOUHO.js";
5
+ import "./chunk-KELT6K6M.js";
6
6
  import "./chunk-MHBMTPW7.js";
7
7
  export {
8
8
  generateRuntime
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  handleRunSecurityScan,
3
3
  runSecurityScanDefinition
4
- } from "./chunk-X3MN5UQJ.js";
4
+ } from "./chunk-5VY23YK3.js";
5
5
  import "./chunk-W6Y7ZW3Y.js";
6
6
  export {
7
7
  handleRunSecurityScan,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  handleValidateProject,
3
3
  validateToolDefinition
4
- } from "./chunk-WJZDO6OY.js";
4
+ } from "./chunk-PSNN4LWX.js";
5
5
  import "./chunk-K6XAPGML.js";
6
6
  import "./chunk-W6Y7ZW3Y.js";
7
- import "./chunk-2YSQOUHO.js";
7
+ import "./chunk-KELT6K6M.js";
8
8
  import "./chunk-MHBMTPW7.js";
9
9
  export {
10
10
  handleValidateProject,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runCrossCheck
3
3
  } from "./chunk-72GHBOL2.js";
4
- import "./chunk-2YSQOUHO.js";
4
+ import "./chunk-KELT6K6M.js";
5
5
  import "./chunk-MHBMTPW7.js";
6
6
  export {
7
7
  runCrossCheck
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harness-engineering/cli",
3
- "version": "1.11.0",
3
+ "version": "1.13.0",
4
4
  "description": "CLI for Harness Engineering toolkit",
5
5
  "type": "module",
6
6
  "bin": {
@@ -34,11 +34,11 @@
34
34
  "semver": "^7.7.4",
35
35
  "yaml": "^2.3.0",
36
36
  "zod": "^3.22.0",
37
- "@harness-engineering/core": "0.11.0",
37
+ "@harness-engineering/core": "0.13.0",
38
38
  "@harness-engineering/graph": "0.3.2",
39
39
  "@harness-engineering/linter-gen": "0.1.3",
40
- "@harness-engineering/orchestrator": "0.2.0",
41
- "@harness-engineering/types": "0.3.0"
40
+ "@harness-engineering/orchestrator": "0.2.2",
41
+ "@harness-engineering/types": "0.3.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^22.0.0",