@a-company/paradigm 3.12.0 → 3.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 (96) hide show
  1. package/dist/{accept-orchestration-YKMKMWGA.js → accept-orchestration-ORQRKKGR.js} +4 -4
  2. package/dist/{agents-suggest-35LIQKDH.js → agents-suggest-65SER5IS.js} +1 -1
  3. package/dist/{aggregate-V4KPR3RW.js → aggregate-M5WMUI6B.js} +1 -1
  4. package/dist/{auto-6MOGYQ4G.js → auto-B22FVSQI.js} +1 -1
  5. package/dist/{beacon-XRXL5KZB.js → beacon-XL2ALH5O.js} +1 -1
  6. package/dist/{check-UZY647TB.js → check-5RKOAN7S.js} +1 -1
  7. package/dist/{chunk-RDPXBMHK.js → chunk-3BAMPB6I.js} +6 -6
  8. package/dist/{chunk-5TUAVVIG.js → chunk-6GWRQWQB.js} +1 -1
  9. package/dist/{chunk-F6EJKLF4.js → chunk-O5ZO5LSW.js} +1 -1
  10. package/dist/{chunk-UVI3OH3G.js → chunk-R2SGQ22F.js} +11 -58
  11. package/dist/{chunk-4PEQHWD7.js → chunk-XKAFTZOZ.js} +1 -1
  12. package/dist/{chunk-5N5LR2KS.js → chunk-XNUWLW73.js} +6 -6
  13. package/dist/{chunk-JQYGPVLQ.js → chunk-YOFP72IB.js} +1 -1
  14. package/dist/{chunk-CQFNTBFJ.js → chunk-Z42FOOVT.js} +3 -3
  15. package/dist/{chunk-CYGHL7PQ.js → chunk-ZMN3RAIT.js} +5 -5
  16. package/dist/{chunk-4ZO3ZOPM.js → chunk-ZRPEI35Q.js} +14 -59
  17. package/dist/chunk-ZXMDA7VB.js +16 -0
  18. package/dist/{claude-SUYNN72C.js → claude-63ISJAZK.js} +1 -1
  19. package/dist/{claude-cli-OF43XAO3.js → claude-cli-ABML5RHX.js} +1 -1
  20. package/dist/{claude-code-PW6SKD2M.js → claude-code-JRLMRPTO.js} +1 -1
  21. package/dist/{claude-code-teams-JLZ5IXB6.js → claude-code-teams-CAJBEFIZ.js} +1 -1
  22. package/dist/commands-VTFOZPUA.js +5387 -0
  23. package/dist/{constellation-GNK5DIMH.js → constellation-NXU6Q2HM.js} +1 -1
  24. package/dist/{cost-AGO5N7DD.js → cost-CTGSLSOC.js} +1 -1
  25. package/dist/{cost-KYXIQ62X.js → cost-XEBADYFT.js} +1 -1
  26. package/dist/{cursor-cli-IHJMPRCW.js → cursor-cli-QUOOF2N4.js} +1 -1
  27. package/dist/{cursorrules-LQFA7M62.js → cursorrules-XBWFX66V.js} +1 -1
  28. package/dist/{delete-3YXAJ5AA.js → delete-OINCSDQH.js} +2 -2
  29. package/dist/{diff-4FV7T35U.js → diff-4XJZN4OB.js} +4 -4
  30. package/dist/{dist-ZEMSQV74.js → dist-3RVKEJRT.js} +1 -1
  31. package/dist/{dist-Q6SAZI7X.js → dist-7U64HDSC.js} +1 -1
  32. package/dist/{dist-AG5JNIZU-XSEZ2LLK.js → dist-AG5JNIZU-HW2FWNTZ.js} +1 -1
  33. package/dist/dist-KY5HGDDL.js +1304 -0
  34. package/dist/{dist-JOHRYQUA.js → dist-PSF5CP4I.js} +1 -1
  35. package/dist/{dist-6SX5ZKKF.js → dist-RMAIFRTW.js} +3 -3
  36. package/dist/{dist-YB7T54QE.js → dist-YHDSIZQD.js} +1 -1
  37. package/dist/{doctor-2KM5HOK6.js → doctor-FINKMI66.js} +2 -2
  38. package/dist/{drift-FH2UY64B.js → drift-YGT4LJ7Q.js} +1 -1
  39. package/dist/{echo-VYZW3OTT.js → echo-A6HD5UP7.js} +1 -1
  40. package/dist/{edit-EOMPXOG5.js → edit-7FSQNAPE.js} +2 -2
  41. package/dist/{export-R4FJ5NOH.js → export-T7CMMJIB.js} +1 -1
  42. package/dist/{flow-MCKPJGRJ.js → flow-UFMPVOEM.js} +1 -1
  43. package/dist/{global-AXILUM5X.js → global-HHUJSBG5.js} +1 -1
  44. package/dist/{habits-NC2TRMRV.js → habits-KD4RLIN2.js} +3 -3
  45. package/dist/{history-EVO3L6SC.js → history-CETCSUCP.js} +1 -1
  46. package/dist/{hooks-JXYHVGIN.js → hooks-TCUHQMPF.js} +1 -1
  47. package/dist/index.js +138 -137
  48. package/dist/{lint-N4LMMEXH.js → lint-53GPXKKI.js} +1 -1
  49. package/dist/{list-JKBJ7ESH.js → list-Q4R7L7WJ.js} +2 -2
  50. package/dist/{lore-server-RQH5REZV.js → lore-server-GKZ6ESNJ.js} +1 -1
  51. package/dist/{manual-Y3QOXWYA.js → manual-AFJ2J2V3.js} +1 -1
  52. package/dist/mcp.js +4 -4
  53. package/dist/{orchestrate-IV54FMHD.js → orchestrate-6XGEA655.js} +4 -4
  54. package/dist/{portal-check-2HI4FFD6.js → portal-check-FF5EKZE5.js} +1 -1
  55. package/dist/{portal-compliance-KQCTAQTJ.js → portal-compliance-VU4NIFEN.js} +1 -1
  56. package/dist/{probe-X3J2JX62.js → probe-T77FFIAG.js} +1 -1
  57. package/dist/{promote-HZH5E5CO.js → promote-XO63XMAN.js} +2 -2
  58. package/dist/{providers-IONB4YRJ.js → providers-VIBWDN5D.js} +2 -2
  59. package/dist/{record-EECZ3E4I.js → record-YJ3D3462.js} +2 -2
  60. package/dist/{reindex-ZM6J53UP.js → reindex-4OOME3TT.js} +1 -1
  61. package/dist/{remember-3KJZGDUG.js → remember-IEBQHXHZ.js} +1 -1
  62. package/dist/{review-BF26ILZB.js → review-3OW3KVW7.js} +2 -2
  63. package/dist/{ripple-JIUAMBLA.js → ripple-DFMXLFWI.js} +1 -1
  64. package/dist/{sentinel-BGCISNIK.js → sentinel-RERNMWSE.js} +2 -2
  65. package/dist/sentinel-mcp.js +4181 -0
  66. package/dist/sentinel.js +35 -0
  67. package/dist/{serve-H7ZBMODT.js → serve-XLKEMQEH.js} +2 -2
  68. package/dist/server-CAXNYVV7.js +1616 -0
  69. package/dist/{server-E2CNZC4K.js → server-V3ANAXDP.js} +1 -1
  70. package/dist/{setup-UKJ3VGHI.js → setup-HOI52TN3.js} +2 -2
  71. package/dist/{setup-363IB6MO.js → setup-YNZJQLW7.js} +1 -1
  72. package/dist/{shift-G2ZCIR5Q.js → shift-SW3GSODO.js} +7 -7
  73. package/dist/{show-SAMTXEHG.js → show-CJGHREFS.js} +2 -2
  74. package/dist/{snapshot-KCMONZAO.js → snapshot-XHINQBZS.js} +1 -1
  75. package/dist/{spawn-7SDONTJN.js → spawn-JSV2HST3.js} +3 -3
  76. package/dist/{summary-F46FRO3Y.js → summary-NV7SBV5O.js} +1 -1
  77. package/dist/{switch-CC2KACXO.js → switch-WYUMVNA5.js} +1 -1
  78. package/dist/{sync-4CNRHUWX.js → sync-ZM4Q3R4U.js} +1 -1
  79. package/dist/{sync-llms-MCWB37HN.js → sync-llms-JIPP3XX4.js} +1 -1
  80. package/dist/{team-XUZBPIFZ.js → team-YIYA4ZLX.js} +5 -5
  81. package/dist/{test-DK2RWLTK.js → test-WTR5Q33E.js} +1 -1
  82. package/dist/{thread-RNSLADXN.js → thread-3WM7KKID.js} +1 -1
  83. package/dist/{timeline-TJDVVVA3.js → timeline-ELO5JTQO.js} +2 -2
  84. package/dist/{triage-MKKIWBSW.js → triage-GJ6GK647.js} +3 -3
  85. package/dist/{tutorial-L5Q3ZDHK.js → tutorial-GC6QL4US.js} +1 -1
  86. package/dist/{university-65YJZ2LW.js → university-KVYNACJZ.js} +2 -2
  87. package/dist/{upgrade-HGF4MBGV.js → upgrade-65QOQXRC.js} +1 -1
  88. package/dist/{validate-F3YHBCRZ.js → validate-ITC5D6QG.js} +1 -1
  89. package/dist/{validate-2LTHHORX.js → validate-TKKRGJKC.js} +1 -1
  90. package/dist/{watch-CL2PPS2K.js → watch-ERBEJUJW.js} +1 -1
  91. package/dist/{watch-NBPOMOEX.js → watch-X64UK7K4.js} +2 -2
  92. package/dist/{wisdom-LRM4FFCH.js → wisdom-L2WC7J62.js} +1 -1
  93. package/dist/{workspace-7CWY4IWV.js → workspace-S5Q5LVA6.js} +1 -1
  94. package/package.json +7 -2
  95. package/dist/chunk-MO4EEYFW.js +0 -38
  96. package/dist/server-3K3TTJH3.js +0 -10539
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  BackgroundOrchestrator
4
- } from "./chunk-CQFNTBFJ.js";
4
+ } from "./chunk-Z42FOOVT.js";
5
5
  import "./chunk-6QC3YGB6.js";
