@kage-core/kage-graph-mcp 2.3.2 → 2.3.3

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.
Files changed (2) hide show
  1. package/dist/index.js +23 -23
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -352,11 +352,11 @@ function listTools() {
352
352
  },
353
353
  {
354
354
  name: "kage_decisions",
355
- description: "Summarize Kage why-memory for a repo: decisions, gotchas, runbooks, conventions, code explanations, path coverage, weak/stale memory, and important code paths that still lack decision memory.",
355
+ description: "Summarize the repo's 'why' memory at a glance: the decisions, gotchas, runbooks, conventions, and code explanations Kage has captured, plus which high-traffic code paths still have no decision memory. Use it to brief yourself on a repo before changing it, or to audit where institutional knowledge is thin or going stale. Read-only: returns grouped entries with titles, types, cited file paths, and call-outs for weak, stale, or undocumented hot paths. Does not modify any memory.",
356
356
  inputSchema: {
357
357
  type: "object",
358
358
  properties: {
359
- project_dir: { type: "string" },
359
+ project_dir: { type: "string", description: "Absolute path to the repository root to summarize." },
360
360
  },
361
361
  required: ["project_dir"],
362
362
  },
@@ -612,14 +612,14 @@ function listTools() {
612
612
  },
613
613
  {
614
614
  name: "kage_supersede",
615
- description: "Mark one repo-local memory packet as superseded by a replacement packet and write bidirectional lineage edges.",
615
+ description: "Replace one repo-local memory packet with a newer one that corrects or obsoletes it. Marks the old packet superseded, links it to the replacement, and writes bidirectional lineage edges so the history stays traceable. Use this instead of deleting when new knowledge updates an old fact, or to resolve a contradiction surfaced by kage_conflicts. Mutates both packets on disk: the superseded packet is withheld from recall but kept for lineage.",
616
616
  inputSchema: {
617
617
  type: "object",
618
618
  properties: {
619
- project_dir: { type: "string" },
620
- packet_id: { type: "string" },
621
- replacement_packet_id: { type: "string" },
622
- reason: { type: "string" },
619
+ project_dir: { type: "string", description: "Absolute path to the repository root." },
620
+ packet_id: { type: "string", description: "Id of the existing packet to retire (the one being replaced)." },
621
+ replacement_packet_id: { type: "string", description: "Id of the newer packet that wins and stays active." },
622
+ reason: { type: "string", description: "Optional human note recorded on the lineage edge explaining why it was superseded." },
623
623
  },
624
624
  required: ["project_dir", "packet_id", "replacement_packet_id"],
625
625
  },
@@ -735,21 +735,21 @@ function listTools() {
735
735
  },
736
736
  {
737
737
  name: "kage_learn",
738
- description: "Capture an actual reusable learning from the current session as repo-local memory. Prefer this over diff proposal when the agent knows what was learned. Capture is rejected if every referenced path is missing from the repo; set allow_missing_paths to record anyway (e.g. a file you are about to create).",
738
+ description: "Capture a durable, reusable learning from the current session as a verified repo-local memory packet (committed under .agent_memory/, shared with the team via git). Use it the moment you discover something a future session should know: a decision and its rationale, a bug's root cause and fix, a convention, or a setup step. Prefer it over diff-based proposals when you already know what was learned. The write is rejected if every cited path is missing from the repo (set allow_missing_paths for a file you are about to create), and secrets/PII are scanned out before writing. Returns the new packet id plus any contradiction warnings against existing memory.",
739
739
  inputSchema: {
740
740
  type: "object",
741
741
  properties: {
742
- project_dir: { type: "string" },
743
- learning: { type: "string" },
744
- title: { type: "string" },
745
- type: { type: "string" },
746
- evidence: { type: "string" },
747
- verified_by: { type: "string" },
748
- tags: { type: "array", items: { type: "string" } },
749
- paths: { type: "array", items: { type: "string" } },
750
- stack: { type: "array", items: { type: "string" } },
751
- graph_nodes: { type: "array", items: { type: "string" } },
752
- allow_missing_paths: { type: "boolean" },
742
+ project_dir: { type: "string", description: "Absolute path to the repository root." },
743
+ learning: { type: "string", description: "The insight to store, in full sentences: what was learned and why it matters to a future session." },
744
+ title: { type: "string", description: "Short headline for the packet. Derived from the learning if omitted." },
745
+ type: { type: "string", description: "Memory type: decision, bug_fix, runbook, convention, gotcha, workflow, code_explanation. Inferred if omitted." },
746
+ evidence: { type: "string", description: "How the learning was confirmed (e.g. test output, a reproduced behavior)." },
747
+ verified_by: { type: "string", description: "What verified it (e.g. a command run, a passing test, a reviewer)." },
748
+ tags: { type: "array", items: { type: "string" }, description: "Optional keywords to aid future recall." },
749
+ paths: { type: "array", items: { type: "string" }, description: "Repo files this memory is about; used to verify the citation now and to recall the memory when those files are touched later." },
750
+ stack: { type: "array", items: { type: "string" }, description: "Optional technologies/frameworks the learning relates to." },
751
+ graph_nodes: { type: "array", items: { type: "string" }, description: "Optional code-graph symbol or file ids this memory is grounded to." },
752
+ allow_missing_paths: { type: "boolean", description: "Allow the write even if cited paths do not exist yet (e.g. a file you are about to create)." },
753
753
  discovery_tokens: { type: "number", description: "Approximate token cost of producing this knowledge (exploration + reasoning). Stored on the packet so recall receipts can report replay value; a conservative per-type default is estimated when omitted." },
754
754
  },
755
755
  required: ["project_dir", "learning"],
@@ -872,13 +872,13 @@ function listTools() {
872
872
  },
873
873
  {
874
874
  name: "kage_feedback",
875
- description: "Record usefulness feedback on an approved repo-local memory packet: helpful, wrong, or stale.",
875
+ description: "Record how useful a recalled repo-local memory packet was, which tunes Kage's trust and future recall. 'helpful' reinforces the packet, 'wrong' flags it as disputed, and 'stale' marks it for re-verification and withholds it from recall until refreshed. Use it right after a recalled packet helped you, misled you, or no longer matched the code. Mutates the packet's quality signals on disk.",
876
876
  inputSchema: {
877
877
  type: "object",
878
878
  properties: {
879
- project_dir: { type: "string" },
880
- packet_id: { type: "string" },
881
- kind: { type: "string", enum: ["helpful", "wrong", "stale"] },
879
+ project_dir: { type: "string", description: "Absolute path to the repository root." },
880
+ packet_id: { type: "string", description: "Id of the memory packet you are rating." },
881
+ kind: { type: "string", enum: ["helpful", "wrong", "stale"], description: "helpful = it was accurate and useful; wrong = it was incorrect (flag as disputed); stale = it no longer matches the code (mark for re-verification)." },
882
882
  },
883
883
  required: ["project_dir", "packet_id", "kind"],
884
884
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kage-core/kage-graph-mcp",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "Team memory for coding agents: captures the decisions, runbooks, and bug fixes that get lost, verified against your code and shared via git. MCP server, zero deps, no account.",
5
5
  "main": "dist/index.js",
6
6
  "files": [