cloudaxe-opencode/packages/llm/src
Aiden Cline 5d87c7ad1f refactor(llm): remove the provider-error stream event
Delete the provider-error LLMEvent so streams carry output only and
every provider-reported failure exits through the typed error channel.
Anthropic SSE error events, OpenAI Responses response.failed/error
events, and Bedrock exception frames now fail the stream with an
LLMError from the shared classifier (carrying the provider code, e.g.
rate_limit_exceeded -> LLM.RateLimit).

Core follows: the publisher drops its provider-error case, the runner
drops held-back overflow events (overflow recovery keys off a thrown
LLM.ContextOverflow), compaction and title stop scanning events for
failures, and isContextOverflowFailure is deleted with its last
consumer. V1 packages/opencode gets minimal compile fixes only (dead
switch case, one test stream).
2026-07-13 12:22:30 -05:00
..
protocols refactor(llm): remove the provider-error stream event 2026-07-13 12:22:30 -05:00
providers feat(llm): complete provider package entrypoints (#35907) 2026-07-08 18:41:46 +05:30
route refactor(llm): replace LLMError reasons with flat tagged union 2026-07-13 12:21:21 -05:00
schema refactor(llm): remove the provider-error stream event 2026-07-13 12:22:30 -05:00
utils
cache-policy.ts
index.ts refactor(llm): remove the provider-error stream event 2026-07-13 12:22:30 -05:00
llm.ts refactor(llm): replace LLMError reasons with flat tagged union 2026-07-13 12:21:21 -05:00
provider-error.ts refactor(llm): remove the provider-error stream event 2026-07-13 12:22:30 -05:00
provider-package.ts feat(core): flatten provider config and load native packages (#35563) 2026-07-06 16:18:56 -04:00
provider.ts chore: merge dev into v2 (#34788) 2026-07-01 17:12:00 -04:00
tool-runtime.ts chore: generate 2026-06-04 03:03:39 +00:00
tool.ts refactor(core): simplify location filesystem (#31545) 2026-06-09 14:28:45 -04:00