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 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
@@ -1,4 +1,4 @@
1
- ---- START OF DOCDEX INFO V0.2.31 ----
1
+ ---- START OF DOCDEX INFO V0.2.32 ----
2
2
  Docdex URL: http://127.0.0.1:28491
3
3
  Use this base URL for Docdex HTTP endpoints.
4
4
  Health check endpoint: `GET /healthz` (not `/v1/health`).
package/lib/cli_entry.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  "use strict";
2
3
 
3
4
  const fs = require("node:fs");
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
- " await runBridge({ stdin: process.stdin, stdout: process.stdout, stderr: process.stderr });",
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.31",
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": "bin/docdex.js",
8
- "docdexd": "bin/docdex.js",
9
- "docdex-mcp-stdio": "bin/docdex-mcp-stdio.js"
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",