Repository navigation
Conversation
- tools/MemoryTool.js: memory_save / memory_read / memory_clear - src/main/memory-store.js: persistent storage at <userData>/memory.md - registered in tools/index.js + JsRunner bootstrap + cuckoo-tools.d.ts - plan-mode blocks mutating memory ops; settings UI section with open/clear - Telegram bot: pretty rendering for memory/city_time notifications
Implement subagent orchestration: run_agent/list_agents/read_agent tools, project agent scanner (.cuckoo/agents), child-window runner sharing the parent partition, and preload watcher that reports the final answer via IPC. Inject the AGENTS_SECTION placeholder into prompt templates and expose runAgent/listAgents/readAgent in the JS runner.
This change migrates agent discovery from .cuckoo/agents to cookie/agents and updates the agent docs and scanner logic accordingly. It also adds a new create_agent tool that creates project-scoped subagents in cookie/agents, exposes the helper through the JS runner, and refreshes the available agents list after creation.
This patch adds a per-agent tool whitelist for subagent execution. It propagates the configured tools into the child window context, validates direct IPC tool calls before execution, and rejects non-whitelisted actions in JsRunner as well. It also adds a whitelist test agent to verify that allowed tools still work while forbidden ones are blocked with explicit errors.
Keep the selected project directory stable while a session is still initializing, especially in subagent windows. This change caches the pending project dir until the session is ready, propagates it into subagent context, and restores the directory display in the subagent overlay so the working folder remains visible during startup.
This change adds Telegram notifications for subagent lifecycle actions (run/create/list/read) and sends a start card before the child window opens. It also improves subagent completion detection by tracking stable text instead of the legacy AI-complete check, including project-dir display, turn limits, and timeout handling.
Prefix batched tool alerts with «🤖 Агент: <name>» when the call comes from a subagent window, and skip duplicate AI-response notifications from subagent windows. Thread agentName through JsRunner and IPC. Extend git-committer agent docs with commit/repo link report format.
Папка cookie/agents была в .gitignore — новые агенты (созданные через create_agent) оставались untracked. Убрал игнор: агенты проекта должны быть в git. Пользовательские агенты и так лежат в ~/cookie/agents вне репозитория.
Add a Subagents section with screenshots to all three READMEs, rewrite CHANGELOG to keep only the 5.0.2 entry (patch+1 rule), and update changelog-writer agent to bump patch+1 and fully replace the file.
Add /agents (alias /agent) command that scans cookie/agents/*.md and renders a formatted list of project subagents with name, description, tools and maxTurns. Also add related i18n strings (ru/en) and register the command in the help text and bot menu. Refresh CHANGELOG.md in a friendlier tone and add the AI memory section.
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)
变更类型
测试
请描述你做了哪些测试来验证你的改动:
截图(如果适用)
补充信息