@hearsay-tools/squawk 0.18.0-pr4270.8254 → 0.18.0-pr4272.8249
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 +0 -7
- package/dist/boot.js +2 -4
- package/dist/boot.js.map +1 -1
- package/dist/plugin/loader.d.ts +3 -12
- package/dist/plugin/loader.js +4 -6
- package/dist/plugin/loader.js.map +1 -1
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
package/dist/boot.d.ts
CHANGED
|
@@ -13,13 +13,6 @@ export interface BootRuntimeOptions {
|
|
|
13
13
|
* Absent: no host plugin loads, so a test boot never reads the operator's folder.
|
|
14
14
|
*/
|
|
15
15
|
pluginsDir?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Test-only override for the bundled runners folder.
|
|
18
|
-
* Absent: reads this Squawk copy's `runners/` folder and fails closed when it is empty.
|
|
19
|
-
* Present: reads that folder instead and allows it to be empty so tests can boot with host
|
|
20
|
-
* plugins only.
|
|
21
|
-
*/
|
|
22
|
-
bundledRunnersDir?: string | undefined;
|
|
23
16
|
/** Runs once, after registration and before the first full seal. A later boot skips it. */
|
|
24
17
|
beforeSeal?: () => void | Promise<void>;
|
|
25
18
|
}
|
package/dist/boot.js
CHANGED
|
@@ -39,7 +39,7 @@ export function bootRuntime(options) {
|
|
|
39
39
|
});
|
|
40
40
|
return runtimeBoot;
|
|
41
41
|
}
|
|
42
|
-
async function sealRuntime({ pluginsDir,
|
|
42
|
+
async function sealRuntime({ pluginsDir, beforeSeal }) {
|
|
43
43
|
// Built-in runners and host plugins import `@hearsay-tools/squawk/plugin`; map it before either loads.
|
|
44
44
|
installPluginResolveHook();
|
|
45
45
|
// A test may seal a custom command table before dispatch asks for a full boot.
|
|
@@ -56,9 +56,7 @@ async function sealRuntime({ pluginsDir, bundledRunnersDir, beforeSeal }) {
|
|
|
56
56
|
registerBuiltInStepKinds();
|
|
57
57
|
registerBuiltInTools();
|
|
58
58
|
registerBuiltInWaitKinds();
|
|
59
|
-
await (bundledRunnersLoad ??=
|
|
60
|
-
? loader.loadBundledRunners()
|
|
61
|
-
: loader.loadBundledRunners(bundledRunnersDir, { allowEmpty: true }));
|
|
59
|
+
await (bundledRunnersLoad ??= loader.loadBundledRunners());
|
|
62
60
|
if (pluginsDir !== undefined && !hostPluginsLoaded) {
|
|
63
61
|
hostPluginsLoaded = true;
|
|
64
62
|
await loader.loadPluginFolder({ dir: pluginsDir, source: 'host' });
|
package/dist/boot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boot.js","sourceRoot":"","sources":["../src/boot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAChG,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAGpE;;;GAGG;AACH,MAAM,UAAU,WAAW;IACzB,0BAA0B,EAAE,CAAC;IAC7B,sBAAsB,EAAE,CAAC;AAC3B,CAAC;AAED,oGAAoG;AACpG,MAAM,UAAU,cAAc,CAAC,IAAgB,EAAE,IAAI,GAA2B,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC;IACzG,IAAI,CAAC;QACH,OAAO,IAAI,EAAE,CAAC,OAAO,CAAC;IACxB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,oCAAoC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC;QACjI,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;
|
|
1
|
+
{"version":3,"file":"boot.js","sourceRoot":"","sources":["../src/boot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE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AAC"}
|
package/dist/plugin/loader.d.ts
CHANGED
|
@@ -48,22 +48,13 @@ export interface LoadPluginFolderOptions {
|
|
|
48
48
|
* the process report. Installs the `@hearsay-tools/squawk/plugin` resolve hook first.
|
|
49
49
|
*/
|
|
50
50
|
export declare function loadPluginFolder({ dir, source, warn }: LoadPluginFolderOptions): Promise<PluginLoadReport>;
|
|
51
|
-
export interface LoadBundledRunnersOptions {
|
|
52
|
-
/**
|
|
53
|
-
* Allow `dir` to hold no bundled runner. Test-only: `bootRuntime({ bundledRunnersDir })` sets
|
|
54
|
-
* this when overriding the bundled folder so tests and live-run wrappers can boot with host
|
|
55
|
-
* plugins only. Default boot keeps this false so an empty bundle fails closed.
|
|
56
|
-
*/
|
|
57
|
-
allowEmpty?: boolean;
|
|
58
|
-
}
|
|
59
51
|
/**
|
|
60
52
|
* Load the bundled runners under `dir` (default: the `runners/` folder of this Squawk copy) in
|
|
61
53
|
* display order, each through `runPluginSetup` like a host plugin, and add them to the report as
|
|
62
|
-
* `bundled`. A folder with no bundled runner
|
|
63
|
-
*
|
|
64
|
-
* runner it promises, and boot stops instead of hiding the defect.
|
|
54
|
+
* `bundled`. A folder with no bundled runner, or a bundled runner that fails to import or to register, throws: Squawk shipped it, so
|
|
55
|
+
* the cockpit would miss a runner it promises, and boot stops instead of hiding the defect.
|
|
65
56
|
*/
|
|
66
|
-
export declare function loadBundledRunners(dir?: string
|
|
57
|
+
export declare function loadBundledRunners(dir?: string): Promise<PluginLoadReport>;
|
|
67
58
|
/**
|
|
68
59
|
* The text health sends for each reason. A plugin's own message can name host paths or carry a
|
|
69
60
|
* secret, and health is CORS-open, so health never sends it; `hsq plugins` on the host does.
|
package/dist/plugin/loader.js
CHANGED
|
@@ -128,16 +128,14 @@ function addToReport(dir, loaded, failed) {
|
|
|
128
128
|
/**
|
|
129
129
|
* Load the bundled runners under `dir` (default: the `runners/` folder of this Squawk copy) in
|
|
130
130
|
* display order, each through `runPluginSetup` like a host plugin, and add them to the report as
|
|
131
|
-
* `bundled`. A folder with no bundled runner
|
|
132
|
-
*
|
|
133
|
-
* runner it promises, and boot stops instead of hiding the defect.
|
|
131
|
+
* `bundled`. A folder with no bundled runner, or a bundled runner that fails to import or to register, throws: Squawk shipped it, so
|
|
132
|
+
* the cockpit would miss a runner it promises, and boot stops instead of hiding the defect.
|
|
134
133
|
*/
|
|
135
|
-
export async function loadBundledRunners(dir = bundledRunnersDir()
|
|
134
|
+
export async function loadBundledRunners(dir = bundledRunnersDir()) {
|
|
136
135
|
const folders = bundledRunnerFolders(dir);
|
|
137
136
|
// Squawk always ships its runners: none found means a broken build, never an empty cockpit.
|
|
138
|
-
if (folders.length === 0
|
|
137
|
+
if (folders.length === 0)
|
|
139
138
|
throw new Error(`No bundled runner was found in ${dir}: Squawk ships runners/<id>/index.js for each runner; rebuild it.`);
|
|
140
|
-
}
|
|
141
139
|
installPluginResolveHook();
|
|
142
140
|
const loaded = [];
|
|
143
141
|
for (const { id, path, entry } of folders) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loader.js","sourceRoot":"","sources":["../../src/plugin/loader.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAe,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,cAAc,EAA+C,MAAM,UAAU,CAAC;AACvF,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAiC7D,MAAM,iBAAkB,SAAQ,KAAK;IACd,MAAM;IAA3B,YAAqB,MAA2B,EAAE,OAAe;QAC/D,KAAK,CAAC,OAAO,CAAC,CAAC;sBADI,MAAM;IAE3B,CAAC;CACF;AASD,MAAM,YAAY,GAAqB,MAAM,CAAC,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AAK,EAAE,yFAAyF;CACjG,CAAC;AAEF;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,MAAwB,EAAE,EAAE,SAAS,EAA0B;IAC1F,MAAM,KAAK,GAAG,CAAC,MAAmC,EAAqB,EAAE,CACvE,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;IAC7H,OAAO;QACL,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC;QAChC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,mBAAmB,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;KACvG,CAAC;AACJ,CAAC"}
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4678,6 +4678,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4678
4678
|
} & {
|
|
4679
4679
|
"/repo/commit/:sha": {
|
|
4680
4680
|
$get: {
|
|
4681
|
+
output: string;
|
|
4682
|
+
outputFormat: "text";
|
|
4683
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4684
|
+
input: {
|
|
4685
|
+
query: {
|
|
4686
|
+
structured?: string | undefined;
|
|
4687
|
+
};
|
|
4688
|
+
} & {
|
|
4689
|
+
param: {
|
|
4690
|
+
sha: string;
|
|
4691
|
+
};
|
|
4692
|
+
};
|
|
4693
|
+
} | {
|
|
4681
4694
|
output: {
|
|
4682
4695
|
error: string;
|
|
4683
4696
|
code?: "invalid_input" | undefined;
|
|
@@ -4741,19 +4754,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4741
4754
|
sha: string;
|
|
4742
4755
|
};
|
|
4743
4756
|
};
|
|
4744
|
-
} | {
|
|
4745
|
-
output: string;
|
|
4746
|
-
outputFormat: "text";
|
|
4747
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4748
|
-
input: {
|
|
4749
|
-
query: {
|
|
4750
|
-
structured?: string | undefined;
|
|
4751
|
-
};
|
|
4752
|
-
} & {
|
|
4753
|
-
param: {
|
|
4754
|
-
sha: string;
|
|
4755
|
-
};
|
|
4756
|
-
};
|
|
4757
4757
|
};
|
|
4758
4758
|
};
|
|
4759
4759
|
} & {
|
|
@@ -19221,20 +19221,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19221
19221
|
} & {
|
|
19222
19222
|
"/runs/:id/handoff": {
|
|
19223
19223
|
$get: {
|
|
19224
|
-
output:
|
|
19225
|
-
|
|
19226
|
-
|
|
19227
|
-
outputFormat: "json";
|
|
19228
|
-
status: 404;
|
|
19224
|
+
output: string;
|
|
19225
|
+
outputFormat: "text";
|
|
19226
|
+
status: 200;
|
|
19229
19227
|
input: {
|
|
19230
19228
|
param: {
|
|
19231
19229
|
id: string;
|
|
19232
19230
|
};
|
|
19233
19231
|
};
|
|
19234
19232
|
} | {
|
|
19235
|
-
output:
|
|
19236
|
-
|
|
19237
|
-
|
|
19233
|
+
output: {
|
|
19234
|
+
error: string;
|
|
19235
|
+
};
|
|
19236
|
+
outputFormat: "json";
|
|
19237
|
+
status: 404;
|
|
19238
19238
|
input: {
|
|
19239
19239
|
param: {
|
|
19240
19240
|
id: string;
|
|
@@ -19272,20 +19272,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19272
19272
|
} & {
|
|
19273
19273
|
"/runs/:id/diff": {
|
|
19274
19274
|
$get: {
|
|
19275
|
-
output:
|
|
19276
|
-
|
|
19277
|
-
|
|
19278
|
-
outputFormat: "json";
|
|
19279
|
-
status: 404 | 409;
|
|
19275
|
+
output: string;
|
|
19276
|
+
outputFormat: "text";
|
|
19277
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19280
19278
|
input: {
|
|
19281
19279
|
param: {
|
|
19282
19280
|
id: string;
|
|
19283
19281
|
};
|
|
19284
19282
|
};
|
|
19285
19283
|
} | {
|
|
19286
|
-
output:
|
|
19287
|
-
|
|
19288
|
-
|
|
19284
|
+
output: {
|
|
19285
|
+
error: string;
|
|
19286
|
+
};
|
|
19287
|
+
outputFormat: "json";
|
|
19288
|
+
status: 404 | 409;
|
|
19289
19289
|
input: {
|
|
19290
19290
|
param: {
|
|
19291
19291
|
id: string;
|
|
@@ -21332,6 +21332,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21332
21332
|
} & {
|
|
21333
21333
|
"/repo/commit/:sha": {
|
|
21334
21334
|
$get: {
|
|
21335
|
+
output: string;
|
|
21336
|
+
outputFormat: "text";
|
|
21337
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21338
|
+
input: {
|
|
21339
|
+
query: {
|
|
21340
|
+
structured?: string | undefined;
|
|
21341
|
+
};
|
|
21342
|
+
} & {
|
|
21343
|
+
param: {
|
|
21344
|
+
sha: string;
|
|
21345
|
+
};
|
|
21346
|
+
};
|
|
21347
|
+
} | {
|
|
21335
21348
|
output: {
|
|
21336
21349
|
error: string;
|
|
21337
21350
|
code?: "invalid_input" | undefined;
|
|
@@ -21395,19 +21408,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21395
21408
|
sha: string;
|
|
21396
21409
|
};
|
|
21397
21410
|
};
|
|
21398
|
-
} | {
|
|
21399
|
-
output: string;
|
|
21400
|
-
outputFormat: "text";
|
|
21401
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21402
|
-
input: {
|
|
21403
|
-
query: {
|
|
21404
|
-
structured?: string | undefined;
|
|
21405
|
-
};
|
|
21406
|
-
} & {
|
|
21407
|
-
param: {
|
|
21408
|
-
sha: string;
|
|
21409
|
-
};
|
|
21410
|
-
};
|
|
21411
21411
|
};
|
|
21412
21412
|
};
|
|
21413
21413
|
} & {
|
|
@@ -35875,20 +35875,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35875
35875
|
} & {
|
|
35876
35876
|
"/runs/:id/handoff": {
|
|
35877
35877
|
$get: {
|
|
35878
|
-
output:
|
|
35879
|
-
|
|
35880
|
-
|
|
35881
|
-
outputFormat: "json";
|
|
35882
|
-
status: 404;
|
|
35878
|
+
output: string;
|
|
35879
|
+
outputFormat: "text";
|
|
35880
|
+
status: 200;
|
|
35883
35881
|
input: {
|
|
35884
35882
|
param: {
|
|
35885
35883
|
id: string;
|
|
35886
35884
|
};
|
|
35887
35885
|
};
|
|
35888
35886
|
} | {
|
|
35889
|
-
output:
|
|
35890
|
-
|
|
35891
|
-
|
|
35887
|
+
output: {
|
|
35888
|
+
error: string;
|
|
35889
|
+
};
|
|
35890
|
+
outputFormat: "json";
|
|
35891
|
+
status: 404;
|
|
35892
35892
|
input: {
|
|
35893
35893
|
param: {
|
|
35894
35894
|
id: string;
|
|
@@ -35926,20 +35926,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35926
35926
|
} & {
|
|
35927
35927
|
"/runs/:id/diff": {
|
|
35928
35928
|
$get: {
|
|
35929
|
-
output:
|
|
35930
|
-
|
|
35931
|
-
|
|
35932
|
-
outputFormat: "json";
|
|
35933
|
-
status: 404 | 409;
|
|
35929
|
+
output: string;
|
|
35930
|
+
outputFormat: "text";
|
|
35931
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
35934
35932
|
input: {
|
|
35935
35933
|
param: {
|
|
35936
35934
|
id: string;
|
|
35937
35935
|
};
|
|
35938
35936
|
};
|
|
35939
35937
|
} | {
|
|
35940
|
-
output:
|
|
35941
|
-
|
|
35942
|
-
|
|
35938
|
+
output: {
|
|
35939
|
+
error: string;
|
|
35940
|
+
};
|
|
35941
|
+
outputFormat: "json";
|
|
35942
|
+
status: 404 | 409;
|
|
35943
35943
|
input: {
|
|
35944
35944
|
param: {
|
|
35945
35945
|
id: string;
|
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-pr4272.8249",
|
|
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-
|
|
72
|
-
"@open-mercato/cezar-contract": "0.18.0-
|
|
71
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr4272.8249",
|
|
72
|
+
"@open-mercato/cezar-contract": "0.18.0-pr4272.8249",
|
|
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": "f9fc75aa0ffaec2993e56104b57485554a9540c2"
|
|
90
90
|
}
|