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
Kit Langton
cf5e0adf02
fix(core): simplify compaction semantics ( #36267 )
2026-07-10 11:36:29 -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
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
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
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
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
Dax Raad
8fe78c8f8d
fix(core): restore plugins after failed activation
2026-07-09 16:28:22 -04:00
Dax Raad
33c0cc2bb6
fix: synchronize remote data refreshes
2026-07-09 13:56:28 -04:00
Kit Langton
6524dfc818
feat(core): resume suspended sessions after service restart ( #36105 )
2026-07-09 13:19:15 -04:00
Dax Raad
a2718177be
test(core): align models dev snapshot fixtures
2026-07-09 13:15:20 -04:00
Kit Langton
aa0e626b12
fix(core): defer permission rejection cleanup ( #36067 )
2026-07-09 09:49:14 -04:00
Aiden Cline
7feefb697f
refactor: remove todo tool ( #35989 )
2026-07-09 00:13:48 -05:00
Kit Langton
984cab7938
feat(core): generalize session input inbox ( #36005 )
2026-07-08 22:07:45 -04:00
opencode-agent[bot]
687dbba6a3
chore: merge dev into v2 ( #35962 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: James Long <longster@gmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Dustin Deus <deusdustin@gmail.com>
Co-authored-by: starptech <starptech@starptechs-MBP.fritz.box>
Co-authored-by: Frank <frank@anoma.ly>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: 𝓛𝓲𝓽𝓽𝓵𝓮 𝓕𝓻𝓪𝓷𝓴 <little-frank@opencord.local>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Dax <mail@thdxr.com>
Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com>
Co-authored-by: Jay <53023+jayair@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
Co-authored-by: runvip <164729189+runvip@users.noreply.github.com>
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
Co-authored-by: Jack <jack@anoma.ly>
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com>
Co-authored-by: Julian Coy <julian@ex-machina.co>
Co-authored-by: Vladimir Glafirov <vglafirov@gitlab.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.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: 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-08 17:58:55 -05:00
Aiden Cline
b44a981eef
feat(core): global form support ( #35959 )
2026-07-08 17:25:34 -05:00
Simon Klee
19f42f7102
feat(v2/cli): add console login ( #35969 )
2026-07-09 00:00:09 +02:00
James Long
99e52303e6
feat(core): discover ecosystem skill directories ( #35956 )
2026-07-08 16:34:41 -04:00
Kit Langton
5b39972947
fix(core): await initial plugin readiness ( #35755 )
2026-07-08 15:12:45 -04:00
Dax Raad
dd842f9862
fix(cli): elect one service process
2026-07-08 11:46:02 -04:00
Kit Langton
3dd29094f4
feat(http-recorder): sync recorder v0.3 ( #35619 )
2026-07-08 11:41:59 -04:00
Aiden Cline
05e8d5be73
fix(core): preserve prompt attachment order ( #35921 )
2026-07-08 10:06:58 -05:00
opencode-agent[bot]
ed4f833813
fix(core): preserve provider metadata namespaces ( #35817 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-07-07 21:45:58 -05:00
opencode-agent[bot]
e96c24ce2e
test(core): fix mutable plugin fixture ( #35837 )
2026-07-07 22:22:12 -04:00
Kit Langton
ed6ad272ec
refactor(schema): apply session review decisions ( #35793 )
2026-07-07 22:10:11 -04:00
Kit Langton
d27746e5b3
test(core): simplify runner test fixtures ( #35832 )
2026-07-07 21:58:52 -04:00
Kit Langton
eb661e6e6d
fix(core): settle unadvertised tool calls and repair session hook test contexts
2026-07-07 21:51:23 -04:00
Dax Raad
3379e44abb
refactor(core): rename ApplyPatchTool to PatchTool
2026-07-07 21:16:00 -04:00
Dax
e1abf59c59
fix(core): provide PluginHooks in plugin test layer ( #35811 )
2026-07-07 20:03:41 -04:00
Dax
4f976bcf1a
feat(plugin): add session request hook ( #35794 )
2026-07-07 19:56:47 -04:00
Kit Langton
521ea87192
fix(core): retain reasoning delta state ( #35758 )
2026-07-07 19:44:40 -04:00
Dax Raad
5db320b02d
refactor: rename apply_patch tool
2026-07-07 16:27:25 -04:00
Aiden Cline
910e37f6d8
fix: update v2 session usage metrics ( #35468 )
2026-07-07 14:31:54 -05:00
Aiden Cline
66a8d830aa
feat(core): support MCP resources ( #35656 )
2026-07-07 11:55:06 -05:00
Kit Langton
b2ce195bda
fix(core): normalize Location.Ref keys in LocationServiceMap ( #35757 )
2026-07-07 12:25:29 -04:00
Kit Langton
8deb0e5780
fix(core): preserve SDK plugins across location eviction ( #35725 )
2026-07-07 11:43:40 -04:00
Aiden Cline
f488089179
fix: preserve compaction files and classify Z.AI overflow ( #35747 )
...
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: 冯基魁 <56265583+fengjikui@users.noreply.github.com>
2026-07-07 09:54:31 -05:00
Kit Langton
e3a39b214f
fix(core): lower failed reasoning to text ( #35735 )
2026-07-07 09:49:17 -04:00
Kit Langton
04b673432c
feat(core): add durable compaction barrier ( #35371 )
2026-07-06 21:26:05 -04:00
Dax Raad
bd947658bb
docs: add v2 configuration reference
2026-07-06 20:09:35 -04:00