Added documentation for the stash recovery view to the dashboard guide (FN-3902 Step 1). Fusion-Task-Id: FN-3902
39 KiB
Dashboard Guide
The Fusion dashboard is the main control plane for tasks, agents, missions, settings, logs, and repository operations.
Browser Navigation
The dashboard now handles browser back navigation consistently on desktop and mobile. Using Back will first dismiss open modals and then step back through in-app view changes (for example, task detail → board) before leaving the app. This behavior used to be mobile-only, and now applies across all viewports.
Deep Links
Use deep links to open a specific task directly from notifications, chat, or external tools.
/tasks/<TASK_ID>(for example,/tasks/FN-1234) opens that task, and can include?project=<project-id>for multi-project routing./?task=<TASK_ID>[&project=<project-id>]is the canonical in-app form and opens the task detail modal on load.- Legacy path-style links (including trailing-slash forms like
/tasks/<TASK_ID>/and older hash-style entry points that resolve to that path) are normalized client-side to the canonical query form withhistory.replaceState, so the URL updates without a full reload. - In non-headless dashboard mode, the server also issues an HTTP 301 redirect from
/tasks/<TASK_ID>to/?task=<TASK_ID>and preserves?project=when present. - Theme assets resolve
theme-data.cssagainst the current document base (HTTP/HTTPS,file://, and Electron fallback paths), so non-default themes still load correctly when you land on deep-linked or sub-path URLs. - Configure
dashboardHostandntfyDashboardHostin settings reference so generated notification links use the correct base URL.
/tasks/FN-1234
/?task=FN-1234
/?task=FN-1234&project=my-project
Board View
Board view is the kanban surface for day-to-day operation.
Features:
- Drag-and-drop between lifecycle columns
- Search/filter tasks (including working-branch and base-branch dropdown filters with explicit No working branch / No base branch options)
- Working-branch and base-branch filter selections are persisted per project and restored across refresh/navigation
- Column visibility controls
- Inline quick entry creation
- PR/issue badges with live updates
- GitHub provenance marker on task cards imported from GitHub (
sourceType: github_import), shown alongside existing footer metadata like timers - Agent-created provenance badge in task card headers for agent-originated tasks (
sourceType: agent_heartbeatorsourceType: automation, or legacy tasks withsourceAgentId), with labels preferringsourceMetadata.agentNameover raw agent IDs - Column ordering semantics:
todomirrors scheduler pickup order (priority descending, then oldestcreatedAt, then task ID);triage,in-progress,in-review, andarchivedremain priority-first with task-ID tie-breaks;doneis ordered by most recent completion first (columnMovedAt, thenupdatedAt, thencreatedAtfallback)
List View
List view is optimized for dense task management.
Features:
- Sectioned task table grouped by lifecycle column
- Sortable columns (ID/title/status/column)
- Column visibility toggles and optional hide-done filtering
- Bulk selection + batch model updates
- Bulk delete from the selection toolbar (
Delete selected): archived selections are skipped automatically, and dependency-conflict failures can be force-deleted per task after a danger confirmation that removes dependency references.
Graph View
Graph view visualizes task dependencies as an interactive node/edge map.
Navigation:
- Desktop: Header → More views → Graph
- Mobile: MobileNavBar → More → Graph
Behavior:
- Shows only tasks in
triage,todo,in-progress, andin-review - Excludes
doneandarchived - Uses Sugiyama-style layered auto-layout to place nodes by dependency depth
- Renders directed bezier dependency edges (dependent → dependency) with arrowheads
- Supports cursor-centered wheel zoom, pinch zoom, keyboard shortcuts (
Ctrl/Cmd+=,Ctrl/Cmd+-,Ctrl/Cmd+0,Ctrl/Cmd+Shift+F,Escape), and fit/reset controls via the floating toolbar with live zoom percentage - Dependency graph nodes reuse the same
TaskCardUI as board/list views, so status badges, progress/steps, mission badges, retry/archive controls, and active-task glow stay visually consistent - Active graph nodes also add a dedicated top status indicator bar and current-step row highlighting so in-progress execution state stays visible even when zoomed out
- Clicking a graph card opens task details via the host detail handler (
onOpenDetail, withonOpenTaskDetailfallback), while clicking the same card again or empty canvas clears selection - Hovering or selecting a node highlights its full upstream and downstream dependency chain; highlighted nodes and connecting edges are emphasized while non-chain nodes are dimmed, and highlight clears when hover/selection is removed
- Nodes support manual drag repositioning with a 4px movement threshold to separate click from drag, using pointer capture and zoom-aware delta scaling for reliable tracking
- Custom node positions persist per project in browser localStorage (
kb:${projectId}:fusion-plugin-dependency-graph:positions) across refresh/project switches, and Fit to graph clears saved positions and restores auto-layout
Chat View
Chat view provides project-scoped conversations with agents.
- Entering
/clear(exact match after trimming) in the composer starts a fresh thread for the current chat target instead of sending the literal command to the model - On mobile, the New Chat and Delete Conversation dialogs use a compact inset treatment (centered, viewport-bounded, internally scrollable) instead of the app's default full-height mobile modal chrome.
- Full Chat and Quick Chat both consume the same streamed
/api/chat/sessions/:id/messagesresponse contract, and both now prefer the authoritative assistantmessagesnapshot ondonewhile still accumulatingtextchunks when present (so providers without incremental text streaming still render output immediately) - Chat message lists now track near-bottom scroll state: while you are reading older messages, live streaming/new replies do not force-scroll; a Latest jump control appears until you return to the tail.
- On mobile (
max-width: 768px), chat bubbles are slightly wider in full Chat for improved readability while preserving header/composer gutters. - Full Chat tool-call summaries now use a denser mobile layout: grouped and single-call collapsed rows keep icon + label + status on one line (Quick Chat-style scanability) while expanded details remain unchanged.
- The desktop Chat view toggle and mobile Chat tab now show an unread-response indicator when a live assistant reply arrives for your active chat thread after you leave Chat; opening Chat clears it immediately.
- Agent-backed chat sessions now expose the same mailbox messaging tools (
fn_send_message,fn_read_messages) used by runtime execution/heartbeat flows whenever the engineMessageStoreis available; model-only chats continue to run without mailbox tools.
Chat Rooms
Chat Rooms are project-scoped group conversations for multiple agents. They are separate from one-on-one direct chat sessions.
- Chat Rooms are currently gated behind the
chatRoomsexperimental feature flag. Enable it in Settings → Experimental Features → Chat Rooms. - Use the Direct / Rooms toggle in the Chat sidebar to switch scopes. The selected scope is saved and restored the next time you open Chat.
- In Rooms, click Create room to open the room-creation modal.
- Room names follow strict validation: a leading
#is removed automatically, names must be lowercase, up to 80 characters, use onlya-z,0-9,-, or_, cannot start or end with-/_, and must be unique in the current project. - The modal includes a member picker with search + multi-select from project agents. You must pick at least one member before creating the room.
- Members are currently chosen during room creation. The shipped UI does not yet provide full post-creation member management in Chat View.
- Each room row includes a trash action (
aria-label="Delete room {name}",data-testid="chat-room-delete-{slug}") that opens a Delete Room? confirmation dialog with Cancel and Delete actions. - Confirming delete calls
rooms.deleteRoom(roomId)and permanently removes the room and its messages ("This action cannot be undone. This room and all its messages will be permanently deleted."); failures surface aFailed to delete roomtoast. - Selecting a room opens the room thread pane with loading and empty states, then renders room messages from
rooms.messagesasChatMessageInfoentries in the same thread UI used for direct Chat. - Submitting the room composer calls
rooms.sendRoomMessage(...), routing messages to room members and streaming/rendering replies through the sameChatMessageInfopipeline used by direct Chat. FN-3807 laid the room messaging foundation, and FN-3899 shipped the room send routing and thread wiring. - Relationship summary: direct Chat runs one target (agent or model) per session; rooms are shared threads with multiple agent members and now use the same message contract as direct Chat; Quick Chat stays a floating single-target panel and does not host rooms.
- For backend details, see the Chat Room REST API reference and the chat room storage schema (
chat_rooms,chat_room_members,chat_room_messages).
Quick Chat
Quick Chat is an optional floating panel for fast, project-scoped assistant conversations without leaving your current view.
- Controlled by the project setting
showQuickChatFAB - Supports agent mentions (
@agent) and file mentions - Uses the same model/provider infrastructure as full Chat view
- On small screens, compact tool-call summaries in the floating panel intentionally stay single-line (count + tool names + status) to preserve message density
- The panel header uses a session-first flow: the main dropdown lists persisted sessions (preferring
session.title, then falling back to deterministicSession Nlabels) - Selecting a session from that dropdown resumes the persisted conversation; this keeps
switchSession()resume-oriented rather than forcing a new thread - Entering
/clear(exact match after trimming) in the Quick Chat composer uses explicit fresh-session creation for the currently selected target (startFreshSession()), so the current thread resets without sending/clearto the model - The
+action opens an inline new-session chooser (inside the panel, not a modal) withModelselected by default and optional switch toAgent - Submitting the inline chooser uses explicit fresh-session creation and immediately persists/selects the new thread, then refreshes the session dropdown list
- Resume lookups still use targeted session queries instead of loading the full active-session list first
- Tool-call summaries in the floating quick-chat panel are intentionally condensed into a single-line header row (especially on small screens) so tool name + status stay scannable without multi-line wrapping
- On mobile viewports, opening Quick Chat auto-focuses the composer as soon as it is ready so the keyboard opens immediately
- FAB dragging uses pointer events with document-level move/up tracking and a 5px drag threshold so Android touch drags reposition reliably while short taps still open Quick Chat
- Quick Chat now mirrors full Chat tail behavior: if you scroll up, live updates stop auto-following and a Latest jump control appears until you jump back down.
- On mobile, Quick Chat bubbles are slightly wider while keeping compact tool-call summary layout and full-screen/safe-area behavior intact.
Mailbox View
Mailbox view shows inbox/outbox communication threads and unread state.
- Inbox renders one row per message (no sender-based collapsing)
- clicking a message in the Mail tab opens the task detail pane with full message content and conversation context
- reply rows in the mailbox modal can expand inline to show the replied-to message context for easier thread reading
- mailbox now includes an Approvals tab with pending and history filters (
approved/denied/completed), approval detail context, and inline approve/deny actions for pending requests - mailbox entry points now show pending-approval indicators: Header mailbox toggle dot, Header overflow mailbox badge, Mobile mailbox tab dot, and Mobile More → Mailbox badge
- approval lifecycle SSE events (
approval:requested,approval:updated,approval:decided) trigger mailbox approvals refresh without manual reload - when a task newly enters
awaiting-approval, the app shows a persistent approval banner above project content with an Open Mailbox CTA; dismissals are remembered per approval item until that item advances or a different one arrives - Visible message history/threading is driven by explicit
message.metadata.replyTo.messageIdlinks - Separate top-level messages from the same sender remain independent in the inbox and detail pane
Interactive Terminal
Fusion embeds a terminal using xterm.js.
Features:
- Multiple terminal tabs
- PTY-backed shell sessions
- Mobile-aware virtual keyboard handling and auto-refit behavior
- Reopen/reconnect/session-recovery flows preserve single-keystroke input forwarding (no duplicate characters, no page refresh required)
Git Manager
Git manager centralizes repo operations in the dashboard.
Features:
- Branch/worktree visibility
- Commit and diff browsing
- Push/pull/fetch actions
- Pull with rebase option (split-button chooses between
git pullandgit pull --rebase) - Remote editing controls
- Stash inspection (view stat + patch) before apply/pop/drop actions
- Remotes tab keeps "Recent commits on {remote}" in sync immediately after successful push/pull actions
Documents View
Documents view aggregates task documents and project markdown files.
Features:
- Group task documents by task ID (with revision history metadata)
- Search documents across tasks
- Open project markdown files with inline preview
- Jump directly from a document group to the owning task detail modal
- Toggle between raw text and rendered markdown using the Markdown/Plain button
Markdown Rendering
Documents view supports toggling between raw text and formatted markdown when viewing document content:
- Raw mode (default): Shows markdown syntax as plain text (e.g.,
**bold**) - Markdown mode: Renders markdown with proper formatting (e.g., bold, headings, lists, tables)
The toggle button is accessible with aria-pressed for screen readers. Toggle state is scoped per-document, so switching between documents resets the view to raw mode.
Todo View
Todo View is an experimental dashboard surface for managing per-project todo lists and turning items into planning or task workflows.
Available when
experimentalFeatures.todoViewis enabled.
Navigation:
- Desktop: Header → More views → Todos (single canonical desktop entry)
- Mobile: More sheet → Todos
For full behavior, API contracts, and storage details, use the canonical Todo View guide.
Research View
Research view is a standalone dashboard surface for creating and managing research runs.
Available when
experimentalFeatures.researchViewis enabled. The related Settings sections (Research Defaultsand projectResearch) are also hidden until this flag is enabled.
Features:
- Create-run form with required query text and selectable provider options
- Searchable run history list with project-scoped state
- Selected-run reader with summary, citations, findings, and run event history
- Run lifecycle controls: cancel, retry, and refresh
- Export actions for supported formats (
markdown,json,htmlas advertised by backend availability) - Task-facing actions to create a new task from findings or attach findings to an existing task
- Graceful unavailable/setup messaging when research backend capability is disabled or not configured
Navigation:
- Desktop: Header → More views overflow menu
- Mobile: More sheet in
MobileNavBar - Research is intentionally not shown in the primary board/list/agents/missions/chat toggle row
For the full research workflow, provider setup, CLI commands, API reference, and agent integration, see the canonical Research guide.
Files Modal
The Files modal provides a workspace-aware file browser and editor.
- Source/text editing supports a Line # header toggle to show or hide line numbers in the editor gutter
- The line-number preference is saved per project and restored automatically when you switch projects
Memory View
Memory view provides a multi-file editor for project and daily memory files.
Available when the
experimentalFeatures.memoryViewtoggle is enabled.
Agents View
Agent list and detail surfaces now surface pending approvals per agent:
- Agents list/board cards show a warning-colored pending-approval badge when
pendingApprovalCount > 0 - Agent detail summary shows a matching pending-approval badge for the selected agent
- Approval SSE events refresh these indicators live (no page reload required)
Agents view is the control surface for runtime agents and team structure.
Navigation:
- Desktop: primary view toggle (Agents)
- Mobile: bottom nav tab (Agents)
Features:
- Switch between List, Board, and Org chart layouts
- Filter by role/state, include/exclude system agents, and inspect health/status
- Start, pause, stop, and trigger agent runs from the view and from detail panels
- Open agent detail tabs for runs, logs, read-only mail (agent inbox/outbox), settings/config, tasks, memory, and chain-of-command relationships
- Error indicator on agent list cards when an agent is in the
errorstate and has a captured error (lastError); select it to open Agent Error Details - Run-level error indicator in Agent detail → Runs when a run has captured stderr; select it to open the same Agent Error Details modal
- Agent Error Details shows full error text plus Copy and Report on GitHub actions
- Report on GitHub opens a pre-filled issue draft with available context from where you launched it (surface plus agent metadata, and run/task IDs when available on that view)
- Jump from agent activity to related task logs, and (when
experimentalFeatures.agentOnboardingis enabled) launch AI Interview from the New Agent dialog (create mode) or Agent detail → Settings (edit mode)
For full lifecycle behavior, runtime/heartbeat settings, and budgets, see Agents guide.
Roadmaps View
Roadmaps view manages roadmap hierarchies (roadmaps, milestones, features) and planning handoff exports.
Available when
experimentalFeatures.roadmapis enabled. Hidden when a plugin replaces Roadmaps navigation.
Navigation:
- Desktop: Header → More views → Roadmaps
- Mobile: More sheet (or promoted to a top tab when eligible based on mobile nav slot rules)
Features:
- Create, edit, archive/delete, and reorder roadmaps, milestones, and features
- Use inline editing plus drag/drop for milestone and feature organization
- Open roadmap export modal and copy mission/feature planning handoff payloads
- Feed roadmap output into mission/task planning workflows
For mission planning context and handoff structure, see Missions guide.
Evals View
Evals view is a dedicated dashboard surface for reviewing scheduled task-evaluation output.
Available when
experimentalFeatures.evalsViewis enabled.
Navigation:
- Desktop: Header → More views → Evals
- Mobile: More sheet → Evals
Features:
- Filter eval results by free-text query, run, and score range
- Review list summaries (task, eval/run identity, timestamps, and score)
- Drill into full rationale, category scores, evidence references, and suggested follow-ups
- Open Scheduled Evals settings directly when setup is disabled
Insights View
Insights view surfaces categorized project insights and lets you turn findings into work.
Available when
experimentalFeatures.insightsis enabled.
Navigation:
- Desktop: Header → More views → Insights
- Mobile: More sheet → Insights
Features:
- Category-based insight browser with run metadata and status indicators
- Manual insight generation plus refresh actions for latest insight runs
- Dismiss/archive/unarchive insight records as they age
- Create triage tasks from selected insights directly from the view
Dev Server View
Dev Server view manages detected dev server commands, preview URLs, and live logs for local development.
Available when
experimentalFeatures.devServerViewis enabled (devServeris treated as a legacy alias).
Navigation:
- Desktop: Header → More views → Dev Server
- Mobile: More sheet → Dev Server
Features:
- Detect candidate dev server commands and choose which command/session to run
- Start, stop, and restart the current server session
- Manage preview URLs with embedded preview and Open in new tab fallback
- Tail live logs, load older history, and refresh session status
For module-level behavior and API surfaces, see Dev Server modules.
Stash Recovery View
Stash Recovery view helps recover orphaned merger autostashes (fusion-merger-autostash:*) left behind when merge restore could not fully complete.
Navigation:
- Desktop: Header → More views → Stash Recovery
- Mobile: More sheet → Stash Recovery
Features:
- Lists orphaned stash entries grouped by source task ID (or Unknown source when unavailable)
- Inspect diff output for any orphaned stash before taking action
- Apply a stash to recover changes, or drop a stash with confirmation to permanently remove it
For API endpoints, see architecture.md.
Plugin Manager
Plugin management lives in Settings → Plugins → Fusion Plugins.
Features:
- Install bundled plugins or custom path-based plugins
- Enable/disable plugins, reload active plugins, and uninstall plugins
- Inspect plugin runtime state and transition feedback
- Edit and save plugin-defined settings schemas from the same panel
For full plugin lifecycle workflows (discovery, install, enable/disable, configure, update, uninstall, troubleshooting), see Plugin Management. For plugin-related settings and experimental toggles, see Settings reference.
Pi Extensions Manager
Pi extension management lives in Settings → Plugins → Pi Extensions.
Features:
- Add/remove Pi package sources (npm, git, or local)
- Reinstall the Fusion Pi package/skill bundle
- Enable/disable discovered extensions
- Manage extension, skill, prompt, and theme path lists in one place
For related global/project configuration behavior, see Settings reference.
Task Detail Modal
Inspect task definition, logs, review feedback, comments, documents, workflow outcomes, model overrides, and task routing from a single modal.
- The priority chip in task metadata is now an inline picker: you can change priority directly from the chip without entering full edit mode.
- Execution mode now also has a read-mode inline control: a lightning-bolt toggle lets you switch Fast mode on/off from task metadata without opening the full edit form.
- The Review tab is separate from Comments: Review shows actionable PR/reviewer feedback and same-task revision controls, while Comments remains the general collaboration thread.
- Request revision in Review resumes work on the same task ID (no refinement task):
in-progresstasks get steering injection, whilein-reviewtasks are moved back toin-progressfor the same branch/worktree revision pass. - Review supports a manual Refresh action in-place: PR mode pulls latest GitHub review state/decision, while direct mode rehydrates reviewer-agent feedback from persisted task data (no GitHub call).
- In direct/non-PR auto-merge mode, Review renders normalized reviewer-agent feedback (verdict/step/timestamp/detail) with dedicated loading/error/empty states; it does not require users to read raw agent logs.
Identifying high-impact blockers
Use the Blocks N badge on task cards to spot blockers with high downstream impact:
Blocks Ncounts active downstream dependents intriage,todo,in-progress, orin-review.- The badge tooltip shows total active dependents plus how many are currently waiting in
todo. - Open a task to the Blocking section in Task Detail to view each downstream dependent and click through quickly.
(stale)markers mean the dependent is blocked throughblockedByand matches stale conditions thatclearStaleBlockedByself-healing should clear automatically.- Stale
dependencies[]links are shown for awareness but are not auto-cleared byclearStaleBlockedBy.
Recommended workflow: when a blocker has high fan-out, prioritize unblocking first (reassign, split, or resolve immediately) before lower-impact tasks.
Logs → Agent Log view
The Logs tab includes an Agent Log subview designed for debugging long-running and tool-heavy sessions:
- Full
thinking,tool_result, andtool_errorpayloads are shown without entry-content truncation. - Raw tool output is rendered as multiline blocks, preserving line breaks and indentation.
- The initial load fetches a recent page, then Load More progressively prepends older history.
- Live streaming appends new entries in chronological order while preserving your scroll position when loading older pages.
- The Markdown / Plain toggle lets you switch between formatted markdown and literal/raw text rendering.
- The Tools: On/Off toggle shows or hides tool-call rows (
tool,tool_result,tool_error) so you can focus on narrative/thinking output when needed. - Both display preferences persist across sessions via local storage (
fn-agent-log-markdownandfn-agent-log-tool-output).
The Routing tab shows:
- effective node
- routing source (task override vs project default vs local)
- unavailable-node policy value
- per-task node override controls (locked while task is active)
Project-wide routing defaults are configured in Settings → Node Routing.
Node Dashboard
The Node Dashboard provides a mesh view of connected Fusion nodes. Each node can be a local instance or a remote headless node (fn serve).
Navigation:
- Desktop: Header node controls / overflow entry
- Mobile:
MobileNavBar→ More sheet → Nodes (shown only whenexperimentalFeatures.nodesViewis enabled)
Local/Remote Node Switching
When remote nodes are available, the dashboard header displays a node status indicator:
- Local mode — Shows a green "Local" badge, indicating the dashboard is connected to the local Fusion instance
- Remote mode — Shows the remote node name with its connection status (online/offline/connecting)
Click the chevron next to the status indicator to open the node selector dropdown:
- Local — Switch back to viewing the local Fusion instance
- Remote nodes — Select a remote node to view its tasks, projects, and status
Remote Node Onboarding Discovery
When adding a remote node in the Nodes view, onboarding now discovers projects directly from the target node before the node is registered.
- Enter the remote URL (and API key when required)
- Click Discover Remote Projects
- Fusion calls the remote node's
/api/projectsendpoint and shows discovered projects (name,path,status) - For selected local projects, Fusion only auto-prefills a node path when there is exactly one discovered project with the same name
- If discovery fails, onboarding shows an inline error and does not prefill remote mappings for that attempt
- If discovery succeeds with zero projects, onboarding shows an explicit empty state
This keeps remote path mappings anchored to remote-authoritative data instead of local guesses.
How Node Switching Works
- The node selector appears in the header when remote nodes are registered in the mesh
- Selecting a remote node routes all API calls through the proxy endpoint (
/api/proxy/:nodeId/...) - Task data (projects, tasks) is fetched from the remote node and displayed in the dashboard
- SSE events from the remote node are streamed via the proxy and update the dashboard in real-time
- Selecting "Local" returns to the local Fusion instance with full local data
Benefits of Remote Node Viewing
- Monitor task progress across distributed teams
- View task status on remote headless nodes without direct SSH access
- Compare project health across multiple Fusion instances
- Stay informed about remote agent activity and task completion
Node Status Indicators
| Status | Color | Meaning |
|---|---|---|
| Online | Green | Node is connected and responsive |
| Offline | Red | Node is unreachable or shut down |
| Connecting | Yellow (pulsing) | Connection attempt in progress |
Project availability and path visibility
Node and project surfaces now use per-node project mappings (nodeMappings) instead of a single project.nodeId assumption.
- Node cards / counts include only projects with an
available: truemapping for that node. - Node Details modal lists one row per project available on the selected node and shows:
- project name
- project ID
- configured path for that node
- Project node filter in the Projects view is built from available mappings and uses canonical node-name resolution (
Node.name→ mapping name → source node name → node ID). - Project cards show node availability as compact
Node → /pathrows:- up to 3 rows inline
+N moresummary when additional mappings exist- single-node projects still show the configured path clearly
- Mappings marked
available: falseare excluded from node counts, node filter options, node detail project rows, and project-card availability summaries.
Persistence
The selected node persists across browser sessions via localStorage. If the selected remote node is unregistered, the dashboard automatically falls back to local mode.
Native shell connection flow
If you use Fusion from a native shell (mobile app or desktop shell in remote mode), dashboard startup is gated by shell onboarding until a connection is selected.
For the canonical workflow (first-run onboarding, QR/manual setup, saved profiles, and desktop local/remote handoff), see Native Shell Connection Guide.
Remote Access (Settings)
Dashboard remote controls live in Settings → Remote Access.
From this section, operators can:
- Configure Tailscale and Cloudflare provider fields
- Activate the current provider
- Start/stop tunnel lifecycle manually
- Generate login URLs / QR payloads using persistent or short-lived token mode
For setup prerequisites, security caveats for tokenized URLs/QR links, and troubleshooting, use the canonical Remote Access runbook.
Skills API
The Skills API provides endpoints for managing execution skills. Skills are toggled via project-scoped settings in .fusion/settings.json.
GET /api/skills/discovered
List all discovered skills with their enabled state.
Response: 200 OK
{
"skills": [
{
"id": "npm%3A%40example%2Fskill::skills/foo/SKILL.md",
"name": "foo/SKILL.md",
"path": "/path/to/skills/foo/SKILL.md",
"relativePath": "skills/foo/SKILL.md",
"enabled": true,
"metadata": {
"source": "npm:@example/skill",
"scope": "project",
"origin": "package"
}
}
]
}
Skill ID Format: encodeURIComponent(metadata.source) + "::" + relativePath
- Top-level skills use
source: "*" - Package skills use the package source identifier
Error Response: 404 Not Found
{
"error": "Skills adapter not configured",
"code": "adapter_not_configured"
}
GET /api/skills/:id/content
Fetch a skill's SKILL.md content and supplementary file metadata.
Response: 200 OK
{
"content": {
"name": "foo/SKILL.md",
"skillMd": "# Foo Skill\n...",
"files": [
{
"name": "examples",
"relativePath": "skills/foo/examples",
"type": "directory"
},
{
"name": "example.ts",
"relativePath": "skills/foo/examples/example.ts",
"type": "file"
}
]
}
}
Error Responses:
400 Bad Request— invalid encoded skill ID (code: "invalid_skill_id")404 Not Found— skill not found (code: "skill_not_found") or adapter missing (code: "adapter_not_configured")
PATCH /api/skills/execution
Toggle a skill's enabled/disabled state.
Request Body:
{
"skillId": "npm%3A%40example%2Fskill::skills/foo/SKILL.md",
"enabled": true
}
Response: 200 OK
{
"success": true,
"skillId": "npm%3A%40example%2Fskill::skills/foo/SKILL.md",
"enabled": true,
"persistence": {
"scope": "project",
"targetFile": "/path/to/.fusion/settings.json",
"settingsPath": "packages[].skills",
"pattern": "+skills/foo/SKILL.md"
}
}
Toggle Semantics:
- Top-level skills (
origin: "top-level"): Mutatesettings.skills- Enable: ensures
+<relativePath>exists, removes-<relativePath> - Disable: ensures
-<relativePath>exists, removes+<relativePath>
- Enable: ensures
- Package skills (
origin: "package"): Mutatesettings.packages[].skillsfor the matchingmetadata.source- If the package entry is a string, it's converted to an object
{ source: <same>, skills: [] } - Other package fields (
extensions,prompts,themes) are preserved
- If the package entry is a string, it's converted to an object
Error Responses:
400 Bad Request— Invalid request body{ "error": "skillId is required", "code": "invalid_body" }404 Not Found— Adapter not configured{ "error": "Skills adapter not configured", "code": "adapter_not_configured" }
GET /api/skills/catalog
Fetch the skills.sh catalog with optional authentication.
Query Parameters:
limit(optional): Number of results (default 20, max 100)q(optional): Search query string
Response: 200 OK
{
"entries": [
{
"id": "example-skill",
"slug": "example-skill",
"name": "Example Skill",
"description": "An example skill",
"tags": ["utility"],
"installs": 100,
"installation": {
"installed": true,
"matchingSkillIds": ["npm%3A%40example%2Fskill::skills/example/SKILL.md"],
"matchingPaths": ["skills/example/SKILL.md"]
}
}
],
"auth": {
"mode": "unauthenticated",
"tokenPresent": false,
"fallbackUsed": false
}
}
Authentication Flow:
- If
SKILLS_SH_TOKENenv var is present, use authenticated request - If authenticated request returns
400/401/403, retry without authentication (fallback mode) - If no token, use unauthenticated request directly
Unauthenticated Short-Query Behavior:
- Public
skills.sh /api/searchrequests are only sent whenqhas at least 2 characters - For omitted, empty, or 1-character queries, the API returns
200with{ entries: [] } - This applies both to direct unauthenticated mode and authenticated-to-unauthenticated fallback mode, preventing upstream
400 Bad Requestresponses during initial load
Auth Mode Values:
authenticated— Request made with tokenunauthenticated— Request made without token (no token available)fallback-unauthenticated— Initial authenticated request failed with 401/403, retried without token
Error Response: 502 Bad Gateway
{
"error": "Upstream request timed out",
"code": "upstream_timeout"
}
Possible error codes:
upstream_timeout— Request timed outupstream_http_error— Upstream returned an error statusupstream_invalid_payload— Upstream returned invalid response format
Agent Import
The Agent Import feature allows you to import agents from Agent Companies packages. When importing agents from companies.sh or local directories, Fusion now also persists any skill definitions from the package.
Launch Points
You can open Agent Import from:
- Agents view → Controls popup → Import
- Agent Detail header → Import (opens directly to the companies.sh browse catalog)
How It Works
-
Select Source: Choose to import from:
- The companies.sh catalog (browse and search)
- A local directory containing AGENTS.md files
- A single manifest file (.md or .txt)
- Paste manifest content directly
-
Preview: Review the agents and skills that will be imported before confirming
-
Import: Upon confirmation:
- Agents are created in Fusion's agent store
- Skills are persisted to
skills/imported/{companySlug}/{skillSlug}/SKILL.md - Each skill's
SKILL.mdcontains YAML frontmatter with skill metadata and the instruction body
Skill Persistence
Skills from Agent Companies packages are persisted to the project-local skills directory:
{projectRoot}/
skills/
imported/
{companySlug}/ # slugified company name or "unknown-company"
{skillSlug}/ # slugified skill name
SKILL.md # skill manifest with frontmatter + instructions
Collision Handling: If a SKILL.md file already exists at the target path, the import skips that skill (does not overwrite). This prevents accidental data loss.
Path Safety: All path segments are slugified to prevent directory traversal attacks. Special characters are removed and whitespace is normalized to hyphens.
Import Result
The import result shows:
Agents:
- Number of agents created
- Number of agents skipped (already exist)
- Number of errors (import failures)
Skills:
- Number of skills imported (written to disk)
- Number of skills skipped (already exist)
- Number of skill errors (write failures)
API Response
The POST /api/agents/import endpoint returns skill import results:
{
"companyName": "Example Co",
"companySlug": "example-co",
"created": [{ "id": "agent-1", "name": "CEO" }],
"skipped": [],
"errors": [],
"skillsCount": 3,
"skills": {
"imported": [
{ "name": "review", "path": "skills/imported/example-co/review/SKILL.md" },
{ "name": "strategy", "path": "skills/imported/example-co/strategy/SKILL.md" }
],
"skipped": [],
"errors": []
}
}
The skills object contains detailed import outcomes for each skill from the package.










