astrbot_plugin_imagestudio/frontend/README.md

593 B

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.