@mrciphersmith/keryx 0.2.78 → 0.2.79
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/cli.js +14 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -58097,6 +58097,18 @@ async function serveMcp(options) {
|
|
|
58097
58097
|
await startStdioTransport(server);
|
|
58098
58098
|
}
|
|
58099
58099
|
|
|
58100
|
+
// src/commands/mcp-serve-root.ts
|
|
58101
|
+
function resolveServeRoot(explicitCwd, processCwd, env) {
|
|
58102
|
+
if (explicitCwd !== undefined && explicitCwd.trim().length > 0) {
|
|
58103
|
+
return explicitCwd;
|
|
58104
|
+
}
|
|
58105
|
+
const fromRuntime = env.CLAUDE_PROJECT_DIR;
|
|
58106
|
+
if (fromRuntime !== undefined && fromRuntime.trim().length > 0) {
|
|
58107
|
+
return fromRuntime;
|
|
58108
|
+
}
|
|
58109
|
+
return processCwd;
|
|
58110
|
+
}
|
|
58111
|
+
|
|
58100
58112
|
// src/commands/mcp.ts
|
|
58101
58113
|
async function mcpCommand(args = [], cwd = process.cwd()) {
|
|
58102
58114
|
const subcommand = args[0];
|
|
@@ -58114,7 +58126,7 @@ async function mcpCommand(args = [], cwd = process.cwd()) {
|
|
|
58114
58126
|
}
|
|
58115
58127
|
if (!subcommand || subcommand === "serve") {
|
|
58116
58128
|
const http = args.includes("--http");
|
|
58117
|
-
const projectRoot = path154.resolve(optionValue(args, "--cwd")
|
|
58129
|
+
const projectRoot = path154.resolve(resolveServeRoot(optionValue(args, "--cwd"), cwd, process.env));
|
|
58118
58130
|
try {
|
|
58119
58131
|
await serveMcp({ cwd: projectRoot, http });
|
|
58120
58132
|
} catch (error) {
|
|
@@ -66089,7 +66101,7 @@ import { spawnSync as spawnSync2 } from "child_process";
|
|
|
66089
66101
|
// package.json
|
|
66090
66102
|
var package_default = {
|
|
66091
66103
|
name: "@mrciphersmith/keryx",
|
|
66092
|
-
version: "0.2.
|
|
66104
|
+
version: "0.2.79",
|
|
66093
66105
|
description: "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
66094
66106
|
private: false,
|
|
66095
66107
|
publishConfig: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.79",
|
|
4
4
|
"description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|