astrbot_plugin_imagestudio/frontend
2026-07-05 20:06:39 +08:00
..
plugin-page feat: consume UI actions in plugin page 2026-07-05 16:32:03 +08:00
shared Show asset pack manifest summary in frontend 2026-07-05 19:53:16 +08:00
standalone-web Show storage migration overwrite risk 2026-07-05 20:06:39 +08:00
env.d.ts chore: initialize v3 plugin scaffold 2026-07-04 22:51:52 +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.