deepline 0.3.495 → 0.3.497
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-core.ts +91 -1
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +5 -19
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/billing/credit-recovery.ts +79 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-control.ts +19 -3
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-gateway-drain.ts +110 -66
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +57 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +15 -0
- package/dist/bundling-sources/shared_libs/plays/docflow.ts +28 -12
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +26 -6
- package/dist/bundling-sources/shared_libs/product-notifications/slack-payload.ts +4 -1
- package/dist/cli/auth-553ZBCPJ.js +43 -0
- package/dist/cli/{auth-B2YUNFQ6.mjs → auth-OAKBFUQD.mjs} +5 -5
- package/dist/cli/{billing-5TR7ZBZM.mjs → billing-AM6D2KN5.mjs} +7 -7
- package/dist/cli/{billing-2Q7TMNRE.js → billing-FUB6HQZ5.js} +80 -80
- package/dist/cli/{chunk-RBBOUPME.mjs → chunk-3DHPKENA.mjs} +1 -1
- package/dist/cli/{chunk-XR6RCBB3.mjs → chunk-3IVAGF4P.mjs} +10 -10
- package/dist/cli/{chunk-TUAEM76Y.js → chunk-3KG2FUU4.js} +108 -65
- package/dist/cli/{chunk-SC5GHGFD.mjs → chunk-4MR7LZXF.mjs} +2 -2
- package/dist/cli/{chunk-DFK5IJMT.mjs → chunk-5GXYXU45.mjs} +1 -1
- package/dist/cli/{chunk-H5L2Q2GI.mjs → chunk-5IBHSACU.mjs} +2 -2
- package/dist/cli/{chunk-CTFR52JC.js → chunk-6TA2H7CY.js} +26 -26
- package/dist/cli/{chunk-ZBQBH4IT.js → chunk-77IAUCTB.js} +3 -3
- package/dist/cli/{chunk-XAOLMEN5.js → chunk-7FFNSYMJ.js} +14 -14
- package/dist/cli/{chunk-XKYQR3QK.js → chunk-7RBIOOCQ.js} +3 -3
- package/dist/cli/{chunk-LQKZG5RN.js → chunk-A66Y2LCW.js} +53 -53
- package/dist/cli/{chunk-Z33PZUWG.js → chunk-B4Q3EBQX.js} +5 -5
- package/dist/cli/{chunk-T4PGA6UD.js → chunk-BBHGJE73.js} +1 -1
- package/dist/cli/{chunk-UDFO2MWA.js → chunk-BRUDMG56.js} +41 -41
- package/dist/cli/{chunk-DVQHG6AM.mjs → chunk-CS2AEAD6.mjs} +63 -11
- package/dist/cli/{chunk-Y2DUGUUU.js → chunk-DKSTMQ3F.js} +21 -21
- package/dist/cli/{chunk-PKV5CD3W.js → chunk-EQR5O2D2.js} +87 -35
- package/dist/cli/{chunk-L5ZXEYTQ.mjs → chunk-EWQ3KY5U.mjs} +6 -6
- package/dist/cli/{chunk-JRBQC6L4.mjs → chunk-FISH2MI2.mjs} +2 -2
- package/dist/cli/{chunk-PEIOQKTA.js → chunk-FVS5MJQ5.js} +3 -3
- package/dist/cli/{chunk-TSKVPEVZ.mjs → chunk-HRODQDTB.mjs} +46 -3
- package/dist/cli/{chunk-7YNZRALI.mjs → chunk-IURXJPGH.mjs} +3 -3
- package/dist/cli/{chunk-TCNILHMS.js → chunk-JDFYCHNV.js} +5 -5
- package/dist/cli/{chunk-TMO7W4P2.mjs → chunk-KFJV3BZX.mjs} +1 -1
- package/dist/cli/{chunk-S2QARJLX.mjs → chunk-KUX3HYJI.mjs} +1 -1
- package/dist/cli/{chunk-KG2FUYWB.mjs → chunk-LPCK5KK5.mjs} +3 -3
- package/dist/cli/{chunk-TFMV3NKL.mjs → chunk-M2WIEW2E.mjs} +1 -1
- package/dist/cli/{chunk-I66IWCY4.mjs → chunk-MBOAXLWC.mjs} +4 -4
- package/dist/cli/{chunk-CAWE3MS2.js → chunk-OEI6HXMK.js} +16 -16
- package/dist/cli/{chunk-UKGOZOTT.js → chunk-OWDK2PVH.js} +8 -8
- package/dist/cli/{chunk-7LLUJQM5.mjs → chunk-SJID5WMV.mjs} +4 -4
- package/dist/cli/{chunk-WVL5HGUG.js → chunk-SJM7MKOE.js} +2 -2
- package/dist/cli/{chunk-PHO53W67.js → chunk-SLS3HUVC.js} +4 -4
- package/dist/cli/{chunk-MG3WST3Z.mjs → chunk-TGAYN34A.mjs} +2 -2
- package/dist/cli/{chunk-SR6VS5PG.mjs → chunk-THD6KA67.mjs} +4 -4
- package/dist/cli/{chunk-OFBDI5S3.mjs → chunk-UETGYJYH.mjs} +2 -2
- package/dist/cli/{chunk-B3ROCZ5Y.js → chunk-UV7AT2D4.js} +2 -2
- package/dist/cli/{chunk-XX6PRYFI.js → chunk-V2EVSEUD.js} +16 -16
- package/dist/cli/{chunk-ZB6UYG5I.mjs → chunk-VMOVB2FN.mjs} +5 -5
- package/dist/cli/{chunk-UMFZQREB.js → chunk-WKCMARFR.js} +94 -94
- package/dist/cli/{chunk-ACVT5LPN.js → chunk-WXW7YJDO.js} +53 -53
- package/dist/cli/{chunk-FLJSK32S.mjs → chunk-WZ3A35ZD.mjs} +1 -1
- package/dist/cli/{chunk-MAMEKGLI.js → chunk-XLYJ7MJX.js} +7 -7
- package/dist/cli/{chunk-CKLJAQIV.mjs → chunk-XNLXHU6L.mjs} +5 -5
- package/dist/cli/{chunk-FC4JGTFC.mjs → chunk-XX7WLKOQ.mjs} +1 -1
- package/dist/cli/{chunk-HJ5LYO6U.mjs → chunk-YQ66NC4J.mjs} +2 -2
- package/dist/cli/{chunk-7OGADAAA.js → chunk-YUEFDOME.js} +6 -6
- package/dist/cli/{chunk-5OKQPDYJ.js → chunk-ZLYKN4AJ.js} +7 -7
- package/dist/cli/{csv-DZQ77T67.js → csv-PMBYKVUU.js} +13 -13
- package/dist/cli/{csv-5UQXKWLE.mjs → csv-U2GOFP3M.mjs} +4 -4
- package/dist/cli/{db-F62BVFTP.mjs → db-DKFOTZGZ.mjs} +7 -7
- package/dist/cli/{db-JIPLUHA6.js → db-GREVTMIR.js} +28 -28
- package/dist/cli/describe-BL5NNHV5.js +50 -0
- package/dist/cli/{describe-J7KYHONJ.mjs → describe-SWXA6L62.mjs} +18 -18
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/{executions-XQ4FNJ27.js → executions-2RRAESQK.js} +9 -9
- package/dist/cli/{executions-XB4F2KZD.mjs → executions-EBRFC5JR.mjs} +7 -7
- package/dist/cli/{feedback-5CR4CJ6W.mjs → feedback-4A57QLX2.mjs} +4 -4
- package/dist/cli/{feedback-Q6JRCMDV.js → feedback-N6ML7IRH.js} +8 -8
- package/dist/cli/{git-P5WBBUT3.mjs → git-6D2WQPOS.mjs} +5 -5
- package/dist/cli/git-7TSX5V57.js +25 -0
- package/dist/cli/index.js +137 -137
- package/dist/cli/index.mjs +40 -40
- package/dist/cli/{legacy-noops-H5JJVYZ2.mjs → legacy-noops-CL5QWXGH.mjs} +5 -5
- package/dist/cli/{legacy-noops-EJAB6III.js → legacy-noops-DXRJARNC.js} +8 -8
- package/dist/cli/{monitors-QPFAT2J5.mjs → monitors-SGMEGGJO.mjs} +190 -8
- package/dist/cli/{monitors-7DOGM7RO.js → monitors-XWKDVHYL.js} +318 -136
- package/dist/cli/{org-BH7ATDIJ.mjs → org-55BI5RQF.mjs} +7 -7
- package/dist/cli/{org-QOBB4IN3.js → org-QKQ57PDN.js} +73 -73
- package/dist/cli/{pages-PLTE54KM.js → pages-FOIR5UH4.js} +19 -19
- package/dist/cli/{pages-PJH2TXZQ.mjs → pages-LM4QACOM.mjs} +7 -7
- package/dist/cli/{play-ULTJ3LPA.mjs → play-7VA26O6E.mjs} +36 -61
- package/dist/cli/{play-XZAPTF3T.js → play-S44FXGD7.js} +634 -659
- package/dist/cli/{providers-6NUTRVE4.mjs → providers-QAVIR5E2.mjs} +7 -7
- package/dist/cli/{providers-SKXLW7M3.js → providers-RDSHID7C.js} +10 -10
- package/dist/cli/{quickstart-JFCIIGII.js → quickstart-EREQPM3G.js} +6 -6
- package/dist/cli/{quickstart-5HMJMXVT.mjs → quickstart-IL4HQYE4.mjs} +4 -4
- package/dist/cli/{run-2BJZPY4K.mjs → run-4XZNJR7N.mjs} +23 -23
- package/dist/cli/{run-BRAXLCBC.js → run-TBUUV5EG.js} +37 -37
- package/dist/cli/search-GCANFVVZ.js +32 -0
- package/dist/cli/{search-IDXSB2CV.mjs → search-SYT5UT5G.mjs} +8 -8
- package/dist/cli/{search-output-CJ4TNYF7.js → search-output-5F3EEQ34.js} +6 -6
- package/dist/cli/{search-output-AATMH4QG.mjs → search-output-Y3IKZ3TX.mjs} +4 -4
- package/dist/cli/{secrets-UQNEJSNG.mjs → secrets-AKAU2N3K.mjs} +7 -7
- package/dist/cli/{secrets-6SMKTBFT.js → secrets-PZWJ2ES5.js} +16 -16
- package/dist/cli/{sessions-W3KU4Q4X.js → sessions-UMHA7K23.js} +6 -6
- package/dist/cli/{sessions-MHTUVPSR.mjs → sessions-Z5C26IS7.mjs} +5 -5
- package/dist/cli/{settings-KNYJ6GXK.mjs → settings-S5BM3SVI.mjs} +12 -12
- package/dist/cli/{settings-BA52NEU5.js → settings-WGJYWTJZ.js} +79 -79
- package/dist/cli/{setup-D5HCJAVU.js → setup-6K6ERKOH.js} +49 -49
- package/dist/cli/{setup-TLTZ2YCO.mjs → setup-E4HRXP2X.mjs} +9 -9
- package/dist/cli/{skills-DPLM4EGS.mjs → skills-HIZA7YAN.mjs} +7 -7
- package/dist/cli/skills-J3GQHHHL.js +36 -0
- package/dist/cli/{tools-I4ZOJV23.mjs → tools-FS5S6BT7.mjs} +17 -17
- package/dist/cli/tools-RZYKMOUX.js +57 -0
- package/dist/cli/{update-VIFS7IK5.mjs → update-4CJPTG3L.mjs} +9 -9
- package/dist/cli/update-CATZW7GA.js +34 -0
- package/dist/cli/{workflow-7REPOHXM.js → workflow-TYSZ5JWS.js} +18 -18
- package/dist/cli/{workflow-TAQBNDV7.mjs → workflow-UMSXOIOS.mjs} +8 -8
- package/dist/{client-CKVH6tmp.d.ts → client-Cj3UqrCZ.d.ts} +1 -1
- package/dist/{client-BDT_LwuM.d.mts → client-DSCTVVRj.d.mts} +1 -1
- package/dist/{client-core-CEixe_C0.d.mts → client-core-B-8DTIN1.d.mts} +44 -3
- package/dist/{client-core-RS-d-vtY.d.ts → client-core-dI4KTuWS.d.ts} +44 -3
- package/dist/{compiler-manifest-CPEF48NM.d.mts → compiler-manifest-DlXDyndN.d.mts} +2 -0
- package/dist/{compiler-manifest-CPEF48NM.d.ts → compiler-manifest-DlXDyndN.d.ts} +2 -0
- package/dist/{errors-BWbPzqwo.d.mts → errors-BtriA2ld.d.mts} +1 -1
- package/dist/{errors-B-PJXveg.d.ts → errors-DmcLykM7.d.ts} +1 -1
- package/dist/{index-CvVxPpE8.d.ts → index--Jw-slHY.d.ts} +1 -1
- package/dist/{index-BJ8AA1F9.d.mts → index-DI0sR_fX.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +10 -10
- package/dist/index.mjs +7 -7
- package/dist/install-integrity.json +110 -110
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +2 -2
- package/dist/plays/run-request.mjs +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +6 -6
- package/dist/server.mjs +4 -4
- package/package.json +1 -1
- package/dist/cli/auth-GAOWVOK4.js +0 -43
- package/dist/cli/describe-BA4RAZ7J.js +0 -50
- package/dist/cli/git-EAO432S2.js +0 -25
- package/dist/cli/search-4MU2G6HV.js +0 -32
- package/dist/cli/skills-SVUWVXCE.js +0 -36
- package/dist/cli/tools-RJSP76HX.js +0 -57
- package/dist/cli/update-YT6JPIC6.js +0 -34
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parsePlayRunHeaderFlag,
|
|
6
6
|
parsePlayRunOptions,
|
|
7
7
|
resolvePlayRunCliOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LPCK5KK5.mjs";
|
|
9
9
|
import {
|
|
10
10
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
11
11
|
addDescribeOptions,
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
underscoreKeysLast,
|
|
18
18
|
writeExecutionOutput,
|
|
19
19
|
writeRunDatasetCsv
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KUX3HYJI.mjs";
|
|
21
21
|
import {
|
|
22
22
|
registerDeprecatedSearchCommand
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MBOAXLWC.mjs";
|
|
24
24
|
import "./chunk-5AEDYVB6.mjs";
|
|
25
25
|
import {
|
|
26
26
|
handleDeploymentGet,
|
|
27
27
|
handleDeploymentsList
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YQ66NC4J.mjs";
|
|
29
29
|
import {
|
|
30
30
|
buildPlayDashboardUrl,
|
|
31
31
|
buildPlayRunUrl
|
|
@@ -58,10 +58,10 @@ import {
|
|
|
58
58
|
import {
|
|
59
59
|
pinLocalPlayImports,
|
|
60
60
|
planLocalPlayExecution
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-UETGYJYH.mjs";
|
|
62
62
|
import {
|
|
63
63
|
DeeplineClient
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-4MR7LZXF.mjs";
|
|
65
65
|
import {
|
|
66
66
|
RUN_EVENT_SEARCH_KIND_VALUES,
|
|
67
67
|
RunEventQueryInputError,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
normalizePlayStatus,
|
|
75
75
|
normalizeRunEventOperationRequest,
|
|
76
76
|
parseLogLevel
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-HRODQDTB.mjs";
|
|
78
78
|
import "./chunk-L2VKAASU.mjs";
|
|
79
79
|
import {
|
|
80
80
|
CSV_DATA_INPUT_KEY,
|
|
@@ -85,9 +85,10 @@ import {
|
|
|
85
85
|
fileInputBindingsFromPlaySchema,
|
|
86
86
|
fileInputBindingsFromStaticPipeline,
|
|
87
87
|
isPlayRunPackage,
|
|
88
|
+
sqlSafePlayColumnName,
|
|
88
89
|
stageFileInputs,
|
|
89
90
|
stagedFileContentType
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-CS2AEAD6.mjs";
|
|
91
92
|
import {
|
|
92
93
|
CSV_HEADER_MATCHING_NOTE,
|
|
93
94
|
playInputExampleArgs
|
|
@@ -96,18 +97,18 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
96
97
|
import {
|
|
97
98
|
checkPlayRunCompatibility,
|
|
98
99
|
usesCliPlayAdmission
|
|
99
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-5IBHSACU.mjs";
|
|
100
101
|
import {
|
|
101
102
|
isCliTraceEnabled,
|
|
102
103
|
recordCliTrace,
|
|
103
104
|
resolveCliMaintenancePolicy,
|
|
104
105
|
traceCliSpan
|
|
105
|
-
} from "./chunk-
|
|
106
|
-
import "./chunk-
|
|
106
|
+
} from "./chunk-M2WIEW2E.mjs";
|
|
107
|
+
import "./chunk-THD6KA67.mjs";
|
|
107
108
|
import {
|
|
108
109
|
createCliProgress,
|
|
109
110
|
getActiveCliProgress
|
|
110
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-3DHPKENA.mjs";
|
|
111
112
|
import {
|
|
112
113
|
argsWantJson,
|
|
113
114
|
describeArgs,
|
|
@@ -121,17 +122,17 @@ import {
|
|
|
121
122
|
printJsonError,
|
|
122
123
|
renderCommandEnvelopeText,
|
|
123
124
|
shouldEmitJson
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import "./chunk-
|
|
125
|
+
} from "./chunk-FISH2MI2.mjs";
|
|
126
|
+
import "./chunk-XX7WLKOQ.mjs";
|
|
126
127
|
import {
|
|
127
128
|
fetchWithDeploymentProtection
|
|
128
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-WZ3A35ZD.mjs";
|
|
129
130
|
import "./chunk-4QF2K7TM.mjs";
|
|
130
131
|
import "./chunk-DLIRSHV6.mjs";
|
|
131
132
|
import {
|
|
132
133
|
DeeplineError
|
|
133
134
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
134
|
-
import "./chunk-
|
|
135
|
+
import "./chunk-5GXYXU45.mjs";
|
|
135
136
|
import "./chunk-WZYKRD7T.mjs";
|
|
136
137
|
import {
|
|
137
138
|
__commonJS,
|
|
@@ -4280,36 +4281,6 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
|
|
|
4280
4281
|
return 0;
|
|
4281
4282
|
}
|
|
4282
4283
|
|
|
4283
|
-
// ../play-data-plane/column-names.ts
|
|
4284
|
-
var POSTGRES_IDENTIFIER_MAX_BYTES = 63;
|
|
4285
|
-
var HASH_SUFFIX_LENGTH = 10;
|
|
4286
|
-
function normalizePlayColumnName(id, preserveAuthoredPrefix = true) {
|
|
4287
|
-
const prefix = preserveAuthoredPrefix ? id.trim().match(/^_+/)?.[0] ?? "" : "";
|
|
4288
|
-
const normalized = id.trim().replace(/\.+/g, "__").replace(/[^A-Za-z0-9_]+/g, "_").replace(/^_+|_+$/g, "").toLowerCase();
|
|
4289
|
-
const safe = `${prefix}${normalized || "column"}`;
|
|
4290
|
-
return /^[A-Za-z_]/.test(safe) ? safe : `c_${safe}`;
|
|
4291
|
-
}
|
|
4292
|
-
function stableHexSuffix(value) {
|
|
4293
|
-
let primary = 2166136261;
|
|
4294
|
-
let secondary = 2166136261 ^ value.length;
|
|
4295
|
-
for (let index = 0; index < value.length; index += 1) {
|
|
4296
|
-
const code = value.charCodeAt(index);
|
|
4297
|
-
primary = Math.imul(primary ^ code, 16777619) >>> 0;
|
|
4298
|
-
secondary = Math.imul(secondary ^ code + index, 16777619) >>> 0;
|
|
4299
|
-
}
|
|
4300
|
-
return `${primary.toString(16).padStart(8, "0")}${secondary.toString(16).padStart(8, "0")}`.slice(0, HASH_SUFFIX_LENGTH);
|
|
4301
|
-
}
|
|
4302
|
-
function sqlSafePlayColumnName(id) {
|
|
4303
|
-
const prefixed = normalizePlayColumnName(id);
|
|
4304
|
-
if (prefixed.length <= POSTGRES_IDENTIFIER_MAX_BYTES) {
|
|
4305
|
-
return prefixed;
|
|
4306
|
-
}
|
|
4307
|
-
const hash = stableHexSuffix(prefixed);
|
|
4308
|
-
const maxPrefixLength = POSTGRES_IDENTIFIER_MAX_BYTES - HASH_SUFFIX_LENGTH - 1;
|
|
4309
|
-
const prefix = prefixed.slice(0, maxPrefixLength).replace(/_+$/g, "").slice(0, maxPrefixLength);
|
|
4310
|
-
return `${prefix}_${hash}`;
|
|
4311
|
-
}
|
|
4312
|
-
|
|
4313
4284
|
// ../plays/cascade-falloff.ts
|
|
4314
4285
|
function cascadeFalloff(input) {
|
|
4315
4286
|
const order = new Map(input.legs.map((leg, index) => [leg, index]));
|
|
@@ -12620,18 +12591,7 @@ async function handlePlayCheck(args) {
|
|
|
12620
12591
|
}
|
|
12621
12592
|
const absolutePlayPath = resolve3(options.target);
|
|
12622
12593
|
const sourceCode = readFileSync(absolutePlayPath, "utf-8");
|
|
12623
|
-
const
|
|
12624
|
-
const outcomes = [];
|
|
12625
|
-
for (const exportName of exportNames) {
|
|
12626
|
-
outcomes.push(
|
|
12627
|
-
await checkOneExportedPlay({
|
|
12628
|
-
absolutePlayPath,
|
|
12629
|
-
sourceCode,
|
|
12630
|
-
exportName,
|
|
12631
|
-
target: options.target
|
|
12632
|
-
})
|
|
12633
|
-
);
|
|
12634
|
-
}
|
|
12594
|
+
const outcomes = await checkPlayFileExports({ absolutePlayPath, sourceCode });
|
|
12635
12595
|
const primary = outcomes.find(
|
|
12636
12596
|
(outcome) => outcome.exportName === PLAY_DEFAULT_EXPORT
|
|
12637
12597
|
);
|
|
@@ -12677,6 +12637,20 @@ function artifactForProductionCompatibilityCheck(artifact) {
|
|
|
12677
12637
|
}
|
|
12678
12638
|
};
|
|
12679
12639
|
}
|
|
12640
|
+
async function checkPlayFileExports(input) {
|
|
12641
|
+
const outcomes = [];
|
|
12642
|
+
for (const exportName of resolvePlayCheckExportNames(input.sourceCode)) {
|
|
12643
|
+
outcomes.push(
|
|
12644
|
+
await checkOneExportedPlay({
|
|
12645
|
+
absolutePlayPath: input.absolutePlayPath,
|
|
12646
|
+
sourceCode: input.sourceCode,
|
|
12647
|
+
exportName,
|
|
12648
|
+
client: input.client
|
|
12649
|
+
})
|
|
12650
|
+
);
|
|
12651
|
+
}
|
|
12652
|
+
return outcomes;
|
|
12653
|
+
}
|
|
12680
12654
|
async function checkOneExportedPlay(input) {
|
|
12681
12655
|
const { absolutePlayPath, sourceCode, exportName } = input;
|
|
12682
12656
|
const fallbackName = await extractPlayName(sourceCode, absolutePlayPath);
|
|
@@ -12696,7 +12670,7 @@ async function checkOneExportedPlay(input) {
|
|
|
12696
12670
|
}
|
|
12697
12671
|
const playName = graph.root.playName ?? fallbackName;
|
|
12698
12672
|
const authoringErrors = collectPlayGraphAuthoringErrors(graph);
|
|
12699
|
-
const client = new DeeplineClient();
|
|
12673
|
+
const client = input.client ?? new DeeplineClient();
|
|
12700
12674
|
const integrationMode = resolveEvalIntegrationMode();
|
|
12701
12675
|
const checked = await checkLocalPlayGraph({
|
|
12702
12676
|
client,
|
|
@@ -16667,7 +16641,7 @@ Examples:
|
|
|
16667
16641
|
process.exitCode = await ownView();
|
|
16668
16642
|
return;
|
|
16669
16643
|
}
|
|
16670
|
-
const { describeAnything } = await import("./describe-
|
|
16644
|
+
const { describeAnything } = await import("./describe-SWXA6L62.mjs");
|
|
16671
16645
|
process.exitCode = await describeAnything(
|
|
16672
16646
|
name,
|
|
16673
16647
|
{
|
|
@@ -17005,7 +16979,7 @@ Examples:
|
|
|
17005
16979
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
17006
16980
|
).action(async (runId, options) => {
|
|
17007
16981
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
17008
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
16982
|
+
const { getToolExecutionReceipt } = await import("./tools-FS5S6BT7.mjs");
|
|
17009
16983
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
17010
16984
|
receiptJson: options.json !== void 0
|
|
17011
16985
|
});
|
|
@@ -17688,6 +17662,7 @@ export {
|
|
|
17688
17662
|
buildRunLogsText,
|
|
17689
17663
|
buildRunPackageTextLines,
|
|
17690
17664
|
buildStopAllDryRunTextLines,
|
|
17665
|
+
checkPlayFileExports,
|
|
17691
17666
|
clampJsonPreviewText,
|
|
17692
17667
|
compactPlayStatus,
|
|
17693
17668
|
csvColumnLines,
|