@proletariat/cli 0.3.96 → 0.3.97
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/dist/commands/gc.d.ts +1 -0
- package/dist/commands/gc.js +31 -1
- package/dist/commands/gc.js.map +1 -1
- package/dist/commands/linear/connect.d.ts +5 -0
- package/dist/commands/linear/connect.js +84 -0
- package/dist/commands/linear/connect.js.map +1 -1
- package/dist/commands/session/watch.d.ts +1 -0
- package/dist/commands/session/watch.js +46 -2
- package/dist/commands/session/watch.js.map +1 -1
- package/dist/commands/work/complete.d.ts +1 -0
- package/dist/commands/work/complete.js +27 -25
- package/dist/commands/work/complete.js.map +1 -1
- package/dist/commands/work/drop.d.ts +14 -0
- package/dist/commands/work/drop.js +215 -0
- package/dist/commands/work/drop.js.map +1 -0
- package/dist/commands/work/ready.d.ts +1 -0
- package/dist/commands/work/ready.js +26 -25
- package/dist/commands/work/ready.js.map +1 -1
- package/dist/commands/work/ship.d.ts +1 -0
- package/dist/commands/work/ship.js +33 -32
- package/dist/commands/work/ship.js.map +1 -1
- package/dist/commands/work/start.d.ts +2 -0
- package/dist/commands/work/start.js +160 -42
- package/dist/commands/work/start.js.map +1 -1
- package/dist/commands/work/stop.d.ts +1 -0
- package/dist/commands/work/stop.js +40 -0
- package/dist/commands/work/stop.js.map +1 -1
- package/dist/lib/agents/commands.js +7 -5
- package/dist/lib/agents/commands.js.map +1 -1
- package/dist/lib/database/drizzle-schema.d.ts +17 -0
- package/dist/lib/database/drizzle-schema.js +1 -0
- package/dist/lib/database/drizzle-schema.js.map +1 -1
- package/dist/lib/database/migrations/0019_gc_artifact_cleanup.d.ts +9 -0
- package/dist/lib/database/migrations/0019_gc_artifact_cleanup.js +23 -0
- package/dist/lib/database/migrations/0019_gc_artifact_cleanup.js.map +1 -0
- package/dist/lib/database/migrations/0020_transition_map.d.ts +2 -0
- package/dist/lib/database/migrations/0020_transition_map.js +27 -0
- package/dist/lib/database/migrations/0020_transition_map.js.map +1 -0
- package/dist/lib/database/migrations/index.js +4 -0
- package/dist/lib/database/migrations/index.js.map +1 -1
- package/dist/lib/execution/config.d.ts +10 -0
- package/dist/lib/execution/config.js +24 -0
- package/dist/lib/execution/config.js.map +1 -1
- package/dist/lib/execution/preflight.d.ts +51 -0
- package/dist/lib/execution/preflight.js +278 -0
- package/dist/lib/execution/preflight.js.map +1 -0
- package/dist/lib/execution/runners/prompt-builder.d.ts +6 -0
- package/dist/lib/execution/runners/prompt-builder.js +38 -7
- package/dist/lib/execution/runners/prompt-builder.js.map +1 -1
- package/dist/lib/execution/session-utils.d.ts +23 -0
- package/dist/lib/execution/session-utils.js +69 -0
- package/dist/lib/execution/session-utils.js.map +1 -1
- package/dist/lib/execution/spawner.d.ts +11 -1
- package/dist/lib/execution/spawner.js +44 -16
- package/dist/lib/execution/spawner.js.map +1 -1
- package/dist/lib/execution/ticket-refs.d.ts +71 -0
- package/dist/lib/execution/ticket-refs.js +125 -0
- package/dist/lib/execution/ticket-refs.js.map +1 -0
- package/dist/lib/execution/types.d.ts +7 -2
- package/dist/lib/execution/types.js +5 -3
- package/dist/lib/execution/types.js.map +1 -1
- package/dist/lib/gc/index.d.ts +59 -6
- package/dist/lib/gc/index.js +258 -13
- package/dist/lib/gc/index.js.map +1 -1
- package/dist/lib/prompt-json.d.ts +31 -0
- package/dist/lib/prompt-json.js.map +1 -1
- package/dist/lib/providers/auto-mapper.d.ts +45 -0
- package/dist/lib/providers/auto-mapper.js +115 -0
- package/dist/lib/providers/auto-mapper.js.map +1 -0
- package/dist/lib/providers/state-intents.d.ts +20 -0
- package/dist/lib/providers/state-intents.js +61 -7
- package/dist/lib/providers/state-intents.js.map +1 -1
- package/dist/lib/providers/state-resolution.d.ts +15 -11
- package/dist/lib/providers/state-resolution.js +54 -48
- package/dist/lib/providers/state-resolution.js.map +1 -1
- package/dist/lib/providers/transition-map.d.ts +59 -0
- package/dist/lib/providers/transition-map.js +113 -0
- package/dist/lib/providers/transition-map.js.map +1 -0
- package/dist/lib/session/index.d.ts +3 -1
- package/dist/lib/session/index.js +3 -1
- package/dist/lib/session/index.js.map +1 -1
- package/dist/lib/session/tmux-watchdog.d.ts +157 -0
- package/dist/lib/session/tmux-watchdog.js +424 -0
- package/dist/lib/session/tmux-watchdog.js.map +1 -0
- package/dist/lib/session/watcher.d.ts +22 -4
- package/dist/lib/session/watcher.js +66 -8
- package/dist/lib/session/watcher.js.map +1 -1
- package/dist/lib/work-lifecycle/transition.d.ts +73 -0
- package/dist/lib/work-lifecycle/transition.js +124 -0
- package/dist/lib/work-lifecycle/transition.js.map +1 -0
- package/oclif.manifest.json +438 -332
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -265,6 +265,7 @@
|
|
|
265
265
|
"<%= config.bin %> <%= command.id %> --execute",
|
|
266
266
|
"<%= config.bin %> <%= command.id %> --stale-days 14",
|
|
267
267
|
"<%= config.bin %> <%= command.id %> --status merged",
|
|
268
|
+
"<%= config.bin %> <%= command.id %> --execute --purge-db",
|
|
268
269
|
"<%= config.bin %> <%= command.id %> --execute --json"
|
|
269
270
|
],
|
|
270
271
|
"flags": {
|
|
@@ -306,6 +307,12 @@
|
|
|
306
307
|
"stale"
|
|
307
308
|
],
|
|
308
309
|
"type": "option"
|
|
310
|
+
},
|
|
311
|
+
"purge-db": {
|
|
312
|
+
"description": "DELETE old execution records from database (default: mark as gc_cleaned only)",
|
|
313
|
+
"name": "purge-db",
|
|
314
|
+
"allowNo": false,
|
|
315
|
+
"type": "boolean"
|
|
309
316
|
}
|
|
310
317
|
},
|
|
311
318
|
"hasDynamicHelp": false,
|
|
@@ -3695,18 +3702,13 @@
|
|
|
3695
3702
|
"sync.js"
|
|
3696
3703
|
]
|
|
3697
3704
|
},
|
|
3698
|
-
"
|
|
3705
|
+
"feedback": {
|
|
3699
3706
|
"aliases": [],
|
|
3700
3707
|
"args": {},
|
|
3701
|
-
"description": "
|
|
3708
|
+
"description": "Interactive menu for feedback and issue operations",
|
|
3702
3709
|
"examples": [
|
|
3703
|
-
"<%= config.bin %>
|
|
3704
|
-
"<%= config.bin %>
|
|
3705
|
-
"<%= config.bin %> execution config --list # Show all settings",
|
|
3706
|
-
"<%= config.bin %> execution config --set defaultEnvironment host",
|
|
3707
|
-
"<%= config.bin %> execution config --set outputMode interactive",
|
|
3708
|
-
"<%= config.bin %> execution config --set permissionMode safe",
|
|
3709
|
-
"<%= config.bin %> execution config --setting outputMode --json # Show output mode choices"
|
|
3710
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3711
|
+
"<%= config.bin %> <%= command.id %> --action submit"
|
|
3710
3712
|
],
|
|
3711
3713
|
"flags": {
|
|
3712
3714
|
"json": {
|
|
@@ -3722,53 +3724,45 @@
|
|
|
3722
3724
|
"allowNo": false,
|
|
3723
3725
|
"type": "boolean"
|
|
3724
3726
|
},
|
|
3725
|
-
"
|
|
3726
|
-
"char": "
|
|
3727
|
-
"description": "
|
|
3728
|
-
"name": "
|
|
3729
|
-
"hasDynamicHelp": false,
|
|
3730
|
-
"multiple": true,
|
|
3731
|
-
"type": "option"
|
|
3732
|
-
},
|
|
3733
|
-
"list": {
|
|
3734
|
-
"char": "l",
|
|
3735
|
-
"description": "List all configuration values",
|
|
3736
|
-
"name": "list",
|
|
3737
|
-
"allowNo": false,
|
|
3738
|
-
"type": "boolean"
|
|
3739
|
-
},
|
|
3740
|
-
"setting": {
|
|
3741
|
-
"description": "Navigate to a specific setting prompt (for agent navigation)",
|
|
3742
|
-
"name": "setting",
|
|
3727
|
+
"action": {
|
|
3728
|
+
"char": "a",
|
|
3729
|
+
"description": "Action to perform (submit, list, view)",
|
|
3730
|
+
"name": "action",
|
|
3743
3731
|
"hasDynamicHelp": false,
|
|
3744
3732
|
"multiple": false,
|
|
3733
|
+
"options": [
|
|
3734
|
+
"submit",
|
|
3735
|
+
"list",
|
|
3736
|
+
"view"
|
|
3737
|
+
],
|
|
3745
3738
|
"type": "option"
|
|
3746
3739
|
}
|
|
3747
3740
|
},
|
|
3748
3741
|
"hasDynamicHelp": false,
|
|
3749
3742
|
"hiddenAliases": [],
|
|
3750
|
-
"id": "
|
|
3743
|
+
"id": "feedback",
|
|
3751
3744
|
"pluginAlias": "@proletariat/cli",
|
|
3752
3745
|
"pluginName": "@proletariat/cli",
|
|
3753
3746
|
"pluginType": "core",
|
|
3754
3747
|
"strict": true,
|
|
3748
|
+
"enableJsonFlag": false,
|
|
3755
3749
|
"isESM": true,
|
|
3756
3750
|
"relativePath": [
|
|
3757
3751
|
"dist",
|
|
3758
3752
|
"commands",
|
|
3759
|
-
"
|
|
3760
|
-
"
|
|
3753
|
+
"feedback",
|
|
3754
|
+
"index.js"
|
|
3761
3755
|
]
|
|
3762
3756
|
},
|
|
3763
|
-
"
|
|
3757
|
+
"feedback:list": {
|
|
3764
3758
|
"aliases": [],
|
|
3765
3759
|
"args": {},
|
|
3766
|
-
"description": "
|
|
3760
|
+
"description": "List recent feedback issues from the repository",
|
|
3767
3761
|
"examples": [
|
|
3768
3762
|
"<%= config.bin %> <%= command.id %>",
|
|
3769
|
-
"<%= config.bin %> <%= command.id %>
|
|
3770
|
-
"<%= config.bin %> <%= command.id %>
|
|
3771
|
-
"<%= config.bin %> <%= command.id %>
|
|
3763
|
+
"<%= config.bin %> <%= command.id %> --category bug",
|
|
3764
|
+
"<%= config.bin %> <%= command.id %> --state closed --limit 10",
|
|
3765
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
3772
3766
|
],
|
|
3773
3767
|
"flags": {
|
|
3774
3768
|
"json": {
|
|
@@ -3783,32 +3777,68 @@
|
|
|
3783
3777
|
"name": "machine",
|
|
3784
3778
|
"allowNo": false,
|
|
3785
3779
|
"type": "boolean"
|
|
3780
|
+
},
|
|
3781
|
+
"category": {
|
|
3782
|
+
"char": "c",
|
|
3783
|
+
"description": "Filter by category (bug, feature, general)",
|
|
3784
|
+
"name": "category",
|
|
3785
|
+
"hasDynamicHelp": false,
|
|
3786
|
+
"multiple": false,
|
|
3787
|
+
"options": [
|
|
3788
|
+
"bug",
|
|
3789
|
+
"feature",
|
|
3790
|
+
"general"
|
|
3791
|
+
],
|
|
3792
|
+
"type": "option"
|
|
3793
|
+
},
|
|
3794
|
+
"state": {
|
|
3795
|
+
"char": "s",
|
|
3796
|
+
"description": "Filter by state",
|
|
3797
|
+
"name": "state",
|
|
3798
|
+
"default": "open",
|
|
3799
|
+
"hasDynamicHelp": false,
|
|
3800
|
+
"multiple": false,
|
|
3801
|
+
"options": [
|
|
3802
|
+
"open",
|
|
3803
|
+
"closed",
|
|
3804
|
+
"all"
|
|
3805
|
+
],
|
|
3806
|
+
"type": "option"
|
|
3807
|
+
},
|
|
3808
|
+
"limit": {
|
|
3809
|
+
"char": "l",
|
|
3810
|
+
"description": "Maximum number of issues to show",
|
|
3811
|
+
"name": "limit",
|
|
3812
|
+
"default": 20,
|
|
3813
|
+
"hasDynamicHelp": false,
|
|
3814
|
+
"multiple": false,
|
|
3815
|
+
"type": "option"
|
|
3786
3816
|
}
|
|
3787
3817
|
},
|
|
3788
3818
|
"hasDynamicHelp": false,
|
|
3789
3819
|
"hiddenAliases": [],
|
|
3790
|
-
"id": "
|
|
3820
|
+
"id": "feedback:list",
|
|
3791
3821
|
"pluginAlias": "@proletariat/cli",
|
|
3792
3822
|
"pluginName": "@proletariat/cli",
|
|
3793
3823
|
"pluginType": "core",
|
|
3794
3824
|
"strict": true,
|
|
3825
|
+
"enableJsonFlag": false,
|
|
3795
3826
|
"isESM": true,
|
|
3796
3827
|
"relativePath": [
|
|
3797
3828
|
"dist",
|
|
3798
3829
|
"commands",
|
|
3799
|
-
"
|
|
3800
|
-
"
|
|
3830
|
+
"feedback",
|
|
3831
|
+
"list.js"
|
|
3801
3832
|
]
|
|
3802
3833
|
},
|
|
3803
|
-
"
|
|
3834
|
+
"feedback:submit": {
|
|
3804
3835
|
"aliases": [],
|
|
3805
3836
|
"args": {},
|
|
3806
|
-
"description": "
|
|
3837
|
+
"description": "Submit feedback, bug reports, or feature requests to GitHub Issues",
|
|
3807
3838
|
"examples": [
|
|
3808
3839
|
"<%= config.bin %> <%= command.id %>",
|
|
3809
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3810
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3811
|
-
"<%= config.bin %> <%= command.id %> --limit 50"
|
|
3840
|
+
"<%= config.bin %> <%= command.id %> --title \"Bug in CLI\" --body \"Description here\" --category bug",
|
|
3841
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
3812
3842
|
],
|
|
3813
3843
|
"flags": {
|
|
3814
3844
|
"json": {
|
|
@@ -3824,42 +3854,39 @@
|
|
|
3824
3854
|
"allowNo": false,
|
|
3825
3855
|
"type": "boolean"
|
|
3826
3856
|
},
|
|
3827
|
-
"
|
|
3828
|
-
"char": "
|
|
3829
|
-
"description": "
|
|
3830
|
-
"name": "
|
|
3857
|
+
"title": {
|
|
3858
|
+
"char": "t",
|
|
3859
|
+
"description": "Issue title (one-liner) [required for non-interactive]",
|
|
3860
|
+
"name": "title",
|
|
3831
3861
|
"hasDynamicHelp": false,
|
|
3832
3862
|
"multiple": false,
|
|
3833
|
-
"options": [
|
|
3834
|
-
"starting",
|
|
3835
|
-
"running",
|
|
3836
|
-
"completed",
|
|
3837
|
-
"failed",
|
|
3838
|
-
"stopped"
|
|
3839
|
-
],
|
|
3840
3863
|
"type": "option"
|
|
3841
3864
|
},
|
|
3842
|
-
"
|
|
3843
|
-
"char": "
|
|
3844
|
-
"description": "
|
|
3845
|
-
"name": "
|
|
3865
|
+
"body": {
|
|
3866
|
+
"char": "b",
|
|
3867
|
+
"description": "Issue description [required for non-interactive]",
|
|
3868
|
+
"name": "body",
|
|
3846
3869
|
"hasDynamicHelp": false,
|
|
3847
3870
|
"multiple": false,
|
|
3848
3871
|
"type": "option"
|
|
3849
3872
|
},
|
|
3850
|
-
"
|
|
3851
|
-
"char": "
|
|
3852
|
-
"description": "
|
|
3853
|
-
"name": "
|
|
3854
|
-
"default": 20,
|
|
3873
|
+
"category": {
|
|
3874
|
+
"char": "c",
|
|
3875
|
+
"description": "Feedback category",
|
|
3876
|
+
"name": "category",
|
|
3855
3877
|
"hasDynamicHelp": false,
|
|
3856
3878
|
"multiple": false,
|
|
3879
|
+
"options": [
|
|
3880
|
+
"bug",
|
|
3881
|
+
"feature",
|
|
3882
|
+
"general"
|
|
3883
|
+
],
|
|
3857
3884
|
"type": "option"
|
|
3858
3885
|
}
|
|
3859
3886
|
},
|
|
3860
3887
|
"hasDynamicHelp": false,
|
|
3861
3888
|
"hiddenAliases": [],
|
|
3862
|
-
"id": "
|
|
3889
|
+
"id": "feedback:submit",
|
|
3863
3890
|
"pluginAlias": "@proletariat/cli",
|
|
3864
3891
|
"pluginName": "@proletariat/cli",
|
|
3865
3892
|
"pluginType": "core",
|
|
@@ -3868,25 +3895,23 @@
|
|
|
3868
3895
|
"relativePath": [
|
|
3869
3896
|
"dist",
|
|
3870
3897
|
"commands",
|
|
3871
|
-
"
|
|
3872
|
-
"
|
|
3898
|
+
"feedback",
|
|
3899
|
+
"submit.js"
|
|
3873
3900
|
]
|
|
3874
3901
|
},
|
|
3875
|
-
"
|
|
3902
|
+
"feedback:view": {
|
|
3876
3903
|
"aliases": [],
|
|
3877
3904
|
"args": {
|
|
3878
|
-
"
|
|
3879
|
-
"description": "
|
|
3880
|
-
"name": "
|
|
3881
|
-
"required":
|
|
3905
|
+
"number": {
|
|
3906
|
+
"description": "Issue number to view",
|
|
3907
|
+
"name": "number",
|
|
3908
|
+
"required": true
|
|
3882
3909
|
}
|
|
3883
3910
|
},
|
|
3884
|
-
"description": "View
|
|
3911
|
+
"description": "View details of a specific feedback issue",
|
|
3885
3912
|
"examples": [
|
|
3886
|
-
"<%= config.bin %> <%= command.id %>
|
|
3887
|
-
"<%= config.bin %> <%= command.id %>
|
|
3888
|
-
"<%= config.bin %> <%= command.id %> WORK-001 --tail 50",
|
|
3889
|
-
"<%= config.bin %> <%= command.id %> # Interactive mode"
|
|
3913
|
+
"<%= config.bin %> <%= command.id %> 123",
|
|
3914
|
+
"<%= config.bin %> <%= command.id %> 123 --json"
|
|
3890
3915
|
],
|
|
3891
3916
|
"flags": {
|
|
3892
3917
|
"json": {
|
|
@@ -3901,55 +3926,36 @@
|
|
|
3901
3926
|
"name": "machine",
|
|
3902
3927
|
"allowNo": false,
|
|
3903
3928
|
"type": "boolean"
|
|
3904
|
-
},
|
|
3905
|
-
"follow": {
|
|
3906
|
-
"char": "f",
|
|
3907
|
-
"description": "Stream logs in real-time",
|
|
3908
|
-
"name": "follow",
|
|
3909
|
-
"allowNo": false,
|
|
3910
|
-
"type": "boolean"
|
|
3911
|
-
},
|
|
3912
|
-
"tail": {
|
|
3913
|
-
"char": "n",
|
|
3914
|
-
"description": "Show last n lines",
|
|
3915
|
-
"name": "tail",
|
|
3916
|
-
"hasDynamicHelp": false,
|
|
3917
|
-
"multiple": false,
|
|
3918
|
-
"type": "option"
|
|
3919
3929
|
}
|
|
3920
3930
|
},
|
|
3921
3931
|
"hasDynamicHelp": false,
|
|
3922
3932
|
"hiddenAliases": [],
|
|
3923
|
-
"id": "
|
|
3933
|
+
"id": "feedback:view",
|
|
3924
3934
|
"pluginAlias": "@proletariat/cli",
|
|
3925
3935
|
"pluginName": "@proletariat/cli",
|
|
3926
3936
|
"pluginType": "core",
|
|
3927
3937
|
"strict": true,
|
|
3938
|
+
"enableJsonFlag": false,
|
|
3928
3939
|
"isESM": true,
|
|
3929
3940
|
"relativePath": [
|
|
3930
3941
|
"dist",
|
|
3931
3942
|
"commands",
|
|
3932
|
-
"
|
|
3933
|
-
"
|
|
3943
|
+
"feedback",
|
|
3944
|
+
"view.js"
|
|
3934
3945
|
]
|
|
3935
3946
|
},
|
|
3936
|
-
"execution:
|
|
3947
|
+
"execution:config": {
|
|
3937
3948
|
"aliases": [],
|
|
3938
|
-
"args": {
|
|
3939
|
-
|
|
3940
|
-
"description": "Execution ID - prompts if not provided (ignored if --all or --agent used)",
|
|
3941
|
-
"name": "id",
|
|
3942
|
-
"required": false
|
|
3943
|
-
}
|
|
3944
|
-
},
|
|
3945
|
-
"description": "Stop running execution(s)",
|
|
3949
|
+
"args": {},
|
|
3950
|
+
"description": "View and update execution preferences",
|
|
3946
3951
|
"examples": [
|
|
3947
|
-
"<%= config.bin %>
|
|
3948
|
-
"<%= config.bin %>
|
|
3949
|
-
"<%= config.bin %>
|
|
3950
|
-
"<%= config.bin %>
|
|
3951
|
-
"<%= config.bin %>
|
|
3952
|
-
"<%= config.bin %>
|
|
3952
|
+
"<%= config.bin %> execution config # Interactive menu",
|
|
3953
|
+
"<%= config.bin %> execution config --json # Output current config as JSON",
|
|
3954
|
+
"<%= config.bin %> execution config --list # Show all settings",
|
|
3955
|
+
"<%= config.bin %> execution config --set defaultEnvironment host",
|
|
3956
|
+
"<%= config.bin %> execution config --set outputMode interactive",
|
|
3957
|
+
"<%= config.bin %> execution config --set permissionMode safe",
|
|
3958
|
+
"<%= config.bin %> execution config --setting outputMode --json # Show output mode choices"
|
|
3953
3959
|
],
|
|
3954
3960
|
"flags": {
|
|
3955
3961
|
"json": {
|
|
@@ -3965,23 +3971,24 @@
|
|
|
3965
3971
|
"allowNo": false,
|
|
3966
3972
|
"type": "boolean"
|
|
3967
3973
|
},
|
|
3968
|
-
"
|
|
3969
|
-
"char": "
|
|
3970
|
-
"description": "
|
|
3971
|
-
"name": "
|
|
3972
|
-
"
|
|
3973
|
-
"
|
|
3974
|
+
"set": {
|
|
3975
|
+
"char": "s",
|
|
3976
|
+
"description": "Set a config value (format: key value)",
|
|
3977
|
+
"name": "set",
|
|
3978
|
+
"hasDynamicHelp": false,
|
|
3979
|
+
"multiple": true,
|
|
3980
|
+
"type": "option"
|
|
3974
3981
|
},
|
|
3975
|
-
"
|
|
3976
|
-
"
|
|
3977
|
-
"
|
|
3982
|
+
"list": {
|
|
3983
|
+
"char": "l",
|
|
3984
|
+
"description": "List all configuration values",
|
|
3985
|
+
"name": "list",
|
|
3978
3986
|
"allowNo": false,
|
|
3979
3987
|
"type": "boolean"
|
|
3980
3988
|
},
|
|
3981
|
-
"
|
|
3982
|
-
"
|
|
3983
|
-
"
|
|
3984
|
-
"name": "agent",
|
|
3989
|
+
"setting": {
|
|
3990
|
+
"description": "Navigate to a specific setting prompt (for agent navigation)",
|
|
3991
|
+
"name": "setting",
|
|
3985
3992
|
"hasDynamicHelp": false,
|
|
3986
3993
|
"multiple": false,
|
|
3987
3994
|
"type": "option"
|
|
@@ -3989,7 +3996,7 @@
|
|
|
3989
3996
|
},
|
|
3990
3997
|
"hasDynamicHelp": false,
|
|
3991
3998
|
"hiddenAliases": [],
|
|
3992
|
-
"id": "execution:
|
|
3999
|
+
"id": "execution:config",
|
|
3993
4000
|
"pluginAlias": "@proletariat/cli",
|
|
3994
4001
|
"pluginName": "@proletariat/cli",
|
|
3995
4002
|
"pluginType": "core",
|
|
@@ -3999,22 +4006,18 @@
|
|
|
3999
4006
|
"dist",
|
|
4000
4007
|
"commands",
|
|
4001
4008
|
"execution",
|
|
4002
|
-
"
|
|
4009
|
+
"config.js"
|
|
4003
4010
|
]
|
|
4004
4011
|
},
|
|
4005
|
-
"execution
|
|
4012
|
+
"execution": {
|
|
4006
4013
|
"aliases": [],
|
|
4007
|
-
"args": {
|
|
4008
|
-
|
|
4009
|
-
"description": "Execution ID - prompts if not provided",
|
|
4010
|
-
"name": "id",
|
|
4011
|
-
"required": false
|
|
4012
|
-
}
|
|
4013
|
-
},
|
|
4014
|
-
"description": "View details of a specific execution",
|
|
4014
|
+
"args": {},
|
|
4015
|
+
"description": "Single execution operations (view, logs, stop)",
|
|
4015
4016
|
"examples": [
|
|
4016
|
-
"<%= config.bin %> <%= command.id %>
|
|
4017
|
-
"<%= config.bin %> <%= command.id %>
|
|
4017
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4018
|
+
"<%= config.bin %> <%= command.id %> view WORK-001",
|
|
4019
|
+
"<%= config.bin %> <%= command.id %> logs WORK-001",
|
|
4020
|
+
"<%= config.bin %> <%= command.id %> stop WORK-001"
|
|
4018
4021
|
],
|
|
4019
4022
|
"flags": {
|
|
4020
4023
|
"json": {
|
|
@@ -4033,7 +4036,7 @@
|
|
|
4033
4036
|
},
|
|
4034
4037
|
"hasDynamicHelp": false,
|
|
4035
4038
|
"hiddenAliases": [],
|
|
4036
|
-
"id": "execution
|
|
4039
|
+
"id": "execution",
|
|
4037
4040
|
"pluginAlias": "@proletariat/cli",
|
|
4038
4041
|
"pluginName": "@proletariat/cli",
|
|
4039
4042
|
"pluginType": "core",
|
|
@@ -4043,16 +4046,18 @@
|
|
|
4043
4046
|
"dist",
|
|
4044
4047
|
"commands",
|
|
4045
4048
|
"execution",
|
|
4046
|
-
"
|
|
4049
|
+
"index.js"
|
|
4047
4050
|
]
|
|
4048
4051
|
},
|
|
4049
|
-
"
|
|
4052
|
+
"execution:list": {
|
|
4050
4053
|
"aliases": [],
|
|
4051
4054
|
"args": {},
|
|
4052
|
-
"description": "
|
|
4055
|
+
"description": "List running and recent executions",
|
|
4053
4056
|
"examples": [
|
|
4054
4057
|
"<%= config.bin %> <%= command.id %>",
|
|
4055
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4058
|
+
"<%= config.bin %> <%= command.id %> --status running",
|
|
4059
|
+
"<%= config.bin %> <%= command.id %> --agent alice",
|
|
4060
|
+
"<%= config.bin %> <%= command.id %> --limit 50"
|
|
4056
4061
|
],
|
|
4057
4062
|
"flags": {
|
|
4058
4063
|
"json": {
|
|
@@ -4068,45 +4073,69 @@
|
|
|
4068
4073
|
"allowNo": false,
|
|
4069
4074
|
"type": "boolean"
|
|
4070
4075
|
},
|
|
4071
|
-
"
|
|
4072
|
-
"char": "
|
|
4073
|
-
"description": "
|
|
4074
|
-
"name": "
|
|
4076
|
+
"status": {
|
|
4077
|
+
"char": "s",
|
|
4078
|
+
"description": "Filter by status",
|
|
4079
|
+
"name": "status",
|
|
4075
4080
|
"hasDynamicHelp": false,
|
|
4076
4081
|
"multiple": false,
|
|
4077
4082
|
"options": [
|
|
4078
|
-
"
|
|
4079
|
-
"
|
|
4080
|
-
"
|
|
4083
|
+
"starting",
|
|
4084
|
+
"running",
|
|
4085
|
+
"completed",
|
|
4086
|
+
"failed",
|
|
4087
|
+
"stopped"
|
|
4081
4088
|
],
|
|
4082
4089
|
"type": "option"
|
|
4090
|
+
},
|
|
4091
|
+
"agent": {
|
|
4092
|
+
"char": "a",
|
|
4093
|
+
"description": "Filter by agent name",
|
|
4094
|
+
"name": "agent",
|
|
4095
|
+
"hasDynamicHelp": false,
|
|
4096
|
+
"multiple": false,
|
|
4097
|
+
"type": "option"
|
|
4098
|
+
},
|
|
4099
|
+
"limit": {
|
|
4100
|
+
"char": "l",
|
|
4101
|
+
"description": "Number of results",
|
|
4102
|
+
"name": "limit",
|
|
4103
|
+
"default": 20,
|
|
4104
|
+
"hasDynamicHelp": false,
|
|
4105
|
+
"multiple": false,
|
|
4106
|
+
"type": "option"
|
|
4083
4107
|
}
|
|
4084
4108
|
},
|
|
4085
4109
|
"hasDynamicHelp": false,
|
|
4086
4110
|
"hiddenAliases": [],
|
|
4087
|
-
"id": "
|
|
4111
|
+
"id": "execution:list",
|
|
4088
4112
|
"pluginAlias": "@proletariat/cli",
|
|
4089
4113
|
"pluginName": "@proletariat/cli",
|
|
4090
4114
|
"pluginType": "core",
|
|
4091
4115
|
"strict": true,
|
|
4092
|
-
"enableJsonFlag": false,
|
|
4093
4116
|
"isESM": true,
|
|
4094
4117
|
"relativePath": [
|
|
4095
4118
|
"dist",
|
|
4096
4119
|
"commands",
|
|
4097
|
-
"
|
|
4098
|
-
"
|
|
4120
|
+
"execution",
|
|
4121
|
+
"list.js"
|
|
4099
4122
|
]
|
|
4100
4123
|
},
|
|
4101
|
-
"
|
|
4124
|
+
"execution:logs": {
|
|
4102
4125
|
"aliases": [],
|
|
4103
|
-
"args": {
|
|
4104
|
-
|
|
4126
|
+
"args": {
|
|
4127
|
+
"id": {
|
|
4128
|
+
"description": "Execution ID - prompts if not provided",
|
|
4129
|
+
"name": "id",
|
|
4130
|
+
"required": false
|
|
4131
|
+
}
|
|
4132
|
+
},
|
|
4133
|
+
"description": "View execution logs",
|
|
4105
4134
|
"examples": [
|
|
4106
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4107
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4108
|
-
"<%= config.bin %> <%= command.id %>
|
|
4109
|
-
"<%= config.bin %> <%= command.id %>
|
|
4135
|
+
"<%= config.bin %> <%= command.id %> WORK-001",
|
|
4136
|
+
"<%= config.bin %> <%= command.id %> WORK-001 --follow",
|
|
4137
|
+
"<%= config.bin %> <%= command.id %> WORK-001 --tail 50",
|
|
4138
|
+
"<%= config.bin %> <%= command.id %> # Interactive mode"
|
|
4110
4139
|
],
|
|
4111
4140
|
"flags": {
|
|
4112
4141
|
"json": {
|
|
@@ -4122,38 +4151,17 @@
|
|
|
4122
4151
|
"allowNo": false,
|
|
4123
4152
|
"type": "boolean"
|
|
4124
4153
|
},
|
|
4125
|
-
"
|
|
4126
|
-
"char": "
|
|
4127
|
-
"description": "
|
|
4128
|
-
"name": "
|
|
4129
|
-
"
|
|
4130
|
-
"
|
|
4131
|
-
"options": [
|
|
4132
|
-
"bug",
|
|
4133
|
-
"feature",
|
|
4134
|
-
"general"
|
|
4135
|
-
],
|
|
4136
|
-
"type": "option"
|
|
4137
|
-
},
|
|
4138
|
-
"state": {
|
|
4139
|
-
"char": "s",
|
|
4140
|
-
"description": "Filter by state",
|
|
4141
|
-
"name": "state",
|
|
4142
|
-
"default": "open",
|
|
4143
|
-
"hasDynamicHelp": false,
|
|
4144
|
-
"multiple": false,
|
|
4145
|
-
"options": [
|
|
4146
|
-
"open",
|
|
4147
|
-
"closed",
|
|
4148
|
-
"all"
|
|
4149
|
-
],
|
|
4150
|
-
"type": "option"
|
|
4154
|
+
"follow": {
|
|
4155
|
+
"char": "f",
|
|
4156
|
+
"description": "Stream logs in real-time",
|
|
4157
|
+
"name": "follow",
|
|
4158
|
+
"allowNo": false,
|
|
4159
|
+
"type": "boolean"
|
|
4151
4160
|
},
|
|
4152
|
-
"
|
|
4153
|
-
"char": "
|
|
4154
|
-
"description": "
|
|
4155
|
-
"name": "
|
|
4156
|
-
"default": 20,
|
|
4161
|
+
"tail": {
|
|
4162
|
+
"char": "n",
|
|
4163
|
+
"description": "Show last n lines",
|
|
4164
|
+
"name": "tail",
|
|
4157
4165
|
"hasDynamicHelp": false,
|
|
4158
4166
|
"multiple": false,
|
|
4159
4167
|
"type": "option"
|
|
@@ -4161,28 +4169,36 @@
|
|
|
4161
4169
|
},
|
|
4162
4170
|
"hasDynamicHelp": false,
|
|
4163
4171
|
"hiddenAliases": [],
|
|
4164
|
-
"id": "
|
|
4172
|
+
"id": "execution:logs",
|
|
4165
4173
|
"pluginAlias": "@proletariat/cli",
|
|
4166
4174
|
"pluginName": "@proletariat/cli",
|
|
4167
4175
|
"pluginType": "core",
|
|
4168
4176
|
"strict": true,
|
|
4169
|
-
"enableJsonFlag": false,
|
|
4170
4177
|
"isESM": true,
|
|
4171
4178
|
"relativePath": [
|
|
4172
4179
|
"dist",
|
|
4173
4180
|
"commands",
|
|
4174
|
-
"
|
|
4175
|
-
"
|
|
4181
|
+
"execution",
|
|
4182
|
+
"logs.js"
|
|
4176
4183
|
]
|
|
4177
4184
|
},
|
|
4178
|
-
"
|
|
4185
|
+
"execution:stop": {
|
|
4179
4186
|
"aliases": [],
|
|
4180
|
-
"args": {
|
|
4181
|
-
|
|
4187
|
+
"args": {
|
|
4188
|
+
"id": {
|
|
4189
|
+
"description": "Execution ID - prompts if not provided (ignored if --all or --agent used)",
|
|
4190
|
+
"name": "id",
|
|
4191
|
+
"required": false
|
|
4192
|
+
}
|
|
4193
|
+
},
|
|
4194
|
+
"description": "Stop running execution(s)",
|
|
4182
4195
|
"examples": [
|
|
4183
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4184
|
-
"<%= config.bin %> <%= command.id %>
|
|
4185
|
-
"<%= config.bin %> <%= command.id %>
|
|
4196
|
+
"<%= config.bin %> <%= command.id %> WORK-001",
|
|
4197
|
+
"<%= config.bin %> <%= command.id %> WORK-001 --force",
|
|
4198
|
+
"<%= config.bin %> <%= command.id %> # Interactive mode",
|
|
4199
|
+
"<%= config.bin %> <%= command.id %> --all",
|
|
4200
|
+
"<%= config.bin %> <%= command.id %> --all --force",
|
|
4201
|
+
"<%= config.bin %> <%= command.id %> --agent altman"
|
|
4186
4202
|
],
|
|
4187
4203
|
"flags": {
|
|
4188
4204
|
"json": {
|
|
@@ -4198,39 +4214,31 @@
|
|
|
4198
4214
|
"allowNo": false,
|
|
4199
4215
|
"type": "boolean"
|
|
4200
4216
|
},
|
|
4201
|
-
"
|
|
4202
|
-
"char": "
|
|
4203
|
-
"description": "
|
|
4204
|
-
"name": "
|
|
4205
|
-
"
|
|
4206
|
-
"
|
|
4207
|
-
"type": "option"
|
|
4217
|
+
"force": {
|
|
4218
|
+
"char": "f",
|
|
4219
|
+
"description": "Force kill (SIGKILL instead of SIGTERM)",
|
|
4220
|
+
"name": "force",
|
|
4221
|
+
"allowNo": false,
|
|
4222
|
+
"type": "boolean"
|
|
4208
4223
|
},
|
|
4209
|
-
"
|
|
4210
|
-
"
|
|
4211
|
-
"
|
|
4212
|
-
"
|
|
4213
|
-
"
|
|
4214
|
-
"multiple": false,
|
|
4215
|
-
"type": "option"
|
|
4224
|
+
"all": {
|
|
4225
|
+
"description": "Stop all running executions",
|
|
4226
|
+
"name": "all",
|
|
4227
|
+
"allowNo": false,
|
|
4228
|
+
"type": "boolean"
|
|
4216
4229
|
},
|
|
4217
|
-
"
|
|
4218
|
-
"char": "
|
|
4219
|
-
"description": "
|
|
4220
|
-
"name": "
|
|
4230
|
+
"agent": {
|
|
4231
|
+
"char": "a",
|
|
4232
|
+
"description": "Stop all executions for a specific agent",
|
|
4233
|
+
"name": "agent",
|
|
4221
4234
|
"hasDynamicHelp": false,
|
|
4222
4235
|
"multiple": false,
|
|
4223
|
-
"options": [
|
|
4224
|
-
"bug",
|
|
4225
|
-
"feature",
|
|
4226
|
-
"general"
|
|
4227
|
-
],
|
|
4228
4236
|
"type": "option"
|
|
4229
4237
|
}
|
|
4230
4238
|
},
|
|
4231
4239
|
"hasDynamicHelp": false,
|
|
4232
4240
|
"hiddenAliases": [],
|
|
4233
|
-
"id": "
|
|
4241
|
+
"id": "execution:stop",
|
|
4234
4242
|
"pluginAlias": "@proletariat/cli",
|
|
4235
4243
|
"pluginName": "@proletariat/cli",
|
|
4236
4244
|
"pluginType": "core",
|
|
@@ -4239,23 +4247,23 @@
|
|
|
4239
4247
|
"relativePath": [
|
|
4240
4248
|
"dist",
|
|
4241
4249
|
"commands",
|
|
4242
|
-
"
|
|
4243
|
-
"
|
|
4250
|
+
"execution",
|
|
4251
|
+
"stop.js"
|
|
4244
4252
|
]
|
|
4245
4253
|
},
|
|
4246
|
-
"
|
|
4254
|
+
"execution:view": {
|
|
4247
4255
|
"aliases": [],
|
|
4248
4256
|
"args": {
|
|
4249
|
-
"
|
|
4250
|
-
"description": "
|
|
4251
|
-
"name": "
|
|
4252
|
-
"required":
|
|
4257
|
+
"id": {
|
|
4258
|
+
"description": "Execution ID - prompts if not provided",
|
|
4259
|
+
"name": "id",
|
|
4260
|
+
"required": false
|
|
4253
4261
|
}
|
|
4254
4262
|
},
|
|
4255
|
-
"description": "View details of a specific
|
|
4263
|
+
"description": "View details of a specific execution",
|
|
4256
4264
|
"examples": [
|
|
4257
|
-
"<%= config.bin %> <%= command.id %>
|
|
4258
|
-
"<%= config.bin %> <%= command.id %>
|
|
4265
|
+
"<%= config.bin %> <%= command.id %> WORK-001",
|
|
4266
|
+
"<%= config.bin %> <%= command.id %> # Interactive mode"
|
|
4259
4267
|
],
|
|
4260
4268
|
"flags": {
|
|
4261
4269
|
"json": {
|
|
@@ -4274,17 +4282,16 @@
|
|
|
4274
4282
|
},
|
|
4275
4283
|
"hasDynamicHelp": false,
|
|
4276
4284
|
"hiddenAliases": [],
|
|
4277
|
-
"id": "
|
|
4285
|
+
"id": "execution:view",
|
|
4278
4286
|
"pluginAlias": "@proletariat/cli",
|
|
4279
4287
|
"pluginName": "@proletariat/cli",
|
|
4280
4288
|
"pluginType": "core",
|
|
4281
4289
|
"strict": true,
|
|
4282
|
-
"enableJsonFlag": false,
|
|
4283
4290
|
"isESM": true,
|
|
4284
4291
|
"relativePath": [
|
|
4285
4292
|
"dist",
|
|
4286
4293
|
"commands",
|
|
4287
|
-
"
|
|
4294
|
+
"execution",
|
|
4288
4295
|
"view.js"
|
|
4289
4296
|
]
|
|
4290
4297
|
},
|
|
@@ -6431,99 +6438,6 @@
|
|
|
6431
6438
|
"index.js"
|
|
6432
6439
|
]
|
|
6433
6440
|
},
|
|
6434
|
-
"run": {
|
|
6435
|
-
"aliases": [],
|
|
6436
|
-
"args": {
|
|
6437
|
-
"task": {
|
|
6438
|
-
"description": "Task description for the agent",
|
|
6439
|
-
"name": "task",
|
|
6440
|
-
"required": true
|
|
6441
|
-
}
|
|
6442
|
-
},
|
|
6443
|
-
"description": "Spawn an agent to work on a task (works anywhere, no HQ required)",
|
|
6444
|
-
"examples": [
|
|
6445
|
-
"<%= config.bin %> run \"fix the login bug\"",
|
|
6446
|
-
"<%= config.bin %> run --runner claude-code \"add dark mode\"",
|
|
6447
|
-
"<%= config.bin %> run -d \"fix the bug\"",
|
|
6448
|
-
"<%= config.bin %> run --runner codex \"add tests\""
|
|
6449
|
-
],
|
|
6450
|
-
"flags": {
|
|
6451
|
-
"json": {
|
|
6452
|
-
"description": "Output as JSON for AI agents/scripts",
|
|
6453
|
-
"name": "json",
|
|
6454
|
-
"allowNo": false,
|
|
6455
|
-
"type": "boolean"
|
|
6456
|
-
},
|
|
6457
|
-
"machine": {
|
|
6458
|
-
"char": "m",
|
|
6459
|
-
"description": "Output as JSON for AI agents/scripts",
|
|
6460
|
-
"name": "machine",
|
|
6461
|
-
"allowNo": false,
|
|
6462
|
-
"type": "boolean"
|
|
6463
|
-
},
|
|
6464
|
-
"runner": {
|
|
6465
|
-
"char": "r",
|
|
6466
|
-
"description": "Runner to use (claude-code, codex, pi)",
|
|
6467
|
-
"name": "runner",
|
|
6468
|
-
"hasDynamicHelp": false,
|
|
6469
|
-
"multiple": false,
|
|
6470
|
-
"type": "option"
|
|
6471
|
-
},
|
|
6472
|
-
"detached": {
|
|
6473
|
-
"char": "d",
|
|
6474
|
-
"description": "Run in background (detached)",
|
|
6475
|
-
"name": "detached",
|
|
6476
|
-
"allowNo": false,
|
|
6477
|
-
"type": "boolean"
|
|
6478
|
-
},
|
|
6479
|
-
"directory": {
|
|
6480
|
-
"description": "Working directory (default: cwd)",
|
|
6481
|
-
"name": "directory",
|
|
6482
|
-
"hasDynamicHelp": false,
|
|
6483
|
-
"multiple": false,
|
|
6484
|
-
"type": "option"
|
|
6485
|
-
},
|
|
6486
|
-
"permission-mode": {
|
|
6487
|
-
"char": "p",
|
|
6488
|
-
"description": "Permission mode (danger: skip prompts, safe: require approval)",
|
|
6489
|
-
"name": "permission-mode",
|
|
6490
|
-
"hasDynamicHelp": false,
|
|
6491
|
-
"multiple": false,
|
|
6492
|
-
"options": [
|
|
6493
|
-
"danger",
|
|
6494
|
-
"safe"
|
|
6495
|
-
],
|
|
6496
|
-
"type": "option"
|
|
6497
|
-
},
|
|
6498
|
-
"environment": {
|
|
6499
|
-
"char": "e",
|
|
6500
|
-
"description": "Environment to run in",
|
|
6501
|
-
"name": "environment",
|
|
6502
|
-
"hasDynamicHelp": false,
|
|
6503
|
-
"multiple": false,
|
|
6504
|
-
"options": [
|
|
6505
|
-
"host",
|
|
6506
|
-
"docker",
|
|
6507
|
-
"podman"
|
|
6508
|
-
],
|
|
6509
|
-
"type": "option"
|
|
6510
|
-
}
|
|
6511
|
-
},
|
|
6512
|
-
"hasDynamicHelp": false,
|
|
6513
|
-
"hiddenAliases": [],
|
|
6514
|
-
"id": "run",
|
|
6515
|
-
"pluginAlias": "@proletariat/cli",
|
|
6516
|
-
"pluginName": "@proletariat/cli",
|
|
6517
|
-
"pluginType": "core",
|
|
6518
|
-
"strict": true,
|
|
6519
|
-
"isESM": true,
|
|
6520
|
-
"relativePath": [
|
|
6521
|
-
"dist",
|
|
6522
|
-
"commands",
|
|
6523
|
-
"run",
|
|
6524
|
-
"index.js"
|
|
6525
|
-
]
|
|
6526
|
-
},
|
|
6527
6441
|
"repo:add": {
|
|
6528
6442
|
"aliases": [],
|
|
6529
6443
|
"args": {
|
|
@@ -6929,6 +6843,99 @@
|
|
|
6929
6843
|
"view.js"
|
|
6930
6844
|
]
|
|
6931
6845
|
},
|
|
6846
|
+
"run": {
|
|
6847
|
+
"aliases": [],
|
|
6848
|
+
"args": {
|
|
6849
|
+
"task": {
|
|
6850
|
+
"description": "Task description for the agent",
|
|
6851
|
+
"name": "task",
|
|
6852
|
+
"required": true
|
|
6853
|
+
}
|
|
6854
|
+
},
|
|
6855
|
+
"description": "Spawn an agent to work on a task (works anywhere, no HQ required)",
|
|
6856
|
+
"examples": [
|
|
6857
|
+
"<%= config.bin %> run \"fix the login bug\"",
|
|
6858
|
+
"<%= config.bin %> run --runner claude-code \"add dark mode\"",
|
|
6859
|
+
"<%= config.bin %> run -d \"fix the bug\"",
|
|
6860
|
+
"<%= config.bin %> run --runner codex \"add tests\""
|
|
6861
|
+
],
|
|
6862
|
+
"flags": {
|
|
6863
|
+
"json": {
|
|
6864
|
+
"description": "Output as JSON for AI agents/scripts",
|
|
6865
|
+
"name": "json",
|
|
6866
|
+
"allowNo": false,
|
|
6867
|
+
"type": "boolean"
|
|
6868
|
+
},
|
|
6869
|
+
"machine": {
|
|
6870
|
+
"char": "m",
|
|
6871
|
+
"description": "Output as JSON for AI agents/scripts",
|
|
6872
|
+
"name": "machine",
|
|
6873
|
+
"allowNo": false,
|
|
6874
|
+
"type": "boolean"
|
|
6875
|
+
},
|
|
6876
|
+
"runner": {
|
|
6877
|
+
"char": "r",
|
|
6878
|
+
"description": "Runner to use (claude-code, codex, pi)",
|
|
6879
|
+
"name": "runner",
|
|
6880
|
+
"hasDynamicHelp": false,
|
|
6881
|
+
"multiple": false,
|
|
6882
|
+
"type": "option"
|
|
6883
|
+
},
|
|
6884
|
+
"detached": {
|
|
6885
|
+
"char": "d",
|
|
6886
|
+
"description": "Run in background (detached)",
|
|
6887
|
+
"name": "detached",
|
|
6888
|
+
"allowNo": false,
|
|
6889
|
+
"type": "boolean"
|
|
6890
|
+
},
|
|
6891
|
+
"directory": {
|
|
6892
|
+
"description": "Working directory (default: cwd)",
|
|
6893
|
+
"name": "directory",
|
|
6894
|
+
"hasDynamicHelp": false,
|
|
6895
|
+
"multiple": false,
|
|
6896
|
+
"type": "option"
|
|
6897
|
+
},
|
|
6898
|
+
"permission-mode": {
|
|
6899
|
+
"char": "p",
|
|
6900
|
+
"description": "Permission mode (danger: skip prompts, safe: require approval)",
|
|
6901
|
+
"name": "permission-mode",
|
|
6902
|
+
"hasDynamicHelp": false,
|
|
6903
|
+
"multiple": false,
|
|
6904
|
+
"options": [
|
|
6905
|
+
"danger",
|
|
6906
|
+
"safe"
|
|
6907
|
+
],
|
|
6908
|
+
"type": "option"
|
|
6909
|
+
},
|
|
6910
|
+
"environment": {
|
|
6911
|
+
"char": "e",
|
|
6912
|
+
"description": "Environment to run in",
|
|
6913
|
+
"name": "environment",
|
|
6914
|
+
"hasDynamicHelp": false,
|
|
6915
|
+
"multiple": false,
|
|
6916
|
+
"options": [
|
|
6917
|
+
"host",
|
|
6918
|
+
"docker",
|
|
6919
|
+
"podman"
|
|
6920
|
+
],
|
|
6921
|
+
"type": "option"
|
|
6922
|
+
}
|
|
6923
|
+
},
|
|
6924
|
+
"hasDynamicHelp": false,
|
|
6925
|
+
"hiddenAliases": [],
|
|
6926
|
+
"id": "run",
|
|
6927
|
+
"pluginAlias": "@proletariat/cli",
|
|
6928
|
+
"pluginName": "@proletariat/cli",
|
|
6929
|
+
"pluginType": "core",
|
|
6930
|
+
"strict": true,
|
|
6931
|
+
"isESM": true,
|
|
6932
|
+
"relativePath": [
|
|
6933
|
+
"dist",
|
|
6934
|
+
"commands",
|
|
6935
|
+
"run",
|
|
6936
|
+
"index.js"
|
|
6937
|
+
]
|
|
6938
|
+
},
|
|
6932
6939
|
"shortcut:connect": {
|
|
6933
6940
|
"aliases": [],
|
|
6934
6941
|
"args": {},
|
|
@@ -7858,11 +7865,12 @@
|
|
|
7858
7865
|
"session:watch": {
|
|
7859
7866
|
"aliases": [],
|
|
7860
7867
|
"args": {},
|
|
7861
|
-
"description": "Watch agent sessions for heartbeat timeouts and auto-
|
|
7868
|
+
"description": "Watch agent sessions for heartbeat timeouts, tmux server crashes, and auto-recover",
|
|
7862
7869
|
"examples": [
|
|
7863
7870
|
"<%= config.bin %> session watch",
|
|
7864
7871
|
"<%= config.bin %> session watch --interval 3 --timeout 10",
|
|
7865
7872
|
"<%= config.bin %> session watch --no-kill",
|
|
7873
|
+
"<%= config.bin %> session watch --no-recover",
|
|
7866
7874
|
"<%= config.bin %> session watch --once"
|
|
7867
7875
|
],
|
|
7868
7876
|
"flags": {
|
|
@@ -7901,6 +7909,12 @@
|
|
|
7901
7909
|
"allowNo": true,
|
|
7902
7910
|
"type": "boolean"
|
|
7903
7911
|
},
|
|
7912
|
+
"recover": {
|
|
7913
|
+
"description": "Auto-recover agent sessions after tmux server crash",
|
|
7914
|
+
"name": "recover",
|
|
7915
|
+
"allowNo": true,
|
|
7916
|
+
"type": "boolean"
|
|
7917
|
+
},
|
|
7904
7918
|
"once": {
|
|
7905
7919
|
"description": "Run a single check and exit (no polling loop)",
|
|
7906
7920
|
"name": "once",
|
|
@@ -10718,6 +10732,12 @@
|
|
|
10718
10732
|
"name": "machine",
|
|
10719
10733
|
"allowNo": false,
|
|
10720
10734
|
"type": "boolean"
|
|
10735
|
+
},
|
|
10736
|
+
"no-transition": {
|
|
10737
|
+
"description": "Skip board state transition (still runs other actions)",
|
|
10738
|
+
"name": "no-transition",
|
|
10739
|
+
"allowNo": false,
|
|
10740
|
+
"type": "boolean"
|
|
10721
10741
|
}
|
|
10722
10742
|
},
|
|
10723
10743
|
"hasDynamicHelp": false,
|
|
@@ -10735,6 +10755,61 @@
|
|
|
10735
10755
|
"complete.js"
|
|
10736
10756
|
]
|
|
10737
10757
|
},
|
|
10758
|
+
"work:drop": {
|
|
10759
|
+
"aliases": [],
|
|
10760
|
+
"args": {
|
|
10761
|
+
"ticketId": {
|
|
10762
|
+
"description": "Ticket ID to drop",
|
|
10763
|
+
"name": "ticketId",
|
|
10764
|
+
"required": true
|
|
10765
|
+
}
|
|
10766
|
+
},
|
|
10767
|
+
"description": "Drop work: kill agent, close PR, and move ticket off the board",
|
|
10768
|
+
"examples": [
|
|
10769
|
+
"<%= config.bin %> work drop TKT-001",
|
|
10770
|
+
"<%= config.bin %> work drop TKT-001 --json",
|
|
10771
|
+
"<%= config.bin %> work drop TKT-001 --no-transition"
|
|
10772
|
+
],
|
|
10773
|
+
"flags": {
|
|
10774
|
+
"json": {
|
|
10775
|
+
"aliases": [
|
|
10776
|
+
"machine"
|
|
10777
|
+
],
|
|
10778
|
+
"char": "m",
|
|
10779
|
+
"description": "Output as JSON",
|
|
10780
|
+
"name": "json",
|
|
10781
|
+
"allowNo": false,
|
|
10782
|
+
"type": "boolean"
|
|
10783
|
+
},
|
|
10784
|
+
"machine": {
|
|
10785
|
+
"char": "m",
|
|
10786
|
+
"description": "Output as JSON for AI agents/scripts",
|
|
10787
|
+
"name": "machine",
|
|
10788
|
+
"allowNo": false,
|
|
10789
|
+
"type": "boolean"
|
|
10790
|
+
},
|
|
10791
|
+
"no-transition": {
|
|
10792
|
+
"description": "Skip board state transition (still kills agent and closes PR)",
|
|
10793
|
+
"name": "no-transition",
|
|
10794
|
+
"allowNo": false,
|
|
10795
|
+
"type": "boolean"
|
|
10796
|
+
}
|
|
10797
|
+
},
|
|
10798
|
+
"hasDynamicHelp": false,
|
|
10799
|
+
"hiddenAliases": [],
|
|
10800
|
+
"id": "work:drop",
|
|
10801
|
+
"pluginAlias": "@proletariat/cli",
|
|
10802
|
+
"pluginName": "@proletariat/cli",
|
|
10803
|
+
"pluginType": "core",
|
|
10804
|
+
"strict": true,
|
|
10805
|
+
"isESM": true,
|
|
10806
|
+
"relativePath": [
|
|
10807
|
+
"dist",
|
|
10808
|
+
"commands",
|
|
10809
|
+
"work",
|
|
10810
|
+
"drop.js"
|
|
10811
|
+
]
|
|
10812
|
+
},
|
|
10738
10813
|
"work:groom": {
|
|
10739
10814
|
"aliases": [],
|
|
10740
10815
|
"args": {
|
|
@@ -11471,6 +11546,12 @@
|
|
|
11471
11546
|
"name": "no-pr",
|
|
11472
11547
|
"allowNo": false,
|
|
11473
11548
|
"type": "boolean"
|
|
11549
|
+
},
|
|
11550
|
+
"no-transition": {
|
|
11551
|
+
"description": "Skip board state transition (still runs other actions)",
|
|
11552
|
+
"name": "no-transition",
|
|
11553
|
+
"allowNo": false,
|
|
11554
|
+
"type": "boolean"
|
|
11474
11555
|
}
|
|
11475
11556
|
},
|
|
11476
11557
|
"hasDynamicHelp": false,
|
|
@@ -11788,6 +11869,12 @@
|
|
|
11788
11869
|
"name": "rebase-siblings",
|
|
11789
11870
|
"allowNo": true,
|
|
11790
11871
|
"type": "boolean"
|
|
11872
|
+
},
|
|
11873
|
+
"no-transition": {
|
|
11874
|
+
"description": "Skip board state transition (still merges PR)",
|
|
11875
|
+
"name": "no-transition",
|
|
11876
|
+
"allowNo": false,
|
|
11877
|
+
"type": "boolean"
|
|
11791
11878
|
}
|
|
11792
11879
|
},
|
|
11793
11880
|
"hasDynamicHelp": false,
|
|
@@ -12366,7 +12453,8 @@
|
|
|
12366
12453
|
"<%= config.bin %> <%= command.id %> TKT-001 --review-gate auto # Ship directly, no approval needed",
|
|
12367
12454
|
"<%= config.bin %> <%= command.id %> TKT-001 --review-gate post # Ship then human reviews after",
|
|
12368
12455
|
"<%= config.bin %> <%= command.id %> PRLT-1085 PRLT-1086 PRLT-1087 --create-pr # Batch spawn in parallel",
|
|
12369
|
-
"<%= config.bin %> <%= command.id %> TKT-001 TKT-002 TKT-003 --max-parallel 2 # Limit concurrent spawns"
|
|
12456
|
+
"<%= config.bin %> <%= command.id %> TKT-001 TKT-002 TKT-003 --max-parallel 2 # Limit concurrent spawns",
|
|
12457
|
+
"<%= config.bin %> <%= command.id %> TKT-001 --dry-run # Validate environment without spawning"
|
|
12370
12458
|
],
|
|
12371
12459
|
"flags": {
|
|
12372
12460
|
"project": {
|
|
@@ -12535,6 +12623,12 @@
|
|
|
12535
12623
|
"allowNo": false,
|
|
12536
12624
|
"type": "boolean"
|
|
12537
12625
|
},
|
|
12626
|
+
"verify-ci": {
|
|
12627
|
+
"description": "Agent polls CI after pushing and fixes failures before exiting (PRLT-1126)",
|
|
12628
|
+
"name": "verify-ci",
|
|
12629
|
+
"allowNo": false,
|
|
12630
|
+
"type": "boolean"
|
|
12631
|
+
},
|
|
12538
12632
|
"output": {
|
|
12539
12633
|
"char": "o",
|
|
12540
12634
|
"description": "Output mode",
|
|
@@ -12682,6 +12776,12 @@
|
|
|
12682
12776
|
"hasDynamicHelp": false,
|
|
12683
12777
|
"multiple": false,
|
|
12684
12778
|
"type": "option"
|
|
12779
|
+
},
|
|
12780
|
+
"dry-run": {
|
|
12781
|
+
"description": "Validate environment and prerequisites without actually spawning an agent",
|
|
12782
|
+
"name": "dry-run",
|
|
12783
|
+
"allowNo": false,
|
|
12784
|
+
"type": "boolean"
|
|
12685
12785
|
}
|
|
12686
12786
|
},
|
|
12687
12787
|
"hasDynamicHelp": false,
|
|
@@ -12776,6 +12876,12 @@
|
|
|
12776
12876
|
"name": "machine",
|
|
12777
12877
|
"allowNo": false,
|
|
12778
12878
|
"type": "boolean"
|
|
12879
|
+
},
|
|
12880
|
+
"no-transition": {
|
|
12881
|
+
"description": "Skip board state transition (still stops the agent)",
|
|
12882
|
+
"name": "no-transition",
|
|
12883
|
+
"allowNo": false,
|
|
12884
|
+
"type": "boolean"
|
|
12779
12885
|
}
|
|
12780
12886
|
},
|
|
12781
12887
|
"hasDynamicHelp": false,
|
|
@@ -13737,5 +13843,5 @@
|
|
|
13737
13843
|
]
|
|
13738
13844
|
}
|
|
13739
13845
|
},
|
|
13740
|
-
"version": "0.3.
|
|
13846
|
+
"version": "0.3.97"
|
|
13741
13847
|
}
|