Repository navigation
fix(plugin): deduplicate repeated messages in capture batches - #6230
Merged
t0saki merged 5 commits intoOct 29, 2026
Merged
Conversation
t0saki
approved these changes
Oct 29, 2026
yangpf5271
added a commit
to yangpf5271/OpenViking
that referenced
this pull request
Nov 8, 2026
冲突解决:
- config-schema(×3): 保留本地 actor 安全默认,收下上游
recallEventsDecayProtection knob(事件时间衰减保护)
- doctor-core.test.mjs: 本地 Windows runCommand/resolveWindowsCommand
测试与上游 whichCommand/describeApiKey 测试双双保留
- install.sh: 保留本地版——上游 v0.5.3 installer 仍不支持 Windows
('Needs macOS or Linux',OV_NATIVE/native_path 全无),而 Windows
适配层是 zcode 桌面端与三端部署的刚需
上游要点: volcengine#6230 捕获批次去重(与本地解析层去重互补)、volcengine#6663 reindex
孤儿向量收敛、volcengine#5246 peer scope 列表读取、volcengine#5113 event chatlogs 保留
role/peer、volcengine#6032 opencode 子会话捕获跳过、volcengine#6003 历史导入脚本、
entities.yaml 迁移至 system_assets(git rename 检测已携带本地句)。
本地修复全存活核验通过。合并后新增 33 个失败均为上游新增测试在本机
(Windows/Node20)跑不了,与本地改动无关。
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.
Description
Fixes #6219.
Ten repeated user messages with one turn ID now produce one user payload, while five distinct assistant fragments with that turn ID remain five payloads.
Human Involvement
Related Issue
Fixes #6219
Type of Change
Changes Made
Testing
node --test examples/agent-hook-plugin/tests/zcode-capture.test.mjs examples/agent-hook-plugin/tests/zcode-turns.test.mjs— 34 tests passed.git diff --checkpassed.Additional Notes
AI assistance was used for implementation and validation. The issue and suggested behavior were checked against the production capture planner and its existing tests.