ai-hist-mcp 0.15.8 → 0.16.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/README.md +8 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -45,13 +45,13 @@ server-side; there is no org parameter. `kinds` filters `link_kind`, `since`
|
|
|
45
45
|
bounds link event time, and `limit` (1-500, default 100) with `cursor` pages the
|
|
46
46
|
links; outcomes come back whole on every page.
|
|
47
47
|
|
|
48
|
-
Credentials come from
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
Credentials come exclusively from the native stage store
|
|
49
|
+
(`$RELAYHISTORY_HOME/stages`, default `~/.agentworkforce/relayhistory/stages`).
|
|
50
|
+
`RELAYHISTORY_BASE_URL` takes precedence over `AI_HIST_BASE_URL`; with multiple
|
|
51
|
+
stages and no selection, the tool refuses to guess. Use `ai-hist login` to
|
|
52
|
+
create a session for the selected stage.
|
|
53
53
|
|
|
54
|
-
A
|
|
54
|
+
A stored session must meet the same bar the engine's `cloud` connector
|
|
55
55
|
applies to recall — an `rth_at_` access token, an expiry at least 60s away, and
|
|
56
56
|
a recorded org for provenance. A session missing a token prefix or an org is one the
|
|
57
57
|
connector itself reports as unconfigured, so the tool reports it the same way
|
|
@@ -59,9 +59,8 @@ and names the missing precondition rather than issuing a request that would
|
|
|
59
59
|
fail. `ai-hist login` restores them.
|
|
60
60
|
|
|
61
61
|
Expiry is the exception, because rotation exists to repair it: a rejected
|
|
62
|
-
session with a refresh token is rotated
|
|
63
|
-
the
|
|
64
|
-
in step. A pair another process rotated first is adopted rather than spending
|
|
62
|
+
session with a refresh token is rotated under the native stage lock and the
|
|
63
|
+
new pair saved atomically, so the CLI and the MCP stay in step. A pair another process rotated first is adopted rather than spending
|
|
65
64
|
the one-time refresh token again. Only a session with nothing left to rotate
|
|
66
65
|
reports expiry as unconfigured.
|
|
67
66
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-hist-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.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.
|
|
25
|
+
"ai-hist": "0.16.0"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": ">=20"
|