create-kudzu 0.1.158 → 0.1.159
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/README.md +1 -1
- package/ai.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Use `--no-install` to create the files without installing dependencies.
|
|
|
16
16
|
|
|
17
17
|
## Optional AI authoring guidance
|
|
18
18
|
|
|
19
|
-
`create-kudzu@0.1.
|
|
19
|
+
`create-kudzu@0.1.159` provides optional local AI developer tools with managed check cancellation:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
npm create kudzu@latest my-app -- --ai
|
package/ai.mjs
CHANGED
|
@@ -58,7 +58,7 @@ export async function check(root, timeoutMs = 300000) {
|
|
|
58
58
|
const pids = [managed ? child.pid : -child.pid]
|
|
59
59
|
if (managed) {
|
|
60
60
|
// Keep the outer group alive on this tool's timeout; stop only its ordinary descendants.
|
|
61
|
-
const table = spawnSync("ps", ["-A", "-o", "pid=", "-o", "ppid="], { encoding: "utf8", timeout:
|
|
61
|
+
const table = spawnSync("ps", ["-A", "-o", "pid=", "-o", "ppid="], { encoding: "utf8", timeout: 5000, maxBuffer: 1024 * 1024 })
|
|
62
62
|
if (table.status !== 0) error = table.error?.message || table.stderr?.trim() || "Could not inspect managed check descendants"
|
|
63
63
|
else {
|
|
64
64
|
const parents = table.stdout.trim().split("\n").map(line => line.trim().split(/\s+/).map(Number))
|