gsdd-cli 0.18.2 → 0.18.3

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.
@@ -63,8 +63,23 @@ function forwardResult(result, fallbackMessage) {
63
63
  }
64
64
 
65
65
  function runPackagedCli() {
66
- const npmCommand = process.platform === 'win32' ? 'npm.cmd' : 'npm';
67
- return spawnSync(npmCommand, ['exec', '--yes', \`--package=\${packageSpec}\`, '--', 'gsdd', ...args], {
66
+ if (process.platform === 'win32') {
67
+ const powershellScript = [
68
+ '$argList = @($env:GSDD_LAUNCH_ARGS | ConvertFrom-Json)',
69
+ \`& npm exec --yes "--package=\${packageSpec}" -- gsdd @argList\`,
70
+ 'exit $LASTEXITCODE',
71
+ ].join('; ');
72
+
73
+ return spawnSync('powershell.exe', ['-NoProfile', '-Command', powershellScript], {
74
+ stdio: 'inherit',
75
+ env: {
76
+ ...env,
77
+ GSDD_LAUNCH_ARGS: JSON.stringify(args),
78
+ },
79
+ });
80
+ }
81
+
82
+ return spawnSync('npm', ['exec', '--yes', \`--package=\${packageSpec}\`, '--', 'gsdd', ...args], {
68
83
  stdio: 'inherit',
69
84
  env,
70
85
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gsdd-cli",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "description": "Workspine — a repo-native delivery spine for long-horizon AI-assisted work, with directly validated support for Claude Code, Codex CLI, and OpenCode, published as gsdd-cli.",
5
5
  "type": "module",
6
6
  "bin": {