agent-knowledge 1.1.5 → 1.2.0

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/docs/SETUP.md CHANGED
@@ -174,9 +174,9 @@ Hooks announce the dashboard URL on session start. Support varies by client.
174
174
 
175
175
  ### Claude Code Hooks
176
176
 
177
- #### SessionStart (`scripts/hooks/session-start.js`)
177
+ #### SessionStart + SubagentStart (`scripts/hooks/session-start.js`)
178
178
 
179
- Announces the knowledge dashboard URL on session start.
179
+ Announces the knowledge dashboard URL on session start. Also fires for subagents via `SubagentStart`, ensuring spawned agents know about the knowledge base.
180
180
 
181
181
  Add to `~/.claude/settings.json`:
182
182
 
@@ -193,6 +193,17 @@ Add to `~/.claude/settings.json`:
193
193
  }
194
194
  ]
195
195
  }
196
+ ],
197
+ "SubagentStart": [
198
+ {
199
+ "hooks": [
200
+ {
201
+ "type": "command",
202
+ "command": "node \"/path/to/agent-knowledge/scripts/hooks/session-start.js\"",
203
+ "timeout": 5
204
+ }
205
+ ]
206
+ }
196
207
  ]
197
208
  }
198
209
  }
@@ -236,12 +247,15 @@ Add these instructions:
236
247
  You have access to agent-knowledge MCP tools — a shared knowledge base synced via git.
237
248
 
238
249
  Available tools: knowledge_list, knowledge_read, knowledge_write, knowledge_search,
239
- knowledge_recall, knowledge_sessions, knowledge_config, knowledge_sync
250
+ knowledge_recall, knowledge_sessions, knowledge_config, knowledge_sync,
251
+ knowledge_link, knowledge_unlink, knowledge_links, knowledge_graph
240
252
 
241
253
  Categories: projects, people, decisions, workflows, notes
242
254
 
243
255
  Use knowledge_search for semantic + keyword search across all entries.
244
256
  Use knowledge_recall for scoped search (errors, plans, configs, tools, files, decisions).
257
+ Use knowledge_link/knowledge_unlink to manage relationships between entries.
258
+ Use knowledge_graph to explore connections from any entry via BFS traversal.
245
259
 
246
260
  Dashboard: http://localhost:3423
247
261
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agent-knowledge",
3
- "version": "1.1.5",
4
- "description": "Cross-session memory and recall for AI agents — git-synced knowledge base, hybrid semantic+TF-IDF search, auto-distillation with secrets scrubbing",
3
+ "version": "1.2.0",
4
+ "description": "Cross-session memory and recall for AI agents — git-synced knowledge base, knowledge graph, confidence scoring, hybrid semantic+TF-IDF search, auto-distillation with secrets scrubbing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {