@wrongstack/sdd 1.0.35 → 1.0.36

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 (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -5901,11 +5901,13 @@ import { spawn } from "node:child_process";
5901
5901
  import { accessSync } from "node:fs";
5902
5902
  import * as path6 from "node:path";
5903
5903
  import { buildWin32CmdShimInvocation } from "@wrongstack/core/utils";
5904
+ import { treeKill } from "@wrongstack/core/utils/tree-kill";
5904
5905
  function win32BatchTarget(executable) {
5905
5906
  if (/\.(?:cmd|bat)$/i.test(executable)) return executable;
5906
5907
  if (/[\\/]/.test(executable) || path6.extname(executable)) return void 0;
5907
5908
  const exts = (process.env["PATHEXT"] ?? ".COM;.EXE;.BAT;.CMD").toLowerCase().split(";");
5908
- for (const dir of (process.env["PATH"] ?? "").split(path6.delimiter)) {
5909
+ for (const rawDir of (process.env["PATH"] ?? "").split(path6.delimiter)) {
5910
+ const dir = rawDir.trim().replace(/^"|"$/g, "");
5909
5911
  if (!dir) continue;
5910
5912
  for (const ext of exts) {
5911
5913
  if (!ext) continue;
@@ -6076,7 +6078,7 @@ function makeCommandVerifier(options = {}) {
6076
6078
  let timedOut = false;
6077
6079
  const timer = setTimeout(() => {
6078
6080
  timedOut = true;
6079
- child.kill();
6081
+ treeKill(child);
6080
6082
  resolve3({ ok: false, reason: `verification timed out: ${rawCommand}` });
6081
6083
  }, timeoutMs);
6082
6084
  child.on("exit", (code) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/sdd",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "license": "MIT",
5
5
  "description": "WrongStack Spec-Driven Development engine — standalone package extracted from @wrongstack/core. Task graph generation, tracking, execution, lifecycle management, and AI-driven spec building for SDD workflows.",
6
6
  "repository": {
@@ -27,10 +27,10 @@
27
27
  "!dist/**/*.map"
28
28
  ],
29
29
  "dependencies": {
30
- "@wrongstack/core": "1.0.35",
31
- "@wrongstack/kanban": "1.0.35",
32
- "@wrongstack/primitives": "1.0.35",
33
- "@wrongstack/requirement-intake": "1.0.35"
30
+ "@wrongstack/core": "1.0.36",
31
+ "@wrongstack/kanban": "1.0.36",
32
+ "@wrongstack/primitives": "1.0.36",
33
+ "@wrongstack/requirement-intake": "1.0.36"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26.5.1",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "scripts": {
43
43
  "build": "node ../../scripts/build-package.mjs",
44
- "typecheck": "tsc --noEmit",
44
+ "typecheck": "node ../../scripts/bun-typecheck.mjs --noEmit",
45
45
  "test": "vitest run",
46
46
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\""
47
47
  }