@runuai/host 0.9.160 → 0.9.161

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.
@@ -1004,6 +1004,11 @@ async function managedInstallState(paths: ManagedRuntimePaths): Promise<ManagedI
1004
1004
  ] as const) {
1005
1005
  try {
1006
1006
  await lstat(state);
1007
+ // ensureManagedDirectories (a capability-floor claim) creates the bare
1008
+ // runtime directory on an npm install too. Empty, it holds no
1009
+ // generation: still no managed install. Every npm-installed task
1010
+ // machine sat pending on this (2026-10-20).
1011
+ if (state === paths.runtime && (await readdir(state)).length === 0) continue;
1007
1012
  return { kind: "damaged", detail: `the managed runtime has a ${what} but no current runtime; repair it first` };
1008
1013
  } catch (error) {
1009
1014
  if (!isMissing(error)) throw error;
@@ -22,8 +22,11 @@ import { join } from "node:path";
22
22
  /** Image label carrying the build-context content hash (rebuild trigger). */
23
23
  export const CONTEXT_HASH_LABEL = "com.runuai.context-hash";
24
24
 
25
- /** The public registry repository CI publishes the prebuilt image to. */
26
- export const STANDARD_IMAGE_RELEASE_REF = "ghcr.io/runuai/uai-standard";
25
+ /** The public registry repository CI publishes the prebuilt image to. The
26
+ * GitHub org was renamed runuai → moondeckio on 2026-10-20; GHCR, unlike
27
+ * github.com, does not redirect the old owner (pushes fail "owner not
28
+ * found", pulls 404). */
29
+ export const STANDARD_IMAGE_RELEASE_REF = "ghcr.io/moondeckio/uai-standard";
27
30
 
28
31
  /** Pin file basename; packaged at `agent/images/<basename>` in the payload,
29
32
  * one directory above the build context so it never perturbs the hash. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runuai/host",
3
- "version": "0.9.160",
3
+ "version": "0.9.161",
4
4
  "description": "Uai host — runs ephemeral AI tasks in containers on a machine you control.",
5
5
  "license": "MIT",
6
6
  "author": "Uai Tech <team@runuai.com>",