Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion apps/desktop/src/main/lib/host-service-coordinator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ import { HOOK_PROTOCOL_VERSION } from "./terminal/env";
* line ~308) to SIGTERM old host-services on first launch and
* respawn with the new bundle. One-time terminal-session loss for
* users on upgrade — accepted per release-notes guidance.
*
* 0.7.0 — canonical `workspaces.create` flow + `settings.hostAgentConfigs`
* router (PR1, #3893). Older 0.6.x host-services don't expose either,
* so adopting one in place would break new-project creation and the
* agent-config settings UI. Force respawn on first launch.
*/
const MIN_HOST_SERVICE_VERSION = "0.6.0";
const MIN_HOST_SERVICE_VERSION = "0.7.0";

export type HostServiceStatus = "starting" | "running" | "stopped";

Expand Down
6 changes: 5 additions & 1 deletion packages/host-service/src/trpc/router/host/host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ import { protectedProcedure, router } from "../../index";
// them on upgrade and respawn with the new bundle. Adopting in
// place would leave the new desktop talking to old code with no
// `terminal.daemon.*` routes, breaking Settings → Manage daemon.
const HOST_SERVICE_VERSION = "0.6.0";
// 0.7.0: canonical `workspaces.create` flow + `settings.hostAgentConfigs`
// router (PR1, #3893). 0.6.x host-services don't expose either, so
// adopting one in place would break new-project creation and the
// agent-config settings UI.
const HOST_SERVICE_VERSION = "0.7.0";
const ORGANIZATION_CACHE_TTL_MS = 60 * 60 * 1000;

let cachedOrganization: {
Expand Down
Loading