chore(bolt): sync upstream dev
User description
Issue for this PR
No linked issue.
Type of change
- Bug fix
- New feature
- Refactor / code improvement
- Documentation
What does this PR do?
Syncs anomalyco/opencode:dev through 21e66f21c7 into Bolt dev. The updater conflict keeps Bolt package names and Scoop/Chocolatey behavior while preserving the upstream npm --allow-scripts safeguard. OpenCode-specific WinGet packaging is not enabled for Bolt.
How did you verify your code works?
cd packages/cli && bun test --timeout 30000 test/updater-install.test.ts— passed (29 passed; 5 Windows-only tests skipped on macOS).cd packages/cli && bun run typecheck:tsc— passed.
Visual
Optional, for user-facing changes: a small looping animated SVG (240×72) of the change, shown in the desktop app's "What's new in beta". Replace the block below or delete this section.
Screenshots / recordings
If this is a UI change, please include a screenshot or recording.
Checklist
- I have tested my changes locally
- I have not included unrelated changes in this PR
If you do not follow this template your PR will be automatically rejected.
Summary by cubic
Syncs anomalyco/opencode:dev through 21e66f21c7 into Bolt dev. The updater conflict keeps Bolt package names and Scoop/Chocolatey behavior while preserving the upstream npm --allow-scripts safeguard; OpenCode-specific WinGet packaging stays disabled for Bolt.
- Built-in and plugin skills now use virtual
skill://URIs instead of/builtin/*.mdpaths, and reads and links resolve them consistently. - Unparseable tool arguments go back to the model as an error result so it can retry, and a step that hits the output token limit ends without running potentially cut-off tool calls.
AIErrorexposesstatus,code,isRetryable, andretryAfterMs.- The Claude Agent plugin disables non-streaming and refusal fallbacks and reports plan usage on step metadata.
- Compaction no longer resends a rejected conversation unchanged when triggered by an overflow.
- The Console gets a public sitemap entry, redirects old site pages, and can share workspace instructions and skills.
PR Type
Enhancement, Bug fix, Documentation
Description
-
Introduce virtual
skill://URIs across packages -
Refactor AI tool execution loop and errors
-
Support Console workspace instructions and skills
-
Fix context overflow compaction and npm upgrade
Diagram Walkthrough
flowchart LR
A["Virtual skill:// URIs"] -- "Resolves in" --> B["Read Tool & GUI Handlers"]
C["Console Library"] -- "Loads" --> D["Workspace Instructions & Skills"]
E["AI Loop Refactor"] -- "Handles" --> F["AIError & Retry Details"]
File Walkthrough
| Relevant files | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Refactor | 5 files
| ||||||||||||||||||||||||||||||||||||
| Enhancement | 18 files
| ||||||||||||||||||||||||||||||||||||
| Tests | 16 files
| ||||||||||||||||||||||||||||||||||||
| Bug fix | 5 files
| ||||||||||||||||||||||||||||||||||||
| Documentation | |||||||||||||||||||||||||||||||||||||
| Configuration changes | 1 files
|