@jefuriiij/synthra 0.1.3 → 0.1.4

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/cli/index.js CHANGED
@@ -18,7 +18,7 @@ var init_package = __esm({
18
18
  "package.json"() {
19
19
  package_default = {
20
20
  name: "@jefuriiij/synthra",
21
- version: "0.1.3",
21
+ version: "0.1.4",
22
22
  publishConfig: {
23
23
  access: "public"
24
24
  },
@@ -66,6 +66,7 @@ var init_package = __esm({
66
66
  dependencies: {
67
67
  "@hono/node-server": "^1.18.0",
68
68
  chokidar: "^5.0.0",
69
+ "cross-spawn": "^7.0.6",
69
70
  hono: "^4.12.23",
70
71
  ignore: "^7.0.0",
71
72
  sade: "^1.8.1",
@@ -73,6 +74,7 @@ var init_package = __esm({
73
74
  "web-tree-sitter": "~0.22.6"
74
75
  },
75
76
  devDependencies: {
77
+ "@types/cross-spawn": "^6.0.6",
76
78
  "@types/node": "^25.9.1",
77
79
  tsup: "^8.5.1",
78
80
  typescript: "^6.0.3",
@@ -862,7 +864,7 @@ var public_default = `<!doctype html>
862
864
 
863
865
  <!-- ============ Footer ============ -->
864
866
  <footer class="foot">
865
- <div>Synth<em>ra</em> \xB7 v0.1.3</div>
867
+ <div>Synth<em>ra</em> \xB7 v0.1.4</div>
866
868
  <div>Cost figures approximate \xB7 @jefuriiij</div>
867
869
  </footer>
868
870
 
@@ -4724,14 +4726,13 @@ async function serveCommand(rawPath) {
4724
4726
  }
4725
4727
 
4726
4728
  // src/cli/start-claude.ts
4727
- import { spawn } from "child_process";
4729
+ import spawn from "cross-spawn";
4728
4730
  var MCP_NAME = "synthra";
4729
4731
  function runClaude(bin, args, cwd, stdio = "pipe") {
4730
4732
  return new Promise((resolve5) => {
4731
4733
  const proc = spawn(bin, args, {
4732
4734
  cwd,
4733
- stdio: stdio === "inherit" ? "inherit" : ["ignore", "pipe", "pipe"],
4734
- shell: process.platform === "win32"
4735
+ stdio: stdio === "inherit" ? "inherit" : ["ignore", "pipe", "pipe"]
4735
4736
  });
4736
4737
  let stdout = "";
4737
4738
  let stderr = "";