Repository navigation
Conversation
safe() now awaits promises and falls back on rejection, so a single failing observer/overlay/detector no longer breaks the whole pipeline. Adds safeAsync(), resolveFallback(), per-label fail counters with throttling, and _resetSafeStats() for tests.
New getAllDiff() collects a unified diff of every changed file; exposed via git-diff-all IPC and gitDiffAll() preload API. The diff panel header gets refresh/sparkles actions (SVG instead of emoji) with commitAllToChat() wired to #cuckoo-diff-commit-all, plus i18n strings diff.btn.commitAll*, diff.noDiff, diff.commitAll.notReady.
buildAgentPrompt() now appends an explicit instruction to use 1-2 tools at a time instead of a large batch. Also minor cleanup in token-interceptor-inject.js.
Split the long-term memory store into two scopes:
The "Commit" button in the diff panel copied the full diff into the chat but left the panel open, covering the input. Call closeDiffPanel() after commitAllToChat().
Add getLatestRawMarkdown() to return the latest CHANGELOG entry as raw markdown, preserving tables, quotes and code blocks. Expose whats-new-get-current IPC handler and getCurrentChangelog() preload API. Also normalize quotes to double quotes in changelog-parser.js.
Bind F1 to open the What's New modal with the current CHANGELOG. Widen the modal (92vw / max 1100px) and make it draggable by its header.
Remove systemPrompt and tools from subagentConfig that is passed via additionalArguments (argv). The full agent systemPrompt inflated the argv string past the Windows ~32 KB command line limit, causing render-process-gone launch-failed and a white window. Only light fields (agentName, task, maxTurns, projectDir) are now passed via argv; systemPrompt arrives through initial-prompt and tools through toolsWhitelist. Also add white-window diagnostics in createWindow (did-fail-load, preload-error, render-process-gone, unresponsive/responsive, 15s watchdog) logging to <userData>/wyp/log/diagnostics.log.
Update README (ru/en) with two-level memory, hotkeys (F1), Commit button and draggable What's New window. Require changelog-writer agent to review every modified file. Add v5.0.4 changelog entry.
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.
描述
请简要描述这个 PR 做了什么。
关联 Issue
关联的 Issue 编号:#(例如 #123)
变更类型
测试
请描述你做了哪些测试来验证你的改动:
截图(如果适用)
补充信息