deepline 0.3.45 → 0.3.47
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 +181 -169
- package/dist/cli/index.mjs +189 -170
- 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.mjs
CHANGED
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
import { homedir } from "os";
|
|
182
182
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
183
183
|
|
|
184
|
-
// ../
|
|
184
|
+
// ../plays/tool-execution-error.ts
|
|
185
185
|
var DEEPLINE_ERROR_BRAND = Symbol.for("deepline.error.v1");
|
|
186
186
|
var TOOL_EXECUTION_ERROR_BRAND = Symbol.for(
|
|
187
187
|
"deepline.tool-execution-error.v1"
|
|
@@ -980,7 +980,7 @@ function getActiveProjectAuthSource(startDir = process.cwd()) {
|
|
|
980
980
|
return loadProjectEnvCandidates(startDir)[0] ?? null;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
// ../
|
|
983
|
+
// ../plays/artifact-contract-version.ts
|
|
984
984
|
var CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION = 2;
|
|
985
985
|
|
|
986
986
|
// src/release.ts
|
|
@@ -1029,7 +1029,7 @@ var SDK_RELEASE = {
|
|
|
1029
1029
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
1030
1030
|
// getters keep their established compatibility behavior.
|
|
1031
1031
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1032
|
-
version: "0.3.
|
|
1032
|
+
version: "0.3.47",
|
|
1033
1033
|
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.",
|
|
1034
1034
|
packageCapabilities: {
|
|
1035
1035
|
updatePreferences: 1
|
|
@@ -1303,7 +1303,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
|
|
|
1303
1303
|
`, "utf-8");
|
|
1304
1304
|
}
|
|
1305
1305
|
|
|
1306
|
-
// ../
|
|
1306
|
+
// ../play-runtime/coordinator-headers.ts
|
|
1307
1307
|
var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
|
|
1308
1308
|
var COORDINATOR_URL_OVERRIDE_HEADER = "x-deepline-coordinator-url";
|
|
1309
1309
|
var WORKER_CALLBACK_URL_OVERRIDE_HEADER = "x-deepline-worker-callback-url";
|
|
@@ -1313,7 +1313,7 @@ var ABSURD_RELEASE_OVERRIDE_HEADER = "x-deepline-absurd-release";
|
|
|
1313
1313
|
var PREFERRED_RECEIPT_GATEWAY_MACHINE_ID_HEADER = "x-deepline-preferred-receipt-gateway-machine-id";
|
|
1314
1314
|
var SYNTHETIC_RUN_HEADER = "x-deepline-synthetic-run";
|
|
1315
1315
|
|
|
1316
|
-
// ../
|
|
1316
|
+
// ../play-runtime/runtime-incident-drills.ts
|
|
1317
1317
|
var RUNTIME_TEST_FAULT_IDS = [
|
|
1318
1318
|
"receipt_complete_write_fail",
|
|
1319
1319
|
"receipt_fail_write_fail",
|
|
@@ -1561,7 +1561,7 @@ function runtimeTestFaultDrills() {
|
|
|
1561
1561
|
return RUNTIME_INCIDENT_DRILL_CATALOG.filter(isRuntimeTestFaultDrill);
|
|
1562
1562
|
}
|
|
1563
1563
|
|
|
1564
|
-
// ../
|
|
1564
|
+
// ../play-runtime/test-runtime-seams.ts
|
|
1565
1565
|
var PLAY_RUNTIME_TEST_FAULT_HEADER = "x-deepline-test-fault";
|
|
1566
1566
|
var SUPPORTED_RUNTIME_TEST_FAULTS = new Set(
|
|
1567
1567
|
runtimeTestFaultDrills().map(({ id }) => id)
|
|
@@ -2176,7 +2176,7 @@ function withCoworkNetworkHint(message) {
|
|
|
2176
2176
|
${COWORK_NETWORK_HINT}`;
|
|
2177
2177
|
}
|
|
2178
2178
|
|
|
2179
|
-
// ../
|
|
2179
|
+
// ../product-notifications/contract.ts
|
|
2180
2180
|
var PRODUCT_NOTIFICATION_EVENT_CATALOG = [
|
|
2181
2181
|
{
|
|
2182
2182
|
id: "play.cron.succeeded",
|
|
@@ -2281,7 +2281,7 @@ function isTransientPlayStreamError(error) {
|
|
|
2281
2281
|
);
|
|
2282
2282
|
}
|
|
2283
2283
|
|
|
2284
|
-
// ../
|
|
2284
|
+
// ../play-runtime/live-events.ts
|
|
2285
2285
|
function resolveTimingWindow(input2) {
|
|
2286
2286
|
const startedAt = typeof input2.startedAt === "number" && Number.isFinite(input2.startedAt) ? input2.startedAt : null;
|
|
2287
2287
|
const completedAt = typeof input2.completedAt === "number" && Number.isFinite(input2.completedAt) ? input2.completedAt : null;
|
|
@@ -2293,10 +2293,10 @@ function resolveTimingWindow(input2) {
|
|
|
2293
2293
|
};
|
|
2294
2294
|
}
|
|
2295
2295
|
|
|
2296
|
-
// ../
|
|
2296
|
+
// ../play-runtime/run-failure.ts
|
|
2297
2297
|
var PUBLIC_FAILURE_TEXT_BYTE_LIMIT = 64 * 1024;
|
|
2298
2298
|
|
|
2299
|
-
// ../
|
|
2299
|
+
// ../play-runtime/run-terminal-source.ts
|
|
2300
2300
|
var PLAY_RUN_LEDGER_EVENT_SOURCES = [
|
|
2301
2301
|
"worker",
|
|
2302
2302
|
"convex",
|
|
@@ -2309,7 +2309,7 @@ function normalizePlayRunLedgerTerminalSource(value) {
|
|
|
2309
2309
|
) ? value : null;
|
|
2310
2310
|
}
|
|
2311
2311
|
|
|
2312
|
-
// ../
|
|
2312
|
+
// ../play-runtime/secret-redaction.ts
|
|
2313
2313
|
var SECRET_REDACTION_PLACEHOLDER = "[REDACTED_SECRET]";
|
|
2314
2314
|
var BEARER_TOKEN_RE = /\bBearer\s+[A-Za-z0-9._~+/=-]{12,}\b/g;
|
|
2315
2315
|
var BASIC_CREDENTIAL_RE = /\bBasic\s+[A-Za-z0-9+/]{4,}={0,2}\b/g;
|
|
@@ -2442,7 +2442,7 @@ function createSecretRedactionContext(initialValues = []) {
|
|
|
2442
2442
|
};
|
|
2443
2443
|
}
|
|
2444
2444
|
|
|
2445
|
-
// ../
|
|
2445
|
+
// ../play-runtime/output-size-limits.ts
|
|
2446
2446
|
var TERMINAL_RUN_RESULT_MAX_BYTES = 6 * 1024 * 1024;
|
|
2447
2447
|
var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
|
|
2448
2448
|
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 5 * 1024 * 1024;
|
|
@@ -2455,10 +2455,10 @@ var RUNTIME_RECEIPT_WRITER_TARGET_BATCH_BYTES = 4 * 1024 * 1024;
|
|
|
2455
2455
|
var RUNNER_POST_TERMINAL_DIAGNOSTIC_MAX_BYTES = 64 * 1024;
|
|
2456
2456
|
var JSON_SIZE_LIMIT_REACHED = Symbol("JSON_SIZE_LIMIT_REACHED");
|
|
2457
2457
|
|
|
2458
|
-
// ../
|
|
2458
|
+
// ../play-runtime/ledger-safe-payload.ts
|
|
2459
2459
|
var ledgerIngressRedactor = createSecretRedactionContext();
|
|
2460
2460
|
|
|
2461
|
-
// ../
|
|
2461
|
+
// ../play-runtime/docflow-node-io.ts
|
|
2462
2462
|
var DOCFLOW_NODE_IO_LIMITS = {
|
|
2463
2463
|
maxPaths: 16,
|
|
2464
2464
|
maxDepth: 3,
|
|
@@ -2780,7 +2780,7 @@ function normalizePlayDocflowNodeIoState(value) {
|
|
|
2780
2780
|
};
|
|
2781
2781
|
}
|
|
2782
2782
|
|
|
2783
|
-
// ../
|
|
2783
|
+
// ../play-runtime/activity-observation.ts
|
|
2784
2784
|
function isRecord4(value) {
|
|
2785
2785
|
return Boolean(value && typeof value === "object" && !Array.isArray(value));
|
|
2786
2786
|
}
|
|
@@ -3055,7 +3055,7 @@ function projectPlayRunActivity(input2) {
|
|
|
3055
3055
|
return projection(fallback, now, normalizedStatus !== "waiting");
|
|
3056
3056
|
}
|
|
3057
3057
|
|
|
3058
|
-
// ../
|
|
3058
|
+
// ../play-runtime/cell-provenance.ts
|
|
3059
3059
|
function finiteNonNegativeInteger2(value) {
|
|
3060
3060
|
if (typeof value !== "number" || !Number.isFinite(value) || value < 0) {
|
|
3061
3061
|
return null;
|
|
@@ -3076,7 +3076,7 @@ function normalizeDatasetBornFrom(value) {
|
|
|
3076
3076
|
return { table, rowCountIn };
|
|
3077
3077
|
}
|
|
3078
3078
|
|
|
3079
|
-
// ../
|
|
3079
|
+
// ../play-runtime/run-ledger.ts
|
|
3080
3080
|
var LOG_TAIL_LIMIT = 100;
|
|
3081
3081
|
function isRecord5(value) {
|
|
3082
3082
|
return Boolean(value && typeof value === "object" && !Array.isArray(value));
|
|
@@ -3308,7 +3308,7 @@ function normalizeStepProgress(value) {
|
|
|
3308
3308
|
};
|
|
3309
3309
|
}
|
|
3310
3310
|
|
|
3311
|
-
// ../
|
|
3311
|
+
// ../play-runtime/run-lifecycle-policy.ts
|
|
3312
3312
|
var TERMINAL_PLAY_RUN_STATUSES = /* @__PURE__ */ new Set([
|
|
3313
3313
|
"completed",
|
|
3314
3314
|
"failed",
|
|
@@ -3369,7 +3369,7 @@ function decodePlayRunPublicStatus(value) {
|
|
|
3369
3369
|
}
|
|
3370
3370
|
}
|
|
3371
3371
|
|
|
3372
|
-
// ../
|
|
3372
|
+
// ../play-runtime/run-snapshot-stream.ts
|
|
3373
3373
|
function normalizePlayRunLiveStatus(value) {
|
|
3374
3374
|
return normalizePlayRunLifecycleStatus(value);
|
|
3375
3375
|
}
|
|
@@ -4028,7 +4028,7 @@ async function* observeRunEvents(options) {
|
|
|
4028
4028
|
}
|
|
4029
4029
|
}
|
|
4030
4030
|
|
|
4031
|
-
//
|
|
4031
|
+
// ../../shared_libs/integrations/theirstack-execution-policy.ts
|
|
4032
4032
|
var THEIRSTACK_SLOW_JOB_SEARCH_PROVIDER_TIMEOUT_MS = 135e3;
|
|
4033
4033
|
var THEIRSTACK_SLOW_JOB_SEARCH_CLIENT_TIMEOUT_MS = 6e4 + THEIRSTACK_SLOW_JOB_SEARCH_PROVIDER_TIMEOUT_MS + 15e3;
|
|
4034
4034
|
var THEIRSTACK_COMPANY_SEARCH_CLIENT_TIMEOUT_MS = 21e4;
|
|
@@ -4082,7 +4082,7 @@ function resolveTheirstackClientTimeoutMs(endpointId, payload) {
|
|
|
4082
4082
|
return usesExtendedTheirstackJobSearchBudget(endpointId, payload) ? THEIRSTACK_SLOW_JOB_SEARCH_CLIENT_TIMEOUT_MS : null;
|
|
4083
4083
|
}
|
|
4084
4084
|
|
|
4085
|
-
//
|
|
4085
|
+
// ../../shared_libs/integrations/bettercontact-execution-policy.ts
|
|
4086
4086
|
var BETTERCONTACT_LAUNCHER_CLIENT_TIMEOUT_MS = 12e4;
|
|
4087
4087
|
var BETTERCONTACT_LAUNCHER_TOOL_IDS = /* @__PURE__ */ new Set([
|
|
4088
4088
|
"bettercontact_enrich",
|
|
@@ -4092,15 +4092,17 @@ function usesExtendedBetterContactLauncherBudget(toolId) {
|
|
|
4092
4092
|
return BETTERCONTACT_LAUNCHER_TOOL_IDS.has(toolId.trim().toLowerCase());
|
|
4093
4093
|
}
|
|
4094
4094
|
|
|
4095
|
-
// ../
|
|
4095
|
+
// ../plays/artifact-types.ts
|
|
4096
|
+
var PLAY_ARTIFACT_KINDS = {
|
|
4097
|
+
cjsNode20: "cjs_node20"
|
|
4098
|
+
};
|
|
4099
|
+
|
|
4100
|
+
// ../play-runtime/backend.ts
|
|
4096
4101
|
var PLAY_RUNTIME_BACKENDS = {
|
|
4097
4102
|
localProcess: "local_process",
|
|
4098
4103
|
daytona: "daytona",
|
|
4099
4104
|
modal: "modal"
|
|
4100
4105
|
};
|
|
4101
|
-
var PLAY_ARTIFACT_KINDS = {
|
|
4102
|
-
cjsNode20: "cjs_node20"
|
|
4103
|
-
};
|
|
4104
4106
|
var PLAY_BACKEND_DESCRIPTORS = {
|
|
4105
4107
|
[PLAY_RUNTIME_BACKENDS.localProcess]: {
|
|
4106
4108
|
id: PLAY_RUNTIME_BACKENDS.localProcess,
|
|
@@ -4119,7 +4121,7 @@ var PLAY_BACKEND_DESCRIPTORS = {
|
|
|
4119
4121
|
}
|
|
4120
4122
|
};
|
|
4121
4123
|
|
|
4122
|
-
// ../
|
|
4124
|
+
// ../play-runtime/runtime-environment.ts
|
|
4123
4125
|
var PLAY_RUNTIME_ENVIRONMENTS = ["preview"];
|
|
4124
4126
|
var PLAY_RUNTIME_NAMESPACE_PATTERN = /^[a-z][a-z0-9-]{0,30}$/;
|
|
4125
4127
|
function normalizePlayRuntimeNamespace(value) {
|
|
@@ -4149,7 +4151,7 @@ function normalizePlayRuntimeEnvironment(value) {
|
|
|
4149
4151
|
return typeof value === "string" && PLAY_RUNTIME_ENVIRONMENTS.includes(value) ? value : null;
|
|
4150
4152
|
}
|
|
4151
4153
|
|
|
4152
|
-
// ../
|
|
4154
|
+
// ../plays/tool-response-contract.ts
|
|
4153
4155
|
var RAW_V2_TOOL_RESPONSE_CONTRACT = "raw-v2";
|
|
4154
4156
|
function legacyRawFromToolResponseRawV2(rawV2, view, responseMeta) {
|
|
4155
4157
|
const legacyRaw = view === "data" && rawV2 && typeof rawV2 === "object" && !Array.isArray(rawV2) ? rawV2.data : rawV2;
|
|
@@ -10079,7 +10081,7 @@ import { join as join6, resolve as resolve5 } from "path";
|
|
|
10079
10081
|
import { writeFileSync as writeFileSync6 } from "fs";
|
|
10080
10082
|
import { resolve as resolve4 } from "path";
|
|
10081
10083
|
|
|
10082
|
-
// ../
|
|
10084
|
+
// ../plays/dataset-summary.ts
|
|
10083
10085
|
function formatDatasetRowCountsLine(counts) {
|
|
10084
10086
|
const { persisted, succeeded, failed } = counts;
|
|
10085
10087
|
if (succeeded === persisted && failed === 0) {
|
|
@@ -11681,7 +11683,7 @@ import {
|
|
|
11681
11683
|
import { isAbsolute as isAbsolute2, relative, resolve as resolve7 } from "path";
|
|
11682
11684
|
import { parse as parseCsvSync } from "csv-parse/sync";
|
|
11683
11685
|
|
|
11684
|
-
// ../
|
|
11686
|
+
// ../plays/bootstrap-routes.ts
|
|
11685
11687
|
var PLAY_BOOTSTRAP_TEMPLATES = [
|
|
11686
11688
|
"people-list",
|
|
11687
11689
|
"company-list",
|
|
@@ -13381,7 +13383,7 @@ import { fileURLToPath } from "url";
|
|
|
13381
13383
|
import { existsSync as existsSync8 } from "fs";
|
|
13382
13384
|
import { realpath as realpath2 } from "fs/promises";
|
|
13383
13385
|
|
|
13384
|
-
// ../
|
|
13386
|
+
// ../plays/bundling/index.ts
|
|
13385
13387
|
import { createHash as createHash2 } from "crypto";
|
|
13386
13388
|
import { existsSync as existsSync7, readFileSync as readFileSync7 } from "fs";
|
|
13387
13389
|
import { mkdir as mkdir3, readFile, realpath, stat, writeFile as writeFile3 } from "fs/promises";
|
|
@@ -13403,7 +13405,7 @@ import {
|
|
|
13403
13405
|
transformSync
|
|
13404
13406
|
} from "esbuild";
|
|
13405
13407
|
|
|
13406
|
-
//
|
|
13408
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs
|
|
13407
13409
|
var value_exports = {};
|
|
13408
13410
|
__export(value_exports, {
|
|
13409
13411
|
HasPropertyKey: () => HasPropertyKey,
|
|
@@ -13472,7 +13474,7 @@ function IsUndefined(value) {
|
|
|
13472
13474
|
return value === void 0;
|
|
13473
13475
|
}
|
|
13474
13476
|
|
|
13475
|
-
//
|
|
13477
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs
|
|
13476
13478
|
function ArrayType(value) {
|
|
13477
13479
|
return value.map((value2) => Visit(value2));
|
|
13478
13480
|
}
|
|
@@ -13502,12 +13504,12 @@ function Clone(value) {
|
|
|
13502
13504
|
return Visit(value);
|
|
13503
13505
|
}
|
|
13504
13506
|
|
|
13505
|
-
//
|
|
13507
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs
|
|
13506
13508
|
function CloneType(schema, options) {
|
|
13507
13509
|
return options === void 0 ? Clone(schema) : Clone({ ...options, ...schema });
|
|
13508
13510
|
}
|
|
13509
13511
|
|
|
13510
|
-
//
|
|
13512
|
+
// ../../node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs
|
|
13511
13513
|
function IsObject2(value) {
|
|
13512
13514
|
return value !== null && typeof value === "object";
|
|
13513
13515
|
}
|
|
@@ -13521,7 +13523,7 @@ function IsNumber2(value) {
|
|
|
13521
13523
|
return typeof value === "number";
|
|
13522
13524
|
}
|
|
13523
13525
|
|
|
13524
|
-
//
|
|
13526
|
+
// ../../node_modules/@sinclair/typebox/build/esm/system/policy.mjs
|
|
13525
13527
|
var TypeSystemPolicy;
|
|
13526
13528
|
(function(TypeSystemPolicy2) {
|
|
13527
13529
|
TypeSystemPolicy2.InstanceMode = "default";
|
|
@@ -13553,7 +13555,7 @@ var TypeSystemPolicy;
|
|
|
13553
13555
|
TypeSystemPolicy2.IsVoidLike = IsVoidLike;
|
|
13554
13556
|
})(TypeSystemPolicy || (TypeSystemPolicy = {}));
|
|
13555
13557
|
|
|
13556
|
-
//
|
|
13558
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs
|
|
13557
13559
|
function ImmutableArray(value) {
|
|
13558
13560
|
return globalThis.Object.freeze(value).map((value2) => Immutable(value2));
|
|
13559
13561
|
}
|
|
@@ -13580,7 +13582,7 @@ function Immutable(value) {
|
|
|
13580
13582
|
return IsArray(value) ? ImmutableArray(value) : IsDate(value) ? ImmutableDate(value) : IsUint8Array(value) ? ImmutableUint8Array(value) : IsRegExp(value) ? ImmutableRegExp(value) : IsObject(value) ? ImmutableObject(value) : value;
|
|
13581
13583
|
}
|
|
13582
13584
|
|
|
13583
|
-
//
|
|
13585
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/create/type.mjs
|
|
13584
13586
|
function CreateType(schema, options) {
|
|
13585
13587
|
const result = options !== void 0 ? { ...options, ...schema } : schema;
|
|
13586
13588
|
switch (TypeSystemPolicy.InstanceMode) {
|
|
@@ -13593,21 +13595,21 @@ function CreateType(schema, options) {
|
|
|
13593
13595
|
}
|
|
13594
13596
|
}
|
|
13595
13597
|
|
|
13596
|
-
//
|
|
13598
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/error/error.mjs
|
|
13597
13599
|
var TypeBoxError = class extends Error {
|
|
13598
13600
|
constructor(message) {
|
|
13599
13601
|
super(message);
|
|
13600
13602
|
}
|
|
13601
13603
|
};
|
|
13602
13604
|
|
|
13603
|
-
//
|
|
13605
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs
|
|
13604
13606
|
var TransformKind = Symbol.for("TypeBox.Transform");
|
|
13605
13607
|
var ReadonlyKind = Symbol.for("TypeBox.Readonly");
|
|
13606
13608
|
var OptionalKind = Symbol.for("TypeBox.Optional");
|
|
13607
13609
|
var Hint = Symbol.for("TypeBox.Hint");
|
|
13608
13610
|
var Kind = Symbol.for("TypeBox.Kind");
|
|
13609
13611
|
|
|
13610
|
-
//
|
|
13612
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs
|
|
13611
13613
|
function IsReadonly(value) {
|
|
13612
13614
|
return IsObject(value) && value[ReadonlyKind] === "Readonly";
|
|
13613
13615
|
}
|
|
@@ -13738,7 +13740,7 @@ function IsSchema(value) {
|
|
|
13738
13740
|
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);
|
|
13739
13741
|
}
|
|
13740
13742
|
|
|
13741
|
-
//
|
|
13743
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs
|
|
13742
13744
|
var type_exports = {};
|
|
13743
13745
|
__export(type_exports, {
|
|
13744
13746
|
IsAny: () => IsAny2,
|
|
@@ -14030,7 +14032,7 @@ function IsSchema2(value) {
|
|
|
14030
14032
|
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));
|
|
14031
14033
|
}
|
|
14032
14034
|
|
|
14033
|
-
//
|
|
14035
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs
|
|
14034
14036
|
var PatternBoolean = "(true|false)";
|
|
14035
14037
|
var PatternNumber = "(0|[1-9][0-9]*)";
|
|
14036
14038
|
var PatternString = "(.*)";
|
|
@@ -14040,7 +14042,7 @@ var PatternNumberExact = `^${PatternNumber}$`;
|
|
|
14040
14042
|
var PatternStringExact = `^${PatternString}$`;
|
|
14041
14043
|
var PatternNeverExact = `^${PatternNever}$`;
|
|
14042
14044
|
|
|
14043
|
-
//
|
|
14045
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs
|
|
14044
14046
|
function SetIncludes(T, S) {
|
|
14045
14047
|
return T.includes(S);
|
|
14046
14048
|
}
|
|
@@ -14065,32 +14067,32 @@ function SetUnionMany(T) {
|
|
|
14065
14067
|
return Acc;
|
|
14066
14068
|
}
|
|
14067
14069
|
|
|
14068
|
-
//
|
|
14070
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/any/any.mjs
|
|
14069
14071
|
function Any(options) {
|
|
14070
14072
|
return CreateType({ [Kind]: "Any" }, options);
|
|
14071
14073
|
}
|
|
14072
14074
|
|
|
14073
|
-
//
|
|
14075
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/array/array.mjs
|
|
14074
14076
|
function Array2(items, options) {
|
|
14075
14077
|
return CreateType({ [Kind]: "Array", type: "array", items }, options);
|
|
14076
14078
|
}
|
|
14077
14079
|
|
|
14078
|
-
//
|
|
14080
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs
|
|
14079
14081
|
function Argument(index) {
|
|
14080
14082
|
return CreateType({ [Kind]: "Argument", index });
|
|
14081
14083
|
}
|
|
14082
14084
|
|
|
14083
|
-
//
|
|
14085
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs
|
|
14084
14086
|
function AsyncIterator(items, options) {
|
|
14085
14087
|
return CreateType({ [Kind]: "AsyncIterator", type: "AsyncIterator", items }, options);
|
|
14086
14088
|
}
|
|
14087
14089
|
|
|
14088
|
-
//
|
|
14090
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs
|
|
14089
14091
|
function Computed(target, parameters, options) {
|
|
14090
14092
|
return CreateType({ [Kind]: "Computed", target, parameters }, options);
|
|
14091
14093
|
}
|
|
14092
14094
|
|
|
14093
|
-
//
|
|
14095
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs
|
|
14094
14096
|
function DiscardKey(value, key) {
|
|
14095
14097
|
const { [key]: _, ...rest } = value;
|
|
14096
14098
|
return rest;
|
|
@@ -14099,12 +14101,12 @@ function Discard(value, keys) {
|
|
|
14099
14101
|
return keys.reduce((acc, key) => DiscardKey(acc, key), value);
|
|
14100
14102
|
}
|
|
14101
14103
|
|
|
14102
|
-
//
|
|
14104
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/never/never.mjs
|
|
14103
14105
|
function Never(options) {
|
|
14104
14106
|
return CreateType({ [Kind]: "Never", not: {} }, options);
|
|
14105
14107
|
}
|
|
14106
14108
|
|
|
14107
|
-
//
|
|
14109
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs
|
|
14108
14110
|
function MappedResult(properties) {
|
|
14109
14111
|
return CreateType({
|
|
14110
14112
|
[Kind]: "MappedResult",
|
|
@@ -14112,22 +14114,22 @@ function MappedResult(properties) {
|
|
|
14112
14114
|
});
|
|
14113
14115
|
}
|
|
14114
14116
|
|
|
14115
|
-
//
|
|
14117
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs
|
|
14116
14118
|
function Constructor(parameters, returns, options) {
|
|
14117
14119
|
return CreateType({ [Kind]: "Constructor", type: "Constructor", parameters, returns }, options);
|
|
14118
14120
|
}
|
|
14119
14121
|
|
|
14120
|
-
//
|
|
14122
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/function/function.mjs
|
|
14121
14123
|
function Function2(parameters, returns, options) {
|
|
14122
14124
|
return CreateType({ [Kind]: "Function", type: "Function", parameters, returns }, options);
|
|
14123
14125
|
}
|
|
14124
14126
|
|
|
14125
|
-
//
|
|
14127
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs
|
|
14126
14128
|
function UnionCreate(T, options) {
|
|
14127
14129
|
return CreateType({ [Kind]: "Union", anyOf: T }, options);
|
|
14128
14130
|
}
|
|
14129
14131
|
|
|
14130
|
-
//
|
|
14132
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs
|
|
14131
14133
|
function IsUnionOptional(types) {
|
|
14132
14134
|
return types.some((type) => IsOptional(type));
|
|
14133
14135
|
}
|
|
@@ -14145,12 +14147,12 @@ function UnionEvaluated(T, options) {
|
|
|
14145
14147
|
return T.length === 1 ? CreateType(T[0], options) : T.length === 0 ? Never(options) : ResolveUnion(T, options);
|
|
14146
14148
|
}
|
|
14147
14149
|
|
|
14148
|
-
//
|
|
14150
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/union/union.mjs
|
|
14149
14151
|
function Union(types, options) {
|
|
14150
14152
|
return types.length === 0 ? Never(options) : types.length === 1 ? CreateType(types[0], options) : UnionCreate(types, options);
|
|
14151
14153
|
}
|
|
14152
14154
|
|
|
14153
|
-
//
|
|
14155
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs
|
|
14154
14156
|
var TemplateLiteralParserError = class extends TypeBoxError {
|
|
14155
14157
|
};
|
|
14156
14158
|
function Unescape(pattern) {
|
|
@@ -14274,7 +14276,7 @@ function TemplateLiteralParseExact(pattern) {
|
|
|
14274
14276
|
return TemplateLiteralParse(pattern.slice(1, pattern.length - 1));
|
|
14275
14277
|
}
|
|
14276
14278
|
|
|
14277
|
-
//
|
|
14279
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs
|
|
14278
14280
|
var TemplateLiteralFiniteError = class extends TypeBoxError {
|
|
14279
14281
|
};
|
|
14280
14282
|
function IsNumberExpression(expression) {
|
|
@@ -14296,7 +14298,7 @@ function IsTemplateLiteralFinite(schema) {
|
|
|
14296
14298
|
return IsTemplateLiteralExpressionFinite(expression);
|
|
14297
14299
|
}
|
|
14298
14300
|
|
|
14299
|
-
//
|
|
14301
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs
|
|
14300
14302
|
var TemplateLiteralGenerateError = class extends TypeBoxError {
|
|
14301
14303
|
};
|
|
14302
14304
|
function* GenerateReduce(buffer) {
|
|
@@ -14328,7 +14330,7 @@ function TemplateLiteralGenerate(schema) {
|
|
|
14328
14330
|
return IsTemplateLiteralExpressionFinite(expression) ? [...TemplateLiteralExpressionGenerate(expression)] : [];
|
|
14329
14331
|
}
|
|
14330
14332
|
|
|
14331
|
-
//
|
|
14333
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs
|
|
14332
14334
|
function Literal(value, options) {
|
|
14333
14335
|
return CreateType({
|
|
14334
14336
|
[Kind]: "Literal",
|
|
@@ -14337,27 +14339,27 @@ function Literal(value, options) {
|
|
|
14337
14339
|
}, options);
|
|
14338
14340
|
}
|
|
14339
14341
|
|
|
14340
|
-
//
|
|
14342
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs
|
|
14341
14343
|
function Boolean2(options) {
|
|
14342
14344
|
return CreateType({ [Kind]: "Boolean", type: "boolean" }, options);
|
|
14343
14345
|
}
|
|
14344
14346
|
|
|
14345
|
-
//
|
|
14347
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs
|
|
14346
14348
|
function BigInt(options) {
|
|
14347
14349
|
return CreateType({ [Kind]: "BigInt", type: "bigint" }, options);
|
|
14348
14350
|
}
|
|
14349
14351
|
|
|
14350
|
-
//
|
|
14352
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/number/number.mjs
|
|
14351
14353
|
function Number2(options) {
|
|
14352
14354
|
return CreateType({ [Kind]: "Number", type: "number" }, options);
|
|
14353
14355
|
}
|
|
14354
14356
|
|
|
14355
|
-
//
|
|
14357
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/string/string.mjs
|
|
14356
14358
|
function String2(options) {
|
|
14357
14359
|
return CreateType({ [Kind]: "String", type: "string" }, options);
|
|
14358
14360
|
}
|
|
14359
14361
|
|
|
14360
|
-
//
|
|
14362
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs
|
|
14361
14363
|
function* FromUnion(syntax) {
|
|
14362
14364
|
const trim = syntax.trim().replace(/"|'/g, "");
|
|
14363
14365
|
return trim === "boolean" ? yield Boolean2() : trim === "number" ? yield Number2() : trim === "bigint" ? yield BigInt() : trim === "string" ? yield String2() : yield (() => {
|
|
@@ -14394,7 +14396,7 @@ function TemplateLiteralSyntax(syntax) {
|
|
|
14394
14396
|
return [...FromSyntax(syntax)];
|
|
14395
14397
|
}
|
|
14396
14398
|
|
|
14397
|
-
//
|
|
14399
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs
|
|
14398
14400
|
var TemplateLiteralPatternError = class extends TypeBoxError {
|
|
14399
14401
|
};
|
|
14400
14402
|
function Escape(value) {
|
|
@@ -14409,20 +14411,20 @@ function TemplateLiteralPattern(kinds) {
|
|
|
14409
14411
|
return `^${kinds.map((schema) => Visit2(schema, "")).join("")}$`;
|
|
14410
14412
|
}
|
|
14411
14413
|
|
|
14412
|
-
//
|
|
14414
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs
|
|
14413
14415
|
function TemplateLiteralToUnion(schema) {
|
|
14414
14416
|
const R = TemplateLiteralGenerate(schema);
|
|
14415
14417
|
const L = R.map((S) => Literal(S));
|
|
14416
14418
|
return UnionEvaluated(L);
|
|
14417
14419
|
}
|
|
14418
14420
|
|
|
14419
|
-
//
|
|
14421
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs
|
|
14420
14422
|
function TemplateLiteral(unresolved, options) {
|
|
14421
14423
|
const pattern = IsString(unresolved) ? TemplateLiteralPattern(TemplateLiteralSyntax(unresolved)) : TemplateLiteralPattern(unresolved);
|
|
14422
14424
|
return CreateType({ [Kind]: "TemplateLiteral", type: "string", pattern }, options);
|
|
14423
14425
|
}
|
|
14424
14426
|
|
|
14425
|
-
//
|
|
14427
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs
|
|
14426
14428
|
function FromTemplateLiteral(templateLiteral) {
|
|
14427
14429
|
const keys = TemplateLiteralGenerate(templateLiteral);
|
|
14428
14430
|
return keys.map((key) => key.toString());
|
|
@@ -14440,7 +14442,7 @@ function IndexPropertyKeys(type) {
|
|
|
14440
14442
|
return [...new Set(IsTemplateLiteral(type) ? FromTemplateLiteral(type) : IsUnion(type) ? FromUnion2(type.anyOf) : IsLiteral(type) ? FromLiteral(type.const) : IsNumber3(type) ? ["[number]"] : IsInteger(type) ? ["[number]"] : [])];
|
|
14441
14443
|
}
|
|
14442
14444
|
|
|
14443
|
-
//
|
|
14445
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs
|
|
14444
14446
|
function FromProperties(type, properties, options) {
|
|
14445
14447
|
const result = {};
|
|
14446
14448
|
for (const K2 of Object.getOwnPropertyNames(properties)) {
|
|
@@ -14456,7 +14458,7 @@ function IndexFromMappedResult(type, mappedResult, options) {
|
|
|
14456
14458
|
return MappedResult(properties);
|
|
14457
14459
|
}
|
|
14458
14460
|
|
|
14459
|
-
//
|
|
14461
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs
|
|
14460
14462
|
function FromRest(types, key) {
|
|
14461
14463
|
return types.map((type) => IndexFromPropertyKey(type, key));
|
|
14462
14464
|
}
|
|
@@ -14504,7 +14506,7 @@ function Index(type, key, options) {
|
|
|
14504
14506
|
return CreateType(IsSchema(key) ? FromSchema(type, IndexPropertyKeys(key)) : FromSchema(type, key), options);
|
|
14505
14507
|
}
|
|
14506
14508
|
|
|
14507
|
-
//
|
|
14509
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs
|
|
14508
14510
|
function MappedIndexPropertyKey(type, key, options) {
|
|
14509
14511
|
return { [key]: Index(type, [key], Clone(options)) };
|
|
14510
14512
|
}
|
|
@@ -14521,12 +14523,12 @@ function IndexFromMappedKey(type, mappedKey, options) {
|
|
|
14521
14523
|
return MappedResult(properties);
|
|
14522
14524
|
}
|
|
14523
14525
|
|
|
14524
|
-
//
|
|
14526
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs
|
|
14525
14527
|
function Iterator(items, options) {
|
|
14526
14528
|
return CreateType({ [Kind]: "Iterator", type: "Iterator", items }, options);
|
|
14527
14529
|
}
|
|
14528
14530
|
|
|
14529
|
-
//
|
|
14531
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/object/object.mjs
|
|
14530
14532
|
function RequiredArray(properties) {
|
|
14531
14533
|
return globalThis.Object.keys(properties).filter((key) => !IsOptional(properties[key]));
|
|
14532
14534
|
}
|
|
@@ -14537,12 +14539,12 @@ function _Object(properties, options) {
|
|
|
14537
14539
|
}
|
|
14538
14540
|
var Object2 = _Object;
|
|
14539
14541
|
|
|
14540
|
-
//
|
|
14542
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs
|
|
14541
14543
|
function Promise2(item, options) {
|
|
14542
14544
|
return CreateType({ [Kind]: "Promise", type: "Promise", item }, options);
|
|
14543
14545
|
}
|
|
14544
14546
|
|
|
14545
|
-
//
|
|
14547
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs
|
|
14546
14548
|
function RemoveReadonly(schema) {
|
|
14547
14549
|
return CreateType(Discard(schema, [ReadonlyKind]));
|
|
14548
14550
|
}
|
|
@@ -14557,7 +14559,7 @@ function Readonly(schema, enable) {
|
|
|
14557
14559
|
return IsMappedResult(schema) ? ReadonlyFromMappedResult(schema, F) : ReadonlyWithFlag(schema, F);
|
|
14558
14560
|
}
|
|
14559
14561
|
|
|
14560
|
-
//
|
|
14562
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs
|
|
14561
14563
|
function FromProperties2(K, F) {
|
|
14562
14564
|
const Acc = {};
|
|
14563
14565
|
for (const K2 of globalThis.Object.getOwnPropertyNames(K))
|
|
@@ -14572,12 +14574,12 @@ function ReadonlyFromMappedResult(R, F) {
|
|
|
14572
14574
|
return MappedResult(P);
|
|
14573
14575
|
}
|
|
14574
14576
|
|
|
14575
|
-
//
|
|
14577
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs
|
|
14576
14578
|
function Tuple(types, options) {
|
|
14577
14579
|
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);
|
|
14578
14580
|
}
|
|
14579
14581
|
|
|
14580
|
-
//
|
|
14582
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs
|
|
14581
14583
|
function FromMappedResult3(K, P) {
|
|
14582
14584
|
return K in P ? FromSchemaType(K, P[K]) : MappedResult(P);
|
|
14583
14585
|
}
|
|
@@ -14632,7 +14634,7 @@ function Mapped(key, map, options) {
|
|
|
14632
14634
|
return Object2(R, options);
|
|
14633
14635
|
}
|
|
14634
14636
|
|
|
14635
|
-
//
|
|
14637
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs
|
|
14636
14638
|
function RemoveOptional(schema) {
|
|
14637
14639
|
return CreateType(Discard(schema, [OptionalKind]));
|
|
14638
14640
|
}
|
|
@@ -14647,7 +14649,7 @@ function Optional(schema, enable) {
|
|
|
14647
14649
|
return IsMappedResult(schema) ? OptionalFromMappedResult(schema, F) : OptionalWithFlag(schema, F);
|
|
14648
14650
|
}
|
|
14649
14651
|
|
|
14650
|
-
//
|
|
14652
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs
|
|
14651
14653
|
function FromProperties4(P, F) {
|
|
14652
14654
|
const Acc = {};
|
|
14653
14655
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -14662,14 +14664,14 @@ function OptionalFromMappedResult(R, F) {
|
|
|
14662
14664
|
return MappedResult(P);
|
|
14663
14665
|
}
|
|
14664
14666
|
|
|
14665
|
-
//
|
|
14667
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs
|
|
14666
14668
|
function IntersectCreate(T, options = {}) {
|
|
14667
14669
|
const allObjects = T.every((schema) => IsObject3(schema));
|
|
14668
14670
|
const clonedUnevaluatedProperties = IsSchema(options.unevaluatedProperties) ? { unevaluatedProperties: options.unevaluatedProperties } : {};
|
|
14669
14671
|
return CreateType(options.unevaluatedProperties === false || IsSchema(options.unevaluatedProperties) || allObjects ? { ...clonedUnevaluatedProperties, [Kind]: "Intersect", type: "object", allOf: T } : { ...clonedUnevaluatedProperties, [Kind]: "Intersect", allOf: T }, options);
|
|
14670
14672
|
}
|
|
14671
14673
|
|
|
14672
|
-
//
|
|
14674
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs
|
|
14673
14675
|
function IsIntersectOptional(types) {
|
|
14674
14676
|
return types.every((left) => IsOptional(left));
|
|
14675
14677
|
}
|
|
@@ -14692,7 +14694,7 @@ function IntersectEvaluated(types, options = {}) {
|
|
|
14692
14694
|
return ResolveIntersect(types, options);
|
|
14693
14695
|
}
|
|
14694
14696
|
|
|
14695
|
-
//
|
|
14697
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs
|
|
14696
14698
|
function Intersect(types, options) {
|
|
14697
14699
|
if (types.length === 1)
|
|
14698
14700
|
return CreateType(types[0], options);
|
|
@@ -14703,7 +14705,7 @@ function Intersect(types, options) {
|
|
|
14703
14705
|
return IntersectCreate(types, options);
|
|
14704
14706
|
}
|
|
14705
14707
|
|
|
14706
|
-
//
|
|
14708
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs
|
|
14707
14709
|
function Ref(...args) {
|
|
14708
14710
|
const [$ref, options] = typeof args[0] === "string" ? [args[0], args[1]] : [args[0].$id, args[1]];
|
|
14709
14711
|
if (typeof $ref !== "string")
|
|
@@ -14711,7 +14713,7 @@ function Ref(...args) {
|
|
|
14711
14713
|
return CreateType({ [Kind]: "Ref", $ref }, options);
|
|
14712
14714
|
}
|
|
14713
14715
|
|
|
14714
|
-
//
|
|
14716
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs
|
|
14715
14717
|
function FromComputed(target, parameters) {
|
|
14716
14718
|
return Computed("Awaited", [Computed(target, parameters)]);
|
|
14717
14719
|
}
|
|
@@ -14734,7 +14736,7 @@ function Awaited(type, options) {
|
|
|
14734
14736
|
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);
|
|
14735
14737
|
}
|
|
14736
14738
|
|
|
14737
|
-
//
|
|
14739
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs
|
|
14738
14740
|
function FromRest4(types) {
|
|
14739
14741
|
const result = [];
|
|
14740
14742
|
for (const L of types)
|
|
@@ -14773,7 +14775,7 @@ function KeyOfPropertyKeys(type) {
|
|
|
14773
14775
|
}
|
|
14774
14776
|
var includePatternProperties = false;
|
|
14775
14777
|
|
|
14776
|
-
//
|
|
14778
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs
|
|
14777
14779
|
function FromComputed2(target, parameters) {
|
|
14778
14780
|
return Computed("KeyOf", [Computed(target, parameters)]);
|
|
14779
14781
|
}
|
|
@@ -14793,7 +14795,7 @@ function KeyOf(type, options) {
|
|
|
14793
14795
|
return IsComputed(type) ? FromComputed2(type.target, type.parameters) : IsRef(type) ? FromRef2(type.$ref) : IsMappedResult(type) ? KeyOfFromMappedResult(type, options) : KeyOfFromType(type, options);
|
|
14794
14796
|
}
|
|
14795
14797
|
|
|
14796
|
-
//
|
|
14798
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs
|
|
14797
14799
|
function FromProperties6(properties, options) {
|
|
14798
14800
|
const result = {};
|
|
14799
14801
|
for (const K2 of globalThis.Object.getOwnPropertyNames(properties))
|
|
@@ -14808,7 +14810,7 @@ function KeyOfFromMappedResult(mappedResult, options) {
|
|
|
14808
14810
|
return MappedResult(properties);
|
|
14809
14811
|
}
|
|
14810
14812
|
|
|
14811
|
-
//
|
|
14813
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs
|
|
14812
14814
|
function CompositeKeys(T) {
|
|
14813
14815
|
const Acc = [];
|
|
14814
14816
|
for (const L of T)
|
|
@@ -14838,37 +14840,37 @@ function Composite(T, options) {
|
|
|
14838
14840
|
return R;
|
|
14839
14841
|
}
|
|
14840
14842
|
|
|
14841
|
-
//
|
|
14843
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/date/date.mjs
|
|
14842
14844
|
function Date2(options) {
|
|
14843
14845
|
return CreateType({ [Kind]: "Date", type: "Date" }, options);
|
|
14844
14846
|
}
|
|
14845
14847
|
|
|
14846
|
-
//
|
|
14848
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/null/null.mjs
|
|
14847
14849
|
function Null(options) {
|
|
14848
14850
|
return CreateType({ [Kind]: "Null", type: "null" }, options);
|
|
14849
14851
|
}
|
|
14850
14852
|
|
|
14851
|
-
//
|
|
14853
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs
|
|
14852
14854
|
function Symbol2(options) {
|
|
14853
14855
|
return CreateType({ [Kind]: "Symbol", type: "symbol" }, options);
|
|
14854
14856
|
}
|
|
14855
14857
|
|
|
14856
|
-
//
|
|
14858
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs
|
|
14857
14859
|
function Undefined(options) {
|
|
14858
14860
|
return CreateType({ [Kind]: "Undefined", type: "undefined" }, options);
|
|
14859
14861
|
}
|
|
14860
14862
|
|
|
14861
|
-
//
|
|
14863
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs
|
|
14862
14864
|
function Uint8Array2(options) {
|
|
14863
14865
|
return CreateType({ [Kind]: "Uint8Array", type: "Uint8Array" }, options);
|
|
14864
14866
|
}
|
|
14865
14867
|
|
|
14866
|
-
//
|
|
14868
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs
|
|
14867
14869
|
function Unknown(options) {
|
|
14868
14870
|
return CreateType({ [Kind]: "Unknown" }, options);
|
|
14869
14871
|
}
|
|
14870
14872
|
|
|
14871
|
-
//
|
|
14873
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/const/const.mjs
|
|
14872
14874
|
function FromArray3(T) {
|
|
14873
14875
|
return T.map((L) => FromValue(L, false));
|
|
14874
14876
|
}
|
|
@@ -14888,12 +14890,12 @@ function Const(T, options) {
|
|
|
14888
14890
|
return CreateType(FromValue(T, true), options);
|
|
14889
14891
|
}
|
|
14890
14892
|
|
|
14891
|
-
//
|
|
14893
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs
|
|
14892
14894
|
function ConstructorParameters(schema, options) {
|
|
14893
14895
|
return IsConstructor(schema) ? Tuple(schema.parameters, options) : Never(options);
|
|
14894
14896
|
}
|
|
14895
14897
|
|
|
14896
|
-
//
|
|
14898
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs
|
|
14897
14899
|
function Enum(item, options) {
|
|
14898
14900
|
if (IsUndefined(item))
|
|
14899
14901
|
throw new Error("Enum undefined or empty");
|
|
@@ -14903,7 +14905,7 @@ function Enum(item, options) {
|
|
|
14903
14905
|
return Union(anyOf, { ...options, [Hint]: "Enum" });
|
|
14904
14906
|
}
|
|
14905
14907
|
|
|
14906
|
-
//
|
|
14908
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs
|
|
14907
14909
|
var ExtendsResolverError = class extends TypeBoxError {
|
|
14908
14910
|
};
|
|
14909
14911
|
var ExtendsResult;
|
|
@@ -15154,7 +15156,7 @@ function ExtendsCheck(left, right) {
|
|
|
15154
15156
|
return Visit3(left, right);
|
|
15155
15157
|
}
|
|
15156
15158
|
|
|
15157
|
-
//
|
|
15159
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs
|
|
15158
15160
|
function FromProperties8(P, Right, True, False, options) {
|
|
15159
15161
|
const Acc = {};
|
|
15160
15162
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -15169,7 +15171,7 @@ function ExtendsFromMappedResult(Left, Right, True, False, options) {
|
|
|
15169
15171
|
return MappedResult(P);
|
|
15170
15172
|
}
|
|
15171
15173
|
|
|
15172
|
-
//
|
|
15174
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs
|
|
15173
15175
|
function ExtendsResolve(left, right, trueType, falseType) {
|
|
15174
15176
|
const R = ExtendsCheck(left, right);
|
|
15175
15177
|
return R === ExtendsResult.Union ? Union([trueType, falseType]) : R === ExtendsResult.True ? trueType : falseType;
|
|
@@ -15178,7 +15180,7 @@ function Extends(L, R, T, F, options) {
|
|
|
15178
15180
|
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);
|
|
15179
15181
|
}
|
|
15180
15182
|
|
|
15181
|
-
//
|
|
15183
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs
|
|
15182
15184
|
function FromPropertyKey(K, U, L, R, options) {
|
|
15183
15185
|
return {
|
|
15184
15186
|
[K]: Extends(Literal(K), U, L, R, Clone(options))
|
|
@@ -15197,12 +15199,12 @@ function ExtendsFromMappedKey(T, U, L, R, options) {
|
|
|
15197
15199
|
return MappedResult(P);
|
|
15198
15200
|
}
|
|
15199
15201
|
|
|
15200
|
-
//
|
|
15202
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs
|
|
15201
15203
|
function ExcludeFromTemplateLiteral(L, R) {
|
|
15202
15204
|
return Exclude(TemplateLiteralToUnion(L), R);
|
|
15203
15205
|
}
|
|
15204
15206
|
|
|
15205
|
-
//
|
|
15207
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs
|
|
15206
15208
|
function ExcludeRest(L, R) {
|
|
15207
15209
|
const excluded = L.filter((inner) => ExtendsCheck(inner, R) === ExtendsResult.False);
|
|
15208
15210
|
return excluded.length === 1 ? excluded[0] : Union(excluded);
|
|
@@ -15215,7 +15217,7 @@ function Exclude(L, R, options = {}) {
|
|
|
15215
15217
|
return CreateType(IsUnion(L) ? ExcludeRest(L.anyOf, R) : ExtendsCheck(L, R) !== ExtendsResult.False ? Never() : L, options);
|
|
15216
15218
|
}
|
|
15217
15219
|
|
|
15218
|
-
//
|
|
15220
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs
|
|
15219
15221
|
function FromProperties9(P, U) {
|
|
15220
15222
|
const Acc = {};
|
|
15221
15223
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -15230,12 +15232,12 @@ function ExcludeFromMappedResult(R, T) {
|
|
|
15230
15232
|
return MappedResult(P);
|
|
15231
15233
|
}
|
|
15232
15234
|
|
|
15233
|
-
//
|
|
15235
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs
|
|
15234
15236
|
function ExtractFromTemplateLiteral(L, R) {
|
|
15235
15237
|
return Extract(TemplateLiteralToUnion(L), R);
|
|
15236
15238
|
}
|
|
15237
15239
|
|
|
15238
|
-
//
|
|
15240
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs
|
|
15239
15241
|
function ExtractRest(L, R) {
|
|
15240
15242
|
const extracted = L.filter((inner) => ExtendsCheck(inner, R) !== ExtendsResult.False);
|
|
15241
15243
|
return extracted.length === 1 ? extracted[0] : Union(extracted);
|
|
@@ -15248,7 +15250,7 @@ function Extract(L, R, options) {
|
|
|
15248
15250
|
return CreateType(IsUnion(L) ? ExtractRest(L.anyOf, R) : ExtendsCheck(L, R) !== ExtendsResult.False ? L : Never(), options);
|
|
15249
15251
|
}
|
|
15250
15252
|
|
|
15251
|
-
//
|
|
15253
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs
|
|
15252
15254
|
function FromProperties10(P, T) {
|
|
15253
15255
|
const Acc = {};
|
|
15254
15256
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -15263,17 +15265,17 @@ function ExtractFromMappedResult(R, T) {
|
|
|
15263
15265
|
return MappedResult(P);
|
|
15264
15266
|
}
|
|
15265
15267
|
|
|
15266
|
-
//
|
|
15268
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs
|
|
15267
15269
|
function InstanceType(schema, options) {
|
|
15268
15270
|
return IsConstructor(schema) ? CreateType(schema.returns, options) : Never(options);
|
|
15269
15271
|
}
|
|
15270
15272
|
|
|
15271
|
-
//
|
|
15273
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs
|
|
15272
15274
|
function ReadonlyOptional(schema) {
|
|
15273
15275
|
return Readonly(Optional(schema));
|
|
15274
15276
|
}
|
|
15275
15277
|
|
|
15276
|
-
//
|
|
15278
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/record/record.mjs
|
|
15277
15279
|
function RecordCreateFromPattern(pattern, T, options) {
|
|
15278
15280
|
return CreateType({ [Kind]: "Record", type: "object", patternProperties: { [pattern]: T } }, options);
|
|
15279
15281
|
}
|
|
@@ -15328,7 +15330,7 @@ function RecordValue2(type) {
|
|
|
15328
15330
|
return type.patternProperties[RecordPattern(type)];
|
|
15329
15331
|
}
|
|
15330
15332
|
|
|
15331
|
-
//
|
|
15333
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs
|
|
15332
15334
|
function FromConstructor2(args, type) {
|
|
15333
15335
|
type.parameters = FromTypes(args, type.parameters);
|
|
15334
15336
|
type.returns = FromType(args, type.returns);
|
|
@@ -15403,12 +15405,12 @@ function Instantiate(type, args) {
|
|
|
15403
15405
|
return FromType(args, CloneType(type));
|
|
15404
15406
|
}
|
|
15405
15407
|
|
|
15406
|
-
//
|
|
15408
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs
|
|
15407
15409
|
function Integer(options) {
|
|
15408
15410
|
return CreateType({ [Kind]: "Integer", type: "integer" }, options);
|
|
15409
15411
|
}
|
|
15410
15412
|
|
|
15411
|
-
//
|
|
15413
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs
|
|
15412
15414
|
function MappedIntrinsicPropertyKey(K, M, options) {
|
|
15413
15415
|
return {
|
|
15414
15416
|
[K]: Intrinsic(Literal(K), M, Clone(options))
|
|
@@ -15428,7 +15430,7 @@ function IntrinsicFromMappedKey(T, M, options) {
|
|
|
15428
15430
|
return MappedResult(P);
|
|
15429
15431
|
}
|
|
15430
15432
|
|
|
15431
|
-
//
|
|
15433
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs
|
|
15432
15434
|
function ApplyUncapitalize(value) {
|
|
15433
15435
|
const [first, rest] = [value.slice(0, 1), value.slice(1)];
|
|
15434
15436
|
return [first.toLowerCase(), rest].join("");
|
|
@@ -15473,27 +15475,27 @@ function Intrinsic(schema, mode, options = {}) {
|
|
|
15473
15475
|
);
|
|
15474
15476
|
}
|
|
15475
15477
|
|
|
15476
|
-
//
|
|
15478
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs
|
|
15477
15479
|
function Capitalize(T, options = {}) {
|
|
15478
15480
|
return Intrinsic(T, "Capitalize", options);
|
|
15479
15481
|
}
|
|
15480
15482
|
|
|
15481
|
-
//
|
|
15483
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs
|
|
15482
15484
|
function Lowercase(T, options = {}) {
|
|
15483
15485
|
return Intrinsic(T, "Lowercase", options);
|
|
15484
15486
|
}
|
|
15485
15487
|
|
|
15486
|
-
//
|
|
15488
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs
|
|
15487
15489
|
function Uncapitalize(T, options = {}) {
|
|
15488
15490
|
return Intrinsic(T, "Uncapitalize", options);
|
|
15489
15491
|
}
|
|
15490
15492
|
|
|
15491
|
-
//
|
|
15493
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs
|
|
15492
15494
|
function Uppercase(T, options = {}) {
|
|
15493
15495
|
return Intrinsic(T, "Uppercase", options);
|
|
15494
15496
|
}
|
|
15495
15497
|
|
|
15496
|
-
//
|
|
15498
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs
|
|
15497
15499
|
function FromProperties12(properties, propertyKeys, options) {
|
|
15498
15500
|
const result = {};
|
|
15499
15501
|
for (const K2 of globalThis.Object.getOwnPropertyNames(properties))
|
|
@@ -15508,7 +15510,7 @@ function OmitFromMappedResult(mappedResult, propertyKeys, options) {
|
|
|
15508
15510
|
return MappedResult(properties);
|
|
15509
15511
|
}
|
|
15510
15512
|
|
|
15511
|
-
//
|
|
15513
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs
|
|
15512
15514
|
function FromIntersect6(types, propertyKeys) {
|
|
15513
15515
|
return types.map((type) => OmitResolve(type, propertyKeys));
|
|
15514
15516
|
}
|
|
@@ -15542,7 +15544,7 @@ function Omit(type, key, options) {
|
|
|
15542
15544
|
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 });
|
|
15543
15545
|
}
|
|
15544
15546
|
|
|
15545
|
-
//
|
|
15547
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs
|
|
15546
15548
|
function FromPropertyKey2(type, key, options) {
|
|
15547
15549
|
return { [key]: Omit(type, [key], Clone(options)) };
|
|
15548
15550
|
}
|
|
@@ -15559,7 +15561,7 @@ function OmitFromMappedKey(type, mappedKey, options) {
|
|
|
15559
15561
|
return MappedResult(properties);
|
|
15560
15562
|
}
|
|
15561
15563
|
|
|
15562
|
-
//
|
|
15564
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs
|
|
15563
15565
|
function FromProperties14(properties, propertyKeys, options) {
|
|
15564
15566
|
const result = {};
|
|
15565
15567
|
for (const K2 of globalThis.Object.getOwnPropertyNames(properties))
|
|
@@ -15574,7 +15576,7 @@ function PickFromMappedResult(mappedResult, propertyKeys, options) {
|
|
|
15574
15576
|
return MappedResult(properties);
|
|
15575
15577
|
}
|
|
15576
15578
|
|
|
15577
|
-
//
|
|
15579
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs
|
|
15578
15580
|
function FromIntersect7(types, propertyKeys) {
|
|
15579
15581
|
return types.map((type) => PickResolve(type, propertyKeys));
|
|
15580
15582
|
}
|
|
@@ -15608,7 +15610,7 @@ function Pick(type, key, options) {
|
|
|
15608
15610
|
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 });
|
|
15609
15611
|
}
|
|
15610
15612
|
|
|
15611
|
-
//
|
|
15613
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs
|
|
15612
15614
|
function FromPropertyKey3(type, key, options) {
|
|
15613
15615
|
return {
|
|
15614
15616
|
[key]: Pick(type, [key], Clone(options))
|
|
@@ -15627,7 +15629,7 @@ function PickFromMappedKey(type, mappedKey, options) {
|
|
|
15627
15629
|
return MappedResult(properties);
|
|
15628
15630
|
}
|
|
15629
15631
|
|
|
15630
|
-
//
|
|
15632
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs
|
|
15631
15633
|
function FromComputed3(target, parameters) {
|
|
15632
15634
|
return Computed("Partial", [Computed(target, parameters)]);
|
|
15633
15635
|
}
|
|
@@ -15668,7 +15670,7 @@ function Partial(type, options) {
|
|
|
15668
15670
|
}
|
|
15669
15671
|
}
|
|
15670
15672
|
|
|
15671
|
-
//
|
|
15673
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs
|
|
15672
15674
|
function FromProperties17(K, options) {
|
|
15673
15675
|
const Acc = {};
|
|
15674
15676
|
for (const K2 of globalThis.Object.getOwnPropertyNames(K))
|
|
@@ -15683,7 +15685,7 @@ function PartialFromMappedResult(R, options) {
|
|
|
15683
15685
|
return MappedResult(P);
|
|
15684
15686
|
}
|
|
15685
15687
|
|
|
15686
|
-
//
|
|
15688
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/required/required.mjs
|
|
15687
15689
|
function FromComputed4(target, parameters) {
|
|
15688
15690
|
return Computed("Required", [Computed(target, parameters)]);
|
|
15689
15691
|
}
|
|
@@ -15724,7 +15726,7 @@ function Required(type, options) {
|
|
|
15724
15726
|
}
|
|
15725
15727
|
}
|
|
15726
15728
|
|
|
15727
|
-
//
|
|
15729
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs
|
|
15728
15730
|
function FromProperties19(P, options) {
|
|
15729
15731
|
const Acc = {};
|
|
15730
15732
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
@@ -15739,7 +15741,7 @@ function RequiredFromMappedResult(R, options) {
|
|
|
15739
15741
|
return MappedResult(P);
|
|
15740
15742
|
}
|
|
15741
15743
|
|
|
15742
|
-
//
|
|
15744
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs
|
|
15743
15745
|
function DereferenceParameters(moduleProperties, types) {
|
|
15744
15746
|
return types.map((type) => {
|
|
15745
15747
|
return IsRef(type) ? Dereference(moduleProperties, type.$ref) : FromType2(moduleProperties, type);
|
|
@@ -15835,7 +15837,7 @@ function ComputeModuleProperties(moduleProperties) {
|
|
|
15835
15837
|
}, {});
|
|
15836
15838
|
}
|
|
15837
15839
|
|
|
15838
|
-
//
|
|
15840
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/module/module.mjs
|
|
15839
15841
|
var TModule = class {
|
|
15840
15842
|
constructor($defs) {
|
|
15841
15843
|
const computed = ComputeModuleProperties($defs);
|
|
@@ -15858,17 +15860,17 @@ function Module(properties) {
|
|
|
15858
15860
|
return new TModule(properties);
|
|
15859
15861
|
}
|
|
15860
15862
|
|
|
15861
|
-
//
|
|
15863
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/not/not.mjs
|
|
15862
15864
|
function Not(type, options) {
|
|
15863
15865
|
return CreateType({ [Kind]: "Not", not: type }, options);
|
|
15864
15866
|
}
|
|
15865
15867
|
|
|
15866
|
-
//
|
|
15868
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs
|
|
15867
15869
|
function Parameters(schema, options) {
|
|
15868
15870
|
return IsFunction2(schema) ? Tuple(schema.parameters, options) : Never();
|
|
15869
15871
|
}
|
|
15870
15872
|
|
|
15871
|
-
//
|
|
15873
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs
|
|
15872
15874
|
var Ordinal = 0;
|
|
15873
15875
|
function Recursive(callback, options = {}) {
|
|
15874
15876
|
if (IsUndefined(options.$id))
|
|
@@ -15878,13 +15880,13 @@ function Recursive(callback, options = {}) {
|
|
|
15878
15880
|
return CreateType({ [Hint]: "Recursive", ...thisType }, options);
|
|
15879
15881
|
}
|
|
15880
15882
|
|
|
15881
|
-
//
|
|
15883
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs
|
|
15882
15884
|
function RegExp2(unresolved, options) {
|
|
15883
15885
|
const expr = IsString(unresolved) ? new globalThis.RegExp(unresolved) : unresolved;
|
|
15884
15886
|
return CreateType({ [Kind]: "RegExp", type: "RegExp", source: expr.source, flags: expr.flags }, options);
|
|
15885
15887
|
}
|
|
15886
15888
|
|
|
15887
|
-
//
|
|
15889
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs
|
|
15888
15890
|
function RestResolve(T) {
|
|
15889
15891
|
return IsIntersect(T) ? T.allOf : IsUnion(T) ? T.anyOf : IsTuple(T) ? T.items ?? [] : [];
|
|
15890
15892
|
}
|
|
@@ -15892,12 +15894,12 @@ function Rest(T) {
|
|
|
15892
15894
|
return RestResolve(T);
|
|
15893
15895
|
}
|
|
15894
15896
|
|
|
15895
|
-
//
|
|
15897
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs
|
|
15896
15898
|
function ReturnType(schema, options) {
|
|
15897
15899
|
return IsFunction2(schema) ? CreateType(schema.returns, options) : Never(options);
|
|
15898
15900
|
}
|
|
15899
15901
|
|
|
15900
|
-
//
|
|
15902
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs
|
|
15901
15903
|
var TransformDecodeBuilder = class {
|
|
15902
15904
|
constructor(schema) {
|
|
15903
15905
|
this.schema = schema;
|
|
@@ -15929,17 +15931,17 @@ function Transform(schema) {
|
|
|
15929
15931
|
return new TransformDecodeBuilder(schema);
|
|
15930
15932
|
}
|
|
15931
15933
|
|
|
15932
|
-
//
|
|
15934
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs
|
|
15933
15935
|
function Unsafe(options = {}) {
|
|
15934
15936
|
return CreateType({ [Kind]: options[Kind] ?? "Unsafe" }, options);
|
|
15935
15937
|
}
|
|
15936
15938
|
|
|
15937
|
-
//
|
|
15939
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/void/void.mjs
|
|
15938
15940
|
function Void(options) {
|
|
15939
15941
|
return CreateType({ [Kind]: "Void", type: "void" }, options);
|
|
15940
15942
|
}
|
|
15941
15943
|
|
|
15942
|
-
//
|
|
15944
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/type/type.mjs
|
|
15943
15945
|
var type_exports2 = {};
|
|
15944
15946
|
__export(type_exports2, {
|
|
15945
15947
|
Any: () => Any,
|
|
@@ -16006,10 +16008,10 @@ __export(type_exports2, {
|
|
|
16006
16008
|
Void: () => Void
|
|
16007
16009
|
});
|
|
16008
16010
|
|
|
16009
|
-
//
|
|
16011
|
+
// ../../node_modules/@sinclair/typebox/build/esm/type/type/index.mjs
|
|
16010
16012
|
var Type = type_exports2;
|
|
16011
16013
|
|
|
16012
|
-
// ../
|
|
16014
|
+
// ../plays/authoring-contract.ts
|
|
16013
16015
|
var PLAY_SQL_LISTENER_WHERE_OPERATORS = [
|
|
16014
16016
|
"eq",
|
|
16015
16017
|
"neq",
|
|
@@ -17364,7 +17366,7 @@ var PLAY_AUTHORING_CLOUD_TYPE_DECLARATIONS = [
|
|
|
17364
17366
|
"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'] };"
|
|
17365
17367
|
];
|
|
17366
17368
|
|
|
17367
|
-
// ../
|
|
17369
|
+
// ../plays/ts-ast.ts
|
|
17368
17370
|
import { Parser } from "acorn";
|
|
17369
17371
|
import { tsPlugin } from "acorn-typescript";
|
|
17370
17372
|
var TypeScriptParser = Parser.extend(
|
|
@@ -17394,7 +17396,7 @@ function parsePlaySourceForAnalysis(sourceCode) {
|
|
|
17394
17396
|
}
|
|
17395
17397
|
}
|
|
17396
17398
|
|
|
17397
|
-
// ../
|
|
17399
|
+
// ../plays/play-exports.ts
|
|
17398
17400
|
var PLAY_DEFAULT_EXPORT = "default";
|
|
17399
17401
|
function getIdentifierName(node) {
|
|
17400
17402
|
return isAstNode(node) && node.type === "Identifier" ? typeof node.name === "string" ? node.name : null : null;
|
|
@@ -17496,7 +17498,7 @@ function listPlayFileExports(sourceCode) {
|
|
|
17496
17498
|
return exports;
|
|
17497
17499
|
}
|
|
17498
17500
|
|
|
17499
|
-
// ../
|
|
17501
|
+
// ../plays/secret-guardrails.ts
|
|
17500
17502
|
var SECRET_ENV_PATTERN = /\bprocess(?:\.env|\[['"]env['"]\])(?:\.|\[['"])([A-Z0-9_]*(?:API[_-]?KEY|TOKEN|SECRET|PASSWORD|PRIVATE[_-]?KEY|ACCESS[_-]?KEY)[A-Z0-9_]*)(?:['"]\])?/g;
|
|
17501
17503
|
var PRIVATE_KEY_PATTERN = /-----BEGIN (?:RSA |EC |OPENSSH |PGP )?PRIVATE KEY-----/;
|
|
17502
17504
|
var BEARER_LITERAL_PATTERN = /\bBearer\s+[A-Za-z0-9._~+/=-]{16,}/i;
|
|
@@ -17625,10 +17627,10 @@ function collectInlineSecretFindings(sourceCode) {
|
|
|
17625
17627
|
return [...new Set(findings)];
|
|
17626
17628
|
}
|
|
17627
17629
|
|
|
17628
|
-
// ../
|
|
17630
|
+
// ../plays/bundling/limits.ts
|
|
17629
17631
|
var MAX_PLAY_BUNDLE_BYTES = 30 * 1024 * 1024;
|
|
17630
17632
|
|
|
17631
|
-
// ../
|
|
17633
|
+
// ../plays/bundling/index.ts
|
|
17632
17634
|
var PLAY_BUNDLE_CACHE_VERSION = 36;
|
|
17633
17635
|
var PLAY_ARTIFACT_CACHE_DIR = join7(
|
|
17634
17636
|
tmpdir2(),
|
|
@@ -18163,7 +18165,7 @@ function extractDefinedPlayMetadata(sourceCode, exportName) {
|
|
|
18163
18165
|
return null;
|
|
18164
18166
|
}
|
|
18165
18167
|
|
|
18166
|
-
// ../
|
|
18168
|
+
// ../play-runtime/scheduler-backend.ts
|
|
18167
18169
|
var PLAY_SCHEDULER_BACKENDS = {
|
|
18168
18170
|
/**
|
|
18169
18171
|
* Postgres-native durable-execution scheduler (vendored Absurd engine). Runs
|
|
@@ -18174,7 +18176,7 @@ var PLAY_SCHEDULER_BACKENDS = {
|
|
|
18174
18176
|
inProcess: "in-process"
|
|
18175
18177
|
};
|
|
18176
18178
|
|
|
18177
|
-
// ../
|
|
18179
|
+
// ../play-runtime/providers.ts
|
|
18178
18180
|
var PLAY_RUNTIME_PROVIDER_IDS = {
|
|
18179
18181
|
absurd: "absurd"
|
|
18180
18182
|
};
|
|
@@ -18211,7 +18213,7 @@ function resolveEnabledPlayRuntimeProvider(override) {
|
|
|
18211
18213
|
return resolvePlayRuntimeProvider(override);
|
|
18212
18214
|
}
|
|
18213
18215
|
|
|
18214
|
-
// ../
|
|
18216
|
+
// ../play-runtime/profiles.ts
|
|
18215
18217
|
var PLAY_EXECUTION_PROFILE_IDS = {
|
|
18216
18218
|
...PLAY_RUNTIME_PROVIDER_IDS
|
|
18217
18219
|
};
|
|
@@ -18247,9 +18249,9 @@ import {
|
|
|
18247
18249
|
// src/plays/bundle-play-file.ts
|
|
18248
18250
|
var MODULE_DIR = dirname9(fileURLToPath(import.meta.url));
|
|
18249
18251
|
var SDK_PACKAGE_ROOT = resolve10(MODULE_DIR, "..", "..");
|
|
18250
|
-
var SOURCE_REPO_ROOT = resolve10(SDK_PACKAGE_ROOT, "..");
|
|
18252
|
+
var SOURCE_REPO_ROOT = resolve10(SDK_PACKAGE_ROOT, "..", "..");
|
|
18251
18253
|
var HAS_SOURCE_BUNDLING_SOURCES = existsSync8(
|
|
18252
|
-
resolve10(SOURCE_REPO_ROOT, "
|
|
18254
|
+
resolve10(SOURCE_REPO_ROOT, "packages", "plays", "bundling", "index.ts")
|
|
18253
18255
|
);
|
|
18254
18256
|
var PACKAGED_BUNDLING_SOURCE_ROOT = resolve10(
|
|
18255
18257
|
SDK_PACKAGE_ROOT,
|
|
@@ -18266,7 +18268,7 @@ var HAS_PACKAGED_BUNDLING_SOURCES = existsSync8(
|
|
|
18266
18268
|
)
|
|
18267
18269
|
);
|
|
18268
18270
|
var PROJECT_ROOT = HAS_SOURCE_BUNDLING_SOURCES ? SOURCE_REPO_ROOT : HAS_PACKAGED_BUNDLING_SOURCES ? PACKAGED_BUNDLING_SOURCE_ROOT : resolve10(SDK_PACKAGE_ROOT, "..");
|
|
18269
|
-
var SDK_SOURCE_ROOT = HAS_SOURCE_BUNDLING_SOURCES ? resolve10(
|
|
18271
|
+
var SDK_SOURCE_ROOT = HAS_SOURCE_BUNDLING_SOURCES ? resolve10(SDK_PACKAGE_ROOT, "src") : HAS_PACKAGED_BUNDLING_SOURCES ? resolve10(PACKAGED_BUNDLING_SOURCE_ROOT, "sdk", "src") : resolve10(SDK_PACKAGE_ROOT, "src");
|
|
18270
18272
|
var SDK_PACKAGE_JSON = resolve10(SDK_PACKAGE_ROOT, "package.json");
|
|
18271
18273
|
var SDK_ENTRY_FILE = resolve10(SDK_SOURCE_ROOT, "index.ts");
|
|
18272
18274
|
var SDK_TYPES_ENTRY_FILE = HAS_SOURCE_BUNDLING_SOURCES ? SDK_ENTRY_FILE : resolve10(SDK_PACKAGE_ROOT, "dist", "index.d.ts");
|
|
@@ -18538,7 +18540,7 @@ ${hint}`;
|
|
|
18538
18540
|
});
|
|
18539
18541
|
}
|
|
18540
18542
|
|
|
18541
|
-
// ../
|
|
18543
|
+
// ../play-runtime/governor/policy.ts
|
|
18542
18544
|
var DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS = 64;
|
|
18543
18545
|
var MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS = 256;
|
|
18544
18546
|
var MAX_CONFIGURABLE_CONCURRENT_ROWS = 1e3;
|
|
@@ -18563,7 +18565,7 @@ function resolveMaxConcurrentRows(requested) {
|
|
|
18563
18565
|
return requested;
|
|
18564
18566
|
}
|
|
18565
18567
|
|
|
18566
|
-
// ../
|
|
18568
|
+
// ../plays/sandbox-runtime-limits.ts
|
|
18567
18569
|
var PLAY_SANDBOX_SIZE_LIMITS = {
|
|
18568
18570
|
standard: {
|
|
18569
18571
|
memoryGiB: 1,
|
|
@@ -18638,7 +18640,7 @@ function resolvePlaySandboxRuntimeLimits(declaration) {
|
|
|
18638
18640
|
});
|
|
18639
18641
|
}
|
|
18640
18642
|
|
|
18641
|
-
// ../
|
|
18643
|
+
// ../play-runtime/worker-api-types.ts
|
|
18642
18644
|
var DAYTONA_COMPUTE_PRICING_USD = {
|
|
18643
18645
|
vcpuSecond: 14e-6,
|
|
18644
18646
|
memoryGiBSecond: 45e-7,
|
|
@@ -18677,7 +18679,7 @@ function resolveDaytonaSandboxComputeItem(input2) {
|
|
|
18677
18679
|
};
|
|
18678
18680
|
}
|
|
18679
18681
|
|
|
18680
|
-
//
|
|
18682
|
+
// ../../shared_libs/billing/compute-pricing.ts
|
|
18681
18683
|
var COMPUTE_BILLING_MARKUP_MULTIPLIER = 5;
|
|
18682
18684
|
var DEFAULT_USD_PER_CUSTOMER_CREDIT = 0.1;
|
|
18683
18685
|
var DEFAULT_PROVIDER_MARKUP_MULTIPLIER = 1.4;
|
|
@@ -18705,13 +18707,13 @@ function formatNonStandardSandboxRuntimeWarning(limits) {
|
|
|
18705
18707
|
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.`;
|
|
18706
18708
|
}
|
|
18707
18709
|
|
|
18708
|
-
// ../
|
|
18710
|
+
// ../play-runtime/internal-step-ids.ts
|
|
18709
18711
|
var INTERNAL_GLUE_NODE_ID_PREFIX = "run_javascript:";
|
|
18710
18712
|
function isInternalGlueStepId(stepId) {
|
|
18711
18713
|
return typeof stepId === "string" && stepId.startsWith(INTERNAL_GLUE_NODE_ID_PREFIX);
|
|
18712
18714
|
}
|
|
18713
18715
|
|
|
18714
|
-
// ../
|
|
18716
|
+
// ../play-runtime/log-provenance.ts
|
|
18715
18717
|
var LOG_PROVENANCE_CLASSES = [
|
|
18716
18718
|
"user",
|
|
18717
18719
|
"lifecycle",
|
|
@@ -18784,7 +18786,7 @@ function stripLeadingTimestamp(line) {
|
|
|
18784
18786
|
return isTimestamp ? match[2] ?? line : line;
|
|
18785
18787
|
}
|
|
18786
18788
|
|
|
18787
|
-
// ../
|
|
18789
|
+
// ../play-runtime/fixture-behavior.ts
|
|
18788
18790
|
var FIXTURE_BEHAVIOR_VERSION = 1;
|
|
18789
18791
|
var FIXTURE_BEHAVIOR_RESPONSE_VERSION = 2;
|
|
18790
18792
|
var FIXTURE_BEHAVIOR_REPLAY_VERSION = 3;
|
|
@@ -27131,7 +27133,7 @@ async function handlePlayShareUnpublish(args) {
|
|
|
27131
27133
|
return 0;
|
|
27132
27134
|
}
|
|
27133
27135
|
|
|
27134
|
-
// ../
|
|
27136
|
+
// ../plays/tool-codegen.ts
|
|
27135
27137
|
var KNOWN_GETTER_NAMES = /* @__PURE__ */ new Set([
|
|
27136
27138
|
"company_domain",
|
|
27137
27139
|
"company_linkedin_url",
|
|
@@ -27237,7 +27239,7 @@ function getterFromLegacyExtractJs(extractJs, fallbackAlias) {
|
|
|
27237
27239
|
return null;
|
|
27238
27240
|
}
|
|
27239
27241
|
|
|
27240
|
-
// ../
|
|
27242
|
+
// ../plays/enrich-compat-adapter.ts
|
|
27241
27243
|
var ENRICH_COMPAT_DEFAULT_PLAY_NAME = "deepline-enrich-v1-compat";
|
|
27242
27244
|
var ENRICH_COMPAT_DEFAULT_MAP_NAME = "deepline_enrich_rows";
|
|
27243
27245
|
function buildEnrichCompatibilityPlan(options = {}) {
|
|
@@ -27247,7 +27249,7 @@ function buildEnrichCompatibilityPlan(options = {}) {
|
|
|
27247
27249
|
};
|
|
27248
27250
|
}
|
|
27249
27251
|
|
|
27250
|
-
// ../
|
|
27252
|
+
// ../plays/user-code-safety.ts
|
|
27251
27253
|
var FORBIDDEN = [
|
|
27252
27254
|
// Non-deterministic — breaks replay.
|
|
27253
27255
|
{ pattern: /\bMath\s*\.\s*random\b/, reason: "Math.random()" },
|
|
@@ -27284,7 +27286,7 @@ function assertUserCodeIsSafe(code, label) {
|
|
|
27284
27286
|
}
|
|
27285
27287
|
}
|
|
27286
27288
|
|
|
27287
|
-
// ../
|
|
27289
|
+
// ../plays/enrich-play-compiler.ts
|
|
27288
27290
|
function isWaterfall(command) {
|
|
27289
27291
|
return "with_waterfall" in command;
|
|
27290
27292
|
}
|
|
@@ -32372,6 +32374,7 @@ async function handleFeedback(text, options) {
|
|
|
32372
32374
|
const { http } = getAuthedHttpClient();
|
|
32373
32375
|
const response = await http.post("/api/v2/cli/feedback", {
|
|
32374
32376
|
text,
|
|
32377
|
+
requested: options.requested === true,
|
|
32375
32378
|
environment: collectLocalEnvInfo(),
|
|
32376
32379
|
...options.command ? { command: options.command } : {},
|
|
32377
32380
|
...options.payload ? { payload: options.payload } : {}
|
|
@@ -32395,6 +32398,7 @@ function registerFeedbackCommands(program) {
|
|
|
32395
32398
|
Notes:
|
|
32396
32399
|
Sends the feedback text plus local CLI environment info to Deepline support.
|
|
32397
32400
|
Use --command and --payload to attach a reproducible command shape.
|
|
32401
|
+
Agents should pass --requested when the user asked them to submit the report.
|
|
32398
32402
|
|
|
32399
32403
|
Examples:
|
|
32400
32404
|
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch"
|
|
@@ -32406,9 +32410,13 @@ Examples:
|
|
|
32406
32410
|
`
|
|
32407
32411
|
Examples:
|
|
32408
32412
|
deepline feedback send "tools search returned stale results" --json
|
|
32413
|
+
deepline feedback send "tools search returned stale results" --requested --json
|
|
32409
32414
|
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch"
|
|
32410
32415
|
`
|
|
32411
|
-
).argument("<text>", "Feedback text").option("--command <command>", "Command that reproduced the issue").option("--payload <payload>", "JSON or plain-text payload for the repro").option(
|
|
32416
|
+
).argument("<text>", "Feedback text").option("--command <command>", "Command that reproduced the issue").option("--payload <payload>", "JSON or plain-text payload for the repro").option(
|
|
32417
|
+
"--requested",
|
|
32418
|
+
"Mark the report as explicitly requested by the user"
|
|
32419
|
+
).option("--json", "Emit JSON output").action(handleFeedback);
|
|
32412
32420
|
}
|
|
32413
32421
|
|
|
32414
32422
|
// src/cli/commands/sessions.ts
|
|
@@ -35317,7 +35325,7 @@ import { existsSync as existsSync12, mkdirSync as mkdirSync10, readFileSync as r
|
|
|
35317
35325
|
import { homedir as homedir8 } from "os";
|
|
35318
35326
|
import { dirname as dirname14, join as join14 } from "path";
|
|
35319
35327
|
|
|
35320
|
-
//
|
|
35328
|
+
// ../../shared_libs/cli/install-commands.json
|
|
35321
35329
|
var install_commands_default = {
|
|
35322
35330
|
skills: {
|
|
35323
35331
|
index_path: "/.well-known/skills/index.json",
|
|
@@ -37254,7 +37262,14 @@ import {
|
|
|
37254
37262
|
writeFileSync as writeFileSync16
|
|
37255
37263
|
} from "fs";
|
|
37256
37264
|
import { homedir as homedir11 } from "os";
|
|
37257
|
-
import {
|
|
37265
|
+
import {
|
|
37266
|
+
basename as basename7,
|
|
37267
|
+
dirname as dirname17,
|
|
37268
|
+
isAbsolute as isAbsolute7,
|
|
37269
|
+
join as join18,
|
|
37270
|
+
relative as relative7,
|
|
37271
|
+
resolve as resolve16
|
|
37272
|
+
} from "path";
|
|
37258
37273
|
|
|
37259
37274
|
// src/cli/install-integrity.ts
|
|
37260
37275
|
import { createRequire } from "module";
|
|
@@ -37548,6 +37563,10 @@ function resolvePythonSidecarUpdatePlan(options) {
|
|
|
37548
37563
|
function findRepoBackedSdkRoot(startPath) {
|
|
37549
37564
|
let current = resolve16(startPath);
|
|
37550
37565
|
while (true) {
|
|
37566
|
+
if (existsSync16(join18(current, "package.json")) && existsSync16(join18(current, "bin", "deepline-dev.ts"))) {
|
|
37567
|
+
const parent2 = dirname17(current);
|
|
37568
|
+
return basename7(parent2) === "packages" && basename7(current) === "sdk" ? dirname17(parent2) : parent2;
|
|
37569
|
+
}
|
|
37551
37570
|
if (existsSync16(join18(current, "sdk", "package.json")) && existsSync16(join18(current, "sdk", "bin", "deepline-dev.ts"))) {
|
|
37552
37571
|
return current;
|
|
37553
37572
|
}
|
|
@@ -39254,7 +39273,7 @@ function extractSummaryFields(payload) {
|
|
|
39254
39273
|
return {};
|
|
39255
39274
|
}
|
|
39256
39275
|
|
|
39257
|
-
// ../
|
|
39276
|
+
// ../plays/tool-category-descriptions.ts
|
|
39258
39277
|
var TOOL_CATEGORY_DESCRIPTIONS = {
|
|
39259
39278
|
company_search: "Find companies matching firmographic, ad, or web criteria.",
|
|
39260
39279
|
people_search: "Find people matching role, company, or persona criteria.",
|