fix: orch (dynamic) version

This commit is contained in:
Cristina Poncela Cubeiro
2026-06-26 12:36:07 +02:00
parent 122527b22a
commit 7f9300763e
2 changed files with 34 additions and 4 deletions
+2 -3
View File
@@ -1,12 +1,11 @@
import { hostname, platform } from "node:os";
import { AuthStorage, type OAuthCredential } from "@earendil-works/pi-coding-agent";
import { getOrchestratorDir, getSocketPath } from "./config.ts";
import { getOrchestratorDir, getSocketPath, VERSION } from "./config.ts";
import { loadMachine, saveMachine } from "./storage.ts";
import type { InstanceRecord, MachineRecord, RadiusRegistration } from "./types.ts";
const DEFAULT_RADIUS_URL = "https://radius.pi.dev/";
const DEFAULT_ORCHESTRATOR_BASE_PATH = "/v1/";
const ORCHESTRATOR_VERSION = "0.79.6";
const NOT_FOUND_RETRY_THRESHOLD = 3;
const HEARTBEAT_BACKOFF_BASE_MS = 1_000;
const HEARTBEAT_BACKOFF_MAX_MS = 30_000;
@@ -243,7 +242,7 @@ export class RadiusPresence {
hostname: hostname(),
platform: platform(),
arch: process.arch,
version: ORCHESTRATOR_VERSION,
version: VERSION,
capabilities: { spawn: true, relay: false, iroh: false },
});