@lousy-agents/cli 5.14.3 → 5.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/copilot-with-fastify/.devcontainer/devcontainer.json +1 -1
- package/api/copilot-with-fastify/package-lock.json +61 -61
- package/api/copilot-with-fastify/package.json +4 -4
- package/cli/copilot-with-citty/.devcontainer/devcontainer.json +1 -1
- package/cli/copilot-with-citty/package.json +4 -4
- package/dist/index.js +44 -30
- package/package.json +1 -1
- package/ui/copilot-with-react/.devcontainer/devcontainer.json +1 -1
- package/ui/copilot-with-react/package.json +5 -5
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"ghcr.io/devcontainers/features/copilot-cli:1.0.0": {},
|
|
12
12
|
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {
|
|
13
|
-
"version": "v2.1.
|
|
13
|
+
"version": "v2.1.140"
|
|
14
14
|
},
|
|
15
15
|
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1.0.2": {
|
|
16
16
|
"packages": "yamllint, shellcheck",
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@biomejs/biome": "2.4.15",
|
|
21
|
-
"@lousy-agents/mcp": "5.14.
|
|
21
|
+
"@lousy-agents/mcp": "5.14.4",
|
|
22
22
|
"@modelcontextprotocol/server-sequential-thinking": "2025.12.18",
|
|
23
23
|
"@testcontainers/postgresql": "11.14.0",
|
|
24
|
-
"@types/node": "24.12.
|
|
25
|
-
"@upstash/context7-mcp": "2.2.
|
|
24
|
+
"@types/node": "24.12.4",
|
|
25
|
+
"@upstash/context7-mcp": "2.2.5",
|
|
26
26
|
"chance": "1.1.13",
|
|
27
27
|
"testcontainers": "11.14.0",
|
|
28
28
|
"tsx": "4.21.0",
|
|
29
29
|
"typescript": "6.0.3",
|
|
30
|
-
"vitest": "4.1.
|
|
30
|
+
"vitest": "4.1.6"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"node_modules/@balena/dockerignore": {
|
|
@@ -956,14 +956,14 @@
|
|
|
956
956
|
}
|
|
957
957
|
},
|
|
958
958
|
"node_modules/@lousy-agents/mcp": {
|
|
959
|
-
"version": "5.14.
|
|
960
|
-
"resolved": "https://registry.npmjs.org/@lousy-agents/mcp/-/mcp-5.14.
|
|
961
|
-
"integrity": "sha512-
|
|
959
|
+
"version": "5.14.4",
|
|
960
|
+
"resolved": "https://registry.npmjs.org/@lousy-agents/mcp/-/mcp-5.14.4.tgz",
|
|
961
|
+
"integrity": "sha512-du/cpfFUJXf4e0bHnvekFd50aCMOa/mLgYLk4scnPBxw0umDUDWYiHjCUpqm0Aem5vS4J7ymCSyymdjtF5sGAg==",
|
|
962
962
|
"dev": true,
|
|
963
963
|
"license": "BSD-2-Clause-Patent",
|
|
964
964
|
"dependencies": {
|
|
965
965
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
966
|
-
"yaml": "2.
|
|
966
|
+
"yaml": "2.9.0",
|
|
967
967
|
"zod": "4.4.3"
|
|
968
968
|
},
|
|
969
969
|
"bin": {
|
|
@@ -1549,9 +1549,9 @@
|
|
|
1549
1549
|
"license": "MIT"
|
|
1550
1550
|
},
|
|
1551
1551
|
"node_modules/@types/node": {
|
|
1552
|
-
"version": "24.12.
|
|
1553
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.
|
|
1554
|
-
"integrity": "sha512-
|
|
1552
|
+
"version": "24.12.4",
|
|
1553
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.4.tgz",
|
|
1554
|
+
"integrity": "sha512-GUUEShf+PBCGW2KaXwcIt3Yk+e3pkKwWKb9GSyM9WQVE+ep2jzmHdGsHzu4wgcZy5fN9FBdVzjpBQsYlpfpgLA==",
|
|
1555
1555
|
"dev": true,
|
|
1556
1556
|
"license": "MIT",
|
|
1557
1557
|
"dependencies": {
|
|
@@ -1631,9 +1631,9 @@
|
|
|
1631
1631
|
"license": "MIT"
|
|
1632
1632
|
},
|
|
1633
1633
|
"node_modules/@upstash/context7-mcp": {
|
|
1634
|
-
"version": "2.2.
|
|
1635
|
-
"resolved": "https://registry.npmjs.org/@upstash/context7-mcp/-/context7-mcp-2.2.
|
|
1636
|
-
"integrity": "sha512-
|
|
1634
|
+
"version": "2.2.5",
|
|
1635
|
+
"resolved": "https://registry.npmjs.org/@upstash/context7-mcp/-/context7-mcp-2.2.5.tgz",
|
|
1636
|
+
"integrity": "sha512-0TdLOtFmgu5oHu3xlkAoVuNYKsleh9+mjgu7gFfQcHCmaESaEoQOsKZ/hMvTybEz/D1S65vbkKZ2QoucknH4nw==",
|
|
1637
1637
|
"dev": true,
|
|
1638
1638
|
"license": "MIT",
|
|
1639
1639
|
"dependencies": {
|
|
@@ -1650,16 +1650,16 @@
|
|
|
1650
1650
|
}
|
|
1651
1651
|
},
|
|
1652
1652
|
"node_modules/@vitest/expect": {
|
|
1653
|
-
"version": "4.1.
|
|
1654
|
-
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.
|
|
1655
|
-
"integrity": "sha512-
|
|
1653
|
+
"version": "4.1.6",
|
|
1654
|
+
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.6.tgz",
|
|
1655
|
+
"integrity": "sha512-7EHDquPthALSV0jhhjgEW8FXaviMx7rSqu8W6oqCoAuOhKov814P99QDV1pxMA3QPv21YudvJngIhjrNI4opLg==",
|
|
1656
1656
|
"dev": true,
|
|
1657
1657
|
"license": "MIT",
|
|
1658
1658
|
"dependencies": {
|
|
1659
1659
|
"@standard-schema/spec": "^1.1.0",
|
|
1660
1660
|
"@types/chai": "^5.2.2",
|
|
1661
|
-
"@vitest/spy": "4.1.
|
|
1662
|
-
"@vitest/utils": "4.1.
|
|
1661
|
+
"@vitest/spy": "4.1.6",
|
|
1662
|
+
"@vitest/utils": "4.1.6",
|
|
1663
1663
|
"chai": "^6.2.2",
|
|
1664
1664
|
"tinyrainbow": "^3.1.0"
|
|
1665
1665
|
},
|
|
@@ -1668,13 +1668,13 @@
|
|
|
1668
1668
|
}
|
|
1669
1669
|
},
|
|
1670
1670
|
"node_modules/@vitest/mocker": {
|
|
1671
|
-
"version": "4.1.
|
|
1672
|
-
"resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.
|
|
1673
|
-
"integrity": "sha512
|
|
1671
|
+
"version": "4.1.6",
|
|
1672
|
+
"resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.6.tgz",
|
|
1673
|
+
"integrity": "sha512-MCFc63czMjEInOlcY2cpQCvCN+KgbAn+60xu9cMgP4sKaLC5JNAKw7JH8QdAnoAC88hW1IiSNZ+GgVXlN1UcMQ==",
|
|
1674
1674
|
"dev": true,
|
|
1675
1675
|
"license": "MIT",
|
|
1676
1676
|
"dependencies": {
|
|
1677
|
-
"@vitest/spy": "4.1.
|
|
1677
|
+
"@vitest/spy": "4.1.6",
|
|
1678
1678
|
"estree-walker": "^3.0.3",
|
|
1679
1679
|
"magic-string": "^0.30.21"
|
|
1680
1680
|
},
|
|
@@ -1695,9 +1695,9 @@
|
|
|
1695
1695
|
}
|
|
1696
1696
|
},
|
|
1697
1697
|
"node_modules/@vitest/pretty-format": {
|
|
1698
|
-
"version": "4.1.
|
|
1699
|
-
"resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.
|
|
1700
|
-
"integrity": "sha512-
|
|
1698
|
+
"version": "4.1.6",
|
|
1699
|
+
"resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.6.tgz",
|
|
1700
|
+
"integrity": "sha512-h5SxD/IzNhZYnrSZRsUZQIC+vD0GY8cUvq0iwsmkFKixRCKLLWqCXa/FIQ4S1R+sI+PGoojkHsdNrbZiM9Qpgw==",
|
|
1701
1701
|
"dev": true,
|
|
1702
1702
|
"license": "MIT",
|
|
1703
1703
|
"dependencies": {
|
|
@@ -1708,13 +1708,13 @@
|
|
|
1708
1708
|
}
|
|
1709
1709
|
},
|
|
1710
1710
|
"node_modules/@vitest/runner": {
|
|
1711
|
-
"version": "4.1.
|
|
1712
|
-
"resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.
|
|
1713
|
-
"integrity": "sha512-
|
|
1711
|
+
"version": "4.1.6",
|
|
1712
|
+
"resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.6.tgz",
|
|
1713
|
+
"integrity": "sha512-nOPCmn2+yD0ZNmKdsXGv/UxMMWbMuKeD6GyYncNwdkYDxpQvrPSKYj2rWuDjC2Y4b6w6hjip5dBKFzEUuZe3vA==",
|
|
1714
1714
|
"dev": true,
|
|
1715
1715
|
"license": "MIT",
|
|
1716
1716
|
"dependencies": {
|
|
1717
|
-
"@vitest/utils": "4.1.
|
|
1717
|
+
"@vitest/utils": "4.1.6",
|
|
1718
1718
|
"pathe": "^2.0.3"
|
|
1719
1719
|
},
|
|
1720
1720
|
"funding": {
|
|
@@ -1722,14 +1722,14 @@
|
|
|
1722
1722
|
}
|
|
1723
1723
|
},
|
|
1724
1724
|
"node_modules/@vitest/snapshot": {
|
|
1725
|
-
"version": "4.1.
|
|
1726
|
-
"resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.
|
|
1727
|
-
"integrity": "sha512-
|
|
1725
|
+
"version": "4.1.6",
|
|
1726
|
+
"resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.6.tgz",
|
|
1727
|
+
"integrity": "sha512-YhsdE6xAVfTDmzjxL2ZDUvjj+ZsgyOKe+TdQzqkD72wIOmHka8NuGQ6NpTNZv9D2Z63fbwWKJPeVpEw4EQgYxw==",
|
|
1728
1728
|
"dev": true,
|
|
1729
1729
|
"license": "MIT",
|
|
1730
1730
|
"dependencies": {
|
|
1731
|
-
"@vitest/pretty-format": "4.1.
|
|
1732
|
-
"@vitest/utils": "4.1.
|
|
1731
|
+
"@vitest/pretty-format": "4.1.6",
|
|
1732
|
+
"@vitest/utils": "4.1.6",
|
|
1733
1733
|
"magic-string": "^0.30.21",
|
|
1734
1734
|
"pathe": "^2.0.3"
|
|
1735
1735
|
},
|
|
@@ -1738,9 +1738,9 @@
|
|
|
1738
1738
|
}
|
|
1739
1739
|
},
|
|
1740
1740
|
"node_modules/@vitest/spy": {
|
|
1741
|
-
"version": "4.1.
|
|
1742
|
-
"resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.
|
|
1743
|
-
"integrity": "sha512-
|
|
1741
|
+
"version": "4.1.6",
|
|
1742
|
+
"resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.6.tgz",
|
|
1743
|
+
"integrity": "sha512-JFKxMx6udhwKh/Ldo270e17QX710vgunMkuPAvXjHSvC6oqLWAHhVhjg/I71q0u0CBSErIODV1Kjv0FQNSWjdg==",
|
|
1744
1744
|
"dev": true,
|
|
1745
1745
|
"license": "MIT",
|
|
1746
1746
|
"funding": {
|
|
@@ -1748,13 +1748,13 @@
|
|
|
1748
1748
|
}
|
|
1749
1749
|
},
|
|
1750
1750
|
"node_modules/@vitest/utils": {
|
|
1751
|
-
"version": "4.1.
|
|
1752
|
-
"resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.
|
|
1753
|
-
"integrity": "sha512-
|
|
1751
|
+
"version": "4.1.6",
|
|
1752
|
+
"resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.6.tgz",
|
|
1753
|
+
"integrity": "sha512-FxIY+U81R3LGKCxaHHFRQ5+g6/iRgGLmeHWdp2Amj4ljQRrEIWHmZyDfDYBRZlpyqA7qKxtS9DD1dhk8RnRIVQ==",
|
|
1754
1754
|
"dev": true,
|
|
1755
1755
|
"license": "MIT",
|
|
1756
1756
|
"dependencies": {
|
|
1757
|
-
"@vitest/pretty-format": "4.1.
|
|
1757
|
+
"@vitest/pretty-format": "4.1.6",
|
|
1758
1758
|
"convert-source-map": "^2.0.0",
|
|
1759
1759
|
"tinyrainbow": "^3.1.0"
|
|
1760
1760
|
},
|
|
@@ -5637,19 +5637,19 @@
|
|
|
5637
5637
|
}
|
|
5638
5638
|
},
|
|
5639
5639
|
"node_modules/vitest": {
|
|
5640
|
-
"version": "4.1.
|
|
5641
|
-
"resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.
|
|
5642
|
-
"integrity": "sha512-
|
|
5640
|
+
"version": "4.1.6",
|
|
5641
|
+
"resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.6.tgz",
|
|
5642
|
+
"integrity": "sha512-6lvjbS3p9b4CrdCmguzbh2/4uoXhGE2q71R4OX5sqF9R1bo9Xd6fGrMAfvp5wnCzlBnFVdCOp6onuTQVbo8iUQ==",
|
|
5643
5643
|
"dev": true,
|
|
5644
5644
|
"license": "MIT",
|
|
5645
5645
|
"dependencies": {
|
|
5646
|
-
"@vitest/expect": "4.1.
|
|
5647
|
-
"@vitest/mocker": "4.1.
|
|
5648
|
-
"@vitest/pretty-format": "4.1.
|
|
5649
|
-
"@vitest/runner": "4.1.
|
|
5650
|
-
"@vitest/snapshot": "4.1.
|
|
5651
|
-
"@vitest/spy": "4.1.
|
|
5652
|
-
"@vitest/utils": "4.1.
|
|
5646
|
+
"@vitest/expect": "4.1.6",
|
|
5647
|
+
"@vitest/mocker": "4.1.6",
|
|
5648
|
+
"@vitest/pretty-format": "4.1.6",
|
|
5649
|
+
"@vitest/runner": "4.1.6",
|
|
5650
|
+
"@vitest/snapshot": "4.1.6",
|
|
5651
|
+
"@vitest/spy": "4.1.6",
|
|
5652
|
+
"@vitest/utils": "4.1.6",
|
|
5653
5653
|
"es-module-lexer": "^2.0.0",
|
|
5654
5654
|
"expect-type": "^1.3.0",
|
|
5655
5655
|
"magic-string": "^0.30.21",
|
|
@@ -5677,12 +5677,12 @@
|
|
|
5677
5677
|
"@edge-runtime/vm": "*",
|
|
5678
5678
|
"@opentelemetry/api": "^1.9.0",
|
|
5679
5679
|
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
|
|
5680
|
-
"@vitest/browser-playwright": "4.1.
|
|
5681
|
-
"@vitest/browser-preview": "4.1.
|
|
5682
|
-
"@vitest/browser-webdriverio": "4.1.
|
|
5683
|
-
"@vitest/coverage-istanbul": "4.1.
|
|
5684
|
-
"@vitest/coverage-v8": "4.1.
|
|
5685
|
-
"@vitest/ui": "4.1.
|
|
5680
|
+
"@vitest/browser-playwright": "4.1.6",
|
|
5681
|
+
"@vitest/browser-preview": "4.1.6",
|
|
5682
|
+
"@vitest/browser-webdriverio": "4.1.6",
|
|
5683
|
+
"@vitest/coverage-istanbul": "4.1.6",
|
|
5684
|
+
"@vitest/coverage-v8": "4.1.6",
|
|
5685
|
+
"@vitest/ui": "4.1.6",
|
|
5686
5686
|
"happy-dom": "*",
|
|
5687
5687
|
"jsdom": "*",
|
|
5688
5688
|
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
@@ -5875,9 +5875,9 @@
|
|
|
5875
5875
|
}
|
|
5876
5876
|
},
|
|
5877
5877
|
"node_modules/yaml": {
|
|
5878
|
-
"version": "2.
|
|
5879
|
-
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.
|
|
5880
|
-
"integrity": "sha512-
|
|
5878
|
+
"version": "2.9.0",
|
|
5879
|
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
|
|
5880
|
+
"integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
|
|
5881
5881
|
"dev": true,
|
|
5882
5882
|
"license": "ISC",
|
|
5883
5883
|
"bin": {
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@biomejs/biome": "2.4.15",
|
|
32
|
-
"@lousy-agents/mcp": "5.14.
|
|
32
|
+
"@lousy-agents/mcp": "5.14.4",
|
|
33
33
|
"@modelcontextprotocol/server-sequential-thinking": "2025.12.18",
|
|
34
34
|
"@testcontainers/postgresql": "11.14.0",
|
|
35
|
-
"@types/node": "24.12.
|
|
36
|
-
"@upstash/context7-mcp": "2.2.
|
|
35
|
+
"@types/node": "24.12.4",
|
|
36
|
+
"@upstash/context7-mcp": "2.2.5",
|
|
37
37
|
"chance": "1.1.13",
|
|
38
38
|
"testcontainers": "11.14.0",
|
|
39
39
|
"tsx": "4.21.0",
|
|
40
40
|
"typescript": "6.0.3",
|
|
41
|
-
"vitest": "4.1.
|
|
41
|
+
"vitest": "4.1.6"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"ghcr.io/devcontainers/features/copilot-cli:1.0.0": {},
|
|
12
12
|
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {
|
|
13
|
-
"version": "v2.1.
|
|
13
|
+
"version": "v2.1.140"
|
|
14
14
|
},
|
|
15
15
|
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1.0.2": {
|
|
16
16
|
"packages": "yamllint, shellcheck",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@biomejs/biome": "2.4.15",
|
|
23
|
-
"@lousy-agents/mcp": "5.14.
|
|
23
|
+
"@lousy-agents/mcp": "5.14.4",
|
|
24
24
|
"@modelcontextprotocol/server-sequential-thinking": "2025.12.18",
|
|
25
|
-
"@types/node": "24.12.
|
|
26
|
-
"@upstash/context7-mcp": "2.2.
|
|
25
|
+
"@types/node": "24.12.4",
|
|
26
|
+
"@upstash/context7-mcp": "2.2.5",
|
|
27
27
|
"chance": "1.1.13",
|
|
28
28
|
"tsx": "4.21.0",
|
|
29
29
|
"typescript": "6.0.3",
|
|
30
|
-
"vitest": "4.1.
|
|
30
|
+
"vitest": "4.1.6"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/dist/index.js
CHANGED
|
@@ -50937,8 +50937,10 @@ class Composer {
|
|
|
50937
50937
|
}
|
|
50938
50938
|
}
|
|
50939
50939
|
if (afterDoc) {
|
|
50940
|
-
|
|
50941
|
-
|
|
50940
|
+
for (let i = 0; i < this.errors.length; ++i)
|
|
50941
|
+
doc.errors.push(this.errors[i]);
|
|
50942
|
+
for (let i = 0; i < this.warnings.length; ++i)
|
|
50943
|
+
doc.warnings.push(this.warnings[i]);
|
|
50942
50944
|
}
|
|
50943
50945
|
else {
|
|
50944
50946
|
doc.errors = this.errors;
|
|
@@ -54753,7 +54755,7 @@ class Lexer {
|
|
|
54753
54755
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
|
54754
54756
|
this.indentNext = this.indentValue + 1;
|
|
54755
54757
|
this.indentValue += n;
|
|
54756
|
-
return
|
|
54758
|
+
return 'block-start';
|
|
54757
54759
|
}
|
|
54758
54760
|
return 'doc';
|
|
54759
54761
|
}
|
|
@@ -55074,32 +55076,36 @@ class Lexer {
|
|
|
55074
55076
|
return 0;
|
|
55075
55077
|
}
|
|
55076
55078
|
*pushIndicators() {
|
|
55077
|
-
|
|
55078
|
-
|
|
55079
|
-
|
|
55080
|
-
|
|
55081
|
-
|
|
55082
|
-
|
|
55083
|
-
|
|
55084
|
-
|
|
55085
|
-
|
|
55086
|
-
|
|
55087
|
-
|
|
55088
|
-
|
|
55089
|
-
|
|
55090
|
-
|
|
55091
|
-
|
|
55092
|
-
|
|
55093
|
-
|
|
55094
|
-
|
|
55095
|
-
|
|
55096
|
-
|
|
55097
|
-
|
|
55098
|
-
|
|
55079
|
+
let n = 0;
|
|
55080
|
+
loop: while (true) {
|
|
55081
|
+
switch (this.charAt(0)) {
|
|
55082
|
+
case '!':
|
|
55083
|
+
n += yield* this.pushTag();
|
|
55084
|
+
n += yield* this.pushSpaces(true);
|
|
55085
|
+
continue loop;
|
|
55086
|
+
case '&':
|
|
55087
|
+
n += yield* this.pushUntil(isNotAnchorChar);
|
|
55088
|
+
n += yield* this.pushSpaces(true);
|
|
55089
|
+
continue loop;
|
|
55090
|
+
case '-': // this is an error
|
|
55091
|
+
case '?': // this is an error outside flow collections
|
|
55092
|
+
case ':': {
|
|
55093
|
+
const inFlow = this.flowLevel > 0;
|
|
55094
|
+
const ch1 = this.charAt(1);
|
|
55095
|
+
if (isEmpty(ch1) || (inFlow && flowIndicatorChars.has(ch1))) {
|
|
55096
|
+
if (!inFlow)
|
|
55097
|
+
this.indentNext = this.indentValue + 1;
|
|
55098
|
+
else if (this.flowKey)
|
|
55099
|
+
this.flowKey = false;
|
|
55100
|
+
n += yield* this.pushCount(1);
|
|
55101
|
+
n += yield* this.pushSpaces(true);
|
|
55102
|
+
continue loop;
|
|
55103
|
+
}
|
|
55099
55104
|
}
|
|
55100
55105
|
}
|
|
55106
|
+
break loop;
|
|
55101
55107
|
}
|
|
55102
|
-
return
|
|
55108
|
+
return n;
|
|
55103
55109
|
}
|
|
55104
55110
|
*pushTag() {
|
|
55105
55111
|
if (this.charAt(1) === '<') {
|
|
@@ -55279,6 +55285,14 @@ function getFirstKeyStartProps(prev) {
|
|
|
55279
55285
|
}
|
|
55280
55286
|
return prev.splice(i, prev.length);
|
|
55281
55287
|
}
|
|
55288
|
+
function arrayPushArray(target, source) {
|
|
55289
|
+
// May exhaust call stack with large `source` array
|
|
55290
|
+
if (source.length < 1e5)
|
|
55291
|
+
Array.prototype.push.apply(target, source);
|
|
55292
|
+
else
|
|
55293
|
+
for (let i = 0; i < source.length; ++i)
|
|
55294
|
+
target.push(source[i]);
|
|
55295
|
+
}
|
|
55282
55296
|
function fixFlowSeqItems(fc) {
|
|
55283
55297
|
if (fc.start.type === 'flow-seq-start') {
|
|
55284
55298
|
for (const it of fc.items) {
|
|
@@ -55291,12 +55305,12 @@ function fixFlowSeqItems(fc) {
|
|
|
55291
55305
|
delete it.key;
|
|
55292
55306
|
if (isFlowToken(it.value)) {
|
|
55293
55307
|
if (it.value.end)
|
|
55294
|
-
|
|
55308
|
+
arrayPushArray(it.value.end, it.sep);
|
|
55295
55309
|
else
|
|
55296
55310
|
it.value.end = it.sep;
|
|
55297
55311
|
}
|
|
55298
55312
|
else
|
|
55299
|
-
|
|
55313
|
+
arrayPushArray(it.start, it.sep);
|
|
55300
55314
|
delete it.sep;
|
|
55301
55315
|
}
|
|
55302
55316
|
}
|
|
@@ -55716,7 +55730,7 @@ class Parser {
|
|
|
55716
55730
|
const prev = map.items[map.items.length - 2];
|
|
55717
55731
|
const end = prev?.value?.end;
|
|
55718
55732
|
if (Array.isArray(end)) {
|
|
55719
|
-
|
|
55733
|
+
arrayPushArray(end, it.start);
|
|
55720
55734
|
end.push(this.sourceToken);
|
|
55721
55735
|
map.items.pop();
|
|
55722
55736
|
return;
|
|
@@ -55931,7 +55945,7 @@ class Parser {
|
|
|
55931
55945
|
const prev = seq.items[seq.items.length - 2];
|
|
55932
55946
|
const end = prev?.value?.end;
|
|
55933
55947
|
if (Array.isArray(end)) {
|
|
55934
|
-
|
|
55948
|
+
arrayPushArray(end, it.start);
|
|
55935
55949
|
end.push(this.sourceToken);
|
|
55936
55950
|
seq.items.pop();
|
|
55937
55951
|
return;
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"ghcr.io/devcontainers/features/copilot-cli:1.0.0": {},
|
|
12
12
|
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {
|
|
13
|
-
"version": "v2.1.
|
|
13
|
+
"version": "v2.1.140"
|
|
14
14
|
},
|
|
15
15
|
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1.0.2": {
|
|
16
16
|
"packages": "libnss3, libnspr4, libatk1.0-0t64, libatk-bridge2.0-0t64, libcups2t64, libdrm2, libdbus-1-3, libatspi2.0-0t64, libxcomposite1, libxdamage1, libxfixes3, libxrandr2, libgbm1, libxkbcommon0, libasound2t64, yamllint, shellcheck",
|
|
@@ -23,22 +23,22 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@biomejs/biome": "2.4.15",
|
|
25
25
|
"@eslint/eslintrc": "3.3.5",
|
|
26
|
-
"@lousy-agents/mcp": "5.14.
|
|
26
|
+
"@lousy-agents/mcp": "5.14.4",
|
|
27
27
|
"@modelcontextprotocol/server-sequential-thinking": "2025.12.18",
|
|
28
28
|
"@testing-library/jest-dom": "6.9.1",
|
|
29
29
|
"@testing-library/react": "16.3.2",
|
|
30
|
-
"@types/node": "24.12.
|
|
30
|
+
"@types/node": "24.12.4",
|
|
31
31
|
"@types/react": "19.2.14",
|
|
32
32
|
"@types/react-dom": "19.2.3",
|
|
33
|
-
"@upstash/context7-mcp": "2.2.
|
|
33
|
+
"@upstash/context7-mcp": "2.2.5",
|
|
34
34
|
"@vitejs/plugin-react": "6.0.1",
|
|
35
|
-
"@vitest/ui": "4.1.
|
|
35
|
+
"@vitest/ui": "4.1.6",
|
|
36
36
|
"eslint": "10.3.0",
|
|
37
37
|
"eslint-config-next": "16.2.6",
|
|
38
38
|
"happy-dom": "20.9.0",
|
|
39
39
|
"jsdom": "29.1.1",
|
|
40
40
|
"typescript": "6.0.3",
|
|
41
|
-
"vitest": "4.1.
|
|
41
|
+
"vitest": "4.1.6",
|
|
42
42
|
"whatwg-fetch": "3.6.20"
|
|
43
43
|
}
|
|
44
44
|
}
|