ai-hist-mcp 0.12.0 → 0.14.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 +10 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -11,9 +11,12 @@ loads the native addon directly, scans provider files, or invokes a CLI.
11
11
 
12
12
  Tools: `search_history`, `recent_history`, `list_sessions`,
13
13
  `discover_sessions`, `hydrate_session`, `get_session`, `get_session_events`,
14
- `get_session_tool_calls`, `get_session_file_edits`, `history_stats`, and
14
+ `get_session_relationships`, `get_session_tree`, `get_session_tool_calls`,
15
+ `get_session_file_edits`, `history_stats`, and
15
16
  `sync`. Search, recent history, session listing, discovery, statistics, and sync accept a
16
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`.
17
20
  `get_session_tool_calls` and `get_session_file_edits` are bounded, cursor-paged
18
21
  reads that require both a `source` and a `session_id`, because provider session
19
22
  IDs collide.
@@ -27,3 +30,9 @@ sync tools are therefore annotated as open-world writes.
27
30
  `hydrate_session` is an idempotent write that fully indexes one previously
28
31
  discovered identity and optionally its related provider-native sessions from
29
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.12.0",
3
+ "version": "0.14.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.12.0"
25
+ "ai-hist": "0.14.0"
26
26
  },
27
27
  "engines": {
28
28
  "node": ">=20"