auth-flow
Auth Flow
Sources: Claude Code Setup, API Key Management
MVP Status
AuthManager not implemented. MVP uses SetupWizard to collect credentials at runtime (no persistence). Credentials passed directly to IPC handlers.
Current flow: User enters keys in SetupWizard → passed to window.api.startRun() → injected into sandbox env vars.
The Problem
Claude Code requires browser-based OAuth authentication, but Daytona sandboxes are headless (no browser access).
Environment Variables
More from seanchiuai/multishot
daytona-integration
Daytona SDK integration for sandbox lifecycle management. Use when working with SandboxManager, creating/destroying sandboxes, executing commands in sandboxes, or transferring files between sandboxes and local filesystem.
38electron-ipc
Electron IPC communication patterns between main and renderer processes. Use when implementing IPC handlers, sending events between processes, or working with the preload script.
11terminal-streaming
xterm.js terminal integration for streaming agent output. Use when implementing AgentCard terminal display, configuring xterm addons, or handling real-time output streaming.
8claude-code-cli
Claude Code CLI usage for automated/headless execution in Daytona sandboxes. Use when running Claude Code commands, configuring authentication, or setting up non-interactive mode.
5database-schema
SQLite database schema and operations using better-sqlite3. Use when working with StateManager, persisting runs/rounds/agents, or querying run history.
5skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
4