@proletariat/cli 0.2.0 → 0.3.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/README.md +512 -253
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +5 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +23 -0
- package/dist/commands/action/create.d.ts +21 -0
- package/dist/commands/action/create.js +126 -0
- package/dist/commands/action/delete.d.ts +17 -0
- package/dist/commands/action/delete.js +78 -0
- package/dist/commands/action/index.d.ts +15 -0
- package/dist/commands/action/index.js +107 -0
- package/dist/commands/action/list.d.ts +14 -0
- package/dist/commands/action/list.js +89 -0
- package/dist/commands/action/run.d.ts +19 -0
- package/dist/commands/action/run.js +179 -0
- package/dist/commands/action/show.d.ts +15 -0
- package/dist/commands/action/show.js +47 -0
- package/dist/commands/action/update.d.ts +22 -0
- package/dist/commands/action/update.js +168 -0
- package/dist/commands/agent/index.d.ts +13 -0
- package/dist/commands/agent/index.js +131 -0
- package/dist/commands/agent/list.d.ts +7 -0
- package/dist/commands/agent/list.js +126 -0
- package/dist/commands/agent/login.d.ts +16 -0
- package/dist/commands/agent/login.js +146 -0
- package/dist/commands/agent/rebuild.d.ts +18 -0
- package/dist/commands/agent/rebuild.js +133 -0
- package/dist/commands/agent/restart.d.ts +17 -0
- package/dist/commands/agent/restart.js +116 -0
- package/dist/commands/agent/shell.d.ts +23 -0
- package/dist/commands/agent/shell.js +378 -0
- package/dist/commands/agent/staff/add.d.ts +15 -0
- package/dist/commands/agent/staff/add.js +281 -0
- package/dist/commands/agent/staff/index.d.ts +14 -0
- package/dist/commands/agent/staff/index.js +90 -0
- package/dist/commands/agent/staff/list.d.ts +7 -0
- package/dist/commands/agent/staff/list.js +90 -0
- package/dist/commands/agent/staff/remove.d.ts +16 -0
- package/dist/commands/agent/staff/remove.js +137 -0
- package/dist/commands/agent/status.d.ts +17 -0
- package/dist/commands/agent/status.js +139 -0
- package/dist/commands/agent/temp/cleanup.d.ts +23 -0
- package/dist/commands/agent/temp/cleanup.js +388 -0
- package/dist/commands/agent/temp/index.d.ts +14 -0
- package/dist/commands/agent/temp/index.js +82 -0
- package/dist/commands/agent/temp/list.d.ts +7 -0
- package/dist/commands/agent/temp/list.js +108 -0
- package/dist/commands/agent/themes/add-names.d.ts +10 -0
- package/dist/commands/agent/themes/add-names.js +67 -0
- package/dist/commands/agent/themes/create.d.ts +13 -0
- package/dist/commands/agent/themes/create.js +66 -0
- package/dist/commands/agent/themes/index.d.ts +9 -0
- package/dist/commands/agent/themes/index.js +194 -0
- package/dist/commands/agent/themes/list.d.ts +6 -0
- package/dist/commands/agent/themes/list.js +41 -0
- package/dist/commands/agent/themes/set.d.ts +12 -0
- package/dist/commands/agent/themes/set.js +77 -0
- package/dist/commands/agent/visit.d.ts +16 -0
- package/dist/commands/agent/visit.js +88 -0
- package/dist/commands/autocomplete/setup.d.ts +14 -0
- package/dist/commands/autocomplete/setup.js +154 -0
- package/dist/commands/board/index.d.ts +17 -0
- package/dist/commands/board/index.js +255 -0
- package/dist/commands/board/watch.d.ts +13 -0
- package/dist/commands/board/watch.js +52 -0
- package/dist/commands/branch/create.d.ts +50 -0
- package/dist/commands/branch/create.js +624 -0
- package/dist/commands/branch/index.d.ts +13 -0
- package/dist/commands/branch/index.js +50 -0
- package/dist/commands/branch/list.d.ts +17 -0
- package/dist/commands/branch/list.js +120 -0
- package/dist/commands/branch/validate.d.ts +15 -0
- package/dist/commands/branch/validate.js +73 -0
- package/dist/commands/commit.d.ts +71 -0
- package/dist/commands/commit.js +499 -0
- package/dist/commands/docker/clean.d.ts +13 -0
- package/dist/commands/docker/clean.js +224 -0
- package/dist/commands/docker/index.d.ts +19 -0
- package/dist/commands/docker/index.js +274 -0
- package/dist/commands/docker/list.d.ts +16 -0
- package/dist/commands/docker/list.js +200 -0
- package/dist/commands/docker/logs.d.ts +14 -0
- package/dist/commands/docker/logs.js +118 -0
- package/dist/commands/docker/prune.d.ts +14 -0
- package/dist/commands/docker/prune.js +211 -0
- package/dist/commands/docker/restart.d.ts +14 -0
- package/dist/commands/docker/restart.js +129 -0
- package/dist/commands/docker/shell.d.ts +14 -0
- package/dist/commands/docker/shell.js +103 -0
- package/dist/commands/docker/start.d.ts +12 -0
- package/dist/commands/docker/start.js +92 -0
- package/dist/commands/docker/status.d.ts +7 -0
- package/dist/commands/docker/status.js +40 -0
- package/dist/commands/docker/stop.d.ts +14 -0
- package/dist/commands/docker/stop.js +134 -0
- package/dist/commands/docker/sync.d.ts +15 -0
- package/dist/commands/docker/sync.js +112 -0
- package/dist/commands/epic/activate.d.ts +13 -0
- package/dist/commands/epic/activate.js +118 -0
- package/dist/commands/epic/archive.d.ts +14 -0
- package/dist/commands/epic/archive.js +132 -0
- package/dist/commands/epic/create.d.ts +15 -0
- package/dist/commands/epic/create.js +137 -0
- package/dist/commands/epic/index.d.ts +13 -0
- package/dist/commands/epic/index.js +88 -0
- package/dist/commands/epic/link/block.d.ts +14 -0
- package/dist/commands/epic/link/block.js +79 -0
- package/dist/commands/epic/link/duplicates.d.ts +14 -0
- package/dist/commands/epic/link/duplicates.js +66 -0
- package/dist/commands/epic/link/index.d.ts +19 -0
- package/dist/commands/epic/link/index.js +242 -0
- package/dist/commands/epic/link/relates.d.ts +14 -0
- package/dist/commands/epic/link/relates.js +66 -0
- package/dist/commands/epic/link/remove.d.ts +16 -0
- package/dist/commands/epic/link/remove.js +89 -0
- package/dist/commands/epic/list.d.ts +11 -0
- package/dist/commands/epic/list.js +87 -0
- package/dist/commands/epic/move.d.ts +15 -0
- package/dist/commands/epic/move.js +184 -0
- package/dist/commands/epic/progress.d.ts +16 -0
- package/dist/commands/epic/progress.js +166 -0
- package/dist/commands/epic/project.d.ts +15 -0
- package/dist/commands/epic/project.js +219 -0
- package/dist/commands/epic/reorder.d.ts +21 -0
- package/dist/commands/epic/reorder.js +160 -0
- package/dist/commands/epic/spec.d.ts +15 -0
- package/dist/commands/epic/spec.js +191 -0
- package/dist/commands/epic/ticket.d.ts +18 -0
- package/dist/commands/epic/ticket.js +291 -0
- package/dist/commands/epic/view.d.ts +13 -0
- package/dist/commands/epic/view.js +117 -0
- package/dist/commands/execution/index.d.ts +13 -0
- package/dist/commands/execution/index.js +70 -0
- package/dist/commands/execution/list.d.ts +15 -0
- package/dist/commands/execution/list.js +144 -0
- package/dist/commands/execution/logs.d.ts +18 -0
- package/dist/commands/execution/logs.js +161 -0
- package/dist/commands/execution/stop.d.ts +22 -0
- package/dist/commands/execution/stop.js +248 -0
- package/dist/commands/gh/index.d.ts +9 -0
- package/dist/commands/gh/index.js +53 -0
- package/dist/commands/gh/login.d.ts +6 -0
- package/dist/commands/gh/login.js +57 -0
- package/dist/commands/gh/status.d.ts +6 -0
- package/dist/commands/gh/status.js +48 -0
- package/dist/commands/gh/token.d.ts +6 -0
- package/dist/commands/gh/token.js +59 -0
- package/dist/commands/init.d.ts +26 -0
- package/dist/commands/init.js +200 -0
- package/dist/commands/phase/create.d.ts +22 -0
- package/dist/commands/phase/create.js +123 -0
- package/dist/commands/phase/delete.d.ts +17 -0
- package/dist/commands/phase/delete.js +73 -0
- package/dist/commands/phase/list.d.ts +12 -0
- package/dist/commands/phase/list.js +76 -0
- package/dist/commands/phase/move.d.ts +17 -0
- package/dist/commands/phase/move.js +115 -0
- package/dist/commands/phase/template/apply.d.ts +17 -0
- package/dist/commands/phase/template/apply.js +106 -0
- package/dist/commands/phase/template/create.d.ts +16 -0
- package/dist/commands/phase/template/create.js +58 -0
- package/dist/commands/phase/template/delete.d.ts +17 -0
- package/dist/commands/phase/template/delete.js +98 -0
- package/dist/commands/phase/template/index.d.ts +15 -0
- package/dist/commands/phase/template/index.js +128 -0
- package/dist/commands/phase/template/list.d.ts +16 -0
- package/dist/commands/phase/template/list.js +95 -0
- package/dist/commands/phase/template/update.d.ts +17 -0
- package/dist/commands/phase/template/update.js +89 -0
- package/dist/commands/phase/update.d.ts +23 -0
- package/dist/commands/phase/update.js +174 -0
- package/dist/commands/pmo/init.d.ts +25 -0
- package/dist/commands/pmo/init.js +341 -0
- package/dist/commands/pr/create.d.ts +17 -0
- package/dist/commands/pr/create.js +242 -0
- package/dist/commands/pr/index.d.ts +9 -0
- package/dist/commands/pr/index.js +68 -0
- package/dist/commands/pr/link.d.ts +14 -0
- package/dist/commands/pr/link.js +212 -0
- package/dist/commands/pr/status.d.ts +12 -0
- package/dist/commands/pr/status.js +161 -0
- package/dist/commands/project/archive.d.ts +17 -0
- package/dist/commands/project/archive.js +83 -0
- package/dist/commands/project/create.d.ts +22 -0
- package/dist/commands/project/create.js +143 -0
- package/dist/commands/project/delete.d.ts +17 -0
- package/dist/commands/project/delete.js +128 -0
- package/dist/commands/project/index.d.ts +13 -0
- package/dist/commands/project/index.js +64 -0
- package/dist/commands/project/list.d.ts +14 -0
- package/dist/commands/project/list.js +96 -0
- package/dist/commands/project/spec.d.ts +18 -0
- package/dist/commands/project/spec.js +216 -0
- package/dist/commands/project/unarchive.d.ts +15 -0
- package/dist/commands/project/unarchive.js +35 -0
- package/dist/commands/project/view.d.ts +16 -0
- package/dist/commands/project/view.js +94 -0
- package/dist/commands/repo/add.d.ts +21 -0
- package/dist/commands/repo/add.js +118 -0
- package/dist/commands/repo/index.d.ts +13 -0
- package/dist/commands/repo/index.js +114 -0
- package/dist/commands/repo/list.d.ts +13 -0
- package/dist/commands/repo/list.js +96 -0
- package/dist/commands/repo/remove.d.ts +23 -0
- package/dist/commands/repo/remove.js +217 -0
- package/dist/commands/repo/view.d.ts +15 -0
- package/dist/commands/repo/view.js +99 -0
- package/dist/commands/session/attach.d.ts +40 -0
- package/dist/commands/session/attach.js +307 -0
- package/dist/commands/session/index.d.ts +13 -0
- package/dist/commands/session/index.js +64 -0
- package/dist/commands/session/list.d.ts +21 -0
- package/dist/commands/session/list.js +181 -0
- package/dist/commands/spec/create.d.ts +19 -0
- package/dist/commands/spec/create.js +130 -0
- package/dist/commands/spec/index.d.ts +13 -0
- package/dist/commands/spec/index.js +68 -0
- package/dist/commands/spec/link/depends.d.ts +14 -0
- package/dist/commands/spec/link/depends.js +64 -0
- package/dist/commands/spec/link/duplicates.d.ts +14 -0
- package/dist/commands/spec/link/duplicates.js +63 -0
- package/dist/commands/spec/link/index.d.ts +19 -0
- package/dist/commands/spec/link/index.js +200 -0
- package/dist/commands/spec/link/relates.d.ts +14 -0
- package/dist/commands/spec/link/relates.js +63 -0
- package/dist/commands/spec/link/remove.d.ts +16 -0
- package/dist/commands/spec/link/remove.js +94 -0
- package/dist/commands/spec/list.d.ts +12 -0
- package/dist/commands/spec/list.js +75 -0
- package/dist/commands/spec/plan.d.ts +15 -0
- package/dist/commands/spec/plan.js +108 -0
- package/dist/commands/spec/ticket.d.ts +18 -0
- package/dist/commands/spec/ticket.js +160 -0
- package/dist/commands/spec/view.d.ts +15 -0
- package/dist/commands/spec/view.js +163 -0
- package/dist/commands/status/create.d.ts +21 -0
- package/dist/commands/status/create.js +140 -0
- package/dist/commands/status/delete.d.ts +13 -0
- package/dist/commands/status/delete.js +77 -0
- package/dist/commands/status/index.d.ts +14 -0
- package/dist/commands/status/index.js +91 -0
- package/dist/commands/status/list.d.ts +12 -0
- package/dist/commands/status/list.js +93 -0
- package/dist/commands/status/move.d.ts +14 -0
- package/dist/commands/status/move.js +120 -0
- package/dist/commands/status/update.d.ts +20 -0
- package/dist/commands/status/update.js +180 -0
- package/dist/commands/template/delete.d.ts +15 -0
- package/dist/commands/template/delete.js +142 -0
- package/dist/commands/template/index.d.ts +10 -0
- package/dist/commands/template/index.js +64 -0
- package/dist/commands/template/list.d.ts +18 -0
- package/dist/commands/template/list.js +157 -0
- package/dist/commands/template/phase/apply.d.ts +14 -0
- package/dist/commands/template/phase/apply.js +41 -0
- package/dist/commands/template/phase/create.d.ts +12 -0
- package/dist/commands/template/phase/create.js +29 -0
- package/dist/commands/template/phase/delete.d.ts +13 -0
- package/dist/commands/template/phase/delete.js +34 -0
- package/dist/commands/template/phase/index.d.ts +10 -0
- package/dist/commands/template/phase/index.js +62 -0
- package/dist/commands/template/phase/list.d.ts +11 -0
- package/dist/commands/template/phase/list.js +34 -0
- package/dist/commands/template/phase/update.d.ts +13 -0
- package/dist/commands/template/phase/update.js +35 -0
- package/dist/commands/template/ticket/apply.d.ts +17 -0
- package/dist/commands/template/ticket/apply.js +58 -0
- package/dist/commands/template/ticket/delete.d.ts +13 -0
- package/dist/commands/template/ticket/delete.js +34 -0
- package/dist/commands/template/ticket/index.d.ts +10 -0
- package/dist/commands/template/ticket/index.js +62 -0
- package/dist/commands/template/ticket/list.d.ts +11 -0
- package/dist/commands/template/ticket/list.js +34 -0
- package/dist/commands/template/ticket/save.d.ts +13 -0
- package/dist/commands/template/ticket/save.js +35 -0
- package/dist/commands/ticket/bulk.d.ts +13 -0
- package/dist/commands/ticket/bulk.js +145 -0
- package/dist/commands/ticket/complete.d.ts +16 -0
- package/dist/commands/ticket/complete.js +170 -0
- package/dist/commands/ticket/create.d.ts +22 -0
- package/dist/commands/ticket/create.js +390 -0
- package/dist/commands/ticket/delete.d.ts +16 -0
- package/dist/commands/ticket/delete.js +178 -0
- package/dist/commands/ticket/edit.d.ts +27 -0
- package/dist/commands/ticket/edit.js +322 -0
- package/dist/commands/ticket/epic.d.ts +20 -0
- package/dist/commands/ticket/epic.js +333 -0
- package/dist/commands/ticket/index.d.ts +13 -0
- package/dist/commands/ticket/index.js +103 -0
- package/dist/commands/ticket/link/block.d.ts +14 -0
- package/dist/commands/ticket/link/block.js +94 -0
- package/dist/commands/ticket/link/duplicates.d.ts +14 -0
- package/dist/commands/ticket/link/duplicates.js +93 -0
- package/dist/commands/ticket/link/index.d.ts +19 -0
- package/dist/commands/ticket/link/index.js +239 -0
- package/dist/commands/ticket/link/relates.d.ts +14 -0
- package/dist/commands/ticket/link/relates.js +93 -0
- package/dist/commands/ticket/link/remove.d.ts +16 -0
- package/dist/commands/ticket/link/remove.js +128 -0
- package/dist/commands/ticket/list.d.ts +24 -0
- package/dist/commands/ticket/list.js +431 -0
- package/dist/commands/ticket/move.d.ts +18 -0
- package/dist/commands/ticket/move.js +212 -0
- package/dist/commands/ticket/project.d.ts +18 -0
- package/dist/commands/ticket/project.js +254 -0
- package/dist/commands/ticket/reassign.d.ts +19 -0
- package/dist/commands/ticket/reassign.js +279 -0
- package/dist/commands/ticket/spec.d.ts +18 -0
- package/dist/commands/ticket/spec.js +259 -0
- package/dist/commands/ticket/status.d.ts +13 -0
- package/dist/commands/ticket/status.js +87 -0
- package/dist/commands/ticket/template/apply.d.ts +25 -0
- package/dist/commands/ticket/template/apply.js +249 -0
- package/dist/commands/ticket/template/create.d.ts +19 -0
- package/dist/commands/ticket/template/create.js +210 -0
- package/dist/commands/ticket/template/delete.d.ts +17 -0
- package/dist/commands/ticket/template/delete.js +92 -0
- package/dist/commands/ticket/template/index.d.ts +15 -0
- package/dist/commands/ticket/template/index.js +118 -0
- package/dist/commands/ticket/template/list.d.ts +16 -0
- package/dist/commands/ticket/template/list.js +110 -0
- package/dist/commands/ticket/template/save.d.ts +14 -0
- package/dist/commands/ticket/template/save.js +110 -0
- package/dist/commands/ticket/update.d.ts +18 -0
- package/dist/commands/ticket/update.js +325 -0
- package/dist/commands/ticket/view.d.ts +13 -0
- package/dist/commands/ticket/view.js +80 -0
- package/dist/commands/whoami.d.ts +9 -0
- package/dist/commands/whoami.js +103 -0
- package/dist/commands/work/complete.d.ts +13 -0
- package/dist/commands/work/complete.js +121 -0
- package/dist/commands/work/index.d.ts +13 -0
- package/dist/commands/work/index.js +70 -0
- package/dist/commands/work/ready.d.ts +24 -0
- package/dist/commands/work/ready.js +290 -0
- package/dist/commands/work/revise.d.ts +19 -0
- package/dist/commands/work/revise.js +377 -0
- package/dist/commands/work/spawn-all.d.ts +17 -0
- package/dist/commands/work/spawn-all.js +58 -0
- package/dist/commands/work/spawn.d.ts +29 -0
- package/dist/commands/work/spawn.js +728 -0
- package/dist/commands/work/start.d.ts +39 -0
- package/dist/commands/work/start.js +1393 -0
- package/dist/commands/work/watch.d.ts +31 -0
- package/dist/commands/work/watch.js +359 -0
- package/dist/commands/workflow/create.d.ts +18 -0
- package/dist/commands/workflow/create.js +119 -0
- package/dist/commands/workflow/delete.d.ts +17 -0
- package/dist/commands/workflow/delete.js +119 -0
- package/dist/commands/workflow/index.d.ts +15 -0
- package/dist/commands/workflow/index.js +75 -0
- package/dist/commands/workflow/list.d.ts +15 -0
- package/dist/commands/workflow/list.js +75 -0
- package/dist/commands/workflow/switch.d.ts +13 -0
- package/dist/commands/workflow/switch.js +117 -0
- package/dist/commands/workflow/view.d.ts +16 -0
- package/dist/commands/workflow/view.js +114 -0
- package/dist/commands/workspace/add.d.ts +12 -0
- package/dist/commands/workspace/add.js +74 -0
- package/dist/commands/workspace/list.d.ts +9 -0
- package/dist/commands/workspace/list.js +153 -0
- package/dist/commands/workspace/remove.d.ts +13 -0
- package/dist/commands/workspace/remove.js +98 -0
- package/dist/commands/workspace/use.d.ts +12 -0
- package/dist/commands/workspace/use.js +111 -0
- package/dist/hooks/init.d.ts +11 -0
- package/dist/hooks/init.js +57 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/lib/agents/commands.d.ts +189 -0
- package/dist/lib/agents/commands.js +893 -0
- package/dist/lib/agents/index.d.ts +54 -0
- package/dist/lib/agents/index.js +382 -0
- package/dist/lib/branch/index.d.ts +120 -0
- package/dist/lib/branch/index.js +334 -0
- package/dist/lib/colors.d.ts +94 -0
- package/dist/lib/colors.js +68 -0
- package/dist/lib/commands/docker-command.d.ts +21 -0
- package/dist/lib/commands/docker-command.js +27 -0
- package/dist/lib/database/index.d.ts +176 -0
- package/dist/lib/database/index.js +581 -0
- package/dist/lib/docker/resolve.d.ts +38 -0
- package/dist/lib/docker/resolve.js +175 -0
- package/dist/lib/execution/config.d.ts +150 -0
- package/dist/lib/execution/config.js +541 -0
- package/dist/lib/execution/devcontainer.d.ts +85 -0
- package/dist/lib/execution/devcontainer.js +594 -0
- package/dist/lib/execution/index.d.ts +10 -0
- package/dist/lib/execution/index.js +10 -0
- package/dist/lib/execution/runners.d.ts +53 -0
- package/dist/lib/execution/runners.js +1182 -0
- package/dist/lib/execution/spawner.d.ts +85 -0
- package/dist/lib/execution/spawner.js +548 -0
- package/dist/lib/execution/storage.d.ts +159 -0
- package/dist/lib/execution/storage.js +425 -0
- package/dist/lib/execution/types.d.ts +145 -0
- package/dist/lib/execution/types.js +157 -0
- package/dist/lib/init/index.d.ts +75 -0
- package/dist/lib/init/index.js +355 -0
- package/dist/lib/machine-config.d.ts +170 -0
- package/dist/lib/machine-config.js +386 -0
- package/dist/lib/pmo/base-command.d.ts +195 -0
- package/dist/lib/pmo/base-command.js +319 -0
- package/dist/lib/pmo/create-spec-folders.d.ts +43 -0
- package/dist/lib/pmo/create-spec-folders.js +64 -0
- package/dist/lib/pmo/epic-files.d.ts +56 -0
- package/dist/lib/pmo/epic-files.js +195 -0
- package/dist/lib/pmo/find-pmo.d.ts +14 -0
- package/dist/lib/pmo/find-pmo.js +172 -0
- package/dist/lib/pmo/index.d.ts +109 -0
- package/dist/lib/pmo/index.js +501 -0
- package/dist/lib/pmo/markdown.d.ts +31 -0
- package/dist/lib/pmo/markdown.js +245 -0
- package/dist/lib/pmo/pmo-context.d.ts +27 -0
- package/dist/lib/pmo/pmo-context.js +44 -0
- package/dist/lib/pmo/schema.d.ts +82 -0
- package/dist/lib/pmo/schema.js +531 -0
- package/dist/lib/pmo/spec-parser.d.ts +25 -0
- package/dist/lib/pmo/spec-parser.js +205 -0
- package/dist/lib/pmo/spec-types.d.ts +43 -0
- package/dist/lib/pmo/spec-types.js +7 -0
- package/dist/lib/pmo/storage/actions.d.ts +34 -0
- package/dist/lib/pmo/storage/actions.js +177 -0
- package/dist/lib/pmo/storage/base.d.ts +47 -0
- package/dist/lib/pmo/storage/base.js +858 -0
- package/dist/lib/pmo/storage/dependencies.d.ts +61 -0
- package/dist/lib/pmo/storage/dependencies.js +267 -0
- package/dist/lib/pmo/storage/epics.d.ts +46 -0
- package/dist/lib/pmo/storage/epics.js +243 -0
- package/dist/lib/pmo/storage/helpers.d.ts +33 -0
- package/dist/lib/pmo/storage/helpers.js +148 -0
- package/dist/lib/pmo/storage/index.d.ts +186 -0
- package/dist/lib/pmo/storage/index.js +689 -0
- package/dist/lib/pmo/storage/phases.d.ts +65 -0
- package/dist/lib/pmo/storage/phases.js +392 -0
- package/dist/lib/pmo/storage/projects.d.ts +79 -0
- package/dist/lib/pmo/storage/projects.js +303 -0
- package/dist/lib/pmo/storage/specs.d.ts +77 -0
- package/dist/lib/pmo/storage/specs.js +389 -0
- package/dist/lib/pmo/storage/statuses.d.ts +63 -0
- package/dist/lib/pmo/storage/statuses.js +404 -0
- package/dist/lib/pmo/storage/subtasks.d.ts +37 -0
- package/dist/lib/pmo/storage/subtasks.js +184 -0
- package/dist/lib/pmo/storage/templates.d.ts +40 -0
- package/dist/lib/pmo/storage/templates.js +210 -0
- package/dist/lib/pmo/storage/tickets.d.ts +57 -0
- package/dist/lib/pmo/storage/tickets.js +453 -0
- package/dist/lib/pmo/storage/types.d.ts +200 -0
- package/dist/lib/pmo/storage/types.js +5 -0
- package/dist/lib/pmo/storage/views.d.ts +44 -0
- package/dist/lib/pmo/storage/views.js +355 -0
- package/dist/lib/pmo/storage-sqlite.d.ts +7 -0
- package/dist/lib/pmo/storage-sqlite.js +7 -0
- package/dist/lib/pmo/sync-manager.d.ts +92 -0
- package/dist/lib/pmo/sync-manager.js +229 -0
- package/dist/lib/pmo/types.d.ts +710 -0
- package/dist/lib/pmo/types.js +108 -0
- package/dist/lib/pmo/utils.d.ts +122 -0
- package/dist/lib/pmo/utils.js +174 -0
- package/dist/lib/pmo/watcher.d.ts +43 -0
- package/dist/lib/pmo/watcher.js +208 -0
- package/dist/lib/pr/index.d.ts +150 -0
- package/dist/lib/pr/index.js +483 -0
- package/dist/lib/prompt-json.d.ts +231 -0
- package/dist/lib/prompt-json.js +213 -0
- package/dist/lib/repos/index.d.ts +81 -0
- package/dist/lib/repos/index.js +679 -0
- package/dist/lib/styles.d.ts +98 -0
- package/dist/lib/styles.js +195 -0
- package/dist/lib/themes.d.ts +128 -0
- package/dist/lib/themes.js +301 -0
- package/dist/lib/ui/BoardUI.d.ts +21 -0
- package/dist/lib/ui/BoardUI.js +85 -0
- package/dist/lib/ui/ClaimTicketUI.d.ts +17 -0
- package/dist/lib/ui/ClaimTicketUI.js +64 -0
- package/dist/lib/ui/CreateTicketUI.d.ts +13 -0
- package/dist/lib/ui/CreateTicketUI.js +101 -0
- package/dist/lib/workspace.d.ts +66 -0
- package/dist/lib/workspace.js +204 -0
- package/oclif.manifest.json +10593 -0
- package/package.json +103 -56
- package/LICENSE +0 -21
- package/dist/bin/prlt.d.ts +0 -11
- package/dist/bin/prlt.d.ts.map +0 -1
- package/dist/bin/prlt.js +0 -144
- package/dist/bin/prlt.js.map +0 -1
- package/dist/lib/config/index.d.ts +0 -14
- package/dist/lib/config/index.d.ts.map +0 -1
- package/dist/lib/config/index.js +0 -142
- package/dist/lib/config/index.js.map +0 -1
- package/dist/lib/config/upgrade.d.ts +0 -2
- package/dist/lib/config/upgrade.d.ts.map +0 -1
- package/dist/lib/config/upgrade.js +0 -248
- package/dist/lib/config/upgrade.js.map +0 -1
- package/dist/lib/themes/index.d.ts +0 -8
- package/dist/lib/themes/index.d.ts.map +0 -1
- package/dist/lib/themes/index.js +0 -80
- package/dist/lib/themes/index.js.map +0 -1
- package/dist/lib/utils/helpers.d.ts +0 -4
- package/dist/lib/utils/helpers.d.ts.map +0 -1
- package/dist/lib/utils/helpers.js +0 -39
- package/dist/lib/utils/helpers.js.map +0 -1
- package/dist/lib/utils/logger.d.ts +0 -4
- package/dist/lib/utils/logger.d.ts.map +0 -1
- package/dist/lib/utils/logger.js +0 -28
- package/dist/lib/utils/logger.js.map +0 -1
- package/dist/lib/workspace/index.d.ts +0 -13
- package/dist/lib/workspace/index.d.ts.map +0 -1
- package/dist/lib/workspace/index.js +0 -116
- package/dist/lib/workspace/index.js.map +0 -1
- package/dist/lib/worktree/index.d.ts +0 -7
- package/dist/lib/worktree/index.d.ts.map +0 -1
- package/dist/lib/worktree/index.js +0 -362
- package/dist/lib/worktree/index.js.map +0 -1
- package/dist/lib/worktree/migrate.d.ts +0 -2
- package/dist/lib/worktree/migrate.d.ts.map +0 -1
- package/dist/lib/worktree/migrate.js +0 -214
- package/dist/lib/worktree/migrate.js.map +0 -1
- package/dist/lib/worktree/repair.d.ts +0 -3
- package/dist/lib/worktree/repair.d.ts.map +0 -1
- package/dist/lib/worktree/repair.js +0 -320
- package/dist/lib/worktree/repair.js.map +0 -1
- package/dist/types/index.d.ts +0 -57
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -3
- package/dist/types/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,71 +1,118 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proletariat/cli",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"description": "Proletariat CLI v2 - Multi-agent development orchestration",
|
|
4
|
+
"version": "0.3.0",
|
|
5
|
+
"author": "Chris McDermut",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
6
9
|
"bin": {
|
|
7
|
-
"prlt": "./
|
|
10
|
+
"prlt": "./bin/run.js"
|
|
8
11
|
},
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
12
|
+
"bugs": "https://github.com/chrismcdermut/proletariat-cli/issues",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@inkjs/ui": "^2.0.0",
|
|
15
|
+
"@oclif/core": "^4",
|
|
16
|
+
"@oclif/plugin-autocomplete": "^3",
|
|
17
|
+
"@oclif/plugin-commands": "^4",
|
|
18
|
+
"@oclif/plugin-help": "^6",
|
|
19
|
+
"@oclif/plugin-plugins": "^5",
|
|
20
|
+
"better-sqlite3": "^9.2.2",
|
|
21
|
+
"chalk": "^4.1.2",
|
|
22
|
+
"chokidar": "^5.0.0",
|
|
23
|
+
"gray-matter": "^4.0.3",
|
|
24
|
+
"ink": "^5.0.1",
|
|
25
|
+
"ink-select-input": "^6.0.0",
|
|
26
|
+
"inquirer": "^8.2.5",
|
|
27
|
+
"react": "^18.0.0"
|
|
17
28
|
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@eslint/compat": "^2.0.0",
|
|
31
|
+
"@oclif/prettier-config": "^0.2.1",
|
|
32
|
+
"@oclif/test": "^4",
|
|
33
|
+
"@types/better-sqlite3": "^7.6.8",
|
|
34
|
+
"@types/chai": "^4",
|
|
35
|
+
"@types/ink-spinner": "^3.0.5",
|
|
36
|
+
"@types/inquirer": "^8.2.6",
|
|
37
|
+
"@types/jest": "^30.0.0",
|
|
38
|
+
"@types/mocha": "^10",
|
|
39
|
+
"@types/node": "^20",
|
|
40
|
+
"@types/react": "^18",
|
|
41
|
+
"chai": "^4",
|
|
42
|
+
"eslint": "^9",
|
|
43
|
+
"eslint-config-oclif": "^6.0.129",
|
|
44
|
+
"eslint-config-prettier": "^10",
|
|
45
|
+
"mocha": "^10",
|
|
46
|
+
"oclif": "^4",
|
|
47
|
+
"shx": "^0.3.3",
|
|
48
|
+
"ts-node": "^10",
|
|
49
|
+
"typescript": "^5"
|
|
50
|
+
},
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">=18.0.0"
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"./bin",
|
|
56
|
+
"./dist",
|
|
57
|
+
"./oclif.manifest.json"
|
|
58
|
+
],
|
|
59
|
+
"homepage": "https://github.com/chrismcdermut/proletariat-cli",
|
|
18
60
|
"keywords": [
|
|
61
|
+
"cli",
|
|
19
62
|
"multi-agent",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
63
|
+
"ai-agents",
|
|
64
|
+
"coding-assistant",
|
|
65
|
+
"claude",
|
|
22
66
|
"claude-code",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"distributed",
|
|
31
|
-
"themed",
|
|
32
|
-
"cli",
|
|
33
|
-
"workflow",
|
|
34
|
-
"automation"
|
|
67
|
+
"git-worktree",
|
|
68
|
+
"automation",
|
|
69
|
+
"ticket-management",
|
|
70
|
+
"project-management",
|
|
71
|
+
"tmux",
|
|
72
|
+
"docker",
|
|
73
|
+
"oclif"
|
|
35
74
|
],
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
75
|
+
"license": "Apache-2.0",
|
|
76
|
+
"main": "dist/index.js",
|
|
77
|
+
"type": "module",
|
|
78
|
+
"oclif": {
|
|
79
|
+
"bin": "prlt",
|
|
80
|
+
"dirname": "proletariat",
|
|
81
|
+
"commands": "./dist/commands",
|
|
82
|
+
"plugins": [
|
|
83
|
+
"@oclif/plugin-autocomplete",
|
|
84
|
+
"@oclif/plugin-commands",
|
|
85
|
+
"@oclif/plugin-help",
|
|
86
|
+
"@oclif/plugin-plugins"
|
|
87
|
+
],
|
|
88
|
+
"topicSeparator": " ",
|
|
89
|
+
"hooks": {
|
|
90
|
+
"init": "./dist/hooks/init"
|
|
91
|
+
}
|
|
40
92
|
},
|
|
41
|
-
"license": "MIT",
|
|
42
93
|
"repository": {
|
|
43
94
|
"type": "git",
|
|
44
|
-
"url": "
|
|
45
|
-
|
|
46
|
-
"bugs": {
|
|
47
|
-
"url": "https://github.com/chrismcdermut/proletariat-cli/issues"
|
|
48
|
-
},
|
|
49
|
-
"homepage": "https://github.com/chrismcdermut/proletariat-cli#readme",
|
|
50
|
-
"engines": {
|
|
51
|
-
"node": ">=16.0.0"
|
|
52
|
-
},
|
|
53
|
-
"dependencies": {
|
|
54
|
-
"commander": "^11.0.0",
|
|
55
|
-
"chalk": "^4.1.2",
|
|
56
|
-
"inquirer": "^8.2.5"
|
|
95
|
+
"url": "https://github.com/chrismcdermut/proletariat.git",
|
|
96
|
+
"directory": "apps/cli"
|
|
57
97
|
},
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
98
|
+
"scripts": {
|
|
99
|
+
"postinstall": "npm rebuild better-sqlite3 2>/dev/null || true",
|
|
100
|
+
"build": "shx rm -rf dist && tsc -b",
|
|
101
|
+
"clean": "shx rm -rf dist",
|
|
102
|
+
"dev": "tsc --watch",
|
|
103
|
+
"lint": "eslint",
|
|
104
|
+
"lint:all": "eslint && tsc --noEmit",
|
|
105
|
+
"lint:fix": "eslint --fix",
|
|
106
|
+
"typecheck": "tsc --noEmit",
|
|
107
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
108
|
+
"posttest": "pnpm run lint",
|
|
109
|
+
"prepack": "oclif manifest && oclif readme",
|
|
110
|
+
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
111
|
+
"test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\"",
|
|
112
|
+
"test:e2e": "mocha --forbid-only \"test/e2e/**/*.test.ts\"",
|
|
113
|
+
"test:e2e:pmo": "mocha --forbid-only \"test/e2e/pmo-*.test.ts\"",
|
|
114
|
+
"test:commands": "mocha --forbid-only \"test/commands/**/*.test.ts\"",
|
|
115
|
+
"version": "oclif readme && git add README.md"
|
|
63
116
|
},
|
|
64
|
-
"
|
|
65
|
-
"files": [
|
|
66
|
-
"dist/",
|
|
67
|
-
"README.md",
|
|
68
|
-
"LICENSE"
|
|
69
|
-
],
|
|
70
|
-
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
|
|
117
|
+
"types": "dist/index.d.ts"
|
|
71
118
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Chris McDermut
|
|
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/dist/bin/prlt.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
/**
|
|
3
|
-
* 🚩 PROLETARIAT - Simple Themed Git Worktree Manager
|
|
4
|
-
* ⚒️ Making git worktrees fun with themed agents!
|
|
5
|
-
*
|
|
6
|
-
* Billionaires: "Workers of the codebase, unite!"
|
|
7
|
-
* Cars: "Start your engines!"
|
|
8
|
-
* Companies: "Time to make some acquisitions!"
|
|
9
|
-
*/
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=prlt.d.ts.map
|
package/dist/bin/prlt.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prlt.d.ts","sourceRoot":"","sources":["../../src/bin/prlt.ts"],"names":[],"mappings":";AAEA;;;;;;;GAOG"}
|
package/dist/bin/prlt.js
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
/**
|
|
4
|
-
* 🚩 PROLETARIAT - Simple Themed Git Worktree Manager
|
|
5
|
-
* ⚒️ Making git worktrees fun with themed agents!
|
|
6
|
-
*
|
|
7
|
-
* Billionaires: "Workers of the codebase, unite!"
|
|
8
|
-
* Cars: "Start your engines!"
|
|
9
|
-
* Companies: "Time to make some acquisitions!"
|
|
10
|
-
*/
|
|
11
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
14
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
15
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
16
|
-
}
|
|
17
|
-
Object.defineProperty(o, k2, desc);
|
|
18
|
-
}) : (function(o, m, k, k2) {
|
|
19
|
-
if (k2 === undefined) k2 = k;
|
|
20
|
-
o[k2] = m[k];
|
|
21
|
-
}));
|
|
22
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
-
}) : function(o, v) {
|
|
25
|
-
o["default"] = v;
|
|
26
|
-
});
|
|
27
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
28
|
-
var ownKeys = function(o) {
|
|
29
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
30
|
-
var ar = [];
|
|
31
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
32
|
-
return ar;
|
|
33
|
-
};
|
|
34
|
-
return ownKeys(o);
|
|
35
|
-
};
|
|
36
|
-
return function (mod) {
|
|
37
|
-
if (mod && mod.__esModule) return mod;
|
|
38
|
-
var result = {};
|
|
39
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
40
|
-
__setModuleDefault(result, mod);
|
|
41
|
-
return result;
|
|
42
|
-
};
|
|
43
|
-
})();
|
|
44
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
|
-
};
|
|
47
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
const commander_1 = require("commander");
|
|
49
|
-
const chalk_1 = __importDefault(require("chalk"));
|
|
50
|
-
const fs = __importStar(require("fs"));
|
|
51
|
-
const path = __importStar(require("path"));
|
|
52
|
-
// Import modules
|
|
53
|
-
const index_js_1 = require("../lib/themes/index.js");
|
|
54
|
-
const index_js_2 = require("../lib/worktree/index.js");
|
|
55
|
-
const repair_js_1 = require("../lib/worktree/repair.js");
|
|
56
|
-
const migrate_js_1 = require("../lib/worktree/migrate.js");
|
|
57
|
-
const upgrade_js_1 = require("../lib/config/upgrade.js");
|
|
58
|
-
const helpers_js_1 = require("../lib/utils/helpers.js");
|
|
59
|
-
const logger_js_1 = require("../lib/utils/logger.js");
|
|
60
|
-
const program = new commander_1.Command();
|
|
61
|
-
// Get version from package.json dynamically
|
|
62
|
-
function getVersion() {
|
|
63
|
-
try {
|
|
64
|
-
const packageJsonPath = path.join(__dirname, '../../package.json');
|
|
65
|
-
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
|
|
66
|
-
return packageJson.version;
|
|
67
|
-
}
|
|
68
|
-
catch {
|
|
69
|
-
return '0.0.0'; // Fallback version if package.json can't be read
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
// Get themes for CLI setup
|
|
73
|
-
const THEMES = (0, index_js_1.getAllThemes)();
|
|
74
|
-
// CLI Program setup
|
|
75
|
-
program
|
|
76
|
-
.name('prlt')
|
|
77
|
-
.description('⚒️ Simple Themed Git Worktree Manager')
|
|
78
|
-
.version(getVersion());
|
|
79
|
-
program
|
|
80
|
-
.command('init')
|
|
81
|
-
.description('🚩 Initialize themed worktree management')
|
|
82
|
-
.option('-t, --theme <theme>', 'theme (billionaires, cars, companies)')
|
|
83
|
-
.option('--hq <name>', 'Create an HQ directory (e.g. your-company-hq) to hold repos and agent workspaces')
|
|
84
|
-
.option('--hq-root <path>', 'Explicit path where agent workspaces should live')
|
|
85
|
-
.action(async (options) => {
|
|
86
|
-
await (0, index_js_2.initProject)(options);
|
|
87
|
-
});
|
|
88
|
-
// Dynamic theme commands
|
|
89
|
-
Object.values(THEMES).forEach(theme => {
|
|
90
|
-
program
|
|
91
|
-
.command(`${theme.commands.create} <agents...>`)
|
|
92
|
-
.description(`${theme.emoji} Create worktrees for ${theme.name} agents`)
|
|
93
|
-
.action(async (agents) => {
|
|
94
|
-
await (0, index_js_2.createWorktrees)(agents);
|
|
95
|
-
});
|
|
96
|
-
program
|
|
97
|
-
.command(`${theme.commands.remove} <agents...>`)
|
|
98
|
-
.description(`${theme.emoji} Remove worktrees for ${theme.name} agents`)
|
|
99
|
-
.action(async (agents) => {
|
|
100
|
-
await (0, index_js_2.removeWorktrees)(agents);
|
|
101
|
-
});
|
|
102
|
-
program
|
|
103
|
-
.command(theme.commands.list)
|
|
104
|
-
.description(`${theme.emoji} Show active ${theme.name} agents`)
|
|
105
|
-
.action(() => {
|
|
106
|
-
(0, index_js_2.showStatus)();
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
program
|
|
110
|
-
.command('list')
|
|
111
|
-
.description('📋 List available agents for a theme')
|
|
112
|
-
.option('-t, --theme <theme>', 'theme to list agents for')
|
|
113
|
-
.action((options) => (0, helpers_js_1.listAgents)(options));
|
|
114
|
-
program
|
|
115
|
-
.command('themes')
|
|
116
|
-
.description('🎨 List available themes')
|
|
117
|
-
.action(() => (0, helpers_js_1.listThemes)());
|
|
118
|
-
program
|
|
119
|
-
.command('repair')
|
|
120
|
-
.description('🔧 Repair broken worktree references (e.g., after moving the repository)')
|
|
121
|
-
.action(() => (0, repair_js_1.repairWorktrees)());
|
|
122
|
-
program
|
|
123
|
-
.command('health')
|
|
124
|
-
.description('🏥 Check health of all worktrees')
|
|
125
|
-
.action(() => (0, repair_js_1.checkWorktreeHealth)());
|
|
126
|
-
program
|
|
127
|
-
.command('migrate <hq-name>')
|
|
128
|
-
.description('📦 Migrate repository into HQ folder alongside agent workspaces')
|
|
129
|
-
.action((hqName) => (0, migrate_js_1.migrateToHQ)(hqName));
|
|
130
|
-
program
|
|
131
|
-
.command('upgrade')
|
|
132
|
-
.description('⬆️ Upgrade configuration to latest format')
|
|
133
|
-
.action(() => (0, upgrade_js_1.upgradeConfig)());
|
|
134
|
-
// Parse command line arguments
|
|
135
|
-
program.parse(process.argv);
|
|
136
|
-
// Show help if no command provided
|
|
137
|
-
if (!process.argv.slice(2).length) {
|
|
138
|
-
const theme = THEMES.billionaires;
|
|
139
|
-
(0, logger_js_1.showBanner)(theme);
|
|
140
|
-
program.outputHelp();
|
|
141
|
-
console.log(chalk_1.default.yellow('\n💡 Start with: prlt init'));
|
|
142
|
-
console.log(chalk_1.default.cyan('💡 Simple themed git worktree management! ⚒️\n'));
|
|
143
|
-
}
|
|
144
|
-
//# sourceMappingURL=prlt.js.map
|
package/dist/bin/prlt.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prlt.js","sourceRoot":"","sources":["../../src/bin/prlt.ts"],"names":[],"mappings":";;AAEA;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yCAAoC;AACpC,kDAA0B;AAC1B,uCAAyB;AACzB,2CAA6B;AAE7B,iBAAiB;AACjB,qDAAsD;AACtD,uDAAqG;AACrG,yDAAiF;AACjF,2DAAy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ACjB,WAAW,CAAC,kCAAkC,CAAC;KAC/C,MAAM,CAAC,GAAG,EAAE,CAAC,IAAA,+BAAmB,GAAE,CAAC,CAAC;AAEvC,OAAO;KACJ,OAAO,CAAC,mBAAmB,CAAC;KAC5B,WAAW,CAAC,iEAAiE,CAAC;KAC9E,MAAM,CAAC,CAAC,MAAc,EAAE,EAAE,CAAC,IAAA,wBAAW,EAAC,MAAM,CAAC,CAAC,CAAC;AAEnD,OAAO;KACJ,OAAO,CAAC,SAAS,CAAC;KAClB,WAAW,CAAC,4CAA4C,CAAC;KACzD,MAAM,CAAC,GAAG,EAAE,CAAC,IAAA,0BAAa,GAAE,CAAC,CAAC;AAEjC,+BAA+B;AAC/B,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAE5B,mCAAmC;AACnC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC;IAClC,IAAA,sBAAU,EAAC,KAAK,CAAC,CAAC;IAClB,OAAO,CAAC,UAAU,EAAE,CAAC;IACrB,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC,CAAC;IACxD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAC,CAAC;AAC5E,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Theme, ProjectConfig, InitOptions, WorkspaceLayout } from '../../types/index.js';
|
|
2
|
-
export declare function getProjectRoot(): string;
|
|
3
|
-
export declare function getProjectName(): string;
|
|
4
|
-
export declare function getConfigPath(): string;
|
|
5
|
-
export interface WorkspaceResolution {
|
|
6
|
-
workspaceDir: string;
|
|
7
|
-
layout: WorkspaceLayout;
|
|
8
|
-
}
|
|
9
|
-
export declare function resolveWorkspace(theme: Theme, options?: InitOptions): WorkspaceResolution;
|
|
10
|
-
export declare function isInitialized(): boolean;
|
|
11
|
-
export declare function migrateConfigIfNeeded(): boolean;
|
|
12
|
-
export declare function loadConfig(): ProjectConfig;
|
|
13
|
-
export declare function saveConfig(configData: ProjectConfig): void;
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/config/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE1F,wBAAgB,cAAc,IAAI,MAAM,CAMvC;AAED,wBAAgB,cAAc,IAAI,MAAM,CAGvC;AAED,wBAAgB,aAAa,IAAI,MAAM,CActC;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,eAAe,CAAC;CACzB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,GAAE,WAAgB,GAAG,mBAAmB,CA+B7F;AAED,wBAAgB,aAAa,IAAI,OAAO,CAMvC;AAED,wBAAgB,qBAAqB,IAAI,OAAO,CAa/C;AAED,wBAAgB,UAAU,IAAI,aAAa,CAW1C;AAED,wBAAgB,UAAU,CAAC,UAAU,EAAE,aAAa,GAAG,IAAI,CAS1D"}
|
package/dist/lib/config/index.js
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.getProjectRoot = getProjectRoot;
|
|
37
|
-
exports.getProjectName = getProjectName;
|
|
38
|
-
exports.getConfigPath = getConfigPath;
|
|
39
|
-
exports.resolveWorkspace = resolveWorkspace;
|
|
40
|
-
exports.isInitialized = isInitialized;
|
|
41
|
-
exports.migrateConfigIfNeeded = migrateConfigIfNeeded;
|
|
42
|
-
exports.loadConfig = loadConfig;
|
|
43
|
-
exports.saveConfig = saveConfig;
|
|
44
|
-
const fs = __importStar(require("fs"));
|
|
45
|
-
const path = __importStar(require("path"));
|
|
46
|
-
const child_process_1 = require("child_process");
|
|
47
|
-
const index_js_1 = require("../themes/index.js");
|
|
48
|
-
function getProjectRoot() {
|
|
49
|
-
try {
|
|
50
|
-
return (0, child_process_1.execSync)('git rev-parse --show-toplevel', { encoding: 'utf8' }).trim();
|
|
51
|
-
}
|
|
52
|
-
catch (error) {
|
|
53
|
-
throw new Error('Not in a git repository! Proletariat requires version control.');
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
function getProjectName() {
|
|
57
|
-
const projectRoot = getProjectRoot();
|
|
58
|
-
return path.basename(projectRoot);
|
|
59
|
-
}
|
|
60
|
-
function getConfigPath() {
|
|
61
|
-
const projectRoot = getProjectRoot();
|
|
62
|
-
const newPath = path.join(projectRoot, '.proletariat', 'repo.json');
|
|
63
|
-
const oldPath = path.join(projectRoot, '.proletariat', 'config.json');
|
|
64
|
-
// Check for new repo.json first, then fall back to config.json
|
|
65
|
-
if (fs.existsSync(newPath)) {
|
|
66
|
-
return newPath;
|
|
67
|
-
}
|
|
68
|
-
else if (fs.existsSync(oldPath)) {
|
|
69
|
-
return oldPath;
|
|
70
|
-
}
|
|
71
|
-
// For new installations, use repo.json
|
|
72
|
-
return newPath;
|
|
73
|
-
}
|
|
74
|
-
function resolveWorkspace(theme, options = {}) {
|
|
75
|
-
const projectRoot = getProjectRoot();
|
|
76
|
-
const projectName = getProjectName();
|
|
77
|
-
const parentDir = path.dirname(projectRoot);
|
|
78
|
-
let mode = 'sibling';
|
|
79
|
-
let baseDir = parentDir;
|
|
80
|
-
let hqName;
|
|
81
|
-
let workspaceDir;
|
|
82
|
-
// Use HQ options
|
|
83
|
-
const hqRoot = options.hqRoot;
|
|
84
|
-
const hq = options.hq;
|
|
85
|
-
if (hqRoot) {
|
|
86
|
-
workspaceDir = path.resolve(projectRoot, hqRoot);
|
|
87
|
-
baseDir = path.dirname(workspaceDir);
|
|
88
|
-
mode = 'custom';
|
|
89
|
-
}
|
|
90
|
-
else if (hq) {
|
|
91
|
-
hqName = hq;
|
|
92
|
-
baseDir = path.join(parentDir, hqName);
|
|
93
|
-
workspaceDir = path.join(baseDir, `${projectName}-${theme.directory}`);
|
|
94
|
-
mode = 'hq';
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
workspaceDir = path.join(parentDir, `${projectName}-${theme.directory}`);
|
|
98
|
-
}
|
|
99
|
-
return {
|
|
100
|
-
workspaceDir,
|
|
101
|
-
layout: { mode, baseDir, hqName }
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
function isInitialized() {
|
|
105
|
-
const projectRoot = getProjectRoot();
|
|
106
|
-
const newPath = path.join(projectRoot, '.proletariat', 'repo.json');
|
|
107
|
-
const oldPath = path.join(projectRoot, '.proletariat', 'config.json');
|
|
108
|
-
return fs.existsSync(newPath) || fs.existsSync(oldPath);
|
|
109
|
-
}
|
|
110
|
-
function migrateConfigIfNeeded() {
|
|
111
|
-
const projectRoot = getProjectRoot();
|
|
112
|
-
const newPath = path.join(projectRoot, '.proletariat', 'repo.json');
|
|
113
|
-
const oldPath = path.join(projectRoot, '.proletariat', 'config.json');
|
|
114
|
-
// If old config exists but new doesn't, copy to new location
|
|
115
|
-
if (fs.existsSync(oldPath) && !fs.existsSync(newPath)) {
|
|
116
|
-
const config = JSON.parse(fs.readFileSync(oldPath, 'utf8'));
|
|
117
|
-
fs.writeFileSync(newPath, JSON.stringify(config, null, 2));
|
|
118
|
-
// Keep old file for now to ensure compatibility
|
|
119
|
-
return true;
|
|
120
|
-
}
|
|
121
|
-
return false;
|
|
122
|
-
}
|
|
123
|
-
function loadConfig() {
|
|
124
|
-
if (!isInitialized()) {
|
|
125
|
-
throw new Error('Proletariat not initialized! Run `prlt init` first.');
|
|
126
|
-
}
|
|
127
|
-
const configPath = getConfigPath();
|
|
128
|
-
const rawConfig = JSON.parse(fs.readFileSync(configPath, 'utf8'));
|
|
129
|
-
return {
|
|
130
|
-
...rawConfig,
|
|
131
|
-
theme: (0, index_js_1.getTheme)(rawConfig.themeName)
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
function saveConfig(configData) {
|
|
135
|
-
const configPath = getConfigPath();
|
|
136
|
-
const configDir = path.dirname(configPath);
|
|
137
|
-
if (!fs.existsSync(configDir)) {
|
|
138
|
-
fs.mkdirSync(configDir, { recursive: true });
|
|
139
|
-
}
|
|
140
|
-
fs.writeFileSync(configPath, JSON.stringify(configData, null, 2));
|
|
141
|
-
}
|
|
142
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wCAMC;AAED,wCAGC;AAED,sCAcC;AAOD,4CA+BC;AAED,sCAMC;AAED,sDAaC;AAED,gCAWC;AAED,gCASC;AAtHD,uCAAyB;AACzB,2CAA6B;AAC7B,iDAAyC;AACzC,iDAA8C;AAG9C,SAAgB,cAAc;IAC5B,IAAI,CAAC;QACH,OAAO,IAAA,wBAAQ,EAAC,+BAA+B,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAChF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CAAC,gEAAgE,CAAC,CAAC;IACpF,CAAC;AACH,CAAC;AAED,SAAgB,cAAc;IAC5B,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACpC,CAAC;AAED,SAAgB,aAAa;IAC3B,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,EAAE,WAAW,CAAC,CAAC;IACpE,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,EAAE,aAAa,CAAC,CAAC;IAEtE,+DAA+D;IAC/D,IAAI,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;Q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