Refactor conversation persistence into workspace-scoped storage with host workspace legacy migration, current workspace filtering, and active host workspace state protection. Add proactive recent-conversation prompt injection with personal-space controls, configurable item count, empty-conversation filtering, and frozen per-conversation prompt metadata to keep request caches stable. Introduce conversation_search and conversation_review tools for current-workspace history: multi-keyword search, list mode, current conversation exclusion, message/tool counts, formatted model output, read/save review modes, long-review fallback, and .agents/review storage. Move internal workspace artifacts under .agents, including uploads, skills, compact results, and reviews; update prompt file-tree visibility, compression output, upload paths, and hidden versioning exclusions. Add create_skill workflow and a Skills tool category, move read_skill into Skills, validate/归档 skill folders, support host global skills and Docker/API private skills, and sync private skills into .agents/skills and skill prompts. Update frontend tool icons, statuses, and expanded renderers for conversation recall and skills workflows; add workspace conversation and skills-manager tests.
11 lines
509 B
Plaintext
11 lines
509 B
Plaintext
## 最近对话(仅当前工作区)
|
|
|
|
以下是当前工作区最近的历史对话摘要,供你判断是否需要使用 `conversation_search` 或 `conversation_review` 主动回顾历史上下文。
|
|
|
|
{recent_conversations}
|
|
|
|
注意:
|
|
- 这里只展示标题和首条用户消息,不包含完整内容。
|
|
- 如需查看完整上下文,请使用 `conversation_review` 生成回顾文件后再读取。
|
|
- 不要假设其他工作区的对话可用;历史对话工具只允许访问当前工作区。
|