fix: improve opencode session diagnostics#142
Conversation
|
@codex please review this PR when you have a chance. Context: this improves diagnostics when OpenCode |
|
I tried to merge this PR into the latest
Several structured-output / opencode-provider changes landed in the latest release, which is what this now collides with. Please rebase/merge the latest |
|
I tried to merge this PR into the latest
Structured-output / opencode-provider changes landed in the latest release, which is what this now collides with. Please rebase/merge the latest |
Summary
session.createno-id errors with sanitized OpenCodebaseUrland a redacted response summary.{ error: {}, request: { timeout: false } }actionable without exposing credentials.599e7ac.Scope
noReplybehavior, retry logic, plugin initialization flow, or provider selection.session.createreturns no session id.Deployment Targets
opencode-memplugin runtime.599e7ac.Acceptance Plan
session.createerrors include safe diagnostics; sensitive fields are redacted; valid base URLs omit userinfo/query/fragment; existing structured-output behavior remains unchanged.Validation
bun test tests/opencode-provider.test.tsbun run typecheckbun run format:checkbun testbun run build