linear-cli-agents 0.5.1 → 0.6.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.
@@ -448,6 +448,203 @@
448
448
  "status.js"
449
449
  ]
450
450
  },
451
+ "cycles:current": {
452
+ "aliases": [],
453
+ "args": {},
454
+ "description": "Get the current active cycle for a team",
455
+ "examples": [
456
+ "<%= config.bin %> cycles current --team ENG",
457
+ "<%= config.bin %> cycles current --team-id TEAM_ID",
458
+ "<%= config.bin %> cycles current --team ENG --format table"
459
+ ],
460
+ "flags": {
461
+ "format": {
462
+ "char": "F",
463
+ "description": "Output format",
464
+ "name": "format",
465
+ "default": "json",
466
+ "hasDynamicHelp": false,
467
+ "multiple": false,
468
+ "options": [
469
+ "json",
470
+ "table",
471
+ "plain"
472
+ ],
473
+ "type": "option"
474
+ },
475
+ "team-id": {
476
+ "description": "Team ID",
477
+ "exclusive": [
478
+ "team"
479
+ ],
480
+ "name": "team-id",
481
+ "hasDynamicHelp": false,
482
+ "multiple": false,
483
+ "type": "option"
484
+ },
485
+ "team": {
486
+ "description": "Team key (e.g., ENG)",
487
+ "exclusive": [
488
+ "team-id"
489
+ ],
490
+ "name": "team",
491
+ "hasDynamicHelp": false,
492
+ "multiple": false,
493
+ "type": "option"
494
+ }
495
+ },
496
+ "hasDynamicHelp": false,
497
+ "hiddenAliases": [],
498
+ "id": "cycles:current",
499
+ "pluginAlias": "linear-cli-agents",
500
+ "pluginName": "linear-cli-agents",
501
+ "pluginType": "core",
502
+ "strict": true,
503
+ "enableJsonFlag": false,
504
+ "isESM": true,
505
+ "relativePath": [
506
+ "dist",
507
+ "commands",
508
+ "cycles",
509
+ "current.js"
510
+ ]
511
+ },
512
+ "cycles:get": {
513
+ "aliases": [],
514
+ "args": {
515
+ "id": {
516
+ "description": "Cycle ID",
517
+ "name": "id",
518
+ "required": true
519
+ }
520
+ },
521
+ "description": "Get cycle (sprint) details",
522
+ "examples": [
523
+ "<%= config.bin %> cycles get CYCLE_ID",
524
+ "<%= config.bin %> cycles get CYCLE_ID --format table"
525
+ ],
526
+ "flags": {
527
+ "format": {
528
+ "char": "F",
529
+ "description": "Output format",
530
+ "name": "format",
531
+ "default": "json",
532
+ "hasDynamicHelp": false,
533
+ "multiple": false,
534
+ "options": [
535
+ "json",
536
+ "table",
537
+ "plain"
538
+ ],
539
+ "type": "option"
540
+ }
541
+ },
542
+ "hasDynamicHelp": false,
543
+ "hiddenAliases": [],
544
+ "id": "cycles:get",
545
+ "pluginAlias": "linear-cli-agents",
546
+ "pluginName": "linear-cli-agents",
547
+ "pluginType": "core",
548
+ "strict": true,
549
+ "enableJsonFlag": false,
550
+ "isESM": true,
551
+ "relativePath": [
552
+ "dist",
553
+ "commands",
554
+ "cycles",
555
+ "get.js"
556
+ ]
557
+ },
558
+ "cycles:list": {
559
+ "aliases": [],
560
+ "args": {},
561
+ "description": "List cycles (sprints)",
562
+ "examples": [
563
+ "<%= config.bin %> cycles list",
564
+ "<%= config.bin %> cycles list --team-id TEAM_ID",
565
+ "<%= config.bin %> cycles list --team ENG",
566
+ "<%= config.bin %> cycles list --format table",
567
+ "<%= config.bin %> cycles list --active"
568
+ ],
569
+ "flags": {
570
+ "format": {
571
+ "char": "F",
572
+ "description": "Output format",
573
+ "name": "format",
574
+ "default": "json",
575
+ "hasDynamicHelp": false,
576
+ "multiple": false,
577
+ "options": [
578
+ "json",
579
+ "table",
580
+ "plain"
581
+ ],
582
+ "type": "option"
583
+ },
584
+ "team-id": {
585
+ "description": "Filter by team ID",
586
+ "name": "team-id",
587
+ "hasDynamicHelp": false,
588
+ "multiple": false,
589
+ "type": "option"
590
+ },
591
+ "team": {
592
+ "description": "Filter by team key (e.g., ENG)",
593
+ "name": "team",
594
+ "hasDynamicHelp": false,
595
+ "multiple": false,
596
+ "type": "option"
597
+ },
598
+ "active": {
599
+ "description": "Show only active cycles",
600
+ "name": "active",
601
+ "allowNo": false,
602
+ "type": "boolean"
603
+ },
604
+ "upcoming": {
605
+ "description": "Show only upcoming cycles",
606
+ "name": "upcoming",
607
+ "allowNo": false,
608
+ "type": "boolean"
609
+ },
610
+ "completed": {
611
+ "description": "Show only completed cycles",
612
+ "name": "completed",
613
+ "allowNo": false,
614
+ "type": "boolean"
615
+ },
616
+ "first": {
617
+ "description": "Number of cycles to fetch (default: 50)",
618
+ "name": "first",
619
+ "default": 50,
620
+ "hasDynamicHelp": false,
621
+ "multiple": false,
622
+ "type": "option"
623
+ },
624
+ "after": {
625
+ "description": "Cursor for pagination",
626
+ "name": "after",
627
+ "hasDynamicHelp": false,
628
+ "multiple": false,
629
+ "type": "option"
630
+ }
631
+ },
632
+ "hasDynamicHelp": false,
633
+ "hiddenAliases": [],
634
+ "id": "cycles:list",
635
+ "pluginAlias": "linear-cli-agents",
636
+ "pluginName": "linear-cli-agents",
637
+ "pluginType": "core",
638
+ "strict": true,
639
+ "enableJsonFlag": false,
640
+ "isESM": true,
641
+ "relativePath": [
642
+ "dist",
643
+ "commands",
644
+ "cycles",
645
+ "list.js"
646
+ ]
647
+ },
451
648
  "comments:add": {
452
649
  "aliases": [],
453
650
  "args": {
@@ -754,15 +951,18 @@
754
951
  "set.js"
755
952
  ]
756
953
  },
