crukx-mcp 0.1.13 → 0.1.14
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/bin/cli.js +21 -3
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -59,7 +59,7 @@ import { fileURLToPath } from "url";
|
|
|
59
59
|
import { join as join2, dirname as pathDirname } from "path";
|
|
60
60
|
var __dirname = pathDirname(fileURLToPath(import.meta.url));
|
|
61
61
|
var program = new Command();
|
|
62
|
-
program.name("crukx").description("Crukx CLI \u2014 reliability control plane for autonomous software engineering").version("0.1.
|
|
62
|
+
program.name("crukx").description("Crukx CLI \u2014 reliability control plane for autonomous software engineering").version("0.1.14");
|
|
63
63
|
program.command("login").description("Authenticate with Crukx via browser").option("--api-url <url>", "Crukx gateway URL", getConfig().CRUKX_API_URL).action(async (opts) => {
|
|
64
64
|
process.stderr.write("Opening browser to complete login\u2026\n");
|
|
65
65
|
let startData;
|
|
@@ -221,9 +221,22 @@ program.command("install").description("Auto-install Crukx into all detected MCP
|
|
|
221
221
|
// ── OpenAI Codex CLI ─────────────────────────────────────────────
|
|
222
222
|
{
|
|
223
223
|
name: "OpenAI Codex CLI",
|
|
224
|
-
configPath: join2(home, ".codex", "config.
|
|
224
|
+
configPath: join2(home, ".codex", "config.toml"),
|
|
225
225
|
detect: () => existsSync3(join2(home, ".codex")) || existsSync3(join2(home, ".config", "codex")),
|
|
226
|
-
inject:
|
|
226
|
+
inject: (raw) => {
|
|
227
|
+
const existing = raw ?? "";
|
|
228
|
+
if (existing.includes("[mcp_servers.crukx]")) return existing;
|
|
229
|
+
const section = [
|
|
230
|
+
"",
|
|
231
|
+
"[mcp_servers.crukx]",
|
|
232
|
+
`command = "crukx"`,
|
|
233
|
+
`args = ["mcp"]`,
|
|
234
|
+
`startup_timeout_sec = 30`,
|
|
235
|
+
`tool_timeout_sec = 120`,
|
|
236
|
+
`enabled = true`
|
|
237
|
+
].join("\n");
|
|
238
|
+
return existing + section + "\n";
|
|
239
|
+
}
|
|
227
240
|
},
|
|
228
241
|
// ── Windsurf (Codeium) ───────────────────────────────────────────
|
|
229
242
|
{
|
|
@@ -301,6 +314,11 @@ program.command("install").description("Auto-install Crukx into all detected MCP
|
|
|
301
314
|
continue;
|
|
302
315
|
}
|
|
303
316
|
} catch {
|
|
317
|
+
if (raw?.includes("[mcp_servers.crukx]") || raw?.includes('"crukx"')) {
|
|
318
|
+
process.stdout.write(` \u2705 ${client.name} \u2014 already configured
|
|
319
|
+
`);
|
|
320
|
+
continue;
|
|
321
|
+
}
|
|
304
322
|
}
|
|
305
323
|
const newContent = client.inject(raw);
|
|
306
324
|
if (opts.dryRun) {
|
package/dist/server.js
CHANGED
|
@@ -587,7 +587,7 @@ Run \`crukx login\` to re-authenticate.`
|
|
|
587
587
|
// src/server.ts
|
|
588
588
|
var server = new McpServer({
|
|
589
589
|
name: "crukx",
|
|
590
|
-
version: "0.1.
|
|
590
|
+
version: "0.1.14"
|
|
591
591
|
}, {
|
|
592
592
|
instructions: `You have access to Crukx \u2014 a 7-agent AI reliability engine for code quality, security, and correctness.
|
|
593
593
|
|