@hearsay-tools/squawk 0.18.0-pr4145.8003.2 → 0.18.0-pr4149.8007

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.
Files changed (60) hide show
  1. package/dist/ci-wait/controller.d.ts +4 -4
  2. package/dist/ci-wait/controller.js +1 -1
  3. package/dist/ci-wait/controller.js.map +1 -1
  4. package/dist/ci-wait/tool-catalog.d.ts +10 -0
  5. package/dist/ci-wait/tool-catalog.js +21 -1
  6. package/dist/ci-wait/tool-catalog.js.map +1 -1
  7. package/dist/ci-wait/tools.d.ts +1 -3
  8. package/dist/ci-wait/tools.js +1 -3
  9. package/dist/ci-wait/tools.js.map +1 -1
  10. package/dist/delegation/conversations.d.ts +2 -1
  11. package/dist/delegation/conversations.js +1 -1
  12. package/dist/delegation/conversations.js.map +1 -1
  13. package/dist/delegation/routes.d.ts +12 -12
  14. package/dist/delegation/transport.d.ts +17 -17
  15. package/dist/preview/agent-address.js +1 -1
  16. package/dist/preview/agent-address.js.map +1 -1
  17. package/dist/preview/run-tools.js +1 -1
  18. package/dist/preview/run-tools.js.map +1 -1
  19. package/dist/project-migration/live.d.ts +1 -1
  20. package/dist/project-migration/live.js +1 -1
  21. package/dist/project-migration/live.js.map +1 -1
  22. package/dist/runners/antigravity/antigravity-session.js +1 -1
  23. package/dist/runners/antigravity/antigravity-session.js.map +1 -1
  24. package/dist/runners/claude/claude-cli-runner.js +1 -1
  25. package/dist/runners/claude/claude-cli-runner.js.map +1 -1
  26. package/dist/runners/codex/codex-thread-config.js +1 -1
  27. package/dist/runners/codex/codex-thread-config.js.map +1 -1
  28. package/dist/runners/omp/omp-runner.js +1 -1
  29. package/dist/runners/omp/omp-runner.js.map +1 -1
  30. package/dist/runners/pi/pi-runner.js +1 -1
  31. package/dist/runners/pi/pi-runner.js.map +1 -1
  32. package/dist/runs/run-decode.d.ts +3128 -0
  33. package/dist/runs/run-decode.js +132 -0
  34. package/dist/runs/run-decode.js.map +1 -0
  35. package/dist/runs/run-index.d.ts +5 -1
  36. package/dist/runs/run-index.js +6 -1
  37. package/dist/runs/run-index.js.map +1 -1
  38. package/dist/runs/store.d.ts +4 -3131
  39. package/dist/runs/store.js +4 -132
  40. package/dist/runs/store.js.map +1 -1
  41. package/dist/serve-command.d.ts +1 -1
  42. package/dist/serve-command.js +1 -1
  43. package/dist/serve-command.js.map +1 -1
  44. package/dist/server/live-routes.d.ts +6 -6
  45. package/dist/server/preview-cdp-socket.js +1 -1
  46. package/dist/server/preview-cdp-socket.js.map +1 -1
  47. package/dist/server/preview-socket.js +1 -1
  48. package/dist/server/preview-socket.js.map +1 -1
  49. package/dist/server/server.d.ts +700 -700
  50. package/dist/server/server.js +1 -2
  51. package/dist/server/server.js.map +1 -1
  52. package/dist/workflows/run/opening.d.ts +2 -2
  53. package/dist/workflows/run/workflow-position.d.ts +6 -6
  54. package/package.json +4 -4
  55. package/dist/ci-wait/tool-env.d.ts +0 -4
  56. package/dist/ci-wait/tool-env.js +0 -11
  57. package/dist/ci-wait/tool-env.js.map +0 -1
  58. package/dist/ci-wait/tool-names.d.ts +0 -10
  59. package/dist/ci-wait/tool-names.js +0 -21
  60. package/dist/ci-wait/tool-names.js.map +0 -1
@@ -10,13 +10,13 @@ export interface OpeningHost {
10
10
  };
11
11
  }
12
12
  /** Phase bindings preserve the existing opening call points. */
