TauriTavern/docs
Darkatse f76139f961 feat(agent): Agent Phase 1 runtime foundation
- Introduce the Agent domain model, run/workspace/checkpoint repositories,
and a file-backed workspace store with event journaling.

- Wire the runtime service into Tauri commands and expose the frontend Agent
API for starting, observing, cancelling, reading, and committing runs.

- Derive workspaces from stable chat identity while keeping each run isolated,
and make unsupported Phase 1 paths fail fast.

- Document the Agent architecture, API contract, workspace model, LLM gateway,
tool/MCP boundaries, and implementation plan.
2026-04-26 14:28:08 -04:00
..
Agent feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
API feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
CurrentState feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
images chore (README): add TauriTavern Hero 2026-04-19 00:05:14 -04:00
AgentArchitecture.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
AgentContract.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
AgentImplementPlan.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
AndroidDevelopment.md Fix (Android): Correctly fix the Android media contract to support video background extensions. 2026-04-06 03:58:12 -04:00
BackendStructure.md Refactoring (Extension Compatibility): Third-party extension compatibility refactoring. Start 1.5.0 branch 2026-03-08 17:35:03 -04:00
FrontendGuide.md refactor (mobile layout): Stabilize mobile layout contract: overlay surface admission, iframe viewport bridge, docs/tests 2026-04-01 20:45:04 -04:00
FrontendHostContract.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
ImplementationPlan.md feat: Implement Tauri adapters for characters, chats, groups, and themes 2025-05-25 17:28:57 +08:00
iOSDevelopment.md fix (ios): Add dark and tinted app icon variants 2026-04-25 12:24:05 -04:00
PRD.md Fix (iOS/macOS): Added WKWebView Fullscreen API for iOS/macOS. 2026-03-29 02:53:04 -04:00
README.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
TechStack.md perf (startup): lib.bundle.js splitting and on-demand loading 2026-03-15 01:10:28 -04:00

TauriTavern 项目文档

本文件夹包含TauriTavern项目的完整文档,用于指导开发和维护工作。

文档目录

  1. 产品需求文档 (PRD) - 详细描述项目的功能需求和目标
  2. 技术栈文档 - 列出项目使用的技术栈和依赖
  3. 前端指南 - 前端代码结构、Tauri注入启动链与模块化路由开发指南
  4. 前端宿主契约 - Host Kernel 对上游/插件/脚本可观察行为的契约清单(重构必读)
  5. 后端结构 - 后端架构和模块说明
  6. 实施计划 - 项目实施的阶段和里程碑
  7. Android 端开发说明 - Android WebView/Insets 注入、资源访问与路径解析方案
  8. iOS 端开发说明 - WKWebView 行为差异、safe-area/viewport-fit 与底部死区修复
  9. 现状说明 - 当前实现状态快照与持续开发约束
  10. 扩展 API 文档 - window.__TAURITAVERN__.api.* 的参考与适配指南(面向扩展作者)
  11. Agent 架构文档 - Agent Runtime 的高层架构入口
  12. Agent 细节文档 - Workspace、Journal、Tool、LLM Gateway、MCP/SKILL 与测试策略

项目概述

TauriTavern是SillyTavern的Tauri重构版本,旨在通过Tauri和Rust重写后端,同时保留原有前端,实现多平台原生应用支持,不再强制依赖Node.js环境。

文档维护

这些文档应随着项目的发展而更新,确保它们始终反映项目的当前状态和目标。

当前前端文档已基于 SillyTavern 1.16.0 同步后的模块化注入架构更新。 其中:

  • docs/CurrentState/ 记录“当前已经落地的实现状态”和后续维护约束
  • Agent 系统仍处于规划/实施准备阶段,高层文档放在 docs/AgentArchitecture.md / docs/AgentContract.md / docs/AgentImplementPlan.md,细节文档放在 docs/Agent/
  • Agent 的实时开发进度跟踪见 docs/CurrentState/AgentFramework.md