0f0effb3c3
Reduce the root TanStack route to orchestration and shell state. Move backend-to-view mapping and binary invocation formatting into console-model, presentation views into components/views, and modal workflows into components/dialogs. Update the rendered artifact test to assert behavior at the new module boundaries without changing the generated UI or routes.
Wasmeld Console
WebAssembly Runtime 的管理控制台,使用 TanStack Start、TanStack Router、
React 和 srvx 构建,通过 Node.js 运行。页面只调用 wasmeld-console HTTP API,
不直接访问数据库或 Wasmeld Runtime。
运行概览可以启动、停止和重启整个 Runtime;服务版本与运行实例页面负责管理单个 Wasm Actor。停止 Runtime 不会断开管理 API。
Development
npm install
npm run dev
默认访问 http://localhost:3000。
管理 API 默认使用 http://127.0.0.1:8080。可以在控制台的“运行设置”中修改,
或在构建时设置 VITE_WASMELD_API_URL。
Validation
npm run format:check
npm run lint
npm test
生产构建完成后可以运行:
npm start
npm test 会生成 Node.js 生产构建,并验证 srvx 服务端渲染和静态资源。