6
- import "./chunk-JQYGPVLQ.js";
7
- import "./chunk-5N5LR2KS.js";
6
+ import "./chunk-YOFP72IB.js";
7
+ import "./chunk-XNUWLW73.js";
8
8
  import "./chunk-PMXRGPRQ.js";
9
9
  import "./chunk-PBHIFAL4.js";
10
10
  import "./chunk-6P4IFIK2.js";
@@ -12,7 +12,7 @@ import "./chunk-MRENOFTR.js";
12
12
  import "./chunk-IRKUEJVW.js";
13
13
  import "./chunk-MW5DMGBB.js";
14
14
  import "./chunk-5JGJACDU.js";
15
- import "./chunk-MO4EEYFW.js";
15
+ import "./chunk-ZXMDA7VB.js";
16
16
 
17
17
  // src/commands/team/accept-orchestration.ts
18
18
  import * as path from "path";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  loadAgentsManifest
7
7
  } from "./chunk-PMXRGPRQ.js";
8
- import "./chunk-MO4EEYFW.js";
8
+ import "./chunk-ZXMDA7VB.js";
9
9
 
10
10
  // src/commands/team/agents-suggest.ts
11
11
  import chalk from "chalk";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-6P4IFIK2.js";
9
9
  import "./chunk-MRENOFTR.js";
