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

Makefile · 48 lines · 1.6 KBMakefile 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# Ori — ACP web client. `make help` lists the targets.
2
✨ Workspace panel, selectors, previews, desktop app, sandbox template, resizable file tree, light/dark theme 76d62ac k33g 23h ago3.PHONY: help deps build build-ui build-go test test-go test-ui run run-mock dev template desktop desktop-test clean
✨ 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 yesterday4
5help: ## Show this help
6 @grep -E '^[a-zA-Z_-]+:.*## ' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*## "}; {printf " %-12s %s\n", $$1, $$2}'
7
8deps: ## Install frontend dependencies
9 cd ui && npm install
10
11build-ui: ## Build the SPA into ui/dist
12 cd ui && npm run build
13
14build-go: ## Build the server and mock-agent binaries into bin/
15 go build -o bin/ori ./cmd/ori
16 go build -o bin/ori-mock-agent ./cmd/ori-mock-agent
17
18build: build-ui build-go ## Build everything (SPA first, then the Go binary that embeds it)
19
20test-go: ## Run the Go test suite
21 go test ./...
22
23test-ui: ## Run the frontend test suite
24 cd ui && npm run test
25
26test: test-go test-ui ## Run all tests
27
28run: build ## Build then start the server on :8888 (Claude Code via ACP adapter)
29 ./bin/ori
30
31run-mock: build ## Build then start the server with the demo mock agent (no Claude needed)
32 ./bin/ori --agent-cmd "bin/ori-mock-agent"
33
34dev: ## Start the Vite dev server (expects `go run ./cmd/ori` in another terminal)
35 cd ui && npm run dev
36
✨ Workspace panel, selectors, previews, desktop app, sandbox template, resizable file tree, light/dark theme 76d62ac k33g 23h ago37template: ## Build the k33g/ori sandbox template image (see kits/ori/README.md)
38 docker build -f template/Dockerfile -t k33g/ori .
39
40desktop: ## Build the Wails desktop shell into ori-desktop/build/bin (needs the wails CLI, see ori-desktop/README.md)
41 cd ori-desktop && wails build
42
43desktop-test: ## Run the desktop shell's pure-Go tests (no GUI toolchain needed)
44 cd ori-desktop && go test ./internal/...
45
✨ 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 yesterday46clean: ## Remove build artifacts
47 rm -rf bin ui/dist/*
48 @touch ui/dist/.gitkeep