@hearsay-tools/squawk 0.18.0-pr3944.7449 → 0.18.0-pr3945.7464
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/ci-wait/tool-catalog.js +1 -0
- package/dist/ci-wait/tool-catalog.js.map +1 -1
- package/dist/jobs/cli.js +18 -4
- package/dist/jobs/cli.js.map +1 -1
- package/dist/jobs/command.js +1 -1
- package/dist/jobs/command.js.map +1 -1
- package/dist/jobs/job.d.ts +17 -0
- package/dist/jobs/job.js +29 -2
- package/dist/jobs/job.js.map +1 -1
- package/dist/server/server.d.ts +1559 -1559
- package/package.json +4 -4
- package/scripts/mock-lifecycle.mjs +1 -1
- package/scripts/mock-omp-rpc.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-
|
|
3
|
+
"version": "0.18.0-pr3945.7464",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/parser": "^8.0.8",
|
|
65
65
|
"@babel/types": "^8.0.8",
|
|
66
|
-
"@open-mercato/cezar-api-client": "0.18.0-
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr3945.7464",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr3945.7464",
|
|
68
68
|
"@types/node": "^24.19.1",
|
|
69
69
|
"@types/ws": "^8.18.1",
|
|
70
70
|
"esbuild": "^0.28.1",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "b15a4c70a61ce0a158fea1155fbd7b177fc04e5c"
|
|
85
85
|
}
|
|
@@ -33,7 +33,7 @@ export function stall(prompt, { closeInput } = {}) {
|
|
|
33
33
|
if (prompt.includes('leftover')) {
|
|
34
34
|
// hearsay-tools/cezarion#890: one child stays in the session's process group and ignores
|
|
35
35
|
// SIGTERM; one leaves the group with setsid. Both exit on their own as a cleanup backstop.
|
|
36
|
-
const leftover = (file) => `process.on('SIGTERM',()=>{}); const fs = require('fs'); fs.writeFileSync(${JSON.stringify(`${file}.tmp`)}, String(process.pid)); fs.renameSync(${JSON.stringify(`${file}.tmp`)}, ${JSON.stringify(file)}); setTimeout(()=>{},20000)`;
|
|
36
|
+
const leftover = (file) => `process.on('SIGTERM',()=>{}); const fs = require('fs'); fs.writeFileSync(${JSON.stringify(`${file}.tmp`)}, String(process.pid)); fs.renameSync(${JSON.stringify(`${file}.tmp`)}, ${JSON.stringify(file)}); setTimeout(()=>{},20000)`; // stubborn-child: ends itself after 20 s
|
|
37
37
|
watchdogSpawn(process.execPath, ['-e', leftover('leftover-group.pid')], { stdio: 'ignore' });
|
|
38
38
|
watchdogSpawn(process.execPath, ['-e', leftover('leftover-session.pid')], { stdio: 'ignore', detached: true }).unref();
|
|
39
39
|
}
|
package/scripts/mock-omp-rpc.mjs
CHANGED
|
@@ -525,7 +525,7 @@ async function prompt(command, sent = command.message) {
|
|
|
525
525
|
if (message.includes('mock:linger')) {
|
|
526
526
|
linger = true;
|
|
527
527
|
process.removeAllListeners('SIGTERM');
|
|
528
|
-
process.on('SIGTERM', () => {});
|
|
528
|
+
process.on('SIGTERM', () => {}); // stubborn-child: the backstop below ends it after 12 s
|
|
529
529
|
// Test-cleanup backstop, deliberately longer than the asserted teardown bound.
|
|
530
530
|
setTimeout(() => process.exit(0), 12_000).unref?.();
|
|
531
531
|
setInterval(() => {}, 1_000);
|