mirror of
https://github.com/Darkatse/TauriTavern.git
synced 2026-10-15 14:04:18 +00:00
Add read-only Agent tools for inspecting current chat context and run-scoped World Info activation. - Register chat_search, chat_read_messages, and worldinfo_read_activated - Add message-indexed JSONL readers for character and group chats - Return chat search snippets with stable message refs instead of full text - Capture dry-run World Info activation in Agent prompt snapshots - Keep World Info tool output focused on entry name, lorebook, and content - Wire context tools through the existing registry, dispatcher, journal, and tool result flow - Add coverage for chat message reads, chat search dispatch, and activated World Info reads
1.5 KiB
1.5 KiB
TauriTavern Agent Detail Docs
本目录保存 Agent 框架的细节设计文档。高层入口仍保留在 docs/ 根目录:
docs/AgentArchitecture.md:系统边界、分层、数据流。docs/AgentContract.md:不可破坏的不变量与 fail-fast 约束。docs/AgentImplementPlan.md:当前实施基线、下一步计划与验收命令。
细节文档
| 文档 | 内容 |
|---|---|
| Workspace.md | Workspace、Artifact、Checkpoint、commit/rollback 语义 |
| RunEventJournal.md | Run Event、状态机、订阅、恢复、取消与审批 |
| ProfilesAndPreset.md | Agent Profile、Preset agent schema、ContextFrame、Plan Policy |
| ToolSystem.md | ToolSpec、ToolResult、Tool Registry、Policy、审批与 Legacy ToolManager 边界 |
| LlmGateway.md | provider-agnostic LLM gateway 与现有 ChatCompletionService 的复用边界 |
| McpSkill.md | MCP 独立集成、Skill 渐进披露、安全边界 |
| TestingStrategy.md | Domain/Application/Frontend/Security/Performance 测试矩阵 |
进度跟踪
实时开发进度不写在本目录;请更新 docs/CurrentState/AgentFramework.md。
截至 2026-04-29,Phase 2C 上下文只读工具、workspace 读改工具循环与前端 dryRun adapter 已落地。当前真实能力边界以 docs/CurrentState/AgentFramework.md 为准;本目录中的 profile、MCP、timeline、diff/rollback 等内容仍是后续设计。