@hearsay-tools/squawk 0.18.0-dev.7355 → 0.18.0-dev.7375

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.
@@ -82,6 +82,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
82
82
  "/discover": {
83
83
  $post: {
84
84
  output: {
85
+ scope: "host-default-account";
86
+ runners: {
87
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
88
+ enabled?: boolean | undefined;
89
+ hint?: string | undefined;
90
+ authFailureId?: string | undefined;
91
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
92
+ }[];
93
+ } | {
85
94
  runner: "claude" | "codex" | "omp" | "opencode" | "pi";
86
95
  models: {
87
96
  id: string;
@@ -92,15 +101,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
92
101
  source: "cache" | "live" | "unavailable";
93
102
  stale: boolean;
94
103
  reason?: string | undefined;
95
- } | {
96
- scope: "host-default-account";
97
- runners: {
98
- status: "connected" | "disconnected" | "not-installed" | "unknown";
99
- enabled?: boolean | undefined;
100
- hint?: string | undefined;
101
- authFailureId?: string | undefined;
102
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
103
- }[];
104
104
  } | {
105
105
  tasks: {
106
106
  id: string;
@@ -57,15 +57,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
57
57
  "/discover": {
58
58
  $post: {
59
59
  output: {
60
- scope: "host-default-account";
61
- runners: {
62
- status: "connected" | "disconnected" | "not-installed" | "unknown";
63
- enabled?: boolean | undefined;
64
- hint?: string | undefined;
65
- authFailureId?: string | undefined;
66
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
67
- }[];
68
- } | {
69
60
  tasks: {
70
61
  id: string;
71
62
  title: string;
@@ -77,6 +68,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
77
68
  reason?: string | undefined;
78
69
  }[];
79
70
  nextOffset?: number | undefined;
71
+ } | {
72
+ scope: "host-default-account";
73
+ runners: {
74
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
75
+ enabled?: boolean | undefined;
76
+ hint?: string | undefined;
77
+ authFailureId?: string | undefined;
78
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
79
+ }[];
80
80
  } | {
81
81
  runner: "claude" | "codex" | "omp" | "opencode" | "pi";
82
82
  models: {
@@ -196,13 +196,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
196
196
  status: 200;
197
197
  input: {
198
198
  json: {
199
- workerIds: string[];
200
- timeoutSeconds?: number | undefined;
201
- mode?: "all" | "any" | "one" | undefined;
202
- } | {
203
199
  requestIds: string[];
204
200
  mode?: "all" | "any" | "one" | undefined;
205
201
  timeoutSeconds?: number | undefined;
202
+ } | {
203
+ workerIds: string[];
204
+ timeoutSeconds?: number | undefined;
205
+ mode?: "all" | "any" | "one" | undefined;
206
206
  } | {
207
207
  peerIds: string[];
208
208
  timeoutSeconds?: number | undefined;
@@ -4326,6 +4326,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4326
4326
  } & {
4327
4327
  "/repo/commit/:sha": {
4328
4328
  $get: {
4329
+ output: string;
4330
+ outputFormat: "text";
4331
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4332
+ input: {
4333
+ query: {
4334
+ structured?: string | undefined;
4335
+ };
4336
+ } & {
4337
+ param: {
4338
+ sha: string;
4339
+ };
4340
+ };
4341
+ } | {
4329
4342
  output: {
4330
4343
  error: string;
4331
4344
  code?: "invalid_input" | undefined;
@@ -4389,19 +4402,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4389
4402
  sha: string;
4390
4403
  };
4391
4404
  };
4392
- } | {
4393
- output: string;
4394
- outputFormat: "text";
4395
- status: import("hono/utils/http-status").ContentfulStatusCode;
4396
- input: {
4397
- query: {
4398
- structured?: string | undefined;
4399
- };
4400
- } & {
4401
- param: {
4402
- sha: string;
4403
- };
4404
- };
4405
4405
  };
4406
4406
  };
4407
4407
  } & {
@@ -8129,6 +8129,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8129
8129
  } & {
8130
8130
  "/runs/:id/worker-destroy": {
8131
8131
  $post: {
8132
+ output: {
8133
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8134
+ readonly error: string;
8135
+ readonly modelChoices?: {
8136
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
8137
+ requestedModel: string;
8138
+ availableModels: {
8139
+ id: string;
8140
+ label: string;
8141
+ description: string;
8142
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8143
+ }[];
8144
+ otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
8145
+ } | undefined;
8146
+ };
8147
+ outputFormat: "json";
8148
+ status: 400 | 401 | 403 | 409 | 503;
8149
+ input: {
8150
+ query: {
8151
+ [x: string]: string | string[];
8152
+ };
8153
+ } & {
8154
+ param: {
8155
+ id: string;
8156
+ };
8157
+ } & {
8158
+ json: Record<string, never>;
8159
+ };
8160
+ } | {
8132
8161
  output: {
8133
8162
  error: string;
8134
8163
  code?: "invalid_input" | undefined;
@@ -8200,35 +8229,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8200
8229
  } & {
8201
8230
  json: Record<string, never>;
8202
8231
  };
8203
- } | {
8204
- output: {
8205
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8206
- readonly error: string;
8207
- readonly modelChoices?: {
8208
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
8209
- requestedModel: string;
8210
- availableModels: {
8211
- id: string;
8212
- label: string;
8213
- description: string;
8214
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8215
- }[];
8216
- otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
8217
- } | undefined;
8218
- };
8219
- outputFormat: "json";
8220
- status: 400 | 401 | 403 | 409 | 503;
8221
- input: {
8222
- query: {
8223
- [x: string]: string | string[];
8224
- };
8225
- } & {
8226
- param: {
8227
- id: string;
8228
- };
8229
- } & {
8230
- json: Record<string, never>;
8231
- };
8232
8232
  };
8233
8233
  };
8234
8234
  } & {
@@ -17893,20 +17893,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17893
17893
  } & {
17894
17894
  "/runs/:id/handoff": {
17895
17895
  $get: {
17896
- output: {
17897
- error: string;
17898
- };
17899
- outputFormat: "json";
17900
- status: 404;
17896
+ output: string;
17897
+ outputFormat: "text";
17898
+ status: 200;
17901
17899
  input: {
17902
17900
  param: {
17903
17901
  id: string;
17904
17902
  };
17905
17903
  };
17906
17904
  } | {
17907
- output: string;
17908
- outputFormat: "text";
17909
- status: 200;
17905
+ output: {
17906
+ error: string;
17907
+ };
17908
+ outputFormat: "json";
17909
+ status: 404;
17910
17910
  input: {
17911
17911
  param: {
17912
17912
  id: string;
@@ -17944,20 +17944,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17944
17944
  } & {
17945
17945
  "/runs/:id/diff": {
17946
17946
  $get: {
17947
- output: {
17948
- error: string;
17949
- };
17950
- outputFormat: "json";
17951
- status: 404 | 409;
17947
+ output: string;
17948
+ outputFormat: "text";
17949
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17952
17950
  input: {
17953
17951
  param: {
17954
17952
  id: string;
17955
17953
  };
17956
17954
  };
17957
17955
  } | {
17958
- output: string;
17959
- outputFormat: "text";
17960
- status: import("hono/utils/http-status").ContentfulStatusCode;
17956
+ output: {
17957
+ error: string;
17958
+ };
17959
+ outputFormat: "json";
17960
+ status: 404 | 409;
17961
17961
  input: {
17962
17962
  param: {
17963
17963
  id: string;
@@ -20001,6 +20001,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20001
20001
  } & {
20002
20002
  "/repo/commit/:sha": {
20003
20003
  $get: {
20004
+ output: string;
20005
+ outputFormat: "text";
20006
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20007
+ input: {
20008
+ query: {
20009
+ structured?: string | undefined;
20010
+ };
20011
+ } & {
20012
+ param: {
20013
+ sha: string;
20014
+ };
20015
+ };
20016
+ } | {
20004
20017
  output: {
20005
20018
  error: string;
20006
20019
  code?: "invalid_input" | undefined;
@@ -20064,19 +20077,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20064
20077
  sha: string;
20065
20078
  };
20066
20079
  };
20067
- } | {
20068
- output: string;
20069
- outputFormat: "text";
20070
- status: import("hono/utils/http-status").ContentfulStatusCode;
20071
- input: {
20072
- query: {
20073
- structured?: string | undefined;
20074
- };
20075
- } & {
20076
- param: {
20077
- sha: string;
20078
- };
20079
- };
20080
20080
  };
20081
20081
  };
20082
20082
  } & {
@@ -23804,6 +23804,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23804
23804
  } & {
23805
23805
  "/runs/:id/worker-destroy": {
23806
23806
  $post: {
23807
+ output: {
23808
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23809
+ readonly error: string;
23810
+ readonly modelChoices?: {
23811
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
23812
+ requestedModel: string;
23813
+ availableModels: {
23814
+ id: string;
23815
+ label: string;
23816
+ description: string;
23817
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23818
+ }[];
23819
+ otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
23820
+ } | undefined;
23821
+ };
23822
+ outputFormat: "json";
23823
+ status: 400 | 401 | 403 | 409 | 503;
23824
+ input: {
23825
+ query: {
23826
+ [x: string]: string | string[];
23827
+ };
23828
+ } & {
23829
+ param: {
23830
+ id: string;
23831
+ };
23832
+ } & {
23833
+ json: Record<string, never>;
23834
+ };
23835
+ } | {
23807
23836
  output: {
23808
23837
  error: string;
23809
23838
  code?: "invalid_input" | undefined;
@@ -23875,35 +23904,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23875
23904
  } & {
23876
23905
  json: Record<string, never>;
23877
23906
  };
23878
- } | {
23879
- output: {
23880
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23881
- readonly error: string;
23882
- readonly modelChoices?: {
23883
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
23884
- requestedModel: string;
23885
- availableModels: {
23886
- id: string;
23887
- label: string;
23888
- description: string;
23889
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23890
- }[];
23891
- otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
23892
- } | undefined;
23893
- };
23894
- outputFormat: "json";
23895
- status: 400 | 401 | 403 | 409 | 503;
23896
- input: {
23897
- query: {
23898
- [x: string]: string | string[];
23899
- };
23900
- } & {
23901
- param: {
23902
- id: string;
23903
- };
23904
- } & {
23905
- json: Record<string, never>;
23906
- };
23907
23907
  };
23908
23908
  };
23909
23909
  } & {
@@ -33568,20 +33568,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33568
33568
  } & {
33569
33569
  "/runs/:id/handoff": {
33570
33570
  $get: {
33571
- output: {
33572
- error: string;
33573
- };
33574
- outputFormat: "json";
33575
- status: 404;
33571
+ output: string;
33572
+ outputFormat: "text";
33573
+ status: 200;
33576
33574
  input: {
33577
33575
  param: {
33578
33576
  id: string;
33579
33577
  };
33580
33578
  };
33581
33579
  } | {
33582
- output: string;
33583
- outputFormat: "text";
33584
- status: 200;
33580
+ output: {
33581
+ error: string;
33582
+ };
33583
+ outputFormat: "json";
33584
+ status: 404;
33585
33585
  input: {
33586
33586
  param: {
33587
33587
  id: string;
@@ -33619,20 +33619,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33619
33619
  } & {
33620
33620
  "/runs/:id/diff": {
33621
33621
  $get: {
33622
- output: {
33623
- error: string;
33624
- };
33625
- outputFormat: "json";
33626
- status: 404 | 409;
33622
+ output: string;
33623
+ outputFormat: "text";
33624
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33627
33625
  input: {
33628
33626
  param: {
33629
33627
  id: string;
33630
33628
  };
33631
33629
  };
33632
33630
  } | {
33633
- output: string;
33634
- outputFormat: "text";
33635
- status: import("hono/utils/http-status").ContentfulStatusCode;
33631
+ output: {
33632
+ error: string;
33633
+ };
33634
+ outputFormat: "json";
33635
+ status: 404 | 409;
33636
33636
  input: {
33637
33637
  param: {
33638
33638
  id: string;
@@ -3,7 +3,7 @@ import type { AgentInput } from '../../contract/index.js';
3
3
  import type { Wait } from '../../contract/index.js';
4
4
  import type { InputDelivery as InputDeliveryPolicy } from '../../core/agent-runner.ts';
5
5
  import { type ContentBlock } from '../../core/agent-runner.ts';
6
- import type { AgentSession } from '../../core/claude-cli-runner.ts';
6
+ import type { AgentSession } from '../../core/agent-runner.ts';
7
7
  import type { RunRecord } from '../../runs/store.ts';
8
8
  import type { ContinueRunOptions } from '../continuation-admission.ts';
9
9
  import type { ActiveRun } from '../active-run.ts';
@@ -1,4 +1,4 @@
1
- import type { AgentSession } from '../../core/claude-cli-runner.ts';
1
+ import type { AgentSession } from '../../core/agent-runner.ts';
2
2
  import type { ActiveRun } from '../active-run.ts';
3
3
  import type { WorkflowStepDef } from '../types.ts';
4
4
  /** The session whose done completes a step that is not the last, and the step it starts next. */
@@ -1,6 +1,6 @@
1
1
  import type { HumanWaitEntry } from '../../contract/index.js';
2
2
  import { type AskRequest } from '../../core/ask.ts';
3
- import type { AgentSession } from '../../core/claude-cli-runner.ts';
3
+ import type { AgentSession } from '../../core/agent-runner.ts';
4
4
  import type { AgentEvent, RunnerId } from '../../core/agent-runner.ts';
5
5
  import type { UiEvent } from '../../core/ui-events.ts';
6
6
  import type { UiEventSink } from '../../runs/ui-event-sink.ts';
@@ -1,5 +1,5 @@
1
1
  import type { ContentBlock } from '../../core/agent-runner.ts';
2
- import type { AgentSession } from '../../core/claude-cli-runner.ts';
2
+ import type { AgentSession } from '../../core/agent-runner.ts';
3
3
  import type { RunRecord, RunStore } from '../../runs/store.ts';
4
4
  import { type CompletionRefusal } from '../completion-policy.ts';
5
5
  import { type TurnEndOutcome } from '../turn-end.ts';
@@ -1,5 +1,5 @@
1
1
  import type { WaitEngine } from './wait-engine.ts';
2
- import type { AgentSession } from '../../core/claude-cli-runner.ts';
2
+ import type { AgentSession } from '../../core/agent-runner.ts';
3
3
  import type { ContentBlock } from '../../core/agent-runner.ts';
4
4
  import type { UiEventSink } from '../../runs/ui-event-sink.ts';
5
5
  import type { RunEvent, RunRecord, RunStore } from '../../runs/store.ts';
@@ -1,4 +1,4 @@
1
- import type { AgentSession } from '../../core/claude-cli-runner.ts';
1
+ import type { AgentSession } from '../../core/agent-runner.ts';
2
2
  import type { RunModuleContext } from './types.ts';
3
3
  import type { WorkerOrphans } from './worker-orphans.ts';
4
4
  import type { RunMemory } from './run-memory.ts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-dev.7355",
3
+ "version": "0.18.0-dev.7375",
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.7355",
67
- "@open-mercato/cezar-contract": "0.18.0-dev.7355",
66
+ "@open-mercato/cezar-api-client": "0.18.0-dev.7375",
67
+ "@open-mercato/cezar-contract": "0.18.0-dev.7375",
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": "2eec6bb3b59014c41ac04ccde2920b2d8c2dcc9b"
84
+ "gitHead": "cc143fa429ed386e03c39bc561599f73b892a647"
85
85
  }