@a-company/paradigm 3.43.0 → 3.46.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/{chunk-YW5OCVKB.js → chunk-FKJUBQU3.js} +14 -1
- package/dist/chunk-KVDYJLTC.js +121 -0
- package/dist/{symphony-ROEKK7VD.js → chunk-S2HO5MLR.js} +53 -431
- package/dist/{chunk-RGFANZ4Q.js → chunk-ZDHLG5VP.js} +14 -1
- package/dist/{chunk-CZEIK3Y2.js → chunk-ZMQA6SCO.js} +1 -1
- package/dist/{chunk-7WEKMZ46.js → chunk-ZSYVKSY6.js} +1 -1
- package/dist/{commands-LEPFD7S5.js → commands-5N4ILTPH.js} +13 -0
- package/dist/{dist-RVKYUCRU.js → dist-CM3MVWWW.js} +1 -1
- package/dist/{dist-Y7I3CFY5.js → dist-POMVY6WP.js} +2 -2
- package/dist/{habits-O37HTUKE.js → habits-RG5SVKXP.js} +2 -2
- package/dist/index.js +69 -48
- package/dist/mcp.js +89 -9
- package/dist/peers-RFQCWVLV.js +82 -0
- package/dist/{platform-server-KK4OCRTV.js → platform-server-H7Y6Q7O4.js} +10 -1
- package/dist/{reindex-NZQRGKPN.js → reindex-WIJMCJ4A.js} +1 -1
- package/dist/{sentinel-BKYTBT7M.js → sentinel-UOIGJWHH.js} +1 -1
- package/dist/{sentinel-bridge-IZTXYS5M.js → sentinel-bridge-APDXYAZS.js} +1 -1
- package/dist/sentinel-mcp.js +13 -0
- package/dist/sentinel.js +6 -6
- package/dist/{serve-3V2WXLGM.js → serve-KKEHE44G.js} +1 -1
- package/dist/{server-OFEJ2HJP.js → server-JV6UFGWZ.js} +1 -1
- package/dist/symphony-6K3HD7AW.js +791 -0
- package/dist/symphony-YCHBYN3E.js +326 -0
- package/dist/symphony-peers-APOGJPF4.js +120 -0
- package/dist/symphony-peers-HSY3RI3S.js +34 -0
- package/dist/symphony-relay-GTAJRCVF.js +683 -0
- package/dist/{triage-POXJ2TIX.js → triage-IZ4MDYNB.js} +2 -2
- package/dist/university-content/courses/para-501.json +84 -0
- package/package.json +1 -1
- package/platform-ui/dist/assets/{GitSection-DvyJBF_-.js → GitSection-BD3Ze06e.js} +1 -1
- package/platform-ui/dist/assets/{GraphSection-BiQrXqfs.js → GraphSection-SglITfSs.js} +1 -1
- package/platform-ui/dist/assets/{LoreSection-BaH1FaRb.js → LoreSection-bR5Km4Fd.js} +1 -1
- package/platform-ui/dist/assets/{SentinelSection-DemAznjI.js → SentinelSection-QSpAZArG.js} +1 -1
- package/platform-ui/dist/assets/SymphonySection-CobYJgvg.js +1 -0
- package/platform-ui/dist/assets/SymphonySection-zY0C5tFl.css +1 -0
- package/platform-ui/dist/assets/{index-DDKhCt-w.js → index-DbxeSMkV.js} +11 -11
- package/platform-ui/dist/index.html +1 -1
|
@@ -845,7 +845,7 @@ async function startPlatformServer(options) {
|
|
|
845
845
|
app.use("/api/platform/agent-command", createAgentRouter(wsContext));
|
|
846
846
|
if (sections.has("sentinel")) {
|
|
847
847
|
try {
|
|
848
|
-
const { createSentinelBridge } = await import("./sentinel-bridge-
|
|
848
|
+
const { createSentinelBridge } = await import("./sentinel-bridge-APDXYAZS.js");
|
|
849
849
|
const sentinelRouter = await createSentinelBridge(options.projectDir, wsContext.broadcast);
|
|
850
850
|
if (sentinelRouter) {
|
|
851
851
|
app.use("/api/sentinel", sentinelRouter);
|
|
@@ -855,6 +855,15 @@ async function startPlatformServer(options) {
|
|
|
855
855
|
log.component("platform-server").warn("Sentinel not available");
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
|
+
if (sections.has("symphony")) {
|
|
859
|
+
try {
|
|
860
|
+
const { createSymphonyRouter } = await import("./symphony-YCHBYN3E.js");
|
|
861
|
+
app.use("/api/symphony", createSymphonyRouter(options.projectDir, wsContext.broadcast));
|
|
862
|
+
log.component("platform-server").success("Symphony routes mounted");
|
|
863
|
+
} catch (err) {
|
|
864
|
+
log.component("platform-server").warn("Symphony routes failed to mount");
|
|
865
|
+
}
|
|
866
|
+
}
|
|
858
867
|
return new Promise((resolve, reject) => {
|
|
859
868
|
httpServer.listen(options.port, () => {
|
|
860
869
|
log.component("platform-server").success("Platform running", { url: `http://localhost:${options.port}` });
|
|
@@ -9,7 +9,7 @@ async function sentinelCommand(path, options) {
|
|
|
9
9
|
const shouldOpen = options.open !== false;
|
|
10
10
|
console.log(chalk.cyan("\nStarting Sentinel...\n"));
|
|
11
11
|
try {
|
|
12
|
-
const { startServer } = await import("./server-
|
|
12
|
+
const { startServer } = await import("./server-JV6UFGWZ.js");
|
|
13
13
|
console.log(chalk.gray(`Project: ${projectDir}`));
|
|
14
14
|
console.log(chalk.gray(`Port: ${port}`));
|
|
15
15
|
console.log();
|
|
@@ -37,7 +37,7 @@ async function createSentinelBridge(projectDir, broadcast) {
|
|
|
37
37
|
broadcast({ type: "sentinel:event", event });
|
|
38
38
|
};
|
|
39
39
|
var onLogReceived = onLogReceived2, onEventReceived = onEventReceived2;
|
|
40
|
-
const sentinel = await import("./server-
|
|
40
|
+
const sentinel = await import("./server-JV6UFGWZ.js");
|
|
41
41
|
const {
|
|
42
42
|
SentinelStorage,
|
|
43
43
|
loadServerConfig,
|
package/dist/sentinel-mcp.js
CHANGED
|
@@ -604,6 +604,19 @@ var SentinelStorage = class {
|
|
|
604
604
|
);
|
|
605
605
|
this.save();
|
|
606
606
|
}
|
|
607
|
+
resolveIncident(id, options) {
|
|
608
|
+
this.updateIncident(id, {
|
|
609
|
+
status: "resolved",
|
|
610
|
+
resolvedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
611
|
+
});
|
|
612
|
+
if (options?.notes) {
|
|
613
|
+
this.addIncidentNote(id, {
|
|
614
|
+
author: "system",
|
|
615
|
+
content: options.notes,
|
|
616
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
}
|
|
607
620
|
addIncidentNote(incidentId, note) {
|
|
608
621
|
this.initializeSync();
|
|
609
622
|
const incident = this.getIncident(incidentId);
|
package/dist/sentinel.js
CHANGED
|
@@ -8,28 +8,28 @@ var { version: VERSION } = require2("../package.json");
|
|
|
8
8
|
var program = new Command();
|
|
9
9
|
program.name("sentinel").description("Semantic error monitoring \u2014 errors that speak your language").version(VERSION);
|
|
10
10
|
program.command("defend", { isDefault: true }).description("Launch the Sentinel dashboard").option("-p, --port <port>", "Port number", "3838").option("--no-open", "Don't open browser").action(async (opts) => {
|
|
11
|
-
const { launchDashboard } = await import("./commands-
|
|
11
|
+
const { launchDashboard } = await import("./commands-5N4ILTPH.js");
|
|
12
12
|
await launchDashboard(opts);
|
|
13
13
|
});
|
|
14
14
|
program.command("init").description("Initialize Sentinel in current project").option("--detect", "Auto-detect symbols from codebase").action(async (opts) => {
|
|
15
|
-
const { initProject } = await import("./commands-
|
|
15
|
+
const { initProject } = await import("./commands-5N4ILTPH.js");
|
|
16
16
|
await initProject(opts);
|
|
17
17
|
});
|
|
18
18
|
var triage = program.command("triage").description("Incident triage");
|
|
19
19
|
triage.command("list").description("List incidents").option("-s, --status <status>", "Filter by status (open, investigating, resolved, wont-fix)").option("-e, --env <env>", "Filter by environment").option("--symbol <symbol>", "Filter by symbol").option("-n, --limit <n>", "Max results", "10").action(async (opts) => {
|
|
20
|
-
const { triageList } = await import("./commands-
|
|
20
|
+
const { triageList } = await import("./commands-5N4ILTPH.js");
|
|
21
21
|
await triageList(opts);
|
|
22
22
|
});
|
|
23
23
|
triage.command("show <id>").description("Show incident details").option("--timeline", "Include flow timeline").action(async (id, opts) => {
|
|
24
|
-
const { triageShow } = await import("./commands-
|
|
24
|
+
const { triageShow } = await import("./commands-5N4ILTPH.js");
|
|
25
25
|
await triageShow(id, opts);
|
|
26
26
|
});
|
|
27
27
|
triage.command("resolve <id>").description("Resolve an incident").option("--pattern <id>", "Pattern that resolved it").option("--commit <hash>", "Fix commit").option("--notes <text>", "Resolution notes").action(async (id, opts) => {
|
|
28
|
-
const { triageResolve } = await import("./commands-
|
|
28
|
+
const { triageResolve } = await import("./commands-5N4ILTPH.js");
|
|
29
29
|
await triageResolve(id, opts);
|
|
30
30
|
});
|
|
31
31
|
triage.command("stats").description("Show incident statistics").option("-p, --period <period>", "Period (7d, 30d, 90d)", "7d").action(async (opts) => {
|
|
32
|
-
const { triageStats } = await import("./commands-
|
|
32
|
+
const { triageStats } = await import("./commands-5N4ILTPH.js");
|
|
33
33
|
await triageStats(opts);
|
|
34
34
|
});
|
|
35
35
|
program.parse();
|
|
@@ -10,7 +10,7 @@ async function serveCommand(options) {
|
|
|
10
10
|
const sections = options.sections ? options.sections.split(",").map((s) => s.trim()) : void 0;
|
|
11
11
|
console.log(chalk.cyan("\n Starting Paradigm Platform...\n"));
|
|
12
12
|
try {
|
|
13
|
-
const { startPlatformServer } = await import("./platform-server-
|
|
13
|
+
const { startPlatformServer } = await import("./platform-server-H7Y6Q7O4.js");
|
|
14
14
|
await startPlatformServer({ port, projectDir, open: shouldOpen, sections });
|
|
15
15
|
console.log(chalk.green(` Platform running at ${chalk.bold(`http://localhost:${port}`)}`));
|
|
16
16
|
console.log(chalk.gray(" Press Ctrl+C to stop\n"));
|