@a-company/paradigm 3.11.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.
- package/dist/{accept-orchestration-Z35I5AYN.js → accept-orchestration-ORQRKKGR.js} +4 -4
- package/dist/{agents-suggest-35LIQKDH.js → agents-suggest-65SER5IS.js} +1 -1
- package/dist/{aggregate-V4KPR3RW.js → aggregate-M5WMUI6B.js} +1 -1
- package/dist/{auto-6MOGYQ4G.js → auto-B22FVSQI.js} +1 -1
- package/dist/{beacon-XRXL5KZB.js → beacon-XL2ALH5O.js} +1 -1
- package/dist/{check-UZY647TB.js → check-5RKOAN7S.js} +1 -1
- package/dist/{chunk-RDPXBMHK.js → chunk-3BAMPB6I.js} +6 -6
- package/dist/{chunk-5TUAVVIG.js → chunk-6GWRQWQB.js} +1 -1
- package/dist/{workspace-VBTW7OYL.js → chunk-C3BK3E23.js} +3 -6
- package/dist/{chunk-BC6XKMUA.js → chunk-K34C7NAN.js} +4 -4
- package/dist/{chunk-2QNZ6PVD.js → chunk-KB4XJWE3.js} +63 -1
- package/dist/{chunk-F6EJKLF4.js → chunk-O5ZO5LSW.js} +1 -1
- package/dist/{chunk-UVI3OH3G.js → chunk-R2SGQ22F.js} +11 -58
- package/dist/{chunk-QHJGB5TV.js → chunk-RP6TZYGE.js} +1 -1
- package/dist/{chunk-3TWXFFZ3.js → chunk-XKAFTZOZ.js} +1 -1
- package/dist/{chunk-5N5LR2KS.js → chunk-XNUWLW73.js} +6 -6
- package/dist/{chunk-CP6IZGUN.js → chunk-YOFP72IB.js} +4 -4
- package/dist/{chunk-24AAVLME.js → chunk-Z42FOOVT.js} +3 -3
- package/dist/{chunk-OSYMVGWX.js → chunk-ZMN3RAIT.js} +9 -9
- package/dist/{chunk-4ZO3ZOPM.js → chunk-ZRPEI35Q.js} +14 -59
- package/dist/chunk-ZXMDA7VB.js +16 -0
- package/dist/{claude-SUYNN72C.js → claude-63ISJAZK.js} +1 -1
- package/dist/{claude-cli-OF43XAO3.js → claude-cli-ABML5RHX.js} +1 -1
- package/dist/{claude-code-PW6SKD2M.js → claude-code-JRLMRPTO.js} +1 -1
- package/dist/{claude-code-teams-JLZ5IXB6.js → claude-code-teams-CAJBEFIZ.js} +1 -1
- package/dist/commands-VTFOZPUA.js +5387 -0
- package/dist/{constellation-GNK5DIMH.js → constellation-NXU6Q2HM.js} +1 -1
- package/dist/{cost-AGO5N7DD.js → cost-CTGSLSOC.js} +1 -1
- package/dist/{cost-KYXIQ62X.js → cost-XEBADYFT.js} +1 -1
- package/dist/{cursor-cli-IHJMPRCW.js → cursor-cli-QUOOF2N4.js} +1 -1
- package/dist/{cursorrules-LQFA7M62.js → cursorrules-XBWFX66V.js} +1 -1
- package/dist/{delete-3YXAJ5AA.js → delete-OINCSDQH.js} +2 -2
- package/dist/{diff-PZAYCIAE.js → diff-4XJZN4OB.js} +4 -4
- package/dist/{dist-ZEMSQV74.js → dist-3RVKEJRT.js} +1 -1
- package/dist/{dist-Q6SAZI7X.js → dist-7U64HDSC.js} +1 -1
- package/dist/{dist-AG5JNIZU-XSEZ2LLK.js → dist-AG5JNIZU-HW2FWNTZ.js} +1 -1
- package/dist/dist-KY5HGDDL.js +1304 -0
- package/dist/{dist-JOHRYQUA.js → dist-PSF5CP4I.js} +1 -1
- package/dist/{dist-6SX5ZKKF.js → dist-RMAIFRTW.js} +3 -3
- package/dist/{dist-YB7T54QE.js → dist-YHDSIZQD.js} +1 -1
- package/dist/{doctor-3YQ55536.js → doctor-FINKMI66.js} +4 -4
- package/dist/{drift-FH2UY64B.js → drift-YGT4LJ7Q.js} +1 -1
- package/dist/{echo-VYZW3OTT.js → echo-A6HD5UP7.js} +1 -1
- package/dist/{edit-EOMPXOG5.js → edit-7FSQNAPE.js} +2 -2
- package/dist/{export-R4FJ5NOH.js → export-T7CMMJIB.js} +1 -1
- package/dist/{flow-MCKPJGRJ.js → flow-UFMPVOEM.js} +1 -1
- package/dist/{global-AXILUM5X.js → global-HHUJSBG5.js} +1 -1
- package/dist/{habits-NC2TRMRV.js → habits-KD4RLIN2.js} +3 -3
- package/dist/{history-EVO3L6SC.js → history-CETCSUCP.js} +1 -1
- package/dist/{hooks-JXYHVGIN.js → hooks-TCUHQMPF.js} +1 -1
- package/dist/index.js +143 -142
- package/dist/{lint-N4LMMEXH.js → lint-53GPXKKI.js} +1 -1
- package/dist/{list-JKBJ7ESH.js → list-Q4R7L7WJ.js} +2 -2
- package/dist/{lore-server-RQH5REZV.js → lore-server-GKZ6ESNJ.js} +1 -1
- package/dist/{manual-Y3QOXWYA.js → manual-AFJ2J2V3.js} +1 -1
- package/dist/mcp.js +4 -4
- package/dist/{orchestrate-BGRFBGBH.js → orchestrate-6XGEA655.js} +4 -4
- package/dist/{portal-check-2HI4FFD6.js → portal-check-FF5EKZE5.js} +1 -1
- package/dist/{portal-compliance-KQCTAQTJ.js → portal-compliance-VU4NIFEN.js} +1 -1
- package/dist/{probe-X3J2JX62.js → probe-T77FFIAG.js} +1 -1
- package/dist/{promote-HZH5E5CO.js → promote-XO63XMAN.js} +2 -2
- package/dist/{providers-IONB4YRJ.js → providers-VIBWDN5D.js} +2 -2
- package/dist/{record-EECZ3E4I.js → record-YJ3D3462.js} +2 -2
- package/dist/{reindex-ZM6J53UP.js → reindex-4OOME3TT.js} +1 -1
- package/dist/{remember-3KJZGDUG.js → remember-IEBQHXHZ.js} +1 -1
- package/dist/{review-BF26ILZB.js → review-3OW3KVW7.js} +2 -2
- package/dist/{ripple-JIUAMBLA.js → ripple-DFMXLFWI.js} +1 -1
- package/dist/{sentinel-BGCISNIK.js → sentinel-RERNMWSE.js} +2 -2
- package/dist/sentinel-mcp.js +4181 -0
- package/dist/sentinel.js +35 -0
- package/dist/{serve-H7ZBMODT.js → serve-XLKEMQEH.js} +2 -2
- package/dist/server-CAXNYVV7.js +1616 -0
- package/dist/{server-E2CNZC4K.js → server-V3ANAXDP.js} +1 -1
- package/dist/{setup-UKJ3VGHI.js → setup-HOI52TN3.js} +2 -2
- package/dist/{setup-363IB6MO.js → setup-YNZJQLW7.js} +1 -1
- package/dist/{shift-6I6N6RNK.js → shift-SW3GSODO.js} +129 -18
- package/dist/{show-SAMTXEHG.js → show-CJGHREFS.js} +2 -2
- package/dist/{snapshot-KCMONZAO.js → snapshot-XHINQBZS.js} +1 -1
- package/dist/{spawn-WGFJ5RQZ.js → spawn-JSV2HST3.js} +5 -5
- package/dist/{summary-E2PU4UN2.js → summary-NV7SBV5O.js} +2 -2
- package/dist/{switch-CC2KACXO.js → switch-WYUMVNA5.js} +1 -1
- package/dist/{sync-5VJPZQNX.js → sync-ZM4Q3R4U.js} +4 -4
- package/dist/{sync-llms-7QDA3ZWC.js → sync-llms-JIPP3XX4.js} +3 -3
- package/dist/{team-AFOKQ7YQ.js → team-YIYA4ZLX.js} +5 -5
- package/dist/{test-DK2RWLTK.js → test-WTR5Q33E.js} +1 -1
- package/dist/{thread-RNSLADXN.js → thread-3WM7KKID.js} +1 -1
- package/dist/{timeline-TJDVVVA3.js → timeline-ELO5JTQO.js} +2 -2
- package/dist/{triage-MKKIWBSW.js → triage-GJ6GK647.js} +3 -3
- package/dist/{tutorial-L5Q3ZDHK.js → tutorial-GC6QL4US.js} +1 -1
- package/dist/{university-65YJZ2LW.js → university-KVYNACJZ.js} +2 -2
- package/dist/{upgrade-RBSE4M6I.js → upgrade-65QOQXRC.js} +2 -2
- package/dist/{validate-F3YHBCRZ.js → validate-ITC5D6QG.js} +1 -1
- package/dist/{validate-2LTHHORX.js → validate-TKKRGJKC.js} +1 -1
- package/dist/{watch-PAEH6MOG.js → watch-ERBEJUJW.js} +2 -2
- package/dist/{watch-NBPOMOEX.js → watch-X64UK7K4.js} +2 -2
- package/dist/{wisdom-LRM4FFCH.js → wisdom-L2WC7J62.js} +1 -1
- package/dist/workspace-S5Q5LVA6.js +20 -0
- package/package.json +7 -2
- package/dist/chunk-MO4EEYFW.js +0 -38
- package/dist/server-3K3TTJH3.js +0 -10539
|
@@ -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 =
|
|
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] ||
|
|
177
|
-
const spanId =
|
|
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:
|
|
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-${
|
|
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 =
|
|
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-${
|
|
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 ||
|
|
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 ||
|
|
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 =
|
|
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 =
|
|
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 ||
|
|
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
|
+
};
|