@factorialco/fcode-cli 2.4.0 → 3.0.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 (114) hide show
  1. package/README.md +331 -118
  2. package/dist/commands/clone.d.ts +0 -12
  3. package/dist/commands/clone.js +22 -135
  4. package/dist/commands/{settings → config}/get.d.ts +1 -1
  5. package/dist/commands/{settings → config}/get.js +7 -7
  6. package/dist/commands/{settings → config}/remove.d.ts +1 -1
  7. package/dist/commands/{settings → config}/remove.js +6 -6
  8. package/dist/commands/{settings → config}/set.d.ts +1 -1
  9. package/dist/commands/{settings → config}/set.js +8 -8
  10. package/dist/commands/dependencies/diff.d.ts +9 -0
  11. package/dist/commands/dependencies/diff.js +15 -0
  12. package/dist/commands/dependencies/pull.d.ts +9 -0
  13. package/dist/commands/dependencies/pull.js +44 -1
  14. package/dist/commands/diff.d.ts +12 -0
  15. package/dist/commands/diff.js +48 -0
  16. package/dist/commands/http.d.ts +1 -1
  17. package/dist/commands/http.js +7 -7
  18. package/dist/commands/i18n/diff.d.ts +9 -0
  19. package/dist/commands/i18n/diff.js +15 -0
  20. package/dist/commands/i18n/status.d.ts +3 -0
  21. package/dist/commands/i18n/status.js +1 -0
  22. package/dist/commands/modules/diff.d.ts +9 -0
  23. package/dist/commands/modules/diff.js +15 -0
  24. package/dist/commands/modules/status.d.ts +3 -0
  25. package/dist/commands/modules/status.js +1 -0
  26. package/dist/commands/processes/diff.d.ts +9 -0
  27. package/dist/commands/processes/diff.js +15 -0
  28. package/dist/commands/processes/status.d.ts +3 -0
  29. package/dist/commands/processes/status.js +1 -0
  30. package/dist/commands/pull.js +2 -2
  31. package/dist/commands/push.js +2 -2
  32. package/dist/commands/{team → settings}/aliases/delete.d.ts +1 -1
  33. package/dist/commands/{team → settings}/aliases/delete.js +6 -6
  34. package/dist/commands/{team → settings}/aliases/list.d.ts +1 -1
  35. package/dist/commands/{team → settings}/aliases/list.js +8 -8
  36. package/dist/commands/{team → settings}/aliases/set.d.ts +1 -1
  37. package/dist/commands/{team → settings}/aliases/set.js +8 -8
  38. package/dist/commands/settings/diff.d.ts +8 -0
  39. package/dist/commands/settings/diff.js +39 -0
  40. package/dist/commands/settings/pull.d.ts +11 -0
  41. package/dist/commands/settings/pull.js +41 -0
  42. package/dist/commands/{team → settings}/push.d.ts +4 -4
  43. package/dist/commands/{team → settings}/push.js +39 -39
  44. package/dist/commands/settings/status.d.ts +8 -0
  45. package/dist/commands/settings/status.js +46 -0
  46. package/dist/commands/{team → settings}/versions/create.d.ts +1 -1
  47. package/dist/commands/{team → settings}/versions/create.js +13 -10
  48. package/dist/commands/{team → settings}/versions/delete.d.ts +1 -1
  49. package/dist/commands/{team → settings}/versions/delete.js +10 -10
  50. package/dist/commands/{team → settings}/versions/list.d.ts +1 -1
  51. package/dist/commands/{team → settings}/versions/list.js +8 -8
  52. package/dist/commands/status.d.ts +3 -0
  53. package/dist/commands/status.js +10 -7
  54. package/dist/commands/team/clone.d.ts +14 -0
  55. package/dist/commands/team/clone.js +91 -0
  56. package/dist/commands/team/pull.d.ts +3 -7
  57. package/dist/commands/team/pull.js +25 -30
  58. package/dist/commands/team/status.d.ts +3 -4
  59. package/dist/commands/team/status.js +34 -33
  60. package/dist/commands/variables/diff.d.ts +9 -0
  61. package/dist/commands/variables/diff.js +15 -0
  62. package/dist/commands/variables/status.d.ts +3 -0
  63. package/dist/commands/variables/status.js +1 -0
  64. package/dist/config/dev-team.d.ts +48 -0
  65. package/dist/config/dev-team.js +62 -0
  66. package/dist/config/workspace.d.ts +2 -2
  67. package/dist/config/workspace.js +4 -2
  68. package/dist/core/commands/base-command.js +5 -0
  69. package/dist/core/commands/dependency-command.d.ts +2 -1
  70. package/dist/core/commands/dependency-command.js +3 -0
  71. package/dist/core/commands/i18n-command.js +2 -0
  72. package/dist/core/commands/modules-command.js +2 -0
  73. package/dist/core/commands/processes-command.js +2 -0
  74. package/dist/core/commands/resource-command.d.ts +26 -1
  75. package/dist/core/commands/resource-command.js +100 -3
  76. package/dist/core/commands/variables-command.d.ts +7 -0
  77. package/dist/core/commands/variables-command.js +13 -0
  78. package/dist/core/executors/javascript-execution-task.js +25 -3
  79. package/dist/core/types.d.ts +30 -7
  80. package/dist/core/types.js +38 -10
  81. package/dist/repositories/process.d.ts +8 -2
  82. package/dist/repositories/process.js +28 -18
  83. package/dist/repositories/programming-language-manifest.d.ts +15 -1
  84. package/dist/repositories/programming-language-manifest.js +45 -1
  85. package/dist/repositories/settings.d.ts +52 -0
  86. package/dist/repositories/settings.js +214 -0
  87. package/dist/runtime/libs/python/fcode/context.py +29 -2
  88. package/dist/services/dashboard-client.d.ts +31 -0
  89. package/dist/services/dashboard-client.js +99 -0
  90. package/dist/services/dev-team-service.d.ts +41 -0
  91. package/dist/services/dev-team-service.js +162 -0
  92. package/dist/services/fcode-graphql-client.d.ts +16 -2
  93. package/dist/services/fcode-graphql-client.js +56 -7
  94. package/dist/services/locale-resolver.d.ts +16 -5
  95. package/dist/services/locale-resolver.js +60 -12
  96. package/dist/services/resource-differ.d.ts +60 -0
  97. package/dist/services/resource-differ.js +135 -0
  98. package/dist/services/skills-installer.d.ts +16 -0
  99. package/dist/services/skills-installer.js +77 -0
  100. package/dist/services/team-versioning.d.ts +4 -4
  101. package/dist/services/team-versioning.js +4 -4
  102. package/dist/services/webhook-auth.js +1 -1
  103. package/dist/services/workspace-cloner.d.ts +31 -0
  104. package/dist/services/workspace-cloner.js +95 -0
  105. package/dist/utils/dev-slug.d.ts +12 -0
  106. package/dist/utils/dev-slug.js +37 -0
  107. package/dist/utils/diff.d.ts +19 -0
  108. package/dist/utils/diff.js +58 -0
  109. package/dist/utils/slugify.d.ts +17 -0
  110. package/dist/utils/slugify.js +41 -0
  111. package/oclif.manifest.json +428 -116
  112. package/package.json +12 -7
  113. package/dist/repositories/team.d.ts +0 -41
  114. package/dist/repositories/team.js +0 -170
