Skip to content

feat(core): retain provider finish details - #43332

Merged
rekram1-node merged 1 commit into
v2from
retain-provider-finish
Aug 19, 2026
Merged

rekram1-node merged 1 commit into
v2from
retain-provider-finish

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • persist raw provider finish reasons and route-specific terminal state on assistant messages
  • carry terminal diagnostics through successful and failed durable step events and client projections
  • retain content-filter as the assistant finish while preserving the existing provider.content-filter failure behavior
  • keep other failed steps as finish: error, even when a provider completed before local tool settlement failed
  • regenerate Promise and Effect client contracts

Part of #41932. This PR adds the shared durable plumbing; provider-specific refusal and diagnostic capture remains follow-up work in @opencode-ai/ai.

Testing

  • full Core suite: 1,881 tests passed
  • focused Schema terminal compatibility tests
  • focused Core publisher and Session projection tests
  • affected package typechecks
  • full monorepo typecheck
  • deterministic client regeneration

@rekram1-node
rekram1-node merged commit 4df0591 into v2 Aug 19, 2026
10 checks passed
@rekram1-node
rekram1-node deleted the retain-provider-finish branch August 19, 2026 03:40
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant