@a-company/paradigm 3.13.0 → 3.14.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/{commands-VTFOZPUA.js → commands-6ZVTD74M.js} +10 -2
- package/dist/index.js +1 -1
- package/dist/{sentinel-RERNMWSE.js → sentinel-FUR3QKCJ.js} +1 -1
- package/dist/sentinel-ui/assets/index-BuK-X6af.js +62 -0
- package/dist/sentinel-ui/assets/index-BuK-X6af.js.map +1 -0
- package/dist/sentinel-ui/assets/index-DCtwmE2_.css +1 -0
- package/dist/sentinel-ui/index.html +17 -0
- package/dist/sentinel-ui/sentinel.svg +19 -0
- package/dist/sentinel.js +6 -6
- package/dist/{server-CAXNYVV7.js → server-2VICPDUR.js} +10 -2
- package/package.json +3 -2
|
@@ -4750,8 +4750,16 @@ function createApp(options) {
|
|
|
4750
4750
|
app.get("/api/health", (_req, res) => {
|
|
4751
4751
|
res.json({ status: "ok", timestamp: (/* @__PURE__ */ new Date()).toISOString() });
|
|
4752
4752
|
});
|
|
4753
|
-
const
|
|
4754
|
-
|
|
4753
|
+
const uiCandidates = [
|
|
4754
|
+
path6.join(__dirname2, "sentinel-ui"),
|
|
4755
|
+
// bundled: paradigm/dist/sentinel-ui/ (copied during build)
|
|
4756
|
+
path6.join(__dirname2, "..", "..", "ui", "dist"),
|
|
4757
|
+
// standalone: sentinel/dist/server/ → sentinel/ui/dist
|
|
4758
|
+
path6.join(__dirname2, "..", "ui", "dist")
|
|
4759
|
+
// standalone flat: sentinel/dist/ → sentinel/ui/dist
|
|
4760
|
+
];
|
|
4761
|
+
const uiDistPath = uiCandidates.find((p) => fs5.existsSync(p));
|
|
4762
|
+
if (uiDistPath) {
|
|
4755
4763
|
app.use(express.static(uiDistPath));
|
|
4756
4764
|
app.get("{*path}", (req, res) => {
|
|
4757
4765
|
if (!req.path.startsWith("/api")) {
|
package/dist/index.js
CHANGED
|
@@ -695,7 +695,7 @@ habitsCmd.action(async () => {
|
|
|
695
695
|
});
|
|
696
696
|
var sentinelCmd = program.command("sentinel").description("Sentinel \u2014 semantic error monitoring");
|
|
697
697
|
sentinelCmd.command("defend [path]", { isDefault: true }).description("Launch the Sentinel UI - unified codebase intelligence visualizer").option("-p, --port <port>", "Port to run on", "3838").option("--no-open", "Don't open browser automatically").action(async (path2, options) => {
|
|
698
|
-
const { sentinelCommand } = await import("./sentinel-
|
|
698
|
+
const { sentinelCommand } = await import("./sentinel-FUR3QKCJ.js");
|
|
699
699
|
await sentinelCommand(path2, options);
|
|
700
700
|
});
|
|
701
701
|
program.command("university").description("Launch Paradigm University - interactive learning platform & PLSAT certification").option("-p, --port <port>", "Port to run on", "3839").option("--no-open", "Don't open browser automatically").action(async (options) => {
|
|
@@ -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-2VICPDUR.js");
|
|
13
13
|
console.log(chalk.gray(`Project: ${projectDir}`));
|
|
14
14
|
console.log(chalk.gray(`Port: ${port}`));
|
|
15
15
|
console.log();
|