@hearsay-tools/squawk 0.18.0-dev.8176 → 0.18.0-dev.8183
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/boot.d.ts +4 -2
- package/dist/boot.js +9 -5
- package/dist/boot.js.map +1 -1
- package/dist/built-in-run-slots.d.ts +1 -1
- package/dist/built-in-run-slots.js +1 -1
- package/dist/core/agent-runner.d.ts +1 -1
- package/dist/core/agent-runner.js +1 -1
- package/dist/core/runner-registry.js +1 -1
- package/dist/core/runner-registry.js.map +1 -1
- package/dist/pack-check.d.ts +8 -1
- package/dist/pack-check.js +25 -1
- package/dist/pack-check.js.map +1 -1
- package/dist/plugin/bundled-runners.d.ts +28 -0
- package/dist/plugin/bundled-runners.js +56 -0
- package/dist/plugin/bundled-runners.js.map +1 -0
- package/dist/plugin/cli.js +5 -4
- package/dist/plugin/cli.js.map +1 -1
- package/dist/plugin/loader.d.ts +10 -1
- package/dist/plugin/loader.js +31 -0
- package/dist/plugin/loader.js.map +1 -1
- package/dist/runners/antigravity/index.d.ts +6 -0
- package/dist/runners/antigravity/index.js +9 -0
- package/dist/runners/antigravity/index.js.map +1 -0
- package/dist/runners/claude/index.d.ts +6 -0
- package/dist/runners/claude/index.js +9 -0
- package/dist/runners/claude/index.js.map +1 -0
- package/dist/runners/codex/index.d.ts +6 -0
- package/dist/runners/codex/index.js +9 -0
- package/dist/runners/codex/index.js.map +1 -0
- package/dist/runners/omp/index.d.ts +6 -0
- package/dist/runners/omp/index.js +9 -0
- package/dist/runners/omp/index.js.map +1 -0
- package/dist/runners/opencode/index.d.ts +6 -0
- package/dist/runners/opencode/index.js +9 -0
- package/dist/runners/opencode/index.js.map +1 -0
- package/dist/runners/pi/index.d.ts +6 -0
- package/dist/runners/pi/index.js +9 -0
- package/dist/runners/pi/index.js.map +1 -0
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/server.d.ts +1615 -1615
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/package.json +4 -4
- package/scripts/benchmark-runtime.ts +5 -3
- package/scripts/check-pack.mjs +5 -2
- package/scripts/measure-transcript-facts-health.mjs +4 -3
- package/scripts/parity-rows.ts +1 -1
- package/dist/runners/built-in.d.ts +0 -10
- package/dist/runners/built-in.js +0 -20
- package/dist/runners/built-in.js.map +0 -1
- package/dist/runners/ids.d.ts +0 -8
- package/dist/runners/ids.js +0 -9
- package/dist/runners/ids.js.map +0 -1
|
@@ -7,12 +7,6 @@ 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
|
-
} | {
|
|
16
10
|
projectId: string;
|
|
17
11
|
runId: string;
|
|
18
12
|
type: "batch";
|
|
@@ -26,6 +20,12 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
26
20
|
cursor: string;
|
|
27
21
|
afterSeq: number;
|
|
28
22
|
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.8183",
|
|
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",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@babel/parser": "^8.0.8",
|
|
70
70
|
"@babel/types": "^8.0.8",
|
|
71
|
-
"@open-mercato/cezar-api-client": "0.18.0-dev.
|
|
72
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
71
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.8183",
|
|
72
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.8183",
|
|
73
73
|
"@types/node": "^24.19.1",
|
|
74
74
|
"@types/ws": "^8.18.1",
|
|
75
75
|
"esbuild": "^0.28.1",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "584679c160b0e12dc758ef46b46038bc2c68c901"
|
|
90
90
|
}
|
|
@@ -6,14 +6,16 @@ import { installPluginResolveHook } from '../src/plugin/resolve-hook.ts';
|
|
|
6
6
|
import { registerBuiltInRunSlots, sealBuiltInRunSlots } from '../src/built-in-run-slots.ts';
|
|
7
7
|
|
|
8
8
|
installPluginResolveHook();
|
|
9
|
-
const {
|
|
9
|
+
const { loadBundledRunners } = await import('../src/plugin/loader.ts');
|
|
10
|
+
const { sealRunners } = await import('../src/core/runner-registry.ts');
|
|
11
|
+
// The bundled runners load at import, so prepareBenchmarkRuntime stays synchronous.
|
|
12
|
+
await loadBundledRunners();
|
|
10
13
|
|
|
11
14
|
/** Boot the process services used by benchmarks that open a run store. */
|
|
12
15
|
export function prepareBenchmarkRuntime(): void {
|
|
13
16
|
// Workspace receipts and markers use the host's identity store (ADR 0032).
|
|
14
17
|
installWindowsIdentityStore();
|
|
15
|
-
|
|
16
|
-
sealBuiltInRunners();
|
|
18
|
+
sealRunners();
|
|
17
19
|
registerBuiltInRunSlots();
|
|
18
20
|
sealBuiltInRunSlots();
|
|
19
21
|
registerBuiltInStepKinds();
|
package/scripts/check-pack.mjs
CHANGED
|
@@ -15,6 +15,7 @@ import { execFileSync } from 'node:child_process';
|
|
|
15
15
|
import path from 'node:path';
|
|
16
16
|
import { fileURLToPath } from 'node:url';
|
|
17
17
|
import { findPackGaps } from '../dist/pack-check.js';
|
|
18
|
+
import { bundledRunnerIds } from '../dist/plugin/bundled-runners.js';
|
|
18
19
|
|
|
19
20
|
const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
20
21
|
|
|
@@ -37,7 +38,9 @@ if (files.length === 0) {
|
|
|
37
38
|
process.exit(1);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
|
-
|
|
41
|
+
// The bundled runners the source declares: each must ship its built plugin entry.
|
|
42
|
+
const runnerIds = bundledRunnerIds(path.join(repoRoot, 'src/runners'));
|
|
43
|
+
const gaps = findPackGaps(files, runnerIds);
|
|
41
44
|
if (gaps.length > 0) {
|
|
42
45
|
console.error('check:pack: the npm tarball would ship a broken cockpit:');
|
|
43
46
|
for (const gap of gaps) console.error(` - ${gap}`);
|
|
@@ -45,4 +48,4 @@ if (gaps.length > 0) {
|
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
const uiFiles = files.filter((f) => f.startsWith('web/dist/')).length;
|
|
48
|
-
console.log(`check:pack ok — ${files.length} files, ${uiFiles} under web/dist (shell + assets present)`);
|
|
51
|
+
console.log(`check:pack ok — ${files.length} files, ${uiFiles} under web/dist (shell + assets present), bundled runners ${runnerIds.join(', ')}`);
|
|
@@ -32,11 +32,12 @@ try {
|
|
|
32
32
|
const { startServer } = await import(new URL('server/start-server.js', runtime.url));
|
|
33
33
|
const { installPluginResolveHook } = await import(new URL('plugin/resolve-hook.js', runtime.url));
|
|
34
34
|
installPluginResolveHook();
|
|
35
|
-
const {
|
|
35
|
+
const { loadBundledRunners } = await import(new URL('plugin/loader.js', runtime.url));
|
|
36
|
+
const { sealRunners } = await import(new URL('core/runner-registry.js', runtime.url));
|
|
36
37
|
// This measurement is a process entry like index.ts: the server reads every registered runner,
|
|
37
38
|
// and a reclaim or a deletion asks the removal slots.
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
await loadBundledRunners();
|
|
40
|
+
sealRunners();
|
|
40
41
|
const { registerBuiltInRunSlots, sealBuiltInRunSlots } = await import(new URL('built-in-run-slots.js', runtime.url));
|
|
41
42
|
registerBuiltInRunSlots();
|
|
42
43
|
sealBuiltInRunSlots();
|
package/scripts/parity-rows.ts
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RunnerDefinition } from '../core/runner-definition.ts';
|
|
2
|
-
/** The runners that ship with Squawk, in display order. A new built-in runner adds one line. */
|
|
3
|
-
export declare const BUILT_IN_RUNNERS: readonly RunnerDefinition[];
|
|
4
|
-
/**
|
|
5
|
-
* Register every built-in runner. Each process entry calls it before it reads config or runs a
|
|
6
|
-
* task. A second call registers the same objects again, which the registry ignores.
|
|
7
|
-
*/
|
|
8
|
-
export declare function registerBuiltInRunners(): void;
|
|
9
|
-
/** Seal after all built-in and additional runner registrations. */
|
|
10
|
-
export { sealRunners as sealBuiltInRunners } from '../core/runner-registry.ts';
|
package/dist/runners/built-in.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { registerRunner } from '../core/runner-registry.js';
|
|
2
|
-
import { claudeRunner } from './claude/definition.js';
|
|
3
|
-
import { codexRunner } from './codex/definition.js';
|
|
4
|
-
import { opencodeRunner } from './opencode/definition.js';
|
|
5
|
-
import { piRunner } from './pi/definition.js';
|
|
6
|
-
import { ompRunner } from './omp/definition.js';
|
|
7
|
-
import { antigravityRunner } from './antigravity/definition.js';
|
|
8
|
-
/** The runners that ship with Squawk, in display order. A new built-in runner adds one line. */
|
|
9
|
-
export const BUILT_IN_RUNNERS = [claudeRunner, codexRunner, opencodeRunner, piRunner, ompRunner, antigravityRunner];
|
|
10
|
-
/**
|
|
11
|
-
* Register every built-in runner. Each process entry calls it before it reads config or runs a
|
|
12
|
-
* task. A second call registers the same objects again, which the registry ignores.
|
|
13
|
-
*/
|
|
14
|
-
export function registerBuiltInRunners() {
|
|
15
|
-
for (const definition of BUILT_IN_RUNNERS)
|
|
16
|
-
registerRunner(definition);
|
|
17
|
-
}
|
|
18
|
-
/** Seal after all built-in and additional runner registrations. */
|
|
19
|
-
export { sealRunners as sealBuiltInRunners } from '../core/runner-registry.js';
|
|
20
|
-
//# sourceMappingURL=built-in.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"built-in.js","sourceRoot":"","sources":["../../src/runners/built-in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,gGAAgG;AAChG,MAAM,CAAC,MAAM,gBAAgB,GAAgC,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;AAGjJ;;;GAGG;AACH,MAAM,UAAU,sBAAsB;IACpC,KAAK,MAAM,UAAU,IAAI,gBAAgB;QAAE,cAAc,CAAC,UAAU,CAAC,CAAC;AACxE,CAAC;AAED,mEAAmE;AACnE,OAAO,EAAE,WAAW,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC"}
|
package/dist/runners/ids.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The ids of the runners Squawk ships, in display order: plain data, the one roster of runner
|
|
3
|
-
* ids (spec 2026-11-18-runner-definitions, decision 5). `runners/built-in.ts` holds the
|
|
4
|
-
* definitions these ids name and checks the two lists match; importing this module loads no
|
|
5
|
-
* definition and no adapter, which is why the global test setup reads it (`vitest.setup.ts`)
|
|
6
|
-
* and why the closure guard (`core/runner-closure.test.ts`) keeps it free of runner code.
|
|
7
|
-
*/
|
|
8
|
-
export declare const BUILT_IN_RUNNER_IDS: readonly string[];
|
package/dist/runners/ids.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The ids of the runners Squawk ships, in display order: plain data, the one roster of runner
|
|
3
|
-
* ids (spec 2026-11-18-runner-definitions, decision 5). `runners/built-in.ts` holds the
|
|
4
|
-
* definitions these ids name and checks the two lists match; importing this module loads no
|
|
5
|
-
* definition and no adapter, which is why the global test setup reads it (`vitest.setup.ts`)
|
|
6
|
-
* and why the closure guard (`core/runner-closure.test.ts`) keeps it free of runner code.
|
|
7
|
-
*/
|
|
8
|
-
export const BUILT_IN_RUNNER_IDS = ['claude', 'codex', 'opencode', 'pi', 'omp', 'antigravity'];
|
|
9
|
-
//# sourceMappingURL=ids.js.map
|
package/dist/runners/ids.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ids.js","sourceRoot":"","sources":["../../src/runners/ids.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAsB,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC"}
|