@proletariat/cli 0.3.5 → 0.3.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/README.md CHANGED
@@ -109,19 +109,19 @@ Spawn agents to implement, groom, or review—not just write code.
109
109
  `prlt work` guides you through project and ticket selection:
110
110
 
111
111
  <p align="center">
112
- <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/apps/cli/images/work/work-project-select.png" alt="Project Selection" width="600">
112
+ <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/work/work-project-select.png" alt="Project Selection" width="600">
113
113
  </p>
114
114
 
115
115
  Choose your operation—start a single agent, batch spawn, or watch a column:
116
116
 
117
117
  <p align="center">
118
- <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/apps/cli/images/work/work-operations-menu.png" alt="Work Operations Menu" width="600">
118
+ <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/work/work-operations-menu.png" alt="Work Operations Menu" width="600">
119
119
  </p>
120
120
 
121
121
  Select tickets to spawn, grouped by priority:
122
122
 
123
123
  <p align="center">
124
- <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/apps/cli/images/work/work-ticket-select.png" alt="Ticket Selection" width="800">
124
+ <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/work/work-ticket-select.png" alt="Ticket Selection" width="800">
125
125
  </p>
126
126
 
127
127
  ---
@@ -250,7 +250,7 @@ $ prlt ticket create
250
250
  View ticket details with `prlt ticket`:
251
251
 
252
252
  <p align="center">
253
- <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/apps/cli/images/ticket/ticket-view.png" alt="Ticket View" width="600">
253
+ <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/ticket/ticket-view.png" alt="Ticket View" width="600">
254
254
  </p>
255
255
 
256
256
  #### 2. JSON Mode (AI Agents)
@@ -378,7 +378,7 @@ Each agent works in its own branch. No conflicts.
378
378
  Monitor running agents with `prlt execution`:
379
379
 
380
380
  <p align="center">
381
- <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/apps/cli/images/execution/execution-list.png" alt="Execution List" width="800">
381
+ <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/execution/execution-list.png" alt="Execution List" width="800">
382
382
  </p>
383
383
 
384
384
  ```
@@ -431,7 +431,7 @@ flowchart LR
431
431
  Agent-created PRs ready for review:
432
432
 
433
433
  <p align="center">
434
- <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/apps/cli/images/execution/github-prs.png" alt="GitHub Pull Requests" width="800">
434
+ <img src="https://raw.githubusercontent.com/chrismcdermut/proletariat-cli/main/images/execution/github-prs.png" alt="GitHub Pull Requests" width="800">
435
435
  </p>
436
436
 
437
437
  ### Command Reference
@@ -37,7 +37,7 @@ export default class Init extends Command {
37
37
  char: 'r',
38
38
  }),
39
39
  pmo: Flags.boolean({
40
- description: 'Include PMO (Project Management Office)',
40
+ description: 'Include PMO (Project Management Org)',
41
41
  default: true,
42
42
  allowNo: true,
43
43
  }),
@@ -10,7 +10,7 @@ import { styles } from '../../lib/styles.js';
10
10
  import { isGHInstalled, isGHAuthenticated, getGHUsername, isGHTokenInEnv } from '../../lib/pr/index.js';
11
11
  import { shouldOutputJson, outputPromptAsJson, createMetadata, buildPromptConfig, } from '../../lib/prompt-json.js';
12
12
  export default class PMOInit extends Command {
13
- static description = 'Initialize PMO (Project Management Office) in current directory or HQ';
13
+ static description = 'Initialize PMO (Project Management Org) in current directory or HQ';
14
14
  static examples = [
15
15
  '<%= config.bin %> <%= command.id %>',
16
16
  '<%= config.bin %> <%= command.id %> --location repo:proletariat --template founder',
@@ -121,25 +121,13 @@ RUN mkdir -p /home/node/.npm-global/bin /home/node/.npm-global/lib \\
121
121
  ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
122
122
  ENV PATH=/home/node/.npm-global/bin:\$PATH
123
123
 
124
- # Install pnpm
125
- RUN npm install -g pnpm
126
-
127
- # Install Claude Code as node user so files are owned correctly
124
+ # Install pnpm and Claude Code as node user so files are owned correctly
128
125
  USER node
129
- RUN npm install -g @anthropic-ai/claude-code
126
+ RUN npm install -g pnpm && npm install -g @anthropic-ai/claude-code
130
127
  USER root
131
128
 
132
- # Install prlt CLI from GitHub Packages
133
- # Requires GITHUB_TOKEN build arg with read:packages scope
134
- ARG GITHUB_TOKEN
135
- RUN if [ -n "\${GITHUB_TOKEN}" ]; then \\
136
- echo "//npm.pkg.github.com/:_authToken=\${GITHUB_TOKEN}" >> /home/node/.npmrc && \\
137
- echo "@chrismcdermut:registry=https://npm.pkg.github.com" >> /home/node/.npmrc && \\
138
- npm install -g @chrismcdermut/prlt && \\
139
- rm /home/node/.npmrc; \\
140
- else \\
141
- echo "GITHUB_TOKEN not provided, prlt will be mounted from host"; \\
142
- fi
129
+ # Install prlt CLI from npm
130
+ RUN npm install -g @proletariat/cli
143
131
 
144
132
  # Copy and set up scripts
145
133
  COPY init-firewall.sh /usr/local/bin/init-firewall.sh
@@ -404,7 +404,7 @@ export async function createPMO(options) {
404
404
  fs.writeFileSync(boardFilePath, boardContent);
405
405
  console.log(chalk.green(` ✓ ${boardFileName} created`));
406
406
  // Create README for PMO
407
- const readmeContent = `# PMO (Project Management Office)
407
+ const readmeContent = `# PMO (Project Management Org)
408
408
 
409
409
  ## Template: ${boardTemplate}
410
410