@pharaoh-so/mcp 0.3.17 → 0.3.18
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/commands/plan.md +4 -0
- package/dist/helpers.js +2 -5
- package/dist/install-skills.js +3 -1
- package/package.json +1 -1
- package/skills/plan/SKILL.md +4 -0
package/commands/plan.md
CHANGED
|
@@ -8,6 +8,10 @@ Architecture-aware plan review before implementation. Adapted from [Garry Tan's
|
|
|
8
8
|
|
|
9
9
|
**You are now in plan mode. Do NOT make any code changes. Think, evaluate, and present decisions.**
|
|
10
10
|
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
Before any multi-step implementation or architectural change. When given a PRD, spec, or plan document to evaluate before writing code.
|
|
14
|
+
|
|
11
15
|
## Document Review
|
|
12
16
|
|
|
13
17
|
If the user provides a document, PRD, prompt, or artifact alongside this command, that IS the plan to review. Apply all review sections to that document. Do not treat it as background context — it is the subject of evaluation.
|
package/dist/helpers.js
CHANGED
|
@@ -4,7 +4,7 @@ const DEFAULT_SERVER = "https://mcp.pharaoh.so";
|
|
|
4
4
|
export const NPX_COMMAND = "npx @pharaoh-so/mcp";
|
|
5
5
|
/** Write one or more lines to stderr. */
|
|
6
6
|
export function printLines(...lines) {
|
|
7
|
-
process.stderr.write(lines.join("\n")
|
|
7
|
+
process.stderr.write(`${lines.join("\n")}\n`);
|
|
8
8
|
}
|
|
9
9
|
/** Parse CLI arguments. */
|
|
10
10
|
export function parseArgs(argv = process.argv.slice(2)) {
|
|
@@ -95,10 +95,7 @@ export function formatTtl(expiresAt) {
|
|
|
95
95
|
}
|
|
96
96
|
/** Format a credential identity string (e.g. "alice (my-org)"). */
|
|
97
97
|
export function formatIdentity(creds) {
|
|
98
|
-
return [
|
|
99
|
-
creds.github_login ?? "unknown",
|
|
100
|
-
creds.tenant_name ? `(${creds.tenant_name})` : null,
|
|
101
|
-
]
|
|
98
|
+
return [creds.github_login ?? "unknown", creds.tenant_name ? `(${creds.tenant_name})` : null]
|
|
102
99
|
.filter(Boolean)
|
|
103
100
|
.join(" ");
|
|
104
101
|
}
|
package/dist/install-skills.js
CHANGED
|
@@ -542,7 +542,9 @@ export function runInstallSkills(home = homedir(), options) {
|
|
|
542
542
|
` → ${regMessages[regResult]}`,
|
|
543
543
|
...(commandLine ? [commandLine] : []),
|
|
544
544
|
"",
|
|
545
|
-
...(regResult === "added"
|
|
545
|
+
...(regResult === "added"
|
|
546
|
+
? ["Restart Claude Code to pick up the new skills.", ""]
|
|
547
|
+
: []),
|
|
546
548
|
].join("\n"));
|
|
547
549
|
}
|
|
548
550
|
installed = true;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pharaoh-so/mcp",
|
|
3
3
|
"mcpName": "so.pharaoh/pharaoh",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.18",
|
|
5
5
|
"description": "MCP proxy for Pharaoh — maps codebases into queryable knowledge graphs for AI agents. Enables Claude Code in headless environments (VPS, SSH, CI) via device flow auth.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
package/skills/plan/SKILL.md
CHANGED
|
@@ -14,6 +14,10 @@ Architecture-aware plan review before implementation. Adapted from [Garry Tan's
|
|
|
14
14
|
|
|
15
15
|
**You are now in plan mode. Do NOT make any code changes. Think, evaluate, and present decisions.**
|
|
16
16
|
|
|
17
|
+
## When to Use
|
|
18
|
+
|
|
19
|
+
Before any multi-step implementation or architectural change. When given a PRD, spec, or plan document to evaluate before writing code.
|
|
20
|
+
|
|
17
21
|
## Document Review
|
|
18
22
|
|
|
19
23
|
If the user provides a document, PRD, prompt, or artifact alongside this command, that IS the plan to review. Apply all review sections to that document. Do not treat it as background context — it is the subject of evaluation.
|