Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

Merge branch 'dev' into feat/desktop-login-backend-mismatch-hint

Andy Paviae1fbabd24044
diff --cc desktop-app/src/appService.ts
index c9abb48e1,ac947ea17..d8abb6340
--- a/desktop-app/src/appService.ts
+++ b/desktop-app/src/appService.ts
@@@ -73,12 -86,9 +87,14 @@@ import
// bounded-and-once for that operation (issue #791). control-api intersects the
// requested scopes against the caller's grants before issuance, so requesting
// the wake scope never widens a caller who was not granted it.
+// Upper bound for a single backend-reachability probe used by
+// `diagnoseLoginBackend`. Kept short so a post-login-failure diagnosis never
+// makes the failure feel slower than it already did.
+const BACKEND_PROBE_TIMEOUT_MS = 1500
+
const HOST_WAKE_SCOPE: RpcScope = 'host:wake:write'
+ const PROFILE_UI_BASE_URL_ORIGIN_ERROR =
+ 'PROFILE_UI_BASE_URL must be an origin URL with a root pathname and no search parameters'
function normalizeExplicitProfileUiBaseUrl(rawValue: string): string | null {
const value = rawValue.trim()
diff --cc desktop-app/src/renderer.d.ts
index bab61efe6,2a6bafb52..7831ce408
--- a/desktop-app/src/renderer.d.ts
+++ b/desktop-app/src/renderer.d.ts
@@@ -18,10 -23,7 +23,9 @@@ import
HostModelsResult,
HostRuntimeStatus,
HostStatusStreamEvent,
+ LoginBackendHint,
+ MessageToolStep,
PasswordLoginResult,
- PendingApprovalLite,
PendingWorkflowApproval,
PrewarmHostResult,
ProfileSettingsOpenOptions,