@inkeep/agents-run-api 0.37.1 → 0.38.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/{SandboxExecutorFactory-FVKDJKKZ.js → SandboxExecutorFactory-2N27SE3B.js} +1 -1
- package/dist/{chunk-V4RNZ6BX.js → chunk-EVOISBFH.js} +9 -9
- package/dist/{chunk-SBJLXGYG.js → chunk-JCVMVG3J.js} +2 -2
- package/dist/{chunk-IYG4HUQ6.js → chunk-KBZIYCPJ.js} +1 -1
- package/dist/{chunk-M46DFVYB.js → chunk-KCJWSIDZ.js} +3 -3
- package/dist/{chunk-IVALDC72.js → chunk-THWNUGWP.js} +1 -1
- package/dist/{chunk-AZFBQY6E.js → chunk-UC2EPLSW.js} +1 -1
- package/dist/{conversations-NZLQK64L.js → conversations-XPSTWUMK.js} +1 -1
- package/dist/dbClient-MAHUR4TO.js +1 -0
- package/dist/index.cjs +559 -448
- package/dist/index.js +399 -282
- package/dist/instrumentation.cjs +19 -19
- package/dist/instrumentation.js +1 -1
- package/dist/{nodefs-ZHXQGWPG.js → nodefs-RPE52Q4Z.js} +1 -1
- package/dist/{opfs-ahp-CJXSQU3E.js → opfs-ahp-QL4REJJW.js} +2 -2
- package/package.json +13 -11
- package/dist/dbClient-BXOIYVCJ.js +0 -1
package/dist/index.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var zodOpenapi = require('@hono/zod-openapi');
|
|
5
6
|
var agentsCore = require('@inkeep/agents-core');
|
|
6
|
-
var z8 = require('zod');
|
|
7
7
|
var s3 = require('fs');
|
|
8
8
|
var o3 = require('path');
|
|
9
9
|
var schema = require('@inkeep/agents-core/db/schema');
|
|
@@ -12,13 +12,6 @@ var child_process = require('child_process');
|
|
|
12
12
|
var crypto2 = require('crypto');
|
|
13
13
|
var os = require('os');
|
|
14
14
|
var sandbox = require('@vercel/sandbox');
|
|
15
|
-
var otel = require('@hono/otel');
|
|
16
|
-
var zodOpenapi = require('@hono/zod-openapi');
|
|
17
|
-
var api = require('@opentelemetry/api');
|
|
18
|
-
var hono = require('hono');
|
|
19
|
-
var cors = require('hono/cors');
|
|
20
|
-
var httpException = require('hono/http-exception');
|
|
21
|
-
var requestId = require('hono/request-id');
|
|
22
15
|
var autoInstrumentationsNode = require('@opentelemetry/auto-instrumentations-node');
|
|
23
16
|
var baggageSpanProcessor = require('@opentelemetry/baggage-span-processor');
|
|
24
17
|
var contextAsyncHooks = require('@opentelemetry/context-async-hooks');
|
|
@@ -28,6 +21,12 @@ var resources = require('@opentelemetry/resources');
|
|
|
28
21
|
var sdkNode = require('@opentelemetry/sdk-node');
|
|
29
22
|
var sdkTraceBase = require('@opentelemetry/sdk-trace-base');
|
|
30
23
|
var semanticConventions = require('@opentelemetry/semantic-conventions');
|
|
24
|
+
var otel = require('@hono/otel');
|
|
25
|
+
var api = require('@opentelemetry/api');
|
|
26
|
+
var hono = require('hono');
|
|
27
|
+
var cors = require('hono/cors');
|
|
28
|
+
var httpException = require('hono/http-exception');
|
|
29
|
+
var requestId = require('hono/request-id');
|
|
31
30
|
var factory = require('hono/factory');
|
|
32
31
|
var swaggerUi = require('@hono/swagger-ui');
|
|
33
32
|
var streaming = require('hono/streaming');
|
|
@@ -61,7 +60,6 @@ function _interopNamespace(e) {
|
|
|
61
60
|
return Object.freeze(n);
|
|
62
61
|
}
|
|
63
62
|
|
|
64
|
-
var z8__default = /*#__PURE__*/_interopDefault(z8);
|
|
65
63
|
var s3__namespace = /*#__PURE__*/_interopNamespace(s3);
|
|
66
64
|
var o3__namespace = /*#__PURE__*/_interopNamespace(o3);
|
|
67
65
|
var schema__namespace = /*#__PURE__*/_interopNamespace(schema);
|
|
@@ -84,29 +82,29 @@ var envSchema, parseEnv, env;
|
|
|
84
82
|
var init_env = __esm({
|
|
85
83
|
"src/env.ts"() {
|
|
86
84
|
agentsCore.loadEnvironmentFiles();
|
|
87
|
-
envSchema =
|
|
88
|
-
NODE_ENV:
|
|
89
|
-
ENVIRONMENT:
|
|
90
|
-
DATABASE_URL:
|
|
91
|
-
INKEEP_AGENTS_RUN_API_URL:
|
|
92
|
-
AGENTS_MANAGE_UI_URL:
|
|
93
|
-
LOG_LEVEL:
|
|
94
|
-
NANGO_SERVER_URL:
|
|
95
|
-
NANGO_SECRET_KEY:
|
|
96
|
-
ANTHROPIC_API_KEY:
|
|
97
|
-
OPENAI_API_KEY:
|
|
98
|
-
GOOGLE_GENERATIVE_AI_API_KEY:
|
|
99
|
-
INKEEP_AGENTS_RUN_API_BYPASS_SECRET:
|
|
100
|
-
INKEEP_AGENTS_JWT_SIGNING_SECRET:
|
|
101
|
-
INKEEP_AGENTS_TEMP_JWT_PUBLIC_KEY:
|
|
102
|
-
OTEL_BSP_SCHEDULE_DELAY:
|
|
103
|
-
OTEL_BSP_MAX_EXPORT_BATCH_SIZE:
|
|
85
|
+
envSchema = zodOpenapi.z.object({
|
|
86
|
+
NODE_ENV: zodOpenapi.z.enum(["development", "production", "test"]).optional(),
|
|
87
|
+
ENVIRONMENT: zodOpenapi.z.enum(["development", "production", "pentest", "test"]).optional().default("development"),
|
|
88
|
+
DATABASE_URL: zodOpenapi.z.string().optional(),
|
|
89
|
+
INKEEP_AGENTS_RUN_API_URL: zodOpenapi.z.string().optional().default("http://localhost:3003"),
|
|
90
|
+
AGENTS_MANAGE_UI_URL: zodOpenapi.z.string().optional().default("http://localhost:3000"),
|
|
91
|
+
LOG_LEVEL: zodOpenapi.z.enum(["trace", "debug", "info", "warn", "error"]).optional().default("debug"),
|
|
92
|
+
NANGO_SERVER_URL: zodOpenapi.z.string().optional().default("https://api.nango.dev"),
|
|
93
|
+
NANGO_SECRET_KEY: zodOpenapi.z.string().optional(),
|
|
94
|
+
ANTHROPIC_API_KEY: zodOpenapi.z.string(),
|
|
95
|
+
OPENAI_API_KEY: zodOpenapi.z.string().optional(),
|
|
96
|
+
GOOGLE_GENERATIVE_AI_API_KEY: zodOpenapi.z.string().optional(),
|
|
97
|
+
INKEEP_AGENTS_RUN_API_BYPASS_SECRET: zodOpenapi.z.string().optional(),
|
|
98
|
+
INKEEP_AGENTS_JWT_SIGNING_SECRET: zodOpenapi.z.string().optional(),
|
|
99
|
+
INKEEP_AGENTS_TEMP_JWT_PUBLIC_KEY: zodOpenapi.z.string().optional(),
|
|
100
|
+
OTEL_BSP_SCHEDULE_DELAY: zodOpenapi.z.coerce.number().optional().default(500),
|
|
101
|
+
OTEL_BSP_MAX_EXPORT_BATCH_SIZE: zodOpenapi.z.coerce.number().optional().default(64)
|
|
104
102
|
});
|
|
105
103
|
parseEnv = () => {
|
|
106
104
|
try {
|
|
107
105
|
return envSchema.parse(process.env);
|
|
108
106
|
} catch (error) {
|
|
109
|
-
if (error instanceof
|
|
107
|
+
if (error instanceof zodOpenapi.z.ZodError) {
|
|
110
108
|
const missingVars = error.issues.map((issue) => issue.path.join("."));
|
|
111
109
|
throw new Error(
|
|
112
110
|
`\u274C Invalid environment variables: ${missingVars.join(", ")}
|
|
@@ -130,10 +128,10 @@ var init_logger = __esm({
|
|
|
130
128
|
}
|
|
131
129
|
});
|
|
132
130
|
|
|
133
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
131
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-QY3QWFKW.js
|
|
134
132
|
var p, i2, c, f, l, s, a, _, d, D, F, g, L, P, n, h, R, x, T, U, u;
|
|
135
133
|
var init_chunk_QY3QWFKW = __esm({
|
|
136
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
134
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-QY3QWFKW.js"() {
|
|
137
135
|
p = Object.create;
|
|
138
136
|
i2 = Object.defineProperty;
|
|
139
137
|
c = Object.getOwnPropertyDescriptor;
|
|
@@ -170,7 +168,7 @@ var init_chunk_QY3QWFKW = __esm({
|
|
|
170
168
|
}
|
|
171
169
|
});
|
|
172
170
|
|
|
173
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
171
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-3WWIVTCY.js
|
|
174
172
|
function ue(e, t2, n3) {
|
|
175
173
|
if (e === null) return null;
|
|
176
174
|
let r = n3?.[t2] ?? Se.parsers[t2];
|
|
@@ -285,7 +283,7 @@ function Nr(e) {
|
|
|
285
283
|
}
|
|
286
284
|
var hn, ht, bt, be, ge, gt, we, ve, Ge, wt, V, je, At, xt, St, Ae, Dt, Bt, It, Mt, Rt, Tt, Qe, We, Et, Ct, Pt, Ut, Nt, Lt, Ot, kt, Vt, _e, ze, He, Ft, qe, xe, vt, Gt, jt, Qt, Wt, _t, zt, Ht, qt, Yt, $t, Kt, Jt, Xt, Zt, en, tn, nn, rn, sn, an, Ye, on, un, $e, Se, ln, cn, dn, fn, he, wn, Ue, Be, Ie, Me, Re, Te, Ee, Ce, Pe, F2, v, G, j, Q, W, C, _2, z2, H, q, Y, $, K, J, X, Z, ee, te, zn, b, g2, N, ce, L2, x2, le, U2, Xe, T2, m, An, xn, Sn, Dn, Bn, In, Mn, Rn, O, Tn, En, Cn, Pn, Un, Ne, Nn, Ln, On, kn, Vn, Fn, pe, vn, Gn, jn, Qn, k, Le, Wn, R2, w, fe, me, ne, de, Oe, _n, Ze, et, A, S, D2, o, l2, tt, nt, rt, st, it, at, ot, ke, ut, lt, ct, pt, dt, ft, mt, yt, Ve, ye, Fe, se, re;
|
|
287
285
|
var init_chunk_3WWIVTCY = __esm({
|
|
288
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
286
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-3WWIVTCY.js"() {
|
|
289
287
|
init_chunk_QY3QWFKW();
|
|
290
288
|
hn = {};
|
|
291
289
|
F(hn, { ABSTIME: () => Et, ACLITEM: () => Vt, BIT: () => jt, BOOL: () => be, BPCHAR: () => _e, BYTEA: () => ge, CHAR: () => gt, CID: () => St, CIDR: () => Tt, CIRCLE: () => Ut, DATE: () => He, FLOAT4: () => Qe, FLOAT8: () => We, GTSVECTOR: () => rn, INET: () => kt, INT2: () => ve, INT4: () => Ge, INT8: () => we, INTERVAL: () => vt, JSON: () => Ae, JSONB: () => Ye, MACADDR: () => Ot, MACADDR8: () => Nt, MONEY: () => Lt, NUMERIC: () => Wt, OID: () => je, PATH: () => Mt, PG_DEPENDENCIES: () => en, PG_LSN: () => Xt, PG_NDISTINCT: () => Zt, PG_NODE_TREE: () => Bt, POLYGON: () => Rt, REFCURSOR: () => _t, REGCLASS: () => Yt, REGCONFIG: () => sn, REGDICTIONARY: () => an, REGNAMESPACE: () => on, REGOPER: () => Ht, REGOPERATOR: () => qt, REGPROC: () => wt, REGPROCEDURE: () => zt, REGROLE: () => un, REGTYPE: () => $t, RELTIME: () => Ct, SMGR: () => It, TEXT: () => V, TID: () => At, TIME: () => Ft, TIMESTAMP: () => qe, TIMESTAMPTZ: () => xe, TIMETZ: () => Gt, TINTERVAL: () => Pt, TSQUERY: () => nn, TSVECTOR: () => tn, TXID_SNAPSHOT: () => Jt, UUID: () => Kt, VARBIT: () => Qt, VARCHAR: () => ze, XID: () => xt, XML: () => Dt, arrayParser: () => yn, arraySerializer: () => Ke, parseType: () => ue, parsers: () => ln, serializers: () => cn, types: () => $e });
|
|
@@ -880,7 +878,7 @@ var init_chunk_3WWIVTCY = __esm({
|
|
|
880
878
|
}
|
|
881
879
|
});
|
|
882
880
|
|
|
883
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
881
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-F4GETNPB.js
|
|
884
882
|
function s2(t2, r, ...e) {
|
|
885
883
|
let a2 = t2.length - 1, p4 = e.length - 1;
|
|
886
884
|
if (p4 !== -1) {
|
|
@@ -915,21 +913,21 @@ function g3(t2, ...r) {
|
|
|
915
913
|
}
|
|
916
914
|
var o2;
|
|
917
915
|
var init_chunk_F4GETNPB = __esm({
|
|
918
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
916
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-F4GETNPB.js"() {
|
|
919
917
|
init_chunk_QY3QWFKW();
|
|
920
918
|
u();
|
|
921
919
|
o2 = { part: "part", container: "container" };
|
|
922
920
|
}
|
|
923
921
|
});
|
|
924
922
|
|
|
925
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
923
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-F2DQ4FIK.js
|
|
926
924
|
function E(m4) {
|
|
927
925
|
let s4 = m4.e;
|
|
928
926
|
return s4.query = m4.query, s4.params = m4.params, s4.queryOptions = m4.options, s4;
|
|
929
927
|
}
|
|
930
928
|
var T3, p2, t, y2, x3, h2, O2, k2;
|
|
931
929
|
var init_chunk_F2DQ4FIK = __esm({
|
|
932
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
930
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-F2DQ4FIK.js"() {
|
|
933
931
|
init_chunk_3WWIVTCY();
|
|
934
932
|
init_chunk_F4GETNPB();
|
|
935
933
|
init_chunk_QY3QWFKW();
|
|
@@ -1050,7 +1048,7 @@ var init_chunk_F2DQ4FIK = __esm({
|
|
|
1050
1048
|
}
|
|
1051
1049
|
});
|
|
1052
1050
|
|
|
1053
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1051
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-VBDAOXYI.js
|
|
1054
1052
|
async function H2(r, e, t2 = "pgdata", s4 = "auto") {
|
|
1055
1053
|
let a2 = Br(r, e), [n3, o4] = await qr(a2, s4), i3 = t2 + (o4 ? ".tar.gz" : ".tar"), u2 = o4 ? "application/x-gzip" : "application/x-tar";
|
|
1056
1054
|
return typeof File < "u" ? new File([n3], i3, { type: u2 }) : new Blob([n3], { type: u2 });
|
|
@@ -1141,7 +1139,7 @@ function sr(r) {
|
|
|
1141
1139
|
}
|
|
1142
1140
|
var w2, x4, L3, er, nr, or, g4, Hr, Vr, C2, ur, cr, pr, Zr;
|
|
1143
1141
|
var init_chunk_VBDAOXYI = __esm({
|
|
1144
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1142
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-VBDAOXYI.js"() {
|
|
1145
1143
|
init_chunk_QY3QWFKW();
|
|
1146
1144
|
w2 = D(($r, l3) => {
|
|
1147
1145
|
u();
|
|
@@ -1242,7 +1240,7 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1242
1240
|
}], ["modifyTime", 12, 136, function(r, e) {
|
|
1243
1241
|
return k4(r[e[0]], e[1]);
|
|
1244
1242
|
}, function(r, e, t2) {
|
|
1245
|
-
return
|
|
1243
|
+
return z13(r.slice(e, e + t2[1]));
|
|
1246
1244
|
}], ["checksum", 8, 148, function(r, e) {
|
|
1247
1245
|
return " ";
|
|
1248
1246
|
}, function(r, e, t2) {
|
|
@@ -1284,11 +1282,11 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1284
1282
|
}], ["accessTime", 12, 476, function(r, e) {
|
|
1285
1283
|
return k4(r[e[0]], e[1]);
|
|
1286
1284
|
}, function(r, e, t2) {
|
|
1287
|
-
return
|
|
1285
|
+
return z13(r.slice(e, e + t2[1]));
|
|
1288
1286
|
}], ["createTime", 12, 488, function(r, e) {
|
|
1289
1287
|
return k4(r[e[0]], e[1]);
|
|
1290
1288
|
}, function(r, e, t2) {
|
|
1291
|
-
return
|
|
1289
|
+
return z13(r.slice(e, e + t2[1]));
|
|
1292
1290
|
}]], $4 = (function(r) {
|
|
1293
1291
|
var e = r[r.length - 1];
|
|
1294
1292
|
return e[2] + e[1];
|
|
@@ -1325,7 +1323,7 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1325
1323
|
var e = String.fromCharCode.apply(null, r);
|
|
1326
1324
|
return parseInt(e.replace(/^0+$/g, ""), 8) || 0;
|
|
1327
1325
|
}
|
|
1328
|
-
function
|
|
1326
|
+
function z13(r) {
|
|
1329
1327
|
return r.length == 0 || r[0] == 0 ? null : new Date(1e3 * S3(r));
|
|
1330
1328
|
}
|
|
1331
1329
|
function Tr2(r, e, t2) {
|
|
@@ -1351,7 +1349,7 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1351
1349
|
f3.exports.formatTarDateTime = k4;
|
|
1352
1350
|
f3.exports.parseTarString = A2;
|
|
1353
1351
|
f3.exports.parseTarNumber = S3;
|
|
1354
|
-
f3.exports.parseTarDateTime =
|
|
1352
|
+
f3.exports.parseTarDateTime = z13;
|
|
1355
1353
|
});
|
|
1356
1354
|
er = D((ne3, rr) => {
|
|
1357
1355
|
u();
|
|
@@ -1612,14 +1610,14 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1612
1610
|
}
|
|
1613
1611
|
});
|
|
1614
1612
|
|
|
1615
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1613
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/fs/nodefs.js
|
|
1616
1614
|
var nodefs_exports = {};
|
|
1617
1615
|
__export(nodefs_exports, {
|
|
1618
1616
|
NodeFS: () => m2
|
|
1619
1617
|
});
|
|
1620
1618
|
var m2;
|
|
1621
1619
|
var init_nodefs = __esm({
|
|
1622
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1620
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/fs/nodefs.js"() {
|
|
1623
1621
|
init_chunk_VBDAOXYI();
|
|
1624
1622
|
init_chunk_QY3QWFKW();
|
|
1625
1623
|
u();
|
|
@@ -1640,14 +1638,14 @@ var init_nodefs = __esm({
|
|
|
1640
1638
|
}
|
|
1641
1639
|
});
|
|
1642
1640
|
|
|
1643
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1641
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/fs/opfs-ahp.js
|
|
1644
1642
|
var opfs_ahp_exports = {};
|
|
1645
1643
|
__export(opfs_ahp_exports, {
|
|
1646
1644
|
OpfsAhpFS: () => L4
|
|
1647
1645
|
});
|
|
1648
1646
|
var $2, G2, T4, H3, v2, F3, M, y3, b2, m3, x5, P3, D3, S2, n2, C3, O3, k3, w3, f2, I, W2, j2, L4, p3;
|
|
1649
1647
|
var init_opfs_ahp = __esm({
|
|
1650
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1648
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/fs/opfs-ahp.js"() {
|
|
1651
1649
|
init_chunk_VBDAOXYI();
|
|
1652
1650
|
init_chunk_QY3QWFKW();
|
|
1653
1651
|
u();
|
|
@@ -1946,7 +1944,7 @@ ${t2}`), i3 = h(this, y3).getSize();
|
|
|
1946
1944
|
}
|
|
1947
1945
|
});
|
|
1948
1946
|
|
|
1949
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1947
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/index.js
|
|
1950
1948
|
async function ke2(e) {
|
|
1951
1949
|
if (Fe) {
|
|
1952
1950
|
let t2 = await import('fs'), r = await import('zlib'), { Writable: a2 } = await import('stream'), { pipeline: s4 } = await import('stream/promises');
|
|
@@ -2026,7 +2024,7 @@ async function Ue2(e, t2) {
|
|
|
2026
2024
|
}
|
|
2027
2025
|
var ot2, nt2, Fe2, it2, Y2, Le2, ue2, ce3, pt2, He2, je2, ne2, te2, re2, ie, _e2, xe2, we2, Se2, ye2, le2, fe2, he2, pe2, ae, $3, I2, se2, de2, B, Q2, K2, me2, oe, J2, O4, Z2, q2, G3, C4, Ve2, Xe2, ge2, Ke2, Ye2, L5, We2;
|
|
2028
2026
|
var init_dist = __esm({
|
|
2029
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
2027
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/index.js"() {
|
|
2030
2028
|
init_chunk_F2DQ4FIK();
|
|
2031
2029
|
init_chunk_VBDAOXYI();
|
|
2032
2030
|
init_chunk_3WWIVTCY();
|
|
@@ -5283,7 +5281,7 @@ ${_3}`), 0;
|
|
|
5283
5281
|
Module._getTempRet0 = _getTempRet0, registerWasmPlugin(), FS.createPreloadedFile = FS_createPreloadedFile, FS.staticInit(), Module.FS_createPath = FS.createPath, Module.FS_createDataFile = FS.createDataFile, Module.FS_createPreloadedFile = FS.createPreloadedFile, Module.FS_unlink = FS.unlink, Module.FS_createLazyFile = FS.createLazyFile, Module.FS_createDevice = FS.createDevice, MEMFS.doesNotExistError = new FS.ErrnoError(44), MEMFS.doesNotExistError.stack = "<generic error, no stack>", ENVIRONMENT_IS_NODE && NODEFS.staticInit();
|
|
5284
5282
|
var wasmImports = { __assert_fail: ___assert_fail, __call_sighandler: ___call_sighandler, __heap_base: ___heap_base, __indirect_function_table: wasmTable, __memory_base: ___memory_base, __stack_pointer: ___stack_pointer, __syscall__newselect: ___syscall__newselect, __syscall_bind: ___syscall_bind, __syscall_chdir: ___syscall_chdir, __syscall_chmod: ___syscall_chmod, __syscall_dup: ___syscall_dup, __syscall_dup3: ___syscall_dup3, __syscall_faccessat: ___syscall_faccessat, __syscall_fadvise64: ___syscall_fadvise64, __syscall_fallocate: ___syscall_fallocate, __syscall_fcntl64: ___syscall_fcntl64, __syscall_fdatasync: ___syscall_fdatasync, __syscall_fstat64: ___syscall_fstat64, __syscall_ftruncate64: ___syscall_ftruncate64, __syscall_getcwd: ___syscall_getcwd, __syscall_getdents64: ___syscall_getdents64, __syscall_ioctl: ___syscall_ioctl, __syscall_lstat64: ___syscall_lstat64, __syscall_mkdirat: ___syscall_mkdirat, __syscall_newfstatat: ___syscall_newfstatat, __syscall_openat: ___syscall_openat, __syscall_pipe: ___syscall_pipe, __syscall_readlinkat: ___syscall_readlinkat, __syscall_recvfrom: ___syscall_recvfrom, __syscall_renameat: ___syscall_renameat, __syscall_rmdir: ___syscall_rmdir, __syscall_sendto: ___syscall_sendto, __syscall_socket: ___syscall_socket, __syscall_stat64: ___syscall_stat64, __syscall_symlinkat: ___syscall_symlinkat, __syscall_truncate64: ___syscall_truncate64, __syscall_unlinkat: ___syscall_unlinkat, __table_base: ___table_base, _abort_js: __abort_js, _dlopen_js: __dlopen_js, _dlsym_js: __dlsym_js, _emscripten_memcpy_js: __emscripten_memcpy_js, _emscripten_runtime_keepalive_clear: __emscripten_runtime_keepalive_clear, _emscripten_system: __emscripten_system, _emscripten_throw_longjmp: __emscripten_throw_longjmp, _gmtime_js: __gmtime_js, _localtime_js: __localtime_js, _mmap_js: __mmap_js, _munmap_js: __munmap_js, _setitimer_js: __setitimer_js, _tzset_js: __tzset_js, clock_time_get: _clock_time_get, emscripten_asm_const_int: _emscripten_asm_const_int, emscripten_date_now: _emscripten_date_now, emscripten_force_exit: _emscripten_force_exit, emscripten_get_now: _emscripten_get_now, emscripten_resize_heap: _emscripten_resize_heap, environ_get: _environ_get, environ_sizes_get: _environ_sizes_get, exit: _exit, fd_close: _fd_close, fd_fdstat_get: _fd_fdstat_get, fd_pread: _fd_pread, fd_pwrite: _fd_pwrite, fd_read: _fd_read, fd_seek: _fd_seek, fd_sync: _fd_sync, fd_write: _fd_write, getTempRet0: _getTempRet0, getaddrinfo: _getaddrinfo, getnameinfo: _getnameinfo, invoke_di, invoke_i, invoke_id, invoke_ii, invoke_iii, invoke_iiii, invoke_iiiii, invoke_iiiiii, invoke_iiiiiii, invoke_iiiiiiii, invoke_iiiiiiiii, invoke_iiiiiiiiii, invoke_iiiiiiiiiii, invoke_iiiiiiiiiiiiii, invoke_iiiiiiiiiiiiiiiiii, invoke_iiiiiji, invoke_iiiij, invoke_iiiijii, invoke_iiij, invoke_iiji, invoke_ij, invoke_ijiiiii, invoke_ijiiiiii, invoke_j, invoke_ji, invoke_jii, invoke_jiiii, invoke_jiiiiii, invoke_jiiiiiiiii, invoke_v, invoke_vi, invoke_vid, invoke_vii, invoke_viii, invoke_viiii, invoke_viiiii, invoke_viiiiii, invoke_viiiiiii, invoke_viiiiiiii, invoke_viiiiiiiii, invoke_viiiiiiiiiiii, invoke_viiiji, invoke_viij, invoke_viiji, invoke_viijii, invoke_viijiiii, invoke_vij, invoke_viji, invoke_vijiji, invoke_vj, invoke_vji, memory: wasmMemory, proc_exit: _proc_exit, setTempRet0: _setTempRet0 }, wasmExports;
|
|
5285
5283
|
createWasm();
|
|
5286
|
-
var _fflush = Module._fflush = (e) => (_fflush = Module._fflush = wasmExports.fflush)(e); Module.___errno_location = () => (Module.___errno_location = wasmExports.__errno_location)(); Module._ProcessInterrupts = () => (Module._ProcessInterrupts = wasmExports.ProcessInterrupts)(); Module._errstart_cold = (e, t2) => (Module._errstart_cold = wasmExports.errstart_cold)(e, t2); Module._errcode = (e) => (Module._errcode = wasmExports.errcode)(e); Module._errmsg = (e, t2) => (Module._errmsg = wasmExports.errmsg)(e, t2); Module._errfinish = (e, t2, r) => (Module._errfinish = wasmExports.errfinish)(e, t2, r); Module._puts = (e) => (Module._puts = wasmExports.puts)(e); Module._errstart = (e, t2) => (Module._errstart = wasmExports.errstart)(e, t2); Module._errmsg_internal = (e, t2) => (Module._errmsg_internal = wasmExports.errmsg_internal)(e, t2); Module._errdetail = (e, t2) => (Module._errdetail = wasmExports.errdetail)(e, t2); Module._errhint = (e, t2) => (Module._errhint = wasmExports.errhint)(e, t2); Module._pg_parse_query = (e) => (Module._pg_parse_query = wasmExports.pg_parse_query)(e); Module._gettimeofday = (e, t2) => (Module._gettimeofday = wasmExports.gettimeofday)(e, t2); Module._raw_parser = (e, t2) => (Module._raw_parser = wasmExports.raw_parser)(e, t2); Module._initStringInfo = (e) => (Module._initStringInfo = wasmExports.initStringInfo)(e); Module._appendStringInfoString = (e, t2) => (Module._appendStringInfoString = wasmExports.appendStringInfoString)(e, t2); Module._appendStringInfo = (e, t2, r) => (Module._appendStringInfo = wasmExports.appendStringInfo)(e, t2, r); Module._errdetail_internal = (e, t2) => (Module._errdetail_internal = wasmExports.errdetail_internal)(e, t2); Module._pfree = (e) => (Module._pfree = wasmExports.pfree)(e); Module._list_make1_impl = (e, t2) => (Module._list_make1_impl = wasmExports.list_make1_impl)(e, t2); Module._QueryRewrite = (e) => (Module._QueryRewrite = wasmExports.QueryRewrite)(e); Module._pg_plan_query = (e, t2, r, a2) => (Module._pg_plan_query = wasmExports.pg_plan_query)(e, t2, r, a2); Module._palloc0 = (e) => (Module._palloc0 = wasmExports.palloc0)(e); Module._lappend = (e, t2) => (Module._lappend = wasmExports.lappend)(e, t2); Module._GetCurrentTimestamp = () => (Module._GetCurrentTimestamp = wasmExports.GetCurrentTimestamp)(); Module._pg_prng_double = (e) => (Module._pg_prng_double = wasmExports.pg_prng_double)(e); Module._pg_snprintf = (e, t2, r, a2) => (Module._pg_snprintf = wasmExports.pg_snprintf)(e, t2, r, a2); Module._die = (e) => (Module._die = wasmExports.die)(e); Module._check_stack_depth = () => (Module._check_stack_depth = wasmExports.check_stack_depth)(); Module._pre_format_elog_string = (e, t2) => (Module._pre_format_elog_string = wasmExports.pre_format_elog_string)(e, t2); Module._format_elog_string = (e, t2) => (Module._format_elog_string = wasmExports.format_elog_string)(e, t2); Module._pstrdup = (e) => (Module._pstrdup = wasmExports.pstrdup)(e); Module._SplitIdentifierString = (e, t2, r) => (Module._SplitIdentifierString = wasmExports.SplitIdentifierString)(e, t2, r); Module._list_free = (e) => (Module._list_free = wasmExports.list_free)(e); Module._pg_strcasecmp = (e, t2) => (Module._pg_strcasecmp = wasmExports.pg_strcasecmp)(e, t2); Module._guc_malloc = (e, t2) => (Module._guc_malloc = wasmExports.guc_malloc)(e, t2); Module._SetConfigOption = (e, t2, r, a2) => (Module._SetConfigOption = wasmExports.SetConfigOption)(e, t2, r, a2); Module._pg_sprintf = (e, t2, r) => (Module._pg_sprintf = wasmExports.pg_sprintf)(e, t2, r); Module._strcmp = (e, t2) => (Module._strcmp = wasmExports.strcmp)(e, t2); Module._atoi = (e) => (Module._atoi = wasmExports.atoi)(e); Module._pgl_shutdown = () => (Module._pgl_shutdown = wasmExports.pgl_shutdown)(); Module._pgl_closed = () => (Module._pgl_closed = wasmExports.pgl_closed)(); Module._MemoryContextReset = (e) => (Module._MemoryContextReset = wasmExports.MemoryContextReset)(e); Module._resetStringInfo = (e) => (Module._resetStringInfo = wasmExports.resetStringInfo)(e); Module._getc = (e) => (Module._getc = wasmExports.getc)(e); Module._appendStringInfoChar = (e, t2) => (Module._appendStringInfoChar = wasmExports.appendStringInfoChar)(e, t2); Module._strlen = (e) => (Module._strlen = wasmExports.strlen)(e); Module._strncmp = (e, t2, r) => (Module._strncmp = wasmExports.strncmp)(e, t2, r); Module._pg_fprintf = (e, t2, r) => (Module._pg_fprintf = wasmExports.pg_fprintf)(e, t2, r); Module._pgstat_report_activity = (e, t2) => (Module._pgstat_report_activity = wasmExports.pgstat_report_activity)(e, t2); Module._errhidestmt = (e) => (Module._errhidestmt = wasmExports.errhidestmt)(e); Module._GetTransactionSnapshot = () => (Module._GetTransactionSnapshot = wasmExports.GetTransactionSnapshot)(); Module._PushActiveSnapshot = (e) => (Module._PushActiveSnapshot = wasmExports.PushActiveSnapshot)(e); Module._AllocSetContextCreateInternal = (e, t2, r, a2, s4) => (Module._AllocSetContextCreateInternal = wasmExports.AllocSetContextCreateInternal)(e, t2, r, a2, s4); Module._PopActiveSnapshot = () => (Module._PopActiveSnapshot = wasmExports.PopActiveSnapshot)(); Module._CreateDestReceiver = (e) => (Module._CreateDestReceiver = wasmExports.CreateDestReceiver)(e); Module._CommitTransactionCommand = () => (Module._CommitTransactionCommand = wasmExports.CommitTransactionCommand)(); Module._CommandCounterIncrement = () => (Module._CommandCounterIncrement = wasmExports.CommandCounterIncrement)(); Module._MemoryContextDelete = (e) => (Module._MemoryContextDelete = wasmExports.MemoryContextDelete)(e); Module._StartTransactionCommand = () => (Module._StartTransactionCommand = wasmExports.StartTransactionCommand)(); Module.___wasm_setjmp_test = (e, t2) => (Module.___wasm_setjmp_test = wasmExports.__wasm_setjmp_test)(e, t2); Module._pg_printf = (e, t2) => (Module._pg_printf = wasmExports.pg_printf)(e, t2); Module.___wasm_setjmp = (e, t2, r) => (Module.___wasm_setjmp = wasmExports.__wasm_setjmp)(e, t2, r); Module._FlushErrorState = () => (Module._FlushErrorState = wasmExports.FlushErrorState)(); Module._emscripten_longjmp = (e, t2) => (Module._emscripten_longjmp = wasmExports.emscripten_longjmp)(e, t2); Module._enlargeStringInfo = (e, t2) => (Module._enlargeStringInfo = wasmExports.enlargeStringInfo)(e, t2); var _malloc = Module._malloc = (e) => (_malloc = Module._malloc = wasmExports.malloc)(e); Module._realloc = (e, t2) => (Module._realloc = wasmExports.realloc)(e, t2); Module._strspn = (e, t2) => (Module._strspn = wasmExports.strspn)(e, t2); Module._memcpy = (e, t2, r) => (Module._memcpy = wasmExports.memcpy)(e, t2, r); Module._fileno = (e) => (Module._fileno = wasmExports.fileno)(e); Module._strchr = (e, t2) => (Module._strchr = wasmExports.strchr)(e, t2); Module._free = (e) => (Module._free = wasmExports.free)(e); Module._pg_vsnprintf = (e, t2, r, a2) => (Module._pg_vsnprintf = wasmExports.pg_vsnprintf)(e, t2, r, a2); Module._strcpy = (e, t2) => (Module._strcpy = wasmExports.strcpy)(e, t2); Module._psprintf = (e, t2) => (Module._psprintf = wasmExports.psprintf)(e, t2); Module._stat = (e, t2) => (Module._stat = wasmExports.stat)(e, t2); Module._fwrite = (e, t2, r, a2) => (Module._fwrite = wasmExports.fwrite)(e, t2, r, a2); Module._strftime = (e, t2, r, a2) => (Module._strftime = wasmExports.strftime)(e, t2, r, a2); Module._strstr = (e, t2) => (Module._strstr = wasmExports.strstr)(e, t2); Module._strtol = (e, t2, r) => (Module._strtol = wasmExports.strtol)(e, t2, r); Module._ferror = (e) => (Module._ferror = wasmExports.ferror)(e); Module._clear_error = () => (Module._clear_error = wasmExports.clear_error)(); Module._interactive_one = (e, t2) => (Module._interactive_one = wasmExports.interactive_one)(e, t2); Module._pq_getmsgint = (e, t2) => (Module._pq_getmsgint = wasmExports.pq_getmsgint)(e, t2); Module._palloc = (e) => (Module._palloc = wasmExports.palloc)(e); Module._makeParamList = (e) => (Module._makeParamList = wasmExports.makeParamList)(e); Module._getTypeInputInfo = (e, t2, r) => (Module._getTypeInputInfo = wasmExports.getTypeInputInfo)(e, t2, r); Module._pnstrdup = (e, t2) => (Module._pnstrdup = wasmExports.pnstrdup)(e, t2); Module._MemoryContextSetParent = (e, t2) => (Module._MemoryContextSetParent = wasmExports.MemoryContextSetParent)(e, t2); Module._pgl_backend = () => (Module._pgl_backend = wasmExports.pgl_backend)(); Module._pgl_initdb = () => (Module._pgl_initdb = wasmExports.pgl_initdb)(); Module._main = (e, t2) => (Module._main = wasmExports.__main_argc_argv)(e, t2); Module._appendStringInfoStringQuoted = (e, t2, r) => (Module._appendStringInfoStringQuoted = wasmExports.appendStringInfoStringQuoted)(e, t2, r); Module._set_errcontext_domain = (e) => (Module._set_errcontext_domain = wasmExports.set_errcontext_domain)(e); Module._errcontext_msg = (e, t2) => (Module._errcontext_msg = wasmExports.errcontext_msg)(e, t2); Module._memchr = (e, t2, r) => (Module._memchr = wasmExports.memchr)(e, t2, r); Module._strrchr = (e, t2) => (Module._strrchr = wasmExports.strrchr)(e, t2); Module._xsltFreeStylesheet = (e) => (Module._xsltFreeStylesheet = wasmExports.xsltFreeStylesheet)(e); Module._xsltParseStylesheetDoc = (e) => (Module._xsltParseStylesheetDoc = wasmExports.xsltParseStylesheetDoc)(e); Module._xsltSaveResultToString = (e, t2, r, a2) => (Module._xsltSaveResultToString = wasmExports.xsltSaveResultToString)(e, t2, r, a2); Module._xsltCleanupGlobals = () => (Module._xsltCleanupGlobals = wasmExports.xsltCleanupGlobals)(); Module._xsltNewTransformContext = (e, t2) => (Module._xsltNewTransformContext = wasmExports.xsltNewTransformContext)(e, t2); Module._xsltFreeTransformContext = (e) => (Module._xsltFreeTransformContext = wasmExports.xsltFreeTransformContext)(e); Module._xsltApplyStylesheetUser = (e, t2, r, a2, s4, o4) => (Module._xsltApplyStylesheetUser = wasmExports.xsltApplyStylesheetUser)(e, t2, r, a2, s4, o4); Module._xsltNewSecurityPrefs = () => (Module._xsltNewSecurityPrefs = wasmExports.xsltNewSecurityPrefs)(); Module._xsltFreeSecurityPrefs = (e) => (Module._xsltFreeSecurityPrefs = wasmExports.xsltFreeSecurityPrefs)(e); Module._xsltSetSecurityPrefs = (e, t2, r) => (Module._xsltSetSecurityPrefs = wasmExports.xsltSetSecurityPrefs)(e, t2, r); Module._xsltSetCtxtSecurityPrefs = (e, t2) => (Module._xsltSetCtxtSecurityPrefs = wasmExports.xsltSetCtxtSecurityPrefs)(e, t2); Module._xsltSecurityForbid = (e, t2, r) => (Module._xsltSecurityForbid = wasmExports.xsltSecurityForbid)(e, t2, r); Module._replace_percent_placeholders = (e, t2, r, a2) => (Module._replace_percent_placeholders = wasmExports.replace_percent_placeholders)(e, t2, r, a2); Module._memset = (e, t2, r) => (Module._memset = wasmExports.memset)(e, t2, r); Module._MemoryContextAllocZero = (e, t2) => (Module._MemoryContextAllocZero = wasmExports.MemoryContextAllocZero)(e, t2); Module._MemoryContextAllocExtended = (e, t2, r) => (Module._MemoryContextAllocExtended = wasmExports.MemoryContextAllocExtended)(e, t2, r); Module._hash_bytes = (e, t2) => (Module._hash_bytes = wasmExports.hash_bytes)(e, t2); Module._memcmp = (e, t2, r) => (Module._memcmp = wasmExports.memcmp)(e, t2, r); Module._repalloc = (e, t2) => (Module._repalloc = wasmExports.repalloc)(e, t2); Module._pg_qsort = (e, t2, r, a2) => (Module._pg_qsort = wasmExports.pg_qsort)(e, t2, r, a2); Module._OpenTransientFile = (e, t2) => (Module._OpenTransientFile = wasmExports.OpenTransientFile)(e, t2); Module._errcode_for_file_access = () => (Module._errcode_for_file_access = wasmExports.errcode_for_file_access)(); Module._read = (e, t2, r) => (Module._read = wasmExports.read)(e, t2, r); Module._CloseTransientFile = (e) => (Module._CloseTransientFile = wasmExports.CloseTransientFile)(e); Module._close = (e) => (Module._close = wasmExports.close)(e); Module.___multi3 = (e, t2, r, a2, s4) => (Module.___multi3 = wasmExports.__multi3)(e, t2, r, a2, s4); Module._isalnum = (e) => (Module._isalnum = wasmExports.isalnum)(e); Module._wait_result_to_str = (e) => (Module._wait_result_to_str = wasmExports.wait_result_to_str)(e); Module._float_to_shortest_decimal_bufn = (e, t2) => (Module._float_to_shortest_decimal_bufn = wasmExports.float_to_shortest_decimal_bufn)(e, t2); Module._float_to_shortest_decimal_buf = (e, t2) => (Module._float_to_shortest_decimal_buf = wasmExports.float_to_shortest_decimal_buf)(e, t2); Module._memmove = (e, t2, r) => (Module._memmove = wasmExports.memmove)(e, t2, r); Module._pwrite = (e, t2, r, a2) => (Module._pwrite = wasmExports.pwrite)(e, t2, r, a2); Module._hash_bytes_extended = (e, t2, r) => (Module._hash_bytes_extended = wasmExports.hash_bytes_extended)(e, t2, r); var _calloc = (e, t2) => (_calloc = wasmExports.calloc)(e, t2); Module._IsValidJsonNumber = (e, t2) => (Module._IsValidJsonNumber = wasmExports.IsValidJsonNumber)(e, t2); Module._appendBinaryStringInfo = (e, t2, r) => (Module._appendBinaryStringInfo = wasmExports.appendBinaryStringInfo)(e, t2, r); Module._makeStringInfo = () => (Module._makeStringInfo = wasmExports.makeStringInfo)(); Module._GetDatabaseEncodingName = () => (Module._GetDatabaseEncodingName = wasmExports.GetDatabaseEncodingName)(); Module._ScanKeywordLookup = (e, t2) => (Module._ScanKeywordLookup = wasmExports.ScanKeywordLookup)(e, t2); Module._strtoul = (e, t2, r) => (Module._strtoul = wasmExports.strtoul)(e, t2, r); Module._sscanf = (e, t2, r) => (Module._sscanf = wasmExports.sscanf)(e, t2, r); Module._pg_prng_uint64 = (e) => (Module._pg_prng_uint64 = wasmExports.pg_prng_uint64)(e); Module._pg_prng_uint32 = (e) => (Module._pg_prng_uint32 = wasmExports.pg_prng_uint32)(e); Module._log = (e) => (Module._log = wasmExports.log)(e); Module._sin = (e) => (Module._sin = wasmExports.sin)(e); Module._forkname_to_number = (e) => (Module._forkname_to_number = wasmExports.forkname_to_number)(e); Module._unlink = (e) => (Module._unlink = wasmExports.unlink)(e); Module._pg_utf_mblen_private = (e) => (Module._pg_utf_mblen_private = wasmExports.pg_utf_mblen_private)(e); Module._bsearch = (e, t2, r, a2, s4) => (Module._bsearch = wasmExports.bsearch)(e, t2, r, a2, s4); Module._palloc_extended = (e, t2) => (Module._palloc_extended = wasmExports.palloc_extended)(e, t2); Module._appendStringInfoSpaces = (e, t2) => (Module._appendStringInfoSpaces = wasmExports.appendStringInfoSpaces)(e, t2); Module._fcntl = (e, t2, r) => (Module._fcntl = wasmExports.fcntl)(e, t2, r); Module._pg_popcount_optimized = (e, t2) => (Module._pg_popcount_optimized = wasmExports.pg_popcount_optimized)(e, t2); Module._open = (e, t2, r) => (Module._open = wasmExports.open)(e, t2, r); Module._pg_usleep = (e) => (Module._pg_usleep = wasmExports.pg_usleep)(e); Module._nanosleep = (e, t2) => (Module._nanosleep = wasmExports.nanosleep)(e, t2); Module._getpid = () => (Module._getpid = wasmExports.getpid)(); Module._qsort_arg = (e, t2, r, a2, s4) => (Module._qsort_arg = wasmExports.qsort_arg)(e, t2, r, a2, s4); Module._RelationGetNumberOfBlocksInFork = (e, t2) => (Module._RelationGetNumberOfBlocksInFork = wasmExports.RelationGetNumberOfBlocksInFork)(e, t2); Module._ExtendBufferedRel = (e, t2, r, a2) => (Module._ExtendBufferedRel = wasmExports.ExtendBufferedRel)(e, t2, r, a2); Module._MarkBufferDirty = (e) => (Module._MarkBufferDirty = wasmExports.MarkBufferDirty)(e); Module._XLogBeginInsert = () => (Module._XLogBeginInsert = wasmExports.XLogBeginInsert)(); Module._XLogRegisterData = (e, t2) => (Module._XLogRegisterData = wasmExports.XLogRegisterData)(e, t2); Module._XLogInsert = (e, t2) => (Module._XLogInsert = wasmExports.XLogInsert)(e, t2); Module._UnlockReleaseBuffer = (e) => (Module._UnlockReleaseBuffer = wasmExports.UnlockReleaseBuffer)(e); Module._brin_build_desc = (e) => (Module._brin_build_desc = wasmExports.brin_build_desc)(e); Module._EnterParallelMode = () => (Module._EnterParallelMode = wasmExports.EnterParallelMode)(); Module._CreateParallelContext = (e, t2, r) => (Module._CreateParallelContext = wasmExports.CreateParallelContext)(e, t2, r); Module._RegisterSnapshot = (e) => (Module._RegisterSnapshot = wasmExports.RegisterSnapshot)(e); Module._table_parallelscan_estimate = (e, t2) => (Module._table_parallelscan_estimate = wasmExports.table_parallelscan_estimate)(e, t2); Module._add_size = (e, t2) => (Module._add_size = wasmExports.add_size)(e, t2); Module._tuplesort_estimate_shared = (e) => (Module._tuplesort_estimate_shared = wasmExports.tuplesort_estimate_shared)(e); Module._InitializeParallelDSM = (e) => (Module._InitializeParallelDSM = wasmExports.InitializeParallelDSM)(e); Module._UnregisterSnapshot = (e) => (Module._UnregisterSnapshot = wasmExports.UnregisterSnapshot)(e); Module._DestroyParallelContext = (e) => (Module._DestroyParallelContext = wasmExports.DestroyParallelContext)(e); Module._ExitParallelMode = () => (Module._ExitParallelMode = wasmExports.ExitParallelMode)(); Module._shm_toc_allocate = (e, t2) => (Module._shm_toc_allocate = wasmExports.shm_toc_allocate)(e, t2); Module._ConditionVariableInit = (e) => (Module._ConditionVariableInit = wasmExports.ConditionVariableInit)(e); Module._s_init_lock_sema = (e, t2) => (Module._s_init_lock_sema = wasmExports.s_init_lock_sema)(e, t2); Module._table_parallelscan_initialize = (e, t2, r) => (Module._table_parallelscan_initialize = wasmExports.table_parallelscan_initialize)(e, t2, r); Module._tuplesort_initialize_shared = (e, t2, r) => (Module._tuplesort_initialize_shared = wasmExports.tuplesort_initialize_shared)(e, t2, r); Module._shm_toc_insert = (e, t2, r) => (Module._shm_toc_insert = wasmExports.shm_toc_insert)(e, t2, r); Module._LaunchParallelWorkers = (e) => (Module._LaunchParallelWorkers = wasmExports.LaunchParallelWorkers)(e); Module._WaitForParallelWorkersToAttach = (e) => (Module._WaitForParallelWorkersToAttach = wasmExports.WaitForParallelWorkersToAttach)(e); Module._tas_sema = (e) => (Module._tas_sema = wasmExports.tas_sema)(e); Module._s_lock = (e, t2, r, a2) => (Module._s_lock = wasmExports.s_lock)(e, t2, r, a2); Module._s_unlock_sema = (e) => (Module._s_unlock_sema = wasmExports.s_unlock_sema)(e); Module._ConditionVariableSleep = (e, t2) => (Module._ConditionVariableSleep = wasmExports.ConditionVariableSleep)(e, t2); Module._ConditionVariableCancelSleep = () => (Module._ConditionVariableCancelSleep = wasmExports.ConditionVariableCancelSleep)(); Module._tuplesort_performsort = (e) => (Module._tuplesort_performsort = wasmExports.tuplesort_performsort)(e); Module._tuplesort_end = (e) => (Module._tuplesort_end = wasmExports.tuplesort_end)(e); Module._brin_deform_tuple = (e, t2, r) => (Module._brin_deform_tuple = wasmExports.brin_deform_tuple)(e, t2, r); Module._log_newpage_buffer = (e, t2) => (Module._log_newpage_buffer = wasmExports.log_newpage_buffer)(e, t2); Module._LockBuffer = (e, t2) => (Module._LockBuffer = wasmExports.LockBuffer)(e, t2); Module._ReleaseBuffer = (e) => (Module._ReleaseBuffer = wasmExports.ReleaseBuffer)(e); Module._IndexGetRelation = (e, t2) => (Module._IndexGetRelation = wasmExports.IndexGetRelation)(e, t2); Module._table_open = (e, t2) => (Module._table_open = wasmExports.table_open)(e, t2); Module._ReadBufferExtended = (e, t2, r, a2, s4) => (Module._ReadBufferExtended = wasmExports.ReadBufferExtended)(e, t2, r, a2, s4); Module._table_close = (e, t2) => (Module._table_close = wasmExports.table_close)(e, t2); Module._build_reloptions = (e, t2, r, a2, s4, o4) => (Module._build_reloptions = wasmExports.build_reloptions)(e, t2, r, a2, s4, o4); Module._RelationGetIndexScan = (e, t2, r) => (Module._RelationGetIndexScan = wasmExports.RelationGetIndexScan)(e, t2, r); Module._pgstat_assoc_relation = (e) => (Module._pgstat_assoc_relation = wasmExports.pgstat_assoc_relation)(e); Module._index_getprocinfo = (e, t2, r) => (Module._index_getprocinfo = wasmExports.index_getprocinfo)(e, t2, r); Module._fmgr_info_copy = (e, t2, r) => (Module._fmgr_info_copy = wasmExports.fmgr_info_copy)(e, t2, r); Module._FunctionCall4Coll = (e, t2, r, a2, s4, o4) => (Module._FunctionCall4Coll = wasmExports.FunctionCall4Coll)(e, t2, r, a2, s4, o4); Module._FunctionCall1Coll = (e, t2, r) => (Module._FunctionCall1Coll = wasmExports.FunctionCall1Coll)(e, t2, r); Module._brin_free_desc = (e) => (Module._brin_free_desc = wasmExports.brin_free_desc)(e); Module._WaitForParallelWorkersToFinish = (e) => (Module._WaitForParallelWorkersToFinish = wasmExports.WaitForParallelWorkersToFinish)(e); Module._PageGetFreeSpace = (e) => (Module._PageGetFreeSpace = wasmExports.PageGetFreeSpace)(e); Module._BufferGetBlockNumber = (e) => (Module._BufferGetBlockNumber = wasmExports.BufferGetBlockNumber)(e); Module._BuildIndexInfo = (e) => (Module._BuildIndexInfo = wasmExports.BuildIndexInfo)(e); Module._Int64GetDatum = (e) => (Module._Int64GetDatum = wasmExports.Int64GetDatum)(e); Module._DirectFunctionCall2Coll = (e, t2, r, a2) => (Module._DirectFunctionCall2Coll = wasmExports.DirectFunctionCall2Coll)(e, t2, r, a2); Module._RecoveryInProgress = () => (Module._RecoveryInProgress = wasmExports.RecoveryInProgress)(); Module._GetUserIdAndSecContext = (e, t2) => (Module._GetUserIdAndSecContext = wasmExports.GetUserIdAndSecContext)(e, t2); Module._SetUserIdAndSecContext = (e, t2) => (Module._SetUserIdAndSecContext = wasmExports.SetUserIdAndSecContext)(e, t2); Module._NewGUCNestLevel = () => (Module._NewGUCNestLevel = wasmExports.NewGUCNestLevel)(); Module._RestrictSearchPath = () => (Module._RestrictSearchPath = wasmExports.RestrictSearchPath)(); Module._index_open = (e, t2) => (Module._index_open = wasmExports.index_open)(e, t2); Module._object_ownercheck = (e, t2, r) => (Module._object_ownercheck = wasmExports.object_ownercheck)(e, t2, r); Module._aclcheck_error = (e, t2, r) => (Module._aclcheck_error = wasmExports.aclcheck_error)(e, t2, r); Module._AtEOXact_GUC = (e, t2) => (Module._AtEOXact_GUC = wasmExports.AtEOXact_GUC)(e, t2); Module._relation_close = (e, t2) => (Module._relation_close = wasmExports.relation_close)(e, t2); Module._GetUserId = () => (Module._GetUserId = wasmExports.GetUserId)(); Module._ReadBuffer = (e, t2) => (Module._ReadBuffer = wasmExports.ReadBuffer)(e, t2); Module._shm_toc_lookup = (e, t2, r) => (Module._shm_toc_lookup = wasmExports.shm_toc_lookup)(e, t2, r); Module._tuplesort_attach_shared = (e, t2) => (Module._tuplesort_attach_shared = wasmExports.tuplesort_attach_shared)(e, t2); Module._index_close = (e, t2) => (Module._index_close = wasmExports.index_close)(e, t2); Module._table_beginscan_parallel = (e, t2) => (Module._table_beginscan_parallel = wasmExports.table_beginscan_parallel)(e, t2); Module._ConditionVariableSignal = (e) => (Module._ConditionVariableSignal = wasmExports.ConditionVariableSignal)(e); Module._datumCopy = (e, t2, r) => (Module._datumCopy = wasmExports.datumCopy)(e, t2, r); Module._lookup_type_cache = (e, t2) => (Module._lookup_type_cache = wasmExports.lookup_type_cache)(e, t2); Module._get_fn_opclass_options = (e) => (Module._get_fn_opclass_options = wasmExports.get_fn_opclass_options)(e); Module._pg_detoast_datum = (e) => (Module._pg_detoast_datum = wasmExports.pg_detoast_datum)(e); Module._index_getprocid = (e, t2, r) => (Module._index_getprocid = wasmExports.index_getprocid)(e, t2, r); Module._init_local_reloptions = (e, t2) => (Module._init_local_reloptions = wasmExports.init_local_reloptions)(e, t2); Module._FunctionCall2Coll = (e, t2, r, a2) => (Module._FunctionCall2Coll = wasmExports.FunctionCall2Coll)(e, t2, r, a2); Module._SysCacheGetAttrNotNull = (e, t2, r) => (Module._SysCacheGetAttrNotNull = wasmExports.SysCacheGetAttrNotNull)(e, t2, r); Module._ReleaseSysCache = (e) => (Module._ReleaseSysCache = wasmExports.ReleaseSysCache)(e); Module._fmgr_info_cxt = (e, t2, r) => (Module._fmgr_info_cxt = wasmExports.fmgr_info_cxt)(e, t2, r); Module._Float8GetDatum = (e) => (Module._Float8GetDatum = wasmExports.Float8GetDatum)(e); Module._numeric_sub = (e) => (Module._numeric_sub = wasmExports.numeric_sub)(e); Module._DirectFunctionCall1Coll = (e, t2, r) => (Module._DirectFunctionCall1Coll = wasmExports.DirectFunctionCall1Coll)(e, t2, r); Module._pg_detoast_datum_packed = (e) => (Module._pg_detoast_datum_packed = wasmExports.pg_detoast_datum_packed)(e); Module._add_local_int_reloption = (e, t2, r, a2, s4, o4, n3) => (Module._add_local_int_reloption = wasmExports.add_local_int_reloption)(e, t2, r, a2, s4, o4, n3); Module._getTypeOutputInfo = (e, t2, r) => (Module._getTypeOutputInfo = wasmExports.getTypeOutputInfo)(e, t2, r); Module._fmgr_info = (e, t2) => (Module._fmgr_info = wasmExports.fmgr_info)(e, t2); Module._OutputFunctionCall = (e, t2) => (Module._OutputFunctionCall = wasmExports.OutputFunctionCall)(e, t2); Module._cstring_to_text_with_len = (e, t2) => (Module._cstring_to_text_with_len = wasmExports.cstring_to_text_with_len)(e, t2); Module._accumArrayResult = (e, t2, r, a2, s4) => (Module._accumArrayResult = wasmExports.accumArrayResult)(e, t2, r, a2, s4); Module._makeArrayResult = (e, t2) => (Module._makeArrayResult = wasmExports.makeArrayResult)(e, t2); Module._OidOutputFunctionCall = (e, t2) => (Module._OidOutputFunctionCall = wasmExports.OidOutputFunctionCall)(e, t2); Module._cstring_to_text = (e) => (Module._cstring_to_text = wasmExports.cstring_to_text)(e); Module._PageGetExactFreeSpace = (e) => (Module._PageGetExactFreeSpace = wasmExports.PageGetExactFreeSpace)(e); Module._PageIndexTupleOverwrite = (e, t2, r, a2) => (Module._PageIndexTupleOverwrite = wasmExports.PageIndexTupleOverwrite)(e, t2, r, a2); Module._PageInit = (e, t2, r) => (Module._PageInit = wasmExports.PageInit)(e, t2, r); Module._PageAddItemExtended = (e, t2, r, a2, s4) => (Module._PageAddItemExtended = wasmExports.PageAddItemExtended)(e, t2, r, a2, s4); Module._LockRelationForExtension = (e, t2) => (Module._LockRelationForExtension = wasmExports.LockRelationForExtension)(e, t2); Module._UnlockRelationForExtension = (e, t2) => (Module._UnlockRelationForExtension = wasmExports.UnlockRelationForExtension)(e, t2); Module._smgropen = (e, t2) => (Module._smgropen = wasmExports.smgropen)(e, t2); Module._smgrpin = (e) => (Module._smgrpin = wasmExports.smgrpin)(e); Module._ItemPointerEquals = (e, t2) => (Module._ItemPointerEquals = wasmExports.ItemPointerEquals)(e, t2); Module._detoast_external_attr = (e) => (Module._detoast_external_attr = wasmExports.detoast_external_attr)(e); Module._CreateTemplateTupleDesc = (e) => (Module._CreateTemplateTupleDesc = wasmExports.CreateTemplateTupleDesc)(e); Module._TupleDescInitEntry = (e, t2, r, a2, s4, o4) => (Module._TupleDescInitEntry = wasmExports.TupleDescInitEntry)(e, t2, r, a2, s4, o4); Module._SearchSysCache1 = (e, t2) => (Module._SearchSysCache1 = wasmExports.SearchSysCache1)(e, t2); Module._SearchSysCacheList = (e, t2, r, a2, s4) => (Module._SearchSysCacheList = wasmExports.SearchSysCacheList)(e, t2, r, a2, s4); Module._check_amproc_signature = (e, t2, r, a2, s4, o4) => (Module._check_amproc_signature = wasmExports.check_amproc_signature)(e, t2, r, a2, s4, o4); Module._check_amoptsproc_signature = (e) => (Module._check_amoptsproc_signature = wasmExports.check_amoptsproc_signature)(e); Module._format_procedure = (e) => (Module._format_procedure = wasmExports.format_procedure)(e); Module._format_operator = (e) => (Module._format_operator = wasmExports.format_operator)(e); Module._check_amop_signature = (e, t2, r, a2) => (Module._check_amop_signature = wasmExports.check_amop_signature)(e, t2, r, a2); Module._identify_opfamily_groups = (e, t2) => (Module._identify_opfamily_groups = wasmExports.identify_opfamily_groups)(e, t2); Module._format_type_be = (e) => (Module._format_type_be = wasmExports.format_type_be)(e); Module._ReleaseCatCacheList = (e) => (Module._ReleaseCatCacheList = wasmExports.ReleaseCatCacheList)(e); Module._format_type_with_typemod = (e, t2) => (Module._format_type_with_typemod = wasmExports.format_type_with_typemod)(e, t2); Module._DatumGetEOHP = (e) => (Module._DatumGetEOHP = wasmExports.DatumGetEOHP)(e); Module._EOH_get_flat_size = (e) => (Module._EOH_get_flat_size = wasmExports.EOH_get_flat_size)(e); Module._EOH_flatten_into = (e, t2, r) => (Module._EOH_flatten_into = wasmExports.EOH_flatten_into)(e, t2, r); Module._getmissingattr = (e, t2, r) => (Module._getmissingattr = wasmExports.getmissingattr)(e, t2, r); Module._hash_create = (e, t2, r, a2) => (Module._hash_create = wasmExports.hash_create)(e, t2, r, a2); Module._hash_search = (e, t2, r, a2) => (Module._hash_search = wasmExports.hash_search)(e, t2, r, a2); Module._nocachegetattr = (e, t2, r) => (Module._nocachegetattr = wasmExports.nocachegetattr)(e, t2, r); Module._heap_form_tuple = (e, t2, r) => (Module._heap_form_tuple = wasmExports.heap_form_tuple)(e, t2, r); Module._heap_modify_tuple = (e, t2, r, a2, s4) => (Module._heap_modify_tuple = wasmExports.heap_modify_tuple)(e, t2, r, a2, s4); Module._heap_deform_tuple = (e, t2, r, a2) => (Module._heap_deform_tuple = wasmExports.heap_deform_tuple)(e, t2, r, a2); Module._heap_modify_tuple_by_cols = (e, t2, r, a2, s4, o4) => (Module._heap_modify_tuple_by_cols = wasmExports.heap_modify_tuple_by_cols)(e, t2, r, a2, s4, o4); Module._heap_freetuple = (e) => (Module._heap_freetuple = wasmExports.heap_freetuple)(e); Module._index_form_tuple = (e, t2, r) => (Module._index_form_tuple = wasmExports.index_form_tuple)(e, t2, r); Module._nocache_index_getattr = (e, t2, r) => (Module._nocache_index_getattr = wasmExports.nocache_index_getattr)(e, t2, r); Module._index_deform_tuple = (e, t2, r, a2) => (Module._index_deform_tuple = wasmExports.index_deform_tuple)(e, t2, r, a2); Module._slot_getsomeattrs_int = (e, t2) => (Module._slot_getsomeattrs_int = wasmExports.slot_getsomeattrs_int)(e, t2); Module._pg_ltoa = (e, t2) => (Module._pg_ltoa = wasmExports.pg_ltoa)(e, t2); Module._relation_open = (e, t2) => (Module._relation_open = wasmExports.relation_open)(e, t2); Module._LockRelationOid = (e, t2) => (Module._LockRelationOid = wasmExports.LockRelationOid)(e, t2); Module._try_relation_open = (e, t2) => (Module._try_relation_open = wasmExports.try_relation_open)(e, t2); Module._relation_openrv = (e, t2) => (Module._relation_openrv = wasmExports.relation_openrv)(e, t2); Module._RangeVarGetRelidExtended = (e, t2, r, a2, s4) => (Module._RangeVarGetRelidExtended = wasmExports.RangeVarGetRelidExtended)(e, t2, r, a2, s4); Module._add_reloption_kind = () => (Module._add_reloption_kind = wasmExports.add_reloption_kind)(); Module._register_reloptions_validator = (e, t2) => (Module._register_reloptions_validator = wasmExports.register_reloptions_validator)(e, t2); Module._add_int_reloption = (e, t2, r, a2, s4, o4, n3) => (Module._add_int_reloption = wasmExports.add_int_reloption)(e, t2, r, a2, s4, o4, n3); Module._MemoryContextStrdup = (e, t2) => (Module._MemoryContextStrdup = wasmExports.MemoryContextStrdup)(e, t2); Module._transformRelOptions = (e, t2, r, a2, s4, o4) => (Module._transformRelOptions = wasmExports.transformRelOptions)(e, t2, r, a2, s4, o4); Module._deconstruct_array_builtin = (e, t2, r, a2, s4) => (Module._deconstruct_array_builtin = wasmExports.deconstruct_array_builtin)(e, t2, r, a2, s4); Module._defGetString = (e) => (Module._defGetString = wasmExports.defGetString)(e); Module._defGetBoolean = (e) => (Module._defGetBoolean = wasmExports.defGetBoolean)(e); Module._untransformRelOptions = (e) => (Module._untransformRelOptions = wasmExports.untransformRelOptions)(e); Module._text_to_cstring = (e) => (Module._text_to_cstring = wasmExports.text_to_cstring)(e); Module._makeString = (e) => (Module._makeString = wasmExports.makeString)(e); Module._makeDefElem = (e, t2, r) => (Module._makeDefElem = wasmExports.makeDefElem)(e, t2, r); Module._heap_reloptions = (e, t2, r) => (Module._heap_reloptions = wasmExports.heap_reloptions)(e, t2, r); Module._MemoryContextAlloc = (e, t2) => (Module._MemoryContextAlloc = wasmExports.MemoryContextAlloc)(e, t2); Module._parse_bool = (e, t2) => (Module._parse_bool = wasmExports.parse_bool)(e, t2); Module._parse_int = (e, t2, r, a2) => (Module._parse_int = wasmExports.parse_int)(e, t2, r, a2); Module._parse_real = (e, t2, r, a2) => (Module._parse_real = wasmExports.parse_real)(e, t2, r, a2); Module._ScanKeyInit = (e, t2, r, a2, s4) => (Module._ScanKeyInit = wasmExports.ScanKeyInit)(e, t2, r, a2, s4); Module._dsm_segment_handle = (e) => (Module._dsm_segment_handle = wasmExports.dsm_segment_handle)(e); Module._dsm_create = (e, t2) => (Module._dsm_create = wasmExports.dsm_create)(e, t2); Module._dsm_segment_address = (e) => (Module._dsm_segment_address = wasmExports.dsm_segment_address)(e); Module._dsm_attach = (e) => (Module._dsm_attach = wasmExports.dsm_attach)(e); Module._dsm_detach = (e) => (Module._dsm_detach = wasmExports.dsm_detach)(e); Module._ShmemInitStruct = (e, t2, r) => (Module._ShmemInitStruct = wasmExports.ShmemInitStruct)(e, t2, r); Module._LWLockAcquire = (e, t2) => (Module._LWLockAcquire = wasmExports.LWLockAcquire)(e, t2); Module._LWLockRelease = (e) => (Module._LWLockRelease = wasmExports.LWLockRelease)(e); Module._LWLockInitialize = (e, t2) => (Module._LWLockInitialize = wasmExports.LWLockInitialize)(e, t2); Module._MemoryContextMemAllocated = (e, t2) => (Module._MemoryContextMemAllocated = wasmExports.MemoryContextMemAllocated)(e, t2); Module._GetCurrentCommandId = (e) => (Module._GetCurrentCommandId = wasmExports.GetCurrentCommandId)(e); Module._toast_open_indexes = (e, t2, r, a2) => (Module._toast_open_indexes = wasmExports.toast_open_indexes)(e, t2, r, a2); Module._RelationGetIndexList = (e) => (Module._RelationGetIndexList = wasmExports.RelationGetIndexList)(e); Module._systable_beginscan = (e, t2, r, a2, s4, o4) => (Module._systable_beginscan = wasmExports.systable_beginscan)(e, t2, r, a2, s4, o4); Module._systable_getnext = (e) => (Module._systable_getnext = wasmExports.systable_getnext)(e); Module._systable_endscan = (e) => (Module._systable_endscan = wasmExports.systable_endscan)(e); Module._toast_close_indexes = (e, t2, r) => (Module._toast_close_indexes = wasmExports.toast_close_indexes)(e, t2, r); Module._systable_beginscan_ordered = (e, t2, r, a2, s4) => (Module._systable_beginscan_ordered = wasmExports.systable_beginscan_ordered)(e, t2, r, a2, s4); Module._systable_getnext_ordered = (e, t2) => (Module._systable_getnext_ordered = wasmExports.systable_getnext_ordered)(e, t2); Module._systable_endscan_ordered = (e) => (Module._systable_endscan_ordered = wasmExports.systable_endscan_ordered)(e); Module._init_toast_snapshot = (e) => (Module._init_toast_snapshot = wasmExports.init_toast_snapshot)(e); Module._convert_tuples_by_position = (e, t2, r) => (Module._convert_tuples_by_position = wasmExports.convert_tuples_by_position)(e, t2, r); Module._execute_attr_map_tuple = (e, t2) => (Module._execute_attr_map_tuple = wasmExports.execute_attr_map_tuple)(e, t2); Module._ExecStoreVirtualTuple = (e) => (Module._ExecStoreVirtualTuple = wasmExports.ExecStoreVirtualTuple)(e); Module._bms_is_member = (e, t2) => (Module._bms_is_member = wasmExports.bms_is_member)(e, t2); Module._bms_add_member = (e, t2) => (Module._bms_add_member = wasmExports.bms_add_member)(e, t2); Module._CreateTupleDescCopy = (e) => (Module._CreateTupleDescCopy = wasmExports.CreateTupleDescCopy)(e); Module._DecrTupleDescRefCount = (e) => (Module._DecrTupleDescRefCount = wasmExports.DecrTupleDescRefCount)(e); Module._datumIsEqual = (e, t2, r, a2) => (Module._datumIsEqual = wasmExports.datumIsEqual)(e, t2, r, a2); Module._TupleDescInitEntryCollation = (e, t2, r) => (Module._TupleDescInitEntryCollation = wasmExports.TupleDescInitEntryCollation)(e, t2, r); Module._stringToNode = (e) => (Module._stringToNode = wasmExports.stringToNode)(e); Module._pg_detoast_datum_copy = (e) => (Module._pg_detoast_datum_copy = wasmExports.pg_detoast_datum_copy)(e); Module._get_typlenbyvalalign = (e, t2, r, a2) => (Module._get_typlenbyvalalign = wasmExports.get_typlenbyvalalign)(e, t2, r, a2); Module._deconstruct_array = (e, t2, r, a2, s4, o4, n3, _3) => (Module._deconstruct_array = wasmExports.deconstruct_array)(e, t2, r, a2, s4, o4, n3, _3); Module._tbm_add_tuples = (e, t2, r, a2) => (Module._tbm_add_tuples = wasmExports.tbm_add_tuples)(e, t2, r, a2); Module._ginPostingListDecode = (e, t2) => (Module._ginPostingListDecode = wasmExports.ginPostingListDecode)(e, t2); Module._ItemPointerCompare = (e, t2) => (Module._ItemPointerCompare = wasmExports.ItemPointerCompare)(e, t2); Module._LockPage = (e, t2, r) => (Module._LockPage = wasmExports.LockPage)(e, t2, r); Module._UnlockPage = (e, t2, r) => (Module._UnlockPage = wasmExports.UnlockPage)(e, t2, r); Module._vacuum_delay_point = () => (Module._vacuum_delay_point = wasmExports.vacuum_delay_point)(); Module._RecordFreeIndexPage = (e, t2) => (Module._RecordFreeIndexPage = wasmExports.RecordFreeIndexPage)(e, t2); Module._IndexFreeSpaceMapVacuum = (e) => (Module._IndexFreeSpaceMapVacuum = wasmExports.IndexFreeSpaceMapVacuum)(e); Module._log_newpage_range = (e, t2, r, a2, s4) => (Module._log_newpage_range = wasmExports.log_newpage_range)(e, t2, r, a2, s4); Module._GetFreeIndexPage = (e) => (Module._GetFreeIndexPage = wasmExports.GetFreeIndexPage)(e); Module._ConditionalLockBuffer = (e) => (Module._ConditionalLockBuffer = wasmExports.ConditionalLockBuffer)(e); Module._LockBufferForCleanup = (e) => (Module._LockBufferForCleanup = wasmExports.LockBufferForCleanup)(e); Module._gistcheckpage = (e, t2) => (Module._gistcheckpage = wasmExports.gistcheckpage)(e, t2); Module._PageIndexMultiDelete = (e, t2, r) => (Module._PageIndexMultiDelete = wasmExports.PageIndexMultiDelete)(e, t2, r); Module._smgrnblocks = (e, t2) => (Module._smgrnblocks = wasmExports.smgrnblocks)(e, t2); Module._list_free_deep = (e) => (Module._list_free_deep = wasmExports.list_free_deep)(e); Module._pairingheap_remove_first = (e) => (Module._pairingheap_remove_first = wasmExports.pairingheap_remove_first)(e); Module._pairingheap_add = (e, t2) => (Module._pairingheap_add = wasmExports.pairingheap_add)(e, t2); Module._float_overflow_error = () => (Module._float_overflow_error = wasmExports.float_overflow_error)(); Module._float_underflow_error = () => (Module._float_underflow_error = wasmExports.float_underflow_error)(); Module._DirectFunctionCall5Coll = (e, t2, r, a2, s4, o4, n3) => (Module._DirectFunctionCall5Coll = wasmExports.DirectFunctionCall5Coll)(e, t2, r, a2, s4, o4, n3); Module._pairingheap_allocate = (e, t2) => (Module._pairingheap_allocate = wasmExports.pairingheap_allocate)(e, t2); Module._GenerationContextCreate = (e, t2, r, a2, s4) => (Module._GenerationContextCreate = wasmExports.GenerationContextCreate)(e, t2, r, a2, s4); Module._pgstat_progress_update_param = (e, t2) => (Module._pgstat_progress_update_param = wasmExports.pgstat_progress_update_param)(e, t2); Module.__hash_getbuf = (e, t2, r, a2) => (Module.__hash_getbuf = wasmExports._hash_getbuf)(e, t2, r, a2); Module.__hash_relbuf = (e, t2) => (Module.__hash_relbuf = wasmExports._hash_relbuf)(e, t2); Module.__hash_get_indextuple_hashkey = (e) => (Module.__hash_get_indextuple_hashkey = wasmExports._hash_get_indextuple_hashkey)(e); Module.__hash_getbuf_with_strategy = (e, t2, r, a2, s4) => (Module.__hash_getbuf_with_strategy = wasmExports._hash_getbuf_with_strategy)(e, t2, r, a2, s4); Module.__hash_ovflblkno_to_bitno = (e, t2) => (Module.__hash_ovflblkno_to_bitno = wasmExports._hash_ovflblkno_to_bitno)(e, t2); Module._list_member_oid = (e, t2) => (Module._list_member_oid = wasmExports.list_member_oid)(e, t2); Module._HeapTupleSatisfiesVisibility = (e, t2, r) => (Module._HeapTupleSatisfiesVisibility = wasmExports.HeapTupleSatisfiesVisibility)(e, t2, r); Module._read_stream_begin_relation = (e, t2, r, a2, s4, o4, n3) => (Module._read_stream_begin_relation = wasmExports.read_stream_begin_relation)(e, t2, r, a2, s4, o4, n3); Module._GetAccessStrategy = (e) => (Module._GetAccessStrategy = wasmExports.GetAccessStrategy)(e); Module._FreeAccessStrategy = (e) => (Module._FreeAccessStrategy = wasmExports.FreeAccessStrategy)(e); Module._read_stream_end = (e) => (Module._read_stream_end = wasmExports.read_stream_end)(e); Module._heap_getnext = (e, t2) => (Module._heap_getnext = wasmExports.heap_getnext)(e, t2); Module._HeapTupleSatisfiesVacuum = (e, t2, r) => (Module._HeapTupleSatisfiesVacuum = wasmExports.HeapTupleSatisfiesVacuum)(e, t2, r); Module._GetMultiXactIdMembers = (e, t2, r, a2) => (Module._GetMultiXactIdMembers = wasmExports.GetMultiXactIdMembers)(e, t2, r, a2); Module._TransactionIdPrecedes = (e, t2) => (Module._TransactionIdPrecedes = wasmExports.TransactionIdPrecedes)(e, t2); Module._HeapTupleGetUpdateXid = (e) => (Module._HeapTupleGetUpdateXid = wasmExports.HeapTupleGetUpdateXid)(e); Module._visibilitymap_clear = (e, t2, r, a2) => (Module._visibilitymap_clear = wasmExports.visibilitymap_clear)(e, t2, r, a2); Module._pgstat_count_heap_insert = (e, t2) => (Module._pgstat_count_heap_insert = wasmExports.pgstat_count_heap_insert)(e, t2); Module._ExecFetchSlotHeapTuple = (e, t2, r) => (Module._ExecFetchSlotHeapTuple = wasmExports.ExecFetchSlotHeapTuple)(e, t2, r); Module._PageGetHeapFreeSpace = (e) => (Module._PageGetHeapFreeSpace = wasmExports.PageGetHeapFreeSpace)(e); Module._visibilitymap_pin = (e, t2, r) => (Module._visibilitymap_pin = wasmExports.visibilitymap_pin)(e, t2, r); Module._HeapTupleSatisfiesUpdate = (e, t2, r) => (Module._HeapTupleSatisfiesUpdate = wasmExports.HeapTupleSatisfiesUpdate)(e, t2, r); Module._TransactionIdIsCurrentTransactionId = (e) => (Module._TransactionIdIsCurrentTransactionId = wasmExports.TransactionIdIsCurrentTransactionId)(e); Module._TransactionIdDidCommit = (e) => (Module._TransactionIdDidCommit = wasmExports.TransactionIdDidCommit)(e); Module._TransactionIdIsInProgress = (e) => (Module._TransactionIdIsInProgress = wasmExports.TransactionIdIsInProgress)(e); Module._bms_free = (e) => (Module._bms_free = wasmExports.bms_free)(e); Module._bms_add_members = (e, t2) => (Module._bms_add_members = wasmExports.bms_add_members)(e, t2); Module._bms_next_member = (e, t2) => (Module._bms_next_member = wasmExports.bms_next_member)(e, t2); Module._bms_overlap = (e, t2) => (Module._bms_overlap = wasmExports.bms_overlap)(e, t2); Module._MultiXactIdPrecedes = (e, t2) => (Module._MultiXactIdPrecedes = wasmExports.MultiXactIdPrecedes)(e, t2); Module._heap_tuple_needs_eventual_freeze = (e) => (Module._heap_tuple_needs_eventual_freeze = wasmExports.heap_tuple_needs_eventual_freeze)(e); Module._PrefetchBuffer = (e, t2, r, a2) => (Module._PrefetchBuffer = wasmExports.PrefetchBuffer)(e, t2, r, a2); Module._XLogRecGetBlockTagExtended = (e, t2, r, a2, s4, o4) => (Module._XLogRecGetBlockTagExtended = wasmExports.XLogRecGetBlockTagExtended)(e, t2, r, a2, s4, o4); Module._read_stream_next_buffer = (e, t2) => (Module._read_stream_next_buffer = wasmExports.read_stream_next_buffer)(e, t2); Module._smgrexists = (e, t2) => (Module._smgrexists = wasmExports.smgrexists)(e, t2); Module._table_slot_create = (e, t2) => (Module._table_slot_create = wasmExports.table_slot_create)(e, t2); Module._ExecDropSingleTupleTableSlot = (e) => (Module._ExecDropSingleTupleTableSlot = wasmExports.ExecDropSingleTupleTableSlot)(e); Module._CreateExecutorState = () => (Module._CreateExecutorState = wasmExports.CreateExecutorState)(); Module._MakePerTupleExprContext = (e) => (Module._MakePerTupleExprContext = wasmExports.MakePerTupleExprContext)(e); Module._GetOldestNonRemovableTransactionId = (e) => (Module._GetOldestNonRemovableTransactionId = wasmExports.GetOldestNonRemovableTransactionId)(e); Module._FreeExecutorState = (e) => (Module._FreeExecutorState = wasmExports.FreeExecutorState)(e); Module._MakeSingleTupleTableSlot = (e, t2) => (Module._MakeSingleTupleTableSlot = wasmExports.MakeSingleTupleTableSlot)(e, t2); Module._ExecStoreHeapTuple = (e, t2, r) => (Module._ExecStoreHeapTuple = wasmExports.ExecStoreHeapTuple)(e, t2, r); Module._visibilitymap_get_status = (e, t2, r) => (Module._visibilitymap_get_status = wasmExports.visibilitymap_get_status)(e, t2, r); Module._ExecStoreAllNullTuple = (e) => (Module._ExecStoreAllNullTuple = wasmExports.ExecStoreAllNullTuple)(e); Module._XidInMVCCSnapshot = (e, t2) => (Module._XidInMVCCSnapshot = wasmExports.XidInMVCCSnapshot)(e, t2); Module._hash_seq_init = (e, t2) => (Module._hash_seq_init = wasmExports.hash_seq_init)(e, t2); Module._hash_seq_search = (e) => (Module._hash_seq_search = wasmExports.hash_seq_search)(e); Module._ftruncate = (e, t2) => (Module._ftruncate = wasmExports.ftruncate)(e, t2); Module._fd_fsync_fname = (e, t2) => (Module._fd_fsync_fname = wasmExports.fd_fsync_fname)(e, t2); Module._get_namespace_name = (e) => (Module._get_namespace_name = wasmExports.get_namespace_name)(e); Module._GetRecordedFreeSpace = (e, t2) => (Module._GetRecordedFreeSpace = wasmExports.GetRecordedFreeSpace)(e, t2); Module._vac_estimate_reltuples = (e, t2, r, a2) => (Module._vac_estimate_reltuples = wasmExports.vac_estimate_reltuples)(e, t2, r, a2); Module._WaitLatch = (e, t2, r, a2) => (Module._WaitLatch = wasmExports.WaitLatch)(e, t2, r, a2); Module._ResetLatch = (e) => (Module._ResetLatch = wasmExports.ResetLatch)(e); Module._clock_gettime = (e, t2) => (Module._clock_gettime = wasmExports.clock_gettime)(e, t2); Module._WalUsageAccumDiff = (e, t2, r) => (Module._WalUsageAccumDiff = wasmExports.WalUsageAccumDiff)(e, t2, r); Module._BufferUsageAccumDiff = (e, t2, r) => (Module._BufferUsageAccumDiff = wasmExports.BufferUsageAccumDiff)(e, t2, r); Module._visibilitymap_prepare_truncate = (e, t2) => (Module._visibilitymap_prepare_truncate = wasmExports.visibilitymap_prepare_truncate)(e, t2); Module._pg_class_aclcheck = (e, t2, r) => (Module._pg_class_aclcheck = wasmExports.pg_class_aclcheck)(e, t2, r); Module._btboolcmp = (e) => (Module._btboolcmp = wasmExports.btboolcmp)(e); Module._btint2cmp = (e) => (Module._btint2cmp = wasmExports.btint2cmp)(e); Module._btint4cmp = (e) => (Module._btint4cmp = wasmExports.btint4cmp)(e); Module._btint8cmp = (e) => (Module._btint8cmp = wasmExports.btint8cmp)(e); Module._btoidcmp = (e) => (Module._btoidcmp = wasmExports.btoidcmp)(e); Module._btcharcmp = (e) => (Module._btcharcmp = wasmExports.btcharcmp)(e); Module.__bt_form_posting = (e, t2, r) => (Module.__bt_form_posting = wasmExports._bt_form_posting)(e, t2, r); Module.__bt_mkscankey = (e, t2) => (Module.__bt_mkscankey = wasmExports._bt_mkscankey)(e, t2); Module.__bt_checkpage = (e, t2) => (Module.__bt_checkpage = wasmExports._bt_checkpage)(e, t2); Module.__bt_compare = (e, t2, r, a2) => (Module.__bt_compare = wasmExports._bt_compare)(e, t2, r, a2); Module.__bt_relbuf = (e, t2) => (Module.__bt_relbuf = wasmExports._bt_relbuf)(e, t2); Module.__bt_search = (e, t2, r, a2, s4) => (Module.__bt_search = wasmExports._bt_search)(e, t2, r, a2, s4); Module.__bt_binsrch_insert = (e, t2) => (Module.__bt_binsrch_insert = wasmExports._bt_binsrch_insert)(e, t2); Module.__bt_freestack = (e) => (Module.__bt_freestack = wasmExports._bt_freestack)(e); Module.__bt_metaversion = (e, t2, r) => (Module.__bt_metaversion = wasmExports._bt_metaversion)(e, t2, r); Module.__bt_allequalimage = (e, t2) => (Module.__bt_allequalimage = wasmExports._bt_allequalimage)(e, t2); Module._before_shmem_exit = (e, t2) => (Module._before_shmem_exit = wasmExports.before_shmem_exit)(e, t2); Module._cancel_before_shmem_exit = (e, t2) => (Module._cancel_before_shmem_exit = wasmExports.cancel_before_shmem_exit)(e, t2); Module._pg_re_throw = () => (Module._pg_re_throw = wasmExports.pg_re_throw)(); Module._get_opfamily_member = (e, t2, r, a2) => (Module._get_opfamily_member = wasmExports.get_opfamily_member)(e, t2, r, a2); Module.__bt_check_natts = (e, t2, r, a2) => (Module.__bt_check_natts = wasmExports._bt_check_natts)(e, t2, r, a2); Module._timestamptz_to_str = (e) => (Module._timestamptz_to_str = wasmExports.timestamptz_to_str)(e); Module._XLogRecGetBlockRefInfo = (e, t2, r, a2, s4) => (Module._XLogRecGetBlockRefInfo = wasmExports.XLogRecGetBlockRefInfo)(e, t2, r, a2, s4); Module._varstr_cmp = (e, t2, r, a2, s4) => (Module._varstr_cmp = wasmExports.varstr_cmp)(e, t2, r, a2, s4); Module._exprType = (e) => (Module._exprType = wasmExports.exprType)(e); Module._GetActiveSnapshot = () => (Module._GetActiveSnapshot = wasmExports.GetActiveSnapshot)(); Module._errdetail_relkind_not_supported = (e) => (Module._errdetail_relkind_not_supported = wasmExports.errdetail_relkind_not_supported)(e); Module._table_openrv = (e, t2) => (Module._table_openrv = wasmExports.table_openrv)(e, t2); Module._table_slot_callbacks = (e) => (Module._table_slot_callbacks = wasmExports.table_slot_callbacks)(e); Module._clamp_row_est = (e) => (Module._clamp_row_est = wasmExports.clamp_row_est)(e); Module._estimate_expression_value = (e, t2) => (Module._estimate_expression_value = wasmExports.estimate_expression_value)(e, t2); Module._XLogFlush = (e) => (Module._XLogFlush = wasmExports.XLogFlush)(e); Module._get_call_result_type = (e, t2, r) => (Module._get_call_result_type = wasmExports.get_call_result_type)(e, t2, r); Module._HeapTupleHeaderGetDatum = (e) => (Module._HeapTupleHeaderGetDatum = wasmExports.HeapTupleHeaderGetDatum)(e); Module._GenericXLogStart = (e) => (Module._GenericXLogStart = wasmExports.GenericXLogStart)(e); Module._GenericXLogRegisterBuffer = (e, t2, r) => (Module._GenericXLogRegisterBuffer = wasmExports.GenericXLogRegisterBuffer)(e, t2, r); Module._GenericXLogFinish = (e) => (Module._GenericXLogFinish = wasmExports.GenericXLogFinish)(e); Module._GenericXLogAbort = (e) => (Module._GenericXLogAbort = wasmExports.GenericXLogAbort)(e); Module._errmsg_plural = (e, t2, r, a2) => (Module._errmsg_plural = wasmExports.errmsg_plural)(e, t2, r, a2); Module._ReadNextMultiXactId = () => (Module._ReadNextMultiXactId = wasmExports.ReadNextMultiXactId)(); Module._ReadMultiXactIdRange = (e, t2) => (Module._ReadMultiXactIdRange = wasmExports.ReadMultiXactIdRange)(e, t2); Module._MultiXactIdPrecedesOrEquals = (e, t2) => (Module._MultiXactIdPrecedesOrEquals = wasmExports.MultiXactIdPrecedesOrEquals)(e, t2); Module._init_MultiFuncCall = (e) => (Module._init_MultiFuncCall = wasmExports.init_MultiFuncCall)(e); Module._TupleDescGetAttInMetadata = (e) => (Module._TupleDescGetAttInMetadata = wasmExports.TupleDescGetAttInMetadata)(e); Module._per_MultiFuncCall = (e) => (Module._per_MultiFuncCall = wasmExports.per_MultiFuncCall)(e); Module._BuildTupleFromCStrings = (e, t2) => (Module._BuildTupleFromCStrings = wasmExports.BuildTupleFromCStrings)(e, t2); Module._end_MultiFuncCall = (e, t2) => (Module._end_MultiFuncCall = wasmExports.end_MultiFuncCall)(e, t2); Module._GetCurrentSubTransactionId = () => (Module._GetCurrentSubTransactionId = wasmExports.GetCurrentSubTransactionId)(); Module._WaitForBackgroundWorkerShutdown = (e) => (Module._WaitForBackgroundWorkerShutdown = wasmExports.WaitForBackgroundWorkerShutdown)(e); Module._RegisterDynamicBackgroundWorker = (e, t2) => (Module._RegisterDynamicBackgroundWorker = wasmExports.RegisterDynamicBackgroundWorker)(e, t2); Module._BackgroundWorkerUnblockSignals = () => (Module._BackgroundWorkerUnblockSignals = wasmExports.BackgroundWorkerUnblockSignals)(); Module._BackgroundWorkerInitializeConnectionByOid = (e, t2, r) => (Module._BackgroundWorkerInitializeConnectionByOid = wasmExports.BackgroundWorkerInitializeConnectionByOid)(e, t2, r); Module._GetDatabaseEncoding = () => (Module._GetDatabaseEncoding = wasmExports.GetDatabaseEncoding)(); Module._RmgrNotFound = (e) => (Module._RmgrNotFound = wasmExports.RmgrNotFound)(e); Module._InitMaterializedSRF = (e, t2) => (Module._InitMaterializedSRF = wasmExports.InitMaterializedSRF)(e, t2); Module._tuplestore_putvalues = (e, t2, r, a2) => (Module._tuplestore_putvalues = wasmExports.tuplestore_putvalues)(e, t2, r, a2); Module._AllocateFile = (e, t2) => (Module._AllocateFile = wasmExports.AllocateFile)(e, t2); Module._FreeFile = (e) => (Module._FreeFile = wasmExports.FreeFile)(e); Module._fd_durable_rename = (e, t2, r) => (Module._fd_durable_rename = wasmExports.fd_durable_rename)(e, t2, r); Module._BlessTupleDesc = (e) => (Module._BlessTupleDesc = wasmExports.BlessTupleDesc)(e); Module._fstat = (e, t2) => (Module._fstat = wasmExports.fstat)(e, t2); Module._superuser_arg = (e) => (Module._superuser_arg = wasmExports.superuser_arg)(e); Module._wal_segment_close = (e) => (Module._wal_segment_close = wasmExports.wal_segment_close)(e); Module._wal_segment_open = (e, t2, r) => (Module._wal_segment_open = wasmExports.wal_segment_open)(e, t2, r); Module._XLogReaderAllocate = (e, t2, r, a2) => (Module._XLogReaderAllocate = wasmExports.XLogReaderAllocate)(e, t2, r, a2); Module._XLogReadRecord = (e, t2) => (Module._XLogReadRecord = wasmExports.XLogReadRecord)(e, t2); Module._XLogReaderFree = (e) => (Module._XLogReaderFree = wasmExports.XLogReaderFree)(e); Module._GetTopFullTransactionId = () => (Module._GetTopFullTransactionId = wasmExports.GetTopFullTransactionId)(); Module._GetCurrentTransactionNestLevel = () => (Module._GetCurrentTransactionNestLevel = wasmExports.GetCurrentTransactionNestLevel)(); Module._ResourceOwnerCreate = (e, t2) => (Module._ResourceOwnerCreate = wasmExports.ResourceOwnerCreate)(e, t2); Module._RegisterXactCallback = (e, t2) => (Module._RegisterXactCallback = wasmExports.RegisterXactCallback)(e, t2); Module._RegisterSubXactCallback = (e, t2) => (Module._RegisterSubXactCallback = wasmExports.RegisterSubXactCallback)(e, t2); Module._BeginInternalSubTransaction = (e) => (Module._BeginInternalSubTransaction = wasmExports.BeginInternalSubTransaction)(e); Module._ReleaseCurrentSubTransaction = () => (Module._ReleaseCurrentSubTransaction = wasmExports.ReleaseCurrentSubTransaction)(); Module._ResourceOwnerDelete = (e) => (Module._ResourceOwnerDelete = wasmExports.ResourceOwnerDelete)(e); Module._RollbackAndReleaseCurrentSubTransaction = () => (Module._RollbackAndReleaseCurrentSubTransaction = wasmExports.RollbackAndReleaseCurrentSubTransaction)(); Module._ReleaseExternalFD = () => (Module._ReleaseExternalFD = wasmExports.ReleaseExternalFD)(); Module._GetFlushRecPtr = (e) => (Module._GetFlushRecPtr = wasmExports.GetFlushRecPtr)(e); Module._GetXLogReplayRecPtr = (e) => (Module._GetXLogReplayRecPtr = wasmExports.GetXLogReplayRecPtr)(e); Module._TimestampDifferenceMilliseconds = (e, t2) => (Module._TimestampDifferenceMilliseconds = wasmExports.TimestampDifferenceMilliseconds)(e, t2); Module._numeric_in = (e) => (Module._numeric_in = wasmExports.numeric_in)(e); Module._DirectFunctionCall3Coll = (e, t2, r, a2, s4) => (Module._DirectFunctionCall3Coll = wasmExports.DirectFunctionCall3Coll)(e, t2, r, a2, s4); Module._XLogFindNextRecord = (e, t2) => (Module._XLogFindNextRecord = wasmExports.XLogFindNextRecord)(e, t2); Module._RestoreBlockImage = (e, t2, r) => (Module._RestoreBlockImage = wasmExports.RestoreBlockImage)(e, t2, r); Module._timestamptz_in = (e) => (Module._timestamptz_in = wasmExports.timestamptz_in)(e); Module._fscanf = (e, t2, r) => (Module._fscanf = wasmExports.fscanf)(e, t2, r); Module._XLogRecStoreStats = (e, t2) => (Module._XLogRecStoreStats = wasmExports.XLogRecStoreStats)(e, t2); Module._hash_get_num_entries = (e) => (Module._hash_get_num_entries = wasmExports.hash_get_num_entries)(e); Module._read_local_xlog_page_no_wait = (e, t2, r, a2, s4) => (Module._read_local_xlog_page_no_wait = wasmExports.read_local_xlog_page_no_wait)(e, t2, r, a2, s4); Module._escape_json = (e, t2) => (Module._escape_json = wasmExports.escape_json)(e, t2); Module._list_sort = (e, t2) => (Module._list_sort = wasmExports.list_sort)(e, t2); Module._pg_checksum_page = (e, t2) => (Module._pg_checksum_page = wasmExports.pg_checksum_page)(e, t2); Module._bbsink_forward_end_archive = (e) => (Module._bbsink_forward_end_archive = wasmExports.bbsink_forward_end_archive)(e); Module._bbsink_forward_begin_manifest = (e) => (Module._bbsink_forward_begin_manifest = wasmExports.bbsink_forward_begin_manifest)(e); Module._bbsink_forward_end_manifest = (e) => (Module._bbsink_forward_end_manifest = wasmExports.bbsink_forward_end_manifest)(e); Module._bbsink_forward_end_backup = (e, t2, r) => (Module._bbsink_forward_end_backup = wasmExports.bbsink_forward_end_backup)(e, t2, r); Module._bbsink_forward_cleanup = (e) => (Module._bbsink_forward_cleanup = wasmExports.bbsink_forward_cleanup)(e); Module._list_concat = (e, t2) => (Module._list_concat = wasmExports.list_concat)(e, t2); Module._bbsink_forward_begin_backup = (e) => (Module._bbsink_forward_begin_backup = wasmExports.bbsink_forward_begin_backup)(e); Module._bbsink_forward_archive_contents = (e, t2) => (Module._bbsink_forward_archive_contents = wasmExports.bbsink_forward_archive_contents)(e, t2); Module._bbsink_forward_begin_archive = (e, t2) => (Module._bbsink_forward_begin_archive = wasmExports.bbsink_forward_begin_archive)(e, t2); Module._bbsink_forward_manifest_contents = (e, t2) => (Module._bbsink_forward_manifest_contents = wasmExports.bbsink_forward_manifest_contents)(e, t2); Module._has_privs_of_role = (e, t2) => (Module._has_privs_of_role = wasmExports.has_privs_of_role)(e, t2); Module._BaseBackupAddTarget = (e, t2, r) => (Module._BaseBackupAddTarget = wasmExports.BaseBackupAddTarget)(e, t2, r); Module._list_copy = (e) => (Module._list_copy = wasmExports.list_copy)(e); Module._tuplestore_puttuple = (e, t2) => (Module._tuplestore_puttuple = wasmExports.tuplestore_puttuple)(e, t2); Module._makeRangeVar = (e, t2, r) => (Module._makeRangeVar = wasmExports.makeRangeVar)(e, t2, r); Module._DefineIndex = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineIndex = wasmExports.DefineIndex)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._fread = (e, t2, r, a2) => (Module._fread = wasmExports.fread)(e, t2, r, a2); Module._clearerr = (e) => (Module._clearerr = wasmExports.clearerr)(e); Module._copyObjectImpl = (e) => (Module._copyObjectImpl = wasmExports.copyObjectImpl)(e); Module._lappend_oid = (e, t2) => (Module._lappend_oid = wasmExports.lappend_oid)(e, t2); Module._makeTypeNameFromNameList = (e) => (Module._makeTypeNameFromNameList = wasmExports.makeTypeNameFromNameList)(e); Module._CatalogTupleUpdate = (e, t2, r) => (Module._CatalogTupleUpdate = wasmExports.CatalogTupleUpdate)(e, t2, r); Module._get_rel_name = (e) => (Module._get_rel_name = wasmExports.get_rel_name)(e); Module._CatalogTupleDelete = (e, t2) => (Module._CatalogTupleDelete = wasmExports.CatalogTupleDelete)(e, t2); Module._CatalogTupleInsert = (e, t2) => (Module._CatalogTupleInsert = wasmExports.CatalogTupleInsert)(e, t2); Module._recordDependencyOn = (e, t2, r) => (Module._recordDependencyOn = wasmExports.recordDependencyOn)(e, t2, r); Module._get_element_type = (e) => (Module._get_element_type = wasmExports.get_element_type)(e); Module._object_aclcheck = (e, t2, r, a2) => (Module._object_aclcheck = wasmExports.object_aclcheck)(e, t2, r, a2); Module._superuser = () => (Module._superuser = wasmExports.superuser)(); Module._SearchSysCacheAttName = (e, t2) => (Module._SearchSysCacheAttName = wasmExports.SearchSysCacheAttName)(e, t2); Module._new_object_addresses = () => (Module._new_object_addresses = wasmExports.new_object_addresses)(); Module._free_object_addresses = (e) => (Module._free_object_addresses = wasmExports.free_object_addresses)(e); Module._performMultipleDeletions = (e, t2, r) => (Module._performMultipleDeletions = wasmExports.performMultipleDeletions)(e, t2, r); Module._recordDependencyOnExpr = (e, t2, r, a2) => (Module._recordDependencyOnExpr = wasmExports.recordDependencyOnExpr)(e, t2, r, a2); Module._query_tree_walker_impl = (e, t2, r, a2) => (Module._query_tree_walker_impl = wasmExports.query_tree_walker_impl)(e, t2, r, a2); Module._expression_tree_walker_impl = (e, t2, r) => (Module._expression_tree_walker_impl = wasmExports.expression_tree_walker_impl)(e, t2, r); Module._add_exact_object_address = (e, t2) => (Module._add_exact_object_address = wasmExports.add_exact_object_address)(e, t2); Module._get_rel_relkind = (e) => (Module._get_rel_relkind = wasmExports.get_rel_relkind)(e); Module._get_typtype = (e) => (Module._get_typtype = wasmExports.get_typtype)(e); Module._list_delete_last = (e) => (Module._list_delete_last = wasmExports.list_delete_last)(e); Module._type_is_collatable = (e) => (Module._type_is_collatable = wasmExports.type_is_collatable)(e); Module._GetSysCacheOid = (e, t2, r, a2, s4, o4) => (Module._GetSysCacheOid = wasmExports.GetSysCacheOid)(e, t2, r, a2, s4, o4); Module._CheckTableNotInUse = (e, t2) => (Module._CheckTableNotInUse = wasmExports.CheckTableNotInUse)(e, t2); Module._construct_array = (e, t2, r, a2, s4, o4) => (Module._construct_array = wasmExports.construct_array)(e, t2, r, a2, s4, o4); Module._make_parsestate = (e) => (Module._make_parsestate = wasmExports.make_parsestate)(e); Module._transformExpr = (e, t2, r) => (Module._transformExpr = wasmExports.transformExpr)(e, t2, r); Module._equal = (e, t2) => (Module._equal = wasmExports.equal)(e, t2); Module._pull_var_clause = (e, t2) => (Module._pull_var_clause = wasmExports.pull_var_clause)(e, t2); Module._get_attname = (e, t2, r) => (Module._get_attname = wasmExports.get_attname)(e, t2, r); Module._coerce_to_target_type = (e, t2, r, a2, s4, o4, n3, _3) => (Module._coerce_to_target_type = wasmExports.coerce_to_target_type)(e, t2, r, a2, s4, o4, n3, _3); Module._nodeToString = (e) => (Module._nodeToString = wasmExports.nodeToString)(e); Module._parser_errposition = (e, t2) => (Module._parser_errposition = wasmExports.parser_errposition)(e, t2); Module._exprTypmod = (e) => (Module._exprTypmod = wasmExports.exprTypmod)(e); Module._get_base_element_type = (e) => (Module._get_base_element_type = wasmExports.get_base_element_type)(e); Module._SystemFuncName = (e) => (Module._SystemFuncName = wasmExports.SystemFuncName)(e); Module._CreateTrigger = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._CreateTrigger = wasmExports.CreateTrigger)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._plan_create_index_workers = (e, t2) => (Module._plan_create_index_workers = wasmExports.plan_create_index_workers)(e, t2); Module._get_rel_namespace = (e) => (Module._get_rel_namespace = wasmExports.get_rel_namespace)(e); Module._ConditionalLockRelationOid = (e, t2) => (Module._ConditionalLockRelationOid = wasmExports.ConditionalLockRelationOid)(e, t2); Module._RelnameGetRelid = (e) => (Module._RelnameGetRelid = wasmExports.RelnameGetRelid)(e); Module._get_relkind_objtype = (e) => (Module._get_relkind_objtype = wasmExports.get_relkind_objtype)(e); Module._RelationIsVisible = (e) => (Module._RelationIsVisible = wasmExports.RelationIsVisible)(e); Module._get_func_arg_info = (e, t2, r, a2) => (Module._get_func_arg_info = wasmExports.get_func_arg_info)(e, t2, r, a2); Module._NameListToString = (e) => (Module._NameListToString = wasmExports.NameListToString)(e); Module._OpernameGetOprid = (e, t2, r) => (Module._OpernameGetOprid = wasmExports.OpernameGetOprid)(e, t2, r); Module._makeRangeVarFromNameList = (e) => (Module._makeRangeVarFromNameList = wasmExports.makeRangeVarFromNameList)(e); Module._quote_identifier = (e) => (Module._quote_identifier = wasmExports.quote_identifier)(e); Module._GetSearchPathMatcher = (e) => (Module._GetSearchPathMatcher = wasmExports.GetSearchPathMatcher)(e); Module._SearchPathMatchesCurrentEnvironment = (e) => (Module._SearchPathMatchesCurrentEnvironment = wasmExports.SearchPathMatchesCurrentEnvironment)(e); Module._get_collation_oid = (e, t2) => (Module._get_collation_oid = wasmExports.get_collation_oid)(e, t2); Module._CacheRegisterSyscacheCallback = (e, t2, r) => (Module._CacheRegisterSyscacheCallback = wasmExports.CacheRegisterSyscacheCallback)(e, t2, r); Module._get_extension_oid = (e, t2) => (Module._get_extension_oid = wasmExports.get_extension_oid)(e, t2); Module._get_role_oid = (e, t2) => (Module._get_role_oid = wasmExports.get_role_oid)(e, t2); Module._GetForeignServerByName = (e, t2) => (Module._GetForeignServerByName = wasmExports.GetForeignServerByName)(e, t2); Module._typeStringToTypeName = (e, t2) => (Module._typeStringToTypeName = wasmExports.typeStringToTypeName)(e, t2); Module._list_make2_impl = (e, t2, r) => (Module._list_make2_impl = wasmExports.list_make2_impl)(e, t2, r); Module._GetUserNameFromId = (e, t2) => (Module._GetUserNameFromId = wasmExports.GetUserNameFromId)(e, t2); Module._format_type_extended = (e, t2, r) => (Module._format_type_extended = wasmExports.format_type_extended)(e, t2, r); Module._quote_qualified_identifier = (e, t2) => (Module._quote_qualified_identifier = wasmExports.quote_qualified_identifier)(e, t2); Module._get_tablespace_name = (e) => (Module._get_tablespace_name = wasmExports.get_tablespace_name)(e); Module._GetForeignServerExtended = (e, t2) => (Module._GetForeignServerExtended = wasmExports.GetForeignServerExtended)(e, t2); Module._GetForeignServer = (e) => (Module._GetForeignServer = wasmExports.GetForeignServer)(e); Module._construct_empty_array = (e) => (Module._construct_empty_array = wasmExports.construct_empty_array)(e); Module._format_type_be_qualified = (e) => (Module._format_type_be_qualified = wasmExports.format_type_be_qualified)(e); Module._get_namespace_name_or_temp = (e) => (Module._get_namespace_name_or_temp = wasmExports.get_namespace_name_or_temp)(e); Module._list_make3_impl = (e, t2, r, a2) => (Module._list_make3_impl = wasmExports.list_make3_impl)(e, t2, r, a2); Module._construct_md_array = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._construct_md_array = wasmExports.construct_md_array)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._pull_varattnos = (e, t2, r) => (Module._pull_varattnos = wasmExports.pull_varattnos)(e, t2, r); Module._get_func_name = (e) => (Module._get_func_name = wasmExports.get_func_name)(e); Module._construct_array_builtin = (e, t2, r) => (Module._construct_array_builtin = wasmExports.construct_array_builtin)(e, t2, r); Module._makeObjectName = (e, t2, r) => (Module._makeObjectName = wasmExports.makeObjectName)(e, t2, r); Module._get_primary_key_attnos = (e, t2, r) => (Module._get_primary_key_attnos = wasmExports.get_primary_key_attnos)(e, t2, r); Module._bms_is_subset = (e, t2) => (Module._bms_is_subset = wasmExports.bms_is_subset)(e, t2); Module._getExtensionOfObject = (e, t2) => (Module._getExtensionOfObject = wasmExports.getExtensionOfObject)(e, t2); Module._find_inheritance_children = (e, t2) => (Module._find_inheritance_children = wasmExports.find_inheritance_children)(e, t2); Module._lappend_int = (e, t2) => (Module._lappend_int = wasmExports.lappend_int)(e, t2); Module._has_superclass = (e) => (Module._has_superclass = wasmExports.has_superclass)(e); Module._CheckFunctionValidatorAccess = (e, t2) => (Module._CheckFunctionValidatorAccess = wasmExports.CheckFunctionValidatorAccess)(e, t2); Module._AcquireRewriteLocks = (e, t2, r) => (Module._AcquireRewriteLocks = wasmExports.AcquireRewriteLocks)(e, t2, r); Module._function_parse_error_transpose = (e) => (Module._function_parse_error_transpose = wasmExports.function_parse_error_transpose)(e); Module._geterrposition = () => (Module._geterrposition = wasmExports.geterrposition)(); Module._getinternalerrposition = () => (Module._getinternalerrposition = wasmExports.getinternalerrposition)(); Module._pg_mblen = (e) => (Module._pg_mblen = wasmExports.pg_mblen)(e); Module._pg_mbstrlen_with_len = (e, t2) => (Module._pg_mbstrlen_with_len = wasmExports.pg_mbstrlen_with_len)(e, t2); Module._errposition = (e) => (Module._errposition = wasmExports.errposition)(e); Module._internalerrposition = (e) => (Module._internalerrposition = wasmExports.internalerrposition)(e); Module._internalerrquery = (e) => (Module._internalerrquery = wasmExports.internalerrquery)(e); Module._list_delete_nth_cell = (e, t2) => (Module._list_delete_nth_cell = wasmExports.list_delete_nth_cell)(e, t2); Module._get_array_type = (e) => (Module._get_array_type = wasmExports.get_array_type)(e); Module._smgrtruncate2 = (e, t2, r, a2, s4) => (Module._smgrtruncate2 = wasmExports.smgrtruncate2)(e, t2, r, a2, s4); Module._smgrreadv = (e, t2, r, a2, s4) => (Module._smgrreadv = wasmExports.smgrreadv)(e, t2, r, a2, s4); Module._NewRelationCreateToastTable = (e, t2) => (Module._NewRelationCreateToastTable = wasmExports.NewRelationCreateToastTable)(e, t2); Module._transformStmt = (e, t2) => (Module._transformStmt = wasmExports.transformStmt)(e, t2); Module._exprLocation = (e) => (Module._exprLocation = wasmExports.exprLocation)(e); Module._ParseFuncOrColumn = (e, t2, r, a2, s4, o4, n3) => (Module._ParseFuncOrColumn = wasmExports.ParseFuncOrColumn)(e, t2, r, a2, s4, o4, n3); Module._exprCollation = (e) => (Module._exprCollation = wasmExports.exprCollation)(e); Module._transformDistinctClause = (e, t2, r, a2) => (Module._transformDistinctClause = wasmExports.transformDistinctClause)(e, t2, r, a2); Module._makeTargetEntry = (e, t2, r, a2) => (Module._makeTargetEntry = wasmExports.makeTargetEntry)(e, t2, r, a2); Module._makeAlias = (e, t2) => (Module._makeAlias = wasmExports.makeAlias)(e, t2); Module._addRangeTableEntryForSubquery = (e, t2, r, a2, s4) => (Module._addRangeTableEntryForSubquery = wasmExports.addRangeTableEntryForSubquery)(e, t2, r, a2, s4); Module._makeVar = (e, t2, r, a2, s4, o4) => (Module._makeVar = wasmExports.makeVar)(e, t2, r, a2, s4, o4); Module._makeBoolean = (e) => (Module._makeBoolean = wasmExports.makeBoolean)(e); Module._makeInteger = (e) => (Module._makeInteger = wasmExports.makeInteger)(e); Module._makeTypeName = (e) => (Module._makeTypeName = wasmExports.makeTypeName)(e); Module._makeFuncCall = (e, t2, r, a2) => (Module._makeFuncCall = wasmExports.makeFuncCall)(e, t2, r, a2); Module._list_make4_impl = (e, t2, r, a2, s4) => (Module._list_make4_impl = wasmExports.list_make4_impl)(e, t2, r, a2, s4); Module._get_sortgroupclause_tle = (e, t2) => (Module._get_sortgroupclause_tle = wasmExports.get_sortgroupclause_tle)(e, t2); Module._flatten_join_alias_vars = (e, t2, r) => (Module._flatten_join_alias_vars = wasmExports.flatten_join_alias_vars)(e, t2, r); Module._list_member_int = (e, t2) => (Module._list_member_int = wasmExports.list_member_int)(e, t2); Module._addRangeTableEntryForENR = (e, t2, r) => (Module._addRangeTableEntryForENR = wasmExports.addRangeTableEntryForENR)(e, t2, r); Module._typenameTypeIdAndMod = (e, t2, r, a2) => (Module._typenameTypeIdAndMod = wasmExports.typenameTypeIdAndMod)(e, t2, r, a2); Module._get_typcollation = (e) => (Module._get_typcollation = wasmExports.get_typcollation)(e); Module._strip_implicit_coercions = (e) => (Module._strip_implicit_coercions = wasmExports.strip_implicit_coercions)(e); Module._get_sortgroupref_tle = (e, t2) => (Module._get_sortgroupref_tle = wasmExports.get_sortgroupref_tle)(e, t2); Module._contain_aggs_of_level = (e, t2) => (Module._contain_aggs_of_level = wasmExports.contain_aggs_of_level)(e, t2); Module._typeidType = (e) => (Module._typeidType = wasmExports.typeidType)(e); Module._typeTypeCollation = (e) => (Module._typeTypeCollation = wasmExports.typeTypeCollation)(e); Module._typeLen = (e) => (Module._typeLen = wasmExports.typeLen)(e); Module._typeByVal = (e) => (Module._typeByVal = wasmExports.typeByVal)(e); Module._makeConst = (e, t2, r, a2, s4, o4, n3) => (Module._makeConst = wasmExports.makeConst)(e, t2, r, a2, s4, o4, n3); Module._lookup_rowtype_tupdesc = (e, t2) => (Module._lookup_rowtype_tupdesc = wasmExports.lookup_rowtype_tupdesc)(e, t2); Module._bms_del_member = (e, t2) => (Module._bms_del_member = wasmExports.bms_del_member)(e, t2); Module._list_member = (e, t2) => (Module._list_member = wasmExports.list_member)(e, t2); Module._type_is_rowtype = (e) => (Module._type_is_rowtype = wasmExports.type_is_rowtype)(e); Module._bit_in = (e) => (Module._bit_in = wasmExports.bit_in)(e); Module._bms_union = (e, t2) => (Module._bms_union = wasmExports.bms_union)(e, t2); Module._varstr_levenshtein_less_equal = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._varstr_levenshtein_less_equal = wasmExports.varstr_levenshtein_less_equal)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._errsave_start = (e, t2) => (Module._errsave_start = wasmExports.errsave_start)(e, t2); Module._errsave_finish = (e, t2, r, a2) => (Module._errsave_finish = wasmExports.errsave_finish)(e, t2, r, a2); Module._makeColumnDef = (e, t2, r, a2) => (Module._makeColumnDef = wasmExports.makeColumnDef)(e, t2, r, a2); Module._GetDefaultOpClass = (e, t2) => (Module._GetDefaultOpClass = wasmExports.GetDefaultOpClass)(e, t2); Module._scanner_init = (e, t2, r, a2) => (Module._scanner_init = wasmExports.scanner_init)(e, t2, r, a2); Module._scanner_finish = (e) => (Module._scanner_finish = wasmExports.scanner_finish)(e); Module._core_yylex = (e, t2, r) => (Module._core_yylex = wasmExports.core_yylex)(e, t2, r); Module._isxdigit = (e) => (Module._isxdigit = wasmExports.isxdigit)(e); Module._scanner_isspace = (e) => (Module._scanner_isspace = wasmExports.scanner_isspace)(e); Module._truncate_identifier = (e, t2, r) => (Module._truncate_identifier = wasmExports.truncate_identifier)(e, t2, r); Module._pg_database_encoding_max_length = () => (Module._pg_database_encoding_max_length = wasmExports.pg_database_encoding_max_length)(); Module._namein = (e) => (Module._namein = wasmExports.namein)(e); Module._BlockSampler_Init = (e, t2, r, a2) => (Module._BlockSampler_Init = wasmExports.BlockSampler_Init)(e, t2, r, a2); Module._reservoir_init_selection_state = (e, t2) => (Module._reservoir_init_selection_state = wasmExports.reservoir_init_selection_state)(e, t2); Module._reservoir_get_next_S = (e, t2, r) => (Module._reservoir_get_next_S = wasmExports.reservoir_get_next_S)(e, t2, r); Module._sampler_random_fract = (e) => (Module._sampler_random_fract = wasmExports.sampler_random_fract)(e); Module._BlockSampler_HasMore = (e) => (Module._BlockSampler_HasMore = wasmExports.BlockSampler_HasMore)(e); Module._BlockSampler_Next = (e) => (Module._BlockSampler_Next = wasmExports.BlockSampler_Next)(e); Module._Async_Notify = (e, t2) => (Module._Async_Notify = wasmExports.Async_Notify)(e, t2); Module._RangeVarCallbackMaintainsTable = (e, t2, r, a2) => (Module._RangeVarCallbackMaintainsTable = wasmExports.RangeVarCallbackMaintainsTable)(e, t2, r, a2); Module._make_new_heap = (e, t2, r, a2, s4) => (Module._make_new_heap = wasmExports.make_new_heap)(e, t2, r, a2, s4); Module._finish_heap_swap = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._finish_heap_swap = wasmExports.finish_heap_swap)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._wasm_OpenPipeStream = (e, t2) => (Module._wasm_OpenPipeStream = wasmExports.wasm_OpenPipeStream)(e, t2); Module._ClosePipeStream = (e) => (Module._ClosePipeStream = wasmExports.ClosePipeStream)(e); Module._BeginCopyFrom = (e, t2, r, a2, s4, o4, n3, _3) => (Module._BeginCopyFrom = wasmExports.BeginCopyFrom)(e, t2, r, a2, s4, o4, n3, _3); Module._EndCopyFrom = (e) => (Module._EndCopyFrom = wasmExports.EndCopyFrom)(e); Module._ProcessCopyOptions = (e, t2, r, a2) => (Module._ProcessCopyOptions = wasmExports.ProcessCopyOptions)(e, t2, r, a2); Module._CopyFromErrorCallback = (e) => (Module._CopyFromErrorCallback = wasmExports.CopyFromErrorCallback)(e); Module._NextCopyFrom = (e, t2, r, a2) => (Module._NextCopyFrom = wasmExports.NextCopyFrom)(e, t2, r, a2); Module._ExecInitExpr = (e, t2) => (Module._ExecInitExpr = wasmExports.ExecInitExpr)(e, t2); Module._tolower = (e) => (Module._tolower = wasmExports.tolower)(e); Module._PushCopiedSnapshot = (e) => (Module._PushCopiedSnapshot = wasmExports.PushCopiedSnapshot)(e); Module._UpdateActiveSnapshotCommandId = () => (Module._UpdateActiveSnapshotCommandId = wasmExports.UpdateActiveSnapshotCommandId)(); Module._CreateQueryDesc = (e, t2, r, a2, s4, o4, n3, _3) => (Module._CreateQueryDesc = wasmExports.CreateQueryDesc)(e, t2, r, a2, s4, o4, n3, _3); Module._ExecutorStart = (e, t2) => (Module._ExecutorStart = wasmExports.ExecutorStart)(e, t2); Module._ExecutorFinish = (e) => (Module._ExecutorFinish = wasmExports.ExecutorFinish)(e); Module._ExecutorEnd = (e) => (Module._ExecutorEnd = wasmExports.ExecutorEnd)(e); Module._FreeQueryDesc = (e) => (Module._FreeQueryDesc = wasmExports.FreeQueryDesc)(e); Module._pg_server_to_any = (e, t2, r) => (Module._pg_server_to_any = wasmExports.pg_server_to_any)(e, t2, r); Module._ExecutorRun = (e, t2, r, a2) => (Module._ExecutorRun = wasmExports.ExecutorRun)(e, t2, r, a2); Module._CreateTableAsRelExists = (e) => (Module._CreateTableAsRelExists = wasmExports.CreateTableAsRelExists)(e); Module._DefineRelation = (e, t2, r, a2, s4, o4) => (Module._DefineRelation = wasmExports.DefineRelation)(e, t2, r, a2, s4, o4); Module._oidin = (e) => (Module._oidin = wasmExports.oidin)(e); Module._GetCommandTagName = (e) => (Module._GetCommandTagName = wasmExports.GetCommandTagName)(e); Module._ExplainBeginOutput = (e) => (Module._ExplainBeginOutput = wasmExports.ExplainBeginOutput)(e); Module._NewExplainState = () => (Module._NewExplainState = wasmExports.NewExplainState)(); Module._ExplainEndOutput = (e) => (Module._ExplainEndOutput = wasmExports.ExplainEndOutput)(e); Module._ExplainPrintPlan = (e, t2) => (Module._ExplainPrintPlan = wasmExports.ExplainPrintPlan)(e, t2); Module._ExplainPrintTriggers = (e, t2) => (Module._ExplainPrintTriggers = wasmExports.ExplainPrintTriggers)(e, t2); Module._ExplainPrintJITSummary = (e, t2) => (Module._ExplainPrintJITSummary = wasmExports.ExplainPrintJITSummary)(e, t2); Module._InstrEndLoop = (e) => (Module._InstrEndLoop = wasmExports.InstrEndLoop)(e); Module._ExplainPropertyInteger = (e, t2, r, a2) => (Module._ExplainPropertyInteger = wasmExports.ExplainPropertyInteger)(e, t2, r, a2); Module._ExplainQueryText = (e, t2) => (Module._ExplainQueryText = wasmExports.ExplainQueryText)(e, t2); Module._ExplainPropertyText = (e, t2, r) => (Module._ExplainPropertyText = wasmExports.ExplainPropertyText)(e, t2, r); Module._ExplainQueryParameters = (e, t2, r) => (Module._ExplainQueryParameters = wasmExports.ExplainQueryParameters)(e, t2, r); Module._get_func_namespace = (e) => (Module._get_func_namespace = wasmExports.get_func_namespace)(e); Module._get_rel_type_id = (e) => (Module._get_rel_type_id = wasmExports.get_rel_type_id)(e); Module._set_config_option = (e, t2, r, a2, s4, o4, n3, _3) => (Module._set_config_option = wasmExports.set_config_option)(e, t2, r, a2, s4, o4, n3, _3); Module._pg_any_to_server = (e, t2, r) => (Module._pg_any_to_server = wasmExports.pg_any_to_server)(e, t2, r); Module._DirectFunctionCall4Coll = (e, t2, r, a2, s4, o4) => (Module._DirectFunctionCall4Coll = wasmExports.DirectFunctionCall4Coll)(e, t2, r, a2, s4, o4); Module._list_delete_cell = (e, t2) => (Module._list_delete_cell = wasmExports.list_delete_cell)(e, t2); Module._GetForeignDataWrapper = (e) => (Module._GetForeignDataWrapper = wasmExports.GetForeignDataWrapper)(e); Module._CreateExprContext = (e) => (Module._CreateExprContext = wasmExports.CreateExprContext)(e); Module._EnsurePortalSnapshotExists = () => (Module._EnsurePortalSnapshotExists = wasmExports.EnsurePortalSnapshotExists)(); Module._CheckIndexCompatible = (e, t2, r, a2) => (Module._CheckIndexCompatible = wasmExports.CheckIndexCompatible)(e, t2, r, a2); Module._pgstat_count_truncate = (e) => (Module._pgstat_count_truncate = wasmExports.pgstat_count_truncate)(e); Module._SPI_connect = () => (Module._SPI_connect = wasmExports.SPI_connect)(); Module._SPI_exec = (e, t2) => (Module._SPI_exec = wasmExports.SPI_exec)(e, t2); Module._SPI_execute = (e, t2, r) => (Module._SPI_execute = wasmExports.SPI_execute)(e, t2, r); Module._SPI_getvalue = (e, t2, r) => (Module._SPI_getvalue = wasmExports.SPI_getvalue)(e, t2, r); Module._generate_operator_clause = (e, t2, r, a2, s4, o4) => (Module._generate_operator_clause = wasmExports.generate_operator_clause)(e, t2, r, a2, s4, o4); Module._SPI_finish = () => (Module._SPI_finish = wasmExports.SPI_finish)(); Module._CreateTransientRelDestReceiver = (e) => (Module._CreateTransientRelDestReceiver = wasmExports.CreateTransientRelDestReceiver)(e); Module._MemoryContextSetIdentifier = (e, t2) => (Module._MemoryContextSetIdentifier = wasmExports.MemoryContextSetIdentifier)(e, t2); Module._checkExprHasSubLink = (e) => (Module._checkExprHasSubLink = wasmExports.checkExprHasSubLink)(e); Module._SetTuplestoreDestReceiverParams = (e, t2, r, a2, s4, o4) => (Module._SetTuplestoreDestReceiverParams = wasmExports.SetTuplestoreDestReceiverParams)(e, t2, r, a2, s4, o4); Module._tuplestore_rescan = (e) => (Module._tuplestore_rescan = wasmExports.tuplestore_rescan)(e); Module._MemoryContextDeleteChildren = (e) => (Module._MemoryContextDeleteChildren = wasmExports.MemoryContextDeleteChildren)(e); Module._ReleaseCachedPlan = (e, t2) => (Module._ReleaseCachedPlan = wasmExports.ReleaseCachedPlan)(e, t2); Module._nextval = (e) => (Module._nextval = wasmExports.nextval)(e); Module._textToQualifiedNameList = (e) => (Module._textToQualifiedNameList = wasmExports.textToQualifiedNameList)(e); Module._tuplestore_gettupleslot = (e, t2, r, a2) => (Module._tuplestore_gettupleslot = wasmExports.tuplestore_gettupleslot)(e, t2, r, a2); Module._list_delete = (e, t2) => (Module._list_delete = wasmExports.list_delete)(e, t2); Module._tuplestore_end = (e) => (Module._tuplestore_end = wasmExports.tuplestore_end)(e); Module._quote_literal_cstr = (e) => (Module._quote_literal_cstr = wasmExports.quote_literal_cstr)(e); Module._contain_mutable_functions = (e) => (Module._contain_mutable_functions = wasmExports.contain_mutable_functions)(e); Module._ExecuteTruncateGuts = (e, t2, r, a2, s4, o4) => (Module._ExecuteTruncateGuts = wasmExports.ExecuteTruncateGuts)(e, t2, r, a2, s4, o4); Module._bms_make_singleton = (e) => (Module._bms_make_singleton = wasmExports.bms_make_singleton)(e); Module._tuplestore_puttupleslot = (e, t2) => (Module._tuplestore_puttupleslot = wasmExports.tuplestore_puttupleslot)(e, t2); Module._tuplestore_begin_heap = (e, t2, r) => (Module._tuplestore_begin_heap = wasmExports.tuplestore_begin_heap)(e, t2, r); Module._ExecForceStoreHeapTuple = (e, t2, r) => (Module._ExecForceStoreHeapTuple = wasmExports.ExecForceStoreHeapTuple)(e, t2, r); Module._strtod = (e, t2) => (Module._strtod = wasmExports.strtod)(e, t2); Module._plain_crypt_verify = (e, t2, r, a2) => (Module._plain_crypt_verify = wasmExports.plain_crypt_verify)(e, t2, r, a2); Module._ProcessConfigFile = (e) => (Module._ProcessConfigFile = wasmExports.ProcessConfigFile)(e); Module._ExecReScan = (e) => (Module._ExecReScan = wasmExports.ExecReScan)(e); Module._ExecAsyncResponse = (e) => (Module._ExecAsyncResponse = wasmExports.ExecAsyncResponse)(e); Module._ExecAsyncRequestDone = (e, t2) => (Module._ExecAsyncRequestDone = wasmExports.ExecAsyncRequestDone)(e, t2); Module._ExecAsyncRequestPending = (e) => (Module._ExecAsyncRequestPending = wasmExports.ExecAsyncRequestPending)(e); Module._ExprEvalPushStep = (e, t2) => (Module._ExprEvalPushStep = wasmExports.ExprEvalPushStep)(e, t2); Module._ExecInitExprWithParams = (e, t2) => (Module._ExecInitExprWithParams = wasmExports.ExecInitExprWithParams)(e, t2); Module._ExecInitExprList = (e, t2) => (Module._ExecInitExprList = wasmExports.ExecInitExprList)(e, t2); Module._MakeExpandedObjectReadOnlyInternal = (e) => (Module._MakeExpandedObjectReadOnlyInternal = wasmExports.MakeExpandedObjectReadOnlyInternal)(e); Module._tuplesort_puttupleslot = (e, t2) => (Module._tuplesort_puttupleslot = wasmExports.tuplesort_puttupleslot)(e, t2); Module._ArrayGetNItems = (e, t2) => (Module._ArrayGetNItems = wasmExports.ArrayGetNItems)(e, t2); Module._expanded_record_fetch_tupdesc = (e) => (Module._expanded_record_fetch_tupdesc = wasmExports.expanded_record_fetch_tupdesc)(e); Module._expanded_record_fetch_field = (e, t2, r) => (Module._expanded_record_fetch_field = wasmExports.expanded_record_fetch_field)(e, t2, r); Module._JsonbValueToJsonb = (e) => (Module._JsonbValueToJsonb = wasmExports.JsonbValueToJsonb)(e); Module._boolout = (e) => (Module._boolout = wasmExports.boolout)(e); Module._lookup_rowtype_tupdesc_domain = (e, t2, r) => (Module._lookup_rowtype_tupdesc_domain = wasmExports.lookup_rowtype_tupdesc_domain)(e, t2, r); Module._MemoryContextGetParent = (e) => (Module._MemoryContextGetParent = wasmExports.MemoryContextGetParent)(e); Module._DeleteExpandedObject = (e) => (Module._DeleteExpandedObject = wasmExports.DeleteExpandedObject)(e); Module._ExecFindJunkAttributeInTlist = (e, t2) => (Module._ExecFindJunkAttributeInTlist = wasmExports.ExecFindJunkAttributeInTlist)(e, t2); Module._standard_ExecutorStart = (e, t2) => (Module._standard_ExecutorStart = wasmExports.standard_ExecutorStart)(e, t2); Module._standard_ExecutorRun = (e, t2, r, a2) => (Module._standard_ExecutorRun = wasmExports.standard_ExecutorRun)(e, t2, r, a2); Module._standard_ExecutorFinish = (e) => (Module._standard_ExecutorFinish = wasmExports.standard_ExecutorFinish)(e); Module._standard_ExecutorEnd = (e) => (Module._standard_ExecutorEnd = wasmExports.standard_ExecutorEnd)(e); Module._InstrAlloc = (e, t2, r) => (Module._InstrAlloc = wasmExports.InstrAlloc)(e, t2, r); Module._get_typlenbyval = (e, t2, r) => (Module._get_typlenbyval = wasmExports.get_typlenbyval)(e, t2, r); Module._InputFunctionCall = (e, t2, r, a2) => (Module._InputFunctionCall = wasmExports.InputFunctionCall)(e, t2, r, a2); Module._FreeExprContext = (e, t2) => (Module._FreeExprContext = wasmExports.FreeExprContext)(e, t2); Module._ExecOpenScanRelation = (e, t2, r) => (Module._ExecOpenScanRelation = wasmExports.ExecOpenScanRelation)(e, t2, r); Module._bms_intersect = (e, t2) => (Module._bms_intersect = wasmExports.bms_intersect)(e, t2); Module._ExecGetReturningSlot = (e, t2) => (Module._ExecGetReturningSlot = wasmExports.ExecGetReturningSlot)(e, t2); Module._ExecGetResultRelCheckAsUser = (e, t2) => (Module._ExecGetResultRelCheckAsUser = wasmExports.ExecGetResultRelCheckAsUser)(e, t2); Module._get_call_expr_argtype = (e, t2) => (Module._get_call_expr_argtype = wasmExports.get_call_expr_argtype)(e, t2); Module._tuplestore_clear = (e) => (Module._tuplestore_clear = wasmExports.tuplestore_clear)(e); Module._InstrUpdateTupleCount = (e, t2) => (Module._InstrUpdateTupleCount = wasmExports.InstrUpdateTupleCount)(e, t2); Module._tuplesort_begin_heap = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._tuplesort_begin_heap = wasmExports.tuplesort_begin_heap)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._tuplesort_gettupleslot = (e, t2, r, a2, s4) => (Module._tuplesort_gettupleslot = wasmExports.tuplesort_gettupleslot)(e, t2, r, a2, s4); Module._AddWaitEventToSet = (e, t2, r, a2, s4) => (Module._AddWaitEventToSet = wasmExports.AddWaitEventToSet)(e, t2, r, a2, s4); Module._GetNumRegisteredWaitEvents = (e) => (Module._GetNumRegisteredWaitEvents = wasmExports.GetNumRegisteredWaitEvents)(e); Module._get_attstatsslot = (e, t2, r, a2, s4) => (Module._get_attstatsslot = wasmExports.get_attstatsslot)(e, t2, r, a2, s4); Module._free_attstatsslot = (e) => (Module._free_attstatsslot = wasmExports.free_attstatsslot)(e); Module._tuplesort_reset = (e) => (Module._tuplesort_reset = wasmExports.tuplesort_reset)(e); Module._pairingheap_first = (e) => (Module._pairingheap_first = wasmExports.pairingheap_first)(e); Module._bms_nonempty_difference = (e, t2) => (Module._bms_nonempty_difference = wasmExports.bms_nonempty_difference)(e, t2); Module._SPI_connect_ext = (e) => (Module._SPI_connect_ext = wasmExports.SPI_connect_ext)(e); Module._SPI_commit = () => (Module._SPI_commit = wasmExports.SPI_commit)(); Module._CopyErrorData = () => (Module._CopyErrorData = wasmExports.CopyErrorData)(); Module._ReThrowError = (e) => (Module._ReThrowError = wasmExports.ReThrowError)(e); Module._SPI_commit_and_chain = () => (Module._SPI_commit_and_chain = wasmExports.SPI_commit_and_chain)(); Module._SPI_rollback = () => (Module._SPI_rollback = wasmExports.SPI_rollback)(); Module._SPI_rollback_and_chain = () => (Module._SPI_rollback_and_chain = wasmExports.SPI_rollback_and_chain)(); Module._SPI_freetuptable = (e) => (Module._SPI_freetuptable = wasmExports.SPI_freetuptable)(e); Module._SPI_execute_extended = (e, t2) => (Module._SPI_execute_extended = wasmExports.SPI_execute_extended)(e, t2); Module._SPI_execute_plan = (e, t2, r, a2, s4) => (Module._SPI_execute_plan = wasmExports.SPI_execute_plan)(e, t2, r, a2, s4); Module._SPI_execp = (e, t2, r, a2) => (Module._SPI_execp = wasmExports.SPI_execp)(e, t2, r, a2); Module._SPI_execute_plan_extended = (e, t2) => (Module._SPI_execute_plan_extended = wasmExports.SPI_execute_plan_extended)(e, t2); Module._SPI_execute_plan_with_paramlist = (e, t2, r, a2) => (Module._SPI_execute_plan_with_paramlist = wasmExports.SPI_execute_plan_with_paramlist)(e, t2, r, a2); Module._SPI_prepare = (e, t2, r) => (Module._SPI_prepare = wasmExports.SPI_prepare)(e, t2, r); Module._SPI_prepare_extended = (e, t2) => (Module._SPI_prepare_extended = wasmExports.SPI_prepare_extended)(e, t2); Module._SPI_keepplan = (e) => (Module._SPI_keepplan = wasmExports.SPI_keepplan)(e); Module._SPI_freeplan = (e) => (Module._SPI_freeplan = wasmExports.SPI_freeplan)(e); Module._SPI_copytuple = (e) => (Module._SPI_copytuple = wasmExports.SPI_copytuple)(e); Module._SPI_returntuple = (e, t2) => (Module._SPI_returntuple = wasmExports.SPI_returntuple)(e, t2); Module._SPI_fnumber = (e, t2) => (Module._SPI_fnumber = wasmExports.SPI_fnumber)(e, t2); Module._SPI_fname = (e, t2) => (Module._SPI_fname = wasmExports.SPI_fname)(e, t2); Module._SPI_getbinval = (e, t2, r, a2) => (Module._SPI_getbinval = wasmExports.SPI_getbinval)(e, t2, r, a2); Module._SPI_gettype = (e, t2) => (Module._SPI_gettype = wasmExports.SPI_gettype)(e, t2); Module._SPI_gettypeid = (e, t2) => (Module._SPI_gettypeid = wasmExports.SPI_gettypeid)(e, t2); Module._SPI_getrelname = (e) => (Module._SPI_getrelname = wasmExports.SPI_getrelname)(e); Module._SPI_palloc = (e) => (Module._SPI_palloc = wasmExports.SPI_palloc)(e); Module._SPI_datumTransfer = (e, t2, r) => (Module._SPI_datumTransfer = wasmExports.SPI_datumTransfer)(e, t2, r); Module._datumTransfer = (e, t2, r) => (Module._datumTransfer = wasmExports.datumTransfer)(e, t2, r); Module._SPI_cursor_open_with_paramlist = (e, t2, r, a2) => (Module._SPI_cursor_open_with_paramlist = wasmExports.SPI_cursor_open_with_paramlist)(e, t2, r, a2); Module._SPI_cursor_parse_open = (e, t2, r) => (Module._SPI_cursor_parse_open = wasmExports.SPI_cursor_parse_open)(e, t2, r); Module._SPI_cursor_find = (e) => (Module._SPI_cursor_find = wasmExports.SPI_cursor_find)(e); Module._SPI_cursor_fetch = (e, t2, r) => (Module._SPI_cursor_fetch = wasmExports.SPI_cursor_fetch)(e, t2, r); Module._SPI_scroll_cursor_fetch = (e, t2, r) => (Module._SPI_scroll_cursor_fetch = wasmExports.SPI_scroll_cursor_fetch)(e, t2, r); Module._SPI_scroll_cursor_move = (e, t2, r) => (Module._SPI_scroll_cursor_move = wasmExports.SPI_scroll_cursor_move)(e, t2, r); Module._SPI_cursor_close = (e) => (Module._SPI_cursor_close = wasmExports.SPI_cursor_close)(e); Module._SPI_plan_is_valid = (e) => (Module._SPI_plan_is_valid = wasmExports.SPI_plan_is_valid)(e); Module._SPI_result_code_string = (e) => (Module._SPI_result_code_string = wasmExports.SPI_result_code_string)(e); Module._SPI_plan_get_plan_sources = (e) => (Module._SPI_plan_get_plan_sources = wasmExports.SPI_plan_get_plan_sources)(e); Module._SPI_plan_get_cached_plan = (e) => (Module._SPI_plan_get_cached_plan = wasmExports.SPI_plan_get_cached_plan)(e); Module._SPI_register_relation = (e) => (Module._SPI_register_relation = wasmExports.SPI_register_relation)(e); Module._create_queryEnv = () => (Module._create_queryEnv = wasmExports.create_queryEnv)(); Module._register_ENR = (e, t2) => (Module._register_ENR = wasmExports.register_ENR)(e, t2); Module._SPI_register_trigger_data = (e) => (Module._SPI_register_trigger_data = wasmExports.SPI_register_trigger_data)(e); Module._tuplestore_tuple_count = (e) => (Module._tuplestore_tuple_count = wasmExports.tuplestore_tuple_count)(e); Module._GetUserMapping = (e, t2) => (Module._GetUserMapping = wasmExports.GetUserMapping)(e, t2); Module._GetForeignTable = (e) => (Module._GetForeignTable = wasmExports.GetForeignTable)(e); Module._GetForeignColumnOptions = (e, t2) => (Module._GetForeignColumnOptions = wasmExports.GetForeignColumnOptions)(e, t2); Module._initClosestMatch = (e, t2, r) => (Module._initClosestMatch = wasmExports.initClosestMatch)(e, t2, r); Module._updateClosestMatch = (e, t2) => (Module._updateClosestMatch = wasmExports.updateClosestMatch)(e, t2); Module._getClosestMatch = (e) => (Module._getClosestMatch = wasmExports.getClosestMatch)(e); Module._GetExistingLocalJoinPath = (e) => (Module._GetExistingLocalJoinPath = wasmExports.GetExistingLocalJoinPath)(e); Module._bloom_create = (e, t2, r) => (Module._bloom_create = wasmExports.bloom_create)(e, t2, r); Module._bloom_free = (e) => (Module._bloom_free = wasmExports.bloom_free)(e); Module._bloom_add_element = (e, t2, r) => (Module._bloom_add_element = wasmExports.bloom_add_element)(e, t2, r); Module._bloom_lacks_element = (e, t2, r) => (Module._bloom_lacks_element = wasmExports.bloom_lacks_element)(e, t2, r); Module._bloom_prop_bits_set = (e) => (Module._bloom_prop_bits_set = wasmExports.bloom_prop_bits_set)(e); Module._socket = (e, t2, r) => (Module._socket = wasmExports.socket)(e, t2, r); Module._connect = (e, t2, r) => (Module._connect = wasmExports.connect)(e, t2, r); Module._send = (e, t2, r, a2) => (Module._send = wasmExports.send)(e, t2, r, a2); Module._recv = (e, t2, r, a2) => (Module._recv = wasmExports.recv)(e, t2, r, a2); Module._be_lo_unlink = (e) => (Module._be_lo_unlink = wasmExports.be_lo_unlink)(e); Module._set_read_write_cbs = (e, t2) => (Module._set_read_write_cbs = wasmExports.set_read_write_cbs)(e, t2); Module._setsockopt = (e, t2, r, a2, s4) => (Module._setsockopt = wasmExports.setsockopt)(e, t2, r, a2, s4); Module._getsockopt = (e, t2, r, a2, s4) => (Module._getsockopt = wasmExports.getsockopt)(e, t2, r, a2, s4); Module._getsockname = (e, t2, r) => (Module._getsockname = wasmExports.getsockname)(e, t2, r); Module._poll = (e, t2, r) => (Module._poll = wasmExports.poll)(e, t2, r); Module._pg_mb2wchar_with_len = (e, t2, r) => (Module._pg_mb2wchar_with_len = wasmExports.pg_mb2wchar_with_len)(e, t2, r); Module._pg_regcomp = (e, t2, r, a2, s4) => (Module._pg_regcomp = wasmExports.pg_regcomp)(e, t2, r, a2, s4); Module._pg_regerror = (e, t2, r, a2) => (Module._pg_regerror = wasmExports.pg_regerror)(e, t2, r, a2); Module._strcat = (e, t2) => (Module._strcat = wasmExports.strcat)(e, t2); Module._pq_sendtext = (e, t2, r) => (Module._pq_sendtext = wasmExports.pq_sendtext)(e, t2, r); Module._pq_sendfloat4 = (e, t2) => (Module._pq_sendfloat4 = wasmExports.pq_sendfloat4)(e, t2); Module._pq_sendfloat8 = (e, t2) => (Module._pq_sendfloat8 = wasmExports.pq_sendfloat8)(e, t2); Module._pq_begintypsend = (e) => (Module._pq_begintypsend = wasmExports.pq_begintypsend)(e); Module._pq_endtypsend = (e) => (Module._pq_endtypsend = wasmExports.pq_endtypsend)(e); Module._pq_getmsgfloat4 = (e) => (Module._pq_getmsgfloat4 = wasmExports.pq_getmsgfloat4)(e); Module._pq_getmsgfloat8 = (e) => (Module._pq_getmsgfloat8 = wasmExports.pq_getmsgfloat8)(e); Module._pq_getmsgtext = (e, t2, r) => (Module._pq_getmsgtext = wasmExports.pq_getmsgtext)(e, t2, r); Module._pg_strtoint32 = (e) => (Module._pg_strtoint32 = wasmExports.pg_strtoint32)(e); Module._bms_membership = (e) => (Module._bms_membership = wasmExports.bms_membership)(e); Module._list_make5_impl = (e, t2, r, a2, s4, o4) => (Module._list_make5_impl = wasmExports.list_make5_impl)(e, t2, r, a2, s4, o4); Module._list_insert_nth = (e, t2, r) => (Module._list_insert_nth = wasmExports.list_insert_nth)(e, t2, r); Module._list_member_ptr = (e, t2) => (Module._list_member_ptr = wasmExports.list_member_ptr)(e, t2); Module._list_append_unique_ptr = (e, t2) => (Module._list_append_unique_ptr = wasmExports.list_append_unique_ptr)(e, t2); Module._make_opclause = (e, t2, r, a2, s4, o4, n3) => (Module._make_opclause = wasmExports.make_opclause)(e, t2, r, a2, s4, o4, n3); Module._exprIsLengthCoercion = (e, t2) => (Module._exprIsLengthCoercion = wasmExports.exprIsLengthCoercion)(e, t2); Module._fix_opfuncids = (e) => (Module._fix_opfuncids = wasmExports.fix_opfuncids)(e); Module._CleanQuerytext = (e, t2, r) => (Module._CleanQuerytext = wasmExports.CleanQuerytext)(e, t2, r); Module._EnableQueryId = () => (Module._EnableQueryId = wasmExports.EnableQueryId)(); Module._find_base_rel = (e, t2) => (Module._find_base_rel = wasmExports.find_base_rel)(e, t2); Module._add_path = (e, t2) => (Module._add_path = wasmExports.add_path)(e, t2); Module._pathkeys_contained_in = (e, t2) => (Module._pathkeys_contained_in = wasmExports.pathkeys_contained_in)(e, t2); Module._create_sort_path = (e, t2, r, a2, s4) => (Module._create_sort_path = wasmExports.create_sort_path)(e, t2, r, a2, s4); Module._set_baserel_size_estimates = (e, t2) => (Module._set_baserel_size_estimates = wasmExports.set_baserel_size_estimates)(e, t2); Module._clauselist_selectivity = (e, t2, r, a2, s4) => (Module._clauselist_selectivity = wasmExports.clauselist_selectivity)(e, t2, r, a2, s4); Module._get_tablespace_page_costs = (e, t2, r) => (Module._get_tablespace_page_costs = wasmExports.get_tablespace_page_costs)(e, t2, r); Module._cost_qual_eval = (e, t2, r) => (Module._cost_qual_eval = wasmExports.cost_qual_eval)(e, t2, r); Module._estimate_num_groups = (e, t2, r, a2, s4) => (Module._estimate_num_groups = wasmExports.estimate_num_groups)(e, t2, r, a2, s4); Module._cost_sort = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._cost_sort = wasmExports.cost_sort)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._get_sortgrouplist_exprs = (e, t2) => (Module._get_sortgrouplist_exprs = wasmExports.get_sortgrouplist_exprs)(e, t2); Module._make_restrictinfo = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._make_restrictinfo = wasmExports.make_restrictinfo)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._generate_implied_equalities_for_column = (e, t2, r, a2, s4) => (Module._generate_implied_equalities_for_column = wasmExports.generate_implied_equalities_for_column)(e, t2, r, a2, s4); Module._eclass_useful_for_merging = (e, t2, r) => (Module._eclass_useful_for_merging = wasmExports.eclass_useful_for_merging)(e, t2, r); Module._join_clause_is_movable_to = (e, t2) => (Module._join_clause_is_movable_to = wasmExports.join_clause_is_movable_to)(e, t2); Module._get_plan_rowmark = (e, t2) => (Module._get_plan_rowmark = wasmExports.get_plan_rowmark)(e, t2); Module._update_mergeclause_eclasses = (e, t2) => (Module._update_mergeclause_eclasses = wasmExports.update_mergeclause_eclasses)(e, t2); Module._find_join_rel = (e, t2) => (Module._find_join_rel = wasmExports.find_join_rel)(e, t2); Module._make_canonical_pathkey = (e, t2, r, a2, s4) => (Module._make_canonical_pathkey = wasmExports.make_canonical_pathkey)(e, t2, r, a2, s4); Module._get_sortgroupref_clause_noerr = (e, t2) => (Module._get_sortgroupref_clause_noerr = wasmExports.get_sortgroupref_clause_noerr)(e, t2); Module._extract_actual_clauses = (e, t2) => (Module._extract_actual_clauses = wasmExports.extract_actual_clauses)(e, t2); Module._change_plan_targetlist = (e, t2, r) => (Module._change_plan_targetlist = wasmExports.change_plan_targetlist)(e, t2, r); Module._make_foreignscan = (e, t2, r, a2, s4, o4, n3, _3) => (Module._make_foreignscan = wasmExports.make_foreignscan)(e, t2, r, a2, s4, o4, n3, _3); Module._tlist_member = (e, t2) => (Module._tlist_member = wasmExports.tlist_member)(e, t2); Module._pull_vars_of_level = (e, t2) => (Module._pull_vars_of_level = wasmExports.pull_vars_of_level)(e, t2); Module._IncrementVarSublevelsUp = (e, t2, r) => (Module._IncrementVarSublevelsUp = wasmExports.IncrementVarSublevelsUp)(e, t2, r); Module._standard_planner = (e, t2, r, a2) => (Module._standard_planner = wasmExports.standard_planner)(e, t2, r, a2); Module._get_relids_in_jointree = (e, t2, r) => (Module._get_relids_in_jointree = wasmExports.get_relids_in_jointree)(e, t2, r); Module._add_new_columns_to_pathtarget = (e, t2) => (Module._add_new_columns_to_pathtarget = wasmExports.add_new_columns_to_pathtarget)(e, t2); Module._get_agg_clause_costs = (e, t2, r) => (Module._get_agg_clause_costs = wasmExports.get_agg_clause_costs)(e, t2, r); Module._grouping_is_sortable = (e) => (Module._grouping_is_sortable = wasmExports.grouping_is_sortable)(e); Module._copy_pathtarget = (e) => (Module._copy_pathtarget = wasmExports.copy_pathtarget)(e); Module._create_projection_path = (e, t2, r, a2) => (Module._create_projection_path = wasmExports.create_projection_path)(e, t2, r, a2); Module._GetSysCacheHashValue = (e, t2, r, a2, s4) => (Module._GetSysCacheHashValue = wasmExports.GetSysCacheHashValue)(e, t2, r, a2, s4); Module._get_translated_update_targetlist = (e, t2, r, a2) => (Module._get_translated_update_targetlist = wasmExports.get_translated_update_targetlist)(e, t2, r, a2); Module._add_row_identity_var = (e, t2, r, a2) => (Module._add_row_identity_var = wasmExports.add_row_identity_var)(e, t2, r, a2); Module._get_rel_all_updated_cols = (e, t2) => (Module._get_rel_all_updated_cols = wasmExports.get_rel_all_updated_cols)(e, t2); Module._get_baserel_parampathinfo = (e, t2, r) => (Module._get_baserel_parampathinfo = wasmExports.get_baserel_parampathinfo)(e, t2, r); Module._create_foreignscan_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._create_foreignscan_path = wasmExports.create_foreignscan_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._create_foreign_join_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._create_foreign_join_path = wasmExports.create_foreign_join_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._create_foreign_upper_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._create_foreign_upper_path = wasmExports.create_foreign_upper_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._adjust_limit_rows_costs = (e, t2, r, a2, s4) => (Module._adjust_limit_rows_costs = wasmExports.adjust_limit_rows_costs)(e, t2, r, a2, s4); Module._add_to_flat_tlist = (e, t2) => (Module._add_to_flat_tlist = wasmExports.add_to_flat_tlist)(e, t2); Module._get_fn_expr_argtype = (e, t2) => (Module._get_fn_expr_argtype = wasmExports.get_fn_expr_argtype)(e, t2); Module._on_shmem_exit = (e, t2) => (Module._on_shmem_exit = wasmExports.on_shmem_exit)(e, t2); Module._SignalHandlerForConfigReload = (e) => (Module._SignalHandlerForConfigReload = wasmExports.SignalHandlerForConfigReload)(e); Module._SignalHandlerForShutdownRequest = (e) => (Module._SignalHandlerForShutdownRequest = wasmExports.SignalHandlerForShutdownRequest)(e); Module._procsignal_sigusr1_handler = (e) => (Module._procsignal_sigusr1_handler = wasmExports.procsignal_sigusr1_handler)(e); Module._RegisterBackgroundWorker = (e) => (Module._RegisterBackgroundWorker = wasmExports.RegisterBackgroundWorker)(e); Module._WaitForBackgroundWorkerStartup = (e, t2) => (Module._WaitForBackgroundWorkerStartup = wasmExports.WaitForBackgroundWorkerStartup)(e, t2); Module._GetConfigOption = (e, t2, r) => (Module._GetConfigOption = wasmExports.GetConfigOption)(e, t2, r); Module._toupper = (e) => (Module._toupper = wasmExports.toupper)(e); Module._pg_reg_getinitialstate = (e) => (Module._pg_reg_getinitialstate = wasmExports.pg_reg_getinitialstate)(e); Module._pg_reg_getfinalstate = (e) => (Module._pg_reg_getfinalstate = wasmExports.pg_reg_getfinalstate)(e); Module._pg_reg_getnumoutarcs = (e, t2) => (Module._pg_reg_getnumoutarcs = wasmExports.pg_reg_getnumoutarcs)(e, t2); Module._pg_reg_getoutarcs = (e, t2, r, a2) => (Module._pg_reg_getoutarcs = wasmExports.pg_reg_getoutarcs)(e, t2, r, a2); Module._pg_reg_getnumcolors = (e) => (Module._pg_reg_getnumcolors = wasmExports.pg_reg_getnumcolors)(e); Module._pg_reg_colorisbegin = (e, t2) => (Module._pg_reg_colorisbegin = wasmExports.pg_reg_colorisbegin)(e, t2); Module._pg_reg_colorisend = (e, t2) => (Module._pg_reg_colorisend = wasmExports.pg_reg_colorisend)(e, t2); Module._pg_reg_getnumcharacters = (e, t2) => (Module._pg_reg_getnumcharacters = wasmExports.pg_reg_getnumcharacters)(e, t2); Module._pg_reg_getcharacters = (e, t2, r, a2) => (Module._pg_reg_getcharacters = wasmExports.pg_reg_getcharacters)(e, t2, r, a2); Module._OutputPluginPrepareWrite = (e, t2) => (Module._OutputPluginPrepareWrite = wasmExports.OutputPluginPrepareWrite)(e, t2); Module._OutputPluginWrite = (e, t2) => (Module._OutputPluginWrite = wasmExports.OutputPluginWrite)(e, t2); Module._array_contains_nulls = (e) => (Module._array_contains_nulls = wasmExports.array_contains_nulls)(e); Module._hash_seq_term = (e) => (Module._hash_seq_term = wasmExports.hash_seq_term)(e); Module._FreeErrorData = (e) => (Module._FreeErrorData = wasmExports.FreeErrorData)(e); Module._RelidByRelfilenumber = (e, t2) => (Module._RelidByRelfilenumber = wasmExports.RelidByRelfilenumber)(e, t2); Module._WaitLatchOrSocket = (e, t2, r, a2, s4) => (Module._WaitLatchOrSocket = wasmExports.WaitLatchOrSocket)(e, t2, r, a2, s4); Module._get_row_security_policies = (e, t2, r, a2, s4, o4, n3) => (Module._get_row_security_policies = wasmExports.get_row_security_policies)(e, t2, r, a2, s4, o4, n3); Module._hash_estimate_size = (e, t2) => (Module._hash_estimate_size = wasmExports.hash_estimate_size)(e, t2); Module._ShmemInitHash = (e, t2, r, a2, s4) => (Module._ShmemInitHash = wasmExports.ShmemInitHash)(e, t2, r, a2, s4); Module._LockBufHdr = (e) => (Module._LockBufHdr = wasmExports.LockBufHdr)(e); Module._EvictUnpinnedBuffer = (e) => (Module._EvictUnpinnedBuffer = wasmExports.EvictUnpinnedBuffer)(e); Module._have_free_buffer = () => (Module._have_free_buffer = wasmExports.have_free_buffer)(); Module._copy_file = (e, t2) => (Module._copy_file = wasmExports.copy_file)(e, t2); Module._AcquireExternalFD = () => (Module._AcquireExternalFD = wasmExports.AcquireExternalFD)(); Module._GetNamedDSMSegment = (e, t2, r, a2) => (Module._GetNamedDSMSegment = wasmExports.GetNamedDSMSegment)(e, t2, r, a2); Module._RequestAddinShmemSpace = (e) => (Module._RequestAddinShmemSpace = wasmExports.RequestAddinShmemSpace)(e); Module._GetRunningTransactionData = () => (Module._GetRunningTransactionData = wasmExports.GetRunningTransactionData)(); Module._BackendXidGetPid = (e) => (Module._BackendXidGetPid = wasmExports.BackendXidGetPid)(e); Module._LWLockRegisterTranche = (e, t2) => (Module._LWLockRegisterTranche = wasmExports.LWLockRegisterTranche)(e, t2); Module._GetNamedLWLockTranche = (e) => (Module._GetNamedLWLockTranche = wasmExports.GetNamedLWLockTranche)(e); Module._LWLockNewTrancheId = () => (Module._LWLockNewTrancheId = wasmExports.LWLockNewTrancheId)(); Module._RequestNamedLWLockTranche = (e, t2) => (Module._RequestNamedLWLockTranche = wasmExports.RequestNamedLWLockTranche)(e, t2); Module._standard_ProcessUtility = (e, t2, r, a2, s4, o4, n3, _3) => (Module._standard_ProcessUtility = wasmExports.standard_ProcessUtility)(e, t2, r, a2, s4, o4, n3, _3); Module._lookup_ts_dictionary_cache = (e) => (Module._lookup_ts_dictionary_cache = wasmExports.lookup_ts_dictionary_cache)(e); Module._get_tsearch_config_filename = (e, t2) => (Module._get_tsearch_config_filename = wasmExports.get_tsearch_config_filename)(e, t2); Module._lowerstr = (e) => (Module._lowerstr = wasmExports.lowerstr)(e); Module._readstoplist = (e, t2, r) => (Module._readstoplist = wasmExports.readstoplist)(e, t2, r); Module._lowerstr_with_len = (e, t2) => (Module._lowerstr_with_len = wasmExports.lowerstr_with_len)(e, t2); Module._searchstoplist = (e, t2) => (Module._searchstoplist = wasmExports.searchstoplist)(e, t2); Module._tsearch_readline_begin = (e, t2) => (Module._tsearch_readline_begin = wasmExports.tsearch_readline_begin)(e, t2); Module._tsearch_readline = (e) => (Module._tsearch_readline = wasmExports.tsearch_readline)(e); Module._t_isspace = (e) => (Module._t_isspace = wasmExports.t_isspace)(e); Module._tsearch_readline_end = (e) => (Module._tsearch_readline_end = wasmExports.tsearch_readline_end)(e); Module._stringToQualifiedNameList = (e, t2) => (Module._stringToQualifiedNameList = wasmExports.stringToQualifiedNameList)(e, t2); Module._t_isdigit = (e) => (Module._t_isdigit = wasmExports.t_isdigit)(e); Module._t_isalnum = (e) => (Module._t_isalnum = wasmExports.t_isalnum)(e); Module._get_restriction_variable = (e, t2, r, a2, s4, o4) => (Module._get_restriction_variable = wasmExports.get_restriction_variable)(e, t2, r, a2, s4, o4); Module._MemoryContextAllocHuge = (e, t2) => (Module._MemoryContextAllocHuge = wasmExports.MemoryContextAllocHuge)(e, t2); Module._WaitEventExtensionNew = (e) => (Module._WaitEventExtensionNew = wasmExports.WaitEventExtensionNew)(e); Module._expand_array = (e, t2, r) => (Module._expand_array = wasmExports.expand_array)(e, t2, r); Module._arraycontsel = (e) => (Module._arraycontsel = wasmExports.arraycontsel)(e); Module._arraycontjoinsel = (e) => (Module._arraycontjoinsel = wasmExports.arraycontjoinsel)(e); Module._initArrayResult = (e, t2, r) => (Module._initArrayResult = wasmExports.initArrayResult)(e, t2, r); Module._array_create_iterator = (e, t2, r) => (Module._array_create_iterator = wasmExports.array_create_iterator)(e, t2, r); Module._array_iterate = (e, t2, r) => (Module._array_iterate = wasmExports.array_iterate)(e, t2, r); Module._ArrayGetIntegerTypmods = (e, t2) => (Module._ArrayGetIntegerTypmods = wasmExports.ArrayGetIntegerTypmods)(e, t2); Module._boolin = (e) => (Module._boolin = wasmExports.boolin)(e); Module._cash_cmp = (e) => (Module._cash_cmp = wasmExports.cash_cmp)(e); Module._int64_to_numeric = (e) => (Module._int64_to_numeric = wasmExports.int64_to_numeric)(e); Module._numeric_div = (e) => (Module._numeric_div = wasmExports.numeric_div)(e); Module._date_eq = (e) => (Module._date_eq = wasmExports.date_eq)(e); Module._date_lt = (e) => (Module._date_lt = wasmExports.date_lt)(e); Module._date_le = (e) => (Module._date_le = wasmExports.date_le)(e); Module._date_gt = (e) => (Module._date_gt = wasmExports.date_gt)(e); Module._date_ge = (e) => (Module._date_ge = wasmExports.date_ge)(e); Module._date_cmp = (e) => (Module._date_cmp = wasmExports.date_cmp)(e); Module._date_mi = (e) => (Module._date_mi = wasmExports.date_mi)(e); Module._time_eq = (e) => (Module._time_eq = wasmExports.time_eq)(e); Module._time_lt = (e) => (Module._time_lt = wasmExports.time_lt)(e); Module._time_le = (e) => (Module._time_le = wasmExports.time_le)(e); Module._time_gt = (e) => (Module._time_gt = wasmExports.time_gt)(e); Module._time_ge = (e) => (Module._time_ge = wasmExports.time_ge)(e); Module._time_cmp = (e) => (Module._time_cmp = wasmExports.time_cmp)(e); Module._time_mi_time = (e) => (Module._time_mi_time = wasmExports.time_mi_time)(e); Module._timetz_cmp = (e) => (Module._timetz_cmp = wasmExports.timetz_cmp)(e); Module._TransferExpandedObject = (e, t2) => (Module._TransferExpandedObject = wasmExports.TransferExpandedObject)(e, t2); Module._numeric_lt = (e) => (Module._numeric_lt = wasmExports.numeric_lt)(e); Module._numeric_ge = (e) => (Module._numeric_ge = wasmExports.numeric_ge)(e); Module._err_generic_string = (e, t2) => (Module._err_generic_string = wasmExports.err_generic_string)(e, t2); Module._domain_check = (e, t2, r, a2, s4) => (Module._domain_check = wasmExports.domain_check)(e, t2, r, a2, s4); Module._enum_lt = (e) => (Module._enum_lt = wasmExports.enum_lt)(e); Module._enum_le = (e) => (Module._enum_le = wasmExports.enum_le)(e); Module._enum_ge = (e) => (Module._enum_ge = wasmExports.enum_ge)(e); Module._enum_gt = (e) => (Module._enum_gt = wasmExports.enum_gt)(e); Module._enum_cmp = (e) => (Module._enum_cmp = wasmExports.enum_cmp)(e); Module._make_expanded_record_from_typeid = (e, t2, r) => (Module._make_expanded_record_from_typeid = wasmExports.make_expanded_record_from_typeid)(e, t2, r); Module._make_expanded_record_from_tupdesc = (e, t2) => (Module._make_expanded_record_from_tupdesc = wasmExports.make_expanded_record_from_tupdesc)(e, t2); Module._make_expanded_record_from_exprecord = (e, t2) => (Module._make_expanded_record_from_exprecord = wasmExports.make_expanded_record_from_exprecord)(e, t2); Module._expanded_record_set_tuple = (e, t2, r, a2) => (Module._expanded_record_set_tuple = wasmExports.expanded_record_set_tuple)(e, t2, r, a2); Module._expanded_record_get_tuple = (e) => (Module._expanded_record_get_tuple = wasmExports.expanded_record_get_tuple)(e); Module._deconstruct_expanded_record = (e) => (Module._deconstruct_expanded_record = wasmExports.deconstruct_expanded_record)(e); Module._expanded_record_lookup_field = (e, t2, r) => (Module._expanded_record_lookup_field = wasmExports.expanded_record_lookup_field)(e, t2, r); Module._expanded_record_set_field_internal = (e, t2, r, a2, s4, o4) => (Module._expanded_record_set_field_internal = wasmExports.expanded_record_set_field_internal)(e, t2, r, a2, s4, o4); Module._expanded_record_set_fields = (e, t2, r, a2) => (Module._expanded_record_set_fields = wasmExports.expanded_record_set_fields)(e, t2, r, a2); Module._float4in_internal = (e, t2, r, a2, s4) => (Module._float4in_internal = wasmExports.float4in_internal)(e, t2, r, a2, s4); Module._strtof = (e, t2) => (Module._strtof = wasmExports.strtof)(e, t2); Module._float8in_internal = (e, t2, r, a2, s4) => (Module._float8in_internal = wasmExports.float8in_internal)(e, t2, r, a2, s4); Module._float8out_internal = (e) => (Module._float8out_internal = wasmExports.float8out_internal)(e); Module._btfloat4cmp = (e) => (Module._btfloat4cmp = wasmExports.btfloat4cmp)(e); Module._btfloat8cmp = (e) => (Module._btfloat8cmp = wasmExports.btfloat8cmp)(e); Module._acos = (e) => (Module._acos = wasmExports.acos)(e); Module._asin = (e) => (Module._asin = wasmExports.asin)(e); Module._cos = (e) => (Module._cos = wasmExports.cos)(e); Module._str_tolower = (e, t2, r) => (Module._str_tolower = wasmExports.str_tolower)(e, t2, r); Module._pushJsonbValue = (e, t2, r) => (Module._pushJsonbValue = wasmExports.pushJsonbValue)(e, t2, r); Module._numeric_float4 = (e) => (Module._numeric_float4 = wasmExports.numeric_float4)(e); Module._numeric_cmp = (e) => (Module._numeric_cmp = wasmExports.numeric_cmp)(e); Module._numeric_eq = (e) => (Module._numeric_eq = wasmExports.numeric_eq)(e); Module._numeric_is_nan = (e) => (Module._numeric_is_nan = wasmExports.numeric_is_nan)(e); Module._timestamp_cmp = (e) => (Module._timestamp_cmp = wasmExports.timestamp_cmp)(e); Module._macaddr_cmp = (e) => (Module._macaddr_cmp = wasmExports.macaddr_cmp)(e); Module._macaddr_lt = (e) => (Module._macaddr_lt = wasmExports.macaddr_lt)(e); Module._macaddr_le = (e) => (Module._macaddr_le = wasmExports.macaddr_le)(e); Module._macaddr_eq = (e) => (Module._macaddr_eq = wasmExports.macaddr_eq)(e); Module._macaddr_ge = (e) => (Module._macaddr_ge = wasmExports.macaddr_ge)(e); Module._macaddr_gt = (e) => (Module._macaddr_gt = wasmExports.macaddr_gt)(e); Module._macaddr8_cmp = (e) => (Module._macaddr8_cmp = wasmExports.macaddr8_cmp)(e); Module._macaddr8_lt = (e) => (Module._macaddr8_lt = wasmExports.macaddr8_lt)(e); Module._macaddr8_le = (e) => (Module._macaddr8_le = wasmExports.macaddr8_le)(e); Module._macaddr8_eq = (e) => (Module._macaddr8_eq = wasmExports.macaddr8_eq)(e); Module._macaddr8_ge = (e) => (Module._macaddr8_ge = wasmExports.macaddr8_ge)(e); Module._macaddr8_gt = (e) => (Module._macaddr8_gt = wasmExports.macaddr8_gt)(e); Module._current_query = (e) => (Module._current_query = wasmExports.current_query)(e); Module._unpack_sql_state = (e) => (Module._unpack_sql_state = wasmExports.unpack_sql_state)(e); Module._get_fn_expr_rettype = (e) => (Module._get_fn_expr_rettype = wasmExports.get_fn_expr_rettype)(e); Module._btnamecmp = (e) => (Module._btnamecmp = wasmExports.btnamecmp)(e); Module._inet_in = (e) => (Module._inet_in = wasmExports.inet_in)(e); Module._network_cmp = (e) => (Module._network_cmp = wasmExports.network_cmp)(e); Module._convert_network_to_scalar = (e, t2, r) => (Module._convert_network_to_scalar = wasmExports.convert_network_to_scalar)(e, t2, r); Module._numeric_gt = (e) => (Module._numeric_gt = wasmExports.numeric_gt)(e); Module._numeric_le = (e) => (Module._numeric_le = wasmExports.numeric_le)(e); Module._numeric_float8_no_overflow = (e) => (Module._numeric_float8_no_overflow = wasmExports.numeric_float8_no_overflow)(e); Module._oidout = (e) => (Module._oidout = wasmExports.oidout)(e); Module._interval_mi = (e) => (Module._interval_mi = wasmExports.interval_mi)(e); Module._quote_ident = (e) => (Module._quote_ident = wasmExports.quote_ident)(e); Module._pg_wchar2mb_with_len = (e, t2, r) => (Module._pg_wchar2mb_with_len = wasmExports.pg_wchar2mb_with_len)(e, t2, r); Module._pg_get_indexdef_columns_extended = (e, t2) => (Module._pg_get_indexdef_columns_extended = wasmExports.pg_get_indexdef_columns_extended)(e, t2); Module._pg_get_querydef = (e, t2) => (Module._pg_get_querydef = wasmExports.pg_get_querydef)(e, t2); Module._strcspn = (e, t2) => (Module._strcspn = wasmExports.strcspn)(e, t2); Module._generic_restriction_selectivity = (e, t2, r, a2, s4, o4) => (Module._generic_restriction_selectivity = wasmExports.generic_restriction_selectivity)(e, t2, r, a2, s4, o4); Module._genericcostestimate = (e, t2, r, a2) => (Module._genericcostestimate = wasmExports.genericcostestimate)(e, t2, r, a2); Module._tidin = (e) => (Module._tidin = wasmExports.tidin)(e); Module._tidout = (e) => (Module._tidout = wasmExports.tidout)(e); Module._timestamp_in = (e) => (Module._timestamp_in = wasmExports.timestamp_in)(e); Module._timestamp_eq = (e) => (Module._timestamp_eq = wasmExports.timestamp_eq)(e); Module._timestamp_lt = (e) => (Module._timestamp_lt = wasmExports.timestamp_lt)(e); Module._timestamp_gt = (e) => (Module._timestamp_gt = wasmExports.timestamp_gt)(e); Module._timestamp_le = (e) => (Module._timestamp_le = wasmExports.timestamp_le)(e); Module._timestamp_ge = (e) => (Module._timestamp_ge = wasmExports.timestamp_ge)(e); Module._interval_eq = (e) => (Module._interval_eq = wasmExports.interval_eq)(e); Module._interval_lt = (e) => (Module._interval_lt = wasmExports.interval_lt)(e); Module._interval_gt = (e) => (Module._interval_gt = wasmExports.interval_gt)(e); Module._interval_le = (e) => (Module._interval_le = wasmExports.interval_le)(e); Module._interval_ge = (e) => (Module._interval_ge = wasmExports.interval_ge)(e); Module._interval_cmp = (e) => (Module._interval_cmp = wasmExports.interval_cmp)(e); Module._timestamp_mi = (e) => (Module._timestamp_mi = wasmExports.timestamp_mi)(e); Module._interval_um = (e) => (Module._interval_um = wasmExports.interval_um)(e); Module._has_fn_opclass_options = (e) => (Module._has_fn_opclass_options = wasmExports.has_fn_opclass_options)(e); Module._uuid_in = (e) => (Module._uuid_in = wasmExports.uuid_in)(e); Module._uuid_out = (e) => (Module._uuid_out = wasmExports.uuid_out)(e); Module._uuid_cmp = (e) => (Module._uuid_cmp = wasmExports.uuid_cmp)(e); Module._varbit_in = (e) => (Module._varbit_in = wasmExports.varbit_in)(e); Module._biteq = (e) => (Module._biteq = wasmExports.biteq)(e); Module._bitlt = (e) => (Module._bitlt = wasmExports.bitlt)(e); Module._bitle = (e) => (Module._bitle = wasmExports.bitle)(e); Module._bitgt = (e) => (Module._bitgt = wasmExports.bitgt)(e); Module._bitge = (e) => (Module._bitge = wasmExports.bitge)(e); Module._bitcmp = (e) => (Module._bitcmp = wasmExports.bitcmp)(e); Module._bpchareq = (e) => (Module._bpchareq = wasmExports.bpchareq)(e); Module._bpcharlt = (e) => (Module._bpcharlt = wasmExports.bpcharlt)(e); Module._bpcharle = (e) => (Module._bpcharle = wasmExports.bpcharle)(e); Module._bpchargt = (e) => (Module._bpchargt = wasmExports.bpchargt)(e); Module._bpcharge = (e) => (Module._bpcharge = wasmExports.bpcharge)(e); Module._bpcharcmp = (e) => (Module._bpcharcmp = wasmExports.bpcharcmp)(e); Module._texteq = (e) => (Module._texteq = wasmExports.texteq)(e); Module._text_lt = (e) => (Module._text_lt = wasmExports.text_lt)(e); Module._text_le = (e) => (Module._text_le = wasmExports.text_le)(e); Module._text_gt = (e) => (Module._text_gt = wasmExports.text_gt)(e); Module._text_ge = (e) => (Module._text_ge = wasmExports.text_ge)(e); Module._bttextcmp = (e) => (Module._bttextcmp = wasmExports.bttextcmp)(e); Module._byteaeq = (e) => (Module._byteaeq = wasmExports.byteaeq)(e); Module._bytealt = (e) => (Module._bytealt = wasmExports.bytealt)(e); Module._byteale = (e) => (Module._byteale = wasmExports.byteale)(e); Module._byteagt = (e) => (Module._byteagt = wasmExports.byteagt)(e); Module._byteage = (e) => (Module._byteage = wasmExports.byteage)(e); Module._byteacmp = (e) => (Module._byteacmp = wasmExports.byteacmp)(e); Module._to_hex32 = (e) => (Module._to_hex32 = wasmExports.to_hex32)(e); Module._varstr_levenshtein = (e, t2, r, a2, s4, o4, n3, _3) => (Module._varstr_levenshtein = wasmExports.varstr_levenshtein)(e, t2, r, a2, s4, o4, n3, _3); Module._pg_xml_init = (e) => (Module._pg_xml_init = wasmExports.pg_xml_init)(e); Module._xmlInitParser = () => (Module._xmlInitParser = wasmExports.xmlInitParser)(); Module._xml_ereport = (e, t2, r, a2) => (Module._xml_ereport = wasmExports.xml_ereport)(e, t2, r, a2); Module._pg_xml_done = (e, t2) => (Module._pg_xml_done = wasmExports.pg_xml_done)(e, t2); Module._xmlXPathNewContext = (e) => (Module._xmlXPathNewContext = wasmExports.xmlXPathNewContext)(e); Module._xmlXPathFreeContext = (e) => (Module._xmlXPathFreeContext = wasmExports.xmlXPathFreeContext)(e); Module._xmlFreeDoc = (e) => (Module._xmlFreeDoc = wasmExports.xmlFreeDoc)(e); Module._xmlXPathCtxtCompile = (e, t2) => (Module._xmlXPathCtxtCompile = wasmExports.xmlXPathCtxtCompile)(e, t2); Module._xmlXPathCompiledEval = (e, t2) => (Module._xmlXPathCompiledEval = wasmExports.xmlXPathCompiledEval)(e, t2); Module._xmlXPathFreeObject = (e) => (Module._xmlXPathFreeObject = wasmExports.xmlXPathFreeObject)(e); Module._xmlXPathFreeCompExpr = (e) => (Module._xmlXPathFreeCompExpr = wasmExports.xmlXPathFreeCompExpr)(e); Module._xmlStrdup = (e) => (Module._xmlStrdup = wasmExports.xmlStrdup)(e); Module._xmlEncodeSpecialChars = (e, t2) => (Module._xmlEncodeSpecialChars = wasmExports.xmlEncodeSpecialChars)(e, t2); Module._xmlStrlen = (e) => (Module._xmlStrlen = wasmExports.xmlStrlen)(e); Module._xmlBufferCreate = () => (Module._xmlBufferCreate = wasmExports.xmlBufferCreate)(); Module._xmlBufferFree = (e) => (Module._xmlBufferFree = wasmExports.xmlBufferFree)(e); Module._xmlXPathCastNodeToString = (e) => (Module._xmlXPathCastNodeToString = wasmExports.xmlXPathCastNodeToString)(e); Module._xmlNodeDump = (e, t2, r, a2, s4) => (Module._xmlNodeDump = wasmExports.xmlNodeDump)(e, t2, r, a2, s4); Module._get_typsubscript = (e, t2) => (Module._get_typsubscript = wasmExports.get_typsubscript)(e, t2); Module._CachedPlanAllowsSimpleValidityCheck = (e, t2, r) => (Module._CachedPlanAllowsSimpleValidityCheck = wasmExports.CachedPlanAllowsSimpleValidityCheck)(e, t2, r); Module._CachedPlanIsSimplyValid = (e, t2, r) => (Module._CachedPlanIsSimplyValid = wasmExports.CachedPlanIsSimplyValid)(e, t2, r); Module._GetCachedExpression = (e) => (Module._GetCachedExpression = wasmExports.GetCachedExpression)(e); Module._FreeCachedExpression = (e) => (Module._FreeCachedExpression = wasmExports.FreeCachedExpression)(e); Module._ReleaseAllPlanCacheRefsInOwner = (e) => (Module._ReleaseAllPlanCacheRefsInOwner = wasmExports.ReleaseAllPlanCacheRefsInOwner)(e); Module._in_error_recursion_trouble = () => (Module._in_error_recursion_trouble = wasmExports.in_error_recursion_trouble)(); Module._GetErrorContextStack = () => (Module._GetErrorContextStack = wasmExports.GetErrorContextStack)(); Module._find_rendezvous_variable = (e) => (Module._find_rendezvous_variable = wasmExports.find_rendezvous_variable)(e); Module._CallerFInfoFunctionCall2 = (e, t2, r, a2, s4) => (Module._CallerFInfoFunctionCall2 = wasmExports.CallerFInfoFunctionCall2)(e, t2, r, a2, s4); Module._FunctionCall0Coll = (e, t2) => (Module._FunctionCall0Coll = wasmExports.FunctionCall0Coll)(e, t2); Module._resolve_polymorphic_argtypes = (e, t2, r, a2) => (Module._resolve_polymorphic_argtypes = wasmExports.resolve_polymorphic_argtypes)(e, t2, r, a2); Module._pg_bindtextdomain = (e) => (Module._pg_bindtextdomain = wasmExports.pg_bindtextdomain)(e); Module._DefineCustomBoolVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._DefineCustomBoolVariable = wasmExports.DefineCustomBoolVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._DefineCustomIntVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineCustomIntVariable = wasmExports.DefineCustomIntVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._DefineCustomRealVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineCustomRealVariable = wasmExports.DefineCustomRealVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._DefineCustomStringVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._DefineCustomStringVariable = wasmExports.DefineCustomStringVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._DefineCustomEnumVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._DefineCustomEnumVariable = wasmExports.DefineCustomEnumVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._MarkGUCPrefixReserved = (e) => (Module._MarkGUCPrefixReserved = wasmExports.MarkGUCPrefixReserved)(e); Module._sampler_random_init_state = (e, t2) => (Module._sampler_random_init_state = wasmExports.sampler_random_init_state)(e, t2); Module._pchomp = (e) => (Module._pchomp = wasmExports.pchomp)(e); Module._PinPortal = (e) => (Module._PinPortal = wasmExports.PinPortal)(e); Module._UnpinPortal = (e) => (Module._UnpinPortal = wasmExports.UnpinPortal)(e); Module._xmlBufferWriteCHAR = (e, t2) => (Module._xmlBufferWriteCHAR = wasmExports.xmlBufferWriteCHAR)(e, t2); Module._xmlBufferWriteChar = (e, t2) => (Module._xmlBufferWriteChar = wasmExports.xmlBufferWriteChar)(e, t2); Module._xmlReadMemory = (e, t2, r, a2, s4) => (Module._xmlReadMemory = wasmExports.xmlReadMemory)(e, t2, r, a2, s4); Module._xmlDocGetRootElement = (e) => (Module._xmlDocGetRootElement = wasmExports.xmlDocGetRootElement)(e); Module._xmlXPathIsNaN = (e) => (Module._xmlXPathIsNaN = wasmExports.xmlXPathIsNaN)(e); Module._xmlXPathCastToBoolean = (e) => (Module._xmlXPathCastToBoolean = wasmExports.xmlXPathCastToBoolean)(e); Module._xmlXPathCastToNumber = (e) => (Module._xmlXPathCastToNumber = wasmExports.xmlXPathCastToNumber)(e); var ___dl_seterr = (e, t2) => (___dl_seterr = wasmExports.__dl_seterr)(e, t2); Module._gmtime = (e) => (Module._gmtime = wasmExports.gmtime)(e); var _htonl = (e) => (_htonl = wasmExports.htonl)(e), _htons = (e) => (_htons = wasmExports.htons)(e); Module._ioctl = (e, t2, r) => (Module._ioctl = wasmExports.ioctl)(e, t2, r); var _emscripten_builtin_memalign = (e, t2) => (_emscripten_builtin_memalign = wasmExports.emscripten_builtin_memalign)(e, t2), _ntohs = (e) => (_ntohs = wasmExports.ntohs)(e); Module._srand = (e) => (Module._srand = wasmExports.srand)(e); Module._rand = () => (Module._rand = wasmExports.rand)(); var __emscripten_timeout = (e, t2) => (__emscripten_timeout = wasmExports._emscripten_timeout)(e, t2), _setThrew = (e, t2) => (_setThrew = wasmExports.setThrew)(e, t2), __emscripten_tempret_set = (e) => (__emscripten_tempret_set = wasmExports._emscripten_tempret_set)(e), __emscripten_tempret_get = () => (__emscripten_tempret_get = wasmExports._emscripten_tempret_get)(), __emscripten_stack_restore = (e) => (__emscripten_stack_restore = wasmExports._emscripten_stack_restore)(e), __emscripten_stack_alloc = (e) => (__emscripten_stack_alloc = wasmExports._emscripten_stack_alloc)(e), _emscripten_stack_get_current = () => (_emscripten_stack_get_current = wasmExports.emscripten_stack_get_current)(); Module._InterruptPending = 2677872; Module._MyLatch = 2678060; Module._CritSectionCount = 2677924; Module._MyProc = 2647676; Module._pg_global_prng_state = 2624256; Module._error_context_stack = 2676168; Module._GUC_check_errdetail_string = 2681820; Module._IsUnderPostmaster = 2677953; Module._CurrentMemoryContext = 2683248; Module._stdout = 2537152; Module._debug_query_string = 2538700; Module._MyProcPort = 2678048; Module.___THREW__ = 2698916; Module.___threwValue = 2698920; Module._MyDatabaseId = 2677932; Module._TopMemoryContext = 2683252; Module._PG_exception_stack = 2676172; Module._MyProcPid = 2678024; Module._stdin = 2537e3; Module._ScanKeywords = 2374040; Module._pg_number_of_ones = 925120; Module._LocalBufferBlockPointers = 2644252; Module._BufferBlocks = 2638988; Module._wal_level = 2387920; Module._SnapshotAnyData = 2474096; Module._maintenance_work_mem = 2421576; Module._ParallelWorkerNumber = 2379480; Module._MainLWLockArray = 2645860; Module._CurrentResourceOwner = 2683296; Module._work_mem = 2421560; Module._NBuffers = 2421584; Module._bsysscan = 2625492; Module._CheckXidAlive = 2625488; Module._RecentXmin = 2474188; Module._XactIsoLevel = 2387784; Module._pgWalUsage = 2628960; Module._pgBufferUsage = 2628832; Module._TTSOpsVirtual = 2391608; Module._TransamVariables = 2625480; Module._TopTransactionContext = 2683272; Module._RmgrTable = 2379504; Module._process_shared_preload_libraries_in_progress = 2681216; Module._wal_segment_size = 2387940; Module._TopTransactionResourceOwner = 2683304; Module._arch_module_check_errdetail_string = 2638372; Module._object_access_hook = 2627600; Module._InvalidObjectAddress = 1520620; Module._check_function_bodies = 2421750; Module._post_parse_analyze_hook = 2627640; Module._ScanKeywordTokens = 1551648; Module._SPI_processed = 2628984; Module._SPI_tuptable = 2628992; Module._TTSOpsMinimalTuple = 2391712; Module._check_password_hook = 2627908; Module._ConfigReloadPending = 2638360; Module._max_parallel_maintenance_workers = 2421580; Module._DateStyle = 2421548; Module._ExecutorStart_hook = 2628808; Module._ExecutorRun_hook = 2628812; Module._ExecutorFinish_hook = 2628816; Module._ExecutorEnd_hook = 2628820; Module._SPI_result = 2628996; Module._ClientAuthentication_hook = 2629168; Module._cpu_tuple_cost = 2392168; Module._cpu_operator_cost = 2392184; Module._seq_page_cost = 2392152; Module._planner_hook = 2638056; Module._ShutdownRequestPending = 2638364; Module._MyStartTime = 2678032; Module._cluster_name = 2421800; Module._application_name = 2682044; Module._BufferDescriptors = 2638984; Module._shmem_startup_hook = 2644932; Module._ProcessUtility_hook = 2647764; Module._IntervalStyle = 2677956; Module._extra_float_digits = 2411976; Module._pg_crc32_table = 2112288; Module._xmlFree = 2523400; Module._shmem_request_hook = 2681220;
|
|
5284
|
+
var _fflush = Module._fflush = (e) => (_fflush = Module._fflush = wasmExports.fflush)(e); Module.___errno_location = () => (Module.___errno_location = wasmExports.__errno_location)(); Module._ProcessInterrupts = () => (Module._ProcessInterrupts = wasmExports.ProcessInterrupts)(); Module._errstart_cold = (e, t2) => (Module._errstart_cold = wasmExports.errstart_cold)(e, t2); Module._errcode = (e) => (Module._errcode = wasmExports.errcode)(e); Module._errmsg = (e, t2) => (Module._errmsg = wasmExports.errmsg)(e, t2); Module._errfinish = (e, t2, r) => (Module._errfinish = wasmExports.errfinish)(e, t2, r); Module._puts = (e) => (Module._puts = wasmExports.puts)(e); Module._errstart = (e, t2) => (Module._errstart = wasmExports.errstart)(e, t2); Module._errmsg_internal = (e, t2) => (Module._errmsg_internal = wasmExports.errmsg_internal)(e, t2); Module._errdetail = (e, t2) => (Module._errdetail = wasmExports.errdetail)(e, t2); Module._errhint = (e, t2) => (Module._errhint = wasmExports.errhint)(e, t2); Module._pg_parse_query = (e) => (Module._pg_parse_query = wasmExports.pg_parse_query)(e); Module._gettimeofday = (e, t2) => (Module._gettimeofday = wasmExports.gettimeofday)(e, t2); Module._raw_parser = (e, t2) => (Module._raw_parser = wasmExports.raw_parser)(e, t2); Module._initStringInfo = (e) => (Module._initStringInfo = wasmExports.initStringInfo)(e); Module._appendStringInfoString = (e, t2) => (Module._appendStringInfoString = wasmExports.appendStringInfoString)(e, t2); Module._appendStringInfo = (e, t2, r) => (Module._appendStringInfo = wasmExports.appendStringInfo)(e, t2, r); Module._errdetail_internal = (e, t2) => (Module._errdetail_internal = wasmExports.errdetail_internal)(e, t2); Module._pfree = (e) => (Module._pfree = wasmExports.pfree)(e); Module._list_make1_impl = (e, t2) => (Module._list_make1_impl = wasmExports.list_make1_impl)(e, t2); Module._QueryRewrite = (e) => (Module._QueryRewrite = wasmExports.QueryRewrite)(e); Module._pg_plan_query = (e, t2, r, a2) => (Module._pg_plan_query = wasmExports.pg_plan_query)(e, t2, r, a2); Module._palloc0 = (e) => (Module._palloc0 = wasmExports.palloc0)(e); Module._lappend = (e, t2) => (Module._lappend = wasmExports.lappend)(e, t2); Module._GetCurrentTimestamp = () => (Module._GetCurrentTimestamp = wasmExports.GetCurrentTimestamp)(); Module._pg_prng_double = (e) => (Module._pg_prng_double = wasmExports.pg_prng_double)(e); Module._pg_snprintf = (e, t2, r, a2) => (Module._pg_snprintf = wasmExports.pg_snprintf)(e, t2, r, a2); Module._die = (e) => (Module._die = wasmExports.die)(e); Module._check_stack_depth = () => (Module._check_stack_depth = wasmExports.check_stack_depth)(); Module._pre_format_elog_string = (e, t2) => (Module._pre_format_elog_string = wasmExports.pre_format_elog_string)(e, t2); Module._format_elog_string = (e, t2) => (Module._format_elog_string = wasmExports.format_elog_string)(e, t2); Module._pstrdup = (e) => (Module._pstrdup = wasmExports.pstrdup)(e); Module._SplitIdentifierString = (e, t2, r) => (Module._SplitIdentifierString = wasmExports.SplitIdentifierString)(e, t2, r); Module._list_free = (e) => (Module._list_free = wasmExports.list_free)(e); Module._pg_strcasecmp = (e, t2) => (Module._pg_strcasecmp = wasmExports.pg_strcasecmp)(e, t2); Module._guc_malloc = (e, t2) => (Module._guc_malloc = wasmExports.guc_malloc)(e, t2); Module._SetConfigOption = (e, t2, r, a2) => (Module._SetConfigOption = wasmExports.SetConfigOption)(e, t2, r, a2); Module._pg_sprintf = (e, t2, r) => (Module._pg_sprintf = wasmExports.pg_sprintf)(e, t2, r); Module._strcmp = (e, t2) => (Module._strcmp = wasmExports.strcmp)(e, t2); Module._atoi = (e) => (Module._atoi = wasmExports.atoi)(e); Module._pgl_shutdown = () => (Module._pgl_shutdown = wasmExports.pgl_shutdown)(); Module._pgl_closed = () => (Module._pgl_closed = wasmExports.pgl_closed)(); Module._MemoryContextReset = (e) => (Module._MemoryContextReset = wasmExports.MemoryContextReset)(e); Module._resetStringInfo = (e) => (Module._resetStringInfo = wasmExports.resetStringInfo)(e); Module._getc = (e) => (Module._getc = wasmExports.getc)(e); Module._appendStringInfoChar = (e, t2) => (Module._appendStringInfoChar = wasmExports.appendStringInfoChar)(e, t2); Module._strlen = (e) => (Module._strlen = wasmExports.strlen)(e); Module._strncmp = (e, t2, r) => (Module._strncmp = wasmExports.strncmp)(e, t2, r); Module._pg_fprintf = (e, t2, r) => (Module._pg_fprintf = wasmExports.pg_fprintf)(e, t2, r); Module._pgstat_report_activity = (e, t2) => (Module._pgstat_report_activity = wasmExports.pgstat_report_activity)(e, t2); Module._errhidestmt = (e) => (Module._errhidestmt = wasmExports.errhidestmt)(e); Module._GetTransactionSnapshot = () => (Module._GetTransactionSnapshot = wasmExports.GetTransactionSnapshot)(); Module._PushActiveSnapshot = (e) => (Module._PushActiveSnapshot = wasmExports.PushActiveSnapshot)(e); Module._AllocSetContextCreateInternal = (e, t2, r, a2, s4) => (Module._AllocSetContextCreateInternal = wasmExports.AllocSetContextCreateInternal)(e, t2, r, a2, s4); Module._PopActiveSnapshot = () => (Module._PopActiveSnapshot = wasmExports.PopActiveSnapshot)(); Module._CreateDestReceiver = (e) => (Module._CreateDestReceiver = wasmExports.CreateDestReceiver)(e); Module._CommitTransactionCommand = () => (Module._CommitTransactionCommand = wasmExports.CommitTransactionCommand)(); Module._CommandCounterIncrement = () => (Module._CommandCounterIncrement = wasmExports.CommandCounterIncrement)(); Module._MemoryContextDelete = (e) => (Module._MemoryContextDelete = wasmExports.MemoryContextDelete)(e); Module._StartTransactionCommand = () => (Module._StartTransactionCommand = wasmExports.StartTransactionCommand)(); Module.___wasm_setjmp_test = (e, t2) => (Module.___wasm_setjmp_test = wasmExports.__wasm_setjmp_test)(e, t2); Module._pg_printf = (e, t2) => (Module._pg_printf = wasmExports.pg_printf)(e, t2); Module.___wasm_setjmp = (e, t2, r) => (Module.___wasm_setjmp = wasmExports.__wasm_setjmp)(e, t2, r); Module._FlushErrorState = () => (Module._FlushErrorState = wasmExports.FlushErrorState)(); Module._emscripten_longjmp = (e, t2) => (Module._emscripten_longjmp = wasmExports.emscripten_longjmp)(e, t2); Module._enlargeStringInfo = (e, t2) => (Module._enlargeStringInfo = wasmExports.enlargeStringInfo)(e, t2); var _malloc = Module._malloc = (e) => (_malloc = Module._malloc = wasmExports.malloc)(e); Module._realloc = (e, t2) => (Module._realloc = wasmExports.realloc)(e, t2); Module._strspn = (e, t2) => (Module._strspn = wasmExports.strspn)(e, t2); Module._memcpy = (e, t2, r) => (Module._memcpy = wasmExports.memcpy)(e, t2, r); Module._fileno = (e) => (Module._fileno = wasmExports.fileno)(e); Module._strchr = (e, t2) => (Module._strchr = wasmExports.strchr)(e, t2); Module._free = (e) => (Module._free = wasmExports.free)(e); Module._pg_vsnprintf = (e, t2, r, a2) => (Module._pg_vsnprintf = wasmExports.pg_vsnprintf)(e, t2, r, a2); Module._strcpy = (e, t2) => (Module._strcpy = wasmExports.strcpy)(e, t2); Module._psprintf = (e, t2) => (Module._psprintf = wasmExports.psprintf)(e, t2); Module._stat = (e, t2) => (Module._stat = wasmExports.stat)(e, t2); Module._fwrite = (e, t2, r, a2) => (Module._fwrite = wasmExports.fwrite)(e, t2, r, a2); Module._strftime = (e, t2, r, a2) => (Module._strftime = wasmExports.strftime)(e, t2, r, a2); Module._strstr = (e, t2) => (Module._strstr = wasmExports.strstr)(e, t2); Module._strtol = (e, t2, r) => (Module._strtol = wasmExports.strtol)(e, t2, r); Module._ferror = (e) => (Module._ferror = wasmExports.ferror)(e); Module._clear_error = () => (Module._clear_error = wasmExports.clear_error)(); Module._interactive_one = (e, t2) => (Module._interactive_one = wasmExports.interactive_one)(e, t2); Module._pq_getmsgint = (e, t2) => (Module._pq_getmsgint = wasmExports.pq_getmsgint)(e, t2); Module._palloc = (e) => (Module._palloc = wasmExports.palloc)(e); Module._makeParamList = (e) => (Module._makeParamList = wasmExports.makeParamList)(e); Module._getTypeInputInfo = (e, t2, r) => (Module._getTypeInputInfo = wasmExports.getTypeInputInfo)(e, t2, r); Module._pnstrdup = (e, t2) => (Module._pnstrdup = wasmExports.pnstrdup)(e, t2); Module._MemoryContextSetParent = (e, t2) => (Module._MemoryContextSetParent = wasmExports.MemoryContextSetParent)(e, t2); Module._pgl_backend = () => (Module._pgl_backend = wasmExports.pgl_backend)(); Module._pgl_initdb = () => (Module._pgl_initdb = wasmExports.pgl_initdb)(); Module._main = (e, t2) => (Module._main = wasmExports.__main_argc_argv)(e, t2); Module._appendStringInfoStringQuoted = (e, t2, r) => (Module._appendStringInfoStringQuoted = wasmExports.appendStringInfoStringQuoted)(e, t2, r); Module._set_errcontext_domain = (e) => (Module._set_errcontext_domain = wasmExports.set_errcontext_domain)(e); Module._errcontext_msg = (e, t2) => (Module._errcontext_msg = wasmExports.errcontext_msg)(e, t2); Module._memchr = (e, t2, r) => (Module._memchr = wasmExports.memchr)(e, t2, r); Module._strrchr = (e, t2) => (Module._strrchr = wasmExports.strrchr)(e, t2); Module._xsltFreeStylesheet = (e) => (Module._xsltFreeStylesheet = wasmExports.xsltFreeStylesheet)(e); Module._xsltParseStylesheetDoc = (e) => (Module._xsltParseStylesheetDoc = wasmExports.xsltParseStylesheetDoc)(e); Module._xsltSaveResultToString = (e, t2, r, a2) => (Module._xsltSaveResultToString = wasmExports.xsltSaveResultToString)(e, t2, r, a2); Module._xsltCleanupGlobals = () => (Module._xsltCleanupGlobals = wasmExports.xsltCleanupGlobals)(); Module._xsltNewTransformContext = (e, t2) => (Module._xsltNewTransformContext = wasmExports.xsltNewTransformContext)(e, t2); Module._xsltFreeTransformContext = (e) => (Module._xsltFreeTransformContext = wasmExports.xsltFreeTransformContext)(e); Module._xsltApplyStylesheetUser = (e, t2, r, a2, s4, o4) => (Module._xsltApplyStylesheetUser = wasmExports.xsltApplyStylesheetUser)(e, t2, r, a2, s4, o4); Module._xsltNewSecurityPrefs = () => (Module._xsltNewSecurityPrefs = wasmExports.xsltNewSecurityPrefs)(); Module._xsltFreeSecurityPrefs = (e) => (Module._xsltFreeSecurityPrefs = wasmExports.xsltFreeSecurityPrefs)(e); Module._xsltSetSecurityPrefs = (e, t2, r) => (Module._xsltSetSecurityPrefs = wasmExports.xsltSetSecurityPrefs)(e, t2, r); Module._xsltSetCtxtSecurityPrefs = (e, t2) => (Module._xsltSetCtxtSecurityPrefs = wasmExports.xsltSetCtxtSecurityPrefs)(e, t2); Module._xsltSecurityForbid = (e, t2, r) => (Module._xsltSecurityForbid = wasmExports.xsltSecurityForbid)(e, t2, r); Module._replace_percent_placeholders = (e, t2, r, a2) => (Module._replace_percent_placeholders = wasmExports.replace_percent_placeholders)(e, t2, r, a2); Module._memset = (e, t2, r) => (Module._memset = wasmExports.memset)(e, t2, r); Module._MemoryContextAllocZero = (e, t2) => (Module._MemoryContextAllocZero = wasmExports.MemoryContextAllocZero)(e, t2); Module._MemoryContextAllocExtended = (e, t2, r) => (Module._MemoryContextAllocExtended = wasmExports.MemoryContextAllocExtended)(e, t2, r); Module._hash_bytes = (e, t2) => (Module._hash_bytes = wasmExports.hash_bytes)(e, t2); Module._memcmp = (e, t2, r) => (Module._memcmp = wasmExports.memcmp)(e, t2, r); Module._repalloc = (e, t2) => (Module._repalloc = wasmExports.repalloc)(e, t2); Module._pg_qsort = (e, t2, r, a2) => (Module._pg_qsort = wasmExports.pg_qsort)(e, t2, r, a2); Module._OpenTransientFile = (e, t2) => (Module._OpenTransientFile = wasmExports.OpenTransientFile)(e, t2); Module._errcode_for_file_access = () => (Module._errcode_for_file_access = wasmExports.errcode_for_file_access)(); Module._read = (e, t2, r) => (Module._read = wasmExports.read)(e, t2, r); Module._CloseTransientFile = (e) => (Module._CloseTransientFile = wasmExports.CloseTransientFile)(e); Module._close = (e) => (Module._close = wasmExports.close)(e); Module.___multi3 = (e, t2, r, a2, s4) => (Module.___multi3 = wasmExports.__multi3)(e, t2, r, a2, s4); Module._isalnum = (e) => (Module._isalnum = wasmExports.isalnum)(e); Module._wait_result_to_str = (e) => (Module._wait_result_to_str = wasmExports.wait_result_to_str)(e); Module._float_to_shortest_decimal_bufn = (e, t2) => (Module._float_to_shortest_decimal_bufn = wasmExports.float_to_shortest_decimal_bufn)(e, t2); Module._float_to_shortest_decimal_buf = (e, t2) => (Module._float_to_shortest_decimal_buf = wasmExports.float_to_shortest_decimal_buf)(e, t2); Module._memmove = (e, t2, r) => (Module._memmove = wasmExports.memmove)(e, t2, r); Module._pwrite = (e, t2, r, a2) => (Module._pwrite = wasmExports.pwrite)(e, t2, r, a2); Module._hash_bytes_extended = (e, t2, r) => (Module._hash_bytes_extended = wasmExports.hash_bytes_extended)(e, t2, r); var _calloc = (e, t2) => (_calloc = wasmExports.calloc)(e, t2); Module._IsValidJsonNumber = (e, t2) => (Module._IsValidJsonNumber = wasmExports.IsValidJsonNumber)(e, t2); Module._appendBinaryStringInfo = (e, t2, r) => (Module._appendBinaryStringInfo = wasmExports.appendBinaryStringInfo)(e, t2, r); Module._makeStringInfo = () => (Module._makeStringInfo = wasmExports.makeStringInfo)(); Module._GetDatabaseEncodingName = () => (Module._GetDatabaseEncodingName = wasmExports.GetDatabaseEncodingName)(); Module._ScanKeywordLookup = (e, t2) => (Module._ScanKeywordLookup = wasmExports.ScanKeywordLookup)(e, t2); Module._strtoul = (e, t2, r) => (Module._strtoul = wasmExports.strtoul)(e, t2, r); Module._sscanf = (e, t2, r) => (Module._sscanf = wasmExports.sscanf)(e, t2, r); Module._pg_prng_uint64 = (e) => (Module._pg_prng_uint64 = wasmExports.pg_prng_uint64)(e); Module._pg_prng_uint32 = (e) => (Module._pg_prng_uint32 = wasmExports.pg_prng_uint32)(e); Module._log = (e) => (Module._log = wasmExports.log)(e); Module._sin = (e) => (Module._sin = wasmExports.sin)(e); Module._forkname_to_number = (e) => (Module._forkname_to_number = wasmExports.forkname_to_number)(e); Module._unlink = (e) => (Module._unlink = wasmExports.unlink)(e); Module._pg_utf_mblen_private = (e) => (Module._pg_utf_mblen_private = wasmExports.pg_utf_mblen_private)(e); Module._bsearch = (e, t2, r, a2, s4) => (Module._bsearch = wasmExports.bsearch)(e, t2, r, a2, s4); Module._palloc_extended = (e, t2) => (Module._palloc_extended = wasmExports.palloc_extended)(e, t2); Module._appendStringInfoSpaces = (e, t2) => (Module._appendStringInfoSpaces = wasmExports.appendStringInfoSpaces)(e, t2); Module._fcntl = (e, t2, r) => (Module._fcntl = wasmExports.fcntl)(e, t2, r); Module._pg_popcount_optimized = (e, t2) => (Module._pg_popcount_optimized = wasmExports.pg_popcount_optimized)(e, t2); Module._pg_strong_random = (e, t2) => (Module._pg_strong_random = wasmExports.pg_strong_random)(e, t2); Module._open = (e, t2, r) => (Module._open = wasmExports.open)(e, t2, r); Module._pg_usleep = (e) => (Module._pg_usleep = wasmExports.pg_usleep)(e); Module._nanosleep = (e, t2) => (Module._nanosleep = wasmExports.nanosleep)(e, t2); Module._getpid = () => (Module._getpid = wasmExports.getpid)(); Module._qsort_arg = (e, t2, r, a2, s4) => (Module._qsort_arg = wasmExports.qsort_arg)(e, t2, r, a2, s4); Module._RelationGetNumberOfBlocksInFork = (e, t2) => (Module._RelationGetNumberOfBlocksInFork = wasmExports.RelationGetNumberOfBlocksInFork)(e, t2); Module._ExtendBufferedRel = (e, t2, r, a2) => (Module._ExtendBufferedRel = wasmExports.ExtendBufferedRel)(e, t2, r, a2); Module._MarkBufferDirty = (e) => (Module._MarkBufferDirty = wasmExports.MarkBufferDirty)(e); Module._XLogBeginInsert = () => (Module._XLogBeginInsert = wasmExports.XLogBeginInsert)(); Module._XLogRegisterData = (e, t2) => (Module._XLogRegisterData = wasmExports.XLogRegisterData)(e, t2); Module._XLogInsert = (e, t2) => (Module._XLogInsert = wasmExports.XLogInsert)(e, t2); Module._UnlockReleaseBuffer = (e) => (Module._UnlockReleaseBuffer = wasmExports.UnlockReleaseBuffer)(e); Module._brin_build_desc = (e) => (Module._brin_build_desc = wasmExports.brin_build_desc)(e); Module._EnterParallelMode = () => (Module._EnterParallelMode = wasmExports.EnterParallelMode)(); Module._CreateParallelContext = (e, t2, r) => (Module._CreateParallelContext = wasmExports.CreateParallelContext)(e, t2, r); Module._RegisterSnapshot = (e) => (Module._RegisterSnapshot = wasmExports.RegisterSnapshot)(e); Module._table_parallelscan_estimate = (e, t2) => (Module._table_parallelscan_estimate = wasmExports.table_parallelscan_estimate)(e, t2); Module._add_size = (e, t2) => (Module._add_size = wasmExports.add_size)(e, t2); Module._tuplesort_estimate_shared = (e) => (Module._tuplesort_estimate_shared = wasmExports.tuplesort_estimate_shared)(e); Module._InitializeParallelDSM = (e) => (Module._InitializeParallelDSM = wasmExports.InitializeParallelDSM)(e); Module._UnregisterSnapshot = (e) => (Module._UnregisterSnapshot = wasmExports.UnregisterSnapshot)(e); Module._DestroyParallelContext = (e) => (Module._DestroyParallelContext = wasmExports.DestroyParallelContext)(e); Module._ExitParallelMode = () => (Module._ExitParallelMode = wasmExports.ExitParallelMode)(); Module._shm_toc_allocate = (e, t2) => (Module._shm_toc_allocate = wasmExports.shm_toc_allocate)(e, t2); Module._ConditionVariableInit = (e) => (Module._ConditionVariableInit = wasmExports.ConditionVariableInit)(e); Module._s_init_lock_sema = (e, t2) => (Module._s_init_lock_sema = wasmExports.s_init_lock_sema)(e, t2); Module._table_parallelscan_initialize = (e, t2, r) => (Module._table_parallelscan_initialize = wasmExports.table_parallelscan_initialize)(e, t2, r); Module._tuplesort_initialize_shared = (e, t2, r) => (Module._tuplesort_initialize_shared = wasmExports.tuplesort_initialize_shared)(e, t2, r); Module._shm_toc_insert = (e, t2, r) => (Module._shm_toc_insert = wasmExports.shm_toc_insert)(e, t2, r); Module._LaunchParallelWorkers = (e) => (Module._LaunchParallelWorkers = wasmExports.LaunchParallelWorkers)(e); Module._WaitForParallelWorkersToAttach = (e) => (Module._WaitForParallelWorkersToAttach = wasmExports.WaitForParallelWorkersToAttach)(e); Module._tas_sema = (e) => (Module._tas_sema = wasmExports.tas_sema)(e); Module._s_lock = (e, t2, r, a2) => (Module._s_lock = wasmExports.s_lock)(e, t2, r, a2); Module._s_unlock_sema = (e) => (Module._s_unlock_sema = wasmExports.s_unlock_sema)(e); Module._ConditionVariableSleep = (e, t2) => (Module._ConditionVariableSleep = wasmExports.ConditionVariableSleep)(e, t2); Module._ConditionVariableCancelSleep = () => (Module._ConditionVariableCancelSleep = wasmExports.ConditionVariableCancelSleep)(); Module._tuplesort_performsort = (e) => (Module._tuplesort_performsort = wasmExports.tuplesort_performsort)(e); Module._tuplesort_end = (e) => (Module._tuplesort_end = wasmExports.tuplesort_end)(e); Module._brin_deform_tuple = (e, t2, r) => (Module._brin_deform_tuple = wasmExports.brin_deform_tuple)(e, t2, r); Module._log_newpage_buffer = (e, t2) => (Module._log_newpage_buffer = wasmExports.log_newpage_buffer)(e, t2); Module._LockBuffer = (e, t2) => (Module._LockBuffer = wasmExports.LockBuffer)(e, t2); Module._ReleaseBuffer = (e) => (Module._ReleaseBuffer = wasmExports.ReleaseBuffer)(e); Module._IndexGetRelation = (e, t2) => (Module._IndexGetRelation = wasmExports.IndexGetRelation)(e, t2); Module._table_open = (e, t2) => (Module._table_open = wasmExports.table_open)(e, t2); Module._ReadBufferExtended = (e, t2, r, a2, s4) => (Module._ReadBufferExtended = wasmExports.ReadBufferExtended)(e, t2, r, a2, s4); Module._table_close = (e, t2) => (Module._table_close = wasmExports.table_close)(e, t2); Module._build_reloptions = (e, t2, r, a2, s4, o4) => (Module._build_reloptions = wasmExports.build_reloptions)(e, t2, r, a2, s4, o4); Module._RelationGetIndexScan = (e, t2, r) => (Module._RelationGetIndexScan = wasmExports.RelationGetIndexScan)(e, t2, r); Module._pgstat_assoc_relation = (e) => (Module._pgstat_assoc_relation = wasmExports.pgstat_assoc_relation)(e); Module._index_getprocinfo = (e, t2, r) => (Module._index_getprocinfo = wasmExports.index_getprocinfo)(e, t2, r); Module._fmgr_info_copy = (e, t2, r) => (Module._fmgr_info_copy = wasmExports.fmgr_info_copy)(e, t2, r); Module._FunctionCall4Coll = (e, t2, r, a2, s4, o4) => (Module._FunctionCall4Coll = wasmExports.FunctionCall4Coll)(e, t2, r, a2, s4, o4); Module._FunctionCall1Coll = (e, t2, r) => (Module._FunctionCall1Coll = wasmExports.FunctionCall1Coll)(e, t2, r); Module._brin_free_desc = (e) => (Module._brin_free_desc = wasmExports.brin_free_desc)(e); Module._WaitForParallelWorkersToFinish = (e) => (Module._WaitForParallelWorkersToFinish = wasmExports.WaitForParallelWorkersToFinish)(e); Module._PageGetFreeSpace = (e) => (Module._PageGetFreeSpace = wasmExports.PageGetFreeSpace)(e); Module._BufferGetBlockNumber = (e) => (Module._BufferGetBlockNumber = wasmExports.BufferGetBlockNumber)(e); Module._BuildIndexInfo = (e) => (Module._BuildIndexInfo = wasmExports.BuildIndexInfo)(e); Module._Int64GetDatum = (e) => (Module._Int64GetDatum = wasmExports.Int64GetDatum)(e); Module._DirectFunctionCall2Coll = (e, t2, r, a2) => (Module._DirectFunctionCall2Coll = wasmExports.DirectFunctionCall2Coll)(e, t2, r, a2); Module._RecoveryInProgress = () => (Module._RecoveryInProgress = wasmExports.RecoveryInProgress)(); Module._GetUserIdAndSecContext = (e, t2) => (Module._GetUserIdAndSecContext = wasmExports.GetUserIdAndSecContext)(e, t2); Module._SetUserIdAndSecContext = (e, t2) => (Module._SetUserIdAndSecContext = wasmExports.SetUserIdAndSecContext)(e, t2); Module._NewGUCNestLevel = () => (Module._NewGUCNestLevel = wasmExports.NewGUCNestLevel)(); Module._RestrictSearchPath = () => (Module._RestrictSearchPath = wasmExports.RestrictSearchPath)(); Module._index_open = (e, t2) => (Module._index_open = wasmExports.index_open)(e, t2); Module._object_ownercheck = (e, t2, r) => (Module._object_ownercheck = wasmExports.object_ownercheck)(e, t2, r); Module._aclcheck_error = (e, t2, r) => (Module._aclcheck_error = wasmExports.aclcheck_error)(e, t2, r); Module._AtEOXact_GUC = (e, t2) => (Module._AtEOXact_GUC = wasmExports.AtEOXact_GUC)(e, t2); Module._relation_close = (e, t2) => (Module._relation_close = wasmExports.relation_close)(e, t2); Module._GetUserId = () => (Module._GetUserId = wasmExports.GetUserId)(); Module._ReadBuffer = (e, t2) => (Module._ReadBuffer = wasmExports.ReadBuffer)(e, t2); Module._shm_toc_lookup = (e, t2, r) => (Module._shm_toc_lookup = wasmExports.shm_toc_lookup)(e, t2, r); Module._tuplesort_attach_shared = (e, t2) => (Module._tuplesort_attach_shared = wasmExports.tuplesort_attach_shared)(e, t2); Module._index_close = (e, t2) => (Module._index_close = wasmExports.index_close)(e, t2); Module._table_beginscan_parallel = (e, t2) => (Module._table_beginscan_parallel = wasmExports.table_beginscan_parallel)(e, t2); Module._ConditionVariableSignal = (e) => (Module._ConditionVariableSignal = wasmExports.ConditionVariableSignal)(e); Module._datumCopy = (e, t2, r) => (Module._datumCopy = wasmExports.datumCopy)(e, t2, r); Module._lookup_type_cache = (e, t2) => (Module._lookup_type_cache = wasmExports.lookup_type_cache)(e, t2); Module._get_fn_opclass_options = (e) => (Module._get_fn_opclass_options = wasmExports.get_fn_opclass_options)(e); Module._pg_detoast_datum = (e) => (Module._pg_detoast_datum = wasmExports.pg_detoast_datum)(e); Module._index_getprocid = (e, t2, r) => (Module._index_getprocid = wasmExports.index_getprocid)(e, t2, r); Module._init_local_reloptions = (e, t2) => (Module._init_local_reloptions = wasmExports.init_local_reloptions)(e, t2); Module._FunctionCall2Coll = (e, t2, r, a2) => (Module._FunctionCall2Coll = wasmExports.FunctionCall2Coll)(e, t2, r, a2); Module._SysCacheGetAttrNotNull = (e, t2, r) => (Module._SysCacheGetAttrNotNull = wasmExports.SysCacheGetAttrNotNull)(e, t2, r); Module._ReleaseSysCache = (e) => (Module._ReleaseSysCache = wasmExports.ReleaseSysCache)(e); Module._fmgr_info_cxt = (e, t2, r) => (Module._fmgr_info_cxt = wasmExports.fmgr_info_cxt)(e, t2, r); Module._Float8GetDatum = (e) => (Module._Float8GetDatum = wasmExports.Float8GetDatum)(e); Module._numeric_sub = (e) => (Module._numeric_sub = wasmExports.numeric_sub)(e); Module._DirectFunctionCall1Coll = (e, t2, r) => (Module._DirectFunctionCall1Coll = wasmExports.DirectFunctionCall1Coll)(e, t2, r); Module._pg_detoast_datum_packed = (e) => (Module._pg_detoast_datum_packed = wasmExports.pg_detoast_datum_packed)(e); Module._add_local_int_reloption = (e, t2, r, a2, s4, o4, n3) => (Module._add_local_int_reloption = wasmExports.add_local_int_reloption)(e, t2, r, a2, s4, o4, n3); Module._getTypeOutputInfo = (e, t2, r) => (Module._getTypeOutputInfo = wasmExports.getTypeOutputInfo)(e, t2, r); Module._fmgr_info = (e, t2) => (Module._fmgr_info = wasmExports.fmgr_info)(e, t2); Module._OutputFunctionCall = (e, t2) => (Module._OutputFunctionCall = wasmExports.OutputFunctionCall)(e, t2); Module._cstring_to_text_with_len = (e, t2) => (Module._cstring_to_text_with_len = wasmExports.cstring_to_text_with_len)(e, t2); Module._accumArrayResult = (e, t2, r, a2, s4) => (Module._accumArrayResult = wasmExports.accumArrayResult)(e, t2, r, a2, s4); Module._makeArrayResult = (e, t2) => (Module._makeArrayResult = wasmExports.makeArrayResult)(e, t2); Module._OidOutputFunctionCall = (e, t2) => (Module._OidOutputFunctionCall = wasmExports.OidOutputFunctionCall)(e, t2); Module._cstring_to_text = (e) => (Module._cstring_to_text = wasmExports.cstring_to_text)(e); Module._PageGetExactFreeSpace = (e) => (Module._PageGetExactFreeSpace = wasmExports.PageGetExactFreeSpace)(e); Module._PageIndexTupleOverwrite = (e, t2, r, a2) => (Module._PageIndexTupleOverwrite = wasmExports.PageIndexTupleOverwrite)(e, t2, r, a2); Module._PageInit = (e, t2, r) => (Module._PageInit = wasmExports.PageInit)(e, t2, r); Module._PageAddItemExtended = (e, t2, r, a2, s4) => (Module._PageAddItemExtended = wasmExports.PageAddItemExtended)(e, t2, r, a2, s4); Module._LockRelationForExtension = (e, t2) => (Module._LockRelationForExtension = wasmExports.LockRelationForExtension)(e, t2); Module._UnlockRelationForExtension = (e, t2) => (Module._UnlockRelationForExtension = wasmExports.UnlockRelationForExtension)(e, t2); Module._smgropen = (e, t2) => (Module._smgropen = wasmExports.smgropen)(e, t2); Module._smgrpin = (e) => (Module._smgrpin = wasmExports.smgrpin)(e); Module._ItemPointerEquals = (e, t2) => (Module._ItemPointerEquals = wasmExports.ItemPointerEquals)(e, t2); Module._detoast_external_attr = (e) => (Module._detoast_external_attr = wasmExports.detoast_external_attr)(e); Module._CreateTemplateTupleDesc = (e) => (Module._CreateTemplateTupleDesc = wasmExports.CreateTemplateTupleDesc)(e); Module._TupleDescInitEntry = (e, t2, r, a2, s4, o4) => (Module._TupleDescInitEntry = wasmExports.TupleDescInitEntry)(e, t2, r, a2, s4, o4); Module._SearchSysCache1 = (e, t2) => (Module._SearchSysCache1 = wasmExports.SearchSysCache1)(e, t2); Module._SearchSysCacheList = (e, t2, r, a2, s4) => (Module._SearchSysCacheList = wasmExports.SearchSysCacheList)(e, t2, r, a2, s4); Module._check_amproc_signature = (e, t2, r, a2, s4, o4) => (Module._check_amproc_signature = wasmExports.check_amproc_signature)(e, t2, r, a2, s4, o4); Module._check_amoptsproc_signature = (e) => (Module._check_amoptsproc_signature = wasmExports.check_amoptsproc_signature)(e); Module._format_procedure = (e) => (Module._format_procedure = wasmExports.format_procedure)(e); Module._format_operator = (e) => (Module._format_operator = wasmExports.format_operator)(e); Module._check_amop_signature = (e, t2, r, a2) => (Module._check_amop_signature = wasmExports.check_amop_signature)(e, t2, r, a2); Module._identify_opfamily_groups = (e, t2) => (Module._identify_opfamily_groups = wasmExports.identify_opfamily_groups)(e, t2); Module._format_type_be = (e) => (Module._format_type_be = wasmExports.format_type_be)(e); Module._ReleaseCatCacheList = (e) => (Module._ReleaseCatCacheList = wasmExports.ReleaseCatCacheList)(e); Module._format_type_with_typemod = (e, t2) => (Module._format_type_with_typemod = wasmExports.format_type_with_typemod)(e, t2); Module._DatumGetEOHP = (e) => (Module._DatumGetEOHP = wasmExports.DatumGetEOHP)(e); Module._EOH_get_flat_size = (e) => (Module._EOH_get_flat_size = wasmExports.EOH_get_flat_size)(e); Module._EOH_flatten_into = (e, t2, r) => (Module._EOH_flatten_into = wasmExports.EOH_flatten_into)(e, t2, r); Module._getmissingattr = (e, t2, r) => (Module._getmissingattr = wasmExports.getmissingattr)(e, t2, r); Module._hash_create = (e, t2, r, a2) => (Module._hash_create = wasmExports.hash_create)(e, t2, r, a2); Module._hash_search = (e, t2, r, a2) => (Module._hash_search = wasmExports.hash_search)(e, t2, r, a2); Module._nocachegetattr = (e, t2, r) => (Module._nocachegetattr = wasmExports.nocachegetattr)(e, t2, r); Module._heap_form_tuple = (e, t2, r) => (Module._heap_form_tuple = wasmExports.heap_form_tuple)(e, t2, r); Module._heap_modify_tuple = (e, t2, r, a2, s4) => (Module._heap_modify_tuple = wasmExports.heap_modify_tuple)(e, t2, r, a2, s4); Module._heap_deform_tuple = (e, t2, r, a2) => (Module._heap_deform_tuple = wasmExports.heap_deform_tuple)(e, t2, r, a2); Module._heap_modify_tuple_by_cols = (e, t2, r, a2, s4, o4) => (Module._heap_modify_tuple_by_cols = wasmExports.heap_modify_tuple_by_cols)(e, t2, r, a2, s4, o4); Module._heap_freetuple = (e) => (Module._heap_freetuple = wasmExports.heap_freetuple)(e); Module._index_form_tuple = (e, t2, r) => (Module._index_form_tuple = wasmExports.index_form_tuple)(e, t2, r); Module._nocache_index_getattr = (e, t2, r) => (Module._nocache_index_getattr = wasmExports.nocache_index_getattr)(e, t2, r); Module._index_deform_tuple = (e, t2, r, a2) => (Module._index_deform_tuple = wasmExports.index_deform_tuple)(e, t2, r, a2); Module._slot_getsomeattrs_int = (e, t2) => (Module._slot_getsomeattrs_int = wasmExports.slot_getsomeattrs_int)(e, t2); Module._pg_ltoa = (e, t2) => (Module._pg_ltoa = wasmExports.pg_ltoa)(e, t2); Module._relation_open = (e, t2) => (Module._relation_open = wasmExports.relation_open)(e, t2); Module._LockRelationOid = (e, t2) => (Module._LockRelationOid = wasmExports.LockRelationOid)(e, t2); Module._try_relation_open = (e, t2) => (Module._try_relation_open = wasmExports.try_relation_open)(e, t2); Module._relation_openrv = (e, t2) => (Module._relation_openrv = wasmExports.relation_openrv)(e, t2); Module._RangeVarGetRelidExtended = (e, t2, r, a2, s4) => (Module._RangeVarGetRelidExtended = wasmExports.RangeVarGetRelidExtended)(e, t2, r, a2, s4); Module._add_reloption_kind = () => (Module._add_reloption_kind = wasmExports.add_reloption_kind)(); Module._register_reloptions_validator = (e, t2) => (Module._register_reloptions_validator = wasmExports.register_reloptions_validator)(e, t2); Module._add_int_reloption = (e, t2, r, a2, s4, o4, n3) => (Module._add_int_reloption = wasmExports.add_int_reloption)(e, t2, r, a2, s4, o4, n3); Module._MemoryContextStrdup = (e, t2) => (Module._MemoryContextStrdup = wasmExports.MemoryContextStrdup)(e, t2); Module._transformRelOptions = (e, t2, r, a2, s4, o4) => (Module._transformRelOptions = wasmExports.transformRelOptions)(e, t2, r, a2, s4, o4); Module._deconstruct_array_builtin = (e, t2, r, a2, s4) => (Module._deconstruct_array_builtin = wasmExports.deconstruct_array_builtin)(e, t2, r, a2, s4); Module._defGetString = (e) => (Module._defGetString = wasmExports.defGetString)(e); Module._defGetBoolean = (e) => (Module._defGetBoolean = wasmExports.defGetBoolean)(e); Module._untransformRelOptions = (e) => (Module._untransformRelOptions = wasmExports.untransformRelOptions)(e); Module._text_to_cstring = (e) => (Module._text_to_cstring = wasmExports.text_to_cstring)(e); Module._makeString = (e) => (Module._makeString = wasmExports.makeString)(e); Module._makeDefElem = (e, t2, r) => (Module._makeDefElem = wasmExports.makeDefElem)(e, t2, r); Module._heap_reloptions = (e, t2, r) => (Module._heap_reloptions = wasmExports.heap_reloptions)(e, t2, r); Module._MemoryContextAlloc = (e, t2) => (Module._MemoryContextAlloc = wasmExports.MemoryContextAlloc)(e, t2); Module._parse_bool = (e, t2) => (Module._parse_bool = wasmExports.parse_bool)(e, t2); Module._parse_int = (e, t2, r, a2) => (Module._parse_int = wasmExports.parse_int)(e, t2, r, a2); Module._parse_real = (e, t2, r, a2) => (Module._parse_real = wasmExports.parse_real)(e, t2, r, a2); Module._ScanKeyInit = (e, t2, r, a2, s4) => (Module._ScanKeyInit = wasmExports.ScanKeyInit)(e, t2, r, a2, s4); Module._dsm_segment_handle = (e) => (Module._dsm_segment_handle = wasmExports.dsm_segment_handle)(e); Module._dsm_create = (e, t2) => (Module._dsm_create = wasmExports.dsm_create)(e, t2); Module._dsm_segment_address = (e) => (Module._dsm_segment_address = wasmExports.dsm_segment_address)(e); Module._dsm_attach = (e) => (Module._dsm_attach = wasmExports.dsm_attach)(e); Module._dsm_detach = (e) => (Module._dsm_detach = wasmExports.dsm_detach)(e); Module._ShmemInitStruct = (e, t2, r) => (Module._ShmemInitStruct = wasmExports.ShmemInitStruct)(e, t2, r); Module._LWLockAcquire = (e, t2) => (Module._LWLockAcquire = wasmExports.LWLockAcquire)(e, t2); Module._LWLockRelease = (e) => (Module._LWLockRelease = wasmExports.LWLockRelease)(e); Module._LWLockInitialize = (e, t2) => (Module._LWLockInitialize = wasmExports.LWLockInitialize)(e, t2); Module._MemoryContextMemAllocated = (e, t2) => (Module._MemoryContextMemAllocated = wasmExports.MemoryContextMemAllocated)(e, t2); Module._GetCurrentCommandId = (e) => (Module._GetCurrentCommandId = wasmExports.GetCurrentCommandId)(e); Module._toast_open_indexes = (e, t2, r, a2) => (Module._toast_open_indexes = wasmExports.toast_open_indexes)(e, t2, r, a2); Module._RelationGetIndexList = (e) => (Module._RelationGetIndexList = wasmExports.RelationGetIndexList)(e); Module._systable_beginscan = (e, t2, r, a2, s4, o4) => (Module._systable_beginscan = wasmExports.systable_beginscan)(e, t2, r, a2, s4, o4); Module._systable_getnext = (e) => (Module._systable_getnext = wasmExports.systable_getnext)(e); Module._systable_endscan = (e) => (Module._systable_endscan = wasmExports.systable_endscan)(e); Module._toast_close_indexes = (e, t2, r) => (Module._toast_close_indexes = wasmExports.toast_close_indexes)(e, t2, r); Module._systable_beginscan_ordered = (e, t2, r, a2, s4) => (Module._systable_beginscan_ordered = wasmExports.systable_beginscan_ordered)(e, t2, r, a2, s4); Module._systable_getnext_ordered = (e, t2) => (Module._systable_getnext_ordered = wasmExports.systable_getnext_ordered)(e, t2); Module._systable_endscan_ordered = (e) => (Module._systable_endscan_ordered = wasmExports.systable_endscan_ordered)(e); Module._init_toast_snapshot = (e) => (Module._init_toast_snapshot = wasmExports.init_toast_snapshot)(e); Module._convert_tuples_by_position = (e, t2, r) => (Module._convert_tuples_by_position = wasmExports.convert_tuples_by_position)(e, t2, r); Module._execute_attr_map_tuple = (e, t2) => (Module._execute_attr_map_tuple = wasmExports.execute_attr_map_tuple)(e, t2); Module._ExecStoreVirtualTuple = (e) => (Module._ExecStoreVirtualTuple = wasmExports.ExecStoreVirtualTuple)(e); Module._bms_is_member = (e, t2) => (Module._bms_is_member = wasmExports.bms_is_member)(e, t2); Module._bms_add_member = (e, t2) => (Module._bms_add_member = wasmExports.bms_add_member)(e, t2); Module._CreateTupleDescCopy = (e) => (Module._CreateTupleDescCopy = wasmExports.CreateTupleDescCopy)(e); Module._DecrTupleDescRefCount = (e) => (Module._DecrTupleDescRefCount = wasmExports.DecrTupleDescRefCount)(e); Module._datumIsEqual = (e, t2, r, a2) => (Module._datumIsEqual = wasmExports.datumIsEqual)(e, t2, r, a2); Module._TupleDescInitEntryCollation = (e, t2, r) => (Module._TupleDescInitEntryCollation = wasmExports.TupleDescInitEntryCollation)(e, t2, r); Module._stringToNode = (e) => (Module._stringToNode = wasmExports.stringToNode)(e); Module._pg_detoast_datum_copy = (e) => (Module._pg_detoast_datum_copy = wasmExports.pg_detoast_datum_copy)(e); Module._get_typlenbyvalalign = (e, t2, r, a2) => (Module._get_typlenbyvalalign = wasmExports.get_typlenbyvalalign)(e, t2, r, a2); Module._deconstruct_array = (e, t2, r, a2, s4, o4, n3, _3) => (Module._deconstruct_array = wasmExports.deconstruct_array)(e, t2, r, a2, s4, o4, n3, _3); Module._tbm_add_tuples = (e, t2, r, a2) => (Module._tbm_add_tuples = wasmExports.tbm_add_tuples)(e, t2, r, a2); Module._ginPostingListDecode = (e, t2) => (Module._ginPostingListDecode = wasmExports.ginPostingListDecode)(e, t2); Module._ItemPointerCompare = (e, t2) => (Module._ItemPointerCompare = wasmExports.ItemPointerCompare)(e, t2); Module._LockPage = (e, t2, r) => (Module._LockPage = wasmExports.LockPage)(e, t2, r); Module._UnlockPage = (e, t2, r) => (Module._UnlockPage = wasmExports.UnlockPage)(e, t2, r); Module._vacuum_delay_point = () => (Module._vacuum_delay_point = wasmExports.vacuum_delay_point)(); Module._RecordFreeIndexPage = (e, t2) => (Module._RecordFreeIndexPage = wasmExports.RecordFreeIndexPage)(e, t2); Module._IndexFreeSpaceMapVacuum = (e) => (Module._IndexFreeSpaceMapVacuum = wasmExports.IndexFreeSpaceMapVacuum)(e); Module._log_newpage_range = (e, t2, r, a2, s4) => (Module._log_newpage_range = wasmExports.log_newpage_range)(e, t2, r, a2, s4); Module._GetFreeIndexPage = (e) => (Module._GetFreeIndexPage = wasmExports.GetFreeIndexPage)(e); Module._ConditionalLockBuffer = (e) => (Module._ConditionalLockBuffer = wasmExports.ConditionalLockBuffer)(e); Module._LockBufferForCleanup = (e) => (Module._LockBufferForCleanup = wasmExports.LockBufferForCleanup)(e); Module._gistcheckpage = (e, t2) => (Module._gistcheckpage = wasmExports.gistcheckpage)(e, t2); Module._PageIndexMultiDelete = (e, t2, r) => (Module._PageIndexMultiDelete = wasmExports.PageIndexMultiDelete)(e, t2, r); Module._smgrnblocks = (e, t2) => (Module._smgrnblocks = wasmExports.smgrnblocks)(e, t2); Module._list_free_deep = (e) => (Module._list_free_deep = wasmExports.list_free_deep)(e); Module._pairingheap_remove_first = (e) => (Module._pairingheap_remove_first = wasmExports.pairingheap_remove_first)(e); Module._pairingheap_add = (e, t2) => (Module._pairingheap_add = wasmExports.pairingheap_add)(e, t2); Module._float_overflow_error = () => (Module._float_overflow_error = wasmExports.float_overflow_error)(); Module._float_underflow_error = () => (Module._float_underflow_error = wasmExports.float_underflow_error)(); Module._DirectFunctionCall5Coll = (e, t2, r, a2, s4, o4, n3) => (Module._DirectFunctionCall5Coll = wasmExports.DirectFunctionCall5Coll)(e, t2, r, a2, s4, o4, n3); Module._pairingheap_allocate = (e, t2) => (Module._pairingheap_allocate = wasmExports.pairingheap_allocate)(e, t2); Module._GenerationContextCreate = (e, t2, r, a2, s4) => (Module._GenerationContextCreate = wasmExports.GenerationContextCreate)(e, t2, r, a2, s4); Module._pgstat_progress_update_param = (e, t2) => (Module._pgstat_progress_update_param = wasmExports.pgstat_progress_update_param)(e, t2); Module.__hash_getbuf = (e, t2, r, a2) => (Module.__hash_getbuf = wasmExports._hash_getbuf)(e, t2, r, a2); Module.__hash_relbuf = (e, t2) => (Module.__hash_relbuf = wasmExports._hash_relbuf)(e, t2); Module.__hash_get_indextuple_hashkey = (e) => (Module.__hash_get_indextuple_hashkey = wasmExports._hash_get_indextuple_hashkey)(e); Module.__hash_getbuf_with_strategy = (e, t2, r, a2, s4) => (Module.__hash_getbuf_with_strategy = wasmExports._hash_getbuf_with_strategy)(e, t2, r, a2, s4); Module.__hash_ovflblkno_to_bitno = (e, t2) => (Module.__hash_ovflblkno_to_bitno = wasmExports._hash_ovflblkno_to_bitno)(e, t2); Module._list_member_oid = (e, t2) => (Module._list_member_oid = wasmExports.list_member_oid)(e, t2); Module._HeapTupleSatisfiesVisibility = (e, t2, r) => (Module._HeapTupleSatisfiesVisibility = wasmExports.HeapTupleSatisfiesVisibility)(e, t2, r); Module._read_stream_begin_relation = (e, t2, r, a2, s4, o4, n3) => (Module._read_stream_begin_relation = wasmExports.read_stream_begin_relation)(e, t2, r, a2, s4, o4, n3); Module._GetAccessStrategy = (e) => (Module._GetAccessStrategy = wasmExports.GetAccessStrategy)(e); Module._FreeAccessStrategy = (e) => (Module._FreeAccessStrategy = wasmExports.FreeAccessStrategy)(e); Module._read_stream_end = (e) => (Module._read_stream_end = wasmExports.read_stream_end)(e); Module._heap_getnext = (e, t2) => (Module._heap_getnext = wasmExports.heap_getnext)(e, t2); Module._HeapTupleSatisfiesVacuum = (e, t2, r) => (Module._HeapTupleSatisfiesVacuum = wasmExports.HeapTupleSatisfiesVacuum)(e, t2, r); Module._GetMultiXactIdMembers = (e, t2, r, a2) => (Module._GetMultiXactIdMembers = wasmExports.GetMultiXactIdMembers)(e, t2, r, a2); Module._TransactionIdPrecedes = (e, t2) => (Module._TransactionIdPrecedes = wasmExports.TransactionIdPrecedes)(e, t2); Module._HeapTupleGetUpdateXid = (e) => (Module._HeapTupleGetUpdateXid = wasmExports.HeapTupleGetUpdateXid)(e); Module._visibilitymap_clear = (e, t2, r, a2) => (Module._visibilitymap_clear = wasmExports.visibilitymap_clear)(e, t2, r, a2); Module._pgstat_count_heap_insert = (e, t2) => (Module._pgstat_count_heap_insert = wasmExports.pgstat_count_heap_insert)(e, t2); Module._ExecFetchSlotHeapTuple = (e, t2, r) => (Module._ExecFetchSlotHeapTuple = wasmExports.ExecFetchSlotHeapTuple)(e, t2, r); Module._PageGetHeapFreeSpace = (e) => (Module._PageGetHeapFreeSpace = wasmExports.PageGetHeapFreeSpace)(e); Module._visibilitymap_pin = (e, t2, r) => (Module._visibilitymap_pin = wasmExports.visibilitymap_pin)(e, t2, r); Module._HeapTupleSatisfiesUpdate = (e, t2, r) => (Module._HeapTupleSatisfiesUpdate = wasmExports.HeapTupleSatisfiesUpdate)(e, t2, r); Module._TransactionIdIsCurrentTransactionId = (e) => (Module._TransactionIdIsCurrentTransactionId = wasmExports.TransactionIdIsCurrentTransactionId)(e); Module._TransactionIdDidCommit = (e) => (Module._TransactionIdDidCommit = wasmExports.TransactionIdDidCommit)(e); Module._TransactionIdIsInProgress = (e) => (Module._TransactionIdIsInProgress = wasmExports.TransactionIdIsInProgress)(e); Module._bms_free = (e) => (Module._bms_free = wasmExports.bms_free)(e); Module._bms_add_members = (e, t2) => (Module._bms_add_members = wasmExports.bms_add_members)(e, t2); Module._bms_next_member = (e, t2) => (Module._bms_next_member = wasmExports.bms_next_member)(e, t2); Module._bms_overlap = (e, t2) => (Module._bms_overlap = wasmExports.bms_overlap)(e, t2); Module._MultiXactIdPrecedes = (e, t2) => (Module._MultiXactIdPrecedes = wasmExports.MultiXactIdPrecedes)(e, t2); Module._heap_tuple_needs_eventual_freeze = (e) => (Module._heap_tuple_needs_eventual_freeze = wasmExports.heap_tuple_needs_eventual_freeze)(e); Module._PrefetchBuffer = (e, t2, r, a2) => (Module._PrefetchBuffer = wasmExports.PrefetchBuffer)(e, t2, r, a2); Module._XLogRecGetBlockTagExtended = (e, t2, r, a2, s4, o4) => (Module._XLogRecGetBlockTagExtended = wasmExports.XLogRecGetBlockTagExtended)(e, t2, r, a2, s4, o4); Module._read_stream_next_buffer = (e, t2) => (Module._read_stream_next_buffer = wasmExports.read_stream_next_buffer)(e, t2); Module._smgrexists = (e, t2) => (Module._smgrexists = wasmExports.smgrexists)(e, t2); Module._table_slot_create = (e, t2) => (Module._table_slot_create = wasmExports.table_slot_create)(e, t2); Module._ExecDropSingleTupleTableSlot = (e) => (Module._ExecDropSingleTupleTableSlot = wasmExports.ExecDropSingleTupleTableSlot)(e); Module._CreateExecutorState = () => (Module._CreateExecutorState = wasmExports.CreateExecutorState)(); Module._MakePerTupleExprContext = (e) => (Module._MakePerTupleExprContext = wasmExports.MakePerTupleExprContext)(e); Module._GetOldestNonRemovableTransactionId = (e) => (Module._GetOldestNonRemovableTransactionId = wasmExports.GetOldestNonRemovableTransactionId)(e); Module._FreeExecutorState = (e) => (Module._FreeExecutorState = wasmExports.FreeExecutorState)(e); Module._MakeSingleTupleTableSlot = (e, t2) => (Module._MakeSingleTupleTableSlot = wasmExports.MakeSingleTupleTableSlot)(e, t2); Module._ExecStoreHeapTuple = (e, t2, r) => (Module._ExecStoreHeapTuple = wasmExports.ExecStoreHeapTuple)(e, t2, r); Module._visibilitymap_get_status = (e, t2, r) => (Module._visibilitymap_get_status = wasmExports.visibilitymap_get_status)(e, t2, r); Module._ExecStoreAllNullTuple = (e) => (Module._ExecStoreAllNullTuple = wasmExports.ExecStoreAllNullTuple)(e); Module._XidInMVCCSnapshot = (e, t2) => (Module._XidInMVCCSnapshot = wasmExports.XidInMVCCSnapshot)(e, t2); Module._hash_seq_init = (e, t2) => (Module._hash_seq_init = wasmExports.hash_seq_init)(e, t2); Module._hash_seq_search = (e) => (Module._hash_seq_search = wasmExports.hash_seq_search)(e); Module._ftruncate = (e, t2) => (Module._ftruncate = wasmExports.ftruncate)(e, t2); Module._fd_fsync_fname = (e, t2) => (Module._fd_fsync_fname = wasmExports.fd_fsync_fname)(e, t2); Module._get_namespace_name = (e) => (Module._get_namespace_name = wasmExports.get_namespace_name)(e); Module._GetRecordedFreeSpace = (e, t2) => (Module._GetRecordedFreeSpace = wasmExports.GetRecordedFreeSpace)(e, t2); Module._vac_estimate_reltuples = (e, t2, r, a2) => (Module._vac_estimate_reltuples = wasmExports.vac_estimate_reltuples)(e, t2, r, a2); Module._WaitLatch = (e, t2, r, a2) => (Module._WaitLatch = wasmExports.WaitLatch)(e, t2, r, a2); Module._ResetLatch = (e) => (Module._ResetLatch = wasmExports.ResetLatch)(e); Module._clock_gettime = (e, t2) => (Module._clock_gettime = wasmExports.clock_gettime)(e, t2); Module._WalUsageAccumDiff = (e, t2, r) => (Module._WalUsageAccumDiff = wasmExports.WalUsageAccumDiff)(e, t2, r); Module._BufferUsageAccumDiff = (e, t2, r) => (Module._BufferUsageAccumDiff = wasmExports.BufferUsageAccumDiff)(e, t2, r); Module._visibilitymap_prepare_truncate = (e, t2) => (Module._visibilitymap_prepare_truncate = wasmExports.visibilitymap_prepare_truncate)(e, t2); Module._pg_class_aclcheck = (e, t2, r) => (Module._pg_class_aclcheck = wasmExports.pg_class_aclcheck)(e, t2, r); Module._btboolcmp = (e) => (Module._btboolcmp = wasmExports.btboolcmp)(e); Module._btint2cmp = (e) => (Module._btint2cmp = wasmExports.btint2cmp)(e); Module._btint4cmp = (e) => (Module._btint4cmp = wasmExports.btint4cmp)(e); Module._btint8cmp = (e) => (Module._btint8cmp = wasmExports.btint8cmp)(e); Module._btoidcmp = (e) => (Module._btoidcmp = wasmExports.btoidcmp)(e); Module._btcharcmp = (e) => (Module._btcharcmp = wasmExports.btcharcmp)(e); Module.__bt_form_posting = (e, t2, r) => (Module.__bt_form_posting = wasmExports._bt_form_posting)(e, t2, r); Module.__bt_mkscankey = (e, t2) => (Module.__bt_mkscankey = wasmExports._bt_mkscankey)(e, t2); Module.__bt_checkpage = (e, t2) => (Module.__bt_checkpage = wasmExports._bt_checkpage)(e, t2); Module.__bt_compare = (e, t2, r, a2) => (Module.__bt_compare = wasmExports._bt_compare)(e, t2, r, a2); Module.__bt_relbuf = (e, t2) => (Module.__bt_relbuf = wasmExports._bt_relbuf)(e, t2); Module.__bt_search = (e, t2, r, a2, s4) => (Module.__bt_search = wasmExports._bt_search)(e, t2, r, a2, s4); Module.__bt_binsrch_insert = (e, t2) => (Module.__bt_binsrch_insert = wasmExports._bt_binsrch_insert)(e, t2); Module.__bt_freestack = (e) => (Module.__bt_freestack = wasmExports._bt_freestack)(e); Module.__bt_metaversion = (e, t2, r) => (Module.__bt_metaversion = wasmExports._bt_metaversion)(e, t2, r); Module.__bt_allequalimage = (e, t2) => (Module.__bt_allequalimage = wasmExports._bt_allequalimage)(e, t2); Module._before_shmem_exit = (e, t2) => (Module._before_shmem_exit = wasmExports.before_shmem_exit)(e, t2); Module._cancel_before_shmem_exit = (e, t2) => (Module._cancel_before_shmem_exit = wasmExports.cancel_before_shmem_exit)(e, t2); Module._pg_re_throw = () => (Module._pg_re_throw = wasmExports.pg_re_throw)(); Module._get_opfamily_member = (e, t2, r, a2) => (Module._get_opfamily_member = wasmExports.get_opfamily_member)(e, t2, r, a2); Module.__bt_check_natts = (e, t2, r, a2) => (Module.__bt_check_natts = wasmExports._bt_check_natts)(e, t2, r, a2); Module._timestamptz_to_str = (e) => (Module._timestamptz_to_str = wasmExports.timestamptz_to_str)(e); Module._XLogRecGetBlockRefInfo = (e, t2, r, a2, s4) => (Module._XLogRecGetBlockRefInfo = wasmExports.XLogRecGetBlockRefInfo)(e, t2, r, a2, s4); Module._varstr_cmp = (e, t2, r, a2, s4) => (Module._varstr_cmp = wasmExports.varstr_cmp)(e, t2, r, a2, s4); Module._exprType = (e) => (Module._exprType = wasmExports.exprType)(e); Module._GetActiveSnapshot = () => (Module._GetActiveSnapshot = wasmExports.GetActiveSnapshot)(); Module._errdetail_relkind_not_supported = (e) => (Module._errdetail_relkind_not_supported = wasmExports.errdetail_relkind_not_supported)(e); Module._table_openrv = (e, t2) => (Module._table_openrv = wasmExports.table_openrv)(e, t2); Module._table_slot_callbacks = (e) => (Module._table_slot_callbacks = wasmExports.table_slot_callbacks)(e); Module._clamp_row_est = (e) => (Module._clamp_row_est = wasmExports.clamp_row_est)(e); Module._estimate_expression_value = (e, t2) => (Module._estimate_expression_value = wasmExports.estimate_expression_value)(e, t2); Module._XLogFlush = (e) => (Module._XLogFlush = wasmExports.XLogFlush)(e); Module._get_call_result_type = (e, t2, r) => (Module._get_call_result_type = wasmExports.get_call_result_type)(e, t2, r); Module._HeapTupleHeaderGetDatum = (e) => (Module._HeapTupleHeaderGetDatum = wasmExports.HeapTupleHeaderGetDatum)(e); Module._GenericXLogStart = (e) => (Module._GenericXLogStart = wasmExports.GenericXLogStart)(e); Module._GenericXLogRegisterBuffer = (e, t2, r) => (Module._GenericXLogRegisterBuffer = wasmExports.GenericXLogRegisterBuffer)(e, t2, r); Module._GenericXLogFinish = (e) => (Module._GenericXLogFinish = wasmExports.GenericXLogFinish)(e); Module._GenericXLogAbort = (e) => (Module._GenericXLogAbort = wasmExports.GenericXLogAbort)(e); Module._errmsg_plural = (e, t2, r, a2) => (Module._errmsg_plural = wasmExports.errmsg_plural)(e, t2, r, a2); Module._ReadNextMultiXactId = () => (Module._ReadNextMultiXactId = wasmExports.ReadNextMultiXactId)(); Module._ReadMultiXactIdRange = (e, t2) => (Module._ReadMultiXactIdRange = wasmExports.ReadMultiXactIdRange)(e, t2); Module._MultiXactIdPrecedesOrEquals = (e, t2) => (Module._MultiXactIdPrecedesOrEquals = wasmExports.MultiXactIdPrecedesOrEquals)(e, t2); Module._init_MultiFuncCall = (e) => (Module._init_MultiFuncCall = wasmExports.init_MultiFuncCall)(e); Module._TupleDescGetAttInMetadata = (e) => (Module._TupleDescGetAttInMetadata = wasmExports.TupleDescGetAttInMetadata)(e); Module._per_MultiFuncCall = (e) => (Module._per_MultiFuncCall = wasmExports.per_MultiFuncCall)(e); Module._BuildTupleFromCStrings = (e, t2) => (Module._BuildTupleFromCStrings = wasmExports.BuildTupleFromCStrings)(e, t2); Module._end_MultiFuncCall = (e, t2) => (Module._end_MultiFuncCall = wasmExports.end_MultiFuncCall)(e, t2); Module._GetCurrentSubTransactionId = () => (Module._GetCurrentSubTransactionId = wasmExports.GetCurrentSubTransactionId)(); Module._WaitForBackgroundWorkerShutdown = (e) => (Module._WaitForBackgroundWorkerShutdown = wasmExports.WaitForBackgroundWorkerShutdown)(e); Module._RegisterDynamicBackgroundWorker = (e, t2) => (Module._RegisterDynamicBackgroundWorker = wasmExports.RegisterDynamicBackgroundWorker)(e, t2); Module._BackgroundWorkerUnblockSignals = () => (Module._BackgroundWorkerUnblockSignals = wasmExports.BackgroundWorkerUnblockSignals)(); Module._BackgroundWorkerInitializeConnectionByOid = (e, t2, r) => (Module._BackgroundWorkerInitializeConnectionByOid = wasmExports.BackgroundWorkerInitializeConnectionByOid)(e, t2, r); Module._GetDatabaseEncoding = () => (Module._GetDatabaseEncoding = wasmExports.GetDatabaseEncoding)(); Module._RmgrNotFound = (e) => (Module._RmgrNotFound = wasmExports.RmgrNotFound)(e); Module._InitMaterializedSRF = (e, t2) => (Module._InitMaterializedSRF = wasmExports.InitMaterializedSRF)(e, t2); Module._tuplestore_putvalues = (e, t2, r, a2) => (Module._tuplestore_putvalues = wasmExports.tuplestore_putvalues)(e, t2, r, a2); Module._AllocateFile = (e, t2) => (Module._AllocateFile = wasmExports.AllocateFile)(e, t2); Module._FreeFile = (e) => (Module._FreeFile = wasmExports.FreeFile)(e); Module._fd_durable_rename = (e, t2, r) => (Module._fd_durable_rename = wasmExports.fd_durable_rename)(e, t2, r); Module._BlessTupleDesc = (e) => (Module._BlessTupleDesc = wasmExports.BlessTupleDesc)(e); Module._fstat = (e, t2) => (Module._fstat = wasmExports.fstat)(e, t2); Module._superuser_arg = (e) => (Module._superuser_arg = wasmExports.superuser_arg)(e); Module._wal_segment_close = (e) => (Module._wal_segment_close = wasmExports.wal_segment_close)(e); Module._wal_segment_open = (e, t2, r) => (Module._wal_segment_open = wasmExports.wal_segment_open)(e, t2, r); Module._XLogReaderAllocate = (e, t2, r, a2) => (Module._XLogReaderAllocate = wasmExports.XLogReaderAllocate)(e, t2, r, a2); Module._XLogReadRecord = (e, t2) => (Module._XLogReadRecord = wasmExports.XLogReadRecord)(e, t2); Module._XLogReaderFree = (e) => (Module._XLogReaderFree = wasmExports.XLogReaderFree)(e); Module._GetTopFullTransactionId = () => (Module._GetTopFullTransactionId = wasmExports.GetTopFullTransactionId)(); Module._GetCurrentTransactionNestLevel = () => (Module._GetCurrentTransactionNestLevel = wasmExports.GetCurrentTransactionNestLevel)(); Module._ResourceOwnerCreate = (e, t2) => (Module._ResourceOwnerCreate = wasmExports.ResourceOwnerCreate)(e, t2); Module._RegisterXactCallback = (e, t2) => (Module._RegisterXactCallback = wasmExports.RegisterXactCallback)(e, t2); Module._RegisterSubXactCallback = (e, t2) => (Module._RegisterSubXactCallback = wasmExports.RegisterSubXactCallback)(e, t2); Module._BeginInternalSubTransaction = (e) => (Module._BeginInternalSubTransaction = wasmExports.BeginInternalSubTransaction)(e); Module._ReleaseCurrentSubTransaction = () => (Module._ReleaseCurrentSubTransaction = wasmExports.ReleaseCurrentSubTransaction)(); Module._ResourceOwnerDelete = (e) => (Module._ResourceOwnerDelete = wasmExports.ResourceOwnerDelete)(e); Module._RollbackAndReleaseCurrentSubTransaction = () => (Module._RollbackAndReleaseCurrentSubTransaction = wasmExports.RollbackAndReleaseCurrentSubTransaction)(); Module._ReleaseExternalFD = () => (Module._ReleaseExternalFD = wasmExports.ReleaseExternalFD)(); Module._GetFlushRecPtr = (e) => (Module._GetFlushRecPtr = wasmExports.GetFlushRecPtr)(e); Module._GetXLogReplayRecPtr = (e) => (Module._GetXLogReplayRecPtr = wasmExports.GetXLogReplayRecPtr)(e); Module._TimestampDifferenceMilliseconds = (e, t2) => (Module._TimestampDifferenceMilliseconds = wasmExports.TimestampDifferenceMilliseconds)(e, t2); Module._numeric_in = (e) => (Module._numeric_in = wasmExports.numeric_in)(e); Module._DirectFunctionCall3Coll = (e, t2, r, a2, s4) => (Module._DirectFunctionCall3Coll = wasmExports.DirectFunctionCall3Coll)(e, t2, r, a2, s4); Module._XLogFindNextRecord = (e, t2) => (Module._XLogFindNextRecord = wasmExports.XLogFindNextRecord)(e, t2); Module._RestoreBlockImage = (e, t2, r) => (Module._RestoreBlockImage = wasmExports.RestoreBlockImage)(e, t2, r); Module._timestamptz_in = (e) => (Module._timestamptz_in = wasmExports.timestamptz_in)(e); Module._fscanf = (e, t2, r) => (Module._fscanf = wasmExports.fscanf)(e, t2, r); Module._XLogRecStoreStats = (e, t2) => (Module._XLogRecStoreStats = wasmExports.XLogRecStoreStats)(e, t2); Module._hash_get_num_entries = (e) => (Module._hash_get_num_entries = wasmExports.hash_get_num_entries)(e); Module._read_local_xlog_page_no_wait = (e, t2, r, a2, s4) => (Module._read_local_xlog_page_no_wait = wasmExports.read_local_xlog_page_no_wait)(e, t2, r, a2, s4); Module._escape_json = (e, t2) => (Module._escape_json = wasmExports.escape_json)(e, t2); Module._list_sort = (e, t2) => (Module._list_sort = wasmExports.list_sort)(e, t2); Module._pg_checksum_page = (e, t2) => (Module._pg_checksum_page = wasmExports.pg_checksum_page)(e, t2); Module._bbsink_forward_end_archive = (e) => (Module._bbsink_forward_end_archive = wasmExports.bbsink_forward_end_archive)(e); Module._bbsink_forward_begin_manifest = (e) => (Module._bbsink_forward_begin_manifest = wasmExports.bbsink_forward_begin_manifest)(e); Module._bbsink_forward_end_manifest = (e) => (Module._bbsink_forward_end_manifest = wasmExports.bbsink_forward_end_manifest)(e); Module._bbsink_forward_end_backup = (e, t2, r) => (Module._bbsink_forward_end_backup = wasmExports.bbsink_forward_end_backup)(e, t2, r); Module._bbsink_forward_cleanup = (e) => (Module._bbsink_forward_cleanup = wasmExports.bbsink_forward_cleanup)(e); Module._list_concat = (e, t2) => (Module._list_concat = wasmExports.list_concat)(e, t2); Module._bbsink_forward_begin_backup = (e) => (Module._bbsink_forward_begin_backup = wasmExports.bbsink_forward_begin_backup)(e); Module._bbsink_forward_archive_contents = (e, t2) => (Module._bbsink_forward_archive_contents = wasmExports.bbsink_forward_archive_contents)(e, t2); Module._bbsink_forward_begin_archive = (e, t2) => (Module._bbsink_forward_begin_archive = wasmExports.bbsink_forward_begin_archive)(e, t2); Module._bbsink_forward_manifest_contents = (e, t2) => (Module._bbsink_forward_manifest_contents = wasmExports.bbsink_forward_manifest_contents)(e, t2); Module._has_privs_of_role = (e, t2) => (Module._has_privs_of_role = wasmExports.has_privs_of_role)(e, t2); Module._BaseBackupAddTarget = (e, t2, r) => (Module._BaseBackupAddTarget = wasmExports.BaseBackupAddTarget)(e, t2, r); Module._list_copy = (e) => (Module._list_copy = wasmExports.list_copy)(e); Module._tuplestore_puttuple = (e, t2) => (Module._tuplestore_puttuple = wasmExports.tuplestore_puttuple)(e, t2); Module._makeRangeVar = (e, t2, r) => (Module._makeRangeVar = wasmExports.makeRangeVar)(e, t2, r); Module._DefineIndex = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineIndex = wasmExports.DefineIndex)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._fread = (e, t2, r, a2) => (Module._fread = wasmExports.fread)(e, t2, r, a2); Module._clearerr = (e) => (Module._clearerr = wasmExports.clearerr)(e); Module._copyObjectImpl = (e) => (Module._copyObjectImpl = wasmExports.copyObjectImpl)(e); Module._lappend_oid = (e, t2) => (Module._lappend_oid = wasmExports.lappend_oid)(e, t2); Module._makeTypeNameFromNameList = (e) => (Module._makeTypeNameFromNameList = wasmExports.makeTypeNameFromNameList)(e); Module._CatalogTupleUpdate = (e, t2, r) => (Module._CatalogTupleUpdate = wasmExports.CatalogTupleUpdate)(e, t2, r); Module._get_rel_name = (e) => (Module._get_rel_name = wasmExports.get_rel_name)(e); Module._CatalogTupleDelete = (e, t2) => (Module._CatalogTupleDelete = wasmExports.CatalogTupleDelete)(e, t2); Module._CatalogTupleInsert = (e, t2) => (Module._CatalogTupleInsert = wasmExports.CatalogTupleInsert)(e, t2); Module._recordDependencyOn = (e, t2, r) => (Module._recordDependencyOn = wasmExports.recordDependencyOn)(e, t2, r); Module._get_element_type = (e) => (Module._get_element_type = wasmExports.get_element_type)(e); Module._object_aclcheck = (e, t2, r, a2) => (Module._object_aclcheck = wasmExports.object_aclcheck)(e, t2, r, a2); Module._superuser = () => (Module._superuser = wasmExports.superuser)(); Module._SearchSysCacheAttName = (e, t2) => (Module._SearchSysCacheAttName = wasmExports.SearchSysCacheAttName)(e, t2); Module._new_object_addresses = () => (Module._new_object_addresses = wasmExports.new_object_addresses)(); Module._free_object_addresses = (e) => (Module._free_object_addresses = wasmExports.free_object_addresses)(e); Module._performMultipleDeletions = (e, t2, r) => (Module._performMultipleDeletions = wasmExports.performMultipleDeletions)(e, t2, r); Module._recordDependencyOnExpr = (e, t2, r, a2) => (Module._recordDependencyOnExpr = wasmExports.recordDependencyOnExpr)(e, t2, r, a2); Module._query_tree_walker_impl = (e, t2, r, a2) => (Module._query_tree_walker_impl = wasmExports.query_tree_walker_impl)(e, t2, r, a2); Module._expression_tree_walker_impl = (e, t2, r) => (Module._expression_tree_walker_impl = wasmExports.expression_tree_walker_impl)(e, t2, r); Module._add_exact_object_address = (e, t2) => (Module._add_exact_object_address = wasmExports.add_exact_object_address)(e, t2); Module._get_rel_relkind = (e) => (Module._get_rel_relkind = wasmExports.get_rel_relkind)(e); Module._get_typtype = (e) => (Module._get_typtype = wasmExports.get_typtype)(e); Module._list_delete_last = (e) => (Module._list_delete_last = wasmExports.list_delete_last)(e); Module._type_is_collatable = (e) => (Module._type_is_collatable = wasmExports.type_is_collatable)(e); Module._GetSysCacheOid = (e, t2, r, a2, s4, o4) => (Module._GetSysCacheOid = wasmExports.GetSysCacheOid)(e, t2, r, a2, s4, o4); Module._CheckTableNotInUse = (e, t2) => (Module._CheckTableNotInUse = wasmExports.CheckTableNotInUse)(e, t2); Module._construct_array = (e, t2, r, a2, s4, o4) => (Module._construct_array = wasmExports.construct_array)(e, t2, r, a2, s4, o4); Module._make_parsestate = (e) => (Module._make_parsestate = wasmExports.make_parsestate)(e); Module._transformExpr = (e, t2, r) => (Module._transformExpr = wasmExports.transformExpr)(e, t2, r); Module._equal = (e, t2) => (Module._equal = wasmExports.equal)(e, t2); Module._pull_var_clause = (e, t2) => (Module._pull_var_clause = wasmExports.pull_var_clause)(e, t2); Module._get_attname = (e, t2, r) => (Module._get_attname = wasmExports.get_attname)(e, t2, r); Module._coerce_to_target_type = (e, t2, r, a2, s4, o4, n3, _3) => (Module._coerce_to_target_type = wasmExports.coerce_to_target_type)(e, t2, r, a2, s4, o4, n3, _3); Module._nodeToString = (e) => (Module._nodeToString = wasmExports.nodeToString)(e); Module._parser_errposition = (e, t2) => (Module._parser_errposition = wasmExports.parser_errposition)(e, t2); Module._exprTypmod = (e) => (Module._exprTypmod = wasmExports.exprTypmod)(e); Module._get_base_element_type = (e) => (Module._get_base_element_type = wasmExports.get_base_element_type)(e); Module._SystemFuncName = (e) => (Module._SystemFuncName = wasmExports.SystemFuncName)(e); Module._CreateTrigger = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._CreateTrigger = wasmExports.CreateTrigger)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._plan_create_index_workers = (e, t2) => (Module._plan_create_index_workers = wasmExports.plan_create_index_workers)(e, t2); Module._get_rel_namespace = (e) => (Module._get_rel_namespace = wasmExports.get_rel_namespace)(e); Module._ConditionalLockRelationOid = (e, t2) => (Module._ConditionalLockRelationOid = wasmExports.ConditionalLockRelationOid)(e, t2); Module._RelnameGetRelid = (e) => (Module._RelnameGetRelid = wasmExports.RelnameGetRelid)(e); Module._get_relkind_objtype = (e) => (Module._get_relkind_objtype = wasmExports.get_relkind_objtype)(e); Module._RelationIsVisible = (e) => (Module._RelationIsVisible = wasmExports.RelationIsVisible)(e); Module._get_func_arg_info = (e, t2, r, a2) => (Module._get_func_arg_info = wasmExports.get_func_arg_info)(e, t2, r, a2); Module._NameListToString = (e) => (Module._NameListToString = wasmExports.NameListToString)(e); Module._OpernameGetOprid = (e, t2, r) => (Module._OpernameGetOprid = wasmExports.OpernameGetOprid)(e, t2, r); Module._makeRangeVarFromNameList = (e) => (Module._makeRangeVarFromNameList = wasmExports.makeRangeVarFromNameList)(e); Module._quote_identifier = (e) => (Module._quote_identifier = wasmExports.quote_identifier)(e); Module._GetSearchPathMatcher = (e) => (Module._GetSearchPathMatcher = wasmExports.GetSearchPathMatcher)(e); Module._SearchPathMatchesCurrentEnvironment = (e) => (Module._SearchPathMatchesCurrentEnvironment = wasmExports.SearchPathMatchesCurrentEnvironment)(e); Module._get_collation_oid = (e, t2) => (Module._get_collation_oid = wasmExports.get_collation_oid)(e, t2); Module._CacheRegisterSyscacheCallback = (e, t2, r) => (Module._CacheRegisterSyscacheCallback = wasmExports.CacheRegisterSyscacheCallback)(e, t2, r); Module._get_extension_oid = (e, t2) => (Module._get_extension_oid = wasmExports.get_extension_oid)(e, t2); Module._get_role_oid = (e, t2) => (Module._get_role_oid = wasmExports.get_role_oid)(e, t2); Module._GetForeignServerByName = (e, t2) => (Module._GetForeignServerByName = wasmExports.GetForeignServerByName)(e, t2); Module._typeStringToTypeName = (e, t2) => (Module._typeStringToTypeName = wasmExports.typeStringToTypeName)(e, t2); Module._list_make2_impl = (e, t2, r) => (Module._list_make2_impl = wasmExports.list_make2_impl)(e, t2, r); Module._GetUserNameFromId = (e, t2) => (Module._GetUserNameFromId = wasmExports.GetUserNameFromId)(e, t2); Module._format_type_extended = (e, t2, r) => (Module._format_type_extended = wasmExports.format_type_extended)(e, t2, r); Module._quote_qualified_identifier = (e, t2) => (Module._quote_qualified_identifier = wasmExports.quote_qualified_identifier)(e, t2); Module._get_tablespace_name = (e) => (Module._get_tablespace_name = wasmExports.get_tablespace_name)(e); Module._GetForeignServerExtended = (e, t2) => (Module._GetForeignServerExtended = wasmExports.GetForeignServerExtended)(e, t2); Module._GetForeignServer = (e) => (Module._GetForeignServer = wasmExports.GetForeignServer)(e); Module._construct_empty_array = (e) => (Module._construct_empty_array = wasmExports.construct_empty_array)(e); Module._format_type_be_qualified = (e) => (Module._format_type_be_qualified = wasmExports.format_type_be_qualified)(e); Module._get_namespace_name_or_temp = (e) => (Module._get_namespace_name_or_temp = wasmExports.get_namespace_name_or_temp)(e); Module._list_make3_impl = (e, t2, r, a2) => (Module._list_make3_impl = wasmExports.list_make3_impl)(e, t2, r, a2); Module._construct_md_array = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._construct_md_array = wasmExports.construct_md_array)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._pull_varattnos = (e, t2, r) => (Module._pull_varattnos = wasmExports.pull_varattnos)(e, t2, r); Module._get_func_name = (e) => (Module._get_func_name = wasmExports.get_func_name)(e); Module._construct_array_builtin = (e, t2, r) => (Module._construct_array_builtin = wasmExports.construct_array_builtin)(e, t2, r); Module._makeObjectName = (e, t2, r) => (Module._makeObjectName = wasmExports.makeObjectName)(e, t2, r); Module._get_primary_key_attnos = (e, t2, r) => (Module._get_primary_key_attnos = wasmExports.get_primary_key_attnos)(e, t2, r); Module._bms_is_subset = (e, t2) => (Module._bms_is_subset = wasmExports.bms_is_subset)(e, t2); Module._getExtensionOfObject = (e, t2) => (Module._getExtensionOfObject = wasmExports.getExtensionOfObject)(e, t2); Module._find_inheritance_children = (e, t2) => (Module._find_inheritance_children = wasmExports.find_inheritance_children)(e, t2); Module._lappend_int = (e, t2) => (Module._lappend_int = wasmExports.lappend_int)(e, t2); Module._has_superclass = (e) => (Module._has_superclass = wasmExports.has_superclass)(e); Module._CheckFunctionValidatorAccess = (e, t2) => (Module._CheckFunctionValidatorAccess = wasmExports.CheckFunctionValidatorAccess)(e, t2); Module._AcquireRewriteLocks = (e, t2, r) => (Module._AcquireRewriteLocks = wasmExports.AcquireRewriteLocks)(e, t2, r); Module._function_parse_error_transpose = (e) => (Module._function_parse_error_transpose = wasmExports.function_parse_error_transpose)(e); Module._geterrposition = () => (Module._geterrposition = wasmExports.geterrposition)(); Module._getinternalerrposition = () => (Module._getinternalerrposition = wasmExports.getinternalerrposition)(); Module._pg_mblen = (e) => (Module._pg_mblen = wasmExports.pg_mblen)(e); Module._pg_mbstrlen_with_len = (e, t2) => (Module._pg_mbstrlen_with_len = wasmExports.pg_mbstrlen_with_len)(e, t2); Module._errposition = (e) => (Module._errposition = wasmExports.errposition)(e); Module._internalerrposition = (e) => (Module._internalerrposition = wasmExports.internalerrposition)(e); Module._internalerrquery = (e) => (Module._internalerrquery = wasmExports.internalerrquery)(e); Module._list_delete_nth_cell = (e, t2) => (Module._list_delete_nth_cell = wasmExports.list_delete_nth_cell)(e, t2); Module._get_array_type = (e) => (Module._get_array_type = wasmExports.get_array_type)(e); Module._smgrtruncate2 = (e, t2, r, a2, s4) => (Module._smgrtruncate2 = wasmExports.smgrtruncate2)(e, t2, r, a2, s4); Module._smgrreadv = (e, t2, r, a2, s4) => (Module._smgrreadv = wasmExports.smgrreadv)(e, t2, r, a2, s4); Module._NewRelationCreateToastTable = (e, t2) => (Module._NewRelationCreateToastTable = wasmExports.NewRelationCreateToastTable)(e, t2); Module._transformStmt = (e, t2) => (Module._transformStmt = wasmExports.transformStmt)(e, t2); Module._exprLocation = (e) => (Module._exprLocation = wasmExports.exprLocation)(e); Module._ParseFuncOrColumn = (e, t2, r, a2, s4, o4, n3) => (Module._ParseFuncOrColumn = wasmExports.ParseFuncOrColumn)(e, t2, r, a2, s4, o4, n3); Module._exprCollation = (e) => (Module._exprCollation = wasmExports.exprCollation)(e); Module._transformDistinctClause = (e, t2, r, a2) => (Module._transformDistinctClause = wasmExports.transformDistinctClause)(e, t2, r, a2); Module._makeTargetEntry = (e, t2, r, a2) => (Module._makeTargetEntry = wasmExports.makeTargetEntry)(e, t2, r, a2); Module._makeAlias = (e, t2) => (Module._makeAlias = wasmExports.makeAlias)(e, t2); Module._addRangeTableEntryForSubquery = (e, t2, r, a2, s4) => (Module._addRangeTableEntryForSubquery = wasmExports.addRangeTableEntryForSubquery)(e, t2, r, a2, s4); Module._makeVar = (e, t2, r, a2, s4, o4) => (Module._makeVar = wasmExports.makeVar)(e, t2, r, a2, s4, o4); Module._makeBoolean = (e) => (Module._makeBoolean = wasmExports.makeBoolean)(e); Module._makeInteger = (e) => (Module._makeInteger = wasmExports.makeInteger)(e); Module._makeTypeName = (e) => (Module._makeTypeName = wasmExports.makeTypeName)(e); Module._makeFuncCall = (e, t2, r, a2) => (Module._makeFuncCall = wasmExports.makeFuncCall)(e, t2, r, a2); Module._list_make4_impl = (e, t2, r, a2, s4) => (Module._list_make4_impl = wasmExports.list_make4_impl)(e, t2, r, a2, s4); Module._get_sortgroupclause_tle = (e, t2) => (Module._get_sortgroupclause_tle = wasmExports.get_sortgroupclause_tle)(e, t2); Module._flatten_join_alias_vars = (e, t2, r) => (Module._flatten_join_alias_vars = wasmExports.flatten_join_alias_vars)(e, t2, r); Module._list_member_int = (e, t2) => (Module._list_member_int = wasmExports.list_member_int)(e, t2); Module._addRangeTableEntryForENR = (e, t2, r) => (Module._addRangeTableEntryForENR = wasmExports.addRangeTableEntryForENR)(e, t2, r); Module._typenameTypeIdAndMod = (e, t2, r, a2) => (Module._typenameTypeIdAndMod = wasmExports.typenameTypeIdAndMod)(e, t2, r, a2); Module._get_typcollation = (e) => (Module._get_typcollation = wasmExports.get_typcollation)(e); Module._strip_implicit_coercions = (e) => (Module._strip_implicit_coercions = wasmExports.strip_implicit_coercions)(e); Module._get_sortgroupref_tle = (e, t2) => (Module._get_sortgroupref_tle = wasmExports.get_sortgroupref_tle)(e, t2); Module._contain_aggs_of_level = (e, t2) => (Module._contain_aggs_of_level = wasmExports.contain_aggs_of_level)(e, t2); Module._typeidType = (e) => (Module._typeidType = wasmExports.typeidType)(e); Module._typeTypeCollation = (e) => (Module._typeTypeCollation = wasmExports.typeTypeCollation)(e); Module._typeLen = (e) => (Module._typeLen = wasmExports.typeLen)(e); Module._typeByVal = (e) => (Module._typeByVal = wasmExports.typeByVal)(e); Module._makeConst = (e, t2, r, a2, s4, o4, n3) => (Module._makeConst = wasmExports.makeConst)(e, t2, r, a2, s4, o4, n3); Module._lookup_rowtype_tupdesc = (e, t2) => (Module._lookup_rowtype_tupdesc = wasmExports.lookup_rowtype_tupdesc)(e, t2); Module._bms_del_member = (e, t2) => (Module._bms_del_member = wasmExports.bms_del_member)(e, t2); Module._list_member = (e, t2) => (Module._list_member = wasmExports.list_member)(e, t2); Module._type_is_rowtype = (e) => (Module._type_is_rowtype = wasmExports.type_is_rowtype)(e); Module._bit_in = (e) => (Module._bit_in = wasmExports.bit_in)(e); Module._bms_union = (e, t2) => (Module._bms_union = wasmExports.bms_union)(e, t2); Module._varstr_levenshtein_less_equal = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._varstr_levenshtein_less_equal = wasmExports.varstr_levenshtein_less_equal)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._errsave_start = (e, t2) => (Module._errsave_start = wasmExports.errsave_start)(e, t2); Module._errsave_finish = (e, t2, r, a2) => (Module._errsave_finish = wasmExports.errsave_finish)(e, t2, r, a2); Module._makeColumnDef = (e, t2, r, a2) => (Module._makeColumnDef = wasmExports.makeColumnDef)(e, t2, r, a2); Module._GetDefaultOpClass = (e, t2) => (Module._GetDefaultOpClass = wasmExports.GetDefaultOpClass)(e, t2); Module._scanner_init = (e, t2, r, a2) => (Module._scanner_init = wasmExports.scanner_init)(e, t2, r, a2); Module._scanner_finish = (e) => (Module._scanner_finish = wasmExports.scanner_finish)(e); Module._core_yylex = (e, t2, r) => (Module._core_yylex = wasmExports.core_yylex)(e, t2, r); Module._isxdigit = (e) => (Module._isxdigit = wasmExports.isxdigit)(e); Module._scanner_isspace = (e) => (Module._scanner_isspace = wasmExports.scanner_isspace)(e); Module._truncate_identifier = (e, t2, r) => (Module._truncate_identifier = wasmExports.truncate_identifier)(e, t2, r); Module._pg_database_encoding_max_length = () => (Module._pg_database_encoding_max_length = wasmExports.pg_database_encoding_max_length)(); Module._namein = (e) => (Module._namein = wasmExports.namein)(e); Module._BlockSampler_Init = (e, t2, r, a2) => (Module._BlockSampler_Init = wasmExports.BlockSampler_Init)(e, t2, r, a2); Module._reservoir_init_selection_state = (e, t2) => (Module._reservoir_init_selection_state = wasmExports.reservoir_init_selection_state)(e, t2); Module._reservoir_get_next_S = (e, t2, r) => (Module._reservoir_get_next_S = wasmExports.reservoir_get_next_S)(e, t2, r); Module._sampler_random_fract = (e) => (Module._sampler_random_fract = wasmExports.sampler_random_fract)(e); Module._BlockSampler_HasMore = (e) => (Module._BlockSampler_HasMore = wasmExports.BlockSampler_HasMore)(e); Module._BlockSampler_Next = (e) => (Module._BlockSampler_Next = wasmExports.BlockSampler_Next)(e); Module._Async_Notify = (e, t2) => (Module._Async_Notify = wasmExports.Async_Notify)(e, t2); Module._RangeVarCallbackMaintainsTable = (e, t2, r, a2) => (Module._RangeVarCallbackMaintainsTable = wasmExports.RangeVarCallbackMaintainsTable)(e, t2, r, a2); Module._make_new_heap = (e, t2, r, a2, s4) => (Module._make_new_heap = wasmExports.make_new_heap)(e, t2, r, a2, s4); Module._finish_heap_swap = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._finish_heap_swap = wasmExports.finish_heap_swap)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._wasm_OpenPipeStream = (e, t2) => (Module._wasm_OpenPipeStream = wasmExports.wasm_OpenPipeStream)(e, t2); Module._ClosePipeStream = (e) => (Module._ClosePipeStream = wasmExports.ClosePipeStream)(e); Module._BeginCopyFrom = (e, t2, r, a2, s4, o4, n3, _3) => (Module._BeginCopyFrom = wasmExports.BeginCopyFrom)(e, t2, r, a2, s4, o4, n3, _3); Module._EndCopyFrom = (e) => (Module._EndCopyFrom = wasmExports.EndCopyFrom)(e); Module._ProcessCopyOptions = (e, t2, r, a2) => (Module._ProcessCopyOptions = wasmExports.ProcessCopyOptions)(e, t2, r, a2); Module._CopyFromErrorCallback = (e) => (Module._CopyFromErrorCallback = wasmExports.CopyFromErrorCallback)(e); Module._NextCopyFrom = (e, t2, r, a2) => (Module._NextCopyFrom = wasmExports.NextCopyFrom)(e, t2, r, a2); Module._ExecInitExpr = (e, t2) => (Module._ExecInitExpr = wasmExports.ExecInitExpr)(e, t2); Module._tolower = (e) => (Module._tolower = wasmExports.tolower)(e); Module._PushCopiedSnapshot = (e) => (Module._PushCopiedSnapshot = wasmExports.PushCopiedSnapshot)(e); Module._UpdateActiveSnapshotCommandId = () => (Module._UpdateActiveSnapshotCommandId = wasmExports.UpdateActiveSnapshotCommandId)(); Module._CreateQueryDesc = (e, t2, r, a2, s4, o4, n3, _3) => (Module._CreateQueryDesc = wasmExports.CreateQueryDesc)(e, t2, r, a2, s4, o4, n3, _3); Module._ExecutorStart = (e, t2) => (Module._ExecutorStart = wasmExports.ExecutorStart)(e, t2); Module._ExecutorFinish = (e) => (Module._ExecutorFinish = wasmExports.ExecutorFinish)(e); Module._ExecutorEnd = (e) => (Module._ExecutorEnd = wasmExports.ExecutorEnd)(e); Module._FreeQueryDesc = (e) => (Module._FreeQueryDesc = wasmExports.FreeQueryDesc)(e); Module._pg_server_to_any = (e, t2, r) => (Module._pg_server_to_any = wasmExports.pg_server_to_any)(e, t2, r); Module._ExecutorRun = (e, t2, r, a2) => (Module._ExecutorRun = wasmExports.ExecutorRun)(e, t2, r, a2); Module._CreateTableAsRelExists = (e) => (Module._CreateTableAsRelExists = wasmExports.CreateTableAsRelExists)(e); Module._DefineRelation = (e, t2, r, a2, s4, o4) => (Module._DefineRelation = wasmExports.DefineRelation)(e, t2, r, a2, s4, o4); Module._oidin = (e) => (Module._oidin = wasmExports.oidin)(e); Module._GetCommandTagName = (e) => (Module._GetCommandTagName = wasmExports.GetCommandTagName)(e); Module._ExplainBeginOutput = (e) => (Module._ExplainBeginOutput = wasmExports.ExplainBeginOutput)(e); Module._NewExplainState = () => (Module._NewExplainState = wasmExports.NewExplainState)(); Module._ExplainEndOutput = (e) => (Module._ExplainEndOutput = wasmExports.ExplainEndOutput)(e); Module._ExplainPrintPlan = (e, t2) => (Module._ExplainPrintPlan = wasmExports.ExplainPrintPlan)(e, t2); Module._ExplainPrintTriggers = (e, t2) => (Module._ExplainPrintTriggers = wasmExports.ExplainPrintTriggers)(e, t2); Module._ExplainPrintJITSummary = (e, t2) => (Module._ExplainPrintJITSummary = wasmExports.ExplainPrintJITSummary)(e, t2); Module._InstrEndLoop = (e) => (Module._InstrEndLoop = wasmExports.InstrEndLoop)(e); Module._ExplainPropertyInteger = (e, t2, r, a2) => (Module._ExplainPropertyInteger = wasmExports.ExplainPropertyInteger)(e, t2, r, a2); Module._ExplainQueryText = (e, t2) => (Module._ExplainQueryText = wasmExports.ExplainQueryText)(e, t2); Module._ExplainPropertyText = (e, t2, r) => (Module._ExplainPropertyText = wasmExports.ExplainPropertyText)(e, t2, r); Module._ExplainQueryParameters = (e, t2, r) => (Module._ExplainQueryParameters = wasmExports.ExplainQueryParameters)(e, t2, r); Module._get_func_namespace = (e) => (Module._get_func_namespace = wasmExports.get_func_namespace)(e); Module._get_rel_type_id = (e) => (Module._get_rel_type_id = wasmExports.get_rel_type_id)(e); Module._set_config_option = (e, t2, r, a2, s4, o4, n3, _3) => (Module._set_config_option = wasmExports.set_config_option)(e, t2, r, a2, s4, o4, n3, _3); Module._pg_any_to_server = (e, t2, r) => (Module._pg_any_to_server = wasmExports.pg_any_to_server)(e, t2, r); Module._DirectFunctionCall4Coll = (e, t2, r, a2, s4, o4) => (Module._DirectFunctionCall4Coll = wasmExports.DirectFunctionCall4Coll)(e, t2, r, a2, s4, o4); Module._list_delete_cell = (e, t2) => (Module._list_delete_cell = wasmExports.list_delete_cell)(e, t2); Module._GetForeignDataWrapper = (e) => (Module._GetForeignDataWrapper = wasmExports.GetForeignDataWrapper)(e); Module._CreateExprContext = (e) => (Module._CreateExprContext = wasmExports.CreateExprContext)(e); Module._EnsurePortalSnapshotExists = () => (Module._EnsurePortalSnapshotExists = wasmExports.EnsurePortalSnapshotExists)(); Module._CheckIndexCompatible = (e, t2, r, a2) => (Module._CheckIndexCompatible = wasmExports.CheckIndexCompatible)(e, t2, r, a2); Module._pgstat_count_truncate = (e) => (Module._pgstat_count_truncate = wasmExports.pgstat_count_truncate)(e); Module._SPI_connect = () => (Module._SPI_connect = wasmExports.SPI_connect)(); Module._SPI_exec = (e, t2) => (Module._SPI_exec = wasmExports.SPI_exec)(e, t2); Module._SPI_execute = (e, t2, r) => (Module._SPI_execute = wasmExports.SPI_execute)(e, t2, r); Module._SPI_getvalue = (e, t2, r) => (Module._SPI_getvalue = wasmExports.SPI_getvalue)(e, t2, r); Module._generate_operator_clause = (e, t2, r, a2, s4, o4) => (Module._generate_operator_clause = wasmExports.generate_operator_clause)(e, t2, r, a2, s4, o4); Module._SPI_finish = () => (Module._SPI_finish = wasmExports.SPI_finish)(); Module._CreateTransientRelDestReceiver = (e) => (Module._CreateTransientRelDestReceiver = wasmExports.CreateTransientRelDestReceiver)(e); Module._MemoryContextSetIdentifier = (e, t2) => (Module._MemoryContextSetIdentifier = wasmExports.MemoryContextSetIdentifier)(e, t2); Module._checkExprHasSubLink = (e) => (Module._checkExprHasSubLink = wasmExports.checkExprHasSubLink)(e); Module._SetTuplestoreDestReceiverParams = (e, t2, r, a2, s4, o4) => (Module._SetTuplestoreDestReceiverParams = wasmExports.SetTuplestoreDestReceiverParams)(e, t2, r, a2, s4, o4); Module._tuplestore_rescan = (e) => (Module._tuplestore_rescan = wasmExports.tuplestore_rescan)(e); Module._MemoryContextDeleteChildren = (e) => (Module._MemoryContextDeleteChildren = wasmExports.MemoryContextDeleteChildren)(e); Module._ReleaseCachedPlan = (e, t2) => (Module._ReleaseCachedPlan = wasmExports.ReleaseCachedPlan)(e, t2); Module._nextval = (e) => (Module._nextval = wasmExports.nextval)(e); Module._textToQualifiedNameList = (e) => (Module._textToQualifiedNameList = wasmExports.textToQualifiedNameList)(e); Module._tuplestore_gettupleslot = (e, t2, r, a2) => (Module._tuplestore_gettupleslot = wasmExports.tuplestore_gettupleslot)(e, t2, r, a2); Module._list_delete = (e, t2) => (Module._list_delete = wasmExports.list_delete)(e, t2); Module._tuplestore_end = (e) => (Module._tuplestore_end = wasmExports.tuplestore_end)(e); Module._quote_literal_cstr = (e) => (Module._quote_literal_cstr = wasmExports.quote_literal_cstr)(e); Module._contain_mutable_functions = (e) => (Module._contain_mutable_functions = wasmExports.contain_mutable_functions)(e); Module._ExecuteTruncateGuts = (e, t2, r, a2, s4, o4) => (Module._ExecuteTruncateGuts = wasmExports.ExecuteTruncateGuts)(e, t2, r, a2, s4, o4); Module._bms_make_singleton = (e) => (Module._bms_make_singleton = wasmExports.bms_make_singleton)(e); Module._tuplestore_puttupleslot = (e, t2) => (Module._tuplestore_puttupleslot = wasmExports.tuplestore_puttupleslot)(e, t2); Module._tuplestore_begin_heap = (e, t2, r) => (Module._tuplestore_begin_heap = wasmExports.tuplestore_begin_heap)(e, t2, r); Module._ExecForceStoreHeapTuple = (e, t2, r) => (Module._ExecForceStoreHeapTuple = wasmExports.ExecForceStoreHeapTuple)(e, t2, r); Module._strtod = (e, t2) => (Module._strtod = wasmExports.strtod)(e, t2); Module._plain_crypt_verify = (e, t2, r, a2) => (Module._plain_crypt_verify = wasmExports.plain_crypt_verify)(e, t2, r, a2); Module._ProcessConfigFile = (e) => (Module._ProcessConfigFile = wasmExports.ProcessConfigFile)(e); Module._ExecReScan = (e) => (Module._ExecReScan = wasmExports.ExecReScan)(e); Module._ExecAsyncResponse = (e) => (Module._ExecAsyncResponse = wasmExports.ExecAsyncResponse)(e); Module._ExecAsyncRequestDone = (e, t2) => (Module._ExecAsyncRequestDone = wasmExports.ExecAsyncRequestDone)(e, t2); Module._ExecAsyncRequestPending = (e) => (Module._ExecAsyncRequestPending = wasmExports.ExecAsyncRequestPending)(e); Module._ExprEvalPushStep = (e, t2) => (Module._ExprEvalPushStep = wasmExports.ExprEvalPushStep)(e, t2); Module._ExecInitExprWithParams = (e, t2) => (Module._ExecInitExprWithParams = wasmExports.ExecInitExprWithParams)(e, t2); Module._ExecInitExprList = (e, t2) => (Module._ExecInitExprList = wasmExports.ExecInitExprList)(e, t2); Module._MakeExpandedObjectReadOnlyInternal = (e) => (Module._MakeExpandedObjectReadOnlyInternal = wasmExports.MakeExpandedObjectReadOnlyInternal)(e); Module._tuplesort_puttupleslot = (e, t2) => (Module._tuplesort_puttupleslot = wasmExports.tuplesort_puttupleslot)(e, t2); Module._ArrayGetNItems = (e, t2) => (Module._ArrayGetNItems = wasmExports.ArrayGetNItems)(e, t2); Module._expanded_record_fetch_tupdesc = (e) => (Module._expanded_record_fetch_tupdesc = wasmExports.expanded_record_fetch_tupdesc)(e); Module._expanded_record_fetch_field = (e, t2, r) => (Module._expanded_record_fetch_field = wasmExports.expanded_record_fetch_field)(e, t2, r); Module._JsonbValueToJsonb = (e) => (Module._JsonbValueToJsonb = wasmExports.JsonbValueToJsonb)(e); Module._boolout = (e) => (Module._boolout = wasmExports.boolout)(e); Module._lookup_rowtype_tupdesc_domain = (e, t2, r) => (Module._lookup_rowtype_tupdesc_domain = wasmExports.lookup_rowtype_tupdesc_domain)(e, t2, r); Module._MemoryContextGetParent = (e) => (Module._MemoryContextGetParent = wasmExports.MemoryContextGetParent)(e); Module._DeleteExpandedObject = (e) => (Module._DeleteExpandedObject = wasmExports.DeleteExpandedObject)(e); Module._ExecFindJunkAttributeInTlist = (e, t2) => (Module._ExecFindJunkAttributeInTlist = wasmExports.ExecFindJunkAttributeInTlist)(e, t2); Module._standard_ExecutorStart = (e, t2) => (Module._standard_ExecutorStart = wasmExports.standard_ExecutorStart)(e, t2); Module._standard_ExecutorRun = (e, t2, r, a2) => (Module._standard_ExecutorRun = wasmExports.standard_ExecutorRun)(e, t2, r, a2); Module._standard_ExecutorFinish = (e) => (Module._standard_ExecutorFinish = wasmExports.standard_ExecutorFinish)(e); Module._standard_ExecutorEnd = (e) => (Module._standard_ExecutorEnd = wasmExports.standard_ExecutorEnd)(e); Module._InstrAlloc = (e, t2, r) => (Module._InstrAlloc = wasmExports.InstrAlloc)(e, t2, r); Module._get_typlenbyval = (e, t2, r) => (Module._get_typlenbyval = wasmExports.get_typlenbyval)(e, t2, r); Module._InputFunctionCall = (e, t2, r, a2) => (Module._InputFunctionCall = wasmExports.InputFunctionCall)(e, t2, r, a2); Module._FreeExprContext = (e, t2) => (Module._FreeExprContext = wasmExports.FreeExprContext)(e, t2); Module._ExecOpenScanRelation = (e, t2, r) => (Module._ExecOpenScanRelation = wasmExports.ExecOpenScanRelation)(e, t2, r); Module._bms_intersect = (e, t2) => (Module._bms_intersect = wasmExports.bms_intersect)(e, t2); Module._ExecGetReturningSlot = (e, t2) => (Module._ExecGetReturningSlot = wasmExports.ExecGetReturningSlot)(e, t2); Module._ExecGetResultRelCheckAsUser = (e, t2) => (Module._ExecGetResultRelCheckAsUser = wasmExports.ExecGetResultRelCheckAsUser)(e, t2); Module._get_call_expr_argtype = (e, t2) => (Module._get_call_expr_argtype = wasmExports.get_call_expr_argtype)(e, t2); Module._tuplestore_clear = (e) => (Module._tuplestore_clear = wasmExports.tuplestore_clear)(e); Module._InstrUpdateTupleCount = (e, t2) => (Module._InstrUpdateTupleCount = wasmExports.InstrUpdateTupleCount)(e, t2); Module._tuplesort_begin_heap = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._tuplesort_begin_heap = wasmExports.tuplesort_begin_heap)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._tuplesort_gettupleslot = (e, t2, r, a2, s4) => (Module._tuplesort_gettupleslot = wasmExports.tuplesort_gettupleslot)(e, t2, r, a2, s4); Module._AddWaitEventToSet = (e, t2, r, a2, s4) => (Module._AddWaitEventToSet = wasmExports.AddWaitEventToSet)(e, t2, r, a2, s4); Module._GetNumRegisteredWaitEvents = (e) => (Module._GetNumRegisteredWaitEvents = wasmExports.GetNumRegisteredWaitEvents)(e); Module._get_attstatsslot = (e, t2, r, a2, s4) => (Module._get_attstatsslot = wasmExports.get_attstatsslot)(e, t2, r, a2, s4); Module._free_attstatsslot = (e) => (Module._free_attstatsslot = wasmExports.free_attstatsslot)(e); Module._tuplesort_reset = (e) => (Module._tuplesort_reset = wasmExports.tuplesort_reset)(e); Module._pairingheap_first = (e) => (Module._pairingheap_first = wasmExports.pairingheap_first)(e); Module._bms_nonempty_difference = (e, t2) => (Module._bms_nonempty_difference = wasmExports.bms_nonempty_difference)(e, t2); Module._SPI_connect_ext = (e) => (Module._SPI_connect_ext = wasmExports.SPI_connect_ext)(e); Module._SPI_commit = () => (Module._SPI_commit = wasmExports.SPI_commit)(); Module._CopyErrorData = () => (Module._CopyErrorData = wasmExports.CopyErrorData)(); Module._ReThrowError = (e) => (Module._ReThrowError = wasmExports.ReThrowError)(e); Module._SPI_commit_and_chain = () => (Module._SPI_commit_and_chain = wasmExports.SPI_commit_and_chain)(); Module._SPI_rollback = () => (Module._SPI_rollback = wasmExports.SPI_rollback)(); Module._SPI_rollback_and_chain = () => (Module._SPI_rollback_and_chain = wasmExports.SPI_rollback_and_chain)(); Module._SPI_freetuptable = (e) => (Module._SPI_freetuptable = wasmExports.SPI_freetuptable)(e); Module._SPI_execute_extended = (e, t2) => (Module._SPI_execute_extended = wasmExports.SPI_execute_extended)(e, t2); Module._SPI_execute_plan = (e, t2, r, a2, s4) => (Module._SPI_execute_plan = wasmExports.SPI_execute_plan)(e, t2, r, a2, s4); Module._SPI_execp = (e, t2, r, a2) => (Module._SPI_execp = wasmExports.SPI_execp)(e, t2, r, a2); Module._SPI_execute_plan_extended = (e, t2) => (Module._SPI_execute_plan_extended = wasmExports.SPI_execute_plan_extended)(e, t2); Module._SPI_execute_plan_with_paramlist = (e, t2, r, a2) => (Module._SPI_execute_plan_with_paramlist = wasmExports.SPI_execute_plan_with_paramlist)(e, t2, r, a2); Module._SPI_prepare = (e, t2, r) => (Module._SPI_prepare = wasmExports.SPI_prepare)(e, t2, r); Module._SPI_prepare_extended = (e, t2) => (Module._SPI_prepare_extended = wasmExports.SPI_prepare_extended)(e, t2); Module._SPI_keepplan = (e) => (Module._SPI_keepplan = wasmExports.SPI_keepplan)(e); Module._SPI_freeplan = (e) => (Module._SPI_freeplan = wasmExports.SPI_freeplan)(e); Module._SPI_copytuple = (e) => (Module._SPI_copytuple = wasmExports.SPI_copytuple)(e); Module._SPI_returntuple = (e, t2) => (Module._SPI_returntuple = wasmExports.SPI_returntuple)(e, t2); Module._SPI_fnumber = (e, t2) => (Module._SPI_fnumber = wasmExports.SPI_fnumber)(e, t2); Module._SPI_fname = (e, t2) => (Module._SPI_fname = wasmExports.SPI_fname)(e, t2); Module._SPI_getbinval = (e, t2, r, a2) => (Module._SPI_getbinval = wasmExports.SPI_getbinval)(e, t2, r, a2); Module._SPI_gettype = (e, t2) => (Module._SPI_gettype = wasmExports.SPI_gettype)(e, t2); Module._SPI_gettypeid = (e, t2) => (Module._SPI_gettypeid = wasmExports.SPI_gettypeid)(e, t2); Module._SPI_getrelname = (e) => (Module._SPI_getrelname = wasmExports.SPI_getrelname)(e); Module._SPI_palloc = (e) => (Module._SPI_palloc = wasmExports.SPI_palloc)(e); Module._SPI_datumTransfer = (e, t2, r) => (Module._SPI_datumTransfer = wasmExports.SPI_datumTransfer)(e, t2, r); Module._datumTransfer = (e, t2, r) => (Module._datumTransfer = wasmExports.datumTransfer)(e, t2, r); Module._SPI_cursor_open_with_paramlist = (e, t2, r, a2) => (Module._SPI_cursor_open_with_paramlist = wasmExports.SPI_cursor_open_with_paramlist)(e, t2, r, a2); Module._SPI_cursor_parse_open = (e, t2, r) => (Module._SPI_cursor_parse_open = wasmExports.SPI_cursor_parse_open)(e, t2, r); Module._SPI_cursor_find = (e) => (Module._SPI_cursor_find = wasmExports.SPI_cursor_find)(e); Module._SPI_cursor_fetch = (e, t2, r) => (Module._SPI_cursor_fetch = wasmExports.SPI_cursor_fetch)(e, t2, r); Module._SPI_scroll_cursor_fetch = (e, t2, r) => (Module._SPI_scroll_cursor_fetch = wasmExports.SPI_scroll_cursor_fetch)(e, t2, r); Module._SPI_scroll_cursor_move = (e, t2, r) => (Module._SPI_scroll_cursor_move = wasmExports.SPI_scroll_cursor_move)(e, t2, r); Module._SPI_cursor_close = (e) => (Module._SPI_cursor_close = wasmExports.SPI_cursor_close)(e); Module._SPI_plan_is_valid = (e) => (Module._SPI_plan_is_valid = wasmExports.SPI_plan_is_valid)(e); Module._SPI_result_code_string = (e) => (Module._SPI_result_code_string = wasmExports.SPI_result_code_string)(e); Module._SPI_plan_get_plan_sources = (e) => (Module._SPI_plan_get_plan_sources = wasmExports.SPI_plan_get_plan_sources)(e); Module._SPI_plan_get_cached_plan = (e) => (Module._SPI_plan_get_cached_plan = wasmExports.SPI_plan_get_cached_plan)(e); Module._SPI_register_relation = (e) => (Module._SPI_register_relation = wasmExports.SPI_register_relation)(e); Module._create_queryEnv = () => (Module._create_queryEnv = wasmExports.create_queryEnv)(); Module._register_ENR = (e, t2) => (Module._register_ENR = wasmExports.register_ENR)(e, t2); Module._SPI_register_trigger_data = (e) => (Module._SPI_register_trigger_data = wasmExports.SPI_register_trigger_data)(e); Module._tuplestore_tuple_count = (e) => (Module._tuplestore_tuple_count = wasmExports.tuplestore_tuple_count)(e); Module._GetUserMapping = (e, t2) => (Module._GetUserMapping = wasmExports.GetUserMapping)(e, t2); Module._GetForeignTable = (e) => (Module._GetForeignTable = wasmExports.GetForeignTable)(e); Module._GetForeignColumnOptions = (e, t2) => (Module._GetForeignColumnOptions = wasmExports.GetForeignColumnOptions)(e, t2); Module._initClosestMatch = (e, t2, r) => (Module._initClosestMatch = wasmExports.initClosestMatch)(e, t2, r); Module._updateClosestMatch = (e, t2) => (Module._updateClosestMatch = wasmExports.updateClosestMatch)(e, t2); Module._getClosestMatch = (e) => (Module._getClosestMatch = wasmExports.getClosestMatch)(e); Module._GetExistingLocalJoinPath = (e) => (Module._GetExistingLocalJoinPath = wasmExports.GetExistingLocalJoinPath)(e); Module._bloom_create = (e, t2, r) => (Module._bloom_create = wasmExports.bloom_create)(e, t2, r); Module._bloom_free = (e) => (Module._bloom_free = wasmExports.bloom_free)(e); Module._bloom_add_element = (e, t2, r) => (Module._bloom_add_element = wasmExports.bloom_add_element)(e, t2, r); Module._bloom_lacks_element = (e, t2, r) => (Module._bloom_lacks_element = wasmExports.bloom_lacks_element)(e, t2, r); Module._bloom_prop_bits_set = (e) => (Module._bloom_prop_bits_set = wasmExports.bloom_prop_bits_set)(e); Module._socket = (e, t2, r) => (Module._socket = wasmExports.socket)(e, t2, r); Module._connect = (e, t2, r) => (Module._connect = wasmExports.connect)(e, t2, r); Module._send = (e, t2, r, a2) => (Module._send = wasmExports.send)(e, t2, r, a2); Module._recv = (e, t2, r, a2) => (Module._recv = wasmExports.recv)(e, t2, r, a2); Module._be_lo_unlink = (e) => (Module._be_lo_unlink = wasmExports.be_lo_unlink)(e); Module._set_read_write_cbs = (e, t2) => (Module._set_read_write_cbs = wasmExports.set_read_write_cbs)(e, t2); Module._setsockopt = (e, t2, r, a2, s4) => (Module._setsockopt = wasmExports.setsockopt)(e, t2, r, a2, s4); Module._getsockopt = (e, t2, r, a2, s4) => (Module._getsockopt = wasmExports.getsockopt)(e, t2, r, a2, s4); Module._getsockname = (e, t2, r) => (Module._getsockname = wasmExports.getsockname)(e, t2, r); Module._poll = (e, t2, r) => (Module._poll = wasmExports.poll)(e, t2, r); Module._pg_mb2wchar_with_len = (e, t2, r) => (Module._pg_mb2wchar_with_len = wasmExports.pg_mb2wchar_with_len)(e, t2, r); Module._pg_regcomp = (e, t2, r, a2, s4) => (Module._pg_regcomp = wasmExports.pg_regcomp)(e, t2, r, a2, s4); Module._pg_regerror = (e, t2, r, a2) => (Module._pg_regerror = wasmExports.pg_regerror)(e, t2, r, a2); Module._strcat = (e, t2) => (Module._strcat = wasmExports.strcat)(e, t2); Module._pq_sendtext = (e, t2, r) => (Module._pq_sendtext = wasmExports.pq_sendtext)(e, t2, r); Module._pq_sendfloat4 = (e, t2) => (Module._pq_sendfloat4 = wasmExports.pq_sendfloat4)(e, t2); Module._pq_sendfloat8 = (e, t2) => (Module._pq_sendfloat8 = wasmExports.pq_sendfloat8)(e, t2); Module._pq_begintypsend = (e) => (Module._pq_begintypsend = wasmExports.pq_begintypsend)(e); Module._pq_endtypsend = (e) => (Module._pq_endtypsend = wasmExports.pq_endtypsend)(e); Module._pq_getmsgfloat4 = (e) => (Module._pq_getmsgfloat4 = wasmExports.pq_getmsgfloat4)(e); Module._pq_getmsgfloat8 = (e) => (Module._pq_getmsgfloat8 = wasmExports.pq_getmsgfloat8)(e); Module._pq_getmsgtext = (e, t2, r) => (Module._pq_getmsgtext = wasmExports.pq_getmsgtext)(e, t2, r); Module._pg_strtoint32 = (e) => (Module._pg_strtoint32 = wasmExports.pg_strtoint32)(e); Module._bms_membership = (e) => (Module._bms_membership = wasmExports.bms_membership)(e); Module._list_make5_impl = (e, t2, r, a2, s4, o4) => (Module._list_make5_impl = wasmExports.list_make5_impl)(e, t2, r, a2, s4, o4); Module._list_insert_nth = (e, t2, r) => (Module._list_insert_nth = wasmExports.list_insert_nth)(e, t2, r); Module._list_member_ptr = (e, t2) => (Module._list_member_ptr = wasmExports.list_member_ptr)(e, t2); Module._list_append_unique_ptr = (e, t2) => (Module._list_append_unique_ptr = wasmExports.list_append_unique_ptr)(e, t2); Module._make_opclause = (e, t2, r, a2, s4, o4, n3) => (Module._make_opclause = wasmExports.make_opclause)(e, t2, r, a2, s4, o4, n3); Module._exprIsLengthCoercion = (e, t2) => (Module._exprIsLengthCoercion = wasmExports.exprIsLengthCoercion)(e, t2); Module._fix_opfuncids = (e) => (Module._fix_opfuncids = wasmExports.fix_opfuncids)(e); Module._CleanQuerytext = (e, t2, r) => (Module._CleanQuerytext = wasmExports.CleanQuerytext)(e, t2, r); Module._EnableQueryId = () => (Module._EnableQueryId = wasmExports.EnableQueryId)(); Module._find_base_rel = (e, t2) => (Module._find_base_rel = wasmExports.find_base_rel)(e, t2); Module._add_path = (e, t2) => (Module._add_path = wasmExports.add_path)(e, t2); Module._pathkeys_contained_in = (e, t2) => (Module._pathkeys_contained_in = wasmExports.pathkeys_contained_in)(e, t2); Module._create_sort_path = (e, t2, r, a2, s4) => (Module._create_sort_path = wasmExports.create_sort_path)(e, t2, r, a2, s4); Module._set_baserel_size_estimates = (e, t2) => (Module._set_baserel_size_estimates = wasmExports.set_baserel_size_estimates)(e, t2); Module._clauselist_selectivity = (e, t2, r, a2, s4) => (Module._clauselist_selectivity = wasmExports.clauselist_selectivity)(e, t2, r, a2, s4); Module._get_tablespace_page_costs = (e, t2, r) => (Module._get_tablespace_page_costs = wasmExports.get_tablespace_page_costs)(e, t2, r); Module._cost_qual_eval = (e, t2, r) => (Module._cost_qual_eval = wasmExports.cost_qual_eval)(e, t2, r); Module._estimate_num_groups = (e, t2, r, a2, s4) => (Module._estimate_num_groups = wasmExports.estimate_num_groups)(e, t2, r, a2, s4); Module._cost_sort = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._cost_sort = wasmExports.cost_sort)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._get_sortgrouplist_exprs = (e, t2) => (Module._get_sortgrouplist_exprs = wasmExports.get_sortgrouplist_exprs)(e, t2); Module._make_restrictinfo = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._make_restrictinfo = wasmExports.make_restrictinfo)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._generate_implied_equalities_for_column = (e, t2, r, a2, s4) => (Module._generate_implied_equalities_for_column = wasmExports.generate_implied_equalities_for_column)(e, t2, r, a2, s4); Module._eclass_useful_for_merging = (e, t2, r) => (Module._eclass_useful_for_merging = wasmExports.eclass_useful_for_merging)(e, t2, r); Module._join_clause_is_movable_to = (e, t2) => (Module._join_clause_is_movable_to = wasmExports.join_clause_is_movable_to)(e, t2); Module._get_plan_rowmark = (e, t2) => (Module._get_plan_rowmark = wasmExports.get_plan_rowmark)(e, t2); Module._update_mergeclause_eclasses = (e, t2) => (Module._update_mergeclause_eclasses = wasmExports.update_mergeclause_eclasses)(e, t2); Module._find_join_rel = (e, t2) => (Module._find_join_rel = wasmExports.find_join_rel)(e, t2); Module._make_canonical_pathkey = (e, t2, r, a2, s4) => (Module._make_canonical_pathkey = wasmExports.make_canonical_pathkey)(e, t2, r, a2, s4); Module._get_sortgroupref_clause_noerr = (e, t2) => (Module._get_sortgroupref_clause_noerr = wasmExports.get_sortgroupref_clause_noerr)(e, t2); Module._extract_actual_clauses = (e, t2) => (Module._extract_actual_clauses = wasmExports.extract_actual_clauses)(e, t2); Module._change_plan_targetlist = (e, t2, r) => (Module._change_plan_targetlist = wasmExports.change_plan_targetlist)(e, t2, r); Module._make_foreignscan = (e, t2, r, a2, s4, o4, n3, _3) => (Module._make_foreignscan = wasmExports.make_foreignscan)(e, t2, r, a2, s4, o4, n3, _3); Module._tlist_member = (e, t2) => (Module._tlist_member = wasmExports.tlist_member)(e, t2); Module._pull_vars_of_level = (e, t2) => (Module._pull_vars_of_level = wasmExports.pull_vars_of_level)(e, t2); Module._IncrementVarSublevelsUp = (e, t2, r) => (Module._IncrementVarSublevelsUp = wasmExports.IncrementVarSublevelsUp)(e, t2, r); Module._standard_planner = (e, t2, r, a2) => (Module._standard_planner = wasmExports.standard_planner)(e, t2, r, a2); Module._get_relids_in_jointree = (e, t2, r) => (Module._get_relids_in_jointree = wasmExports.get_relids_in_jointree)(e, t2, r); Module._add_new_columns_to_pathtarget = (e, t2) => (Module._add_new_columns_to_pathtarget = wasmExports.add_new_columns_to_pathtarget)(e, t2); Module._get_agg_clause_costs = (e, t2, r) => (Module._get_agg_clause_costs = wasmExports.get_agg_clause_costs)(e, t2, r); Module._grouping_is_sortable = (e) => (Module._grouping_is_sortable = wasmExports.grouping_is_sortable)(e); Module._copy_pathtarget = (e) => (Module._copy_pathtarget = wasmExports.copy_pathtarget)(e); Module._create_projection_path = (e, t2, r, a2) => (Module._create_projection_path = wasmExports.create_projection_path)(e, t2, r, a2); Module._GetSysCacheHashValue = (e, t2, r, a2, s4) => (Module._GetSysCacheHashValue = wasmExports.GetSysCacheHashValue)(e, t2, r, a2, s4); Module._get_translated_update_targetlist = (e, t2, r, a2) => (Module._get_translated_update_targetlist = wasmExports.get_translated_update_targetlist)(e, t2, r, a2); Module._add_row_identity_var = (e, t2, r, a2) => (Module._add_row_identity_var = wasmExports.add_row_identity_var)(e, t2, r, a2); Module._get_rel_all_updated_cols = (e, t2) => (Module._get_rel_all_updated_cols = wasmExports.get_rel_all_updated_cols)(e, t2); Module._get_baserel_parampathinfo = (e, t2, r) => (Module._get_baserel_parampathinfo = wasmExports.get_baserel_parampathinfo)(e, t2, r); Module._create_foreignscan_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._create_foreignscan_path = wasmExports.create_foreignscan_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._create_foreign_join_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._create_foreign_join_path = wasmExports.create_foreign_join_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._create_foreign_upper_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._create_foreign_upper_path = wasmExports.create_foreign_upper_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._adjust_limit_rows_costs = (e, t2, r, a2, s4) => (Module._adjust_limit_rows_costs = wasmExports.adjust_limit_rows_costs)(e, t2, r, a2, s4); Module._add_to_flat_tlist = (e, t2) => (Module._add_to_flat_tlist = wasmExports.add_to_flat_tlist)(e, t2); Module._get_fn_expr_argtype = (e, t2) => (Module._get_fn_expr_argtype = wasmExports.get_fn_expr_argtype)(e, t2); Module._on_shmem_exit = (e, t2) => (Module._on_shmem_exit = wasmExports.on_shmem_exit)(e, t2); Module._SignalHandlerForConfigReload = (e) => (Module._SignalHandlerForConfigReload = wasmExports.SignalHandlerForConfigReload)(e); Module._SignalHandlerForShutdownRequest = (e) => (Module._SignalHandlerForShutdownRequest = wasmExports.SignalHandlerForShutdownRequest)(e); Module._procsignal_sigusr1_handler = (e) => (Module._procsignal_sigusr1_handler = wasmExports.procsignal_sigusr1_handler)(e); Module._RegisterBackgroundWorker = (e) => (Module._RegisterBackgroundWorker = wasmExports.RegisterBackgroundWorker)(e); Module._WaitForBackgroundWorkerStartup = (e, t2) => (Module._WaitForBackgroundWorkerStartup = wasmExports.WaitForBackgroundWorkerStartup)(e, t2); Module._GetConfigOption = (e, t2, r) => (Module._GetConfigOption = wasmExports.GetConfigOption)(e, t2, r); Module._toupper = (e) => (Module._toupper = wasmExports.toupper)(e); Module._pg_reg_getinitialstate = (e) => (Module._pg_reg_getinitialstate = wasmExports.pg_reg_getinitialstate)(e); Module._pg_reg_getfinalstate = (e) => (Module._pg_reg_getfinalstate = wasmExports.pg_reg_getfinalstate)(e); Module._pg_reg_getnumoutarcs = (e, t2) => (Module._pg_reg_getnumoutarcs = wasmExports.pg_reg_getnumoutarcs)(e, t2); Module._pg_reg_getoutarcs = (e, t2, r, a2) => (Module._pg_reg_getoutarcs = wasmExports.pg_reg_getoutarcs)(e, t2, r, a2); Module._pg_reg_getnumcolors = (e) => (Module._pg_reg_getnumcolors = wasmExports.pg_reg_getnumcolors)(e); Module._pg_reg_colorisbegin = (e, t2) => (Module._pg_reg_colorisbegin = wasmExports.pg_reg_colorisbegin)(e, t2); Module._pg_reg_colorisend = (e, t2) => (Module._pg_reg_colorisend = wasmExports.pg_reg_colorisend)(e, t2); Module._pg_reg_getnumcharacters = (e, t2) => (Module._pg_reg_getnumcharacters = wasmExports.pg_reg_getnumcharacters)(e, t2); Module._pg_reg_getcharacters = (e, t2, r, a2) => (Module._pg_reg_getcharacters = wasmExports.pg_reg_getcharacters)(e, t2, r, a2); Module._OutputPluginPrepareWrite = (e, t2) => (Module._OutputPluginPrepareWrite = wasmExports.OutputPluginPrepareWrite)(e, t2); Module._OutputPluginWrite = (e, t2) => (Module._OutputPluginWrite = wasmExports.OutputPluginWrite)(e, t2); Module._array_contains_nulls = (e) => (Module._array_contains_nulls = wasmExports.array_contains_nulls)(e); Module._hash_seq_term = (e) => (Module._hash_seq_term = wasmExports.hash_seq_term)(e); Module._FreeErrorData = (e) => (Module._FreeErrorData = wasmExports.FreeErrorData)(e); Module._RelidByRelfilenumber = (e, t2) => (Module._RelidByRelfilenumber = wasmExports.RelidByRelfilenumber)(e, t2); Module._WaitLatchOrSocket = (e, t2, r, a2, s4) => (Module._WaitLatchOrSocket = wasmExports.WaitLatchOrSocket)(e, t2, r, a2, s4); Module._get_row_security_policies = (e, t2, r, a2, s4, o4, n3) => (Module._get_row_security_policies = wasmExports.get_row_security_policies)(e, t2, r, a2, s4, o4, n3); Module._hash_estimate_size = (e, t2) => (Module._hash_estimate_size = wasmExports.hash_estimate_size)(e, t2); Module._ShmemInitHash = (e, t2, r, a2, s4) => (Module._ShmemInitHash = wasmExports.ShmemInitHash)(e, t2, r, a2, s4); Module._LockBufHdr = (e) => (Module._LockBufHdr = wasmExports.LockBufHdr)(e); Module._EvictUnpinnedBuffer = (e) => (Module._EvictUnpinnedBuffer = wasmExports.EvictUnpinnedBuffer)(e); Module._have_free_buffer = () => (Module._have_free_buffer = wasmExports.have_free_buffer)(); Module._copy_file = (e, t2) => (Module._copy_file = wasmExports.copy_file)(e, t2); Module._AcquireExternalFD = () => (Module._AcquireExternalFD = wasmExports.AcquireExternalFD)(); Module._GetNamedDSMSegment = (e, t2, r, a2) => (Module._GetNamedDSMSegment = wasmExports.GetNamedDSMSegment)(e, t2, r, a2); Module._RequestAddinShmemSpace = (e) => (Module._RequestAddinShmemSpace = wasmExports.RequestAddinShmemSpace)(e); Module._GetRunningTransactionData = () => (Module._GetRunningTransactionData = wasmExports.GetRunningTransactionData)(); Module._BackendXidGetPid = (e) => (Module._BackendXidGetPid = wasmExports.BackendXidGetPid)(e); Module._LWLockRegisterTranche = (e, t2) => (Module._LWLockRegisterTranche = wasmExports.LWLockRegisterTranche)(e, t2); Module._GetNamedLWLockTranche = (e) => (Module._GetNamedLWLockTranche = wasmExports.GetNamedLWLockTranche)(e); Module._LWLockNewTrancheId = () => (Module._LWLockNewTrancheId = wasmExports.LWLockNewTrancheId)(); Module._RequestNamedLWLockTranche = (e, t2) => (Module._RequestNamedLWLockTranche = wasmExports.RequestNamedLWLockTranche)(e, t2); Module._standard_ProcessUtility = (e, t2, r, a2, s4, o4, n3, _3) => (Module._standard_ProcessUtility = wasmExports.standard_ProcessUtility)(e, t2, r, a2, s4, o4, n3, _3); Module._lookup_ts_dictionary_cache = (e) => (Module._lookup_ts_dictionary_cache = wasmExports.lookup_ts_dictionary_cache)(e); Module._get_tsearch_config_filename = (e, t2) => (Module._get_tsearch_config_filename = wasmExports.get_tsearch_config_filename)(e, t2); Module._lowerstr = (e) => (Module._lowerstr = wasmExports.lowerstr)(e); Module._readstoplist = (e, t2, r) => (Module._readstoplist = wasmExports.readstoplist)(e, t2, r); Module._lowerstr_with_len = (e, t2) => (Module._lowerstr_with_len = wasmExports.lowerstr_with_len)(e, t2); Module._searchstoplist = (e, t2) => (Module._searchstoplist = wasmExports.searchstoplist)(e, t2); Module._tsearch_readline_begin = (e, t2) => (Module._tsearch_readline_begin = wasmExports.tsearch_readline_begin)(e, t2); Module._tsearch_readline = (e) => (Module._tsearch_readline = wasmExports.tsearch_readline)(e); Module._t_isspace = (e) => (Module._t_isspace = wasmExports.t_isspace)(e); Module._tsearch_readline_end = (e) => (Module._tsearch_readline_end = wasmExports.tsearch_readline_end)(e); Module._stringToQualifiedNameList = (e, t2) => (Module._stringToQualifiedNameList = wasmExports.stringToQualifiedNameList)(e, t2); Module._t_isdigit = (e) => (Module._t_isdigit = wasmExports.t_isdigit)(e); Module._t_isalnum = (e) => (Module._t_isalnum = wasmExports.t_isalnum)(e); Module._get_restriction_variable = (e, t2, r, a2, s4, o4) => (Module._get_restriction_variable = wasmExports.get_restriction_variable)(e, t2, r, a2, s4, o4); Module._MemoryContextAllocHuge = (e, t2) => (Module._MemoryContextAllocHuge = wasmExports.MemoryContextAllocHuge)(e, t2); Module._WaitEventExtensionNew = (e) => (Module._WaitEventExtensionNew = wasmExports.WaitEventExtensionNew)(e); Module._expand_array = (e, t2, r) => (Module._expand_array = wasmExports.expand_array)(e, t2, r); Module._arraycontsel = (e) => (Module._arraycontsel = wasmExports.arraycontsel)(e); Module._arraycontjoinsel = (e) => (Module._arraycontjoinsel = wasmExports.arraycontjoinsel)(e); Module._initArrayResult = (e, t2, r) => (Module._initArrayResult = wasmExports.initArrayResult)(e, t2, r); Module._array_create_iterator = (e, t2, r) => (Module._array_create_iterator = wasmExports.array_create_iterator)(e, t2, r); Module._array_iterate = (e, t2, r) => (Module._array_iterate = wasmExports.array_iterate)(e, t2, r); Module._ArrayGetIntegerTypmods = (e, t2) => (Module._ArrayGetIntegerTypmods = wasmExports.ArrayGetIntegerTypmods)(e, t2); Module._boolin = (e) => (Module._boolin = wasmExports.boolin)(e); Module._cash_cmp = (e) => (Module._cash_cmp = wasmExports.cash_cmp)(e); Module._int64_to_numeric = (e) => (Module._int64_to_numeric = wasmExports.int64_to_numeric)(e); Module._numeric_div = (e) => (Module._numeric_div = wasmExports.numeric_div)(e); Module._date_eq = (e) => (Module._date_eq = wasmExports.date_eq)(e); Module._date_lt = (e) => (Module._date_lt = wasmExports.date_lt)(e); Module._date_le = (e) => (Module._date_le = wasmExports.date_le)(e); Module._date_gt = (e) => (Module._date_gt = wasmExports.date_gt)(e); Module._date_ge = (e) => (Module._date_ge = wasmExports.date_ge)(e); Module._date_cmp = (e) => (Module._date_cmp = wasmExports.date_cmp)(e); Module._date_mi = (e) => (Module._date_mi = wasmExports.date_mi)(e); Module._time_eq = (e) => (Module._time_eq = wasmExports.time_eq)(e); Module._time_lt = (e) => (Module._time_lt = wasmExports.time_lt)(e); Module._time_le = (e) => (Module._time_le = wasmExports.time_le)(e); Module._time_gt = (e) => (Module._time_gt = wasmExports.time_gt)(e); Module._time_ge = (e) => (Module._time_ge = wasmExports.time_ge)(e); Module._time_cmp = (e) => (Module._time_cmp = wasmExports.time_cmp)(e); Module._time_mi_time = (e) => (Module._time_mi_time = wasmExports.time_mi_time)(e); Module._timetz_cmp = (e) => (Module._timetz_cmp = wasmExports.timetz_cmp)(e); Module._TransferExpandedObject = (e, t2) => (Module._TransferExpandedObject = wasmExports.TransferExpandedObject)(e, t2); Module._numeric_lt = (e) => (Module._numeric_lt = wasmExports.numeric_lt)(e); Module._numeric_ge = (e) => (Module._numeric_ge = wasmExports.numeric_ge)(e); Module._err_generic_string = (e, t2) => (Module._err_generic_string = wasmExports.err_generic_string)(e, t2); Module._domain_check = (e, t2, r, a2, s4) => (Module._domain_check = wasmExports.domain_check)(e, t2, r, a2, s4); Module._enum_lt = (e) => (Module._enum_lt = wasmExports.enum_lt)(e); Module._enum_le = (e) => (Module._enum_le = wasmExports.enum_le)(e); Module._enum_ge = (e) => (Module._enum_ge = wasmExports.enum_ge)(e); Module._enum_gt = (e) => (Module._enum_gt = wasmExports.enum_gt)(e); Module._enum_cmp = (e) => (Module._enum_cmp = wasmExports.enum_cmp)(e); Module._make_expanded_record_from_typeid = (e, t2, r) => (Module._make_expanded_record_from_typeid = wasmExports.make_expanded_record_from_typeid)(e, t2, r); Module._make_expanded_record_from_tupdesc = (e, t2) => (Module._make_expanded_record_from_tupdesc = wasmExports.make_expanded_record_from_tupdesc)(e, t2); Module._make_expanded_record_from_exprecord = (e, t2) => (Module._make_expanded_record_from_exprecord = wasmExports.make_expanded_record_from_exprecord)(e, t2); Module._expanded_record_set_tuple = (e, t2, r, a2) => (Module._expanded_record_set_tuple = wasmExports.expanded_record_set_tuple)(e, t2, r, a2); Module._expanded_record_get_tuple = (e) => (Module._expanded_record_get_tuple = wasmExports.expanded_record_get_tuple)(e); Module._deconstruct_expanded_record = (e) => (Module._deconstruct_expanded_record = wasmExports.deconstruct_expanded_record)(e); Module._expanded_record_lookup_field = (e, t2, r) => (Module._expanded_record_lookup_field = wasmExports.expanded_record_lookup_field)(e, t2, r); Module._expanded_record_set_field_internal = (e, t2, r, a2, s4, o4) => (Module._expanded_record_set_field_internal = wasmExports.expanded_record_set_field_internal)(e, t2, r, a2, s4, o4); Module._expanded_record_set_fields = (e, t2, r, a2) => (Module._expanded_record_set_fields = wasmExports.expanded_record_set_fields)(e, t2, r, a2); Module._float4in_internal = (e, t2, r, a2, s4) => (Module._float4in_internal = wasmExports.float4in_internal)(e, t2, r, a2, s4); Module._strtof = (e, t2) => (Module._strtof = wasmExports.strtof)(e, t2); Module._float8in_internal = (e, t2, r, a2, s4) => (Module._float8in_internal = wasmExports.float8in_internal)(e, t2, r, a2, s4); Module._float8out_internal = (e) => (Module._float8out_internal = wasmExports.float8out_internal)(e); Module._btfloat4cmp = (e) => (Module._btfloat4cmp = wasmExports.btfloat4cmp)(e); Module._btfloat8cmp = (e) => (Module._btfloat8cmp = wasmExports.btfloat8cmp)(e); Module._acos = (e) => (Module._acos = wasmExports.acos)(e); Module._asin = (e) => (Module._asin = wasmExports.asin)(e); Module._cos = (e) => (Module._cos = wasmExports.cos)(e); Module._str_tolower = (e, t2, r) => (Module._str_tolower = wasmExports.str_tolower)(e, t2, r); Module._pushJsonbValue = (e, t2, r) => (Module._pushJsonbValue = wasmExports.pushJsonbValue)(e, t2, r); Module._numeric_float4 = (e) => (Module._numeric_float4 = wasmExports.numeric_float4)(e); Module._numeric_cmp = (e) => (Module._numeric_cmp = wasmExports.numeric_cmp)(e); Module._numeric_eq = (e) => (Module._numeric_eq = wasmExports.numeric_eq)(e); Module._numeric_is_nan = (e) => (Module._numeric_is_nan = wasmExports.numeric_is_nan)(e); Module._timestamp_cmp = (e) => (Module._timestamp_cmp = wasmExports.timestamp_cmp)(e); Module._macaddr_cmp = (e) => (Module._macaddr_cmp = wasmExports.macaddr_cmp)(e); Module._macaddr_lt = (e) => (Module._macaddr_lt = wasmExports.macaddr_lt)(e); Module._macaddr_le = (e) => (Module._macaddr_le = wasmExports.macaddr_le)(e); Module._macaddr_eq = (e) => (Module._macaddr_eq = wasmExports.macaddr_eq)(e); Module._macaddr_ge = (e) => (Module._macaddr_ge = wasmExports.macaddr_ge)(e); Module._macaddr_gt = (e) => (Module._macaddr_gt = wasmExports.macaddr_gt)(e); Module._macaddr8_cmp = (e) => (Module._macaddr8_cmp = wasmExports.macaddr8_cmp)(e); Module._macaddr8_lt = (e) => (Module._macaddr8_lt = wasmExports.macaddr8_lt)(e); Module._macaddr8_le = (e) => (Module._macaddr8_le = wasmExports.macaddr8_le)(e); Module._macaddr8_eq = (e) => (Module._macaddr8_eq = wasmExports.macaddr8_eq)(e); Module._macaddr8_ge = (e) => (Module._macaddr8_ge = wasmExports.macaddr8_ge)(e); Module._macaddr8_gt = (e) => (Module._macaddr8_gt = wasmExports.macaddr8_gt)(e); Module._current_query = (e) => (Module._current_query = wasmExports.current_query)(e); Module._unpack_sql_state = (e) => (Module._unpack_sql_state = wasmExports.unpack_sql_state)(e); Module._get_fn_expr_rettype = (e) => (Module._get_fn_expr_rettype = wasmExports.get_fn_expr_rettype)(e); Module._btnamecmp = (e) => (Module._btnamecmp = wasmExports.btnamecmp)(e); Module._inet_in = (e) => (Module._inet_in = wasmExports.inet_in)(e); Module._network_cmp = (e) => (Module._network_cmp = wasmExports.network_cmp)(e); Module._convert_network_to_scalar = (e, t2, r) => (Module._convert_network_to_scalar = wasmExports.convert_network_to_scalar)(e, t2, r); Module._numeric_gt = (e) => (Module._numeric_gt = wasmExports.numeric_gt)(e); Module._numeric_le = (e) => (Module._numeric_le = wasmExports.numeric_le)(e); Module._numeric_float8_no_overflow = (e) => (Module._numeric_float8_no_overflow = wasmExports.numeric_float8_no_overflow)(e); Module._oidout = (e) => (Module._oidout = wasmExports.oidout)(e); Module._interval_mi = (e) => (Module._interval_mi = wasmExports.interval_mi)(e); Module._quote_ident = (e) => (Module._quote_ident = wasmExports.quote_ident)(e); Module._pg_wchar2mb_with_len = (e, t2, r) => (Module._pg_wchar2mb_with_len = wasmExports.pg_wchar2mb_with_len)(e, t2, r); Module._pg_get_indexdef_columns_extended = (e, t2) => (Module._pg_get_indexdef_columns_extended = wasmExports.pg_get_indexdef_columns_extended)(e, t2); Module._pg_get_querydef = (e, t2) => (Module._pg_get_querydef = wasmExports.pg_get_querydef)(e, t2); Module._strcspn = (e, t2) => (Module._strcspn = wasmExports.strcspn)(e, t2); Module._generic_restriction_selectivity = (e, t2, r, a2, s4, o4) => (Module._generic_restriction_selectivity = wasmExports.generic_restriction_selectivity)(e, t2, r, a2, s4, o4); Module._genericcostestimate = (e, t2, r, a2) => (Module._genericcostestimate = wasmExports.genericcostestimate)(e, t2, r, a2); Module._tidin = (e) => (Module._tidin = wasmExports.tidin)(e); Module._tidout = (e) => (Module._tidout = wasmExports.tidout)(e); Module._timestamp_in = (e) => (Module._timestamp_in = wasmExports.timestamp_in)(e); Module._timestamp_eq = (e) => (Module._timestamp_eq = wasmExports.timestamp_eq)(e); Module._timestamp_lt = (e) => (Module._timestamp_lt = wasmExports.timestamp_lt)(e); Module._timestamp_gt = (e) => (Module._timestamp_gt = wasmExports.timestamp_gt)(e); Module._timestamp_le = (e) => (Module._timestamp_le = wasmExports.timestamp_le)(e); Module._timestamp_ge = (e) => (Module._timestamp_ge = wasmExports.timestamp_ge)(e); Module._interval_eq = (e) => (Module._interval_eq = wasmExports.interval_eq)(e); Module._interval_lt = (e) => (Module._interval_lt = wasmExports.interval_lt)(e); Module._interval_gt = (e) => (Module._interval_gt = wasmExports.interval_gt)(e); Module._interval_le = (e) => (Module._interval_le = wasmExports.interval_le)(e); Module._interval_ge = (e) => (Module._interval_ge = wasmExports.interval_ge)(e); Module._interval_cmp = (e) => (Module._interval_cmp = wasmExports.interval_cmp)(e); Module._timestamp_mi = (e) => (Module._timestamp_mi = wasmExports.timestamp_mi)(e); Module._interval_um = (e) => (Module._interval_um = wasmExports.interval_um)(e); Module._has_fn_opclass_options = (e) => (Module._has_fn_opclass_options = wasmExports.has_fn_opclass_options)(e); Module._uuid_in = (e) => (Module._uuid_in = wasmExports.uuid_in)(e); Module._uuid_out = (e) => (Module._uuid_out = wasmExports.uuid_out)(e); Module._uuid_cmp = (e) => (Module._uuid_cmp = wasmExports.uuid_cmp)(e); Module._varbit_in = (e) => (Module._varbit_in = wasmExports.varbit_in)(e); Module._biteq = (e) => (Module._biteq = wasmExports.biteq)(e); Module._bitlt = (e) => (Module._bitlt = wasmExports.bitlt)(e); Module._bitle = (e) => (Module._bitle = wasmExports.bitle)(e); Module._bitgt = (e) => (Module._bitgt = wasmExports.bitgt)(e); Module._bitge = (e) => (Module._bitge = wasmExports.bitge)(e); Module._bitcmp = (e) => (Module._bitcmp = wasmExports.bitcmp)(e); Module._bpchareq = (e) => (Module._bpchareq = wasmExports.bpchareq)(e); Module._bpcharlt = (e) => (Module._bpcharlt = wasmExports.bpcharlt)(e); Module._bpcharle = (e) => (Module._bpcharle = wasmExports.bpcharle)(e); Module._bpchargt = (e) => (Module._bpchargt = wasmExports.bpchargt)(e); Module._bpcharge = (e) => (Module._bpcharge = wasmExports.bpcharge)(e); Module._bpcharcmp = (e) => (Module._bpcharcmp = wasmExports.bpcharcmp)(e); Module._texteq = (e) => (Module._texteq = wasmExports.texteq)(e); Module._text_lt = (e) => (Module._text_lt = wasmExports.text_lt)(e); Module._text_le = (e) => (Module._text_le = wasmExports.text_le)(e); Module._text_gt = (e) => (Module._text_gt = wasmExports.text_gt)(e); Module._text_ge = (e) => (Module._text_ge = wasmExports.text_ge)(e); Module._bttextcmp = (e) => (Module._bttextcmp = wasmExports.bttextcmp)(e); Module._byteaeq = (e) => (Module._byteaeq = wasmExports.byteaeq)(e); Module._bytealt = (e) => (Module._bytealt = wasmExports.bytealt)(e); Module._byteale = (e) => (Module._byteale = wasmExports.byteale)(e); Module._byteagt = (e) => (Module._byteagt = wasmExports.byteagt)(e); Module._byteage = (e) => (Module._byteage = wasmExports.byteage)(e); Module._byteacmp = (e) => (Module._byteacmp = wasmExports.byteacmp)(e); Module._to_hex32 = (e) => (Module._to_hex32 = wasmExports.to_hex32)(e); Module._varstr_levenshtein = (e, t2, r, a2, s4, o4, n3, _3) => (Module._varstr_levenshtein = wasmExports.varstr_levenshtein)(e, t2, r, a2, s4, o4, n3, _3); Module._pg_xml_init = (e) => (Module._pg_xml_init = wasmExports.pg_xml_init)(e); Module._xmlInitParser = () => (Module._xmlInitParser = wasmExports.xmlInitParser)(); Module._xml_ereport = (e, t2, r, a2) => (Module._xml_ereport = wasmExports.xml_ereport)(e, t2, r, a2); Module._pg_xml_done = (e, t2) => (Module._pg_xml_done = wasmExports.pg_xml_done)(e, t2); Module._xmlXPathNewContext = (e) => (Module._xmlXPathNewContext = wasmExports.xmlXPathNewContext)(e); Module._xmlXPathFreeContext = (e) => (Module._xmlXPathFreeContext = wasmExports.xmlXPathFreeContext)(e); Module._xmlFreeDoc = (e) => (Module._xmlFreeDoc = wasmExports.xmlFreeDoc)(e); Module._xmlXPathCtxtCompile = (e, t2) => (Module._xmlXPathCtxtCompile = wasmExports.xmlXPathCtxtCompile)(e, t2); Module._xmlXPathCompiledEval = (e, t2) => (Module._xmlXPathCompiledEval = wasmExports.xmlXPathCompiledEval)(e, t2); Module._xmlXPathFreeObject = (e) => (Module._xmlXPathFreeObject = wasmExports.xmlXPathFreeObject)(e); Module._xmlXPathFreeCompExpr = (e) => (Module._xmlXPathFreeCompExpr = wasmExports.xmlXPathFreeCompExpr)(e); Module._xmlStrdup = (e) => (Module._xmlStrdup = wasmExports.xmlStrdup)(e); Module._xmlEncodeSpecialChars = (e, t2) => (Module._xmlEncodeSpecialChars = wasmExports.xmlEncodeSpecialChars)(e, t2); Module._xmlStrlen = (e) => (Module._xmlStrlen = wasmExports.xmlStrlen)(e); Module._xmlBufferCreate = () => (Module._xmlBufferCreate = wasmExports.xmlBufferCreate)(); Module._xmlBufferFree = (e) => (Module._xmlBufferFree = wasmExports.xmlBufferFree)(e); Module._xmlXPathCastNodeToString = (e) => (Module._xmlXPathCastNodeToString = wasmExports.xmlXPathCastNodeToString)(e); Module._xmlNodeDump = (e, t2, r, a2, s4) => (Module._xmlNodeDump = wasmExports.xmlNodeDump)(e, t2, r, a2, s4); Module._get_typsubscript = (e, t2) => (Module._get_typsubscript = wasmExports.get_typsubscript)(e, t2); Module._CachedPlanAllowsSimpleValidityCheck = (e, t2, r) => (Module._CachedPlanAllowsSimpleValidityCheck = wasmExports.CachedPlanAllowsSimpleValidityCheck)(e, t2, r); Module._CachedPlanIsSimplyValid = (e, t2, r) => (Module._CachedPlanIsSimplyValid = wasmExports.CachedPlanIsSimplyValid)(e, t2, r); Module._GetCachedExpression = (e) => (Module._GetCachedExpression = wasmExports.GetCachedExpression)(e); Module._FreeCachedExpression = (e) => (Module._FreeCachedExpression = wasmExports.FreeCachedExpression)(e); Module._ReleaseAllPlanCacheRefsInOwner = (e) => (Module._ReleaseAllPlanCacheRefsInOwner = wasmExports.ReleaseAllPlanCacheRefsInOwner)(e); Module._in_error_recursion_trouble = () => (Module._in_error_recursion_trouble = wasmExports.in_error_recursion_trouble)(); Module._GetErrorContextStack = () => (Module._GetErrorContextStack = wasmExports.GetErrorContextStack)(); Module._find_rendezvous_variable = (e) => (Module._find_rendezvous_variable = wasmExports.find_rendezvous_variable)(e); Module._CallerFInfoFunctionCall2 = (e, t2, r, a2, s4) => (Module._CallerFInfoFunctionCall2 = wasmExports.CallerFInfoFunctionCall2)(e, t2, r, a2, s4); Module._FunctionCall0Coll = (e, t2) => (Module._FunctionCall0Coll = wasmExports.FunctionCall0Coll)(e, t2); Module._resolve_polymorphic_argtypes = (e, t2, r, a2) => (Module._resolve_polymorphic_argtypes = wasmExports.resolve_polymorphic_argtypes)(e, t2, r, a2); Module._pg_bindtextdomain = (e) => (Module._pg_bindtextdomain = wasmExports.pg_bindtextdomain)(e); Module._DefineCustomBoolVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._DefineCustomBoolVariable = wasmExports.DefineCustomBoolVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._DefineCustomIntVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineCustomIntVariable = wasmExports.DefineCustomIntVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._DefineCustomRealVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineCustomRealVariable = wasmExports.DefineCustomRealVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._DefineCustomStringVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._DefineCustomStringVariable = wasmExports.DefineCustomStringVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._DefineCustomEnumVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._DefineCustomEnumVariable = wasmExports.DefineCustomEnumVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._MarkGUCPrefixReserved = (e) => (Module._MarkGUCPrefixReserved = wasmExports.MarkGUCPrefixReserved)(e); Module._sampler_random_init_state = (e, t2) => (Module._sampler_random_init_state = wasmExports.sampler_random_init_state)(e, t2); Module._pchomp = (e) => (Module._pchomp = wasmExports.pchomp)(e); Module._PinPortal = (e) => (Module._PinPortal = wasmExports.PinPortal)(e); Module._UnpinPortal = (e) => (Module._UnpinPortal = wasmExports.UnpinPortal)(e); Module._xmlBufferWriteCHAR = (e, t2) => (Module._xmlBufferWriteCHAR = wasmExports.xmlBufferWriteCHAR)(e, t2); Module._xmlBufferWriteChar = (e, t2) => (Module._xmlBufferWriteChar = wasmExports.xmlBufferWriteChar)(e, t2); Module._xmlReadMemory = (e, t2, r, a2, s4) => (Module._xmlReadMemory = wasmExports.xmlReadMemory)(e, t2, r, a2, s4); Module._xmlDocGetRootElement = (e) => (Module._xmlDocGetRootElement = wasmExports.xmlDocGetRootElement)(e); Module._xmlXPathIsNaN = (e) => (Module._xmlXPathIsNaN = wasmExports.xmlXPathIsNaN)(e); Module._xmlXPathCastToBoolean = (e) => (Module._xmlXPathCastToBoolean = wasmExports.xmlXPathCastToBoolean)(e); Module._xmlXPathCastToNumber = (e) => (Module._xmlXPathCastToNumber = wasmExports.xmlXPathCastToNumber)(e); var ___dl_seterr = (e, t2) => (___dl_seterr = wasmExports.__dl_seterr)(e, t2); Module._gmtime = (e) => (Module._gmtime = wasmExports.gmtime)(e); var _htonl = (e) => (_htonl = wasmExports.htonl)(e), _htons = (e) => (_htons = wasmExports.htons)(e); Module._ioctl = (e, t2, r) => (Module._ioctl = wasmExports.ioctl)(e, t2, r); var _emscripten_builtin_memalign = (e, t2) => (_emscripten_builtin_memalign = wasmExports.emscripten_builtin_memalign)(e, t2), _ntohs = (e) => (_ntohs = wasmExports.ntohs)(e); Module._srand = (e) => (Module._srand = wasmExports.srand)(e); Module._rand = () => (Module._rand = wasmExports.rand)(); var __emscripten_timeout = (e, t2) => (__emscripten_timeout = wasmExports._emscripten_timeout)(e, t2), _setThrew = (e, t2) => (_setThrew = wasmExports.setThrew)(e, t2), __emscripten_tempret_set = (e) => (__emscripten_tempret_set = wasmExports._emscripten_tempret_set)(e), __emscripten_tempret_get = () => (__emscripten_tempret_get = wasmExports._emscripten_tempret_get)(), __emscripten_stack_restore = (e) => (__emscripten_stack_restore = wasmExports._emscripten_stack_restore)(e), __emscripten_stack_alloc = (e) => (__emscripten_stack_alloc = wasmExports._emscripten_stack_alloc)(e), _emscripten_stack_get_current = () => (_emscripten_stack_get_current = wasmExports.emscripten_stack_get_current)(); Module._InterruptPending = 2677872; Module._MyLatch = 2678060; Module._CritSectionCount = 2677924; Module._MyProc = 2647676; Module._pg_global_prng_state = 2624256; Module._error_context_stack = 2676168; Module._GUC_check_errdetail_string = 2681820; Module._IsUnderPostmaster = 2677953; Module._CurrentMemoryContext = 2683248; Module._stdout = 2537152; Module._debug_query_string = 2538700; Module._MyProcPort = 2678048; Module.___THREW__ = 2698916; Module.___threwValue = 2698920; Module._MyDatabaseId = 2677932; Module._TopMemoryContext = 2683252; Module._PG_exception_stack = 2676172; Module._MyProcPid = 2678024; Module._stdin = 2537e3; Module._ScanKeywords = 2374040; Module._pg_number_of_ones = 925120; Module._LocalBufferBlockPointers = 2644252; Module._BufferBlocks = 2638988; Module._wal_level = 2387920; Module._SnapshotAnyData = 2474096; Module._maintenance_work_mem = 2421576; Module._ParallelWorkerNumber = 2379480; Module._MainLWLockArray = 2645860; Module._CurrentResourceOwner = 2683296; Module._work_mem = 2421560; Module._NBuffers = 2421584; Module._bsysscan = 2625492; Module._CheckXidAlive = 2625488; Module._RecentXmin = 2474188; Module._XactIsoLevel = 2387784; Module._pgWalUsage = 2628960; Module._pgBufferUsage = 2628832; Module._TTSOpsVirtual = 2391608; Module._TransamVariables = 2625480; Module._TopTransactionContext = 2683272; Module._RmgrTable = 2379504; Module._process_shared_preload_libraries_in_progress = 2681216; Module._wal_segment_size = 2387940; Module._TopTransactionResourceOwner = 2683304; Module._arch_module_check_errdetail_string = 2638372; Module._object_access_hook = 2627600; Module._InvalidObjectAddress = 1520620; Module._check_function_bodies = 2421750; Module._post_parse_analyze_hook = 2627640; Module._ScanKeywordTokens = 1551648; Module._SPI_processed = 2628984; Module._SPI_tuptable = 2628992; Module._TTSOpsMinimalTuple = 2391712; Module._check_password_hook = 2627908; Module._ConfigReloadPending = 2638360; Module._max_parallel_maintenance_workers = 2421580; Module._DateStyle = 2421548; Module._ExecutorStart_hook = 2628808; Module._ExecutorRun_hook = 2628812; Module._ExecutorFinish_hook = 2628816; Module._ExecutorEnd_hook = 2628820; Module._SPI_result = 2628996; Module._ClientAuthentication_hook = 2629168; Module._cpu_tuple_cost = 2392168; Module._cpu_operator_cost = 2392184; Module._seq_page_cost = 2392152; Module._planner_hook = 2638056; Module._ShutdownRequestPending = 2638364; Module._MyStartTime = 2678032; Module._cluster_name = 2421800; Module._application_name = 2682044; Module._BufferDescriptors = 2638984; Module._shmem_startup_hook = 2644932; Module._ProcessUtility_hook = 2647764; Module._IntervalStyle = 2677956; Module._extra_float_digits = 2411976; Module._pg_crc32_table = 2112288; Module._xmlFree = 2523400; Module._shmem_request_hook = 2681220;
|
|
5287
5285
|
function invoke_iii(e, t2, r) {
|
|
5288
5286
|
var a2 = stackSave();
|
|
5289
5287
|
try {
|
|
@@ -6244,11 +6242,11 @@ var init_execution_limits = __esm({
|
|
|
6244
6242
|
init_defaults();
|
|
6245
6243
|
init_defaults();
|
|
6246
6244
|
agentsCore.loadEnvironmentFiles();
|
|
6247
|
-
constantsSchema =
|
|
6245
|
+
constantsSchema = zodOpenapi.z.object(
|
|
6248
6246
|
Object.fromEntries(
|
|
6249
6247
|
Object.keys(executionLimitsDefaults).map((key) => [
|
|
6250
6248
|
`AGENTS_${key}`,
|
|
6251
|
-
|
|
6249
|
+
zodOpenapi.z.coerce.number().optional()
|
|
6252
6250
|
])
|
|
6253
6251
|
)
|
|
6254
6252
|
);
|
|
@@ -6532,8 +6530,8 @@ async function getConversationScopedArtifacts(params) {
|
|
|
6532
6530
|
});
|
|
6533
6531
|
referenceArtifacts.push(...artifacts);
|
|
6534
6532
|
}
|
|
6535
|
-
const
|
|
6536
|
-
|
|
6533
|
+
const logger28 = (await Promise.resolve().then(() => (init_logger(), logger_exports))).getLogger("conversations");
|
|
6534
|
+
logger28.debug(
|
|
6537
6535
|
{
|
|
6538
6536
|
conversationId,
|
|
6539
6537
|
visibleMessages: visibleMessages.length,
|
|
@@ -6545,8 +6543,8 @@ async function getConversationScopedArtifacts(params) {
|
|
|
6545
6543
|
);
|
|
6546
6544
|
return referenceArtifacts;
|
|
6547
6545
|
} catch (error) {
|
|
6548
|
-
const
|
|
6549
|
-
|
|
6546
|
+
const logger28 = (await Promise.resolve().then(() => (init_logger(), logger_exports))).getLogger("conversations");
|
|
6547
|
+
logger28.error(
|
|
6550
6548
|
{
|
|
6551
6549
|
error: error instanceof Error ? error.message : "Unknown error",
|
|
6552
6550
|
conversationId
|
|
@@ -6588,14 +6586,14 @@ const execute = ${executeCode}
|
|
|
6588
6586
|
})();
|
|
6589
6587
|
`;
|
|
6590
6588
|
}
|
|
6591
|
-
function parseExecutionResult(stdout, functionId,
|
|
6589
|
+
function parseExecutionResult(stdout, functionId, logger28) {
|
|
6592
6590
|
try {
|
|
6593
6591
|
const outputLines = stdout.split("\n").filter((line) => line.trim());
|
|
6594
6592
|
const resultLine = outputLines[outputLines.length - 1];
|
|
6595
6593
|
return JSON.parse(resultLine);
|
|
6596
6594
|
} catch (parseError) {
|
|
6597
|
-
if (
|
|
6598
|
-
|
|
6595
|
+
if (logger28) {
|
|
6596
|
+
logger28.warn(
|
|
6599
6597
|
{
|
|
6600
6598
|
functionId,
|
|
6601
6599
|
stdout,
|
|
@@ -6611,13 +6609,13 @@ var init_sandbox_utils = __esm({
|
|
|
6611
6609
|
"src/tools/sandbox-utils.ts"() {
|
|
6612
6610
|
}
|
|
6613
6611
|
});
|
|
6614
|
-
var
|
|
6612
|
+
var logger15, ExecutionSemaphore, NativeSandboxExecutor;
|
|
6615
6613
|
var init_NativeSandboxExecutor = __esm({
|
|
6616
6614
|
"src/tools/NativeSandboxExecutor.ts"() {
|
|
6617
6615
|
init_execution_limits();
|
|
6618
6616
|
init_logger();
|
|
6619
6617
|
init_sandbox_utils();
|
|
6620
|
-
|
|
6618
|
+
logger15 = agentsCore.getLogger("native-sandbox-executor");
|
|
6621
6619
|
ExecutionSemaphore = class {
|
|
6622
6620
|
permits;
|
|
6623
6621
|
waitQueue = [];
|
|
@@ -6689,7 +6687,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6689
6687
|
getSemaphore(vcpus) {
|
|
6690
6688
|
const effectiveVcpus = Math.max(1, vcpus || 1);
|
|
6691
6689
|
if (!this.executionSemaphores.has(effectiveVcpus)) {
|
|
6692
|
-
|
|
6690
|
+
logger15.debug({ vcpus: effectiveVcpus }, "Creating new execution semaphore");
|
|
6693
6691
|
this.executionSemaphores.set(effectiveVcpus, new ExecutionSemaphore(effectiveVcpus));
|
|
6694
6692
|
}
|
|
6695
6693
|
const semaphore = this.executionSemaphores.get(effectiveVcpus);
|
|
@@ -6726,7 +6724,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6726
6724
|
if (now - sandbox.lastUsed < FUNCTION_TOOL_SANDBOX_POOL_TTL_MS && sandbox.useCount < FUNCTION_TOOL_SANDBOX_MAX_USE_COUNT) {
|
|
6727
6725
|
sandbox.lastUsed = now;
|
|
6728
6726
|
sandbox.useCount++;
|
|
6729
|
-
|
|
6727
|
+
logger15.debug(
|
|
6730
6728
|
{
|
|
6731
6729
|
poolKey,
|
|
6732
6730
|
useCount: sandbox.useCount,
|
|
@@ -6753,14 +6751,14 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6753
6751
|
useCount: 1,
|
|
6754
6752
|
dependencies
|
|
6755
6753
|
};
|
|
6756
|
-
|
|
6754
|
+
logger15.debug({ poolKey, sandboxDir }, "Added sandbox to pool");
|
|
6757
6755
|
}
|
|
6758
6756
|
cleanupSandbox(sandboxDir) {
|
|
6759
6757
|
try {
|
|
6760
6758
|
s3.rmSync(sandboxDir, { recursive: true, force: true });
|
|
6761
|
-
|
|
6759
|
+
logger15.debug({ sandboxDir }, "Cleaned up sandbox");
|
|
6762
6760
|
} catch (error) {
|
|
6763
|
-
|
|
6761
|
+
logger15.warn({ sandboxDir, error }, "Failed to clean up sandbox");
|
|
6764
6762
|
}
|
|
6765
6763
|
}
|
|
6766
6764
|
startPoolCleanup() {
|
|
@@ -6777,7 +6775,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6777
6775
|
delete this.sandboxPool[key];
|
|
6778
6776
|
});
|
|
6779
6777
|
if (keysToDelete.length > 0) {
|
|
6780
|
-
|
|
6778
|
+
logger15.debug({ cleanedCount: keysToDelete.length }, "Cleaned up expired sandboxes");
|
|
6781
6779
|
}
|
|
6782
6780
|
}, FUNCTION_TOOL_SANDBOX_CLEANUP_INTERVAL_MS);
|
|
6783
6781
|
}
|
|
@@ -6806,7 +6804,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6806
6804
|
return hasCjsSyntax ? "cjs" : "esm";
|
|
6807
6805
|
}
|
|
6808
6806
|
if (hasEsmSyntax && hasCjsSyntax) {
|
|
6809
|
-
|
|
6807
|
+
logger15.warn(
|
|
6810
6808
|
{ executeCode: `${executeCode.substring(0, 100)}...` },
|
|
6811
6809
|
"Both ESM and CommonJS syntax detected, defaulting to ESM"
|
|
6812
6810
|
);
|
|
@@ -6823,7 +6821,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6823
6821
|
async executeFunctionTool(toolId, args2, config) {
|
|
6824
6822
|
const vcpus = config.sandboxConfig?.vcpus || 1;
|
|
6825
6823
|
const semaphore = this.getSemaphore(vcpus);
|
|
6826
|
-
|
|
6824
|
+
logger15.debug(
|
|
6827
6825
|
{
|
|
6828
6826
|
toolId,
|
|
6829
6827
|
vcpus,
|
|
@@ -6841,7 +6839,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6841
6839
|
async executeInSandbox_Internal(toolId, args2, config) {
|
|
6842
6840
|
const dependencies = config.dependencies || {};
|
|
6843
6841
|
const dependencyHash = this.generateDependencyHash(dependencies);
|
|
6844
|
-
|
|
6842
|
+
logger15.debug(
|
|
6845
6843
|
{
|
|
6846
6844
|
toolId,
|
|
6847
6845
|
dependencies,
|
|
@@ -6857,7 +6855,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6857
6855
|
sandboxDir = o3.join(this.tempDir, `sandbox-${dependencyHash}-${Date.now()}`);
|
|
6858
6856
|
s3.mkdirSync(sandboxDir, { recursive: true });
|
|
6859
6857
|
isNewSandbox = true;
|
|
6860
|
-
|
|
6858
|
+
logger15.debug(
|
|
6861
6859
|
{
|
|
6862
6860
|
toolId,
|
|
6863
6861
|
dependencyHash,
|
|
@@ -6928,15 +6926,15 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6928
6926
|
});
|
|
6929
6927
|
npm.on("close", (code) => {
|
|
6930
6928
|
if (code === 0) {
|
|
6931
|
-
|
|
6929
|
+
logger15.debug({ sandboxDir }, "Dependencies installed successfully");
|
|
6932
6930
|
resolve2();
|
|
6933
6931
|
} else {
|
|
6934
|
-
|
|
6932
|
+
logger15.error({ sandboxDir, code, stderr }, "Failed to install dependencies");
|
|
6935
6933
|
reject(new Error(`npm install failed with code ${code}: ${stderr}`));
|
|
6936
6934
|
}
|
|
6937
6935
|
});
|
|
6938
6936
|
npm.on("error", (err2) => {
|
|
6939
|
-
|
|
6937
|
+
logger15.error({ sandboxDir, error: err2 }, "Failed to spawn npm install");
|
|
6940
6938
|
reject(err2);
|
|
6941
6939
|
});
|
|
6942
6940
|
});
|
|
@@ -6983,7 +6981,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6983
6981
|
stderr += dataStr;
|
|
6984
6982
|
});
|
|
6985
6983
|
const timeoutId = setTimeout(() => {
|
|
6986
|
-
|
|
6984
|
+
logger15.warn({ sandboxDir, timeout }, "Function execution timed out, killing process");
|
|
6987
6985
|
node.kill("SIGTERM");
|
|
6988
6986
|
const forceKillTimeout = Math.min(Math.max(timeout / 10, 2e3), 5e3);
|
|
6989
6987
|
setTimeout(() => {
|
|
@@ -6998,7 +6996,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6998
6996
|
clearTimeout(timeoutId);
|
|
6999
6997
|
if (code === 0) {
|
|
7000
6998
|
try {
|
|
7001
|
-
const result = parseExecutionResult(stdout, "function",
|
|
6999
|
+
const result = parseExecutionResult(stdout, "function", logger15);
|
|
7002
7000
|
if (typeof result === "object" && result !== null && "success" in result) {
|
|
7003
7001
|
const parsed = result;
|
|
7004
7002
|
if (parsed.success) {
|
|
@@ -7010,18 +7008,18 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
7010
7008
|
resolve2(result);
|
|
7011
7009
|
}
|
|
7012
7010
|
} catch (parseError) {
|
|
7013
|
-
|
|
7011
|
+
logger15.error({ stdout, stderr, parseError }, "Failed to parse function result");
|
|
7014
7012
|
reject(new Error(`Invalid function result: ${stdout}`));
|
|
7015
7013
|
}
|
|
7016
7014
|
} else {
|
|
7017
7015
|
const errorMsg = signal ? `Function execution killed by signal ${signal}: ${stderr}` : `Function execution failed with code ${code}: ${stderr}`;
|
|
7018
|
-
|
|
7016
|
+
logger15.error({ code, signal, stderr }, "Function execution failed");
|
|
7019
7017
|
reject(new Error(errorMsg));
|
|
7020
7018
|
}
|
|
7021
7019
|
});
|
|
7022
7020
|
node.on("error", (error) => {
|
|
7023
7021
|
clearTimeout(timeoutId);
|
|
7024
|
-
|
|
7022
|
+
logger15.error({ sandboxDir, error }, "Failed to spawn node process");
|
|
7025
7023
|
reject(error);
|
|
7026
7024
|
});
|
|
7027
7025
|
});
|
|
@@ -7029,13 +7027,13 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
7029
7027
|
};
|
|
7030
7028
|
}
|
|
7031
7029
|
});
|
|
7032
|
-
var
|
|
7030
|
+
var logger16, VercelSandboxExecutor;
|
|
7033
7031
|
var init_VercelSandboxExecutor = __esm({
|
|
7034
7032
|
"src/tools/VercelSandboxExecutor.ts"() {
|
|
7035
7033
|
init_execution_limits();
|
|
7036
7034
|
init_logger();
|
|
7037
7035
|
init_sandbox_utils();
|
|
7038
|
-
|
|
7036
|
+
logger16 = agentsCore.getLogger("VercelSandboxExecutor");
|
|
7039
7037
|
VercelSandboxExecutor = class _VercelSandboxExecutor {
|
|
7040
7038
|
static instance;
|
|
7041
7039
|
config;
|
|
@@ -7043,7 +7041,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7043
7041
|
cleanupInterval = null;
|
|
7044
7042
|
constructor(config) {
|
|
7045
7043
|
this.config = config;
|
|
7046
|
-
|
|
7044
|
+
logger16.info(
|
|
7047
7045
|
{
|
|
7048
7046
|
teamId: config.teamId,
|
|
7049
7047
|
projectId: config.projectId,
|
|
@@ -7080,7 +7078,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7080
7078
|
const now = Date.now();
|
|
7081
7079
|
const age = now - cached.createdAt;
|
|
7082
7080
|
if (age > FUNCTION_TOOL_SANDBOX_POOL_TTL_MS || cached.useCount >= FUNCTION_TOOL_SANDBOX_MAX_USE_COUNT) {
|
|
7083
|
-
|
|
7081
|
+
logger16.debug(
|
|
7084
7082
|
{
|
|
7085
7083
|
dependencyHash,
|
|
7086
7084
|
age,
|
|
@@ -7093,7 +7091,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7093
7091
|
this.removeSandbox(dependencyHash);
|
|
7094
7092
|
return null;
|
|
7095
7093
|
}
|
|
7096
|
-
|
|
7094
|
+
logger16.debug(
|
|
7097
7095
|
{
|
|
7098
7096
|
dependencyHash,
|
|
7099
7097
|
useCount: cached.useCount,
|
|
@@ -7113,7 +7111,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7113
7111
|
useCount: 0,
|
|
7114
7112
|
dependencies
|
|
7115
7113
|
});
|
|
7116
|
-
|
|
7114
|
+
logger16.debug(
|
|
7117
7115
|
{
|
|
7118
7116
|
dependencyHash,
|
|
7119
7117
|
poolSize: this.sandboxPool.size
|
|
@@ -7138,9 +7136,9 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7138
7136
|
if (cached) {
|
|
7139
7137
|
try {
|
|
7140
7138
|
await cached.sandbox.stop();
|
|
7141
|
-
|
|
7139
|
+
logger16.debug({ dependencyHash }, "Sandbox stopped");
|
|
7142
7140
|
} catch (error) {
|
|
7143
|
-
|
|
7141
|
+
logger16.warn({ error, dependencyHash }, "Error stopping sandbox");
|
|
7144
7142
|
}
|
|
7145
7143
|
this.sandboxPool.delete(dependencyHash);
|
|
7146
7144
|
}
|
|
@@ -7159,7 +7157,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7159
7157
|
}
|
|
7160
7158
|
}
|
|
7161
7159
|
if (toRemove.length > 0) {
|
|
7162
|
-
|
|
7160
|
+
logger16.info(
|
|
7163
7161
|
{
|
|
7164
7162
|
count: toRemove.length,
|
|
7165
7163
|
poolSize: this.sandboxPool.size
|
|
@@ -7180,7 +7178,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7180
7178
|
clearInterval(this.cleanupInterval);
|
|
7181
7179
|
this.cleanupInterval = null;
|
|
7182
7180
|
}
|
|
7183
|
-
|
|
7181
|
+
logger16.info(
|
|
7184
7182
|
{
|
|
7185
7183
|
poolSize: this.sandboxPool.size
|
|
7186
7184
|
},
|
|
@@ -7217,7 +7215,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7217
7215
|
const envLines = [];
|
|
7218
7216
|
for (const varName of envVarNames) {
|
|
7219
7217
|
envLines.push(`${varName}=""`);
|
|
7220
|
-
|
|
7218
|
+
logger16.debug({ varName }, "Adding environment variable placeholder to sandbox");
|
|
7221
7219
|
}
|
|
7222
7220
|
return envLines.join("\n");
|
|
7223
7221
|
}
|
|
@@ -7230,7 +7228,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7230
7228
|
const dependencies = toolConfig.dependencies || {};
|
|
7231
7229
|
const dependencyHash = this.generateDependencyHash(dependencies);
|
|
7232
7230
|
try {
|
|
7233
|
-
|
|
7231
|
+
logger16.info(
|
|
7234
7232
|
{
|
|
7235
7233
|
functionId,
|
|
7236
7234
|
functionName: toolConfig.name,
|
|
@@ -7253,7 +7251,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7253
7251
|
},
|
|
7254
7252
|
runtime: this.config.runtime
|
|
7255
7253
|
});
|
|
7256
|
-
|
|
7254
|
+
logger16.info(
|
|
7257
7255
|
{
|
|
7258
7256
|
functionId,
|
|
7259
7257
|
sandboxId: sandbox$1.sandboxId,
|
|
@@ -7263,7 +7261,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7263
7261
|
);
|
|
7264
7262
|
this.addToPool(dependencyHash, sandbox$1, dependencies);
|
|
7265
7263
|
} else {
|
|
7266
|
-
|
|
7264
|
+
logger16.info(
|
|
7267
7265
|
{
|
|
7268
7266
|
functionId,
|
|
7269
7267
|
sandboxId: sandbox$1.sandboxId,
|
|
@@ -7275,7 +7273,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7275
7273
|
this.incrementUseCount(dependencyHash);
|
|
7276
7274
|
try {
|
|
7277
7275
|
if (isNewSandbox && toolConfig.dependencies && Object.keys(toolConfig.dependencies).length > 0) {
|
|
7278
|
-
|
|
7276
|
+
logger16.debug(
|
|
7279
7277
|
{
|
|
7280
7278
|
functionId,
|
|
7281
7279
|
functionName: toolConfig.name,
|
|
@@ -7308,7 +7306,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7308
7306
|
if (installCmd.exitCode !== 0) {
|
|
7309
7307
|
throw new Error(`Failed to install dependencies: ${installStderr}`);
|
|
7310
7308
|
}
|
|
7311
|
-
|
|
7309
|
+
logger16.info(
|
|
7312
7310
|
{
|
|
7313
7311
|
functionId,
|
|
7314
7312
|
dependencyHash
|
|
@@ -7331,7 +7329,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7331
7329
|
path: ".env",
|
|
7332
7330
|
content: Buffer.from(envFileContent, "utf-8")
|
|
7333
7331
|
});
|
|
7334
|
-
|
|
7332
|
+
logger16.info(
|
|
7335
7333
|
{
|
|
7336
7334
|
functionId,
|
|
7337
7335
|
envVarCount: envVars.size,
|
|
@@ -7342,7 +7340,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7342
7340
|
}
|
|
7343
7341
|
}
|
|
7344
7342
|
await sandbox$1.writeFiles(filesToWrite);
|
|
7345
|
-
|
|
7343
|
+
logger16.info(
|
|
7346
7344
|
{
|
|
7347
7345
|
functionId,
|
|
7348
7346
|
runtime: this.config.runtime === "typescript" ? "tsx" : "node",
|
|
@@ -7373,7 +7371,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7373
7371
|
}
|
|
7374
7372
|
const executionTime = Date.now() - startTime;
|
|
7375
7373
|
if (executeCmd.exitCode !== 0) {
|
|
7376
|
-
|
|
7374
|
+
logger16.error(
|
|
7377
7375
|
{
|
|
7378
7376
|
functionId,
|
|
7379
7377
|
exitCode: executeCmd.exitCode,
|
|
@@ -7388,8 +7386,8 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7388
7386
|
executionTime
|
|
7389
7387
|
};
|
|
7390
7388
|
}
|
|
7391
|
-
const result = parseExecutionResult(executeStdout, functionId,
|
|
7392
|
-
|
|
7389
|
+
const result = parseExecutionResult(executeStdout, functionId, logger16);
|
|
7390
|
+
logger16.info(
|
|
7393
7391
|
{
|
|
7394
7392
|
functionId,
|
|
7395
7393
|
executionTime
|
|
@@ -7409,7 +7407,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7409
7407
|
} catch (error) {
|
|
7410
7408
|
const executionTime = Date.now() - startTime;
|
|
7411
7409
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
7412
|
-
|
|
7410
|
+
logger16.error(
|
|
7413
7411
|
{
|
|
7414
7412
|
functionId,
|
|
7415
7413
|
error: errorMessage,
|
|
@@ -7434,19 +7432,19 @@ var SandboxExecutorFactory_exports = {};
|
|
|
7434
7432
|
__export(SandboxExecutorFactory_exports, {
|
|
7435
7433
|
SandboxExecutorFactory: () => SandboxExecutorFactory
|
|
7436
7434
|
});
|
|
7437
|
-
var
|
|
7435
|
+
var logger17, SandboxExecutorFactory;
|
|
7438
7436
|
var init_SandboxExecutorFactory = __esm({
|
|
7439
7437
|
"src/tools/SandboxExecutorFactory.ts"() {
|
|
7440
7438
|
init_logger();
|
|
7441
7439
|
init_NativeSandboxExecutor();
|
|
7442
7440
|
init_VercelSandboxExecutor();
|
|
7443
|
-
|
|
7441
|
+
logger17 = agentsCore.getLogger("SandboxExecutorFactory");
|
|
7444
7442
|
SandboxExecutorFactory = class _SandboxExecutorFactory {
|
|
7445
7443
|
static instance;
|
|
7446
7444
|
nativeExecutor = null;
|
|
7447
7445
|
vercelExecutors = /* @__PURE__ */ new Map();
|
|
7448
7446
|
constructor() {
|
|
7449
|
-
|
|
7447
|
+
logger17.info({}, "SandboxExecutorFactory initialized");
|
|
7450
7448
|
}
|
|
7451
7449
|
/**
|
|
7452
7450
|
* Get singleton instance of SandboxExecutorFactory
|
|
@@ -7479,7 +7477,7 @@ var init_SandboxExecutorFactory = __esm({
|
|
|
7479
7477
|
async executeInNativeSandbox(functionId, args2, config) {
|
|
7480
7478
|
if (!this.nativeExecutor) {
|
|
7481
7479
|
this.nativeExecutor = NativeSandboxExecutor.getInstance();
|
|
7482
|
-
|
|
7480
|
+
logger17.info({}, "Native sandbox executor created");
|
|
7483
7481
|
}
|
|
7484
7482
|
return this.nativeExecutor.executeFunctionTool(functionId, args2, config);
|
|
7485
7483
|
}
|
|
@@ -7492,7 +7490,7 @@ var init_SandboxExecutorFactory = __esm({
|
|
|
7492
7490
|
if (!this.vercelExecutors.has(configKey)) {
|
|
7493
7491
|
const executor2 = VercelSandboxExecutor.getInstance(vercelConfig);
|
|
7494
7492
|
this.vercelExecutors.set(configKey, executor2);
|
|
7495
|
-
|
|
7493
|
+
logger17.info(
|
|
7496
7494
|
{
|
|
7497
7495
|
teamId: vercelConfig.teamId,
|
|
7498
7496
|
projectId: vercelConfig.projectId
|
|
@@ -7514,13 +7512,13 @@ var init_SandboxExecutorFactory = __esm({
|
|
|
7514
7512
|
* Clean up all sandbox executors
|
|
7515
7513
|
*/
|
|
7516
7514
|
async cleanup() {
|
|
7517
|
-
|
|
7515
|
+
logger17.info({}, "Cleaning up sandbox executors");
|
|
7518
7516
|
this.nativeExecutor = null;
|
|
7519
7517
|
for (const [key, executor] of this.vercelExecutors.entries()) {
|
|
7520
7518
|
await executor.cleanup();
|
|
7521
7519
|
this.vercelExecutors.delete(key);
|
|
7522
7520
|
}
|
|
7523
|
-
|
|
7521
|
+
logger17.info({}, "Sandbox executor cleanup completed");
|
|
7524
7522
|
}
|
|
7525
7523
|
};
|
|
7526
7524
|
}
|
|
@@ -7599,7 +7597,7 @@ var defaultContextManager = new contextAsyncHooks.AsyncLocalStorageContextManage
|
|
|
7599
7597
|
var defaultTextMapPropagator = new core.CompositePropagator({
|
|
7600
7598
|
propagators: [new core.W3CTraceContextPropagator(), new core.W3CBaggagePropagator()]
|
|
7601
7599
|
});
|
|
7602
|
-
new sdkNode.NodeSDK({
|
|
7600
|
+
var defaultSDK = new sdkNode.NodeSDK({
|
|
7603
7601
|
resource: defaultResource,
|
|
7604
7602
|
contextManager: defaultContextManager,
|
|
7605
7603
|
textMapPropagator: defaultTextMapPropagator,
|
|
@@ -7613,8 +7611,6 @@ async function flushBatchProcessor() {
|
|
|
7613
7611
|
logger.warn({ error }, "Failed to flush batch processor");
|
|
7614
7612
|
}
|
|
7615
7613
|
}
|
|
7616
|
-
|
|
7617
|
-
// src/app.ts
|
|
7618
7614
|
init_logger();
|
|
7619
7615
|
|
|
7620
7616
|
// src/middleware/api-key-auth.ts
|
|
@@ -7623,6 +7619,10 @@ init_env();
|
|
|
7623
7619
|
init_logger();
|
|
7624
7620
|
|
|
7625
7621
|
// src/types/execution-context.ts
|
|
7622
|
+
function getUserIdFromContext(ctx) {
|
|
7623
|
+
const metadata2 = ctx.metadata;
|
|
7624
|
+
return metadata2?.initiatedBy?.type === "user" ? metadata2.initiatedBy.id : void 0;
|
|
7625
|
+
}
|
|
7626
7626
|
function createExecutionContext(params) {
|
|
7627
7627
|
return {
|
|
7628
7628
|
apiKey: params.apiKey,
|
|
@@ -8232,6 +8232,21 @@ async function handleMessageSend(c2, agent, request) {
|
|
|
8232
8232
|
});
|
|
8233
8233
|
}
|
|
8234
8234
|
}
|
|
8235
|
+
if (result.status.state === agentsCore.TaskState.Failed) {
|
|
8236
|
+
const isConnectionRefused = result.status.type === "connection_refused";
|
|
8237
|
+
if (isConnectionRefused) {
|
|
8238
|
+
return c2.json({
|
|
8239
|
+
jsonrpc: "2.0",
|
|
8240
|
+
error: {
|
|
8241
|
+
code: -32603,
|
|
8242
|
+
message: result.status.message || "Agent execution failed",
|
|
8243
|
+
data: {
|
|
8244
|
+
type: "connection_refused"
|
|
8245
|
+
}
|
|
8246
|
+
}
|
|
8247
|
+
});
|
|
8248
|
+
}
|
|
8249
|
+
}
|
|
8235
8250
|
const taskStatus = {
|
|
8236
8251
|
state: result.status.state,
|
|
8237
8252
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -10269,13 +10284,30 @@ var AgentSession = class {
|
|
|
10269
10284
|
/**
|
|
10270
10285
|
* Clean up status update resources when session ends
|
|
10271
10286
|
*/
|
|
10272
|
-
cleanup() {
|
|
10287
|
+
async cleanup() {
|
|
10273
10288
|
this.isEnded = true;
|
|
10274
10289
|
if (this.statusUpdateTimer) {
|
|
10275
10290
|
clearInterval(this.statusUpdateTimer);
|
|
10276
10291
|
this.statusUpdateTimer = void 0;
|
|
10277
10292
|
}
|
|
10278
10293
|
this.statusUpdateState = void 0;
|
|
10294
|
+
if (this.pendingArtifacts.size > 0) {
|
|
10295
|
+
const maxWaitTime = 1e4;
|
|
10296
|
+
const startTime = Date.now();
|
|
10297
|
+
while (this.pendingArtifacts.size > 0 && Date.now() - startTime < maxWaitTime) {
|
|
10298
|
+
await new Promise((resolve2) => setTimeout(resolve2, 100));
|
|
10299
|
+
}
|
|
10300
|
+
if (this.pendingArtifacts.size > 0) {
|
|
10301
|
+
logger8.warn(
|
|
10302
|
+
{
|
|
10303
|
+
sessionId: this.sessionId,
|
|
10304
|
+
pendingCount: this.pendingArtifacts.size,
|
|
10305
|
+
pendingIds: Array.from(this.pendingArtifacts)
|
|
10306
|
+
},
|
|
10307
|
+
"Cleanup proceeding with pending artifacts still processing"
|
|
10308
|
+
);
|
|
10309
|
+
}
|
|
10310
|
+
}
|
|
10279
10311
|
this.pendingArtifacts.clear();
|
|
10280
10312
|
this.artifactProcessingErrors.clear();
|
|
10281
10313
|
this.artifactCache.clear();
|
|
@@ -10518,12 +10550,12 @@ ${conversationHistory}
|
|
|
10518
10550
|
Previous updates sent to user:
|
|
10519
10551
|
${previousSummaries.map((s4, i3) => `${i3 + 1}. ${s4}`).join("\n")}
|
|
10520
10552
|
` : "";
|
|
10521
|
-
const selectionSchema =
|
|
10553
|
+
const selectionSchema = zodOpenapi.z.object(
|
|
10522
10554
|
Object.fromEntries([
|
|
10523
10555
|
[
|
|
10524
10556
|
"no_relevant_updates",
|
|
10525
|
-
|
|
10526
|
-
no_updates:
|
|
10557
|
+
zodOpenapi.z.object({
|
|
10558
|
+
no_updates: zodOpenapi.z.boolean().default(true)
|
|
10527
10559
|
}).optional().describe(
|
|
10528
10560
|
"Use when nothing substantially new to report. Should only use on its own."
|
|
10529
10561
|
)
|
|
@@ -10657,8 +10689,8 @@ ${this.statusUpdateState?.config.prompt?.trim() || ""}`;
|
|
|
10657
10689
|
if (component.detailsSchema && "properties" in component.detailsSchema) {
|
|
10658
10690
|
return this.buildZodSchemaFromJson(component.detailsSchema);
|
|
10659
10691
|
}
|
|
10660
|
-
return
|
|
10661
|
-
label:
|
|
10692
|
+
return zodOpenapi.z.object({
|
|
10693
|
+
label: zodOpenapi.z.string().describe(
|
|
10662
10694
|
'A short 3-5 word phrase, that is a descriptive label for the update component. This Label must be EXTREMELY unique to represent the UNIQUE update we are providing. The ACTUAL finding or result, not the action. What specific information was discovered? (e.g., "Slack requires OAuth 2.0 setup", "Found 5 integration methods", "API rate limit is 100/minute"). Include the actual detail or insight, not just that you searched or processed. CRITICAL: Only use facts explicitly found in the activities - NEVER invent names, people, organizations, or details that are not present in the actual tool results.'
|
|
10663
10695
|
)
|
|
10664
10696
|
});
|
|
@@ -10668,56 +10700,56 @@ ${this.statusUpdateState?.config.prompt?.trim() || ""}`;
|
|
|
10668
10700
|
*/
|
|
10669
10701
|
buildZodSchemaFromJson(jsonSchema) {
|
|
10670
10702
|
const properties = {};
|
|
10671
|
-
properties.label =
|
|
10703
|
+
properties.label = zodOpenapi.z.string().describe(
|
|
10672
10704
|
'A short 3-5 word phrase, that is a descriptive label for the update component. This Label must be EXTREMELY unique to represent the UNIQUE update we are providing. The SPECIFIC finding, result, or insight discovered (e.g., "Slack bot needs workspace admin role", "Found ingestion requires 3 steps", "Channel history limited to 10k messages"). State the ACTUAL information found, not that you searched. What did you LEARN or DISCOVER? What specific detail is now known? CRITICAL: Only use facts explicitly found in the activities - NEVER invent names, people, organizations, or details that are not present in the actual tool results.'
|
|
10673
10705
|
);
|
|
10674
10706
|
for (const [key, value] of Object.entries(jsonSchema.properties)) {
|
|
10675
10707
|
let zodType;
|
|
10676
10708
|
if (value.enum && Array.isArray(value.enum)) {
|
|
10677
10709
|
if (value.enum.length === 1) {
|
|
10678
|
-
zodType =
|
|
10710
|
+
zodType = zodOpenapi.z.literal(value.enum[0]);
|
|
10679
10711
|
} else {
|
|
10680
10712
|
const [first, ...rest] = value.enum;
|
|
10681
|
-
zodType =
|
|
10713
|
+
zodType = zodOpenapi.z.enum([first, ...rest]);
|
|
10682
10714
|
}
|
|
10683
10715
|
} else if (value.type === "string") {
|
|
10684
|
-
zodType =
|
|
10716
|
+
zodType = zodOpenapi.z.string();
|
|
10685
10717
|
if (value.minLength) zodType = zodType.min(value.minLength);
|
|
10686
10718
|
if (value.maxLength) zodType = zodType.max(value.maxLength);
|
|
10687
10719
|
if (value.format === "email") zodType = zodType.email();
|
|
10688
10720
|
if (value.format === "url" || value.format === "uri")
|
|
10689
10721
|
zodType = zodType.url();
|
|
10690
10722
|
} else if (value.type === "number" || value.type === "integer") {
|
|
10691
|
-
zodType = value.type === "integer" ?
|
|
10723
|
+
zodType = value.type === "integer" ? zodOpenapi.z.number().int() : zodOpenapi.z.number();
|
|
10692
10724
|
if (value.minimum !== void 0) zodType = zodType.min(value.minimum);
|
|
10693
10725
|
if (value.maximum !== void 0) zodType = zodType.max(value.maximum);
|
|
10694
10726
|
} else if (value.type === "boolean") {
|
|
10695
|
-
zodType =
|
|
10727
|
+
zodType = zodOpenapi.z.boolean();
|
|
10696
10728
|
} else if (value.type === "array") {
|
|
10697
10729
|
if (value.items) {
|
|
10698
10730
|
if (value.items.enum && Array.isArray(value.items.enum)) {
|
|
10699
10731
|
const [first, ...rest] = value.items.enum;
|
|
10700
|
-
zodType =
|
|
10732
|
+
zodType = zodOpenapi.z.array(zodOpenapi.z.enum([first, ...rest]));
|
|
10701
10733
|
} else if (value.items.type === "string") {
|
|
10702
|
-
zodType =
|
|
10734
|
+
zodType = zodOpenapi.z.array(zodOpenapi.z.string());
|
|
10703
10735
|
} else if (value.items.type === "number") {
|
|
10704
|
-
zodType =
|
|
10736
|
+
zodType = zodOpenapi.z.array(zodOpenapi.z.number());
|
|
10705
10737
|
} else if (value.items.type === "boolean") {
|
|
10706
|
-
zodType =
|
|
10738
|
+
zodType = zodOpenapi.z.array(zodOpenapi.z.boolean());
|
|
10707
10739
|
} else if (value.items.type === "object") {
|
|
10708
|
-
zodType =
|
|
10740
|
+
zodType = zodOpenapi.z.array(zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.any()));
|
|
10709
10741
|
} else {
|
|
10710
|
-
zodType =
|
|
10742
|
+
zodType = zodOpenapi.z.array(zodOpenapi.z.any());
|
|
10711
10743
|
}
|
|
10712
10744
|
} else {
|
|
10713
|
-
zodType =
|
|
10745
|
+
zodType = zodOpenapi.z.array(zodOpenapi.z.any());
|
|
10714
10746
|
}
|
|
10715
10747
|
if (value.minItems) zodType = zodType.min(value.minItems);
|
|
10716
10748
|
if (value.maxItems) zodType = zodType.max(value.maxItems);
|
|
10717
10749
|
} else if (value.type === "object") {
|
|
10718
|
-
zodType =
|
|
10750
|
+
zodType = zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.any());
|
|
10719
10751
|
} else {
|
|
10720
|
-
zodType =
|
|
10752
|
+
zodType = zodOpenapi.z.any();
|
|
10721
10753
|
}
|
|
10722
10754
|
if (value.description) {
|
|
10723
10755
|
zodType = zodType.describe(value.description);
|
|
@@ -10727,7 +10759,7 @@ ${this.statusUpdateState?.config.prompt?.trim() || ""}`;
|
|
|
10727
10759
|
}
|
|
10728
10760
|
properties[key] = zodType;
|
|
10729
10761
|
}
|
|
10730
|
-
return
|
|
10762
|
+
return zodOpenapi.z.object(properties);
|
|
10731
10763
|
}
|
|
10732
10764
|
/**
|
|
10733
10765
|
* Extract user-visible activities with rich formatting and complete information
|
|
@@ -10958,9 +10990,9 @@ Make it specific and relevant.`;
|
|
|
10958
10990
|
};
|
|
10959
10991
|
} else {
|
|
10960
10992
|
const model = agentsCore.ModelFactory.createModel(modelToUse);
|
|
10961
|
-
const schema2 =
|
|
10962
|
-
name:
|
|
10963
|
-
description:
|
|
10993
|
+
const schema2 = zodOpenapi.z.object({
|
|
10994
|
+
name: zodOpenapi.z.string().describe("Concise, descriptive name for the artifact"),
|
|
10995
|
+
description: zodOpenapi.z.string().describe("Brief description of the artifact's relevance to the user's question")
|
|
10964
10996
|
});
|
|
10965
10997
|
const { object } = await tracer.startActiveSpan(
|
|
10966
10998
|
"agent_session.generate_artifact_metadata",
|
|
@@ -11050,6 +11082,9 @@ Make it specific and relevant.`;
|
|
|
11050
11082
|
result = object;
|
|
11051
11083
|
}
|
|
11052
11084
|
try {
|
|
11085
|
+
if (!this.artifactService) {
|
|
11086
|
+
throw new Error("ArtifactService is not initialized");
|
|
11087
|
+
}
|
|
11053
11088
|
await this.artifactService.saveArtifact({
|
|
11054
11089
|
artifactId: artifactData.artifactId,
|
|
11055
11090
|
name: result.name,
|
|
@@ -11239,7 +11274,7 @@ var AgentSessionManager = class {
|
|
|
11239
11274
|
/**
|
|
11240
11275
|
* End a session and return the final event data
|
|
11241
11276
|
*/
|
|
11242
|
-
endSession(sessionId) {
|
|
11277
|
+
async endSession(sessionId) {
|
|
11243
11278
|
const session = this.sessions.get(sessionId);
|
|
11244
11279
|
if (!session) {
|
|
11245
11280
|
logger8.warn({ sessionId }, "Attempted to end non-existent session");
|
|
@@ -11248,7 +11283,7 @@ var AgentSessionManager = class {
|
|
|
11248
11283
|
const events = session.getEvents();
|
|
11249
11284
|
const summary = session.getSummary();
|
|
11250
11285
|
logger8.info({ sessionId, summary }, "AgentSession ended");
|
|
11251
|
-
session.cleanup();
|
|
11286
|
+
await session.cleanup();
|
|
11252
11287
|
this.sessions.delete(sessionId);
|
|
11253
11288
|
return events;
|
|
11254
11289
|
}
|
|
@@ -12090,49 +12125,6 @@ function generateToolId() {
|
|
|
12090
12125
|
// src/utils/artifact-component-schema.ts
|
|
12091
12126
|
init_logger();
|
|
12092
12127
|
|
|
12093
|
-
// src/utils/data-component-schema.ts
|
|
12094
|
-
init_logger();
|
|
12095
|
-
var logger12 = agentsCore.getLogger("DataComponentSchema");
|
|
12096
|
-
function jsonSchemaToZod(jsonSchema) {
|
|
12097
|
-
if (!jsonSchema || typeof jsonSchema !== "object") {
|
|
12098
|
-
logger12.warn({ jsonSchema }, "Invalid JSON schema provided, using string fallback");
|
|
12099
|
-
return z8.z.string();
|
|
12100
|
-
}
|
|
12101
|
-
switch (jsonSchema.type) {
|
|
12102
|
-
case "object":
|
|
12103
|
-
if (jsonSchema.properties) {
|
|
12104
|
-
const shape = {};
|
|
12105
|
-
for (const [key, prop] of Object.entries(jsonSchema.properties)) {
|
|
12106
|
-
shape[key] = jsonSchemaToZod(prop);
|
|
12107
|
-
}
|
|
12108
|
-
return z8.z.object(shape);
|
|
12109
|
-
}
|
|
12110
|
-
return z8.z.record(z8.z.string(), z8.z.unknown());
|
|
12111
|
-
case "array": {
|
|
12112
|
-
const itemSchema = jsonSchema.items ? jsonSchemaToZod(jsonSchema.items) : z8.z.unknown();
|
|
12113
|
-
return z8.z.array(itemSchema);
|
|
12114
|
-
}
|
|
12115
|
-
case "string":
|
|
12116
|
-
return z8.z.string();
|
|
12117
|
-
case "number":
|
|
12118
|
-
case "integer":
|
|
12119
|
-
return z8.z.number();
|
|
12120
|
-
case "boolean":
|
|
12121
|
-
return z8.z.boolean();
|
|
12122
|
-
case "null":
|
|
12123
|
-
return z8.z.null();
|
|
12124
|
-
default:
|
|
12125
|
-
logger12.warn(
|
|
12126
|
-
{
|
|
12127
|
-
unsupportedType: jsonSchema.type,
|
|
12128
|
-
schema: jsonSchema
|
|
12129
|
-
},
|
|
12130
|
-
"Unsupported JSON schema type, using unknown validation"
|
|
12131
|
-
);
|
|
12132
|
-
return z8.z.unknown();
|
|
12133
|
-
}
|
|
12134
|
-
}
|
|
12135
|
-
|
|
12136
12128
|
// src/utils/SchemaProcessor.ts
|
|
12137
12129
|
init_logger();
|
|
12138
12130
|
var SchemaProcessor = class _SchemaProcessor {
|
|
@@ -12376,10 +12368,10 @@ var ArtifactReferenceSchema = class _ArtifactReferenceSchema {
|
|
|
12376
12368
|
* Get the standard Zod schema for artifact reference components
|
|
12377
12369
|
*/
|
|
12378
12370
|
static getSchema() {
|
|
12379
|
-
return
|
|
12380
|
-
id:
|
|
12381
|
-
name:
|
|
12382
|
-
props: jsonSchemaToZod(_ArtifactReferenceSchema.ARTIFACT_PROPS_SCHEMA)
|
|
12371
|
+
return zodOpenapi.z.object({
|
|
12372
|
+
id: zodOpenapi.z.string(),
|
|
12373
|
+
name: zodOpenapi.z.literal("Artifact"),
|
|
12374
|
+
props: agentsCore.jsonSchemaToZod(_ArtifactReferenceSchema.ARTIFACT_PROPS_SCHEMA)
|
|
12383
12375
|
});
|
|
12384
12376
|
}
|
|
12385
12377
|
/**
|
|
@@ -12429,10 +12421,10 @@ var ArtifactCreateSchema = class {
|
|
|
12429
12421
|
},
|
|
12430
12422
|
required: ["id", "tool_call_id", "type", "base_selector"]
|
|
12431
12423
|
};
|
|
12432
|
-
return
|
|
12433
|
-
id:
|
|
12434
|
-
name:
|
|
12435
|
-
props: jsonSchemaToZod(propsSchema)
|
|
12424
|
+
return zodOpenapi.z.object({
|
|
12425
|
+
id: zodOpenapi.z.string(),
|
|
12426
|
+
name: zodOpenapi.z.literal(`ArtifactCreate_${component.name}`),
|
|
12427
|
+
props: agentsCore.jsonSchemaToZod(propsSchema)
|
|
12436
12428
|
});
|
|
12437
12429
|
});
|
|
12438
12430
|
}
|
|
@@ -12492,7 +12484,7 @@ function parseEmbeddedJson(data) {
|
|
|
12492
12484
|
|
|
12493
12485
|
// src/a2a/client.ts
|
|
12494
12486
|
init_logger();
|
|
12495
|
-
var
|
|
12487
|
+
var logger12 = agentsCore.getLogger("a2aClient");
|
|
12496
12488
|
var DEFAULT_BACKOFF = {
|
|
12497
12489
|
initialInterval: 500,
|
|
12498
12490
|
maxInterval: 6e4,
|
|
@@ -12503,13 +12495,14 @@ var DEFAULT_BACKOFF = {
|
|
|
12503
12495
|
var DEFAULT_RETRY_STATUS_CODES = ["429", "500", "502", "503", "504"];
|
|
12504
12496
|
var PermanentError = class _PermanentError extends Error {
|
|
12505
12497
|
cause;
|
|
12498
|
+
type;
|
|
12506
12499
|
constructor(message, options) {
|
|
12507
12500
|
let msg = message;
|
|
12508
12501
|
if (options?.cause) {
|
|
12509
12502
|
msg += `: ${options.cause}`;
|
|
12510
12503
|
}
|
|
12511
12504
|
super(msg, options);
|
|
12512
|
-
this.name = "PermanentError";
|
|
12505
|
+
this.name = options?.type || "PermanentError";
|
|
12513
12506
|
if (typeof this.cause === "undefined") {
|
|
12514
12507
|
this.cause = options?.cause;
|
|
12515
12508
|
}
|
|
@@ -12698,7 +12691,7 @@ var A2AClient = class {
|
|
|
12698
12691
|
try {
|
|
12699
12692
|
const res = await fn2();
|
|
12700
12693
|
if (attempt > 0) {
|
|
12701
|
-
|
|
12694
|
+
logger12.info(
|
|
12702
12695
|
{
|
|
12703
12696
|
attempts: attempt + 1,
|
|
12704
12697
|
elapsedTime: Date.now() - start2
|
|
@@ -12713,7 +12706,7 @@ var A2AClient = class {
|
|
|
12713
12706
|
}
|
|
12714
12707
|
const elapsed = Date.now() - start2;
|
|
12715
12708
|
if (elapsed > maxElapsedTime) {
|
|
12716
|
-
|
|
12709
|
+
logger12.warn(
|
|
12717
12710
|
{
|
|
12718
12711
|
attempts: attempt + 1,
|
|
12719
12712
|
elapsedTime: elapsed,
|
|
@@ -12734,7 +12727,7 @@ var A2AClient = class {
|
|
|
12734
12727
|
retryInterval = initialInterval * attempt ** exponent + Math.random() * 1e3;
|
|
12735
12728
|
}
|
|
12736
12729
|
const delayMs = Math.min(retryInterval, maxInterval);
|
|
12737
|
-
|
|
12730
|
+
logger12.info(
|
|
12738
12731
|
{
|
|
12739
12732
|
attempt: attempt + 1,
|
|
12740
12733
|
delayMs,
|
|
@@ -12818,8 +12811,14 @@ var A2AClient = class {
|
|
|
12818
12811
|
}
|
|
12819
12812
|
}
|
|
12820
12813
|
const rpcResponse = await httpResponse.json();
|
|
12814
|
+
if (rpcResponse.error?.data?.type === "connection_refused") {
|
|
12815
|
+
throw new PermanentError(rpcResponse.error.message, {
|
|
12816
|
+
cause: new Error(rpcResponse.error.message),
|
|
12817
|
+
type: "connection_refused"
|
|
12818
|
+
});
|
|
12819
|
+
}
|
|
12821
12820
|
if (rpcResponse.id !== requestId2) {
|
|
12822
|
-
|
|
12821
|
+
logger12.warn(
|
|
12823
12822
|
{
|
|
12824
12823
|
method,
|
|
12825
12824
|
expectedId: requestId2,
|
|
@@ -13016,7 +13015,7 @@ var A2AClient = class {
|
|
|
13016
13015
|
try {
|
|
13017
13016
|
while (true) {
|
|
13018
13017
|
const { done, value } = await reader.read();
|
|
13019
|
-
|
|
13018
|
+
logger12.info({ done, value }, "parseA2ASseStream");
|
|
13020
13019
|
if (done) {
|
|
13021
13020
|
if (eventDataBuffer.trim()) {
|
|
13022
13021
|
const result = this._processSseEventData(
|
|
@@ -13107,7 +13106,7 @@ init_execution_limits();
|
|
|
13107
13106
|
init_conversations();
|
|
13108
13107
|
init_dbClient();
|
|
13109
13108
|
init_logger();
|
|
13110
|
-
var
|
|
13109
|
+
var logger13 = agentsCore.getLogger("relationships Tools");
|
|
13111
13110
|
var A2A_RETRY_STATUS_CODES = ["429", "500", "502", "503", "504"];
|
|
13112
13111
|
var generateTransferToolDescription = (config) => {
|
|
13113
13112
|
let toolsSection = "";
|
|
@@ -13209,7 +13208,7 @@ var createTransferToAgentTool = ({
|
|
|
13209
13208
|
const toolDescription = generateTransferToolDescription(transferConfig);
|
|
13210
13209
|
return ai.tool({
|
|
13211
13210
|
description: toolDescription,
|
|
13212
|
-
inputSchema:
|
|
13211
|
+
inputSchema: zodOpenapi.z.object({}),
|
|
13213
13212
|
execute: async () => {
|
|
13214
13213
|
const activeSpan = api.trace.getActiveSpan();
|
|
13215
13214
|
if (activeSpan) {
|
|
@@ -13218,7 +13217,7 @@ var createTransferToAgentTool = ({
|
|
|
13218
13217
|
[agentsCore.SPAN_KEYS.TRANSFER_TO_SUB_AGENT_ID]: transferConfig.id ?? "unknown"
|
|
13219
13218
|
});
|
|
13220
13219
|
}
|
|
13221
|
-
|
|
13220
|
+
logger13.info(
|
|
13222
13221
|
{
|
|
13223
13222
|
transferTo: transferConfig.id ?? "unknown",
|
|
13224
13223
|
fromSubAgent: callingAgentId
|
|
@@ -13239,7 +13238,7 @@ var createTransferToAgentTool = ({
|
|
|
13239
13238
|
fromSubAgentId: callingAgentId
|
|
13240
13239
|
// Include the calling agent ID for tracking
|
|
13241
13240
|
};
|
|
13242
|
-
|
|
13241
|
+
logger13.info(
|
|
13243
13242
|
{
|
|
13244
13243
|
transferResult,
|
|
13245
13244
|
transferResultKeys: Object.keys(transferResult)
|
|
@@ -13264,7 +13263,7 @@ function createDelegateToAgentTool({
|
|
|
13264
13263
|
}) {
|
|
13265
13264
|
return ai.tool({
|
|
13266
13265
|
description: generateDelegateToolDescription(delegateConfig),
|
|
13267
|
-
inputSchema:
|
|
13266
|
+
inputSchema: zodOpenapi.z.object({ message: zodOpenapi.z.string() }),
|
|
13268
13267
|
execute: async (input, context) => {
|
|
13269
13268
|
const delegationId = `del_${agentsCore.generateId()}`;
|
|
13270
13269
|
const activeSpan = api.trace.getActiveSpan();
|
|
@@ -13386,7 +13385,7 @@ function createDelegateToAgentTool({
|
|
|
13386
13385
|
...isInternal ? { fromSubAgentId: callingAgentId } : { fromExternalAgentId: callingAgentId }
|
|
13387
13386
|
}
|
|
13388
13387
|
};
|
|
13389
|
-
|
|
13388
|
+
logger13.info({ messageToSend }, "messageToSend");
|
|
13390
13389
|
await agentsCore.createMessage(dbClient_default)({
|
|
13391
13390
|
id: agentsCore.generateId(),
|
|
13392
13391
|
tenantId,
|
|
@@ -13449,7 +13448,7 @@ function createDelegateToAgentTool({
|
|
|
13449
13448
|
|
|
13450
13449
|
// src/agents/SystemPromptBuilder.ts
|
|
13451
13450
|
init_logger();
|
|
13452
|
-
var
|
|
13451
|
+
var logger14 = agentsCore.getLogger("SystemPromptBuilder");
|
|
13453
13452
|
var SystemPromptBuilder = class {
|
|
13454
13453
|
constructor(version, versionConfig) {
|
|
13455
13454
|
this.version = version;
|
|
@@ -13465,12 +13464,12 @@ var SystemPromptBuilder = class {
|
|
|
13465
13464
|
this.templates.set(name2, content);
|
|
13466
13465
|
}
|
|
13467
13466
|
this.loaded = true;
|
|
13468
|
-
|
|
13467
|
+
logger14.debug(
|
|
13469
13468
|
{ templateCount: this.templates.size, version: this.version },
|
|
13470
13469
|
`Loaded ${this.templates.size} templates for version ${this.version}`
|
|
13471
13470
|
);
|
|
13472
13471
|
} catch (error) {
|
|
13473
|
-
|
|
13472
|
+
logger14.error({ error }, `Failed to load templates for version ${this.version}`);
|
|
13474
13473
|
throw new Error(`Template loading failed: ${error}`);
|
|
13475
13474
|
}
|
|
13476
13475
|
}
|
|
@@ -13711,7 +13710,14 @@ var Phase1Config = class _Phase1Config {
|
|
|
13711
13710
|
throw new Error("System prompt template not loaded");
|
|
13712
13711
|
}
|
|
13713
13712
|
let systemPrompt = systemPromptTemplate;
|
|
13714
|
-
|
|
13713
|
+
if (config.corePrompt && config.corePrompt.trim()) {
|
|
13714
|
+
systemPrompt = systemPrompt.replace("{{CORE_INSTRUCTIONS}}", config.corePrompt);
|
|
13715
|
+
} else {
|
|
13716
|
+
systemPrompt = systemPrompt.replace(
|
|
13717
|
+
/<core_instructions>\s*\{\{CORE_INSTRUCTIONS\}\}\s*<\/core_instructions>/g,
|
|
13718
|
+
""
|
|
13719
|
+
);
|
|
13720
|
+
}
|
|
13715
13721
|
const agentContextSection = this.generateAgentContextSection(config.prompt);
|
|
13716
13722
|
systemPrompt = systemPrompt.replace("{{AGENT_CONTEXT_SECTION}}", agentContextSection);
|
|
13717
13723
|
const toolData = this.isToolDataArray(config.tools) ? config.tools : _Phase1Config.convertMcpToolsToToolData(config.tools);
|
|
@@ -13741,7 +13747,7 @@ var Phase1Config = class _Phase1Config {
|
|
|
13741
13747
|
return systemPrompt;
|
|
13742
13748
|
}
|
|
13743
13749
|
generateAgentContextSection(prompt) {
|
|
13744
|
-
if (!prompt) {
|
|
13750
|
+
if (!prompt || prompt.trim() === "") {
|
|
13745
13751
|
return "";
|
|
13746
13752
|
}
|
|
13747
13753
|
return `
|
|
@@ -13878,6 +13884,8 @@ THE details PROPERTY MUST CONTAIN JMESPATH SELECTORS THAT EXTRACT DATA FROM THE
|
|
|
13878
13884
|
\u274C NEVER: [?text ~ contains(@, 'word')] (~ with @ operator)
|
|
13879
13885
|
\u274C NEVER: contains(@, 'text') (@ operator usage)
|
|
13880
13886
|
\u274C NEVER: [?field=="value"] (double quotes in filters)
|
|
13887
|
+
\u274C NEVER: [?field=='value'] (escaped quotes in filters)
|
|
13888
|
+
\u274C NEVER: [?field=='"'"'value'"'"'] (nightmare quote mixing)
|
|
13881
13889
|
\u274C NEVER: result.items[?type=='doc'][?status=='active'] (chained filters)
|
|
13882
13890
|
|
|
13883
13891
|
\u2705 CORRECT JMESPATH SYNTAX:
|
|
@@ -13889,6 +13897,11 @@ THE details PROPERTY MUST CONTAIN JMESPATH SELECTORS THAT EXTRACT DATA FROM THE
|
|
|
13889
13897
|
\u2705 [?contains(text, 'Founder')] (contains haystack, needle format)
|
|
13890
13898
|
\u2705 source.content[?contains(text, 'Founder')].text (correct filter usage)
|
|
13891
13899
|
|
|
13900
|
+
\u{1F6A8} MANDATORY QUOTE PATTERN - FOLLOW EXACTLY:
|
|
13901
|
+
- ALWAYS: base="path[?field=='value']" (double quotes outside, single inside)
|
|
13902
|
+
- This is the ONLY allowed pattern - any other pattern WILL FAIL
|
|
13903
|
+
- NEVER escape quotes, NEVER mix quote types, NEVER use complex quoting
|
|
13904
|
+
|
|
13892
13905
|
\u{1F6A8} CRITICAL: EXAMINE TOOL RESULTS BEFORE CREATING SELECTORS! \u{1F6A8}
|
|
13893
13906
|
|
|
13894
13907
|
STEP 1: INSPECT THE ACTUAL DATA FIRST
|
|
@@ -13927,7 +13940,7 @@ Only use artifact:ref when you need to cite the SAME artifact again for a differ
|
|
|
13927
13940
|
Format: <artifact:ref id="artifact-id" tool="tool_call_id" />
|
|
13928
13941
|
|
|
13929
13942
|
EXAMPLE TEXT RESPONSE:
|
|
13930
|
-
"I found the authentication documentation. <artifact:create id='auth-doc-1' tool='call_xyz789' type='APIDoc' base=
|
|
13943
|
+
"I found the authentication documentation. <artifact:create id='auth-doc-1' tool='call_xyz789' type='APIDoc' base="result.documents[?type=='auth']" details='{"title":"metadata.title","endpoint":"api.endpoint","description":"content.description","parameters":"spec.parameters","examples":"examples.sample_code"}' /> The documentation explains OAuth 2.0 implementation in detail.
|
|
13931
13944
|
|
|
13932
13945
|
The process involves three main steps: registration, token exchange, and API calls. As mentioned in the authentication documentation <artifact:ref id='auth-doc-1' tool='call_xyz789' />, you'll need to register your application first."
|
|
13933
13946
|
|
|
@@ -14425,7 +14438,7 @@ ${componentDescriptions}`;
|
|
|
14425
14438
|
dataComponentXml = dataComponentXml.replace("{{COMPONENT_NAME}}", dataComponent.name);
|
|
14426
14439
|
dataComponentXml = dataComponentXml.replace(
|
|
14427
14440
|
"{{COMPONENT_DESCRIPTION}}",
|
|
14428
|
-
dataComponent.description
|
|
14441
|
+
dataComponent.description || ""
|
|
14429
14442
|
);
|
|
14430
14443
|
dataComponentXml = dataComponentXml.replace(
|
|
14431
14444
|
"{{COMPONENT_PROPS_SCHEMA}}",
|
|
@@ -14521,7 +14534,14 @@ ${artifact_retrieval_guidance_default}
|
|
|
14521
14534
|
artifactComponents
|
|
14522
14535
|
);
|
|
14523
14536
|
let phase2Prompt = system_prompt_default2;
|
|
14524
|
-
|
|
14537
|
+
if (corePrompt && corePrompt.trim()) {
|
|
14538
|
+
phase2Prompt = phase2Prompt.replace("{{CORE_INSTRUCTIONS}}", corePrompt);
|
|
14539
|
+
} else {
|
|
14540
|
+
phase2Prompt = phase2Prompt.replace(
|
|
14541
|
+
/<core_instructions>\s*\{\{CORE_INSTRUCTIONS\}\}\s*<\/core_instructions>/g,
|
|
14542
|
+
""
|
|
14543
|
+
);
|
|
14544
|
+
}
|
|
14525
14545
|
phase2Prompt = phase2Prompt.replace("{{DATA_COMPONENTS_SECTION}}", dataComponentsSection);
|
|
14526
14546
|
phase2Prompt = phase2Prompt.replace("{{ARTIFACTS_SECTION}}", artifactsSection);
|
|
14527
14547
|
phase2Prompt = phase2Prompt.replace("{{ARTIFACT_GUIDANCE_SECTION}}", artifactGuidance);
|
|
@@ -14540,7 +14560,7 @@ function hasToolCallWithPrefix(prefix) {
|
|
|
14540
14560
|
return false;
|
|
14541
14561
|
};
|
|
14542
14562
|
}
|
|
14543
|
-
var
|
|
14563
|
+
var logger18 = agentsCore.getLogger("Agent");
|
|
14544
14564
|
function validateModel(modelString, modelType) {
|
|
14545
14565
|
if (!modelString?.trim()) {
|
|
14546
14566
|
throw new Error(
|
|
@@ -14646,6 +14666,32 @@ var Agent = class {
|
|
|
14646
14666
|
}
|
|
14647
14667
|
return sanitizedTools;
|
|
14648
14668
|
}
|
|
14669
|
+
#createRelationToolName(prefix, targetId) {
|
|
14670
|
+
return `${prefix}_to_${targetId.toLowerCase().replace(/\s+/g, "_")}`;
|
|
14671
|
+
}
|
|
14672
|
+
#getRelationshipIdForTool(toolName, toolType) {
|
|
14673
|
+
if (toolType === "mcp") {
|
|
14674
|
+
const matchingTool = this.config.tools?.find((tool3) => {
|
|
14675
|
+
if (tool3.config?.type !== "mcp") {
|
|
14676
|
+
return false;
|
|
14677
|
+
}
|
|
14678
|
+
if (tool3.availableTools?.some((available) => available.name === toolName)) {
|
|
14679
|
+
return true;
|
|
14680
|
+
}
|
|
14681
|
+
if (tool3.config.mcp.activeTools?.includes(toolName)) {
|
|
14682
|
+
return true;
|
|
14683
|
+
}
|
|
14684
|
+
return tool3.name === toolName;
|
|
14685
|
+
});
|
|
14686
|
+
return matchingTool?.relationshipId;
|
|
14687
|
+
}
|
|
14688
|
+
if (toolType === "delegation") {
|
|
14689
|
+
const relation = this.config.delegateRelations.find(
|
|
14690
|
+
(relation2) => this.#createRelationToolName("delegate", relation2.config.id) === toolName
|
|
14691
|
+
);
|
|
14692
|
+
return relation?.config.relationId;
|
|
14693
|
+
}
|
|
14694
|
+
}
|
|
14649
14695
|
/**
|
|
14650
14696
|
* Get the primary model settings for text generation and thinking
|
|
14651
14697
|
* Requires model to be configured at project level
|
|
@@ -14714,10 +14760,11 @@ var Agent = class {
|
|
|
14714
14760
|
/**
|
|
14715
14761
|
* Wraps a tool with streaming lifecycle tracking (start, complete, error) and AgentSession recording
|
|
14716
14762
|
*/
|
|
14717
|
-
wrapToolWithStreaming(toolName, toolDefinition, streamRequestId, toolType,
|
|
14763
|
+
wrapToolWithStreaming(toolName, toolDefinition, streamRequestId, toolType, options) {
|
|
14718
14764
|
if (!toolDefinition || typeof toolDefinition !== "object" || !("execute" in toolDefinition)) {
|
|
14719
14765
|
return toolDefinition;
|
|
14720
14766
|
}
|
|
14767
|
+
const relationshipId = this.#getRelationshipIdForTool(toolName, toolType);
|
|
14721
14768
|
const originalExecute = toolDefinition.execute;
|
|
14722
14769
|
return {
|
|
14723
14770
|
...toolDefinition,
|
|
@@ -14786,7 +14833,7 @@ var Agent = class {
|
|
|
14786
14833
|
};
|
|
14787
14834
|
await agentsCore.createMessage(dbClient_default)(messagePayload);
|
|
14788
14835
|
} catch (error) {
|
|
14789
|
-
|
|
14836
|
+
logger18.warn(
|
|
14790
14837
|
{ error, toolName, toolCallId, conversationId: toolResultConversationId },
|
|
14791
14838
|
"Failed to store tool result in conversation history"
|
|
14792
14839
|
);
|
|
@@ -14824,10 +14871,9 @@ var Agent = class {
|
|
|
14824
14871
|
}
|
|
14825
14872
|
getRelationTools(runtimeContext, sessionId) {
|
|
14826
14873
|
const { transferRelations = [], delegateRelations = [] } = this.config;
|
|
14827
|
-
const createToolName = (prefix, subAgentId) => `${prefix}_to_${subAgentId.toLowerCase().replace(/\s+/g, "_")}`;
|
|
14828
14874
|
return Object.fromEntries([
|
|
14829
14875
|
...transferRelations.map((agentConfig) => {
|
|
14830
|
-
const toolName =
|
|
14876
|
+
const toolName = this.#createRelationToolName("transfer", agentConfig.id);
|
|
14831
14877
|
return [
|
|
14832
14878
|
toolName,
|
|
14833
14879
|
this.wrapToolWithStreaming(
|
|
@@ -14844,7 +14890,7 @@ var Agent = class {
|
|
|
14844
14890
|
];
|
|
14845
14891
|
}),
|
|
14846
14892
|
...delegateRelations.map((relation) => {
|
|
14847
|
-
const toolName =
|
|
14893
|
+
const toolName = this.#createRelationToolName("delegate", relation.config.id);
|
|
14848
14894
|
return [
|
|
14849
14895
|
toolName,
|
|
14850
14896
|
this.wrapToolWithStreaming(
|
|
@@ -14881,8 +14927,7 @@ var Agent = class {
|
|
|
14881
14927
|
const tools = await Promise.all(mcpTools.map((tool3) => this.getMcpTool(tool3)) || []) || [];
|
|
14882
14928
|
if (!sessionId) {
|
|
14883
14929
|
const wrappedTools2 = {};
|
|
14884
|
-
for (const
|
|
14885
|
-
const relationshipId = mcpTools[index]?.relationshipId;
|
|
14930
|
+
for (const toolSet of tools) {
|
|
14886
14931
|
for (const [toolName, toolDef] of Object.entries(toolSet.tools)) {
|
|
14887
14932
|
const needsApproval = toolSet.toolPolicies?.[toolName]?.needsApproval || false;
|
|
14888
14933
|
const enhancedTool = {
|
|
@@ -14894,7 +14939,6 @@ var Agent = class {
|
|
|
14894
14939
|
enhancedTool,
|
|
14895
14940
|
streamRequestId,
|
|
14896
14941
|
"mcp",
|
|
14897
|
-
relationshipId,
|
|
14898
14942
|
{ needsApproval }
|
|
14899
14943
|
);
|
|
14900
14944
|
}
|
|
@@ -14902,15 +14946,14 @@ var Agent = class {
|
|
|
14902
14946
|
return wrappedTools2;
|
|
14903
14947
|
}
|
|
14904
14948
|
const wrappedTools = {};
|
|
14905
|
-
for (const
|
|
14906
|
-
const relationshipId = mcpTools[index]?.relationshipId;
|
|
14949
|
+
for (const toolResult of tools) {
|
|
14907
14950
|
for (const [toolName, originalTool] of Object.entries(toolResult.tools)) {
|
|
14908
14951
|
if (!isValidTool(originalTool)) {
|
|
14909
|
-
|
|
14952
|
+
logger18.error({ toolName }, "Invalid MCP tool structure - missing required properties");
|
|
14910
14953
|
continue;
|
|
14911
14954
|
}
|
|
14912
14955
|
const needsApproval = toolResult.toolPolicies?.[toolName]?.needsApproval || false;
|
|
14913
|
-
|
|
14956
|
+
logger18.debug(
|
|
14914
14957
|
{
|
|
14915
14958
|
toolName,
|
|
14916
14959
|
toolPolicies: toolResult.toolPolicies,
|
|
@@ -14924,7 +14967,7 @@ var Agent = class {
|
|
|
14924
14967
|
inputSchema: originalTool.inputSchema,
|
|
14925
14968
|
execute: async (args2, { toolCallId }) => {
|
|
14926
14969
|
if (needsApproval) {
|
|
14927
|
-
|
|
14970
|
+
logger18.info(
|
|
14928
14971
|
{ toolName, toolCallId, args: args2 },
|
|
14929
14972
|
"Tool requires approval - waiting for user response"
|
|
14930
14973
|
);
|
|
@@ -14970,7 +15013,7 @@ var Agent = class {
|
|
|
14970
15013
|
}
|
|
14971
15014
|
},
|
|
14972
15015
|
(denialSpan) => {
|
|
14973
|
-
|
|
15016
|
+
logger18.info(
|
|
14974
15017
|
{ toolName, toolCallId, reason: approvalResult.reason },
|
|
14975
15018
|
"Tool execution denied by user"
|
|
14976
15019
|
);
|
|
@@ -14991,18 +15034,18 @@ var Agent = class {
|
|
|
14991
15034
|
}
|
|
14992
15035
|
},
|
|
14993
15036
|
(approvedSpan) => {
|
|
14994
|
-
|
|
15037
|
+
logger18.info({ toolName, toolCallId }, "Tool approved, continuing with execution");
|
|
14995
15038
|
approvedSpan.setStatus({ code: api.SpanStatusCode.OK });
|
|
14996
15039
|
approvedSpan.end();
|
|
14997
15040
|
}
|
|
14998
15041
|
);
|
|
14999
15042
|
}
|
|
15000
|
-
|
|
15043
|
+
logger18.debug({ toolName, toolCallId }, "MCP Tool Called");
|
|
15001
15044
|
try {
|
|
15002
15045
|
const rawResult = await originalTool.execute(args2, { toolCallId });
|
|
15003
15046
|
if (rawResult && typeof rawResult === "object" && rawResult.isError) {
|
|
15004
15047
|
const errorMessage = rawResult.content?.[0]?.text || "MCP tool returned an error";
|
|
15005
|
-
|
|
15048
|
+
logger18.error(
|
|
15006
15049
|
{ toolName, toolCallId, errorMessage, rawResult },
|
|
15007
15050
|
"MCP tool returned error status"
|
|
15008
15051
|
);
|
|
@@ -15014,6 +15057,7 @@ var Agent = class {
|
|
|
15014
15057
|
timestamp: Date.now()
|
|
15015
15058
|
});
|
|
15016
15059
|
if (streamRequestId) {
|
|
15060
|
+
const relationshipId = this.#getRelationshipIdForTool(toolName, "mcp");
|
|
15017
15061
|
agentSessionManager.recordEvent(streamRequestId, "error", this.config.id, {
|
|
15018
15062
|
message: `MCP tool "${toolName}" failed: ${errorMessage}`,
|
|
15019
15063
|
code: "mcp_tool_error",
|
|
@@ -15052,7 +15096,7 @@ var Agent = class {
|
|
|
15052
15096
|
});
|
|
15053
15097
|
return { result: enhancedResult, toolCallId };
|
|
15054
15098
|
} catch (error) {
|
|
15055
|
-
|
|
15099
|
+
logger18.error({ toolName, toolCallId, error }, "MCP tool execution failed");
|
|
15056
15100
|
throw error;
|
|
15057
15101
|
}
|
|
15058
15102
|
}
|
|
@@ -15062,7 +15106,6 @@ var Agent = class {
|
|
|
15062
15106
|
sessionWrappedTool,
|
|
15063
15107
|
streamRequestId,
|
|
15064
15108
|
"mcp",
|
|
15065
|
-
relationshipId,
|
|
15066
15109
|
{ needsApproval }
|
|
15067
15110
|
);
|
|
15068
15111
|
}
|
|
@@ -15107,7 +15150,51 @@ var Agent = class {
|
|
|
15107
15150
|
const selectedTools = toolRelation?.selectedTools || void 0;
|
|
15108
15151
|
const toolPolicies = toolRelation?.toolPolicies || {};
|
|
15109
15152
|
let serverConfig;
|
|
15110
|
-
|
|
15153
|
+
const isUserScoped = tool3.credentialScope === "user";
|
|
15154
|
+
const userId = this.config.userId;
|
|
15155
|
+
if (isUserScoped && userId && this.credentialStuffer) {
|
|
15156
|
+
const userCredentialReference = await agentsCore.getUserScopedCredentialReference(dbClient_default)({
|
|
15157
|
+
scopes: {
|
|
15158
|
+
tenantId: this.config.tenantId,
|
|
15159
|
+
projectId: this.config.projectId
|
|
15160
|
+
},
|
|
15161
|
+
toolId: tool3.id,
|
|
15162
|
+
userId
|
|
15163
|
+
});
|
|
15164
|
+
if (userCredentialReference) {
|
|
15165
|
+
const storeReference = {
|
|
15166
|
+
credentialStoreId: userCredentialReference.credentialStoreId,
|
|
15167
|
+
retrievalParams: userCredentialReference.retrievalParams || {}
|
|
15168
|
+
};
|
|
15169
|
+
serverConfig = await this.credentialStuffer.buildMcpServerConfig(
|
|
15170
|
+
{
|
|
15171
|
+
tenantId: this.config.tenantId,
|
|
15172
|
+
projectId: this.config.projectId,
|
|
15173
|
+
contextConfigId: this.config.contextConfigId || void 0,
|
|
15174
|
+
conversationId: this.conversationId || void 0
|
|
15175
|
+
},
|
|
15176
|
+
this.convertToMCPToolConfig(tool3, agentToolRelationHeaders),
|
|
15177
|
+
storeReference,
|
|
15178
|
+
selectedTools
|
|
15179
|
+
);
|
|
15180
|
+
} else {
|
|
15181
|
+
logger18.warn(
|
|
15182
|
+
{ toolId: tool3.id, userId },
|
|
15183
|
+
"User-scoped tool has no credential connected for this user"
|
|
15184
|
+
);
|
|
15185
|
+
serverConfig = await this.credentialStuffer.buildMcpServerConfig(
|
|
15186
|
+
{
|
|
15187
|
+
tenantId: this.config.tenantId,
|
|
15188
|
+
projectId: this.config.projectId,
|
|
15189
|
+
contextConfigId: this.config.contextConfigId || void 0,
|
|
15190
|
+
conversationId: this.conversationId || void 0
|
|
15191
|
+
},
|
|
15192
|
+
this.convertToMCPToolConfig(tool3, agentToolRelationHeaders),
|
|
15193
|
+
void 0,
|
|
15194
|
+
selectedTools
|
|
15195
|
+
);
|
|
15196
|
+
}
|
|
15197
|
+
} else if (credentialReferenceId && this.credentialStuffer) {
|
|
15111
15198
|
const credentialReference = await agentsCore.getCredentialReference(dbClient_default)({
|
|
15112
15199
|
scopes: {
|
|
15113
15200
|
tenantId: this.config.tenantId,
|
|
@@ -15157,7 +15244,7 @@ var Agent = class {
|
|
|
15157
15244
|
headers: agentToolRelationHeaders
|
|
15158
15245
|
};
|
|
15159
15246
|
}
|
|
15160
|
-
|
|
15247
|
+
logger18.info(
|
|
15161
15248
|
{
|
|
15162
15249
|
toolName: tool3.name,
|
|
15163
15250
|
credentialReferenceId,
|
|
@@ -15182,7 +15269,7 @@ var Agent = class {
|
|
|
15182
15269
|
this.mcpClientCache.set(cacheKey, client);
|
|
15183
15270
|
} catch (error) {
|
|
15184
15271
|
this.mcpConnectionLocks.delete(cacheKey);
|
|
15185
|
-
|
|
15272
|
+
logger18.error(
|
|
15186
15273
|
{
|
|
15187
15274
|
toolName: tool3.name,
|
|
15188
15275
|
subAgentId: this.config.id,
|
|
@@ -15247,7 +15334,7 @@ var Agent = class {
|
|
|
15247
15334
|
await client.connect();
|
|
15248
15335
|
return client;
|
|
15249
15336
|
} catch (error) {
|
|
15250
|
-
|
|
15337
|
+
logger18.error(
|
|
15251
15338
|
{
|
|
15252
15339
|
toolName: tool3.name,
|
|
15253
15340
|
subAgentId: this.config.id,
|
|
@@ -15289,7 +15376,7 @@ var Agent = class {
|
|
|
15289
15376
|
for (const functionToolDef of functionToolsData) {
|
|
15290
15377
|
const functionId = functionToolDef.functionId;
|
|
15291
15378
|
if (!functionId) {
|
|
15292
|
-
|
|
15379
|
+
logger18.warn(
|
|
15293
15380
|
{ functionToolId: functionToolDef.id },
|
|
15294
15381
|
"Function tool missing functionId reference"
|
|
15295
15382
|
);
|
|
@@ -15303,18 +15390,18 @@ var Agent = class {
|
|
|
15303
15390
|
}
|
|
15304
15391
|
});
|
|
15305
15392
|
if (!functionData) {
|
|
15306
|
-
|
|
15393
|
+
logger18.warn(
|
|
15307
15394
|
{ functionId, functionToolId: functionToolDef.id },
|
|
15308
15395
|
"Function not found in functions table"
|
|
15309
15396
|
);
|
|
15310
15397
|
continue;
|
|
15311
15398
|
}
|
|
15312
|
-
const zodSchema = jsonSchemaToZod(functionData.inputSchema);
|
|
15399
|
+
const zodSchema = agentsCore.jsonSchemaToZod(functionData.inputSchema);
|
|
15313
15400
|
const aiTool = ai.tool({
|
|
15314
15401
|
description: functionToolDef.description || functionToolDef.name,
|
|
15315
15402
|
inputSchema: zodSchema,
|
|
15316
15403
|
execute: async (args2, { toolCallId }) => {
|
|
15317
|
-
|
|
15404
|
+
logger18.debug(
|
|
15318
15405
|
{ toolName: functionToolDef.name, toolCallId, args: args2 },
|
|
15319
15406
|
"Function Tool Called"
|
|
15320
15407
|
);
|
|
@@ -15341,7 +15428,7 @@ var Agent = class {
|
|
|
15341
15428
|
});
|
|
15342
15429
|
return { result, toolCallId };
|
|
15343
15430
|
} catch (error) {
|
|
15344
|
-
|
|
15431
|
+
logger18.error(
|
|
15345
15432
|
{
|
|
15346
15433
|
toolName: functionToolDef.name,
|
|
15347
15434
|
toolCallId,
|
|
@@ -15361,7 +15448,7 @@ var Agent = class {
|
|
|
15361
15448
|
);
|
|
15362
15449
|
}
|
|
15363
15450
|
} catch (error) {
|
|
15364
|
-
|
|
15451
|
+
logger18.error({ error }, "Failed to load function tools from database");
|
|
15365
15452
|
}
|
|
15366
15453
|
return functionTools;
|
|
15367
15454
|
}
|
|
@@ -15371,7 +15458,7 @@ var Agent = class {
|
|
|
15371
15458
|
async getResolvedContext(conversationId, headers2) {
|
|
15372
15459
|
try {
|
|
15373
15460
|
if (!this.config.contextConfigId) {
|
|
15374
|
-
|
|
15461
|
+
logger18.debug({ agentId: this.config.agentId }, "No context config found for agent");
|
|
15375
15462
|
return null;
|
|
15376
15463
|
}
|
|
15377
15464
|
const contextConfig = await agentsCore.getContextConfigById(dbClient_default)({
|
|
@@ -15383,7 +15470,7 @@ var Agent = class {
|
|
|
15383
15470
|
id: this.config.contextConfigId
|
|
15384
15471
|
});
|
|
15385
15472
|
if (!contextConfig) {
|
|
15386
|
-
|
|
15473
|
+
logger18.warn({ contextConfigId: this.config.contextConfigId }, "Context config not found");
|
|
15387
15474
|
return null;
|
|
15388
15475
|
}
|
|
15389
15476
|
if (!this.contextResolver) {
|
|
@@ -15399,7 +15486,7 @@ var Agent = class {
|
|
|
15399
15486
|
...result.resolvedContext,
|
|
15400
15487
|
$env: process.env
|
|
15401
15488
|
};
|
|
15402
|
-
|
|
15489
|
+
logger18.debug(
|
|
15403
15490
|
{
|
|
15404
15491
|
conversationId,
|
|
15405
15492
|
contextConfigId: contextConfig.id,
|
|
@@ -15413,7 +15500,7 @@ var Agent = class {
|
|
|
15413
15500
|
);
|
|
15414
15501
|
return contextWithBuiltins;
|
|
15415
15502
|
} catch (error) {
|
|
15416
|
-
|
|
15503
|
+
logger18.error(
|
|
15417
15504
|
{
|
|
15418
15505
|
conversationId,
|
|
15419
15506
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15437,7 +15524,7 @@ var Agent = class {
|
|
|
15437
15524
|
});
|
|
15438
15525
|
return agentDefinition?.prompt || void 0;
|
|
15439
15526
|
} catch (error) {
|
|
15440
|
-
|
|
15527
|
+
logger18.warn(
|
|
15441
15528
|
{
|
|
15442
15529
|
agentId: this.config.agentId,
|
|
15443
15530
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15466,7 +15553,7 @@ var Agent = class {
|
|
|
15466
15553
|
(subAgent) => "artifactComponents" in subAgent && subAgent.artifactComponents && subAgent.artifactComponents.length > 0
|
|
15467
15554
|
);
|
|
15468
15555
|
} catch (error) {
|
|
15469
|
-
|
|
15556
|
+
logger18.warn(
|
|
15470
15557
|
{
|
|
15471
15558
|
agentId: this.config.agentId,
|
|
15472
15559
|
tenantId: this.config.tenantId,
|
|
@@ -15487,15 +15574,15 @@ var Agent = class {
|
|
|
15487
15574
|
const hasAgentArtifactComponents = await this.hasAgentArtifactComponents();
|
|
15488
15575
|
const conversationId = runtimeContext?.metadata?.conversationId || runtimeContext?.contextId;
|
|
15489
15576
|
const resolvedContext = conversationId ? await this.getResolvedContext(conversationId) : null;
|
|
15490
|
-
let processedPrompt = this.config.prompt;
|
|
15491
|
-
if (resolvedContext) {
|
|
15577
|
+
let processedPrompt = this.config.prompt || "";
|
|
15578
|
+
if (resolvedContext && this.config.prompt) {
|
|
15492
15579
|
try {
|
|
15493
15580
|
processedPrompt = agentsCore.TemplateEngine.render(this.config.prompt, resolvedContext, {
|
|
15494
15581
|
strict: false,
|
|
15495
15582
|
preserveUnresolved: false
|
|
15496
15583
|
});
|
|
15497
15584
|
} catch (error) {
|
|
15498
|
-
|
|
15585
|
+
logger18.error(
|
|
15499
15586
|
{
|
|
15500
15587
|
conversationId,
|
|
15501
15588
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15534,15 +15621,15 @@ var Agent = class {
|
|
|
15534
15621
|
this.setConversationId(conversationId);
|
|
15535
15622
|
}
|
|
15536
15623
|
const resolvedContext = conversationId ? await this.getResolvedContext(conversationId) : null;
|
|
15537
|
-
let processedPrompt = this.config.prompt;
|
|
15538
|
-
if (resolvedContext) {
|
|
15624
|
+
let processedPrompt = this.config.prompt || "";
|
|
15625
|
+
if (resolvedContext && this.config.prompt) {
|
|
15539
15626
|
try {
|
|
15540
15627
|
processedPrompt = agentsCore.TemplateEngine.render(this.config.prompt, resolvedContext, {
|
|
15541
15628
|
strict: false,
|
|
15542
15629
|
preserveUnresolved: false
|
|
15543
15630
|
});
|
|
15544
15631
|
} catch (error) {
|
|
15545
|
-
|
|
15632
|
+
logger18.error(
|
|
15546
15633
|
{
|
|
15547
15634
|
conversationId,
|
|
15548
15635
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15557,7 +15644,7 @@ var Agent = class {
|
|
|
15557
15644
|
const functionTools = await this.getFunctionTools(streamRequestId || "");
|
|
15558
15645
|
const relationTools = this.getRelationTools(runtimeContext);
|
|
15559
15646
|
const allTools = { ...mcpTools, ...functionTools, ...relationTools };
|
|
15560
|
-
|
|
15647
|
+
logger18.info(
|
|
15561
15648
|
{
|
|
15562
15649
|
mcpTools: Object.keys(mcpTools),
|
|
15563
15650
|
functionTools: Object.keys(functionTools),
|
|
@@ -15596,7 +15683,7 @@ var Agent = class {
|
|
|
15596
15683
|
preserveUnresolved: false
|
|
15597
15684
|
});
|
|
15598
15685
|
} catch (error) {
|
|
15599
|
-
|
|
15686
|
+
logger18.error(
|
|
15600
15687
|
{
|
|
15601
15688
|
conversationId,
|
|
15602
15689
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15624,12 +15711,12 @@ var Agent = class {
|
|
|
15624
15711
|
getArtifactTools() {
|
|
15625
15712
|
return ai.tool({
|
|
15626
15713
|
description: "Call this tool to get the complete artifact data with the given artifactId. This retrieves the full artifact content (not just the summary). Only use this when you need the complete artifact data and the summary shown in your context is insufficient.",
|
|
15627
|
-
inputSchema:
|
|
15628
|
-
artifactId:
|
|
15629
|
-
toolCallId:
|
|
15714
|
+
inputSchema: zodOpenapi.z.object({
|
|
15715
|
+
artifactId: zodOpenapi.z.string().describe("The unique identifier of the artifact to get."),
|
|
15716
|
+
toolCallId: zodOpenapi.z.string().describe("The tool call ID associated with this artifact.")
|
|
15630
15717
|
}),
|
|
15631
15718
|
execute: async ({ artifactId, toolCallId }) => {
|
|
15632
|
-
|
|
15719
|
+
logger18.info({ artifactId, toolCallId }, "get_artifact_full executed");
|
|
15633
15720
|
const streamRequestId = this.getStreamRequestId();
|
|
15634
15721
|
const artifactService = agentSessionManager.getArtifactService(streamRequestId);
|
|
15635
15722
|
if (!artifactService) {
|
|
@@ -15653,9 +15740,9 @@ var Agent = class {
|
|
|
15653
15740
|
createThinkingCompleteTool() {
|
|
15654
15741
|
return ai.tool({
|
|
15655
15742
|
description: "\u{1F6A8} CRITICAL: Call this tool IMMEDIATELY when you have gathered enough information to answer the user. This is MANDATORY - you CANNOT provide text responses in thinking mode, only tool calls. Call thinking_complete as soon as you have sufficient data to generate a structured response.",
|
|
15656
|
-
inputSchema:
|
|
15657
|
-
complete:
|
|
15658
|
-
summary:
|
|
15743
|
+
inputSchema: zodOpenapi.z.object({
|
|
15744
|
+
complete: zodOpenapi.z.boolean().describe("ALWAYS set to true - marks end of research phase"),
|
|
15745
|
+
summary: zodOpenapi.z.string().describe(
|
|
15659
15746
|
"Brief summary of what information was gathered and why it is sufficient to answer the user"
|
|
15660
15747
|
)
|
|
15661
15748
|
}),
|
|
@@ -15925,7 +16012,7 @@ ${output}`;
|
|
|
15925
16012
|
};
|
|
15926
16013
|
return enhanced;
|
|
15927
16014
|
} catch (error) {
|
|
15928
|
-
|
|
16015
|
+
logger18.warn({ error }, "Failed to enhance tool result with structure hints");
|
|
15929
16016
|
return result;
|
|
15930
16017
|
}
|
|
15931
16018
|
}
|
|
@@ -15940,7 +16027,7 @@ ${output}`;
|
|
|
15940
16027
|
}
|
|
15941
16028
|
});
|
|
15942
16029
|
} catch (error) {
|
|
15943
|
-
|
|
16030
|
+
logger18.error(
|
|
15944
16031
|
{ error, agentId: this.config.agentId },
|
|
15945
16032
|
"Failed to check agent artifact components"
|
|
15946
16033
|
);
|
|
@@ -16057,7 +16144,7 @@ ${output}`;
|
|
|
16057
16144
|
const configuredTimeout = modelSettings.maxDuration ? Math.min(modelSettings.maxDuration * 1e3, LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS) : shouldStreamPhase1 ? LLM_GENERATION_FIRST_CALL_TIMEOUT_MS_STREAMING : LLM_GENERATION_FIRST_CALL_TIMEOUT_MS_NON_STREAMING;
|
|
16058
16145
|
const timeoutMs = Math.min(configuredTimeout, LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS);
|
|
16059
16146
|
if (modelSettings.maxDuration && modelSettings.maxDuration * 1e3 > LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS) {
|
|
16060
|
-
|
|
16147
|
+
logger18.warn(
|
|
16061
16148
|
{
|
|
16062
16149
|
requestedTimeout: modelSettings.maxDuration * 1e3,
|
|
16063
16150
|
appliedTimeout: timeoutMs,
|
|
@@ -16099,7 +16186,16 @@ ${output}`;
|
|
|
16099
16186
|
}
|
|
16100
16187
|
);
|
|
16101
16188
|
} catch (error) {
|
|
16102
|
-
|
|
16189
|
+
logger18.debug({ error }, "Failed to track agent reasoning");
|
|
16190
|
+
}
|
|
16191
|
+
}
|
|
16192
|
+
if (last && last["content"] && last["content"].length > 0) {
|
|
16193
|
+
const lastContent = last["content"][last["content"].length - 1];
|
|
16194
|
+
if (lastContent["type"] === "tool-error") {
|
|
16195
|
+
const error = lastContent["error"];
|
|
16196
|
+
if (error && typeof error === "object" && "name" in error && error.name === "connection_refused") {
|
|
16197
|
+
return true;
|
|
16198
|
+
}
|
|
16103
16199
|
}
|
|
16104
16200
|
}
|
|
16105
16201
|
if (steps.length >= 2) {
|
|
@@ -16225,7 +16321,7 @@ ${output}`;
|
|
|
16225
16321
|
}
|
|
16226
16322
|
);
|
|
16227
16323
|
} catch (error) {
|
|
16228
|
-
|
|
16324
|
+
logger18.debug({ error }, "Failed to track agent reasoning");
|
|
16229
16325
|
}
|
|
16230
16326
|
}
|
|
16231
16327
|
if (steps.length >= 2) {
|
|
@@ -16335,11 +16431,11 @@ ${output}${structureHintsFormatted}`;
|
|
|
16335
16431
|
const componentSchemas = [];
|
|
16336
16432
|
if (this.config.dataComponents && this.config.dataComponents.length > 0) {
|
|
16337
16433
|
this.config.dataComponents.forEach((dc) => {
|
|
16338
|
-
const propsSchema = jsonSchemaToZod(dc.props);
|
|
16434
|
+
const propsSchema = agentsCore.jsonSchemaToZod(dc.props);
|
|
16339
16435
|
componentSchemas.push(
|
|
16340
|
-
|
|
16341
|
-
id:
|
|
16342
|
-
name:
|
|
16436
|
+
zodOpenapi.z.object({
|
|
16437
|
+
id: zodOpenapi.z.string(),
|
|
16438
|
+
name: zodOpenapi.z.literal(dc.name),
|
|
16343
16439
|
props: propsSchema
|
|
16344
16440
|
})
|
|
16345
16441
|
);
|
|
@@ -16356,7 +16452,7 @@ ${output}${structureHintsFormatted}`;
|
|
|
16356
16452
|
if (componentSchemas.length === 1) {
|
|
16357
16453
|
dataComponentsSchema = componentSchemas[0];
|
|
16358
16454
|
} else {
|
|
16359
|
-
dataComponentsSchema =
|
|
16455
|
+
dataComponentsSchema = zodOpenapi.z.union(
|
|
16360
16456
|
componentSchemas
|
|
16361
16457
|
);
|
|
16362
16458
|
}
|
|
@@ -16372,7 +16468,7 @@ ${output}${structureHintsFormatted}`;
|
|
|
16372
16468
|
LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS
|
|
16373
16469
|
);
|
|
16374
16470
|
if (structuredModelSettings.maxDuration && structuredModelSettings.maxDuration * 1e3 > LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS) {
|
|
16375
|
-
|
|
16471
|
+
logger18.warn(
|
|
16376
16472
|
{
|
|
16377
16473
|
requestedTimeout: structuredModelSettings.maxDuration * 1e3,
|
|
16378
16474
|
appliedTimeout: phase2TimeoutMs,
|
|
@@ -16398,8 +16494,8 @@ ${output}${structureHintsFormatted}`;
|
|
|
16398
16494
|
const streamResult = ai.streamObject({
|
|
16399
16495
|
...structuredModelSettings,
|
|
16400
16496
|
messages: phase2Messages,
|
|
16401
|
-
schema:
|
|
16402
|
-
dataComponents:
|
|
16497
|
+
schema: zodOpenapi.z.object({
|
|
16498
|
+
dataComponents: zodOpenapi.z.array(dataComponentsSchema)
|
|
16403
16499
|
}),
|
|
16404
16500
|
experimental_telemetry: {
|
|
16405
16501
|
isEnabled: true,
|
|
@@ -16469,8 +16565,8 @@ ${output}${structureHintsFormatted}`;
|
|
|
16469
16565
|
withJsonPostProcessing2({
|
|
16470
16566
|
...structuredModelSettings,
|
|
16471
16567
|
messages: phase2Messages,
|
|
16472
|
-
schema:
|
|
16473
|
-
dataComponents:
|
|
16568
|
+
schema: zodOpenapi.z.object({
|
|
16569
|
+
dataComponents: zodOpenapi.z.array(dataComponentsSchema)
|
|
16474
16570
|
}),
|
|
16475
16571
|
experimental_telemetry: {
|
|
16476
16572
|
isEnabled: true,
|
|
@@ -16548,7 +16644,7 @@ ${output}${structureHintsFormatted}`;
|
|
|
16548
16644
|
};
|
|
16549
16645
|
|
|
16550
16646
|
// src/agents/generateTaskHandler.ts
|
|
16551
|
-
var
|
|
16647
|
+
var logger19 = agentsCore.getLogger("generateTaskHandler");
|
|
16552
16648
|
var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
16553
16649
|
return async (task) => {
|
|
16554
16650
|
try {
|
|
@@ -16666,7 +16762,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16666
16762
|
return { ...relation, description: enhancedDescription };
|
|
16667
16763
|
}
|
|
16668
16764
|
} catch (error) {
|
|
16669
|
-
|
|
16765
|
+
logger19.warn({ subAgentId: relation.id, error }, "Failed to enhance agent description");
|
|
16670
16766
|
}
|
|
16671
16767
|
return relation;
|
|
16672
16768
|
})
|
|
@@ -16724,7 +16820,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16724
16820
|
};
|
|
16725
16821
|
}
|
|
16726
16822
|
} catch (error) {
|
|
16727
|
-
|
|
16823
|
+
logger19.warn(
|
|
16728
16824
|
{ targetAgentId: relation.targetAgentId, error },
|
|
16729
16825
|
"Failed to enhance team agent description"
|
|
16730
16826
|
);
|
|
@@ -16732,7 +16828,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16732
16828
|
return relation;
|
|
16733
16829
|
})
|
|
16734
16830
|
);
|
|
16735
|
-
const prompt = "prompt" in config.agentSchema ? config.agentSchema.prompt : "";
|
|
16831
|
+
const prompt = "prompt" in config.agentSchema ? config.agentSchema.prompt || void 0 : "";
|
|
16736
16832
|
const models = "models" in config.agentSchema ? config.agentSchema.models : void 0;
|
|
16737
16833
|
const stopWhen = "stopWhen" in config.agentSchema ? config.agentSchema.stopWhen : void 0;
|
|
16738
16834
|
const toolsForAgentResult = await Promise.all(
|
|
@@ -16741,7 +16837,8 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16741
16837
|
item.tool,
|
|
16742
16838
|
dbClient_default,
|
|
16743
16839
|
credentialStoreRegistry,
|
|
16744
|
-
item.id
|
|
16840
|
+
item.id,
|
|
16841
|
+
config.userId
|
|
16745
16842
|
);
|
|
16746
16843
|
if (item.selectedTools && item.selectedTools.length > 0) {
|
|
16747
16844
|
const selectedToolsSet = new Set(item.selectedTools);
|
|
@@ -16758,6 +16855,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16758
16855
|
agentId: config.agentId,
|
|
16759
16856
|
baseUrl: config.baseUrl,
|
|
16760
16857
|
apiKey: config.apiKey,
|
|
16858
|
+
userId: config.userId,
|
|
16761
16859
|
name: config.name,
|
|
16762
16860
|
description: config.description || "",
|
|
16763
16861
|
prompt,
|
|
@@ -16771,7 +16869,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16771
16869
|
baseUrl: config.baseUrl,
|
|
16772
16870
|
apiKey: config.apiKey,
|
|
16773
16871
|
name: relation.name,
|
|
16774
|
-
description: relation.description,
|
|
16872
|
+
description: relation.description || void 0,
|
|
16775
16873
|
prompt: "",
|
|
16776
16874
|
delegateRelations: [],
|
|
16777
16875
|
subAgentRelations: [],
|
|
@@ -16811,7 +16909,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16811
16909
|
targetTransferRelations = transferRel;
|
|
16812
16910
|
targetDelegateRelations = delegateRel;
|
|
16813
16911
|
} catch (err2) {
|
|
16814
|
-
|
|
16912
|
+
logger19.info(
|
|
16815
16913
|
{
|
|
16816
16914
|
agentId: relation.id,
|
|
16817
16915
|
error: err2?.message || "Unknown error"
|
|
@@ -16825,7 +16923,8 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16825
16923
|
item.tool,
|
|
16826
16924
|
dbClient_default,
|
|
16827
16925
|
credentialStoreRegistry,
|
|
16828
|
-
item.id
|
|
16926
|
+
item.id,
|
|
16927
|
+
config.userId
|
|
16829
16928
|
);
|
|
16830
16929
|
if (item.selectedTools && item.selectedTools.length > 0) {
|
|
16831
16930
|
const selectedToolsSet = new Set(item.selectedTools);
|
|
@@ -16874,7 +16973,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16874
16973
|
projectId: config.projectId,
|
|
16875
16974
|
agentId: config.agentId,
|
|
16876
16975
|
name: relation.name,
|
|
16877
|
-
description: relation.description,
|
|
16976
|
+
description: relation.description || void 0,
|
|
16878
16977
|
prompt: "",
|
|
16879
16978
|
delegateRelations: targetDelegateRelationsConfig,
|
|
16880
16979
|
subAgentRelations: [],
|
|
@@ -16889,13 +16988,14 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16889
16988
|
type: "internal",
|
|
16890
16989
|
config: {
|
|
16891
16990
|
id: relation.id,
|
|
16991
|
+
relationId: relation.relationId,
|
|
16892
16992
|
tenantId: config.tenantId,
|
|
16893
16993
|
projectId: config.projectId,
|
|
16894
16994
|
agentId: config.agentId,
|
|
16895
16995
|
baseUrl: config.baseUrl,
|
|
16896
16996
|
apiKey: config.apiKey,
|
|
16897
16997
|
name: relation.name,
|
|
16898
|
-
description: relation.description,
|
|
16998
|
+
description: relation.description || void 0,
|
|
16899
16999
|
prompt: "",
|
|
16900
17000
|
delegateRelations: [],
|
|
16901
17001
|
// Simplified - no nested relations
|
|
@@ -16950,7 +17050,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16950
17050
|
const taskIdMatch = task.id.match(/^task_([^-]+-[^-]+-\d+)-/);
|
|
16951
17051
|
if (taskIdMatch) {
|
|
16952
17052
|
contextId = taskIdMatch[1];
|
|
16953
|
-
|
|
17053
|
+
logger19.info(
|
|
16954
17054
|
{
|
|
16955
17055
|
taskId: task.id,
|
|
16956
17056
|
extractedContextId: contextId,
|
|
@@ -16968,7 +17068,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16968
17068
|
agent.setDelegationStatus(isDelegation);
|
|
16969
17069
|
agent.setDelegationId(delegationId);
|
|
16970
17070
|
if (isDelegation) {
|
|
16971
|
-
|
|
17071
|
+
logger19.info(
|
|
16972
17072
|
{ subAgentId: config.subAgentId, taskId: task.id, delegationId },
|
|
16973
17073
|
"Delegated agent - streaming disabled"
|
|
16974
17074
|
);
|
|
@@ -17005,7 +17105,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17005
17105
|
const toolResult = allToolResults.find(
|
|
17006
17106
|
(result) => result.toolCallId === toolCall.toolCallId
|
|
17007
17107
|
);
|
|
17008
|
-
|
|
17108
|
+
logger19.info(
|
|
17009
17109
|
{
|
|
17010
17110
|
toolCallName: toolCall.toolName,
|
|
17011
17111
|
toolCallId: toolCall.toolCallId,
|
|
@@ -17022,7 +17122,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17022
17122
|
const transferReason = responseText || allThoughts[allThoughts.length - 1]?.text || "Agent requested transfer. No reason provided.";
|
|
17023
17123
|
if (toolResult?.output && isValidTransferResult(toolResult.output)) {
|
|
17024
17124
|
const transferResult = toolResult.output;
|
|
17025
|
-
|
|
17125
|
+
logger19.info(
|
|
17026
17126
|
{
|
|
17027
17127
|
validationPassed: true,
|
|
17028
17128
|
transferResult,
|
|
@@ -17039,7 +17139,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17039
17139
|
reason: transferReason,
|
|
17040
17140
|
original_message: userMessage
|
|
17041
17141
|
};
|
|
17042
|
-
|
|
17142
|
+
logger19.info(
|
|
17043
17143
|
{
|
|
17044
17144
|
artifactData,
|
|
17045
17145
|
artifactDataKeys: Object.keys(artifactData)
|
|
@@ -17064,7 +17164,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17064
17164
|
]
|
|
17065
17165
|
};
|
|
17066
17166
|
}
|
|
17067
|
-
|
|
17167
|
+
logger19.warn(
|
|
17068
17168
|
{
|
|
17069
17169
|
hasToolResult: !!toolResult,
|
|
17070
17170
|
hasOutput: !!toolResult?.output,
|
|
@@ -17092,10 +17192,15 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17092
17192
|
};
|
|
17093
17193
|
} catch (error) {
|
|
17094
17194
|
console.error("Task handler error:", error);
|
|
17195
|
+
const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
|
|
17196
|
+
const isConnectionRefused = errorMessage.includes(
|
|
17197
|
+
"Connection refused. Please check if the MCP server is running."
|
|
17198
|
+
);
|
|
17095
17199
|
return {
|
|
17096
17200
|
status: {
|
|
17097
17201
|
state: agentsCore.TaskState.Failed,
|
|
17098
|
-
message:
|
|
17202
|
+
message: errorMessage,
|
|
17203
|
+
type: isConnectionRefused ? "connection_refused" : "unknown"
|
|
17099
17204
|
},
|
|
17100
17205
|
artifacts: []
|
|
17101
17206
|
};
|
|
@@ -17142,17 +17247,18 @@ var createTaskHandlerConfig = async (params) => {
|
|
|
17142
17247
|
baseUrl: params.baseUrl,
|
|
17143
17248
|
apiKey: params.apiKey,
|
|
17144
17249
|
name: subAgent.name,
|
|
17145
|
-
description: subAgent.description,
|
|
17250
|
+
description: subAgent.description || void 0,
|
|
17146
17251
|
conversationHistoryConfig: effectiveConversationHistoryConfig,
|
|
17147
17252
|
contextConfigId: agent?.contextConfigId || void 0,
|
|
17148
|
-
sandboxConfig: params.sandboxConfig
|
|
17253
|
+
sandboxConfig: params.sandboxConfig,
|
|
17254
|
+
userId: params.userId
|
|
17149
17255
|
};
|
|
17150
17256
|
};
|
|
17151
17257
|
|
|
17152
17258
|
// src/data/agents.ts
|
|
17153
17259
|
init_logger();
|
|
17154
17260
|
init_dbClient();
|
|
17155
|
-
var
|
|
17261
|
+
var logger20 = agentsCore.getLogger("agents");
|
|
17156
17262
|
function createAgentCard({
|
|
17157
17263
|
dbAgent,
|
|
17158
17264
|
baseUrl
|
|
@@ -17222,7 +17328,8 @@ async function hydrateAgent({
|
|
|
17222
17328
|
baseUrl,
|
|
17223
17329
|
apiKey,
|
|
17224
17330
|
credentialStoreRegistry,
|
|
17225
|
-
sandboxConfig
|
|
17331
|
+
sandboxConfig,
|
|
17332
|
+
userId
|
|
17226
17333
|
}) {
|
|
17227
17334
|
try {
|
|
17228
17335
|
const taskHandlerConfig = await createTaskHandlerConfig({
|
|
@@ -17232,7 +17339,8 @@ async function hydrateAgent({
|
|
|
17232
17339
|
subAgentId: dbAgent.id,
|
|
17233
17340
|
baseUrl,
|
|
17234
17341
|
apiKey,
|
|
17235
|
-
sandboxConfig
|
|
17342
|
+
sandboxConfig,
|
|
17343
|
+
userId
|
|
17236
17344
|
});
|
|
17237
17345
|
const taskHandler = createTaskHandler(taskHandlerConfig, credentialStoreRegistry);
|
|
17238
17346
|
const agentCard = createAgentCard({
|
|
@@ -17255,12 +17363,13 @@ async function hydrateAgent({
|
|
|
17255
17363
|
async function getRegisteredAgent(params) {
|
|
17256
17364
|
const { executionContext, credentialStoreRegistry, sandboxConfig } = params;
|
|
17257
17365
|
const { tenantId, projectId, agentId, subAgentId, baseUrl, apiKey } = executionContext;
|
|
17366
|
+
const userId = getUserIdFromContext(executionContext);
|
|
17258
17367
|
let dbAgent;
|
|
17259
17368
|
if (!subAgentId) {
|
|
17260
17369
|
const agent = await agentsCore.getAgentWithDefaultSubAgent(dbClient_default)({
|
|
17261
17370
|
scopes: { tenantId, projectId, agentId }
|
|
17262
17371
|
});
|
|
17263
|
-
|
|
17372
|
+
logger20.info({ agent }, "agent with default sub agent");
|
|
17264
17373
|
if (!agent || !agent.defaultSubAgent) {
|
|
17265
17374
|
return null;
|
|
17266
17375
|
}
|
|
@@ -17285,7 +17394,8 @@ async function getRegisteredAgent(params) {
|
|
|
17285
17394
|
baseUrl: agentFrameworkBaseUrl,
|
|
17286
17395
|
credentialStoreRegistry,
|
|
17287
17396
|
apiKey,
|
|
17288
|
-
sandboxConfig
|
|
17397
|
+
sandboxConfig,
|
|
17398
|
+
userId
|
|
17289
17399
|
});
|
|
17290
17400
|
}
|
|
17291
17401
|
|
|
@@ -17293,7 +17403,7 @@ async function getRegisteredAgent(params) {
|
|
|
17293
17403
|
init_dbClient();
|
|
17294
17404
|
init_logger();
|
|
17295
17405
|
var app = new zodOpenapi.OpenAPIHono();
|
|
17296
|
-
var
|
|
17406
|
+
var logger21 = agentsCore.getLogger("agents");
|
|
17297
17407
|
app.openapi(
|
|
17298
17408
|
zodOpenapi.createRoute({
|
|
17299
17409
|
method: "get",
|
|
@@ -17308,14 +17418,14 @@ app.openapi(
|
|
|
17308
17418
|
description: "Agent Card for A2A discovery",
|
|
17309
17419
|
content: {
|
|
17310
17420
|
"application/json": {
|
|
17311
|
-
schema:
|
|
17312
|
-
name:
|
|
17313
|
-
description:
|
|
17314
|
-
url:
|
|
17315
|
-
version:
|
|
17316
|
-
defaultInputModes:
|
|
17317
|
-
defaultOutputModes:
|
|
17318
|
-
skills:
|
|
17421
|
+
schema: zodOpenapi.z.object({
|
|
17422
|
+
name: zodOpenapi.z.string(),
|
|
17423
|
+
description: zodOpenapi.z.string().optional(),
|
|
17424
|
+
url: zodOpenapi.z.string(),
|
|
17425
|
+
version: zodOpenapi.z.string(),
|
|
17426
|
+
defaultInputModes: zodOpenapi.z.array(zodOpenapi.z.string()),
|
|
17427
|
+
defaultOutputModes: zodOpenapi.z.array(zodOpenapi.z.string()),
|
|
17428
|
+
skills: zodOpenapi.z.array(zodOpenapi.z.any())
|
|
17319
17429
|
})
|
|
17320
17430
|
}
|
|
17321
17431
|
}
|
|
@@ -17331,7 +17441,7 @@ app.openapi(
|
|
|
17331
17441
|
tracestate: c2.req.header("tracestate"),
|
|
17332
17442
|
baggage: c2.req.header("baggage")
|
|
17333
17443
|
};
|
|
17334
|
-
|
|
17444
|
+
logger21.info(
|
|
17335
17445
|
{
|
|
17336
17446
|
otelHeaders,
|
|
17337
17447
|
path: c2.req.path,
|
|
@@ -17341,8 +17451,8 @@ app.openapi(
|
|
|
17341
17451
|
);
|
|
17342
17452
|
const executionContext = agentsCore.getRequestExecutionContext(c2);
|
|
17343
17453
|
const { tenantId, projectId, agentId, subAgentId } = executionContext;
|
|
17344
|
-
|
|
17345
|
-
|
|
17454
|
+
logger21.info({ executionContext }, "executionContext");
|
|
17455
|
+
logger21.info(
|
|
17346
17456
|
{
|
|
17347
17457
|
message: "getRegisteredAgent (agent-level)",
|
|
17348
17458
|
tenantId,
|
|
@@ -17359,7 +17469,7 @@ app.openapi(
|
|
|
17359
17469
|
credentialStoreRegistry: credentialStores,
|
|
17360
17470
|
sandboxConfig
|
|
17361
17471
|
});
|
|
17362
|
-
|
|
17472
|
+
logger21.info({ agent }, "agent registered: well-known agent.json");
|
|
17363
17473
|
if (!agent) {
|
|
17364
17474
|
throw agentsCore.createApiError({
|
|
17365
17475
|
code: "not_found",
|
|
@@ -17375,7 +17485,7 @@ app.post("/a2a", async (c2) => {
|
|
|
17375
17485
|
tracestate: c2.req.header("tracestate"),
|
|
17376
17486
|
baggage: c2.req.header("baggage")
|
|
17377
17487
|
};
|
|
17378
|
-
|
|
17488
|
+
logger21.info(
|
|
17379
17489
|
{
|
|
17380
17490
|
otelHeaders,
|
|
17381
17491
|
path: c2.req.path,
|
|
@@ -17386,7 +17496,7 @@ app.post("/a2a", async (c2) => {
|
|
|
17386
17496
|
const executionContext = agentsCore.getRequestExecutionContext(c2);
|
|
17387
17497
|
const { tenantId, projectId, agentId, subAgentId } = executionContext;
|
|
17388
17498
|
if (subAgentId) {
|
|
17389
|
-
|
|
17499
|
+
logger21.info(
|
|
17390
17500
|
{
|
|
17391
17501
|
message: "a2a (agent-level)",
|
|
17392
17502
|
tenantId,
|
|
@@ -17415,7 +17525,7 @@ app.post("/a2a", async (c2) => {
|
|
|
17415
17525
|
}
|
|
17416
17526
|
return a2aHandler(c2, agent2);
|
|
17417
17527
|
}
|
|
17418
|
-
|
|
17528
|
+
logger21.info(
|
|
17419
17529
|
{
|
|
17420
17530
|
message: "a2a (agent-level)",
|
|
17421
17531
|
tenantId,
|
|
@@ -17500,14 +17610,14 @@ function extractTransferData(task) {
|
|
|
17500
17610
|
}
|
|
17501
17611
|
|
|
17502
17612
|
// src/a2a/transfer.ts
|
|
17503
|
-
var
|
|
17613
|
+
var logger22 = agentsCore.getLogger("Transfer");
|
|
17504
17614
|
async function executeTransfer({
|
|
17505
17615
|
tenantId,
|
|
17506
17616
|
threadId,
|
|
17507
17617
|
projectId,
|
|
17508
17618
|
targetSubAgentId
|
|
17509
17619
|
}) {
|
|
17510
|
-
|
|
17620
|
+
logger22.info(
|
|
17511
17621
|
{
|
|
17512
17622
|
targetAgent: targetSubAgentId,
|
|
17513
17623
|
threadId,
|
|
@@ -17522,12 +17632,12 @@ async function executeTransfer({
|
|
|
17522
17632
|
threadId,
|
|
17523
17633
|
subAgentId: targetSubAgentId
|
|
17524
17634
|
});
|
|
17525
|
-
|
|
17635
|
+
logger22.info(
|
|
17526
17636
|
{ targetAgent: targetSubAgentId, threadId },
|
|
17527
17637
|
"Successfully updated active_sub_agent_id in database"
|
|
17528
17638
|
);
|
|
17529
17639
|
} catch (error) {
|
|
17530
|
-
|
|
17640
|
+
logger22.error(
|
|
17531
17641
|
{ error, targetAgent: targetSubAgentId, threadId },
|
|
17532
17642
|
"Failed to update active_sub_agent_id"
|
|
17533
17643
|
);
|
|
@@ -18099,7 +18209,7 @@ function createBufferingStreamHelper() {
|
|
|
18099
18209
|
var createMCPStreamHelper = createBufferingStreamHelper;
|
|
18100
18210
|
|
|
18101
18211
|
// src/handlers/executionHandler.ts
|
|
18102
|
-
var
|
|
18212
|
+
var logger23 = agentsCore.getLogger("ExecutionHandler");
|
|
18103
18213
|
var ExecutionHandler = class {
|
|
18104
18214
|
MAX_ERRORS = AGENT_EXECUTION_MAX_CONSECUTIVE_ERRORS;
|
|
18105
18215
|
/**
|
|
@@ -18132,7 +18242,7 @@ var ExecutionHandler = class {
|
|
|
18132
18242
|
if (emitOperations) {
|
|
18133
18243
|
agentSessionManager.enableEmitOperations(requestId2);
|
|
18134
18244
|
}
|
|
18135
|
-
|
|
18245
|
+
logger23.info(
|
|
18136
18246
|
{ sessionId: requestId2, agentId, conversationId, emitOperations },
|
|
18137
18247
|
"Created AgentSession for message execution"
|
|
18138
18248
|
);
|
|
@@ -18165,7 +18275,7 @@ var ExecutionHandler = class {
|
|
|
18165
18275
|
);
|
|
18166
18276
|
}
|
|
18167
18277
|
} catch (modelError) {
|
|
18168
|
-
|
|
18278
|
+
logger23.warn(
|
|
18169
18279
|
{
|
|
18170
18280
|
error: modelError instanceof Error ? modelError.message : "Unknown error",
|
|
18171
18281
|
agentId
|
|
@@ -18180,7 +18290,7 @@ var ExecutionHandler = class {
|
|
|
18180
18290
|
}
|
|
18181
18291
|
}
|
|
18182
18292
|
} catch (error) {
|
|
18183
|
-
|
|
18293
|
+
logger23.error(
|
|
18184
18294
|
{
|
|
18185
18295
|
error: error instanceof Error ? error.message : "Unknown error",
|
|
18186
18296
|
stack: error instanceof Error ? error.stack : void 0
|
|
@@ -18196,7 +18306,7 @@ var ExecutionHandler = class {
|
|
|
18196
18306
|
try {
|
|
18197
18307
|
await sseHelper.writeOperation(agentInitializingOp(requestId2, agentId));
|
|
18198
18308
|
const taskId = `task_${conversationId}-${requestId2}`;
|
|
18199
|
-
|
|
18309
|
+
logger23.info(
|
|
18200
18310
|
{ taskId, currentAgentId, conversationId, requestId: requestId2 },
|
|
18201
18311
|
"Attempting to create or reuse existing task"
|
|
18202
18312
|
);
|
|
@@ -18220,7 +18330,7 @@ var ExecutionHandler = class {
|
|
|
18220
18330
|
sub_agent_id: currentAgentId
|
|
18221
18331
|
}
|
|
18222
18332
|
});
|
|
18223
|
-
|
|
18333
|
+
logger23.info(
|
|
18224
18334
|
{
|
|
18225
18335
|
taskId,
|
|
18226
18336
|
createdTaskMetadata: Array.isArray(task) ? task[0]?.metadata : task?.metadata
|
|
@@ -18229,27 +18339,27 @@ var ExecutionHandler = class {
|
|
|
18229
18339
|
);
|
|
18230
18340
|
} catch (error) {
|
|
18231
18341
|
if (error?.cause?.code === "23505") {
|
|
18232
|
-
|
|
18342
|
+
logger23.info(
|
|
18233
18343
|
{ taskId, error: error.message },
|
|
18234
18344
|
"Task already exists, fetching existing task"
|
|
18235
18345
|
);
|
|
18236
18346
|
const existingTask = await agentsCore.getTask(dbClient_default)({ id: taskId });
|
|
18237
18347
|
if (existingTask) {
|
|
18238
18348
|
task = existingTask;
|
|
18239
|
-
|
|
18349
|
+
logger23.info(
|
|
18240
18350
|
{ taskId, existingTask },
|
|
18241
18351
|
"Successfully reused existing task from race condition"
|
|
18242
18352
|
);
|
|
18243
18353
|
} else {
|
|
18244
|
-
|
|
18354
|
+
logger23.error({ taskId, error }, "Task constraint failed but task not found");
|
|
18245
18355
|
throw error;
|
|
18246
18356
|
}
|
|
18247
18357
|
} else {
|
|
18248
|
-
|
|
18358
|
+
logger23.error({ taskId, error }, "Failed to create task due to non-constraint error");
|
|
18249
18359
|
throw error;
|
|
18250
18360
|
}
|
|
18251
18361
|
}
|
|
18252
|
-
|
|
18362
|
+
logger23.debug(
|
|
18253
18363
|
{
|
|
18254
18364
|
timestamp: /* @__PURE__ */ new Date(),
|
|
18255
18365
|
executionType: "create_initial_task",
|
|
@@ -18268,7 +18378,7 @@ var ExecutionHandler = class {
|
|
|
18268
18378
|
const maxTransfers = agentConfig?.stopWhen?.transferCountIs ?? agentsCore.AGENT_EXECUTION_TRANSFER_COUNT_DEFAULT;
|
|
18269
18379
|
while (iterations < maxTransfers) {
|
|
18270
18380
|
iterations++;
|
|
18271
|
-
|
|
18381
|
+
logger23.info(
|
|
18272
18382
|
{ iterations, currentAgentId, agentId, conversationId, fromSubAgentId },
|
|
18273
18383
|
`Execution loop iteration ${iterations} with agent ${currentAgentId}, transfer from: ${fromSubAgentId || "none"}`
|
|
18274
18384
|
);
|
|
@@ -18276,10 +18386,10 @@ var ExecutionHandler = class {
|
|
|
18276
18386
|
scopes: { tenantId, projectId },
|
|
18277
18387
|
conversationId
|
|
18278
18388
|
});
|
|
18279
|
-
|
|
18389
|
+
logger23.info({ activeAgent }, "activeAgent");
|
|
18280
18390
|
if (activeAgent && activeAgent.activeSubAgentId !== currentAgentId) {
|
|
18281
18391
|
currentAgentId = activeAgent.activeSubAgentId;
|
|
18282
|
-
|
|
18392
|
+
logger23.info({ currentAgentId }, `Updated current agent to: ${currentAgentId}`);
|
|
18283
18393
|
}
|
|
18284
18394
|
const agentBaseUrl = `${baseUrl}/agents`;
|
|
18285
18395
|
const a2aClient = new A2AClient(agentBaseUrl, {
|
|
@@ -18320,13 +18430,13 @@ var ExecutionHandler = class {
|
|
|
18320
18430
|
});
|
|
18321
18431
|
if (!messageResponse?.result) {
|
|
18322
18432
|
errorCount++;
|
|
18323
|
-
|
|
18433
|
+
logger23.error(
|
|
18324
18434
|
{ currentAgentId, iterations, errorCount },
|
|
18325
18435
|
`No response from agent ${currentAgentId} on iteration ${iterations} (error ${errorCount}/${this.MAX_ERRORS})`
|
|
18326
18436
|
);
|
|
18327
18437
|
if (errorCount >= this.MAX_ERRORS) {
|
|
18328
18438
|
const errorMessage2 = `Maximum error limit (${this.MAX_ERRORS}) reached`;
|
|
18329
|
-
|
|
18439
|
+
logger23.error({ maxErrors: this.MAX_ERRORS, errorCount }, errorMessage2);
|
|
18330
18440
|
await sseHelper.writeOperation(errorOp(errorMessage2, currentAgentId || "system"));
|
|
18331
18441
|
if (task) {
|
|
18332
18442
|
await agentsCore.updateTask(dbClient_default)({
|
|
@@ -18341,7 +18451,7 @@ var ExecutionHandler = class {
|
|
|
18341
18451
|
}
|
|
18342
18452
|
});
|
|
18343
18453
|
}
|
|
18344
|
-
agentSessionManager.endSession(requestId2);
|
|
18454
|
+
await agentSessionManager.endSession(requestId2);
|
|
18345
18455
|
unregisterStreamHelper(requestId2);
|
|
18346
18456
|
return { success: false, error: errorMessage2, iterations };
|
|
18347
18457
|
}
|
|
@@ -18350,7 +18460,7 @@ var ExecutionHandler = class {
|
|
|
18350
18460
|
if (isTransferTask(messageResponse.result)) {
|
|
18351
18461
|
const transferData = extractTransferData(messageResponse.result);
|
|
18352
18462
|
if (!transferData) {
|
|
18353
|
-
|
|
18463
|
+
logger23.error(
|
|
18354
18464
|
{ result: messageResponse.result },
|
|
18355
18465
|
"Transfer detected but no transfer data found"
|
|
18356
18466
|
);
|
|
@@ -18359,7 +18469,7 @@ var ExecutionHandler = class {
|
|
|
18359
18469
|
const { targetSubAgentId, fromSubAgentId: transferFromAgent } = transferData;
|
|
18360
18470
|
const firstArtifact = messageResponse.result.artifacts[0];
|
|
18361
18471
|
const transferReason = firstArtifact?.parts[1]?.kind === "text" ? firstArtifact.parts[1].text : "Transfer initiated";
|
|
18362
|
-
|
|
18472
|
+
logger23.info({ targetSubAgentId, transferReason, transferFromAgent }, "Transfer response");
|
|
18363
18473
|
await agentsCore.createMessage(dbClient_default)({
|
|
18364
18474
|
id: agentsCore.generateId(),
|
|
18365
18475
|
tenantId,
|
|
@@ -18390,7 +18500,7 @@ var ExecutionHandler = class {
|
|
|
18390
18500
|
if (success) {
|
|
18391
18501
|
fromSubAgentId = currentAgentId;
|
|
18392
18502
|
currentAgentId = newAgentId;
|
|
18393
|
-
|
|
18503
|
+
logger23.info(
|
|
18394
18504
|
{
|
|
18395
18505
|
transferFrom: fromSubAgentId,
|
|
18396
18506
|
transferTo: currentAgentId,
|
|
@@ -18404,7 +18514,7 @@ var ExecutionHandler = class {
|
|
|
18404
18514
|
let responseParts = [];
|
|
18405
18515
|
if (messageResponse.result.streamedContent?.parts) {
|
|
18406
18516
|
responseParts = messageResponse.result.streamedContent.parts;
|
|
18407
|
-
|
|
18517
|
+
logger23.info(
|
|
18408
18518
|
{ partsCount: responseParts.length },
|
|
18409
18519
|
"Using streamed content for conversation history"
|
|
18410
18520
|
);
|
|
@@ -18412,7 +18522,7 @@ var ExecutionHandler = class {
|
|
|
18412
18522
|
responseParts = messageResponse.result.artifacts?.flatMap(
|
|
18413
18523
|
(artifact) => artifact.parts || []
|
|
18414
18524
|
) || [];
|
|
18415
|
-
|
|
18525
|
+
logger23.info(
|
|
18416
18526
|
{ partsCount: responseParts.length },
|
|
18417
18527
|
"Using artifacts for conversation history (fallback)"
|
|
18418
18528
|
);
|
|
@@ -18421,7 +18531,7 @@ var ExecutionHandler = class {
|
|
|
18421
18531
|
const agentSessionData = agentSessionManager.getSession(requestId2);
|
|
18422
18532
|
if (agentSessionData) {
|
|
18423
18533
|
const sessionSummary = agentSessionData.getSummary();
|
|
18424
|
-
|
|
18534
|
+
logger23.info(sessionSummary, "AgentSession data after completion");
|
|
18425
18535
|
}
|
|
18426
18536
|
let textContent = "";
|
|
18427
18537
|
for (const part of responseParts) {
|
|
@@ -18475,22 +18585,22 @@ var ExecutionHandler = class {
|
|
|
18475
18585
|
}
|
|
18476
18586
|
});
|
|
18477
18587
|
const updateTaskEnd = Date.now();
|
|
18478
|
-
|
|
18588
|
+
logger23.info(
|
|
18479
18589
|
{ duration: updateTaskEnd - updateTaskStart },
|
|
18480
18590
|
"Completed updateTask operation"
|
|
18481
18591
|
);
|
|
18482
18592
|
await sseHelper.writeOperation(completionOp(currentAgentId, iterations));
|
|
18483
18593
|
await sseHelper.complete();
|
|
18484
|
-
|
|
18485
|
-
agentSessionManager.endSession(requestId2);
|
|
18486
|
-
|
|
18594
|
+
logger23.info({}, "Ending AgentSession and cleaning up");
|
|
18595
|
+
await agentSessionManager.endSession(requestId2);
|
|
18596
|
+
logger23.info({}, "Cleaning up streamHelper");
|
|
18487
18597
|
unregisterStreamHelper(requestId2);
|
|
18488
18598
|
let response;
|
|
18489
18599
|
if (sseHelper instanceof BufferingStreamHelper) {
|
|
18490
18600
|
const captured = sseHelper.getCapturedResponse();
|
|
18491
18601
|
response = captured.text || "No response content";
|
|
18492
18602
|
}
|
|
18493
|
-
|
|
18603
|
+
logger23.info({}, "ExecutionHandler returning success");
|
|
18494
18604
|
return { success: true, iterations, response };
|
|
18495
18605
|
} catch (error) {
|
|
18496
18606
|
agentsCore.setSpanWithError(span, error instanceof Error ? error : new Error(String(error)));
|
|
@@ -18501,13 +18611,13 @@ var ExecutionHandler = class {
|
|
|
18501
18611
|
});
|
|
18502
18612
|
}
|
|
18503
18613
|
errorCount++;
|
|
18504
|
-
|
|
18614
|
+
logger23.warn(
|
|
18505
18615
|
{ iterations, errorCount },
|
|
18506
18616
|
`No valid response or transfer on iteration ${iterations} (error ${errorCount}/${this.MAX_ERRORS})`
|
|
18507
18617
|
);
|
|
18508
18618
|
if (errorCount >= this.MAX_ERRORS) {
|
|
18509
18619
|
const errorMessage2 = `Maximum error limit (${this.MAX_ERRORS}) reached`;
|
|
18510
|
-
|
|
18620
|
+
logger23.error({ maxErrors: this.MAX_ERRORS, errorCount }, errorMessage2);
|
|
18511
18621
|
await sseHelper.writeOperation(errorOp(errorMessage2, currentAgentId || "system"));
|
|
18512
18622
|
if (task) {
|
|
18513
18623
|
await agentsCore.updateTask(dbClient_default)({
|
|
@@ -18522,13 +18632,13 @@ var ExecutionHandler = class {
|
|
|
18522
18632
|
}
|
|
18523
18633
|
});
|
|
18524
18634
|
}
|
|
18525
|
-
agentSessionManager.endSession(requestId2);
|
|
18635
|
+
await agentSessionManager.endSession(requestId2);
|
|
18526
18636
|
unregisterStreamHelper(requestId2);
|
|
18527
18637
|
return { success: false, error: errorMessage2, iterations };
|
|
18528
18638
|
}
|
|
18529
18639
|
}
|
|
18530
18640
|
const errorMessage = `Maximum transfer limit (${maxTransfers}) reached without completion`;
|
|
18531
|
-
|
|
18641
|
+
logger23.error({ maxTransfers, iterations }, errorMessage);
|
|
18532
18642
|
await sseHelper.writeOperation(errorOp(errorMessage, currentAgentId || "system"));
|
|
18533
18643
|
if (task) {
|
|
18534
18644
|
await agentsCore.updateTask(dbClient_default)({
|
|
@@ -18543,11 +18653,11 @@ var ExecutionHandler = class {
|
|
|
18543
18653
|
}
|
|
18544
18654
|
});
|
|
18545
18655
|
}
|
|
18546
|
-
agentSessionManager.endSession(requestId2);
|
|
18656
|
+
await agentSessionManager.endSession(requestId2);
|
|
18547
18657
|
unregisterStreamHelper(requestId2);
|
|
18548
18658
|
return { success: false, error: errorMessage, iterations };
|
|
18549
18659
|
} catch (error) {
|
|
18550
|
-
|
|
18660
|
+
logger23.error({ error }, "Error in execution handler");
|
|
18551
18661
|
const errorMessage = error instanceof Error ? error.message : "Unknown execution error";
|
|
18552
18662
|
await sseHelper.writeOperation(
|
|
18553
18663
|
errorOp(`Execution error: ${errorMessage}`, currentAgentId || "system")
|
|
@@ -18565,7 +18675,7 @@ var ExecutionHandler = class {
|
|
|
18565
18675
|
}
|
|
18566
18676
|
});
|
|
18567
18677
|
}
|
|
18568
|
-
agentSessionManager.endSession(requestId2);
|
|
18678
|
+
await agentSessionManager.endSession(requestId2);
|
|
18569
18679
|
unregisterStreamHelper(requestId2);
|
|
18570
18680
|
return { success: false, error: errorMessage, iterations };
|
|
18571
18681
|
}
|
|
@@ -18575,7 +18685,7 @@ var ExecutionHandler = class {
|
|
|
18575
18685
|
// src/routes/chat.ts
|
|
18576
18686
|
init_logger();
|
|
18577
18687
|
var app2 = new zodOpenapi.OpenAPIHono();
|
|
18578
|
-
var
|
|
18688
|
+
var logger24 = agentsCore.getLogger("completionsHandler");
|
|
18579
18689
|
var chatCompletionsRoute = zodOpenapi.createRoute({
|
|
18580
18690
|
method: "post",
|
|
18581
18691
|
path: "/completions",
|
|
@@ -18587,36 +18697,36 @@ var chatCompletionsRoute = zodOpenapi.createRoute({
|
|
|
18587
18697
|
body: {
|
|
18588
18698
|
content: {
|
|
18589
18699
|
"application/json": {
|
|
18590
|
-
schema:
|
|
18591
|
-
model:
|
|
18592
|
-
messages:
|
|
18593
|
-
|
|
18594
|
-
role:
|
|
18595
|
-
content:
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
type:
|
|
18600
|
-
text:
|
|
18700
|
+
schema: zodOpenapi.z.object({
|
|
18701
|
+
model: zodOpenapi.z.string().describe("The model to use for the completion"),
|
|
18702
|
+
messages: zodOpenapi.z.array(
|
|
18703
|
+
zodOpenapi.z.object({
|
|
18704
|
+
role: zodOpenapi.z.enum(["system", "user", "assistant", "function", "tool"]).describe("The role of the message"),
|
|
18705
|
+
content: zodOpenapi.z.union([
|
|
18706
|
+
zodOpenapi.z.string(),
|
|
18707
|
+
zodOpenapi.z.array(
|
|
18708
|
+
zodOpenapi.z.strictObject({
|
|
18709
|
+
type: zodOpenapi.z.string(),
|
|
18710
|
+
text: zodOpenapi.z.string().optional()
|
|
18601
18711
|
})
|
|
18602
18712
|
)
|
|
18603
18713
|
]).describe("The message content"),
|
|
18604
|
-
name:
|
|
18714
|
+
name: zodOpenapi.z.string().optional().describe("The name of the message sender")
|
|
18605
18715
|
})
|
|
18606
18716
|
).describe("The conversation messages"),
|
|
18607
|
-
temperature:
|
|
18608
|
-
top_p:
|
|
18609
|
-
n:
|
|
18610
|
-
stream:
|
|
18611
|
-
max_tokens:
|
|
18612
|
-
presence_penalty:
|
|
18613
|
-
frequency_penalty:
|
|
18614
|
-
logit_bias:
|
|
18615
|
-
user:
|
|
18616
|
-
conversationId:
|
|
18617
|
-
tools:
|
|
18618
|
-
runConfig:
|
|
18619
|
-
headers:
|
|
18717
|
+
temperature: zodOpenapi.z.number().optional().describe("Controls randomness (0-1)"),
|
|
18718
|
+
top_p: zodOpenapi.z.number().optional().describe("Controls nucleus sampling"),
|
|
18719
|
+
n: zodOpenapi.z.number().optional().describe("Number of completions to generate"),
|
|
18720
|
+
stream: zodOpenapi.z.boolean().optional().describe("Whether to stream the response"),
|
|
18721
|
+
max_tokens: zodOpenapi.z.number().optional().describe("Maximum tokens to generate"),
|
|
18722
|
+
presence_penalty: zodOpenapi.z.number().optional().describe("Presence penalty (-2 to 2)"),
|
|
18723
|
+
frequency_penalty: zodOpenapi.z.number().optional().describe("Frequency penalty (-2 to 2)"),
|
|
18724
|
+
logit_bias: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.number()).optional().describe("Token logit bias"),
|
|
18725
|
+
user: zodOpenapi.z.string().optional().describe("User identifier"),
|
|
18726
|
+
conversationId: zodOpenapi.z.string().optional().describe("Conversation ID for multi-turn chat"),
|
|
18727
|
+
tools: zodOpenapi.z.array(zodOpenapi.z.string()).optional().describe("Available tools"),
|
|
18728
|
+
runConfig: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.unknown()).optional().describe("Run configuration"),
|
|
18729
|
+
headers: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.unknown()).optional().describe(
|
|
18620
18730
|
"Headers data for template processing (validated against context config schema)"
|
|
18621
18731
|
)
|
|
18622
18732
|
})
|
|
@@ -18627,14 +18737,14 @@ var chatCompletionsRoute = zodOpenapi.createRoute({
|
|
|
18627
18737
|
responses: {
|
|
18628
18738
|
200: {
|
|
18629
18739
|
description: "Streaming chat completion response in Server-Sent Events format",
|
|
18630
|
-
headers:
|
|
18631
|
-
"Content-Type":
|
|
18632
|
-
"Cache-Control":
|
|
18633
|
-
Connection:
|
|
18740
|
+
headers: zodOpenapi.z.object({
|
|
18741
|
+
"Content-Type": zodOpenapi.z.string().default("text/event-stream"),
|
|
18742
|
+
"Cache-Control": zodOpenapi.z.string().default("no-cache"),
|
|
18743
|
+
Connection: zodOpenapi.z.string().default("keep-alive")
|
|
18634
18744
|
}),
|
|
18635
18745
|
content: {
|
|
18636
18746
|
"text/event-stream": {
|
|
18637
|
-
schema:
|
|
18747
|
+
schema: zodOpenapi.z.string().describe("Server-Sent Events stream with chat completion chunks")
|
|
18638
18748
|
}
|
|
18639
18749
|
}
|
|
18640
18750
|
},
|
|
@@ -18642,13 +18752,13 @@ var chatCompletionsRoute = zodOpenapi.createRoute({
|
|
|
18642
18752
|
description: "Invalid request context or parameters",
|
|
18643
18753
|
content: {
|
|
18644
18754
|
"application/json": {
|
|
18645
|
-
schema:
|
|
18646
|
-
error:
|
|
18647
|
-
details:
|
|
18648
|
-
|
|
18649
|
-
field:
|
|
18650
|
-
message:
|
|
18651
|
-
value:
|
|
18755
|
+
schema: zodOpenapi.z.object({
|
|
18756
|
+
error: zodOpenapi.z.string(),
|
|
18757
|
+
details: zodOpenapi.z.array(
|
|
18758
|
+
zodOpenapi.z.object({
|
|
18759
|
+
field: zodOpenapi.z.string(),
|
|
18760
|
+
message: zodOpenapi.z.string(),
|
|
18761
|
+
value: zodOpenapi.z.unknown().optional()
|
|
18652
18762
|
})
|
|
18653
18763
|
).optional()
|
|
18654
18764
|
})
|
|
@@ -18659,8 +18769,8 @@ var chatCompletionsRoute = zodOpenapi.createRoute({
|
|
|
18659
18769
|
description: "Agent or agent not found",
|
|
18660
18770
|
content: {
|
|
18661
18771
|
"application/json": {
|
|
18662
|
-
schema:
|
|
18663
|
-
error:
|
|
18772
|
+
schema: zodOpenapi.z.object({
|
|
18773
|
+
error: zodOpenapi.z.string()
|
|
18664
18774
|
})
|
|
18665
18775
|
}
|
|
18666
18776
|
}
|
|
@@ -18669,9 +18779,9 @@ var chatCompletionsRoute = zodOpenapi.createRoute({
|
|
|
18669
18779
|
description: "Internal server error",
|
|
18670
18780
|
content: {
|
|
18671
18781
|
"application/json": {
|
|
18672
|
-
schema:
|
|
18673
|
-
error:
|
|
18674
|
-
message:
|
|
18782
|
+
schema: zodOpenapi.z.object({
|
|
18783
|
+
error: zodOpenapi.z.string(),
|
|
18784
|
+
message: zodOpenapi.z.string()
|
|
18675
18785
|
})
|
|
18676
18786
|
}
|
|
18677
18787
|
}
|
|
@@ -18693,7 +18803,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18693
18803
|
tracestate: c2.req.header("tracestate"),
|
|
18694
18804
|
baggage: c2.req.header("baggage")
|
|
18695
18805
|
};
|
|
18696
|
-
|
|
18806
|
+
logger24.info(
|
|
18697
18807
|
{
|
|
18698
18808
|
otelHeaders,
|
|
18699
18809
|
path: c2.req.path,
|
|
@@ -18802,7 +18912,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18802
18912
|
dbClient: dbClient_default,
|
|
18803
18913
|
credentialStores
|
|
18804
18914
|
});
|
|
18805
|
-
|
|
18915
|
+
logger24.info(
|
|
18806
18916
|
{
|
|
18807
18917
|
tenantId,
|
|
18808
18918
|
projectId,
|
|
@@ -18850,7 +18960,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18850
18960
|
try {
|
|
18851
18961
|
const sseHelper = createSSEStreamHelper(stream2, requestId2, timestamp);
|
|
18852
18962
|
await sseHelper.writeRole();
|
|
18853
|
-
|
|
18963
|
+
logger24.info({ subAgentId }, "Starting execution");
|
|
18854
18964
|
const emitOperationsHeader = c2.req.header("x-emit-operations");
|
|
18855
18965
|
const emitOperations = emitOperationsHeader === "true";
|
|
18856
18966
|
const executionHandler = new ExecutionHandler();
|
|
@@ -18863,7 +18973,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18863
18973
|
sseHelper,
|
|
18864
18974
|
emitOperations
|
|
18865
18975
|
});
|
|
18866
|
-
|
|
18976
|
+
logger24.info(
|
|
18867
18977
|
{ result },
|
|
18868
18978
|
`Execution completed: ${result.success ? "success" : "failed"} after ${result.iterations} iterations`
|
|
18869
18979
|
);
|
|
@@ -18877,7 +18987,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18877
18987
|
}
|
|
18878
18988
|
await sseHelper.complete();
|
|
18879
18989
|
} catch (error) {
|
|
18880
|
-
|
|
18990
|
+
logger24.error(
|
|
18881
18991
|
{
|
|
18882
18992
|
error: error instanceof Error ? error.message : error,
|
|
18883
18993
|
stack: error instanceof Error ? error.stack : void 0
|
|
@@ -18894,13 +19004,13 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18894
19004
|
);
|
|
18895
19005
|
await sseHelper.complete();
|
|
18896
19006
|
} catch (streamError) {
|
|
18897
|
-
|
|
19007
|
+
logger24.error({ streamError }, "Failed to write error to stream");
|
|
18898
19008
|
}
|
|
18899
19009
|
}
|
|
18900
19010
|
});
|
|
18901
19011
|
});
|
|
18902
19012
|
} catch (error) {
|
|
18903
|
-
|
|
19013
|
+
logger24.error(
|
|
18904
19014
|
{
|
|
18905
19015
|
error: error instanceof Error ? error.message : error,
|
|
18906
19016
|
stack: error instanceof Error ? error.stack : void 0
|
|
@@ -18928,7 +19038,7 @@ var chat_default = app2;
|
|
|
18928
19038
|
init_dbClient();
|
|
18929
19039
|
init_logger();
|
|
18930
19040
|
var app3 = new zodOpenapi.OpenAPIHono();
|
|
18931
|
-
var
|
|
19041
|
+
var logger25 = agentsCore.getLogger("chatDataStream");
|
|
18932
19042
|
var chatDataStreamRoute = zodOpenapi.createRoute({
|
|
18933
19043
|
method: "post",
|
|
18934
19044
|
path: "/chat",
|
|
@@ -19055,7 +19165,7 @@ app3.openapi(chatDataStreamRoute, async (c2) => {
|
|
|
19055
19165
|
});
|
|
19056
19166
|
const lastUserMessage = body2.messages.filter((m4) => m4.role === "user").slice(-1)[0];
|
|
19057
19167
|
const userText = typeof lastUserMessage?.content === "string" ? lastUserMessage.content : lastUserMessage?.parts?.map((p4) => p4.text).join("") || "";
|
|
19058
|
-
|
|
19168
|
+
logger25.info({ userText, lastUserMessage }, "userText");
|
|
19059
19169
|
const messageSpan = api.trace.getActiveSpan();
|
|
19060
19170
|
if (messageSpan) {
|
|
19061
19171
|
messageSpan.setAttributes({
|
|
@@ -19138,7 +19248,7 @@ app3.openapi(chatDataStreamRoute, async (c2) => {
|
|
|
19138
19248
|
await streamHelper.writeOperation(errorOp("Unable to process request", "system"));
|
|
19139
19249
|
}
|
|
19140
19250
|
} catch (err2) {
|
|
19141
|
-
|
|
19251
|
+
logger25.error({ err: err2 }, "Streaming error");
|
|
19142
19252
|
await streamHelper.writeOperation(errorOp("Internal server error", "system"));
|
|
19143
19253
|
} finally {
|
|
19144
19254
|
if ("cleanup" in streamHelper && typeof streamHelper.cleanup === "function") {
|
|
@@ -19160,7 +19270,7 @@ app3.openapi(chatDataStreamRoute, async (c2) => {
|
|
|
19160
19270
|
);
|
|
19161
19271
|
});
|
|
19162
19272
|
} catch (error) {
|
|
19163
|
-
|
|
19273
|
+
logger25.error(
|
|
19164
19274
|
{
|
|
19165
19275
|
error,
|
|
19166
19276
|
errorMessage: error instanceof Error ? error.message : String(error),
|
|
@@ -19249,7 +19359,7 @@ app3.openapi(toolApprovalRoute, async (c2) => {
|
|
|
19249
19359
|
const { tenantId, projectId } = executionContext;
|
|
19250
19360
|
const requestBody = await c2.req.json();
|
|
19251
19361
|
const { conversationId, toolCallId, approved, reason } = requestBody;
|
|
19252
|
-
|
|
19362
|
+
logger25.info(
|
|
19253
19363
|
{
|
|
19254
19364
|
conversationId,
|
|
19255
19365
|
toolCallId,
|
|
@@ -19278,7 +19388,7 @@ app3.openapi(toolApprovalRoute, async (c2) => {
|
|
|
19278
19388
|
span.setStatus({ code: 1, message: "Tool call not found" });
|
|
19279
19389
|
return c2.json({ error: "Tool call not found or already processed" }, 404);
|
|
19280
19390
|
}
|
|
19281
|
-
|
|
19391
|
+
logger25.info({ conversationId, toolCallId, approved }, "Tool approval processed successfully");
|
|
19282
19392
|
span.setStatus({ code: 1, message: "Success" });
|
|
19283
19393
|
return c2.json({
|
|
19284
19394
|
success: true,
|
|
@@ -19286,7 +19396,7 @@ app3.openapi(toolApprovalRoute, async (c2) => {
|
|
|
19286
19396
|
});
|
|
19287
19397
|
} catch (error) {
|
|
19288
19398
|
const errorMessage = error instanceof Error ? error.message : "Unknown error";
|
|
19289
|
-
|
|
19399
|
+
logger25.error(
|
|
19290
19400
|
{
|
|
19291
19401
|
error: errorMessage,
|
|
19292
19402
|
stack: error instanceof Error ? error.stack : void 0
|
|
@@ -19311,7 +19421,7 @@ var chatDataStream_default = app3;
|
|
|
19311
19421
|
// src/routes/mcp.ts
|
|
19312
19422
|
init_dbClient();
|
|
19313
19423
|
init_logger();
|
|
19314
|
-
var
|
|
19424
|
+
var logger26 = agentsCore.getLogger("mcp");
|
|
19315
19425
|
var MockResponseSingleton = class _MockResponseSingleton {
|
|
19316
19426
|
static instance;
|
|
19317
19427
|
mockRes;
|
|
@@ -19365,21 +19475,21 @@ var createSpoofInitMessage = (mcpProtocolVersion) => ({
|
|
|
19365
19475
|
id: 0
|
|
19366
19476
|
});
|
|
19367
19477
|
var spoofTransportInitialization = async (transport, req, sessionId, mcpProtocolVersion) => {
|
|
19368
|
-
|
|
19478
|
+
logger26.info({ sessionId }, "Spoofing initialization message to set transport state");
|
|
19369
19479
|
const spoofInitMessage = createSpoofInitMessage(mcpProtocolVersion);
|
|
19370
19480
|
const mockRes = MockResponseSingleton.getInstance().getMockResponse();
|
|
19371
19481
|
try {
|
|
19372
19482
|
await transport.handleRequest(req, mockRes, spoofInitMessage);
|
|
19373
|
-
|
|
19483
|
+
logger26.info({ sessionId }, "Successfully spoofed initialization");
|
|
19374
19484
|
} catch (spoofError) {
|
|
19375
|
-
|
|
19485
|
+
logger26.warn({ sessionId, error: spoofError }, "Spoof initialization failed, continuing anyway");
|
|
19376
19486
|
}
|
|
19377
19487
|
};
|
|
19378
19488
|
var validateSession = async (req, res, body2, tenantId, projectId, agentId) => {
|
|
19379
19489
|
const sessionId = req.headers["mcp-session-id"];
|
|
19380
|
-
|
|
19490
|
+
logger26.info({ sessionId }, "Received MCP session ID");
|
|
19381
19491
|
if (!sessionId) {
|
|
19382
|
-
|
|
19492
|
+
logger26.info({ body: body2 }, "Missing session ID");
|
|
19383
19493
|
res.writeHead(400).end(
|
|
19384
19494
|
JSON.stringify({
|
|
19385
19495
|
jsonrpc: "2.0",
|
|
@@ -19406,7 +19516,7 @@ var validateSession = async (req, res, body2, tenantId, projectId, agentId) => {
|
|
|
19406
19516
|
scopes: { tenantId, projectId },
|
|
19407
19517
|
conversationId: sessionId
|
|
19408
19518
|
});
|
|
19409
|
-
|
|
19519
|
+
logger26.info(
|
|
19410
19520
|
{
|
|
19411
19521
|
sessionId,
|
|
19412
19522
|
conversationFound: !!conversation,
|
|
@@ -19417,7 +19527,7 @@ var validateSession = async (req, res, body2, tenantId, projectId, agentId) => {
|
|
|
19417
19527
|
"Conversation lookup result"
|
|
19418
19528
|
);
|
|
19419
19529
|
if (!conversation || conversation.metadata?.sessionData?.sessionType !== "mcp" || conversation.metadata?.sessionData?.agentId !== agentId) {
|
|
19420
|
-
|
|
19530
|
+
logger26.info(
|
|
19421
19531
|
{ sessionId, conversationId: conversation?.id },
|
|
19422
19532
|
"MCP session not found or invalid"
|
|
19423
19533
|
);
|
|
@@ -19478,7 +19588,7 @@ var executeAgentQuery = async (executionContext, conversationId, query, defaultS
|
|
|
19478
19588
|
requestId: requestId2,
|
|
19479
19589
|
sseHelper: mcpStreamHelper
|
|
19480
19590
|
});
|
|
19481
|
-
|
|
19591
|
+
logger26.info(
|
|
19482
19592
|
{ result },
|
|
19483
19593
|
`Execution completed: ${result.success ? "success" : "failed"} after ${result.iterations} iterations`
|
|
19484
19594
|
);
|
|
@@ -19522,7 +19632,7 @@ var getServer = async (headers2, executionContext, conversationId, credentialSto
|
|
|
19522
19632
|
"send-query-to-agent",
|
|
19523
19633
|
`Send a query to the ${agent.name} agent. The agent has the following description: ${agent.description}`,
|
|
19524
19634
|
{
|
|
19525
|
-
query:
|
|
19635
|
+
query: zodOpenapi.z.string().describe("The query to send to the agent")
|
|
19526
19636
|
},
|
|
19527
19637
|
async ({ query }) => {
|
|
19528
19638
|
try {
|
|
@@ -19562,7 +19672,7 @@ var getServer = async (headers2, executionContext, conversationId, credentialSto
|
|
|
19562
19672
|
dbClient: dbClient_default,
|
|
19563
19673
|
credentialStores
|
|
19564
19674
|
});
|
|
19565
|
-
|
|
19675
|
+
logger26.info(
|
|
19566
19676
|
{
|
|
19567
19677
|
tenantId,
|
|
19568
19678
|
projectId,
|
|
@@ -19624,7 +19734,7 @@ var validateRequestParameters = (c2) => {
|
|
|
19624
19734
|
};
|
|
19625
19735
|
var handleInitializationRequest = async (body2, executionContext, validatedContext, req, res, c2, credentialStores) => {
|
|
19626
19736
|
const { tenantId, projectId, agentId } = executionContext;
|
|
19627
|
-
|
|
19737
|
+
logger26.info({ body: body2 }, "Received initialization request");
|
|
19628
19738
|
const sessionId = agentsCore.getConversationId();
|
|
19629
19739
|
const activeSpan = api.trace.getActiveSpan();
|
|
19630
19740
|
if (activeSpan) {
|
|
@@ -19680,7 +19790,7 @@ var handleInitializationRequest = async (body2, executionContext, validatedConte
|
|
|
19680
19790
|
}
|
|
19681
19791
|
}
|
|
19682
19792
|
});
|
|
19683
|
-
|
|
19793
|
+
logger26.info(
|
|
19684
19794
|
{ sessionId, conversationId: conversation.id },
|
|
19685
19795
|
"Created MCP session as conversation"
|
|
19686
19796
|
);
|
|
@@ -19689,9 +19799,9 @@ var handleInitializationRequest = async (body2, executionContext, validatedConte
|
|
|
19689
19799
|
});
|
|
19690
19800
|
const server = await getServer(validatedContext, executionContext, sessionId, credentialStores);
|
|
19691
19801
|
await server.connect(transport);
|
|
19692
|
-
|
|
19802
|
+
logger26.info({ sessionId }, "Server connected for initialization");
|
|
19693
19803
|
res.setHeader("Mcp-Session-Id", sessionId);
|
|
19694
|
-
|
|
19804
|
+
logger26.info(
|
|
19695
19805
|
{
|
|
19696
19806
|
sessionId,
|
|
19697
19807
|
bodyMethod: body2?.method,
|
|
@@ -19700,7 +19810,7 @@ var handleInitializationRequest = async (body2, executionContext, validatedConte
|
|
|
19700
19810
|
"About to handle initialization request"
|
|
19701
19811
|
);
|
|
19702
19812
|
await transport.handleRequest(req, res, body2);
|
|
19703
|
-
|
|
19813
|
+
logger26.info({ sessionId }, "Successfully handled initialization request");
|
|
19704
19814
|
return fetchToNode.toFetchResponse(res);
|
|
19705
19815
|
});
|
|
19706
19816
|
};
|
|
@@ -19727,8 +19837,8 @@ var handleExistingSessionRequest = async (body2, executionContext, validatedCont
|
|
|
19727
19837
|
sessionId,
|
|
19728
19838
|
conversation.metadata?.session_data?.mcpProtocolVersion
|
|
19729
19839
|
);
|
|
19730
|
-
|
|
19731
|
-
|
|
19840
|
+
logger26.info({ sessionId }, "Server connected and transport initialized");
|
|
19841
|
+
logger26.info(
|
|
19732
19842
|
{
|
|
19733
19843
|
sessionId,
|
|
19734
19844
|
bodyKeys: Object.keys(body2 || {}),
|
|
@@ -19742,9 +19852,9 @@ var handleExistingSessionRequest = async (body2, executionContext, validatedCont
|
|
|
19742
19852
|
);
|
|
19743
19853
|
try {
|
|
19744
19854
|
await transport.handleRequest(req, res, body2);
|
|
19745
|
-
|
|
19855
|
+
logger26.info({ sessionId }, "Successfully handled MCP request");
|
|
19746
19856
|
} catch (transportError) {
|
|
19747
|
-
|
|
19857
|
+
logger26.error(
|
|
19748
19858
|
{
|
|
19749
19859
|
sessionId,
|
|
19750
19860
|
error: transportError,
|
|
@@ -19795,13 +19905,13 @@ app4.openapi(
|
|
|
19795
19905
|
}
|
|
19796
19906
|
const { executionContext } = paramValidation;
|
|
19797
19907
|
const body2 = c2.get("requestBody") || {};
|
|
19798
|
-
|
|
19908
|
+
logger26.info({ body: body2, bodyKeys: Object.keys(body2 || {}) }, "Parsed request body");
|
|
19799
19909
|
const isInitRequest = body2.method === "initialize";
|
|
19800
19910
|
const { req, res } = fetchToNode.toReqRes(c2.req.raw);
|
|
19801
19911
|
const validatedContext = c2.get("validatedContext") || {};
|
|
19802
19912
|
const credentialStores = c2.get("credentialStores");
|
|
19803
|
-
|
|
19804
|
-
|
|
19913
|
+
logger26.info({ validatedContext }, "Validated context");
|
|
19914
|
+
logger26.info({ req }, "request");
|
|
19805
19915
|
if (isInitRequest) {
|
|
19806
19916
|
return await handleInitializationRequest(
|
|
19807
19917
|
body2,
|
|
@@ -19822,7 +19932,7 @@ app4.openapi(
|
|
|
19822
19932
|
credentialStores
|
|
19823
19933
|
);
|
|
19824
19934
|
} catch (e) {
|
|
19825
|
-
|
|
19935
|
+
logger26.error(
|
|
19826
19936
|
{
|
|
19827
19937
|
error: e instanceof Error ? e.message : e,
|
|
19828
19938
|
stack: e instanceof Error ? e.stack : void 0
|
|
@@ -19834,7 +19944,7 @@ app4.openapi(
|
|
|
19834
19944
|
}
|
|
19835
19945
|
);
|
|
19836
19946
|
app4.get("/", async (c2) => {
|
|
19837
|
-
|
|
19947
|
+
logger26.info({}, "Received GET MCP request");
|
|
19838
19948
|
return c2.json(
|
|
19839
19949
|
{
|
|
19840
19950
|
jsonrpc: "2.0",
|
|
@@ -19848,7 +19958,7 @@ app4.get("/", async (c2) => {
|
|
|
19848
19958
|
);
|
|
19849
19959
|
});
|
|
19850
19960
|
app4.delete("/", async (c2) => {
|
|
19851
|
-
|
|
19961
|
+
logger26.info({}, "Received DELETE MCP request");
|
|
19852
19962
|
return c2.json(
|
|
19853
19963
|
{
|
|
19854
19964
|
jsonrpc: "2.0",
|
|
@@ -19861,7 +19971,7 @@ app4.delete("/", async (c2) => {
|
|
|
19861
19971
|
var mcp_default = app4;
|
|
19862
19972
|
|
|
19863
19973
|
// src/app.ts
|
|
19864
|
-
var
|
|
19974
|
+
var logger27 = agentsCore.getLogger("agents-run-api");
|
|
19865
19975
|
function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
19866
19976
|
const app6 = new zodOpenapi.OpenAPIHono();
|
|
19867
19977
|
app6.use("*", otel.otel());
|
|
@@ -19880,7 +19990,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
19880
19990
|
const body2 = await c2.req.json();
|
|
19881
19991
|
c2.set("requestBody", body2);
|
|
19882
19992
|
} catch (error) {
|
|
19883
|
-
|
|
19993
|
+
logger27.debug({ error }, "Failed to parse JSON body, continuing without parsed body");
|
|
19884
19994
|
}
|
|
19885
19995
|
}
|
|
19886
19996
|
return next();
|
|
@@ -19931,8 +20041,8 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
19931
20041
|
if (!isExpectedError) {
|
|
19932
20042
|
const errorMessage = err2 instanceof Error ? err2.message : String(err2);
|
|
19933
20043
|
const errorStack = err2 instanceof Error ? err2.stack : void 0;
|
|
19934
|
-
if (
|
|
19935
|
-
|
|
20044
|
+
if (logger27) {
|
|
20045
|
+
logger27.error(
|
|
19936
20046
|
{
|
|
19937
20047
|
error: err2,
|
|
19938
20048
|
message: errorMessage,
|
|
@@ -19944,8 +20054,8 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
19944
20054
|
);
|
|
19945
20055
|
}
|
|
19946
20056
|
} else {
|
|
19947
|
-
if (
|
|
19948
|
-
|
|
20057
|
+
if (logger27) {
|
|
20058
|
+
logger27.error(
|
|
19949
20059
|
{
|
|
19950
20060
|
error: err2,
|
|
19951
20061
|
path: c2.req.path,
|
|
@@ -19962,8 +20072,8 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
19962
20072
|
const response = err2.getResponse();
|
|
19963
20073
|
return response;
|
|
19964
20074
|
} catch (responseError) {
|
|
19965
|
-
if (
|
|
19966
|
-
|
|
20075
|
+
if (logger27) {
|
|
20076
|
+
logger27.error({ error: responseError }, "Error while handling HTTPException response");
|
|
19967
20077
|
}
|
|
19968
20078
|
}
|
|
19969
20079
|
}
|
|
@@ -19997,7 +20107,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
19997
20107
|
app6.use("*", async (c2, next) => {
|
|
19998
20108
|
const executionContext = c2.get("executionContext");
|
|
19999
20109
|
if (!executionContext) {
|
|
20000
|
-
|
|
20110
|
+
logger27.debug({}, "Empty execution context");
|
|
20001
20111
|
return next();
|
|
20002
20112
|
}
|
|
20003
20113
|
const { tenantId, projectId, agentId } = executionContext;
|
|
@@ -20006,7 +20116,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
20006
20116
|
if (requestBody) {
|
|
20007
20117
|
conversationId = requestBody.conversationId;
|
|
20008
20118
|
if (!conversationId) {
|
|
20009
|
-
|
|
20119
|
+
logger27.debug({ requestBody }, "No conversation ID found in request body");
|
|
20010
20120
|
}
|
|
20011
20121
|
}
|
|
20012
20122
|
const entries = Object.fromEntries(
|
|
@@ -20021,7 +20131,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
20021
20131
|
})
|
|
20022
20132
|
);
|
|
20023
20133
|
if (!Object.keys(entries).length) {
|
|
20024
|
-
|
|
20134
|
+
logger27.debug({}, "Empty entries for baggage");
|
|
20025
20135
|
return next();
|
|
20026
20136
|
}
|
|
20027
20137
|
const bag = Object.entries(entries).reduce(
|
|
@@ -20075,6 +20185,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
20075
20185
|
}
|
|
20076
20186
|
|
|
20077
20187
|
// src/index.ts
|
|
20188
|
+
defaultSDK.start();
|
|
20078
20189
|
var defaultConfig = {
|
|
20079
20190
|
port: 3003,
|
|
20080
20191
|
serverOptions: {
|