nandi/oripublic Fork 0
db7446cc6b52b6bd9196294c1e66e5eb56754d5e
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

main.tsx · 22 lines · 645 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 yesterday1import { StrictMode } from "react";
2import { createRoot } from "react-dom/client";
3import { App } from "./App";
4import { dispatch } from "./store";
✨ Workspace panel, selectors, previews, desktop app, sandbox template, resizable file tree, light/dark theme 76d62ac k33g yesterday5// Imported for its side effect: stamps the remembered theme on <html>
6// before the first render, so the page does not flash the default palette.
7import "./theme";
✨ 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 yesterday8import { connectSocket, wsUrl } from "./ws";
9import "./app.css";
10
11const root = document.getElementById("root");
12if (!root) {
13 throw new Error("index.html must contain a #root element");
14}
15
16const socket = connectSocket({ url: wsUrl(), dispatch });
17
18createRoot(root).render(
19 <StrictMode>
20 <App socket={socket} />
21 </StrictMode>,
22);