forest-cli 5.27.0 → 5.27.2
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/layout/apply.d.ts.map +1 -1
- package/dist/commands/layout/apply.js +7 -2
- package/dist/commands/start.d.ts +3 -0
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +51 -21
- package/dist/services/exit-code-error.d.ts +5 -0
- package/dist/services/exit-code-error.d.ts.map +1 -0
- package/dist/services/exit-code-error.js +11 -0
- package/dist/services/layout/failed-part.d.ts +4 -0
- package/dist/services/layout/failed-part.d.ts.map +1 -0
- package/dist/services/layout/failed-part.js +13 -0
- package/dist/services/onboarding/detect.d.ts +1 -0
- package/dist/services/onboarding/detect.d.ts.map +1 -1
- package/dist/services/onboarding/detect.js +3 -2
- package/dist/services/onboarding/env-file.d.ts +13 -6
- package/dist/services/onboarding/env-file.d.ts.map +1 -1
- package/dist/services/onboarding/env-file.js +38 -16
- package/dist/services/process-runner.d.ts +3 -1
- package/dist/services/process-runner.d.ts.map +1 -1
- package/dist/services/process-runner.js +26 -8
- package/oclif.manifest.json +335 -335
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -523,194 +523,6 @@
|
|
|
523
523
|
"user.js"
|
|
524
524
|
]
|
|
525
525
|
},
|
|
526
|
-
"layout:apply": {
|
|
527
|
-
"aliases": [],
|
|
528
|
-
"args": {
|
|
529
|
-
"file": {
|
|
530
|
-
"description": "Layout file to apply (e.g. forest-layout.json).",
|
|
531
|
-
"name": "file",
|
|
532
|
-
"required": true
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"description": "Apply a forest-layout.json to an environment (pushes JSON-Patch changes).",
|
|
536
|
-
"flags": {
|
|
537
|
-
"env": {
|
|
538
|
-
"char": "e",
|
|
539
|
-
"description": "Environment to apply to (name or id). Prompted if omitted.",
|
|
540
|
-
"name": "env",
|
|
541
|
-
"hasDynamicHelp": false,
|
|
542
|
-
"multiple": false,
|
|
543
|
-
"type": "option"
|
|
544
|
-
},
|
|
545
|
-
"team": {
|
|
546
|
-
"char": "t",
|
|
547
|
-
"description": "Team to apply to (name or id). Prompted if omitted.",
|
|
548
|
-
"name": "team",
|
|
549
|
-
"hasDynamicHelp": false,
|
|
550
|
-
"multiple": false,
|
|
551
|
-
"type": "option"
|
|
552
|
-
},
|
|
553
|
-
"projectId": {
|
|
554
|
-
"char": "p",
|
|
555
|
-
"description": "Id of the project (resolved/prompted when omitted).",
|
|
556
|
-
"name": "projectId",
|
|
557
|
-
"hasDynamicHelp": false,
|
|
558
|
-
"multiple": false,
|
|
559
|
-
"type": "option"
|
|
560
|
-
},
|
|
561
|
-
"force": {
|
|
562
|
-
"char": "f",
|
|
563
|
-
"description": "Skip the confirmation prompt.",
|
|
564
|
-
"name": "force",
|
|
565
|
-
"allowNo": false,
|
|
566
|
-
"type": "boolean"
|
|
567
|
-
},
|
|
568
|
-
"with-workflows": {
|
|
569
|
-
"description": "Also upload workflow BPMN sidecars (workflows/<id>.bpmn) to the target env — the round-trip counterpart of `pull --with-workflows`.",
|
|
570
|
-
"name": "with-workflows",
|
|
571
|
-
"allowNo": false,
|
|
572
|
-
"type": "boolean"
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
"hasDynamicHelp": false,
|
|
576
|
-
"hiddenAliases": [],
|
|
577
|
-
"id": "layout:apply",
|
|
578
|
-
"pluginAlias": "forest-cli",
|
|
579
|
-
"pluginName": "forest-cli",
|
|
580
|
-
"pluginType": "core",
|
|
581
|
-
"strict": true,
|
|
582
|
-
"isESM": false,
|
|
583
|
-
"relativePath": [
|
|
584
|
-
"dist",
|
|
585
|
-
"commands",
|
|
586
|
-
"layout",
|
|
587
|
-
"apply.js"
|
|
588
|
-
]
|
|
589
|
-
},
|
|
590
|
-
"layout:patch": {
|
|
591
|
-
"aliases": [],
|
|
592
|
-
"args": {
|
|
593
|
-
"file": {
|
|
594
|
-
"description": "JSON patch file to apply. Use \"-\" or omit to read from stdin.",
|
|
595
|
-
"name": "file",
|
|
596
|
-
"required": false
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
"description": "Patch the layout directly (single PATCH per domain, like the front — no pull/apply).",
|
|
600
|
-
"flags": {
|
|
601
|
-
"dry-run": {
|
|
602
|
-
"description": "Print operations without sending them.",
|
|
603
|
-
"name": "dry-run",
|
|
604
|
-
"allowNo": false,
|
|
605
|
-
"type": "boolean"
|
|
606
|
-
},
|
|
607
|
-
"env": {
|
|
608
|
-
"char": "e",
|
|
609
|
-
"description": "Environment name or id.",
|
|
610
|
-
"name": "env",
|
|
611
|
-
"hasDynamicHelp": false,
|
|
612
|
-
"multiple": false,
|
|
613
|
-
"type": "option"
|
|
614
|
-
},
|
|
615
|
-
"force": {
|
|
616
|
-
"char": "f",
|
|
617
|
-
"description": "Skip the confirmation prompt (required when reading from stdin).",
|
|
618
|
-
"name": "force",
|
|
619
|
-
"allowNo": false,
|
|
620
|
-
"type": "boolean"
|
|
621
|
-
},
|
|
622
|
-
"projectId": {
|
|
623
|
-
"char": "p",
|
|
624
|
-
"description": "Project id.",
|
|
625
|
-
"name": "projectId",
|
|
626
|
-
"hasDynamicHelp": false,
|
|
627
|
-
"multiple": false,
|
|
628
|
-
"type": "option"
|
|
629
|
-
},
|
|
630
|
-
"team": {
|
|
631
|
-
"char": "t",
|
|
632
|
-
"description": "Team name or id.",
|
|
633
|
-
"name": "team",
|
|
634
|
-
"hasDynamicHelp": false,
|
|
635
|
-
"multiple": false,
|
|
636
|
-
"type": "option"
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
"hasDynamicHelp": false,
|
|
640
|
-
"hiddenAliases": [],
|
|
641
|
-
"id": "layout:patch",
|
|
642
|
-
"pluginAlias": "forest-cli",
|
|
643
|
-
"pluginName": "forest-cli",
|
|
644
|
-
"pluginType": "core",
|
|
645
|
-
"strict": true,
|
|
646
|
-
"isESM": false,
|
|
647
|
-
"relativePath": [
|
|
648
|
-
"dist",
|
|
649
|
-
"commands",
|
|
650
|
-
"layout",
|
|
651
|
-
"patch.js"
|
|
652
|
-
]
|
|
653
|
-
},
|
|
654
|
-
"layout:pull": {
|
|
655
|
-
"aliases": [],
|
|
656
|
-
"args": {},
|
|
657
|
-
"description": "Pull the layout (rendering) of an environment into a forest-layout.json file.",
|
|
658
|
-
"flags": {
|
|
659
|
-
"env": {
|
|
660
|
-
"char": "e",
|
|
661
|
-
"description": "Environment to pull from (name or id). Prompted if omitted.",
|
|
662
|
-
"name": "env",
|
|
663
|
-
"hasDynamicHelp": false,
|
|
664
|
-
"multiple": false,
|
|
665
|
-
"type": "option"
|
|
666
|
-
},
|
|
667
|
-
"team": {
|
|
668
|
-
"char": "t",
|
|
669
|
-
"description": "Team whose layout to pull (name or id). Prompted if omitted.",
|
|
670
|
-
"name": "team",
|
|
671
|
-
"hasDynamicHelp": false,
|
|
672
|
-
"multiple": false,
|
|
673
|
-
"type": "option"
|
|
674
|
-
},
|
|
675
|
-
"projectId": {
|
|
676
|
-
"char": "p",
|
|
677
|
-
"description": "Id of the project (resolved automatically when you only have one).",
|
|
678
|
-
"name": "projectId",
|
|
679
|
-
"hasDynamicHelp": false,
|
|
680
|
-
"multiple": false,
|
|
681
|
-
"type": "option"
|
|
682
|
-
},
|
|
683
|
-
"out": {
|
|
684
|
-
"char": "o",
|
|
685
|
-
"description": "Output file path (default: forest-layout.json).",
|
|
686
|
-
"name": "out",
|
|
687
|
-
"default": "forest-layout.json",
|
|
688
|
-
"hasDynamicHelp": false,
|
|
689
|
-
"multiple": false,
|
|
690
|
-
"type": "option"
|
|
691
|
-
},
|
|
692
|
-
"with-workflows": {
|
|
693
|
-
"description": "Also download each workflow's BPMN into sidecar files (workflows/<id>.bpmn) for round-trip.",
|
|
694
|
-
"name": "with-workflows",
|
|
695
|
-
"allowNo": false,
|
|
696
|
-
"type": "boolean"
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
"hasDynamicHelp": false,
|
|
700
|
-
"hiddenAliases": [],
|
|
701
|
-
"id": "layout:pull",
|
|
702
|
-
"pluginAlias": "forest-cli",
|
|
703
|
-
"pluginName": "forest-cli",
|
|
704
|
-
"pluginType": "core",
|
|
705
|
-
"strict": true,
|
|
706
|
-
"isESM": false,
|
|
707
|
-
"relativePath": [
|
|
708
|
-
"dist",
|
|
709
|
-
"commands",
|
|
710
|
-
"layout",
|
|
711
|
-
"pull.js"
|
|
712
|
-
]
|
|
713
|
-
},
|
|
714
526
|
"environments:create": {
|
|
715
527
|
"aliases": [],
|
|
716
528
|
"args": {},
|
|
@@ -955,6 +767,194 @@
|
|
|
955
767
|
"update.js"
|
|
956
768
|
]
|
|
957
769
|
},
|
|
770
|
+
"layout:apply": {
|
|
771
|
+
"aliases": [],
|
|
772
|
+
"args": {
|
|
773
|
+
"file": {
|
|
774
|
+
"description": "Layout file to apply (e.g. forest-layout.json).",
|
|
775
|
+
"name": "file",
|
|
776
|
+
"required": true
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"description": "Apply a forest-layout.json to an environment (pushes JSON-Patch changes).",
|
|
780
|
+
"flags": {
|
|
781
|
+
"env": {
|
|
782
|
+
"char": "e",
|
|
783
|
+
"description": "Environment to apply to (name or id). Prompted if omitted.",
|
|
784
|
+
"name": "env",
|
|
785
|
+
"hasDynamicHelp": false,
|
|
786
|
+
"multiple": false,
|
|
787
|
+
"type": "option"
|
|
788
|
+
},
|
|
789
|
+
"team": {
|
|
790
|
+
"char": "t",
|
|
791
|
+
"description": "Team to apply to (name or id). Prompted if omitted.",
|
|
792
|
+
"name": "team",
|
|
793
|
+
"hasDynamicHelp": false,
|
|
794
|
+
"multiple": false,
|
|
795
|
+
"type": "option"
|
|
796
|
+
},
|
|
797
|
+
"projectId": {
|
|
798
|
+
"char": "p",
|
|
799
|
+
"description": "Id of the project (resolved/prompted when omitted).",
|
|
800
|
+
"name": "projectId",
|
|
801
|
+
"hasDynamicHelp": false,
|
|
802
|
+
"multiple": false,
|
|
803
|
+
"type": "option"
|
|
804
|
+
},
|
|
805
|
+
"force": {
|
|
806
|
+
"char": "f",
|
|
807
|
+
"description": "Skip the confirmation prompt.",
|
|
808
|
+
"name": "force",
|
|
809
|
+
"allowNo": false,
|
|
810
|
+
"type": "boolean"
|
|
811
|
+
},
|
|
812
|
+
"with-workflows": {
|
|
813
|
+
"description": "Also upload workflow BPMN sidecars (workflows/<id>.bpmn) to the target env — the round-trip counterpart of `pull --with-workflows`.",
|
|
814
|
+
"name": "with-workflows",
|
|
815
|
+
"allowNo": false,
|
|
816
|
+
"type": "boolean"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"hasDynamicHelp": false,
|
|
820
|
+
"hiddenAliases": [],
|
|
821
|
+
"id": "layout:apply",
|
|
822
|
+
"pluginAlias": "forest-cli",
|
|
823
|
+
"pluginName": "forest-cli",
|
|
824
|
+
"pluginType": "core",
|
|
825
|
+
"strict": true,
|
|
826
|
+
"isESM": false,
|
|
827
|
+
"relativePath": [
|
|
828
|
+
"dist",
|
|
829
|
+
"commands",
|
|
830
|
+
"layout",
|
|
831
|
+
"apply.js"
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
"layout:patch": {
|
|
835
|
+
"aliases": [],
|
|
836
|
+
"args": {
|
|
837
|
+
"file": {
|
|
838
|
+
"description": "JSON patch file to apply. Use \"-\" or omit to read from stdin.",
|
|
839
|
+
"name": "file",
|
|
840
|
+
"required": false
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
"description": "Patch the layout directly (single PATCH per domain, like the front — no pull/apply).",
|
|
844
|
+
"flags": {
|
|
845
|
+
"dry-run": {
|
|
846
|
+
"description": "Print operations without sending them.",
|
|
847
|
+
"name": "dry-run",
|
|
848
|
+
"allowNo": false,
|
|
849
|
+
"type": "boolean"
|
|
850
|
+
},
|
|
851
|
+
"env": {
|
|
852
|
+
"char": "e",
|
|
853
|
+
"description": "Environment name or id.",
|
|
854
|
+
"name": "env",
|
|
855
|
+
"hasDynamicHelp": false,
|
|
856
|
+
"multiple": false,
|
|
857
|
+
"type": "option"
|
|
858
|
+
},
|
|
859
|
+
"force": {
|
|
860
|
+
"char": "f",
|
|
861
|
+
"description": "Skip the confirmation prompt (required when reading from stdin).",
|
|
862
|
+
"name": "force",
|
|
863
|
+
"allowNo": false,
|
|
864
|
+
"type": "boolean"
|
|
865
|
+
},
|
|
866
|
+
"projectId": {
|
|
867
|
+
"char": "p",
|
|
868
|
+
"description": "Project id.",
|
|
869
|
+
"name": "projectId",
|
|
870
|
+
"hasDynamicHelp": false,
|
|
871
|
+
"multiple": false,
|
|
872
|
+
"type": "option"
|
|
873
|
+
},
|
|
874
|
+
"team": {
|
|
875
|
+
"char": "t",
|
|
876
|
+
"description": "Team name or id.",
|
|
877
|
+
"name": "team",
|
|
878
|
+
"hasDynamicHelp": false,
|
|
879
|
+
"multiple": false,
|
|
880
|
+
"type": "option"
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"hasDynamicHelp": false,
|
|
884
|
+
"hiddenAliases": [],
|
|
885
|
+
"id": "layout:patch",
|
|
886
|
+
"pluginAlias": "forest-cli",
|
|
887
|
+
"pluginName": "forest-cli",
|
|
888
|
+
"pluginType": "core",
|
|
889
|
+
"strict": true,
|
|
890
|
+
"isESM": false,
|
|
891
|
+
"relativePath": [
|
|
892
|
+
"dist",
|
|
893
|
+
"commands",
|
|
894
|
+
"layout",
|
|
895
|
+
"patch.js"
|
|
896
|
+
]
|
|
897
|
+
},
|
|
898
|
+
"layout:pull": {
|
|
899
|
+
"aliases": [],
|
|
900
|
+
"args": {},
|
|
901
|
+
"description": "Pull the layout (rendering) of an environment into a forest-layout.json file.",
|
|
902
|
+
"flags": {
|
|
903
|
+
"env": {
|
|
904
|
+
"char": "e",
|
|
905
|
+
"description": "Environment to pull from (name or id). Prompted if omitted.",
|
|
906
|
+
"name": "env",
|
|
907
|
+
"hasDynamicHelp": false,
|
|
908
|
+
"multiple": false,
|
|
909
|
+
"type": "option"
|
|
910
|
+
},
|
|
911
|
+
"team": {
|
|
912
|
+
"char": "t",
|
|
913
|
+
"description": "Team whose layout to pull (name or id). Prompted if omitted.",
|
|
914
|
+
"name": "team",
|
|
915
|
+
"hasDynamicHelp": false,
|
|
916
|
+
"multiple": false,
|
|
917
|
+
"type": "option"
|
|
918
|
+
},
|
|
919
|
+
"projectId": {
|
|
920
|
+
"char": "p",
|
|
921
|
+
"description": "Id of the project (resolved automatically when you only have one).",
|
|
922
|
+
"name": "projectId",
|
|
923
|
+
"hasDynamicHelp": false,
|
|
924
|
+
"multiple": false,
|
|
925
|
+
"type": "option"
|
|
926
|
+
},
|
|
927
|
+
"out": {
|
|
928
|
+
"char": "o",
|
|
929
|
+
"description": "Output file path (default: forest-layout.json).",
|
|
930
|
+
"name": "out",
|
|
931
|
+
"default": "forest-layout.json",
|
|
932
|
+
"hasDynamicHelp": false,
|
|
933
|
+
"multiple": false,
|
|
934
|
+
"type": "option"
|
|
935
|
+
},
|
|
936
|
+
"with-workflows": {
|
|
937
|
+
"description": "Also download each workflow's BPMN into sidecar files (workflows/<id>.bpmn) for round-trip.",
|
|
938
|
+
"name": "with-workflows",
|
|
939
|
+
"allowNo": false,
|
|
940
|
+
"type": "boolean"
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
"hasDynamicHelp": false,
|
|
944
|
+
"hiddenAliases": [],
|
|
945
|
+
"id": "layout:pull",
|
|
946
|
+
"pluginAlias": "forest-cli",
|
|
947
|
+
"pluginName": "forest-cli",
|
|
948
|
+
"pluginType": "core",
|
|
949
|
+
"strict": true,
|
|
950
|
+
"isESM": false,
|
|
951
|
+
"relativePath": [
|
|
952
|
+
"dist",
|
|
953
|
+
"commands",
|
|
954
|
+
"layout",
|
|
955
|
+
"pull.js"
|
|
956
|
+
]
|
|
957
|
+
},
|
|
958
958
|
"projects:create": {
|
|
959
959
|
"aliases": [],
|
|
960
960
|
"args": {
|
|
@@ -1414,7 +1414,56 @@
|
|
|
1414
1414
|
},
|
|
1415
1415
|
"hasDynamicHelp": false,
|
|
1416
1416
|
"hiddenAliases": [],
|
|
1417
|
-
"id": "schema:update",
|
|
1417
|
+
"id": "schema:update",
|
|
1418
|
+
"pluginAlias": "forest-cli",
|
|
1419
|
+
"pluginName": "forest-cli",
|
|
1420
|
+
"pluginType": "core",
|
|
1421
|
+
"strict": true,
|
|
1422
|
+
"isESM": false,
|
|
1423
|
+
"relativePath": [
|
|
1424
|
+
"dist",
|
|
1425
|
+
"commands",
|
|
1426
|
+
"schema",
|
|
1427
|
+
"update.js"
|
|
1428
|
+
]
|
|
1429
|
+
},
|
|
1430
|
+
"skills:init": {
|
|
1431
|
+
"aliases": [],
|
|
1432
|
+
"args": {},
|
|
1433
|
+
"description": "Give your coding agent the Forest skills: installs the Forest plugin (Claude Code, Codex) or copies the skills into the repo (Cursor, OpenCode, …).",
|
|
1434
|
+
"flags": {
|
|
1435
|
+
"agent": {
|
|
1436
|
+
"description": "Coding agent(s) to set up: claude, codex, cursor, opencode, other. Repeatable. Skips the prompt; without it, the agents this repo or this machine points to are detected and used. Required only when nothing is detected.",
|
|
1437
|
+
"name": "agent",
|
|
1438
|
+
"hasDynamicHelp": false,
|
|
1439
|
+
"multiple": true,
|
|
1440
|
+
"options": [
|
|
1441
|
+
"claude",
|
|
1442
|
+
"codex",
|
|
1443
|
+
"cursor",
|
|
1444
|
+
"opencode",
|
|
1445
|
+
"other"
|
|
1446
|
+
],
|
|
1447
|
+
"type": "option"
|
|
1448
|
+
},
|
|
1449
|
+
"ref": {
|
|
1450
|
+
"description": "Marketplace version (git ref).",
|
|
1451
|
+
"name": "ref",
|
|
1452
|
+
"default": "main",
|
|
1453
|
+
"hasDynamicHelp": false,
|
|
1454
|
+
"multiple": false,
|
|
1455
|
+
"type": "option"
|
|
1456
|
+
},
|
|
1457
|
+
"force": {
|
|
1458
|
+
"description": "Overwrite skill files already installed by a previous run (copy route only).",
|
|
1459
|
+
"name": "force",
|
|
1460
|
+
"allowNo": false,
|
|
1461
|
+
"type": "boolean"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
"hasDynamicHelp": false,
|
|
1465
|
+
"hiddenAliases": [],
|
|
1466
|
+
"id": "skills:init",
|
|
1418
1467
|
"pluginAlias": "forest-cli",
|
|
1419
1468
|
"pluginName": "forest-cli",
|
|
1420
1469
|
"pluginType": "core",
|
|
@@ -1423,41 +1472,19 @@
|
|
|
1423
1472
|
"relativePath": [
|
|
1424
1473
|
"dist",
|
|
1425
1474
|
"commands",
|
|
1426
|
-
"
|
|
1427
|
-
"
|
|
1475
|
+
"skills",
|
|
1476
|
+
"init.js"
|
|
1428
1477
|
]
|
|
1429
1478
|
},
|
|
1430
|
-
"
|
|
1479
|
+
"skills:update": {
|
|
1431
1480
|
"aliases": [],
|
|
1432
|
-
"args": {
|
|
1433
|
-
|
|
1434
|
-
"description": "Path to the wide-format CSV file.",
|
|
1435
|
-
"name": "file",
|
|
1436
|
-
"required": true
|
|
1437
|
-
}
|
|
1438
|
-
},
|
|
1439
|
-
"description": "Apply a wide-format CSV to update role permissions in an environment.",
|
|
1481
|
+
"args": {},
|
|
1482
|
+
"description": "Refresh what `forest skills:init` installed (anti-drift): re-installs the Forest plugin for Claude Code / Codex, and re-copies the skills for the other agents — overwriting the managed files and pruning what was dropped upstream (git shows the diff). Files you wrote yourself are left untouched.",
|
|
1440
1483
|
"flags": {
|
|
1441
|
-
"
|
|
1442
|
-
"
|
|
1443
|
-
"
|
|
1444
|
-
"
|
|
1445
|
-
"required": true,
|
|
1446
|
-
"hasDynamicHelp": false,
|
|
1447
|
-
"multiple": false,
|
|
1448
|
-
"type": "option"
|
|
1449
|
-
},
|
|
1450
|
-
"force": {
|
|
1451
|
-
"char": "F",
|
|
1452
|
-
"description": "Skip confirmation prompt.",
|
|
1453
|
-
"name": "force",
|
|
1454
|
-
"allowNo": false,
|
|
1455
|
-
"type": "boolean"
|
|
1456
|
-
},
|
|
1457
|
-
"projectId": {
|
|
1458
|
-
"char": "p",
|
|
1459
|
-
"description": "Forest project ID.",
|
|
1460
|
-
"name": "projectId",
|
|
1484
|
+
"ref": {
|
|
1485
|
+
"description": "Marketplace version (git ref).",
|
|
1486
|
+
"name": "ref",
|
|
1487
|
+
"default": "main",
|
|
1461
1488
|
"hasDynamicHelp": false,
|
|
1462
1489
|
"multiple": false,
|
|
1463
1490
|
"type": "option"
|
|
@@ -1465,7 +1492,7 @@
|
|
|
1465
1492
|
},
|
|
1466
1493
|
"hasDynamicHelp": false,
|
|
1467
1494
|
"hiddenAliases": [],
|
|
1468
|
-
"id": "
|
|
1495
|
+
"id": "skills:update",
|
|
1469
1496
|
"pluginAlias": "forest-cli",
|
|
1470
1497
|
"pluginName": "forest-cli",
|
|
1471
1498
|
"pluginType": "core",
|
|
@@ -1474,18 +1501,18 @@
|
|
|
1474
1501
|
"relativePath": [
|
|
1475
1502
|
"dist",
|
|
1476
1503
|
"commands",
|
|
1477
|
-
"
|
|
1478
|
-
"
|
|
1504
|
+
"skills",
|
|
1505
|
+
"update.js"
|
|
1479
1506
|
]
|
|
1480
1507
|
},
|
|
1481
|
-
"
|
|
1508
|
+
"teams:copy-layout": {
|
|
1482
1509
|
"aliases": [],
|
|
1483
1510
|
"args": {},
|
|
1484
|
-
"description": "Copy
|
|
1511
|
+
"description": "Copy a team's whole layout onto another team of the same project.",
|
|
1485
1512
|
"flags": {
|
|
1486
1513
|
"from": {
|
|
1487
1514
|
"char": "f",
|
|
1488
|
-
"description": "
|
|
1515
|
+
"description": "Name of the team to copy the layout from.",
|
|
1489
1516
|
"name": "from",
|
|
1490
1517
|
"required": true,
|
|
1491
1518
|
"hasDynamicHelp": false,
|
|
@@ -1494,7 +1521,7 @@
|
|
|
1494
1521
|
},
|
|
1495
1522
|
"to": {
|
|
1496
1523
|
"char": "t",
|
|
1497
|
-
"description": "
|
|
1524
|
+
"description": "Name of the team to copy the layout to (its layout is overwritten).",
|
|
1498
1525
|
"name": "to",
|
|
1499
1526
|
"required": true,
|
|
1500
1527
|
"hasDynamicHelp": false,
|
|
@@ -1508,11 +1535,17 @@
|
|
|
1508
1535
|
"hasDynamicHelp": false,
|
|
1509
1536
|
"multiple": false,
|
|
1510
1537
|
"type": "option"
|
|
1538
|
+
},
|
|
1539
|
+
"force": {
|
|
1540
|
+
"description": "Skip the confirmation prompt.",
|
|
1541
|
+
"name": "force",
|
|
1542
|
+
"allowNo": false,
|
|
1543
|
+
"type": "boolean"
|
|
1511
1544
|
}
|
|
1512
1545
|
},
|
|
1513
1546
|
"hasDynamicHelp": false,
|
|
1514
1547
|
"hiddenAliases": [],
|
|
1515
|
-
"id": "
|
|
1548
|
+
"id": "teams:copy-layout",
|
|
1516
1549
|
"pluginAlias": "forest-cli",
|
|
1517
1550
|
"pluginName": "forest-cli",
|
|
1518
1551
|
"pluginType": "core",
|
|
@@ -1521,18 +1554,18 @@
|
|
|
1521
1554
|
"relativePath": [
|
|
1522
1555
|
"dist",
|
|
1523
1556
|
"commands",
|
|
1524
|
-
"
|
|
1525
|
-
"copy.js"
|
|
1557
|
+
"teams",
|
|
1558
|
+
"copy-layout.js"
|
|
1526
1559
|
]
|
|
1527
1560
|
},
|
|
1528
|
-
"
|
|
1561
|
+
"teams:create": {
|
|
1529
1562
|
"aliases": [],
|
|
1530
1563
|
"args": {},
|
|
1531
|
-
"description": "Create a new
|
|
1564
|
+
"description": "Create a new team in a project.",
|
|
1532
1565
|
"flags": {
|
|
1533
1566
|
"name": {
|
|
1534
1567
|
"char": "n",
|
|
1535
|
-
"description": "Name of the
|
|
1568
|
+
"description": "Name of the team to create.",
|
|
1536
1569
|
"name": "name",
|
|
1537
1570
|
"required": true,
|
|
1538
1571
|
"hasDynamicHelp": false,
|
|
@@ -1550,7 +1583,7 @@
|
|
|
1550
1583
|
},
|
|
1551
1584
|
"hasDynamicHelp": false,
|
|
1552
1585
|
"hiddenAliases": [],
|
|
1553
|
-
"id": "
|
|
1586
|
+
"id": "teams:create",
|
|
1554
1587
|
"pluginAlias": "forest-cli",
|
|
1555
1588
|
"pluginName": "forest-cli",
|
|
1556
1589
|
"pluginType": "core",
|
|
@@ -1559,19 +1592,19 @@
|
|
|
1559
1592
|
"relativePath": [
|
|
1560
1593
|
"dist",
|
|
1561
1594
|
"commands",
|
|
1562
|
-
"
|
|
1595
|
+
"teams",
|
|
1563
1596
|
"create.js"
|
|
1564
1597
|
]
|
|
1565
1598
|
},
|
|
1566
|
-
"
|
|
1599
|
+
"teams:delete": {
|
|
1567
1600
|
"aliases": [],
|
|
1568
1601
|
"args": {},
|
|
1569
|
-
"description": "
|
|
1602
|
+
"description": "Delete a team from a project.",
|
|
1570
1603
|
"flags": {
|
|
1571
|
-
"
|
|
1572
|
-
"char": "
|
|
1573
|
-
"description": "
|
|
1574
|
-
"name": "
|
|
1604
|
+
"name": {
|
|
1605
|
+
"char": "n",
|
|
1606
|
+
"description": "Name of the team to delete.",
|
|
1607
|
+
"name": "name",
|
|
1575
1608
|
"required": true,
|
|
1576
1609
|
"hasDynamicHelp": false,
|
|
1577
1610
|
"multiple": false,
|
|
@@ -1585,18 +1618,16 @@
|
|
|
1585
1618
|
"multiple": false,
|
|
1586
1619
|
"type": "option"
|
|
1587
1620
|
},
|
|
1588
|
-
"
|
|
1589
|
-
"
|
|
1590
|
-
"
|
|
1591
|
-
"
|
|
1592
|
-
"
|
|
1593
|
-
"multiple": false,
|
|
1594
|
-
"type": "option"
|
|
1621
|
+
"force": {
|
|
1622
|
+
"description": "Skip the confirmation prompt.",
|
|
1623
|
+
"name": "force",
|
|
1624
|
+
"allowNo": false,
|
|
1625
|
+
"type": "boolean"
|
|
1595
1626
|
}
|
|
1596
1627
|
},
|
|
1597
1628
|
"hasDynamicHelp": false,
|
|
1598
1629
|
"hiddenAliases": [],
|
|
1599
|
-
"id": "
|
|
1630
|
+
"id": "teams:delete",
|
|
1600
1631
|
"pluginAlias": "forest-cli",
|
|
1601
1632
|
"pluginName": "forest-cli",
|
|
1602
1633
|
"pluginType": "core",
|
|
@@ -1605,68 +1636,41 @@
|
|
|
1605
1636
|
"relativePath": [
|
|
1606
1637
|
"dist",
|
|
1607
1638
|
"commands",
|
|
1608
|
-
"
|
|
1609
|
-
"
|
|
1639
|
+
"teams",
|
|
1640
|
+
"delete.js"
|
|
1610
1641
|
]
|
|
1611
1642
|
},
|
|
1612
|
-
"
|
|
1643
|
+
"roles:apply": {
|
|
1613
1644
|
"aliases": [],
|
|
1614
|
-
"args": {
|
|
1615
|
-
|
|
1645
|
+
"args": {
|
|
1646
|
+
"file": {
|
|
1647
|
+
"description": "Path to the wide-format CSV file.",
|
|
1648
|
+
"name": "file",
|
|
1649
|
+
"required": true
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
"description": "Apply a wide-format CSV to update role permissions in an environment.",
|
|
1616
1653
|
"flags": {
|
|
1617
|
-
"
|
|
1618
|
-
"
|
|
1619
|
-
"
|
|
1620
|
-
"
|
|
1621
|
-
"
|
|
1622
|
-
"options": [
|
|
1623
|
-
"claude",
|
|
1624
|
-
"codex",
|
|
1625
|
-
"cursor",
|
|
1626
|
-
"opencode",
|
|
1627
|
-
"other"
|
|
1628
|
-
],
|
|
1629
|
-
"type": "option"
|
|
1630
|
-
},
|
|
1631
|
-
"ref": {
|
|
1632
|
-
"description": "Marketplace version (git ref).",
|
|
1633
|
-
"name": "ref",
|
|
1634
|
-
"default": "main",
|
|
1654
|
+
"env": {
|
|
1655
|
+
"char": "e",
|
|
1656
|
+
"description": "Environment name to apply to.",
|
|
1657
|
+
"name": "env",
|
|
1658
|
+
"required": true,
|
|
1635
1659
|
"hasDynamicHelp": false,
|
|
1636
1660
|
"multiple": false,
|
|
1637
1661
|
"type": "option"
|
|
1638
1662
|
},
|
|
1639
1663
|
"force": {
|
|
1640
|
-
"
|
|
1664
|
+
"char": "F",
|
|
1665
|
+
"description": "Skip confirmation prompt.",
|
|
1641
1666
|
"name": "force",
|
|
1642
1667
|
"allowNo": false,
|
|
1643
1668
|
"type": "boolean"
|
|
1644
|
-
}
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
"pluginAlias": "forest-cli",
|
|
1650
|
-
"pluginName": "forest-cli",
|
|
1651
|
-
"pluginType": "core",
|
|
1652
|
-
"strict": true,
|
|
1653
|
-
"isESM": false,
|
|
1654
|
-
"relativePath": [
|
|
1655
|
-
"dist",
|
|
1656
|
-
"commands",
|
|
1657
|
-
"skills",
|
|
1658
|
-
"init.js"
|
|
1659
|
-
]
|
|
1660
|
-
},
|
|
1661
|
-
"skills:update": {
|
|
1662
|
-
"aliases": [],
|
|
1663
|
-
"args": {},
|
|
1664
|
-
"description": "Refresh what `forest skills:init` installed (anti-drift): re-installs the Forest plugin for Claude Code / Codex, and re-copies the skills for the other agents — overwriting the managed files and pruning what was dropped upstream (git shows the diff). Files you wrote yourself are left untouched.",
|
|
1665
|
-
"flags": {
|
|
1666
|
-
"ref": {
|
|
1667
|
-
"description": "Marketplace version (git ref).",
|
|
1668
|
-
"name": "ref",
|
|
1669
|
-
"default": "main",
|
|
1669
|
+
},
|
|
1670
|
+
"projectId": {
|
|
1671
|
+
"char": "p",
|
|
1672
|
+
"description": "Forest project ID.",
|
|
1673
|
+
"name": "projectId",
|
|
1670
1674
|
"hasDynamicHelp": false,
|
|
1671
1675
|
"multiple": false,
|
|
1672
1676
|
"type": "option"
|
|
@@ -1674,7 +1678,7 @@
|
|
|
1674
1678
|
},
|
|
1675
1679
|
"hasDynamicHelp": false,
|
|
1676
1680
|
"hiddenAliases": [],
|
|
1677
|
-
"id": "
|
|
1681
|
+
"id": "roles:apply",
|
|
1678
1682
|
"pluginAlias": "forest-cli",
|
|
1679
1683
|
"pluginName": "forest-cli",
|
|
1680
1684
|
"pluginType": "core",
|
|
@@ -1683,18 +1687,18 @@
|
|
|
1683
1687
|
"relativePath": [
|
|
1684
1688
|
"dist",
|
|
1685
1689
|
"commands",
|
|
1686
|
-
"
|
|
1687
|
-
"
|
|
1690
|
+
"roles",
|
|
1691
|
+
"apply.js"
|
|
1688
1692
|
]
|
|
1689
1693
|
},
|
|
1690
|
-
"
|
|
1694
|
+
"roles:copy": {
|
|
1691
1695
|
"aliases": [],
|
|
1692
1696
|
"args": {},
|
|
1693
|
-
"description": "Copy
|
|
1697
|
+
"description": "Copy role permissions from one environment to another.",
|
|
1694
1698
|
"flags": {
|
|
1695
1699
|
"from": {
|
|
1696
1700
|
"char": "f",
|
|
1697
|
-
"description": "
|
|
1701
|
+
"description": "Source environment name.",
|
|
1698
1702
|
"name": "from",
|
|
1699
1703
|
"required": true,
|
|
1700
1704
|
"hasDynamicHelp": false,
|
|
@@ -1703,7 +1707,7 @@
|
|
|
1703
1707
|
},
|
|
1704
1708
|
"to": {
|
|
1705
1709
|
"char": "t",
|
|
1706
|
-
"description": "
|
|
1710
|
+
"description": "Destination environment name.",
|
|
1707
1711
|
"name": "to",
|
|
1708
1712
|
"required": true,
|
|
1709
1713
|
"hasDynamicHelp": false,
|
|
@@ -1717,17 +1721,11 @@
|
|
|
1717
1721
|
"hasDynamicHelp": false,
|
|
1718
1722
|
"multiple": false,
|
|
1719
1723
|
"type": "option"
|
|
1720
|
-
},
|
|
1721
|
-
"force": {
|
|
1722
|
-
"description": "Skip the confirmation prompt.",
|
|
1723
|
-
"name": "force",
|
|
1724
|
-
"allowNo": false,
|
|
1725
|
-
"type": "boolean"
|
|
1726
1724
|
}
|
|
1727
1725
|
},
|
|
1728
1726
|
"hasDynamicHelp": false,
|
|
1729
1727
|
"hiddenAliases": [],
|
|
1730
|
-
"id": "
|
|
1728
|
+
"id": "roles:copy",
|
|
1731
1729
|
"pluginAlias": "forest-cli",
|
|
1732
1730
|
"pluginName": "forest-cli",
|
|
1733
1731
|
"pluginType": "core",
|
|
@@ -1736,18 +1734,18 @@
|
|
|
1736
1734
|
"relativePath": [
|
|
1737
1735
|
"dist",
|
|
1738
1736
|
"commands",
|
|
1739
|
-
"
|
|
1740
|
-
"copy
|
|
1737
|
+
"roles",
|
|
1738
|
+
"copy.js"
|
|
1741
1739
|
]
|
|
1742
1740
|
},
|
|
1743
|
-
"
|
|
1741
|
+
"roles:create": {
|
|
1744
1742
|
"aliases": [],
|
|
1745
1743
|
"args": {},
|
|
1746
|
-
"description": "Create a new
|
|
1744
|
+
"description": "Create a new role in a project.",
|
|
1747
1745
|
"flags": {
|
|
1748
1746
|
"name": {
|
|
1749
1747
|
"char": "n",
|
|
1750
|
-
"description": "Name of the
|
|
1748
|
+
"description": "Name of the role to create.",
|
|
1751
1749
|
"name": "name",
|
|
1752
1750
|
"required": true,
|
|
1753
1751
|
"hasDynamicHelp": false,
|
|
@@ -1765,7 +1763,7 @@
|
|
|
1765
1763
|
},
|
|
1766
1764
|
"hasDynamicHelp": false,
|
|
1767
1765
|
"hiddenAliases": [],
|
|
1768
|
-
"id": "
|
|
1766
|
+
"id": "roles:create",
|
|
1769
1767
|
"pluginAlias": "forest-cli",
|
|
1770
1768
|
"pluginName": "forest-cli",
|
|
1771
1769
|
"pluginType": "core",
|
|
@@ -1774,19 +1772,19 @@
|
|
|
1774
1772
|
"relativePath": [
|
|
1775
1773
|
"dist",
|
|
1776
1774
|
"commands",
|
|
1777
|
-
"
|
|
1775
|
+
"roles",
|
|
1778
1776
|
"create.js"
|
|
1779
1777
|
]
|
|
1780
1778
|
},
|
|
1781
|
-
"
|
|
1779
|
+
"roles:export": {
|
|
1782
1780
|
"aliases": [],
|
|
1783
1781
|
"args": {},
|
|
1784
|
-
"description": "
|
|
1782
|
+
"description": "Export all roles and their permissions to a wide CSV file.",
|
|
1785
1783
|
"flags": {
|
|
1786
|
-
"
|
|
1787
|
-
"char": "
|
|
1788
|
-
"description": "
|
|
1789
|
-
"name": "
|
|
1784
|
+
"env": {
|
|
1785
|
+
"char": "e",
|
|
1786
|
+
"description": "Environment name to export permissions for.",
|
|
1787
|
+
"name": "env",
|
|
1790
1788
|
"required": true,
|
|
1791
1789
|
"hasDynamicHelp": false,
|
|
1792
1790
|
"multiple": false,
|
|
@@ -1800,16 +1798,18 @@
|
|
|
1800
1798
|
"multiple": false,
|
|
1801
1799
|
"type": "option"
|
|
1802
1800
|
},
|
|
1803
|
-
"
|
|
1804
|
-
"
|
|
1805
|
-
"
|
|
1806
|
-
"
|
|
1807
|
-
"
|
|
1801
|
+
"output": {
|
|
1802
|
+
"char": "o",
|
|
1803
|
+
"description": "Output file path (default: stdout).",
|
|
1804
|
+
"name": "output",
|
|
1805
|
+
"hasDynamicHelp": false,
|
|
1806
|
+
"multiple": false,
|
|
1807
|
+
"type": "option"
|
|
1808
1808
|
}
|
|
1809
1809
|
},
|
|
1810
1810
|
"hasDynamicHelp": false,
|
|
1811
1811
|
"hiddenAliases": [],
|
|
1812
|
-
"id": "
|
|
1812
|
+
"id": "roles:export",
|
|
1813
1813
|
"pluginAlias": "forest-cli",
|
|
1814
1814
|
"pluginName": "forest-cli",
|
|
1815
1815
|
"pluginType": "core",
|
|
@@ -1818,8 +1818,8 @@
|
|
|
1818
1818
|
"relativePath": [
|
|
1819
1819
|
"dist",
|
|
1820
1820
|
"commands",
|
|
1821
|
-
"
|
|
1822
|
-
"
|
|
1821
|
+
"roles",
|
|
1822
|
+
"export.js"
|
|
1823
1823
|
]
|
|
1824
1824
|
},
|
|
1825
1825
|
"users:edit": {
|
|
@@ -3924,5 +3924,5 @@
|
|
|
3924
3924
|
]
|
|
3925
3925
|
}
|
|
3926
3926
|
},
|
|
3927
|
-
"version": "5.27.
|
|
3927
|
+
"version": "5.27.2"
|
|
3928
3928
|
}
|