linear-cli-agents 0.5.1 → 0.7.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.
Files changed (44) hide show
  1. package/README.md +87 -1
  2. package/dist/commands/cycles/current.d.ts +11 -0
  3. package/dist/commands/cycles/current.js +104 -0
  4. package/dist/commands/cycles/get.d.ts +12 -0
  5. package/dist/commands/cycles/get.js +86 -0
  6. package/dist/commands/cycles/list.d.ts +16 -0
  7. package/dist/commands/cycles/list.js +147 -0
  8. package/dist/commands/documents/create.d.ts +13 -0
  9. package/dist/commands/documents/create.js +68 -0
  10. package/dist/commands/documents/delete.d.ts +9 -0
  11. package/dist/commands/documents/delete.js +32 -0
  12. package/dist/commands/documents/get.d.ts +12 -0
  13. package/dist/commands/documents/get.js +79 -0
  14. package/dist/commands/documents/list.d.ts +12 -0
  15. package/dist/commands/documents/list.js +105 -0
  16. package/dist/commands/documents/update.d.ts +16 -0
  17. package/dist/commands/documents/update.js +75 -0
  18. package/dist/commands/info.js +209 -3
  19. package/dist/commands/initiatives/archive.d.ts +12 -0
  20. package/dist/commands/initiatives/archive.js +44 -0
  21. package/dist/commands/initiatives/create.d.ts +15 -0
  22. package/dist/commands/initiatives/create.js +84 -0
  23. package/dist/commands/initiatives/delete.d.ts +9 -0
  24. package/dist/commands/initiatives/delete.js +32 -0
  25. package/dist/commands/initiatives/get.d.ts +12 -0
  26. package/dist/commands/initiatives/get.js +90 -0
  27. package/dist/commands/initiatives/list.d.ts +11 -0
  28. package/dist/commands/initiatives/list.js +135 -0
  29. package/dist/commands/initiatives/update.d.ts +18 -0
  30. package/dist/commands/initiatives/update.js +90 -0
  31. package/dist/commands/issues/bulk-update.d.ts +2 -0
  32. package/dist/commands/issues/bulk-update.js +10 -0
  33. package/dist/commands/issues/create.d.ts +2 -0
  34. package/dist/commands/issues/create.js +10 -0
  35. package/dist/commands/issues/get.d.ts +1 -0
  36. package/dist/commands/issues/get.js +19 -1
  37. package/dist/commands/issues/update.d.ts +2 -0
  38. package/dist/commands/issues/update.js +12 -0
  39. package/dist/commands/upload.d.ts +13 -0
  40. package/dist/commands/upload.js +117 -0
  41. package/dist/lib/formatter.d.ts +4 -0
  42. package/dist/lib/formatter.js +15 -0
  43. package/oclif.manifest.json +1323 -405
  44. package/package.json +10 -1
@@ -351,6 +351,52 @@
351
351
  "setup.js"
352
352
  ]
353
353
  },
354
+ "upload": {
355
+ "aliases": [],
356
+ "args": {
357
+ "file": {
358
+ "description": "Path to the file to upload",
359
+ "name": "file",
360
+ "required": true
361
+ }
362
+ },
363
+ "description": "Upload a file to Linear and get the asset URL",
364
+ "examples": [
365
+ "<%= config.bin %> upload ./screenshot.png",
366
+ "<%= config.bin %> upload ./document.pdf --content-type application/pdf",
367
+ "<%= config.bin %> upload ./image.png --markdown"
368
+ ],
369
+ "flags": {
370
+ "content-type": {
371
+ "description": "Override the content type (MIME type)",
372
+ "name": "content-type",
373
+ "hasDynamicHelp": false,
374
+ "multiple": false,
375
+ "type": "option"
376
+ },
377
+ "markdown": {
378
+ "char": "m",
379
+ "description": "Output as markdown link/image",
380
+ "name": "markdown",
381
+ "allowNo": false,
382
+ "type": "boolean"
383
+ }
384
+ },
385
+ "hasDynamicHelp": false,
386
+ "hiddenAliases": [],
387
+ "id": "upload",
388
+ "pluginAlias": "linear-cli-agents",
389
+ "pluginName": "linear-cli-agents",
390
+ "pluginType": "core",
391
+ "strict": true,
392
+ "enableJsonFlag": false,
393
+ "isESM": true,
394
+ "relativePath": [
395
+ "dist",
396
+ "commands",
397
+ "upload.js"
398
+ ]
399
+ },
354
400
  "auth:login": {
355
401
  "aliases": [],
356
402
  "args": {
@@ -448,6 +494,97 @@
448
494
  "status.js"
449
495
  ]
450
496
  },
497
+ "config:get": {
498
+ "aliases": [],
499
+ "args": {
500
+ "key": {
501
+ "description": "Config key (default-team-id, default-team-key)",
502
+ "name": "key",
503
+ "required": true
504
+ }
505
+ },
506
+ "description": "Get a configuration value",
507
+ "examples": [
508
+ "<%= config.bin %> config get default-team-id",
509
+ "<%= config.bin %> config get default-team-key"
510
+ ],
511
+ "flags": {},
512
+ "hasDynamicHelp": false,
513
+ "hiddenAliases": [],
514
+ "id": "config:get",
515
+ "pluginAlias": "linear-cli-agents",
516
+ "pluginName": "linear-cli-agents",
517
+ "pluginType": "core",
518
+ "strict": true,
519
+ "enableJsonFlag": false,
520
+ "isESM": true,
521
+ "relativePath": [
522
+ "dist",
523
+ "commands",
524
+ "config",
525
+ "get.js"
526
+ ]
527
+ },
528
+ "config:list": {
529
+ "aliases": [],
530
+ "args": {},
531
+ "description": "List all configuration values",
532
+ "examples": [
533
+ "<%= config.bin %> config list"
534
+ ],
535
+ "flags": {},
536
+ "hasDynamicHelp": false,
537
+ "hiddenAliases": [],
538
+ "id": "config:list",
539
+ "pluginAlias": "linear-cli-agents",
540
+ "pluginName": "linear-cli-agents",
541
+ "pluginType": "core",
542
+ "strict": true,
543
+ "enableJsonFlag": false,
544
+ "isESM": true,
545
+ "relativePath": [
546
+ "dist",
547
+ "commands",
548
+ "config",
549
+ "list.js"
550
+ ]
551
+ },
552
+ "config:set": {
553
+ "aliases": [],
554
+ "args": {
555
+ "key": {
556
+ "description": "Config key (default-team-id, default-team-key)",
557
+ "name": "key",
558
+ "required": true
559
+ },
560
+ "value": {
561
+ "description": "Config value",
562
+ "name": "value",
563
+ "required": true
564
+ }
565
+ },
566
+ "description": "Set a configuration value",
567
+ "examples": [
568
+ "<%= config.bin %> config set default-team-id d1ad1a80-9267-4ebc-979a-eaf885898a2c",
569
+ "<%= config.bin %> config set default-team-key MITO"
570
+ ],
571
+ "flags": {},
572
+ "hasDynamicHelp": false,
573
+ "hiddenAliases": [],
574
+ "id": "config:set",
575
+ "pluginAlias": "linear-cli-agents",
576
+ "pluginName": "linear-cli-agents",
577
+ "pluginType": "core",
578
+ "strict": true,
579
+ "enableJsonFlag": false,
580
+ "isESM": true,
581
+ "relativePath": [
582
+ "dist",
583
+ "commands",
584
+ "config",
585
+ "set.js"
586
+ ]
587
+ },
451
588
  "comments:add": {
452
589
  "aliases": [],
453
590
  "args": {
@@ -663,48 +800,54 @@
663
800
  "update.js"
664
801
  ]
665
802
  },
