@rex0220/kintone-sql-tools 3.27.0 → 3.29.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.
- package/README.md +8 -2
- package/dist-cli/ksql.js +703 -166
- package/dist-engine/batch.d.ts +13 -0
- package/dist-engine/errors.d.ts +5 -0
- package/dist-engine/index.cjs +11 -11
- package/dist-engine/index.d.ts +3 -2
- package/dist-engine/index.mjs +11 -11
- package/dist-engine/ksql-engine.umd.js +11 -11
- package/dist-engine/meta/bundle-baseline.json +10 -10
- package/dist-engine/meta/cjs.json +154 -42
- package/dist-engine/meta/esm.json +154 -41
- package/dist-engine/meta/umd.json +156 -44
- package/dist-engine/publicTypes.d.ts +73 -0
- package/dist-engine/query.d.ts +8 -0
- package/dist-mcp/ksql-mcp.js +716 -178
- package/dist-mcpb/ksql-mcp.mcpb +0 -0
- package/package.json +4 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-07-
|
|
2
|
+
"generatedAt": "2026-07-27T22:17:56.515Z",
|
|
3
3
|
"baseline": "B66 Phase1 initial measured values; no arbitrary size ceiling",
|
|
4
4
|
"bundles": {
|
|
5
5
|
"index.cjs": {
|
|
6
|
-
"inputCount":
|
|
7
|
-
"minifiedBytes":
|
|
8
|
-
"gzipBytes":
|
|
6
|
+
"inputCount": 96,
|
|
7
|
+
"minifiedBytes": 524126,
|
|
8
|
+
"gzipBytes": 142745,
|
|
9
9
|
"forbidden": {
|
|
10
10
|
"mcp-instructions": [],
|
|
11
11
|
"src-mcp": [],
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"index.mjs": {
|
|
26
|
-
"inputCount":
|
|
27
|
-
"minifiedBytes":
|
|
28
|
-
"gzipBytes":
|
|
26
|
+
"inputCount": 96,
|
|
27
|
+
"minifiedBytes": 523581,
|
|
28
|
+
"gzipBytes": 142412,
|
|
29
29
|
"forbidden": {
|
|
30
30
|
"mcp-instructions": [],
|
|
31
31
|
"src-mcp": [],
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"ksql-engine.umd.js": {
|
|
46
|
-
"inputCount":
|
|
47
|
-
"minifiedBytes":
|
|
48
|
-
"gzipBytes":
|
|
46
|
+
"inputCount": 98,
|
|
47
|
+
"minifiedBytes": 524605,
|
|
48
|
+
"gzipBytes": 142781,
|
|
49
49
|
"forbidden": {
|
|
50
50
|
"mcp-instructions": [],
|
|
51
51
|
"src-mcp": [],
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"format": "esm"
|
|
96
96
|
},
|
|
97
97
|
"src/core/dmlGuard.ts": {
|
|
98
|
-
"bytes":
|
|
98
|
+
"bytes": 9379,
|
|
99
99
|
"imports": [
|
|
100
100
|
{
|
|
101
101
|
"path": "src/types/ast.ts",
|
|
@@ -232,8 +232,19 @@
|
|
|
232
232
|
],
|
|
233
233
|
"format": "esm"
|
|
234
234
|
},
|
|
235
|
+
"src/core/optimization/relativeDateFullScanExactPlan.ts": {
|
|
236
|
+
"bytes": 7609,
|
|
237
|
+
"imports": [
|
|
238
|
+
{
|
|
239
|
+
"path": "src/core/relativeDateFunction.ts",
|
|
240
|
+
"kind": "import-statement",
|
|
241
|
+
"original": "../relativeDateFunction"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"format": "esm"
|
|
245
|
+
},
|
|
235
246
|
"src/core/klikeValidation.ts": {
|
|
236
|
-
"bytes":
|
|
247
|
+
"bytes": 12296,
|
|
237
248
|
"imports": [
|
|
238
249
|
{
|
|
239
250
|
"path": "src/converter/selectToKintone.ts",
|
|
@@ -255,6 +266,11 @@
|
|
|
255
266
|
"kind": "import-statement",
|
|
256
267
|
"original": "./optimization/klikePushdownPlan"
|
|
257
268
|
},
|
|
269
|
+
{
|
|
270
|
+
"path": "src/core/optimization/relativeDateFullScanExactPlan.ts",
|
|
271
|
+
"kind": "import-statement",
|
|
272
|
+
"original": "./optimization/relativeDateFullScanExactPlan"
|
|
273
|
+
},
|
|
258
274
|
{
|
|
259
275
|
"path": "src/core/applyPatchScope.ts",
|
|
260
276
|
"kind": "import-statement",
|
|
@@ -755,7 +771,7 @@
|
|
|
755
771
|
"format": "esm"
|
|
756
772
|
},
|
|
757
773
|
"src/core/optimization/joinPredicatePushdown.ts": {
|
|
758
|
-
"bytes":
|
|
774
|
+
"bytes": 40818,
|
|
759
775
|
"imports": [
|
|
760
776
|
{
|
|
761
777
|
"path": "src/types/ast.ts",
|
|
@@ -777,6 +793,16 @@
|
|
|
777
793
|
"kind": "import-statement",
|
|
778
794
|
"original": "../like"
|
|
779
795
|
},
|
|
796
|
+
{
|
|
797
|
+
"path": "src/core/relativeDateFunction.ts",
|
|
798
|
+
"kind": "import-statement",
|
|
799
|
+
"original": "../relativeDateFunction"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"path": "src/core/optimization/relativeDateFullScanExactPlan.ts",
|
|
803
|
+
"kind": "import-statement",
|
|
804
|
+
"original": "./relativeDateFullScanExactPlan"
|
|
805
|
+
},
|
|
780
806
|
{
|
|
781
807
|
"path": "src/core/optimization/whereCapability.ts",
|
|
782
808
|
"kind": "import-statement",
|
|
@@ -915,19 +941,8 @@
|
|
|
915
941
|
"imports": [],
|
|
916
942
|
"format": "esm"
|
|
917
943
|
},
|
|
918
|
-
"src/core/optimization/relativeDateFullScanExactPlan.ts": {
|
|
919
|
-
"bytes": 7609,
|
|
920
|
-
"imports": [
|
|
921
|
-
{
|
|
922
|
-
"path": "src/core/relativeDateFunction.ts",
|
|
923
|
-
"kind": "import-statement",
|
|
924
|
-
"original": "../relativeDateFunction"
|
|
925
|
-
}
|
|
926
|
-
],
|
|
927
|
-
"format": "esm"
|
|
928
|
-
},
|
|
929
944
|
"src/core/optimization/relativeDatePushdownGuard.ts": {
|
|
930
|
-
"bytes":
|
|
945
|
+
"bytes": 22959,
|
|
931
946
|
"imports": [
|
|
932
947
|
{
|
|
933
948
|
"path": "src/converter/selectToKintone.ts",
|
|
@@ -953,6 +968,11 @@
|
|
|
953
968
|
"path": "src/core/optimization/relativeDateFullScanExactPlan.ts",
|
|
954
969
|
"kind": "import-statement",
|
|
955
970
|
"original": "./relativeDateFullScanExactPlan"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"path": "src/core/optimization/joinPredicatePushdown.ts",
|
|
974
|
+
"kind": "import-statement",
|
|
975
|
+
"original": "./joinPredicatePushdown"
|
|
956
976
|
}
|
|
957
977
|
],
|
|
958
978
|
"format": "esm"
|
|
@@ -1141,7 +1161,7 @@
|
|
|
1141
1161
|
"format": "esm"
|
|
1142
1162
|
},
|
|
1143
1163
|
"src/execute.ts": {
|
|
1144
|
-
"bytes":
|
|
1164
|
+
"bytes": 454115,
|
|
1145
1165
|
"imports": [
|
|
1146
1166
|
{
|
|
1147
1167
|
"path": "src/lexer/lexer.ts",
|
|
@@ -1477,7 +1497,7 @@
|
|
|
1477
1497
|
"format": "esm"
|
|
1478
1498
|
},
|
|
1479
1499
|
"src/engine-library/errors.ts": {
|
|
1480
|
-
"bytes":
|
|
1500
|
+
"bytes": 3714,
|
|
1481
1501
|
"imports": [
|
|
1482
1502
|
{
|
|
1483
1503
|
"path": "src/api/fetchAll.ts",
|
|
@@ -1603,10 +1623,21 @@
|
|
|
1603
1623
|
"format": "esm"
|
|
1604
1624
|
},
|
|
1605
1625
|
"src/engine-library/options.ts": {
|
|
1606
|
-
"bytes":
|
|
1626
|
+
"bytes": 5024,
|
|
1607
1627
|
"imports": [],
|
|
1608
1628
|
"format": "esm"
|
|
1609
1629
|
},
|
|
1630
|
+
"src/engine-library/resultMapping.ts": {
|
|
1631
|
+
"bytes": 1867,
|
|
1632
|
+
"imports": [
|
|
1633
|
+
{
|
|
1634
|
+
"path": "src/execute.ts",
|
|
1635
|
+
"kind": "import-statement",
|
|
1636
|
+
"original": "../execute"
|
|
1637
|
+
}
|
|
1638
|
+
],
|
|
1639
|
+
"format": "esm"
|
|
1640
|
+
},
|
|
1610
1641
|
"src/core/sql.ts": {
|
|
1611
1642
|
"bytes": 858,
|
|
1612
1643
|
"imports": [
|
|
@@ -1628,14 +1659,29 @@
|
|
|
1628
1659
|
],
|
|
1629
1660
|
"format": "esm"
|
|
1630
1661
|
},
|
|
1662
|
+
"src/core/applyGuard.ts": {
|
|
1663
|
+
"bytes": 638,
|
|
1664
|
+
"imports": [],
|
|
1665
|
+
"format": "esm"
|
|
1666
|
+
},
|
|
1631
1667
|
"src/engine-library/statementGuard.ts": {
|
|
1632
|
-
"bytes":
|
|
1668
|
+
"bytes": 4597,
|
|
1633
1669
|
"imports": [
|
|
1634
1670
|
{
|
|
1635
1671
|
"path": "src/core/sql.ts",
|
|
1636
1672
|
"kind": "import-statement",
|
|
1637
1673
|
"original": "../core/sql"
|
|
1638
1674
|
},
|
|
1675
|
+
{
|
|
1676
|
+
"path": "src/core/applyGuard.ts",
|
|
1677
|
+
"kind": "import-statement",
|
|
1678
|
+
"original": "../core/applyGuard"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"path": "src/core/dmlGuard.ts",
|
|
1682
|
+
"kind": "import-statement",
|
|
1683
|
+
"original": "../core/dmlGuard"
|
|
1684
|
+
},
|
|
1639
1685
|
{
|
|
1640
1686
|
"path": "src/core/klikeValidation.ts",
|
|
1641
1687
|
"kind": "import-statement",
|
|
@@ -1649,8 +1695,49 @@
|
|
|
1649
1695
|
],
|
|
1650
1696
|
"format": "esm"
|
|
1651
1697
|
},
|
|
1698
|
+
"src/engine-library/batch.ts": {
|
|
1699
|
+
"bytes": 3529,
|
|
1700
|
+
"imports": [
|
|
1701
|
+
{
|
|
1702
|
+
"path": "src/execute.ts",
|
|
1703
|
+
"kind": "import-statement",
|
|
1704
|
+
"original": "../execute"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"path": "src/engine-library/errors.ts",
|
|
1708
|
+
"kind": "import-statement",
|
|
1709
|
+
"original": "./errors"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"path": "src/engine-library/cursorScope.ts",
|
|
1713
|
+
"kind": "import-statement",
|
|
1714
|
+
"original": "./cursorScope"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"path": "src/engine-library/options.ts",
|
|
1718
|
+
"kind": "import-statement",
|
|
1719
|
+
"original": "./options"
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"path": "src/engine-library/readonlyClient.ts",
|
|
1723
|
+
"kind": "import-statement",
|
|
1724
|
+
"original": "./readonlyClient"
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"path": "src/engine-library/resultMapping.ts",
|
|
1728
|
+
"kind": "import-statement",
|
|
1729
|
+
"original": "./resultMapping"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"path": "src/engine-library/statementGuard.ts",
|
|
1733
|
+
"kind": "import-statement",
|
|
1734
|
+
"original": "./statementGuard"
|
|
1735
|
+
}
|
|
1736
|
+
],
|
|
1737
|
+
"format": "esm"
|
|
1738
|
+
},
|
|
1652
1739
|
"src/engine-library/query.ts": {
|
|
1653
|
-
"bytes":
|
|
1740
|
+
"bytes": 2547,
|
|
1654
1741
|
"imports": [
|
|
1655
1742
|
{
|
|
1656
1743
|
"path": "src/execute.ts",
|
|
@@ -1677,6 +1764,11 @@
|
|
|
1677
1764
|
"kind": "import-statement",
|
|
1678
1765
|
"original": "./readonlyClient"
|
|
1679
1766
|
},
|
|
1767
|
+
{
|
|
1768
|
+
"path": "src/engine-library/resultMapping.ts",
|
|
1769
|
+
"kind": "import-statement",
|
|
1770
|
+
"original": "./resultMapping"
|
|
1771
|
+
},
|
|
1680
1772
|
{
|
|
1681
1773
|
"path": "src/engine-library/statementGuard.ts",
|
|
1682
1774
|
"kind": "import-statement",
|
|
@@ -1686,7 +1778,7 @@
|
|
|
1686
1778
|
"format": "esm"
|
|
1687
1779
|
},
|
|
1688
1780
|
"src/engine-library/index.ts": {
|
|
1689
|
-
"bytes":
|
|
1781
|
+
"bytes": 1101,
|
|
1690
1782
|
"imports": [
|
|
1691
1783
|
{
|
|
1692
1784
|
"path": "src/engine-library/errors.ts",
|
|
@@ -1698,6 +1790,11 @@
|
|
|
1698
1790
|
"kind": "import-statement",
|
|
1699
1791
|
"original": "./browserClient"
|
|
1700
1792
|
},
|
|
1793
|
+
{
|
|
1794
|
+
"path": "src/engine-library/batch.ts",
|
|
1795
|
+
"kind": "import-statement",
|
|
1796
|
+
"original": "./batch"
|
|
1797
|
+
},
|
|
1701
1798
|
{
|
|
1702
1799
|
"path": "src/engine-library/query.ts",
|
|
1703
1800
|
"kind": "import-statement",
|
|
@@ -1714,7 +1811,7 @@
|
|
|
1714
1811
|
"entryPoint": "src/engine-library/index.ts",
|
|
1715
1812
|
"inputs": {
|
|
1716
1813
|
"src/engine-library/index.ts": {
|
|
1717
|
-
"bytesInOutput":
|
|
1814
|
+
"bytesInOutput": 182
|
|
1718
1815
|
},
|
|
1719
1816
|
"src/api/fetchAll.ts": {
|
|
1720
1817
|
"bytesInOutput": 2625
|
|
@@ -1732,7 +1829,7 @@
|
|
|
1732
1829
|
"bytesInOutput": 139
|
|
1733
1830
|
},
|
|
1734
1831
|
"src/core/grouping.ts": {
|
|
1735
|
-
"bytesInOutput":
|
|
1832
|
+
"bytesInOutput": 1284
|
|
1736
1833
|
},
|
|
1737
1834
|
"src/core/aggregateExpression.ts": {
|
|
1738
1835
|
"bytesInOutput": 2592
|
|
@@ -1744,7 +1841,7 @@
|
|
|
1744
1841
|
"bytesInOutput": 92192
|
|
1745
1842
|
},
|
|
1746
1843
|
"src/core/dmlGuard.ts": {
|
|
1747
|
-
"bytesInOutput":
|
|
1844
|
+
"bytesInOutput": 2857
|
|
1748
1845
|
},
|
|
1749
1846
|
"src/core/applyPatchScope.ts": {
|
|
1750
1847
|
"bytesInOutput": 12612
|
|
@@ -1759,7 +1856,7 @@
|
|
|
1759
1856
|
"bytesInOutput": 5075
|
|
1760
1857
|
},
|
|
1761
1858
|
"src/converter/selectToKintone.ts": {
|
|
1762
|
-
"bytesInOutput":
|
|
1859
|
+
"bytesInOutput": 8915
|
|
1763
1860
|
},
|
|
1764
1861
|
"src/core/cteInlining.ts": {
|
|
1765
1862
|
"bytesInOutput": 1224
|
|
@@ -1770,14 +1867,20 @@
|
|
|
1770
1867
|
"src/core/optimization/klikePushdownPlan.ts": {
|
|
1771
1868
|
"bytesInOutput": 1363
|
|
1772
1869
|
},
|
|
1870
|
+
"src/core/optimization/relativeDateFullScanExactPlan.ts": {
|
|
1871
|
+
"bytesInOutput": 2474
|
|
1872
|
+
},
|
|
1773
1873
|
"src/core/klikeValidation.ts": {
|
|
1774
|
-
"bytesInOutput":
|
|
1874
|
+
"bytesInOutput": 6076
|
|
1775
1875
|
},
|
|
1776
1876
|
"src/engine/groupingRowMeta.ts": {
|
|
1777
1877
|
"bytesInOutput": 559
|
|
1778
1878
|
},
|
|
1779
1879
|
"src/core/groupingValidation.ts": {
|
|
1780
|
-
"bytesInOutput":
|
|
1880
|
+
"bytesInOutput": 5175
|
|
1881
|
+
},
|
|
1882
|
+
"src/core/batch.ts": {
|
|
1883
|
+
"bytesInOutput": 5499
|
|
1781
1884
|
},
|
|
1782
1885
|
"src/core/fieldSemantics.ts": {
|
|
1783
1886
|
"bytesInOutput": 1368
|
|
@@ -1789,7 +1892,7 @@
|
|
|
1789
1892
|
"bytesInOutput": 11162
|
|
1790
1893
|
},
|
|
1791
1894
|
"src/engine/evalWhere.ts": {
|
|
1792
|
-
"bytesInOutput":
|
|
1895
|
+
"bytesInOutput": 5752
|
|
1793
1896
|
},
|
|
1794
1897
|
"src/core/dmlCustomCheck.ts": {
|
|
1795
1898
|
"bytesInOutput": 1250
|
|
@@ -1842,11 +1945,14 @@
|
|
|
1842
1945
|
"src/core/applyUpsertExecutePrepared.ts": {
|
|
1843
1946
|
"bytesInOutput": 1487
|
|
1844
1947
|
},
|
|
1948
|
+
"src/core/batchVariables.ts": {
|
|
1949
|
+
"bytesInOutput": 667
|
|
1950
|
+
},
|
|
1845
1951
|
"src/core/outerJoinSearchAbortGuard.ts": {
|
|
1846
1952
|
"bytesInOutput": 366
|
|
1847
1953
|
},
|
|
1848
1954
|
"src/core/explainMetadata.ts": {
|
|
1849
|
-
"bytesInOutput":
|
|
1955
|
+
"bytesInOutput": 627
|
|
1850
1956
|
},
|
|
1851
1957
|
"src/core/optimization/sharedPlanner.ts": {
|
|
1852
1958
|
"bytesInOutput": 339
|
|
@@ -1855,7 +1961,7 @@
|
|
|
1855
1961
|
"bytesInOutput": 9013
|
|
1856
1962
|
},
|
|
1857
1963
|
"src/core/optimization/joinPredicatePushdown.ts": {
|
|
1858
|
-
"bytesInOutput":
|
|
1964
|
+
"bytesInOutput": 13814
|
|
1859
1965
|
},
|
|
1860
1966
|
"src/core/optimization/applyParentSelectionPlan.ts": {
|
|
1861
1967
|
"bytesInOutput": 246
|
|
@@ -1882,7 +1988,7 @@
|
|
|
1882
1988
|
"bytesInOutput": 2656
|
|
1883
1989
|
},
|
|
1884
1990
|
"src/engine/process.ts": {
|
|
1885
|
-
"bytesInOutput":
|
|
1991
|
+
"bytesInOutput": 19954
|
|
1886
1992
|
},
|
|
1887
1993
|
"src/converter/subtableAdapter.ts": {
|
|
1888
1994
|
"bytesInOutput": 643
|
|
@@ -1890,11 +1996,8 @@
|
|
|
1890
1996
|
"src/core/dmlPrevalidation.ts": {
|
|
1891
1997
|
"bytesInOutput": 1136
|
|
1892
1998
|
},
|
|
1893
|
-
"src/core/optimization/relativeDateFullScanExactPlan.ts": {
|
|
1894
|
-
"bytesInOutput": 2474
|
|
1895
|
-
},
|
|
1896
1999
|
"src/core/optimization/relativeDatePushdownGuard.ts": {
|
|
1897
|
-
"bytesInOutput":
|
|
2000
|
+
"bytesInOutput": 6253
|
|
1898
2001
|
},
|
|
1899
2002
|
"src/core/optimization/relativeDatePrefilterPlan.ts": {
|
|
1900
2003
|
"bytesInOutput": 4827
|
|
@@ -1945,10 +2048,10 @@
|
|
|
1945
2048
|
"bytesInOutput": 412
|
|
1946
2049
|
},
|
|
1947
2050
|
"src/execute.ts": {
|
|
1948
|
-
"bytesInOutput":
|
|
2051
|
+
"bytesInOutput": 173320
|
|
1949
2052
|
},
|
|
1950
2053
|
"src/engine-library/errors.ts": {
|
|
1951
|
-
"bytesInOutput":
|
|
2054
|
+
"bytesInOutput": 1306
|
|
1952
2055
|
},
|
|
1953
2056
|
"src/api/cursorLeaseManager.ts": {
|
|
1954
2057
|
"bytesInOutput": 1777
|
|
@@ -1975,19 +2078,28 @@
|
|
|
1975
2078
|
"bytesInOutput": 766
|
|
1976
2079
|
},
|
|
1977
2080
|
"src/engine-library/options.ts": {
|
|
1978
|
-
"bytesInOutput":
|
|
2081
|
+
"bytesInOutput": 2212
|
|
2082
|
+
},
|
|
2083
|
+
"src/engine-library/resultMapping.ts": {
|
|
2084
|
+
"bytesInOutput": 777
|
|
1979
2085
|
},
|
|
1980
2086
|
"src/core/sql.ts": {
|
|
1981
|
-
"bytesInOutput":
|
|
2087
|
+
"bytesInOutput": 186
|
|
2088
|
+
},
|
|
2089
|
+
"src/core/applyGuard.ts": {
|
|
2090
|
+
"bytesInOutput": 236
|
|
1982
2091
|
},
|
|
1983
2092
|
"src/engine-library/statementGuard.ts": {
|
|
1984
|
-
"bytesInOutput":
|
|
2093
|
+
"bytesInOutput": 1704
|
|
2094
|
+
},
|
|
2095
|
+
"src/engine-library/batch.ts": {
|
|
2096
|
+
"bytesInOutput": 896
|
|
1985
2097
|
},
|
|
1986
2098
|
"src/engine-library/query.ts": {
|
|
1987
|
-
"bytesInOutput":
|
|
2099
|
+
"bytesInOutput": 603
|
|
1988
2100
|
}
|
|
1989
2101
|
},
|
|
1990
|
-
"bytes":
|
|
2102
|
+
"bytes": 524126
|
|
1991
2103
|
}
|
|
1992
2104
|
}
|
|
1993
2105
|
}
|