@@ -58,6 +58,28 @@
58
58
  "clone.js"
59
59
  ]
60
60
  },
61
+ "diff": {
62
+ "aliases": [],
63
+ "args": {},
64
+ "description": "Show a unified diff between the local workspace and the cloud. Exits 1 when they differ",
65
+ "examples": [
66
+ "$ fcode diff"
67
+ ],
68
+ "flags": {},
69
+ "hasDynamicHelp": false,
70
+ "hiddenAliases": [],
71
+ "id": "diff",
72
+ "pluginAlias": "@factorialco/fcode-cli",
73
+ "pluginName": "@factorialco/fcode-cli",
74
+ "pluginType": "core",
75
+ "strict": true,
76
+ "isESM": false,
77
+ "relativePath": [
78
+ "dist",
79
+ "commands",
80
+ "diff.js"
81
+ ]
82
+ },
61
83
  "http": {
62
84
  "aliases": [],
63
85
  "args": {},
@@ -600,9 +622,17 @@
600
622
  "args": {},
601
623
  "description": "Show team workspace status",
602
624
  "examples": [
603
- "$ fcode status"
625
+ "$ fcode status",
626
+ "$ fcode status --showInherited"
604
627
  ],
605
- "flags": {},
628
+ "flags": {
629
+ "showInherited": {
630
+ "description": "Also list inherited resources that have no changes",
631
+ "name": "showInherited",
632
+ "allowNo": false,
633
+ "type": "boolean"
634
+ }
635
+ },
606
636
  "hasDynamicHelp": false,
607
637
  "hiddenAliases": [],
608
638
  "id": "status",
@@ -671,6 +701,112 @@
671
701
  "test.js"
672
702
  ]
673
703
  },
