feat(console-ui): add TanStack management console

- provide Runtime overview, service lifecycle, invocation, and event views
- add immutable WIT package listing, publication, and download workflows
- connect all state to the Rust management API without direct database access
- use TanStack Start with Node serving, Oxlint, Oxfmt, and SSR checks
- include responsive operational layouts and empty Actor placeholders
This commit is contained in:
Maofeng
2026-07-27 05:02:35 +08:00
parent 12992186a9
commit 8de300b634
16 changed files with 7390 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
# Wasmeld Console
WebAssembly Runtime 的管理控制台,使用 TanStack Start、TanStack Router、
React 和 srvx 构建,通过 Node.js 运行。页面只调用 `wasmeld-console` HTTP API
不直接访问数据库或 Wasmeld Runtime。
运行概览可以启动、停止和重启整个 Runtime;服务版本与运行实例页面负责管理单个
Wasm Actor。停止 Runtime 不会断开管理 API。
## Development
```bash
npm install
npm run dev
```
默认访问 `http://localhost:3000`
管理 API 默认使用 `http://127.0.0.1:8080`。可以在控制台的“运行设置”中修改,
或在构建时设置 `VITE_WASMELD_API_URL`
## Validation
```bash
npm run format:check
npm run lint
npm test
```
生产构建完成后可以运行:
```bash
npm start
```
`npm test` 会生成 Node.js 生产构建,并验证 srvx 服务端渲染和静态资源。