sdl-mcp 0.11.8 → 0.11.10
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 +12 -1
- package/config/sdlmcp.config.example.json +2 -1
- package/config/sdlmcp.config.schema.json +8 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/cli/argParsing.d.ts.map +1 -1
- package/dist/cli/argParsing.js +15 -0
- package/dist/cli/argParsing.js.map +1 -1
- package/dist/cli/commands/init.d.ts +16 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +445 -37
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/index.js +4 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/setup-wizard/config-diff.d.ts +8 -0
- package/dist/cli/setup-wizard/config-diff.d.ts.map +1 -0
- package/dist/cli/setup-wizard/config-diff.js +63 -0
- package/dist/cli/setup-wizard/config-diff.js.map +1 -0
- package/dist/cli/setup-wizard/lsp.d.ts +11 -0
- package/dist/cli/setup-wizard/lsp.d.ts.map +1 -0
- package/dist/cli/setup-wizard/lsp.js +76 -0
- package/dist/cli/setup-wizard/lsp.js.map +1 -0
- package/dist/cli/setup-wizard/recommendations.d.ts +22 -0
- package/dist/cli/setup-wizard/recommendations.d.ts.map +1 -0
- package/dist/cli/setup-wizard/recommendations.js +64 -0
- package/dist/cli/setup-wizard/recommendations.js.map +1 -0
- package/dist/cli/setup-wizard/run.d.ts +16 -0
- package/dist/cli/setup-wizard/run.d.ts.map +1 -0
- package/dist/cli/setup-wizard/run.js +136 -0
- package/dist/cli/setup-wizard/run.js.map +1 -0
- package/dist/cli/setup-wizard/terminal.d.ts +36 -0
- package/dist/cli/setup-wizard/terminal.d.ts.map +1 -0
- package/dist/cli/setup-wizard/terminal.js +158 -0
- package/dist/cli/setup-wizard/terminal.js.map +1 -0
- package/dist/cli/setup-wizard/types.d.ts +259 -0
- package/dist/cli/setup-wizard/types.d.ts.map +1 -0
- package/dist/cli/setup-wizard/types.js +96 -0
- package/dist/cli/setup-wizard/types.js.map +1 -0
- package/dist/cli/types.d.ts +2 -0
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/config/types.d.ts +13 -0
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js +7 -12
- package/dist/config/types.js.map +1 -1
- package/dist/indexer/indexer.d.ts.map +1 -1
- package/dist/indexer/indexer.js +2 -8
- package/dist/indexer/indexer.js.map +1 -1
- package/dist/indexer/provider-first/executor.d.ts +1 -0
- package/dist/indexer/provider-first/executor.d.ts.map +1 -1
- package/dist/indexer/provider-first/executor.js +12 -2
- package/dist/indexer/provider-first/executor.js.map +1 -1
- package/dist/indexer/provider-first/shadow-finalization.d.ts.map +1 -1
- package/dist/indexer/provider-first/shadow-finalization.js +105 -65
- package/dist/indexer/provider-first/shadow-finalization.js.map +1 -1
- package/dist/indexer/scanner.d.ts +2 -1
- package/dist/indexer/scanner.d.ts.map +1 -1
- package/dist/indexer/scanner.js +14 -8
- package/dist/indexer/scanner.js.map +1 -1
- package/dist/indexer/watcher.d.ts +1 -1
- package/dist/indexer/watcher.d.ts.map +1 -1
- package/dist/indexer/watcher.js +1 -1
- package/dist/indexer/watcher.js.map +1 -1
- package/dist/indexer/watchman-provider.d.ts +5 -0
- package/dist/indexer/watchman-provider.d.ts.map +1 -1
- package/dist/indexer/watchman-provider.js +39 -23
- package/dist/indexer/watchman-provider.js.map +1 -1
- package/dist/mcp/tools/index.d.ts +2 -5
- package/dist/mcp/tools/index.d.ts.map +1 -1
- package/dist/mcp/tools/index.js +1 -0
- package/dist/mcp/tools/index.js.map +1 -1
- package/dist/server.d.ts +12 -6
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +53 -27
- package/dist/server.js.map +1 -1
- package/package.json +6 -5
- package/scripts/postinstall.mjs +175 -13
- package/templates/SDL.md +2 -1
package/README.md
CHANGED
|
@@ -67,14 +67,25 @@ SDL-MCP fixes this. It indexes your codebase into a searchable **symbol graph**
|
|
|
67
67
|
```bash
|
|
68
68
|
# Install (requires Node.js 24+)
|
|
69
69
|
npm install -g sdl-mcp
|
|
70
|
+
# Plain npm installs run lifecycle scripts in the background, so run
|
|
71
|
+
# `sdl-mcp init` after install. Use `--foreground-scripts` only when you
|
|
72
|
+
# specifically want npm to show the install-time wizard and lifecycle output.
|
|
70
73
|
|
|
71
|
-
#
|
|
74
|
+
# Non-interactive setup: initialize, auto-detect languages, index, and run health checks
|
|
72
75
|
sdl-mcp init -y --auto-index
|
|
73
76
|
|
|
74
77
|
# Start the MCP server for your coding agent
|
|
75
78
|
sdl-mcp serve --stdio
|
|
76
79
|
```
|
|
77
80
|
|
|
81
|
+
For a clean foreground installer flow, use the tiny wrapper package:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
npx create-sdl-mcp
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Run `npx create-sdl-mcp --update` for the fast update path: it installs the server binaries, skips repo setup, and prints the repo-init commands to run later.
|
|
88
|
+
|
|
78
89
|
Point your MCP client at the server and the agent gains access to SDL-MCP's current configured surface. By default that is exclusive Code Mode; set `codeMode.exclusive: false` when you want Code Mode plus the regular flat or gateway tools in one session.
|
|
79
90
|
|
|
80
91
|
> **npx users:** Replace `sdl-mcp` with `npx --yes sdl-mcp@latest` in all commands above.
|
|
@@ -1660,11 +1660,18 @@
|
|
|
1660
1660
|
"type": "boolean",
|
|
1661
1661
|
"description": "When gateway is enabled, also register the 25 legacy tool names for backward compatibility. Deprecated: will be removed in a future version.",
|
|
1662
1662
|
"default": false
|
|
1663
|
+
},
|
|
1664
|
+
"toolNameFormat": {
|
|
1665
|
+
"type": "string",
|
|
1666
|
+
"enum": ["canonical", "openai"],
|
|
1667
|
+
"description": "Tool name format advertised to MCP clients. Use openai to replace dots with underscores for strict tool-name validators.",
|
|
1668
|
+
"default": "canonical"
|
|
1663
1669
|
}
|
|
1664
1670
|
},
|
|
1665
1671
|
"default": {
|
|
1666
1672
|
"enabled": true,
|
|
1667
|
-
"emitLegacyTools": false
|
|
1673
|
+
"emitLegacyTools": false,
|
|
1674
|
+
"toolNameFormat": "canonical"
|
|
1668
1675
|
}
|
|
1669
1676
|
},
|
|
1670
1677
|
"httpAuth": {
|