@hearsay-tools/squawk 0.18.0-dev.6144 → 0.18.0-dev.6146

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.
@@ -0,0 +1,6 @@
1
+ import type { Server } from 'node:http';
2
+ import { type ServerType } from '@hono/node-server';
3
+ import { type ServerDeps } from './server.ts';
4
+ export declare function startServer(deps: ServerDeps, port: number, listener?: Server): ServerType & {
5
+ shutdownForRestart: () => Promise<void>;
6
+ };
@@ -0,0 +1,348 @@
1
+ import { reportsIndex } from '../artifacts/reports-index.js';
2
+ import { projectPaths } from '../project-paths.js';
3
+ import { prepareHomeLifecycle } from '../home/entry.js';
4
+ import { defined } from '../core/defined.js';
5
+ import { ArchiveOnMergeCoordinator } from './archive-on-merge.js';
6
+ import { CompletionActionCoordinator } from './completion-actions.js';
7
+ import { resolveArchiveOnMerge } from '../archive-on-merge-setting.js';
8
+ import { createWorkspaceProjects, createWorkspaceProjectContexts, createTaskWebhooks } from './workspace-projects.js';
9
+ import { localTimeZone } from '../contract/index.js';
10
+ import { AutomationCoordinator } from '../automations/coordinator.js';
11
+ import { GithubPoller } from '../automations/github-poller.js';
12
+ import { githubRepository } from '../automations/github-repository.js';
13
+ import { WorkspaceAutomationScheduler } from '../automations/scheduler.js';
14
+ import { AutomationProjectUnavailableError } from '../automations/schedule-runner.js';
15
+ import { launchAutomationRun, launchScheduledRun, rebaselineIdleAutomations, reconcileAutomationReceipts } from '../automations/task-template.js';
16
+ import { basename } from 'node:path';
17
+ import { getRequestListener, serve } from '@hono/node-server';
18
+ import { getBranchHead, getRepoInfo } from './git.js';
19
+ import { loadConfig } from '../config.js';
20
+ import { loadWorkspaceConfig } from '../workspace/config.js';
21
+ import { armPreview, projectWarmupEnabled, sweepRegisteredPreviewLeftovers } from './project-context.js';
22
+ import { resolveCapabilities } from './capabilities.js';
23
+ import { createSocketHub, socketHubRoute } from './ws.js';
24
+ import { attachUpgradeRouter } from './upgrade-router.js';
25
+ import { createPreviewSockets } from './preview-sockets.js';
26
+ import { forgeRepositoryUrl, resolveForge, forgeWebRoot, resolveForgeRoot } from './forge/index.js';
27
+ import { withProjectAdmission } from './cockpit-ownership.js';
28
+ import { closingSignal, prepareBeforeTicks, prepareProject, prepareProjects } from '../project-migration/auto.js';
29
+ import { RunStoreOpenError } from '../runs/store-open-error.js';
30
+ import { cockpitOriginFor } from './server-deps.js';
31
+ import { createApp, WorkspaceEventBus, verifyWsUpgrade } from './server.js';
32
+ export function startServer(deps, port, listener) {
33
+ const attachHomeLifecycle = prepareHomeLifecycle(deps.home);
34
+ const workspaceEvents = deps.workspaceEvents ?? new WorkspaceEventBus();
35
+ // The subscription hub rides the same HTTP server (one port, zero config):
36
+ // createApp registers the topics, the `upgrade` hook below owns the socket.
37
+ const socketHub = deps.socketHub ?? createSocketHub();
38
+ // `cezar_preview_serve` refuses the cockpit's own port: the one the listener BOUND (`--port 0`).
39
+ let listeningPort;
40
+ const squawkPort = deps.squawkPort ?? (() => listeningPort);
41
+ const workspaceProjects = deps.workspaceProjects ?? createWorkspaceProjects({ bootRoot: deps.repoRoot, bootProjectId: deps.bootProjectId, bindHost: deps.bindHost, home: deps.home });
42
+ // Every registry reader below sees what createApp sees: single-project mode hides other projects.
43
+ const visibleProjects = () => workspaceProjects.listVisibleProjects();
44
+ const automationCoordinator = new AutomationCoordinator({ listProjects: () => visibleProjects().then((projects) => prepareProjects(projects, { ownership: deps.ownership, homes: [deps.home], rebrand: deps.legacyCanary })) }); // projects arrive prepared
45
+ const bootProjectId = deps.bootProjectId ?? 'default';
46
+ const bootAutomationStore = () => automationCoordinator.store(bootProjectId, deps.repoRoot); // resolve after preparation
47
+ const taskWebhooks = createTaskWebhooks(deps);
48
+ // #774: the bound origin every agent env carries (`CEZ_COCKPIT_URL`), so `cez automation` calls
49
+ // this cockpit instead of probing ports. Unset until `listening`; a project built after that is
50
+ // addressed in `prepareManager`, before its recovery resumes anything.
51
+ let cockpitOrigin;
52
+ const addressManager = (project) => {
53
+ if (cockpitOrigin)
54
+ project.manager.setCockpitAddress?.({ origin: cockpitOrigin, projectId: project.id });
55
+ };
56
+ const sharedContexts = createWorkspaceProjectContexts(deps, taskWebhooks, {
57
+ ownership: deps.ownership,
58
+ listProjects: visibleProjects,
59
+ squawkPort,
60
+ automationStore: (projectId, root) => automationCoordinator.store(projectId, root),
61
+ addressManager,
62
+ });
63
+ const archiveDeps = prepareBeforeTicks({ ownership: deps.ownership, homes: [deps.home], rebrand: deps.legacyCanary }, {
64
+ projects: async () => {
65
+ const boot = { id: bootProjectId, root: deps.repoRoot, status: 'ok' };
66
+ return [boot, ...(await visibleProjects()).filter(project => project.id !== bootProjectId && project.root !== deps.repoRoot)];
67
+ },
68
+ enabled: async (project) => resolveArchiveOnMerge(await loadConfig(project.root, deps.home), await loadWorkspaceConfig(deps.home.workspaceConfig)).enabled,
69
+ repository: async (project) => {
70
+ const repository = await resolveForgeRoot(project.root, deps.forgeFactory).discoverRepository();
71
+ return repository.status === 'resolved' ? forgeRepositoryUrl('github', repository.handle.owner, repository.handle.name) : undefined;
72
+ },
73
+ withStore: (project, work) => withProjectAdmission(projectPaths(project.root).write, function admittedStore() {
74
+ if (project.root === deps.repoRoot)
75
+ return work(deps.store, id => deps.manager.isActive?.(id) ?? false, () => server.listening);
76
+ return sharedContexts.withMaintenanceStore(project.id, (store, valid) => work(store, id => sharedContexts.peek(project.id)?.manager.isActive(id) ?? false, valid));
77
+ }, () => undefined),
78
+ lookup: (root, identities, signal) => resolveForgeRoot(root, deps.forgeFactory).mergedPullRequests(identities, signal),
79
+ });
80
+ const archiveOnMerge = new ArchiveOnMergeCoordinator(archiveDeps);
81
+ const completionActions = new CompletionActionCoordinator({
82
+ projects: archiveDeps.projects,
83
+ withStore: (project, work) => archiveDeps.withStore(project, (store, _active, valid) => work(store, valid)),
84
+ forge: async (project) => {
85
+ const info = await getRepoInfo(project.root);
86
+ const driver = resolveForge(info, deps.forgeFactory);
87
+ const repository = info?.remote ? forgeWebRoot(info.remote) : null;
88
+ return driver && repository ? { driver, repository } : undefined;
89
+ },
90
+ head: (project, branch) => getBranchHead(project.root, branch),
91
+ });
92
+ // Injected contexts (tests) skip `prepareManager`.
93
+ sharedContexts.onContextBuilt(addressManager);
94
+ // #801: Automations can be disabled. Off, the flag must remove the BEHAVIOR and not merely
95
+ // the UI — no scheduler, no GitHub polling, no launched runs — so every entry point into the
96
+ // workspace scheduler below is gated on it. Read per call rather than captured, for the same
97
+ // reason `capabilities()` is inside `createApp`: tests flip the variable between apps.
98
+ const automationsEnabled = () => resolveCapabilities(process.env, deps.bindHost).automations;
99
+ let rescheduleAutomations = () => { };
100
+ const app = createApp({
101
+ ...deps,
102
+ taskWebhooks,
103
+ contexts: sharedContexts,
104
+ automationStore: bootAutomationStore,
105
+ workspaceEvents,
106
+ socketHub,
107
+ squawkPort,
108
+ workspaceProjects,
109
+ archiveOnMergeChanged: () => archiveOnMerge.invalidate(),
110
+ automationsChanged: () => rescheduleAutomations(),
111
+ });
112
+ // SECURITY: default to loopback. This server executes agents locally and its endpoints are
113
+ // same-origin-trusted (only /api/health is CORS-open); binding to a non-loopback host would
114
+ // expose an agent-executing box to the network. `bindHost` exists only for a deliberate
115
+ // hosted/VPS deployment (which also flips CEZ_REMOTE to gate the local-handoff endpoints) —
116
+ // The CLI passes it only when explicitly requested; normal startup stays on loopback.
117
+ const serverOptions = {
118
+ fetch: (request, env) => app.fetch(request, env),
119
+ port,
120
+ hostname: deps.bindHost ?? '127.0.0.1',
121
+ };
122
+ // The CLI already owns this listener before recovery. Replace its temporary 503
123
+ // handler without closing/rebinding; direct server callers retain normal startup.
124
+ if (listener) {
125
+ listener.removeAllListeners('request');
126
+ listener.on('request', getRequestListener(serverOptions.fetch, defined({ hostname: serverOptions.hostname })));
127
+ }
128
+ const server = listener ?? serve(serverOptions);
129
+ attachHomeLifecycle(server);
130
+ // EVERY registered project, remote or not: a schedule needs none. `github` is present only for
131
+ // a github.com remote, and only then does the project's handle poll.
132
+ const automationProjects = new Map();
133
+ const rememberAutomationProject = async (id, root) => {
134
+ const github = githubRepository(root, (await getRepoInfo(root))?.remote);
135
+ automationProjects.set(id, { root, ...(github ? { github } : {}) });
136
+ };
137
+ const emitWorkspaceAutomationChange = (projectId) => (automationId, revision) => workspaceEvents.emit('automation-change', { project: projectId, automationId, revision });
138
+ /**
139
+ * The boot brake for one project, at boot and for a project registered after it: an enabled
140
+ * poll idle past its lookback is re-baselined rather than resumed from a stale cursor. Only a
141
+ * project with a github.com remote: its polls are the only ones the timer arms, so a poll
142
+ * without one never succeeds and would be re-baselined on every boot, forever.
143
+ */
144
+ const brakeIdleAutomations = (id, automationStore) => {
145
+ if (!automationStore || !automationProjects.get(id)?.github)
146
+ return;
147
+ rebaselineIdleAutomations(automationStore, emitWorkspaceAutomationChange(id));
148
+ };
149
+ const automationScheduler = new WorkspaceAutomationScheduler({
150
+ coordinator: automationCoordinator,
151
+ handle: (projectId, store) => {
152
+ const project = automationProjects.get(projectId);
153
+ if (!project)
154
+ return undefined;
155
+ const timeZone = localTimeZone();
156
+ const launchContext = async () => projectId === (deps.bootProjectId ?? 'default')
157
+ ? { root: deps.repoRoot, manager: deps.manager, store: deps.store }
158
+ : await sharedContexts.context(projectId);
159
+ return {
160
+ projectId,
161
+ store,
162
+ timeZone,
163
+ ...(project.github ? { github: { ...project.github, poller: new GithubPoller() } } : {}),
164
+ onChange: emitWorkspaceAutomationChange(projectId),
165
+ // Building a lazy project's context reconciles on its own; the explicit call covers the
166
+ // boot project and a context built before another process left the reservation.
167
+ reconcileReceipts: async () => { reconcileAutomationReceipts(store, (await launchContext()).store); },
168
+ // A run store that cannot open (#779) launches nothing. Firing anyway would count every
169
+ // refusal towards the auto-pause, and the pause would outlive the restart that fixed it.
170
+ ready: async () => {
171
+ try {
172
+ const { store: runs } = await launchContext();
173
+ if (runs.unavailable)
174
+ throw runs.unavailable;
175
+ }
176
+ catch (error) {
177
+ if (error instanceof RunStoreOpenError)
178
+ throw new AutomationProjectUnavailableError(error.message, { cause: error });
179
+ throw error;
180
+ }
181
+ },
182
+ launchSchedule: async (definition, occurrence, receiptId) => {
183
+ const context = await launchContext();
184
+ return launchScheduledRun({
185
+ root: context.root,
186
+ manager: context.manager,
187
+ store: context.store,
188
+ definition,
189
+ occurrence,
190
+ receiptId,
191
+ projectName: basename(context.root),
192
+ timeZone,
193
+ });
194
+ },
195
+ launch: async (definition, candidate, receiptId) => {
196
+ const context = await launchContext();
197
+ return launchAutomationRun({
198
+ root: context.root,
199
+ manager: context.manager,
200
+ store: context.store,
201
+ definition,
202
+ candidate,
203
+ receiptId,
204
+ });
205
+ },
206
+ };
207
+ },
208
+ });
209
+ // The scheduler is inert until `start()` anyway (it constructs `stopped`), but the gate is
210
+ // stated here rather than inherited from that detail: a definition saved while the flag is off
211
+ // must not even ask the coordinator to refresh.
212
+ rescheduleAutomations = () => {
213
+ if (!automationsEnabled())
214
+ return;
215
+ void automationScheduler.reschedule();
216
+ };
217
+ const unsubscribe = workspaceEvents.on((event, data) => {
218
+ if (event === 'project-added') {
219
+ const project = data.project;
220
+ if (project && typeof project.id === 'string' && typeof project.root === 'string' && project.status !== 'missing') {
221
+ const { id, root } = project;
222
+ void prepareProject(root, { ownership: deps.ownership, homes: [deps.home], rebrand: deps.legacyCanary }).then(() => rememberAutomationProject(id, root)).then(() => {
223
+ if (!automationsEnabled())
224
+ return;
225
+ brakeIdleAutomations(id, automationCoordinator.store(id, root));
226
+ return rescheduleAutomations();
227
+ }).catch(() => undefined);
228
+ }
229
+ }
230
+ else if (event === 'project-removed') {
231
+ const id = data.id;
232
+ if (typeof id === 'string') {
233
+ automationCoordinator.remove(id);
234
+ automationProjects.delete(id);
235
+ rescheduleAutomations();
236
+ }
237
+ }
238
+ });
239
+ const lifecycle = closingSignal(server);
240
+ const startBackgroundServices = () => {
241
+ if (!deps.store.unavailable)
242
+ reportsIndex(deps.store).start();
243
+ void visibleProjects().then(async (projects) => {
244
+ const all = projects.some((project) => project.root === deps.repoRoot)
245
+ ? projects : [{ id: deps.bootProjectId ?? 'default', root: deps.repoRoot, status: 'ok' }, ...projects];
246
+ await prepareProjects(all, { ownership: deps.ownership, homes: [deps.home], rebrand: deps.legacyCanary, stopped: lifecycle.stopped }); // before any touch below
247
+ if (!lifecycle.stopped()) {
248
+ archiveOnMerge.start();
249
+ completionActions.start();
250
+ }
251
+ // #781: every registered project's preview leftovers, not only the boot project's.
252
+ void sweepRegisteredPreviewLeftovers(all, deps.previewHost).catch(() => 0);
253
+ // #667: build every other project's context now, so the first click on one does not pay
254
+ // its store open, worktree sweeps and recovery. The boot project is built already.
255
+ // Not after a close that landed while the registry was being read: `disposeAll` has run, and
256
+ // a warm-up started now would build contexts nothing will ever dispose.
257
+ // Not in single-project mode either: every other project is out of reach there, and
258
+ // building one would resume its interrupted runs behind the operator's back.
259
+ if (projectWarmupEnabled() && server.listening && !resolveCapabilities(process.env, deps.bindHost).singleProject) {
260
+ const bootId = deps.bootProjectId ?? 'default';
261
+ void sharedContexts.warmAll(all.filter((project) => project.id !== bootId && project.root !== deps.repoRoot))
262
+ .catch(() => undefined);
263
+ }
264
+ // No automation warmup while opted out, or after discovery outlives the listener; the final continuation also checks for close during Git inspection.
265
+ if (!automationsEnabled() || !server.listening)
266
+ return;
267
+ void Promise.all(all.map(async (project) => {
268
+ await rememberAutomationProject(project.id, project.root);
269
+ if (!server.listening)
270
+ return;
271
+ const automationStore = automationCoordinator.store(project.id, project.root);
272
+ const runStore = project.id === (deps.bootProjectId ?? 'default')
273
+ ? deps.store
274
+ : sharedContexts.peek(project.id)?.store;
275
+ // A run store that could not open (#779) cannot say which receipts launched a run.
276
+ if (automationStore && runStore && !runStore.unavailable)
277
+ reconcileAutomationReceipts(automationStore, runStore);
278
+ brakeIdleAutomations(project.id, automationStore);
279
+ })).then(() => server.listening ? automationScheduler.start() : undefined).catch(() => undefined);
280
+ }).catch(() => undefined);
281
+ };
282
+ if (server.listening)
283
+ startBackgroundServices();
284
+ else
285
+ server.once('listening', startBackgroundServices);
286
+ armPreview(deps.store, projectPaths(deps.repoRoot).write, deps.previewHost);
287
+ const previewSockets = createPreviewSockets({
288
+ host: deps.previewHost, cockpitOrigin: () => cockpitOrigin,
289
+ verify: (req) => verifyWsUpgrade(req, deps.bindHost),
290
+ resolveProject: (projectId) => workspaceProjects.lookupProject(projectId),
291
+ });
292
+ server.once('close', () => {
293
+ unsubscribe();
294
+ archiveOnMerge.stop();
295
+ completionActions.stop();
296
+ automationScheduler.stop();
297
+ sharedContexts.disposeAll();
298
+ void deps.delegation?.close();
299
+ socketHub.close();
300
+ previewSockets.close();
301
+ void deps.previewHost?.close().catch(() => undefined);
302
+ });
303
+ // The one `upgrade` listener: the subscription bus and the preview's sockets (hearsay-tools/cezarion#781).
304
+ attachUpgradeRouter(server, [socketHubRoute(socketHub, (req) => verifyWsUpgrade(req, deps.bindHost)), ...previewSockets.routes]);
305
+ const shutdownForRestart = async () => {
306
+ lifecycle.stop();
307
+ archiveOnMerge.stop();
308
+ completionActions.stop();
309
+ sharedContexts.disposeAll(); // close every built secondary project before old process exits
310
+ deps.store.flush();
311
+ socketHub.close();
312
+ // Dev servers run in their own process groups: they outlive Squawk unless stopped here.
313
+ // A failed release must not abort the restart halfway, with the store flushed and the port still bound.
314
+ await deps.previewHost?.close().catch(() => undefined);
315
+ previewSockets.close();
316
+ await deps.delegation?.close();
317
+ await new Promise((resolve) => {
318
+ server.close(() => resolve());
319
+ if ('closeAllConnections' in server)
320
+ server.closeAllConnections();
321
+ });
322
+ // Last, with no request left to serve: write what is still pending and release every claim,
323
+ // so the replacement process finds the live runs nobody's, as a clean stop leaves them (#779).
324
+ deps.store.close();
325
+ };
326
+ // The task webhook's thread links name the port the listener BOUND (#594 review): `--port 0`
327
+ // asks for an ephemeral one, so the requested number is not an address. Deliveries queue
328
+ // behind this, so none goes out before it is set.
329
+ const setTaskWebhookOrigin = () => {
330
+ const address = server.address();
331
+ const bound = address && typeof address === 'object' ? address.port : port;
332
+ listeningPort = bound;
333
+ cockpitOrigin = cockpitOriginFor(deps.bindHost, bound);
334
+ taskWebhooks.setOrigin(cockpitOrigin);
335
+ addressManager({ id: bootProjectId, manager: deps.manager });
336
+ for (const id of sharedContexts.ids()) {
337
+ const context = sharedContexts.peek(id);
338
+ if (context)
339
+ addressManager(context);
340
+ }
341
+ };
342
+ if (server.listening)
343
+ setTaskWebhookOrigin();
344
+ else
345
+ server.once('listening', setTaskWebhookOrigin);
346
+ return Object.assign(server, { shutdownForRestart });
347
+ }
348
+ //# sourceMappingURL=start-server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start-server.js","sourceRoot":"","sources":["../../src/server/start-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,8BAA8B,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACtH,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAExE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAyB,MAAM,qCAAqC,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,kB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AAC,OAAO,EAAE,CAAC,CAAC;QAC7D,KAAK,MAAM,EAAE,IAAI,cAAc,CAAC,GAAG,EAAE,EAAE,CAAC;YACtC,MAAM,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACxC,IAAI,OAAO;gBAAE,cAAc,CAAC,OAAO,CAAC,CAAC;QACvC,CAAC;IACH,CAAC,CAAC;IACF,IAAI,MAAM,CAAC,SAAS;QAAE,oBAAoB,EAAE,CAAC;;QACxC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,oBAAoB,CAAC,CAAC;IACpD,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,kBAAkB,EAAE,CAAC,CAAC;AACvD,CAAC"}
@@ -10,6 +10,9 @@ import { z } from 'zod';
10
10
  /** The platforms the registry knows. Extend here + add a strategy file. */