10
10
  import "./chunk-IRKUEJVW.js";
11
- import "./chunk-MO4EEYFW.js";
11
+ import "./chunk-ZXMDA7VB.js";
12
12
 
13
13
  // src/commands/premise/aggregate.ts
14
14
  import * as fs from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getDisciplineScanPatterns
4
4
  } from "./chunk-CHSHON3O.js";
5
- import "./chunk-MO4EEYFW.js";
5
+ import "./chunk-ZXMDA7VB.js";
6
6
 
7
7
  // src/commands/scan/auto.ts
8
8
  import * as fs from "fs";
@@ -10,7 +10,7 @@ import "./chunk-IRKUEJVW.js";
10
10
  import {
11
11
  log
12
12
  } from "./chunk-4NCFWYGG.js";
13
- import "./chunk-MO4EEYFW.js";
13
+ import "./chunk-ZXMDA7VB.js";
14
14
 
15
15
  // src/commands/beacon.ts
16
16
  import * as fs from "fs";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import "./chunk-MO4EEYFW.js";
2
+ import "./chunk-ZXMDA7VB.js";
3
3
 
4
4
  // src/commands/plugin/check.ts
5
5
  import * as fs from "fs";
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- SentinelStorage,
4
- v4_default
5
- } from "./chunk-UVI3OH3G.js";
3
+ SentinelStorage
4
+ } from "./chunk-R2SGQ22F.js";
6
5
 
7
6
  // ../sentinel/dist/chunk-VQ3SIN7S.js
