@proletariat/cli 0.3.15 → 0.3.17
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/README.md +6 -6
- package/dist/lib/execution/devcontainer.js +1 -1
- package/dist/lib/execution/runners.js +11 -0
- package/oclif.manifest.json +2016 -2016
- package/package.json +11 -5
package/README.md
CHANGED
|
@@ -88,19 +88,19 @@ Spawn agents to implement, groom, or review—not just write code.
|
|
|
88
88
|
`prlt work` guides you through project and ticket selection:
|
|
89
89
|
|
|
90
90
|
<p align="center">
|
|
91
|
-
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat/main/
|
|
91
|
+
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/work/work-project-select.png" alt="Project Selection" width="600">
|
|
92
92
|
</p>
|
|
93
93
|
|
|
94
94
|
Choose your operation—start a single agent, batch spawn, or watch a column:
|
|
95
95
|
|
|
96
96
|
<p align="center">
|
|
97
|
-
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat/main/
|
|
97
|
+
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/work/work-operations-menu.png" alt="Work Operations Menu" width="600">
|
|
98
98
|
</p>
|
|
99
99
|
|
|
100
100
|
Select tickets to spawn, grouped by priority:
|
|
101
101
|
|
|
102
102
|
<p align="center">
|
|
103
|
-
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat/main/
|
|
103
|
+
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/work/work-ticket-select.png" alt="Ticket Selection" width="800">
|
|
104
104
|
</p>
|
|
105
105
|
|
|
106
106
|
---
|
|
@@ -254,7 +254,7 @@ $ prlt ticket create
|
|
|
254
254
|
View ticket details with `prlt ticket`:
|
|
255
255
|
|
|
256
256
|
<p align="center">
|
|
257
|
-
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat/main/
|
|
257
|
+
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/ticket/ticket-view.png" alt="Ticket View" width="600">
|
|
258
258
|
</p>
|
|
259
259
|
|
|
260
260
|
#### 2. JSON Mode (AI Agents)
|
|
@@ -386,7 +386,7 @@ Each agent works in its own branch. No conflicts.
|
|
|
386
386
|
Monitor running agents with `prlt execution`:
|
|
387
387
|
|
|
388
388
|
<p align="center">
|
|
389
|
-
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat/main/
|
|
389
|
+
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/execution/execution-list.png" alt="Execution List" width="800">
|
|
390
390
|
</p>
|
|
391
391
|
|
|
392
392
|
```mermaid
|
|
@@ -419,7 +419,7 @@ flowchart LR
|
|
|
419
419
|
Agent-created PRs ready for review:
|
|
420
420
|
|
|
421
421
|
<p align="center">
|
|
422
|
-
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat/main/
|
|
422
|
+
<img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/execution/github-prs.png" alt="GitHub Pull Requests" width="800">
|
|
423
423
|
</p>
|
|
424
424
|
|
|
425
425
|
### Command Reference
|
|
@@ -470,7 +470,7 @@ if [ -d "/opt/prlt/apps/cli" ]; then
|
|
|
470
470
|
# Install only better-sqlite3 with correct architecture
|
|
471
471
|
cd "$PRLT_LOCAL"
|
|
472
472
|
npm init -y > /dev/null 2>&1
|
|
473
|
-
npm install better-sqlite3@
|
|
473
|
+
npm install better-sqlite3@12.6.2 --build-from-source 2>&1 || {
|
|
474
474
|
echo "Warning: better-sqlite3 rebuild failed"
|
|
475
475
|
}
|
|
476
476
|
|
|
@@ -814,6 +814,17 @@ function runContainerSetup(containerId, sandboxed = true) {
|
|
|
814
814
|
console.debug(`[runners:docker] Container setup scripts failed:`, error);
|
|
815
815
|
// Continue - setup might partially work
|
|
816
816
|
}
|
|
817
|
+
// Configure pnpm to use container-local store to prevent contention
|
|
818
|
+
// Multiple agents sharing the same pnpm store causes hangs and ERR_PNPM errors (TKT-718)
|
|
819
|
+
// Each container gets its own store at /tmp/pnpm-store for reliability
|
|
820
|
+
try {
|
|
821
|
+
execSync(`docker exec ${containerId} pnpm config set store-dir /tmp/pnpm-store`, { stdio: 'pipe' });
|
|
822
|
+
console.debug(`[runners:docker] Configured pnpm store-dir to /tmp/pnpm-store`);
|
|
823
|
+
}
|
|
824
|
+
catch (error) {
|
|
825
|
+
console.debug(`[runners:docker] Failed to configure pnpm store (pnpm may not be installed):`, error);
|
|
826
|
+
// Non-fatal - pnpm may not be installed in all containers
|
|
827
|
+
}
|
|
817
828
|
// Copy Claude settings file (.claude.json) from host to container
|
|
818
829
|
// This is needed for Claude Code to recognize settings and bypass prompts
|
|
819
830
|
// Note: Auth tokens are in the claude-credentials volume at /home/node/.claude/.credentials.json
|