@rex0220/kintone-sql-tools 3.38.0 → 3.40.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 +408 -48
- package/dist-engine/index.cjs +12 -12
- package/dist-engine/index.mjs +12 -12
- package/dist-engine/ksql-engine.umd.js +12 -12
- package/dist-engine/meta/bundle-baseline.json +7 -7
- package/dist-engine/meta/cjs.json +12 -12
- package/dist-engine/meta/esm.json +12 -12
- package/dist-engine/meta/umd.json +12 -12
- package/dist-engine/publicTypes.d.ts +15 -0
- package/dist-mcp/ksql-mcp.js +410 -50
- package/dist-mcpb/ksql-mcp.mcpb +0 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-08-
|
|
2
|
+
"generatedAt": "2026-08-03T22:42:57.589Z",
|
|
3
3
|
"baseline": "B66 Phase1 initial measured values; no arbitrary size ceiling",
|
|
4
4
|
"bundles": {
|
|
5
5
|
"index.cjs": {
|
|
6
6
|
"inputCount": 102,
|
|
7
|
-
"minifiedBytes":
|
|
8
|
-
"gzipBytes":
|
|
7
|
+
"minifiedBytes": 556487,
|
|
8
|
+
"gzipBytes": 152519,
|
|
9
9
|
"forbidden": {
|
|
10
10
|
"mcp-instructions": [],
|
|
11
11
|
"src-mcp": [],
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"index.mjs": {
|
|
26
26
|
"inputCount": 102,
|
|
27
|
-
"minifiedBytes":
|
|
28
|
-
"gzipBytes":
|
|
27
|
+
"minifiedBytes": 555942,
|
|
28
|
+
"gzipBytes": 152225,
|
|
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": 104,
|
|
47
|
-
"minifiedBytes":
|
|
48
|
-
"gzipBytes":
|
|
47
|
+
"minifiedBytes": 556966,
|
|
48
|
+
"gzipBytes": 152584,
|
|
49
49
|
"forbidden": {
|
|
50
50
|
"mcp-instructions": [],
|
|
51
51
|
"src-mcp": [],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"format": "esm"
|
|
12
12
|
},
|
|
13
13
|
"src/types/ast.ts": {
|
|
14
|
-
"bytes":
|
|
14
|
+
"bytes": 35268,
|
|
15
15
|
"imports": [
|
|
16
16
|
{
|
|
17
17
|
"path": "src/core/exactDecimal.ts",
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
"format": "esm"
|
|
271
271
|
},
|
|
272
272
|
"src/core/batch.ts": {
|
|
273
|
-
"bytes":
|
|
273
|
+
"bytes": 21308,
|
|
274
274
|
"imports": [
|
|
275
275
|
{
|
|
276
276
|
"path": "src/core/dmlGuard.ts",
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
"format": "esm"
|
|
323
323
|
},
|
|
324
324
|
"src/parser/parser.ts": {
|
|
325
|
-
"bytes":
|
|
325
|
+
"bytes": 171336,
|
|
326
326
|
"imports": [
|
|
327
327
|
{
|
|
328
328
|
"path": "src/lexer/tokens.ts",
|
|
@@ -1197,7 +1197,7 @@
|
|
|
1197
1197
|
"format": "esm"
|
|
1198
1198
|
},
|
|
1199
1199
|
"src/execute.ts": {
|
|
1200
|
-
"bytes":
|
|
1200
|
+
"bytes": 474006,
|
|
1201
1201
|
"imports": [
|
|
1202
1202
|
{
|
|
1203
1203
|
"path": "src/lexer/lexer.ts",
|
|
@@ -1690,7 +1690,7 @@
|
|
|
1690
1690
|
"format": "esm"
|
|
1691
1691
|
},
|
|
1692
1692
|
"src/core/sqlDiagnostics.ts": {
|
|
1693
|
-
"bytes":
|
|
1693
|
+
"bytes": 2766,
|
|
1694
1694
|
"imports": [],
|
|
1695
1695
|
"format": "esm"
|
|
1696
1696
|
},
|
|
@@ -1825,7 +1825,7 @@
|
|
|
1825
1825
|
"format": "esm"
|
|
1826
1826
|
},
|
|
1827
1827
|
"src/engine-library/query.ts": {
|
|
1828
|
-
"bytes":
|
|
1828
|
+
"bytes": 4723,
|
|
1829
1829
|
"imports": [
|
|
1830
1830
|
{
|
|
1831
1831
|
"path": "src/execute.ts",
|
|
@@ -1970,7 +1970,7 @@
|
|
|
1970
1970
|
"bytesInOutput": 5175
|
|
1971
1971
|
},
|
|
1972
1972
|
"src/core/batch.ts": {
|
|
1973
|
-
"bytesInOutput":
|
|
1973
|
+
"bytesInOutput": 6337
|
|
1974
1974
|
},
|
|
1975
1975
|
"src/lexer/tokens.ts": {
|
|
1976
1976
|
"bytesInOutput": 2310
|
|
@@ -1979,7 +1979,7 @@
|
|
|
1979
1979
|
"bytesInOutput": 5893
|
|
1980
1980
|
},
|
|
1981
1981
|
"src/parser/parser.ts": {
|
|
1982
|
-
"bytesInOutput":
|
|
1982
|
+
"bytesInOutput": 94920
|
|
1983
1983
|
},
|
|
1984
1984
|
"src/core/fieldSemantics.ts": {
|
|
1985
1985
|
"bytesInOutput": 1368
|
|
@@ -2150,7 +2150,7 @@
|
|
|
2150
2150
|
"bytesInOutput": 412
|
|
2151
2151
|
},
|
|
2152
2152
|
"src/execute.ts": {
|
|
2153
|
-
"bytesInOutput":
|
|
2153
|
+
"bytesInOutput": 189902
|
|
2154
2154
|
},
|
|
2155
2155
|
"src/engine-library/errors.ts": {
|
|
2156
2156
|
"bytesInOutput": 1440
|
|
@@ -2186,7 +2186,7 @@
|
|
|
2186
2186
|
"bytesInOutput": 2775
|
|
2187
2187
|
},
|
|
2188
2188
|
"src/core/sqlDiagnostics.ts": {
|
|
2189
|
-
"bytesInOutput":
|
|
2189
|
+
"bytesInOutput": 972
|
|
2190
2190
|
},
|
|
2191
2191
|
"src/engine-library/logicalApps.ts": {
|
|
2192
2192
|
"bytesInOutput": 1224
|
|
@@ -2207,10 +2207,10 @@
|
|
|
2207
2207
|
"bytesInOutput": 1025
|
|
2208
2208
|
},
|
|
2209
2209
|
"src/engine-library/query.ts": {
|
|
2210
|
-
"bytesInOutput":
|
|
2210
|
+
"bytesInOutput": 1271
|
|
2211
2211
|
}
|
|
2212
2212
|
},
|
|
2213
|
-
"bytes":
|
|
2213
|
+
"bytes": 556487
|
|
2214
2214
|
}
|
|
2215
2215
|
}
|
|
2216
2216
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"format": "esm"
|
|
12
12
|
},
|
|
13
13
|
"src/types/ast.ts": {
|
|
14
|
-
"bytes":
|
|
14
|
+
"bytes": 35268,
|
|
15
15
|
"imports": [
|
|
16
16
|
{
|
|
17
17
|
"path": "src/core/exactDecimal.ts",
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
"format": "esm"
|
|
271
271
|
},
|
|
272
272
|
"src/core/batch.ts": {
|
|
273
|
-
"bytes":
|
|
273
|
+
"bytes": 21308,
|
|
274
274
|
"imports": [
|
|
275
275
|
{
|
|
276
276
|
"path": "src/core/dmlGuard.ts",
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
"format": "esm"
|
|
323
323
|
},
|
|
324
324
|
"src/parser/parser.ts": {
|
|
325
|
-
"bytes":
|
|
325
|
+
"bytes": 171336,
|
|
326
326
|
"imports": [
|
|
327
327
|
{
|
|
328
328
|
"path": "src/lexer/tokens.ts",
|
|
@@ -1197,7 +1197,7 @@
|
|
|
1197
1197
|
"format": "esm"
|
|
1198
1198
|
},
|
|
1199
1199
|
"src/execute.ts": {
|
|
1200
|
-
"bytes":
|
|
1200
|
+
"bytes": 474006,
|
|
1201
1201
|
"imports": [
|
|
1202
1202
|
{
|
|
1203
1203
|
"path": "src/lexer/lexer.ts",
|
|
@@ -1690,7 +1690,7 @@
|
|
|
1690
1690
|
"format": "esm"
|
|
1691
1691
|
},
|
|
1692
1692
|
"src/core/sqlDiagnostics.ts": {
|
|
1693
|
-
"bytes":
|
|
1693
|
+
"bytes": 2766,
|
|
1694
1694
|
"imports": [],
|
|
1695
1695
|
"format": "esm"
|
|
1696
1696
|
},
|
|
@@ -1825,7 +1825,7 @@
|
|
|
1825
1825
|
"format": "esm"
|
|
1826
1826
|
},
|
|
1827
1827
|
"src/engine-library/query.ts": {
|
|
1828
|
-
"bytes":
|
|
1828
|
+
"bytes": 4723,
|
|
1829
1829
|
"imports": [
|
|
1830
1830
|
{
|
|
1831
1831
|
"path": "src/execute.ts",
|
|
@@ -1974,7 +1974,7 @@
|
|
|
1974
1974
|
"bytesInOutput": 5175
|
|
1975
1975
|
},
|
|
1976
1976
|
"src/core/batch.ts": {
|
|
1977
|
-
"bytesInOutput":
|
|
1977
|
+
"bytesInOutput": 6337
|
|
1978
1978
|
},
|
|
1979
1979
|
"src/lexer/tokens.ts": {
|
|
1980
1980
|
"bytesInOutput": 2310
|
|
@@ -1983,7 +1983,7 @@
|
|
|
1983
1983
|
"bytesInOutput": 5893
|
|
1984
1984
|
},
|
|
1985
1985
|
"src/parser/parser.ts": {
|
|
1986
|
-
"bytesInOutput":
|
|
1986
|
+
"bytesInOutput": 94920
|
|
1987
1987
|
},
|
|
1988
1988
|
"src/core/fieldSemantics.ts": {
|
|
1989
1989
|
"bytesInOutput": 1368
|
|
@@ -2154,7 +2154,7 @@
|
|
|
2154
2154
|
"bytesInOutput": 412
|
|
2155
2155
|
},
|
|
2156
2156
|
"src/execute.ts": {
|
|
2157
|
-
"bytesInOutput":
|
|
2157
|
+
"bytesInOutput": 189902
|
|
2158
2158
|
},
|
|
2159
2159
|
"src/engine-library/errors.ts": {
|
|
2160
2160
|
"bytesInOutput": 1440
|
|
@@ -2190,7 +2190,7 @@
|
|
|
2190
2190
|
"bytesInOutput": 2775
|
|
2191
2191
|
},
|
|
2192
2192
|
"src/core/sqlDiagnostics.ts": {
|
|
2193
|
-
"bytesInOutput":
|
|
2193
|
+
"bytesInOutput": 972
|
|
2194
2194
|
},
|
|
2195
2195
|
"src/engine-library/logicalApps.ts": {
|
|
2196
2196
|
"bytesInOutput": 1224
|
|
@@ -2211,13 +2211,13 @@
|
|
|
2211
2211
|
"bytesInOutput": 1025
|
|
2212
2212
|
},
|
|
2213
2213
|
"src/engine-library/query.ts": {
|
|
2214
|
-
"bytesInOutput":
|
|
2214
|
+
"bytesInOutput": 1271
|
|
2215
2215
|
},
|
|
2216
2216
|
"src/engine-library/index.ts": {
|
|
2217
2217
|
"bytesInOutput": 16
|
|
2218
2218
|
}
|
|
2219
2219
|
},
|
|
2220
|
-
"bytes":
|
|
2220
|
+
"bytes": 555942
|
|
2221
2221
|
}
|
|
2222
2222
|
}
|
|
2223
2223
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"format": "esm"
|
|
12
12
|
},
|
|
13
13
|
"src/types/ast.ts": {
|
|
14
|
-
"bytes":
|
|
14
|
+
"bytes": 35268,
|
|
15
15
|
"imports": [
|
|
16
16
|
{
|
|
17
17
|
"path": "src/core/exactDecimal.ts",
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
"format": "esm"
|
|
271
271
|
},
|
|
272
272
|
"src/core/batch.ts": {
|
|
273
|
-
"bytes":
|
|
273
|
+
"bytes": 21308,
|
|
274
274
|
"imports": [
|
|
275
275
|
{
|
|
276
276
|
"path": "src/core/dmlGuard.ts",
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
"format": "esm"
|
|
323
323
|
},
|
|
324
324
|
"src/parser/parser.ts": {
|
|
325
|
-
"bytes":
|
|
325
|
+
"bytes": 171336,
|
|
326
326
|
"imports": [
|
|
327
327
|
{
|
|
328
328
|
"path": "src/lexer/tokens.ts",
|
|
@@ -1197,7 +1197,7 @@
|
|
|
1197
1197
|
"format": "esm"
|
|
1198
1198
|
},
|
|
1199
1199
|
"src/execute.ts": {
|
|
1200
|
-
"bytes":
|
|
1200
|
+
"bytes": 474006,
|
|
1201
1201
|
"imports": [
|
|
1202
1202
|
{
|
|
1203
1203
|
"path": "src/lexer/lexer.ts",
|
|
@@ -1690,7 +1690,7 @@
|
|
|
1690
1690
|
"format": "esm"
|
|
1691
1691
|
},
|
|
1692
1692
|
"src/core/sqlDiagnostics.ts": {
|
|
1693
|
-
"bytes":
|
|
1693
|
+
"bytes": 2766,
|
|
1694
1694
|
"imports": [],
|
|
1695
1695
|
"format": "esm"
|
|
1696
1696
|
},
|
|
@@ -1825,7 +1825,7 @@
|
|
|
1825
1825
|
"format": "esm"
|
|
1826
1826
|
},
|
|
1827
1827
|
"src/engine-library/query.ts": {
|
|
1828
|
-
"bytes":
|
|
1828
|
+
"bytes": 4723,
|
|
1829
1829
|
"imports": [
|
|
1830
1830
|
{
|
|
1831
1831
|
"path": "src/execute.ts",
|
|
@@ -1988,7 +1988,7 @@
|
|
|
1988
1988
|
"bytesInOutput": 5175
|
|
1989
1989
|
},
|
|
1990
1990
|
"src/core/batch.ts": {
|
|
1991
|
-
"bytesInOutput":
|
|
1991
|
+
"bytesInOutput": 6337
|
|
1992
1992
|
},
|
|
1993
1993
|
"src/lexer/tokens.ts": {
|
|
1994
1994
|
"bytesInOutput": 2310
|
|
@@ -1997,7 +1997,7 @@
|
|
|
1997
1997
|
"bytesInOutput": 5893
|
|
1998
1998
|
},
|
|
1999
1999
|
"src/parser/parser.ts": {
|
|
2000
|
-
"bytesInOutput":
|
|
2000
|
+
"bytesInOutput": 94920
|
|
2001
2001
|
},
|
|
2002
2002
|
"src/core/fieldSemantics.ts": {
|
|
2003
2003
|
"bytesInOutput": 1368
|
|
@@ -2168,7 +2168,7 @@
|
|
|
2168
2168
|
"bytesInOutput": 412
|
|
2169
2169
|
},
|
|
2170
2170
|
"src/execute.ts": {
|
|
2171
|
-
"bytesInOutput":
|
|
2171
|
+
"bytesInOutput": 189902
|
|
2172
2172
|
},
|
|
2173
2173
|
"src/engine-library/errors.ts": {
|
|
2174
2174
|
"bytesInOutput": 1440
|
|
@@ -2204,7 +2204,7 @@
|
|
|
2204
2204
|
"bytesInOutput": 2775
|
|
2205
2205
|
},
|
|
2206
2206
|
"src/core/sqlDiagnostics.ts": {
|
|
2207
|
-
"bytesInOutput":
|
|
2207
|
+
"bytesInOutput": 972
|
|
2208
2208
|
},
|
|
2209
2209
|
"src/engine-library/logicalApps.ts": {
|
|
2210
2210
|
"bytesInOutput": 1224
|
|
@@ -2225,7 +2225,7 @@
|
|
|
2225
2225
|
"bytesInOutput": 1025
|
|
2226
2226
|
},
|
|
2227
2227
|
"src/engine-library/query.ts": {
|
|
2228
|
-
"bytesInOutput":
|
|
2228
|
+
"bytesInOutput": 1271
|
|
2229
2229
|
},
|
|
2230
2230
|
"src/engine-library/index.ts": {
|
|
2231
2231
|
"bytesInOutput": 16
|
|
@@ -2237,7 +2237,7 @@
|
|
|
2237
2237
|
"bytesInOutput": 127
|
|
2238
2238
|
}
|
|
2239
2239
|
},
|
|
2240
|
-
"bytes":
|
|
2240
|
+
"bytes": 556966
|
|
2241
2241
|
}
|
|
2242
2242
|
}
|
|
2243
2243
|
}
|
|
@@ -204,6 +204,21 @@ export interface ExplainResult {
|
|
|
204
204
|
type: "explain";
|
|
205
205
|
lines: readonly string[];
|
|
206
206
|
text: string;
|
|
207
|
+
plan?: {
|
|
208
|
+
statements: readonly {
|
|
209
|
+
index: number;
|
|
210
|
+
fetch: "none" | "exact" | "prefiltered" | "all";
|
|
211
|
+
sources: readonly {
|
|
212
|
+
app: number;
|
|
213
|
+
alias: string | null;
|
|
214
|
+
role: "main" | "join" | "union" | "cte" | "subquery";
|
|
215
|
+
fetch: "none" | "exact" | "prefiltered" | "all";
|
|
216
|
+
pending: boolean;
|
|
217
|
+
kintoneQuery: string | null;
|
|
218
|
+
limit: number | null;
|
|
219
|
+
}[];
|
|
220
|
+
}[];
|
|
221
|
+
};
|
|
207
222
|
metrics: QueryMetrics;
|
|
208
223
|
}
|
|
209
224
|
export interface CreateReadonlyKintoneClientOptions {
|