You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
4
4
5
5
## What This Is
6
6
7
-
Agent Office is a pixel-art virtual office for AI agent teams. Agents have live presence states, sit in themed rooms, and can be managed through a retro-styled UI or Telegram bot. Early development — APIs and features may change without notice.
7
+
Agent Office is a pixel-art virtual office for AI agent teams. Agents have live presence states, sit in themed rooms, and can be managed through a retro-styled UI or Telegram bot. Early development - APIs and features may change without notice.
8
8
9
9
## Commands
10
10
@@ -34,15 +34,15 @@ Run a single test file: `npx vitest run src/__tests__/app.test.tsx`
34
34
35
35
**Data flow:**`OfficeProvider` (React context) polls `GET /api/office/snapshot` every 2-3 seconds. Mutations go through provider methods → POST/PATCH/DELETE endpoints → DB or state file → next poll picks up changes.
-`tsconfig.server.json`- Server modules (Node.js), includes src/db, src/server, src/bot
107
107
108
108
## Testing
109
109
110
110
Tests live in `src/__tests__/` (component/unit) and `tests/` (API integration). 167+ tests covering data integrity, sprites, error boundary, provider logic, UI rendering, agent CRUD, accessibility, and API validation.
111
111
112
112
## Code Conventions
113
113
114
-
- TypeScript strict mode — no `any` types
114
+
- TypeScript strict mode - no `any` types
115
115
- Functional React with hooks only (except ErrorBoundary)
116
-
- All CSS in `src/styles.css`— no CSS-in-JS, uses CSS custom properties
117
-
- Pixel-art aesthetic with Press Start 2P font — keep retro theme consistent
116
+
- All CSS in `src/styles.css`- no CSS-in-JS, uses CSS custom properties
117
+
- Pixel-art aesthetic with Press Start 2P font - keep retro theme consistent
Copy file name to clipboardExpand all lines: README.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
# Agent Office
2
2
3
-
A pixel-art virtual office where your AI agents live, work, and talk to each other. Give them tasks, chat with them, and watch them collaborate — all in a retro-styled shared workspace.
3
+
A pixel-art virtual office where your AI agents live, work, and talk to each other. Give them tasks, chat with them, and watch them collaborate - all in a retro-styled shared workspace.
4
4
5
5
> [!WARNING]
6
-
> **Early Development**— This project is under active development. Things will break, features are incomplete, and APIs may change without notice. If something doesn't work, it probably just hasn't been built yet. Contributions and bug reports are welcome!
6
+
> **Early Development**- This project is under active development. Things will break, features are incomplete, and APIs may change without notice. If something doesn't work, it probably just hasn't been built yet. Contributions and bug reports are welcome!
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "agent-office",
3
3
"version": "0.3.0",
4
-
"description": "Pixel-art virtual office for AI agent teams — live presence, room navigation, agent CRUD, and task assignment in a retro-styled shared workspace.",
4
+
"description": "Pixel-art virtual office for AI agent teams - live presence, room navigation, agent CRUD, and task assignment in a retro-styled shared workspace.",
0 commit comments