Conversation
Recognize native file paths, Code Mode nested calls, and subagent result metadata. Apply shared protection rules to compression, sweep, deduplication, and failed-tool pruning.
Register native hooks, tools, commands, and panel RPC while retaining the V1 server entrypoint. Preserve provider-native context and tool pairs, isolate session state, and keep compaction prefixes stable. Require V1 1.18.29+ and reject unsupported V2 ask permissions.
Use component-owned V2 keymaps, dialogs, and themes with shared panel views. Read and update server-owned state through typed RPC while preserving the V1 panel.
Exercise packed plugins with HTTP and WebSocket compression, permissions, concurrent sessions, persistence, compaction, and terminal automation. Include isolated live Codex checks and programmatic capture inspection.
Provide persistent and fresh profiles, separate V1/V2 state, current Codex authentication, and automatically maintained raw/readable request logs. Rebuild both local plugins on each launch.
Record architecture decisions, compatibility limits, usage, reproducible checks, and verification evidence for DCP and request logging.
Ignore local development documentation and remove the public README link to the untracked journal.
Move local setup, sandbox, and logging instructions into CONTRIBUTING. Keep the README focused on users and avoid release-specific statements and duplicated version pins.
Keep the logger in a private npm workspace, integrate its checks into CI, and build both plugins from a single checkout. Exclude development logging tools from the published DCP package.
|
@Tarquinen is it ready? |
sasa-tomic
added a commit
to sasa-tomic/opencode-dynamic-context-pruning
that referenced
this pull request
Sep 19, 2026
Flattened single commit of upstream PR Opencode-DCP#617 (15 commits, head 408379e) by Daniel Smolsky (Tarquinen), applied on top of master. - Support Opencode v2 via hybrid default export { id, setup, server } (2.x loaders take setup, v1 loaders take server) - Retains support for Opencode v1 (v1.3.0+) - V2 limitation: no hook equivalent to v1's experimental.text.complete, so hallucinated <dcp-message-id> tags are stripped only from outgoing requests, not from the persisted transcript - Adds containerized v1/v2 sandbox tooling (dev-only, opt-in) Reviewed before flattening: no malicious code, supply chain clean (all lockfile entries registry-pinned, integrity-verified), unit tests and typecheck pass, loader schema acceptance verified against OpenCode v2.0.10 host source.
|
This works pretty well for me, thank you for all the hard work! |
Assert compact V2 wire content and summary markers over HTTP and WebSockets, exercise compact block commands, and cover both V1 compression modes.
Resolve the latest stable release for the selected host on each launch. Keep model and transport preferences while applying exact version overrides only to the current launch.
Map current dialog surfaces and earlier V2 overlay themes to the shared panel colors. Allow terminal integration checks to select a host image and document cross-release testing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
experimental.text.complete, meaning plugins can not yet parse out text the model may hallucinate such as@4@