docdex 0.2.31 → 0.2.32
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/CHANGELOG.md +1 -0
- package/assets/agents.md +1 -1
- package/lib/cli_entry.js +1 -0
- package/lib/install.js +1 -1
- package/lib/mcp_stdio_cli.js +15 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
- Ensure npm tarballs include CLI wrapper entrypoints and restore missing wrappers during postinstall.
|
|
6
6
|
- Retry Windows file operations during install to reduce EPERM/EACCES failures.
|
|
7
7
|
- Nightly HTTP soak waits for index readiness before load testing.
|
|
8
|
+
- Windows CLI shims now target stable `lib/` entrypoints to avoid missing `bin/docdex.js`.
|
|
8
9
|
|
|
9
10
|
## 0.2.23
|
|
10
11
|
- Add Smithery session config schema metadata (titles/descriptions, defaults, example config) for local MCP sessions.
|
package/assets/agents.md
CHANGED
package/lib/cli_entry.js
CHANGED
package/lib/install.js
CHANGED
|
@@ -57,7 +57,7 @@ const MCP_STDIO_WRAPPER_SCRIPT = [
|
|
|
57
57
|
"",
|
|
58
58
|
"async function main() {",
|
|
59
59
|
" try {",
|
|
60
|
-
|
|
60
|
+
" await runBridge({ stdin: process.stdin, stdout: process.stdout, stderr: process.stderr });",
|
|
61
61
|
" } catch (err) {",
|
|
62
62
|
" process.stderr.write(`[docdex-mcp-stdio] fatal: ${err}\\n`);",
|
|
63
63
|
" process.exit(1);",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
const { runBridge } = require("./mcp_stdio_bridge");
|
|
5
|
+
|
|
6
|
+
async function main() {
|
|
7
|
+
try {
|
|
8
|
+
await runBridge({ stdin: process.stdin, stdout: process.stdout, stderr: process.stderr });
|
|
9
|
+
} catch (err) {
|
|
10
|
+
process.stderr.write(`[docdex-mcp-stdio] fatal: ${err}\n`);
|
|
11
|
+
process.exit(1);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
main();
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docdex",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.32",
|
|
4
4
|
"mcpName": "io.github.bekirdag/docdex",
|
|
5
5
|
"description": "Local-first documentation and code indexer with HTTP/MCP search, AST, and agent memory.",
|
|
6
6
|
"bin": {
|
|
7
|
-
"docdex": "
|
|
8
|
-
"docdexd": "
|
|
9
|
-
"docdex-mcp-stdio": "
|
|
7
|
+
"docdex": "lib/cli_entry.js",
|
|
8
|
+
"docdexd": "lib/cli_entry.js",
|
|
9
|
+
"docdex-mcp-stdio": "lib/mcp_stdio_cli.js"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"bin",
|