feat: port legacy Bolt features and distribution to V2
User description
Issue for this PR
Related to #419; the full V1 port remains in progress.
Type of change
- New feature
- Refactor / code improvement
- Documentation
What does this PR do?
Bring legacy Bolt functionality into the active V2 packages:
- Restore CLI reports, code analysis, agent workflows, aliases, logs, transcript exports, memory management, session resume/fork, indexing, benchmarks, flaky-test detection and project initialization.
- Add background jobs, supervision, cron scheduling and invariant state/verification commands.
- Integrate memory capture and recall, voice transcription, sandbox controls, network protection, credential redaction, Git tools and semantic search.
- Restore specialist agents, slash commands, Vim input, process controls and cost alerts in the TUI.
- Apply Bolt branding, icons and default themes across terminal, web and desktop interfaces, with compatible configuration discovery.
- Retarget packaging, updates and release publishing to Bolt npm packages, GitHub releases, Homebrew and Docker; remove upstream AUR/WinGet publishing while retaining release verification gates.
- Move reusable legacy implementations and tests into active packages and document remaining parity work in
legacy/PORTING.md.
How did you verify your code works?
Validation was not run during this metadata inspection. The candidate includes regression tests across CLI, Core, memory, TUI, utilities, desktop packaging and release workflows. Full current workspace verification and remaining V1 parity audits are still pending.
Visual
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72"><style>@media(prefers-reduced-motion:no-preference){.pulse{animation:pulse 3s infinite}@keyframes pulse{0%,100%{opacity:.45}50%{opacity:1}}}</style><g fill="none" stroke="currentColor"><rect x="8" y="10" width="224" height="52" rx="8" opacity=".4"/><path d="m20 28 7 7-7 7m15 0h12"/></g><g fill="currentColor" font-family="monospace"><text x="58" y="32" font-size="13">Bolt V2</text><text class="pulse" x="58" y="49" font-size="10">memory · voice · jobs</text></g></svg>
Screenshots / recordings
Not captured during this inspection.
Checklist
- I have tested my changes locally
- I have not included unrelated changes in this PR
Summary by cubic
Ports the remaining legacy Bolt CLI features and distribution tooling into the active V2 packages, completing the rename from OpenCode to Bolt. Related to #419; the full V1 port remains in progress.
New features
- Restores CLI reports, code analysis, agent workflows, aliases, logs, transcript exports, memory management, session resume/fork, indexing, benchmarks, flaky-test detection, and project initialization.
- Adds background jobs, supervision, cron scheduling, and invariant state/verification commands.
- Integrates memory capture/recall, voice transcription, sandbox controls, semantic search, and Bolt branding with corrected default themes across TUI, web, and desktop.
- Adds specialist agents, slash commands, Vim input, process controls, and cost alerts in the TUI.
- Hardens the ported commands: JSON export failures, pager wrap detection, default-branch resolution, diff-gate severity parsing, blast rename paths, deletion/rename-only analysis, invariants path resolution, and fork cursors across message pages.
Migration
- The CLI binary is now
bolt;opencoderemains as a legacy alias. - The CLI and platform packages move from
@opencode/*to@bolt-builder/*; the bundled@opencode/*workspace libraries keep their IDs for plugin compatibility. - Publishing moves to GitHub releases, Homebrew, and Docker; AUR and WinGet publishing is removed, and manual feature-branch runs build unsigned artifacts only.
- Remaining parity work is tracked in
legacy/PORTING.md.
PR Type
Enhancement, Tests, Documentation
Description
-
Port legacy CLI subcommands and analysis tools
-
Add core memory, semantic search, and voice plugins
-
Apply Bolt branding across desktop and TUI interfaces
-
Retarget packaging and releases to Bolt npm packages
Diagram Walkthrough
flowchart LR
v1["Legacy V1 Codebase"] -- "Port CLI & Workflows" --> cli["V2 CLI Commands"]
v1 -- "Port Memory & Tools" --> core["V2 Core Plugins"]
core -- "Provide Services" --> tui["V2 TUI & App"]
File Walkthrough
| Relevant files | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Tests | 11 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enhancement | 22 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional files | 101 files
|