@sailfish-ai/autofix-demo
v0.2.1
Published
Sailfish Autofix Demo — a zero-setup, fully-offline terminal walkthrough of an AI autofix run (investigate → root cause → fix → PR). Run with `npx @sailfish-ai/autofix-demo`.
Maintainers
Readme
@sailfish-ai/autofix-demo
A zero-setup, fully-offline terminal walkthrough of a Sailfish AI Autofix run.
It replays a scripted investigation — read session telemetry → pinpoint the root cause → apply a minimal fix → run tests → open a pull request — so anyone can see what Autofix feels like without authenticating, cloning a repo, or running an agent.
This is a demo. It does not run a real agent, read your code, make network calls, or change anything on your machine.
Run it
npx @sailfish-ai/autofix-demoThat's it — no login, no config.
Imitate a specific agent
The demo can render in the terminal style of whichever coding agent you're showing it to:
npx @sailfish-ai/autofix-demo --agent cursorSupported ids: claude-code (default), cursor, codex, copilot,
opencode, windsurf, gemini, goose, generic.
These are stylized, representative imitations of each tool's terminal UI (banner, prompt glyph, tool-call notation, diff format, accent color) — not byte-perfect clones. The investigation content is the same for every agent.
Options
| Flag | Description |
| ------------------- | ------------------------------------------------------------ |
| -a, --agent <id> | Imitate a specific agent's terminal UI (see ids above). |
| -y, --yes | Auto-approve the pull-request prompt (no interaction). |
| --fast | Skip the timed pauses and play the demo instantly (CI/test). |
| --no-color | Disable ANSI colors. |
| --version | Print the version. |
| --help | Show help. |
How this differs from the real Autofix
| | @sailfish-ai/autofix-demo (this package) | @sailfish-ai/autofix (the real CLI) |
| --- | --- | --- |
| Auth | None | Sailfish OAuth login |
| Network | None | Talks to the Sailfish backend + your VCS |
| Agent | Scripted narrative | Real Claude Code session |
| Repo | None needed | Runs against your repository |
| Result | A canned report | A real branch + pull request |
To run the real Autofix, use @sailfish-ai/autofix.
Develop
npm install
npm start # run from source via tsx
npm start -- --fast # instant playback
npm run build # bundle to dist/ with tsup
npm run typecheck