Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
b1ce938
fix(console): support DeepSeek weekend pricing (#44305)
opencode-agent[bot] Aug 24, 2026
f2a1d54
fix(console): set duplex for streamed zen requests
fwang Aug 24, 2026
7bbfe42
always allow ox alpha in go
fwang Aug 24, 2026
4161695
Merge branch 'dev' of github.com:anomalyco/opencode into dev
fwang Aug 24, 2026
4dbeedd
discontinue first month discount
fwang Aug 24, 2026
3f2e0e8
chore: generate
opencode-agent[bot] Aug 24, 2026
4371298
fix(console): discontinue first-month Go discount (#44633)
fwang Aug 24, 2026
754bb7e
delay removing first month discount
fwang Aug 24, 2026
0352100
docs(go): clarify DeepSeek weekend pricing (#44637)
MrMushrooooom Aug 24, 2026
6bb7722
docs(go): add LongCat-2.0 (#44636)
MrMushrooooom Aug 24, 2026
9fa27bd
chore: generate
opencode-agent[bot] Aug 24, 2026
105b398
docs(acp): update Zed custom agent config (#44658)
opencode-agent[bot] Aug 24, 2026
2a36236
fix(opencode): normalize upgrade endpoint (#44686)
thdxr Aug 24, 2026
2a6be0a
chore: generate
opencode-agent[bot] Aug 24, 2026
55f9841
sync release versions for v1.18.22
Aug 24, 2026
be15db5
Revert "delay removing first month discount"
fwang Aug 24, 2026
7cde832
update model parser
fwang Aug 24, 2026
611cc73
fix(opencode): send parent session header (#44752)
opencode-agent[bot] Aug 24, 2026
f8b4dd7
fix(provider): send Anthropic's dashed native slug through the AI Gat…
superhighfives Aug 24, 2026
f4019ca
fix(github): support immutable OIDC subjects (#44776)
neriousy Aug 24, 2026
0561bac
add client header replacement
fwang Aug 24, 2026
18b4cb6
docs(github): correct action token configuration (#44793)
neriousy Aug 24, 2026
51070b6
docs: clarify prompt data handling (#44854)
opencode-agent[bot] Aug 25, 2026
3ef72fe
fix(provider): route non-native Cloudflare AI Gateway providers via t…
superhighfives Aug 25, 2026
d0ceaef
docs(console): prohibit abusive multi-account use
thdxr Aug 25, 2026
31c409a
update inference headers
fwang Aug 25, 2026
2f36ffe
sync release versions for v1.18.23
Aug 25, 2026
bdcb6be
update inference headers
fwang Aug 25, 2026
6bb1a76
update inference headers
fwang Aug 25, 2026
a57230b
fix(app): drop archived sessions from home list right away (#44905)
NathanTCode Aug 25, 2026
1e86be2
update inference headers
fwang Aug 25, 2026
afd6f3b
zen: display quota usage breakdown
fwang Aug 25, 2026
322e2b9
chore: generate
opencode-agent[bot] Aug 25, 2026
69aaa22
zen: void invoice of cancelled subscription
fwang Aug 25, 2026
a7444bf
fix(ui): restore focus in stacked dialogs (#44928)
OpeOginni Aug 25, 2026
8615731
fix(console): rate limit checkout session creation (#45007)
thdxr Aug 25, 2026
ac1c048
docs(go): add Grok 4.6 (#45042)
MrMushrooooom Aug 25, 2026
b72b500
fix(core): recover legacy database migration history (#45061)
opencode-agent[bot] Aug 25, 2026
fd9bd44
docs: mention Exa and Parallel as web search backends (#38395)
dondetir Aug 26, 2026
2564a4f
remove map
fwang Aug 26, 2026
13c2759
Merge branch 'dev' of github.com:anomalyco/opencode into dev
fwang Aug 26, 2026
3f31551
fix map inaccuracy
fwang Aug 26, 2026
ae2ea3c
fix map inaccuracy
fwang Aug 26, 2026
1cc5389
chore: update nix node_modules hashes
opencode-agent[bot] Aug 26, 2026
ba4d0ea
fix(console): validate auth redirects (#45027)
adamdotdevin Aug 26, 2026
c7134cb
chore: update nix node_modules hashes
opencode-agent[bot] Aug 26, 2026
ec25388
docs: remove Ox Alpha Free (#45221)
MrMushrooooom Aug 26, 2026
1216c55
chore: generate
opencode-agent[bot] Aug 26, 2026
a0f36c9
feat(stats): add retention metrics
adamdotdevin Aug 26, 2026
830aaf2
docs(go): add GLM-5.3-Flash (#45269)
MrMushrooooom Aug 26, 2026
902e67e
feat(stats): add weekly retention
adamdotdevin Aug 26, 2026
023620b
chore: add sst unlock workflow
adamdotdevin Aug 26, 2026
530535c
fix(stats): reduce retention query scan
adamdotdevin Aug 26, 2026
c5ef753
fix(stats): align retention columns
adamdotdevin Aug 26, 2026
c2eacd7
fix(console): secure server action redirects (#45374)
adamdotdevin Aug 26, 2026
6568a82
fix(console): merge duplicate Go usage rows (#45503)
opencode-agent[bot] Aug 27, 2026
1120d07
fix(stats): map ox alpha to glm 5.3 flash (#45542)
adamdotdevin Aug 27, 2026
5f5ea53
chore: generate
opencode-agent[bot] Aug 27, 2026
05ea507
fix(console): improve Go comparison chart on mobile (#45044)
opencode-agent[bot] Aug 27, 2026
03afae5
feat(opencode): load supported v2 config in v1 (#45421)
jlongster Aug 27, 2026
c77100a
chore: generate
opencode-agent[bot] Aug 27, 2026
517ee73
fix(provider): filter unreplayable Bedrock reasoning before caching (…
opencode-agent[bot] Aug 27, 2026
790fb5b
feat(opencode): support Azure CLI authentication (#45079)
opencode-agent[bot] Aug 27, 2026
15537a4
fix(opencode): compare config snapshots as JSON (#45784)
opencode-agent[bot] Aug 28, 2026
19db518
sync release versions for v1.18.24
Aug 28, 2026
8a7cc0c
docs(go): add Qwen3.8 Flash (#45836)
MrMushrooooom Aug 28, 2026
733562e
fix(opencode): remove Bun dependency from Azure authentication (#45845)
opencode-agent[bot] Aug 28, 2026
c2e39bb
test(opencode): use native config path in permission assertion (#45849)
opencode-agent[bot] Aug 28, 2026
755ebdb
sync release versions for v1.18.25
Aug 28, 2026
1be9fd5
docs(go): add Hy4 preview (#45904)
MrMushrooooom Aug 28, 2026
df35e84
docs(zen): add Ling 3.0 Flash Fin Free (#45923)
MrMushrooooom Aug 28, 2026
62a2f0e
feat(console): animate Go usage allowances and bonuses (#46055)
kitlangton Aug 29, 2026
dc4449d
chore: update nix node_modules hashes
opencode-agent[bot] Aug 29, 2026
be53e17
docs(go): end Hy3 usage promotion (#46213)
MrMushrooooom Aug 30, 2026
10765ff
fix: remove Hy3 Free docs and correct Go chart rendering (#46221)
MrMushrooooom Aug 30, 2026
9f69463
fix(app): backport session rename and tab menu fixes to v1 (#46116)
opencode-agent[bot] Aug 31, 2026
26ff3ed
fix(tui): keep home shortcuts right-aligned (#36906)
opencode-agent[bot] Aug 31, 2026
b639de0
fix(stats): merge deepseek flash variants (#46446)
adamdotdevin Aug 31, 2026
0428492
chore: generate
opencode-agent[bot] Aug 31, 2026
ba79057
docs on proper usage of OpenCode Go
thdxr Sep 1, 2026
2386fce
chore: generate
opencode-agent[bot] Sep 1, 2026
5c5c709
fix(tui): pin diff highlights query (#46519)
opencode-agent[bot] Sep 1, 2026
f7da00f
fix(opencode): omit empty apply patch move path (#45329)
altendky Sep 1, 2026
be3b703
fix(web): restore documentation list markers
thdxr Sep 1, 2026
1ead9e3
fix(web): number Go usage requirements
thdxr Sep 1, 2026
ebece6e
docs(web): update Qwen3.7 Max Go usage (#46555)
MrMushrooooom Sep 1, 2026
5341a5e
feat(console): add workspace migration timestamp (#46627)
vimtor Sep 1, 2026
1ce281b
fix(stats): prevent comparison legend collapse
adamdotdevin Sep 1, 2026
df6aecd
chore: generate
opencode-agent[bot] Sep 1, 2026
216ba8f
fix(opencode): stop Azure model discovery from logging to stdout (#46…
rekram1-node Sep 1, 2026
2da5a4b
refactor(tui): use OpenTUI Dynamic in session view (#46649)
rekram1-node Sep 1, 2026
55c54d1
chore: use native runtime conditions in development (#46644)
rekram1-node Sep 1, 2026
4502ee5
fix(core): bump @ai-sdk/amazon-bedrock to 4.0.166 for reasoning and r…
pengzh1 Sep 1, 2026
dc8753f
chore: update nix node_modules hashes
opencode-agent[bot] Sep 1, 2026
3f39a32
feat(opencode): tolerate Anthropic thinking block binding (#46653)
rekram1-node Sep 1, 2026
2961956
chore: update nix node_modules hashes
opencode-agent[bot] Sep 1, 2026
af1f9e6
remove azure discovery stuff (#46666)
neriousy Sep 1, 2026
1542195
fix(opencode): allow none reasoning effort in Bedrock SDK (#46671)
rekram1-node Sep 1, 2026
c066339
test(opencode): guard patched dependency versions (#46673)
rekram1-node Sep 1, 2026
765ae64
fix(core): Fix for incorrect time.start reset in tool call logging (#…
bartlettroscoe Sep 1, 2026
c10d676
chore: update nix node_modules hashes
opencode-agent[bot] Sep 1, 2026
86387e9
test(opencode): fix session tools test typecheck and runtime (#46677)
rekram1-node Sep 1, 2026
8100c68
fix(app): bump happy-dom to fix GC-dependent MutationObserver flake (…
rekram1-node Sep 1, 2026
8ff796f
chore: update nix node_modules hashes
opencode-agent[bot] Sep 1, 2026
8e0f1c2
sync release versions for v1.18.26
Sep 1, 2026
82b6650
docs(zen): add Claude Fable 5.1 (#46728)
MrMushrooooom Sep 2, 2026
69c172e
fix(provider): handle SSE reader cancel rejections (#44944)
AlexanderWillner Sep 2, 2026
50efc05
feat(console): keep migrated teams on the new Console (#46830)
vimtor Sep 2, 2026
77aec36
feat(console): add Muse Spark 1.3 and Gemini 3.8 Flash (#46836)
MrMushrooooom Sep 2, 2026
ffbdee7
chore: generate
opencode-agent[bot] Sep 2, 2026
9a71624
fix(provider): scope thinking binding to Claude 5.1+ (#46848)
rekram1-node Sep 2, 2026
ef27925
fix(console): restore migrated inference proxy requests (#46854)
vimtor Sep 2, 2026
68abdce
fix(opencode): let config opt out of Anthropic thinking blockBinding …
dkindlund Sep 2, 2026
4eb29a6
fix(opencode): default chunk timeout to five minutes (#46890)
rekram1-node Sep 2, 2026
b046973
fix(opencode): default header timeout to five minutes (#46903)
rekram1-node Sep 2, 2026
0502833
sync release versions for v1.18.27
Sep 2, 2026
8d1f891
chore: bump gitlab-ai-provider to 6.13.0 (#46914)
vglafirov Sep 2, 2026
3a9d4e7
chore: update nix node_modules hashes
opencode-agent[bot] Sep 2, 2026
bbe4c95
docs: add Eden AI to the providers list (#43386)
MVS-source Sep 3, 2026
b578b72
fix(app): increase open-in icon size (#46540)
iamdavidhill Sep 3, 2026
f12e14c
fix(app): identify desktop in Console device auth (v1) (#47000)
opencode-agent[bot] Sep 3, 2026
79d5031
docs(web): translate Go usage requirements (#47057)
MrMushrooooom Sep 3, 2026
d2efd81
fix(console): proxy migrated model discovery to v1 endpoint (#47065)
vimtor Sep 3, 2026
08c483d
fix(stats): reduce database query load
adamdotdevin Sep 3, 2026
d8eb3b8
chore: generate
opencode-agent[bot] Sep 3, 2026
7561b4a
fix(tui): use unicode ellipses in interface text (#45126)
iamdavidhill Sep 3, 2026
a935432
chore: generate
opencode-agent[bot] Sep 3, 2026
8a6cf2c
feat(stats): improve market share chart (#47115)
adamdotdevin Sep 3, 2026
c0f09af
feat(copilot): send X-Interaction-Id header with session id (#47215)
opencode-agent[bot] Sep 4, 2026
8b9f89e
docs(go): add Omen Alpha (#47220)
MrMushrooooom Sep 4, 2026
dd417f1
chore: generate
opencode-agent[bot] Sep 4, 2026
03cb632
test(core): disable npm audits in the test preload (#47222)
opencode-agent[bot] Sep 4, 2026
70f7411
fix(stats): keep omen-alpha under unknown provider (#47248)
opencode-agent[bot] Sep 4, 2026
475b408
fix(console): backport usage reset boundary fix to dev (#47267)
MrMushrooooom Sep 4, 2026
3f31139
feat(console): route migrated BYOK through provider connections (#47266)
vimtor Sep 4, 2026
4178fd7
fix(stats): hide stealth model providers
adamdotdevin Sep 4, 2026
31afdd5
chore: generate
opencode-agent[bot] Sep 4, 2026
20a7743
docs(go): renew DeepSeek ZDR through September 2026 (#47288)
MrMushrooooom Sep 4, 2026
51f86c8
sync release versions for v1.18.28
Sep 4, 2026
5d5c35e
docs(zh): fix bold rendering by adding spaces around asterisks (#46231)
Peter267 Sep 4, 2026
5cf9f51
feat(console): add quota reset support action (#47313)
heimoshuiyu Sep 4, 2026
500c46e
fix(opencode): allow integer GPT versions in Codex model filter (#47384)
rekram1-node Sep 4, 2026
02a167e
fix(opencode): compare Codex GPT versions by major and minor (#47385)
rekram1-node Sep 4, 2026
5b1e319
sync release versions for v1.18.29
Sep 4, 2026
7774580
zen: add muse spark
fwang Sep 5, 2026
e8548ae
update zen models
fwang Sep 5, 2026
79903a4
chore: generate
opencode-agent[bot] Sep 5, 2026
4db1eec
update zen docs
fwang Sep 5, 2026
70b4ca8
Merge branch 'dev' of github.com:anomalyco/opencode into dev
fwang Sep 5, 2026
e289456
fix(console): openai usage normalization and tier threshold config (#…
heimoshuiyu Sep 5, 2026
bbd72fb
fix(console): connect enterprise form to Chatwoot (#47488)
Slickstef11 Sep 5, 2026
fde539b
Merge remote-tracking branch 'upstream/dev' into dev
A-x6 Sep 5, 2026
22184df
feat(opencode): port Astra system prompt from v2 (#48057)
rekram1-node Sep 9, 2026
f2d23ac
fix(opencode): request summarized adaptive thinking (#48269)
rekram1-node Sep 10, 2026
c5f6960
fix: preserve Bedrock DeepSeek model ids (#34441)
YeEmrick Sep 8, 2026
3fadfa1
fix(opencode): add GitLab reasoning variants (#47306)
far-ouq Sep 5, 2026
99dc5a6
fix(acp): restore session options and reasoning boundaries (#48225)
JacobNWolf Sep 11, 2026
9a53a3e
chore: bump gitlab-ai-provider to 6.15.0 (#47792)
vglafirov Sep 7, 2026
32a2d70
fix(provider): bump Azure SDK to 3.0.93 (#47664)
opencode-agent[bot] Sep 6, 2026
eccb3d3
fix(provider): bump OpenAI SDK to 3.0.88 (#47659)
opencode-agent[bot] Sep 6, 2026
2510dcc
fix(provider): preserve explicit OpenAI service tiers (#47671)
opencode-agent[bot] Sep 6, 2026
59dbad7
fix(memory): skip LLM consolidation for opencode managed models
A-x6 Sep 12, 2026
24f4012
fix(tui): use blue warning status color
A-x6 Sep 12, 2026
cd04f2c
feat(bolt): mirror orchestrator agent into .bolt
A-x6 Sep 12, 2026
9bee233
docs: remove demo svg
A-x6 Sep 12, 2026
85f64b3
fix(opencode): provide tool budget service in tools test
A-x6 Sep 13, 2026
669af52
fix(opencode): type GlobalBus emit against generic base signature
A-x6 Sep 13, 2026
69ce3d9
chore: sync bun lockfile with workspaces
A-x6 Sep 13, 2026
377650b
fix(deps): declare memory and mime-types dependencies
A-x6 Sep 13, 2026
6329dff
fix(deps): add node types for opencode
A-x6 Sep 13, 2026
78bc4f4
fix(opencode): match generic base signature in GlobalBus emit
A-x6 Sep 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 59 additions & 0 deletions .bolt/agent/orchestrator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
mode: primary
hidden: false
color: "#9B59B6"
tools:
"*": true
---

You are an orchestrator agent responsible for coordinating complex multi-step tasks by delegating work to specialized agents.

Your role is to:

1. Understand the user's request and break it down into logical steps
2. Analyze the codebase context to understand dependencies and impact
3. Create a step-by-step plan for the task
4. Execute each step by delegating to the most appropriate specialized agent
5. Verify results and report completion

## When to Delegate

Delegate to specialized agents based on the nature of the subtask:

- **code agent**: Implementation, writing code, fixing bugs, adding features
- **plan agent**: Architecture exploration, producing plans without changing code
- **debug agent**: Troubleshooting failing tests, crashes, and logic errors
- **refactor agent**: Safe refactoring with test verification
- **docs agent**: Writing and updating documentation
- **security agent**: Security audits and vulnerability checks
- **migrate agent**: Framework upgrades and dependency migrations
- **perf agent**: Performance analysis and optimization
- **code-review agent**: Reviewing changes for correctness and style

## Workflow

For complex tasks:

1. First, explore the codebase to understand the current state
2. Break down the task into clear, actionable steps
3. For each step, choose the right agent and delegate the work
4. Monitor progress and verify each step completes successfully
5. Report back with a summary of what was accomplished

Use the task tool to delegate work to subagents. Be specific about what each subagent should accomplish and provide sufficient context.

## Example

User: "Add authentication to this API"

Your approach:

1. Explore the current API structure
2. Plan the authentication implementation (JWT, session, OAuth, etc.)
3. Delegate to plan agent for architecture decisions
4. Delegate to code agent for implementation
5. Delegate to security agent for review
6. Delegate to docs agent for documentation updates
7. Verify and report completion

Always keep the user informed of progress and any decisions you make during orchestration.
52 changes: 52 additions & 0 deletions .github/workflows/unlock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: unlock

on:
workflow_dispatch:
inputs:
stage:
description: SST stage to unlock
required: true
type: choice
options:
- dev
- production

concurrency: deploy-${{ inputs.stage }}

permissions:
contents: read
id-token: write

jobs:
unlock:
runs-on: ubuntu-latest
environment: ${{ inputs.stage }}
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- uses: ./.github/actions/setup-bun

- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: "24"

- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
with:
role-to-assume: ${{ vars.AWS_DEPLOY_ROLE_ARN }}
role-session-name: opencode-${{ github.run_id }}
aws-region: us-east-1

- run: bun sst unlock --stage=${{ inputs.stage }}
env:
GITHUB_TOKEN: ${{ github.token }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
PLANETSCALE_SERVICE_TOKEN_NAME: ${{ secrets.PLANETSCALE_SERVICE_TOKEN_NAME }}
PLANETSCALE_SERVICE_TOKEN: ${{ secrets.PLANETSCALE_SERVICE_TOKEN }}
STRIPE_SECRET_KEY: ${{ inputs.stage == 'production' && secrets.STRIPE_SECRET_KEY_PROD || secrets.STRIPE_SECRET_KEY_DEV }}
HONEYCOMB_API_KEY: ${{ secrets.HONEYCOMB_API_KEY }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
SENTRY_PROJECT: ${{ vars.WEB_SENTRY_PROJECT }}
SENTRY_RELEASE: unlock@${{ github.sha }}
VITE_SENTRY_DSN: ${{ vars.WEB_SENTRY_DSN }}
VITE_SENTRY_RELEASE: unlock@${{ github.sha }}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Caveats:
- If `spawn` does not work for you, you can debug the server separately:
- Debug server: `bun run --inspect=ws://localhost:6499/ --cwd packages/opencode ./src/index.ts serve --port 4096`,
then attach TUI with `opencode attach http://localhost:4096`
- Debug TUI: `bun run --inspect=ws://localhost:6499/ --cwd packages/opencode --conditions=browser ./src/index.ts`
- Debug TUI: `bun run --inspect=ws://localhost:6499/ --cwd packages/opencode ./src/index.ts`

Other tips and tricks:

Expand Down
Loading
Loading