11
11
  export declare const PLATFORM_IDS: readonly ['ubuntu-vps', 'macosx-ngrok'];
12
12
  export type PlatformId = (typeof PLATFORM_IDS)[number];
13
+ /** Platforms whose strategies support reversible group migration and service control.
14
+ * Keep in sync with the registry; strategies.test.ts checks the capability contract. */
15
+ export declare const MIGRATABLE_PLATFORM_IDS: readonly PlatformId[];
13
16
  /** Per-step lifecycle. `failed` resumes identically to `pending`. */
14
17
  export declare const STEP_STATUSES: readonly ['pending', 'done', 'skipped', 'failed'];
15
18
  export type StepStatus = (typeof STEP_STATUSES)[number];
@@ -8,6 +8,9 @@ import { z } from 'zod';
8
8
  */
9
9
  /** The platforms the registry knows. Extend here + add a strategy file. */
10
10
  export const PLATFORM_IDS = ['ubuntu-vps', 'macosx-ngrok'];
11
+ /** Platforms whose strategies support reversible group migration and service control.
12
+ * Keep in sync with the registry; strategies.test.ts checks the capability contract. */
13
+ export const MIGRATABLE_PLATFORM_IDS = ['ubuntu-vps', 'macosx-ngrok'];
11
14
  /** Per-step lifecycle. `failed` resumes identically to `pending`. */
