一键导入
verify
Build, run, and drive the Bridge web UI (Kubernetes/Docker dashboard) to verify changes end-to-end.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build, run, and drive the Bridge web UI (Kubernetes/Docker dashboard) to verify changes end-to-end.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | verify |
| description | Build, run, and drive the Bridge web UI (Kubernetes/Docker dashboard) to verify changes end-to-end. |
Three processes, then drive the browser:
# --reject-paths override is REQUIRED for the Terminal tab: kubectl proxy
# blocks /pods/*/exec by default (403 on the websocket).
kubectl proxy --address=127.0.0.1 --port=8001 --reject-paths='^/never-reject$' # "local-cluster" context
socat -4 TCP-LISTEN:2375,bind=127.0.0.1,fork UNIX-CONNECT:/var/run/docker.sock # "local-docker"
npm run dev # vite on http://localhost:5173
The /contexts/local-cluster vite proxy needs ws: true (in vite.config.ts) or terminal
websockets die at the dev server. To exercise terminal/logs, kubectl run a busybox pod
(bridge-shell-test) and docker run a busybox loop container — most system pods
(coredns, local-path-provisioner) are distroless with NO shell.
public/config.json defines the dev contexts (local-cluster, local-docker) and the AI model.
The /openai vite proxy targets http://localhost:8080 — an OpenAI-compatible gateway usually
running locally; GET /v1/models lists valid ids (auto works). If chat errors with
"400 completer not found", the configured ai.model doesn't exist on the gateway.
No Playwright in the repo. Install playwright-core in a scratch dir and launch the cached
browser directly:
import { chromium } from 'playwright-core';
const browser = await chromium.launch({
executablePath:
'/Users/adrian/Library/Caches/ms-playwright/<chromium-XXXX>/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing',
headless: true,
});
Locator gotchas:
aside.fixed; the left nav is also an aside, so scope tab
clicks to aside.fixed or you get strict-mode violations.tbody tr; namespace is the 2nd column in all-namespaces view.button[title="AI Assistant"], input via placeholder
/Ask about your Kubernetes/./ auto-redirects to /cluster/local-cluster./cluster/<ctx>/<type>/<name>; tabs write ?tab=...; reload with a
?tab= deep link must keep that tab active./cluster/<ctx>/garbage shows a not-found message;
/docker/<ctx>/garbage redirects to the docker welcome.Clean up any test namespaces you create (kubectl delete ns ...).