@pharaoh-so/mcp 0.3.11 → 0.3.13
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/inspect-tools.json +11 -2
- package/package.json +1 -1
package/inspect-tools.json
CHANGED
|
@@ -167,6 +167,7 @@
|
|
|
167
167
|
},
|
|
168
168
|
"query": {
|
|
169
169
|
"type": "string",
|
|
170
|
+
"maxLength": 500,
|
|
170
171
|
"description": "Function name or partial match (e.g., \"notify\", \"fetch\", \"transform\")"
|
|
171
172
|
},
|
|
172
173
|
"module": {
|
|
@@ -755,7 +756,11 @@
|
|
|
755
756
|
"type": "boolean"
|
|
756
757
|
},
|
|
757
758
|
"force": {
|
|
758
|
-
"description": "
|
|
759
|
+
"description": "Bulk refresh only (refresh_all): skip the 'already on current version' check. Does NOT force full remap — use `full: true` for that. Ignored with refresh_repo.",
|
|
760
|
+
"type": "boolean"
|
|
761
|
+
},
|
|
762
|
+
"full": {
|
|
763
|
+
"description": "Force full remap, bypassing incremental-diff detection. Use after schema changes or to rebuild the graph from scratch. Combine with refresh_repo or refresh_all.",
|
|
759
764
|
"type": "boolean"
|
|
760
765
|
}
|
|
761
766
|
}
|
|
@@ -841,7 +846,7 @@
|
|
|
841
846
|
},
|
|
842
847
|
{
|
|
843
848
|
"name": "request_upload",
|
|
844
|
-
"description": "
|
|
849
|
+
"description": "Evaluation mode: maps a repo locally, uploads only function names and dependency edges. Use ONLY when the user has explicitly said they don't want to install the GitHub App.\n\nThe GitHub App is how Pharaoh is meant to be used. 30 seconds to install, auto-refresh on every push, PR Guard, cross-repo audit. Evaluation mode gives up all of that. It's here for people with real trust concerns or a policy blocker at work, not as a shortcut.\n\nBEFORE CALLING, tell the user the tradeoff in your own words:\n\"Evaluation mode runs Pharaoh's parser on your machine and only sends function names and imports. Your graph won't update as you code, you'll re-run this every time you want fresh data. Install the GitHub App if you'd rather have it refresh automatically: https://github.com/apps/pharaoh-so/installations/new\"\n\nThen wait for confirmation. Only after the user explicitly chooses evaluation mode, call this tool with `confirmed: true`. Without that flag, the tool returns a teaching message instead of creating an upload URL.\n\nDO NOT USE when:\n- The user said \"analyze this repo\" or \"map my codebase\". They want the real thing. Point them at the install link.\n- get_codebase_map returned zero repos. The user needs to install the App. Don't route around the install step.\n- You're working around a \"repo not tracked\" error. Diagnose the missing install, don't bypass it.\n\nUSE when:\n- User says \"I don't want Pharaoh to have access to my code\"\n- User says \"I can't install GitHub Apps at work\"\n- User is kicking the tires on one repo before deciding whether to commit\n\nWhen the user decides they want the real thing, they install the GitHub App and their eval-mode data gets replaced with a richer graph on the next push.",
|
|
845
850
|
"inputSchema": {
|
|
846
851
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
847
852
|
"type": "object",
|
|
@@ -855,6 +860,10 @@
|
|
|
855
860
|
"path": {
|
|
856
861
|
"description": "Absolute path to the local repo directory. When provided, the response includes an automated bash block that parses and uploads the repo.",
|
|
857
862
|
"type": "string"
|
|
863
|
+
},
|
|
864
|
+
"confirmed": {
|
|
865
|
+
"description": "Must be set to true after the user has explicitly chosen evaluation mode over installing the GitHub App. Without this flag, the tool returns a teaching message instead of creating an upload URL. This is the audit trail for explicit opt-in.",
|
|
866
|
+
"type": "boolean"
|
|
858
867
|
}
|
|
859
868
|
},
|
|
860
869
|
"required": [
|
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.13",
|
|
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",
|