Skip to content

Follow OpenCode latest stable compaction API - #4

Closed
christian-taillon wants to merge 22 commits into
mainfrom
feat/opencode-latest
Closed

christian-taillon wants to merge 22 commits into
mainfrom
feat/opencode-latest

Conversation

@christian-taillon

Copy link
Copy Markdown
Owner

Summary

Migrate Jev compaction from the retired pinned OpenCode 2 preview plugin API to the current stable OpenCode plugin surface.

  • No OpenCode runtime version pin in the plugin
  • Uses experimental.session.compacting
  • Reads the live transcript through client.session.messages
  • guided-native injects Jev guidance through output.context
  • observe runs the same one-stage Jev analysis without changing native compaction
  • Removes preview-only RPC/TUI and deterministic-result replacement
  • Keeps one-pass Jev judgments, deterministic tool safety policy, semantic capacity preflight, state fitting, redaction, and fail-open behavior
  • Updates docs/config examples for current singular plugin configuration and local file:// loading

Local runtime validation remains focused on native vs observe vs guided-native provider usage and continuation quality.

Copy link
Copy Markdown
Owner Author

Closing as superseded by current main. This branch contained the stronger migration design, including current compaction-window handling and the stable experimental.session.compacting / output.context approach, but main has since moved further with runtime-state persistence, build/distribution work, concurrency fixes, documentation, and green CI.

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