ai-hist-mcp 0.10.0 → 0.12.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 +13 -7
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -10,14 +10,20 @@ 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_tool_calls`, `get_session_file_edits`, `history_stats`, and
14
15
  `sync`. Search, recent history, session listing, discovery, statistics, and sync accept a
15
16
  `scope` of `local`, `remote`, or `all`; scope defaults to `local`.
17
+ `get_session_tool_calls` and `get_session_file_edits` are bounded, cursor-paged
18
+ reads that require both a `source` and a `session_id`, because provider session
19
+ IDs collide.
16
20
 
17
- Cached reads support all three scopes. Remote discovery and sync connectors are
18
- not available yet: explicit `remote` acquisition returns
19
- `UNSUPPORTED_OPERATION`, while `all` runs the configured local connectors.
21
+ Cached reads support all three scopes. Remote acquisition runs through
22
+ provider connectors (claude.ai/code web sessions, Codex cloud tasks) that are
23
+ configured by the provider CLI's own sign-in on the machine; explicit `remote`
24
+ acquisition returns `UNSUPPORTED_OPERATION` when none is configured, while
25
+ `all` runs local adapters plus every configured connector. The discovery and
26
+ sync tools are therefore annotated as open-world writes.
20
27
  `hydrate_session` is an idempotent write that fully indexes one previously
21
- discovered identity and optionally its related provider-native sessions.
22
- Consequently, the current discovery, hydration, and sync tools are annotated as local,
23
- closed-world writes; their annotations will change when remote connectors ship.
28
+ discovered identity and optionally its related provider-native sessions from
29
+ local provider evidence, so it stays annotated as a local, closed-world write.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-mcp",
3
- "version": "0.10.0",
3
+ "version": "0.12.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.10.0"
25
+ "ai-hist": "0.12.0"
26
26
  },
27
27
  "engines": {
28
28
  "node": ">=20"