claudeck 1.0.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 +233 -0
- package/cli.js +2 -0
- package/config/agent-chains.json +16 -0
- package/config/agent-dags.json +16 -0
- package/config/agents.json +46 -0
- package/config/bot-prompt.json +3 -0
- package/config/folders.json +66 -0
- package/config/prompts.json +92 -0
- package/config/repos.json +86 -0
- package/config/telegram-config.json +17 -0
- package/config/workflows.json +90 -0
- package/db.js +1198 -0
- package/package.json +55 -0
- package/plugins/claude-editor/client.css +171 -0
- package/plugins/claude-editor/client.js +183 -0
- package/plugins/event-stream/client.css +207 -0
- package/plugins/event-stream/client.js +271 -0
- package/plugins/linear/client.css +345 -0
- package/plugins/linear/client.js +380 -0
- package/plugins/linear/config.json +5 -0
- package/plugins/linear/server.js +312 -0
- package/plugins/repos/client.css +549 -0
- package/plugins/repos/client.js +663 -0
- package/plugins/repos/server.js +232 -0
- package/plugins/sudoku/client.css +196 -0
- package/plugins/sudoku/client.js +329 -0
- package/plugins/tasks/client.css +414 -0
- package/plugins/tasks/client.js +394 -0
- package/plugins/tasks/server.js +116 -0
- package/plugins/tic-tac-toe/client.css +167 -0
- package/plugins/tic-tac-toe/client.js +241 -0
- package/public/css/core/components.css +232 -0
- package/public/css/core/layout.css +330 -0
- package/public/css/core/print.css +18 -0
- package/public/css/core/reset.css +36 -0
- package/public/css/core/responsive.css +378 -0
- package/public/css/core/theme.css +116 -0
- package/public/css/core/variables.css +93 -0
- package/public/css/features/agent-monitor.css +297 -0
- package/public/css/features/agent-sidebar.css +525 -0
- package/public/css/features/agents.css +996 -0
- package/public/css/features/analytics.css +181 -0
- package/public/css/features/background-sessions.css +321 -0
- package/public/css/features/cost-dashboard.css +168 -0
- package/public/css/features/home.css +313 -0
- package/public/css/features/retro-terminal.css +88 -0
- package/public/css/features/telegram.css +127 -0
- package/public/css/features/tour.css +148 -0
- package/public/css/features/voice-input.css +60 -0
- package/public/css/features/welcome.css +241 -0
- package/public/css/panels/assistant-bot.css +442 -0
- package/public/css/panels/dev-docs.css +292 -0
- package/public/css/panels/file-explorer.css +322 -0
- package/public/css/panels/git-panel.css +221 -0
- package/public/css/panels/mcp-manager.css +199 -0
- package/public/css/panels/tips-feed.css +353 -0
- package/public/css/ui/commands.css +273 -0
- package/public/css/ui/context-gauge.css +76 -0
- package/public/css/ui/file-picker.css +69 -0
- package/public/css/ui/image-attachments.css +106 -0
- package/public/css/ui/messages.css +884 -0
- package/public/css/ui/modals.css +122 -0
- package/public/css/ui/parallel.css +217 -0
- package/public/css/ui/permissions.css +110 -0
- package/public/css/ui/right-panel.css +481 -0
- package/public/css/ui/sessions.css +689 -0
- package/public/css/ui/status-bar.css +425 -0
- package/public/css/ui/toolbox.css +206 -0
- package/public/data/tips.json +218 -0
- package/public/icons/favicon.png +0 -0
- package/public/icons/icon-192.png +0 -0
- package/public/icons/icon-512.png +0 -0
- package/public/icons/whaly.png +0 -0
- package/public/index.html +1140 -0
- package/public/js/core/api.js +591 -0
- package/public/js/core/constants.js +3 -0
- package/public/js/core/dom.js +270 -0
- package/public/js/core/events.js +10 -0
- package/public/js/core/plugin-loader.js +153 -0
- package/public/js/core/store.js +39 -0
- package/public/js/core/utils.js +25 -0
- package/public/js/core/ws.js +64 -0
- package/public/js/features/agent-monitor.js +222 -0
- package/public/js/features/agents.js +1209 -0
- package/public/js/features/analytics.js +397 -0
- package/public/js/features/attachments.js +251 -0
- package/public/js/features/background-sessions.js +475 -0
- package/public/js/features/chat.js +589 -0
- package/public/js/features/cost-dashboard.js +152 -0
- package/public/js/features/dag-editor.js +399 -0
- package/public/js/features/easter-egg.js +46 -0
- package/public/js/features/home.js +270 -0
- package/public/js/features/projects.js +372 -0
- package/public/js/features/prompts.js +228 -0
- package/public/js/features/sessions.js +332 -0
- package/public/js/features/telegram.js +131 -0
- package/public/js/features/tour.js +210 -0
- package/public/js/features/voice-input.js +185 -0
- package/public/js/features/welcome.js +43 -0
- package/public/js/features/workflows.js +277 -0
- package/public/js/main.js +51 -0
- package/public/js/panels/assistant-bot.js +445 -0
- package/public/js/panels/dev-docs.js +380 -0
- package/public/js/panels/file-explorer.js +486 -0
- package/public/js/panels/git-panel.js +285 -0
- package/public/js/panels/mcp-manager.js +311 -0
- package/public/js/panels/tips-feed.js +303 -0
- package/public/js/ui/commands.js +114 -0
- package/public/js/ui/context-gauge.js +100 -0
- package/public/js/ui/diff.js +124 -0
- package/public/js/ui/disabled-tools.js +36 -0
- package/public/js/ui/export.js +74 -0
- package/public/js/ui/formatting.js +206 -0
- package/public/js/ui/header-dropdowns.js +72 -0
- package/public/js/ui/input-meta.js +71 -0
- package/public/js/ui/max-turns.js +21 -0
- package/public/js/ui/messages.js +387 -0
- package/public/js/ui/model-selector.js +20 -0
- package/public/js/ui/notifications.js +232 -0
- package/public/js/ui/parallel.js +176 -0
- package/public/js/ui/permissions.js +168 -0
- package/public/js/ui/right-panel.js +173 -0
- package/public/js/ui/shortcuts.js +143 -0
- package/public/js/ui/sidebar-toggle.js +29 -0
- package/public/js/ui/status-bar.js +172 -0
- package/public/js/ui/tab-sdk.js +623 -0
- package/public/js/ui/theme.js +38 -0
- package/public/manifest.json +13 -0
- package/public/offline.html +190 -0
- package/public/style.css +42 -0
- package/public/sw.js +91 -0
- package/server/agent-loop.js +385 -0
- package/server/dag-executor.js +265 -0
- package/server/orchestrator.js +514 -0
- package/server/paths.js +61 -0
- package/server/plugin-mount.js +56 -0
- package/server/push-sender.js +31 -0
- package/server/routes/agents.js +294 -0
- package/server/routes/bot.js +45 -0
- package/server/routes/exec.js +35 -0
- package/server/routes/files.js +218 -0
- package/server/routes/mcp.js +82 -0
- package/server/routes/messages.js +36 -0
- package/server/routes/notifications.js +37 -0
- package/server/routes/projects.js +207 -0
- package/server/routes/prompts.js +53 -0
- package/server/routes/sessions.js +103 -0
- package/server/routes/stats.js +143 -0
- package/server/routes/telegram.js +71 -0
- package/server/routes/tips.js +135 -0
- package/server/routes/workflows.js +81 -0
- package/server/summarizer.js +55 -0
- package/server/telegram-poller.js +205 -0
- package/server/telegram-sender.js +304 -0
- package/server/ws-handler.js +926 -0
- package/server.js +179 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Hamed Farag
|
|
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,233 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="public/icons/whaly.png" alt="Whaly — the Claudeck mascot" width="160" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">Claudeck</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
A browser-based UI for <a href="https://docs.anthropic.com/en/docs/claude-code">Claude Code</a> — chat, workflows, agents, cost tracking, and more.
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://www.npmjs.com/package/claudeck"><img src="https://img.shields.io/npm/v/claudeck?color=cb3837&label=npm" alt="npm version" /></a>
|
|
13
|
+
<a href="https://github.com/hamedafarag/claudeck/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/claudeck?color=blue" alt="license" /></a>
|
|
14
|
+
<img src="https://img.shields.io/node/v/claudeck?color=339933" alt="node version" />
|
|
15
|
+
<img src="https://img.shields.io/badge/dependencies-6-brightgreen" alt="dependencies" />
|
|
16
|
+
<img src="https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-lightgrey" alt="platform" />
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Quick Start
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# One-command launch (no install needed)
|
|
25
|
+
npx claudeck
|
|
26
|
+
|
|
27
|
+
# Or install globally
|
|
28
|
+
npm install -g claudeck
|
|
29
|
+
claudeck
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Open **http://localhost:9009** in your browser.
|
|
33
|
+
|
|
34
|
+
> Requires **Node.js 18+** and Claude Code CLI authentication (`claude auth login`).
|
|
35
|
+
|
|
36
|
+
On first run, Claudeck creates `~/.claudeck/` with your config, database, and plugins directory — safe for NPX upgrades.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Why Claudeck?
|
|
41
|
+
|
|
42
|
+
- **Zero-framework** — Vanilla JS, 6 npm dependencies, no build step
|
|
43
|
+
- **Full agent orchestration** — Chains, DAGs, orchestrator, and monitoring dashboard
|
|
44
|
+
- **Cost visibility** — Per-session tracking, daily charts, token breakdowns
|
|
45
|
+
- **Works everywhere** — PWA, mobile responsive, Telegram AFK approval
|
|
46
|
+
- **Extensible** — Full-stack plugin system with auto-discovery
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Features
|
|
51
|
+
|
|
52
|
+
### Chat & Sessions
|
|
53
|
+
|
|
54
|
+
- Real-time WebSocket streaming with session persistence
|
|
55
|
+
- **Parallel mode** — 2x2 grid of 4 independent conversations
|
|
56
|
+
- Background sessions that keep running when you switch away
|
|
57
|
+
- Session search, pinning, auto-generated titles
|
|
58
|
+
- Voice input via Web Speech API (Chrome/Safari)
|
|
59
|
+
|
|
60
|
+
### Autonomous Agents
|
|
61
|
+
|
|
62
|
+
- 4 built-in agents: PR Reviewer, Bug Hunter, Test Writer, Refactoring
|
|
63
|
+
- **Agent Chains** — Sequential pipelines with context passing
|
|
64
|
+
- **Agent DAGs** — Visual dependency graph editor with parallel execution
|
|
65
|
+
- **Orchestrator** — Describe a task, it auto-delegates to specialist agents
|
|
66
|
+
- **Agent Monitor** — Metrics, cost aggregation, success rates, leaderboard
|
|
67
|
+
|
|
68
|
+
### Workflows
|
|
69
|
+
|
|
70
|
+
- Multi-step workflows with full CRUD
|
|
71
|
+
- 4 pre-built: Review PR, Onboard Repo, Migration Plan, Code Health
|
|
72
|
+
- Each step carries context forward
|
|
73
|
+
|
|
74
|
+
### Code & Files
|
|
75
|
+
|
|
76
|
+
- **File Explorer** — Lazy tree, syntax-highlighted preview, drag-to-chat
|
|
77
|
+
- **Git Panel** — Branch switching, staging, commit, log
|
|
78
|
+
- **Repos Manager** — Organize repos in nested groups with GitHub links
|
|
79
|
+
- Code diff viewer with LCS-based line highlighting
|
|
80
|
+
|
|
81
|
+
### Cost & Analytics
|
|
82
|
+
|
|
83
|
+
- Per-session cost tracking with daily timeline charts
|
|
84
|
+
- Input/output token breakdown, streaming token counter
|
|
85
|
+
- Error pattern analysis (9 categories), tool usage stats
|
|
86
|
+
|
|
87
|
+
### Integrations
|
|
88
|
+
|
|
89
|
+
- **MCP Manager** — Add/edit/remove MCP servers (global + per-project)
|
|
90
|
+
- **Linear** — View and create issues from the sidebar
|
|
91
|
+
- **Telegram** — Rich notifications + AFK approve/deny via inline keyboard
|
|
92
|
+
- **Push Notifications** — Web-push with audio chime, works when browser is closed
|
|
93
|
+
|
|
94
|
+
### Prompt & Command System
|
|
95
|
+
|
|
96
|
+
- 16 built-in prompt templates with `{{variable}}` placeholders
|
|
97
|
+
- Auto-discovers `.claude/commands/` and `.claude/skills/` from your project
|
|
98
|
+
- 40+ slash commands for every feature
|
|
99
|
+
|
|
100
|
+
### Permissions
|
|
101
|
+
|
|
102
|
+
| Mode | Behavior |
|
|
103
|
+
|------|----------|
|
|
104
|
+
| **Bypass** | Auto-approve everything |
|
|
105
|
+
| **Confirm Writes** | Auto-approve reads, prompt for writes |
|
|
106
|
+
| **Confirm All** | Prompt for every tool call |
|
|
107
|
+
| **Plan Mode** | No execution, planning only |
|
|
108
|
+
|
|
109
|
+
### UI & Experience
|
|
110
|
+
|
|
111
|
+
- Dark theme (terminal CRT aesthetic) and light theme
|
|
112
|
+
- Installable as a PWA with offline fallback
|
|
113
|
+
- Mobile responsive with tablet/mobile breakpoints
|
|
114
|
+
- Welcome screen with Whaly mascot and 18-step guided tour
|
|
115
|
+
- Full-stack plugin system with marketplace UI
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Architecture
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
browser ──── WebSocket ──── server.js ──── Claude Code SDK
|
|
123
|
+
|
|
|
124
|
+
server/routes/ ~/.claudeck/
|
|
125
|
+
server/agent-loop.js ├── config/ (JSON configs)
|
|
126
|
+
server/orchestrator.js ├── plugins/ (user plugins)
|
|
127
|
+
server/dag-executor.js ├── data.db (SQLite)
|
|
128
|
+
plugins/ └── .env (VAPID keys)
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
| Layer | Technology |
|
|
132
|
+
|-------|------------|
|
|
133
|
+
| Runtime | Node.js 18+ (ESM) |
|
|
134
|
+
| Backend | Express 4, WebSocket (ws 8), web-push 3 |
|
|
135
|
+
| AI SDK | @anthropic-ai/claude-code |
|
|
136
|
+
| Database | SQLite via better-sqlite3 (WAL mode) |
|
|
137
|
+
| Frontend | Vanilla JS ES modules, CSS custom properties |
|
|
138
|
+
| Rendering | highlight.js, Mermaid (diagrams) — CDN |
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Slash Commands
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
/clear /new /parallel /export /theme /shortcuts App
|
|
146
|
+
/costs /analytics Dashboards
|
|
147
|
+
/files /git /repos /events /mcp /tips Panels
|
|
148
|
+
/review-pr /onboard-repo /migration-plan /code-health Workflows
|
|
149
|
+
/agent-pr-reviewer /agent-bug-hunter /agent-test-writer Agents
|
|
150
|
+
/orchestrate /monitor /chain-* /dag-* Multi-Agent
|
|
151
|
+
/code-review /find-bugs /write-tests /refactor ... Prompts (16)
|
|
152
|
+
/run <cmd> Shell
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## Keyboard Shortcuts
|
|
158
|
+
|
|
159
|
+
| Shortcut | Action |
|
|
160
|
+
|----------|--------|
|
|
161
|
+
| `Cmd+K` | Session search |
|
|
162
|
+
| `Cmd+N` | New session |
|
|
163
|
+
| `Cmd+B` | Toggle right panel |
|
|
164
|
+
| `Cmd+/` | Show all shortcuts |
|
|
165
|
+
| `Cmd+Shift+E/G/R/V/T` | Files / Git / Repos / Events / Tips |
|
|
166
|
+
| `Cmd+1`-`4` | Focus parallel pane |
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Configuration
|
|
171
|
+
|
|
172
|
+
All user data lives in `~/.claudeck/` (override with `CLAUDECK_HOME`):
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
~/.claudeck/
|
|
176
|
+
├── config/
|
|
177
|
+
│ ├── folders.json Projects
|
|
178
|
+
│ ├── prompts.json Prompt templates
|
|
179
|
+
│ ├── workflows.json Workflows
|
|
180
|
+
│ ├── agents.json Agent definitions
|
|
181
|
+
│ ├── agent-chains.json Sequential pipelines
|
|
182
|
+
│ ├── agent-dags.json Dependency graphs
|
|
183
|
+
│ ├── repos.json Repository groups
|
|
184
|
+
│ ├── bot-prompt.json Assistant bot prompt
|
|
185
|
+
│ └── telegram-config.json Telegram config
|
|
186
|
+
├── plugins/ User-installed plugins
|
|
187
|
+
├── data.db SQLite database
|
|
188
|
+
└── .env VAPID keys, port config
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Defaults are copied on first run. User edits are never overwritten on upgrade.
|
|
192
|
+
|
|
193
|
+
See [CONFIGURATION.md](docs/CONFIGURATION.md) for the full guide.
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## Plugins
|
|
198
|
+
|
|
199
|
+
Claudeck includes 6 built-in plugins and supports user plugins via `~/.claudeck/plugins/`:
|
|
200
|
+
|
|
201
|
+
| Plugin | Description |
|
|
202
|
+
|--------|-------------|
|
|
203
|
+
| **Tasks** | Todo list with priority, archive, and brag tracking |
|
|
204
|
+
| **Linear** | Linear issue tracking with team management |
|
|
205
|
+
| **Repos** | Repository management with tree view |
|
|
206
|
+
| **Claude Editor** | Edit CLAUDE.md project instructions in-app |
|
|
207
|
+
| **Event Stream** | Real-time WebSocket event viewer |
|
|
208
|
+
| **Games** | Tic-tac-toe and Sudoku |
|
|
209
|
+
|
|
210
|
+
Create your own: add a `plugins/<name>/` directory with `client.js` and optionally `server.js`, `client.css`, `config.json`. See [CONFIGURATION.md](docs/CONFIGURATION.md#plugins) for details.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## Documentation
|
|
215
|
+
|
|
216
|
+
| Document | Description |
|
|
217
|
+
|----------|-------------|
|
|
218
|
+
| [DOCUMENTATION.md](docs/DOCUMENTATION.md) | Full feature docs, API reference, database schema |
|
|
219
|
+
| [CONFIGURATION.md](docs/CONFIGURATION.md) | User data directory, config files, plugin system |
|
|
220
|
+
| [CROSS-PLATFORM-AUDIT.md](docs/CROSS-PLATFORM-AUDIT.md) | Windows/Linux compatibility |
|
|
221
|
+
| [COMPETITIVE-ANALYSIS.md](docs/COMPETITIVE-ANALYSIS.md) | Feature comparison with similar tools |
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## License
|
|
226
|
+
|
|
227
|
+
[MIT](LICENSE)
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
<p align="center">
|
|
232
|
+
<sub>Built with Whaly by <a href="https://github.com/hamedafarag">Hamed Farag</a></sub>
|
|
233
|
+
</p>
|
package/cli.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "bug-then-review",
|
|
4
|
+
"title": "Bug Hunt + Review",
|
|
5
|
+
"description": "Find bugs, then review the fixes",
|
|
6
|
+
"agents": ["bug-hunter", "review-pr"],
|
|
7
|
+
"contextPassing": "summary"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "test-then-refactor",
|
|
11
|
+
"title": "Test + Refactor",
|
|
12
|
+
"description": "Write tests, then refactor with confidence",
|
|
13
|
+
"agents": ["test-writer", "refactor"],
|
|
14
|
+
"contextPassing": "summary"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "full-review-pipeline",
|
|
4
|
+
"title": "Full Review Pipeline",
|
|
5
|
+
"description": "Find bugs and write tests in parallel, then review everything",
|
|
6
|
+
"nodes": [
|
|
7
|
+
{ "id": "n1", "agentId": "bug-hunter", "x": 80, "y": 50 },
|
|
8
|
+
{ "id": "n2", "agentId": "test-writer", "x": 80, "y": 200 },
|
|
9
|
+
{ "id": "n3", "agentId": "review-pr", "x": 350, "y": 125 }
|
|
10
|
+
],
|
|
11
|
+
"edges": [
|
|
12
|
+
{ "from": "n1", "to": "n3" },
|
|
13
|
+
{ "from": "n2", "to": "n3" }
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "review-pr",
|
|
4
|
+
"title": "PR Reviewer",
|
|
5
|
+
"description": "Autonomously reviews current changes, finds bugs, and writes a detailed review",
|
|
6
|
+
"icon": "search",
|
|
7
|
+
"goal": "Thoroughly review all current code changes (staged and unstaged). Read the diffs, understand the intent, check for bugs, security issues, performance problems, and code style violations. Produce a comprehensive review with actionable feedback and code suggestions.",
|
|
8
|
+
"constraints": {
|
|
9
|
+
"maxTurns": 50,
|
|
10
|
+
"timeoutMs": 300000
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "bug-hunter",
|
|
15
|
+
"title": "Bug Hunter",
|
|
16
|
+
"description": "Searches the codebase for bugs, anti-patterns, and security vulnerabilities",
|
|
17
|
+
"icon": "bug",
|
|
18
|
+
"goal": "Systematically scan the codebase for bugs, security vulnerabilities, anti-patterns, and potential runtime errors. Prioritize findings by severity and provide concrete fixes for each issue found.",
|
|
19
|
+
"constraints": {
|
|
20
|
+
"maxTurns": 80,
|
|
21
|
+
"timeoutMs": 600000
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "test-writer",
|
|
26
|
+
"title": "Test Writer",
|
|
27
|
+
"description": "Analyzes code and autonomously writes comprehensive tests",
|
|
28
|
+
"icon": "check",
|
|
29
|
+
"goal": "Analyze the codebase to identify untested or under-tested code. Write comprehensive tests covering edge cases, error paths, and happy paths. Use the project's existing test framework and conventions.",
|
|
30
|
+
"constraints": {
|
|
31
|
+
"maxTurns": 80,
|
|
32
|
+
"timeoutMs": 600000
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "refactor",
|
|
37
|
+
"title": "Refactoring Agent",
|
|
38
|
+
"description": "Identifies code smells and executes refactoring improvements",
|
|
39
|
+
"icon": "tool",
|
|
40
|
+
"goal": "Analyze the codebase for code smells, duplication, overly complex functions, and poor abstractions. Identify the highest-impact refactoring opportunities and execute them, ensuring existing functionality is preserved.",
|
|
41
|
+
"constraints": {
|
|
42
|
+
"maxTurns": 60,
|
|
43
|
+
"timeoutMs": 600000
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
]
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "Frontend",
|
|
4
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend",
|
|
5
|
+
"systemPrompt": ""
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"name": "Frontend Docs",
|
|
9
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-docs",
|
|
10
|
+
"systemPrompt": ""
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "FE2.0 - Training Center",
|
|
14
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-2.0-training-center",
|
|
15
|
+
"systemPrompt": ""
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Vertex",
|
|
19
|
+
"path": "/Users/hamedfarag/WakeCap/Backend/wakecap-apps-manager",
|
|
20
|
+
"systemPrompt": ""
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Public Site",
|
|
24
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/wakecap-public-site",
|
|
25
|
+
"systemPrompt": ""
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "FE-2.0",
|
|
29
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-2.0",
|
|
30
|
+
"systemPrompt": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "DOCS",
|
|
34
|
+
"path": "/Users/hamedfarag/WakeCap/DOCS",
|
|
35
|
+
"systemPrompt": "You are an expert in writing technical plans, with some points and some details we need to create a plan with these points and for each point we need to show the document the following (problem statement, impact on the system , release date , dependencies), the output always in markdown"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Playground",
|
|
39
|
+
"path": "/Users/hamedfarag/WakeCap/PLAYGROUND",
|
|
40
|
+
"systemPrompt": ""
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "wakecap-api-services",
|
|
44
|
+
"path": "/Users/hamedfarag/WakeCap/PLAYGROUND/@wakecap/api-services/wakecap-api-services"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "fe-microapp-templates",
|
|
48
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/fe-microapp-templates"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "aiMarketplace",
|
|
52
|
+
"path": "/Users/hamedfarag/Personal/aiMarketplace"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "orchestrator-agent-with-adws",
|
|
56
|
+
"path": "/Users/hamedfarag/WakeCap/tac/orchestrator-agent-with-adws"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "frontend-common-services",
|
|
60
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-common-services"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "frontend-helpers",
|
|
64
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-helpers"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"title": "Code Review",
|
|
4
|
+
"description": "Deep review of recent changes for bugs, style, and best practices",
|
|
5
|
+
"prompt": "Review all recently modified files in this project. Look for bugs, security issues, performance problems, and code style violations. Provide specific line-level feedback with suggested fixes."
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"title": "Explain Codebase",
|
|
9
|
+
"description": "Get a high-level overview of the project architecture",
|
|
10
|
+
"prompt": "Analyze this project's structure and give me a concise overview: what it does, the tech stack, key directories, entry points, and how the main components connect. Keep it under 300 words."
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"title": "Find Bugs",
|
|
14
|
+
"description": "Scan for potential bugs, edge cases, and error-prone patterns",
|
|
15
|
+
"prompt": "Scan this codebase for potential bugs, unhandled edge cases, race conditions, null reference risks, and error-prone patterns. Prioritize by severity and suggest fixes for each."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"title": "Write Tests",
|
|
19
|
+
"description": "Generate unit tests for untested or under-tested code",
|
|
20
|
+
"prompt": "Identify the most critical untested functions and modules in this project. Write comprehensive unit tests for them, covering happy paths, edge cases, and error scenarios. Use the project's existing test framework if one exists."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"title": "Refactor",
|
|
24
|
+
"description": "Identify code smells and suggest clean refactoring",
|
|
25
|
+
"prompt": "Find the top code smells in this project: duplicated logic, overly complex functions, deep nesting, god classes, magic numbers, and tight coupling. For each, propose a clean refactoring with before/after examples."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"title": "Security Audit",
|
|
29
|
+
"description": "Check for OWASP top 10 and common security vulnerabilities",
|
|
30
|
+
"prompt": "Perform a security audit on this codebase. Check for OWASP top 10 vulnerabilities: injection, broken auth, sensitive data exposure, XSS, insecure deserialization, and misconfigurations. Flag each issue with severity and remediation steps."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"title": "Performance Check",
|
|
34
|
+
"description": "Find bottlenecks, slow queries, and optimization opportunities",
|
|
35
|
+
"prompt": "Analyze this codebase for performance issues: N+1 queries, unnecessary re-renders, missing indexes, unoptimized loops, large bundle imports, memory leaks, and missing caching opportunities. Rank by impact and suggest fixes."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"title": "Add Types",
|
|
39
|
+
"description": "Add TypeScript types or JSDoc annotations to untyped code",
|
|
40
|
+
"prompt": "Find functions and modules lacking proper type annotations. Add TypeScript types or JSDoc comments as appropriate for this project. Focus on public APIs, function signatures, and complex data structures."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"title": "Dead Code",
|
|
44
|
+
"description": "Find and remove unused code, imports, and dependencies",
|
|
45
|
+
"prompt": "Find all dead code in this project: unused functions, unreachable branches, unused imports, unused variables, and unused dependencies in package.json. List each with its file location so I can safely remove them."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"title": "API Docs",
|
|
49
|
+
"description": "Generate API documentation from route handlers",
|
|
50
|
+
"prompt": "Find all API endpoints/routes in this project and generate documentation for each: method, path, request params/body, response shape, auth requirements, and example curl commands."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"title": "Dependency Check",
|
|
54
|
+
"description": "Audit dependencies for updates, vulnerabilities, and bloat",
|
|
55
|
+
"prompt": "Review this project's dependencies. Check for: outdated packages that need updates, known vulnerabilities, unnecessarily heavy packages with lighter alternatives, and unused dependencies that can be removed."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"title": "Error Handling",
|
|
59
|
+
"description": "Improve error handling, logging, and user-facing messages",
|
|
60
|
+
"prompt": "Review error handling across this codebase. Find: unhandled promise rejections, empty catch blocks, missing try/catch around I/O operations, unclear error messages, and missing error logging. Add proper handling where needed."
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"title": "Git Summary",
|
|
64
|
+
"description": "Summarize recent git changes and their impact",
|
|
65
|
+
"prompt": "Run git log for the last 20 commits and git diff for any uncommitted changes. Summarize: what changed, why it likely changed, any risky modifications, and suggest a commit message if there are uncommitted changes."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"title": "TODO Cleanup",
|
|
69
|
+
"description": "Find all TODOs, FIXMEs, and HACKs and resolve them",
|
|
70
|
+
"prompt": "Search for all TODO, FIXME, HACK, XXX, and WORKAROUND comments in the codebase. For each one, either implement the fix or explain why it should stay. Prioritize by importance."
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"title": "Env Setup",
|
|
74
|
+
"description": "Verify environment config, .env files, and missing variables",
|
|
75
|
+
"prompt": "Check the project's environment setup: verify .env files exist with all required variables, check that .env is gitignored, find hardcoded secrets or config values that should be environment variables, and verify the README documents all required env vars."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"title": "Quick Fix",
|
|
79
|
+
"description": "Fix linting errors and auto-fixable code style issues",
|
|
80
|
+
"prompt": "Run the project's linter (eslint, prettier, or whatever is configured) and fix all auto-fixable issues. For non-auto-fixable issues, apply the fixes manually. Show me what changed."
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"title": "Current Branch",
|
|
84
|
+
"description": "Get Current Branch",
|
|
85
|
+
"prompt": "What is the current active branch?"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"title": "Stage & Commit",
|
|
89
|
+
"description": "Move Files to stage then Commit",
|
|
90
|
+
"prompt": "check the current staged files and create a git commit with suitable message"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"groups": [
|
|
3
|
+
{
|
|
4
|
+
"id": "g_1772808718495",
|
|
5
|
+
"name": "frontend-2.0",
|
|
6
|
+
"parentId": null
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "g_1773040762896",
|
|
10
|
+
"name": "Packages",
|
|
11
|
+
"parentId": null
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"repos": [
|
|
15
|
+
{
|
|
16
|
+
"id": "r_1772810331715",
|
|
17
|
+
"name": "frontend-2.0-drones",
|
|
18
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-2.0-drones",
|
|
19
|
+
"groupId": "g_1772808718495",
|
|
20
|
+
"url": null
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "r_1772810479470",
|
|
24
|
+
"name": "frontend-2.0-equipments",
|
|
25
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-2.0-equipments",
|
|
26
|
+
"groupId": "g_1772808718495",
|
|
27
|
+
"url": null
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "r_1772810510888",
|
|
31
|
+
"name": "frontend-components",
|
|
32
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-components",
|
|
33
|
+
"groupId": "g_1773040762896",
|
|
34
|
+
"url": "https://github.com/wakecap/frontend-components"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "r_1772810597927",
|
|
38
|
+
"name": "frontend-2.0-hwm",
|
|
39
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-2.0-hwm",
|
|
40
|
+
"groupId": "g_1772808718495",
|
|
41
|
+
"url": null
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "r_1772811012777",
|
|
45
|
+
"name": "fe-microapp-templates",
|
|
46
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/fe-microapp-templates",
|
|
47
|
+
"groupId": "g_1772808718495",
|
|
48
|
+
"url": "https://github.com/wakecap/fe-microapp-templates"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "r_1772811056665",
|
|
52
|
+
"name": "frontend-2.0-siteguard",
|
|
53
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-2.0-siteguard",
|
|
54
|
+
"groupId": "g_1772808718495",
|
|
55
|
+
"url": null
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "r_1772962801720",
|
|
59
|
+
"name": "frontend-2.0",
|
|
60
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-2.0",
|
|
61
|
+
"groupId": null,
|
|
62
|
+
"url": "https://github.com/wakecap/frontend-2.0"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "r_1773040777472",
|
|
66
|
+
"name": "frontend-helpers",
|
|
67
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-helpers",
|
|
68
|
+
"groupId": "g_1773040762896",
|
|
69
|
+
"url": "https://github.com/wakecap/frontend-helpers"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "r_1773041006726",
|
|
73
|
+
"name": "frontend-2.0-training-center",
|
|
74
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-2.0-training-center",
|
|
75
|
+
"groupId": "g_1772808718495",
|
|
76
|
+
"url": null
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "r_1773046824777",
|
|
80
|
+
"name": "frontend-docs",
|
|
81
|
+
"path": "/Users/hamedfarag/WakeCap/Frontend/frontend-docs",
|
|
82
|
+
"groupId": "g_1773040762896",
|
|
83
|
+
"url": null
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"enabled": false,
|
|
3
|
+
"botToken": "",
|
|
4
|
+
"chatId": "",
|
|
5
|
+
"afkTimeoutMinutes": 15,
|
|
6
|
+
"notify": {
|
|
7
|
+
"sessionComplete": true,
|
|
8
|
+
"workflowComplete": true,
|
|
9
|
+
"chainComplete": true,
|
|
10
|
+
"agentComplete": true,
|
|
11
|
+
"orchestratorComplete": true,
|
|
12
|
+
"dagComplete": true,
|
|
13
|
+
"errors": true,
|
|
14
|
+
"permissionRequests": true,
|
|
15
|
+
"taskStart": true
|
|
16
|
+
}
|
|
17
|
+
}
|