chore(bolt): sync upstream dev
Merged
A-
1d ago+7451+7451+0123456789012345678901234567890123456789-8214-8214-0123456789012345678901234567890123456789
User description
Summary
- Merge upstream OpenCode dev through
1bf08ae46a. - Preserve Bolt network protections and CLI behavior while resolving merge conflicts.
- Adapt Bolt-specific tests to upstream plugin-host changes.
Verification
bun run checkbun run script/test.ts test/tool-execute.test.ts test/tool-webfetch.test.tsbun run script/test.ts test/plugin/bolt-agent-review.test.ts test/plugin/redact.test.ts test/snapshot.test.tsbun test --timeout 30000 test/run/control-command.test.ts
Summary by cubic
Syncs upstream OpenCode dev through 1bf08ae46a into Bolt, resolving merge conflicts while preserving Bolt-specific network protections and CLI behavior. Bolt-specific tests are updated for upstream plugin-host changes.
Highlights
- Adds
run --archivedto keep scripted or CI sessions out of inbox lists and implicit--continue. - Code Mode programs can now import globals by Node module name, e.g.
import fs from "fs". - Cohere streams that end early now retry instead of failing.
Refactors
- Shares provider settings conversion, Responses hosted tool definitions, cache breakpoint handling, and Vertex OAuth route setup across
packages/ai. - Makes
ResponseFoldinternal and stops copying events per chunk. - Realigns the app sidebar, tab spacing, and macOS traffic light positioning; adjusts timeline tail spacing.
PR Type
Enhancement, Bug fix, Tests
Description
-
Sync upstream OpenCode changes into Bolt
-
Deduplicate shared logic across core and AI
-
Streamline session handling and MCP integrations
-
Standardize test fixtures with shared helpers
Diagram Walkthrough
flowchart LR
Upstream["Upstream OpenCode"] -- "Sync & Merge" --> Bolt["Bolt Repository"]
Bolt -- "Refactor & Share" --> Core["packages/core"]
Bolt -- "Refactor & Share" --> AI["packages/ai"]
File Walkthrough
| Relevant files | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Tests | 11 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Refactor | 8 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional files | 101 files
|