@atolis-hq/wake 0.2.82 → 0.2.83

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.
@@ -1,4 +1,5 @@
1
1
  import { waitForActiveRuns } from './stop-command.js';
2
+ import { resolveWakeVersion } from '../version.js';
2
3
  const HEALTHCHECK_WAKE_ROOT = '/tmp/wake-self-update-healthcheck';
3
4
  const START_PROCESS_CHECK_ATTEMPTS = 15;
4
5
  const START_PROCESS_CHECK_INTERVAL_MS = 1000;
@@ -97,12 +98,13 @@ export async function runSelfUpdateCommand(input) {
97
98
  };
98
99
  try {
99
100
  await input.git.checkoutTag(tag);
100
- // Matches wake sandbox build's WAKE_BUILD_TAG handling (sandbox-command.ts).
101
+ const buildVersion = input.resolveBuildVersion?.(input.repoRoot) ??
102
+ resolveWakeVersion({ repoRoot: input.repoRoot });
101
103
  await input.docker.build({
102
104
  image: newImage,
103
105
  dockerfile: input.dockerfilePath,
104
106
  contextDir: input.repoRoot,
105
- buildArgs: { WAKE_BUILD_TAG: tag },
107
+ buildArgs: { WAKE_BUILD_TAG: buildVersion },
106
108
  });
107
109
  await input.docker.update({ ...updateInput, image: newImage });
108
110
  input.logger.info('[self-update] recreated container; entrypoint will keep wake start running');
@@ -124,4 +124,4 @@ export function resolveWakeVersion(options = {}) {
124
124
  }
125
125
  return '0.1.0-dev';
126
126
  }
127
- export const wakeVersion = "gcb9a257";
127
+ export const wakeVersion = "gf3111aa";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atolis-hq/wake",
3
- "version": "0.2.82",
3
+ "version": "0.2.83",
4
4
  "description": "Local autonomous agent control plane for software development",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {