deepline 0.3.45 → 0.3.46
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/bundling-sources/sdk/src/client.ts +2 -3
- package/dist/bundling-sources/sdk/src/errors.ts +2 -2
- package/dist/bundling-sources/sdk/src/http.ts +1 -1
- package/dist/bundling-sources/sdk/src/play.ts +7 -10
- package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +3 -3
- package/dist/bundling-sources/sdk/src/release.ts +3 -3
- package/dist/bundling-sources/sdk/src/version.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-data-plane/contracts.ts +25 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/index.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +19 -19
- package/dist/bundling-sources/shared_libs/play-runtime/backend.ts +5 -6
- package/dist/bundling-sources/shared_libs/play-runtime/cell-staleness.ts +1 -66
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +11 -11
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +3 -3
- package/dist/bundling-sources/shared_libs/play-runtime/dataset-id.ts +4 -3
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-cache.ts +3 -4
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/email-status.ts +1 -275
- package/dist/bundling-sources/shared_libs/play-runtime/execution-ledger-store.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/extractor-targets.ts +1 -106
- package/dist/bundling-sources/shared_libs/play-runtime/gateway-postgres-admission.ts +1 -2
- package/dist/bundling-sources/shared_libs/play-runtime/governor/in-memory-rate-state-backend.ts +13 -4
- package/dist/bundling-sources/shared_libs/play-runtime/live-events.ts +1 -5
- package/dist/bundling-sources/shared_libs/play-runtime/map-row-identity.ts +2 -3
- package/dist/bundling-sources/shared_libs/play-runtime/map-row-outcome.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/projection.ts +5 -5
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +3 -3
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +4 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +3 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +8 -8
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +4 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +7 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +7 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/bundle.ts +13 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/index.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runner-events.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +6 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constraints.ts +1 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-env.ts +55 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runtime-limits.ts +1 -109
- package/dist/bundling-sources/shared_libs/play-runtime/step-program-dataset-builder.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execution-outcome.ts +6 -5
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result-types.ts +1 -206
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +10 -7
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipts.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/artifact-types.ts +8 -3
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +4 -4
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +3 -6
- package/dist/bundling-sources/shared_libs/plays/cell-staleness.ts +66 -0
- package/dist/bundling-sources/shared_libs/plays/compiler-manifest.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/contracts.ts +2 -2
- package/dist/bundling-sources/shared_libs/plays/core.ts +466 -0
- package/dist/bundling-sources/shared_libs/plays/email-status.ts +287 -0
- package/dist/bundling-sources/shared_libs/plays/extractor-targets.ts +106 -0
- package/dist/bundling-sources/shared_libs/plays/row-identity.ts +1 -3
- package/dist/bundling-sources/shared_libs/plays/runtime-constraints.ts +2 -0
- package/dist/bundling-sources/shared_libs/plays/runtime-validation.ts +4 -2
- package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +109 -0
- package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +624 -0
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +206 -0
- package/dist/bundling-sources/shared_libs/security/safe-outbound-fetch.ts +1 -1
- package/dist/cli/index.js +174 -168
- package/dist/cli/index.mjs +182 -169
- package/dist/{compiler-manifest-DwYe2C2S.d.mts → compiler-manifest-BuoqasqI.d.mts} +585 -540
- package/dist/{compiler-manifest-DwYe2C2S.d.ts → compiler-manifest-BuoqasqI.d.ts} +585 -540
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +47 -40
- package/dist/index.mjs +47 -40
- package/dist/install-integrity.json +13 -3
- package/dist/plays/bundle-play-file.d.mts +4 -61
- package/dist/plays/bundle-play-file.d.ts +4 -61
- package/dist/plays/bundle-play-file.mjs +157 -155
- package/package.json +9 -6
- /package/dist/bundling-sources/shared_libs/{play-runtime → plays}/tool-response-contract.ts +0 -0
package/dist/cli/index.js
CHANGED
|
@@ -195,7 +195,7 @@ var import_node_fs = require("fs");
|
|
|
195
195
|
var import_node_os = require("os");
|
|
196
196
|
var import_node_path = require("path");
|
|
197
197
|
|
|
198
|
-
// ../
|
|
198
|
+
// ../plays/tool-execution-error.ts
|
|
199
199
|
var DEEPLINE_ERROR_BRAND = Symbol.for("deepline.error.v1");
|
|
200
200
|
var TOOL_EXECUTION_ERROR_BRAND = Symbol.for(
|
|
201
201
|
"deepline.tool-execution-error.v1"
|
|
@@ -994,7 +994,7 @@ function getActiveProjectAuthSource(startDir = process.cwd()) {
|
|
|
994
994
|
return loadProjectEnvCandidates(startDir)[0] ?? null;
|
|
995
995
|
}
|
|
996
996
|
|
|
997
|
-
// ../
|
|
997
|
+
// ../plays/artifact-contract-version.ts
|
|
998
998
|
var CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION = 2;
|
|
999
999
|
|
|
1000
1000
|
// src/release.ts
|
|
@@ -1043,7 +1043,7 @@ var SDK_RELEASE = {
|
|
|
1043
1043
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
1044
1044
|
// getters keep their established compatibility behavior.
|
|
1045
1045
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1046
|
-
version: "0.3.
|
|
1046
|
+
version: "0.3.46",
|
|
1047
1047
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
1048
1048
|
packageCapabilities: {
|
|
1049
1049
|
updatePreferences: 1
|
|
@@ -1317,7 +1317,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
|
|
|
1317
1317
|
`, "utf-8");
|
|
1318
1318
|
}
|
|
1319
1319
|
|
|
1320
|
-
// ../
|
|
1320
|
+
// ../play-runtime/coordinator-headers.ts
|
|
1321
1321
|
var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
|
|
1322
1322
|
var COORDINATOR_URL_OVERRIDE_HEADER = "x-deepline-coordinator-url";
|
|
1323
1323
|
var WORKER_CALLBACK_URL_OVERRIDE_HEADER = "x-deepline-worker-callback-url";
|
|
@@ -1327,7 +1327,7 @@ var ABSURD_RELEASE_OVERRIDE_HEADER = "x-deepline-absurd-release";
|
|
|
1327
1327
|
var PREFERRED_RECEIPT_GATEWAY_MACHINE_ID_HEADER = "x-deepline-preferred-receipt-gateway-machine-id";
|
|
1328
1328
|
var SYNTHETIC_RUN_HEADER = "x-deepline-synthetic-run";
|
|
1329
1329
|
|
|
1330
|
-
// ../
|
|
1330
|
+
// ../play-runtime/runtime-incident-drills.ts
|
|
1331
1331
|
var RUNTIME_TEST_FAULT_IDS = [
|
|
1332
1332
|
"receipt_complete_write_fail",
|
|
1333
1333
|
"receipt_fail_write_fail",
|
|
@@ -1575,7 +1575,7 @@ function runtimeTestFaultDrills() {
|
|
|
1575
1575
|
return RUNTIME_INCIDENT_DRILL_CATALOG.filter(isRuntimeTestFaultDrill);
|
|
1576
1576
|
}
|
|
1577
1577
|
|
|
1578
|
-
// ../
|
|
1578
|
+
// ../play-runtime/test-runtime-seams.ts
|
|
1579
1579
|
var PLAY_RUNTIME_TEST_FAULT_HEADER = "x-deepline-test-fault";
|
|
1580
1580
|
var SUPPORTED_RUNTIME_TEST_FAULTS = new Set(
|
|
1581
1581
|
runtimeTestFaultDrills().map(({ id }) => id)
|
|
@@ -2190,7 +2190,7 @@ function withCoworkNetworkHint(message) {
|
|
|
2190
2190
|
${COWORK_NETWORK_HINT}`;
|
|
2191
2191
|
}
|
|
2192
2192
|
|
|
2193
|
-
// ../
|
|
2193
|
+
// ../product-notifications/contract.ts
|
|
2194
2194
|
var PRODUCT_NOTIFICATION_EVENT_CATALOG = [
|
|
2195
2195
|
{
|
|
2196
2196
|
id: "play.cron.succeeded",
|
|
@@ -2295,7 +2295,7 @@ function isTransientPlayStreamError(error) {
|
|
|
2295
2295
|
);
|
|
2296
2296
|
}
|
|
2297
2297
|
|
|
2298
|
-
// ../
|
|
2298
|
+
// ../play-runtime/live-events.ts
|
|
2299
2299
|
function resolveTimingWindow(input2) {
|
|
2300
2300
|
const startedAt = typeof input2.startedAt === "number" && Number.isFinite(input2.startedAt) ? input2.startedAt : null;
|
|
2301
2301
|
const completedAt = typeof input2.completedAt === "number" && Number.isFinite(input2.completedAt) ? input2.completedAt : null;
|
|
@@ -2307,10 +2307,10 @@ function resolveTimingWindow(input2) {
|
|
|
2307
2307
|
};
|
|
2308
2308
|
}
|
|
2309
2309
|
|
|
2310
|
-
// ../
|
|
2310
|
+
// ../play-runtime/run-failure.ts
|
|
2311
2311
|
var PUBLIC_FAILURE_TEXT_BYTE_LIMIT = 64 * 1024;
|
|
2312
2312
|
|
|
2313
|
-
// ../
|
|
2313
|
+
// ../play-runtime/run-terminal-source.ts
|
|
2314
2314
|
var PLAY_RUN_LEDGER_EVENT_SOURCES = [
|
|
2315
2315
|
"worker",
|
|
2316
2316
|
"convex",
|
|
@@ -2323,7 +2323,7 @@ function normalizePlayRunLedgerTerminalSource(value) {
|
|
|
2323
2323
|
) ? value : null;
|
|
2324
2324
|
}
|
|
2325
2325
|
|
|
2326
|
-
// ../
|
|
2326
|
+
// ../play-runtime/secret-redaction.ts
|
|
2327
2327
|
var SECRET_REDACTION_PLACEHOLDER = "[REDACTED_SECRET]";
|
|
2328
2328
|
var BEARER_TOKEN_RE = /\bBearer\s+[A-Za-z0-9._~+/=-]{12,}\b/g;
|
|
2329
2329
|
var BASIC_CREDENTIAL_RE = /\bBasic\s+[A-Za-z0-9+/]{4,}={0,2}\b/g;
|
|
@@ -2456,7 +2456,7 @@ function createSecretRedactionContext(initialValues = []) {
|
|
|
2456
2456
|
};
|
|
2457
2457
|
}
|
|
2458
2458
|
|
|
2459
|
-
// ../
|
|
2459
|
+
// ../play-runtime/output-size-limits.ts
|
|
2460
2460
|
var TERMINAL_RUN_RESULT_MAX_BYTES = 6 * 1024 * 1024;
|
|
2461
2461
|
var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
|
|
2462
2462
|
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 5 * 1024 * 1024;
|
|
@@ -2469,10 +2469,10 @@ var RUNTIME_RECEIPT_WRITER_TARGET_BATCH_BYTES = 4 * 1024 * 1024;
|
|
|
2469
2469
|
var RUNNER_POST_TERMINAL_DIAGNOSTIC_MAX_BYTES = 64 * 1024;
|
|
2470
2470
|
var JSON_SIZE_LIMIT_REACHED = Symbol("JSON_SIZE_LIMIT_REACHED");
|
|
2471
2471
|
|
|
2472
|
-
// ../
|
|
2472
|
+
// ../play-runtime/ledger-safe-payload.ts
|
|
2473
2473
|
var ledgerIngressRedactor = createSecretRedactionContext();
|
|
2474
2474
|
|
|
2475
|
-
// ../
|
|
2475
|
+
// ../play-runtime/docflow-node-io.ts
|
|
2476
2476
|
var DOCFLOW_NODE_IO_LIMITS = {
|
|
2477
2477
|
maxPaths: 16,
|
|
2478
2478
|
maxDepth: 3,
|
|
@@ -2794,7 +2794,7 @@ function normalizePlayDocflowNodeIoState(value) {
|
|
|
2794
2794
|
};
|
|
2795
2795
|
}
|
|
2796
2796
|
|
|
2797
|
-
// ../
|
|
2797
|
+
// ../play-runtime/activity-observation.ts
|
|
2798
2798
|
function isRecord4(value) {
|
|
2799
2799
|
return Boolean(value && typeof value === "object" && !Array.isArray(value));
|
|
2800
2800
|
}
|
|
@@ -3069,7 +3069,7 @@ function projectPlayRunActivity(input2) {
|
|
|
3069
3069
|
return projection(fallback, now, normalizedStatus !== "waiting");
|
|
3070
3070
|
}
|
|
3071
3071
|
|
|
3072
|
-
// ../
|
|
3072
|
+
// ../play-runtime/cell-provenance.ts
|
|
3073
3073
|
function finiteNonNegativeInteger2(value) {
|
|
3074
3074
|
if (typeof value !== "number" || !Number.isFinite(value) || value < 0) {
|
|
3075
3075
|
return null;
|
|
@@ -3090,7 +3090,7 @@ function normalizeDatasetBornFrom(value) {
|
|
|
3090
3090
|
return { table, rowCountIn };
|
|
3091
3091
|
}
|
|
3092
3092
|
|
|
3093
|
-
// ../
|
|
3093
|
+
// ../play-runtime/run-ledger.ts
|
|
3094
3094
|
var LOG_TAIL_LIMIT = 100;
|
|
3095
3095
|
function isRecord5(value) {
|
|
3096
3096
|
return Boolean(value && typeof value === "object" && !Array.isArray(value));
|
|
@@ -3322,7 +3322,7 @@ function normalizeStepProgress(value) {
|
|
|
3322
3322
|
};
|
|
3323
3323
|
}
|
|
3324
3324
|
|
|
3325
|
-
// ../
|
|
3325
|
+
// ../play-runtime/run-lifecycle-policy.ts
|
|
3326
3326
|
var TERMINAL_PLAY_RUN_STATUSES = /* @__PURE__ */ new Set([
|
|
3327
3327
|
"completed",
|
|
3328
3328
|
"failed",
|
|
@@ -3383,7 +3383,7 @@ function decodePlayRunPublicStatus(value) {
|
|
|
3383
3383
|
}
|
|
3384
3384
|
}
|
|
3385
3385
|
|
|
3386
|
-
// ../
|
|
3386
|
+
// ../play-runtime/run-snapshot-stream.ts
|
|
3387
3387
|
function normalizePlayRunLiveStatus(value) {
|
|
3388
3388
|
return normalizePlayRunLifecycleStatus(value);
|
|
3389
3389
|
}
|
|
@@ -4042,7 +4042,7 @@ async function* observeRunEvents(options) {
|
|
|
4042
4042
|
}
|
|
4043
4043
|
}
|
|
4044
4044
|
|
|
4045
|
-
//
|
|
4045
|
+
// ../../shared_libs/integrations/theirstack-execution-policy.ts
|
|
4046
4046
|
var THEIRSTACK_SLOW_JOB_SEARCH_PROVIDER_TIMEOUT_MS = 135e3;
|
|
4047
4047
|
var THEIRSTACK_SLOW_JOB_SEARCH_CLIENT_TIMEOUT_MS = 6e4 + THEIRSTACK_SLOW_JOB_SEARCH_PROVIDER_TIMEOUT_MS + 15e3;
|
|
4048
4048
|
var THEIRSTACK_COMPANY_SEARCH_CLIENT_TIMEOUT_MS = 21e4;
|
|
@@ -4096,7 +4096,7 @@ function resolveTheirstackClientTimeoutMs(endpointId, payload) {
|
|
|
4096
4096
|
return usesExtendedTheirstackJobSearchBudget(endpointId, payload) ? THEIRSTACK_SLOW_JOB_SEARCH_CLIENT_TIMEOUT_MS : null;
|
|
4097
4097
|
}
|
|
4098
4098
|
|
|
4099
|
-
//
|
|
4099
|
+
// ../../shared_libs/integrations/bettercontact-execution-policy.ts
|
|
4100
4100
|
var BETTERCONTACT_LAUNCHER_CLIENT_TIMEOUT_MS = 12e4;
|
|
4101
4101
|
var BETTERCONTACT_LAUNCHER_TOOL_IDS = /* @__PURE__ */ new Set([
|
|
4102
4102
|
"bettercontact_enrich",
|
|
@@ -4106,15 +4106,17 @@ function usesExtendedBetterContactLauncherBudget(toolId) {
|
|
|
4106
4106
|
return BETTERCONTACT_LAUNCHER_TOOL_IDS.has(toolId.trim().toLowerCase());
|
|
4107
4107
|
}
|
|
4108
4108
|
|
|
4109
|
-
// ../
|
|
4109
|
+
// ../plays/artifact-types.ts
|
|
4110
|
+
var PLAY_ARTIFACT_KINDS = {
|
|
4111
|
+
cjsNode20: "cjs_node20"
|
|
4112
|
+
};
|
|
4113
|
+
|
|
4114
|
+
// ../play-runtime/backend.ts
|
|
4110
4115
|
var PLAY_RUNTIME_BACKENDS = {
|
|
4111
4116
|
localProcess: "local_process",
|
|
4112
4117
|
daytona: "daytona",
|
|
4113
4118
|
modal: "modal"
|
|
4114
4119
|
};
|
|
4115
|
-
var PLAY_ARTIFACT_KINDS = {
|
|
4116
|
-
cjsNode20: "cjs_node20"
|
|
4117
|
-
};
|
|
4118
4120
|
var PLAY_BACKEND_DESCRIPTORS = {
|
|
4119
4121
|
[PLAY_RUNTIME_BACKENDS.localProcess]: {
|
|
4120
4122
|
id: PLAY_RUNTIME_BACKENDS.localProcess,
|
|
@@ -4133,7 +4135,7 @@ var PLAY_BACKEND_DESCRIPTORS = {
|
|
|
4133
4135
|
}
|
|
4134
4136
|
};
|
|
4135
4137
|
|
|
4136
|
-
// ../
|
|
4138
|
+
// ../play-runtime/runtime-environment.ts
|
|
4137
4139
|
var PLAY_RUNTIME_ENVIRONMENTS = ["preview"];
|
|
4138
4140
|
var PLAY_RUNTIME_NAMESPACE_PATTERN = /^[a-z][a-z0-9-]{0,30}$/;
|
|
4139
4141
|
function normalizePlayRuntimeNamespace(value) {
|
|
@@ -4163,7 +4165,7 @@ function normalizePlayRuntimeEnvironment(value) {
|
|
|
4163
4165
|
return typeof value === "string" && PLAY_RUNTIME_ENVIRONMENTS.includes(value) ? value : null;
|
|
4164
4166
|
}
|
|
4165
4167
|
|
|
4166
|
-
// ../
|
|
4168
|
+
// ../plays/tool-response-contract.ts
|
|
4167
4169
|
var RAW_V2_TOOL_RESPONSE_CONTRACT = "raw-v2";
|
|
4168
4170
|
function legacyRawFromToolResponseRawV2(rawV2, view, responseMeta) {
|
|
4169
4171
|
const legacyRaw = view === "data" && rawV2 && typeof rawV2 === "object" && !Array.isArray(rawV2) ? rawV2.data : rawV2;
|
|
@@ -10073,7 +10075,7 @@ var import_node_path8 = require("path");
|
|
|
10073
10075
|
var import_node_fs6 = require("fs");
|
|
10074
10076
|
var import_node_path7 = require("path");
|
|
10075
10077
|
|
|
10076
|
-
// ../
|
|
10078
|
+
// ../plays/dataset-summary.ts
|
|
10077
10079
|
function formatDatasetRowCountsLine(counts) {
|
|
10078
10080
|
const { persisted, succeeded, failed } = counts;
|
|
10079
10081
|
if (succeeded === persisted && failed === 0) {
|
|
@@ -11637,7 +11639,7 @@ var import_node_fs9 = require("fs");
|
|
|
11637
11639
|
var import_node_path10 = require("path");
|
|
11638
11640
|
var import_sync4 = require("csv-parse/sync");
|
|
11639
11641
|
|
|
11640
|
-
// ../
|
|
11642
|
+
// ../plays/bootstrap-routes.ts
|
|
11641
11643
|
var PLAY_BOOTSTRAP_TEMPLATES = [
|
|
11642
11644
|
"people-list",
|
|
11643
11645
|
"company-list",
|
|
@@ -13337,7 +13339,7 @@ var import_node_url = require("url");
|
|
|
13337
13339
|
var import_node_fs11 = require("fs");
|
|
13338
13340
|
var import_promises5 = require("fs/promises");
|
|
13339
13341
|
|
|
13340
|
-
// ../
|
|
13342
|
+
// ../plays/bundling/index.ts
|
|
13341
13343
|
var import_node_crypto4 = require("crypto");
|
|
13342
13344
|
var import_node_fs10 = require("fs");
|
|
13343
13345
|
var import_promises3 = require("fs/promises");
|
|
@@ -13347,7 +13349,7 @@ var import_node_module = require("module");
|
|
|
13347
13349
|
var import_acorn2 = require("acorn");
|
|
13348
13350
|
var import_esbuild = require("esbuild");
|
|
13349
13351
|
|
|
13350
|
-
//
|
|
13352
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs
|
|
13351
13353
|
var value_exports = {};
|
|
13352
13354
|
__export(value_exports, {
|
|
13353
13355
|
HasPropertyKey: () => HasPropertyKey,
|
|
@@ -13416,7 +13418,7 @@ function IsUndefined(value) {
|
|
|
13416
13418
|
return value === void 0;
|
|
13417
13419
|
}
|
|
13418
13420
|
|
|
13419
|
-
//
|
|
13421
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs
|
|
13420
13422
|
function ArrayType(value) {
|
|
13421
13423
|
return value.map((value2) => Visit(value2));
|
|
13422
13424
|
}
|
|
@@ -13446,12 +13448,12 @@ function Clone(value) {
|
|
|
13446
13448
|
return Visit(value);
|
|
13447
13449
|
}
|
|
13448
13450
|
|
|
13449
|
-
//
|
|
13451
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs
|
|
13450
13452
|
function CloneType(schema, options) {
|
|
13451
13453
|
return options === void 0 ? Clone(schema) : Clone({ ...options, ...schema });
|
|
13452
13454
|
}
|
|
13453
13455
|
|
|
13454
|
-
//
|
|
13456
|
+
// ../../node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs
|
|
13455
13457
|
function IsObject2(value) {
|
|
13456
13458
|
return value !== null && typeof value === "object";
|
|
13457
13459
|
}
|
|
@@ -13465,7 +13467,7 @@ function IsNumber2(value) {
|
|
|
13465
13467
|
return typeof value === "number";
|
|
13466
13468
|
}
|
|
13467
13469
|
|
|
13468
|
-
//
|
|
13470
|
+
// ../../node_modules/@sinclair/typebox/build/esm/system/policy.mjs
|
|
13469
13471
|
var TypeSystemPolicy;
|
|
13470
13472
|
(function(TypeSystemPolicy2) {
|
|
13471
13473
|
TypeSystemPolicy2.InstanceMode = "default";
|
|
@@ -13497,7 +13499,7 @@ var TypeSystemPolicy;
|
|
|
13497
13499
|
TypeSystemPolicy2.IsVoidLike = IsVoidLike;
|
|
13498
13500
|
})(TypeSystemPolicy || (TypeSystemPolicy = {}));
|
|
13499
13501
|
|
|
13500
|
-
//
|
|
13502
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs
|
|
13501
13503
|
function ImmutableArray(value) {
|
|
13502
13504
|
return globalThis.Object.freeze(value).map((value2) => Immutable(value2));
|
|
13503
13505
|
}
|
|
@@ -13524,7 +13526,7 @@ function Immutable(value) {
|
|
|
13524
13526
|
return IsArray(value) ? ImmutableArray(value) : IsDate(value) ? ImmutableDate(value) : IsUint8Array(value) ? ImmutableUint8Array(value) : IsRegExp(value) ? ImmutableRegExp(value) : IsObject(value) ? ImmutableObject(value) : value;
|
|
13525
13527
|
}
|
|
13526
13528
|
|
|
13527
|
-
//
|
|
13529
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/create/type.mjs
|
|
13528
13530
|
function CreateType(schema, options) {
|
|
13529
13531
|
const result = options !== void 0 ? { ...options, ...schema } : schema;
|
|
13530
13532
|
switch (TypeSystemPolicy.InstanceMode) {
|
|
@@ -13537,21 +13539,21 @@ function CreateType(schema, options) {
|
|
|
13537
13539
|
}
|
|
13538
13540
|
}
|
|
13539
13541
|
|
|
13540
|
-
//
|
|
13542
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/error/error.mjs
|
|
13541
13543
|
var TypeBoxError = class extends Error {
|
|
13542
13544
|
constructor(message) {
|
|
13543
13545
|
super(message);
|
|
13544
13546
|
}
|
|
13545
13547
|
};
|
|
13546
13548
|
|
|
13547
|
-
//
|
|
13549
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs
|
|
13548
13550
|
var TransformKind = Symbol.for("TypeBox.Transform");
|
|
13549
13551
|
var ReadonlyKind = Symbol.for("TypeBox.Readonly");
|
|
13550
13552
|
var OptionalKind = Symbol.for("TypeBox.Optional");
|
|
13551
13553
|
var Hint = Symbol.for("TypeBox.Hint");
|
|
13552
13554
|
var Kind = Symbol.for("TypeBox.Kind");
|
|
13553
13555
|
|
|
13554
|
-
//
|
|
13556
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs
|
|
13555
13557
|
function IsReadonly(value) {
|
|
13556
13558
|
return IsObject(value) && value[ReadonlyKind] === "Readonly";
|
|
13557
13559
|
}
|
|
@@ -13682,7 +13684,7 @@ function IsSchema(value) {
|
|
|
13682
13684
|
return IsAny(value) || IsArgument(value) || IsArray3(value) || IsBoolean2(value) || IsBigInt2(value) || IsAsyncIterator2(value) || IsComputed(value) || IsConstructor(value) || IsDate2(value) || IsFunction2(value) || IsInteger(value) || IsIntersect(value) || IsIterator2(value) || IsLiteral(value) || IsMappedKey(value) || IsMappedResult(value) || IsNever(value) || IsNot(value) || IsNull2(value) || IsNumber3(value) || IsObject3(value) || IsPromise(value) || IsRecord(value) || IsRef(value) || IsRegExp2(value) || IsString2(value) || IsSymbol2(value) || IsTemplateLiteral(value) || IsThis(value) || IsTuple(value) || IsUndefined3(value) || IsUnion(value) || IsUint8Array2(value) || IsUnknown(value) || IsUnsafe(value) || IsVoid(value) || IsKind(value);
|
|
13683
13685
|
}
|
|
13684
13686
|
|
|
13685
|
-
//
|
|
13687
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs
|
|
13686
13688
|
var type_exports = {};
|
|
13687
13689
|
__export(type_exports, {
|
|
13688
13690
|
IsAny: () => IsAny2,
|
|
@@ -13974,7 +13976,7 @@ function IsSchema2(value) {
|
|
|
13974
13976
|
return IsObject(value) && (IsAny2(value) || IsArgument2(value) || IsArray4(value) || IsBoolean3(value) || IsBigInt3(value) || IsAsyncIterator3(value) || IsComputed2(value) || IsConstructor2(value) || IsDate3(value) || IsFunction3(value) || IsInteger2(value) || IsIntersect2(value) || IsIterator3(value) || IsLiteral2(value) || IsMappedKey2(value) || IsMappedResult2(value) || IsNever2(value) || IsNot2(value) || IsNull3(value) || IsNumber4(value) || IsObject4(value) || IsPromise2(value) || IsRecord2(value) || IsRef2(value) || IsRegExp3(value) || IsString3(value) || IsSymbol3(value) || IsTemplateLiteral2(value) || IsThis2(value) || IsTuple2(value) || IsUndefined4(value) || IsUnion2(value) || IsUint8Array3(value) || IsUnknown2(value) || IsUnsafe2(value) || IsVoid2(value) || IsKind2(value));
|
|
13975
13977
|
}
|
|
13976
13978
|
|
|
13977
|
-
//
|
|
13979
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs
|
|
13978
13980
|
var PatternBoolean = "(true|false)";
|
|
13979
13981
|
var PatternNumber = "(0|[1-9][0-9]*)";
|
|
13980
13982
|
var PatternString = "(.*)";
|
|
@@ -13984,7 +13986,7 @@ var PatternNumberExact = `^${PatternNumber}$`;
|
|
|
13984
13986
|
var PatternStringExact = `^${PatternString}$`;
|
|
13985
13987
|
var PatternNeverExact = `^${PatternNever}$`;
|
|
13986
13988
|
|
|
13987
|
-
//
|
|
13989
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs
|
|
13988
13990
|
function SetIncludes(T, S) {
|
|
13989
13991
|
return T.includes(S);
|
|
13990
13992
|
}
|
|
@@ -14009,32 +14011,32 @@ function SetUnionMany(T) {
|
|
|
14009
14011
|
return Acc;
|
|
14010
14012
|
}
|
|
14011
14013
|
|
|
14012
|
-
//
|
|
14014
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/any/any.mjs
|
|
14013
14015
|
function Any(options) {
|
|
14014
14016
|
return CreateType({ [Kind]: "Any" }, options);
|
|
14015
14017
|
}
|
|
14016
14018
|
|
|
14017
|
-
//
|
|
14019
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/array/array.mjs
|
|
14018
14020
|
function Array2(items, options) {
|
|
14019
14021
|
return CreateType({ [Kind]: "Array", type: "array", items }, options);
|
|
14020
14022
|
}
|
|
14021
14023
|
|
|
14022
|
-
//
|
|
14024
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs
|
|
14023
14025
|
function Argument(index) {
|
|
14024
14026
|
return CreateType({ [Kind]: "Argument", index });
|
|
14025
14027
|
}
|
|
14026
14028
|
|
|
14027
|
-
//
|
|
14029
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs
|
|
14028
14030
|
function AsyncIterator(items, options) {
|
|
14029
14031
|
return CreateType({ [Kind]: "AsyncIterator", type: "AsyncIterator", items }, options);
|
|
14030
14032
|
}
|
|
14031
14033
|
|
|
14032
|
-
//
|
|
14034
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs
|
|
14033
14035
|
function Computed(target, parameters, options) {
|
|
14034
14036
|
return CreateType({ [Kind]: "Computed", target, parameters }, options);
|
|
14035
14037
|
}
|
|
14036
14038
|
|
|
14037
|
-
//
|
|
14039
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs
|
|
14038
14040
|
function DiscardKey(value, key) {
|
|
14039
14041
|
const { [key]: _, ...rest } = value;
|
|
14040
14042
|
return rest;
|
|
@@ -14043,12 +14045,12 @@ function Discard(value, keys) {
|
|
|
14043
14045
|
return keys.reduce((acc, key) => DiscardKey(acc, key), value);
|
|
14044
14046
|
}
|
|
14045
14047
|
|
|
14046
|
-
//
|
|
14048
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/never/never.mjs
|
|
14047
14049
|
function Never(options) {
|
|
14048
14050
|
return CreateType({ [Kind]: "Never", not: {} }, options);
|
|
14049
14051
|
}
|
|
14050
14052
|
|
|
14051
|
-
//
|
|
14053
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs
|
|
14052
14054
|
function MappedResult(properties) {
|
|
14053
14055
|
return CreateType({
|
|
14054
14056
|
[Kind]: "MappedResult",
|
|
@@ -14056,22 +14058,22 @@ function MappedResult(properties) {
|
|
|
14056
14058
|
});
|
|
14057
14059
|
}
|
|
14058
14060
|
|
|
14059
|
-
//
|
|
14061
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs
|
|
14060
14062
|
function Constructor(parameters, returns, options) {
|
|
14061
14063
|
return CreateType({ [Kind]: "Constructor", type: "Constructor", parameters, returns }, options);
|
|
14062
14064
|
}
|
|
14063
14065
|
|
|
14064
|
-
//
|
|
14066
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/function/function.mjs
|
|
14065
14067
|
function Function2(parameters, returns, options) {
|
|
14066
14068
|
return CreateType({ [Kind]: "Function", type: "Function", parameters, returns }, options);
|
|
14067
14069
|
}
|
|
14068
14070
|
|
|
14069
|
-
//
|
|
14071
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs
|
|
14070
14072
|
function UnionCreate(T, options) {
|
|
14071
14073
|
return CreateType({ [Kind]: "Union", anyOf: T }, options);
|
|
14072
14074
|
}
|
|
14073
14075
|
|
|
14074
|
-
//
|
|
14076
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs
|
|
14075
14077
|
function IsUnionOptional(types) {
|
|
14076
14078
|
return types.some((type) => IsOptional(type));
|
|
14077
14079
|
}
|
|
@@ -14089,12 +14091,12 @@ function UnionEvaluated(T, options) {
|
|
|
14089
14091
|
return T.length === 1 ? CreateType(T[0], options) : T.length === 0 ? Never(options) : ResolveUnion(T, options);
|
|
14090
14092
|
}
|
|
14091
14093
|
|
|
14092
|
-
//
|
|
14094
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/union/union.mjs
|
|
14093
14095
|
function Union(types, options) {
|
|
14094
14096
|
return types.length === 0 ? Never(options) : types.length === 1 ? CreateType(types[0], options) : UnionCreate(types, options);
|
|
14095
14097
|
}
|
|
14096
14098
|
|
|
14097
|
-
//
|
|
14099
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs
|
|
14098
14100
|
var TemplateLiteralParserError = class extends TypeBoxError {
|
|
14099
14101
|
};
|
|
14100
14102
|
function Unescape(pattern) {
|
|
@@ -14218,7 +14220,7 @@ function TemplateLiteralParseExact(pattern) {
|
|
|
14218
14220
|
return TemplateLiteralParse(pattern.slice(1, pattern.length - 1));
|
|
14219
14221
|
}
|
|
14220
14222
|
|
|
14221
|
-
//
|
|
14223
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs
|
|
14222
14224
|
var TemplateLiteralFiniteError = class extends TypeBoxError {
|
|
14223
14225
|
};
|
|
14224
14226
|
function IsNumberExpression(expression) {
|
|
@@ -14240,7 +14242,7 @@ function IsTemplateLiteralFinite(schema) {
|
|
|
14240
14242
|
return IsTemplateLiteralExpressionFinite(expression);
|
|
14241
14243
|
}
|
|
14242
14244
|
|
|
14243
|
-
//
|
|
14245
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs
|
|
14244
14246
|
var TemplateLiteralGenerateError = class extends TypeBoxError {
|
|
14245
14247
|
};
|
|
14246
14248
|
function* GenerateReduce(buffer) {
|
|
@@ -14272,7 +14274,7 @@ function TemplateLiteralGenerate(schema) {
|
|
|
14272
14274
|
return IsTemplateLiteralExpressionFinite(expression) ? [...TemplateLiteralExpressionGenerate(expression)] : [];
|
|
14273
14275
|
}
|
|
14274
14276
|
|
|
14275
|
-
//
|
|
14277
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs
|
|
14276
14278
|
function Literal(value, options) {
|
|
14277
14279
|
return CreateType({
|
|
14278
14280
|
[Kind]: "Literal",
|
|
@@ -14281,27 +14283,27 @@ function Literal(value, options) {
|
|
|
14281
14283
|
}, options);
|
|
14282
14284
|
}
|
|
14283
14285
|
|
|
14284
|
-
//
|
|
14286
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs
|
|
14285
14287
|
function Boolean2(options) {
|
|
14286
14288
|
return CreateType({ [Kind]: "Boolean", type: "boolean" }, options);
|
|
14287
14289
|
}
|
|
14288
14290
|
|
|
14289
|
-
//
|
|
14291
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs
|
|
14290
14292
|
function BigInt(options) {
|
|
14291
14293
|
return CreateType({ [Kind]: "BigInt", type: "bigint" }, options);
|
|
14292
14294
|
}
|
|
14293
14295
|
|
|
14294
|
-
//
|
|
14296
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/number/number.mjs
|
|
14295
14297
|
function Number2(options) {
|
|
14296
14298
|
return CreateType({ [Kind]: "Number", type: "number" }, options);
|
|
14297
14299
|
}
|
|
14298
14300
|
|
|
14299
|
-
//
|
|
14301
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/string/string.mjs
|
|
14300
14302
|
function String2(options) {
|
|
14301
14303
|
return CreateType({ [Kind]: "String", type: "string" }, options);
|
|
14302
14304
|
}
|
|
14303
14305
|
|
|
14304
|
-
//
|
|
14306
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs
|
|
14305
14307
|
function* FromUnion(syntax) {
|
|
14306
14308
|
const trim = syntax.trim().replace(/"|'/g, "");
|
|
14307
14309
|
return trim === "boolean" ? yield Boolean2() : trim === "number" ? yield Number2() : trim === "bigint" ? yield BigInt() : trim === "string" ? yield String2() : yield (() => {
|
|
@@ -14338,7 +14340,7 @@ function TemplateLiteralSyntax(syntax) {
|
|
|
14338
14340
|
return [...FromSyntax(syntax)];
|
|
14339
14341
|
}
|
|
14340
14342
|
|
|
14341
|
-
//
|
|
14343
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs
|
|
14342
14344
|
var TemplateLiteralPatternError = class extends TypeBoxError {
|
|
14343
14345
|
};
|
|
14344
14346
|
function Escape(value) {
|
|
@@ -14353,20 +14355,20 @@ function TemplateLiteralPattern(kinds) {
|
|
|
14353
14355
|
return `^${kinds.map((schema) => Visit2(schema, "")).join("")}$`;
|
|
14354
14356
|
}
|
|
14355
14357
|
|
|
14356
|
-
//
|
|
14358
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs
|
|
14357
14359
|
function TemplateLiteralToUnion(schema) {
|
|
14358
14360
|
const R = TemplateLiteralGenerate(schema);
|
|
14359
14361
|
const L = R.map((S) => Literal(S));
|
|
14360
14362
|
return UnionEvaluated(L);
|
|
14361
14363
|
}
|
|
14362
14364
|
|
|
14363
|
-
//
|
|
14365
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs
|
|
14364
14366
|
function TemplateLiteral(unresolved, options) {
|
|
14365
14367
|
const pattern = IsString(unresolved) ? TemplateLiteralPattern(TemplateLiteralSyntax(unresolved)) : TemplateLiteralPattern(unresolved);
|
|
14366
14368
|
return CreateType({ [Kind]: "TemplateLiteral", type: "string", pattern }, options);
|
|
14367
14369
|
}
|
|
14368
14370
|
|
|
14369
|
-
//
|
|
14371
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs
|
|
14370
14372
|
function FromTemplateLiteral(templateLiteral) {
|
|
14371
14373
|
const keys = TemplateLiteralGenerate(templateLiteral);
|
|
14372
14374
|
return keys.map((key) => key.toString());
|
|
@@ -14384,7 +14386,7 @@ function IndexPropertyKeys(type) {
|
|
|
14384
14386
|
return [...new Set(IsTemplateLiteral(type) ? FromTemplateLiteral(type) : IsUnion(type) ? FromUnion2(type.anyOf) : IsLiteral(type) ? FromLiteral(type.const) : IsNumber3(type) ? ["[number]"] : IsInteger(type) ? ["[number]"] : [])];
|
|
14385
14387
|
}
|
|
14386
14388
|
|
|
14387
|
-
//
|
|
14389
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs
|
|
14388
14390
|
function FromProperties(type, properties, options) {
|
|
14389
14391
|
const result = {};
|
|
14390
14392
|
for (const K2 of Object.getOwnPropertyNames(properties)) {
|
|
@@ -14400,7 +14402,7 @@ function IndexFromMappedResult(type, mappedResult, options) {
|
|
|
14400
14402
|
return MappedResult(properties);
|
|
14401
14403
|
}
|
|
14402
14404
|
|
|
14403
|
-
//
|
|
14405
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs
|
|
14404
14406
|
function FromRest(types, key) {
|
|
14405
14407
|
return types.map((type) => IndexFromPropertyKey(type, key));
|
|
14406
14408
|
}
|
|
@@ -14448,7 +14450,7 @@ function Index(type, key, options) {
|
|
|
14448
14450
|
return CreateType(IsSchema(key) ? FromSchema(type, IndexPropertyKeys(key)) : FromSchema(type, key), options);
|
|
14449
14451
|
}
|
|
14450
14452
|
|
|
14451
|
-
//
|
|
14453
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs
|
|
14452
14454
|
function MappedIndexPropertyKey(type, key, options) {
|
|
14453
14455
|
return { [key]: Index(type, [key], Clone(options)) };
|
|
14454
14456
|
}
|
|
@@ -14465,12 +14467,12 @@ function IndexFromMappedKey(type, mappedKey, options) {
|
|
|
14465
14467
|
return MappedResult(properties);
|
|
14466
14468
|
}
|
|
14467
14469
|
|
|
14468
|
-
//
|
|
14470
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs
|
|
14469
14471
|
function Iterator(items, options) {
|
|
14470
14472
|
return CreateType({ [Kind]: "Iterator", type: "Iterator", items }, options);
|
|
14471
14473
|
}
|
|
14472
14474
|
|
|
14473
|
-
//
|
|
14475
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/object/object.mjs
|
|
14474
14476
|
function RequiredArray(properties) {
|
|
14475
14477
|
return globalThis.Object.keys(properties).filter((key) => !IsOptional(properties[key]));
|
|
14476
14478
|
}
|
|
@@ -14481,12 +14483,12 @@ function _Object(properties, options) {
|
|
|
14481
14483
|
}
|
|
14482
14484
|
var Object2 = _Object;
|
|
14483
14485
|
|
|
14484
|
-
//
|
|
14486
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs
|
|
14485
14487
|
function Promise2(item, options) {
|
|
14486
14488
|
return CreateType({ [Kind]: "Promise", type: "Promise", item }, options);
|
|
14487
14489
|
}
|
|
14488
14490
|
|
|
14489
|
-
//
|
|
14491
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs
|
|
14490
14492
|
function RemoveReadonly(schema) {
|
|
14491
14493
|
return CreateType(Discard(schema, [ReadonlyKind]));
|
|
14492
14494
|
}
|
|
@@ -14501,7 +14503,7 @@ function Readonly(schema, enable) {
|
|
|
14501
14503
|
return IsMappedResult(schema) ? ReadonlyFromMappedResult(schema, F) : ReadonlyWithFlag(schema, F);
|
|
14502
14504
|
}
|
|
14503
14505
|
|
|
14504
|
-
//
|
|
14506
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs
|
|
14505
14507
|
function FromProperties2(K, F) {
|
|
14506
14508
|
const Acc = {};
|
|
14507
14509
|
for (const K2 of globalThis.Object.getOwnPropertyNames(K))
|
|
@@ -14516,12 +14518,12 @@ function ReadonlyFromMappedResult(R, F) {
|
|
|
14516
14518
|
return MappedResult(P);
|
|
14517
14519
|
}
|
|
14518
14520
|
|
|
14519
|
-
//
|
|
14521
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs
|
|
14520
14522
|
function Tuple(types, options) {
|
|
14521
14523
|
return CreateType(types.length > 0 ? { [Kind]: "Tuple", type: "array", items: types, additionalItems: false, minItems: types.length, maxItems: types.length } : { [Kind]: "Tuple", type: "array", minItems: types.length, maxItems: types.length }, options);
|
|
14522
14524
|
}
|
|
14523
14525
|
|
|
14524
|
-
//
|
|
14526
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs
|
|
14525
14527
|
function FromMappedResult3(K, P) {
|
|
14526
14528
|
return K in P ? FromSchemaType(K, P[K]) : MappedResult(P);
|
|
14527
14529
|
}
|
|
@@ -14576,7 +14578,7 @@ function Mapped(key, map, options) {
|
|
|
14576
14578
|
return Object2(R, options);
|
|
14577
14579
|
}
|
|
14578
14580
|
|
|
14579
|
-
//
|
|
14581
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs
|
|
14580
14582
|
function RemoveOptional(schema) {
|
|
14581
14583
|
return CreateType(Discard(schema, [OptionalKind]));
|
|
14582
14584
|
}
|
|
@@ -14591,7 +14593,7 @@ function Optional(schema, enable) {
|
|
|
14591
14593
|
return IsMappedResult(schema) ? OptionalFromMappedResult(schema, F) : OptionalWithFlag(schema, F);
|
|
14592
14594
|
}
|
|
14593
14595
|
|
|
14594
|
-
//
|
|
14596
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs
|
|
14595
14597
|
function FromProperties4(P, F) {
|
|
14596
14598
|
const Acc = {};
|
|
14597
14599
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -14606,14 +14608,14 @@ function OptionalFromMappedResult(R, F) {
|
|
|
14606
14608
|
return MappedResult(P);
|
|
14607
14609
|
}
|
|
14608
14610
|
|
|
14609
|
-
//
|
|
14611
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs
|
|
14610
14612
|
function IntersectCreate(T, options = {}) {
|
|
14611
14613
|
const allObjects = T.every((schema) => IsObject3(schema));
|
|
14612
14614
|
const clonedUnevaluatedProperties = IsSchema(options.unevaluatedProperties) ? { unevaluatedProperties: options.unevaluatedProperties } : {};
|
|
14613
14615
|
return CreateType(options.unevaluatedProperties === false || IsSchema(options.unevaluatedProperties) || allObjects ? { ...clonedUnevaluatedProperties, [Kind]: "Intersect", type: "object", allOf: T } : { ...clonedUnevaluatedProperties, [Kind]: "Intersect", allOf: T }, options);
|
|
14614
14616
|
}
|
|
14615
14617
|
|
|
14616
|
-
//
|
|
14618
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs
|
|
14617
14619
|
function IsIntersectOptional(types) {
|
|
14618
14620
|
return types.every((left) => IsOptional(left));
|
|
14619
14621
|
}
|
|
@@ -14636,7 +14638,7 @@ function IntersectEvaluated(types, options = {}) {
|
|
|
14636
14638
|
return ResolveIntersect(types, options);
|
|
14637
14639
|
}
|
|
14638
14640
|
|
|
14639
|
-
//
|
|
14641
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs
|
|
14640
14642
|
function Intersect(types, options) {
|
|
14641
14643
|
if (types.length === 1)
|
|
14642
14644
|
return CreateType(types[0], options);
|
|
@@ -14647,7 +14649,7 @@ function Intersect(types, options) {
|
|
|
14647
14649
|
return IntersectCreate(types, options);
|
|
14648
14650
|
}
|
|
14649
14651
|
|
|
14650
|
-
//
|
|
14652
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs
|
|
14651
14653
|
function Ref(...args) {
|
|
14652
14654
|
const [$ref, options] = typeof args[0] === "string" ? [args[0], args[1]] : [args[0].$id, args[1]];
|
|
14653
14655
|
if (typeof $ref !== "string")
|
|
@@ -14655,7 +14657,7 @@ function Ref(...args) {
|
|
|
14655
14657
|
return CreateType({ [Kind]: "Ref", $ref }, options);
|
|
14656
14658
|
}
|
|
14657
14659
|
|
|
14658
|
-
//
|
|
14660
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs
|
|
14659
14661
|
function FromComputed(target, parameters) {
|
|
14660
14662
|
return Computed("Awaited", [Computed(target, parameters)]);
|
|
14661
14663
|
}
|
|
@@ -14678,7 +14680,7 @@ function Awaited(type, options) {
|
|
|
14678
14680
|
return CreateType(IsComputed(type) ? FromComputed(type.target, type.parameters) : IsIntersect(type) ? FromIntersect2(type.allOf) : IsUnion(type) ? FromUnion4(type.anyOf) : IsPromise(type) ? FromPromise(type.item) : IsRef(type) ? FromRef(type.$ref) : type, options);
|
|
14679
14681
|
}
|
|
14680
14682
|
|
|
14681
|
-
//
|
|
14683
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs
|
|
14682
14684
|
function FromRest4(types) {
|
|
14683
14685
|
const result = [];
|
|
14684
14686
|
for (const L of types)
|
|
@@ -14717,7 +14719,7 @@ function KeyOfPropertyKeys(type) {
|
|
|
14717
14719
|
}
|
|
14718
14720
|
var includePatternProperties = false;
|
|
14719
14721
|
|
|
14720
|
-
//
|
|
14722
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs
|
|
14721
14723
|
function FromComputed2(target, parameters) {
|
|
14722
14724
|
return Computed("KeyOf", [Computed(target, parameters)]);
|
|
14723
14725
|
}
|
|
@@ -14737,7 +14739,7 @@ function KeyOf(type, options) {
|
|
|
14737
14739
|
return IsComputed(type) ? FromComputed2(type.target, type.parameters) : IsRef(type) ? FromRef2(type.$ref) : IsMappedResult(type) ? KeyOfFromMappedResult(type, options) : KeyOfFromType(type, options);
|
|
14738
14740
|
}
|
|
14739
14741
|
|
|
14740
|
-
//
|
|
14742
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs
|
|
14741
14743
|
function FromProperties6(properties, options) {
|
|
14742
14744
|
const result = {};
|
|
14743
14745
|
for (const K2 of globalThis.Object.getOwnPropertyNames(properties))
|
|
@@ -14752,7 +14754,7 @@ function KeyOfFromMappedResult(mappedResult, options) {
|
|
|
14752
14754
|
return MappedResult(properties);
|
|
14753
14755
|
}
|
|
14754
14756
|
|
|
14755
|
-
//
|
|
14757
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs
|
|
14756
14758
|
function CompositeKeys(T) {
|
|
14757
14759
|
const Acc = [];
|
|
14758
14760
|
for (const L of T)
|
|
@@ -14782,37 +14784,37 @@ function Composite(T, options) {
|
|
|
14782
14784
|
return R;
|
|
14783
14785
|
}
|
|
14784
14786
|
|
|
14785
|
-
//
|
|
14787
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/date/date.mjs
|
|
14786
14788
|
function Date2(options) {
|
|
14787
14789
|
return CreateType({ [Kind]: "Date", type: "Date" }, options);
|
|
14788
14790
|
}
|
|
14789
14791
|
|
|
14790
|
-
//
|
|
14792
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/null/null.mjs
|
|
14791
14793
|
function Null(options) {
|
|
14792
14794
|
return CreateType({ [Kind]: "Null", type: "null" }, options);
|
|
14793
14795
|
}
|
|
14794
14796
|
|
|
14795
|
-
//
|
|
14797
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs
|
|
14796
14798
|
function Symbol2(options) {
|
|
14797
14799
|
return CreateType({ [Kind]: "Symbol", type: "symbol" }, options);
|
|
14798
14800
|
}
|
|
14799
14801
|
|
|
14800
|
-
//
|
|
14802
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs
|
|
14801
14803
|
function Undefined(options) {
|
|
14802
14804
|
return CreateType({ [Kind]: "Undefined", type: "undefined" }, options);
|
|
14803
14805
|
}
|
|
14804
14806
|
|
|
14805
|
-
//
|
|
14807
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs
|
|
14806
14808
|
function Uint8Array2(options) {
|
|
14807
14809
|
return CreateType({ [Kind]: "Uint8Array", type: "Uint8Array" }, options);
|
|
14808
14810
|
}
|
|
14809
14811
|
|
|
14810
|
-
//
|
|
14812
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs
|
|
14811
14813
|
function Unknown(options) {
|
|
14812
14814
|
return CreateType({ [Kind]: "Unknown" }, options);
|
|
14813
14815
|
}
|
|
14814
14816
|
|
|
14815
|
-
//
|
|
14817
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/const/const.mjs
|
|
14816
14818
|
function FromArray3(T) {
|
|
14817
14819
|
return T.map((L) => FromValue(L, false));
|
|
14818
14820
|
}
|
|
@@ -14832,12 +14834,12 @@ function Const(T, options) {
|
|
|
14832
14834
|
return CreateType(FromValue(T, true), options);
|
|
14833
14835
|
}
|
|
14834
14836
|
|
|
14835
|
-
//
|
|
14837
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs
|
|
14836
14838
|
function ConstructorParameters(schema, options) {
|
|
14837
14839
|
return IsConstructor(schema) ? Tuple(schema.parameters, options) : Never(options);
|
|
14838
14840
|
}
|
|
14839
14841
|
|
|
14840
|
-
//
|
|
14842
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs
|
|
14841
14843
|
function Enum(item, options) {
|
|
14842
14844
|
if (IsUndefined(item))
|
|
14843
14845
|
throw new Error("Enum undefined or empty");
|
|
@@ -14847,7 +14849,7 @@ function Enum(item, options) {
|
|
|
14847
14849
|
return Union(anyOf, { ...options, [Hint]: "Enum" });
|
|
14848
14850
|
}
|
|
14849
14851
|
|
|
14850
|
-
//
|
|
14852
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs
|
|
14851
14853
|
var ExtendsResolverError = class extends TypeBoxError {
|
|
14852
14854
|
};
|
|
14853
14855
|
var ExtendsResult;
|
|
@@ -15098,7 +15100,7 @@ function ExtendsCheck(left, right) {
|
|
|
15098
15100
|
return Visit3(left, right);
|
|
15099
15101
|
}
|
|
15100
15102
|
|
|
15101
|
-
//
|
|
15103
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs
|
|
15102
15104
|
function FromProperties8(P, Right, True, False, options) {
|
|
15103
15105
|
const Acc = {};
|
|
15104
15106
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -15113,7 +15115,7 @@ function ExtendsFromMappedResult(Left, Right, True, False, options) {
|
|
|
15113
15115
|
return MappedResult(P);
|
|
15114
15116
|
}
|
|
15115
15117
|
|
|
15116
|
-
//
|
|
15118
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs
|
|
15117
15119
|
function ExtendsResolve(left, right, trueType, falseType) {
|
|
15118
15120
|
const R = ExtendsCheck(left, right);
|
|
15119
15121
|
return R === ExtendsResult.Union ? Union([trueType, falseType]) : R === ExtendsResult.True ? trueType : falseType;
|
|
@@ -15122,7 +15124,7 @@ function Extends(L, R, T, F, options) {
|
|
|
15122
15124
|
return IsMappedResult(L) ? ExtendsFromMappedResult(L, R, T, F, options) : IsMappedKey(L) ? CreateType(ExtendsFromMappedKey(L, R, T, F, options)) : CreateType(ExtendsResolve(L, R, T, F), options);
|
|
15123
15125
|
}
|
|
15124
15126
|
|
|
15125
|
-
//
|
|
15127
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs
|
|
15126
15128
|
function FromPropertyKey(K, U, L, R, options) {
|
|
15127
15129
|
return {
|
|
15128
15130
|
[K]: Extends(Literal(K), U, L, R, Clone(options))
|
|
@@ -15141,12 +15143,12 @@ function ExtendsFromMappedKey(T, U, L, R, options) {
|
|
|
15141
15143
|
return MappedResult(P);
|
|
15142
15144
|
}
|
|
15143
15145
|
|
|
15144
|
-
//
|
|
15146
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs
|
|
15145
15147
|
function ExcludeFromTemplateLiteral(L, R) {
|
|
15146
15148
|
return Exclude(TemplateLiteralToUnion(L), R);
|
|
15147
15149
|
}
|
|
15148
15150
|
|
|
15149
|
-
//
|
|
15151
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs
|
|
15150
15152
|
function ExcludeRest(L, R) {
|
|
15151
15153
|
const excluded = L.filter((inner) => ExtendsCheck(inner, R) === ExtendsResult.False);
|
|
15152
15154
|
return excluded.length === 1 ? excluded[0] : Union(excluded);
|
|
@@ -15159,7 +15161,7 @@ function Exclude(L, R, options = {}) {
|
|
|
15159
15161
|
return CreateType(IsUnion(L) ? ExcludeRest(L.anyOf, R) : ExtendsCheck(L, R) !== ExtendsResult.False ? Never() : L, options);
|
|
15160
15162
|
}
|
|
15161
15163
|
|
|
15162
|
-
//
|
|
15164
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs
|
|
15163
15165
|
function FromProperties9(P, U) {
|
|
15164
15166
|
const Acc = {};
|
|
15165
15167
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -15174,12 +15176,12 @@ function ExcludeFromMappedResult(R, T) {
|
|
|
15174
15176
|
return MappedResult(P);
|
|
15175
15177
|
}
|
|
15176
15178
|
|
|
15177
|
-
//
|
|
15179
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs
|
|
15178
15180
|
function ExtractFromTemplateLiteral(L, R) {
|
|
15179
15181
|
return Extract(TemplateLiteralToUnion(L), R);
|
|
15180
15182
|
}
|
|
15181
15183
|
|
|
15182
|
-
//
|
|
15184
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs
|
|
15183
15185
|
function ExtractRest(L, R) {
|
|
15184
15186
|
const extracted = L.filter((inner) => ExtendsCheck(inner, R) !== ExtendsResult.False);
|
|
15185
15187
|
return extracted.length === 1 ? extracted[0] : Union(extracted);
|
|
@@ -15192,7 +15194,7 @@ function Extract(L, R, options) {
|
|
|
15192
15194
|
return CreateType(IsUnion(L) ? ExtractRest(L.anyOf, R) : ExtendsCheck(L, R) !== ExtendsResult.False ? L : Never(), options);
|
|
15193
15195
|
}
|
|
15194
15196
|
|
|
15195
|
-
//
|
|
15197
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs
|
|
15196
15198
|
function FromProperties10(P, T) {
|
|
15197
15199
|
const Acc = {};
|
|
15198
15200
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -15207,17 +15209,17 @@ function ExtractFromMappedResult(R, T) {
|
|
|
15207
15209
|
return MappedResult(P);
|
|
15208
15210
|
}
|
|
15209
15211
|
|
|
15210
|
-
//
|
|
15212
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs
|
|
15211
15213
|
function InstanceType(schema, options) {
|
|
15212
15214
|
return IsConstructor(schema) ? CreateType(schema.returns, options) : Never(options);
|
|
15213
15215
|
}
|
|
15214
15216
|
|
|
15215
|
-
//
|
|
15217
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs
|
|
15216
15218
|
function ReadonlyOptional(schema) {
|
|
15217
15219
|
return Readonly(Optional(schema));
|
|
15218
15220
|
}
|
|
15219
15221
|
|
|
15220
|
-
//
|
|
15222
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/record/record.mjs
|
|
15221
15223
|
function RecordCreateFromPattern(pattern, T, options) {
|
|
15222
15224
|
return CreateType({ [Kind]: "Record", type: "object", patternProperties: { [pattern]: T } }, options);
|
|
15223
15225
|
}
|
|
@@ -15272,7 +15274,7 @@ function RecordValue2(type) {
|
|
|
15272
15274
|
return type.patternProperties[RecordPattern(type)];
|
|
15273
15275
|
}
|
|
15274
15276
|
|
|
15275
|
-
//
|
|
15277
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs
|
|
15276
15278
|
function FromConstructor2(args, type) {
|
|
15277
15279
|
type.parameters = FromTypes(args, type.parameters);
|
|
15278
15280
|
type.returns = FromType(args, type.returns);
|
|
@@ -15347,12 +15349,12 @@ function Instantiate(type, args) {
|
|
|
15347
15349
|
return FromType(args, CloneType(type));
|
|
15348
15350
|
}
|
|
15349
15351
|
|
|
15350
|
-
//
|
|
15352
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs
|
|
15351
15353
|
function Integer(options) {
|
|
15352
15354
|
return CreateType({ [Kind]: "Integer", type: "integer" }, options);
|
|
15353
15355
|
}
|
|
15354
15356
|
|
|
15355
|
-
//
|
|
15357
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs
|
|
15356
15358
|
function MappedIntrinsicPropertyKey(K, M, options) {
|
|
15357
15359
|
return {
|
|
15358
15360
|
[K]: Intrinsic(Literal(K), M, Clone(options))
|
|
@@ -15372,7 +15374,7 @@ function IntrinsicFromMappedKey(T, M, options) {
|
|
|
15372
15374
|
return MappedResult(P);
|
|
15373
15375
|
}
|
|
15374
15376
|
|
|
15375
|
-
//
|
|
15377
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs
|
|
15376
15378
|
function ApplyUncapitalize(value) {
|
|
15377
15379
|
const [first, rest] = [value.slice(0, 1), value.slice(1)];
|
|
15378
15380
|
return [first.toLowerCase(), rest].join("");
|
|
@@ -15417,27 +15419,27 @@ function Intrinsic(schema, mode, options = {}) {
|
|
|
15417
15419
|
);
|
|
15418
15420
|
}
|
|
15419
15421
|
|
|
15420
|
-
//
|
|
15422
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs
|
|
15421
15423
|
function Capitalize(T, options = {}) {
|
|
15422
15424
|
return Intrinsic(T, "Capitalize", options);
|
|
15423
15425
|
}
|
|
15424
15426
|
|
|
15425
|
-
//
|
|
15427
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs
|
|
15426
15428
|
function Lowercase(T, options = {}) {
|
|
15427
15429
|
return Intrinsic(T, "Lowercase", options);
|
|
15428
15430
|
}
|
|
15429
15431
|
|
|
15430
|
-
//
|
|
15432
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs
|
|
15431
15433
|
function Uncapitalize(T, options = {}) {
|
|
15432
15434
|
return Intrinsic(T, "Uncapitalize", options);
|
|
15433
15435
|
}
|
|
15434
15436
|
|
|
15435
|
-
//
|
|
15437
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs
|
|
15436
15438
|
function Uppercase(T, options = {}) {
|
|
15437
15439
|
return Intrinsic(T, "Uppercase", options);
|
|
15438
15440
|
}
|
|
15439
15441
|
|
|
15440
|
-
//
|
|
15442
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs
|
|
15441
15443
|
function FromProperties12(properties, propertyKeys, options) {
|
|
15442
15444
|
const result = {};
|
|
15443
15445
|
for (const K2 of globalThis.Object.getOwnPropertyNames(properties))
|
|
@@ -15452,7 +15454,7 @@ function OmitFromMappedResult(mappedResult, propertyKeys, options) {
|
|
|
15452
15454
|
return MappedResult(properties);
|
|
15453
15455
|
}
|
|
15454
15456
|
|
|
15455
|
-
//
|
|
15457
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs
|
|
15456
15458
|
function FromIntersect6(types, propertyKeys) {
|
|
15457
15459
|
return types.map((type) => OmitResolve(type, propertyKeys));
|
|
15458
15460
|
}
|
|
@@ -15486,7 +15488,7 @@ function Omit(type, key, options) {
|
|
|
15486
15488
|
return IsMappedResult(type) ? OmitFromMappedResult(type, propertyKeys, options) : IsMappedKey(key) ? OmitFromMappedKey(type, key, options) : isTypeRef && isKeyRef ? Computed("Omit", [type, typeKey], options) : !isTypeRef && isKeyRef ? Computed("Omit", [type, typeKey], options) : isTypeRef && !isKeyRef ? Computed("Omit", [type, typeKey], options) : CreateType({ ...OmitResolve(type, propertyKeys), ...options });
|
|
15487
15489
|
}
|
|
15488
15490
|
|
|
15489
|
-
//
|
|
15491
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs
|
|
15490
15492
|
function FromPropertyKey2(type, key, options) {
|
|
15491
15493
|
return { [key]: Omit(type, [key], Clone(options)) };
|
|
15492
15494
|
}
|
|
@@ -15503,7 +15505,7 @@ function OmitFromMappedKey(type, mappedKey, options) {
|
|
|
15503
15505
|
return MappedResult(properties);
|
|
15504
15506
|
}
|
|
15505
15507
|
|
|
15506
|
-
//
|
|
15508
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs
|
|
15507
15509
|
function FromProperties14(properties, propertyKeys, options) {
|
|
15508
15510
|
const result = {};
|
|
15509
15511
|
for (const K2 of globalThis.Object.getOwnPropertyNames(properties))
|
|
@@ -15518,7 +15520,7 @@ function PickFromMappedResult(mappedResult, propertyKeys, options) {
|
|
|
15518
15520
|
return MappedResult(properties);
|
|
15519
15521
|
}
|
|
15520
15522
|
|
|
15521
|
-
//
|
|
15523
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs
|
|
15522
15524
|
function FromIntersect7(types, propertyKeys) {
|
|
15523
15525
|
return types.map((type) => PickResolve(type, propertyKeys));
|
|
15524
15526
|
}
|
|
@@ -15552,7 +15554,7 @@ function Pick(type, key, options) {
|
|
|
15552
15554
|
return IsMappedResult(type) ? PickFromMappedResult(type, propertyKeys, options) : IsMappedKey(key) ? PickFromMappedKey(type, key, options) : isTypeRef && isKeyRef ? Computed("Pick", [type, typeKey], options) : !isTypeRef && isKeyRef ? Computed("Pick", [type, typeKey], options) : isTypeRef && !isKeyRef ? Computed("Pick", [type, typeKey], options) : CreateType({ ...PickResolve(type, propertyKeys), ...options });
|
|
15553
15555
|
}
|
|
15554
15556
|
|
|
15555
|
-
//
|
|
15557
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs
|
|
15556
15558
|
function FromPropertyKey3(type, key, options) {
|
|
15557
15559
|
return {
|
|
15558
15560
|
[key]: Pick(type, [key], Clone(options))
|
|
@@ -15571,7 +15573,7 @@ function PickFromMappedKey(type, mappedKey, options) {
|
|
|
15571
15573
|
return MappedResult(properties);
|
|
15572
15574
|
}
|
|
15573
15575
|
|
|
15574
|
-
//
|
|
15576
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs
|
|
15575
15577
|
function FromComputed3(target, parameters) {
|
|
15576
15578
|
return Computed("Partial", [Computed(target, parameters)]);
|
|
15577
15579
|
}
|
|
@@ -15612,7 +15614,7 @@ function Partial(type, options) {
|
|
|
15612
15614
|
}
|
|
15613
15615
|
}
|
|
15614
15616
|
|
|
15615
|
-
//
|
|
15617
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs
|
|
15616
15618
|
function FromProperties17(K, options) {
|
|
15617
15619
|
const Acc = {};
|
|
15618
15620
|
for (const K2 of globalThis.Object.getOwnPropertyNames(K))
|
|
@@ -15627,7 +15629,7 @@ function PartialFromMappedResult(R, options) {
|
|
|
15627
15629
|
return MappedResult(P);
|
|
15628
15630
|
}
|
|
15629
15631
|
|
|
15630
|
-
//
|
|
15632
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/required/required.mjs
|
|
15631
15633
|
function FromComputed4(target, parameters) {
|
|
15632
15634
|
return Computed("Required", [Computed(target, parameters)]);
|
|
15633
15635
|
}
|
|
@@ -15668,7 +15670,7 @@ function Required(type, options) {
|
|
|
15668
15670
|
}
|
|
15669
15671
|
}
|
|
15670
15672
|
|
|
15671
|
-
//
|
|
15673
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs
|
|
15672
15674
|
function FromProperties19(P, options) {
|
|
15673
15675
|
const Acc = {};
|
|
15674
15676
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -15683,7 +15685,7 @@ function RequiredFromMappedResult(R, options) {
|
|
|
15683
15685
|
return MappedResult(P);
|
|
15684
15686
|
}
|
|
15685
15687
|
|
|
15686
|
-
//
|
|
15688
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs
|
|
15687
15689
|
function DereferenceParameters(moduleProperties, types) {
|
|
15688
15690
|
return types.map((type) => {
|
|
15689
15691
|
return IsRef(type) ? Dereference(moduleProperties, type.$ref) : FromType2(moduleProperties, type);
|
|
@@ -15779,7 +15781,7 @@ function ComputeModuleProperties(moduleProperties) {
|
|
|
15779
15781
|
}, {});
|
|
15780
15782
|
}
|
|
15781
15783
|
|
|
15782
|
-
//
|
|
15784
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/module/module.mjs
|
|
15783
15785
|
var TModule = class {
|
|
15784
15786
|
constructor($defs) {
|
|
15785
15787
|
const computed = ComputeModuleProperties($defs);
|
|
@@ -15802,17 +15804,17 @@ function Module(properties) {
|
|
|
15802
15804
|
return new TModule(properties);
|
|
15803
15805
|
}
|
|
15804
15806
|
|
|
15805
|
-
//
|
|
15807
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/not/not.mjs
|
|
15806
15808
|
function Not(type, options) {
|
|
15807
15809
|
return CreateType({ [Kind]: "Not", not: type }, options);
|
|
15808
15810
|
}
|
|
15809
15811
|
|
|
15810
|
-
//
|
|
15812
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs
|
|
15811
15813
|
function Parameters(schema, options) {
|
|
15812
15814
|
return IsFunction2(schema) ? Tuple(schema.parameters, options) : Never();
|
|
15813
15815
|
}
|
|
15814
15816
|
|
|
15815
|
-
//
|
|
15817
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs
|
|
15816
15818
|
var Ordinal = 0;
|
|
15817
15819
|
function Recursive(callback, options = {}) {
|
|
15818
15820
|
if (IsUndefined(options.$id))
|
|
@@ -15822,13 +15824,13 @@ function Recursive(callback, options = {}) {
|
|
|
15822
15824
|
return CreateType({ [Hint]: "Recursive", ...thisType }, options);
|
|
15823
15825
|
}
|
|
15824
15826
|
|
|
15825
|
-
//
|
|
15827
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs
|
|
15826
15828
|
function RegExp2(unresolved, options) {
|
|
15827
15829
|
const expr = IsString(unresolved) ? new globalThis.RegExp(unresolved) : unresolved;
|
|
15828
15830
|
return CreateType({ [Kind]: "RegExp", type: "RegExp", source: expr.source, flags: expr.flags }, options);
|
|
15829
15831
|
}
|
|
15830
15832
|
|
|
15831
|
-
//
|
|
15833
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs
|
|
15832
15834
|
function RestResolve(T) {
|
|
15833
15835
|
return IsIntersect(T) ? T.allOf : IsUnion(T) ? T.anyOf : IsTuple(T) ? T.items ?? [] : [];
|
|
15834
15836
|
}
|
|
@@ -15836,12 +15838,12 @@ function Rest(T) {
|
|
|
15836
15838
|
return RestResolve(T);
|
|
15837
15839
|
}
|
|
15838
15840
|
|
|
15839
|
-
//
|
|
15841
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs
|
|
15840
15842
|
function ReturnType(schema, options) {
|
|
15841
15843
|
return IsFunction2(schema) ? CreateType(schema.returns, options) : Never(options);
|
|
15842
15844
|
}
|
|
15843
15845
|
|
|
15844
|
-
//
|
|
15846
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs
|
|
15845
15847
|
var TransformDecodeBuilder = class {
|
|
15846
15848
|
constructor(schema) {
|
|
15847
15849
|
this.schema = schema;
|
|
@@ -15873,17 +15875,17 @@ function Transform(schema) {
|
|
|
15873
15875
|
return new TransformDecodeBuilder(schema);
|
|
15874
15876
|
}
|
|
15875
15877
|
|
|
15876
|
-
//
|
|
15878
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs
|
|
15877
15879
|
function Unsafe(options = {}) {
|
|
15878
15880
|
return CreateType({ [Kind]: options[Kind] ?? "Unsafe" }, options);
|
|
15879
15881
|
}
|
|
15880
15882
|
|
|
15881
|
-
//
|
|
15883
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/void/void.mjs
|
|
15882
15884
|
function Void(options) {
|
|
15883
15885
|
return CreateType({ [Kind]: "Void", type: "void" }, options);
|
|
15884
15886
|
}
|
|
15885
15887
|
|
|
15886
|
-
//
|
|
15888
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/type/type.mjs
|
|
15887
15889
|
var type_exports2 = {};
|
|
15888
15890
|
__export(type_exports2, {
|
|
15889
15891
|
Any: () => Any,
|
|
@@ -15950,10 +15952,10 @@ __export(type_exports2, {
|
|
|
15950
15952
|
Void: () => Void
|
|
15951
15953
|
});
|
|
15952
15954
|
|
|
15953
|
-
//
|
|
15955
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/type/index.mjs
|
|
15954
15956
|
var Type = type_exports2;
|
|
15955
15957
|
|
|
15956
|
-
// ../
|
|
15958
|
+
// ../plays/authoring-contract.ts
|
|
15957
15959
|
var PLAY_SQL_LISTENER_WHERE_OPERATORS = [
|
|
15958
15960
|
"eq",
|
|
15959
15961
|
"neq",
|
|
@@ -17308,7 +17310,7 @@ var PLAY_AUTHORING_CLOUD_TYPE_DECLARATIONS = [
|
|
|
17308
17310
|
"export type DefinedPlay<TInput, TOutput extends PlayReturnObject> = ((ctx: DeeplinePlayRuntimeContext, input: TInput) => Promise<TOutput>) & { readonly name: string; readonly __inputType?: TInput; readonly __outputType?: TOutput; readonly runtime?: PlayBindings['runtime']; readonly compatibility?: PlayBindings['compatibility'] };"
|
|
17309
17311
|
];
|
|
17310
17312
|
|
|
17311
|
-
// ../
|
|
17313
|
+
// ../plays/ts-ast.ts
|
|
17312
17314
|
var import_acorn = require("acorn");
|
|
17313
17315
|
var import_acorn_typescript = require("acorn-typescript");
|
|
17314
17316
|
var TypeScriptParser = import_acorn.Parser.extend(
|
|
@@ -17338,7 +17340,7 @@ function parsePlaySourceForAnalysis(sourceCode) {
|
|
|
17338
17340
|
}
|
|
17339
17341
|
}
|
|
17340
17342
|
|
|
17341
|
-
// ../
|
|
17343
|
+
// ../plays/play-exports.ts
|
|
17342
17344
|
var PLAY_DEFAULT_EXPORT = "default";
|
|
17343
17345
|
function getIdentifierName(node) {
|
|
17344
17346
|
return isAstNode(node) && node.type === "Identifier" ? typeof node.name === "string" ? node.name : null : null;
|
|
@@ -17440,7 +17442,7 @@ function listPlayFileExports(sourceCode) {
|
|
|
17440
17442
|
return exports2;
|
|
17441
17443
|
}
|
|
17442
17444
|
|
|
17443
|
-
// ../
|
|
17445
|
+
// ../plays/secret-guardrails.ts
|
|
17444
17446
|
var SECRET_ENV_PATTERN = /\bprocess(?:\.env|\[['"]env['"]\])(?:\.|\[['"])([A-Z0-9_]*(?:API[_-]?KEY|TOKEN|SECRET|PASSWORD|PRIVATE[_-]?KEY|ACCESS[_-]?KEY)[A-Z0-9_]*)(?:['"]\])?/g;
|
|
17445
17447
|
var PRIVATE_KEY_PATTERN = /-----BEGIN (?:RSA |EC |OPENSSH |PGP )?PRIVATE KEY-----/;
|
|
17446
17448
|
var BEARER_LITERAL_PATTERN = /\bBearer\s+[A-Za-z0-9._~+/=-]{16,}/i;
|
|
@@ -17569,10 +17571,10 @@ function collectInlineSecretFindings(sourceCode) {
|
|
|
17569
17571
|
return [...new Set(findings)];
|
|
17570
17572
|
}
|
|
17571
17573
|
|
|
17572
|
-
// ../
|
|
17574
|
+
// ../plays/bundling/limits.ts
|
|
17573
17575
|
var MAX_PLAY_BUNDLE_BYTES = 30 * 1024 * 1024;
|
|
17574
17576
|
|
|
17575
|
-
// ../
|
|
17577
|
+
// ../plays/bundling/index.ts
|
|
17576
17578
|
var PLAY_BUNDLE_CACHE_VERSION = 36;
|
|
17577
17579
|
var PLAY_ARTIFACT_CACHE_DIR = (0, import_node_path11.join)(
|
|
17578
17580
|
(0, import_node_os7.tmpdir)(),
|
|
@@ -18107,7 +18109,7 @@ function extractDefinedPlayMetadata(sourceCode, exportName) {
|
|
|
18107
18109
|
return null;
|
|
18108
18110
|
}
|
|
18109
18111
|
|
|
18110
|
-
// ../
|
|
18112
|
+
// ../play-runtime/scheduler-backend.ts
|
|
18111
18113
|
var PLAY_SCHEDULER_BACKENDS = {
|
|
18112
18114
|
/**
|
|
18113
18115
|
* Postgres-native durable-execution scheduler (vendored Absurd engine). Runs
|
|
@@ -18118,7 +18120,7 @@ var PLAY_SCHEDULER_BACKENDS = {
|
|
|
18118
18120
|
inProcess: "in-process"
|
|
18119
18121
|
};
|
|
18120
18122
|
|
|
18121
|
-
// ../
|
|
18123
|
+
// ../play-runtime/providers.ts
|
|
18122
18124
|
var PLAY_RUNTIME_PROVIDER_IDS = {
|
|
18123
18125
|
absurd: "absurd"
|
|
18124
18126
|
};
|
|
@@ -18155,7 +18157,7 @@ function resolveEnabledPlayRuntimeProvider(override) {
|
|
|
18155
18157
|
return resolvePlayRuntimeProvider(override);
|
|
18156
18158
|
}
|
|
18157
18159
|
|
|
18158
|
-
// ../
|
|
18160
|
+
// ../play-runtime/profiles.ts
|
|
18159
18161
|
var PLAY_EXECUTION_PROFILE_IDS = {
|
|
18160
18162
|
...PLAY_RUNTIME_PROVIDER_IDS
|
|
18161
18163
|
};
|
|
@@ -18184,9 +18186,9 @@ var import_node_path12 = require("path");
|
|
|
18184
18186
|
var import_meta = {};
|
|
18185
18187
|
var MODULE_DIR = (0, import_node_path13.dirname)((0, import_node_url.fileURLToPath)(import_meta.url));
|
|
18186
18188
|
var SDK_PACKAGE_ROOT = (0, import_node_path13.resolve)(MODULE_DIR, "..", "..");
|
|
18187
|
-
var SOURCE_REPO_ROOT = (0, import_node_path13.resolve)(SDK_PACKAGE_ROOT, "..");
|
|
18189
|
+
var SOURCE_REPO_ROOT = (0, import_node_path13.resolve)(SDK_PACKAGE_ROOT, "..", "..");
|
|
18188
18190
|
var HAS_SOURCE_BUNDLING_SOURCES = (0, import_node_fs11.existsSync)(
|
|
18189
|
-
(0, import_node_path13.resolve)(SOURCE_REPO_ROOT, "
|
|
18191
|
+
(0, import_node_path13.resolve)(SOURCE_REPO_ROOT, "packages", "plays", "bundling", "index.ts")
|
|
18190
18192
|
);
|
|
18191
18193
|
var PACKAGED_BUNDLING_SOURCE_ROOT = (0, import_node_path13.resolve)(
|
|
18192
18194
|
SDK_PACKAGE_ROOT,
|
|
@@ -18203,7 +18205,7 @@ var HAS_PACKAGED_BUNDLING_SOURCES = (0, import_node_fs11.existsSync)(
|
|
|
18203
18205
|
)
|
|
18204
18206
|
);
|
|
18205
18207
|
var PROJECT_ROOT = HAS_SOURCE_BUNDLING_SOURCES ? SOURCE_REPO_ROOT : HAS_PACKAGED_BUNDLING_SOURCES ? PACKAGED_BUNDLING_SOURCE_ROOT : (0, import_node_path13.resolve)(SDK_PACKAGE_ROOT, "..");
|
|
18206
|
-
var SDK_SOURCE_ROOT = HAS_SOURCE_BUNDLING_SOURCES ? (0, import_node_path13.resolve)(
|
|
18208
|
+
var SDK_SOURCE_ROOT = HAS_SOURCE_BUNDLING_SOURCES ? (0, import_node_path13.resolve)(SDK_PACKAGE_ROOT, "src") : HAS_PACKAGED_BUNDLING_SOURCES ? (0, import_node_path13.resolve)(PACKAGED_BUNDLING_SOURCE_ROOT, "sdk", "src") : (0, import_node_path13.resolve)(SDK_PACKAGE_ROOT, "src");
|
|
18207
18209
|
var SDK_PACKAGE_JSON = (0, import_node_path13.resolve)(SDK_PACKAGE_ROOT, "package.json");
|
|
18208
18210
|
var SDK_ENTRY_FILE = (0, import_node_path13.resolve)(SDK_SOURCE_ROOT, "index.ts");
|
|
18209
18211
|
var SDK_TYPES_ENTRY_FILE = HAS_SOURCE_BUNDLING_SOURCES ? SDK_ENTRY_FILE : (0, import_node_path13.resolve)(SDK_PACKAGE_ROOT, "dist", "index.d.ts");
|
|
@@ -18475,7 +18477,7 @@ ${hint}`;
|
|
|
18475
18477
|
});
|
|
18476
18478
|
}
|
|
18477
18479
|
|
|
18478
|
-
// ../
|
|
18480
|
+
// ../play-runtime/governor/policy.ts
|
|
18479
18481
|
var DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS = 64;
|
|
18480
18482
|
var MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS = 256;
|
|
18481
18483
|
var MAX_CONFIGURABLE_CONCURRENT_ROWS = 1e3;
|
|
@@ -18500,7 +18502,7 @@ function resolveMaxConcurrentRows(requested) {
|
|
|
18500
18502
|
return requested;
|
|
18501
18503
|
}
|
|
18502
18504
|
|
|
18503
|
-
// ../
|
|
18505
|
+
// ../plays/sandbox-runtime-limits.ts
|
|
18504
18506
|
var PLAY_SANDBOX_SIZE_LIMITS = {
|
|
18505
18507
|
standard: {
|
|
18506
18508
|
memoryGiB: 1,
|
|
@@ -18575,7 +18577,7 @@ function resolvePlaySandboxRuntimeLimits(declaration) {
|
|
|
18575
18577
|
});
|
|
18576
18578
|
}
|
|
18577
18579
|
|
|
18578
|
-
// ../
|
|
18580
|
+
// ../play-runtime/worker-api-types.ts
|
|
18579
18581
|
var DAYTONA_COMPUTE_PRICING_USD = {
|
|
18580
18582
|
vcpuSecond: 14e-6,
|
|
18581
18583
|
memoryGiBSecond: 45e-7,
|
|
@@ -18614,7 +18616,7 @@ function resolveDaytonaSandboxComputeItem(input2) {
|
|
|
18614
18616
|
};
|
|
18615
18617
|
}
|
|
18616
18618
|
|
|
18617
|
-
//
|
|
18619
|
+
// ../../shared_libs/billing/compute-pricing.ts
|
|
18618
18620
|
var COMPUTE_BILLING_MARKUP_MULTIPLIER = 5;
|
|
18619
18621
|
var DEFAULT_USD_PER_CUSTOMER_CREDIT = 0.1;
|
|
18620
18622
|
var DEFAULT_PROVIDER_MARKUP_MULTIPLIER = 1.4;
|
|
@@ -18642,13 +18644,13 @@ function formatNonStandardSandboxRuntimeWarning(limits) {
|
|
|
18642
18644
|
return `This Play requests the standard sandbox for up to ${limits.timeoutSeconds}s (${limits.memoryGiB}GiB memory, ${limits.cpu} CPU, ${limits.diskGiB}GiB disk). Maximum compute estimate: ${maximumComputeCredits.toFixed(2)} Deepline credits. Longer runtimes are risky.`;
|
|
18643
18645
|
}
|
|
18644
18646
|
|
|
18645
|
-
// ../
|
|
18647
|
+
// ../play-runtime/internal-step-ids.ts
|
|
18646
18648
|
var INTERNAL_GLUE_NODE_ID_PREFIX = "run_javascript:";
|
|
18647
18649
|
function isInternalGlueStepId(stepId) {
|
|
18648
18650
|
return typeof stepId === "string" && stepId.startsWith(INTERNAL_GLUE_NODE_ID_PREFIX);
|
|
18649
18651
|
}
|
|
18650
18652
|
|
|
18651
|
-
// ../
|
|
18653
|
+
// ../play-runtime/log-provenance.ts
|
|
18652
18654
|
var LOG_PROVENANCE_CLASSES = [
|
|
18653
18655
|
"user",
|
|
18654
18656
|
"lifecycle",
|
|
@@ -18721,7 +18723,7 @@ function stripLeadingTimestamp(line) {
|
|
|
18721
18723
|
return isTimestamp ? match[2] ?? line : line;
|
|
18722
18724
|
}
|
|
18723
18725
|
|
|
18724
|
-
// ../
|
|
18726
|
+
// ../play-runtime/fixture-behavior.ts
|
|
18725
18727
|
var FIXTURE_BEHAVIOR_VERSION = 1;
|
|
18726
18728
|
var FIXTURE_BEHAVIOR_RESPONSE_VERSION = 2;
|
|
18727
18729
|
var FIXTURE_BEHAVIOR_REPLAY_VERSION = 3;
|
|
@@ -27068,7 +27070,7 @@ async function handlePlayShareUnpublish(args) {
|
|
|
27068
27070
|
return 0;
|
|
27069
27071
|
}
|
|
27070
27072
|
|
|
27071
|
-
// ../
|
|
27073
|
+
// ../plays/tool-codegen.ts
|
|
27072
27074
|
var KNOWN_GETTER_NAMES = /* @__PURE__ */ new Set([
|
|
27073
27075
|
"company_domain",
|
|
27074
27076
|
"company_linkedin_url",
|
|
@@ -27174,7 +27176,7 @@ function getterFromLegacyExtractJs(extractJs, fallbackAlias) {
|
|
|
27174
27176
|
return null;
|
|
27175
27177
|
}
|
|
27176
27178
|
|
|
27177
|
-
// ../
|
|
27179
|
+
// ../plays/enrich-compat-adapter.ts
|
|
27178
27180
|
var ENRICH_COMPAT_DEFAULT_PLAY_NAME = "deepline-enrich-v1-compat";
|
|
27179
27181
|
var ENRICH_COMPAT_DEFAULT_MAP_NAME = "deepline_enrich_rows";
|
|
27180
27182
|
function buildEnrichCompatibilityPlan(options = {}) {
|
|
@@ -27184,7 +27186,7 @@ function buildEnrichCompatibilityPlan(options = {}) {
|
|
|
27184
27186
|
};
|
|
27185
27187
|
}
|
|
27186
27188
|
|
|
27187
|
-
// ../
|
|
27189
|
+
// ../plays/user-code-safety.ts
|
|
27188
27190
|
var FORBIDDEN = [
|
|
27189
27191
|
// Non-deterministic — breaks replay.
|
|
27190
27192
|
{ pattern: /\bMath\s*\.\s*random\b/, reason: "Math.random()" },
|
|
@@ -27221,7 +27223,7 @@ function assertUserCodeIsSafe(code, label) {
|
|
|
27221
27223
|
}
|
|
27222
27224
|
}
|
|
27223
27225
|
|
|
27224
|
-
// ../
|
|
27226
|
+
// ../plays/enrich-play-compiler.ts
|
|
27225
27227
|
function isWaterfall(command) {
|
|
27226
27228
|
return "with_waterfall" in command;
|
|
27227
27229
|
}
|
|
@@ -35239,7 +35241,7 @@ var import_node_fs16 = require("fs");
|
|
|
35239
35241
|
var import_node_os11 = require("os");
|
|
35240
35242
|
var import_node_path18 = require("path");
|
|
35241
35243
|
|
|
35242
|
-
//
|
|
35244
|
+
// ../../shared_libs/cli/install-commands.json
|
|
35243
35245
|
var install_commands_default = {
|
|
35244
35246
|
skills: {
|
|
35245
35247
|
index_path: "/.well-known/skills/index.json",
|
|
@@ -37448,6 +37450,10 @@ function resolvePythonSidecarUpdatePlan(options) {
|
|
|
37448
37450
|
function findRepoBackedSdkRoot(startPath) {
|
|
37449
37451
|
let current = (0, import_node_path22.resolve)(startPath);
|
|
37450
37452
|
while (true) {
|
|
37453
|
+
if ((0, import_node_fs20.existsSync)((0, import_node_path22.join)(current, "package.json")) && (0, import_node_fs20.existsSync)((0, import_node_path22.join)(current, "bin", "deepline-dev.ts"))) {
|
|
37454
|
+
const parent2 = (0, import_node_path22.dirname)(current);
|
|
37455
|
+
return (0, import_node_path22.basename)(parent2) === "packages" && (0, import_node_path22.basename)(current) === "sdk" ? (0, import_node_path22.dirname)(parent2) : parent2;
|
|
37456
|
+
}
|
|
37451
37457
|
if ((0, import_node_fs20.existsSync)((0, import_node_path22.join)(current, "sdk", "package.json")) && (0, import_node_fs20.existsSync)((0, import_node_path22.join)(current, "sdk", "bin", "deepline-dev.ts"))) {
|
|
37452
37458
|
return current;
|
|
37453
37459
|
}
|
|
@@ -39142,7 +39148,7 @@ function extractSummaryFields(payload) {
|
|
|
39142
39148
|
return {};
|
|
39143
39149
|
}
|
|
39144
39150
|
|
|
39145
|
-
// ../
|
|
39151
|
+
// ../plays/tool-category-descriptions.ts
|
|
39146
39152
|
var TOOL_CATEGORY_DESCRIPTIONS = {
|
|
39147
39153
|
company_search: "Find companies matching firmographic, ad, or web criteria.",
|
|
39148
39154
|
people_search: "Find people matching role, company, or persona criteria.",
|