704
+ "config:get": {
705
+ "aliases": [],
706
+ "args": {
707
+ "key": {
708
+ "description": "Setting key (optional, shows all settings if omitted)",
709
+ "name": "key",
710
+ "required": false
711
+ }
712
+ },
713
+ "description": "Get a CLI setting value or all CLI settings",
714
+ "examples": [
715
+ "$ fcode config:get disableUpdateNotifier",
716
+ "$ fcode config:get",
717
+ "$ fcode config:get --all"
718
+ ],
719
+ "flags": {
720
+ "all": {
721
+ "char": "a",
722
+ "description": "Show all settings including defaults",
723
+ "name": "all",
724
+ "allowNo": false,
725
+ "type": "boolean"
726
+ }
727
+ },
728
+ "hasDynamicHelp": false,
729
+ "hiddenAliases": [],
730
+ "id": "config:get",
731
+ "pluginAlias": "@factorialco/fcode-cli",
732
+ "pluginName": "@factorialco/fcode-cli",
733
+ "pluginType": "core",
734
+ "strict": true,
735
+ "enableJsonFlag": false,
736
+ "isESM": false,
737
+ "relativePath": [
738
+ "dist",
739
+ "commands",
740
+ "config",
741
+ "get.js"
742
+ ]
743
+ },
744
+ "config:remove": {
745
+ "aliases": [],
746
+ "args": {
747
+ "key": {
748
+ "description": "Setting key",
749
+ "name": "key",
750
+ "required": true
751
+ }
752
+ },
753
+ "description": "Remove a CLI setting value",
754
+ "examples": [
755
+ "$ fcode config:remove disableUpdateNotifier"
756
+ ],
757
+ "flags": {},
758
+ "hasDynamicHelp": false,
759
+ "hiddenAliases": [],
760
+ "id": "config:remove",
761
+ "pluginAlias": "@factorialco/fcode-cli",
762
+ "pluginName": "@factorialco/fcode-cli",
763
+ "pluginType": "core",
764
+ "strict": true,
765
+ "enableJsonFlag": false,
766
+ "isESM": false,
767
+ "relativePath": [
768
+ "dist",
769
+ "commands",
770
+ "config",
771
+ "remove.js"
772
+ ]
773
+ },
774
+ "config:set": {
775
+ "aliases": [],
776
+ "args": {
777
+ "key": {
778
+ "description": "Setting key",
779
+ "name": "key",
780
+ "required": true
781
+ },
782
+ "value": {
783
+ "description": "Setting value",
784
+ "name": "value",
785
+ "required": true
786
+ }
787
+ },
788
+ "description": "Set a CLI setting value",
789
+ "examples": [
790
+ "$ fcode config:set disableUpdateNotifier true",
791
+ "$ fcode config:set ignoreWorkspaceNotEmpty false"
792
+ ],
793
+ "flags": {},
794
+ "hasDynamicHelp": false,
795
+ "hiddenAliases": [],
796
+ "id": "config:set",
797
+ "pluginAlias": "@factorialco/fcode-cli",
798
+ "pluginName": "@factorialco/fcode-cli",
799
+ "pluginType": "core",
800
+ "strict": true,
801
+ "enableJsonFlag": false,
802
+ "isESM": false,
803
+ "relativePath": [
804
+ "dist",
805
+ "commands",
806
+ "config",
807
+ "set.js"
808
+ ]
809
+ },
674
810
  "dependencies:add": {
675
811
  "aliases": [],
676
812
  "args": {
@@ -699,6 +835,35 @@
699
835
  "add.js"
700
836
  ]
701
837
  },
838
+ "dependencies:diff": {
839
+ "aliases": [],
840
+ "args": {
841
+ "resourceSlug": {
842
+ "description": "Resource slug",
843
+ "name": "resourceSlug"
844
+ }
845
+ },
846
+ "description": "Show a unified diff between local dependency manifests and the cloud. Exits 1 when they differ",
847
+ "examples": [
848
+ "$ fcode dependencies:diff",
849
+ "$ fcode dependencies:diff JAVASCRIPT"
850
+ ],
851
+ "flags": {},
852
+ "hasDynamicHelp": false,
853
+ "hiddenAliases": [],
854
+ "id": "dependencies:diff",
855
+ "pluginAlias": "@factorialco/fcode-cli",
856
+ "pluginName": "@factorialco/fcode-cli",
857
+ "pluginType": "core",
858
+ "strict": true,
859
+ "isESM": false,
860
+ "relativePath": [
861
+ "dist",
862
+ "commands",
863
+ "dependencies",
864
+ "diff.js"
865
+ ]
866
+ },
702
867
  "dependencies:install": {
703
868
  "aliases": [],
704
869
  "args": {
@@ -912,6 +1077,35 @@
912
1077
  "add.js"
913
1078
  ]
914
1079
  },
1080
+ "i18n:diff": {
1081
+ "aliases": [],
1082
+ "args": {
1083
+ "resourceSlug": {
1084
+ "description": "Resource slug",
1085
+ "name": "resourceSlug"
1086
+ }
1087
+ },
1088
+ "description": "Show a unified diff between local locales and the cloud. Exits 1 when they differ",
1089
+ "examples": [
1090
+ "$ fcode i18n:diff",
1091
+ "$ fcode i18n:diff en"
1092
+ ],
1093
+ "flags": {},
1094
+ "hasDynamicHelp": false,
1095
+ "hiddenAliases": [],
1096
+ "id": "i18n:diff",
1097
+ "pluginAlias": "@factorialco/fcode-cli",
1098
+ "pluginName": "@factorialco/fcode-cli",
1099
+ "pluginType": "core",
1100
+ "strict": true,
1101
+ "isESM": false,
1102
+ "relativePath": [
1103
+ "dist",
1104
+ "commands",
1105
+ "i18n",
1106
+ "diff.js"
1107
+ ]
1108
+ },
915
1109
  "i18n:pull": {
916
1110
  "aliases": [],
917
1111
  "args": {
@@ -1053,7 +1247,14 @@
1053
1247
  "examples": [
1054
1248
  "$ fcode i18n:status"
1055
1249
  ],
1056
- "flags": {},
1250
+ "flags": {
1251
+ "showInherited": {
1252
+ "description": "Also list inherited resources that have no changes",
1253
+ "name": "showInherited",
1254
+ "allowNo": false,
1255
+ "type": "boolean"
1256
+ }
1257
+ },
1057
1258
  "hasDynamicHelp": false,
1058
1259
  "hiddenAliases": [],
1059
1260
  "id": "i18n:status",
@@ -1097,6 +1298,35 @@
1097
1298
  "add.js"
1098
1299
  ]
1099
1300
  },
