@papyruslabsai/seshat-mcp 0.4.0 → 0.4.1

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/dist/bootstrap.js CHANGED
@@ -97,10 +97,13 @@ export async function bootstrap(projectDir) {
97
97
  const projectName = inferProjectName(projectDir);
98
98
  process.stderr.write(`[seshat-mcp] Auto-bootstrap: extracting ${projectName} from ${projectDir}\n`);
99
99
  return new Promise((resolve) => {
100
- // On Windows, npx is npx.cmd
100
+ // On Windows, npx is npx.cmd and must run through shell.
101
+ // shell: true concatenates args into a command string, so paths with
102
+ // spaces must be double-quoted to survive CMD parsing.
101
103
  const isWindows = process.platform === 'win32';
102
104
  const npxCmd = isWindows ? 'npx.cmd' : 'npx';
103
- const child = spawn(npxCmd, ['-y', '@papyruslabsai/seshat-extract', projectDir, seshatDir, projectName], {
105
+ const q = (s) => isWindows && s.includes(' ') ? `"${s}"` : s;
106
+ const child = spawn(npxCmd, ['-y', '@papyruslabsai/seshat-extract', q(projectDir), q(seshatDir), projectName], {
104
107
  cwd: projectDir,
105
108
  shell: isWindows, // Windows needs shell: true for .cmd files
106
109
  stdio: ['pipe', 'pipe', 'pipe'],
package/dist/index.js CHANGED
@@ -454,7 +454,7 @@ async function main() {
454
454
  }
455
455
  const server = new Server({
456
456
  name: serverLabel,
457
- version: '0.4.0',
457
+ version: '0.4.1',
458
458
  }, {
459
459
  capabilities: {
460
460
  tools: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papyruslabsai/seshat-mcp",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Semantic MCP server — exposes a codebase's 9D JSTF-T coordinate space as queryable tools",
5
5
  "type": "module",
6
6
  "bin": {