Aiden Cline
bd51cdba12
refactor(llm): redesign error model as flat tagged union
...
- Replace LLMError { module, method, reason } wrapper with a flat tagged
union: BadRequest, Authentication, PermissionDenied, NotFound, RateLimit,
QuotaExceeded, ContentPolicy, ContextOverflow, ServerError, APIError,
ConnectionError, TimeoutError, MalformedResponse, NoRoute.
- Delete the provider-error LLMEvent: streams carry output only and every
failure exits through the typed error channel.
- Add one shared classifyApiFailure classifier used by the HTTP executor,
protocol stream errors, and the AI SDK adapter so all routes classify
identically (including OpenAI in-stream rate_limit_exceeded and
internal_error codes).
- Enforce a terminal contract in LLMClient.stream for every route: EOF
without finish and output after finish fail as MalformedResponse.
- Classify AI SDK failures properly in core/aisdk.ts instead of collapsing
to UnknownProvider; preserve status, headers, body, and retry-after.
- Simplify the session runner: drop held-back overflow events, key overflow
recovery off LLM.ContextOverflow, retry RateLimit | ServerError |
ConnectionError | TimeoutError.
- Map new tags in toSessionError (provider.context-overflow,
provider.timeout, provider.not-found).
2026-07-13 00:47:32 -05:00
Dax Raad
768a69bbbd
sync
2026-07-10 12:30:49 -04:00
Kit Langton
b7b941c354
fix(tui): unify pending tool styling ( #36278 )
2026-07-10 12:29:09 -04:00
Kit Langton
cf5e0adf02
fix(core): simplify compaction semantics ( #36267 )
2026-07-10 11:36:29 -04:00
Kit Langton
41d0a9f010
fix(tui): hide editor context from transcript ( #36264 )
2026-07-10 11:33:04 -04:00
Dax Raad
accaa792d8
docs: clarify opencode skill references
2026-07-10 11:24:03 -04:00
Dax Raad
76d7a11585
docs: expand opencode skill guidance
2026-07-10 11:23:20 -04:00
Dax Raad
c867e66ab5
feat(plugin): add promise plugin cleanup
2026-07-10 11:23:20 -04:00
Kit Langton
278c510549
refactor(core): simplify session runner bookkeeping ( #36200 )
2026-07-10 09:46:34 -04:00
Dax Raad
0d6ccd2a50
docs: add build overview
2026-07-10 02:51:30 -04:00
Aiden Cline
39cceeb143
fix(codemode): return promises from combinators ( #35782 )
2026-07-10 00:33:21 -05:00
Aiden Cline
a6449cb45c
refactor(form): model links as fields ( #36129 )
2026-07-10 00:22:01 -05:00
Dax Raad
6a85f0d3db
feat(client): add root promise entrypoint
2026-07-10 01:09:06 -04:00
Dax Raad
fbb0fdf88a
fix(plugin): select plugins by id
2026-07-10 00:44:43 -04:00
Dax Raad
2a4b298108
refactor(plugin): include name in promise tools
2026-07-10 00:22:45 -04:00
Dax Raad
efeff63749
refactor(plugin): simplify promise tool declarations
2026-07-10 00:18:13 -04:00
Kit Langton
d54038b9d2
docs(v2): consolidate specifications ( #36186 )
2026-07-09 22:47:37 -04:00
Dax Raad
8f04a09d1a
refactor(plugin): remove protocol dependency
2026-07-09 22:25:38 -04:00
Dax Raad
761f37370f
fix(plugin): restore package publishing
2026-07-09 22:18:58 -04:00
Kit Langton
b452368b3b
refactor(core): simplify tool admission flow ( #36180 )
2026-07-09 22:01:31 -04:00
Kit Langton
3785eddfa0
fix(core): preserve admitted tool generations ( #36177 )
2026-07-09 21:16:00 -04:00
Dax Raad
4a006b1210
refactor(core): derive config watches from entries
2026-07-09 21:12:15 -04:00
Aiden Cline
2db7ccb453
fix(core): restore resilient compaction ( #36163 )
2026-07-09 19:13:11 -05:00
Aiden Cline
629b304c48
fix(core): continue after configured permission denial ( #36155 )
2026-07-09 17:35:25 -05:00
Dax Raad
1004fbb2f5
docs: expand OpenCode 2 beta guides
2026-07-09 18:01:15 -04:00
opencode-agent[bot]
a7746379d5
chore: merge dev into v2 ( #36144 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com >
Co-authored-by: James Long <longster@gmail.com >
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com >
Co-authored-by: Jack <jack@anoma.ly >
Co-authored-by: opencode <opencode@sst.dev >
Co-authored-by: Frank <frank@anoma.ly >
Co-authored-by: Jay <53023+jayair@users.noreply.github.com >
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com >
Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com >
Co-authored-by: Julian Coy <julian@ex-machina.co >
Co-authored-by: Brendan Allan <git@brendonovich.dev >
Co-authored-by: Vladimir Glafirov <vglafirov@gitlab.com >
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com >
Co-authored-by: Dustin Deus <deusdustin@gmail.com >
Co-authored-by: Kit Langton <kit.langton@gmail.com >
Co-authored-by: Simon Klee <hello@simonklee.dk >
Co-authored-by: Jay <air@live.ca >
Co-authored-by: David Hill <1879069+iamdavidhill@users.noreply.github.com >
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
Co-authored-by: James Long <jlongster@users.noreply.github.com >
Co-authored-by: 冯基魁 <56265583+fengjikui@users.noreply.github.com >
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com >
2026-07-09 16:32:44 -05:00
Kit Langton
a72992e00f
feat(core): session.pending.list API with pending-only session_pending storage ( #36126 )
2026-07-09 17:25:40 -04:00
James Long
99156c10e6
feat(cli): export frontend logs over OTLP ( #36152 )
2026-07-09 17:19:22 -04:00
Dax Raad
f6f0a5c10f
docs: expand user guides
2026-07-09 16:57:13 -04:00
Dax Raad
e2eed76101
refactor(tui): migrate v2 calls to new client
2026-07-09 16:57:13 -04:00
Kit Langton
9ff7ef3fb0
fix(tui): handle session search fetch failures without crashing ( #36149 )
2026-07-09 16:38:58 -04:00
Dax Raad
8fe78c8f8d
fix(core): restore plugins after failed activation
2026-07-09 16:28:22 -04:00
Harsh Mathur
bd0dffd781
fix(llm): preserve nested OpenAI stream errors ( #36130 )
...
Co-authored-by: Harsh Mathur <jeevesforharsh@gmail.com >
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
2026-07-09 14:40:28 -05:00
Dax Raad
0ac8f91ed6
fix(core): restore catalog status schema export
2026-07-09 14:20:36 -04:00
Dax Raad
4c80c23e11
fix(tui): reconcile refreshed messages
2026-07-09 14:12:02 -04:00
Dax Raad
33c0cc2bb6
fix: synchronize remote data refreshes
2026-07-09 13:56:28 -04:00
Dax Raad
cc686ab8f6
fix(cli): unify server resolution
2026-07-09 13:28:01 -04:00
Kit Langton
6524dfc818
feat(core): resume suspended sessions after service restart ( #36105 )
2026-07-09 13:19:15 -04:00
Dax Raad
c91604d519
chore(opencode): suppress dead v1 model types
2026-07-09 13:15:20 -04:00
Dax Raad
a2718177be
test(core): align models dev snapshot fixtures
2026-07-09 13:15:20 -04:00
Dax Raad
6fb526741b
refactor(tui): rename link concept to pair
2026-07-09 13:15:20 -04:00
Dax Raad
85fdb3bde6
refactor(core): optimize location startup
2026-07-09 13:15:20 -04:00
James Long
b642f9c7bc
feat(tui): log event stream connections ( #35973 )
2026-07-09 13:13:34 -04:00
James Long
855a9569b5
feat(simulation): add literal screen text matching ( #36085 )
2026-07-09 10:50:35 -04:00
Kit Langton
aa0e626b12
fix(core): defer permission rejection cleanup ( #36067 )
2026-07-09 09:49:14 -04:00
Aiden Cline
389c866cac
docs(codemode): add interpreter doc ( #36026 )
2026-07-09 00:42:48 -05:00
Aiden Cline
7feefb697f
refactor: remove todo tool ( #35989 )
2026-07-09 00:13:48 -05:00
Dax Raad
d4155f2906
refactor(cli): simplify mini arguments
2026-07-08 23:28:40 -04:00
Dax Raad
67f2393f83
refactor(cli): parse variants from model refs
2026-07-08 23:25:37 -04:00
Dax Raad
cccd013801
refactor(cli): centralize server resolution
2026-07-08 22:10:30 -04:00