1301
+ "modules:diff": {
1302
+ "aliases": [],
1303
+ "args": {
1304
+ "resourceSlug": {
1305
+ "description": "Resource slug",
1306
+ "name": "resourceSlug"
1307
+ }
1308
+ },
1309
+ "description": "Show a unified diff between local modules and the cloud. Exits 1 when they differ",
1310
+ "examples": [
1311
+ "$ fcode modules:diff",
1312
+ "$ fcode modules:diff my-module"
1313
+ ],
1314
+ "flags": {},
1315
+ "hasDynamicHelp": false,
1316
+ "hiddenAliases": [],
1317
+ "id": "modules:diff",
1318
+ "pluginAlias": "@factorialco/fcode-cli",
1319
+ "pluginName": "@factorialco/fcode-cli",
1320
+ "pluginType": "core",
1321
+ "strict": true,
1322
+ "isESM": false,
1323
+ "relativePath": [
1324
+ "dist",
1325
+ "commands",
1326
+ "modules",
1327
+ "diff.js"
1328
+ ]
1329
+ },
1100
1330
  "modules:pull": {
1101
1331
  "aliases": [],
1102
1332
  "args": {
@@ -1237,7 +1467,14 @@
1237
1467
  "examples": [
1238
1468
  "$ fcode modules:status"
1239
1469
  ],
1240
- "flags": {},
1470
+ "flags": {
1471
+ "showInherited": {
1472
+ "description": "Also list inherited resources that have no changes",
1473
+ "name": "showInherited",
1474
+ "allowNo": false,
1475
+ "type": "boolean"
1476
+ }
1477
+ },
1241
1478
  "hasDynamicHelp": false,
1242
1479
  "hiddenAliases": [],
1243
1480
  "id": "modules:status",
@@ -1281,6 +1518,35 @@
1281
1518
  "add.js"
1282
1519
  ]
1283
1520
  },
1521
+ "processes:diff": {
1522
+ "aliases": [],
1523
+ "args": {
1524
+ "resourceSlug": {
1525
+ "description": "Resource slug",
1526
+ "name": "resourceSlug"
1527
+ }
1528
+ },
1529
+ "description": "Show a unified diff between local processes and the cloud. Exits 1 when they differ",
1530
+ "examples": [
1531
+ "$ fcode processes:diff",
1532
+ "$ fcode processes:diff hello-world"
1533
+ ],
1534
+ "flags": {},
1535
+ "hasDynamicHelp": false,
1536
+ "hiddenAliases": [],
1537
+ "id": "processes:diff",
1538
+ "pluginAlias": "@factorialco/fcode-cli",
1539
+ "pluginName": "@factorialco/fcode-cli",
1540
+ "pluginType": "core",
1541
+ "strict": true,
1542
+ "isESM": false,
1543
+ "relativePath": [
1544
+ "dist",
1545
+ "commands",
1546
+ "processes",
1547
+ "diff.js"
1548
+ ]
1549
+ },
1284
1550
  "processes:install-dependencies": {
1285
1551
  "aliases": [],
1286
1552
  "args": {
@@ -1471,7 +1737,14 @@
1471
1737
  "examples": [
1472
1738
  "$ fcode processes:status"
1473
1739
  ],
1474
- "flags": {},
1740
+ "flags": {
1741
+ "showInherited": {
1742
+ "description": "Also list inherited resources that have no changes",
1743
+ "name": "showInherited",
1744
+ "allowNo": false,
1745
+ "type": "boolean"
1746
+ }
1747
+ },
1475
1748
  "hasDynamicHelp": false,
1476
1749
  "hiddenAliases": [],
1477
1750
  "id": "processes:status",
@@ -1566,178 +1839,180 @@
1566
1839
  "set.js"
1567
1840
  ]
1568
1841
  },
