feat(console-ui): show component host capabilities

- consume structured capability metadata from service responses
- add a stable-width Host Capability column to the full service table
- preserve compact overview density and horizontal overflow on narrow screens
- cover API typing and capability rendering wiring in SSR source tests
This commit is contained in:
Maofeng
2026-07-29 19:13:45 +08:00
parent 72a264e0d1
commit bdbf868f75
4 changed files with 98 additions and 1 deletions
+3
View File
@@ -97,7 +97,10 @@ test("uses TanStack Start routing and produces Node artifacts", async () => {
assert.match(rootRoute, /<Scripts \/>/);
assert.match(indexRoute, /createFileRoute\("\/"\)/);
assert.match(indexRoute, /切换对外版本/);
assert.match(indexRoute, /Host 能力/);
assert.match(indexRoute, /service\.capabilities/);
assert.match(apiClient, /\/api\/v1\/deployments/);
assert.match(apiClient, /capabilities: BackendCapability\[\]/);
assert.match(router, /createRouter/);
assert.match(packageJson, /"@tanstack\/react-start"/);
assert.match(packageJson, /"srvx"/);