Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ CRITICAL: every Playwright artifact save (`playwright_browser_take_screenshot`,

CRITICAL: bare Playwright filenames like `foo.png`, `foo.md`, or `foo.txt` are forbidden because they save into the repository root and pollute the workspace.

For React/TypeScript code in cmd/sgai/webapp/, use bun for building, testing, and running scripts. Build command: `bun run build`. Dev server: `bun run dev.ts`. Tests: `bun test`.
For React/TypeScript code in cmd/sgai/webapp/, use bun for building, testing, and running scripts. Run these commands from `cmd/sgai/webapp/`. Build command: `bun run build`. Dev server: `bun run dev.ts`. Tests: `bun test src/`.

Bare repo-root `bun test` is misleading in this repository because it can sweep unrelated root-level TypeScript/Playwright files instead of just the webapp package.

React components must use shadcn/ui components where possible. Do not create custom implementations when a shadcn component exists. Reference: https://ui.shadcn.com/docs

Expand Down
3 changes: 3 additions & 0 deletions cmd/sgai/exhaustruct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ func testWorkflow() state.Workflow {
Task: "",
Progress: nil,
HumanMessage: "",
HumanInputAgent: "",
MultiChoiceQuestion: nil,
Messages: nil,
VisitCounts: nil,
CurrentAgent: "",
AgentStates: nil,
Todos: nil,
TodosByAgent: nil,
ProjectTodos: nil,
AgentSequence: nil,
SessionID: "",
Expand Down
Loading