ai-hist-mcp 0.11.0 → 0.13.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.
Files changed (2) hide show
  1. package/README.md +14 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -10,9 +10,16 @@ The server imports only `ai-hist` public functions. It never opens SQLite,
10
10
  loads the native addon directly, scans provider files, or invokes a CLI.
11
11
 
12
12
  Tools: `search_history`, `recent_history`, `list_sessions`,
13
- `discover_sessions`, `hydrate_session`, `get_session`, `get_session_events`, `history_stats`, and
13
+ `discover_sessions`, `hydrate_session`, `get_session`, `get_session_events`,
14
+ `get_session_relationships`, `get_session_tree`, `get_session_tool_calls`,
15
+ `get_session_file_edits`, `history_stats`, and
14
16
  `sync`. Search, recent history, session listing, discovery, statistics, and sync accept a
15
17
  `scope` of `local`, `remote`, or `all`; scope defaults to `local`.
18
+ `get_session`, `get_session_events`, `get_session_relationships`, and
19
+ `get_session_tree` address one session by identity and take no `scope`.
20
+ `get_session_tool_calls` and `get_session_file_edits` are bounded, cursor-paged
21
+ reads that require both a `source` and a `session_id`, because provider session
22
+ IDs collide.
16
23
 
17
24
  Cached reads support all three scopes. Remote acquisition runs through
18
25
  provider connectors (claude.ai/code web sessions, Codex cloud tasks) that are
@@ -23,3 +30,9 @@ sync tools are therefore annotated as open-world writes.
23
30
  `hydrate_session` is an idempotent write that fully indexes one previously
24
31
  discovered identity and optionally its related provider-native sessions from
25
32
  local provider evidence, so it stays annotated as a local, closed-world write.
33
+
34
+ `get_session_relationships` and `get_session_tree` read the delegation topology
35
+ recorded by hydration and sync: who delegated to whom, what evidence
36
+ established the link, whether the child has a stable identity, and whether its
37
+ events are independently addressable. Tree traversal is cycle-safe,
38
+ deterministically ordered, and bounded by `max_depth` and `max_nodes`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-mcp",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "Thin npx wrapper for the ai-hist stdio MCP server.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -22,7 +22,7 @@
22
22
  "access": "public"
23
23
  },
24
24
  "dependencies": {
25
- "ai-hist": "0.11.0"
25
+ "ai-hist": "0.13.0"
26
26
  },
27
27
  "engines": {
28
28
  "node": ">=20"