panopticon-cli 0.4.6 → 0.4.7
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/package.json +2 -1
- package/skills/beads/README.md +120 -0
- package/skills/beads/SKILL.md +214 -0
- package/skills/beads/adr/0001-bd-prime-as-source-of-truth.md +59 -0
- package/skills/beads/resources/AGENTS.md +62 -0
- package/skills/beads/resources/ASYNC_GATES.md +168 -0
- package/skills/beads/resources/BOUNDARIES.md +469 -0
- package/skills/beads/resources/CHEMISTRY_PATTERNS.md +197 -0
- package/skills/beads/resources/CLI_REFERENCE.md +558 -0
- package/skills/beads/resources/DEPENDENCIES.md +747 -0
- package/skills/beads/resources/INTEGRATION_PATTERNS.md +407 -0
- package/skills/beads/resources/ISSUE_CREATION.md +139 -0
- package/skills/beads/resources/MOLECULES.md +354 -0
- package/skills/beads/resources/PATTERNS.md +341 -0
- package/skills/beads/resources/RESUMABILITY.md +207 -0
- package/skills/beads/resources/STATIC_DATA.md +54 -0
- package/skills/beads/resources/TROUBLESHOOTING.md +489 -0
- package/skills/beads/resources/WORKFLOWS.md +623 -0
- package/skills/beads/resources/WORKTREES.md +94 -0
- package/skills/beads-completion-check/SKILL.md +90 -0
- package/skills/beads-panopticon-guide/SKILL.md +171 -0
- package/skills/bug-fix/SKILL.md +32 -0
- package/skills/clear-writing/SKILL.md +105 -0
- package/skills/clear-writing/references/elements-of-style/01-introductory.md +3 -0
- package/skills/clear-writing/references/elements-of-style/02-elementary-rules-of-usage.md +214 -0
- package/skills/clear-writing/references/elements-of-style/03-elementary-principles-of-composition.md +398 -0
- package/skills/clear-writing/references/elements-of-style/04-a-few-matters-of-form.md +89 -0
- package/skills/clear-writing/references/elements-of-style/05-words-and-expressions-commonly-misused.md +342 -0
- package/skills/clear-writing/references/signs-of-ai-writing.md +901 -0
- package/skills/code-review/SKILL.md +37 -0
- package/skills/code-review-performance/SKILL.md +53 -0
- package/skills/code-review-security/SKILL.md +35 -0
- package/skills/dependency-update/SKILL.md +30 -0
- package/skills/feature-work/SKILL.md +39 -0
- package/skills/incident-response/SKILL.md +32 -0
- package/skills/knowledge-capture/SKILL.md +463 -0
- package/skills/onboard-codebase/SKILL.md +34 -0
- package/skills/opus-plan/SKILL.md +400 -0
- package/skills/pan-approve/SKILL.md +136 -0
- package/skills/pan-code-review/SKILL.md +249 -0
- package/skills/pan-config/SKILL.md +164 -0
- package/skills/pan-convoy-synthesis/SKILL.md +249 -0
- package/skills/pan-diagnose/SKILL.md +360 -0
- package/skills/pan-docker/SKILL.md +279 -0
- package/skills/pan-docs/SKILL.md +113 -0
- package/skills/pan-down/SKILL.md +434 -0
- package/skills/pan-health/SKILL.md +240 -0
- package/skills/pan-help/SKILL.md +237 -0
- package/skills/pan-install/SKILL.md +339 -0
- package/skills/pan-issue/SKILL.md +596 -0
- package/skills/pan-kill/SKILL.md +172 -0
- package/skills/pan-logs/SKILL.md +255 -0
- package/skills/pan-network/SKILL.md +320 -0
- package/skills/pan-oversee/SKILL.md +290 -0
- package/skills/pan-plan/SKILL.md +521 -0
- package/skills/pan-projects/SKILL.md +239 -0
- package/skills/pan-quickstart/SKILL.md +440 -0
- package/skills/pan-reload/SKILL.md +44 -0
- package/skills/pan-rescue/SKILL.md +271 -0
- package/skills/pan-restart/SKILL.md +53 -0
- package/skills/pan-setup/SKILL.md +478 -0
- package/skills/pan-skill-creator/SKILL.md +168 -0
- package/skills/pan-skill-creator/references/output-patterns.md +141 -0
- package/skills/pan-skill-creator/references/workflows.md +90 -0
- package/skills/pan-skill-creator/scripts/init_skill.py +176 -0
- package/skills/pan-status/SKILL.md +493 -0
- package/skills/pan-subagent-creator/SKILL.md +295 -0
- package/skills/pan-subagent-creator/assets/validate-readonly-query.sh +35 -0
- package/skills/pan-subagent-creator/references/example-agents.md +308 -0
- package/skills/pan-subagent-creator/scripts/init_agent.py +126 -0
- package/skills/pan-sync/SKILL.md +272 -0
- package/skills/pan-tell/SKILL.md +157 -0
- package/skills/pan-test-config/SKILL.md +208 -0
- package/skills/pan-tracker/SKILL.md +288 -0
- package/skills/pan-up/SKILL.md +458 -0
- package/skills/pan-workspace-config/SKILL.md +303 -0
- package/skills/refactor/SKILL.md +30 -0
- package/skills/refactor-radar/SKILL.md +475 -0
- package/skills/release/SKILL.md +25 -0
- package/skills/send-feedback-to-agent/SKILL.md +98 -0
- package/skills/session-health/SKILL.md +76 -0
- package/skills/session-health/scripts/check_sessions.py +166 -0
- package/skills/skill-creator/SKILL.md +92 -0
- package/skills/skill-creator/scripts/init_skill.py +152 -0
- package/skills/skill-creator/scripts/package_skill.py +123 -0
- package/skills/stitch-design-md/README.md +34 -0
- package/skills/stitch-design-md/SKILL.md +172 -0
- package/skills/stitch-design-md/examples/DESIGN.md +154 -0
- package/skills/stitch-react-components/README.md +36 -0
- package/skills/stitch-react-components/SKILL.md +47 -0
- package/skills/stitch-react-components/examples/gold-standard-card.tsx +80 -0
- package/skills/stitch-react-components/package-lock.json +231 -0
- package/skills/stitch-react-components/package.json +16 -0
- package/skills/stitch-react-components/resources/architecture-checklist.md +15 -0
- package/skills/stitch-react-components/resources/component-template.tsx +37 -0
- package/skills/stitch-react-components/resources/stitch-api-reference.md +14 -0
- package/skills/stitch-react-components/resources/style-guide.json +27 -0
- package/skills/stitch-react-components/scripts/fetch-stitch.sh +30 -0
- package/skills/stitch-react-components/scripts/validate.js +68 -0
- package/skills/stitch-setup/SKILL.md +94 -0
- package/skills/web-design-guidelines/SKILL.md +39 -0
- package/skills/work-complete/SKILL.md +79 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pan-install
|
|
3
|
+
description: Guide through installing Panopticon prerequisites
|
|
4
|
+
triggers:
|
|
5
|
+
- install panopticon
|
|
6
|
+
- setup panopticon dependencies
|
|
7
|
+
- panopticon installation
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash
|
|
10
|
+
- Read
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Panopticon Installation Guide
|
|
14
|
+
|
|
15
|
+
## Overview
|
|
16
|
+
|
|
17
|
+
This skill guides you through installing all prerequisites for Panopticon, including Node.js, Docker, tmux, and other required dependencies.
|
|
18
|
+
|
|
19
|
+
## When to Use
|
|
20
|
+
|
|
21
|
+
- First-time installation of Panopticon
|
|
22
|
+
- User reports missing dependencies
|
|
23
|
+
- Setting up Panopticon on a new machine
|
|
24
|
+
- Troubleshooting installation issues
|
|
25
|
+
|
|
26
|
+
## Prerequisites
|
|
27
|
+
|
|
28
|
+
Panopticon requires:
|
|
29
|
+
- **Node.js** v18+ (for CLI and dashboard)
|
|
30
|
+
- **Docker** and Docker Compose (for workspaces)
|
|
31
|
+
- **tmux** (for agent sessions)
|
|
32
|
+
- **Git** (for version control and workspace management)
|
|
33
|
+
- **Linear API key** (optional, for Linear integration)
|
|
34
|
+
|
|
35
|
+
## Installation Workflow
|
|
36
|
+
|
|
37
|
+
### Step 1: Check Current Status
|
|
38
|
+
|
|
39
|
+
First, check what's already installed:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pan doctor
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
This will show you which dependencies are missing or need updates.
|
|
46
|
+
|
|
47
|
+
### Step 2: Install Prerequisites
|
|
48
|
+
|
|
49
|
+
#### Automated Installation
|
|
50
|
+
|
|
51
|
+
The easiest way is to use Panopticon's built-in installer:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
pan install
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
This will:
|
|
58
|
+
- Check for missing dependencies
|
|
59
|
+
- Offer to install missing components
|
|
60
|
+
- Guide you through platform-specific setup
|
|
61
|
+
|
|
62
|
+
#### Manual Installation
|
|
63
|
+
|
|
64
|
+
If automated installation doesn't work, install manually:
|
|
65
|
+
|
|
66
|
+
**Node.js (v18+)**
|
|
67
|
+
```bash
|
|
68
|
+
# Using nvm (recommended)
|
|
69
|
+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
|
70
|
+
nvm install 18
|
|
71
|
+
nvm use 18
|
|
72
|
+
|
|
73
|
+
# Or using package manager (Ubuntu/Debian)
|
|
74
|
+
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
|
75
|
+
sudo apt-get install -y nodejs
|
|
76
|
+
|
|
77
|
+
# Or using package manager (macOS)
|
|
78
|
+
brew install node@18
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Docker**
|
|
82
|
+
```bash
|
|
83
|
+
# Ubuntu/Debian
|
|
84
|
+
sudo apt-get update
|
|
85
|
+
sudo apt-get install -y docker.io docker-compose
|
|
86
|
+
sudo usermod -aG docker $USER
|
|
87
|
+
# Log out and back in for group changes
|
|
88
|
+
|
|
89
|
+
# macOS
|
|
90
|
+
brew install --cask docker
|
|
91
|
+
# Then start Docker Desktop
|
|
92
|
+
|
|
93
|
+
# WSL2
|
|
94
|
+
# Install Docker Desktop for Windows
|
|
95
|
+
# Enable WSL2 integration in Docker Desktop settings
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**tmux**
|
|
99
|
+
```bash
|
|
100
|
+
# Ubuntu/Debian
|
|
101
|
+
sudo apt-get install -y tmux
|
|
102
|
+
|
|
103
|
+
# macOS
|
|
104
|
+
brew install tmux
|
|
105
|
+
|
|
106
|
+
# WSL2
|
|
107
|
+
sudo apt-get install -y tmux
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Git**
|
|
111
|
+
```bash
|
|
112
|
+
# Ubuntu/Debian
|
|
113
|
+
sudo apt-get install -y git
|
|
114
|
+
|
|
115
|
+
# macOS
|
|
116
|
+
brew install git
|
|
117
|
+
|
|
118
|
+
# WSL2
|
|
119
|
+
sudo apt-get install -y git
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Step 3: Install Panopticon
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
# Clone the repository (if not already done)
|
|
126
|
+
git clone https://github.com/eltmon/panopticon-cli.git
|
|
127
|
+
cd panopticon-cli
|
|
128
|
+
|
|
129
|
+
# Install dependencies
|
|
130
|
+
npm install
|
|
131
|
+
|
|
132
|
+
# Build the CLI
|
|
133
|
+
npm run build
|
|
134
|
+
|
|
135
|
+
# Install globally (optional, for `pan` command anywhere)
|
|
136
|
+
npm install -g .
|
|
137
|
+
|
|
138
|
+
# Or add to PATH
|
|
139
|
+
export PATH="$PATH:$(pwd)/node_modules/.bin"
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Step 4: Initialize Configuration
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
pan init
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
This creates `~/.panopticon.env` with default configuration.
|
|
149
|
+
|
|
150
|
+
### Step 5: Verify Installation
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
pan doctor
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Should show all green checkmarks. If not, address any remaining issues.
|
|
157
|
+
|
|
158
|
+
## Platform-Specific Notes
|
|
159
|
+
|
|
160
|
+
### Linux
|
|
161
|
+
|
|
162
|
+
- Add your user to the `docker` group: `sudo usermod -aG docker $USER`
|
|
163
|
+
- Log out and back in for group changes to take effect
|
|
164
|
+
- Install Docker Compose v2: `sudo apt-get install docker-compose-plugin`
|
|
165
|
+
|
|
166
|
+
### macOS
|
|
167
|
+
|
|
168
|
+
- Install Docker Desktop (includes Docker Compose)
|
|
169
|
+
- Ensure Docker Desktop is running before using Panopticon
|
|
170
|
+
- May need to increase Docker memory limit (Preferences → Resources)
|
|
171
|
+
|
|
172
|
+
### WSL2 (Windows)
|
|
173
|
+
|
|
174
|
+
- Install Docker Desktop for Windows (not Docker in WSL)
|
|
175
|
+
- Enable WSL2 integration in Docker Desktop settings
|
|
176
|
+
- Use WSL2 Ubuntu distribution for Panopticon
|
|
177
|
+
- Clone Panopticon inside WSL filesystem (`~/projects/`), not Windows filesystem (`/mnt/c/`)
|
|
178
|
+
|
|
179
|
+
## Troubleshooting
|
|
180
|
+
|
|
181
|
+
### `pan` command not found
|
|
182
|
+
|
|
183
|
+
**Problem:** After installation, `pan` command isn't recognized
|
|
184
|
+
|
|
185
|
+
**Solutions:**
|
|
186
|
+
```bash
|
|
187
|
+
# Option 1: Install globally
|
|
188
|
+
cd /path/to/panopticon-cli
|
|
189
|
+
npm install -g .
|
|
190
|
+
|
|
191
|
+
# Option 2: Add to PATH in ~/.bashrc or ~/.zshrc
|
|
192
|
+
export PATH="$PATH:/path/to/panopticon-cli/node_modules/.bin"
|
|
193
|
+
source ~/.bashrc # or ~/.zshrc
|
|
194
|
+
|
|
195
|
+
# Option 3: Use npx
|
|
196
|
+
npx pan --help
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Docker permission denied
|
|
200
|
+
|
|
201
|
+
**Problem:** `docker: permission denied while trying to connect to Docker daemon`
|
|
202
|
+
|
|
203
|
+
**Solutions:**
|
|
204
|
+
```bash
|
|
205
|
+
# Add user to docker group
|
|
206
|
+
sudo usermod -aG docker $USER
|
|
207
|
+
|
|
208
|
+
# Log out and back in (or restart)
|
|
209
|
+
# Verify with:
|
|
210
|
+
docker ps
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### Node.js version too old
|
|
214
|
+
|
|
215
|
+
**Problem:** `pan doctor` reports Node.js version < 18
|
|
216
|
+
|
|
217
|
+
**Solutions:**
|
|
218
|
+
```bash
|
|
219
|
+
# Using nvm (recommended)
|
|
220
|
+
nvm install 18
|
|
221
|
+
nvm use 18
|
|
222
|
+
nvm alias default 18
|
|
223
|
+
|
|
224
|
+
# Or update via package manager
|
|
225
|
+
# Ubuntu/Debian
|
|
226
|
+
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
|
227
|
+
sudo apt-get install -y nodejs
|
|
228
|
+
|
|
229
|
+
# macOS
|
|
230
|
+
brew upgrade node
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### tmux not found
|
|
234
|
+
|
|
235
|
+
**Problem:** `tmux: command not found`
|
|
236
|
+
|
|
237
|
+
**Solutions:**
|
|
238
|
+
```bash
|
|
239
|
+
# Ubuntu/Debian
|
|
240
|
+
sudo apt-get update
|
|
241
|
+
sudo apt-get install -y tmux
|
|
242
|
+
|
|
243
|
+
# macOS
|
|
244
|
+
brew install tmux
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
### Docker Compose not found
|
|
248
|
+
|
|
249
|
+
**Problem:** `docker-compose: command not found`
|
|
250
|
+
|
|
251
|
+
**Solutions:**
|
|
252
|
+
```bash
|
|
253
|
+
# Ubuntu/Debian (Docker Compose v2)
|
|
254
|
+
sudo apt-get install docker-compose-plugin
|
|
255
|
+
|
|
256
|
+
# Verify with:
|
|
257
|
+
docker compose version
|
|
258
|
+
|
|
259
|
+
# macOS (included in Docker Desktop)
|
|
260
|
+
# Just ensure Docker Desktop is installed and running
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### npm install fails
|
|
264
|
+
|
|
265
|
+
**Problem:** Errors during `npm install`
|
|
266
|
+
|
|
267
|
+
**Solutions:**
|
|
268
|
+
```bash
|
|
269
|
+
# Clear npm cache
|
|
270
|
+
npm cache clean --force
|
|
271
|
+
|
|
272
|
+
# Remove node_modules and package-lock.json
|
|
273
|
+
rm -rf node_modules package-lock.json
|
|
274
|
+
|
|
275
|
+
# Try again
|
|
276
|
+
npm install
|
|
277
|
+
|
|
278
|
+
# If still failing, check Node.js version
|
|
279
|
+
node --version # Should be v18+
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
### Dashboard won't start
|
|
283
|
+
|
|
284
|
+
**Problem:** `pan up` fails or dashboard won't load
|
|
285
|
+
|
|
286
|
+
**Solutions:**
|
|
287
|
+
```bash
|
|
288
|
+
# Check if ports 3001/3002 are in use
|
|
289
|
+
lsof -i :3001
|
|
290
|
+
lsof -i :3002
|
|
291
|
+
|
|
292
|
+
# Kill conflicting processes
|
|
293
|
+
kill -9 <PID>
|
|
294
|
+
|
|
295
|
+
# Check dashboard dependencies
|
|
296
|
+
cd src/dashboard
|
|
297
|
+
npm install
|
|
298
|
+
npm run build
|
|
299
|
+
|
|
300
|
+
# Try starting again
|
|
301
|
+
pan up
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
## Post-Installation
|
|
305
|
+
|
|
306
|
+
After successful installation:
|
|
307
|
+
|
|
308
|
+
1. **Configure Panopticon**: Use `/pan-setup` skill
|
|
309
|
+
2. **Start services**: `pan up`
|
|
310
|
+
3. **Verify health**: `pan doctor`
|
|
311
|
+
4. **Create first workspace**: Use `/pan-issue` skill
|
|
312
|
+
|
|
313
|
+
## Configuration Files
|
|
314
|
+
|
|
315
|
+
After installation, you'll have:
|
|
316
|
+
- `~/.panopticon.env` - Main configuration
|
|
317
|
+
- `~/.panopticon/skills/` - Synced skills
|
|
318
|
+
- `~/.panopticon/agents/` - Agent state
|
|
319
|
+
- `~/.panopticon/workspaces/` - Workspace metadata
|
|
320
|
+
|
|
321
|
+
## Next Steps
|
|
322
|
+
|
|
323
|
+
- Use `/pan-setup` to configure trackers and projects
|
|
324
|
+
- Use `/pan-quickstart` for guided first-time setup
|
|
325
|
+
- Run `pan up` to start the dashboard
|
|
326
|
+
- Use `/pan-help` to explore available commands
|
|
327
|
+
|
|
328
|
+
## Related Skills
|
|
329
|
+
|
|
330
|
+
- `/pan-setup` - Configuration wizard
|
|
331
|
+
- `/pan-quickstart` - Quick start guide
|
|
332
|
+
- `/pan-help` - Command overview
|
|
333
|
+
- `/pan-doctor` - System health check (coming soon)
|
|
334
|
+
|
|
335
|
+
## More Information
|
|
336
|
+
|
|
337
|
+
- Run `pan doctor` to check system health
|
|
338
|
+
- Run `pan install --help` for installation options
|
|
339
|
+
- Check the dashboard at http://localhost:3001 (after `pan up`)
|