757
- "labels:create": {
954
+ "issues:add-labels": {
758
955
  "aliases": [],
759
- "args": {},
760
- "description": "Create a label",
956
+ "args": {
957
+ "id": {
958
+ "description": "Issue ID or identifier (e.g., ENG-123)",
959
+ "name": "id",
960
+ "required": true
961
+ }
962
+ },
963
+ "description": "Add labels to an issue",
761
964
  "examples": [
762
- "<%= config.bin %> labels create --name \"Bug\" --color \"#FF0000\"",
763
- "<%= config.bin %> labels create --name \"Feature\" --color \"#00FF00\" --description \"New feature requests\"",
764
- "<%= config.bin %> labels create --name \"Backend\" --color \"#0000FF\" --team-id TEAM_ID",
765
- "<%= config.bin %> labels create --name \"API\" --color \"#FF00FF\" --parent-id PARENT_LABEL_ID"
965
+ "<%= config.bin %> issues add-labels ENG-123 --label-ids LABEL_ID1,LABEL_ID2"
766
966
  ],
767
967
  "flags": {
768
968
  "format": {
@@ -779,50 +979,18 @@
779
979
  ],
780
980
  "type": "option"
781
981
  },
782
- "name": {
783
- "char": "n",
784
- "description": "Label name",
785
- "name": "name",
786
- "required": true,
787
- "hasDynamicHelp": false,
788
- "multiple": false,
789
- "type": "option"
790
- },
791
- "color": {
792
- "char": "c",
793
- "description": "Label color (hex, e.g., #FF0000)",
794
- "name": "color",
982
+ "label-ids": {
983
+ "description": "Comma-separated label IDs to add",
984
+ "name": "label-ids",
795
985
  "required": true,
796
986
  "hasDynamicHelp": false,
797
987
  "multiple": false,
798
988
  "type": "option"
799
- },
800
- "description": {
801
- "char": "d",
802
- "description": "Label description",
803
- "name": "description",
804
- "hasDynamicHelp": false,
805
- "multiple": false,
806
- "type": "option"
807
- },
808
- "team-id": {
809
- "description": "Team ID (for team-specific labels)",
810
- "name": "team-id",
811
- "hasDynamicHelp": false,
812
- "multiple": false,
813
- "type": "option"
814
- },
815
- "parent-id": {
816
- "description": "Parent label ID (for nested labels)",
817
- "name": "parent-id",
818
- "hasDynamicHelp": false,
819
- "multiple": false,
820
- "type": "option"
821
989
  }
822
990
  },
823
991
  "hasDynamicHelp": false,
824
992
  "hiddenAliases": [],
825
- "id": "labels:create",
993
+ "id": "issues:add-labels",
826
994
  "pluginAlias": "linear-cli-agents",
827
995
  "pluginName": "linear-cli-agents",
828
996
  "pluginType": "core",
@@ -832,22 +1000,23 @@
832
1000
  "relativePath": [
833
1001
  "dist",
834
1002
  "commands",
835
- "labels",
836
- "create.js"
1003
+ "issues",
1004
+ "add-labels.js"
837
1005
  ]
838
1006
  },
839
- "labels:delete": {
1007
+ "issues:archive": {
840
1008
  "aliases": [],
841
1009
  "args": {
842
1010
  "id": {
843
- "description": "Label ID",
1011
+ "description": "Issue ID or identifier (e.g., ENG-123)",
844
1012
  "name": "id",
845
1013
  "required": true
846
1014
  }
847
1015
  },
848
- "description": "Delete a label",
1016
+ "description": "Archive an issue",
849
1017
  "examples": [
850
- "<%= config.bin %> labels delete LABEL_ID"
1018
+ "<%= config.bin %> issues archive ENG-123",
1019
+ "<%= config.bin %> issues archive ENG-123 --unarchive"
851
1020
  ],
852
1021
  "flags": {
853
1022
  "format": {
@@ -863,11 +1032,18 @@
863
1032
  "plain"
864
1033
  ],
865
1034
  "type": "option"
1035
+ },
1036
+ "unarchive": {
1037
+ "char": "u",
1038
+ "description": "Unarchive instead of archive",
1039
+ "name": "unarchive",
1040
+ "allowNo": false,
1041
+ "type": "boolean"
866
1042
  }
867
1043
  },
868
1044
  "hasDynamicHelp": false,
869
1045
  "hiddenAliases": [],
870
- "id": "labels:delete",
1046
+ "id": "issues:archive",
871
1047
  "pluginAlias": "linear-cli-agents",
872
1048
  "pluginName": "linear-cli-agents",
873
1049
  "pluginType": "core",
@@ -877,266 +1053,18 @@
877
1053
  "relativePath": [
878
1054
  "dist",
879
1055
  "commands",
880
- "labels",
881
- "delete.js"
1056
+ "issues",
1057
+ "archive.js"
882
1058
  ]
883
1059
  },
884
- "labels:list": {
1060
+ "issues:bulk-label": {
885
1061
  "aliases": [],
886
1062
  "args": {},
887
- "description": "List labels in the workspace",
1063
+ "description": "Add or remove labels from multiple issues",
888
1064
  "examples": [
889
- "<%= config.bin %> labels list",
890
- "<%= config.bin %> labels list --format table",
891
- "<%= config.bin %> labels list --team ENG"
892
- ],
893
- "flags": {
894
- "format": {
895
- "char": "F",
896
- "description": "Output format",
897
- "name": "format",
898
- "default": "json",
899
- "hasDynamicHelp": false,
900
- "multiple": false,
901
- "options": [
902
- "json",
903
- "table",
904
- "plain"
905
- ],
906
- "type": "option"
907
- },
908
- "team": {
909
- "char": "t",
910
- "description": "Filter by team key (e.g., ENG)",
911
- "name": "team",
912
- "hasDynamicHelp": false,
913
- "multiple": false,
914
- "type": "option"
915
- },
916
- "first": {
917
- "description": "Number of labels to fetch (default: 100)",
918
- "name": "first",
919
- "default": 100,
920
- "hasDynamicHelp": false,
921
- "multiple": false,
922
- "type": "option"
923
- },
924
- "after": {
925
- "description": "Cursor for pagination",
926
- "name": "after",
927
- "hasDynamicHelp": false,
928
- "multiple": false,
929
- "type": "option"
930
- }
931
- },
932
- "hasDynamicHelp": false,
933
- "hiddenAliases": [],
934
- "id": "labels:list",
935
- "pluginAlias": "linear-cli-agents",
936
- "pluginName": "linear-cli-agents",
937
- "pluginType": "core",
938
- "strict": true,
939
- "enableJsonFlag": false,
940
- "isESM": true,
941
- "relativePath": [
942
- "dist",
943
- "commands",
944
- "labels",
945
- "list.js"
946
- ]
947
- },
948
- "labels:update": {
949
- "aliases": [],
950
- "args": {
951
- "id": {
952
- "description": "Label ID",
953
- "name": "id",
954
- "required": true
955
- }
956
- },
957
- "description": "Update a label",
958
- "examples": [
959
- "<%= config.bin %> labels update LABEL_ID --name \"Updated Name\"",
960
- "<%= config.bin %> labels update LABEL_ID --color \"#00FF00\"",
961
- "<%= config.bin %> labels update LABEL_ID --description \"New description\""
962
- ],
963
- "flags": {
964
- "format": {
965
- "char": "F",
966
- "description": "Output format",
967
- "name": "format",
968
- "default": "json",
969
- "hasDynamicHelp": false,
970
- "multiple": false,
971
- "options": [
972
- "json",
973
- "table",
974
- "plain"
975
- ],
976
- "type": "option"
977
- },
978
- "name": {
979
- "char": "n",
980
- "description": "Label name",
981
- "name": "name",
982
- "hasDynamicHelp": false,
983
- "multiple": false,
984
- "type": "option"
985
- },
986
- "color": {
987
- "char": "c",
988
- "description": "Label color (hex, e.g., #FF0000)",
989
- "name": "color",
990
- "hasDynamicHelp": false,
991
- "multiple": false,
992
- "type": "option"
993
- },
994
- "description": {
995
- "char": "d",
996
- "description": "Label description",
997
- "name": "description",
998
- "hasDynamicHelp": false,
999
- "multiple": false,
1000
- "type": "option"
1001
- },
1002
- "parent-id": {
1003
- "description": "Parent label ID",
1004
- "name": "parent-id",
1005
- "hasDynamicHelp": false,
1006
- "multiple": false,
1007
- "type": "option"
1008
- }
1009
- },
1010
- "hasDynamicHelp": false,
1011
- "hiddenAliases": [],
1012
- "id": "labels:update",
1013
- "pluginAlias": "linear-cli-agents",
1014
- "pluginName": "linear-cli-agents",
1015
- "pluginType": "core",
1016
- "strict": true,
1017
- "enableJsonFlag": false,
1018
- "isESM": true,
1019
- "relativePath": [
1020
- "dist",
1021
- "commands",
1022
- "labels",
1023
- "update.js"
1024
- ]
1025
- },
1026
- "issues:add-labels": {
1027
- "aliases": [],
1028
- "args": {
1029
- "id": {
1030
- "description": "Issue ID or identifier (e.g., ENG-123)",
1031
- "name": "id",
1032
- "required": true
1033
- }
1034
- },
1035
- "description": "Add labels to an issue",
1036
- "examples": [
1037
- "<%= config.bin %> issues add-labels ENG-123 --label-ids LABEL_ID1,LABEL_ID2"
1038
- ],
1039
- "flags": {
1040
- "format": {
1041
- "char": "F",
1042
- "description": "Output format",
1043
- "name": "format",
1044
- "default": "json",
1045
- "hasDynamicHelp": false,
1046
- "multiple": false,
1047
- "options": [
1048
- "json",
1049
- "table",
1050
- "plain"
1051
- ],
1052
- "type": "option"
1053
- },
1054
- "label-ids": {
1055
- "description": "Comma-separated label IDs to add",
1056
- "name": "label-ids",
1057
- "required": true,
1058
- "hasDynamicHelp": false,
1059
- "multiple": false,
1060
- "type": "option"
1061
- }
1062
- },
1063
- "hasDynamicHelp": false,
1064
- "hiddenAliases": [],
1065
- "id": "issues:add-labels",
1066
- "pluginAlias": "linear-cli-agents",
1067
- "pluginName": "linear-cli-agents",
1068
- "pluginType": "core",
1069
- "strict": true,
1070
- "enableJsonFlag": false,
1071
- "isESM": true,
1072
- "relativePath": [
1073
- "dist",
1074
- "commands",
1075
- "issues",
1076
- "add-labels.js"
1077
- ]
1078
- },
1079
- "issues:archive": {
1080
- "aliases": [],
1081
- "args": {
1082
- "id": {
1083
- "description": "Issue ID or identifier (e.g., ENG-123)",
1084
- "name": "id",
1085
- "required": true
1086
- }
1087
- },
1088
- "description": "Archive an issue",
1089
- "examples": [
1090
- "<%= config.bin %> issues archive ENG-123",
1091
- "<%= config.bin %> issues archive ENG-123 --unarchive"
1092
- ],
1093
- "flags": {
1094
- "format": {
1095
- "char": "F",
1096
- "description": "Output format",
1097
- "name": "format",
1098
- "default": "json",
1099
- "hasDynamicHelp": false,
1100
- "multiple": false,
1101
- "options": [
1102
- "json",
1103
- "table",
1104
- "plain"
1105
- ],
1106
- "type": "option"
1107
- },
1108
- "unarchive": {
1109
- "char": "u",
1110
- "description": "Unarchive instead of archive",
1111
- "name": "unarchive",
1112
- "allowNo": false,
1113
- "type": "boolean"
1114
- }
1115
- },
1116
- "hasDynamicHelp": false,
1117
- "hiddenAliases": [],
1118
- "id": "issues:archive",
1119
- "pluginAlias": "linear-cli-agents",
1120
- "pluginName": "linear-cli-agents",
1121
- "pluginType": "core",
1122
- "strict": true,
1123
- "enableJsonFlag": false,
1124
- "isESM": true,
1125
- "relativePath": [
1126
- "dist",
1127
- "commands",
1128
- "issues",
1129
- "archive.js"
1130
- ]
1131
- },
1132
- "issues:bulk-label": {
1133
- "aliases": [],
1134
- "args": {},
1135
- "description": "Add or remove labels from multiple issues",
1136
- "examples": [
1137
- "<%= config.bin %> issues bulk-label --ids ENG-1,ENG-2,ENG-3 --add-labels LABEL_ID1,LABEL_ID2",
1138
- "<%= config.bin %> issues bulk-label --ids ENG-1,ENG-2 --remove-labels LABEL_ID1",
1139
- "<%= config.bin %> issues bulk-label --ids ENG-1,ENG-2,ENG-3 --add-labels LABEL_ID1 --remove-labels LABEL_ID2"
1065
+ "<%= config.bin %> issues bulk-label --ids ENG-1,ENG-2,ENG-3 --add-labels LABEL_ID1,LABEL_ID2",
1066
+ "<%= config.bin %> issues bulk-label --ids ENG-1,ENG-2 --remove-labels LABEL_ID1",
1067
+ "<%= config.bin %> issues bulk-label --ids ENG-1,ENG-2,ENG-3 --add-labels LABEL_ID1 --remove-labels LABEL_ID2"
1140
1068
  ],
1141
1069
  "flags": {
1142
1070
  "ids": {
@@ -1699,7 +1627,7 @@
1699
1627
  "update.js"
1700
1628
  ]
1701
1629
  },
1702
- "project-updates:create": {
1630
+ "milestones:create": {
1703
1631
  "aliases": [],
1704
1632
  "args": {
1705
1633
  "projectId": {
@@ -1708,10 +1636,10 @@
1708
1636
  "required": true
1709
1637
  }
1710
1638
  },
1711
- "description": "Create a project update",
1639
+ "description": "Create a project milestone",
1712
1640
  "examples": [
1713
- "<%= config.bin %> project-updates create PROJECT_ID --body \"Sprint completed successfully\"",
1714
- "<%= config.bin %> project-updates create PROJECT_ID --body \"Delayed due to dependencies\" --health atRisk"
1641
+ "<%= config.bin %> milestones create PROJECT_ID --name \"Beta Release\"",
1642
+ "<%= config.bin %> milestones create PROJECT_ID --name \"Launch\" --target-date 2024-03-01"
1715
1643
  ],
1716
1644
  "flags": {
1717
1645
  "format": {
@@ -1728,33 +1656,34 @@
1728
1656
  ],
1729
1657
  "type": "option"
1730
1658
  },
1731
- "body": {
1732
- "char": "b",
1733
- "description": "Update body (supports markdown)",
1734
- "name": "body",
1659
+ "name": {
1660
+ "char": "n",
1661
+ "description": "Milestone name",
1662
+ "name": "name",
1735
1663
  "required": true,
1736
1664
  "hasDynamicHelp": false,
1737
1665
  "multiple": false,
1738
1666
  "type": "option"
1739
1667
  },
1740
- "health": {
1741
- "char": "h",
1742
- "description": "Project health status",
1743
- "name": "health",
1744
- "default": "onTrack",
1668
+ "description": {
1669
+ "char": "d",
1670
+ "description": "Milestone description",
1671
+ "name": "description",
1672
+ "hasDynamicHelp": false,
1673
+ "multiple": false,
1674
+ "type": "option"
1675
+ },
1676
+ "target-date": {
1677
+ "description": "Target date (YYYY-MM-DD)",
1678
+ "name": "target-date",
1745
1679
  "hasDynamicHelp": false,
1746
1680
  "multiple": false,
1747
- "options": [
1748
- "onTrack",
1749
- "atRisk",
1750
- "offTrack"
1751
- ],
1752
1681
  "type": "option"
1753
1682
  }
1754
1683
  },
1755
1684
  "hasDynamicHelp": false,
1756
1685
  "hiddenAliases": [],
1757
- "id": "project-updates:create",
1686
+ "id": "milestones:create",
1758
1687
  "pluginAlias": "linear-cli-agents",
1759
1688
  "pluginName": "linear-cli-agents",
1760
1689
  "pluginType": "core",
@@ -1764,23 +1693,23 @@
1764
1693
  "relativePath": [
1765
1694
  "dist",
1766
1695
  "commands",
1767
- "project-updates",
1696
+ "milestones",
1768
1697
  "create.js"
1769
1698
  ]
1770
1699
  },
1771
- "project-updates:get": {
1700
+ "milestones:get": {
1772
1701
  "aliases": [],
1773
1702
  "args": {
1774
1703
  "id": {
1775
- "description": "Project update ID",
1704
+ "description": "Milestone ID",
1776
1705
  "name": "id",
1777
1706
  "required": true
1778
1707
  }
1779
1708
  },
1780
- "description": "Get a project update by ID",
1709
+ "description": "Get a project milestone by ID",
1781
1710
  "examples": [
1782
- "<%= config.bin %> project-updates get UPDATE_ID",
1783
- "<%= config.bin %> project-updates get UPDATE_ID --format table"
1711
+ "<%= config.bin %> milestones get MILESTONE_ID",
1712
+ "<%= config.bin %> milestones get MILESTONE_ID --format table"
1784
1713
  ],
1785
1714
  "flags": {
1786
1715
  "format": {
@@ -1800,7 +1729,7 @@
1800
1729
  },
1801
1730
  "hasDynamicHelp": false,
1802
1731
  "hiddenAliases": [],
1803
- "id": "project-updates:get",
1732
+ "id": "milestones:get",
1804
1733
  "pluginAlias": "linear-cli-agents",
1805
1734
  "pluginName": "linear-cli-agents",
1806
1735
  "pluginType": "core",
@@ -1810,11 +1739,11 @@
1810
1739
  "relativePath": [
1811
1740
  "dist",
1812
1741
  "commands",
1813
- "project-updates",
1742
+ "milestones",
1814
1743
  "get.js"
1815
1744
  ]
1816
1745
  },
1817
- "project-updates:list": {
1746
+ "milestones:list": {
1818
1747
  "aliases": [],
1819
1748
  "args": {
1820
1749
  "projectId": {
@@ -1823,10 +1752,10 @@
1823
1752
  "required": true
1824
1753
  }
1825
1754
  },
1826
- "description": "List project updates",
1755
+ "description": "List project milestones",
1827
1756
  "examples": [
1828
- "<%= config.bin %> project-updates list PROJECT_ID",
1829
- "<%= config.bin %> project-updates list PROJECT_ID --format table"
1757
+ "<%= config.bin %> milestones list PROJECT_ID",
1758
+ "<%= config.bin %> milestones list PROJECT_ID --format table"
1830
1759
  ],
1831
1760
  "flags": {
1832
1761
  "format": {
@@ -1844,9 +1773,9 @@
1844
1773
  "type": "option"
1845
1774
  },
1846
1775
  "first": {
1847
- "description": "Number of updates to fetch (default: 20)",
1776
+ "description": "Number of milestones to fetch (default: 50)",
1848
1777
  "name": "first",
1849
- "default": 20,
1778
+ "default": 50,
1850
1779
  "hasDynamicHelp": false,
1851
1780
  "multiple": false,
1852
1781
  "type": "option"
@@ -1861,7 +1790,7 @@
1861
1790
  },
1862
1791
  "hasDynamicHelp": false,
1863
1792
  "hiddenAliases": [],
1864
- "id": "project-updates:list",
1793
+ "id": "milestones:list",
1865
1794
  "pluginAlias": "linear-cli-agents",
1866
1795
  "pluginName": "linear-cli-agents",
1867
1796
  "pluginType": "core",
@@ -1871,23 +1800,23 @@
1871
1800
  "relativePath": [
1872
1801
  "dist",
1873
1802
  "commands",
1874
- "project-updates",
1803
+ "milestones",
1875
1804
  "list.js"
1876
1805
  ]
1877
1806
  },
1878
- "project-updates:update": {
1807
+ "milestones:update": {
1879
1808
  "aliases": [],
1880
1809
  "args": {
1881
1810
  "id": {
1882
- "description": "Project update ID",
1811
+ "description": "Milestone ID",
1883
1812
  "name": "id",
1884
1813
  "required": true
1885
1814
  }
1886
1815
  },
1887
- "description": "Update a project update",
1816
+ "description": "Update a project milestone",
1888
1817
  "examples": [
1889
- "<%= config.bin %> project-updates update UPDATE_ID --body \"Updated status\"",
1890
- "<%= config.bin %> project-updates update UPDATE_ID --health offTrack"
1818
+ "<%= config.bin %> milestones update MILESTONE_ID --name \"Updated Name\"",
1819
+ "<%= config.bin %> milestones update MILESTONE_ID --target-date 2024-06-01"
1891
1820
  ],
1892
1821
  "flags": {
1893
1822
  "format": {
@@ -1904,31 +1833,33 @@
1904
1833
  ],
1905
1834
  "type": "option"
1906
1835
  },
1907
- "body": {
1908
- "char": "b",
1909
- "description": "Update body (supports markdown)",
1910
- "name": "body",
1836
+ "name": {
1837
+ "char": "n",
1838
+ "description": "Milestone name",
1839
+ "name": "name",
1911
1840
  "hasDynamicHelp": false,
1912
1841
  "multiple": false,
1913
1842
  "type": "option"
1914
1843
  },
1915
- "health": {
1916
- "char": "h",
1917
- "description": "Project health status",
1918
- "name": "health",
1844
+ "description": {
1845
+ "char": "d",
1846
+ "description": "Milestone description",
1847
+ "name": "description",
1848
+ "hasDynamicHelp": false,
1849
+ "multiple": false,
1850
+ "type": "option"
1851
+ },
1852
+ "target-date": {
1853
+ "description": "Target date (YYYY-MM-DD)",
1854
+ "name": "target-date",
1919
1855
  "hasDynamicHelp": false,
1920
1856
  "multiple": false,
1921
- "options": [
1922
- "onTrack",
1923
- "atRisk",
1924
- "offTrack"
1925
- ],
1926
1857
  "type": "option"
1927
1858
  }
1928
1859
  },
1929
1860
  "hasDynamicHelp": false,
1930
1861
  "hiddenAliases": [],
1931
- "id": "project-updates:update",
1862
+ "id": "milestones:update",
1932
1863
  "pluginAlias": "linear-cli-agents",
1933
1864
  "pluginName": "linear-cli-agents",
1934
1865
  "pluginType": "core",
@@ -1938,23 +1869,19 @@
1938
1869
  "relativePath": [
1939
1870
  "dist",
1940
1871
  "commands",
1941
- "project-updates",
1872
+ "milestones",
1942
1873
  "update.js"
1943
1874
  ]
1944
1875
  },
1945
- "milestones:create": {
1876
+ "labels:create": {
1946
1877
  "aliases": [],
1947
- "args": {
1948
- "projectId": {
1949
- "description": "Project ID",
1950
- "name": "projectId",
1951
- "required": true
1952
- }
1953
- },
1954
- "description": "Create a project milestone",
1878
+ "args": {},
1879
+ "description": "Create a label",
1955
1880
  "examples": [
1956
- "<%= config.bin %> milestones create PROJECT_ID --name \"Beta Release\"",
1957
- "<%= config.bin %> milestones create PROJECT_ID --name \"Launch\" --target-date 2024-03-01"
1881
+ "<%= config.bin %> labels create --name \"Bug\" --color \"#FF0000\"",
1882
+ "<%= config.bin %> labels create --name \"Feature\" --color \"#00FF00\" --description \"New feature requests\"",
1883
+ "<%= config.bin %> labels create --name \"Backend\" --color \"#0000FF\" --team-id TEAM_ID",
1884
+ "<%= config.bin %> labels create --name \"API\" --color \"#FF00FF\" --parent-id PARENT_LABEL_ID"
1958
1885
  ],
1959
1886
  "flags": {
1960
1887
  "format": {
@@ -1973,24 +1900,40 @@
1973
1900
  },
1974
1901
  "name": {
1975
1902
  "char": "n",
1976
- "description": "Milestone name",
1903
+ "description": "Label name",
1977
1904
  "name": "name",
1978
1905
  "required": true,
1979
1906
  "hasDynamicHelp": false,
1980
1907
  "multiple": false,
1981
1908
  "type": "option"
1982
1909
  },
1910
+ "color": {
1911
+ "char": "c",
1912
+ "description": "Label color (hex, e.g., #FF0000)",
1913
+ "name": "color",
1914
+ "required": true,
1915
+ "hasDynamicHelp": false,
1916
+ "multiple": false,
1917
+ "type": "option"
1918
+ },
1983
1919
  "description": {
1984
1920
  "char": "d",
1985
- "description": "Milestone description",
1921
+ "description": "Label description",
1986
1922
  "name": "description",
1987
1923
  "hasDynamicHelp": false,
1988
1924
  "multiple": false,
1989
1925
  "type": "option"
1990
1926
  },
1991
- "target-date": {
1992
- "description": "Target date (YYYY-MM-DD)",
1993
- "name": "target-date",
1927
+ "team-id": {
1928
+ "description": "Team ID (for team-specific labels)",
1929
+ "name": "team-id",
1930
+ "hasDynamicHelp": false,
1931
+ "multiple": false,
1932
+ "type": "option"
1933
+ },
1934
+ "parent-id": {
1935
+ "description": "Parent label ID (for nested labels)",
1936
+ "name": "parent-id",
1994
1937
  "hasDynamicHelp": false,
1995
1938
  "multiple": false,
1996
1939
  "type": "option"
@@ -1998,7 +1941,7 @@
1998
1941
  },
1999
1942
  "hasDynamicHelp": false,
2000
1943
  "hiddenAliases": [],
2001
- "id": "milestones:create",
1944
+ "id": "labels:create",
2002
1945
  "pluginAlias": "linear-cli-agents",
2003
1946
  "pluginName": "linear-cli-agents",
2004
1947
  "pluginType": "core",
@@ -2008,23 +1951,22 @@
2008
1951
  "relativePath": [
2009
1952
  "dist",
2010
1953
  "commands",
2011
- "milestones",
1954
+ "labels",
2012
1955
  "create.js"
2013
1956
  ]
2014
1957
  },
2015
- "milestones:get": {
1958
+ "labels:delete": {
2016
1959
  "aliases": [],
2017
1960
  "args": {
2018
1961
  "id": {
2019
- "description": "Milestone ID",
1962
+ "description": "Label ID",
2020
1963
  "name": "id",
2021
1964
  "required": true
2022
1965
  }
2023
1966
  },
2024
- "description": "Get a project milestone by ID",
1967
+ "description": "Delete a label",
2025
1968
  "examples": [
2026
- "<%= config.bin %> milestones get MILESTONE_ID",
2027
- "<%= config.bin %> milestones get MILESTONE_ID --format table"
1969
+ "<%= config.bin %> labels delete LABEL_ID"
2028
1970
  ],
2029
1971
  "flags": {
2030
1972
  "format": {
@@ -2044,7 +1986,7 @@
2044
1986
  },
2045
1987
  "hasDynamicHelp": false,
2046
1988
  "hiddenAliases": [],
2047
- "id": "milestones:get",
1989
+ "id": "labels:delete",
2048
1990
  "pluginAlias": "linear-cli-agents",
2049
1991
  "pluginName": "linear-cli-agents",
2050
1992
  "pluginType": "core",
@@ -2054,23 +1996,18 @@
2054
1996
  "relativePath": [
2055
1997
  "dist",
2056
1998
  "commands",
2057
- "milestones",
2058
- "get.js"
1999
+ "labels",
2000
+ "delete.js"
2059
2001
  ]
2060
2002
  },
2061
- "milestones:list": {
2003
+ "labels:list": {
2062
2004
  "aliases": [],
2063
- "args": {
2064
- "projectId": {
2065
- "description": "Project ID",
2066
- "name": "projectId",
2067
- "required": true
2068
- }
2069
- },
2070
- "description": "List project milestones",
2005
+ "args": {},
2006
+ "description": "List labels in the workspace",
2071
2007
  "examples": [
2072
- "<%= config.bin %> milestones list PROJECT_ID",
2073
- "<%= config.bin %> milestones list PROJECT_ID --format table"
2008
+ "<%= config.bin %> labels list",
2009
+ "<%= config.bin %> labels list --format table",
2010
+ "<%= config.bin %> labels list --team ENG"
2074
2011
  ],
2075
2012
  "flags": {
2076
2013
  "format": {
@@ -2087,10 +2024,18 @@
2087
2024
  ],
2088
2025
  "type": "option"
2089
2026
  },
2027
+ "team": {
2028
+ "char": "t",
2029
+ "description": "Filter by team key (e.g., ENG)",
2030
+ "name": "team",
2031
+ "hasDynamicHelp": false,
2032
+ "multiple": false,
2033
+ "type": "option"
2034
+ },
2090
2035
  "first": {
2091
- "description": "Number of milestones to fetch (default: 50)",
2036
+ "description": "Number of labels to fetch (default: 100)",
2092
2037
  "name": "first",
2093
- "default": 50,
2038
+ "default": 100,
2094
2039
  "hasDynamicHelp": false,
2095
2040
  "multiple": false,
2096
2041
  "type": "option"
@@ -2105,7 +2050,7 @@
2105
2050
  },
2106
2051
  "hasDynamicHelp": false,
2107
2052
  "hiddenAliases": [],
2108
- "id": "milestones:list",
2053
+ "id": "labels:list",
2109
2054
  "pluginAlias": "linear-cli-agents",
2110
2055
  "pluginName": "linear-cli-agents",
2111
2056
  "pluginType": "core",
@@ -2115,23 +2060,24 @@
2115
2060
  "relativePath": [
2116
2061
  "dist",
2117
2062
  "commands",
2118
- "milestones",
2063
+ "labels",
2119
2064
  "list.js"
2120
2065
  ]
2121
2066
  },
2122
- "milestones:update": {
2067
+ "labels:update": {
2123
2068
  "aliases": [],
2124
2069
  "args": {
2125
2070
  "id": {
2126
- "description": "Milestone ID",
2071
+ "description": "Label ID",
2127
2072
  "name": "id",
2128
2073
  "required": true
2129
2074
  }
2130
2075
  },
2131
- "description": "Update a project milestone",
2076
+ "description": "Update a label",
2132
2077
  "examples": [
2133
- "<%= config.bin %> milestones update MILESTONE_ID --name \"Updated Name\"",
2134
- "<%= config.bin %> milestones update MILESTONE_ID --target-date 2024-06-01"
2078
+ "<%= config.bin %> labels update LABEL_ID --name \"Updated Name\"",
2079
+ "<%= config.bin %> labels update LABEL_ID --color \"#00FF00\"",
2080
+ "<%= config.bin %> labels update LABEL_ID --description \"New description\""
2135
2081
  ],
2136
2082
  "flags": {
2137
2083
  "format": {
@@ -2150,23 +2096,31 @@
2150
2096
  },
2151
2097
  "name": {
2152
2098
  "char": "n",
2153
- "description": "Milestone name",
2099
+ "description": "Label name",
2154
2100
  "name": "name",
2155
2101
  "hasDynamicHelp": false,
2156
2102
  "multiple": false,
2157
2103
  "type": "option"
2158
2104
  },
2105
+ "color": {
2106
+ "char": "c",
2107
+ "description": "Label color (hex, e.g., #FF0000)",
2108
+ "name": "color",
2109
+ "hasDynamicHelp": false,
2110
+ "multiple": false,
2111
+ "type": "option"
2112
+ },
2159
2113
  "description": {
2160
2114
  "char": "d",
2161
- "description": "Milestone description",
2115
+ "description": "Label description",
2162
2116
  "name": "description",
2163
2117
  "hasDynamicHelp": false,
2164
2118
  "multiple": false,
2165
2119
  "type": "option"
2166
2120
  },
2167
- "target-date": {
2168
- "description": "Target date (YYYY-MM-DD)",
2169
- "name": "target-date",
2121
+ "parent-id": {
2122
+ "description": "Parent label ID",
2123
+ "name": "parent-id",
2170
2124
  "hasDynamicHelp": false,
2171
2125
  "multiple": false,
2172
2126
  "type": "option"
@@ -2174,7 +2128,7 @@
2174
2128
  },
2175
2129
  "hasDynamicHelp": false,
2176
2130
  "hiddenAliases": [],
2177
- "id": "milestones:update",
2131
+ "id": "labels:update",
2178
2132
  "pluginAlias": "linear-cli-agents",
2179
2133
  "pluginName": "linear-cli-agents",
2180
2134
  "pluginType": "core",
@@ -2184,29 +2138,23 @@
2184
2138
  "relativePath": [
2185
2139
  "dist",
2186
2140
  "commands",
2187
- "milestones",
2141
+ "labels",
2188
2142
  "update.js"
2189
2143
  ]
2190
2144
  },
2191
- "relations:create": {
2145
+ "project-updates:create": {
2192
2146
  "aliases": [],
2193
2147
  "args": {
2194
- "issue": {
2195
- "description": "Source issue ID or identifier (e.g., ENG-123)",
2196
- "name": "issue",
2197
- "required": true
2198
- },
2199
- "relatedIssue": {
2200
- "description": "Related issue ID or identifier (e.g., ENG-456)",
2201
- "name": "relatedIssue",
2148
+ "projectId": {
2149
+ "description": "Project ID",
2150
+ "name": "projectId",
2202
2151
  "required": true
2203
2152
  }
2204
2153
  },
2205
- "description": "Create a relation between two issues",
2154
+ "description": "Create a project update",
2206
2155
  "examples": [
2207
- "<%= config.bin %> relations create ENG-123 ENG-456 --type blocks",
2208
- "<%= config.bin %> relations create ENG-123 ENG-456 --type duplicate",
2209
- "<%= config.bin %> relations create ENG-123 ENG-456 --type related"
2156
+ "<%= config.bin %> project-updates create PROJECT_ID --body \"Sprint completed successfully\"",
2157
+ "<%= config.bin %> project-updates create PROJECT_ID --body \"Delayed due to dependencies\" --health atRisk"
2210
2158
  ],
2211
2159
  "flags": {
2212
2160
  "format": {
@@ -2223,24 +2171,33 @@
2223
2171
  ],
2224
2172
  "type": "option"
2225
2173
  },
2226
- "type": {
2227
- "char": "t",
2228
- "description": "Relation type (blocks, duplicate, related)",
2229
- "name": "type",
2174
+ "body": {
2175
+ "char": "b",
2176
+ "description": "Update body (supports markdown)",
2177
+ "name": "body",
2230
2178
  "required": true,
2231
2179
  "hasDynamicHelp": false,
2232
2180
  "multiple": false,
2181
+ "type": "option"
2182
+ },
2183
+ "health": {
2184
+ "char": "h",
2185
+ "description": "Project health status",
2186
+ "name": "health",
2187
+ "default": "onTrack",
2188
+ "hasDynamicHelp": false,
2189
+ "multiple": false,
2233
2190
  "options": [
2234
- "blocks",
2235
- "duplicate",
2236
- "related"
2191
+ "onTrack",
2192
+ "atRisk",
2193
+ "offTrack"
2237
2194
  ],
2238
2195
  "type": "option"
2239
2196
  }
2240
2197
  },
2241
2198
  "hasDynamicHelp": false,
2242
2199
  "hiddenAliases": [],
2243
- "id": "relations:create",
2200
+ "id": "project-updates:create",
2244
2201
  "pluginAlias": "linear-cli-agents",
2245
2202
  "pluginName": "linear-cli-agents",
2246
2203
  "pluginType": "core",
@@ -2250,22 +2207,69 @@
2250
2207
  "relativePath": [
2251
2208
  "dist",
2252
2209
  "commands",
2253
- "relations",
2210
+ "project-updates",
2254
2211
  "create.js"
2255
2212
  ]
2256
2213
  },
2257
- "relations:delete": {
2214
+ "project-updates:get": {
2258
2215
  "aliases": [],
2259
2216
  "args": {
2260
2217
  "id": {
2261
- "description": "Relation ID",
2218
+ "description": "Project update ID",
2262
2219
  "name": "id",
2263
2220
  "required": true
2264
2221
  }
2265
2222
  },
2266
- "description": "Delete an issue relation",
2223
+ "description": "Get a project update by ID",
2224
+ "examples": [
2225
+ "<%= config.bin %> project-updates get UPDATE_ID",
2226
+ "<%= config.bin %> project-updates get UPDATE_ID --format table"
2227
+ ],
2228
+ "flags": {
2229
+ "format": {
2230
+ "char": "F",
2231
+ "description": "Output format",
2232
+ "name": "format",
2233
+ "default": "json",
2234
+ "hasDynamicHelp": false,
2235
+ "multiple": false,
2236
+ "options": [
2237
+ "json",
2238
+ "table",
2239
+ "plain"
2240
+ ],
2241
+ "type": "option"
2242
+ }
2243
+ },
2244
+ "hasDynamicHelp": false,
2245
+ "hiddenAliases": [],
2246
+ "id": "project-updates:get",
2247
+ "pluginAlias": "linear-cli-agents",
2248
+ "pluginName": "linear-cli-agents",
2249
+ "pluginType": "core",
2250
+ "strict": true,
2251
+ "enableJsonFlag": false,
2252
+ "isESM": true,
2253
+ "relativePath": [
2254
+ "dist",
2255
+ "commands",
2256
+ "project-updates",
2257
+ "get.js"
2258
+ ]
2259
+ },
2260
+ "project-updates:list": {
2261
+ "aliases": [],
2262
+ "args": {
2263
+ "projectId": {
2264
+ "description": "Project ID",
2265
+ "name": "projectId",
2266
+ "required": true
2267
+ }
2268
+ },
2269
+ "description": "List project updates",
2267
2270
  "examples": [
2268
- "<%= config.bin %> relations delete RELATION_ID"
2271
+ "<%= config.bin %> project-updates list PROJECT_ID",
2272
+ "<%= config.bin %> project-updates list PROJECT_ID --format table"
2269
2273
  ],
2270
2274
  "flags": {
2271
2275
  "format": {
@@ -2281,11 +2285,26 @@
2281
2285
  "plain"
2282
2286
  ],
2283
2287
  "type": "option"
2288
+ },
2289
+ "first": {
2290
+ "description": "Number of updates to fetch (default: 20)",
2291
+ "name": "first",
2292
+ "default": 20,
2293
+ "hasDynamicHelp": false,
2294
+ "multiple": false,
2295
+ "type": "option"
2296
+ },
2297
+ "after": {
2298
+ "description": "Cursor for pagination",
2299
+ "name": "after",
2300
+ "hasDynamicHelp": false,
2301
+ "multiple": false,
2302
+ "type": "option"
2284
2303
  }
2285
2304
  },
2286
2305
  "hasDynamicHelp": false,
2287
2306
  "hiddenAliases": [],
2288
- "id": "relations:delete",
2307
+ "id": "project-updates:list",
2289
2308
  "pluginAlias": "linear-cli-agents",
2290
2309
  "pluginName": "linear-cli-agents",
2291
2310
  "pluginType": "core",
@@ -2295,23 +2314,23 @@
2295
2314
  "relativePath": [
2296
2315
  "dist",
2297
2316
  "commands",
2298
- "relations",
2299
- "delete.js"
2317
+ "project-updates",
2318
+ "list.js"
2300
2319
  ]
2301
2320
  },
2302
- "relations:list": {
2321
+ "project-updates:update": {
2303
2322
  "aliases": [],
2304
2323
  "args": {
2305
- "issue": {
2306
- "description": "Issue ID or identifier (e.g., ENG-123)",
2307
- "name": "issue",
2324
+ "id": {
2325
+ "description": "Project update ID",
2326
+ "name": "id",
2308
2327
  "required": true
2309
2328
  }
2310
2329
  },
2311
- "description": "List relations for an issue",
2330
+ "description": "Update a project update",
2312
2331
  "examples": [
2313
- "<%= config.bin %> relations list ENG-123",
2314
- "<%= config.bin %> relations list ENG-123 --format table"
2332
+ "<%= config.bin %> project-updates update UPDATE_ID --body \"Updated status\"",
2333
+ "<%= config.bin %> project-updates update UPDATE_ID --health offTrack"
2315
2334
  ],
2316
2335
  "flags": {
2317
2336
  "format": {
@@ -2327,11 +2346,32 @@
2327
2346
  "plain"
2328
2347
  ],
2329
2348
  "type": "option"
2349
+ },
2350
+ "body": {
2351
+ "char": "b",
2352
+ "description": "Update body (supports markdown)",
2353
+ "name": "body",
2354
+ "hasDynamicHelp": false,
2355
+ "multiple": false,
2356
+ "type": "option"
2357
+ },
2358
+ "health": {
2359
+ "char": "h",
2360
+ "description": "Project health status",
2361
+ "name": "health",
2362
+ "hasDynamicHelp": false,
2363
+ "multiple": false,
2364
+ "options": [
2365
+ "onTrack",
2366
+ "atRisk",
2367
+ "offTrack"
2368
+ ],
2369
+ "type": "option"
2330
2370
  }
2331
2371
  },
2332
2372
  "hasDynamicHelp": false,
2333
2373
  "hiddenAliases": [],
2334
- "id": "relations:list",
2374
+ "id": "project-updates:update",
2335
2375
  "pluginAlias": "linear-cli-agents",
2336
2376
  "pluginName": "linear-cli-agents",
2337
2377
  "pluginType": "core",
@@ -2341,8 +2381,8 @@
2341
2381
  "relativePath": [
2342
2382
  "dist",
2343
2383
  "commands",
2344
- "relations",
2345
- "list.js"
2384
+ "project-updates",
2385
+ "update.js"
2346
2386
  ]
2347
2387
  },
2348
2388
  "projects:archive": {
@@ -2762,14 +2802,25 @@
2762
2802
  "update.js"
2763
2803
  ]
2764
2804
  },
2765
- "teams:list": {
2805
+ "relations:create": {
2766
2806
  "aliases": [],
2767
- "args": {},
2768
- "description": "List teams in the workspace",
2807
+ "args": {
2808
+ "issue": {
2809
+ "description": "Source issue ID or identifier (e.g., ENG-123)",
2810
+ "name": "issue",
2811
+ "required": true
2812
+ },
2813
+ "relatedIssue": {
2814
+ "description": "Related issue ID or identifier (e.g., ENG-456)",
2815
+ "name": "relatedIssue",
2816
+ "required": true
2817
+ }
2818
+ },
2819
+ "description": "Create a relation between two issues",
2769
2820
  "examples": [
2770
- "<%= config.bin %> teams list",
2771
- "<%= config.bin %> teams list --format table",
2772
- "<%= config.bin %> teams list --first 10"
2821
+ "<%= config.bin %> relations create ENG-123 ENG-456 --type blocks",
2822
+ "<%= config.bin %> relations create ENG-123 ENG-456 --type duplicate",
2823
+ "<%= config.bin %> relations create ENG-123 ENG-456 --type related"
2773
2824
  ],
2774
2825
  "flags": {
2775
2826
  "format": {
@@ -2786,25 +2837,69 @@
2786
2837
  ],
2787
2838
  "type": "option"
2788
2839
  },
2789
- "first": {
2790
- "description": "Number of teams to fetch (default: 50)",
2791
- "name": "first",
2792
- "default": 50,
2840
+ "type": {
2841
+ "char": "t",
2842
+ "description": "Relation type (blocks, duplicate, related)",
2843
+ "name": "type",
2844
+ "required": true,
2793
2845
  "hasDynamicHelp": false,
2794
2846
  "multiple": false,
2847
+ "options": [
2848
+ "blocks",
2849
+ "duplicate",
2850
+ "related"
2851
+ ],
2795
2852
  "type": "option"
2796
- },
2797
- "after": {
2798
- "description": "Cursor for pagination",
2799
- "name": "after",
2853
+ }
2854
+ },
2855
+ "hasDynamicHelp": false,
2856
+ "hiddenAliases": [],
2857
+ "id": "relations:create",
2858
+ "pluginAlias": "linear-cli-agents",
2859
+ "pluginName": "linear-cli-agents",
2860
+ "pluginType": "core",
2861
+ "strict": true,
2862
+ "enableJsonFlag": false,
2863
+ "isESM": true,
2864
+ "relativePath": [
2865
+ "dist",
2866
+ "commands",
2867
+ "relations",
2868
+ "create.js"
2869
+ ]
2870
+ },
2871
+ "relations:delete": {
2872
+ "aliases": [],
2873
+ "args": {
2874
+ "id": {
2875
+ "description": "Relation ID",
2876
+ "name": "id",
2877
+ "required": true
2878
+ }
2879
+ },
2880
+ "description": "Delete an issue relation",
2881
+ "examples": [
2882
+ "<%= config.bin %> relations delete RELATION_ID"
2883
+ ],
2884
+ "flags": {
2885
+ "format": {
2886
+ "char": "F",
2887
+ "description": "Output format",
2888
+ "name": "format",
2889
+ "default": "json",
2800
2890
  "hasDynamicHelp": false,
2801
2891
  "multiple": false,
2892
+ "options": [
2893
+ "json",
2894
+ "table",
2895
+ "plain"
2896
+ ],
2802
2897
  "type": "option"
2803
2898
  }
2804
2899
  },
2805
2900
  "hasDynamicHelp": false,
2806
2901
  "hiddenAliases": [],
2807
- "id": "teams:list",
2902
+ "id": "relations:delete",
2808
2903
  "pluginAlias": "linear-cli-agents",
2809
2904
  "pluginName": "linear-cli-agents",
2810
2905
  "pluginType": "core",
@@ -2814,7 +2909,53 @@
2814
2909
  "relativePath": [
2815
2910
  "dist",
2816
2911
  "commands",
2817
- "teams",
2912
+ "relations",
2913
+ "delete.js"
2914
+ ]
2915
+ },
2916
+ "relations:list": {
2917
+ "aliases": [],
2918
+ "args": {
2919
+ "issue": {
2920
+ "description": "Issue ID or identifier (e.g., ENG-123)",
2921
+ "name": "issue",
2922
+ "required": true
2923
+ }
2924
+ },
2925
+ "description": "List relations for an issue",
2926
+ "examples": [
2927
+ "<%= config.bin %> relations list ENG-123",
2928
+ "<%= config.bin %> relations list ENG-123 --format table"
2929
+ ],
2930
+ "flags": {
2931
+ "format": {
2932
+ "char": "F",
2933
+ "description": "Output format",
2934
+ "name": "format",
2935
+ "default": "json",
2936
+ "hasDynamicHelp": false,
2937
+ "multiple": false,
2938
+ "options": [
2939
+ "json",
2940
+ "table",
2941
+ "plain"
2942
+ ],
2943
+ "type": "option"
2944
+ }
2945
+ },
2946
+ "hasDynamicHelp": false,
2947
+ "hiddenAliases": [],
2948
+ "id": "relations:list",
2949
+ "pluginAlias": "linear-cli-agents",
2950
+ "pluginName": "linear-cli-agents",
2951
+ "pluginType": "core",
2952
+ "strict": true,
2953
+ "enableJsonFlag": false,
2954
+ "isESM": true,
2955
+ "relativePath": [
2956
+ "dist",
2957
+ "commands",
2958
+ "relations",
2818
2959
  "list.js"
2819
2960
  ]
2820
2961
  },
@@ -2882,6 +3023,62 @@
2882
3023
  "list.js"
2883
3024
  ]
2884
3025
  },
3026
+ "teams:list": {
3027
+ "aliases": [],
3028
+ "args": {},
3029
+ "description": "List teams in the workspace",
3030
+ "examples": [
3031
+ "<%= config.bin %> teams list",
3032
+ "<%= config.bin %> teams list --format table",
3033
+ "<%= config.bin %> teams list --first 10"
3034
+ ],
3035
+ "flags": {
3036
+ "format": {
3037
+ "char": "F",
3038
+ "description": "Output format",
3039
+ "name": "format",
3040
+ "default": "json",
3041
+ "hasDynamicHelp": false,
3042
+ "multiple": false,
3043
+ "options": [
3044
+ "json",
3045
+ "table",
3046
+ "plain"
3047
+ ],
3048
+ "type": "option"
3049
+ },
3050
+ "first": {
3051
+ "description": "Number of teams to fetch (default: 50)",
3052
+ "name": "first",
3053
+ "default": 50,
3054
+ "hasDynamicHelp": false,
3055
+ "multiple": false,
3056
+ "type": "option"
3057
+ },
3058
+ "after": {
3059
+ "description": "Cursor for pagination",
3060
+ "name": "after",
3061
+ "hasDynamicHelp": false,
3062
+ "multiple": false,
3063
+ "type": "option"
3064
+ }
3065
+ },
3066
+ "hasDynamicHelp": false,
3067
+ "hiddenAliases": [],
3068
+ "id": "teams:list",
3069
+ "pluginAlias": "linear-cli-agents",
3070
+ "pluginName": "linear-cli-agents",
3071
+ "pluginType": "core",
3072
+ "strict": true,
3073
+ "enableJsonFlag": false,
3074
+ "isESM": true,
3075
+ "relativePath": [
3076
+ "dist",
3077
+ "commands",
3078
+ "teams",
3079
+ "list.js"
3080
+ ]
3081
+ },
2885
3082
  "users:get": {
2886
3083
  "aliases": [],
2887
3084
  "args": {
@@ -3256,5 +3453,5 @@
3256
3453
  ]
3257
3454
  }
3258
3455
  },
3259
- "version": "0.5.1"
3456
+ "version": "0.6.0"
3260
3457
  }