@atolis-hq/wake 0.2.49 → 0.2.50

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/src/main.js CHANGED
@@ -608,15 +608,8 @@ async function runTick(args) {
608
608
  console.error(details);
609
609
  }
610
610
  }
611
- async function runStart(args) {
612
- const runtime = await buildRuntime(args);
613
- await runtime.stateStore.assertStateHealthy();
614
- const runnerOverride = readFlagBeforeCommandTerminator('--runner', args);
615
- await runStartupPreflight(runtime.config, {
616
- ...(runnerOverride === undefined ? {} : { runnerOverride }),
617
- workspaceManager: runtime.workspaceManager,
618
- });
619
- const controlPlane = createControlPlane({
611
+ export function createResidentControlPlane(runtime) {
612
+ return createControlPlane({
620
613
  tickRunner: runtime.tickRunner,
621
614
  intervalMs: runtime.config.scheduler.intervalMs,
622
615
  maxIntervalMs: runtime.config.scheduler.maxIntervalMs,
@@ -638,6 +631,16 @@ async function runStart(args) {
638
631
  return readTickRequestId(runtime.stateStore.paths.tickRequestFile);
639
632
  },
640
633
  });
634
+ }
635
+ async function runStart(args) {
636
+ const runtime = await buildRuntime(args);
637
+ await runtime.stateStore.assertStateHealthy();
638
+ const runnerOverride = readFlagBeforeCommandTerminator('--runner', args);
639
+ await runStartupPreflight(runtime.config, {
640
+ ...(runnerOverride === undefined ? {} : { runnerOverride }),
641
+ workspaceManager: runtime.workspaceManager,
642
+ });
643
+ const controlPlane = createResidentControlPlane(runtime);
641
644
  const stop = () => controlPlane.stop();
642
645
  process.on('SIGINT', stop);
643
646
  process.on('SIGTERM', stop);
@@ -124,4 +124,4 @@ export function resolveWakeVersion(options = {}) {
124
124
  }
125
125
  return '0.1.0-dev';
126
126
  }
127
- export const wakeVersion = "g1785fe4";
127
+ export const wakeVersion = "gb436c70";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atolis-hq/wake",
3
- "version": "0.2.49",
3
+ "version": "0.2.50",
4
4
  "description": "Local autonomous agent control plane for software development",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {