@a-company/paradigm 5.6.2 → 5.8.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/conductor-CQVGTEQN.js +161 -0
- package/dist/{docs-J2BTKRVU.js → docs-AIY6VNF7.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{platform-server-2D6S6YTK.js → platform-server-U5L2G3EU.js} +196 -15
- package/dist/{serve-EFVRS4GA.js → serve-QWWJP2EW.js} +1 -1
- package/dist/{shift-VFG23DLA.js → shift-2NYRFVEZ.js} +6 -2
- package/dist/university-ui/assets/{index-BLWmLEDq.js → index-BjewBB6s.js} +2 -2
- package/dist/university-ui/assets/{index-BLWmLEDq.js.map → index-BjewBB6s.js.map} +1 -1
- package/dist/university-ui/index.html +1 -1
- package/package.json +1 -1
- package/platform-ui/dist/assets/AmbientSection-10pbwWjo.css +1 -0
- package/platform-ui/dist/assets/AmbientSection-WtHfNedO.js +1 -0
- package/platform-ui/dist/assets/CanvasSection-DwPTRdIN.js +9 -0
- package/platform-ui/dist/assets/CanvasSection-flMXU19z.css +1 -0
- package/platform-ui/dist/assets/{DocsSection-ByAgPzWV.js → DocsSection-BJc_ws4I.js} +1 -1
- package/platform-ui/dist/assets/{GitSection-BLovj9yT.js → GitSection-DhqBo1xc.js} +1 -1
- package/platform-ui/dist/assets/{GraphSection-C5PCPUFl.js → GraphSection-D9fhVnZ0.js} +1 -1
- package/platform-ui/dist/assets/{LoreSection-BftejTla.js → LoreSection-CwDDHrz9.js} +1 -1
- package/platform-ui/dist/assets/{SentinelSection-CnYcasN7.js → SentinelSection-Cl7e5oZ6.js} +1 -1
- package/platform-ui/dist/assets/{SymphonySection-BpmqCHeK.js → SymphonySection-BRoBaUSS.js} +1 -1
- package/platform-ui/dist/assets/TeamSection-CqSIMrKz.js +1 -0
- package/platform-ui/dist/assets/TeamSection-udxWQTcX.css +1 -0
- package/platform-ui/dist/assets/{index-G9JnWEs_.js → index-F0KL9xrN.js} +11 -11
- package/platform-ui/dist/index.html +1 -1
- package/dist/conductor-PGPDVIVE.js +0 -88
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Paradigm Platform</title>
|
|
7
7
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>◉</text></svg>" />
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-F0KL9xrN.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-CfpZFjea.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
log
|
|
4
|
-
} from "./chunk-4NCFWYGG.js";
|
|
5
|
-
import "./chunk-PDX44BCA.js";
|
|
6
|
-
|
|
7
|
-
// src/commands/conductor.ts
|
|
8
|
-
import { execSync, spawn } from "child_process";
|
|
9
|
-
import * as fs from "fs";
|
|
10
|
-
import * as path from "path";
|
|
11
|
-
import { fileURLToPath } from "url";
|
|
12
|
-
import chalk from "chalk";
|
|
13
|
-
var __filename = fileURLToPath(import.meta.url);
|
|
14
|
-
var __dirname = path.dirname(__filename);
|
|
15
|
-
async function conductorCommand(options) {
|
|
16
|
-
const cmdLog = log.command("conductor");
|
|
17
|
-
const conductorDir = findConductorDir();
|
|
18
|
-
if (!conductorDir) {
|
|
19
|
-
cmdLog.error("Could not locate packages/conductor/");
|
|
20
|
-
console.log(chalk.gray(" Ensure the Paradigm monorepo is intact."));
|
|
21
|
-
process.exit(1);
|
|
22
|
-
}
|
|
23
|
-
const buildDir = path.join(conductorDir, ".build", "release");
|
|
24
|
-
const binaryPath = path.join(buildDir, "conductor");
|
|
25
|
-
const needsBuild = options.build || !fs.existsSync(binaryPath);
|
|
26
|
-
if (needsBuild) {
|
|
27
|
-
cmdLog.info("Building Conductor\u2026");
|
|
28
|
-
try {
|
|
29
|
-
const buildCmd = "swift build -c release";
|
|
30
|
-
execSync(buildCmd, {
|
|
31
|
-
cwd: conductorDir,
|
|
32
|
-
stdio: options.verbose ? "inherit" : "pipe"
|
|
33
|
-
});
|
|
34
|
-
cmdLog.success("Build complete");
|
|
35
|
-
} catch (error) {
|
|
36
|
-
cmdLog.error("Build failed");
|
|
37
|
-
const errMsg = error.message || "";
|
|
38
|
-
if (errMsg.includes("xcode-select")) {
|
|
39
|
-
console.log(chalk.gray(" Xcode Command Line Tools are required."));
|
|
40
|
-
console.log(chalk.gray(" Install with: xcode-select --install"));
|
|
41
|
-
} else {
|
|
42
|
-
console.log(chalk.gray(` ${errMsg.slice(0, 200)}`));
|
|
43
|
-
}
|
|
44
|
-
process.exit(1);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
cmdLog.info("Launching Conductor\u2026");
|
|
48
|
-
const child = spawn(binaryPath, [], {
|
|
49
|
-
detached: true,
|
|
50
|
-
stdio: "ignore"
|
|
51
|
-
});
|
|
52
|
-
child.unref();
|
|
53
|
-
console.log(chalk.cyan("\n Paradigm Conductor is running."));
|
|
54
|
-
console.log(chalk.gray(" Look for the waveform icon in your menu bar."));
|
|
55
|
-
console.log(chalk.gray(" Quit via the menu bar icon or Cmd+Q.\n"));
|
|
56
|
-
}
|
|
57
|
-
function findConductorDir() {
|
|
58
|
-
let dir = path.resolve(__dirname, "..");
|
|
59
|
-
for (let i = 0; i < 5; i++) {
|
|
60
|
-
const candidate = path.join(dir, "packages", "conductor");
|
|
61
|
-
if (fs.existsSync(path.join(candidate, "Package.swift"))) {
|
|
62
|
-
return candidate;
|
|
63
|
-
}
|
|
64
|
-
dir = path.dirname(dir);
|
|
65
|
-
}
|
|
66
|
-
const cwdCandidate = path.join(process.cwd(), "packages", "conductor");
|
|
67
|
-
if (fs.existsSync(path.join(cwdCandidate, "Package.swift"))) {
|
|
68
|
-
return cwdCandidate;
|
|
69
|
-
}
|
|
70
|
-
if (fs.existsSync(path.join(process.cwd(), "Package.swift"))) {
|
|
71
|
-
const basename2 = path.basename(process.cwd());
|
|
72
|
-
if (basename2 === "conductor") {
|
|
73
|
-
return process.cwd();
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
let cwdDir = process.cwd();
|
|
77
|
-
for (let i = 0; i < 5; i++) {
|
|
78
|
-
cwdDir = path.dirname(cwdDir);
|
|
79
|
-
const candidate = path.join(cwdDir, "packages", "conductor");
|
|
80
|
-
if (fs.existsSync(path.join(candidate, "Package.swift"))) {
|
|
81
|
-
return candidate;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return null;
|
|
85
|
-
}
|
|
86
|
-
export {
|
|
87
|
-
conductorCommand
|
|
88
|
-
};
|