13
- export declare const continuationOpening: (store: import("../../runs/store.ts").RunStore, host: OpeningHost, runId: string, stepId: string, state: import("../active-run.ts").ActiveRun, record: import("../../runs/store.ts").RunRecord | undefined, input: {
13
+ export declare const continuationOpening: (store: import("../../runs/store.ts").RunStore, host: OpeningHost, runId: string, stepId: string, state: import("../active-run.ts").ActiveRun, record: import("../../runs/run-decode.ts").RunRecord | undefined, input: {
14
14
  prompt: string;
15
15
  images: import("../pasted-content.ts").PastedContent[];
16
16
  persistedImages: ContentBlock[];
17
17
  persistedAttachments: PersistedAttachment[];
18
18
  }) => import("./types.ts").ContinuationOpening;
19
- export declare const continuationImages: (host: OpeningHost, runId: string, stepId: string, checkpoint: import("../../runs/store.ts").RunRecord['continuationMessage'], input: {
19
+ export declare const continuationImages: (host: OpeningHost, runId: string, stepId: string, checkpoint: import("../../runs/run-decode.ts").RunRecord['continuationMessage'], input: {
20
20
  images: import("../pasted-content.ts").PastedContent[];
21
21
  persistedImages: ContentBlock[];
22
22
  persistedAttachments: PersistedAttachment[];
@@ -1,10 +1,10 @@
1
1
  /** Source reads stay at the existing workflow cursor and session-evidence call points. */
2
- export declare const waitingBeforeFinalWorkflowStep: (run: import("../../runs/store.ts").RunRecord, isSyntheticContinuation: (run: import("../../runs/store.ts").RunRecord, step: import("../../runs/store.ts").StepState) => boolean, waitingWorkflowStepIndex: (run: import("../../runs/store.ts").RunRecord) => number) => boolean;
3
- export declare const waitingWorkflowStepIndex: (run: import("../../runs/store.ts").RunRecord, isSyntheticContinuation: (run: import("../../runs/store.ts").RunRecord, step: import("../../runs/store.ts").StepState) => boolean, ciWorkflowResumeStepIndex: (run: import("../../runs/store.ts").RunRecord) => number) => number;
4
- export declare const continuationNextStep: (store: import("../../runs/ports.ts").RunLookup, runId: string, waitingWorkflowStepIndex: (run: import("../../runs/store.ts").RunRecord) => number) => import("../types.ts").WorkflowStepDef | undefined;
5
- export declare const ciWorkflowResumeStepIndex: (run: import("../../runs/store.ts").RunRecord) => number;
2
+ export declare const waitingBeforeFinalWorkflowStep: (run: import("../../runs/run-decode.ts").RunRecord, isSyntheticContinuation: (run: import("../../runs/run-decode.ts").RunRecord, step: import("../../runs/run-decode.ts").StepState) => boolean, waitingWorkflowStepIndex: (run: import("../../runs/run-decode.ts").RunRecord) => number) => boolean;
3
+ export declare const waitingWorkflowStepIndex: (run: import("../../runs/run-decode.ts").RunRecord, isSyntheticContinuation: (run: import("../../runs/run-decode.ts").RunRecord, step: import("../../runs/run-decode.ts").StepState) => boolean, ciWorkflowResumeStepIndex: (run: import("../../runs/run-decode.ts").RunRecord) => number) => number;
4
+ export declare const continuationNextStep: (store: import("../../runs/ports.ts").RunLookup, runId: string, waitingWorkflowStepIndex: (run: import("../../runs/run-decode.ts").RunRecord) => number) => import("../types.ts").WorkflowStepDef | undefined;
5
+ export declare const ciWorkflowResumeStepIndex: (run: import("../../runs/run-decode.ts").RunRecord) => number;
6
6
  export declare const workflowStartIndex: typeof import("../run-scheduling.ts").workflowStartIndex;
7
7
  export declare const resumableSessionId: (store: import("../../runs/ports.ts").RunLookup & {
8
8
  readonly eventLog: import("../../runs/ports.ts").RunEventLog;
9
- }, runId: string, sessionStep: import("../../runs/store.ts").StepState | undefined) => string | undefined;
10
- export declare const isSyntheticContinuation: (run: import("../../runs/store.ts").RunRecord, step: import("../../runs/store.ts").StepState) => boolean;
9
+ }, runId: string, sessionStep: import("../../runs/run-decode.ts").StepState | undefined) => string | undefined;
10
+ export declare const isSyntheticContinuation: (run: import("../../runs/run-decode.ts").RunRecord, step: import("../../runs/run-decode.ts").StepState) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-pr4145.8003.2",
3
+ "version": "0.18.0-pr4149.8007",
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-pr4145.8003.2",
67
- "@open-mercato/cezar-contract": "0.18.0-pr4145.8003.2",
66
+ "@open-mercato/cezar-api-client": "0.18.0-pr4149.8007",
67
+ "@open-mercato/cezar-contract": "0.18.0-pr4149.8007",
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": "513c170360c37f4dbafeaf620051ef3752e7eb2d"
84
+ "gitHead": "f4a7ec46edf725457203ebedb9923a1415c32ca9"
85
85
  }
@@ -1,4 +0,0 @@
1
- /** Live preview is on under the exact value `1` only (spec 2026-10-02-live-preview-v1). */
2
- export declare function previewToolEnabled(env?: NodeJS.ProcessEnv): boolean;
3
- /** Automations are on unless the value is exactly `0` (spec 2026-10-02-scheduled-automations). */
4
- export declare function automationsToolEnabled(env?: NodeJS.ProcessEnv): boolean;
@@ -1,11 +0,0 @@
1
- import { productEnv } from '../core/product-env.js';
2
- import { automationsEnabled } from '../automations/enabled.js';
3
- /** Live preview is on under the exact value `1` only (spec 2026-10-02-live-preview-v1). */
4
- export function previewToolEnabled(env = process.env) {
5
- return productEnv('PREVIEW', env) === '1';
6
- }
7
- /** Automations are on unless the value is exactly `0` (spec 2026-10-02-scheduled-automations). */
8
- export function automationsToolEnabled(env = process.env) {
9
- return automationsEnabled(env);
10
- }
11
- //# sourceMappingURL=tool-env.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tool-env.js","sourceRoot":"","sources":["../../src/ci-wait/tool-env.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,2FAA2F;AAC3F,MAAM,UAAU,kBAAkB,CAAC,GAAG,GAAsB,OAAO,CAAC,GAAG;IACrE,OAAO,UAAU,CAAC,SAAS,EAAE,GAAG,CAAC,KAAK,GAAG,CAAC;AAC5C,CAAC;AAED,kGAAkG;AAClG,MAAM,UAAU,sBAAsB,CAAC,GAAG,GAAsB,OAAO,CAAC,GAAG;IACzE,OAAO,kBAAkB,CAAC,GAAG,CAAC,CAAC;AACjC,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Tool names in the same order `squawkToolDefinitions` advertises them. A leaf, so a runner that
3
- * only needs the names never loads the tool schemas; `ci-wait/tools.test.ts` pins the two lists together.
4
- */
5
- export declare function squawkToolNames(env?: NodeJS.ProcessEnv): string[];
6
- /**
7
- * Env names a harness must forward to the adapter process. Several harnesses spawn MCP servers
8
- * from an allowlist, so preview opt-in and automations opt-out must both reach the adapter.
9
- */
10
- export declare function squawkToolEnvNames(env?: NodeJS.ProcessEnv): string[];
@@ -1,21 +0,0 @@
1
- import { automationsToolEnabled, previewToolEnabled } from './tool-env.js';
2
- /**
3
- * Tool names in the same order `squawkToolDefinitions` advertises them. A leaf, so a runner that
4
- * only needs the names never loads the tool schemas; `ci-wait/tools.test.ts` pins the two lists together.
5
- */
6
- export function squawkToolNames(env = process.env) {
7
- return [
8
- 'cezar_wait', 'cezar_ask', 'cezar_cancel_wait', 'cezar_done',
9
- ...(previewToolEnabled(env) ? ['cezar_preview_serve', 'cezar_preview_stop'] : []),
10
- ...(automationsToolEnabled(env) ? ['cezar_schedule_task', 'cezar_automation', 'cezar_scheduled_tasks'] : []),
11
- ];
12
- }
13
- /**
14
- * Env names a harness must forward to the adapter process. Several harnesses spawn MCP servers
15
- * from an allowlist, so preview opt-in and automations opt-out must both reach the adapter.
16
- */
17
- export function squawkToolEnvNames(env = process.env) {
18
- return ['CEZ_TOOL_TOKEN', 'CEZ_TOOL_SOCKET', 'CEZ_AUTOMATIONS', ...(previewToolEnabled(env) ? ['CEZ_PREVIEW'] : [])]
19
- .flatMap(name => { const preferred = name.replace(/^CEZ_/, 'HSQ_'); return env[preferred] === undefined ? [name] : [name, preferred]; });
20
- }
21
- //# sourceMappingURL=tool-names.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tool-names.js","sourceRoot":"","sources":["../../src/ci-wait/tool-names.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAE3E;;;GAGG;AACH,MAAM,UAAU,eAAe,CAAC,GAAG,GAAsB,OAAO,CAAC,GAAG;IAClE,OAAO;QACL,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,YAAY;QAC5D,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,qBAAqB,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACjF,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KAC7G,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,GAAG,GAAsB,OAAO,CAAC,GAAG;IACrE,OAAO,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;SACjH,OAAO,CAAC,IAAI,CAAC,EAAE,GAAG,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC7I,CAAC"}