666
- "config:get": {
667
- "aliases": [],
668
- "args": {
669
- "key": {
670
- "description": "Config key (default-team-id, default-team-key)",
671
- "name": "key",
672
- "required": true
673
- }
674
- },
675
- "description": "Get a configuration value",
676
- "examples": [
677
- "<%= config.bin %> config get default-team-id",
678
- "<%= config.bin %> config get default-team-key"
679
- ],
680
- "flags": {},
681
- "hasDynamicHelp": false,
682
- "hiddenAliases": [],
683
- "id": "config:get",
684
- "pluginAlias": "linear-cli-agents",
685
- "pluginName": "linear-cli-agents",
686
- "pluginType": "core",
687
- "strict": true,
688
- "enableJsonFlag": false,
689
- "isESM": true,
690
- "relativePath": [
691
- "dist",
692
- "commands",
693
- "config",
694
- "get.js"
695
- ]
696
- },
697
- "config:list": {
803
+ "cycles:current": {
698
804
  "aliases": [],
699
805
  "args": {},
700
- "description": "List all configuration values",
806
+ "description": "Get the current active cycle for a team",
701
807
  "examples": [
702
- "<%= config.bin %> config list"
808
+ "<%= config.bin %> cycles current --team ENG",
809
+ "<%= config.bin %> cycles current --team-id TEAM_ID",
810
+ "<%= config.bin %> cycles current --team ENG --format table"
703
811
  ],
704
- "flags": {},
812
+ "flags": {
813
+ "format": {
814
+ "char": "F",
815
+ "description": "Output format",
816
+ "name": "format",
817
+ "default": "json",
818
+ "hasDynamicHelp": false,
819
+ "multiple": false,
820
+ "options": [
821
+ "json",
822
+ "table",
823
+ "plain"
824
+ ],
825
+ "type": "option"
826
+ },
827
+ "team-id": {
828
+ "description": "Team ID",
829
+ "exclusive": [
830
+ "team"
831
+ ],
832
+ "name": "team-id",
833
+ "hasDynamicHelp": false,
834
+ "multiple": false,
835
+ "type": "option"
836
+ },
837
+ "team": {
838
+ "description": "Team key (e.g., ENG)",
839
+ "exclusive": [
840
+ "team-id"
841
+ ],
842
+ "name": "team",
843
+ "hasDynamicHelp": false,
844
+ "multiple": false,
845
+ "type": "option"
846
+ }
847
+ },
705
848
  "hasDynamicHelp": false,
706
849
  "hiddenAliases": [],
707
- "id": "config:list",
850
+ "id": "cycles:current",
708
851
  "pluginAlias": "linear-cli-agents",
709
852
  "pluginName": "linear-cli-agents",
710
853
  "pluginType": "core",
@@ -714,33 +857,43 @@
714
857
  "relativePath": [
715
858
  "dist",
716
859
  "commands",
717
- "config",
718
- "list.js"
860
+ "cycles",
861
+ "current.js"
719
862
  ]
720
863
  },
721
- "config:set": {
864
+ "cycles:get": {
722
865
  "aliases": [],
723
866
  "args": {
724
- "key": {
725
- "description": "Config key (default-team-id, default-team-key)",
726
- "name": "key",
727
- "required": true
728
- },
729
- "value": {
730
- "description": "Config value",
731
- "name": "value",
867
+ "id": {
868
+ "description": "Cycle ID",
869
+ "name": "id",
732
870
  "required": true
733
871
  }
734
872
  },
735
- "description": "Set a configuration value",
873
+ "description": "Get cycle (sprint) details",
736
874
  "examples": [
737
- "<%= config.bin %> config set default-team-id d1ad1a80-9267-4ebc-979a-eaf885898a2c",
738
- "<%= config.bin %> config set default-team-key MITO"
875
+ "<%= config.bin %> cycles get CYCLE_ID",
876
+ "<%= config.bin %> cycles get CYCLE_ID --format table"
739
877
  ],
740
- "flags": {},
878
+ "flags": {
879
+ "format": {
880
+ "char": "F",
881
+ "description": "Output format",
882
+ "name": "format",
883
+ "default": "json",
884
+ "hasDynamicHelp": false,
885
+ "multiple": false,
886
+ "options": [
887
+ "json",
888
+ "table",
889
+ "plain"
890
+ ],
891
+ "type": "option"
892
+ }
893
+ },
741
894
  "hasDynamicHelp": false,
742
895
  "hiddenAliases": [],
743
- "id": "config:set",
896
+ "id": "cycles:get",
744
897
  "pluginAlias": "linear-cli-agents",
745
898
  "pluginName": "linear-cli-agents",
746
899
  "pluginType": "core",
@@ -750,19 +903,20 @@
750
903
  "relativePath": [
751
904
  "dist",
752
905
  "commands",
753
- "config",
754
- "set.js"
906
+ "cycles",
907
+ "get.js"
755
908
  ]
756
909
  },
757
- "labels:create": {
910
+ "cycles:list": {
758
911
  "aliases": [],
759
912
  "args": {},
760
- "description": "Create a label",
913
+ "description": "List cycles (sprints)",
761
914
  "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"
915
+ "<%= config.bin %> cycles list",
916
+ "<%= config.bin %> cycles list --team-id TEAM_ID",
917
+ "<%= config.bin %> cycles list --team ENG",
918
+ "<%= config.bin %> cycles list --format table",
919
+ "<%= config.bin %> cycles list --active"
766
920
  ],
767
921
  "flags": {
768
922
  "format": {
@@ -779,42 +933,49 @@
779
933
  ],
780
934
  "type": "option"
781
935
  },
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",
795
- "required": true,
936
+ "team-id": {
937
+ "description": "Filter by team ID",
938
+ "name": "team-id",
796
939
  "hasDynamicHelp": false,
797
940
  "multiple": false,
798
941
  "type": "option"
799
942
  },
800
- "description": {
801
- "char": "d",
802
- "description": "Label description",
803
- "name": "description",
943
+ "team": {
944
+ "description": "Filter by team key (e.g., ENG)",
945
+ "name": "team",
804
946
  "hasDynamicHelp": false,
805
947
  "multiple": false,
806
948
  "type": "option"
807
949
  },
808
- "team-id": {
809
- "description": "Team ID (for team-specific labels)",
810
- "name": "team-id",
950
+ "active": {
951
+ "description": "Show only active cycles",
952
+ "name": "active",
953
+ "allowNo": false,
954
+ "type": "boolean"
955
+ },
956
+ "upcoming": {
957
+ "description": "Show only upcoming cycles",
958
+ "name": "upcoming",
959
+ "allowNo": false,
960
+ "type": "boolean"
961
+ },
962
+ "completed": {
963
+ "description": "Show only completed cycles",
964
+ "name": "completed",
965
+ "allowNo": false,
966
+ "type": "boolean"
967
+ },
968
+ "first": {
969
+ "description": "Number of cycles to fetch (default: 50)",
970
+ "name": "first",
971
+ "default": 50,
811
972
  "hasDynamicHelp": false,
812
973
  "multiple": false,
813
974
  "type": "option"
814
975
  },
815
- "parent-id": {
816
- "description": "Parent label ID (for nested labels)",
817
- "name": "parent-id",
976
+ "after": {
977
+ "description": "Cursor for pagination",
978
+ "name": "after",
818
979
  "hasDynamicHelp": false,
819
980
  "multiple": false,
820
981
  "type": "option"
@@ -822,7 +983,7 @@
822
983
  },
823
984
  "hasDynamicHelp": false,
824
985
  "hiddenAliases": [],
825
- "id": "labels:create",
986
+ "id": "cycles:list",
826
987
  "pluginAlias": "linear-cli-agents",
827
988
  "pluginName": "linear-cli-agents",
828
989
  "pluginType": "core",
@@ -832,22 +993,118 @@
832
993
  "relativePath": [
833
994
  "dist",
834
995
  "commands",
835
- "labels",
996
+ "cycles",
997
+ "list.js"
998
+ ]
999
+ },
1000
+ "documents:create": {
1001
+ "aliases": [],
1002
+ "args": {},
1003
+ "description": "Create a new document",
1004
+ "examples": [
1005
+ "<%= config.bin %> documents create --title \"My Document\"",
1006
+ "<%= config.bin %> documents create --title \"Project Doc\" --project-id PROJECT_ID",
1007
+ "<%= config.bin %> documents create --title \"Notes\" --content \"# Heading\\n\\nContent here\""
1008
+ ],
1009
+ "flags": {
1010
+ "title": {
1011
+ "char": "t",
1012
+ "description": "Document title",
1013
+ "name": "title",
1014
+ "required": true,
1015
+ "hasDynamicHelp": false,
1016
+ "multiple": false,
1017
+ "type": "option"
1018
+ },
1019
+ "content": {
1020
+ "char": "c",
1021
+ "description": "Document content (markdown)",
1022
+ "name": "content",
1023
+ "hasDynamicHelp": false,
1024
+ "multiple": false,
1025
+ "type": "option"
1026
+ },
1027
+ "project-id": {
1028
+ "description": "Project ID to associate with",
1029
+ "name": "project-id",
1030
+ "hasDynamicHelp": false,
1031
+ "multiple": false,
1032
+ "type": "option"
1033
+ },
1034
+ "icon": {
1035
+ "description": "Document icon (emoji)",
1036
+ "name": "icon",
1037
+ "hasDynamicHelp": false,
1038
+ "multiple": false,
1039
+ "type": "option"
1040
+ },
1041
+ "color": {
1042
+ "description": "Document color (hex)",
1043
+ "name": "color",
1044
+ "hasDynamicHelp": false,
1045
+ "multiple": false,
1046
+ "type": "option"
1047
+ }
1048
+ },
1049
+ "hasDynamicHelp": false,
1050
+ "hiddenAliases": [],
1051
+ "id": "documents:create",
1052
+ "pluginAlias": "linear-cli-agents",
1053
+ "pluginName": "linear-cli-agents",
1054
+ "pluginType": "core",
1055
+ "strict": true,
1056
+ "enableJsonFlag": false,
1057
+ "isESM": true,
1058
+ "relativePath": [
1059
+ "dist",
1060
+ "commands",
1061
+ "documents",
836
1062
  "create.js"
837
1063
  ]
838
1064
  },
839
- "labels:delete": {
1065
+ "documents:delete": {
840
1066
  "aliases": [],
841
1067
  "args": {
842
1068
  "id": {
843
- "description": "Label ID",
1069
+ "description": "Document ID",
844
1070
  "name": "id",
845
1071
  "required": true
846
1072
  }
847
1073
  },
848
- "description": "Delete a label",
1074
+ "description": "Delete a document (moves to trash)",
849
1075
  "examples": [
850
- "<%= config.bin %> labels delete LABEL_ID"
1076
+ "<%= config.bin %> documents delete DOCUMENT_ID"
1077
+ ],
1078
+ "flags": {},
1079
+ "hasDynamicHelp": false,
1080
+ "hiddenAliases": [],
1081
+ "id": "documents:delete",
1082
+ "pluginAlias": "linear-cli-agents",
1083
+ "pluginName": "linear-cli-agents",
1084
+ "pluginType": "core",
1085
+ "strict": true,
1086
+ "enableJsonFlag": false,
1087
+ "isESM": true,
1088
+ "relativePath": [
1089
+ "dist",
1090
+ "commands",
1091
+ "documents",
1092
+ "delete.js"
1093
+ ]
1094
+ },
1095
+ "documents:get": {
1096
+ "aliases": [],
1097
+ "args": {
1098
+ "id": {
1099
+ "description": "Document ID",
1100
+ "name": "id",
1101
+ "required": true
1102
+ }
1103
+ },
1104
+ "description": "Get document details",
1105
+ "examples": [
1106
+ "<%= config.bin %> documents get DOCUMENT_ID",
1107
+ "<%= config.bin %> documents get DOCUMENT_ID --format table"
851
1108
  ],
852
1109
  "flags": {
853
1110
  "format": {
@@ -867,7 +1124,7 @@
867
1124
  },
868
1125
  "hasDynamicHelp": false,
869
1126
  "hiddenAliases": [],
870
- "id": "labels:delete",
1127
+ "id": "documents:get",
871
1128
  "pluginAlias": "linear-cli-agents",
872
1129
  "pluginName": "linear-cli-agents",
873
1130
  "pluginType": "core",
@@ -877,18 +1134,18 @@
877
1134
  "relativePath": [
878
1135
  "dist",
879
1136
  "commands",
880
- "labels",
881
- "delete.js"
1137
+ "documents",
1138
+ "get.js"
882
1139
  ]
883
1140
  },
884
- "labels:list": {
1141
+ "documents:list": {
885
1142
  "aliases": [],
886
1143
  "args": {},
887
- "description": "List labels in the workspace",
1144
+ "description": "List documents",
888
1145
  "examples": [
889
- "<%= config.bin %> labels list",
890
- "<%= config.bin %> labels list --format table",
891
- "<%= config.bin %> labels list --team ENG"
1146
+ "<%= config.bin %> documents list",
1147
+ "<%= config.bin %> documents list --project-id PROJECT_ID",
1148
+ "<%= config.bin %> documents list --format table"
892
1149
  ],
893
1150
  "flags": {
894
1151
  "format": {
@@ -905,18 +1162,17 @@
905
1162
  ],
906
1163
  "type": "option"
907
1164
  },
908
- "team": {
909
- "char": "t",
910
- "description": "Filter by team key (e.g., ENG)",
911
- "name": "team",
1165
+ "project-id": {
1166
+ "description": "Filter by project ID",
1167
+ "name": "project-id",
912
1168
  "hasDynamicHelp": false,
913
1169
  "multiple": false,
914
1170
  "type": "option"
915
1171
  },
916
1172
  "first": {
917
- "description": "Number of labels to fetch (default: 100)",
1173
+ "description": "Number of documents to fetch (default: 50)",
918
1174
  "name": "first",
919
- "default": 100,
1175
+ "default": 50,
920
1176
  "hasDynamicHelp": false,
921
1177
  "multiple": false,
922
1178
  "type": "option"
@@ -931,7 +1187,7 @@
931
1187
  },
932
1188
  "hasDynamicHelp": false,
933
1189
  "hiddenAliases": [],
934
- "id": "labels:list",
1190
+ "id": "documents:list",
935
1191
  "pluginAlias": "linear-cli-agents",
936
1192
  "pluginName": "linear-cli-agents",
937
1193
  "pluginType": "core",
@@ -941,24 +1197,288 @@
941
1197
  "relativePath": [
942
1198
  "dist",
943
1199
  "commands",
944
- "labels",
1200
+ "documents",
945
1201
  "list.js"
946
1202
  ]
947
1203
  },
948
- "labels:update": {
1204
+ "documents:update": {
949
1205
  "aliases": [],
950
1206
  "args": {
951
1207
  "id": {
952
- "description": "Label ID",
1208
+ "description": "Document ID",
953
1209
  "name": "id",
954
1210
  "required": true
955
1211
  }
956
1212
  },
957
- "description": "Update a label",
1213
+ "description": "Update a document",
958
1214
  "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\""
1215
+ "<%= config.bin %> documents update DOCUMENT_ID --title \"New Title\"",
1216
+ "<%= config.bin %> documents update DOCUMENT_ID --content \"Updated content\"",
1217
+ "<%= config.bin %> documents update DOCUMENT_ID --project-id PROJECT_ID"
1218
+ ],
1219
+ "flags": {
1220
+ "title": {
1221
+ "char": "t",
1222
+ "description": "New document title",
1223
+ "name": "title",
1224
+ "hasDynamicHelp": false,
1225
+ "multiple": false,
1226
+ "type": "option"
1227
+ },
1228
+ "content": {
1229
+ "char": "c",
1230
+ "description": "New document content (markdown)",
1231
+ "name": "content",
1232
+ "hasDynamicHelp": false,
1233
+ "multiple": false,
1234
+ "type": "option"
1235
+ },
1236
+ "project-id": {
1237
+ "description": "New project ID (empty string to remove)",
1238
+ "name": "project-id",
1239
+ "hasDynamicHelp": false,
1240
+ "multiple": false,
1241
+ "type": "option"
1242
+ },
1243
+ "icon": {
1244
+ "description": "New document icon (emoji)",
1245
+ "name": "icon",
1246
+ "hasDynamicHelp": false,
1247
+ "multiple": false,
1248
+ "type": "option"
1249
+ },
1250
+ "color": {
1251
+ "description": "New document color (hex)",
1252
+ "name": "color",
1253
+ "hasDynamicHelp": false,
1254
+ "multiple": false,
1255
+ "type": "option"
1256
+ }
1257
+ },
1258
+ "hasDynamicHelp": false,
1259
+ "hiddenAliases": [],
1260
+ "id": "documents:update",
1261
+ "pluginAlias": "linear-cli-agents",
1262
+ "pluginName": "linear-cli-agents",
1263
+ "pluginType": "core",
1264
+ "strict": true,
1265
+ "enableJsonFlag": false,
1266
+ "isESM": true,
1267
+ "relativePath": [
1268
+ "dist",
1269
+ "commands",
1270
+ "documents",
1271
+ "update.js"
1272
+ ]
1273
+ },
1274
+ "initiatives:archive": {
1275
+ "aliases": [],
1276
+ "args": {
1277
+ "id": {
1278
+ "description": "Initiative ID",
1279
+ "name": "id",
1280
+ "required": true
1281
+ }
1282
+ },
1283
+ "description": "Archive or unarchive an initiative",
1284
+ "examples": [
1285
+ "<%= config.bin %> initiatives archive INITIATIVE_ID",
1286
+ "<%= config.bin %> initiatives archive INITIATIVE_ID --unarchive"
1287
+ ],
1288
+ "flags": {
1289
+ "unarchive": {
1290
+ "char": "u",
1291
+ "description": "Unarchive instead of archive",
1292
+ "name": "unarchive",
1293
+ "allowNo": false,
1294
+ "type": "boolean"
1295
+ }
1296
+ },
1297
+ "hasDynamicHelp": false,
1298
+ "hiddenAliases": [],
1299
+ "id": "initiatives:archive",
1300
+ "pluginAlias": "linear-cli-agents",
1301
+ "pluginName": "linear-cli-agents",
1302
+ "pluginType": "core",
1303
+ "strict": true,
1304
+ "enableJsonFlag": false,
1305
+ "isESM": true,
1306
+ "relativePath": [
1307
+ "dist",
1308
+ "commands",
1309
+ "initiatives",
1310
+ "archive.js"
1311
+ ]
1312
+ },
1313
+ "initiatives:create": {
1314
+ "aliases": [],
1315
+ "args": {},
1316
+ "description": "Create a new initiative",
1317
+ "examples": [
1318
+ "<%= config.bin %> initiatives create --name \"Q1 Goals\"",
1319
+ "<%= config.bin %> initiatives create --name \"Product Launch\" --status Active",
1320
+ "<%= config.bin %> initiatives create --name \"H2 Objectives\" --target-date 2024-12-31"
1321
+ ],
1322
+ "flags": {
1323
+ "name": {
1324
+ "char": "n",
1325
+ "description": "Initiative name",
1326
+ "name": "name",
1327
+ "required": true,
1328
+ "hasDynamicHelp": false,
1329
+ "multiple": false,
1330
+ "type": "option"
1331
+ },
1332
+ "description": {
1333
+ "char": "d",
1334
+ "description": "Initiative description",
1335
+ "name": "description",
1336
+ "hasDynamicHelp": false,
1337
+ "multiple": false,
1338
+ "type": "option"
1339
+ },
1340
+ "status": {
1341
+ "char": "s",
1342
+ "description": "Initiative status",
1343
+ "name": "status",
1344
+ "hasDynamicHelp": false,
1345
+ "multiple": false,
1346
+ "options": [
1347
+ "Planned",
1348
+ "Active",
1349
+ "Completed"
1350
+ ],
1351
+ "type": "option"
1352
+ },
1353
+ "target-date": {
1354
+ "description": "Target completion date (YYYY-MM-DD)",
1355
+ "name": "target-date",
1356
+ "hasDynamicHelp": false,
1357
+ "multiple": false,
1358
+ "type": "option"
1359
+ },
1360
+ "owner-id": {
1361
+ "description": "Owner user ID",
1362
+ "name": "owner-id",
1363
+ "hasDynamicHelp": false,
1364
+ "multiple": false,
1365
+ "type": "option"
1366
+ },
1367
+ "icon": {
1368
+ "description": "Initiative icon (emoji)",
1369
+ "name": "icon",
1370
+ "hasDynamicHelp": false,
1371
+ "multiple": false,
1372
+ "type": "option"
1373
+ },
1374
+ "color": {
1375
+ "description": "Initiative color (hex)",
1376
+ "name": "color",
1377
+ "hasDynamicHelp": false,
1378
+ "multiple": false,
1379
+ "type": "option"
1380
+ }
1381
+ },
1382
+ "hasDynamicHelp": false,
1383
+ "hiddenAliases": [],
1384
+ "id": "initiatives:create",
1385
+ "pluginAlias": "linear-cli-agents",
1386
+ "pluginName": "linear-cli-agents",
1387
+ "pluginType": "core",
1388
+ "strict": true,
1389
+ "enableJsonFlag": false,
1390
+ "isESM": true,
1391
+ "relativePath": [
1392
+ "dist",
1393
+ "commands",
1394
+ "initiatives",
1395
+ "create.js"
1396
+ ]
1397
+ },
1398
+ "initiatives:delete": {
1399
+ "aliases": [],
1400
+ "args": {
1401
+ "id": {
1402
+ "description": "Initiative ID",
1403
+ "name": "id",
1404
+ "required": true
1405
+ }
1406
+ },
1407
+ "description": "Delete an initiative (moves to trash)",
1408
+ "examples": [
1409
+ "<%= config.bin %> initiatives delete INITIATIVE_ID"
1410
+ ],
1411
+ "flags": {},
1412
+ "hasDynamicHelp": false,
1413
+ "hiddenAliases": [],
1414
+ "id": "initiatives:delete",
1415
+ "pluginAlias": "linear-cli-agents",
1416
+ "pluginName": "linear-cli-agents",
1417
+ "pluginType": "core",
1418
+ "strict": true,
1419
+ "enableJsonFlag": false,
1420
+ "isESM": true,
1421
+ "relativePath": [
1422
+ "dist",
1423
+ "commands",
1424
+ "initiatives",
1425
+ "delete.js"
1426
+ ]
1427
+ },
1428
+ "initiatives:get": {
1429
+ "aliases": [],
1430
+ "args": {
1431
+ "id": {
1432
+ "description": "Initiative ID",
1433
+ "name": "id",
1434
+ "required": true
1435
+ }
1436
+ },
1437
+ "description": "Get initiative details",
1438
+ "examples": [
1439
+ "<%= config.bin %> initiatives get INITIATIVE_ID",
1440
+ "<%= config.bin %> initiatives get INITIATIVE_ID --format table"
1441
+ ],
1442
+ "flags": {
1443
+ "format": {
1444
+ "char": "F",
1445
+ "description": "Output format",
1446
+ "name": "format",
1447
+ "default": "json",
1448
+ "hasDynamicHelp": false,
1449
+ "multiple": false,
1450
+ "options": [
1451
+ "json",
1452
+ "table",
1453
+ "plain"
1454
+ ],
1455
+ "type": "option"
1456
+ }
1457
+ },
1458
+ "hasDynamicHelp": false,
1459
+ "hiddenAliases": [],
1460
+ "id": "initiatives:get",
1461
+ "pluginAlias": "linear-cli-agents",
1462
+ "pluginName": "linear-cli-agents",
1463
+ "pluginType": "core",
1464
+ "strict": true,
1465
+ "enableJsonFlag": false,
1466
+ "isESM": true,
1467
+ "relativePath": [
1468
+ "dist",
1469
+ "commands",
1470
+ "initiatives",
1471
+ "get.js"
1472
+ ]
1473
+ },
1474
+ "initiatives:list": {
1475
+ "aliases": [],
1476
+ "args": {},
1477
+ "description": "List initiatives",
1478
+ "examples": [
1479
+ "<%= config.bin %> initiatives list",
1480
+ "<%= config.bin %> initiatives list --status Active",
1481
+ "<%= config.bin %> initiatives list --format table"
962
1482
  ],
963
1483
  "flags": {
964
1484
  "format": {
@@ -975,33 +1495,113 @@
975
1495
  ],
976
1496
  "type": "option"
977
1497
  },
978
- "name": {
979
- "char": "n",
980
- "description": "Label name",
981
- "name": "name",
1498
+ "status": {
1499
+ "char": "s",
1500
+ "description": "Filter by status (Planned, Active, Completed)",
1501
+ "name": "status",
982
1502
  "hasDynamicHelp": false,
983
1503
  "multiple": false,
1504
+ "options": [
1505
+ "Planned",
1506
+ "Active",
1507
+ "Completed"
1508
+ ],
984
1509
  "type": "option"
985
1510
  },
986
- "color": {
987
- "char": "c",
988
- "description": "Label color (hex, e.g., #FF0000)",
989
- "name": "color",
1511
+ "first": {
1512
+ "description": "Number of initiatives to fetch",
1513
+ "name": "first",
1514
+ "default": 50,
1515
+ "hasDynamicHelp": false,
1516
+ "multiple": false,
1517
+ "type": "option"
1518
+ }
1519
+ },
1520
+ "hasDynamicHelp": false,
1521
+ "hiddenAliases": [],
1522
+ "id": "initiatives:list",
1523
+ "pluginAlias": "linear-cli-agents",
1524
+ "pluginName": "linear-cli-agents",
1525
+ "pluginType": "core",
1526
+ "strict": true,
1527
+ "enableJsonFlag": false,
1528
+ "isESM": true,
1529
+ "relativePath": [
1530
+ "dist",
1531
+ "commands",
1532
+ "initiatives",
1533
+ "list.js"
1534
+ ]
1535
+ },
1536
+ "initiatives:update": {
1537
+ "aliases": [],
1538
+ "args": {
1539
+ "id": {
1540
+ "description": "Initiative ID",
1541
+ "name": "id",
1542
+ "required": true
1543
+ }
1544
+ },
1545
+ "description": "Update an initiative",
1546
+ "examples": [
1547
+ "<%= config.bin %> initiatives update INITIATIVE_ID --name \"New Name\"",
1548
+ "<%= config.bin %> initiatives update INITIATIVE_ID --status Completed",
1549
+ "<%= config.bin %> initiatives update INITIATIVE_ID --target-date 2024-12-31"
1550
+ ],
1551
+ "flags": {
1552
+ "name": {
1553
+ "char": "n",
1554
+ "description": "New initiative name",
1555
+ "name": "name",
990
1556
  "hasDynamicHelp": false,
991
1557
  "multiple": false,
992
1558
  "type": "option"
993
1559
  },
994
1560
  "description": {
995
1561
  "char": "d",
996
- "description": "Label description",
1562
+ "description": "New description",
997
1563
  "name": "description",
998
1564
  "hasDynamicHelp": false,
999
1565
  "multiple": false,
1000
1566
  "type": "option"
1001
1567
  },
1002
- "parent-id": {
1003
- "description": "Parent label ID",
1004
- "name": "parent-id",
1568
+ "status": {
1569
+ "char": "s",
1570
+ "description": "New status",
1571
+ "name": "status",
1572
+ "hasDynamicHelp": false,
1573
+ "multiple": false,
1574
+ "options": [
1575
+ "Planned",
1576
+ "Active",
1577
+ "Completed"
1578
+ ],
1579
+ "type": "option"
1580
+ },
1581
+ "target-date": {
1582
+ "description": "New target completion date (YYYY-MM-DD)",
1583
+ "name": "target-date",
1584
+ "hasDynamicHelp": false,
1585
+ "multiple": false,
1586
+ "type": "option"
1587
+ },
1588
+ "owner-id": {
1589
+ "description": "New owner user ID",
1590
+ "name": "owner-id",
1591
+ "hasDynamicHelp": false,
1592
+ "multiple": false,
1593
+ "type": "option"
1594
+ },
1595
+ "icon": {
1596
+ "description": "New initiative icon (emoji)",
1597
+ "name": "icon",
1598
+ "hasDynamicHelp": false,
1599
+ "multiple": false,
1600
+ "type": "option"
1601
+ },
1602
+ "color": {
1603
+ "description": "New initiative color (hex)",
1604
+ "name": "color",
1005
1605
  "hasDynamicHelp": false,
1006
1606
  "multiple": false,
1007
1607
  "type": "option"
@@ -1009,7 +1609,7 @@
1009
1609
  },
1010
1610
  "hasDynamicHelp": false,
1011
1611
  "hiddenAliases": [],
1012
- "id": "labels:update",
1612
+ "id": "initiatives:update",
1013
1613
  "pluginAlias": "linear-cli-agents",
1014
1614
  "pluginName": "linear-cli-agents",
1015
1615
  "pluginType": "core",
@@ -1019,7 +1619,7 @@
1019
1619
  "relativePath": [
1020
1620
  "dist",
1021
1621
  "commands",
1022
- "labels",
1622
+ "initiatives",
1023
1623
  "update.js"
1024
1624
  ]
1025
1625
  },
@@ -1239,6 +1839,20 @@
1239
1839
  "hasDynamicHelp": false,
1240
1840
  "multiple": false,
1241
1841
  "type": "option"
1842
+ },
1843
+ "due-date": {
1844
+ "description": "Due date (YYYY-MM-DD)",
1845
+ "name": "due-date",
1846
+ "hasDynamicHelp": false,
1847
+ "multiple": false,
1848
+ "type": "option"
1849
+ },
1850
+ "cycle-id": {
1851
+ "description": "Cycle (sprint) ID",
1852
+ "name": "cycle-id",
1853
+ "hasDynamicHelp": false,
1854
+ "multiple": false,
1855
+ "type": "option"
1242
1856
  }
1243
1857
  },
1244
1858
  "hasDynamicHelp": false,
@@ -1345,6 +1959,20 @@
1345
1959
  "hasDynamicHelp": false,
1346
1960
  "multiple": false,
1347
1961
  "type": "option"
1962
+ },
1963
+ "due-date": {
1964
+ "description": "Due date (YYYY-MM-DD)",
1965
+ "name": "due-date",
1966
+ "hasDynamicHelp": false,
1967
+ "multiple": false,
1968
+ "type": "option"
1969
+ },
1970
+ "cycle-id": {
1971
+ "description": "Cycle (sprint) ID",
1972
+ "name": "cycle-id",
1973
+ "hasDynamicHelp": false,
1974
+ "multiple": false,
1975
+ "type": "option"
1348
1976
  }
1349
1977
  },
1350
1978
  "hasDynamicHelp": false,
@@ -1415,6 +2043,7 @@
1415
2043
  "examples": [
1416
2044
  "<%= config.bin %> issues get ENG-123",
1417
2045
  "<%= config.bin %> issues get ENG-123 --format table",
2046
+ "<%= config.bin %> issues get ENG-123 --with-attachments",
1418
2047
  "<%= config.bin %> issues get abc123"
1419
2048
  ],
1420
2049
  "flags": {
@@ -1431,6 +2060,12 @@
1431
2060
  "plain"
1432
2061
  ],
1433
2062
  "type": "option"
2063
+ },
2064
+ "with-attachments": {
2065
+ "description": "Include attachments (linked PRs, commits, etc.)",
2066
+ "name": "with-attachments",
2067
+ "allowNo": false,
2068
+ "type": "boolean"
1434
2069
  }
1435
2070
  },
1436
2071
  "hasDynamicHelp": false,
@@ -1681,6 +2316,20 @@
1681
2316
  "hasDynamicHelp": false,
1682
2317
  "multiple": false,
1683
2318
  "type": "option"
2319
+ },
2320
+ "due-date": {
2321
+ "description": "Due date (YYYY-MM-DD, use empty string to clear)",
2322
+ "name": "due-date",
2323
+ "hasDynamicHelp": false,
2324
+ "multiple": false,
2325
+ "type": "option"
2326
+ },
2327
+ "cycle-id": {
2328
+ "description": "Cycle (sprint) ID (use empty string to remove from cycle)",
2329
+ "name": "cycle-id",
2330
+ "hasDynamicHelp": false,
2331
+ "multiple": false,
2332
+ "type": "option"
1684
2333
  }
1685
2334
  },
1686
2335
  "hasDynamicHelp": false,
@@ -1699,7 +2348,7 @@
1699
2348
  "update.js"
1700
2349
  ]
1701
2350
  },
1702
- "project-updates:create": {
2351
+ "milestones:create": {
1703
2352
  "aliases": [],
1704
2353
  "args": {
1705
2354
  "projectId": {
@@ -1708,10 +2357,10 @@
1708
2357
  "required": true
1709
2358
  }
1710
2359
  },
1711
- "description": "Create a project update",
2360
+ "description": "Create a project milestone",
1712
2361
  "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"
2362
+ "<%= config.bin %> milestones create PROJECT_ID --name \"Beta Release\"",
2363
+ "<%= config.bin %> milestones create PROJECT_ID --name \"Launch\" --target-date 2024-03-01"
1715
2364
  ],
1716
2365
  "flags": {
1717
2366
  "format": {
@@ -1728,33 +2377,34 @@
1728
2377
  ],
1729
2378
  "type": "option"
1730
2379
  },
1731
- "body": {
1732
- "char": "b",
1733
- "description": "Update body (supports markdown)",
1734
- "name": "body",
2380
+ "name": {
2381
+ "char": "n",
2382
+ "description": "Milestone name",
2383
+ "name": "name",
1735
2384
  "required": true,
1736
2385
  "hasDynamicHelp": false,
1737
2386
  "multiple": false,
1738
2387
  "type": "option"
1739
2388
  },
1740
- "health": {
1741
- "char": "h",
1742
- "description": "Project health status",
1743
- "name": "health",
1744
- "default": "onTrack",
2389
+ "description": {
2390
+ "char": "d",
2391
+ "description": "Milestone description",
2392
+ "name": "description",
2393
+ "hasDynamicHelp": false,
2394
+ "multiple": false,
2395
+ "type": "option"
2396
+ },
2397
+ "target-date": {
2398
+ "description": "Target date (YYYY-MM-DD)",
2399
+ "name": "target-date",
1745
2400
  "hasDynamicHelp": false,
1746
2401
  "multiple": false,
1747
- "options": [
1748
- "onTrack",
1749
- "atRisk",
1750
- "offTrack"
1751
- ],
1752
2402
  "type": "option"
1753
2403
  }
1754
2404
  },
1755
2405
  "hasDynamicHelp": false,
1756
2406
  "hiddenAliases": [],
1757
- "id": "project-updates:create",
2407
+ "id": "milestones:create",
1758
2408
  "pluginAlias": "linear-cli-agents",
1759
2409
  "pluginName": "linear-cli-agents",
1760
2410
  "pluginType": "core",
@@ -1764,23 +2414,23 @@
1764
2414
  "relativePath": [
1765
2415
  "dist",
1766
2416
  "commands",
1767
- "project-updates",
2417
+ "milestones",
1768
2418
  "create.js"
1769
2419
  ]
1770
2420
  },
1771
- "project-updates:get": {
2421
+ "milestones:get": {
1772
2422
  "aliases": [],
1773
2423
  "args": {
1774
2424
  "id": {
1775
- "description": "Project update ID",
2425
+ "description": "Milestone ID",
1776
2426
  "name": "id",
1777
2427
  "required": true
1778
2428
  }
1779
2429
  },
1780
- "description": "Get a project update by ID",
2430
+ "description": "Get a project milestone by ID",
1781
2431
  "examples": [
1782
- "<%= config.bin %> project-updates get UPDATE_ID",
1783
- "<%= config.bin %> project-updates get UPDATE_ID --format table"
2432
+ "<%= config.bin %> milestones get MILESTONE_ID",
2433
+ "<%= config.bin %> milestones get MILESTONE_ID --format table"
1784
2434
  ],
1785
2435
  "flags": {
1786
2436
  "format": {
@@ -1800,7 +2450,7 @@
1800
2450
  },
1801
2451
  "hasDynamicHelp": false,
1802
2452
  "hiddenAliases": [],
1803
- "id": "project-updates:get",
2453
+ "id": "milestones:get",
1804
2454
  "pluginAlias": "linear-cli-agents",
1805
2455
  "pluginName": "linear-cli-agents",
1806
2456
  "pluginType": "core",
@@ -1810,11 +2460,11 @@
1810
2460
  "relativePath": [
1811
2461
  "dist",
1812
2462
  "commands",
1813
- "project-updates",
2463
+ "milestones",
1814
2464
  "get.js"
1815
2465
  ]
1816
2466
  },
1817
- "project-updates:list": {
2467
+ "milestones:list": {
1818
2468
  "aliases": [],
1819
2469
  "args": {
1820
2470
  "projectId": {
@@ -1823,10 +2473,10 @@
1823
2473
  "required": true
1824
2474
  }
1825
2475
  },
1826
- "description": "List project updates",
2476
+ "description": "List project milestones",
1827
2477
  "examples": [
1828
- "<%= config.bin %> project-updates list PROJECT_ID",
1829
- "<%= config.bin %> project-updates list PROJECT_ID --format table"
2478
+ "<%= config.bin %> milestones list PROJECT_ID",
2479
+ "<%= config.bin %> milestones list PROJECT_ID --format table"
1830
2480
  ],
1831
2481
  "flags": {
1832
2482
  "format": {
@@ -1844,9 +2494,9 @@
1844
2494
  "type": "option"
1845
2495
  },
1846
2496
  "first": {
1847
- "description": "Number of updates to fetch (default: 20)",
2497
+ "description": "Number of milestones to fetch (default: 50)",
1848
2498
  "name": "first",
1849
- "default": 20,
2499
+ "default": 50,
1850
2500
  "hasDynamicHelp": false,
1851
2501
  "multiple": false,
1852
2502
  "type": "option"
@@ -1861,7 +2511,7 @@
1861
2511
  },
1862
2512
  "hasDynamicHelp": false,
1863
2513
  "hiddenAliases": [],
1864
- "id": "project-updates:list",
2514
+ "id": "milestones:list",
1865
2515
  "pluginAlias": "linear-cli-agents",
1866
2516
  "pluginName": "linear-cli-agents",
1867
2517
  "pluginType": "core",
@@ -1871,23 +2521,23 @@
1871
2521
  "relativePath": [
1872
2522
  "dist",
1873
2523
  "commands",
1874
- "project-updates",
2524
+ "milestones",
1875
2525
  "list.js"
1876
2526
  ]
1877
2527
  },
1878
- "project-updates:update": {
2528
+ "milestones:update": {
1879
2529
  "aliases": [],
1880
2530
  "args": {
1881
2531
  "id": {
1882
- "description": "Project update ID",
2532
+ "description": "Milestone ID",
1883
2533
  "name": "id",
1884
2534
  "required": true
1885
2535
  }
1886
2536
  },
1887
- "description": "Update a project update",
2537
+ "description": "Update a project milestone",
1888
2538
  "examples": [
1889
- "<%= config.bin %> project-updates update UPDATE_ID --body \"Updated status\"",
1890
- "<%= config.bin %> project-updates update UPDATE_ID --health offTrack"
2539
+ "<%= config.bin %> milestones update MILESTONE_ID --name \"Updated Name\"",
2540
+ "<%= config.bin %> milestones update MILESTONE_ID --target-date 2024-06-01"
1891
2541
  ],
1892
2542
  "flags": {
1893
2543
  "format": {
@@ -1904,31 +2554,33 @@
1904
2554
  ],
1905
2555
  "type": "option"
1906
2556
  },
1907
- "body": {
1908
- "char": "b",
1909
- "description": "Update body (supports markdown)",
1910
- "name": "body",
2557
+ "name": {
2558
+ "char": "n",
2559
+ "description": "Milestone name",
2560
+ "name": "name",
1911
2561
  "hasDynamicHelp": false,
1912
2562
  "multiple": false,
1913
2563
  "type": "option"
1914
2564
  },
1915
- "health": {
1916
- "char": "h",
1917
- "description": "Project health status",
1918
- "name": "health",
2565
+ "description": {
2566
+ "char": "d",
2567
+ "description": "Milestone description",
2568
+ "name": "description",
2569
+ "hasDynamicHelp": false,
2570
+ "multiple": false,
2571
+ "type": "option"
2572
+ },
2573
+ "target-date": {
2574
+ "description": "Target date (YYYY-MM-DD)",
2575
+ "name": "target-date",
1919
2576
  "hasDynamicHelp": false,
1920
2577
  "multiple": false,
1921
- "options": [
1922
- "onTrack",
1923
- "atRisk",
1924
- "offTrack"
1925
- ],
1926
2578
  "type": "option"
1927
2579
  }
1928
2580
  },
1929
2581
  "hasDynamicHelp": false,
1930
2582
  "hiddenAliases": [],
1931
- "id": "project-updates:update",
2583
+ "id": "milestones:update",
1932
2584
  "pluginAlias": "linear-cli-agents",
1933
2585
  "pluginName": "linear-cli-agents",
1934
2586
  "pluginType": "core",
@@ -1938,23 +2590,19 @@
1938
2590
  "relativePath": [
1939
2591
  "dist",
1940
2592
  "commands",
1941
- "project-updates",
2593
+ "milestones",
1942
2594
  "update.js"
1943
2595
  ]
1944
2596
  },
1945
- "milestones:create": {
2597
+ "labels:create": {
1946
2598
  "aliases": [],
1947
- "args": {
1948
- "projectId": {
1949
- "description": "Project ID",
1950
- "name": "projectId",
1951
- "required": true
1952
- }
1953
- },
1954
- "description": "Create a project milestone",
2599
+ "args": {},
2600
+ "description": "Create a label",
1955
2601
  "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"
2602
+ "<%= config.bin %> labels create --name \"Bug\" --color \"#FF0000\"",
2603
+ "<%= config.bin %> labels create --name \"Feature\" --color \"#00FF00\" --description \"New feature requests\"",
2604
+ "<%= config.bin %> labels create --name \"Backend\" --color \"#0000FF\" --team-id TEAM_ID",
2605
+ "<%= config.bin %> labels create --name \"API\" --color \"#FF00FF\" --parent-id PARENT_LABEL_ID"
1958
2606
  ],
1959
2607
  "flags": {
1960
2608
  "format": {
@@ -1973,24 +2621,40 @@
1973
2621
  },
1974
2622
  "name": {
1975
2623
  "char": "n",
1976
- "description": "Milestone name",
2624
+ "description": "Label name",
1977
2625
  "name": "name",
1978
2626
  "required": true,
1979
2627
  "hasDynamicHelp": false,
1980
2628
  "multiple": false,
1981
2629
  "type": "option"
1982
2630
  },
2631
+ "color": {
2632
+ "char": "c",
2633
+ "description": "Label color (hex, e.g., #FF0000)",
2634
+ "name": "color",
2635
+ "required": true,
2636
+ "hasDynamicHelp": false,
2637
+ "multiple": false,
2638
+ "type": "option"
2639
+ },
1983
2640
  "description": {
1984
2641
  "char": "d",
1985
- "description": "Milestone description",
2642
+ "description": "Label description",
1986
2643
  "name": "description",
1987
2644
  "hasDynamicHelp": false,
1988
2645
  "multiple": false,
1989
2646
  "type": "option"
1990
2647
  },
1991
- "target-date": {
1992
- "description": "Target date (YYYY-MM-DD)",
1993
- "name": "target-date",
2648
+ "team-id": {
2649
+ "description": "Team ID (for team-specific labels)",
2650
+ "name": "team-id",
2651
+ "hasDynamicHelp": false,
2652
+ "multiple": false,
2653
+ "type": "option"
2654
+ },
2655
+ "parent-id": {
2656
+ "description": "Parent label ID (for nested labels)",
2657
+ "name": "parent-id",
1994
2658
  "hasDynamicHelp": false,
1995
2659
  "multiple": false,
1996
2660
  "type": "option"
@@ -1998,7 +2662,7 @@
1998
2662
  },
1999
2663
  "hasDynamicHelp": false,
2000
2664
  "hiddenAliases": [],
2001
- "id": "milestones:create",
2665
+ "id": "labels:create",
2002
2666
  "pluginAlias": "linear-cli-agents",
2003
2667
  "pluginName": "linear-cli-agents",
2004
2668
  "pluginType": "core",
@@ -2008,23 +2672,22 @@
2008
2672
  "relativePath": [
2009
2673
  "dist",
2010
2674
  "commands",
2011
- "milestones",
2675
+ "labels",
2012
2676
  "create.js"
2013
2677
  ]
2014
2678
  },
2015
- "milestones:get": {
2679
+ "labels:delete": {
2016
2680
  "aliases": [],
2017
2681
  "args": {
2018
2682
  "id": {
2019
- "description": "Milestone ID",
2683
+ "description": "Label ID",
2020
2684
  "name": "id",
2021
2685
  "required": true
2022
2686
  }
2023
2687
  },
2024
- "description": "Get a project milestone by ID",
2688
+ "description": "Delete a label",
2025
2689
  "examples": [
2026
- "<%= config.bin %> milestones get MILESTONE_ID",
2027
- "<%= config.bin %> milestones get MILESTONE_ID --format table"
2690
+ "<%= config.bin %> labels delete LABEL_ID"
2028
2691
  ],
2029
2692
  "flags": {
2030
2693
  "format": {
@@ -2044,7 +2707,7 @@
2044
2707
  },
2045
2708
  "hasDynamicHelp": false,
2046
2709
  "hiddenAliases": [],
2047
- "id": "milestones:get",
2710
+ "id": "labels:delete",
2048
2711
  "pluginAlias": "linear-cli-agents",
2049
2712
  "pluginName": "linear-cli-agents",
2050
2713
  "pluginType": "core",
@@ -2054,23 +2717,18 @@
2054
2717
  "relativePath": [
2055
2718
  "dist",
2056
2719
  "commands",
2057
- "milestones",
2058
- "get.js"
2720
+ "labels",
2721
+ "delete.js"
2059
2722
  ]
2060
2723
  },
2061
- "milestones:list": {
2724
+ "labels:list": {
2062
2725
  "aliases": [],
2063
- "args": {
2064
- "projectId": {
2065
- "description": "Project ID",
2066
- "name": "projectId",
2067
- "required": true
2068
- }
2069
- },
2070
- "description": "List project milestones",
2726
+ "args": {},
2727
+ "description": "List labels in the workspace",
2071
2728
  "examples": [
2072
- "<%= config.bin %> milestones list PROJECT_ID",
2073
- "<%= config.bin %> milestones list PROJECT_ID --format table"
2729
+ "<%= config.bin %> labels list",
2730
+ "<%= config.bin %> labels list --format table",
2731
+ "<%= config.bin %> labels list --team ENG"
2074
2732
  ],
2075
2733
  "flags": {
2076
2734
  "format": {
@@ -2087,10 +2745,18 @@
2087
2745
  ],
2088
2746
  "type": "option"
2089
2747
  },
2748
+ "team": {
2749
+ "char": "t",
2750
+ "description": "Filter by team key (e.g., ENG)",
2751
+ "name": "team",
2752
+ "hasDynamicHelp": false,
2753
+ "multiple": false,
2754
+ "type": "option"
2755
+ },
2090
2756
  "first": {
2091
- "description": "Number of milestones to fetch (default: 50)",
2757
+ "description": "Number of labels to fetch (default: 100)",
2092
2758
  "name": "first",
2093
- "default": 50,
2759
+ "default": 100,
2094
2760
  "hasDynamicHelp": false,
2095
2761
  "multiple": false,
2096
2762
  "type": "option"
@@ -2105,7 +2771,7 @@
2105
2771
  },
2106
2772
  "hasDynamicHelp": false,
2107
2773
  "hiddenAliases": [],
2108
- "id": "milestones:list",
2774
+ "id": "labels:list",
2109
2775
  "pluginAlias": "linear-cli-agents",
2110
2776
  "pluginName": "linear-cli-agents",
2111
2777
  "pluginType": "core",
@@ -2115,23 +2781,24 @@
2115
2781
  "relativePath": [
2116
2782
  "dist",
2117
2783
  "commands",
2118
- "milestones",
2784
+ "labels",
2119
2785
  "list.js"
2120
2786
  ]
2121
2787
  },
2122
- "milestones:update": {
2788
+ "labels:update": {
2123
2789
  "aliases": [],
2124
2790
  "args": {
2125
2791
  "id": {
2126
- "description": "Milestone ID",
2792
+ "description": "Label ID",
2127
2793
  "name": "id",
2128
2794
  "required": true
2129
2795
  }
2130
2796
  },
2131
- "description": "Update a project milestone",
2797
+ "description": "Update a label",
2132
2798
  "examples": [
2133
- "<%= config.bin %> milestones update MILESTONE_ID --name \"Updated Name\"",
2134
- "<%= config.bin %> milestones update MILESTONE_ID --target-date 2024-06-01"
2799
+ "<%= config.bin %> labels update LABEL_ID --name \"Updated Name\"",
2800
+ "<%= config.bin %> labels update LABEL_ID --color \"#00FF00\"",
2801
+ "<%= config.bin %> labels update LABEL_ID --description \"New description\""
2135
2802
  ],
2136
2803
  "flags": {
2137
2804
  "format": {
@@ -2150,23 +2817,31 @@
2150
2817
  },
2151
2818
  "name": {
2152
2819
  "char": "n",
2153
- "description": "Milestone name",
2820
+ "description": "Label name",
2154
2821
  "name": "name",
2155
2822
  "hasDynamicHelp": false,
2156
2823
  "multiple": false,
2157
2824
  "type": "option"
2158
2825
  },
2826
+ "color": {
2827
+ "char": "c",
2828
+ "description": "Label color (hex, e.g., #FF0000)",
2829
+ "name": "color",
2830
+ "hasDynamicHelp": false,
2831
+ "multiple": false,
2832
+ "type": "option"
2833
+ },
2159
2834
  "description": {
2160
2835
  "char": "d",
2161
- "description": "Milestone description",
2836
+ "description": "Label description",
2162
2837
  "name": "description",
2163
2838
  "hasDynamicHelp": false,
2164
2839
  "multiple": false,
2165
2840
  "type": "option"
2166
2841
  },
2167
- "target-date": {
2168
- "description": "Target date (YYYY-MM-DD)",
2169
- "name": "target-date",
2842
+ "parent-id": {
2843
+ "description": "Parent label ID",
2844
+ "name": "parent-id",
2170
2845
  "hasDynamicHelp": false,
2171
2846
  "multiple": false,
2172
2847
  "type": "option"
@@ -2174,7 +2849,7 @@
2174
2849
  },
2175
2850
  "hasDynamicHelp": false,
2176
2851
  "hiddenAliases": [],
2177
- "id": "milestones:update",
2852
+ "id": "labels:update",
2178
2853
  "pluginAlias": "linear-cli-agents",
2179
2854
  "pluginName": "linear-cli-agents",
2180
2855
  "pluginType": "core",
@@ -2184,29 +2859,92 @@
2184
2859
  "relativePath": [
2185
2860
  "dist",
2186
2861
  "commands",
2187
- "milestones",
2862
+ "labels",
2188
2863
  "update.js"
2189
2864
  ]
2190
2865
  },
2191
- "relations:create": {
2866
+ "project-updates:create": {
2867
+ "aliases": [],
2868
+ "args": {
2869
+ "projectId": {
2870
+ "description": "Project ID",
2871
+ "name": "projectId",
2872
+ "required": true
2873
+ }
2874
+ },
2875
+ "description": "Create a project update",
2876
+ "examples": [
2877
+ "<%= config.bin %> project-updates create PROJECT_ID --body \"Sprint completed successfully\"",
2878
+ "<%= config.bin %> project-updates create PROJECT_ID --body \"Delayed due to dependencies\" --health atRisk"
2879
+ ],
2880
+ "flags": {
2881
+ "format": {
2882
+ "char": "F",
2883
+ "description": "Output format",
2884
+ "name": "format",
2885
+ "default": "json",
2886
+ "hasDynamicHelp": false,
2887
+ "multiple": false,
2888
+ "options": [
2889
+ "json",
2890
+ "table",
2891
+ "plain"
2892
+ ],
2893
+ "type": "option"
2894
+ },
2895
+ "body": {
2896
+ "char": "b",
2897
+ "description": "Update body (supports markdown)",
2898
+ "name": "body",
2899
+ "required": true,
2900
+ "hasDynamicHelp": false,
2901
+ "multiple": false,
2902
+ "type": "option"
2903
+ },
2904
+ "health": {
2905
+ "char": "h",
2906
+ "description": "Project health status",
2907
+ "name": "health",
2908
+ "default": "onTrack",
2909
+ "hasDynamicHelp": false,
2910
+ "multiple": false,
2911
+ "options": [
2912
+ "onTrack",
2913
+ "atRisk",
2914
+ "offTrack"
2915
+ ],
2916
+ "type": "option"
2917
+ }
2918
+ },
2919
+ "hasDynamicHelp": false,
2920
+ "hiddenAliases": [],
2921
+ "id": "project-updates:create",
2922
+ "pluginAlias": "linear-cli-agents",
2923
+ "pluginName": "linear-cli-agents",
2924
+ "pluginType": "core",
2925
+ "strict": true,
2926
+ "enableJsonFlag": false,
2927
+ "isESM": true,
2928
+ "relativePath": [
2929
+ "dist",
2930
+ "commands",
2931
+ "project-updates",
2932
+ "create.js"
2933
+ ]
2934
+ },
2935
+ "project-updates:get": {
2192
2936
  "aliases": [],
2193
2937
  "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",
2938
+ "id": {
2939
+ "description": "Project update ID",
2940
+ "name": "id",
2202
2941
  "required": true
2203
2942
  }
2204
2943
  },
2205
- "description": "Create a relation between two issues",
2944
+ "description": "Get a project update by ID",
2206
2945
  "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"
2946
+ "<%= config.bin %> project-updates get UPDATE_ID",
2947
+ "<%= config.bin %> project-updates get UPDATE_ID --format table"
2210
2948
  ],
2211
2949
  "flags": {
2212
2950
  "format": {
@@ -2222,25 +2960,11 @@
2222
2960
  "plain"
2223
2961
  ],
2224
2962
  "type": "option"
2225
- },
2226
- "type": {
2227
- "char": "t",
2228
- "description": "Relation type (blocks, duplicate, related)",
2229
- "name": "type",
2230
- "required": true,
2231
- "hasDynamicHelp": false,
2232
- "multiple": false,
2233
- "options": [
2234
- "blocks",
2235
- "duplicate",
2236
- "related"
2237
- ],
2238
- "type": "option"
2239
2963
  }
2240
2964
  },
2241
2965
  "hasDynamicHelp": false,
2242
2966
  "hiddenAliases": [],
2243
- "id": "relations:create",
2967
+ "id": "project-updates:get",
2244
2968
  "pluginAlias": "linear-cli-agents",
2245
2969
  "pluginName": "linear-cli-agents",
2246
2970
  "pluginType": "core",
@@ -2250,22 +2974,23 @@
2250
2974
  "relativePath": [
2251
2975
  "dist",
2252
2976
  "commands",
2253
- "relations",
2254
- "create.js"
2977
+ "project-updates",
2978
+ "get.js"
2255
2979
  ]
2256
2980
  },
2257
- "relations:delete": {
2981
+ "project-updates:list": {
2258
2982
  "aliases": [],
2259
2983
  "args": {
2260
- "id": {
2261
- "description": "Relation ID",
2262
- "name": "id",
2984
+ "projectId": {
2985
+ "description": "Project ID",
2986
+ "name": "projectId",
2263
2987
  "required": true
2264
2988
  }
2265
2989
  },
2266
- "description": "Delete an issue relation",
2990
+ "description": "List project updates",
2267
2991
  "examples": [
2268
- "<%= config.bin %> relations delete RELATION_ID"
2992
+ "<%= config.bin %> project-updates list PROJECT_ID",
2993
+ "<%= config.bin %> project-updates list PROJECT_ID --format table"
2269
2994
  ],
2270
2995
  "flags": {
2271
2996
  "format": {
@@ -2281,11 +3006,26 @@
2281
3006
  "plain"
2282
3007
  ],
2283
3008
  "type": "option"
3009
+ },
3010
+ "first": {
3011
+ "description": "Number of updates to fetch (default: 20)",
3012
+ "name": "first",
3013
+ "default": 20,
3014
+ "hasDynamicHelp": false,
3015
+ "multiple": false,
3016
+ "type": "option"
3017
+ },
3018
+ "after": {
3019
+ "description": "Cursor for pagination",
3020
+ "name": "after",
3021
+ "hasDynamicHelp": false,
3022
+ "multiple": false,
3023
+ "type": "option"
2284
3024
  }
2285
3025
  },
2286
3026
  "hasDynamicHelp": false,
2287
3027
  "hiddenAliases": [],
2288
- "id": "relations:delete",
3028
+ "id": "project-updates:list",
2289
3029
  "pluginAlias": "linear-cli-agents",
2290
3030
  "pluginName": "linear-cli-agents",
2291
3031
  "pluginType": "core",
@@ -2295,23 +3035,23 @@
2295
3035
  "relativePath": [
2296
3036
  "dist",
2297
3037
  "commands",
2298
- "relations",
2299
- "delete.js"
3038
+ "project-updates",
3039
+ "list.js"
2300
3040
  ]
2301
3041
  },
2302
- "relations:list": {
3042
+ "project-updates:update": {
2303
3043
  "aliases": [],
2304
3044
  "args": {
2305
- "issue": {
2306
- "description": "Issue ID or identifier (e.g., ENG-123)",
2307
- "name": "issue",
3045
+ "id": {
3046
+ "description": "Project update ID",
3047
+ "name": "id",
2308
3048
  "required": true
2309
3049
  }
2310
3050
  },
2311
- "description": "List relations for an issue",
3051
+ "description": "Update a project update",
2312
3052
  "examples": [
2313
- "<%= config.bin %> relations list ENG-123",
2314
- "<%= config.bin %> relations list ENG-123 --format table"
3053
+ "<%= config.bin %> project-updates update UPDATE_ID --body \"Updated status\"",
3054
+ "<%= config.bin %> project-updates update UPDATE_ID --health offTrack"
2315
3055
  ],
2316
3056
  "flags": {
2317
3057
  "format": {
@@ -2327,11 +3067,32 @@
2327
3067
  "plain"
2328
3068
  ],
2329
3069
  "type": "option"
3070
+ },
3071
+ "body": {
3072
+ "char": "b",
3073
+ "description": "Update body (supports markdown)",
3074
+ "name": "body",
3075
+ "hasDynamicHelp": false,
3076
+ "multiple": false,
3077
+ "type": "option"
3078
+ },
3079
+ "health": {
3080
+ "char": "h",
3081
+ "description": "Project health status",
3082
+ "name": "health",
3083
+ "hasDynamicHelp": false,
3084
+ "multiple": false,
3085
+ "options": [
3086
+ "onTrack",
3087
+ "atRisk",
3088
+ "offTrack"
3089
+ ],
3090
+ "type": "option"
2330
3091
  }
2331
3092
  },
2332
3093
  "hasDynamicHelp": false,
2333
3094
  "hiddenAliases": [],
2334
- "id": "relations:list",
3095
+ "id": "project-updates:update",
2335
3096
  "pluginAlias": "linear-cli-agents",
2336
3097
  "pluginName": "linear-cli-agents",
2337
3098
  "pluginType": "core",
@@ -2341,8 +3102,8 @@
2341
3102
  "relativePath": [
2342
3103
  "dist",
2343
3104
  "commands",
2344
- "relations",
2345
- "list.js"
3105
+ "project-updates",
3106
+ "update.js"
2346
3107
  ]
2347
3108
  },
2348
3109
  "projects:archive": {
@@ -2748,7 +3509,164 @@
2748
3509
  },
2749
3510
  "hasDynamicHelp": false,
2750
3511
  "hiddenAliases": [],
2751
- "id": "projects:update",
3512
+ "id": "projects:update",
3513
+ "pluginAlias": "linear-cli-agents",
3514
+ "pluginName": "linear-cli-agents",
3515
+ "pluginType": "core",
3516
+ "strict": true,
3517
+ "enableJsonFlag": false,
3518
+ "isESM": true,
3519
+ "relativePath": [
3520
+ "dist",
3521
+ "commands",
3522
+ "projects",
3523
+ "update.js"
3524
+ ]
3525
+ },
3526
+ "relations:create": {
3527
+ "aliases": [],
3528
+ "args": {
3529
+ "issue": {
3530
+ "description": "Source issue ID or identifier (e.g., ENG-123)",
3531
+ "name": "issue",
3532
+ "required": true
3533
+ },
3534
+ "relatedIssue": {
3535
+ "description": "Related issue ID or identifier (e.g., ENG-456)",
3536
+ "name": "relatedIssue",
3537
+ "required": true
3538
+ }
3539
+ },
3540
+ "description": "Create a relation between two issues",
3541
+ "examples": [
3542
+ "<%= config.bin %> relations create ENG-123 ENG-456 --type blocks",
3543
+ "<%= config.bin %> relations create ENG-123 ENG-456 --type duplicate",
3544
+ "<%= config.bin %> relations create ENG-123 ENG-456 --type related"
3545
+ ],
3546
+ "flags": {
3547
+ "format": {
3548
+ "char": "F",
3549
+ "description": "Output format",
3550
+ "name": "format",
3551
+ "default": "json",
3552
+ "hasDynamicHelp": false,
3553
+ "multiple": false,
3554
+ "options": [
3555
+ "json",
3556
+ "table",
3557
+ "plain"
3558
+ ],
3559
+ "type": "option"
3560
+ },
3561
+ "type": {
3562
+ "char": "t",
3563
+ "description": "Relation type (blocks, duplicate, related)",
3564
+ "name": "type",
3565
+ "required": true,
3566
+ "hasDynamicHelp": false,
3567
+ "multiple": false,
3568
+ "options": [
3569
+ "blocks",
3570
+ "duplicate",
3571
+ "related"
3572
+ ],
3573
+ "type": "option"
3574
+ }
3575
+ },
3576
+ "hasDynamicHelp": false,
3577
+ "hiddenAliases": [],
3578
+ "id": "relations:create",
3579
+ "pluginAlias": "linear-cli-agents",
3580
+ "pluginName": "linear-cli-agents",
3581
+ "pluginType": "core",
3582
+ "strict": true,
3583
+ "enableJsonFlag": false,
3584
+ "isESM": true,
3585
+ "relativePath": [
3586
+ "dist",
3587
+ "commands",
3588
+ "relations",
3589
+ "create.js"
3590
+ ]
3591
+ },
3592
+ "relations:delete": {
3593
+ "aliases": [],
3594
+ "args": {
3595
+ "id": {
3596
+ "description": "Relation ID",
3597
+ "name": "id",
3598
+ "required": true
3599
+ }
3600
+ },
3601
+ "description": "Delete an issue relation",
3602
+ "examples": [
3603
+ "<%= config.bin %> relations delete RELATION_ID"
3604
+ ],
3605
+ "flags": {
3606
+ "format": {
3607
+ "char": "F",
3608
+ "description": "Output format",
3609
+ "name": "format",
3610
+ "default": "json",
3611
+ "hasDynamicHelp": false,
3612
+ "multiple": false,
3613
+ "options": [
3614
+ "json",
3615
+ "table",
3616
+ "plain"
3617
+ ],
3618
+ "type": "option"
3619
+ }
3620
+ },
3621
+ "hasDynamicHelp": false,
3622
+ "hiddenAliases": [],
3623
+ "id": "relations:delete",
3624
+ "pluginAlias": "linear-cli-agents",
3625
+ "pluginName": "linear-cli-agents",
3626
+ "pluginType": "core",
3627
+ "strict": true,
3628
+ "enableJsonFlag": false,
3629
+ "isESM": true,
3630
+ "relativePath": [
3631
+ "dist",
3632
+ "commands",
3633
+ "relations",
3634
+ "delete.js"
3635
+ ]
3636
+ },
3637
+ "relations:list": {
3638
+ "aliases": [],
3639
+ "args": {
3640
+ "issue": {
3641
+ "description": "Issue ID or identifier (e.g., ENG-123)",
3642
+ "name": "issue",
3643
+ "required": true
3644
+ }
3645
+ },
3646
+ "description": "List relations for an issue",
3647
+ "examples": [
3648
+ "<%= config.bin %> relations list ENG-123",
3649
+ "<%= config.bin %> relations list ENG-123 --format table"
3650
+ ],
3651
+ "flags": {
3652
+ "format": {
3653
+ "char": "F",
3654
+ "description": "Output format",
3655
+ "name": "format",
3656
+ "default": "json",
3657
+ "hasDynamicHelp": false,
3658
+ "multiple": false,
3659
+ "options": [
3660
+ "json",
3661
+ "table",
3662
+ "plain"
3663
+ ],
3664
+ "type": "option"
3665
+ }
3666
+ },
3667
+ "hasDynamicHelp": false,
3668
+ "hiddenAliases": [],
3669
+ "id": "relations:list",
2752
3670
  "pluginAlias": "linear-cli-agents",
2753
3671
  "pluginName": "linear-cli-agents",
2754
3672
  "pluginType": "core",
@@ -2758,8 +3676,8 @@
2758
3676
  "relativePath": [
2759
3677
  "dist",
2760
3678
  "commands",
2761
- "projects",
2762
- "update.js"
3679
+ "relations",
3680
+ "list.js"
2763
3681
  ]
2764
3682
  },
2765
3683
  "teams:list": {
@@ -2818,14 +3736,13 @@
2818
3736
  "list.js"
2819
3737
  ]
2820
3738
  },
2821
- "states:list": {
3739
+ "templates:create": {
2822
3740
  "aliases": [],
2823
3741
  "args": {},
2824
- "description": "List workflow states in the workspace",
3742
+ "description": "Create a template",
2825
3743
  "examples": [
2826
- "<%= config.bin %> states list",
2827
- "<%= config.bin %> states list --format table",
2828
- "<%= config.bin %> states list --team ENG"
3744
+ "<%= config.bin %> templates create --name \"Bug Report\" --type issue --team-id TEAM_ID --template-data '{\"title\":\"Bug: \",\"priority\":2}'",
3745
+ "<%= config.bin %> templates create --name \"Feature Request\" --type issue --template-data '{\"title\":\"Feature: \"}'"
2829
3746
  ],
2830
3747
  "flags": {
2831
3748
  "format": {
@@ -2842,25 +3759,47 @@
2842
3759
  ],
2843
3760
  "type": "option"
2844
3761
  },
2845
- "team": {
3762
+ "name": {
3763
+ "char": "n",
3764
+ "description": "Template name",
3765
+ "name": "name",
3766
+ "required": true,
3767
+ "hasDynamicHelp": false,
3768
+ "multiple": false,
3769
+ "type": "option"
3770
+ },
3771
+ "type": {
2846
3772
  "char": "t",
2847
- "description": "Filter by team key (e.g., ENG)",
2848
- "name": "team",
3773
+ "description": "Template type",
3774
+ "name": "type",
3775
+ "required": true,
2849
3776
  "hasDynamicHelp": false,
2850
3777
  "multiple": false,
3778
+ "options": [
3779
+ "issue",
3780
+ "project"
3781
+ ],
2851
3782
  "type": "option"
2852
3783
  },
2853
- "first": {
2854
- "description": "Number of states to fetch (default: 100)",
2855
- "name": "first",
2856
- "default": 100,
3784
+ "description": {
3785
+ "char": "d",
3786
+ "description": "Template description",
3787
+ "name": "description",
2857
3788
  "hasDynamicHelp": false,
2858
3789
  "multiple": false,
2859
3790
  "type": "option"
2860
3791
  },
2861
- "after": {
2862
- "description": "Cursor for pagination",
2863
- "name": "after",
3792
+ "team-id": {
3793
+ "description": "Team ID (optional, for team-specific templates)",
3794
+ "name": "team-id",
3795
+ "hasDynamicHelp": false,
3796
+ "multiple": false,
3797
+ "type": "option"
3798
+ },
3799
+ "template-data": {
3800
+ "description": "Template data as JSON (e.g., {\"title\":\"Bug: \",\"priority\":2})",
3801
+ "name": "template-data",
3802
+ "required": true,
2864
3803
  "hasDynamicHelp": false,
2865
3804
  "multiple": false,
2866
3805
  "type": "option"
@@ -2868,7 +3807,7 @@
2868
3807
  },
2869
3808
  "hasDynamicHelp": false,
2870
3809
  "hiddenAliases": [],
2871
- "id": "states:list",
3810
+ "id": "templates:create",
2872
3811
  "pluginAlias": "linear-cli-agents",
2873
3812
  "pluginName": "linear-cli-agents",
2874
3813
  "pluginType": "core",
@@ -2878,24 +3817,23 @@
2878
3817
  "relativePath": [
2879
3818
  "dist",
2880
3819
  "commands",
2881
- "states",
2882
- "list.js"
3820
+ "templates",
3821
+ "create.js"
2883
3822
  ]
2884
3823
  },
2885
- "users:get": {
3824
+ "templates:get": {
2886
3825
  "aliases": [],
2887
3826
  "args": {
2888
3827
  "id": {
2889
- "description": "User ID (use \"me\" for current user)",
3828
+ "description": "Template ID",
2890
3829
  "name": "id",
2891
3830
  "required": true
2892
3831
  }
2893
3832
  },
2894
- "description": "Get a single user by ID",
3833
+ "description": "Get a template by ID",
2895
3834
  "examples": [
2896
- "<%= config.bin %> users get USER_ID",
2897
- "<%= config.bin %> users get USER_ID --format table",
2898
- "<%= config.bin %> users get me"
3835
+ "<%= config.bin %> templates get TEMPLATE_ID",
3836
+ "<%= config.bin %> templates get TEMPLATE_ID --format table"
2899
3837
  ],
2900
3838
  "flags": {
2901
3839
  "format": {
@@ -2915,7 +3853,7 @@
2915
3853
  },
2916
3854
  "hasDynamicHelp": false,
2917
3855
  "hiddenAliases": [],
2918
- "id": "users:get",
3856
+ "id": "templates:get",
2919
3857
  "pluginAlias": "linear-cli-agents",
2920
3858
  "pluginName": "linear-cli-agents",
2921
3859
  "pluginType": "core",
@@ -2925,18 +3863,18 @@
2925
3863
  "relativePath": [
2926
3864
  "dist",
2927
3865
  "commands",
2928
- "users",
3866
+ "templates",
2929
3867
  "get.js"
2930
3868
  ]
2931
3869
  },
2932
- "users:list": {
3870
+ "templates:list": {
2933
3871
  "aliases": [],
2934
3872
  "args": {},
2935
- "description": "List users in the workspace",
3873
+ "description": "List templates in the workspace",
2936
3874
  "examples": [
2937
- "<%= config.bin %> users list",
2938
- "<%= config.bin %> users list --format table",
2939
- "<%= config.bin %> users list --active"
3875
+ "<%= config.bin %> templates list",
3876
+ "<%= config.bin %> templates list --format table",
3877
+ "<%= config.bin %> templates list --team ENG"
2940
3878
  ],
2941
3879
  "flags": {
2942
3880
  "format": {
@@ -2953,16 +3891,18 @@
2953
3891
  ],
2954
3892
  "type": "option"
2955
3893
  },
2956
- "active": {
2957
- "description": "Show only active users",
2958
- "name": "active",
2959
- "allowNo": false,
2960
- "type": "boolean"
3894
+ "team": {
3895
+ "char": "t",
3896
+ "description": "Filter by team key (e.g., ENG)",
3897
+ "name": "team",
3898
+ "hasDynamicHelp": false,
3899
+ "multiple": false,
3900
+ "type": "option"
2961
3901
  },
2962
3902
  "first": {
2963
- "description": "Number of users to fetch (default: 100)",
3903
+ "description": "Number of templates to fetch (default: 50)",
2964
3904
  "name": "first",
2965
- "default": 100,
3905
+ "default": 50,
2966
3906
  "hasDynamicHelp": false,
2967
3907
  "multiple": false,
2968
3908
  "type": "option"
@@ -2977,7 +3917,7 @@
2977
3917
  },
2978
3918
  "hasDynamicHelp": false,
2979
3919
  "hiddenAliases": [],
2980
- "id": "users:list",
3920
+ "id": "templates:list",
2981
3921
  "pluginAlias": "linear-cli-agents",
2982
3922
  "pluginName": "linear-cli-agents",
2983
3923
  "pluginType": "core",
@@ -2987,17 +3927,23 @@
2987
3927
  "relativePath": [
2988
3928
  "dist",
2989
3929
  "commands",
2990
- "users",
3930
+ "templates",
2991
3931
  "list.js"
2992
3932
  ]
2993
3933
  },
2994
- "templates:create": {
3934
+ "templates:update": {
2995
3935
  "aliases": [],
2996
- "args": {},
2997
- "description": "Create a template",
3936
+ "args": {
3937
+ "id": {
3938
+ "description": "Template ID",
3939
+ "name": "id",
3940
+ "required": true
3941
+ }
3942
+ },
3943
+ "description": "Update a template",
2998
3944
  "examples": [
2999
- "<%= config.bin %> templates create --name \"Bug Report\" --type issue --team-id TEAM_ID --template-data '{\"title\":\"Bug: \",\"priority\":2}'",
3000
- "<%= config.bin %> templates create --name \"Feature Request\" --type issue --template-data '{\"title\":\"Feature: \"}'"
3945
+ "<%= config.bin %> templates update TEMPLATE_ID --name \"Updated Name\"",
3946
+ "<%= config.bin %> templates update TEMPLATE_ID --template-data '{\"title\":\"New Bug: \",\"priority\":1}'"
3001
3947
  ],
3002
3948
  "flags": {
3003
3949
  "format": {
@@ -3018,22 +3964,8 @@
3018
3964
  "char": "n",
3019
3965
  "description": "Template name",
3020
3966
  "name": "name",
3021
- "required": true,
3022
- "hasDynamicHelp": false,
3023
- "multiple": false,
3024
- "type": "option"
3025
- },
3026
- "type": {
3027
- "char": "t",
3028
- "description": "Template type",
3029
- "name": "type",
3030
- "required": true,
3031
3967
  "hasDynamicHelp": false,
3032
3968
  "multiple": false,
3033
- "options": [
3034
- "issue",
3035
- "project"
3036
- ],
3037
3969
  "type": "option"
3038
3970
  },
3039
3971
  "description": {
@@ -3044,17 +3976,9 @@
3044
3976
  "multiple": false,
3045
3977
  "type": "option"
3046
3978
  },
3047
- "team-id": {
3048
- "description": "Team ID (optional, for team-specific templates)",
3049
- "name": "team-id",
3050
- "hasDynamicHelp": false,
3051
- "multiple": false,
3052
- "type": "option"
3053
- },
3054
3979
  "template-data": {
3055
- "description": "Template data as JSON (e.g., {\"title\":\"Bug: \",\"priority\":2})",
3980
+ "description": "Template data as JSON",
3056
3981
  "name": "template-data",
3057
- "required": true,
3058
3982
  "hasDynamicHelp": false,
3059
3983
  "multiple": false,
3060
3984
  "type": "option"
@@ -3062,7 +3986,7 @@
3062
3986
  },
3063
3987
  "hasDynamicHelp": false,
3064
3988
  "hiddenAliases": [],
3065
- "id": "templates:create",
3989
+ "id": "templates:update",
3066
3990
  "pluginAlias": "linear-cli-agents",
3067
3991
  "pluginName": "linear-cli-agents",
3068
3992
  "pluginType": "core",
@@ -3073,22 +3997,23 @@
3073
3997
  "dist",
3074
3998
  "commands",
3075
3999
  "templates",
3076
- "create.js"
4000
+ "update.js"
3077
4001
  ]
3078
4002
  },
3079
- "templates:get": {
4003
+ "users:get": {
3080
4004
  "aliases": [],
3081
4005
  "args": {
3082
4006
  "id": {
3083
- "description": "Template ID",
4007
+ "description": "User ID (use \"me\" for current user)",
3084
4008
  "name": "id",
3085
4009
  "required": true
3086
4010
  }
3087
4011
  },
3088
- "description": "Get a template by ID",
4012
+ "description": "Get a single user by ID",
3089
4013
  "examples": [
3090
- "<%= config.bin %> templates get TEMPLATE_ID",
3091
- "<%= config.bin %> templates get TEMPLATE_ID --format table"
4014
+ "<%= config.bin %> users get USER_ID",
4015
+ "<%= config.bin %> users get USER_ID --format table",
4016
+ "<%= config.bin %> users get me"
3092
4017
  ],
3093
4018
  "flags": {
3094
4019
  "format": {
@@ -3108,7 +4033,7 @@
3108
4033
  },
3109
4034
  "hasDynamicHelp": false,
3110
4035
  "hiddenAliases": [],
3111
- "id": "templates:get",
4036
+ "id": "users:get",
3112
4037
  "pluginAlias": "linear-cli-agents",
3113
4038
  "pluginName": "linear-cli-agents",
3114
4039
  "pluginType": "core",
@@ -3118,18 +4043,18 @@
3118
4043
  "relativePath": [
3119
4044
  "dist",
3120
4045
  "commands",
3121
- "templates",
4046
+ "users",
3122
4047
  "get.js"
3123
4048
  ]
3124
4049
  },
3125
- "templates:list": {
4050
+ "users:list": {
3126
4051
  "aliases": [],
3127
4052
  "args": {},
3128
- "description": "List templates in the workspace",
4053
+ "description": "List users in the workspace",
3129
4054
  "examples": [
3130
- "<%= config.bin %> templates list",
3131
- "<%= config.bin %> templates list --format table",
3132
- "<%= config.bin %> templates list --team ENG"
4055
+ "<%= config.bin %> users list",
4056
+ "<%= config.bin %> users list --format table",
4057
+ "<%= config.bin %> users list --active"
3133
4058
  ],
3134
4059
  "flags": {
3135
4060
  "format": {
@@ -3146,18 +4071,16 @@
3146
4071
  ],
3147
4072
  "type": "option"
3148
4073
  },
3149
- "team": {
3150
- "char": "t",
3151
- "description": "Filter by team key (e.g., ENG)",
3152
- "name": "team",
3153
- "hasDynamicHelp": false,
3154
- "multiple": false,
3155
- "type": "option"
4074
+ "active": {
4075
+ "description": "Show only active users",
4076
+ "name": "active",
4077
+ "allowNo": false,
4078
+ "type": "boolean"
3156
4079
  },
3157
4080
  "first": {
3158
- "description": "Number of templates to fetch (default: 50)",
4081
+ "description": "Number of users to fetch (default: 100)",
3159
4082
  "name": "first",
3160
- "default": 50,
4083
+ "default": 100,
3161
4084
  "hasDynamicHelp": false,
3162
4085
  "multiple": false,
3163
4086
  "type": "option"
@@ -3172,7 +4095,7 @@
3172
4095
  },
3173
4096
  "hasDynamicHelp": false,
3174
4097
  "hiddenAliases": [],
3175
- "id": "templates:list",
4098
+ "id": "users:list",
3176
4099
  "pluginAlias": "linear-cli-agents",
3177
4100
  "pluginName": "linear-cli-agents",
3178
4101
  "pluginType": "core",
@@ -3182,23 +4105,18 @@
3182
4105
  "relativePath": [
3183
4106
  "dist",
3184
4107
  "commands",
3185
- "templates",
4108
+ "users",
3186
4109
  "list.js"
3187
4110
  ]
3188
4111
  },
3189
- "templates:update": {
4112
+ "states:list": {
3190
4113
  "aliases": [],
3191
- "args": {
3192
- "id": {
3193
- "description": "Template ID",
3194
- "name": "id",
3195
- "required": true
3196
- }
3197
- },
3198
- "description": "Update a template",
4114
+ "args": {},
4115
+ "description": "List workflow states in the workspace",
3199
4116
  "examples": [
3200
- "<%= config.bin %> templates update TEMPLATE_ID --name \"Updated Name\"",
3201
- "<%= config.bin %> templates update TEMPLATE_ID --template-data '{\"title\":\"New Bug: \",\"priority\":1}'"
4117
+ "<%= config.bin %> states list",
4118
+ "<%= config.bin %> states list --format table",
4119
+ "<%= config.bin %> states list --team ENG"
3202
4120
  ],
3203
4121
  "flags": {
3204
4122
  "format": {
@@ -3215,25 +4133,25 @@
3215
4133
  ],
3216
4134
  "type": "option"
3217
4135
  },
3218
- "name": {
3219
- "char": "n",
3220
- "description": "Template name",
3221
- "name": "name",
4136
+ "team": {
4137
+ "char": "t",
4138
+ "description": "Filter by team key (e.g., ENG)",
4139
+ "name": "team",
3222
4140
  "hasDynamicHelp": false,
3223
4141
  "multiple": false,
3224
4142
  "type": "option"
3225
4143
  },
3226
- "description": {
3227
- "char": "d",
3228
- "description": "Template description",
3229
- "name": "description",
4144
+ "first": {
4145
+ "description": "Number of states to fetch (default: 100)",
4146
+ "name": "first",
4147
+ "default": 100,
3230
4148
  "hasDynamicHelp": false,
3231
4149
  "multiple": false,
3232
4150
  "type": "option"
3233
4151
  },
3234
- "template-data": {
3235
- "description": "Template data as JSON",
3236
- "name": "template-data",
4152
+ "after": {
4153
+ "description": "Cursor for pagination",
4154
+ "name": "after",
3237
4155
  "hasDynamicHelp": false,
3238
4156
  "multiple": false,
3239
4157
  "type": "option"
@@ -3241,7 +4159,7 @@
3241
4159
  },
3242
4160
  "hasDynamicHelp": false,
3243
4161
  "hiddenAliases": [],
3244
- "id": "templates:update",
4162
+ "id": "states:list",
3245
4163
  "pluginAlias": "linear-cli-agents",
3246
4164
  "pluginName": "linear-cli-agents",
3247
4165
  "pluginType": "core",
@@ -3251,10 +4169,10 @@
3251
4169
  "relativePath": [
3252
4170
  "dist",
3253
4171
  "commands",
3254
- "templates",
3255
- "update.js"
4172
+ "states",
4173
+ "list.js"
3256
4174
  ]
3257
4175
  }
3258
4176
  },
3259
- "version": "0.5.1"
4177
+ "version": "0.7.0"
3260
4178
  }