This merge implements a recoverable pending-login auth flow (FN-3047) across three phases: cancellable in-progress auth routes in the API, an extended auth client contract, and updated ModelOnboardingModal/SettingsModal UI with proper cancel-button visibility during logout. It also adds `dashboard-r Fusion-Task-Id: FN-3047
4.2 KiB
Getting Started
This guide walks you from install to your first task in Fusion.
Install Fusion
Choose one of these install methods from the README quick start:
Zero install (recommended)
Run Fusion directly from npm without a global install:
npx runfusion.ai
This launches the dashboard immediately. You can also run subcommands the same way (for example, npx runfusion.ai task create "fix X").
One-line installer (macOS & Linux)
curl -fsSL https://runfusion.ai/install.sh | sh
fusion dashboard
Homebrew (macOS & Linux)
brew tap runfusion/fusion
brew install fusion
fusion dashboard # or: fn dashboard
npm global
npm install -g @runfusion/fusion
fn dashboard # or: fusion dashboard
From source (development)
pnpm dev dashboard
After installing, verify the CLI is available:
fn --help
# or
fusion --help
Optional — Pi extension: To use Fusion tools inside Pi chat sessions, run
pi install npm:@runfusion/fusion. This adds a/fncommand and Fusion tools within pi. You do not need this to use Fusion — the global CLI and dashboard work standalone.
Initialize a Project
In each repository you want Fusion to manage, run:
fn init
On fresh init, Fusion also installs its bundled fusion skill into supported agent homes (~/.claude/skills/fusion, ~/.codex/skills/fusion, ~/.gemini/skills/fusion) when those targets are missing. Existing installs are left untouched.
First Run and Onboarding
Start the dashboard:
fn dashboard
On first launch, Fusion opens an onboarding wizard with three steps:
- AI Setup — choose a provider and authenticate (you only need one to start)
- GitHub (Optional) — connect GitHub for issue import and PR workflows
- First Task — create your first task or import one from GitHub
The wizard is dismissible and non-blocking. You can skip it and continue using Fusion, then reopen it later from Settings → Authentication.
If a provider login gets stuck in progress (for example GitHub Copilot/device-code sign-in), use Cancel on the provider card in onboarding or in Settings → Authentication, then retry immediately — no dashboard restart is required.
On startup, Fusion prints an Open: URL that includes a bearer token (for example, http://localhost:4040/?token=fn_...). Open that URL to sign in quickly.
Create Your First Task
Create tasks from the board or CLI.
Option A: Quick Entry (Board)
- Type a short request in the quick entry input.
- Press Enter.
- Task appears in Planning and the planning agent generates
PROMPT.md.
Option B: Plan Mode (Board)
Use the 💡 button to open AI planning mode:
- Fusion asks clarifying questions
- Produces a structured summary
- Lets you create one task or multiple dependency-linked tasks
Option C: Subtask Breakdown (Board)
Use the 🌳 button to generate 2–5 subtasks, reorder them, and link dependencies before creating tasks.
You can also use expanded board controls (Refine, Deps, Attachments, model overrides, agent assignment) or the CLI (fn task create, fn task plan) when needed.
Understand the Task Lifecycle
Fusion uses six columns:
- Planning — raw idea; AI writes plan
- Todo — planned and queued
- In Progress — executor implements in a dedicated worktree
- In Review — implementation complete, awaiting merge/finalization
- Done — merged and complete
- Archived — retained for history, optionally cleaned up from filesystem
Daily CLI Commands
fn task list
fn task show FN-001
fn task logs FN-001 --follow --limit 50
fn task steer FN-001 "Prefer existing utility functions"
fn task pause FN-001
fn task unpause FN-001
Next Steps
- Architecture — system internals and package layout
- Task Management — deeper task workflow and lifecycle details
- Dashboard Guide — board and UI features
- Settings Reference — project and global configuration