@hearsay-tools/squawk 0.18.0-dev.7779 → 0.18.0-dev.7788
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/artifacts/removal-slot.d.ts +3 -0
- package/dist/artifacts/removal-slot.js +7 -0
- package/dist/artifacts/removal-slot.js.map +1 -0
- package/dist/autosave-removal-slots.d.ts +6 -0
- package/dist/autosave-removal-slots.js +13 -0
- package/dist/autosave-removal-slots.js.map +1 -0
- package/dist/built-in-run-slots.d.ts +9 -0
- package/dist/built-in-run-slots.js +21 -0
- package/dist/built-in-run-slots.js.map +1 -0
- package/dist/ci-wait/controller.d.ts +42 -42
- package/dist/delegation/family-end.js +5 -1
- package/dist/delegation/family-end.js.map +1 -1
- package/dist/delegation/removal-slot.d.ts +4 -0
- package/dist/delegation/removal-slot.js +20 -0
- package/dist/delegation/removal-slot.js.map +1 -0
- package/dist/delegation/routes.d.ts +79 -79
- package/dist/delegation/transport.d.ts +76 -76
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/jobs/removal-slot.d.ts +4 -0
- package/dist/jobs/removal-slot.js +10 -0
- package/dist/jobs/removal-slot.js.map +1 -0
- package/dist/runs/removal-slots.d.ts +56 -0
- package/dist/runs/removal-slots.js +66 -0
- package/dist/runs/removal-slots.js.map +1 -0
- package/dist/runs/retention.d.ts +10 -7
- package/dist/runs/retention.js +8 -19
- package/dist/runs/retention.js.map +1 -1
- package/dist/runs/store.d.ts +4 -2
- package/dist/runs/store.js +18 -20
- package/dist/runs/store.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/models-routes.d.ts +13 -13
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/server.d.ts +1595 -1595
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/package.json +4 -4
- package/scripts/benchmark-family-reconcile.ts +2 -0
- package/scripts/benchmark-run-store.ts +2 -0
- package/scripts/benchmark-stuck-destroys.ts +2 -0
- package/scripts/benchmark-worker-lifecycle.ts +2 -0
- package/scripts/benchmark-workspace-events.ts +2 -0
- package/scripts/benchmark-worktree-retention.ts +2 -0
- package/scripts/measure-transcript-facts-health.mjs +4 -1
|
@@ -7,6 +7,12 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
7
7
|
output: {
|
|
8
8
|
generation: string;
|
|
9
9
|
results: ({
|
|
10
|
+
projectId: string;
|
|
11
|
+
runId: string;
|
|
12
|
+
type: "error" | "reset";
|
|
13
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
14
|
+
error: string;
|
|
15
|
+
} | {
|
|
10
16
|
projectId: string;
|
|
11
17
|
runId: string;
|
|
12
18
|
type: "batch";
|
|
@@ -20,12 +26,6 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
20
26
|
cursor: string;
|
|
21
27
|
afterSeq: number;
|
|
22
28
|
hasMore: boolean;
|
|
23
|
-
} | {
|
|
24
|
-
projectId: string;
|
|
25
|
-
runId: string;
|
|
26
|
-
type: "error" | "reset";
|
|
27
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
28
|
-
error: string;
|
|
29
29
|
})[];
|
|
30
30
|
};
|
|
31
31
|
outputFormat: "json";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-dev.
|
|
3
|
+
"version": "0.18.0-dev.7788",
|
|
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-dev.
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.7788",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.7788",
|
|
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": "28b369d608120a0cc265668ca5d66848928b9ac9"
|
|
85
85
|
}
|
|
@@ -34,10 +34,12 @@ import type { ConversationMessage } from '@open-mercato/cezar-contract';
|
|
|
34
34
|
import { noRunners } from '../src/core/runners-under-test.testkit.ts';
|
|
35
35
|
import { installWindowsIdentityStore } from '../src/delegation/windows-identity-store.ts';
|
|
36
36
|
import { registerBuiltInRunners } from '../src/runners/built-in.ts';
|
|
37
|
+
import { registerBuiltInRunSlots } from '../src/built-in-run-slots.ts';
|
|
37
38
|
|
|
38
39
|
// Workspace receipts and markers use the host's identity store (ADR 0032).
|
|
39
40
|
installWindowsIdentityStore();
|
|
40
41
|
registerBuiltInRunners();
|
|
42
|
+
registerBuiltInRunSlots();
|
|
41
43
|
|
|
42
44
|
process.env.HSQ_PROJECT_WARMUP = process.env.CEZ_PROJECT_WARMUP = '0';
|
|
43
45
|
const ownHome = prepareBenchmarkEnv();
|
|
@@ -72,10 +72,12 @@ import type { RunRecord, RunStore as RunStoreInstance } from '../src/runs/store.
|
|
|
72
72
|
import { DEFAULT_FIXTURE_SEED, FIXTURE_PROFILES, generateRunFixture, isLiveRun, pickSaveTarget, type FixtureProfile } from './benchmark-run-store-fixture.ts';
|
|
73
73
|
import { installWindowsIdentityStore } from '../src/delegation/windows-identity-store.ts';
|
|
74
74
|
import { registerBuiltInRunners } from '../src/runners/built-in.ts';
|
|
75
|
+
import { registerBuiltInRunSlots } from '../src/built-in-run-slots.ts';
|
|
75
76
|
|
|
76
77
|
// Workspace receipts and markers use the host's identity store (ADR 0032).
|
|
77
78
|
installWindowsIdentityStore();
|
|
78
79
|
registerBuiltInRunners();
|
|
80
|
+
registerBuiltInRunSlots();
|
|
79
81
|
|
|
80
82
|
const SCRIPT = fileURLToPath(import.meta.url);
|
|
81
83
|
const WARM_UP = 3;
|
|
@@ -37,10 +37,12 @@ import type { RunManager as RunManagerInstance } from '../src/workflows/run.ts';
|
|
|
37
37
|
import { noRunners } from '../src/core/runners-under-test.testkit.ts';
|
|
38
38
|
import { installWindowsIdentityStore } from '../src/delegation/windows-identity-store.ts';
|
|
39
39
|
import { registerBuiltInRunners } from '../src/runners/built-in.ts';
|
|
40
|
+
import { registerBuiltInRunSlots } from '../src/built-in-run-slots.ts';
|
|
40
41
|
|
|
41
42
|
// Workspace receipts and markers use the host's identity store (ADR 0032).
|
|
42
43
|
installWindowsIdentityStore();
|
|
43
44
|
registerBuiltInRunners();
|
|
45
|
+
registerBuiltInRunSlots();
|
|
44
46
|
|
|
45
47
|
// The repo's own sandbox for ~/.cezar, so a benchmark never touches the user's registry; one this
|
|
46
48
|
// run creates is removed with the rest of its teardown.
|
|
@@ -29,9 +29,11 @@ import { randomUUID } from 'node:crypto';
|
|
|
29
29
|
import { ClaudeCliRunner } from '../src/runners/claude/claude-cli-runner.ts';
|
|
30
30
|
import { installWindowsIdentityStore } from '../src/delegation/windows-identity-store.ts';
|
|
31
31
|
import { registerBuiltInRunners } from '../src/runners/built-in.ts';
|
|
32
|
+
import { registerBuiltInRunSlots } from '../src/built-in-run-slots.ts';
|
|
32
33
|
|
|
33
34
|
installWindowsIdentityStore();
|
|
34
35
|
registerBuiltInRunners();
|
|
36
|
+
registerBuiltInRunSlots();
|
|
35
37
|
const ownHome = prepareBenchmarkEnv();
|
|
36
38
|
process.env.CEZ_DRY_RUN = '1'; process.env.CEZ_AUTONAME = '0'; process.env.CEZ_MOCK_NUDGE_REPLY = 'plain'; process.env.CEZ_MOCK_NOTES = '0';
|
|
37
39
|
|
|
@@ -43,10 +43,12 @@ import { pathToFileURL } from 'node:url';
|
|
|
43
43
|
import { parseArgs } from 'node:util';
|
|
44
44
|
import { installWindowsIdentityStore } from '../src/delegation/windows-identity-store.ts';
|
|
45
45
|
import { registerBuiltInRunners } from '../src/runners/built-in.ts';
|
|
46
|
+
import { registerBuiltInRunSlots } from '../src/built-in-run-slots.ts';
|
|
46
47
|
|
|
47
48
|
// Workspace receipts and markers use the host's identity store (ADR 0032).
|
|
48
49
|
installWindowsIdentityStore();
|
|
49
50
|
registerBuiltInRunners();
|
|
51
|
+
registerBuiltInRunSlots();
|
|
50
52
|
|
|
51
53
|
type RunManager = import('../src/workflows/run.ts').RunManager;
|
|
52
54
|
type RunRecord = import('../src/runs/store.ts').RunRecord;
|
|
@@ -30,6 +30,7 @@ import { parseArgs } from 'node:util';
|
|
|
30
30
|
import { makeRunRecord } from '@open-mercato/cezar-contract/test-factories.testkit';
|
|
31
31
|
import { benchAt as at, median, runSizes, withSeededStore } from './benchmark-store-fixture.ts';
|
|
32
32
|
import { reclaimWorktrees } from '../src/runs/retention.ts';
|
|
33
|
+
import { registerBuiltInRunSlots } from '../src/built-in-run-slots.ts';
|
|
33
34
|
import type { RunRecord } from '../src/runs/store.ts';
|
|
34
35
|
|
|
35
36
|
export interface RetentionBenchOptions {
|
|
@@ -123,6 +124,7 @@ export function formatRetentionTable(base: RetentionBenchArgs['base'], rows: rea
|
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
async function main(): Promise<void> {
|
|
127
|
+
registerBuiltInRunSlots();
|
|
126
128
|
const { sizes, base, out } = parseRetentionBenchArgs(process.argv.slice(2));
|
|
127
129
|
await runSizes(sizes, out, workers => measureRetention({ ...base, workers }), rows => formatRetentionTable(base, rows));
|
|
128
130
|
}
|
|
@@ -29,8 +29,11 @@ try {
|
|
|
29
29
|
dataDir = projectPaths(join(root, 'cold-project')).write;
|
|
30
30
|
const { startServer } = await import(new URL('server/start-server.js', runtime.url));
|
|
31
31
|
const { registerBuiltInRunners } = await import(new URL('runners/built-in.js', runtime.url));
|
|
32
|
-
// This measurement is a process entry like index.ts: the server reads every registered runner
|
|
32
|
+
// This measurement is a process entry like index.ts: the server reads every registered runner,
|
|
33
|
+
// and a reclaim or a deletion asks the removal slots.
|
|
33
34
|
registerBuiltInRunners();
|
|
35
|
+
const { registerBuiltInRunSlots } = await import(new URL('built-in-run-slots.js', runtime.url));
|
|
36
|
+
registerBuiltInRunSlots();
|
|
34
37
|
const { RunManager } = await import(new URL('workflows/run.js', runtime.url));
|
|
35
38
|
const { acquireCiResources } = await import(new URL('ci-wait/resources.js', runtime.url));
|
|
36
39
|
const { resolveHome } = await import(new URL('home/resolve.js', runtime.url));
|