The CLI Hub is the bottom-panel webview (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bastndev/f1/llms.txt
Use this file to discover all available pages before exploring further.
f1.myCli) that hosts fully-functional embedded terminals directly inside VS Code. Each terminal runs a real AI coding agent process — Claude Code, Codex, Cursor, and more — rendered by xterm.js. You never leave the editor to interact with your agents, and every session persists independently so you can run multiple agents side-by-side on the same codebase.
Opening CLI Hub
PressF1 (keybinding: f1.myCli.smartFocus) to open and focus the CLI Hub panel at any time. If the panel is already visible, F1 moves keyboard focus directly into the active terminal so you can start typing immediately.
CLI Hub uses xterm.js v6 with the
xterm-addon-fit addon for terminal rendering. The fit addon automatically resizes each terminal’s column and row dimensions whenever the panel is resized, keeping the PTY and the display in sync.Managing Sessions
CLI Hub supports multiple concurrent agent sessions in a single panel. Each session is an independent terminal with its own scrollback buffer — switching sessions is instant because the content is retained in memory.| Action | Shortcut |
|---|---|
| Create a new session | Alt++ |
| Close the active session | Alt+- |
| Switch to the next session | Tab |
| Switch to the previous session | Shift+Tab |
| Open the CLI selector | CapsLock |
| Jump directly to agent 1–9 | 1 – 9 |
Architecture
Sessions run via node-pty inside a dedicatedpty-host.js process that is spawned with system Node rather than Electron-as-Node. This separation is intentional: node-pty is a native binding compiled against a specific Node ABI, and running it inside Electron’s bundled runtime causes silent segfaults. The pty-host communicates with the extension host over an IPC channel, forwarding terminal output back to the xterm.js canvas in the webview.
Built-in Tools
Five tools are available directly inside the CLI Hub panel, each mapped to a keyboard shortcut:| Tool | Shortcut | Purpose |
|---|---|---|
| Prompt Composer | Shift+F1 | Write rich prompts with @-file mentions, image paste, live spellcheck, and auto-translation |
| Translator | Shift+F2 | Translate any terminal text selection inline |
| Status / Use | Shift+F3 | Per-agent usage and status view |
| Keymaps | Shift+F4 | In-panel keyboard shortcut reference for the active CLI |
| Commands | Alt+F1 | Searchable slash-command palette for the active agent |
Explore CLI Hub
Agents
Browse the 9 built-in agents, their commands and slugs, fuzzy aliases, and how to launch any custom CLI.
Prompt Composer
Write better prompts with file mentions, image paste, live spellcheck in 4 languages, and auto-translation.
Tools
Translator, Status/Use, Keymaps, Commands palette, and Voice read-aloud — all built into every session.
Quickstart
Install F1 and launch your first AI agent session in under a minute.