mpolatcan/flowpane

Claude Code용 라이브 워크플로우 창으로, 기본 Workflow 진행 목록을 단계별 그래프 또는 타임라인으로 대체하여 각 에이전트의 상태, 타이밍, 토큰 사용량, 도구 호출 및 프롬프트를 보여줍니다.
mpolatcan/flowpane

Claude Code 함수 훅(얼리 액세스 플러그인 API)을 기반으로 구축된 flowpane은 워크플로우 실행을 그래프로 그립니다. 단계마다 하나의 열, 에이전트는 노드, 배리어와 캐리는 엣지로 표현되며, 실행 중에는 초당 약 8회 다시 그려집니다. 상태(완료/실행 중/실패/중단)로 프레임된 에이전트를 이름, 지속 시간, 사용량, 모델과 함께 표시합니다. 팬아웃, 루프, 조기 중지된 체인, 건너뛴 단계를 포함한 실행의 형태. 활성 와이어 위를 이동하는 빛, 에이전트가 호출하는 도구, 토큰, 도구 호출, 모델의 누적 합계와 같은 라이브 활동. 노드를 누르면 해당 프롬프트, 모든 도구 호출과 입력, 그리고 그 결과가 포함된 대화상자가 열립니다. 실행 메뉴를 통한 세션 내 다른 실행 지원, 중첩된 워크플로우를 자체 에이전트로 펼침, 네 가지 레이아웃(가로, 세로, 타임라인, 목록)과 열두 가지 팔레트. 설치 방법은 /plugin marketplace add mpolatcan/cc-plugins 후 /plugin install flowpane. 함수 훅은 CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1과 도킹된 창을 위해 /tui fullscreen이 필요합니다. 개발용 데모 감사 워크플로우가 dev/ 아래에 포함되어 있습니다. Claude Code 2.1.272가 필요합니다. 창이 읽는 어떤 것도 머신을 떠나지 않습니다.
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add mpolatcan/flowpane claude plugin install flowpane@flowpane
Claude Code runs a workflow as a list of agents ticking over. flowpane draws it instead: one column per phase, an agent as a node, the barriers and carries between them as edges, repainted about eight times a second while the run is live.
Built on Claude Code function hooks (Claude Mods), the early-access plugin API from anthropics/claude-code#91870.
| Phases across | Phases down |
| --- | --- |
|
|
|
| Timeline | A node's detail |
| --- | --- |
|
|
|
From the marketplace, inside Claude Code:
/plugin marketplace add mpolatcan/cc-plugins
/plugin install flowpane
Or from a clone, which is also how you work on it:
git clone https://github.com/mpolatcan/flowpane.git
CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude --plugin-dir ./flowpane
Then run any workflow. The pane opens on launch; /flowpane toggles it
afterwards.
Two things to know before it draws anything:
CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 is
required./tui default a pane never draws. Run /tui fullscreen, which docks
the pane beside the transcript from 110 columns; below that it sits inline
above the prompt.Everything sits under the drawing. Click a button, or Tab to it and press Enter.
| Control | What it does |
| --- | --- |
| A node's label | opens that agent's detail dialog; click again to close |
| ⚙ Settings | opens the settings dialog over the drawing |
| flowpane 0.10.0 | the name at the right-hand end of the bottom row: opens what the pane is, what presses it, and where it reads from |
| A setting's value | unrolls that setting's list where it stands; press it again to roll the list up |
| The graph, with any dialog open | takes no presses — it is pushed back behind the dialog until the dialog shuts |
| Layout | across, down, timeline, list, or fits the shape — picked by name |
| Detail height − + | rows the detail dialog takes, 5 to 32; grey at either end of the range |
| Theme | twelve palettes, nine dark and three light — each listed beside three cells of its own |
| ✕ (in a dialog) | closes it, from the dialog's own top corner |
| A tab in the detail dialog | shows that pane across the dialog's whole width; which tab is open is kept from node to node |
| A pass number on a node's row | opens that attempt's detail: ✔ 1 ✔ 2 ✖ 3 is one row and three presses |
| The ▸ on a nested run's name, or its ▸ 23 agents | unfolds that run into its own agents, each one pressable — in any layout. The count on the run's own card takes the same press as the mark on its band. The mark turns ▾ while it is open |
| ▴ / ▾ (in a dialog) | scrolls the open pane three lines. Grey at either end |
| ▴ / ▾ ◂ / ▸ (at the pane's edges) | scrolls the drawing, where it is larger than the pane. A live run is drawn with the window on the phase it is working in, so scrolling away is a peek: it goes back when the run enters a new phase |
| The wheel, over the pane | moves the drawing, or the open dialog while one is open |
| The wheel, over the rail along the foot | moves the drawing sideways — as does the wheel anywhere over a drawing that only goes that way |
| The run's name | opens the session's other runs as a menu under it, once there is more than one; grouped by state, most recent first, each with the second it started on, and opening on the run the pane is drawing. Picking one moves the drawing to it, live or finished |
| ▴ / ▾ (down a run list) | scrolls the runs three rows, in the menu or on the idle pane, with a thumb saying whereabouts in the list they are. The wheel over an open list moves it too |
| A run on the idle pane | draws it. With nothing running the pane lists the session's runs in place of the graph, grouped and timed the same way |
/plugin configure flowpane, or pluginConfigs in settings.json:
| Field | Values | What it does |
| --- | --- | --- |
| orientation | horizontal, vertical, timeline, list, or auto (default) — the last spelled fits in /flowpane and in the settings | horizontal runs the phases across the pane, vertical runs them down it, auto follows the pane's proportions. A node is the same size in every one of them at every size of pane: the drawing is laid out whole and the pane is a window on it, so what it cannot hold it scrolls to and the rails say which way. list draws a row per agent under each phase with no edges between them, which is the compact reading of a long run. timeline swaps the graph for a trace view: a ruled time axis, one bar per agent on it, grouped by phase and indented under the nested runs they belong to, with a marker where now is. |
| detailRows | 5–32 (default 24) | Rows the detail dialog takes when a node is selected, capped at what the pane can inset. |
| paneRows | 6–80 (0 = let the surface decide) | Rows the pane asks for. A dock beside the transcript usually picks its own height. |
| theme | tokyo-night (default), catppuccin, gruvbox, nord, dracula, solarized, monokai, vscode-dark, insider-one, github-light, solarized-light, insider-one-light | The palette everything is drawn in, its ground included. The pane always paints on that ground, footer and all, so the drawing reads the same in every terminal rather than against whatever the terminal happens to be; the ground stops at the drawing's own right edge — see the note under the tree below. |
The repository keeps one run, dev/audit.workflow.js, so there is something to
watch while working on the pane. It is a development tool rather than part of
the plugin: it is not installed with flowpane and it is not offered as a
skill. Run it from a checkout with bun dev/dryrun.ts for the stubbed pass, or
hand the script to the Workflow tool for the real one.
It is a read-only audit of the repository it is run in: two to five minutes, twenty to thirty agents, nothing written to disk. It is shaped to put every case the pane can draw in front of it at once — a branch, a loop, a chain that stops early, a phase never entered, a fan-out, three models, four kinds of tool call and an edge too long to thread between the bands. See docs/demo-workflow.md.
claude plugin test . # the test suite
bunx tsc --noEmit # typecheck
bun dev/preview.ts # the pane, drawn to the terminal, no session needed
bun dev/shot.ts --journal <dir> # the pane, working, in a browser
bun dev/lines.ts # every line of every run at every size
bun dev/audit.ts # every run, layout and size: nothing throws, every cell legible
docs/development.md has the rest of the tools and what
each test measures. CLAUDE.md has the constraints and conventions a change
has to keep.
The drawing is a long argument with itself, and the reasoning is kept where the decision is. Each of these says what the pane does, what it did before, and why it changed:
| Document | What it covers | | --- | --- | | docs/pane.md | Which seat the pane takes, and the idle pane | | docs/controls.md | Every control, the bottom row, and the dialogs | | docs/settings.md | The four settings, and how a theme becomes a palette | | docs/header.md | The run line, the phase names, and what moves | | docs/nodes.md | What a node says, and the four states | | docs/graph.md | What the files state, what the pane infers, and how each is drawn | | docs/detail.md | The dialog a node opens | | docs/data.md | The files a run writes, and recovering a run already going | | docs/demo-workflow.md | The audit run under dev/ | | docs/engine.md | What the function-hooks API allows, and what it does not | | docs/development.md | The dev tools, and what the tests measure |
Loads and runs on Claude Code 2.1.272: hooks register, /flowpane lists, the launch
hook fires and reads the journal. 361 tests run over the engine with claude plugin test .; dev/lines.ts checks every line of every run on disk at twelve
widths and ten heights. Nothing the pane reads leaves the machine.
MIT. See LICENSE.