@harness-engineering/cli 2.0.0 → 2.1.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 (95) hide show
  1. package/dist/agents/skills/claude-code/harness-compound/SKILL.md +153 -0
  2. package/dist/agents/skills/claude-code/harness-compound/skill.yaml +60 -0
  3. package/dist/agents/skills/claude-code/harness-knowledge-pipeline/SKILL.md +12 -1
  4. package/dist/agents/skills/claude-code/harness-observability/SKILL.md +2 -0
  5. package/dist/agents/skills/claude-code/harness-pulse/SKILL.md +138 -0
  6. package/dist/agents/skills/claude-code/harness-pulse/references/interview.md +77 -0
  7. package/dist/agents/skills/claude-code/harness-pulse/skill.yaml +61 -0
  8. package/dist/agents/skills/claude-code/harness-roadmap-pilot/SKILL.md +25 -1
  9. package/dist/agents/skills/codex/harness-compound/SKILL.md +153 -0
  10. package/dist/agents/skills/codex/harness-compound/skill.yaml +60 -0
  11. package/dist/agents/skills/codex/harness-knowledge-pipeline/SKILL.md +12 -1
  12. package/dist/agents/skills/codex/harness-observability/SKILL.md +2 -0
  13. package/dist/agents/skills/codex/harness-pulse/SKILL.md +138 -0
  14. package/dist/agents/skills/codex/harness-pulse/references/interview.md +77 -0
  15. package/dist/agents/skills/codex/harness-pulse/skill.yaml +61 -0
  16. package/dist/agents/skills/codex/harness-roadmap-pilot/SKILL.md +25 -1
  17. package/dist/agents/skills/cursor/harness-compound/SKILL.md +153 -0
  18. package/dist/agents/skills/cursor/harness-compound/skill.yaml +60 -0
  19. package/dist/agents/skills/cursor/harness-knowledge-pipeline/SKILL.md +12 -1
  20. package/dist/agents/skills/cursor/harness-observability/SKILL.md +2 -0
  21. package/dist/agents/skills/cursor/harness-pulse/SKILL.md +138 -0
  22. package/dist/agents/skills/cursor/harness-pulse/references/interview.md +77 -0
  23. package/dist/agents/skills/cursor/harness-pulse/skill.yaml +61 -0
  24. package/dist/agents/skills/cursor/harness-roadmap-pilot/SKILL.md +25 -1
  25. package/dist/agents/skills/gemini-cli/harness-compound/SKILL.md +153 -0
  26. package/dist/agents/skills/gemini-cli/harness-compound/skill.yaml +60 -0
  27. package/dist/agents/skills/gemini-cli/harness-knowledge-pipeline/SKILL.md +12 -1
  28. package/dist/agents/skills/gemini-cli/harness-observability/SKILL.md +2 -0
  29. package/dist/agents/skills/gemini-cli/harness-pulse/SKILL.md +138 -0
  30. package/dist/agents/skills/gemini-cli/harness-pulse/references/interview.md +77 -0
  31. package/dist/agents/skills/gemini-cli/harness-pulse/skill.yaml +61 -0
  32. package/dist/agents/skills/gemini-cli/harness-roadmap-pilot/SKILL.md +25 -1
  33. package/dist/agents/skills/package.json +1 -0
  34. package/dist/agents/skills/tests/fixtures/harness-compound/bug-track-fixture/input.json +10 -0
  35. package/dist/agents/skills/tests/fixtures/harness-compound/duplicate-detection-fixture/docs/solutions/bug-track/integration-issues/stalled-lease-cleanup.md +28 -0
  36. package/dist/agents/skills/tests/fixtures/harness-compound/duplicate-detection-fixture/expected.json +4 -0
  37. package/dist/agents/skills/tests/fixtures/harness-compound/duplicate-detection-fixture/input.json +10 -0
  38. package/dist/agents/skills/tests/fixtures/harness-compound/knowledge-track-fixture/input.json +10 -0
  39. package/dist/agents/skills/tests/harness-compound.test.ts +86 -0
  40. package/dist/{agents-md-6SAMHE7H.js → agents-md-L4X4MOWT.js} +3 -3
  41. package/dist/{architecture-5YR52NSV.js → architecture-WJRIYQ45.js} +4 -4
  42. package/dist/{assess-project-5X7TYQFM.js → assess-project-PHC2HO3V.js} +1 -1
  43. package/dist/bin/harness-mcp.js +16 -15
  44. package/dist/bin/harness.js +26 -25
  45. package/dist/{check-phase-gate-PLV2VDOL.js → check-phase-gate-646KY67H.js} +5 -4
  46. package/dist/{chunk-ZYLBIDLE.js → chunk-224XKVLP.js} +1 -1
  47. package/dist/{chunk-ELJ2MXMO.js → chunk-2QPHCR22.js} +9 -9
  48. package/dist/{chunk-SITVRO7K.js → chunk-2ZURBWEV.js} +9 -9
  49. package/dist/{chunk-2IBXUG6J.js → chunk-36X7TRUI.js} +2 -2
  50. package/dist/{chunk-6L2BU4BP.js → chunk-4HKVZO7R.js} +1 -1
  51. package/dist/{chunk-74YADB7T.js → chunk-7XQYOXTB.js} +96 -94
  52. package/dist/{chunk-S2WB4LE7.js → chunk-BMM3GXV6.js} +384 -28
  53. package/dist/{chunk-BYS3TQOO.js → chunk-CPYL6LJR.js} +1 -1
  54. package/dist/{chunk-QDRBWVVY.js → chunk-E7W3YOXL.js} +2 -2
  55. package/dist/{chunk-MTPHNOJW.js → chunk-FNCJ3UCU.js} +507 -244
  56. package/dist/{chunk-RYDPFIJY.js → chunk-JPWICLXQ.js} +1 -1
  57. package/dist/{chunk-RFYF7TJS.js → chunk-K4WRQTEF.js} +1835 -805
  58. package/dist/{chunk-DXGI7DL3.js → chunk-KTWKW6KJ.js} +1 -1
  59. package/dist/{chunk-JNKALGRM.js → chunk-KV7A5OZT.js} +5 -5
  60. package/dist/{chunk-KJD4J54I.js → chunk-LO7ZLV7S.js} +6 -1
  61. package/dist/{chunk-XHOGGZS7.js → chunk-QTUPHTTK.js} +1 -1
  62. package/dist/{chunk-R2CBBZA6.js → chunk-SVC7THFK.js} +1 -1
  63. package/dist/{chunk-PFM3BVVU.js → chunk-TNZYQTEE.js} +1 -1
  64. package/dist/{chunk-HT7HYYGT.js → chunk-VJQLUS5I.js} +1 -1
  65. package/dist/{chunk-6GXSJGSW.js → chunk-VKDBM3RX.js} +3 -3
  66. package/dist/{chunk-JZST2WZS.js → chunk-W4AFGFFB.js} +3 -3
  67. package/dist/{chunk-YJE23GRZ.js → chunk-YG4ZBGEH.js} +39 -5
  68. package/dist/{chunk-5ME3WG3G.js → chunk-YLOAQZLA.js} +5 -5
  69. package/dist/{chunk-7JQ7HLM4.js → chunk-YLTRFZAT.js} +8 -8
  70. package/dist/{chunk-BFBZK6BC.js → chunk-YWD6WXXM.js} +6 -6
  71. package/dist/chunk-ZCZD7FHU.js +16 -0
  72. package/dist/{ci-workflow-7T2XKB3P.js → ci-workflow-TOS5X527.js} +3 -3
  73. package/dist/{dist-77VNTHWV.js → dist-6RT2AVYU.js} +78 -2
  74. package/dist/{dist-42AYXCAK.js → dist-D27LJR2T.js} +7 -1
  75. package/dist/{docs-MSIJ6SDO.js → docs-HOJMQYDZ.js} +5 -4
  76. package/dist/{engine-F4P5RBE4.js → engine-D6UYH6DB.js} +3 -3
  77. package/dist/{entropy-GSUTIORR.js → entropy-LZ4IDGZR.js} +3 -3
  78. package/dist/{feedback-NST6T4HI.js → feedback-WV7EQVK7.js} +1 -1
  79. package/dist/{generate-agent-definitions-BOUGQIPA.js → generate-agent-definitions-ZHFFS6YG.js} +4 -4
  80. package/dist/glob-helper-FZPPTGJN.js +62 -0
  81. package/dist/{graph-loader-IAUPGLRV.js → graph-loader-5MKHAJJF.js} +1 -1
  82. package/dist/index.d.ts +44 -6
  83. package/dist/index.js +26 -25
  84. package/dist/{loader-6QTJC7IN.js → loader-Z23JTXIZ.js} +3 -3
  85. package/dist/{mcp-QFBGTUX6.js → mcp-QFZDPFNP.js} +16 -15
  86. package/dist/{performance-B2NAAIE5.js → performance-7ATLHTQU.js} +5 -4
  87. package/dist/{review-pipeline-6EYMBS6B.js → review-pipeline-COBGGXHJ.js} +3 -3
  88. package/dist/{runtime-VFZK6BCZ.js → runtime-KCBNQUXK.js} +3 -3
  89. package/dist/{scan-DB6FNYGG.js → scan-BIJYHOE7.js} +2 -1
  90. package/dist/{security-HRNTYHPM.js → security-MAPRIFQT.js} +1 -1
  91. package/dist/templates/orchestrator/harness.orchestrator.md +9 -1
  92. package/dist/{validate-YEMAFWJE.js → validate-74XTQR7Q.js} +4 -4
  93. package/dist/{validate-cross-check-DGHTJFVH.js → validate-cross-check-MI5MZ7MB.js} +3 -3
  94. package/package.json +7 -6
  95. package/dist/glob-helper-VCQXK5XY.js +0 -54
