quadwork 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +135 -0
- package/bin/quadwork.js +686 -0
- package/out/404.html +1 -0
- package/out/__next.__PAGE__.txt +6 -0
- package/out/__next._full.txt +17 -0
- package/out/__next._head.txt +6 -0
- package/out/__next._index.txt +6 -0
- package/out/__next._tree.txt +3 -0
- package/out/_next/static/chunks/0.57eg262w~qg.js +1 -0
- package/out/_next/static/chunks/0.dzh0qf9zq1l.js +2 -0
- package/out/_next/static/chunks/03hi.hdp6l230.js +20 -0
- package/out/_next/static/chunks/03v5eoc-wic6o.js +1 -0
- package/out/_next/static/chunks/03yov._jigv17.js +1 -0
- package/out/_next/static/chunks/03~yq9q893hmn.js +1 -0
- package/out/_next/static/chunks/08fgie1bcjynm.js +1 -0
- package/out/_next/static/chunks/0excsn2a_5qsb.js +4 -0
- package/out/_next/static/chunks/0iqqouh_3i5y5.js +13 -0
- package/out/_next/static/chunks/0jsosmtclw5n5.js +4 -0
- package/out/_next/static/chunks/0ox7p_szjhn69.js +1 -0
- package/out/_next/static/chunks/0r7t_sj_sejq9.js +1 -0
- package/out/_next/static/chunks/13uu.sohs74zg.js +31 -0
- package/out/_next/static/chunks/15kwal..m9r49.css +2 -0
- package/out/_next/static/chunks/17oc2l.ekcs8b.css +1 -0
- package/out/_next/static/chunks/17sk4qv6_d0co.js +1 -0
- package/out/_next/static/chunks/turbopack-06pqx~0d8czn_.js +1 -0
- package/out/_next/static/eq3ebKZWXVJquNrlYMOZR/_buildManifest.js +15 -0
- package/out/_next/static/eq3ebKZWXVJquNrlYMOZR/_clientMiddlewareManifest.js +1 -0
- package/out/_next/static/eq3ebKZWXVJquNrlYMOZR/_ssgManifest.js +1 -0
- package/out/_next/static/media/4fa387ec64143e14-s.0q3udbd2bu5yp.woff2 +0 -0
- package/out/_next/static/media/797e433ab948586e-s.p.0.q-h669a_dqa.woff2 +0 -0
- package/out/_next/static/media/bbc41e54d2fcbd21-s.0gw~uztddq1df.woff2 +0 -0
- package/out/_next/static/media/favicon.0x3dzn~oxb6tn.ico +0 -0
- package/out/_not-found/__next._full.txt +17 -0
- package/out/_not-found/__next._head.txt +6 -0
- package/out/_not-found/__next._index.txt +6 -0
- package/out/_not-found/__next._not-found.__PAGE__.txt +5 -0
- package/out/_not-found/__next._not-found.txt +5 -0
- package/out/_not-found/__next._tree.txt +2 -0
- package/out/_not-found.html +1 -0
- package/out/_not-found.txt +17 -0
- package/out/favicon.ico +0 -0
- package/out/file.svg +1 -0
- package/out/globe.svg +1 -0
- package/out/index.html +1 -0
- package/out/index.txt +17 -0
- package/out/next.svg +1 -0
- package/out/project/_/__next._full.txt +20 -0
- package/out/project/_/__next._head.txt +6 -0
- package/out/project/_/__next._index.txt +6 -0
- package/out/project/_/__next._tree.txt +4 -0
- package/out/project/_/__next.project.$d$id.__PAGE__.txt +7 -0
- package/out/project/_/__next.project.$d$id.txt +5 -0
- package/out/project/_/__next.project.txt +5 -0
- package/out/project/_/memory/__next._full.txt +19 -0
- package/out/project/_/memory/__next._head.txt +6 -0
- package/out/project/_/memory/__next._index.txt +6 -0
- package/out/project/_/memory/__next._tree.txt +3 -0
- package/out/project/_/memory/__next.project.$d$id.memory.__PAGE__.txt +6 -0
- package/out/project/_/memory/__next.project.$d$id.memory.txt +5 -0
- package/out/project/_/memory/__next.project.$d$id.txt +5 -0
- package/out/project/_/memory/__next.project.txt +5 -0
- package/out/project/_/memory.html +1 -0
- package/out/project/_/memory.txt +19 -0
- package/out/project/_/queue/__next._full.txt +19 -0
- package/out/project/_/queue/__next._head.txt +6 -0
- package/out/project/_/queue/__next._index.txt +6 -0
- package/out/project/_/queue/__next._tree.txt +3 -0
- package/out/project/_/queue/__next.project.$d$id.queue.__PAGE__.txt +6 -0
- package/out/project/_/queue/__next.project.$d$id.queue.txt +5 -0
- package/out/project/_/queue/__next.project.$d$id.txt +5 -0
- package/out/project/_/queue/__next.project.txt +5 -0
- package/out/project/_/queue.html +1 -0
- package/out/project/_/queue.txt +19 -0
- package/out/project/_.html +1 -0
- package/out/project/_.txt +20 -0
- package/out/settings/__next._full.txt +19 -0
- package/out/settings/__next._head.txt +6 -0
- package/out/settings/__next._index.txt +6 -0
- package/out/settings/__next._tree.txt +3 -0
- package/out/settings/__next.settings.__PAGE__.txt +6 -0
- package/out/settings/__next.settings.txt +5 -0
- package/out/settings.html +1 -0
- package/out/settings.txt +19 -0
- package/out/setup/__next._full.txt +19 -0
- package/out/setup/__next._head.txt +6 -0
- package/out/setup/__next._index.txt +6 -0
- package/out/setup/__next._tree.txt +3 -0
- package/out/setup/__next.setup.__PAGE__.txt +6 -0
- package/out/setup/__next.setup.txt +5 -0
- package/out/setup.html +1 -0
- package/out/setup.txt +19 -0
- package/out/vercel.svg +1 -0
- package/out/window.svg +1 -0
- package/package.json +61 -0
- package/server/config.js +63 -0
- package/server/index.js +476 -0
- package/server/routes.js +889 -0
- package/templates/CLAUDE.md +57 -0
- package/templates/config.toml +46 -0
- package/templates/seeds/t1.AGENTS.md +55 -0
- package/templates/seeds/t2a.AGENTS.md +96 -0
- package/templates/seeds/t2b.AGENTS.md +96 -0
- package/templates/seeds/t3.AGENTS.md +80 -0
- package/templates/wrapper.py +70 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 realproject7
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# QuadWork
|
|
2
|
+
|
|
3
|
+
A unified dashboard for multi-agent coding teams. Four AI agents (T1 owner, T2a/T2b reviewers, T3 builder) collaborate through terminals, chat, GitHub integration, and shared memory — all served from a single local web view.
|
|
4
|
+
|
|
5
|
+
## Dashboard
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
+--------+----------------------------+----------------------------+
|
|
9
|
+
| | T1 Terminal | T2a Terminal |
|
|
10
|
+
| Side- | (Owner) | (Reviewer) |
|
|
11
|
+
| bar +----------------------------+----------------------------+
|
|
12
|
+
| | T3 Terminal | T2b Terminal |
|
|
13
|
+
| [Home] | (Builder) | (Reviewer) |
|
|
14
|
+
| [Proj] +----------------------------+----------------------------+
|
|
15
|
+
| [+] | Agent Chat (AgentChattr) | GitHub (Issues + PRs) |
|
|
16
|
+
| [Set] | | |
|
|
17
|
+
+--------+----------------------------+----------------------------+
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Features
|
|
21
|
+
|
|
22
|
+
- **Terminal panels** — Live xterm.js terminals for each agent with PTY sessions
|
|
23
|
+
- **Agent chat** — AgentChattr integration for real-time agent coordination
|
|
24
|
+
- **GitHub board** — Issues, PRs, and review status at a glance
|
|
25
|
+
- **Task queue** — Build and dispatch work queues to T1 with one click
|
|
26
|
+
- **Shared memory** — Memory cards, butler scripts, and cross-agent context
|
|
27
|
+
- **Telegram bridge** — Optional Telegram bot integration for mobile notifications
|
|
28
|
+
- **Single-port server** — Everything on `http://127.0.0.1:8400` (API + WebSocket + UI)
|
|
29
|
+
- **Backend indicator** — Clear offline/online status in the sidebar
|
|
30
|
+
|
|
31
|
+
## Prerequisites
|
|
32
|
+
|
|
33
|
+
- **Node.js 20+** (with C++ toolchain for native modules)
|
|
34
|
+
- **Python 3.10+** (for AgentChattr)
|
|
35
|
+
- **GitHub CLI** (`gh`) — [install](https://cli.github.com)
|
|
36
|
+
- **Claude Code** or **Codex CLI** — at least one AI agent CLI
|
|
37
|
+
|
|
38
|
+
## Quick Start
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npx quadwork init # Interactive setup: repo, worktrees, agents, config
|
|
42
|
+
npx quadwork start # Launches dashboard at http://127.0.0.1:8400
|
|
43
|
+
npx quadwork stop # Stops all processes
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Install from Source
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
git clone https://github.com/realproject7/quadwork.git
|
|
50
|
+
cd quadwork
|
|
51
|
+
npm install
|
|
52
|
+
npm run build # Static frontend export to out/
|
|
53
|
+
node server/ # Start server at http://127.0.0.1:8400
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
For development (hot reload):
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
npm run dev # Next.js dev server on :3000
|
|
60
|
+
npm run server # Express backend on :8400 (run in separate terminal)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Commands
|
|
64
|
+
|
|
65
|
+
| Command | Description |
|
|
66
|
+
|---------|-------------|
|
|
67
|
+
| `quadwork init` | Interactive setup wizard — repo, worktrees, agent config |
|
|
68
|
+
| `quadwork start` | Start the server (frontend must be pre-built) |
|
|
69
|
+
| `quadwork stop` | Stop server, AgentChattr, and Telegram bridge |
|
|
70
|
+
| `quadwork add-project` | Add another project to an existing setup |
|
|
71
|
+
|
|
72
|
+
## Configuration
|
|
73
|
+
|
|
74
|
+
Config is stored at `~/.quadwork/config.json`:
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"port": 8400,
|
|
79
|
+
"agentchattr_url": "http://127.0.0.1:8300",
|
|
80
|
+
"projects": [
|
|
81
|
+
{
|
|
82
|
+
"id": "my-project",
|
|
83
|
+
"name": "My Project",
|
|
84
|
+
"repo": "owner/repo",
|
|
85
|
+
"working_dir": "/path/to/project",
|
|
86
|
+
"agents": {
|
|
87
|
+
"t1": { "cwd": "/path/to/project-t1", "command": "claude" },
|
|
88
|
+
"t2a": { "cwd": "/path/to/project-t2a", "command": "claude" },
|
|
89
|
+
"t2b": { "cwd": "/path/to/project-t2b", "command": "claude" },
|
|
90
|
+
"t3": { "cwd": "/path/to/project-t3", "command": "claude" }
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Each agent runs in its own git worktree (sibling directories).
|
|
98
|
+
|
|
99
|
+
## Optional Add-ons
|
|
100
|
+
|
|
101
|
+
### AgentChattr
|
|
102
|
+
|
|
103
|
+
Shared chat server for agent coordination. Install separately:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
pip install agentchattr
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
The setup wizard configures AgentChattr automatically. See [agentchattr](https://github.com/realproject7/agentchattr) for details.
|
|
110
|
+
|
|
111
|
+
### Telegram Bridge
|
|
112
|
+
|
|
113
|
+
Forward agent chat to a Telegram group. Configure in Settings or during `quadwork init`. Requires a Telegram bot token and chat ID.
|
|
114
|
+
|
|
115
|
+
### Shared Memory
|
|
116
|
+
|
|
117
|
+
Cross-agent memory system with memory cards and butler scripts. Set up during `quadwork init` or configure paths in Settings.
|
|
118
|
+
|
|
119
|
+
## Architecture
|
|
120
|
+
|
|
121
|
+
QuadWork runs a single Express server that serves:
|
|
122
|
+
|
|
123
|
+
- **Static frontend** — Pre-built Next.js export (`out/`)
|
|
124
|
+
- **REST API** — Agent lifecycle, config, GitHub, chat proxy, memory, triggers
|
|
125
|
+
- **WebSocket** — Terminal PTY sessions at `/ws/terminal`
|
|
126
|
+
|
|
127
|
+
All on one port (`127.0.0.1:8400`), no CORS needed.
|
|
128
|
+
|
|
129
|
+
## Design
|
|
130
|
+
|
|
131
|
+
See [docs/PROPOSAL.md](docs/PROPOSAL.md) for the full design specification.
|
|
132
|
+
|
|
133
|
+
## License
|
|
134
|
+
|
|
135
|
+
MIT
|