astrbot_plugin_imagestudio/frontend
YokiiroBW 4a53e38555 UI进度:生成页与角色工作流交接
已完成:导航与概览视觉调整、生成页三模式入口、图片生成工作台、快速角色卡片与素材弹窗、角色工作流大/小节点、草稿多选对比、节点草稿池联动。

未完成:真实生图与模型配置接入、素材库真实分类读取、生成人设问卷细化、工作流状态机与草稿轮次持久化、完整浏览器视觉回归。详见 docs/ui-progress-2026-07-07.md。
2026-07-07 02:58:12 +08:00
..
plugin-page UI大项:落地星图导航页 S130-S145 2026-07-06 12:20:49 +08:00
shared UI进度:生成页与角色工作流交接 2026-07-07 02:58:12 +08:00
standalone-web UI进度:生成页与角色工作流交接 2026-07-07 02:58:12 +08:00
env.d.ts S124 AstrBot页面Bridge适配 2026-07-06 09:45:13 +08:00
package-lock.json feat: add mounted web ui shells 2026-07-05 09:24:00 +08:00
package.json chore: initialize v3 plugin scaffold 2026-07-04 22:51:52 +08:00
README.md chore: initialize v3 plugin scaffold 2026-07-04 22:51:52 +08:00
tsconfig.json chore: initialize v3 plugin scaffold 2026-07-04 22:51:52 +08:00

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.