7
+ import { v4 as uuidv4 } from "uuid";
8
8
  var DEFAULTS = {
9
9
  url: "http://localhost:3838",
10
10
  batchSize: 50,
@@ -43,7 +43,7 @@ var SentinelClient = class {
43
43
  this.retryBackoffMs = options.retryBackoffMs ?? DEFAULTS.retryBackoffMs;
44
44
  this.onDrop = options.onDrop;
45
45
  this.onError = options.onError;
46
- this.sessionId = v4_default();
46
+ this.sessionId = uuidv4();
47
47
  const intervalMs = options.flushIntervalMs ?? DEFAULTS.flushIntervalMs;
48
48
  this.flushTimer = setInterval(() => {
49
49
  this.flush().catch((err) => {
@@ -130,8 +130,8 @@ var SentinelClient = class {
130
130
  // ── Tracing ──────────────────────────────────────────────────────
131
131
  /** Start a trace span. Call end() on the returned SpanContext when the operation completes. */
132
132
  startSpan(symbol, operation, parentSpanId) {
133
- const traceId = parentSpanId ? parentSpanId.split("-")[0] || v4_default() : v4_default();
134
- const spanId = v4_default();
133
+ const traceId = parentSpanId ? parentSpanId.split("-")[0] || uuidv4() : uuidv4();
134
+ const spanId = uuidv4();
135
135
  const startTime = (/* @__PURE__ */ new Date()).toISOString();
136
136
  const startMs = Date.now();
137
137
  const self = this;
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  __require
4
- } from "./chunk-MO4EEYFW.js";
4
+ } from "./chunk-ZXMDA7VB.js";
5
5
 
6
6
  // src/core/lore/storage.ts
7
7
  import * as fs from "fs";
@@ -4470,7 +4470,7 @@ function assertStep(step, event) {
4470
4470
  async function validateAgainstSentinel(persona, options = {}) {
4471
4471
  const steps = [];
4472
4472
  try {
4473
- const { SentinelStorage } = await import("./dist-YB7T54QE.js");
4473
+ const { SentinelStorage } = await import("./dist-YHDSIZQD.js");
4474
4474
  const storage = new SentinelStorage();
4475
4475
  const events = storage.queryEvents?.({
4476
4476
  schemaId: "paradigm-personas",
@@ -1,54 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // ../sentinel/node_modules/uuid/dist/esm-node/native.js
4
- import crypto from "crypto";
5
- var native_default = {
6
- randomUUID: crypto.randomUUID
7
- };
8
-
9
- // ../sentinel/node_modules/uuid/dist/esm-node/rng.js
10
- import crypto2 from "crypto";
11
- var rnds8Pool = new Uint8Array(256);
12
- var poolPtr = rnds8Pool.length;
13
- function rng() {
14
- if (poolPtr > rnds8Pool.length - 16) {
15
- crypto2.randomFillSync(rnds8Pool);
16
- poolPtr = 0;
17
- }
18
- return rnds8Pool.slice(poolPtr, poolPtr += 16);
19
- }
20
-
21
- // ../sentinel/node_modules/uuid/dist/esm-node/stringify.js
22
- var byteToHex = [];
23
- for (let i = 0; i < 256; ++i) {
24
- byteToHex.push((i + 256).toString(16).slice(1));
25
- }
26
- function unsafeStringify(arr, offset = 0) {
27
- return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
28
- }
29
-
30
- // ../sentinel/node_modules/uuid/dist/esm-node/v4.js
31
- function v4(options, buf, offset) {
32
- if (native_default.randomUUID && !buf && !options) {
33
- return native_default.randomUUID();
34
- }
35
- options = options || {};
36
- const rnds = options.random || (options.rng || rng)();
37
- rnds[6] = rnds[6] & 15 | 64;
38
- rnds[8] = rnds[8] & 63 | 128;
39
- if (buf) {
40
- offset = offset || 0;
41
- for (let i = 0; i < 16; ++i) {
42
- buf[offset + i] = rnds[i];
43
- }
44
- return buf;
45
- }
46
- return unsafeStringify(rnds);
47
- }
48
- var v4_default = v4;
49
-
50
3
  // ../sentinel/dist/chunk-NTX74ZPM.js
51
4
  import initSqlJs from "sql.js";
5
+ import { v4 as uuidv4 } from "uuid";
52
6
  import * as path from "path";
53
7
  import * as fs from "fs";
54
8
  import * as fs2 from "fs";
@@ -649,7 +603,7 @@ var SentinelStorage = class {
649
603
  const incident = this.getIncident(incidentId);
650
604
  if (!incident) return;
651
605
  const newNote = {
652
- id: v4_default(),
606
+ id: uuidv4(),
653
607
  ...note
654
608
  };
655
609
  const notes = [...incident.notes, newNote];
@@ -848,7 +802,7 @@ var SentinelStorage = class {
848
802
  // ─── Groups ──────────────────────────────────────────────────────
849
803
  createGroup(input) {
850
804
  this.initializeSync();
851
- const id = `GRP-${v4_default().substring(0, 8)}`;
805
+ const id = `GRP-${uuidv4().substring(0, 8)}`;
852
806
  const now = (/* @__PURE__ */ new Date()).toISOString();
853
807
  this.db.run(
854
808
  `INSERT INTO groups (
@@ -911,7 +865,7 @@ var SentinelStorage = class {
911
865
  // ─── Resolutions ─────────────────────────────────────────────────
912
866
  recordResolution(resolution) {
913
867
  this.initializeSync();
914
- const id = v4_default();
868
+ const id = uuidv4();
915
869
  const now = (/* @__PURE__ */ new Date()).toISOString();
916
870
  this.db.run(
917
871
  `INSERT INTO resolutions (id, incident_id, pattern_id, commit_hash, pr_url, notes, resolved_at)
@@ -1332,7 +1286,7 @@ var SentinelStorage = class {
1332
1286
  // ─── Practice Events ─────────────────────────────────────────────
1333
1287
  recordPracticeEvent(input) {
1334
1288
  this.initializeSync();
1335
- const id = `PE-${v4_default().substring(0, 8)}`;
1289
+ const id = `PE-${uuidv4().substring(0, 8)}`;
1336
1290
  const now = (/* @__PURE__ */ new Date()).toISOString();
1337
1291
  this.db.run(
1338
1292
  `INSERT INTO practice_events (
@@ -1517,7 +1471,7 @@ var SentinelStorage = class {
1517
1471
  }
1518
1472
  insertLog(input) {
1519
1473
  this.initializeSync();
1520
- const id = input.id || v4_default();
1474
+ const id = input.id || uuidv4();
1521
1475
  const timestamp = input.timestamp || (/* @__PURE__ */ new Date()).toISOString();
1522
1476
  const symbolType = input.symbolType || this.inferSymbolType(input.symbol);
1523
1477
  this.db.run(
@@ -1549,7 +1503,7 @@ var SentinelStorage = class {
1549
1503
  const errors = [];
1550
1504
  for (const input of entries) {
1551
1505
  try {
1552
- const id = input.id || v4_default();
1506
+ const id = input.id || uuidv4();
1553
1507
  const timestamp = input.timestamp || (/* @__PURE__ */ new Date()).toISOString();
1554
1508
  const symbolType = input.symbolType || this.inferSymbolType(input.symbol);
1555
1509
  this.db.run(
@@ -1810,7 +1764,7 @@ var SentinelStorage = class {
1810
1764
  // ─── Metrics ───────────────────────────────────────────────────
1811
1765
  insertMetric(input) {
1812
1766
  this.initializeSync();
1813
- const id = v4_default();
1767
+ const id = uuidv4();
1814
1768
  const timestamp = input.timestamp || (/* @__PURE__ */ new Date()).toISOString();
1815
1769
  this.db.run(
1816
1770
  `INSERT INTO metrics (
@@ -1836,7 +1790,7 @@ var SentinelStorage = class {
1836
1790
  const errors = [];
1837
1791
  for (const input of entries) {
1838
1792
  try {
1839
- const id = v4_default();
1793
+ const id = uuidv4();
1840
1794
  const timestamp = input.timestamp || (/* @__PURE__ */ new Date()).toISOString();
1841
1795
  this.db.run(
1842
1796
  `INSERT INTO metrics (
@@ -2015,7 +1969,7 @@ var SentinelStorage = class {
2015
1969
  // ─── Traces ───────────────────────────────────────────────────
2016
1970
  insertSpan(input) {
2017
1971
  this.initializeSync();
2018
- const spanId = input.spanId || v4_default();
1972
+ const spanId = input.spanId || uuidv4();
2019
1973
  const startTime = input.startTime || (/* @__PURE__ */ new Date()).toISOString();
2020
1974
  this.db.run(
2021
1975
  `INSERT INTO traces (
@@ -2218,7 +2172,7 @@ var SentinelStorage = class {
2218
2172
  const errors = [];
2219
2173
  for (const input of inputs) {
2220
2174
  try {
2221
- const id = input.id || v4_default();
2175
+ const id = input.id || uuidv4();
2222
2176
  const timestamp = input.timestamp || (/* @__PURE__ */ new Date()).toISOString();
2223
2177
  const resolved = typeMap.get(input.type);
2224
2178
  const category = resolved?.category || "unknown";
@@ -2658,7 +2612,6 @@ function loadServerConfig(projectDir) {
2658
2612
  }
2659
2613
 
2660
2614
  export {
2661
- v4_default,
2662
2615
  SentinelStorage,
2663
2616
  DEFAULT_AUTH_CONFIG,
2664
2617
  DEFAULT_RATE_LIMIT_CONFIG,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  BackgroundOrchestrator
4
- } from "./chunk-CQFNTBFJ.js";
4
+ } from "./chunk-Z42FOOVT.js";
5
5
  import {
6
6
  AGENT_MODEL_RECOMMENDATIONS,
7
7
  addActivity,
@@ -136,32 +136,32 @@ async function initializeProviders(rootDir) {
136
136
  if (initialized) return;
137
137
  const dir = rootDir || process.cwd();
138
138
  try {
139
- const { ClaudeAgentProvider } = await import("./claude-SUYNN72C.js");
139
+ const { ClaudeAgentProvider } = await import("./claude-63ISJAZK.js");
140
140
  registerProvider(new ClaudeAgentProvider());
141
141
  } catch {
142
142
  }
143
143
  try {
144
- const { ClaudeCodeTeamsProvider } = await import("./claude-code-teams-JLZ5IXB6.js");
144
+ const { ClaudeCodeTeamsProvider } = await import("./claude-code-teams-CAJBEFIZ.js");
145
145
  registerProvider(new ClaudeCodeTeamsProvider(dir));
146
146
  } catch {
147
147
  }
148
148
  try {
149
- const { ClaudeCodeTaskProvider } = await import("./claude-code-PW6SKD2M.js");
149
+ const { ClaudeCodeTaskProvider } = await import("./claude-code-JRLMRPTO.js");
150
150
  registerProvider(new ClaudeCodeTaskProvider(dir));
151
151
  } catch {
152
152
  }
153
153
  try {
154
- const { CursorCliProvider } = await import("./cursor-cli-IHJMPRCW.js");
154
+ const { CursorCliProvider } = await import("./cursor-cli-QUOOF2N4.js");
155
155
  registerProvider(new CursorCliProvider());
156
156
  } catch {
157
157
  }
158
158
  try {
159
- const { ClaudeCliProvider } = await import("./claude-cli-OF43XAO3.js");
159
+ const { ClaudeCliProvider } = await import("./claude-cli-ABML5RHX.js");
160
160
  registerProvider(new ClaudeCliProvider());
161
161
  } catch {
162
162
  }
163
163
  try {
164
- const { ManualProvider } = await import("./manual-Y3QOXWYA.js");
164
+ const { ManualProvider } = await import("./manual-AFJ2J2V3.js");
165
165
  registerProvider(new ManualProvider(dir));
166
166
  } catch {
167
167
  }
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getProvider,
4
4
  initializeProviders
5
- } from "./chunk-5N5LR2KS.js";
5
+ } from "./chunk-XNUWLW73.js";
6
6
  import {
7
7
  loadAgentsManifest
8
8
  } from "./chunk-PMXRGPRQ.js";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  AgentSpawner,
7
7
  extractSymbols
8
- } from "./chunk-JQYGPVLQ.js";
8
+ } from "./chunk-YOFP72IB.js";
9
9
  import {
10
10
  loadAgentsManifest
11
11
  } from "./chunk-PMXRGPRQ.js";
@@ -566,7 +566,7 @@ var Orchestrator = class {
566
566
  let preflightResult;
567
567
  if (options.pmGovernance?.enabled) {
568
568
  try {
569
- const { aggregateFromDirectory } = await import("./dist-Q6SAZI7X.js");
569
+ const { aggregateFromDirectory } = await import("./dist-7U64HDSC.js");
570
570
  const aggregation = await aggregateFromDirectory(this.rootDir);
571
571
  const index = buildSymbolIndex(aggregation);
572
572
  preflightResult = runPreflight(task, this.rootDir, index);
@@ -593,7 +593,7 @@ var Orchestrator = class {
593
593
  }
594
594
  if (options.pmGovernance?.enabled && preflightResult) {
595
595
  try {
596
- const { aggregateFromDirectory } = await import("./dist-Q6SAZI7X.js");
596
+ const { aggregateFromDirectory } = await import("./dist-7U64HDSC.js");
597
597
  const aggregation = await aggregateFromDirectory(this.rootDir);
598
598
  const index = buildSymbolIndex(aggregation);
599
599
  const filesModified = [];
@@ -221,7 +221,7 @@ async function doctorCommand(options = {}) {
221
221
  if (fs.existsSync(configPath)) {
222
222
  try {
223
223
  const configContent = fs.readFileSync(configPath, "utf8");
224
- const { parse } = await import("./dist-JOHRYQUA.js");
224
+ const { parse } = await import("./dist-PSF5CP4I.js");
225
225
  const config = parse(configContent);
226
226
  const purposeRequired = config?.["purpose-required"];
227
227
  if (purposeRequired && Array.isArray(purposeRequired)) {
@@ -307,7 +307,7 @@ async function doctorCommand(options = {}) {
307
307
  if (fs.existsSync(portalPath)) {
308
308
  try {
309
309
  const portalContent = fs.readFileSync(portalPath, "utf8");
310
- const { parse } = await import("./dist-JOHRYQUA.js");
310
+ const { parse } = await import("./dist-PSF5CP4I.js");
311
311
  const portal = parse(portalContent);
312
312
  if (portal?.version && portal?.gates) {
313
313
  const gateCount = Object.keys(portal.gates || {}).length;
@@ -336,7 +336,7 @@ async function doctorCommand(options = {}) {
336
336
  }
337
337
  if (fs.existsSync(portalPath)) {
338
338
  try {
339
- const { checkPortalCompliance, getComplianceSummary } = await import("./portal-compliance-KQCTAQTJ.js");
339
+ const { checkPortalCompliance, getComplianceSummary } = await import("./portal-compliance-VU4NIFEN.js");
340
340
  const complianceReport = await checkPortalCompliance(cwd);
341
341
  const summary = getComplianceSummary(complianceReport);
342
342
  results.push({
@@ -352,7 +352,7 @@ async function doctorCommand(options = {}) {
352
352
  if (fs.existsSync(flowsPath)) {
353
353
  try {
354
354
  const flowsContent = fs.readFileSync(flowsPath, "utf8");
355
- const { parse } = await import("./dist-JOHRYQUA.js");
355
+ const { parse } = await import("./dist-PSF5CP4I.js");
356
356
  const flows = parse(flowsContent);
357
357
  if (flows?.version && flows?.flows) {
358
358
  const flowCount = Object.keys(flows.flows || {}).length;
@@ -454,7 +454,7 @@ async function doctorCommand(options = {}) {
454
454
  if (fs.existsSync(habitsPath)) {
455
455
  try {
456
456
  const habitsContent = fs.readFileSync(habitsPath, "utf8");
457
- const { parse } = await import("./dist-JOHRYQUA.js");
457
+ const { parse } = await import("./dist-PSF5CP4I.js");
458
458
  const habits = parse(habitsContent);
459
459
  if (habits?.version && Array.isArray(habits?.habits)) {
460
460
  const enabled = habits.habits.filter((h) => h.enabled !== false).length;
@@ -1,53 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // ../paradigm-mcp/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/rng.js
4
- import crypto from "crypto";
5
- var rnds8Pool = new Uint8Array(256);
6
- var poolPtr = rnds8Pool.length;
7
- function rng() {
8
- if (poolPtr > rnds8Pool.length - 16) {
9
- crypto.randomFillSync(rnds8Pool);
10
- poolPtr = 0;
11
- }
12
- return rnds8Pool.slice(poolPtr, poolPtr += 16);
13
- }
14
-
15
- // ../paradigm-mcp/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/stringify.js
16
- var byteToHex = [];
17
- for (let i = 0; i < 256; ++i) {
18
- byteToHex.push((i + 256).toString(16).slice(1));
19
- }
20
- function unsafeStringify(arr, offset = 0) {
21
- return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
22
- }
23
-
24
- // ../paradigm-mcp/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/native.js
25
- import crypto2 from "crypto";
26
- var native_default = {
27
- randomUUID: crypto2.randomUUID
28
- };
29
-
30
- // ../paradigm-mcp/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/v4.js
31
- function v4(options, buf, offset) {
32
- if (native_default.randomUUID && !buf && !options) {
33
- return native_default.randomUUID();
34
- }
35
- options = options || {};
36
- const rnds = options.random || (options.rng || rng)();
37
- rnds[6] = rnds[6] & 15 | 64;
38
- rnds[8] = rnds[8] & 63 | 128;
39
- if (buf) {
40
- offset = offset || 0;
41
- for (let i = 0; i < 16; ++i) {
42
- buf[offset + i] = rnds[i];
43
- }
44
- return buf;
45
- }
46
- return unsafeStringify(rnds);
47
- }
48
- var v4_default = v4;
49
-
50
3
  // ../paradigm-mcp/node_modules/.pnpm/@a-company+sentinel@3.5.0/node_modules/@a-company/sentinel/dist/chunk-VQ3SIN7S.js
4
+ import { v4 as uuidv4 } from "uuid";
51
5
  var DEFAULTS = {
52
6
  url: "http://localhost:3838",
53
7
  batchSize: 50,
@@ -86,7 +40,7 @@ var SentinelClient = class {
86
40
  this.retryBackoffMs = options.retryBackoffMs ?? DEFAULTS.retryBackoffMs;
87
41
  this.onDrop = options.onDrop;
88
42
  this.onError = options.onError;
89
- this.sessionId = v4_default();
43
+ this.sessionId = uuidv4();
90
44
  const intervalMs = options.flushIntervalMs ?? DEFAULTS.flushIntervalMs;
91
45
  this.flushTimer = setInterval(() => {
92
46
  this.flush().catch((err) => {
@@ -173,8 +127,8 @@ var SentinelClient = class {
173
127
  // ── Tracing ──────────────────────────────────────────────────────
174
128
  /** Start a trace span. Call end() on the returned SpanContext when the operation completes. */
175
129
  startSpan(symbol, operation, parentSpanId) {
176
- const traceId = parentSpanId ? parentSpanId.split("-")[0] || v4_default() : v4_default();
177
- const spanId = v4_default();
130
+ const traceId = parentSpanId ? parentSpanId.split("-")[0] || uuidv4() : uuidv4();
131
+ const spanId = uuidv4();
178
132
  const startTime = (/* @__PURE__ */ new Date()).toISOString();
179
133
  const startMs = Date.now();
180
134
  const self = this;
@@ -461,6 +415,7 @@ function enableSentinel(logger, clientOrOptions) {
461
415
 
462
416
  // ../paradigm-mcp/node_modules/.pnpm/@a-company+sentinel@3.5.0/node_modules/@a-company/sentinel/dist/chunk-FOF7CPJ6.js
463
417
  import initSqlJs from "sql.js";
418
+ import { v4 as uuidv42 } from "uuid";
464
419
  import * as path from "path";
465
420
  import * as fs from "fs";
466
421
  import * as fs2 from "fs";
@@ -1013,7 +968,7 @@ var SentinelStorage = class {
1013
968
  const incident = this.getIncident(incidentId);
1014
969
  if (!incident) return;
1015
970
  const newNote = {
1016
- id: v4_default(),
971
+ id: uuidv42(),
1017
972
  ...note
1018
973
  };
1019
974
  const notes = [...incident.notes, newNote];
@@ -1212,7 +1167,7 @@ var SentinelStorage = class {
1212
1167
  // ─── Groups ──────────────────────────────────────────────────────
1213
1168
  createGroup(input) {
1214
1169
  this.initializeSync();
1215
- const id = `GRP-${v4_default().substring(0, 8)}`;
1170
+ const id = `GRP-${uuidv42().substring(0, 8)}`;
1216
1171
  const now = (/* @__PURE__ */ new Date()).toISOString();
1217
1172
  this.db.run(
1218
1173
  `INSERT INTO groups (
@@ -1275,7 +1230,7 @@ var SentinelStorage = class {
1275
1230
  // ─── Resolutions ─────────────────────────────────────────────────
1276
1231
  recordResolution(resolution) {
1277
1232
  this.initializeSync();
1278
- const id = v4_default();
1233
+ const id = uuidv42();
1279
1234
  const now = (/* @__PURE__ */ new Date()).toISOString();
1280
1235
  this.db.run(
1281
1236
  `INSERT INTO resolutions (id, incident_id, pattern_id, commit_hash, pr_url, notes, resolved_at)
@@ -1696,7 +1651,7 @@ var SentinelStorage = class {
1696
1651
  // ─── Practice Events ─────────────────────────────────────────────
1697
1652
  recordPracticeEvent(input) {
1698
1653
  this.initializeSync();
1699
- const id = `PE-${v4_default().substring(0, 8)}`;
1654
+ const id = `PE-${uuidv42().substring(0, 8)}`;
1700
1655
  const now = (/* @__PURE__ */ new Date()).toISOString();
1701
1656
  this.db.run(
1702
1657
  `INSERT INTO practice_events (
@@ -1881,7 +1836,7 @@ var SentinelStorage = class {
1881
1836
  }
1882
1837
  insertLog(input) {
1883
1838
  this.initializeSync();
1884
- const id = input.id || v4_default();
1839
+ const id = input.id || uuidv42();
1885
1840
  const timestamp = input.timestamp || (/* @__PURE__ */ new Date()).toISOString();
1886
1841
  const symbolType = input.symbolType || this.inferSymbolType(input.symbol);
1887
1842
  this.db.run(
@@ -1913,7 +1868,7 @@ var SentinelStorage = class {
1913
1868
  const errors = [];
1914
1869
  for (const input of entries) {
1915
1870
  try {
1916
- const id = input.id || v4_default();
1871
+ const id = input.id || uuidv42();
1917
1872
  const timestamp = input.timestamp || (/* @__PURE__ */ new Date()).toISOString();
1918
1873
  const symbolType = input.symbolType || this.inferSymbolType(input.symbol);
1919
1874
  this.db.run(
@@ -2174,7 +2129,7 @@ var SentinelStorage = class {
2174
2129
  // ─── Metrics ───────────────────────────────────────────────────
2175
2130
  insertMetric(input) {
2176
2131
  this.initializeSync();
2177
- const id = v4_default();
2132
+ const id = uuidv42();
2178
2133
  const timestamp = input.timestamp || (/* @__PURE__ */ new Date()).toISOString();
2179
2134
  this.db.run(
2180
2135
  `INSERT INTO metrics (
@@ -2200,7 +2155,7 @@ var SentinelStorage = class {
2200
2155
  const errors = [];
2201
2156
  for (const input of entries) {
2202
2157
  try {
2203
- const id = v4_default();
2158
+ const id = uuidv42();
2204
2159
  const timestamp = input.timestamp || (/* @__PURE__ */ new Date()).toISOString();
2205
2160
  this.db.run(
2206
2161
  `INSERT INTO metrics (
@@ -2379,7 +2334,7 @@ var SentinelStorage = class {
2379
2334
  // ─── Traces ───────────────────────────────────────────────────
2380
2335
  insertSpan(input) {
2381
2336
  this.initializeSync();
2382
- const spanId = input.spanId || v4_default();
2337
+ const spanId = input.spanId || uuidv42();
2383
2338
  const startTime = input.startTime || (/* @__PURE__ */ new Date()).toISOString();
2384
2339
  this.db.run(
2385
2340
  `INSERT INTO traces (
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
4
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
5
+ }) : x)(function(x) {
6
+ if (typeof require !== "undefined") return require.apply(this, arguments);
7
+ throw Error('Dynamic require of "' + x + '" is not supported');
8
+ });
9
+ var __commonJS = (cb, mod) => function __require2() {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ };
12
+
13
+ export {
14
+ __require,
15
+ __commonJS
16
+ };
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  MODEL_PRICING
4
4
  } from "./chunk-5JGJACDU.js";
5
- import "./chunk-MO4EEYFW.js";
5
+ import "./chunk-ZXMDA7VB.js";
6
6
 
7
7
  // src/core/providers/claude.ts
8
8
  var MODEL_IDS = {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  MODEL_PRICING
4
4
  } from "./chunk-5JGJACDU.js";
5
- import "./chunk-MO4EEYFW.js";
5
+ import "./chunk-ZXMDA7VB.js";
6
6
 
7
7
  // src/core/providers/claude-cli.ts
8
8
  import * as fs from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  MODEL_PRICING
4
4
  } from "./chunk-5JGJACDU.js";
5
- import "./chunk-MO4EEYFW.js";
5
+ import "./chunk-ZXMDA7VB.js";
6
6
 
7
7
  // src/core/providers/claude-code.ts
8
8
  import * as fs from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  MODEL_PRICING
4
4
  } from "./chunk-5JGJACDU.js";
5
- import "./chunk-MO4EEYFW.js";
5
+ import "./chunk-ZXMDA7VB.js";
6
6
 
7
7
  // src/core/providers/claude-code-teams.ts
8
8
  import * as fs from "fs";