@rex0220/kintone-sql-tools 3.31.1 → 3.33.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/dist-cli/ksql.js +179 -48
- package/dist-engine/index.cjs +11 -11
- package/dist-engine/index.mjs +11 -11
- package/dist-engine/ksql-engine.umd.js +9 -9
- package/dist-engine/meta/bundle-baseline.json +7 -7
- package/dist-engine/meta/cjs.json +15 -15
- package/dist-engine/meta/esm.json +15 -15
- package/dist-engine/meta/umd.json +15 -15
- package/dist-engine/publicTypes.d.ts +6 -0
- package/dist-mcp/ksql-mcp.js +181 -50
- package/dist-mcpb/ksql-mcp.mcpb +0 -0
- package/package.json +84 -84
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-07-
|
|
2
|
+
"generatedAt": "2026-07-28T14:52:01.394Z",
|
|
3
3
|
"baseline": "B66 Phase1 initial measured values; no arbitrary size ceiling",
|
|
4
4
|
"bundles": {
|
|
5
5
|
"index.cjs": {
|
|
6
6
|
"inputCount": 97,
|
|
7
|
-
"minifiedBytes":
|
|
8
|
-
"gzipBytes":
|
|
7
|
+
"minifiedBytes": 540412,
|
|
8
|
+
"gzipBytes": 147570,
|
|
9
9
|
"forbidden": {
|
|
10
10
|
"mcp-instructions": [],
|
|
11
11
|
"src-mcp": [],
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"index.mjs": {
|
|
26
26
|
"inputCount": 97,
|
|
27
|
-
"minifiedBytes":
|
|
28
|
-
"gzipBytes":
|
|
27
|
+
"minifiedBytes": 539867,
|
|
28
|
+
"gzipBytes": 147261,
|
|
29
29
|
"forbidden": {
|
|
30
30
|
"mcp-instructions": [],
|
|
31
31
|
"src-mcp": [],
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
},
|
|
45
45
|
"ksql-engine.umd.js": {
|
|
46
46
|
"inputCount": 99,
|
|
47
|
-
"minifiedBytes":
|
|
48
|
-
"gzipBytes":
|
|
47
|
+
"minifiedBytes": 540891,
|
|
48
|
+
"gzipBytes": 147628,
|
|
49
49
|
"forbidden": {
|
|
50
50
|
"mcp-instructions": [],
|
|
51
51
|
"src-mcp": [],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"inputs": {
|
|
3
3
|
"src/api/fetchAll.ts": {
|
|
4
|
-
"bytes":
|
|
4
|
+
"bytes": 12604,
|
|
5
5
|
"imports": [],
|
|
6
6
|
"format": "esm"
|
|
7
7
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"format": "esm"
|
|
28
28
|
},
|
|
29
29
|
"src/core/dmlGuard.ts": {
|
|
30
|
-
"bytes":
|
|
30
|
+
"bytes": 9819,
|
|
31
31
|
"imports": [
|
|
32
32
|
{
|
|
33
33
|
"path": "src/types/ast.ts",
|
|
@@ -886,7 +886,7 @@
|
|
|
886
886
|
"format": "esm"
|
|
887
887
|
},
|
|
888
888
|
"src/core/emptyWildcardSchema.ts": {
|
|
889
|
-
"bytes":
|
|
889
|
+
"bytes": 3248,
|
|
890
890
|
"imports": [],
|
|
891
891
|
"format": "esm"
|
|
892
892
|
},
|
|
@@ -1166,7 +1166,7 @@
|
|
|
1166
1166
|
"format": "esm"
|
|
1167
1167
|
},
|
|
1168
1168
|
"src/execute.ts": {
|
|
1169
|
-
"bytes":
|
|
1169
|
+
"bytes": 472812,
|
|
1170
1170
|
"imports": [
|
|
1171
1171
|
{
|
|
1172
1172
|
"path": "src/lexer/lexer.ts",
|
|
@@ -1575,7 +1575,7 @@
|
|
|
1575
1575
|
"format": "esm"
|
|
1576
1576
|
},
|
|
1577
1577
|
"src/engine-library/browserClient.ts": {
|
|
1578
|
-
"bytes":
|
|
1578
|
+
"bytes": 11422,
|
|
1579
1579
|
"imports": [
|
|
1580
1580
|
{
|
|
1581
1581
|
"path": "src/api/cursorLeaseManager.ts",
|
|
@@ -1643,7 +1643,7 @@
|
|
|
1643
1643
|
"format": "esm"
|
|
1644
1644
|
},
|
|
1645
1645
|
"src/engine-library/resultMapping.ts": {
|
|
1646
|
-
"bytes":
|
|
1646
|
+
"bytes": 2033,
|
|
1647
1647
|
"imports": [
|
|
1648
1648
|
{
|
|
1649
1649
|
"path": "src/execute.ts",
|
|
@@ -1829,7 +1829,7 @@
|
|
|
1829
1829
|
"bytesInOutput": 182
|
|
1830
1830
|
},
|
|
1831
1831
|
"src/api/fetchAll.ts": {
|
|
1832
|
-
"bytesInOutput":
|
|
1832
|
+
"bytesInOutput": 2658
|
|
1833
1833
|
},
|
|
1834
1834
|
"src/core/exactDecimal.ts": {
|
|
1835
1835
|
"bytesInOutput": 1764
|
|
@@ -1841,7 +1841,7 @@
|
|
|
1841
1841
|
"bytesInOutput": 1284
|
|
1842
1842
|
},
|
|
1843
1843
|
"src/core/dmlGuard.ts": {
|
|
1844
|
-
"bytesInOutput":
|
|
1844
|
+
"bytesInOutput": 3279
|
|
1845
1845
|
},
|
|
1846
1846
|
"src/core/relativeDateFunction.ts": {
|
|
1847
1847
|
"bytesInOutput": 427
|
|
@@ -1886,7 +1886,7 @@
|
|
|
1886
1886
|
"bytesInOutput": 5175
|
|
1887
1887
|
},
|
|
1888
1888
|
"src/core/batch.ts": {
|
|
1889
|
-
"bytesInOutput":
|
|
1889
|
+
"bytesInOutput": 5499
|
|
1890
1890
|
},
|
|
1891
1891
|
"src/lexer/tokens.ts": {
|
|
1892
1892
|
"bytesInOutput": 2262
|
|
@@ -2003,7 +2003,7 @@
|
|
|
2003
2003
|
"bytesInOutput": 2656
|
|
2004
2004
|
},
|
|
2005
2005
|
"src/core/emptyWildcardSchema.ts": {
|
|
2006
|
-
"bytesInOutput":
|
|
2006
|
+
"bytesInOutput": 1223
|
|
2007
2007
|
},
|
|
2008
2008
|
"src/engine/process.ts": {
|
|
2009
2009
|
"bytesInOutput": 20100
|
|
@@ -2066,10 +2066,10 @@
|
|
|
2066
2066
|
"bytesInOutput": 412
|
|
2067
2067
|
},
|
|
2068
2068
|
"src/execute.ts": {
|
|
2069
|
-
"bytesInOutput":
|
|
2069
|
+
"bytesInOutput": 185473
|
|
2070
2070
|
},
|
|
2071
2071
|
"src/engine-library/errors.ts": {
|
|
2072
|
-
"bytesInOutput":
|
|
2072
|
+
"bytesInOutput": 1440
|
|
2073
2073
|
},
|
|
2074
2074
|
"src/api/cursorLeaseManager.ts": {
|
|
2075
2075
|
"bytesInOutput": 1777
|
|
@@ -2087,7 +2087,7 @@
|
|
|
2087
2087
|
"bytesInOutput": 102
|
|
2088
2088
|
},
|
|
2089
2089
|
"src/engine-library/browserClient.ts": {
|
|
2090
|
-
"bytesInOutput":
|
|
2090
|
+
"bytesInOutput": 4310
|
|
2091
2091
|
},
|
|
2092
2092
|
"src/engine-library/readonlyClient.ts": {
|
|
2093
2093
|
"bytesInOutput": 1111
|
|
@@ -2099,7 +2099,7 @@
|
|
|
2099
2099
|
"bytesInOutput": 2212
|
|
2100
2100
|
},
|
|
2101
2101
|
"src/engine-library/resultMapping.ts": {
|
|
2102
|
-
"bytesInOutput":
|
|
2102
|
+
"bytesInOutput": 873
|
|
2103
2103
|
},
|
|
2104
2104
|
"src/core/sql.ts": {
|
|
2105
2105
|
"bytesInOutput": 186
|
|
@@ -2117,7 +2117,7 @@
|
|
|
2117
2117
|
"bytesInOutput": 950
|
|
2118
2118
|
}
|
|
2119
2119
|
},
|
|
2120
|
-
"bytes":
|
|
2120
|
+
"bytes": 540412
|
|
2121
2121
|
}
|
|
2122
2122
|
}
|
|
2123
2123
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"inputs": {
|
|
3
3
|
"src/api/fetchAll.ts": {
|
|
4
|
-
"bytes":
|
|
4
|
+
"bytes": 12604,
|
|
5
5
|
"imports": [],
|
|
6
6
|
"format": "esm"
|
|
7
7
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"format": "esm"
|
|
28
28
|
},
|
|
29
29
|
"src/core/dmlGuard.ts": {
|
|
30
|
-
"bytes":
|
|
30
|
+
"bytes": 9819,
|
|
31
31
|
"imports": [
|
|
32
32
|
{
|
|
33
33
|
"path": "src/types/ast.ts",
|
|
@@ -886,7 +886,7 @@
|
|
|
886
886
|
"format": "esm"
|
|
887
887
|
},
|
|
888
888
|
"src/core/emptyWildcardSchema.ts": {
|
|
889
|
-
"bytes":
|
|
889
|
+
"bytes": 3248,
|
|
890
890
|
"imports": [],
|
|
891
891
|
"format": "esm"
|
|
892
892
|
},
|
|
@@ -1166,7 +1166,7 @@
|
|
|
1166
1166
|
"format": "esm"
|
|
1167
1167
|
},
|
|
1168
1168
|
"src/execute.ts": {
|
|
1169
|
-
"bytes":
|
|
1169
|
+
"bytes": 472812,
|
|
1170
1170
|
"imports": [
|
|
1171
1171
|
{
|
|
1172
1172
|
"path": "src/lexer/lexer.ts",
|
|
@@ -1575,7 +1575,7 @@
|
|
|
1575
1575
|
"format": "esm"
|
|
1576
1576
|
},
|
|
1577
1577
|
"src/engine-library/browserClient.ts": {
|
|
1578
|
-
"bytes":
|
|
1578
|
+
"bytes": 11422,
|
|
1579
1579
|
"imports": [
|
|
1580
1580
|
{
|
|
1581
1581
|
"path": "src/api/cursorLeaseManager.ts",
|
|
@@ -1643,7 +1643,7 @@
|
|
|
1643
1643
|
"format": "esm"
|
|
1644
1644
|
},
|
|
1645
1645
|
"src/engine-library/resultMapping.ts": {
|
|
1646
|
-
"bytes":
|
|
1646
|
+
"bytes": 2033,
|
|
1647
1647
|
"imports": [
|
|
1648
1648
|
{
|
|
1649
1649
|
"path": "src/execute.ts",
|
|
@@ -1833,7 +1833,7 @@
|
|
|
1833
1833
|
"entryPoint": "src/engine-library/index.ts",
|
|
1834
1834
|
"inputs": {
|
|
1835
1835
|
"src/api/fetchAll.ts": {
|
|
1836
|
-
"bytesInOutput":
|
|
1836
|
+
"bytesInOutput": 2658
|
|
1837
1837
|
},
|
|
1838
1838
|
"src/core/exactDecimal.ts": {
|
|
1839
1839
|
"bytesInOutput": 1764
|
|
@@ -1845,7 +1845,7 @@
|
|
|
1845
1845
|
"bytesInOutput": 1284
|
|
1846
1846
|
},
|
|
1847
1847
|
"src/core/dmlGuard.ts": {
|
|
1848
|
-
"bytesInOutput":
|
|
1848
|
+
"bytesInOutput": 3279
|
|
1849
1849
|
},
|
|
1850
1850
|
"src/core/relativeDateFunction.ts": {
|
|
1851
1851
|
"bytesInOutput": 427
|
|
@@ -1890,7 +1890,7 @@
|
|
|
1890
1890
|
"bytesInOutput": 5175
|
|
1891
1891
|
},
|
|
1892
1892
|
"src/core/batch.ts": {
|
|
1893
|
-
"bytesInOutput":
|
|
1893
|
+
"bytesInOutput": 5499
|
|
1894
1894
|
},
|
|
1895
1895
|
"src/lexer/tokens.ts": {
|
|
1896
1896
|
"bytesInOutput": 2262
|
|
@@ -2007,7 +2007,7 @@
|
|
|
2007
2007
|
"bytesInOutput": 2656
|
|
2008
2008
|
},
|
|
2009
2009
|
"src/core/emptyWildcardSchema.ts": {
|
|
2010
|
-
"bytesInOutput":
|
|
2010
|
+
"bytesInOutput": 1223
|
|
2011
2011
|
},
|
|
2012
2012
|
"src/engine/process.ts": {
|
|
2013
2013
|
"bytesInOutput": 20100
|
|
@@ -2070,10 +2070,10 @@
|
|
|
2070
2070
|
"bytesInOutput": 412
|
|
2071
2071
|
},
|
|
2072
2072
|
"src/execute.ts": {
|
|
2073
|
-
"bytesInOutput":
|
|
2073
|
+
"bytesInOutput": 185473
|
|
2074
2074
|
},
|
|
2075
2075
|
"src/engine-library/errors.ts": {
|
|
2076
|
-
"bytesInOutput":
|
|
2076
|
+
"bytesInOutput": 1440
|
|
2077
2077
|
},
|
|
2078
2078
|
"src/api/cursorLeaseManager.ts": {
|
|
2079
2079
|
"bytesInOutput": 1777
|
|
@@ -2091,7 +2091,7 @@
|
|
|
2091
2091
|
"bytesInOutput": 102
|
|
2092
2092
|
},
|
|
2093
2093
|
"src/engine-library/browserClient.ts": {
|
|
2094
|
-
"bytesInOutput":
|
|
2094
|
+
"bytesInOutput": 4313
|
|
2095
2095
|
},
|
|
2096
2096
|
"src/engine-library/readonlyClient.ts": {
|
|
2097
2097
|
"bytesInOutput": 1111
|
|
@@ -2103,7 +2103,7 @@
|
|
|
2103
2103
|
"bytesInOutput": 2212
|
|
2104
2104
|
},
|
|
2105
2105
|
"src/engine-library/resultMapping.ts": {
|
|
2106
|
-
"bytesInOutput":
|
|
2106
|
+
"bytesInOutput": 873
|
|
2107
2107
|
},
|
|
2108
2108
|
"src/core/sql.ts": {
|
|
2109
2109
|
"bytesInOutput": 186
|
|
@@ -2124,7 +2124,7 @@
|
|
|
2124
2124
|
"bytesInOutput": 16
|
|
2125
2125
|
}
|
|
2126
2126
|
},
|
|
2127
|
-
"bytes":
|
|
2127
|
+
"bytes": 539867
|
|
2128
2128
|
}
|
|
2129
2129
|
}
|
|
2130
2130
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"inputs": {
|
|
3
3
|
"src/api/fetchAll.ts": {
|
|
4
|
-
"bytes":
|
|
4
|
+
"bytes": 12604,
|
|
5
5
|
"imports": [],
|
|
6
6
|
"format": "esm"
|
|
7
7
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"format": "esm"
|
|
28
28
|
},
|
|
29
29
|
"src/core/dmlGuard.ts": {
|
|
30
|
-
"bytes":
|
|
30
|
+
"bytes": 9819,
|
|
31
31
|
"imports": [
|
|
32
32
|
{
|
|
33
33
|
"path": "src/types/ast.ts",
|
|
@@ -886,7 +886,7 @@
|
|
|
886
886
|
"format": "esm"
|
|
887
887
|
},
|
|
888
888
|
"src/core/emptyWildcardSchema.ts": {
|
|
889
|
-
"bytes":
|
|
889
|
+
"bytes": 3248,
|
|
890
890
|
"imports": [],
|
|
891
891
|
"format": "esm"
|
|
892
892
|
},
|
|
@@ -1166,7 +1166,7 @@
|
|
|
1166
1166
|
"format": "esm"
|
|
1167
1167
|
},
|
|
1168
1168
|
"src/execute.ts": {
|
|
1169
|
-
"bytes":
|
|
1169
|
+
"bytes": 472812,
|
|
1170
1170
|
"imports": [
|
|
1171
1171
|
{
|
|
1172
1172
|
"path": "src/lexer/lexer.ts",
|
|
@@ -1575,7 +1575,7 @@
|
|
|
1575
1575
|
"format": "esm"
|
|
1576
1576
|
},
|
|
1577
1577
|
"src/engine-library/browserClient.ts": {
|
|
1578
|
-
"bytes":
|
|
1578
|
+
"bytes": 11422,
|
|
1579
1579
|
"imports": [
|
|
1580
1580
|
{
|
|
1581
1581
|
"path": "src/api/cursorLeaseManager.ts",
|
|
@@ -1643,7 +1643,7 @@
|
|
|
1643
1643
|
"format": "esm"
|
|
1644
1644
|
},
|
|
1645
1645
|
"src/engine-library/resultMapping.ts": {
|
|
1646
|
-
"bytes":
|
|
1646
|
+
"bytes": 2033,
|
|
1647
1647
|
"imports": [
|
|
1648
1648
|
{
|
|
1649
1649
|
"path": "src/execute.ts",
|
|
@@ -1847,7 +1847,7 @@
|
|
|
1847
1847
|
"entryPoint": "src/engine-library/umd.ts",
|
|
1848
1848
|
"inputs": {
|
|
1849
1849
|
"src/api/fetchAll.ts": {
|
|
1850
|
-
"bytesInOutput":
|
|
1850
|
+
"bytesInOutput": 2658
|
|
1851
1851
|
},
|
|
1852
1852
|
"src/core/exactDecimal.ts": {
|
|
1853
1853
|
"bytesInOutput": 1764
|
|
@@ -1859,7 +1859,7 @@
|
|
|
1859
1859
|
"bytesInOutput": 1284
|
|
1860
1860
|
},
|
|
1861
1861
|
"src/core/dmlGuard.ts": {
|
|
1862
|
-
"bytesInOutput":
|
|
1862
|
+
"bytesInOutput": 3279
|
|
1863
1863
|
},
|
|
1864
1864
|
"src/core/relativeDateFunction.ts": {
|
|
1865
1865
|
"bytesInOutput": 427
|
|
@@ -1904,7 +1904,7 @@
|
|
|
1904
1904
|
"bytesInOutput": 5175
|
|
1905
1905
|
},
|
|
1906
1906
|
"src/core/batch.ts": {
|
|
1907
|
-
"bytesInOutput":
|
|
1907
|
+
"bytesInOutput": 5499
|
|
1908
1908
|
},
|
|
1909
1909
|
"src/lexer/tokens.ts": {
|
|
1910
1910
|
"bytesInOutput": 2262
|
|
@@ -2021,7 +2021,7 @@
|
|
|
2021
2021
|
"bytesInOutput": 2656
|
|
2022
2022
|
},
|
|
2023
2023
|
"src/core/emptyWildcardSchema.ts": {
|
|
2024
|
-
"bytesInOutput":
|
|
2024
|
+
"bytesInOutput": 1223
|
|
2025
2025
|
},
|
|
2026
2026
|
"src/engine/process.ts": {
|
|
2027
2027
|
"bytesInOutput": 20100
|
|
@@ -2084,10 +2084,10 @@
|
|
|
2084
2084
|
"bytesInOutput": 412
|
|
2085
2085
|
},
|
|
2086
2086
|
"src/execute.ts": {
|
|
2087
|
-
"bytesInOutput":
|
|
2087
|
+
"bytesInOutput": 185473
|
|
2088
2088
|
},
|
|
2089
2089
|
"src/engine-library/errors.ts": {
|
|
2090
|
-
"bytesInOutput":
|
|
2090
|
+
"bytesInOutput": 1440
|
|
2091
2091
|
},
|
|
2092
2092
|
"src/api/cursorLeaseManager.ts": {
|
|
2093
2093
|
"bytesInOutput": 1777
|
|
@@ -2105,7 +2105,7 @@
|
|
|
2105
2105
|
"bytesInOutput": 102
|
|
2106
2106
|
},
|
|
2107
2107
|
"src/engine-library/browserClient.ts": {
|
|
2108
|
-
"bytesInOutput":
|
|
2108
|
+
"bytesInOutput": 4313
|
|
2109
2109
|
},
|
|
2110
2110
|
"src/engine-library/readonlyClient.ts": {
|
|
2111
2111
|
"bytesInOutput": 1111
|
|
@@ -2117,7 +2117,7 @@
|
|
|
2117
2117
|
"bytesInOutput": 2212
|
|
2118
2118
|
},
|
|
2119
2119
|
"src/engine-library/resultMapping.ts": {
|
|
2120
|
-
"bytesInOutput":
|
|
2120
|
+
"bytesInOutput": 873
|
|
2121
2121
|
},
|
|
2122
2122
|
"src/core/sql.ts": {
|
|
2123
2123
|
"bytesInOutput": 186
|
|
@@ -2144,7 +2144,7 @@
|
|
|
2144
2144
|
"bytesInOutput": 127
|
|
2145
2145
|
}
|
|
2146
2146
|
},
|
|
2147
|
-
"bytes":
|
|
2147
|
+
"bytes": 540891
|
|
2148
2148
|
}
|
|
2149
2149
|
}
|
|
2150
2150
|
}
|
|
@@ -6,9 +6,11 @@ export interface ReadonlyGetRecordsParams {
|
|
|
6
6
|
app: number;
|
|
7
7
|
query: string;
|
|
8
8
|
fields: string[];
|
|
9
|
+
totalCount?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export interface ReadonlyGetRecordsResult {
|
|
11
12
|
records: ReadonlyKintoneRecord[];
|
|
13
|
+
totalCount?: string;
|
|
12
14
|
searchAborted?: boolean;
|
|
13
15
|
}
|
|
14
16
|
export interface ReadonlyCursorOpenParams {
|
|
@@ -128,6 +130,10 @@ export interface QueryMetrics {
|
|
|
128
130
|
fetchedRows: number;
|
|
129
131
|
elapsedMs: number;
|
|
130
132
|
cursorRecordsScanned: number;
|
|
133
|
+
/** 取得上限に達したか。true なら結果は全件ではない。 */
|
|
134
|
+
limitReached?: boolean;
|
|
135
|
+
/** 上限に達したアプリ ID(判明した範囲・重複なし・昇順)。 */
|
|
136
|
+
limitReachedApps?: readonly number[];
|
|
131
137
|
}
|
|
132
138
|
export type ValidateConstraintCategory = "required" | "length" | "range" | "choice";
|
|
133
139
|
export interface ValidateConstraintMetadata {
|