Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(desktop): number an agent's setup steps without gaps

leepokai14e64a1ce5fb
diff --git a/apps/desktop/src/renderer/views/marketplace/AgentSheet.tsx b/apps/desktop/src/renderer/views/marketplace/AgentSheet.tsx
index 3053ba2e..7670116f 100644
--- a/apps/desktop/src/renderer/views/marketplace/AgentSheet.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/AgentSheet.tsx
@@ -223,7 +223,7 @@ export function AgentSheet({ initial, recheck = false }: { initial: Backend; rec
>
<HStack>
<VStack grow>
- <SetupStepRow number={1 + Number(curated) + Number(backend.node !== undefined)} title="Sign in" detail={statusText} done={signedIn === true} action={null} />
+ <SetupStepRow number={1 + Number(curated) + Number(Boolean(backend.node))} title="Sign in" detail={statusText} done={signedIn === true} action={null} />
</VStack>
{checking ? (
<ThinkingOrb state="connecting" size={16} color="var(--secondary)" />
diff --git a/apps/desktop/src/shared/models.ts b/apps/desktop/src/shared/models.ts
index 08217c54..f2f4e691 100644
--- a/apps/desktop/src/shared/models.ts
+++ b/apps/desktop/src/shared/models.ts
@@ -376,7 +376,7 @@ export interface Backend {
signedIn?: boolean
canInstall?: boolean
/** Only for an agent that runs on Node.js, on a computer without its own: Codync's copy is missing or added. */
- node?: 'missing' | 'added'
+ node?: 'missing' | 'added' | null
}
export interface ScreenDisplay {