@hearsay-tools/squawk 0.18.0-pr4285.8285 → 0.18.0-pr4286.8294
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/runners/claude/claude-executable.js +3 -9
- package/dist/runners/claude/claude-executable.js.map +1 -1
- package/dist/runners/claude/claude-model-catalog.d.ts +1 -1
- package/dist/runners/claude/claude-model-catalog.js +1 -1
- package/dist/runners/claude/claude-model-catalog.js.map +1 -1
- package/dist/runners/claude/claude-skill-catalog.d.ts +1 -1
- package/dist/runners/claude/claude-skill-catalog.js +1 -1
- package/dist/runners/claude/claude-skill-catalog.js.map +1 -1
- package/dist/runners/codex/codex-app-server-transport.js +3 -3
- package/dist/runners/codex/codex-app-server-transport.js.map +1 -1
- package/dist/runners/codex/codex-approvals.d.ts +1 -1
- package/dist/runners/codex/codex-approvals.js +1 -1
- package/dist/runners/codex/codex-approvals.js.map +1 -1
- package/dist/runners/codex/codex-model-catalog.d.ts +1 -1
- package/dist/runners/codex/codex-model-catalog.js +1 -1
- package/dist/runners/codex/codex-model-catalog.js.map +1 -1
- package/dist/runners/codex/codex-permissions.js +1 -1
- package/dist/runners/codex/codex-permissions.js.map +1 -1
- package/dist/runners/codex/codex-skill-catalog.d.ts +1 -1
- package/dist/runners/codex/codex-skill-catalog.js +1 -1
- package/dist/runners/codex/codex-skill-catalog.js.map +1 -1
- package/dist/runners/omp/omp-runner.js +13 -4
- package/dist/runners/omp/omp-runner.js.map +1 -1
- package/dist/runners/omp/omp-skill-catalog.d.ts +1 -1
- package/dist/runners/omp/omp-skill-catalog.js +1 -1
- package/dist/runners/omp/omp-skill-catalog.js.map +1 -1
- package/dist/runners/opencode/opencode-permissions.d.ts +1 -2
- package/dist/runners/opencode/opencode-permissions.js +1 -1
- package/dist/runners/opencode/opencode-permissions.js.map +1 -1
- package/dist/runners/opencode/opencode-server-runner.js +3 -3
- package/dist/runners/opencode/opencode-server-runner.js.map +1 -1
- package/dist/runners/opencode/opencode-skill-catalog.d.ts +1 -1
- package/dist/runners/opencode/opencode-skill-catalog.js +1 -1
- package/dist/runners/opencode/opencode-skill-catalog.js.map +1 -1
- package/dist/runners/opencode/opencode-task-scope.js +1 -1
- package/dist/runners/opencode/opencode-task-scope.js.map +1 -1
- package/dist/runners/pi/pi-args.js +3 -3
- package/dist/runners/pi/pi-args.js.map +1 -1
- package/dist/runners/pi/pi-runner.js +14 -6
- package/dist/runners/pi/pi-runner.js.map +1 -1
- package/dist/runners/pi/pi-skill-catalog.d.ts +1 -1
- package/dist/runners/pi/pi-skill-catalog.js +1 -1
- package/dist/runners/pi/pi-skill-catalog.js.map +1 -1
- package/dist/runners/pi/runaway-reply.js +1 -1
- package/dist/runners/pi/runaway-reply.js.map +1 -1
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/server.d.ts +1520 -1520
- package/package.json +4 -4
- package/{dist/runners/omp → scripts}/omp-ci-wait.mjs +6 -14
- package/scripts/pi-ci-wait.mjs +7 -0
- package/scripts/pi-runaway-reply-guard.d.mts +3 -0
- package/dist/runners/pi/extensions/pi-ci-wait.mjs +0 -10
- package/scripts/opencode-task-scope.d.mts +0 -18
- /package/{scripts → dist/runners/opencode}/opencode-task-scope.mjs +0 -0
- /package/{dist/runners/pi/extensions → scripts}/pi-default-tools.mjs +0 -0
- /package/{dist/runners/pi/extensions → scripts}/pi-project-skills.mjs +0 -0
- /package/{dist/runners/pi/extensions → scripts}/pi-retry-degraded-service.mjs +0 -0
- /package/{dist/runners/pi/extensions → scripts}/pi-runaway-reply-guard.mjs +0 -0
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-pr4286.8294",
|
|
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-pr4286.8294",
|
|
72
|
+
"@open-mercato/cezar-contract": "0.18.0-pr4286.8294",
|
|
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": "bdf400f25b8ec7fd79c93b0f4a0f0f5604e18b17"
|
|
90
90
|
}
|
|
@@ -1,27 +1,19 @@
|
|
|
1
1
|
// OMP (Oh My Pi) extension: registers Squawk's tools in OMP's own process (#595). Same shape as
|
|
2
2
|
// pi-ci-wait.mjs; OMP's `pi.registerTool` takes the JSON Schema `parameters` as Pi does.
|
|
3
|
-
// Resolve
|
|
3
|
+
// Resolve beside this installed script; no private workspace dependency or download.
|
|
4
4
|
import { existsSync } from 'node:fs';
|
|
5
5
|
import { fileURLToPath } from 'node:url';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const rawUrl = process.env.HSQ_TOOL_CLIENT ?? process.env.CEZ_TOOL_CLIENT;
|
|
9
|
-
if (!rawUrl) {
|
|
10
|
-
throw new Error('HSQ_TOOL_CLIENT is not set; Squawk must provide the tool client URL in the session environment.');
|
|
11
|
-
}
|
|
12
|
-
const clientUrl = new URL(rawUrl);
|
|
13
|
-
const builtUrl = new URL('../../dist/ci-wait/client.js', clientUrl);
|
|
6
|
+
const source = new URL('../src/ci-wait/client.ts', import.meta.url);
|
|
7
|
+
const built = new URL('../dist/ci-wait/client.js', import.meta.url);
|
|
14
8
|
// Unlike Pi's loader, OMP's cannot resolve the workspace contract package from a source checkout
|
|
15
9
|
// (v18.4.11), so a failed source import falls back to the built output, but only when it exists:
|
|
16
10
|
// otherwise the source error is the real cause and is rethrown, not hidden behind a missing dist.
|
|
17
11
|
const loadBuilt = (error) => {
|
|
18
|
-
if (
|
|
12
|
+
if (!existsSync(fileURLToPath(built))) throw error;
|
|
19
13
|
process.stderr.write('Squawk: loading built Squawk tools from dist/; rebuild after changing src/ci-wait\n');
|
|
20
|
-
return import(
|
|
14
|
+
return import(built.href);
|
|
21
15
|
};
|
|
22
|
-
const { registerRemoteSquawkTools } = await (
|
|
23
|
-
clientUrl.pathname.endsWith('.ts') ? import(clientUrl.href).catch(loadBuilt) : import(clientUrl.href)
|
|
24
|
-
);
|
|
16
|
+
const { registerRemoteSquawkTools } = await (existsSync(source) ? import(source.href).catch(loadBuilt) : import(built.href));
|
|
25
17
|
// #781: the shared Squawk tool list, read in OMP's own process, whose env carries the opt-in.
|
|
26
18
|
// `ompTools` admits exactly these names to `--tools`: OMP exits 2 on a name nothing registered.
|
|
27
19
|
export default registerRemoteSquawkTools;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Pi 0.87.0 extension API accepts JSON Schema (TypeBox-compatible parameters).
|
|
2
|
+
// Resolve beside this installed script; no private workspace dependency or download.
|
|
3
|
+
import { existsSync } from 'node:fs';
|
|
4
|
+
const source = new URL('../src/ci-wait/client.ts', import.meta.url);
|
|
5
|
+
const { registerRemoteSquawkTools } = await import(existsSync(source) ? source.href : new URL('../dist/ci-wait/client.js', import.meta.url).href);
|
|
6
|
+
// #781: the shared Squawk tool list, read in Pi's own process, whose env carries the opt-in.
|
|
7
|
+
export default registerRemoteSquawkTools;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// Pi 0.87.0 extension API accepts JSON Schema (TypeBox-compatible parameters).
|
|
2
|
-
// Resolve the tool client from the session environment; no path relative to this script.
|
|
3
|
-
// oxlint-disable-next-line cez/product-env-read -- Runs in Pi's own process without Squawk's module resolver; HSQ_TOOL_CLIENT is the bootstrap URL.
|
|
4
|
-
const rawUrl = process.env.HSQ_TOOL_CLIENT ?? process.env.CEZ_TOOL_CLIENT;
|
|
5
|
-
if (!rawUrl) {
|
|
6
|
-
throw new Error('HSQ_TOOL_CLIENT is not set; Squawk must provide the tool client URL in the session environment.');
|
|
7
|
-
}
|
|
8
|
-
const { registerRemoteSquawkTools } = await import(new URL(rawUrl).href);
|
|
9
|
-
// #781: the shared Squawk tool list, read in Pi's own process, whose env carries the opt-in.
|
|
10
|
-
export default registerRemoteSquawkTools;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/** Types for the OpenCode plugin in opencode-task-scope.mjs, for its tests. */
|
|
2
|
-
export interface TaskScopeClient {
|
|
3
|
-
session: {
|
|
4
|
-
get(options: { path: { id: string }; sessionID: string }): Promise<{
|
|
5
|
-
data?: { id: string; parentID?: string } | undefined;
|
|
6
|
-
response?: { status: number } | undefined;
|
|
7
|
-
}>;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface TaskScopeHooks {
|
|
12
|
-
'tool.execute.before': (
|
|
13
|
-
input: { tool: string; sessionID: string; callID: string },
|
|
14
|
-
output: { args: unknown },
|
|
15
|
-
) => Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export declare const SquawkTaskScope: (input: { client: TaskScopeClient }) => Promise<TaskScopeHooks>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|