@cerefox/memory 1.19.4 → 1.19.6
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/bin/cerefox.js +269 -160
- package/dist/frontend/assets/{index-CQcG9JWM.js → index-lS0yMSGS.js} +5 -5
- package/dist/frontend/assets/index-lS0yMSGS.js.map +1 -0
- package/dist/frontend/index.html +1 -1
- package/dist/server-assets/_shared/ef-meta/index.ts +2 -2
- package/package.json +7 -7
- package/dist/frontend/assets/index-CQcG9JWM.js.map +0 -1
package/dist/bin/cerefox.js
CHANGED
|
@@ -5318,7 +5318,7 @@ var init_cli_core = __esm(() => {
|
|
|
5318
5318
|
});
|
|
5319
5319
|
|
|
5320
5320
|
// src/meta.ts
|
|
5321
|
-
var PKG_VERSION = "1.19.
|
|
5321
|
+
var PKG_VERSION = "1.19.6";
|
|
5322
5322
|
var init_meta = () => {};
|
|
5323
5323
|
|
|
5324
5324
|
// ../../_shared/config/paths.ts
|
|
@@ -5436,7 +5436,7 @@ var init_config = __esm(() => {
|
|
|
5436
5436
|
init_env();
|
|
5437
5437
|
});
|
|
5438
5438
|
|
|
5439
|
-
// ../../node_modules/.bun/@supabase+supabase-js@2.
|
|
5439
|
+
// ../../node_modules/.bun/@supabase+supabase-js@2.118.0/node_modules/@supabase/supabase-js/dist/tracingRegistry.mjs
|
|
5440
5440
|
function getTraceContextExtractor() {
|
|
5441
5441
|
return globalThis[EXTRACTOR_KEY];
|
|
5442
5442
|
}
|
|
@@ -6050,7 +6050,7 @@ var require_tslib = __commonJS(function(exports, module) {
|
|
|
6050
6050
|
});
|
|
6051
6051
|
});
|
|
6052
6052
|
|
|
6053
|
-
// ../../node_modules/.bun/@supabase+functions-js@2.
|
|
6053
|
+
// ../../node_modules/.bun/@supabase+functions-js@2.118.0/node_modules/@supabase/functions-js/dist/main/helper.js
|
|
6054
6054
|
var require_helper = __commonJS(function(exports) {
|
|
6055
6055
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6056
6056
|
exports.resolveFetch = undefined;
|
|
@@ -6063,7 +6063,7 @@ var require_helper = __commonJS(function(exports) {
|
|
|
6063
6063
|
exports.resolveFetch = resolveFetch;
|
|
6064
6064
|
});
|
|
6065
6065
|
|
|
6066
|
-
// ../../node_modules/.bun/@supabase+functions-js@2.
|
|
6066
|
+
// ../../node_modules/.bun/@supabase+functions-js@2.118.0/node_modules/@supabase/functions-js/dist/main/types.js
|
|
6067
6067
|
var require_types = __commonJS(function(exports) {
|
|
6068
6068
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6069
6069
|
exports.FunctionRegion = exports.FunctionsHttpError = exports.FunctionsRelayError = exports.FunctionsFetchError = exports.FunctionsError = undefined;
|
|
@@ -6124,7 +6124,7 @@ var require_types = __commonJS(function(exports) {
|
|
|
6124
6124
|
})(FunctionRegion || (exports.FunctionRegion = FunctionRegion = {}));
|
|
6125
6125
|
});
|
|
6126
6126
|
|
|
6127
|
-
// ../../node_modules/.bun/@supabase+functions-js@2.
|
|
6127
|
+
// ../../node_modules/.bun/@supabase+functions-js@2.118.0/node_modules/@supabase/functions-js/dist/main/FunctionsClient.js
|
|
6128
6128
|
var require_FunctionsClient = __commonJS(function(exports) {
|
|
6129
6129
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6130
6130
|
exports.FunctionsClient = undefined;
|
|
@@ -6243,7 +6243,7 @@ var require_FunctionsClient = __commonJS(function(exports) {
|
|
|
6243
6243
|
exports.FunctionsClient = FunctionsClient;
|
|
6244
6244
|
});
|
|
6245
6245
|
|
|
6246
|
-
// ../../node_modules/.bun/@supabase+functions-js@2.
|
|
6246
|
+
// ../../node_modules/.bun/@supabase+functions-js@2.118.0/node_modules/@supabase/functions-js/dist/main/index.js
|
|
6247
6247
|
var require_main = __commonJS(function(exports) {
|
|
6248
6248
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6249
6249
|
exports.FunctionRegion = exports.FunctionsRelayError = exports.FunctionsHttpError = exports.FunctionsFetchError = exports.FunctionsError = exports.FunctionsClient = undefined;
|
|
@@ -6269,7 +6269,7 @@ var require_main = __commonJS(function(exports) {
|
|
|
6269
6269
|
} });
|
|
6270
6270
|
});
|
|
6271
6271
|
|
|
6272
|
-
// ../../node_modules/.bun/@supabase+postgrest-js@2.
|
|
6272
|
+
// ../../node_modules/.bun/@supabase+postgrest-js@2.118.0/node_modules/@supabase/postgrest-js/dist/index.mjs
|
|
6273
6273
|
function _typeof(o) {
|
|
6274
6274
|
"@babel/helpers - typeof";
|
|
6275
6275
|
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o$1) {
|
|
@@ -7180,7 +7180,7 @@ var init_dist = __esm(() => {
|
|
|
7180
7180
|
};
|
|
7181
7181
|
});
|
|
7182
7182
|
|
|
7183
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
7183
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/lib/websocket-factory.js
|
|
7184
7184
|
var require_websocket_factory = __commonJS(function(exports) {
|
|
7185
7185
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7186
7186
|
exports.WebSocketFactory = undefined;
|
|
@@ -7257,14 +7257,14 @@ Suggested solution: ${env.workaround}`;
|
|
|
7257
7257
|
exports.default = WebSocketFactory;
|
|
7258
7258
|
});
|
|
7259
7259
|
|
|
7260
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
7260
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/lib/version.js
|
|
7261
7261
|
var require_version = __commonJS(function(exports) {
|
|
7262
7262
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7263
7263
|
exports.version = undefined;
|
|
7264
|
-
exports.version = "2.
|
|
7264
|
+
exports.version = "2.118.0";
|
|
7265
7265
|
});
|
|
7266
7266
|
|
|
7267
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
7267
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/lib/constants.js
|
|
7268
7268
|
var require_constants = __commonJS(function(exports) {
|
|
7269
7269
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7270
7270
|
exports.CONNECTION_STATE = exports.TRANSPORTS = exports.CHANNEL_EVENTS = exports.CHANNEL_STATES = exports.SOCKET_STATES = exports.MAX_PUSH_BUFFER_SIZE = exports.WS_CLOSE_NORMAL = exports.POSTGRES_CHANGES_WAIT_ERROR_GRACE = exports.DEFAULT_POSTGRES_CHANGES_WAIT_TIMEOUT = exports.DEFAULT_TIMEOUT = exports.VERSION = exports.DEFAULT_VSN = exports.VSN_2_0_0 = exports.VSN_1_0_0 = exports.DEFAULT_VERSION = undefined;
|
|
@@ -7311,7 +7311,7 @@ var require_constants = __commonJS(function(exports) {
|
|
|
7311
7311
|
};
|
|
7312
7312
|
});
|
|
7313
7313
|
|
|
7314
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
7314
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/lib/serializer.js
|
|
7315
7315
|
var require_serializer = __commonJS(function(exports) {
|
|
7316
7316
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7317
7317
|
|
|
@@ -7463,7 +7463,7 @@ var require_serializer = __commonJS(function(exports) {
|
|
|
7463
7463
|
exports.default = Serializer;
|
|
7464
7464
|
});
|
|
7465
7465
|
|
|
7466
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
7466
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/lib/transformers.js
|
|
7467
7467
|
var require_transformers = __commonJS(function(exports) {
|
|
7468
7468
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7469
7469
|
exports.httpEndpointURL = exports.toTimestampString = exports.toArray = exports.toJson = exports.toNumber = exports.toBoolean = exports.convertCell = exports.convertColumn = exports.convertChangeData = exports.PostgresTypes = undefined;
|
|
@@ -9048,7 +9048,7 @@ var require_phoenix_cjs = __commonJS(function(exports, module) {
|
|
|
9048
9048
|
};
|
|
9049
9049
|
});
|
|
9050
9050
|
|
|
9051
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
9051
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/phoenix/presenceAdapter.js
|
|
9052
9052
|
var require_presenceAdapter = __commonJS(function(exports) {
|
|
9053
9053
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9054
9054
|
var phoenix_1 = require_phoenix_cjs();
|
|
@@ -9123,7 +9123,7 @@ var require_presenceAdapter = __commonJS(function(exports) {
|
|
|
9123
9123
|
}
|
|
9124
9124
|
});
|
|
9125
9125
|
|
|
9126
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
9126
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/RealtimePresence.js
|
|
9127
9127
|
var require_RealtimePresence = __commonJS(function(exports) {
|
|
9128
9128
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9129
9129
|
exports.REALTIME_PRESENCE_LISTEN_EVENTS = undefined;
|
|
@@ -9148,7 +9148,7 @@ var require_RealtimePresence = __commonJS(function(exports) {
|
|
|
9148
9148
|
exports.default = RealtimePresence;
|
|
9149
9149
|
});
|
|
9150
9150
|
|
|
9151
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
9151
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/lib/normalizeChannelError.js
|
|
9152
9152
|
var require_normalizeChannelError = __commonJS(function(exports) {
|
|
9153
9153
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9154
9154
|
exports.normalizeChannelError = normalizeChannelError;
|
|
@@ -9171,7 +9171,7 @@ var require_normalizeChannelError = __commonJS(function(exports) {
|
|
|
9171
9171
|
}
|
|
9172
9172
|
});
|
|
9173
9173
|
|
|
9174
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
9174
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/phoenix/channelAdapter.js
|
|
9175
9175
|
var require_channelAdapter = __commonJS(function(exports) {
|
|
9176
9176
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9177
9177
|
var constants_1 = require_constants();
|
|
@@ -9273,7 +9273,7 @@ var require_channelAdapter = __commonJS(function(exports) {
|
|
|
9273
9273
|
}
|
|
9274
9274
|
});
|
|
9275
9275
|
|
|
9276
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
9276
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/RealtimePostgresFilterBuilder.js
|
|
9277
9277
|
var require_RealtimePostgresFilterBuilder = __commonJS(function(exports) {
|
|
9278
9278
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9279
9279
|
exports.postgresChangesFilter = exports.RealtimePostgresFilterBuilder = undefined;
|
|
@@ -9363,7 +9363,7 @@ var require_RealtimePostgresFilterBuilder = __commonJS(function(exports) {
|
|
|
9363
9363
|
exports.postgresChangesFilter = postgresChangesFilter;
|
|
9364
9364
|
});
|
|
9365
9365
|
|
|
9366
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
9366
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/RealtimeChannel.js
|
|
9367
9367
|
var require_RealtimeChannel = __commonJS(function(exports) {
|
|
9368
9368
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9369
9369
|
exports.REALTIME_CHANNEL_STATES = exports.REALTIME_SUBSCRIBE_STATES = exports.REALTIME_LISTEN_TYPES = exports.REALTIME_POSTGRES_CHANGES_LISTEN_EVENT = exports.postgresChangesFilter = exports.RealtimePostgresFilterBuilder = undefined;
|
|
@@ -9768,7 +9768,7 @@ var require_RealtimeChannel = __commonJS(function(exports) {
|
|
|
9768
9768
|
exports.default = RealtimeChannel;
|
|
9769
9769
|
});
|
|
9770
9770
|
|
|
9771
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
9771
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/phoenix/socketAdapter.js
|
|
9772
9772
|
var require_socketAdapter = __commonJS(function(exports) {
|
|
9773
9773
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9774
9774
|
var phoenix_1 = require_phoenix_cjs();
|
|
@@ -9884,7 +9884,7 @@ var require_socketAdapter = __commonJS(function(exports) {
|
|
|
9884
9884
|
exports.default = SocketAdapter;
|
|
9885
9885
|
});
|
|
9886
9886
|
|
|
9887
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
9887
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/RealtimeClient.js
|
|
9888
9888
|
var require_RealtimeClient = __commonJS(function(exports) {
|
|
9889
9889
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9890
9890
|
var tslib_1 = require_tslib();
|
|
@@ -10350,7 +10350,7 @@ var require_RealtimeClient = __commonJS(function(exports) {
|
|
|
10350
10350
|
exports.default = RealtimeClient;
|
|
10351
10351
|
});
|
|
10352
10352
|
|
|
10353
|
-
// ../../node_modules/.bun/@supabase+realtime-js@2.
|
|
10353
|
+
// ../../node_modules/.bun/@supabase+realtime-js@2.118.0/node_modules/@supabase/realtime-js/dist/main/index.js
|
|
10354
10354
|
var require_main2 = __commonJS(function(exports) {
|
|
10355
10355
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10356
10356
|
exports.WebSocketFactory = exports.REALTIME_CHANNEL_STATES = exports.REALTIME_SUBSCRIBE_STATES = exports.REALTIME_PRESENCE_LISTEN_EVENTS = exports.REALTIME_POSTGRES_CHANGES_LISTEN_EVENT = exports.REALTIME_LISTEN_TYPES = exports.postgresChangesFilter = exports.RealtimePostgresFilterBuilder = exports.RealtimeClient = exports.RealtimeChannel = exports.RealtimePresence = undefined;
|
|
@@ -10686,7 +10686,7 @@ var init_dist2 = __esm(() => {
|
|
|
10686
10686
|
};
|
|
10687
10687
|
});
|
|
10688
10688
|
|
|
10689
|
-
// ../../node_modules/.bun/@supabase+storage-js@2.
|
|
10689
|
+
// ../../node_modules/.bun/@supabase+storage-js@2.118.0/node_modules/@supabase/storage-js/dist/index.mjs
|
|
10690
10690
|
function _typeof2(o) {
|
|
10691
10691
|
"@babel/helpers - typeof";
|
|
10692
10692
|
return _typeof2 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o$1) {
|
|
@@ -10994,7 +10994,7 @@ var StorageError, StorageApiError, StorageUnknownError, resolveFetch = (customFe
|
|
|
10994
10994
|
throw error;
|
|
10995
10995
|
}
|
|
10996
10996
|
}
|
|
10997
|
-
}, DEFAULT_SEARCH_OPTIONS, DEFAULT_FILE_OPTIONS, StorageFileApi, version = "2.
|
|
10997
|
+
}, DEFAULT_SEARCH_OPTIONS, DEFAULT_FILE_OPTIONS, StorageFileApi, version = "2.118.0", DEFAULT_HEADERS, StorageBucketApi, StorageAnalyticsClient, VectorIndexApi, VectorDataApi, VectorBucketApi, StorageVectorsClient, VectorBucketScope, VectorIndexScope, StorageClient;
|
|
10998
10998
|
var init_dist3 = __esm(() => {
|
|
10999
10999
|
init_dist2();
|
|
11000
11000
|
StorageError = class extends Error {
|
|
@@ -11070,6 +11070,8 @@ var init_dist3 = __esm(() => {
|
|
|
11070
11070
|
body = fileBody;
|
|
11071
11071
|
headers["cache-control"] = `max-age=${options.cacheControl}`;
|
|
11072
11072
|
headers["content-type"] = options.contentType;
|
|
11073
|
+
if (options.contentEncoding)
|
|
11074
|
+
headers["content-encoding"] = options.contentEncoding;
|
|
11073
11075
|
if (metadata)
|
|
11074
11076
|
headers["x-metadata"] = _this.toBase64(_this.encodeMetadata(metadata));
|
|
11075
11077
|
if ((typeof ReadableStream !== "undefined" && body instanceof ReadableStream || body && typeof body === "object" && ("pipe" in body) && typeof body.pipe === "function") && !options.duplex)
|
|
@@ -11108,6 +11110,8 @@ var init_dist3 = __esm(() => {
|
|
|
11108
11110
|
body = fileBody;
|
|
11109
11111
|
headers["cache-control"] = `max-age=${options.cacheControl}`;
|
|
11110
11112
|
headers["content-type"] = options.contentType;
|
|
11113
|
+
if (options.contentEncoding)
|
|
11114
|
+
headers["content-encoding"] = options.contentEncoding;
|
|
11111
11115
|
if (metadata)
|
|
11112
11116
|
headers["x-metadata"] = _this3.toBase64(_this3.encodeMetadata(metadata));
|
|
11113
11117
|
if ((typeof ReadableStream !== "undefined" && body instanceof ReadableStream || body && typeof body === "object" && ("pipe" in body) && typeof body.pipe === "function") && !options.duplex)
|
|
@@ -11159,12 +11163,15 @@ var init_dist3 = __esm(() => {
|
|
|
11159
11163
|
async copy(fromPath, toPath, options) {
|
|
11160
11164
|
var _this7 = this;
|
|
11161
11165
|
return _this7.handleOperation(async () => {
|
|
11166
|
+
const copyOptions = options;
|
|
11162
11167
|
return { path: (await post(_this7.fetch, `${_this7.url}/object/copy`, {
|
|
11163
11168
|
bucketId: _this7.bucketId,
|
|
11164
11169
|
sourceKey: fromPath,
|
|
11165
11170
|
destinationKey: toPath,
|
|
11166
11171
|
destinationBucket: options === null || options === undefined ? undefined : options.destinationBucket,
|
|
11167
|
-
sourceVersionId: options === null || options === undefined ? undefined : options.sourceVersionId
|
|
11172
|
+
sourceVersionId: options === null || options === undefined ? undefined : options.sourceVersionId,
|
|
11173
|
+
copyMetadata: typeof (copyOptions === null || copyOptions === undefined ? undefined : copyOptions.copyMetadata) === "boolean" ? copyOptions.copyMetadata : undefined,
|
|
11174
|
+
metadata: (copyOptions === null || copyOptions === undefined ? undefined : copyOptions.copyMetadata) === false ? copyOptions.metadata : undefined
|
|
11168
11175
|
}, { headers: _this7.headers })).Key };
|
|
11169
11176
|
});
|
|
11170
11177
|
}
|
|
@@ -11317,6 +11324,8 @@ var init_dist3 = __esm(() => {
|
|
|
11317
11324
|
body.append("cacheControl", options.cacheControl);
|
|
11318
11325
|
if (options.metadata && !body.has("metadata"))
|
|
11319
11326
|
body.append("metadata", this.encodeMetadata(options.metadata));
|
|
11327
|
+
if (options.contentEncoding && !body.has("contentEncoding"))
|
|
11328
|
+
body.append("contentEncoding", options.contentEncoding);
|
|
11320
11329
|
for (const [name, file] of files)
|
|
11321
11330
|
body.append(name, file);
|
|
11322
11331
|
return body;
|
|
@@ -11761,14 +11770,14 @@ var init_dist3 = __esm(() => {
|
|
|
11761
11770
|
};
|
|
11762
11771
|
});
|
|
11763
11772
|
|
|
11764
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
11773
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/version.js
|
|
11765
11774
|
var require_version2 = __commonJS(function(exports) {
|
|
11766
11775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11767
11776
|
exports.version = undefined;
|
|
11768
|
-
exports.version = "2.
|
|
11777
|
+
exports.version = "2.118.0";
|
|
11769
11778
|
});
|
|
11770
11779
|
|
|
11771
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
11780
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/constants.js
|
|
11772
11781
|
var require_constants2 = __commonJS(function(exports) {
|
|
11773
11782
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11774
11783
|
exports.JWKS_TTL = exports.PKCE_MAX_CONCURRENT_FLOWS = exports.PKCE_FLOW_ID_PARAM = exports.BASE64URL_REGEX = exports.API_VERSIONS = exports.API_VERSION_HEADER_NAME = exports.NETWORK_FAILURE = exports.DEFAULT_HEADERS = exports.AUDIENCE = exports.STORAGE_KEY = exports.GOTRUE_URL = exports.REFRESH_FAILURE_COOLDOWN_MS = exports.EXPIRY_MARGIN_MS = exports.AUTO_REFRESH_TICK_THRESHOLD = exports.AUTO_REFRESH_TICK_DURATION_MS = undefined;
|
|
@@ -11798,7 +11807,7 @@ var require_constants2 = __commonJS(function(exports) {
|
|
|
11798
11807
|
exports.JWKS_TTL = 10 * 60 * 1000;
|
|
11799
11808
|
});
|
|
11800
11809
|
|
|
11801
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
11810
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/errors.js
|
|
11802
11811
|
var require_errors = __commonJS(function(exports) {
|
|
11803
11812
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11804
11813
|
exports.AuthInvalidJwtError = exports.AuthWeakPasswordError = exports.AuthRefreshDiscardedError = exports.AuthRetryableFetchError = exports.AuthPKCECodeVerifierMissingError = exports.AuthPKCEGrantCodeExchangeError = exports.AuthImplicitGrantRedirectError = exports.AuthInvalidCredentialsError = exports.AuthInvalidTokenResponseError = exports.AuthSessionMissingError = exports.CustomAuthError = exports.AuthUnknownError = exports.AuthApiError = exports.AuthError = undefined;
|
|
@@ -11967,7 +11976,7 @@ var require_errors = __commonJS(function(exports) {
|
|
|
11967
11976
|
exports.AuthInvalidJwtError = AuthInvalidJwtError;
|
|
11968
11977
|
});
|
|
11969
11978
|
|
|
11970
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
11979
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/base64url.js
|
|
11971
11980
|
var require_base64url = __commonJS(function(exports) {
|
|
11972
11981
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11973
11982
|
exports.byteToBase64URL = byteToBase64URL;
|
|
@@ -12155,7 +12164,7 @@ var require_base64url = __commonJS(function(exports) {
|
|
|
12155
12164
|
}
|
|
12156
12165
|
});
|
|
12157
12166
|
|
|
12158
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
12167
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/helpers.js
|
|
12159
12168
|
var require_helpers = __commonJS(function(exports) {
|
|
12160
12169
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12161
12170
|
exports.pkceVerifierSlotKey = exports.Deferred = exports.removeItemAsync = exports.getItemAsync = exports.setItemAsync = exports.looksLikeFetchResponse = exports.resolveFetch = exports.supportsLocalStorage = exports.isBrowser = undefined;
|
|
@@ -12564,7 +12573,7 @@ var require_helpers = __commonJS(function(exports) {
|
|
|
12564
12573
|
}
|
|
12565
12574
|
});
|
|
12566
12575
|
|
|
12567
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
12576
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/fetch.js
|
|
12568
12577
|
var require_fetch = __commonJS(function(exports) {
|
|
12569
12578
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12570
12579
|
exports.handleError = handleError;
|
|
@@ -12748,14 +12757,14 @@ var require_fetch = __commonJS(function(exports) {
|
|
|
12748
12757
|
}
|
|
12749
12758
|
});
|
|
12750
12759
|
|
|
12751
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
12760
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/types.js
|
|
12752
12761
|
var require_types2 = __commonJS(function(exports) {
|
|
12753
12762
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12754
12763
|
exports.SIGN_OUT_SCOPES = undefined;
|
|
12755
12764
|
exports.SIGN_OUT_SCOPES = ["global", "local", "others"];
|
|
12756
12765
|
});
|
|
12757
12766
|
|
|
12758
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
12767
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/GoTrueAdminApi.js
|
|
12759
12768
|
var require_GoTrueAdminApi = __commonJS(function(exports) {
|
|
12760
12769
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12761
12770
|
var tslib_1 = require_tslib();
|
|
@@ -13200,7 +13209,7 @@ var require_GoTrueAdminApi = __commonJS(function(exports) {
|
|
|
13200
13209
|
exports.default = GoTrueAdminApi;
|
|
13201
13210
|
});
|
|
13202
13211
|
|
|
13203
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
13212
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/local-storage.js
|
|
13204
13213
|
var require_local_storage = __commonJS(function(exports) {
|
|
13205
13214
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13206
13215
|
exports.memoryLocalStorageAdapter = memoryLocalStorageAdapter;
|
|
@@ -13219,7 +13228,7 @@ var require_local_storage = __commonJS(function(exports) {
|
|
|
13219
13228
|
}
|
|
13220
13229
|
});
|
|
13221
13230
|
|
|
13222
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
13231
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/locks.js
|
|
13223
13232
|
var require_locks = __commonJS(function(exports) {
|
|
13224
13233
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13225
13234
|
exports.ProcessLockAcquireTimeoutError = exports.NavigatorLockAcquireTimeoutError = exports.LockAcquireTimeoutError = exports.internals = undefined;
|
|
@@ -13391,7 +13400,7 @@ var require_locks = __commonJS(function(exports) {
|
|
|
13391
13400
|
}
|
|
13392
13401
|
});
|
|
13393
13402
|
|
|
13394
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
13403
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/polyfills.js
|
|
13395
13404
|
var require_polyfills = __commonJS(function(exports) {
|
|
13396
13405
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13397
13406
|
exports.polyfillGlobalThis = polyfillGlobalThis;
|
|
@@ -13415,7 +13424,7 @@ var require_polyfills = __commonJS(function(exports) {
|
|
|
13415
13424
|
}
|
|
13416
13425
|
});
|
|
13417
13426
|
|
|
13418
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
13427
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/web3/ethereum.js
|
|
13419
13428
|
var require_ethereum = __commonJS(function(exports) {
|
|
13420
13429
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13421
13430
|
exports.getAddress = getAddress;
|
|
@@ -13492,7 +13501,7 @@ ${suffix}`;
|
|
|
13492
13501
|
}
|
|
13493
13502
|
});
|
|
13494
13503
|
|
|
13495
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
13504
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/webauthn.errors.js
|
|
13496
13505
|
var require_webauthn_errors = __commonJS(function(exports) {
|
|
13497
13506
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13498
13507
|
exports.WebAuthnUnknownError = exports.WebAuthnError = undefined;
|
|
@@ -13679,7 +13688,7 @@ var require_webauthn_errors = __commonJS(function(exports) {
|
|
|
13679
13688
|
}
|
|
13680
13689
|
});
|
|
13681
13690
|
|
|
13682
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
13691
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/lib/webauthn.js
|
|
13683
13692
|
var require_webauthn = __commonJS(function(exports) {
|
|
13684
13693
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13685
13694
|
exports.WebAuthnApi = exports.DEFAULT_REQUEST_OPTIONS = exports.DEFAULT_CREATION_OPTIONS = exports.webAuthnAbortService = exports.WebAuthnAbortService = exports.identifyAuthenticationError = exports.identifyRegistrationError = exports.isWebAuthnError = exports.WebAuthnError = undefined;
|
|
@@ -14133,7 +14142,7 @@ var require_webauthn = __commonJS(function(exports) {
|
|
|
14133
14142
|
exports.WebAuthnApi = WebAuthnApi;
|
|
14134
14143
|
});
|
|
14135
14144
|
|
|
14136
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
14145
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/GoTrueClient.js
|
|
14137
14146
|
var require_GoTrueClient = __commonJS(function(exports) {
|
|
14138
14147
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14139
14148
|
var tslib_1 = require_tslib();
|
|
@@ -17016,7 +17025,7 @@ var require_GoTrueClient = __commonJS(function(exports) {
|
|
|
17016
17025
|
exports.default = GoTrueClient;
|
|
17017
17026
|
});
|
|
17018
17027
|
|
|
17019
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
17028
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/AuthAdminApi.js
|
|
17020
17029
|
var require_AuthAdminApi = __commonJS(function(exports) {
|
|
17021
17030
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17022
17031
|
var tslib_1 = require_tslib();
|
|
@@ -17025,7 +17034,7 @@ var require_AuthAdminApi = __commonJS(function(exports) {
|
|
|
17025
17034
|
exports.default = AuthAdminApi;
|
|
17026
17035
|
});
|
|
17027
17036
|
|
|
17028
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
17037
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/AuthClient.js
|
|
17029
17038
|
var require_AuthClient = __commonJS(function(exports) {
|
|
17030
17039
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17031
17040
|
var tslib_1 = require_tslib();
|
|
@@ -17034,7 +17043,7 @@ var require_AuthClient = __commonJS(function(exports) {
|
|
|
17034
17043
|
exports.default = AuthClient;
|
|
17035
17044
|
});
|
|
17036
17045
|
|
|
17037
|
-
// ../../node_modules/.bun/@supabase+auth-js@2.
|
|
17046
|
+
// ../../node_modules/.bun/@supabase+auth-js@2.118.0/node_modules/@supabase/auth-js/dist/main/index.js
|
|
17038
17047
|
var require_main3 = __commonJS(function(exports) {
|
|
17039
17048
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17040
17049
|
exports.processLock = exports.lockInternals = exports.NavigatorLockAcquireTimeoutError = exports.navigatorLock = exports.AuthClient = exports.AuthAdminApi = exports.GoTrueClient = exports.GoTrueAdminApi = undefined;
|
|
@@ -17064,7 +17073,7 @@ var require_main3 = __commonJS(function(exports) {
|
|
|
17064
17073
|
} });
|
|
17065
17074
|
});
|
|
17066
17075
|
|
|
17067
|
-
// ../../node_modules/.bun/@supabase+supabase-js@2.
|
|
17076
|
+
// ../../node_modules/.bun/@supabase+supabase-js@2.118.0/node_modules/@supabase/supabase-js/dist/index.mjs
|
|
17068
17077
|
var exports_dist = {};
|
|
17069
17078
|
__export(exports_dist, {
|
|
17070
17079
|
createClient: () => createClient
|
|
@@ -17287,7 +17296,7 @@ function shouldShowDeprecationWarning() {
|
|
|
17287
17296
|
return false;
|
|
17288
17297
|
return parseInt(versionMatch[1], 10) <= 20;
|
|
17289
17298
|
}
|
|
17290
|
-
var import_functions_js, import_realtime_js, import_auth_js, version2 = "2.
|
|
17299
|
+
var import_functions_js, import_realtime_js, import_auth_js, version2 = "2.118.0", JS_ENV = "", JS_RUNTIME_VERSION, _Deno$version, _process$version, _runtimeMeta, DEFAULT_HEADERS2, DEFAULT_GLOBAL_OPTIONS, DEFAULT_DB_OPTIONS, DEFAULT_AUTH_OPTIONS, DEFAULT_REALTIME_OPTIONS, DEFAULT_TRACE_PROPAGATION_OPTIONS, resolveFetch2 = (customFetch) => {
|
|
17291
17300
|
if (customFetch)
|
|
17292
17301
|
return (...args) => customFetch(...args);
|
|
17293
17302
|
return (...args) => fetch(...args);
|
|
@@ -17531,7 +17540,7 @@ var init_dist4 = __esm(() => {
|
|
|
17531
17540
|
console.warn("⚠️ Node.js 20 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 22 or later. For more information, visit: https://github.com/orgs/supabase/discussions/45715");
|
|
17532
17541
|
});
|
|
17533
17542
|
|
|
17534
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
17543
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/util.js
|
|
17535
17544
|
function getEnumValues(entries) {
|
|
17536
17545
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
17537
17546
|
const values = Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -17849,6 +17858,18 @@ function prefixIssues(path, issues) {
|
|
|
17849
17858
|
function unwrapMessage(message) {
|
|
17850
17859
|
return typeof message === "string" ? message : message?.message;
|
|
17851
17860
|
}
|
|
17861
|
+
function sizeCaps(defChecks) {
|
|
17862
|
+
const caps = [];
|
|
17863
|
+
for (const ch of defChecks ?? []) {
|
|
17864
|
+
const d = ch._zod.def;
|
|
17865
|
+
if (!/_(length|size)$|_equals$/.test(d.check))
|
|
17866
|
+
break;
|
|
17867
|
+
const max = d.maximum ?? d.length ?? d.size;
|
|
17868
|
+
if (max >= 0)
|
|
17869
|
+
caps.push([max, ch]);
|
|
17870
|
+
}
|
|
17871
|
+
return caps;
|
|
17872
|
+
}
|
|
17852
17873
|
function attachSchema(issues, start, inst) {
|
|
17853
17874
|
var _a;
|
|
17854
17875
|
for (let i = start;i < issues.length; i++) {
|
|
@@ -18075,7 +18096,7 @@ var init_util = __esm(() => {
|
|
|
18075
18096
|
};
|
|
18076
18097
|
});
|
|
18077
18098
|
|
|
18078
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
18099
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/core.js
|
|
18079
18100
|
function newError(Definition) {
|
|
18080
18101
|
const E = _E;
|
|
18081
18102
|
if (E) {
|
|
@@ -18196,7 +18217,7 @@ var init_core = __esm(() => {
|
|
|
18196
18217
|
globalConfig = globalThis.__zod_globalConfig;
|
|
18197
18218
|
});
|
|
18198
18219
|
|
|
18199
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
18220
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/errors.js
|
|
18200
18221
|
function _getMessage() {
|
|
18201
18222
|
const internals = this._zod;
|
|
18202
18223
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -18315,7 +18336,7 @@ var init_errors = __esm(() => {
|
|
|
18315
18336
|
});
|
|
18316
18337
|
});
|
|
18317
18338
|
|
|
18318
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
18339
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/parse.js
|
|
18319
18340
|
function finalizeParams(callee, params) {
|
|
18320
18341
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
18321
18342
|
}
|
|
@@ -18456,7 +18477,7 @@ var init_parse = __esm(() => {
|
|
|
18456
18477
|
COMPILE_FALLBACK = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
18457
18478
|
});
|
|
18458
18479
|
|
|
18459
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
18480
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/regexes.js
|
|
18460
18481
|
function nanoidOfLength(length) {
|
|
18461
18482
|
return new RegExp(`^[a-zA-Z0-9_-]{${length}}$`);
|
|
18462
18483
|
}
|
|
@@ -18515,7 +18536,7 @@ var init_regexes = __esm(() => {
|
|
|
18515
18536
|
uppercase = /^[^a-z]*$/;
|
|
18516
18537
|
});
|
|
18517
18538
|
|
|
18518
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
18539
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/checks.js
|
|
18519
18540
|
var $ZodCheck, _whenHasLength = (payload) => {
|
|
18520
18541
|
const val = payload.value;
|
|
18521
18542
|
return !nullish(val) && val.length !== undefined;
|
|
@@ -18836,7 +18857,7 @@ var init_checks = __esm(() => {
|
|
|
18836
18857
|
});
|
|
18837
18858
|
});
|
|
18838
18859
|
|
|
18839
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
18860
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/doc.js
|
|
18840
18861
|
class Doc {
|
|
18841
18862
|
constructor(args = [], closed = {}) {
|
|
18842
18863
|
this.content = [];
|
|
@@ -18878,17 +18899,17 @@ ${content.join(`
|
|
|
18878
18899
|
}
|
|
18879
18900
|
}
|
|
18880
18901
|
|
|
18881
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
18902
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/versions.js
|
|
18882
18903
|
var version3;
|
|
18883
18904
|
var init_versions = __esm(() => {
|
|
18884
18905
|
version3 = {
|
|
18885
18906
|
major: 4,
|
|
18886
18907
|
minor: 6,
|
|
18887
|
-
patch:
|
|
18908
|
+
patch: 7
|
|
18888
18909
|
};
|
|
18889
18910
|
});
|
|
18890
18911
|
|
|
18891
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
18912
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/schemas.js
|
|
18892
18913
|
async function validateAsync2(inst, value) {
|
|
18893
18914
|
const ctx = { async: true };
|
|
18894
18915
|
return toStandardResult(await inst._zod.run({ value, issues: [] }, ctx), ctx);
|
|
@@ -19010,6 +19031,28 @@ function isValidJWT(token, algorithm = null) {
|
|
|
19010
19031
|
return false;
|
|
19011
19032
|
}
|
|
19012
19033
|
}
|
|
19034
|
+
function capSize(inst, size) {
|
|
19035
|
+
const caps = sizeCaps(inst._zod.def.checks);
|
|
19036
|
+
if (!caps.length)
|
|
19037
|
+
return;
|
|
19038
|
+
const cap = Math.min(...caps.map((c) => c[0]));
|
|
19039
|
+
const parse = inst._zod.parse;
|
|
19040
|
+
inst._zod.parse = (payload, ctx) => {
|
|
19041
|
+
const n = size(payload.value);
|
|
19042
|
+
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
19043
|
+
for (const [max, ch] of sizeCaps(inst._zod.def.checks)) {
|
|
19044
|
+
if (n > max && ch._zod.def.when(payload)) {
|
|
19045
|
+
const start = payload.issues.length;
|
|
19046
|
+
ch._zod.check(payload);
|
|
19047
|
+
payload.issues[start].continue = false;
|
|
19048
|
+
attachSchema(payload.issues, start, inst);
|
|
19049
|
+
return payload;
|
|
19050
|
+
}
|
|
19051
|
+
}
|
|
19052
|
+
}
|
|
19053
|
+
return parse(payload, ctx);
|
|
19054
|
+
};
|
|
19055
|
+
}
|
|
19013
19056
|
function handleArrayResult(result, final, index) {
|
|
19014
19057
|
if (result.issues.length) {
|
|
19015
19058
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
@@ -19315,7 +19358,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
19315
19358
|
payload.issues.push(issue(_iss));
|
|
19316
19359
|
}
|
|
19317
19360
|
}
|
|
19318
|
-
var $ZodType, toStandardResult = (r, ctx) => r.issues.length ? { issues: r.issues.map((iss) => finalizeIssue(iss, ctx, config())) } : { value: r.value }, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, URL_BAD_FORMAT = 1, URL_UNPARSEABLE = 2, asciiTabOrNewline, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, ipv6Alphabet, $ZodIPv6, $ZodCIDRv4, $ZodCIDRv6, base64Charset, $ZodBase64, base64urlCharset, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodNull, $ZodUnknown, $ZodNever, $ZodArray, NO_SYMBOL_KEYS, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodDiscriminatedUnion, $ZodIntersection, $ZodRecord, $ZodEnum, $ZodLiteral, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodCatch, $ZodPipe, $ZodPreprocess, $ZodReadonly, $ZodCustom;
|
|
19361
|
+
var $ZodType, toStandardResult = (r, ctx) => r.issues.length ? { issues: r.issues.map((iss) => finalizeIssue(iss, ctx, config())) } : { value: r.value }, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, URL_BAD_FORMAT = 1, URL_UNPARSEABLE = 2, asciiTabOrNewline, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, ipv6Alphabet, $ZodIPv6, $ZodCIDRv4, $ZodCIDRv6, base64Charset, $ZodBase64, base64urlCharset, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodNull, $ZodUnknown, $ZodNever, arraySize = (input) => Array.isArray(input) ? input.length : -1, $ZodArray, NO_SYMBOL_KEYS, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodDiscriminatedUnion, $ZodIntersection, $ZodRecord, $ZodEnum, $ZodLiteral, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodCatch, $ZodPipe, $ZodPreprocess, $ZodReadonly, $ZodCustom;
|
|
19319
19362
|
var init_schemas = __esm(() => {
|
|
19320
19363
|
init_checks();
|
|
19321
19364
|
init_core();
|
|
@@ -19801,6 +19844,7 @@ var init_schemas = __esm(() => {
|
|
|
19801
19844
|
}
|
|
19802
19845
|
return payload;
|
|
19803
19846
|
};
|
|
19847
|
+
capSize(inst, arraySize);
|
|
19804
19848
|
});
|
|
19805
19849
|
NO_SYMBOL_KEYS = [];
|
|
19806
19850
|
$ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
@@ -20527,7 +20571,7 @@ var init_schemas = __esm(() => {
|
|
|
20527
20571
|
});
|
|
20528
20572
|
});
|
|
20529
20573
|
|
|
20530
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
20574
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/memoizer.js
|
|
20531
20575
|
function isRef(value) {
|
|
20532
20576
|
return value !== null && typeof value === "object";
|
|
20533
20577
|
}
|
|
@@ -20796,7 +20840,7 @@ var init_memoizer = __esm(() => {
|
|
|
20796
20840
|
};
|
|
20797
20841
|
});
|
|
20798
20842
|
|
|
20799
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
20843
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/locales/en.js
|
|
20800
20844
|
function en_default() {
|
|
20801
20845
|
return {
|
|
20802
20846
|
localeError: error()
|
|
@@ -20922,10 +20966,10 @@ var init_en = __esm(() => {
|
|
|
20922
20966
|
init_util();
|
|
20923
20967
|
});
|
|
20924
20968
|
|
|
20925
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
20969
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/locales/index.js
|
|
20926
20970
|
var init_locales = () => {};
|
|
20927
20971
|
|
|
20928
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
20972
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/registries.js
|
|
20929
20973
|
class $ZodRegistry {
|
|
20930
20974
|
constructor() {
|
|
20931
20975
|
this._map = new WeakMap;
|
|
@@ -20975,7 +21019,7 @@ var init_registries = __esm(() => {
|
|
|
20975
21019
|
globalRegistry = globalThis.__zod_globalRegistry;
|
|
20976
21020
|
});
|
|
20977
21021
|
|
|
20978
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
21022
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/compile.js
|
|
20979
21023
|
var INVALID, FALLBACK_FLAG, WHEN_DEFAULTED_CHECKS, PATTERN_IS_COMPLETE;
|
|
20980
21024
|
var init_compile = __esm(() => {
|
|
20981
21025
|
INVALID = Symbol.for("zod.compile.invalid");
|
|
@@ -21016,7 +21060,7 @@ var init_compile = __esm(() => {
|
|
|
21016
21060
|
]);
|
|
21017
21061
|
});
|
|
21018
21062
|
|
|
21019
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
21063
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/api.js
|
|
21020
21064
|
function snapshotChecks(def) {
|
|
21021
21065
|
if (def.checks)
|
|
21022
21066
|
def.checks = [...def.checks];
|
|
@@ -21486,7 +21530,7 @@ var init_api = __esm(() => {
|
|
|
21486
21530
|
init_util();
|
|
21487
21531
|
});
|
|
21488
21532
|
|
|
21489
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
21533
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.js
|
|
21490
21534
|
function assignProps(target, ...sources) {
|
|
21491
21535
|
for (const source of sources) {
|
|
21492
21536
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -22013,7 +22057,7 @@ var init_to_json_schema = __esm(() => {
|
|
|
22013
22057
|
UNION_KEYS = ["oneOf", "anyOf"];
|
|
22014
22058
|
});
|
|
22015
22059
|
|
|
22016
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
22060
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/json-schema-processors.js
|
|
22017
22061
|
function aggregateChecks(schema) {
|
|
22018
22062
|
const agg = {};
|
|
22019
22063
|
const def = schema._zod.def;
|
|
@@ -22521,10 +22565,10 @@ var init_json_schema_processors = __esm(() => {
|
|
|
22521
22565
|
UNREPRESENTABLE_DEFAULT = Symbol();
|
|
22522
22566
|
});
|
|
22523
22567
|
|
|
22524
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
22568
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/json-schema.js
|
|
22525
22569
|
var init_json_schema = () => {};
|
|
22526
22570
|
|
|
22527
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
22571
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/index.js
|
|
22528
22572
|
var init_core2 = __esm(() => {
|
|
22529
22573
|
init_util();
|
|
22530
22574
|
init_regexes();
|
|
@@ -22543,12 +22587,12 @@ var init_core2 = __esm(() => {
|
|
|
22543
22587
|
init_to_json_schema();
|
|
22544
22588
|
});
|
|
22545
22589
|
|
|
22546
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
22590
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/checks.js
|
|
22547
22591
|
var init_checks2 = __esm(() => {
|
|
22548
22592
|
init_core2();
|
|
22549
22593
|
});
|
|
22550
22594
|
|
|
22551
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
22595
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/errors.js
|
|
22552
22596
|
function _lazyMethod(proto, key, make) {
|
|
22553
22597
|
Object.defineProperty(proto, key, {
|
|
22554
22598
|
configurable: true,
|
|
@@ -22598,7 +22642,7 @@ var init_errors2 = __esm(() => {
|
|
|
22598
22642
|
});
|
|
22599
22643
|
});
|
|
22600
22644
|
|
|
22601
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
22645
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/parse.js
|
|
22602
22646
|
var parse2, parseAsync, safeParse2, safeParseAsync, encode, decode, encodeAsync, decodeAsync, safeEncode, safeDecode, safeEncodeAsync, safeDecodeAsync;
|
|
22603
22647
|
var init_parse2 = __esm(() => {
|
|
22604
22648
|
init_core2();
|
|
@@ -22618,7 +22662,7 @@ var init_parse2 = __esm(() => {
|
|
|
22618
22662
|
safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
22619
22663
|
});
|
|
22620
22664
|
|
|
22621
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
22665
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
22622
22666
|
function _ensureDefaultLocale() {
|
|
22623
22667
|
if (!globalConfig.localeError)
|
|
22624
22668
|
config(en_default());
|
|
@@ -23559,13 +23603,13 @@ var init_schemas2 = __esm(() => {
|
|
|
23559
23603
|
});
|
|
23560
23604
|
});
|
|
23561
23605
|
|
|
23562
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
23606
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/compat.js
|
|
23563
23607
|
var ZodFirstPartyTypeKind;
|
|
23564
23608
|
var init_compat = __esm(() => {
|
|
23565
23609
|
(function(ZodFirstPartyTypeKind) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
23566
23610
|
});
|
|
23567
23611
|
|
|
23568
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
23612
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/iso.js
|
|
23569
23613
|
function datetime2(params) {
|
|
23570
23614
|
return _isoDateTime(ZodISODateTime, params);
|
|
23571
23615
|
}
|
|
@@ -23574,10 +23618,10 @@ var init_iso = __esm(() => {
|
|
|
23574
23618
|
init_schemas2();
|
|
23575
23619
|
});
|
|
23576
23620
|
|
|
23577
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
23621
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/coerce.js
|
|
23578
23622
|
var init_coerce = () => {};
|
|
23579
23623
|
|
|
23580
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
23624
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/external.js
|
|
23581
23625
|
var init_external = __esm(() => {
|
|
23582
23626
|
init_core2();
|
|
23583
23627
|
init_locales();
|
|
@@ -23590,7 +23634,7 @@ var init_external = __esm(() => {
|
|
|
23590
23634
|
init_compat();
|
|
23591
23635
|
});
|
|
23592
23636
|
|
|
23593
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
23637
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/index.js
|
|
23594
23638
|
var init_zod = __esm(() => {
|
|
23595
23639
|
init_external();
|
|
23596
23640
|
init_external();
|
|
@@ -26435,7 +26479,7 @@ var init_compatibility = __esm(() => {
|
|
|
26435
26479
|
};
|
|
26436
26480
|
});
|
|
26437
26481
|
|
|
26438
|
-
// ../../node_modules/.bun/@hono+node-server@2.1.
|
|
26482
|
+
// ../../node_modules/.bun/@hono+node-server@2.1.5+c539cad7f494f5c9/node_modules/@hono/node-server/dist/conninfo.mjs
|
|
26439
26483
|
var getConnInfo = (c) => {
|
|
26440
26484
|
const bindings = c.env.server ? c.env.server : c.env;
|
|
26441
26485
|
const address = bindings.incoming.socket.remoteAddress;
|
|
@@ -26545,12 +26589,19 @@ function decideAuth(input) {
|
|
|
26545
26589
|
message: "The API key presented is not valid for this server."
|
|
26546
26590
|
};
|
|
26547
26591
|
}
|
|
26548
|
-
function
|
|
26592
|
+
function restGatewayKeys(env = process.env) {
|
|
26593
|
+
const keys = env.CEREFOX_API_KEY ?? "";
|
|
26594
|
+
if (!keys.trim() || !(env.CEREFOX_POSTGREST_UPSTREAM ?? "").trim())
|
|
26595
|
+
return keys;
|
|
26596
|
+
const internal = (env.CEREFOX_SUPABASE_KEY ?? "").trim();
|
|
26597
|
+
return internal ? `${keys},${internal}` : keys;
|
|
26598
|
+
}
|
|
26599
|
+
function apiAuth(keys = () => process.env.CEREFOX_API_KEY ?? "") {
|
|
26549
26600
|
return async (c, next) => {
|
|
26550
26601
|
const decision = decideAuth({
|
|
26551
26602
|
remoteAddress: remoteAddressOf(c),
|
|
26552
26603
|
authorization: c.req.header("Authorization") ?? null,
|
|
26553
|
-
configuredKeys:
|
|
26604
|
+
configuredKeys: keys(),
|
|
26554
26605
|
requireKeyEverywhere: (process.env.CEREFOX_API_REQUIRE_KEY ?? "") === "1"
|
|
26555
26606
|
});
|
|
26556
26607
|
if (decision.allow)
|
|
@@ -26851,7 +26902,7 @@ var init_update_check = __esm(() => {
|
|
|
26851
26902
|
});
|
|
26852
26903
|
|
|
26853
26904
|
// ../../_shared/ef-meta/index.ts
|
|
26854
|
-
var EF_VERSION = "1.19.
|
|
26905
|
+
var EF_VERSION = "1.19.6", CEREFOX_VERSION = "1.19.6", EF_LAST_CHANGED = "1.19.0";
|
|
26855
26906
|
var init_ef_meta = () => {};
|
|
26856
26907
|
|
|
26857
26908
|
// ../../_shared/embeddings/onnx-embedder.ts
|
|
@@ -54199,24 +54250,24 @@ var init_sync_self_docs = __esm(() => {
|
|
|
54199
54250
|
init_bundled_docs();
|
|
54200
54251
|
});
|
|
54201
54252
|
|
|
54202
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
54253
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/mini/parse.js
|
|
54203
54254
|
var init_parse3 = __esm(() => {
|
|
54204
54255
|
init_core2();
|
|
54205
54256
|
});
|
|
54206
54257
|
|
|
54207
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
54258
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/mini/schemas.js
|
|
54208
54259
|
var init_schemas3 = () => {};
|
|
54209
54260
|
|
|
54210
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
54261
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/mini/checks.js
|
|
54211
54262
|
var init_checks3 = () => {};
|
|
54212
54263
|
|
|
54213
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
54264
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/mini/iso.js
|
|
54214
54265
|
var init_iso2 = () => {};
|
|
54215
54266
|
|
|
54216
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
54267
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/mini/coerce.js
|
|
54217
54268
|
var init_coerce2 = () => {};
|
|
54218
54269
|
|
|
54219
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
54270
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/mini/external.js
|
|
54220
54271
|
var init_external2 = __esm(() => {
|
|
54221
54272
|
init_core2();
|
|
54222
54273
|
init_locales();
|
|
@@ -54227,7 +54278,7 @@ var init_external2 = __esm(() => {
|
|
|
54227
54278
|
init_checks3();
|
|
54228
54279
|
});
|
|
54229
54280
|
|
|
54230
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
54281
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4-mini/index.js
|
|
54231
54282
|
var init_v4_mini = __esm(() => {
|
|
54232
54283
|
init_external2();
|
|
54233
54284
|
});
|
|
@@ -54298,12 +54349,12 @@ var init_zod_compat = __esm(() => {
|
|
|
54298
54349
|
init_v4_mini();
|
|
54299
54350
|
});
|
|
54300
54351
|
|
|
54301
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
54352
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/index.js
|
|
54302
54353
|
var init_classic = __esm(() => {
|
|
54303
54354
|
init_external();
|
|
54304
54355
|
});
|
|
54305
54356
|
|
|
54306
|
-
// ../../node_modules/.bun/zod@4.6.
|
|
54357
|
+
// ../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/index.js
|
|
54307
54358
|
var init_v4 = __esm(() => {
|
|
54308
54359
|
init_classic();
|
|
54309
54360
|
});
|
|
@@ -55141,60 +55192,60 @@ function isTerminal(status) {
|
|
|
55141
55192
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
55142
55193
|
}
|
|
55143
55194
|
|
|
55144
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55195
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
55145
55196
|
var ignoreOverride;
|
|
55146
55197
|
var init_Options = __esm(() => {
|
|
55147
55198
|
ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
55148
55199
|
});
|
|
55149
55200
|
|
|
55150
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55201
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
55151
55202
|
var init_Refs = __esm(() => {
|
|
55152
55203
|
init_Options();
|
|
55153
55204
|
});
|
|
55154
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55205
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
55155
55206
|
var init_any = () => {};
|
|
55156
55207
|
|
|
55157
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55208
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
55158
55209
|
var init_array = __esm(() => {
|
|
55159
55210
|
init_parseDef();
|
|
55160
55211
|
});
|
|
55161
55212
|
|
|
55162
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55213
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
55163
55214
|
var init_bigint = () => {};
|
|
55164
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55215
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
55165
55216
|
var init_branded = __esm(() => {
|
|
55166
55217
|
init_parseDef();
|
|
55167
55218
|
});
|
|
55168
55219
|
|
|
55169
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55220
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
55170
55221
|
var init_catch = __esm(() => {
|
|
55171
55222
|
init_parseDef();
|
|
55172
55223
|
});
|
|
55173
55224
|
|
|
55174
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55225
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
55175
55226
|
var init_date = () => {};
|
|
55176
55227
|
|
|
55177
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55228
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
55178
55229
|
var init_default = __esm(() => {
|
|
55179
55230
|
init_parseDef();
|
|
55180
55231
|
});
|
|
55181
55232
|
|
|
55182
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55233
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
55183
55234
|
var init_effects = __esm(() => {
|
|
55184
55235
|
init_parseDef();
|
|
55185
55236
|
init_any();
|
|
55186
55237
|
});
|
|
55187
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55238
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
55188
55239
|
var init_intersection = __esm(() => {
|
|
55189
55240
|
init_parseDef();
|
|
55190
55241
|
});
|
|
55191
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55242
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
55192
55243
|
var ALPHA_NUMERIC;
|
|
55193
55244
|
var init_string = __esm(() => {
|
|
55194
55245
|
ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
55195
55246
|
});
|
|
55196
55247
|
|
|
55197
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55248
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
55198
55249
|
var init_record = __esm(() => {
|
|
55199
55250
|
init_parseDef();
|
|
55200
55251
|
init_string();
|
|
@@ -55202,77 +55253,77 @@ var init_record = __esm(() => {
|
|
|
55202
55253
|
init_any();
|
|
55203
55254
|
});
|
|
55204
55255
|
|
|
55205
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55256
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
55206
55257
|
var init_map = __esm(() => {
|
|
55207
55258
|
init_parseDef();
|
|
55208
55259
|
init_record();
|
|
55209
55260
|
init_any();
|
|
55210
55261
|
});
|
|
55211
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55262
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
55212
55263
|
var init_never = __esm(() => {
|
|
55213
55264
|
init_any();
|
|
55214
55265
|
});
|
|
55215
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55266
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
55216
55267
|
var init_union = __esm(() => {
|
|
55217
55268
|
init_parseDef();
|
|
55218
55269
|
});
|
|
55219
55270
|
|
|
55220
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55271
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
55221
55272
|
var init_nullable = __esm(() => {
|
|
55222
55273
|
init_parseDef();
|
|
55223
55274
|
init_union();
|
|
55224
55275
|
});
|
|
55225
55276
|
|
|
55226
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55277
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
55227
55278
|
var init_number = () => {};
|
|
55228
55279
|
|
|
55229
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55280
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
55230
55281
|
var init_object = __esm(() => {
|
|
55231
55282
|
init_parseDef();
|
|
55232
55283
|
});
|
|
55233
55284
|
|
|
55234
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55285
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
55235
55286
|
var init_optional = __esm(() => {
|
|
55236
55287
|
init_parseDef();
|
|
55237
55288
|
init_any();
|
|
55238
55289
|
});
|
|
55239
55290
|
|
|
55240
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55291
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
55241
55292
|
var init_pipeline = __esm(() => {
|
|
55242
55293
|
init_parseDef();
|
|
55243
55294
|
});
|
|
55244
55295
|
|
|
55245
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55296
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
55246
55297
|
var init_promise = __esm(() => {
|
|
55247
55298
|
init_parseDef();
|
|
55248
55299
|
});
|
|
55249
55300
|
|
|
55250
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55301
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
55251
55302
|
var init_set = __esm(() => {
|
|
55252
55303
|
init_parseDef();
|
|
55253
55304
|
});
|
|
55254
55305
|
|
|
55255
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55306
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
55256
55307
|
var init_tuple = __esm(() => {
|
|
55257
55308
|
init_parseDef();
|
|
55258
55309
|
});
|
|
55259
55310
|
|
|
55260
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55311
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
55261
55312
|
var init_undefined = __esm(() => {
|
|
55262
55313
|
init_any();
|
|
55263
55314
|
});
|
|
55264
55315
|
|
|
55265
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55316
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
55266
55317
|
var init_unknown = __esm(() => {
|
|
55267
55318
|
init_any();
|
|
55268
55319
|
});
|
|
55269
55320
|
|
|
55270
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55321
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
55271
55322
|
var init_readonly = __esm(() => {
|
|
55272
55323
|
init_parseDef();
|
|
55273
55324
|
});
|
|
55274
55325
|
|
|
55275
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55326
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
55276
55327
|
var init_selectParser = __esm(() => {
|
|
55277
55328
|
init_any();
|
|
55278
55329
|
init_array();
|
|
@@ -55301,24 +55352,24 @@ var init_selectParser = __esm(() => {
|
|
|
55301
55352
|
init_readonly();
|
|
55302
55353
|
});
|
|
55303
55354
|
|
|
55304
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55355
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
55305
55356
|
var init_parseDef = __esm(() => {
|
|
55306
55357
|
init_Options();
|
|
55307
55358
|
init_selectParser();
|
|
55308
55359
|
init_any();
|
|
55309
55360
|
});
|
|
55310
55361
|
|
|
55311
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55362
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parseTypes.js
|
|
55312
55363
|
var init_parseTypes = () => {};
|
|
55313
55364
|
|
|
55314
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55365
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
55315
55366
|
var init_zodToJsonSchema = __esm(() => {
|
|
55316
55367
|
init_parseDef();
|
|
55317
55368
|
init_Refs();
|
|
55318
55369
|
init_any();
|
|
55319
55370
|
});
|
|
55320
55371
|
|
|
55321
|
-
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
55372
|
+
// ../../node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/index.js
|
|
55322
55373
|
var init_esm = __esm(() => {
|
|
55323
55374
|
init_zodToJsonSchema();
|
|
55324
55375
|
init_Options();
|
|
@@ -59248,7 +59299,7 @@ var require_data = __commonJS(function(exports, module) {
|
|
|
59248
59299
|
};
|
|
59249
59300
|
});
|
|
59250
59301
|
|
|
59251
|
-
// ../../node_modules/.bun/fast-uri@3.1.
|
|
59302
|
+
// ../../node_modules/.bun/fast-uri@3.1.9/node_modules/fast-uri/lib/utils.js
|
|
59252
59303
|
var require_utils2 = __commonJS(function(exports, module) {
|
|
59253
59304
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
59254
59305
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
@@ -59498,6 +59549,37 @@ var require_utils2 = __commonJS(function(exports, module) {
|
|
|
59498
59549
|
}
|
|
59499
59550
|
return output.join("");
|
|
59500
59551
|
}
|
|
59552
|
+
function removeDotSegmentsRelative(path) {
|
|
59553
|
+
if (path === "" || path[0] === "/") {
|
|
59554
|
+
return removeDotSegments(path);
|
|
59555
|
+
}
|
|
59556
|
+
const segments = path.split("/");
|
|
59557
|
+
const last = segments.length - 1;
|
|
59558
|
+
const output = [];
|
|
59559
|
+
let trailingDirectory = false;
|
|
59560
|
+
for (let i = 0;i <= last; i++) {
|
|
59561
|
+
const segment = segments[i];
|
|
59562
|
+
if (segment === "." || segment === "..") {
|
|
59563
|
+
if (segment === "..") {
|
|
59564
|
+
if (output.length !== 0 && output[output.length - 1] !== "..") {
|
|
59565
|
+
output.pop();
|
|
59566
|
+
} else {
|
|
59567
|
+
output.push("..");
|
|
59568
|
+
}
|
|
59569
|
+
}
|
|
59570
|
+
trailingDirectory = i === last;
|
|
59571
|
+
} else {
|
|
59572
|
+
output.push(segment);
|
|
59573
|
+
}
|
|
59574
|
+
}
|
|
59575
|
+
if (trailingDirectory && output[output.length - 1] !== "..") {
|
|
59576
|
+
output.push("");
|
|
59577
|
+
}
|
|
59578
|
+
if (output.length === 0 || output[0] === "" || output[0].includes(":")) {
|
|
59579
|
+
output.unshift(".");
|
|
59580
|
+
}
|
|
59581
|
+
return output.join("/");
|
|
59582
|
+
}
|
|
59501
59583
|
var HOST_DELIMS = { "@": "%40", "/": "%2F", "?": "%3F", "#": "%23", ":": "%3A" };
|
|
59502
59584
|
var HOST_DELIM_RE = /[@/?#:]/g;
|
|
59503
59585
|
var HOST_DELIM_NO_COLON_RE = /[@/?#]/g;
|
|
@@ -59758,6 +59840,7 @@ var require_utils2 = __commonJS(function(exports, module) {
|
|
|
59758
59840
|
encodeFragment,
|
|
59759
59841
|
escapePreservingEscapes,
|
|
59760
59842
|
removeDotSegments,
|
|
59843
|
+
removeDotSegmentsRelative,
|
|
59761
59844
|
isIPv4,
|
|
59762
59845
|
isUUID,
|
|
59763
59846
|
normalizeIPv6,
|
|
@@ -59765,7 +59848,7 @@ var require_utils2 = __commonJS(function(exports, module) {
|
|
|
59765
59848
|
};
|
|
59766
59849
|
});
|
|
59767
59850
|
|
|
59768
|
-
// ../../node_modules/.bun/fast-uri@3.1.
|
|
59851
|
+
// ../../node_modules/.bun/fast-uri@3.1.9/node_modules/fast-uri/lib/schemes.js
|
|
59769
59852
|
var require_schemes = __commonJS(function(exports, module) {
|
|
59770
59853
|
var { isUUID } = require_utils2();
|
|
59771
59854
|
var URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
|
|
@@ -59940,18 +60023,20 @@ var require_schemes = __commonJS(function(exports, module) {
|
|
|
59940
60023
|
};
|
|
59941
60024
|
});
|
|
59942
60025
|
|
|
59943
|
-
// ../../node_modules/.bun/fast-uri@3.1.
|
|
60026
|
+
// ../../node_modules/.bun/fast-uri@3.1.9/node_modules/fast-uri/index.js
|
|
59944
60027
|
var require_fast_uri = __commonJS(function(exports, module) {
|
|
59945
|
-
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils2();
|
|
60028
|
+
var { normalizeIPv6, removeDotSegments, removeDotSegmentsRelative, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils2();
|
|
59946
60029
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
59947
60030
|
var VALID_SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*$/u;
|
|
59948
60031
|
var MALFORMED_SCHEME_ERROR = "URI scheme is malformed.";
|
|
59949
|
-
|
|
59950
|
-
|
|
59951
|
-
|
|
60032
|
+
var MALFORMED_HOST_ERROR = "URI host is malformed.";
|
|
60033
|
+
var FORBIDDEN_DOMAIN_HOST_CHARACTER = /[\0-\x20"#/:<>?@[\\\]^`{|}\x7F]/u;
|
|
60034
|
+
function validateScheme(scheme) {
|
|
60035
|
+
const stringScheme = String(scheme);
|
|
60036
|
+
if (!VALID_SCHEME.test(stringScheme)) {
|
|
59952
60037
|
throw new TypeError(MALFORMED_SCHEME_ERROR);
|
|
59953
60038
|
}
|
|
59954
|
-
return
|
|
60039
|
+
return stringScheme;
|
|
59955
60040
|
}
|
|
59956
60041
|
function normalize(uri, options) {
|
|
59957
60042
|
if (typeof uri === "string") {
|
|
@@ -59986,6 +60071,9 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
59986
60071
|
const resolvedSchemeHandler = getSchemeHandler(options && options.scheme || resolved.scheme);
|
|
59987
60072
|
const resolvedHost = resolved.host;
|
|
59988
60073
|
const resolvedHostIsIP = resolvedHost !== undefined && resolvedHost !== "" && (isIPv4(resolvedHost) || normalizeIPv6(resolvedHost).isIPV6);
|
|
60074
|
+
if (hasForbiddenDomainHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP)) {
|
|
60075
|
+
throw new Error(MALFORMED_HOST_ERROR);
|
|
60076
|
+
}
|
|
59989
60077
|
canonicalizeHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP);
|
|
59990
60078
|
const encodedASCIIHost = resolvedHost && resolvedHost.indexOf("%") !== -1 && !/\P{ASCII}/u.test(resolvedHost);
|
|
59991
60079
|
if (resolved.error && !encodedASCIIHost) {
|
|
@@ -60027,14 +60115,15 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
60027
60115
|
if (relative.path[0] === "/") {
|
|
60028
60116
|
target.path = removeDotSegments(relative.path);
|
|
60029
60117
|
} else {
|
|
60030
|
-
|
|
60118
|
+
const baseHasAuthority = base.userinfo !== undefined || base.host !== undefined || base.port !== undefined;
|
|
60119
|
+
if (baseHasAuthority && !base.path) {
|
|
60031
60120
|
target.path = "/" + relative.path;
|
|
60032
60121
|
} else if (!base.path) {
|
|
60033
60122
|
target.path = relative.path;
|
|
60034
60123
|
} else {
|
|
60035
60124
|
target.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) + relative.path;
|
|
60036
60125
|
}
|
|
60037
|
-
target.path = removeDotSegments(target.path);
|
|
60126
|
+
target.path = base.scheme === undefined && !baseHasAuthority && target.path[0] !== "/" ? removeDotSegmentsRelative(target.path) : removeDotSegments(target.path);
|
|
60038
60127
|
}
|
|
60039
60128
|
target.query = relative.query;
|
|
60040
60129
|
}
|
|
@@ -60072,13 +60161,14 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
60072
60161
|
const options = Object.assign({}, opts);
|
|
60073
60162
|
const uriTokens = [];
|
|
60074
60163
|
if (component.scheme) {
|
|
60075
|
-
component.scheme =
|
|
60164
|
+
component.scheme = validateScheme(component.scheme);
|
|
60076
60165
|
}
|
|
60077
60166
|
const schemeHandler = getSchemeHandler(options.scheme || component.scheme);
|
|
60078
60167
|
if (schemeHandler && schemeHandler.serialize)
|
|
60079
60168
|
schemeHandler.serialize(component, options);
|
|
60080
60169
|
const hasAuthority = component.userinfo !== undefined || component.host !== undefined || component.port !== undefined;
|
|
60081
|
-
const
|
|
60170
|
+
const schemelessReference = (component.scheme === undefined || options.reference === "suffix") && !hasAuthority;
|
|
60171
|
+
const pathNoScheme = !options.skipEscape && schemelessReference;
|
|
60082
60172
|
if (component.path !== undefined) {
|
|
60083
60173
|
if (!options.skipEscape) {
|
|
60084
60174
|
component.path = serializePathEncoding(component.path, pathNoScheme);
|
|
@@ -60087,7 +60177,7 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
60087
60177
|
}
|
|
60088
60178
|
}
|
|
60089
60179
|
if (options.reference !== "suffix" && component.scheme) {
|
|
60090
|
-
component.scheme =
|
|
60180
|
+
component.scheme = validateScheme(component.scheme);
|
|
60091
60181
|
uriTokens.push(component.scheme, ":");
|
|
60092
60182
|
}
|
|
60093
60183
|
const authority = recomposeAuthority(component);
|
|
@@ -60103,9 +60193,9 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
60103
60193
|
if (component.path !== undefined) {
|
|
60104
60194
|
let s = component.path;
|
|
60105
60195
|
if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {
|
|
60106
|
-
s = removeDotSegments(s);
|
|
60196
|
+
s = schemelessReference && s[0] !== "/" ? removeDotSegmentsRelative(s) : removeDotSegments(s);
|
|
60107
60197
|
}
|
|
60108
|
-
if (
|
|
60198
|
+
if (schemelessReference) {
|
|
60109
60199
|
s = serializePathEncoding(s, true);
|
|
60110
60200
|
}
|
|
60111
60201
|
if (authority === undefined && s[0] === "/" && s[1] === "/") {
|
|
@@ -60153,16 +60243,32 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
60153
60243
|
return hasMalformedPercentEncoding(matches[3]) || host !== undefined && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
60154
60244
|
}
|
|
60155
60245
|
function canonicalizeHost(parsed, options, schemeHandler, isIP) {
|
|
60246
|
+
if (hasForbiddenDomainHost(parsed, options, schemeHandler, isIP)) {
|
|
60247
|
+
parsed.error = parsed.error || MALFORMED_HOST_ERROR;
|
|
60248
|
+
return true;
|
|
60249
|
+
}
|
|
60156
60250
|
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
60251
|
+
let url;
|
|
60157
60252
|
try {
|
|
60158
|
-
|
|
60253
|
+
url = new URL("http://" + parsed.host);
|
|
60159
60254
|
} catch (e) {
|
|
60160
60255
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
60161
60256
|
return true;
|
|
60162
60257
|
}
|
|
60258
|
+
if (!isHostOnlyURL(url)) {
|
|
60259
|
+
parsed.error = parsed.error || MALFORMED_HOST_ERROR;
|
|
60260
|
+
return true;
|
|
60261
|
+
}
|
|
60262
|
+
parsed.host = url.hostname;
|
|
60163
60263
|
}
|
|
60164
60264
|
return false;
|
|
60165
60265
|
}
|
|
60266
|
+
function hasForbiddenDomainHost(parsed, options, schemeHandler, isIP) {
|
|
60267
|
+
return Boolean(parsed.host && isIP === false && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && FORBIDDEN_DOMAIN_HOST_CHARACTER.test(parsed.host));
|
|
60268
|
+
}
|
|
60269
|
+
function isHostOnlyURL(url) {
|
|
60270
|
+
return url.username === "" && url.password === "" && url.port === "" && url.pathname === "/" && url.search === "" && url.hash === "" && url.hostname !== "";
|
|
60271
|
+
}
|
|
60166
60272
|
function parseWithStatus(uri, opts) {
|
|
60167
60273
|
const options = Object.assign({}, opts);
|
|
60168
60274
|
const parsed = {
|
|
@@ -60217,9 +60323,8 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
60217
60323
|
parsed.query = matches[7];
|
|
60218
60324
|
parsed.fragment = matches[8];
|
|
60219
60325
|
if (parsed.scheme !== undefined) {
|
|
60220
|
-
|
|
60221
|
-
|
|
60222
|
-
parsed.scheme = decodedScheme.toLowerCase();
|
|
60326
|
+
if (VALID_SCHEME.test(parsed.scheme)) {
|
|
60327
|
+
parsed.scheme = parsed.scheme.toLowerCase();
|
|
60223
60328
|
} else {
|
|
60224
60329
|
parsed.error = parsed.error || MALFORMED_SCHEME_ERROR;
|
|
60225
60330
|
malformedScheme = true;
|
|
@@ -60247,7 +60352,7 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
60247
60352
|
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
60248
60353
|
parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
60249
60354
|
if (malformedIPLiteral) {
|
|
60250
|
-
parsed.error = parsed.error ||
|
|
60355
|
+
parsed.error = parsed.error || MALFORMED_HOST_ERROR;
|
|
60251
60356
|
malformedAuthorityOrPort = true;
|
|
60252
60357
|
}
|
|
60253
60358
|
} else {
|
|
@@ -60275,7 +60380,7 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
60275
60380
|
if (!isIP) {
|
|
60276
60381
|
host = normalizePercentEncoding(host.toLowerCase());
|
|
60277
60382
|
}
|
|
60278
|
-
parsed.host = reescapeHostDelimiters(host, isIP);
|
|
60383
|
+
parsed.host = isIP || options.scheme !== "null" ? reescapeHostDelimiters(host, isIP) : host;
|
|
60279
60384
|
}
|
|
60280
60385
|
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
60281
60386
|
if (parsed.path) {
|
|
@@ -66558,7 +66663,7 @@ import { homedir as homedir4, platform } from "node:os";
|
|
|
66558
66663
|
import { dirname, join as join4 } from "node:path";
|
|
66559
66664
|
import { spawnSync } from "node:child_process";
|
|
66560
66665
|
|
|
66561
|
-
// ../../node_modules/.bun/smol-toml@1.9.
|
|
66666
|
+
// ../../node_modules/.bun/smol-toml@1.9.1/node_modules/smol-toml/dist/error.js
|
|
66562
66667
|
/*!
|
|
66563
66668
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
66564
66669
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -66631,7 +66736,7 @@ ${codeblock}`, options);
|
|
|
66631
66736
|
}
|
|
66632
66737
|
}
|
|
66633
66738
|
|
|
66634
|
-
// ../../node_modules/.bun/smol-toml@1.9.
|
|
66739
|
+
// ../../node_modules/.bun/smol-toml@1.9.1/node_modules/smol-toml/dist/primitive.js
|
|
66635
66740
|
/*!
|
|
66636
66741
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
66637
66742
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -66751,7 +66856,7 @@ function parseString(ctx) {
|
|
|
66751
66856
|
TomlError.x("unfinished string", ctx, startPtr);
|
|
66752
66857
|
}
|
|
66753
66858
|
|
|
66754
|
-
// ../../node_modules/.bun/smol-toml@1.9.
|
|
66859
|
+
// ../../node_modules/.bun/smol-toml@1.9.1/node_modules/smol-toml/dist/date.js
|
|
66755
66860
|
/*!
|
|
66756
66861
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
66757
66862
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -66894,7 +66999,7 @@ class TomlDate extends Date {
|
|
|
66894
66999
|
}
|
|
66895
67000
|
}
|
|
66896
67001
|
|
|
66897
|
-
// ../../node_modules/.bun/smol-toml@1.9.
|
|
67002
|
+
// ../../node_modules/.bun/smol-toml@1.9.1/node_modules/smol-toml/dist/extract.js
|
|
66898
67003
|
/*!
|
|
66899
67004
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
66900
67005
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -67006,7 +67111,9 @@ function parseNumber(ctx, startPtr, startChr, sign, endChr) {
|
|
|
67006
67111
|
state = 2;
|
|
67007
67112
|
else if ((state === 1 || state === 3) && (c === 101 || c === 69))
|
|
67008
67113
|
state = 4;
|
|
67009
|
-
else if (state === 4 && (c === 43 || c === 45)) {
|
|
67114
|
+
else if (state === 4 && (c === 43 || c === 45)) {
|
|
67115
|
+
state = 6;
|
|
67116
|
+
} else if (!isDigit(c))
|
|
67010
67117
|
TomlError.x(`illegal character in numeric literal`, ctx);
|
|
67011
67118
|
else if (state > 9)
|
|
67012
67119
|
state -= 11;
|
|
@@ -67126,7 +67233,7 @@ function readDate(ctx, str, type, unsafeDelim, errPtr, temporalSuffix) {
|
|
|
67126
67233
|
}
|
|
67127
67234
|
}
|
|
67128
67235
|
|
|
67129
|
-
// ../../node_modules/.bun/smol-toml@1.9.
|
|
67236
|
+
// ../../node_modules/.bun/smol-toml@1.9.1/node_modules/smol-toml/dist/util.js
|
|
67130
67237
|
/*!
|
|
67131
67238
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
67132
67239
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -67179,7 +67286,7 @@ function skipVoid(ctx, banNewLines, banComments) {
|
|
|
67179
67286
|
}
|
|
67180
67287
|
}
|
|
67181
67288
|
|
|
67182
|
-
// ../../node_modules/.bun/smol-toml@1.9.
|
|
67289
|
+
// ../../node_modules/.bun/smol-toml@1.9.1/node_modules/smol-toml/dist/struct.js
|
|
67183
67290
|
/*!
|
|
67184
67291
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
67185
67292
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -67315,7 +67422,7 @@ function parseArray(ctx) {
|
|
|
67315
67422
|
TomlError.x("unfinished array", ctx, startPtr);
|
|
67316
67423
|
}
|
|
67317
67424
|
|
|
67318
|
-
// ../../node_modules/.bun/smol-toml@1.9.
|
|
67425
|
+
// ../../node_modules/.bun/smol-toml@1.9.1/node_modules/smol-toml/dist/parse.js
|
|
67319
67426
|
/*!
|
|
67320
67427
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
67321
67428
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -67467,7 +67574,7 @@ function parse4(toml, options = {}) {
|
|
|
67467
67574
|
return res;
|
|
67468
67575
|
}
|
|
67469
67576
|
|
|
67470
|
-
// ../../node_modules/.bun/smol-toml@1.9.
|
|
67577
|
+
// ../../node_modules/.bun/smol-toml@1.9.1/node_modules/smol-toml/dist/stringify.js
|
|
67471
67578
|
/*!
|
|
67472
67579
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
67473
67580
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -67677,7 +67784,7 @@ function stringify(obj, { maxDepth = 1000, numbersAsFloat = false, strictTempora
|
|
|
67677
67784
|
return str;
|
|
67678
67785
|
}
|
|
67679
67786
|
|
|
67680
|
-
// ../../node_modules/.bun/smol-toml@1.9.
|
|
67787
|
+
// ../../node_modules/.bun/smol-toml@1.9.1/node_modules/smol-toml/dist/index.js
|
|
67681
67788
|
/*!
|
|
67682
67789
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
67683
67790
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -76577,10 +76684,10 @@ init_sync_self_docs();
|
|
|
76577
76684
|
init_cli_core();
|
|
76578
76685
|
import { readFileSync as readFileSync21 } from "node:fs";
|
|
76579
76686
|
|
|
76580
|
-
// ../../node_modules/.bun/@hono+node-server@2.1.
|
|
76687
|
+
// ../../node_modules/.bun/@hono+node-server@2.1.5+c539cad7f494f5c9/node_modules/@hono/node-server/dist/constants-BLSFu_RU.mjs
|
|
76581
76688
|
var X_ALREADY_SENT = "x-hono-already-sent";
|
|
76582
76689
|
|
|
76583
|
-
// ../../node_modules/.bun/@hono+node-server@2.1.
|
|
76690
|
+
// ../../node_modules/.bun/@hono+node-server@2.1.5+c539cad7f494f5c9/node_modules/@hono/node-server/dist/index.mjs
|
|
76584
76691
|
import { STATUS_CODES, ServerResponse, createServer } from "node:http";
|
|
76585
76692
|
import { Http2ServerRequest, constants } from "node:http2";
|
|
76586
76693
|
import { Readable } from "node:stream";
|
|
@@ -76608,7 +76715,7 @@ var defineWebSocketHelper = (handler) => {
|
|
|
76608
76715
|
};
|
|
76609
76716
|
};
|
|
76610
76717
|
|
|
76611
|
-
// ../../node_modules/.bun/@hono+node-server@2.1.
|
|
76718
|
+
// ../../node_modules/.bun/@hono+node-server@2.1.5+c539cad7f494f5c9/node_modules/@hono/node-server/dist/index.mjs
|
|
76612
76719
|
var RequestError = class extends Error {
|
|
76613
76720
|
constructor(message, options) {
|
|
76614
76721
|
super(message, options);
|
|
@@ -77538,7 +77645,7 @@ var makeCloseHandler = (req, incoming, outgoing, needsBodyCleanup) => () => {
|
|
|
77538
77645
|
if (incoming.errored) {
|
|
77539
77646
|
recordBodyBufferedBeforeDisconnect(incoming);
|
|
77540
77647
|
req[abortRequest](incoming.errored.toString());
|
|
77541
|
-
} else if (!outgoing.writableFinished) {
|
|
77648
|
+
} else if (!outgoing.writableFinished || incoming instanceof Http2ServerRequest && incoming.aborted) {
|
|
77542
77649
|
recordBodyBufferedBeforeDisconnect(incoming);
|
|
77543
77650
|
req[abortRequest]("Client connection prematurely closed.");
|
|
77544
77651
|
}
|
|
@@ -78061,7 +78168,7 @@ var serve = (options, listeningListener) => {
|
|
|
78061
78168
|
return server;
|
|
78062
78169
|
};
|
|
78063
78170
|
|
|
78064
|
-
// ../../node_modules/.bun/@hono+node-server@2.1.
|
|
78171
|
+
// ../../node_modules/.bun/@hono+node-server@2.1.5+c539cad7f494f5c9/node_modules/@hono/node-server/dist/utils/stream.mjs
|
|
78065
78172
|
import { Readable as Readable2 } from "node:stream";
|
|
78066
78173
|
import { versions as versions2 } from "node:process";
|
|
78067
78174
|
var pr54206Applied = () => {
|
|
@@ -78193,7 +78300,7 @@ var baseMimes = {
|
|
|
78193
78300
|
glb: "model/gltf-binary"
|
|
78194
78301
|
};
|
|
78195
78302
|
|
|
78196
|
-
// ../../node_modules/.bun/@hono+node-server@2.1.
|
|
78303
|
+
// ../../node_modules/.bun/@hono+node-server@2.1.5+c539cad7f494f5c9/node_modules/@hono/node-server/dist/serve-static.mjs
|
|
78197
78304
|
import { createReadStream, existsSync as existsSync16, statSync as statSync6 } from "node:fs";
|
|
78198
78305
|
import { join as join15 } from "node:path";
|
|
78199
78306
|
var COMPRESSIBLE_CONTENT_TYPE_REGEX = /^\s*(?:text\/[^;\s]+|application\/(?:javascript|json|xml|xml-dtd|ecmascript|dart|postscript|rtf|tar|toml|vnd\.dart|vnd\.ms-fontobject|vnd\.ms-opentype|wasm|x-httpd-php|x-javascript|x-ns-proxy-autoconfig|x-sh|x-tar|x-virtualbox-hdd|x-virtualbox-ova|x-virtualbox-ovf|x-virtualbox-vbox|x-virtualbox-vdi|x-virtualbox-vhd|x-virtualbox-vmdk|x-www-form-urlencoded)|font\/(?:otf|ttf)|image\/(?:bmp|vnd\.adobe\.photoshop|vnd\.microsoft\.icon|vnd\.ms-dds|x-icon|x-ms-bmp)|message\/rfc822|model\/gltf-binary|x-shader\/x-fragment|x-shader\/x-vertex|[^;\s]+?\+(?:json|text|xml|yaml))(?:[;\s]|$)/i;
|
|
@@ -78273,6 +78380,8 @@ var serveStatic = (options = { root: "" }) => {
|
|
|
78273
78380
|
return async (c, next) => {
|
|
78274
78381
|
if (c.finalized)
|
|
78275
78382
|
return next();
|
|
78383
|
+
if (c.req.method !== "GET" && c.req.method !== "HEAD")
|
|
78384
|
+
return next();
|
|
78276
78385
|
let filename;
|
|
78277
78386
|
if (optionPath)
|
|
78278
78387
|
filename = optionPath;
|
|
@@ -78319,7 +78428,7 @@ var serveStatic = (options = { root: "" }) => {
|
|
|
78319
78428
|
const size = stats.size;
|
|
78320
78429
|
const range = c.req.header("range") || "";
|
|
78321
78430
|
c.header("Last-Modified", stats.mtime.toUTCString());
|
|
78322
|
-
if (c.req.method
|
|
78431
|
+
if (c.req.method === "HEAD") {
|
|
78323
78432
|
c.header("Content-Length", size.toString());
|
|
78324
78433
|
c.status(200);
|
|
78325
78434
|
result = c.body(null);
|
|
@@ -82077,7 +82186,7 @@ function buildApp(ctx = buildWebContext()) {
|
|
|
82077
82186
|
c.res.headers.set("Link", `<${OPENAPI_PATH}>; rel="service-desc"`);
|
|
82078
82187
|
});
|
|
82079
82188
|
app.use("/api/v1/*", apiAuth());
|
|
82080
|
-
app.use("/rest/v1/*", apiAuth());
|
|
82189
|
+
app.use("/rest/v1/*", apiAuth(() => restGatewayKeys()));
|
|
82081
82190
|
registerMetaRoutes(app, ctx);
|
|
82082
82191
|
registerPreferencesRoutes(app);
|
|
82083
82192
|
if (ctx) {
|