Skip to content

Type OpenCode translator event deserialization - #58

Open
Stephen Belanger (Qard) wants to merge 1 commit into
mainfrom
typed-opencode-translator-events
Open

Type OpenCode translator event deserialization#58
Stephen Belanger (Qard) wants to merge 1 commit into
mainfrom
typed-opencode-translator-events

Conversation

@Qard

Copy link
Copy Markdown
Collaborator

Summary

  • deserialize OpenCode tool, message-part, and message-completion event subsets into private DTOs
  • retain raw JSON for opaque message and tool payloads while preserving raw journal envelopes
  • cover ignored future fields and malformed typed events

Validation

  • cargo fmt --manifest-path bt-daemon/Cargo.toml -- --check
  • cargo test --manifest-path bt-daemon/Cargo.toml --all-features --locked
  • cargo clippy --manifest-path bt-daemon/Cargo.toml --all-targets --all-features --locked -- -D warnings
  • git diff --check

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T15:16:16.000371Z b17189c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b17189cde8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".

Comment thread bt-daemon/src/translate/opencode.rs Outdated
@Qard
Stephen Belanger (Qard) force-pushed the typed-opencode-translator-events branch from bcb93ba to 8f88c46 Compare September 9, 2026 16:13
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.

2 participants