sdl-mcp 0.11.8 → 0.11.9

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.
Files changed (61) hide show
  1. package/README.md +12 -1
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/cli/argParsing.d.ts.map +1 -1
  4. package/dist/cli/argParsing.js +15 -0
  5. package/dist/cli/argParsing.js.map +1 -1
  6. package/dist/cli/commands/init.d.ts +16 -1
  7. package/dist/cli/commands/init.d.ts.map +1 -1
  8. package/dist/cli/commands/init.js +445 -37
  9. package/dist/cli/commands/init.js.map +1 -1
  10. package/dist/cli/index.js +4 -1
  11. package/dist/cli/index.js.map +1 -1
  12. package/dist/cli/setup-wizard/config-diff.d.ts +8 -0
  13. package/dist/cli/setup-wizard/config-diff.d.ts.map +1 -0
  14. package/dist/cli/setup-wizard/config-diff.js +63 -0
  15. package/dist/cli/setup-wizard/config-diff.js.map +1 -0
  16. package/dist/cli/setup-wizard/lsp.d.ts +11 -0
  17. package/dist/cli/setup-wizard/lsp.d.ts.map +1 -0
  18. package/dist/cli/setup-wizard/lsp.js +76 -0
  19. package/dist/cli/setup-wizard/lsp.js.map +1 -0
  20. package/dist/cli/setup-wizard/recommendations.d.ts +22 -0
  21. package/dist/cli/setup-wizard/recommendations.d.ts.map +1 -0
  22. package/dist/cli/setup-wizard/recommendations.js +64 -0
  23. package/dist/cli/setup-wizard/recommendations.js.map +1 -0
  24. package/dist/cli/setup-wizard/run.d.ts +16 -0
  25. package/dist/cli/setup-wizard/run.d.ts.map +1 -0
  26. package/dist/cli/setup-wizard/run.js +136 -0
  27. package/dist/cli/setup-wizard/run.js.map +1 -0
  28. package/dist/cli/setup-wizard/terminal.d.ts +36 -0
  29. package/dist/cli/setup-wizard/terminal.d.ts.map +1 -0
  30. package/dist/cli/setup-wizard/terminal.js +158 -0
  31. package/dist/cli/setup-wizard/terminal.js.map +1 -0
  32. package/dist/cli/setup-wizard/types.d.ts +259 -0
  33. package/dist/cli/setup-wizard/types.d.ts.map +1 -0
  34. package/dist/cli/setup-wizard/types.js +96 -0
  35. package/dist/cli/setup-wizard/types.js.map +1 -0
  36. package/dist/cli/types.d.ts +2 -0
  37. package/dist/cli/types.d.ts.map +1 -1
  38. package/dist/indexer/indexer.d.ts.map +1 -1
  39. package/dist/indexer/indexer.js +2 -8
  40. package/dist/indexer/indexer.js.map +1 -1
  41. package/dist/indexer/provider-first/executor.d.ts +1 -0
  42. package/dist/indexer/provider-first/executor.d.ts.map +1 -1
  43. package/dist/indexer/provider-first/executor.js +12 -2
  44. package/dist/indexer/provider-first/executor.js.map +1 -1
  45. package/dist/indexer/provider-first/shadow-finalization.js +96 -2
  46. package/dist/indexer/provider-first/shadow-finalization.js.map +1 -1
  47. package/dist/indexer/scanner.d.ts +2 -1
  48. package/dist/indexer/scanner.d.ts.map +1 -1
  49. package/dist/indexer/scanner.js +14 -8
  50. package/dist/indexer/scanner.js.map +1 -1
  51. package/dist/indexer/watcher.d.ts +1 -1
  52. package/dist/indexer/watcher.d.ts.map +1 -1
  53. package/dist/indexer/watcher.js +1 -1
  54. package/dist/indexer/watcher.js.map +1 -1
  55. package/dist/indexer/watchman-provider.d.ts +5 -0
  56. package/dist/indexer/watchman-provider.d.ts.map +1 -1
  57. package/dist/indexer/watchman-provider.js +39 -23
  58. package/dist/indexer/watchman-provider.js.map +1 -1
  59. package/package.json +6 -5
  60. package/scripts/postinstall.mjs +175 -13
  61. package/templates/SDL.md +1 -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
- # Initialize, auto-detect languages, index your repo, and run health checks
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.