已完成:导航与概览视觉调整、生成页三模式入口、图片生成工作台、快速角色卡片与素材弹窗、角色工作流大/小节点、草稿多选对比、节点草稿池联动。 未完成:真实生图与模型配置接入、素材库真实分类读取、生成人设问卷细化、工作流状态机与草稿轮次持久化、完整浏览器视觉回归。详见 docs/ui-progress-2026-07-07.md。 |
||
|---|---|---|
| .. | ||
| plugin-page | ||
| shared | ||
| standalone-web | ||
| env.d.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Frontend
The frontend contains two Vite applications:
plugin-page/: builds into../pages/imagestudio.standalone-web/: builds into../web.
Shared API clients, types, stores, components, constants, schemas, and utilities live in shared/.
Dependencies are declared in package.json but not installed yet.
Both UIs must consume the same v3 API contract:
- Plugin Page UI uses
window.AstrBotPluginPage. - Standalone Web UI uses
/api/v1/plugins/extensions/astrbot_plugin_imagestudio.
Do not store API keys, media paths, or selected image state in frontend-only storage.