fleetfizz 0.11.0 → 0.13.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 (3) hide show
  1. package/dist/fleetfizz.mjs +6861 -1583
  2. package/package.json +1 -1
  3. package/schema.json +378 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetfizz",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "Keep every Machine on your tailnet in line with one config.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/schema.json CHANGED
@@ -65,7 +65,7 @@
65
65
  "type": "array",
66
66
  "items": {
67
67
  "type": "string",
68
- "enum": ["files", "vp", "brew", "cask", "repos"]
68
+ "enum": ["files", "vp", "brew", "cask", "skills", "repos"]
69
69
  },
70
70
  "allOf": [
71
71
  {
@@ -382,7 +382,7 @@
382
382
  "type": "array",
383
383
  "items": {
384
384
  "type": "string",
385
- "enum": ["files", "vp", "brew", "cask", "repos"]
385
+ "enum": ["files", "vp", "brew", "cask", "skills", "repos"]
386
386
  },
387
387
  "allOf": [
388
388
  {
@@ -906,7 +906,7 @@
906
906
  "type": "array",
907
907
  "items": {
908
908
  "type": "string",
909
- "enum": ["files", "vp", "brew", "cask", "repos"]
909
+ "enum": ["files", "vp", "brew", "cask", "skills", "repos"]
910
910
  },
911
911
  "allOf": [
912
912
  {
@@ -1214,7 +1214,7 @@
1214
1214
  "type": "array",
1215
1215
  "items": {
1216
1216
  "type": "string",
1217
- "enum": ["files", "vp", "brew", "cask", "repos"]
1217
+ "enum": ["files", "vp", "brew", "cask", "skills", "repos"]
1218
1218
  },
1219
1219
  "allOf": [
1220
1220
  {
@@ -1474,7 +1474,7 @@
1474
1474
  "type": "array",
1475
1475
  "items": {
1476
1476
  "type": "string",
1477
- "enum": ["files", "vp", "brew", "cask", "repos"]
1477
+ "enum": ["files", "vp", "brew", "cask", "skills", "repos"]
1478
1478
  },
1479
1479
  "allOf": [
1480
1480
  {
@@ -1688,6 +1688,379 @@
1688
1688
  "description": "Homebrew Casks, macOS only. Needs Homebrew on the Machine."
1689
1689
  }
1690
1690
  ]
1691
+ },
1692
+ "skills": {
1693
+ "type": "object",
1694
+ "properties": {
1695
+ "platforms": {
1696
+ "type": "array",
1697
+ "prefixItems": [
1698
+ {
1699
+ "type": "string",
1700
+ "enum": ["darwin", "linux"]
1701
+ }
1702
+ ],
1703
+ "minItems": 1,
1704
+ "items": {
1705
+ "type": "string",
1706
+ "enum": ["darwin", "linux"]
1707
+ },
1708
+ "allOf": [
1709
+ {
1710
+ "description": "`darwin`, `linux`, or both."
1711
+ }
1712
+ ]
1713
+ },
1714
+ "machines": {
1715
+ "type": "array",
1716
+ "prefixItems": [
1717
+ {
1718
+ "type": "string",
1719
+ "minLength": 1
1720
+ }
1721
+ ],
1722
+ "minItems": 1,
1723
+ "items": {
1724
+ "type": "string",
1725
+ "minLength": 1
1726
+ },
1727
+ "allOf": [
1728
+ {
1729
+ "description": "Machine names from `machines`."
1730
+ }
1731
+ ]
1732
+ },
1733
+ "dependsOn": {
1734
+ "type": "array",
1735
+ "items": {
1736
+ "type": "string",
1737
+ "enum": ["files", "vp", "brew", "cask", "skills", "repos"]
1738
+ },
1739
+ "allOf": [
1740
+ {
1741
+ "description": "Providers whose Items must succeed on a Machine before this one changes there."
1742
+ }
1743
+ ]
1744
+ },
1745
+ "agents": {
1746
+ "type": "array",
1747
+ "prefixItems": [
1748
+ {
1749
+ "type": "string",
1750
+ "minLength": 1
1751
+ }
1752
+ ],
1753
+ "minItems": 1,
1754
+ "items": {
1755
+ "type": "string",
1756
+ "minLength": 1
1757
+ },
1758
+ "allOf": [
1759
+ {
1760
+ "description": "The agents every skill is installed for, as skills CLI ids (`claude-code`, `codex`). An Item's own `agents` replaces this list."
1761
+ }
1762
+ ]
1763
+ },
1764
+ "items": {
1765
+ "type": "object",
1766
+ "propertyNames": {
1767
+ "type": "string",
1768
+ "minLength": 1
1769
+ },
1770
+ "additionalProperties": {
1771
+ "anyOf": [
1772
+ {
1773
+ "anyOf": [
1774
+ {
1775
+ "type": "object",
1776
+ "properties": {
1777
+ "platforms": {
1778
+ "type": "array",
1779
+ "prefixItems": [
1780
+ {
1781
+ "type": "string",
1782
+ "enum": ["darwin", "linux"]
1783
+ }
1784
+ ],
1785
+ "minItems": 1,
1786
+ "items": {
1787
+ "type": "string",
1788
+ "enum": ["darwin", "linux"]
1789
+ },
1790
+ "allOf": [
1791
+ {
1792
+ "description": "`darwin`, `linux`, or both."
1793
+ }
1794
+ ]
1795
+ },
1796
+ "machines": {
1797
+ "type": "array",
1798
+ "prefixItems": [
1799
+ {
1800
+ "type": "string",
1801
+ "minLength": 1
1802
+ }
1803
+ ],
1804
+ "minItems": 1,
1805
+ "items": {
1806
+ "type": "string",
1807
+ "minLength": 1
1808
+ },
1809
+ "allOf": [
1810
+ {
1811
+ "description": "Machine names from `machines`."
1812
+ }
1813
+ ]
1814
+ },
1815
+ "source": {
1816
+ "type": "string",
1817
+ "minLength": 1,
1818
+ "allOf": [
1819
+ {
1820
+ "description": "Where the skills CLI installs it from: `owner/repo` on GitHub, or any source `skills add` takes."
1821
+ }
1822
+ ]
1823
+ },
1824
+ "ref": {
1825
+ "type": "string",
1826
+ "minLength": 1,
1827
+ "allOf": [
1828
+ {
1829
+ "description": "A branch, tag, or full commit SHA. Default: the repo's default branch. Not with a `source` that has `#ref`."
1830
+ }
1831
+ ]
1832
+ },
1833
+ "agents": {
1834
+ "type": "array",
1835
+ "prefixItems": [
1836
+ {
1837
+ "type": "string",
1838
+ "minLength": 1
1839
+ }
1840
+ ],
1841
+ "minItems": 1,
1842
+ "items": {
1843
+ "type": "string",
1844
+ "minLength": 1
1845
+ },
1846
+ "allOf": [
1847
+ {
1848
+ "description": "The agents to install it for, instead of the section's `agents`."
1849
+ }
1850
+ ]
1851
+ }
1852
+ },
1853
+ "required": ["source"],
1854
+ "additionalProperties": false
1855
+ },
1856
+ {
1857
+ "type": "string",
1858
+ "minLength": 1
1859
+ }
1860
+ ]
1861
+ },
1862
+ {
1863
+ "type": "array",
1864
+ "prefixItems": [
1865
+ {
1866
+ "anyOf": [
1867
+ {
1868
+ "type": "object",
1869
+ "properties": {
1870
+ "platforms": {
1871
+ "type": "array",
1872
+ "prefixItems": [
1873
+ {
1874
+ "type": "string",
1875
+ "enum": ["darwin", "linux"]
1876
+ }
1877
+ ],
1878
+ "minItems": 1,
1879
+ "items": {
1880
+ "type": "string",
1881
+ "enum": ["darwin", "linux"]
1882
+ },
1883
+ "allOf": [
1884
+ {
1885
+ "description": "`darwin`, `linux`, or both."
1886
+ }
1887
+ ]
1888
+ },
1889
+ "machines": {
1890
+ "type": "array",
1891
+ "prefixItems": [
1892
+ {
1893
+ "type": "string",
1894
+ "minLength": 1
1895
+ }
1896
+ ],
1897
+ "minItems": 1,
1898
+ "items": {
1899
+ "type": "string",
1900
+ "minLength": 1
1901
+ },
1902
+ "allOf": [
1903
+ {
1904
+ "description": "Machine names from `machines`."
1905
+ }
1906
+ ]
1907
+ },
1908
+ "source": {
1909
+ "type": "string",
1910
+ "minLength": 1,
1911
+ "allOf": [
1912
+ {
1913
+ "description": "Where the skills CLI installs it from: `owner/repo` on GitHub, or any source `skills add` takes."
1914
+ }
1915
+ ]
1916
+ },
1917
+ "ref": {
1918
+ "type": "string",
1919
+ "minLength": 1,
1920
+ "allOf": [
1921
+ {
1922
+ "description": "A branch, tag, or full commit SHA. Default: the repo's default branch. Not with a `source` that has `#ref`."
1923
+ }
1924
+ ]
1925
+ },
1926
+ "agents": {
1927
+ "type": "array",
1928
+ "prefixItems": [
1929
+ {
1930
+ "type": "string",
1931
+ "minLength": 1
1932
+ }
1933
+ ],
1934
+ "minItems": 1,
1935
+ "items": {
1936
+ "type": "string",
1937
+ "minLength": 1
1938
+ },
1939
+ "allOf": [
1940
+ {
1941
+ "description": "The agents to install it for, instead of the section's `agents`."
1942
+ }
1943
+ ]
1944
+ }
1945
+ },
1946
+ "required": ["source"],
1947
+ "additionalProperties": false
1948
+ },
1949
+ {
1950
+ "type": "string",
1951
+ "minLength": 1
1952
+ }
1953
+ ]
1954
+ }
1955
+ ],
1956
+ "minItems": 1,
1957
+ "items": {
1958
+ "anyOf": [
1959
+ {
1960
+ "type": "object",
1961
+ "properties": {
1962
+ "platforms": {
1963
+ "type": "array",
1964
+ "prefixItems": [
1965
+ {
1966
+ "type": "string",
1967
+ "enum": ["darwin", "linux"]
1968
+ }
1969
+ ],
1970
+ "minItems": 1,
1971
+ "items": {
1972
+ "type": "string",
1973
+ "enum": ["darwin", "linux"]
1974
+ },
1975
+ "allOf": [
1976
+ {
1977
+ "description": "`darwin`, `linux`, or both."
1978
+ }
1979
+ ]
1980
+ },
1981
+ "machines": {
1982
+ "type": "array",
1983
+ "prefixItems": [
1984
+ {
1985
+ "type": "string",
1986
+ "minLength": 1
1987
+ }
1988
+ ],
1989
+ "minItems": 1,
1990
+ "items": {
1991
+ "type": "string",
1992
+ "minLength": 1
1993
+ },
1994
+ "allOf": [
1995
+ {
1996
+ "description": "Machine names from `machines`."
1997
+ }
1998
+ ]
1999
+ },
2000
+ "source": {
2001
+ "type": "string",
2002
+ "minLength": 1,
2003
+ "allOf": [
2004
+ {
2005
+ "description": "Where the skills CLI installs it from: `owner/repo` on GitHub, or any source `skills add` takes."
2006
+ }
2007
+ ]
2008
+ },
2009
+ "ref": {
2010
+ "type": "string",
2011
+ "minLength": 1,
2012
+ "allOf": [
2013
+ {
2014
+ "description": "A branch, tag, or full commit SHA. Default: the repo's default branch. Not with a `source` that has `#ref`."
2015
+ }
2016
+ ]
2017
+ },
2018
+ "agents": {
2019
+ "type": "array",
2020
+ "prefixItems": [
2021
+ {
2022
+ "type": "string",
2023
+ "minLength": 1
2024
+ }
2025
+ ],
2026
+ "minItems": 1,
2027
+ "items": {
2028
+ "type": "string",
2029
+ "minLength": 1
2030
+ },
2031
+ "allOf": [
2032
+ {
2033
+ "description": "The agents to install it for, instead of the section's `agents`."
2034
+ }
2035
+ ]
2036
+ }
2037
+ },
2038
+ "required": ["source"],
2039
+ "additionalProperties": false
2040
+ },
2041
+ {
2042
+ "type": "string",
2043
+ "minLength": 1
2044
+ }
2045
+ ]
2046
+ }
2047
+ }
2048
+ ]
2049
+ },
2050
+ "allOf": [
2051
+ {
2052
+ "description": "Skills, keyed by name, which names the `skills:<name>` Item. Each is a source, `{ source, ref?, agents?, platforms?, machines? }`, or a list of Variants, of which a Machine gets the first that targets it."
2053
+ }
2054
+ ]
2055
+ }
2056
+ },
2057
+ "required": ["agents"],
2058
+ "additionalProperties": false,
2059
+ "allOf": [
2060
+ {
2061
+ "description": "Agent skills, installed with the skills CLI, which `vp.items` must list. Kept at their source's ref."
2062
+ }
2063
+ ]
1691
2064
  }
1692
2065
  },
1693
2066
  "required": ["machines"],