Module Reference
Language: 中文 | English
FSAR's backend lives under src/, the frontend under frontend/. This directory holds one page per module, describing its responsibility and key files.
Convention:
prompt_archive.py,episodic_shim.py, and similar legacy/compat code are omitted here.
Backend src/
| Module | Role |
|---|---|
| server | WebSocket server & GUI chat engine |
| cli | Terminal TUI (Textual): full-screen chat app & slash commands |
| core | shared agent infrastructure |
| memory | the memory system |
| tools | the tool system |
| security | the security layer |
| sandbox | workspace sandbox policy |
| skills | reviewed local skill execution |
| social | social-platform bridge |
| providers | LLM / ASR / TTS adapters |
| mcp | Model Context Protocol client |
| utils | cross-cutting infrastructure |
| scheduler | scheduled tasks |
| updates | release checks, announcements, and the gated git update flow |
| notifications | the review / release / announcement feed |
Frontend and data directories
- frontend — the Vite + React frontend app, served in the browser by the backend (a Tauri shell exists in the tree but is not built or used)
- skin — the skin system: a hand-written
skin.jsonrecolors the site, adds a wallpaper, and customizes individual components - layout — shipped contents of
data/andconfig/, plus the runtime databases
What to read next
Source docs-public/modules/README.mdView on GitHub ↗