ai-hist-mcp 0.3.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 ADDED
@@ -0,0 +1,22 @@
1
+ # ai-hist-mcp
2
+
3
+ Thin `npx` wrapper for the [`ai-hist`](https://www.npmjs.com/package/ai-hist) stdio MCP server.
4
+
5
+ ```bash
6
+ npx -y ai-hist-mcp
7
+ ```
8
+
9
+ The wrapper depends on `ai-hist` and launches its `ai-hist/mcp-server` export. It preserves the same environment contract:
10
+
11
+ - `AI_HIST_DB` points to the ai-hist SQLite database.
12
+ - `TRAJECTORY_ROOT` points to the root containing `**/compacted/*.json` trajectory files.
13
+
14
+ The MCP server exposes:
15
+
16
+ - `search_history`
17
+ - `recent_entries`
18
+ - `get_session`
19
+ - `get_context`
20
+ - `stats`
21
+ - `search_trajectories`
22
+ - `why_for_task`
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import 'ai-hist/mcp-server';
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "ai-hist-mcp",
3
+ "version": "0.3.0",
4
+ "description": "Thin npx wrapper for the ai-hist stdio MCP server.",
5
+ "license": "MIT",
6
+ "private": false,
7
+ "type": "module",
8
+ "bin": {
9
+ "ai-hist-mcp": "bin/ai-hist-mcp.js"
10
+ },
11
+ "files": [
12
+ "bin",
13
+ "README.md",
14
+ "package.json"
15
+ ],
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/AgentWorkforce/ai-hist.git",
19
+ "directory": "mcp-package"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "dependencies": {
25
+ "ai-hist": ">=0.3.0 <1"
26
+ },
27
+ "engines": {
28
+ "node": ">=18"
29
+ }
30
+ }