@malloy-publisher/server 0.0.75 → 0.0.77
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/app/api-doc.yaml +17 -1
- package/dist/instrumentation.js +1 -1
- package/dist/server.js +45456 -13525
- package/dxt/malloy_bridge.py +274 -0
- package/dxt/manifest.json +22 -0
- package/malloy_mcp.dxt +0 -0
- package/package.json +5 -3
- package/src/dto/connection.dto.spec.ts +15 -0
- package/src/dto/connection.dto.ts +22 -0
- package/src/mcp/server.ts +3 -0
- package/src/mcp/tools/discovery_tools.ts +258 -0
- package/src/mcp/tools/execute_query_tool.ts +14 -10
- package/src/service/connection.ts +29 -1
- package/src/service/db_utils.ts +70 -20
- package/src/service/model.ts +11 -0
- package/src/service/package.spec.ts +3 -0
- package/src/service/package.ts +12 -0
package/dist/app/api-doc.yaml
CHANGED
|
@@ -1093,7 +1093,7 @@ components:
|
|
|
1093
1093
|
type: string
|
|
1094
1094
|
type:
|
|
1095
1095
|
type: string
|
|
1096
|
-
enum: [postgres, bigquery, snowflake, trino]
|
|
1096
|
+
enum: [postgres, bigquery, snowflake, trino, mysql]
|
|
1097
1097
|
attributes:
|
|
1098
1098
|
$ref: "#/components/schemas/ConnectionAttributes"
|
|
1099
1099
|
postgresConnection:
|
|
@@ -1104,6 +1104,8 @@ components:
|
|
|
1104
1104
|
$ref: "#/components/schemas/SnowflakeConnection"
|
|
1105
1105
|
trinoConnection:
|
|
1106
1106
|
$ref: "#/components/schemas/TrinoConnection"
|
|
1107
|
+
mysqlConnection:
|
|
1108
|
+
$ref: "#/components/schemas/MysqlConnection"
|
|
1107
1109
|
|
|
1108
1110
|
ConnectionAttributes:
|
|
1109
1111
|
type: object
|
|
@@ -1133,6 +1135,20 @@ components:
|
|
|
1133
1135
|
connectionString:
|
|
1134
1136
|
type: string
|
|
1135
1137
|
|
|
1138
|
+
MysqlConnection:
|
|
1139
|
+
type: object
|
|
1140
|
+
properties:
|
|
1141
|
+
host:
|
|
1142
|
+
type: string
|
|
1143
|
+
port:
|
|
1144
|
+
type: integer
|
|
1145
|
+
database:
|
|
1146
|
+
type: string
|
|
1147
|
+
user:
|
|
1148
|
+
type: string
|
|
1149
|
+
password:
|
|
1150
|
+
type: string
|
|
1151
|
+
|
|
1136
1152
|
BigqueryConnection:
|
|
1137
1153
|
type: object
|
|
1138
1154
|
properties:
|
package/dist/instrumentation.js
CHANGED
|
@@ -33583,7 +33583,7 @@ var require_util4 = __commonJS((exports2) => {
|
|
|
33583
33583
|
exports2.addCommonProtos = addCommonProtos;
|
|
33584
33584
|
});
|
|
33585
33585
|
|
|
33586
|
-
// ../../node_modules
|
|
33586
|
+
// ../../node_modules/long/umd/index.js
|
|
33587
33587
|
var require_umd = __commonJS((exports2, module2) => {
|
|
33588
33588
|
(function(global2, factory) {
|
|
33589
33589
|
function preferDefault(exports3) {
|