12
15
  export const STEP_STATUSES = ['pending', 'done', 'skipped', 'failed'];
13
16
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AAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC;IAClE,qEAAqE;IACrE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;IACjD,qEAAqE;IACrE,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;IAClD,0EAA0E;IAC1E,8DAA8D;IAC9D,KAAK,EAAE,CAAC;SACL,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;SAChF,OAAO,CAAC,EAAE,CAAC;SACX,KAAK,CAAC,EAAE,CAAC;CACb,CAAC;IACF,yEAAyE;IACzE,sDAAsD;KACrD,WAAW,EAAE,CAAC;AAGjB,kDAAkD;AAClD,MAAM,UAAU,gBAAgB;IAC9B,OAAO,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;AACrC,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAyKhD,iFAAiF;AACjF,MAAM,OAAO,cAAe,SAAQ,KAAK;CAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-dev.6144",
3
+ "version": "0.18.0-dev.6146",
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",
@@ -60,8 +60,8 @@
60
60
  "devDependencies": {
61
61
  "@babel/parser": "^8.0.8",
62
62
  "@babel/types": "^8.0.8",
63
- "@open-mercato/cezar-api-client": "0.18.0-dev.6144",
64
- "@open-mercato/cezar-contract": "0.18.0-dev.6144",
63
+ "@open-mercato/cezar-api-client": "0.18.0-dev.6146",
64
+ "@open-mercato/cezar-contract": "0.18.0-dev.6146",
65
65
  "@types/node": "^24.19.1",
66
66
  "@types/ws": "^8.18.1",
67
67
  "esbuild": "^0.28.1",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "f3f5eec0ac2d4123f060556af61ed1768b94191b"
81
+ "gitHead": "6abb972941131eca5165c9c4509aa205c2d69fd2"
82
82
  }
@@ -27,7 +27,7 @@ try {
27
27
  // Seed where the built revision's cockpit reads each project, so a cockpit start moves nothing.
28
28
  const { projectPaths } = await import(new URL('project-paths.js', runtime.url));
29
29
  dataDir = projectPaths(join(root, 'cold-project')).write;
30
- const { startServer } = await import(new URL('server/server.js', runtime.url));
30
+ const { startServer } = await import(new URL('server/start-server.js', runtime.url));
31
31
  const { RunManager } = await import(new URL('workflows/run.js', runtime.url));
32
32
  const { acquireCiResources } = await import(new URL('ci-wait/resources.js', runtime.url));
33
33
  const { resolveHome } = await import(new URL('home/resolve.js', runtime.url));