Implement workspace-scoped conversation storage with legacy migration based on host workspace metadata, active host workspace state protection, and frontend/backend conversation list scoping. Add proactive recent-conversation prompt support with a configurable personal-space limit, frozen per conversation metadata, empty-conversation filtering, and a dedicated prompt template. Add conversation_search and conversation_review tools with readable formatted results, workspace-only access, current-conversation exclusion, multi-keyword search, list mode, message/tool counts, read/save review modes, long-review fallback to .agents/review, and frontend detail renderers. Move internal workspace artifacts under .agents, update upload/skills/compact/review paths, show .agents internal directories in prompt file trees, and adjust versioning ignores. Add create_skill and a Skills tool category, move read_skill into that category, validate and archive skill folders, support host global skills and Docker/API private skills, and sync private skills into .agents/skills and prompts. Update memory stamping with conversation/time source metadata and include frontend icon/status/display updates plus tests for workspace conversation storage and skills management.
11 lines
509 B
Plaintext
11 lines
509 B
Plaintext
## 最近对话(仅当前工作区)
|
|
|
|
以下是当前工作区最近的历史对话摘要,供你判断是否需要使用 `conversation_search` 或 `conversation_review` 主动回顾历史上下文。
|
|
|
|
{recent_conversations}
|
|
|
|
注意:
|
|
- 这里只展示标题和首条用户消息,不包含完整内容。
|
|
- 如需查看完整上下文,请使用 `conversation_review` 生成回顾文件后再读取。
|
|
- 不要假设其他工作区的对话可用;历史对话工具只允许访问当前工作区。
|