1569
- "settings:get": {
1842
+ "settings:diff": {
1570
1843
  "aliases": [],
1571
- "args": {
1572
- "key": {
1573
- "description": "Setting key (optional, shows all settings if omitted)",
1574
- "name": "key",
1575
- "required": false
1576
- }
1577
- },
1578
- "description": "Get a setting value or all settings",
1844
+ "args": {},
1845
+ "description": "Show a unified diff between local workspace settings (settings.json) and the cloud. Exits 1 when they differ",
1579
1846
  "examples": [
1580
- "$ fcode settings:get disableUpdateNotifier",
1581
- "$ fcode settings:get",
1582
- "$ fcode settings:get --all"
1847
+ "$ fcode settings:diff"
1848
+ ],
1849
+ "flags": {},
1850
+ "hasDynamicHelp": false,
1851
+ "hiddenAliases": [],
1852
+ "id": "settings:diff",
1853
+ "pluginAlias": "@factorialco/fcode-cli",
1854
+ "pluginName": "@factorialco/fcode-cli",
1855
+ "pluginType": "core",
1856
+ "strict": true,
1857
+ "isESM": false,
1858
+ "relativePath": [
1859
+ "dist",
1860
+ "commands",
1861
+ "settings",
1862
+ "diff.js"
1863
+ ]
1864
+ },
1865
+ "settings:pull": {
1866
+ "aliases": [],
1867
+ "args": {},
1868
+ "description": "Fetch workspace settings (timezone, error handler, inheritance) and workspace versions/aliases from cloud into settings.json",
1869
+ "examples": [
1870
+ "$ fcode settings:pull"
1583
1871
  ],
1584
1872
  "flags": {
1585
- "all": {
1586
- "char": "a",
1587
- "description": "Show all settings including defaults",
1588
- "name": "all",
1873
+ "force": {
1874
+ "char": "f",
1875
+ "description": "Force command",
1876
+ "name": "force",
1589
1877
  "allowNo": false,
1590
1878
  "type": "boolean"
1591
1879
  }
1592
1880
  },
1593
1881
  "hasDynamicHelp": false,
1594
1882
  "hiddenAliases": [],
1595
- "id": "settings:get",
1883
+ "id": "settings:pull",
1596
1884
  "pluginAlias": "@factorialco/fcode-cli",
1597
1885
  "pluginName": "@factorialco/fcode-cli",
1598
1886
  "pluginType": "core",
1599
1887
  "strict": true,
1600
- "enableJsonFlag": false,
1601
1888
  "isESM": false,
1602
1889
  "relativePath": [
1603
1890
  "dist",
1604
1891
  "commands",
1605
1892
  "settings",
1606
- "get.js"
1893
+ "pull.js"
1607
1894
  ]
1608
1895
  },
1609
- "settings:remove": {
1896
+ "settings:push": {
1610
1897
  "aliases": [],
1611
- "args": {
1612
- "key": {
1613
- "description": "Setting key",
1614
- "name": "key",
1615
- "required": true
1616
- }
1617
- },
1618
- "description": "Remove a setting value",
1898
+ "args": {},
1899
+ "description": "Update cloud workspace settings (timezone, error handler, inheritance, webhook auth) and sync workspace versions/aliases from settings.json",
1619
1900
  "examples": [
1620
- "$ fcode settings:remove disableUpdateNotifier"
1901
+ "$ fcode settings:push"
1621
1902
  ],
1622
- "flags": {},
1903
+ "flags": {
1904
+ "force": {
1905
+ "char": "f",
1906
+ "description": "Force command",
1907
+ "name": "force",
1908
+ "allowNo": false,
1909
+ "type": "boolean"
1910
+ }
1911
+ },
1623
1912
  "hasDynamicHelp": false,
1624
1913
  "hiddenAliases": [],
1625
- "id": "settings:remove",
1914
+ "id": "settings:push",
1626
1915
  "pluginAlias": "@factorialco/fcode-cli",
1627
1916
  "pluginName": "@factorialco/fcode-cli",
1628
1917
  "pluginType": "core",
1629
1918
  "strict": true,
1630
- "enableJsonFlag": false,
1631
1919
  "isESM": false,
1632
1920
  "relativePath": [
1633
1921
  "dist",
1634
1922
  "commands",
1635
1923
  "settings",
1636
- "remove.js"
1924
+ "push.js"
1637
1925
  ]
1638
1926
  },
1639
- "settings:set": {
1927
+ "settings:status": {
1640
1928
  "aliases": [],
1641
- "args": {
1642
- "key": {
1643
- "description": "Setting key",
1644
- "name": "key",
1645
- "required": true
1646
- },
1647
- "value": {
1648
- "description": "Setting value",
1649
- "name": "value",
1650
- "required": true
1651
- }
1652
- },
1653
- "description": "Set a setting value",
1929
+ "args": {},
1930
+ "description": "Show whether workspace settings (timezone, error handler, inheritance) or workspace versions/aliases differ from the cloud",
1654
1931
  "examples": [
1655
- "$ fcode settings:set disableUpdateNotifier true",
1656
- "$ fcode settings:set ignoreWorkspaceNotEmpty false"
1932
+ "$ fcode settings:status"
1657
1933
  ],
1658
1934
  "flags": {},
1659
1935
  "hasDynamicHelp": false,
1660
1936
  "hiddenAliases": [],
1661
- "id": "settings:set",
1937
+ "id": "settings:status",
1662
1938
  "pluginAlias": "@factorialco/fcode-cli",
1663
1939
  "pluginName": "@factorialco/fcode-cli",
1664
1940
  "pluginType": "core",
1665
1941
  "strict": true,
1666
- "enableJsonFlag": false,
1667
1942
  "isESM": false,
1668
1943
  "relativePath": [
1669
1944
  "dist",
1670
1945
  "commands",
1671
1946
  "settings",
1672
- "set.js"
1947
+ "status.js"
1673
1948
  ]
1674
1949
  },
1675
- "team:pull": {
1950
+ "team:clone": {
1676
1951
  "aliases": [],
1677
- "args": {},
1678
- "description": "Fetch team settings (timezone, error handler, inheritance) and team versions/aliases from cloud into team.json",
1952
+ "args": {
1953
+ "teamId": {
1954
+ "description": "development team id (run without it to list the teams you belong to)",
1955
+ "name": "teamId",
1956
+ "required": false
1957
+ }
1958
+ },
1959
+ "description": "Clone every App of a development team into one folder — an App folder each, holding the App's development workspace",
1679
1960
  "examples": [
1680
- "$ fcode team:pull"
1961
+ "$ fcode team:clone",
1962
+ "$ fcode team:clone 0f9c1a2b-3d4e-5f60-8a1b-2c3d4e5f6071"
1681
1963
  ],
1682
1964
  "flags": {
1683
- "force": {
1684
- "char": "f",
1685
- "description": "Force command",
1686
- "name": "force",
1965
+ "skipSkillsSetup": {
1966
+ "description": "Skip installation of the Factorial Code agent skills",
1967
+ "name": "skipSkillsSetup",
1687
1968
  "allowNo": false,
1688
1969
  "type": "boolean"
1689
1970
  }
1690
1971
  },
1691
1972
  "hasDynamicHelp": false,
1692
1973
  "hiddenAliases": [],
1693
- "id": "team:pull",
1974
+ "id": "team:clone",
1694
1975
  "pluginAlias": "@factorialco/fcode-cli",
1695
1976
  "pluginName": "@factorialco/fcode-cli",
1696
1977
  "pluginType": "core",
1697
1978
  "strict": true,
1979
+ "enableJsonFlag": false,
1698
1980
  "isESM": false,
1699
1981
  "relativePath": [
1700
1982
  "dist",
1701
1983
  "commands",
1702
1984
  "team",
1703
- "pull.js"
1985
+ "clone.js"
1704
1986
  ]
1705
1987
  },
1706
- "team:push": {
1988
+ "team:pull": {
1707
1989
  "aliases": [],
1708
1990
  "args": {},
1709
- "description": "Update cloud team settings (timezone, error handler, inheritance, webhook auth) and sync team versions/aliases from team.json",
1991
+ "description": "Pull every App of the development team folder: clones Apps added since the last run and pulls each App's workspace",
1710
1992
  "examples": [
1711
- "$ fcode team:push"
1993
+ "$ fcode team:pull"
1712
1994
  ],
1713
- "flags": {
1714
- "force": {
1715
- "char": "f",
1716
- "description": "Force command",
1717
- "name": "force",
1718
- "allowNo": false,
1719
- "type": "boolean"
1720
- }
1721
- },
1995
+ "flags": {},
1722
1996
  "hasDynamicHelp": false,
1723
1997
  "hiddenAliases": [],
1724
- "id": "team:push",
1998
+ "id": "team:pull",
1725
1999
  "pluginAlias": "@factorialco/fcode-cli",
1726
2000
  "pluginName": "@factorialco/fcode-cli",
1727
2001
  "pluginType": "core",
1728
2002
  "strict": true,
2003
+ "enableJsonFlag": false,
1729
2004
  "isESM": false,
1730
2005
  "relativePath": [
1731
2006
  "dist",
1732
2007
  "commands",
1733
2008
  "team",
1734
- "push.js"
2009
+ "pull.js"
1735
2010
  ]
1736
2011
  },
1737
2012
  "team:status": {
1738
2013
  "aliases": [],
1739
2014
  "args": {},
1740
- "description": "Show whether team settings (timezone, error handler, inheritance) or team versions/aliases differ from the cloud",
2015
+ "description": "Show what differs from the cloud in every App workspace of the development team folder",
1741
2016
  "examples": [
1742
2017
  "$ fcode team:status"
1743
2018
  ],
@@ -1749,6 +2024,7 @@
1749
2024
  "pluginName": "@factorialco/fcode-cli",
1750
2025
  "pluginType": "core",
1751
2026
  "strict": true,
2027
+ "enableJsonFlag": false,
1752
2028
  "isESM": false,
1753
2029
  "relativePath": [
1754
2030
  "dist",
@@ -1823,6 +2099,35 @@
1823
2099
  "add.js"
1824
2100
  ]
1825
2101
  },
2102
+ "variables:diff": {
2103
+ "aliases": [],
2104
+ "args": {
2105
+ "resourceSlug": {
2106
+ "description": "Resource slug",
2107
+ "name": "resourceSlug"
2108
+ }
2109
+ },
2110
+ "description": "Show a unified diff between local variables and the cloud. Sensitive values are never printed. Exits 1 when they differ",
2111
+ "examples": [
2112
+ "$ fcode variables:diff",
2113
+ "$ fcode variables:diff MY_VARIABLE"
2114
+ ],
2115
+ "flags": {},
2116
+ "hasDynamicHelp": false,
2117
+ "hiddenAliases": [],
2118
+ "id": "variables:diff",
2119
+ "pluginAlias": "@factorialco/fcode-cli",
2120
+ "pluginName": "@factorialco/fcode-cli",
2121
+ "pluginType": "core",
2122
+ "strict": true,
2123
+ "isESM": false,
2124
+ "relativePath": [
2125
+ "dist",
2126
+ "commands",
2127
+ "variables",
2128
+ "diff.js"
2129
+ ]
2130
+ },
1826
2131
  "variables:pull": {
1827
2132
  "aliases": [],
1828
2133
  "args": {
@@ -1963,7 +2268,14 @@
1963
2268
  "examples": [
1964
2269
  "$ fcode variables:status"
1965
2270
  ],
1966
- "flags": {},
2271
+ "flags": {
2272
+ "showInherited": {
2273
+ "description": "Also list inherited resources that have no changes",
2274
+ "name": "showInherited",
2275
+ "allowNo": false,
2276
+ "type": "boolean"
2277
+ }
2278
+ },
1967
2279
  "hasDynamicHelp": false,
1968
2280
  "hiddenAliases": [],
1969
2281
  "id": "variables:status",
@@ -1979,7 +2291,7 @@
1979
2291
  "status.js"
1980
2292
  ]
1981
2293
  },
1982
- "team:aliases:delete": {
2294
+ "settings:aliases:delete": {
1983
2295
  "aliases": [],
1984
2296
  "args": {
1985
2297
  "name": {
@@ -1988,14 +2300,14 @@
1988
2300
  "required": true
1989
2301
  }
1990
2302
  },
1991
- "description": "Delete a team version alias and the per-entity aliases carrying its name on every owned process and module",
2303
+ "description": "Delete a workspace version alias and the per-entity aliases carrying its name on every owned process and module",
1992
2304
  "examples": [
1993
- "$ fcode team:aliases:delete production"
2305
+ "$ fcode settings:aliases:delete production"
1994
2306
  ],
1995
2307
  "flags": {},
1996
2308
  "hasDynamicHelp": false,
1997
2309
  "hiddenAliases": [],
1998
- "id": "team:aliases:delete",
2310
+ "id": "settings:aliases:delete",
1999
2311
  "pluginAlias": "@factorialco/fcode-cli",
2000
2312
  "pluginName": "@factorialco/fcode-cli",
2001
2313
  "pluginType": "core",
@@ -2004,22 +2316,22 @@
2004
2316
  "relativePath": [
2005
2317
  "dist",
2006
2318
  "commands",
2007
- "team",
2319
+ "settings",
2008
2320
  "aliases",
2009
2321
  "delete.js"
2010
2322
  ]
2011
2323
  },
2012
- "team:aliases:list": {
2324
+ "settings:aliases:list": {
2013
2325
  "aliases": [],
2014
2326
  "args": {},
2015
- "description": "List the team version aliases of the active team workspace",
2327
+ "description": "List the workspace version aliases of the active workspace",
2016
2328
  "examples": [
2017
- "$ fcode team:aliases:list"
2329
+ "$ fcode settings:aliases:list"
2018
2330
  ],
2019
2331
  "flags": {},
2020
2332
  "hasDynamicHelp": false,
2021
2333
  "hiddenAliases": [],
2022
- "id": "team:aliases:list",
2334
+ "id": "settings:aliases:list",
2023
2335
  "pluginAlias": "@factorialco/fcode-cli",
2024
2336
  "pluginName": "@factorialco/fcode-cli",
2025
2337
  "pluginType": "core",
@@ -2028,12 +2340,12 @@
2028
2340
  "relativePath": [
2029
2341
  "dist",
2030
2342
  "commands",
2031
- "team",
2343
+ "settings",
2032
2344
  "aliases",
2033
2345
  "list.js"
2034
2346
  ]
2035
2347
  },
2036
- "team:aliases:set": {
2348
+ "settings:aliases:set": {
2037
2349
  "aliases": [],
2038
2350
  "args": {
2039
2351
  "name": {
@@ -2042,19 +2354,19 @@
2042
2354
  "required": true
2043
2355
  },
2044
2356
  "tag": {
2045
- "description": "team version tag the alias points at",
2357
+ "description": "workspace version tag the alias points at",
2046
2358
  "name": "tag",
2047
2359
  "required": true
2048
2360
  }
2049
2361
  },
2050
- "description": "Create or re-point a team version alias, upserting the per-entity alias on every owned process and module that has the target tag published",
2362
+ "description": "Create or re-point a workspace version alias, upserting the per-entity alias on every owned process and module that has the target tag published",
2051
2363
  "examples": [
2052
- "$ fcode team:aliases:set production v1.0.0"
2364
+ "$ fcode settings:aliases:set production v1.0.0"
2053
2365
  ],
2054
2366
  "flags": {},
2055
2367
  "hasDynamicHelp": false,
2056
2368
  "hiddenAliases": [],
2057
- "id": "team:aliases:set",
2369
+ "id": "settings:aliases:set",
2058
2370
  "pluginAlias": "@factorialco/fcode-cli",
2059
2371
  "pluginName": "@factorialco/fcode-cli",
2060
2372
  "pluginType": "core",
@@ -2063,12 +2375,12 @@
2063
2375
  "relativePath": [
2064
2376
  "dist",
2065
2377
  "commands",
2066
- "team",
2378
+ "settings",
2067
2379
  "aliases",
2068
2380
  "set.js"
2069
2381
  ]
2070
2382
  },
2071
- "team:versions:create": {
2383
+ "settings:versions:create": {
2072
2384
  "aliases": [],
2073
2385
  "args": {
2074
2386
  "tag": {
@@ -2077,10 +2389,10 @@
2077
2389
  "required": true
2078
2390
  }
2079
2391
  },
2080
- "description": "Publish a team version: creates a version with the tag on every owned process and module (existing tags are skipped) and pins bare module imports in the published snapshots",
2392
+ "description": "Publish a workspace version: creates a version with the tag on every owned process and module (existing tags are skipped) and pins bare module imports in the published snapshots",
2081
2393
  "examples": [
2082
- "$ fcode team:versions:create v1.0.0",
2083
- "$ fcode team:versions:create v1.0.0 --comment \"First stable release\""
2394
+ "$ fcode settings:versions:create v1.0.0",
2395
+ "$ fcode settings:versions:create v1.0.0 --comment \"First stable release\""
2084
2396
  ],
2085
2397
  "flags": {
2086
2398
  "comment": {
@@ -2094,7 +2406,7 @@
2094
2406
  },
2095
2407
  "hasDynamicHelp": false,
2096
2408
  "hiddenAliases": [],
2097
- "id": "team:versions:create",
2409
+ "id": "settings:versions:create",
2098
2410
  "pluginAlias": "@factorialco/fcode-cli",
2099
2411
  "pluginName": "@factorialco/fcode-cli",
2100
2412
  "pluginType": "core",
@@ -2103,12 +2415,12 @@
2103
2415
  "relativePath": [
2104
2416
  "dist",
2105
2417
  "commands",
2106
- "team",
2418
+ "settings",
2107
2419
  "versions",
2108
2420
  "create.js"
2109
2421
  ]
2110
2422
  },
2111
- "team:versions:delete": {
2423
+ "settings:versions:delete": {
2112
2424
  "aliases": [],
2113
2425
  "args": {
2114
2426
  "tag": {
@@ -2117,9 +2429,9 @@
2117
2429
  "required": true
2118
2430
  }
2119
2431
  },
2120
- "description": "Delete a team version. CASCADES: every owned process/module version with the tag is deleted, together with the aliases, executions and schedules that reference them",
2432
+ "description": "Delete a workspace version. CASCADES: every owned process/module version with the tag is deleted, together with the aliases, executions and schedules that reference them",
2121
2433
  "examples": [
2122
- "$ fcode team:versions:delete v1.0.0"
2434
+ "$ fcode settings:versions:delete v1.0.0"
2123
2435
  ],
2124
2436
  "flags": {
2125
2437
  "force": {
@@ -2132,7 +2444,7 @@
2132
2444
  },
2133
2445
  "hasDynamicHelp": false,
2134
2446
  "hiddenAliases": [],
2135
- "id": "team:versions:delete",
2447
+ "id": "settings:versions:delete",
2136
2448
  "pluginAlias": "@factorialco/fcode-cli",
2137
2449
  "pluginName": "@factorialco/fcode-cli",
2138
2450
  "pluginType": "core",
@@ -2141,22 +2453,22 @@
2141
2453
  "relativePath": [
2142
2454
  "dist",
2143
2455
  "commands",
2144
- "team",
2456
+ "settings",
2145
2457
  "versions",
2146
2458
  "delete.js"
2147
2459
  ]
2148
2460
  },
2149
- "team:versions:list": {
2461
+ "settings:versions:list": {
2150
2462
  "aliases": [],
2151
2463
  "args": {},
2152
- "description": "List the team versions published on the active team workspace",
2464
+ "description": "List the workspace versions published on the active workspace",
2153
2465
  "examples": [
2154
- "$ fcode team:versions:list"
2466
+ "$ fcode settings:versions:list"
2155
2467
  ],
2156
2468
  "flags": {},
2157
2469
  "hasDynamicHelp": false,
2158
2470
  "hiddenAliases": [],
2159
- "id": "team:versions:list",
2471
+ "id": "settings:versions:list",
2160
2472
  "pluginAlias": "@factorialco/fcode-cli",
2161
2473
  "pluginName": "@factorialco/fcode-cli",
2162
2474
  "pluginType": "core",
@@ -2165,11 +2477,11 @@
2165
2477
  "relativePath": [
2166
2478
  "dist",
2167
2479
  "commands",
2168
- "team",
2480
+ "settings",
2169
2481
  "versions",
2170
2482
  "list.js"
2171
2483
  ]
2172
2484
  }
2173
2485
  },
2174
- "version": "2.4.0"
2486
+ "version": "3.0.0"
2175
2487
  }