@@ -1,6 +1,8 @@
1
1
  import {
2
2
  AGENT_DESCRIPTORS,
3
3
  AGREEMENT_LINE_GAP,
4
+ ALLOWED_FIELD_KEYS,
5
+ ALL_SOLUTION_CATEGORIES,
4
6
  ARCHITECTURE_DESCRIPTOR,
5
7
  AdjustedForecastSchema,
6
8
  AgentActionEmitter,
@@ -11,6 +13,7 @@ import {
11
13
  ArchDiffResultSchema,
12
14
  ArchMetricCategorySchema,
13
15
  BUG_DETECTION_DESCRIPTOR,
16
+ BUG_TRACK_CATEGORIES,
14
17
  BaselineManager,
15
18
  BenchmarkRunner,
16
19
  BlueprintGenerator,
@@ -28,6 +31,7 @@ import {
28
31
  CircularDepsCollector,
29
32
  CompactionPipeline,
30
33
  ComplexityCollector,
34
+ CompoundLockHeldError,
31
35
  ConfidenceTierSchema,
32
36
  ConfirmationSchema,
33
37
  ConsoleSink,
@@ -70,10 +74,12 @@ import {
70
74
  HandoffSchema,
71
75
  HarnessStateSchema,
72
76
  InteractionTypeSchema,
77
+ KNOWLEDGE_TRACK_CATEGORIES,
73
78
  LITELLM_PRICING_URL,
74
79
  LayerViolationCollector,
75
80
  LockfilePackageSchema,
76
81
  LockfileSchema,
82
+ MOCK_ADAPTER_NAME,
77
83
  ManifestSchema,
78
84
  MetricResultSchema,
79
85
  ModuleSizeCollector,
@@ -81,12 +87,19 @@ import {
81
87
  NoOpSink,
82
88
  NoOpTelemetryAdapter,
83
89
  OpenAICacheAdapter,
90
+ PII_FIELD_DENYLIST,
91
+ PII_LINE_RE,
92
+ PII_TOKENS,
84
93
  PatternConfigSchema,
85
94
  PredictionEngine,
86
95
  PredictionOptionsSchema,
87
96
  PredictionResultSchema,
88
97
  PredictionWarningSchema,
89
98
  ProjectScanner,
99
+ PulseAdapterAlreadyRegisteredError,
100
+ PulseConfigSchema,
101
+ PulseDbSourceSchema,
102
+ PulseSourcesSchema,
90
103
  QuestionSchema,
91
104
  REQUIRED_SECTIONS,
92
105
  RegressionDetector,
@@ -109,6 +122,7 @@ import {
109
122
  SharableLayerSchema,
110
123
  SharableSecurityRulesSchema,
111
124
  SkillEventSchema,
125
+ SolutionDocFrontmatterSchema,
112
126
  SpecImpactEstimateSchema,
113
127
  SpecImpactEstimator,
114
128
  SpecImpactSignalsSchema,
@@ -136,6 +150,7 @@ import {
136
150
  ViolationHistorySchema,
137
151
  ViolationSchema,
138
152
  ViolationSnapshotSchema,
153
+ acquireCompoundLock,
139
154
  addProvenance,
140
155
  agentConfigRules,
141
156
  aggregateByDay,
@@ -158,6 +173,9 @@ import {
158
173
  archiveLearnings,
159
174
  archiveSession,
160
175
  archiveStream,
176
+ assembleCandidateReport,
177
+ assembleReport,
178
+ assertSanitized,
161
179
  assignFeature,
162
180
  buildDependencyGraph,
163
181
  buildExclusionSet,
@@ -174,15 +192,18 @@ import {
174
192
  clearEventHashCache,
175
193
  clearFailuresCache,
176
194
  clearLearningsCache,
195
+ clearPulseAdapters,
177
196
  clearTaint,
178
197
  clusterViolations,
179
198
  collectEvents,
180
199
  computeContentHash,
200
+ computeHotspots,
181
201
  computeLexicalSimilarity,
182
202
  computeLoadPlan,
183
203
  computeOverallSeverity,
184
204
  computeScanExitCode,
185
205
  computeTrustScores,
206
+ computeWindow,
186
207
  configureFeedback,
187
208
  constraintRuleId,
188
209
  contextBudget,
@@ -198,6 +219,7 @@ import {
198
219
  createRegionMap,
199
220
  createSelfReview,
200
221
  createStream,
222
+ crossReferenceUndocumentedFixes,
201
223
  cryptoRules,
202
224
  deduplicateCleanupFindings,
203
225
  deduplicateFindings,
@@ -228,6 +250,7 @@ import {
228
250
  extractBundle,
229
251
  extractDirectoryScope,
230
252
  extractFileReferences,
253
+ extractHeadlines,
231
254
  extractIndexEntry,
232
255
  extractLevel,
233
256
  extractMarkdownLinks,
@@ -239,6 +262,7 @@ import {
239
262
  formatFindingBlock,
240
263
  formatGitHubComment,
241
264
  formatGitHubSummary,
265
+ formatIsoWeek,
242
266
  formatOutline,
243
267
  formatTerminalOutput,
244
268
  fullSync,
@@ -254,19 +278,24 @@ import {
254
278
  getOutline,
255
279
  getParser,
256
280
  getPhaseCategories,
281
+ getPulseAdapter,
257
282
  getStreamForBranch,
258
283
  getTaintFilePath,
259
284
  getTrustLevel,
260
285
  getUpdateNotification,
286
+ gitScan,
261
287
  goRules,
262
288
  init_dist,
263
289
  injectionRules,
264
290
  insecureDefaultsRules,
265
291
  isDuplicateFinding,
266
292
  isRegression,
293
+ isSanitizedResult,
267
294
  isSmallSuggestion,
268
295
  isUpdateCheckEnabled,
296
+ isoWeek,
269
297
  listActiveSessions,
298
+ listPulseAdapters,
270
299
  listStreams,
271
300
  listTaintedSessions,
272
301
  loadBudgetedLearnings,
@@ -300,6 +329,7 @@ import {
300
329
  parseFrontmatter2,
301
330
  parseHarnessIgnore,
302
331
  parseLiteLLMData,
332
+ parseLookback,
303
333
  parseManifest,
304
334
  parseProtectedRegions,
305
335
  parseRoadmap,
@@ -320,6 +350,8 @@ import {
320
350
  readSessionSection,
321
351
  readSessionSections,
322
352
  readTaint,
353
+ registerMockAdapter,
354
+ registerPulseAdapter,
323
355
  removeContributions,
324
356
  removeProvenance,
325
357
  requestMultiplePeerReviews,
@@ -345,6 +377,7 @@ import {
345
377
  runMechanicalGate,
346
378
  runMultiTurnPipeline,
347
379
  runPipeline,
380
+ runPulse,
348
381
  runReviewPipeline,
349
382
  runSecurityAgent,
350
383
  saveHandoff,
@@ -356,6 +389,7 @@ import {
356
389
  searchSymbols,
357
390
  secretRules,
358
391
  securityFindingId,
392
+ seedFromStrategy,
359
393
  send,
360
394
  serializeEnvelope,
361
395
  serializeRoadmap,
@@ -365,6 +399,7 @@ import {
365
399
  spawnBackgroundCheck,
366
400
  splitBundlesByStage,
367
401
  stageDomains,
402
+ suggestCategory,
368
403
  syncConstraintNodes,
369
404
  syncFromExternal,
370
405
  syncRoadmap,
@@ -387,15 +422,18 @@ import {
387
422
  validateFindings,
388
423
  validateKnowledgeMap,
389
424
  validatePatternConfig,
425
+ validatePulseConfig,
426
+ validateSolutionsDir,
390
427
  violationId,
391
428
  weeksUntilThreshold,
392
429
  weightedLinearRegression,
393
430
  writeConfig,
394
431
  writeLockfile,
432
+ writePulseConfig,
395
433
  writeSessionSummary,
396
434
  writeTaint,
397
435
  xssRules
398
- } from "./chunk-RFYF7TJS.js";
436
+ } from "./chunk-K4WRQTEF.js";
399
437
  import {
400
438
  DEFAULT_SKILL_CONTEXT_BUDGET,
401
439
  Err,
@@ -405,12 +443,14 @@ import {
405
443
  isErr,
406
444
  isOk
407
445
  } from "./chunk-RL4VMEXL.js";
408
- import "./chunk-S2WB4LE7.js";
446
+ import "./chunk-BMM3GXV6.js";
409
447
  import "./chunk-KFQGP6VL.js";
410
448
  init_dist();
411
449
  export {
412
450
  AGENT_DESCRIPTORS,
413
451
  AGREEMENT_LINE_GAP,
452
+ ALLOWED_FIELD_KEYS,
453
+ ALL_SOLUTION_CATEGORIES,
414
454
  ARCHITECTURE_DESCRIPTOR,
415
455
  AdjustedForecastSchema,
416
456
  AgentActionEmitter,
@@ -421,6 +461,7 @@ export {
421
461
  ArchDiffResultSchema,
422
462
  ArchMetricCategorySchema,
423
463
  BUG_DETECTION_DESCRIPTOR,
464
+ BUG_TRACK_CATEGORIES,
424
465
  BaselineManager,
425
466
  BenchmarkRunner,
426
467
  BlueprintGenerator,
@@ -438,6 +479,7 @@ export {
438
479
  CircularDepsCollector,
439
480
  CompactionPipeline,
440
481
  ComplexityCollector,
482
+ CompoundLockHeldError,
441
483
  ConfidenceTierSchema,
442
484
  ConfirmationSchema,
443
485
  ConsoleSink,
@@ -481,10 +523,12 @@ export {
481
523
  HandoffSchema,
482
524
  HarnessStateSchema,
483
525
  InteractionTypeSchema,
526
+ KNOWLEDGE_TRACK_CATEGORIES,
484
527
  LITELLM_PRICING_URL,
485
528
  LayerViolationCollector,
486
529
  LockfilePackageSchema,
487
530
  LockfileSchema,
531
+ MOCK_ADAPTER_NAME,
488
532
  ManifestSchema,
489
533
  MetricResultSchema,
490
534
  ModuleSizeCollector,
@@ -493,6 +537,9 @@ export {
493
537
  NoOpTelemetryAdapter,
494
538
  Ok,
495
539
  OpenAICacheAdapter,
540
+ PII_FIELD_DENYLIST,
541
+ PII_LINE_RE,
542
+ PII_TOKENS,
496
543
  PatternConfigSchema,
497
544
  PredictionEngine,
498
545
  PredictionOptionsSchema,
@@ -500,6 +547,10 @@ export {
500
547
  PredictionResultSchema,
501
548
  PredictionWarningSchema,
502
549
  ProjectScanner,
550
+ PulseAdapterAlreadyRegisteredError,
551
+ PulseConfigSchema,
552
+ PulseDbSourceSchema,
553
+ PulseSourcesSchema,
503
554
  QuestionSchema,
504
555
  REQUIRED_SECTIONS,
505
556
  RegressionDetector,
@@ -524,6 +575,7 @@ export {
524
575
  SharableLayerSchema,
525
576
  SharableSecurityRulesSchema,
526
577
  SkillEventSchema,
578
+ SolutionDocFrontmatterSchema,
527
579
  SpecImpactEstimateSchema,
528
580
  SpecImpactEstimator,
529
581
  SpecImpactSignalsSchema,
@@ -551,6 +603,7 @@ export {
551
603
  ViolationHistorySchema,
552
604
  ViolationSchema,
553
605
  ViolationSnapshotSchema,
606
+ acquireCompoundLock,
554
607
  addProvenance,
555
608
  agentConfigRules,
556
609
  aggregateByDay2 as aggregateAdoptionByDay,
@@ -573,6 +626,9 @@ export {
573
626
  archiveLearnings,
574
627
  archiveSession,
575
628
  archiveStream,
629
+ assembleCandidateReport,
630
+ assembleReport,
631
+ assertSanitized,
576
632
  assignFeature,
577
633
  buildDependencyGraph,
578
634
  buildExclusionSet,
@@ -589,15 +645,18 @@ export {
589
645
  clearEventHashCache,
590
646
  clearFailuresCache,
591
647
  clearLearningsCache,
648
+ clearPulseAdapters,
592
649
  clearTaint,
593
650
  clusterViolations,
594
651
  collectEvents,
595
652
  computeContentHash,
653
+ computeHotspots,
596
654
  computeLexicalSimilarity,
597
655
  computeLoadPlan,
598
656
  computeOverallSeverity,
599
657
  computeScanExitCode,
600
658
  computeTrustScores,
659
+ computeWindow,
601
660
  configureFeedback,
602
661
  constraintRuleId,
603
662
  contextBudget,
@@ -613,6 +672,7 @@ export {
613
672
  createRegionMap,
614
673
  createSelfReview,
615
674
  createStream,
675
+ crossReferenceUndocumentedFixes,
616
676
  cryptoRules,
617
677
  deduplicateCleanupFindings,
618
678
  deduplicateFindings,
@@ -643,6 +703,7 @@ export {
643
703
  extractBundle,
644
704
  extractDirectoryScope,
645
705
  extractFileReferences,
706
+ extractHeadlines,
646
707
  extractIndexEntry,
647
708
  extractLevel,
648
709
  extractMarkdownLinks,
@@ -654,6 +715,7 @@ export {
654
715
  formatFindingBlock,
655
716
  formatGitHubComment,
656
717
  formatGitHubSummary,
718
+ formatIsoWeek,
657
719
  formatOutline,
658
720
  formatTerminalOutput,
659
721
  fullSync,
@@ -669,10 +731,12 @@ export {
669
731
  getOutline,
670
732
  getParser,
671
733
  getPhaseCategories,
734
+ getPulseAdapter,
672
735
  getStreamForBranch,
673
736
  getTaintFilePath,
674
737
  getTrustLevel,
675
738
  getUpdateNotification,
739
+ gitScan,
676
740
  goRules,
677
741
  injectionRules,
678
742
  insecureDefaultsRules,
@@ -680,9 +744,12 @@ export {
680
744
  isErr,
681
745
  isOk,
682
746
  isRegression,
747
+ isSanitizedResult,
683
748
  isSmallSuggestion,
684
749
  isUpdateCheckEnabled,
750
+ isoWeek,
685
751
  listActiveSessions,
752
+ listPulseAdapters,
686
753
  listStreams,
687
754
  listTaintedSessions,
688
755
  loadBudgetedLearnings,
@@ -716,6 +783,7 @@ export {
716
783
  parseFrontmatter2 as parseFrontmatter,
717
784
  parseHarnessIgnore,
718
785
  parseLiteLLMData,
786
+ parseLookback,
719
787
  parseManifest,
720
788
  parseProtectedRegions,
721
789
  parseRoadmap,
@@ -736,6 +804,8 @@ export {
736
804
  readSessionSection,
737
805
  readSessionSections,
738
806
  readTaint,
807
+ registerMockAdapter,
808
+ registerPulseAdapter,
739
809
  removeContributions,
740
810
  removeProvenance,
741
811
  requestMultiplePeerReviews,
@@ -761,6 +831,7 @@ export {
761
831
  runMechanicalGate,
762
832
  runMultiTurnPipeline,
763
833
  runPipeline,
834
+ runPulse,
764
835
  runReviewPipeline,
765
836
  runSecurityAgent,
766
837
  saveHandoff,
@@ -772,6 +843,7 @@ export {
772
843
  searchSymbols,
773
844
  secretRules,
774
845
  securityFindingId,
846
+ seedFromStrategy,
775
847
  send,
776
848
  serializeEnvelope,
777
849
  serializeRoadmap,
@@ -781,6 +853,7 @@ export {
781
853
  spawnBackgroundCheck,
782
854
  splitBundlesByStage,
783
855
  stageDomains,
856
+ suggestCategory,
784
857
  syncConstraintNodes,
785
858
  syncFromExternal,
786
859
  syncRoadmap,
@@ -803,11 +876,14 @@ export {
803
876
  validateFindings,
804
877
  validateKnowledgeMap,
805
878
  validatePatternConfig,
879
+ validatePulseConfig,
880
+ validateSolutionsDir,
806
881
  violationId,
807
882
  weeksUntilThreshold,
808
883
  weightedLinearRegression,
809
884
  writeConfig,
810
885
  writeLockfile,
886
+ writePulseConfig,
811
887
  writeSessionSummary,
812
888
  writeTaint,
813
889
  xssRules
@@ -16,6 +16,7 @@ import {
16
16
  D2Parser,
17
17
  DEFAULT_BLOCKLIST,
18
18
  DEFAULT_PATTERNS,
19
+ DEFAULT_SKIP_DIRS,
19
20
  DecisionIngestor,
20
21
  DesignConstraintAdapter,
21
22
  DesignIngestor,
@@ -72,11 +73,13 @@ import {
72
73
  init_dist,
73
74
  linkToCode,
74
75
  loadGraph,
76
+ loadGraphMetadata,
75
77
  normalizeIntent,
76
78
  project,
77
79
  queryTraceability,
80
+ resolveSkipDirs,
78
81
  saveGraph
79
- } from "./chunk-S2WB4LE7.js";
82
+ } from "./chunk-BMM3GXV6.js";
80
83
  import "./chunk-KFQGP6VL.js";
81
84
  init_dist();
82
85
  export {
@@ -97,6 +100,7 @@ export {
97
100
  D2Parser,
98
101
  DEFAULT_BLOCKLIST,
99
102
  DEFAULT_PATTERNS,
103
+ DEFAULT_SKIP_DIRS,
100
104
  DecisionIngestor,
101
105
  DesignConstraintAdapter,
102
106
  DesignIngestor,
@@ -152,8 +156,10 @@ export {
152
156
  inferDomain,
153
157
  linkToCode,
154
158
  loadGraph,
159
+ loadGraphMetadata,
155
160
  normalizeIntent,
156
161
  project,
157
162
  queryTraceability,
163
+ resolveSkipDirs,
158
164
  saveGraph
159
165
  };
@@ -1,13 +1,14 @@
1
1
  import {
2
2
  checkDocsDefinition,
3
3
  handleCheckDocs
4
- } from "./chunk-ELJ2MXMO.js";
4
+ } from "./chunk-2QPHCR22.js";
5
5
  import "./chunk-EPUKTTJZ.js";
6
6
  import "./chunk-W6Y7ZW3Y.js";
7
- import "./chunk-KJD4J54I.js";
8
- import "./chunk-RFYF7TJS.js";
7
+ import "./chunk-LO7ZLV7S.js";
8
+ import "./chunk-ZCZD7FHU.js";
9
+ import "./chunk-K4WRQTEF.js";
9
10
  import "./chunk-RL4VMEXL.js";
10
- import "./chunk-S2WB4LE7.js";
11
+ import "./chunk-BMM3GXV6.js";
11
12
  import "./chunk-3WGJMBKH.js";
12
13
  import "./chunk-KFQGP6VL.js";
13
14
  export {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  TemplateEngine
3
- } from "./chunk-ZYLBIDLE.js";
4
- import "./chunk-RFYF7TJS.js";
3
+ } from "./chunk-224XKVLP.js";
4
+ import "./chunk-K4WRQTEF.js";
5
5
  import "./chunk-RL4VMEXL.js";
6
- import "./chunk-S2WB4LE7.js";
6
+ import "./chunk-BMM3GXV6.js";
7
7
  import "./chunk-KFQGP6VL.js";
8
8
  export {
9
9
  TemplateEngine
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  detectEntropyDefinition,
3
3
  handleDetectEntropy
4
- } from "./chunk-JNKALGRM.js";
4
+ } from "./chunk-KV7A5OZT.js";
5
5
  import "./chunk-EPUKTTJZ.js";
6
6
  import "./chunk-W6Y7ZW3Y.js";
7
- import "./chunk-RFYF7TJS.js";
7
+ import "./chunk-K4WRQTEF.js";
8
8
  import "./chunk-RL4VMEXL.js";
9
- import "./chunk-S2WB4LE7.js";
9
+ import "./chunk-BMM3GXV6.js";
10
10
  import "./chunk-KFQGP6VL.js";
11
11
  export {
12
12
  detectEntropyDefinition,
@@ -5,7 +5,7 @@ import {
5
5
  handleCreateSelfReview,
6
6
  handleRequestPeerReview,
7
7
  requestPeerReviewDefinition
8
- } from "./chunk-SITVRO7K.js";
8
+ } from "./chunk-2ZURBWEV.js";
9
9
  import "./chunk-EPUKTTJZ.js";
10
10
  import "./chunk-W6Y7ZW3Y.js";
11
11
  import "./chunk-KFQGP6VL.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  createGenerateAgentDefinitionsCommand,
3
3
  generateAgentDefinitions
4
- } from "./chunk-R2CBBZA6.js";
4
+ } from "./chunk-SVC7THFK.js";
5
5
  import "./chunk-KET4QQZB.js";
6
- import "./chunk-HT7HYYGT.js";
6
+ import "./chunk-VJQLUS5I.js";
7
7
  import "./chunk-3ISINLYT.js";
8
8
  import "./chunk-6B6UN6SG.js";
9
- import "./chunk-RFYF7TJS.js";
9
+ import "./chunk-K4WRQTEF.js";
10
10
  import "./chunk-RL4VMEXL.js";
11
- import "./chunk-S2WB4LE7.js";
11
+ import "./chunk-BMM3GXV6.js";
12
12
  import "./chunk-3WGJMBKH.js";
13
13
  import "./chunk-KFQGP6VL.js";
14
14
  export {
@@ -0,0 +1,62 @@
1
+ import {
2
+ DEFAULT_SKIP_DIRS,
3
+ init_dist
4
+ } from "./chunk-BMM3GXV6.js";
5
+ import "./chunk-KFQGP6VL.js";
6
+
7
+ // src/mcp/utils/glob-helper.ts
8
+ init_dist();
9
+ import * as fs from "fs/promises";
10
+ import * as path from "path";
11
+ var SOURCE_EXTENSIONS = /* @__PURE__ */ new Set([".ts", ".tsx", ".js", ".jsx", ".go", ".py"]);
12
+ function globToRegex(pattern) {
13
+ const escaped = pattern.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*\*/g, "\xA7\xA7").replace(/\*/g, "[^/]*").replace(/§§/g, ".*");
14
+ return new RegExp(escaped);
15
+ }
16
+ function isExcluded(relativePath, excludeRegexes) {
17
+ for (const regex of excludeRegexes) {
18
+ if (regex.test(relativePath)) return true;
19
+ }
20
+ return false;
21
+ }
22
+ async function walkDir(rootDir, excludeRegexes, files) {
23
+ const queue = [rootDir];
24
+ while (queue.length > 0) {
25
+ const dir = queue.pop();
26
+ let entries;
27
+ try {
28
+ entries = await fs.readdir(dir, { withFileTypes: true });
29
+ } catch {
30
+ continue;
31
+ }
32
+ for (const entry of entries) {
33
+ const fullPath = path.join(dir, entry.name);
34
+ const relativePath = path.relative(rootDir, fullPath).replaceAll("\\", "/");
35
+ if (entry.isDirectory()) {
36
+ if (DEFAULT_SKIP_DIRS.has(entry.name)) continue;
37
+ if (isExcluded(relativePath + "/", excludeRegexes)) continue;
38
+ queue.push(fullPath);
39
+ } else if (entry.isFile()) {
40
+ const ext = path.extname(entry.name);
41
+ if (!SOURCE_EXTENSIONS.has(ext)) continue;
42
+ if (isExcluded(relativePath, excludeRegexes)) continue;
43
+ files.push(fullPath);
44
+ }
45
+ }
46
+ }
47
+ }
48
+ async function globFiles(rootDir, exclude) {
49
+ const patterns = exclude ?? [
50
+ "**/node_modules/**",
51
+ "**/dist/**",
52
+ "**/*.test.ts",
53
+ "**/fixtures/**"
54
+ ];
55
+ const excludeRegexes = patterns.map(globToRegex);
56
+ const files = [];
57
+ await walkDir(rootDir, excludeRegexes, files);
58
+ return files;
59
+ }
60
+ export {
61
+ globFiles
62
+ };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearGraphStoreCache,
3
3
  loadGraphStore
4
- } from "./chunk-DXGI7DL3.js";
4
+ } from "./chunk-KTWKW6KJ.js";
5
5
  import "./chunk-KFQGP6VL.js";
6
6
  export {
7
7
  clearGraphStoreCache,