feat: add profile ui and request telemetry

This commit is contained in:
2026-06-29 04:40:32 +08:00
parent 7f7f7e5147
commit 4605885262
15 changed files with 7273 additions and 1684 deletions
+23
View File
@@ -0,0 +1,23 @@
import react from "@vitejs/plugin-react";
import { fileURLToPath } from "node:url";
import { defineConfig } from "vite";
const uiRoot = fileURLToPath(new URL(".", import.meta.url));
const repoRoot = fileURLToPath(new URL("..", import.meta.url));
export default defineConfig({
root: uiRoot,
base: "/__codex_retry_gateway/ui/",
plugins: [react()],
build: {
outDir: `${repoRoot}/public/ui`,
emptyOutDir: true,
},
server: {
port: 5174,
proxy: {
"/__codex_retry_gateway/api": "http://127.0.0.1:4610",
"/__codex_retry_gateway/health": "http://127.0.0.1:4610",
},
},
});