@plumpslabs/kuma 2.3.28 → 2.3.30
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/index.js +835 -406
- package/package.json +1 -1
- package/packages/ide/studio/dist/index.js +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumpslabs/kuma",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.30",
|
|
4
4
|
"description": "Safety-first context & orchestration engine for AI coding agents. MCP server with mandatory research pipeline, knowledge graph, impact analysis, decision memory, and safety guard — works with any MCP client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -209,13 +209,20 @@ app.get("/", (c) => {
|
|
|
209
209
|
});
|
|
210
210
|
serve({ fetch: app.fetch, port: PORT }, (info) => {
|
|
211
211
|
const dbPath = findKumaDb();
|
|
212
|
-
const projectName = dbPath ? dbPath.replace(
|
|
212
|
+
const projectName = dbPath ? dbPath.replace(/[\/\\]\.kuma[\/\\]kuma\.db$/, "").split(/[\/\\]/).pop() : "unknown";
|
|
213
213
|
console.error(`\u2662 Kuma Studio`);
|
|
214
214
|
console.error(` Project: ${projectName}`);
|
|
215
215
|
console.error(` DB: ${dbPath || "not found"}`);
|
|
216
216
|
console.error(` Server: http://localhost:${PORT}`);
|
|
217
217
|
console.error(``);
|
|
218
218
|
const url = `http://localhost:${PORT}`;
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
try {
|
|
220
|
+
if (process.platform === "win32") {
|
|
221
|
+
spawn("cmd", ["/c", "start", url.replace(/&/g, "^&")], { stdio: "ignore", detached: true, shell: false });
|
|
222
|
+
} else {
|
|
223
|
+
const cmd = process.platform === "darwin" ? "open" : "xdg-open";
|
|
224
|
+
spawn(cmd, [url], { stdio: "ignore", detached: true });
|
|
225
|
+
}
|
|
226
|
+
} catch {
|
|
227
|
+
}
|
|
221
228
|
});
|