nandi/oripublic Fork 0
4166f8fba899b222fab287c398dcab9bf6f6e5c9
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

vite.config.ts · 21 lines · 647 BTypeScript Blame HistoryRaw
✨ Introduce new feature(s): ACP web client — Go backend (agent, bridge, httpserver, mockagent) + React SPA (Zed-like agent panel), tests, quality gate PASS 2434cc7 k33g yesterday1/// <reference types="vitest/config" />
2import { defineConfig } from "vite";
3import react from "@vitejs/plugin-react";
4
5// In development the SPA runs on Vite's dev server while the Go backend runs
6// on :8888; the proxy below forwards the API and WebSocket routes to it. In
7// production the Go binary serves the built SPA itself and no proxy exists.
8export default defineConfig({
9 plugins: [react()],
10 server: {
11 proxy: {
12 "/ws": { target: "ws://localhost:8888", ws: true },
✨ Workspace panel, selectors, previews, desktop app, sandbox template, resizable file tree, light/dark theme 76d62ac k33g yesterday13 "/api": { target: "http://localhost:8888" },
✨ Introduce new feature(s): ACP web client — Go backend (agent, bridge, httpserver, mockagent) + React SPA (Zed-like agent panel), tests, quality gate PASS 2434cc7 k33g yesterday14 "/healthz": { target: "http://localhost:8888" },
15 },
16 },
17 test: {
18 environment: "jsdom",
19 globals: true,
20 },
21});