deepline 0.3.535 → 0.3.537
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 +232 -147
- package/dist/bundling-sources/sdk/src/index.ts +4 -0
- package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +27 -1
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +16 -5
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -23
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +26 -14
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +33 -8
- package/dist/bundling-sources/shared_libs/monitors/fleets/count-drift-alert.ts +121 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +14 -82
- package/dist/bundling-sources/shared_libs/monitors/package.json +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +22 -4
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -26
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +21 -31
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +88 -96
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
- package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +127 -9
- package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
- package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +8 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +84 -49
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -32
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
- package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
- package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
- package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
- package/dist/cli/{auth-ZCTMB5RA.mjs → auth-4SUPGDIM.mjs} +7 -7
- package/dist/cli/auth-Y2K2ZYYA.js +43 -0
- package/dist/cli/{billing-OU2ZHL72.mjs → billing-5JUA3ZM3.mjs} +185 -24
- package/dist/cli/{billing-GVFKZQH3.js → billing-SQU726P7.js} +273 -112
- package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
- package/dist/cli/{chunk-ZUVE63Y7.js → chunk-2Q7VXTMS.js} +2 -2
- package/dist/cli/{chunk-WAIBM6KX.mjs → chunk-37AZHCTP.mjs} +5 -5
- package/dist/cli/{chunk-D4MHCCIR.js → chunk-3PMCQ3LK.js} +33 -33
- package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
- package/dist/cli/{chunk-PI5R65OQ.js → chunk-5EOEJKSV.js} +1 -1
- package/dist/cli/{chunk-XSOTEVOB.js → chunk-6BBGUQJJ.js} +50 -141
- package/dist/cli/{chunk-OM732MGV.js → chunk-ALHKB3AE.js} +17 -17
- package/dist/cli/{chunk-6LHX33VN.js → chunk-AVQET3NR.js} +9 -6
- package/dist/cli/{chunk-W6T23EUC.mjs → chunk-AX2OAXDL.mjs} +1 -1
- package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
- package/dist/cli/{chunk-G2DLG32W.mjs → chunk-BFHR7IC2.mjs} +40 -27
- package/dist/cli/{chunk-KWGXHPHL.js → chunk-BGXEMTIG.js} +523 -59
- package/dist/cli/{chunk-AUEUAPVS.mjs → chunk-BRRCWUOW.mjs} +1 -1
- package/dist/cli/{chunk-QYBAHYP4.mjs → chunk-C37VELBR.mjs} +7 -9
- package/dist/cli/{chunk-H6SWS5CG.mjs → chunk-C3XD2WHM.mjs} +2 -2
- package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
- package/dist/cli/{chunk-CIDATNTY.js → chunk-CFND2ACL.js} +16 -16
- package/dist/cli/{chunk-J75DANZY.mjs → chunk-CGDW2CRR.mjs} +2 -2
- package/dist/cli/{chunk-RFQWSH6I.js → chunk-CHIGEDAE.js} +3 -3
- package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
- package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
- package/dist/cli/{chunk-E3CLOVG5.mjs → chunk-CXTW7SRW.mjs} +50 -141
- package/dist/cli/{chunk-4NLRWKZB.js → chunk-D77W6Q67.js} +26 -26
- package/dist/cli/{chunk-JWWYLGUT.mjs → chunk-EEFSUCYP.mjs} +475 -11
- package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
- package/dist/cli/{chunk-6TYRRNXY.mjs → chunk-GI3V4D7K.mjs} +2 -2
- package/dist/cli/{chunk-DFJODFMC.mjs → chunk-GPMS6OPX.mjs} +5 -5
- package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
- package/dist/cli/{chunk-DAPKLYST.js → chunk-IQOIT6E3.js} +41 -41
- package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
- package/dist/cli/{chunk-FGN75ZN6.js → chunk-JMHYDDBQ.js} +390 -382
- package/dist/cli/{chunk-KA6ZERJL.js → chunk-JS2SBCWD.js} +6 -6
- package/dist/cli/{chunk-W5YJYU4G.mjs → chunk-K4WJ4BYO.mjs} +2 -2
- package/dist/cli/{chunk-LVISZFYO.mjs → chunk-KH27B2HJ.mjs} +2 -2
- package/dist/cli/{chunk-UUQ2OXMH.js → chunk-KULT6O5K.js} +18 -20
- package/dist/cli/{chunk-YFZLZNTH.mjs → chunk-L3JVGNAT.mjs} +4 -4
- package/dist/cli/{chunk-HYBZWSSH.js → chunk-L6QAIZNZ.js} +44 -44
- package/dist/cli/{chunk-TCVCFZP6.mjs → chunk-NU7B5X6J.mjs} +4 -1
- package/dist/cli/{chunk-7PXP2FQK.js → chunk-NXGLJGPB.js} +2 -2
- package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
- package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
- package/dist/cli/{chunk-2D6SWQTK.js → chunk-PJ4ZGZAN.js} +13 -13
- package/dist/cli/{chunk-HWPOXCCK.js → chunk-PU42VOBI.js} +8 -8
- package/dist/cli/{chunk-RKY4LBX3.mjs → chunk-QDBGPRR2.mjs} +3 -3
- package/dist/cli/{chunk-KOZBZPRM.js → chunk-QPDLG7DQ.js} +55 -55
- package/dist/cli/{chunk-DWPY6ZID.mjs → chunk-R7JYG6XO.mjs} +1 -1
- package/dist/cli/{chunk-K76AEBFY.mjs → chunk-RMVZTBI5.mjs} +4 -4
- package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
- package/dist/cli/{chunk-WNNA4L6Z.js → chunk-UGA5KI4A.js} +22 -22
- package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
- package/dist/cli/{chunk-7CWSAEYS.mjs → chunk-V5IIBG2E.mjs} +1 -1
- package/dist/cli/{chunk-BF65LB7X.mjs → chunk-VP2K5B3R.mjs} +4 -4
- package/dist/cli/{chunk-DYIWDUY4.js → chunk-VRYX2BR4.js} +316 -303
- package/dist/cli/{chunk-R2KKEHJN.mjs → chunk-W3J3LT22.mjs} +5 -5
- package/dist/cli/{chunk-PHLNYBAA.js → chunk-WBFOV5HT.js} +5 -5
- package/dist/cli/{chunk-5EKNDNFQ.js → chunk-WBTYWJLN.js} +2 -2
- package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
- package/dist/cli/{chunk-K3IPGMGP.js → chunk-XDS26J7Z.js} +17 -19
- package/dist/cli/{chunk-JQQG4QL4.mjs → chunk-Y6AMMXWS.mjs} +3 -3
- package/dist/cli/{chunk-7R5DAANG.mjs → chunk-Z2PPB3IO.mjs} +1 -1
- package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
- package/dist/cli/{chunk-243O3FH5.js → chunk-ZFSB7GXF.js} +5 -5
- package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
- package/dist/cli/{chunk-FZKPPB5P.mjs → chunk-ZHPSJ3LJ.mjs} +85 -77
- package/dist/cli/{chunk-K53NKWZO.mjs → chunk-ZUAMXZXC.mjs} +13 -15
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-CLPVMIRF.mjs → csv-HZP6QMG7.mjs} +6 -6
- package/dist/cli/{csv-CD55KEIO.js → csv-JITYN27L.js} +15 -15
- package/dist/cli/{db-MQKLDAEO.js → db-FYSRB7O4.js} +36 -36
- package/dist/cli/{db-AU4SMWUN.mjs → db-QRIRTOMM.mjs} +9 -9
- package/dist/cli/describe-LSOHOLFI.js +49 -0
- package/dist/cli/describe-REXJVJC3.mjs +49 -0
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/describe-core.js +5 -5
- package/dist/cli/describe-core.mjs +4 -4
- package/dist/cli/{executions-TFIJPUX7.mjs → executions-53KJAFOW.mjs} +9 -9
- package/dist/cli/{executions-77GOLWRM.js → executions-BSTF4DDS.js} +11 -11
- package/dist/cli/{feedback-OV5YAL3A.js → feedback-6MW3QOXX.js} +16 -16
- package/dist/cli/{feedback-2WRSZ5WL.mjs → feedback-CWUJJF3J.mjs} +8 -8
- package/dist/cli/{git-VNS4ATLZ.mjs → git-CKVZTJFS.mjs} +7 -7
- package/dist/cli/git-S7SWUZ3T.js +25 -0
- package/dist/cli/index.js +151 -157
- package/dist/cli/index.mjs +51 -57
- package/dist/cli/{legacy-noops-HDOB5C6F.js → legacy-noops-QBL4PNGB.js} +11 -11
- package/dist/cli/{legacy-noops-C732QDCY.mjs → legacy-noops-USTBRFRX.mjs} +8 -8
- package/dist/cli/{monitors-2LYEFXOU.mjs → monitors-6UCG5D7W.mjs} +19 -16
- package/dist/cli/{monitors-5IUMHH3E.js → monitors-VCR6SUZD.js} +125 -122
- package/dist/cli/{org-G4YGZPHS.mjs → org-GSRBOJVO.mjs} +9 -9
- package/dist/cli/{org-ADW2EVAC.js → org-HPILTEG4.js} +89 -89
- package/dist/cli/{play-7GQ56C2D.mjs → play-QRTYQNG4.mjs} +123 -76
- package/dist/cli/{play-EHSOSSHT.js → play-TK7WOP5H.js} +641 -594
- package/dist/cli/{providers-PWCF6OOO.js → providers-HEXNJ5QC.js} +12 -12
- package/dist/cli/{providers-WL3YTCSV.mjs → providers-OAQJWVBS.mjs} +9 -9
- package/dist/cli/{quickstart-323XOPGI.mjs → quickstart-FFVHTPSP.mjs} +6 -6
- package/dist/cli/{quickstart-ZKI5MURA.js → quickstart-PYZTFXZX.js} +8 -8
- package/dist/cli/{run-XZPWA6JS.js → run-4DWJXJRO.js} +50 -53
- package/dist/cli/{run-ZCNZU3K2.mjs → run-HLN6YYZH.mjs} +31 -34
- package/dist/cli/search-WERQBC6V.js +32 -0
- package/dist/cli/{search-CVLVSFMJ.mjs → search-ZHRCXGEL.mjs} +10 -11
- package/dist/cli/{search-output-7HRSSRBS.js → search-output-2KY6PFDH.js} +8 -8
- package/dist/cli/{search-output-6PY6RN2R.mjs → search-output-N7QXACVK.mjs} +6 -6
- package/dist/cli/{secrets-6S2ZWDIM.mjs → secrets-FKMWBLHU.mjs} +9 -9
- package/dist/cli/{secrets-IYD5VKY4.js → secrets-WXQ7XO5C.js} +18 -18
- package/dist/cli/{sessions-GVEX5TUJ.mjs → sessions-3YDTEDA5.mjs} +8 -8
- package/dist/cli/sessions-LXQ4Q6BS.js +22 -0
- package/dist/cli/{settings-CANK4HJQ.js → settings-67TWLQ6E.js} +88 -89
- package/dist/cli/{settings-BN5MJZ3C.mjs → settings-JTPASUZN.mjs} +15 -16
- package/dist/cli/{setup-YSGKGLSJ.js → setup-KUERQJUX.js} +51 -52
- package/dist/cli/{setup-JNMSCCU4.mjs → setup-VYNGXUJ6.mjs} +11 -12
- package/dist/cli/skills-EFRLHY3F.js +36 -0
- package/dist/cli/{skills-QCQN2UM2.mjs → skills-KI4KYHH6.mjs} +9 -10
- package/dist/cli/tools-C3EIGFFP.js +56 -0
- package/dist/cli/{tools-CDPOID7V.mjs → tools-UQDJS2RS.mjs} +20 -21
- package/dist/cli/{update-D3ZERUQ3.mjs → update-7FQQUBOD.mjs} +11 -12
- package/dist/cli/update-KCY72RXH.js +34 -0
- package/dist/cli/{views-RDZRWQBQ.mjs → views-JAM4MNNV.mjs} +54 -10
- package/dist/cli/{views-4NV2KQKA.js → views-MJK7JGZG.js} +66 -22
- package/dist/cli/{workflow-RABJCAZC.js → workflow-AQPRIWQX.js} +20 -20
- package/dist/cli/{workflow-2CG3TVCG.mjs → workflow-TQRV5FGO.mjs} +10 -10
- package/dist/{client-DhSvMO3A.d.mts → client-BlLYQDNo.d.mts} +1 -1
- package/dist/{client-oGNJMQFd.d.ts → client-DSQlkIDO.d.ts} +1 -1
- package/dist/{client-core-CdWH6Sii.d.ts → client-core-CDwapXy5.d.ts} +159 -108
- package/dist/{client-core-CVG1Et-4.d.mts → client-core-rX7n2H8U.d.mts} +159 -108
- package/dist/{compiler-manifest-D2ZlBGxj.d.ts → compiler-manifest-BHNC4RL-.d.mts} +15 -22
- package/dist/{compiler-manifest-D2ZlBGxj.d.mts → compiler-manifest-BHNC4RL-.d.ts} +15 -22
- package/dist/{errors-B-gOQdj-.d.mts → errors-D7sPXrvB.d.mts} +1 -1
- package/dist/{errors-CB0KAmmV.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
- package/dist/{index-c3nvUGCS.d.ts → index-CQTBHXHr.d.ts} +1 -1
- package/dist/{index-BbJADro4.d.mts → index-NaDZq2xf.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +15 -15
- package/dist/index.mjs +11 -11
- package/dist/install-integrity.json +129 -132
- package/dist/monitor-fleet-contract.d.mts +17 -11
- package/dist/monitor-fleet-contract.d.ts +17 -11
- package/dist/monitor-fleet-contract.js +3 -3
- package/dist/monitor-fleet-contract.mjs +2 -2
- package/dist/monitor-input-contract.js +2 -2
- package/dist/monitor-input-contract.mjs +1 -1
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +17 -5
- package/dist/plays/csv-data-input.js +3 -3
- package/dist/plays/csv-data-input.mjs +2 -2
- 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 +3 -3
- package/dist/plays/run-request.mjs +2 -2
- 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 +12 -12
- package/dist/server.mjs +6 -6
- package/package.json +1 -1
- package/dist/cli/auth-VDCU3T6A.js +0 -43
- package/dist/cli/chunk-4QELPWUW.mjs +0 -405
- package/dist/cli/chunk-T7RBM2WX.js +0 -405
- package/dist/cli/describe-5BFNHT5V.js +0 -50
- package/dist/cli/describe-AWJUXE2U.mjs +0 -50
- package/dist/cli/git-HGMX52XU.js +0 -25
- package/dist/cli/pages-KXKWSCEV.mjs +0 -266
- package/dist/cli/pages-VTJGAI2D.js +0 -266
- package/dist/cli/search-J6EY7DQN.js +0 -33
- package/dist/cli/sessions-7HPIVSQ4.js +0 -22
- package/dist/cli/skills-WDGSSKJZ.js +0 -37
- package/dist/cli/tools-URNVXSTZ.js +0 -57
- package/dist/cli/update-Q6JW32IA.js +0 -35
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parsePlayRunHeaderFlag,
|
|
6
6
|
parsePlayRunOptions,
|
|
7
7
|
resolvePlayRunCliOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L3JVGNAT.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ExecutionOutputError,
|
|
11
11
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
@@ -18,15 +18,15 @@ import {
|
|
|
18
18
|
underscoreKeysLast,
|
|
19
19
|
writeExecutionOutput,
|
|
20
20
|
writeRunDatasetCsv
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NU7B5X6J.mjs";
|
|
22
22
|
import {
|
|
23
23
|
registerDeprecatedSearchCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ZUAMXZXC.mjs";
|
|
25
25
|
import "./chunk-5AEDYVB6.mjs";
|
|
26
26
|
import {
|
|
27
27
|
handleDeploymentGet,
|
|
28
28
|
handleDeploymentsList
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-C3XD2WHM.mjs";
|
|
30
30
|
import {
|
|
31
31
|
buildPlayDashboardUrl,
|
|
32
32
|
buildPlayRunUrl
|
|
@@ -47,14 +47,14 @@ import {
|
|
|
47
47
|
} from "./chunk-F6QV42MC.mjs";
|
|
48
48
|
import {
|
|
49
49
|
parseCsvDataInput
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-FSIVF2SI.mjs";
|
|
51
51
|
import {
|
|
52
52
|
pinLocalPlayImports,
|
|
53
53
|
planLocalPlayExecution
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-GI3V4D7K.mjs";
|
|
55
55
|
import {
|
|
56
56
|
DeeplineClient
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KH27B2HJ.mjs";
|
|
58
58
|
import {
|
|
59
59
|
RUN_EVENT_SEARCH_KIND_VALUES,
|
|
60
60
|
RunEventQueryInputError,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
normalizePlayStatus,
|
|
68
68
|
normalizeRunEventOperationRequest,
|
|
69
69
|
parseLogLevel
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-ZHPSJ3LJ.mjs";
|
|
71
71
|
import "./chunk-L2VKAASU.mjs";
|
|
72
72
|
import {
|
|
73
73
|
CSV_DATA_INPUT_KEY,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
sqlSafePlayColumnName,
|
|
83
83
|
stageFileInputs,
|
|
84
84
|
stagedFileContentType
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-Z2XA6YU4.mjs";
|
|
86
86
|
import {
|
|
87
87
|
CSV_HEADER_MATCHING_NOTE,
|
|
88
88
|
playInputExampleArgs
|
|
@@ -91,19 +91,18 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
91
91
|
import {
|
|
92
92
|
checkPlayRunCompatibility,
|
|
93
93
|
usesCliPlayAdmission
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-CGDW2CRR.mjs";
|
|
95
95
|
import {
|
|
96
96
|
isCliTraceEnabled,
|
|
97
97
|
recordCliTrace,
|
|
98
98
|
resolveCliMaintenancePolicy,
|
|
99
99
|
traceCliSpan
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-R7JYG6XO.mjs";
|
|
101
|
+
import "./chunk-GPMS6OPX.mjs";
|
|
102
102
|
import {
|
|
103
103
|
createCliProgress,
|
|
104
104
|
getActiveCliProgress
|
|
105
|
-
} from "./chunk-
|
|
106
|
-
import "./chunk-4QELPWUW.mjs";
|
|
105
|
+
} from "./chunk-Z2PPB3IO.mjs";
|
|
107
106
|
import {
|
|
108
107
|
formatNonStandardSandboxRuntimeWarning
|
|
109
108
|
} from "./chunk-5LUF4LAR.mjs";
|
|
@@ -123,17 +122,17 @@ import {
|
|
|
123
122
|
printJsonError,
|
|
124
123
|
renderCommandEnvelopeText,
|
|
125
124
|
shouldEmitJson
|
|
126
|
-
} from "./chunk-
|
|
127
|
-
import "./chunk-
|
|
125
|
+
} from "./chunk-EEFSUCYP.mjs";
|
|
126
|
+
import "./chunk-K4WJ4BYO.mjs";
|
|
128
127
|
import {
|
|
129
128
|
fetchWithDeploymentProtection
|
|
130
|
-
} from "./chunk-
|
|
131
|
-
import "./chunk-
|
|
129
|
+
} from "./chunk-QDBGPRR2.mjs";
|
|
130
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
132
131
|
import "./chunk-DLIRSHV6.mjs";
|
|
133
132
|
import {
|
|
134
133
|
DeeplineError
|
|
135
|
-
} from "./chunk-
|
|
136
|
-
import "./chunk-
|
|
134
|
+
} from "./chunk-JL2OTMSG.mjs";
|
|
135
|
+
import "./chunk-V5IIBG2E.mjs";
|
|
137
136
|
import "./chunk-WZYKRD7T.mjs";
|
|
138
137
|
import {
|
|
139
138
|
__commonJS,
|
|
@@ -4335,7 +4334,7 @@ async function runRunsResumeCommand(runId) {
|
|
|
4335
4334
|
"Invalid resume receipt: expected the requested run and a new positive epoch."
|
|
4336
4335
|
);
|
|
4337
4336
|
console.log(
|
|
4338
|
-
`Resumed run ${result.runId} at epoch ${result.epoch}.
|
|
4337
|
+
`Resumed run ${result.runId} at epoch ${result.epoch}. Matching completed operations can be recovered; unfinished or unrecorded work can incur charges.`
|
|
4339
4338
|
);
|
|
4340
4339
|
console.log(` inspect: deepline runs get ${result.runId}`);
|
|
4341
4340
|
return 0;
|
|
@@ -4368,7 +4367,7 @@ function isUnambiguousLocalFilePath(value) {
|
|
|
4368
4367
|
const trimmed = value.trim();
|
|
4369
4368
|
return nodePath.posix.isAbsolute(trimmed) || nodePath.win32.isAbsolute(trimmed) || /^\.\.?[\\/]/.test(trimmed) || trimmed.includes("\\");
|
|
4370
4369
|
}
|
|
4371
|
-
function resolveCliFileInput(value, binding, environment = hostFileInputPathEnvironment()) {
|
|
4370
|
+
function resolveCliFileInput(value, binding, environment = hostFileInputPathEnvironment(), packagedFiles) {
|
|
4372
4371
|
if (typeof value !== "string") return null;
|
|
4373
4372
|
const trimmed = value.trim();
|
|
4374
4373
|
if (!trimmed || URL_VALUE.test(trimmed)) return null;
|
|
@@ -4387,6 +4386,14 @@ function resolveCliFileInput(value, binding, environment = hostFileInputPathEnvi
|
|
|
4387
4386
|
{ inputPath: binding.inputPath, path: trimmed, resolved: absolutePath }
|
|
4388
4387
|
);
|
|
4389
4388
|
}
|
|
4389
|
+
if (packagedFiles && !packagedFiles.has(trimmed)) {
|
|
4390
|
+
throw new DeeplineError(
|
|
4391
|
+
`Input ${binding.inputPath} is not a readable local file, a URL, or a file packaged with the Play: ${trimmed} (resolved to ${absolutePath}). Pass a readable file path or an https:// URL. No run was created.`,
|
|
4392
|
+
void 0,
|
|
4393
|
+
"PLAY_INPUT_FILE_PREFLIGHT",
|
|
4394
|
+
{ inputPath: binding.inputPath, path: trimmed, resolved: absolutePath }
|
|
4395
|
+
);
|
|
4396
|
+
}
|
|
4390
4397
|
return null;
|
|
4391
4398
|
}
|
|
4392
4399
|
|
|
@@ -7216,7 +7223,7 @@ function buildPlayReferenceNotFoundMessage(input) {
|
|
|
7216
7223
|
lines.push(
|
|
7217
7224
|
"",
|
|
7218
7225
|
"Search visible plays:",
|
|
7219
|
-
` deepline search
|
|
7226
|
+
` deepline search ${shellQuote(searchQuery)}`
|
|
7220
7227
|
);
|
|
7221
7228
|
}
|
|
7222
7229
|
return lines.join("\n");
|
|
@@ -7494,6 +7501,15 @@ function sourceGraphMentionsRunPlay(node) {
|
|
|
7494
7501
|
(source) => runPlayCallPattern.test(source)
|
|
7495
7502
|
);
|
|
7496
7503
|
}
|
|
7504
|
+
function mayBindBareFileName(node, runtimeInput) {
|
|
7505
|
+
const declaresCsvInput = [
|
|
7506
|
+
node.sourceCode,
|
|
7507
|
+
...Object.values(node.sourceFiles)
|
|
7508
|
+
].some((source) => /\bCsvInput\b/.test(source));
|
|
7509
|
+
return declaresCsvInput && Object.values(runtimeInput).some(
|
|
7510
|
+
(value) => typeof value === "string" && value.trim() !== "" && !isUrlValue(value)
|
|
7511
|
+
);
|
|
7512
|
+
}
|
|
7497
7513
|
function isUrlValue(value) {
|
|
7498
7514
|
return /^[a-z][a-z0-9+.-]*:\/\//i.test(value.trim());
|
|
7499
7515
|
}
|
|
@@ -7620,7 +7636,12 @@ async function stageFileInputArgs(input) {
|
|
|
7620
7636
|
runtimeInput: input.runtimeInput,
|
|
7621
7637
|
bindings: input.bindings,
|
|
7622
7638
|
codec: NODE_STAGED_FILE_CODEC,
|
|
7623
|
-
resolveLocalFile: (value, binding) => resolveCliFileInput(
|
|
7639
|
+
resolveLocalFile: (value, binding) => resolveCliFileInput(
|
|
7640
|
+
value,
|
|
7641
|
+
binding,
|
|
7642
|
+
hostFileInputPathEnvironment(),
|
|
7643
|
+
input.packagedFiles
|
|
7644
|
+
),
|
|
7624
7645
|
onStaging: (fileCount) => input.progress.phase(
|
|
7625
7646
|
fileCount === 1 ? "staging input file" : "staging input files"
|
|
7626
7647
|
)
|
|
@@ -9564,7 +9585,7 @@ function formatPlayLogLine(rawLine, state) {
|
|
|
9564
9585
|
return null;
|
|
9565
9586
|
}
|
|
9566
9587
|
const [, rows, fields2, namespace, cached, pending] = mapStart;
|
|
9567
|
-
return `${prefix}map ${namespace}: ${formatInteger(Number(rows))} rows, ${fields2} fields, ${formatInteger(Number(cached))}
|
|
9588
|
+
return `${prefix}map ${namespace}: ${formatInteger(Number(rows))} rows, ${fields2} fields, ${formatInteger(Number(cached))} rows already satisfied, ${formatInteger(Number(pending))} pending`;
|
|
9568
9589
|
}
|
|
9569
9590
|
const mapDone = message.match(
|
|
9570
9591
|
/^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
|
|
@@ -9574,7 +9595,7 @@ function formatPlayLogLine(rawLine, state) {
|
|
|
9574
9595
|
return null;
|
|
9575
9596
|
}
|
|
9576
9597
|
const [, results, executed, cached] = mapDone;
|
|
9577
|
-
return `${prefix}done: ${formatInteger(Number(results))} results, ${formatInteger(Number(executed))} executed, ${formatInteger(Number(cached))}
|
|
9598
|
+
return `${prefix}done: ${formatInteger(Number(results))} results, ${formatInteger(Number(executed))} executed, ${formatInteger(Number(cached))} rows already satisfied`;
|
|
9578
9599
|
}
|
|
9579
9600
|
if (!watchSurfaceReaches(state, classified.provenance, classified.level)) {
|
|
9580
9601
|
return null;
|
|
@@ -9990,7 +10011,7 @@ function buildInsufficientCreditsSummaryLines(input) {
|
|
|
9990
10011
|
const lines = [
|
|
9991
10012
|
" status: stopped_insufficient_credits",
|
|
9992
10013
|
completed === null ? " completed rows: unknown" : ` completed rows: ${formatInteger(completed)}${total !== null ? ` of ${formatInteger(total)}` : ""}`,
|
|
9993
|
-
"
|
|
10014
|
+
" saved work: resume this run after adding credits to recover matching completed operations; unfinished work can incur charges"
|
|
9994
10015
|
];
|
|
9995
10016
|
const billingUrl = getStringField(input.billing, "billing_url");
|
|
9996
10017
|
const recommended = formatCreditAmount2(
|
|
@@ -10494,7 +10515,7 @@ function formatRunStepProgress(progress, includeRowOutcomes = false) {
|
|
|
10494
10515
|
executed === null ? `executed unknown${!includeRowOutcomes || total === null ? "" : ` (${formatInteger(total)} total)`}` : `${formatInteger(executed)}${total === null ? "" : `/${formatInteger(total)}`} executed`
|
|
10495
10516
|
];
|
|
10496
10517
|
for (const [key, label] of [
|
|
10497
|
-
["reused", "reused"],
|
|
10518
|
+
["reused", "duplicate rows reused"],
|
|
10498
10519
|
["skipped", "skipped"],
|
|
10499
10520
|
["pending", "remaining"],
|
|
10500
10521
|
["activeRows", "rows processing"],
|
|
@@ -10547,7 +10568,7 @@ function formatPackageDatasetActionLines(packaged, options) {
|
|
|
10547
10568
|
} else if (includeSummary) {
|
|
10548
10569
|
if (category === "recovered" && Object.keys(actions2).length === 0) {
|
|
10549
10570
|
lines.push(
|
|
10550
|
-
` dataset ${path}: available, ${rowCount === null ? "
|
|
10571
|
+
` dataset ${path}: available, ${rowCount === null ? "unknown number of" : formatInteger(rowCount)} rows persisted; inspect or export before resuming unfinished work`
|
|
10551
10572
|
);
|
|
10552
10573
|
} else {
|
|
10553
10574
|
lines.push(
|
|
@@ -10598,11 +10619,25 @@ function formatPackageDatasetActionLines(packaged, options) {
|
|
|
10598
10619
|
return lines;
|
|
10599
10620
|
}
|
|
10600
10621
|
function packageSavedRowCount(packaged) {
|
|
10601
|
-
const
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10622
|
+
const datasets = packageDatasetRecords(packaged);
|
|
10623
|
+
if (datasets.length === 0) return null;
|
|
10624
|
+
let total = 0;
|
|
10625
|
+
for (const dataset of datasets) {
|
|
10626
|
+
const rowCount = readNonNegativeInteger(dataset.rowCount);
|
|
10627
|
+
if (rowCount === null || readRecord(dataset.lifecycle)?.complete === false)
|
|
10628
|
+
return null;
|
|
10629
|
+
total += rowCount;
|
|
10630
|
+
}
|
|
10631
|
+
return total;
|
|
10632
|
+
}
|
|
10633
|
+
function formatRunRecoveryCommandLines(runId, status) {
|
|
10634
|
+
if (!["failed", "cancelled"].includes(status) || !runId || runId === "unknown")
|
|
10635
|
+
return [];
|
|
10636
|
+
return [
|
|
10637
|
+
` Resume same run (recommended, if eligible): deepline runs resume ${shellQuote(runId)}`,
|
|
10638
|
+
` Start over instead (new run; may repeat paid calls): deepline plays run --from-run ${shellQuote(runId)}`,
|
|
10639
|
+
"Resume can reuse matching saved operations, even with staleAfterSeconds: 0. New runs reuse matching cached results within staleAfterSeconds (0 means fresh). Fresh, missing, or unrecorded calls may charge again."
|
|
10640
|
+
];
|
|
10606
10641
|
}
|
|
10607
10642
|
function runtimeLimitWindowLabel(runtimeLimitFailure) {
|
|
10608
10643
|
const message = getStringField(runtimeLimitFailure, "message") ?? "";
|
|
@@ -10625,22 +10660,12 @@ function runtimeLimitWindowLabel(runtimeLimitFailure) {
|
|
|
10625
10660
|
function runtimeLimitCheckpointLines(packaged, runId, runtimeLimitFailure) {
|
|
10626
10661
|
const savedRows = packageSavedRowCount(packaged);
|
|
10627
10662
|
const lines = [
|
|
10628
|
-
`\
|
|
10629
|
-
""
|
|
10630
|
-
`The Play reached its ${runtimeLimitWindowLabel(runtimeLimitFailure)} runtime window.`
|
|
10663
|
+
`\u2717 runtime limit reached (${runtimeLimitWindowLabel(runtimeLimitFailure)}) ${runId}`,
|
|
10664
|
+
`Saved Dataset rows: ${savedRows === null ? "unknown" : formatInteger(savedRows)}`
|
|
10631
10665
|
];
|
|
10632
|
-
if (
|
|
10633
|
-
lines.push("
|
|
10634
|
-
} else {
|
|
10635
|
-
lines.push(
|
|
10636
|
-
`${formatInteger(savedRows)} ${savedRows === 1 ? "row was" : "rows were"} saved successfully.`
|
|
10637
|
-
);
|
|
10666
|
+
if (packageDatasetRecords(packaged).length === 0 && formatPackageValueOutputLines(packaged).length === 0) {
|
|
10667
|
+
lines.push("Rows kept only in memory were not published.");
|
|
10638
10668
|
}
|
|
10639
|
-
lines.push(
|
|
10640
|
-
"",
|
|
10641
|
-
"Run the same Play again to continue where you left off.",
|
|
10642
|
-
"Completed work will be reused automatically."
|
|
10643
|
-
);
|
|
10644
10669
|
return lines;
|
|
10645
10670
|
}
|
|
10646
10671
|
function formatInlinePackageValue(value) {
|
|
@@ -10993,7 +11018,6 @@ function buildRunPackageTextLines(packaged) {
|
|
|
10993
11018
|
(dataset) => Boolean(actionToCommand(readRecord(dataset.actions)?.exportCsv))
|
|
10994
11019
|
);
|
|
10995
11020
|
const legacyExportCommand = hasCatalogExportAction ? null : actionToCommand(next.export);
|
|
10996
|
-
const runAgainCommand = typeof next.run === "string" && next.run.trim() ? next.run.trim() : null;
|
|
10997
11021
|
if (inspectCommand) lines.push(` inspect: ${inspectCommand}`);
|
|
10998
11022
|
if (fullResultCommand)
|
|
10999
11023
|
lines.push(
|
|
@@ -11003,9 +11027,11 @@ function buildRunPackageTextLines(packaged) {
|
|
|
11003
11027
|
if (legacyExportCommand) {
|
|
11004
11028
|
lines.push(` export CSV: ${legacyExportCommand}`);
|
|
11005
11029
|
}
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
lines.push(
|
|
11030
|
+
lines.push(...formatRunRecoveryCommandLines(runId, status));
|
|
11031
|
+
if (status === "failed" || status === "cancelled") {
|
|
11032
|
+
lines.push(
|
|
11033
|
+
"Dataset reuse counts do not measure all tool or child-Play reuse."
|
|
11034
|
+
);
|
|
11009
11035
|
}
|
|
11010
11036
|
return lines;
|
|
11011
11037
|
}
|
|
@@ -11131,7 +11157,7 @@ function buildPlayCompletionTextLines(status) {
|
|
|
11131
11157
|
}
|
|
11132
11158
|
if (overview.errorDetails.run)
|
|
11133
11159
|
lines.push(
|
|
11134
|
-
`Error: ${truncateErrorForDisplay(overview.errorDetails.run, run.id)}`
|
|
11160
|
+
`Error: ${readRecordArray(overview.errorDetails.reported).some((failure) => failure.code === "RUNTIME_LIMIT_EXCEEDED") ? "Runtime limit reached." : truncateErrorForDisplay(overview.errorDetails.run, run.id)}`
|
|
11135
11161
|
);
|
|
11136
11162
|
if (Object.hasOwn(overview, "result")) {
|
|
11137
11163
|
lines.push(
|
|
@@ -11162,8 +11188,14 @@ function buildPlayCompletionTextLines(status) {
|
|
|
11162
11188
|
overview.actions.getLogsCmd ?? `deepline runs logs ${shellQuote(run.id)}`
|
|
11163
11189
|
)}`
|
|
11164
11190
|
);
|
|
11165
|
-
if (failed &&
|
|
11166
|
-
lines.push(
|
|
11191
|
+
if (failed && overview.datasets.length === 0 && !Object.hasOwn(overview, "result")) {
|
|
11192
|
+
lines.push(
|
|
11193
|
+
"No Dataset output is listed. Rows kept only in memory were not published."
|
|
11194
|
+
);
|
|
11195
|
+
}
|
|
11196
|
+
if (failed || run.status === "cancelled") {
|
|
11197
|
+
lines.push(...formatRunRecoveryCommandLines(run.id, run.status));
|
|
11198
|
+
}
|
|
11167
11199
|
return lines;
|
|
11168
11200
|
}
|
|
11169
11201
|
function writePlayResult(status, jsonOutput, options) {
|
|
@@ -11222,10 +11254,9 @@ function writePlayResult(status, jsonOutput, options) {
|
|
|
11222
11254
|
);
|
|
11223
11255
|
if (status.status === "failed") {
|
|
11224
11256
|
lines.push(` failed logs: deepline runs logs ${runId} --failed`);
|
|
11225
|
-
|
|
11226
|
-
|
|
11227
|
-
|
|
11228
|
-
}
|
|
11257
|
+
}
|
|
11258
|
+
if (publicStatus === "failed" || publicStatus === "cancelled") {
|
|
11259
|
+
lines.push(...formatRunRecoveryCommandLines(runId, publicStatus));
|
|
11229
11260
|
}
|
|
11230
11261
|
const renderedServerView = renderServerResultView(status.resultView);
|
|
11231
11262
|
if (result) {
|
|
@@ -12714,7 +12745,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
12714
12745
|
playName: graph.root.playName ?? await extractPlayName(sourceCode, absolutePlayPath),
|
|
12715
12746
|
maxTotalCredits: options.maxTotalCredits
|
|
12716
12747
|
});
|
|
12717
|
-
const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput);
|
|
12748
|
+
const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput) && !mayBindBareFileName(graph.root, runtimeInput);
|
|
12718
12749
|
if (canDeferCompilerManifest) {
|
|
12719
12750
|
recordCliTrace({
|
|
12720
12751
|
phase: "cli.play_file_compile_manifests",
|
|
@@ -12777,7 +12808,10 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
12777
12808
|
client,
|
|
12778
12809
|
runtimeInput,
|
|
12779
12810
|
bindings: fileInputBindings,
|
|
12780
|
-
progress
|
|
12811
|
+
progress,
|
|
12812
|
+
packagedFiles: new Set(
|
|
12813
|
+
bundleResult.packagedFiles.map((file) => file.logicalPath)
|
|
12814
|
+
)
|
|
12781
12815
|
})
|
|
12782
12816
|
);
|
|
12783
12817
|
const integrationMode = resolveEvalIntegrationMode();
|
|
@@ -13407,6 +13441,10 @@ function formatRunFactLines(value) {
|
|
|
13407
13441
|
}
|
|
13408
13442
|
function renderRunOverviewText(overview, extras = {}) {
|
|
13409
13443
|
const { run } = overview;
|
|
13444
|
+
const reportedErrors = readRecordArray(overview.errorDetails.reported);
|
|
13445
|
+
const isRuntimeLimit = reportedErrors.some(
|
|
13446
|
+
(failure) => failure.code === "RUNTIME_LIMIT_EXCEEDED"
|
|
13447
|
+
);
|
|
13410
13448
|
const runLabel = runExecutionLabel(
|
|
13411
13449
|
deriveRunExecutionState({
|
|
13412
13450
|
status: run.status,
|
|
@@ -13442,8 +13480,15 @@ function renderRunOverviewText(overview, extras = {}) {
|
|
|
13442
13480
|
if (retries) lines.push(` retries: ${formatRunRetrySummary(retries)}`);
|
|
13443
13481
|
else if (run.retriesUnavailableReason)
|
|
13444
13482
|
lines.push(` retries: unavailable (${run.retriesUnavailableReason})`);
|
|
13445
|
-
if (run.error)
|
|
13483
|
+
if (run.error)
|
|
13484
|
+
lines.push(
|
|
13485
|
+
` error: ${isRuntimeLimit ? "Runtime limit reached." : run.error}`
|
|
13486
|
+
);
|
|
13446
13487
|
for (const warning of overview.warnings) lines.push(` warning: ${warning}`);
|
|
13488
|
+
if ((run.status === "failed" || run.status === "cancelled") && overview.datasets.length === 0 && !Object.hasOwn(overview, "result")) {
|
|
13489
|
+
lines.push("Rows kept only in memory were not published.");
|
|
13490
|
+
}
|
|
13491
|
+
lines.push(...formatRunRecoveryCommandLines(run.id, run.status));
|
|
13447
13492
|
const sections = [];
|
|
13448
13493
|
const jsonLines = (value) => (JSON.stringify(value, null, 2) ?? "unavailable").split("\n");
|
|
13449
13494
|
if (overview.steps.length)
|
|
@@ -13464,10 +13509,14 @@ function renderRunOverviewText(overview, extras = {}) {
|
|
|
13464
13509
|
(step) => `${step.stepId}: ${step.label}${step.message ? ` \u2014 ${step.message}` : ""}`
|
|
13465
13510
|
)
|
|
13466
13511
|
});
|
|
13467
|
-
if (
|
|
13512
|
+
if (reportedErrors.some((failure) => failure.code !== "RUNTIME_LIMIT_EXCEEDED"))
|
|
13468
13513
|
sections.push({
|
|
13469
13514
|
title: "Reported errors",
|
|
13470
|
-
lines: formatRunFactLines(
|
|
13515
|
+
lines: formatRunFactLines(
|
|
13516
|
+
reportedErrors.filter(
|
|
13517
|
+
(failure) => failure.code !== "RUNTIME_LIMIT_EXCEEDED"
|
|
13518
|
+
)
|
|
13519
|
+
)
|
|
13471
13520
|
});
|
|
13472
13521
|
if (overview.rowOutcomes)
|
|
13473
13522
|
sections.push({
|
|
@@ -15168,23 +15217,19 @@ async function handlePlayVersions(args) {
|
|
|
15168
15217
|
return 0;
|
|
15169
15218
|
}
|
|
15170
15219
|
function formatPlayCostEstimate(estimate) {
|
|
15171
|
-
const computeSummary = estimate?.compute ? `; ${estimate.status === "available" && estimate.source === "observed" ? "observed Deepline total includes usage-based compute; per-session ceiling" : "separate Deepline compute is usage-based; per-session ceiling"} across ${estimate.compute.pricedBackends.map(formatSandboxBackend).join(" and ")}: ${formatCredits(estimate.compute.maximumCredits)} credits (${formatSandboxBackend(estimate.compute.maximumBackend)} is highest; ${formatCredits(estimate.compute.maximumBillingSeconds)}s; total session count unbounded)` : "";
|
|
15172
15220
|
if (!estimate || estimate.status === "unavailable") {
|
|
15173
|
-
return `unavailable${estimate ? `: ${estimate.message}
|
|
15221
|
+
return `unavailable${estimate ? `: ${estimate.message}` : ""}`;
|
|
15174
15222
|
}
|
|
15175
15223
|
const credits = estimate.lowCredits === estimate.highCredits ? `${estimate.source === "observed" ? "~" : ""}${formatCredits(estimate.lowCredits)}` : `${formatCredits(estimate.lowCredits)}\u2013${formatCredits(estimate.highCredits)}`;
|
|
15176
15224
|
const unit = estimate.unit === "row" ? "output row" : "run";
|
|
15177
15225
|
const source = estimate.source === "observed" ? `observed from ${estimate.sampleRunCount} ${estimate.sampleRunCount === 1 ? "run" : "runs"}` : "static estimate";
|
|
15178
|
-
return `${credits} Deepline credits per ${unit} (${source})
|
|
15226
|
+
return `${credits} Deepline credits per ${unit} (${source})`;
|
|
15179
15227
|
}
|
|
15180
15228
|
function formatCredits(value) {
|
|
15181
15229
|
return value.toLocaleString("en-US", {
|
|
15182
15230
|
maximumFractionDigits: value < 1 ? 4 : 2
|
|
15183
15231
|
});
|
|
15184
15232
|
}
|
|
15185
|
-
function formatSandboxBackend(backend) {
|
|
15186
|
-
return backend === "daytona" ? "Daytona" : "Modal";
|
|
15187
|
-
}
|
|
15188
15233
|
var PREBUILT_PLAY_TAG_KEYS = [
|
|
15189
15234
|
"smb",
|
|
15190
15235
|
"find-prospects",
|
|
@@ -16124,7 +16169,7 @@ Authoring:
|
|
|
16124
16169
|
Play work unless the caller explicitly asks to leave the inferred graph.
|
|
16125
16170
|
|
|
16126
16171
|
Common commands:
|
|
16127
|
-
deepline search "name and company domain -> work email"
|
|
16172
|
+
deepline search "name and company domain -> work email"
|
|
16128
16173
|
deepline describe prebuilt/person-linkedin-to-email
|
|
16129
16174
|
deepline plays check prebuilt/name-and-domain-to-email-waterfall-batch
|
|
16130
16175
|
deepline run prebuilt/person-linkedin-to-email --input '{"linkedin_url":"..."}'
|
|
@@ -16577,7 +16622,7 @@ Notes:
|
|
|
16577
16622
|
Examples:
|
|
16578
16623
|
deepline plays list
|
|
16579
16624
|
deepline plays list --tag smb
|
|
16580
|
-
deepline search "name and company domain -> work email"
|
|
16625
|
+
deepline search "name and company domain -> work email"
|
|
16581
16626
|
`
|
|
16582
16627
|
).option("--limit <count>", "Page size").option("--cursor <cursor>", "Continue a previous page").option("--show-cost", "Include the per-row or per-run cost estimate").option(
|
|
16583
16628
|
"--summary",
|
|
@@ -16652,7 +16697,7 @@ Examples:
|
|
|
16652
16697
|
});
|
|
16653
16698
|
registerDeprecatedSearchCommand(
|
|
16654
16699
|
play,
|
|
16655
|
-
(options) => options.all ? ["
|
|
16700
|
+
(options) => options.all ? ["prebuilts", "custom"] : ["prebuilts"]
|
|
16656
16701
|
);
|
|
16657
16702
|
play.command("grep <query>").description(
|
|
16658
16703
|
"Search active org-owned Plays through Convex full-text search."
|
|
@@ -16704,7 +16749,7 @@ Examples:
|
|
|
16704
16749
|
process.exitCode = await ownView();
|
|
16705
16750
|
return;
|
|
16706
16751
|
}
|
|
16707
|
-
const { describeAnything } = await import("./describe-
|
|
16752
|
+
const { describeAnything } = await import("./describe-REXJVJC3.mjs");
|
|
16708
16753
|
process.exitCode = await describeAnything(
|
|
16709
16754
|
name,
|
|
16710
16755
|
{
|
|
@@ -17047,7 +17092,7 @@ Examples:
|
|
|
17047
17092
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
17048
17093
|
).action(async (runId, options) => {
|
|
17049
17094
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
17050
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
17095
|
+
const { getToolExecutionReceipt } = await import("./tools-UQDJS2RS.mjs");
|
|
17051
17096
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
17052
17097
|
receiptJson: options.json !== void 0
|
|
17053
17098
|
});
|
|
@@ -17111,7 +17156,9 @@ Examples:
|
|
|
17111
17156
|
`
|
|
17112
17157
|
Notes:
|
|
17113
17158
|
Continues the same run id with its original input and pinned revision.
|
|
17114
|
-
|
|
17159
|
+
Matching completed operations can be recovered, even when their calls used
|
|
17160
|
+
staleAfterSeconds: 0. Unfinished or unrecorded work can incur charges.
|
|
17161
|
+
Dataset reuse counts do not measure all work available to resume.
|
|
17115
17162
|
A run can be resumed for 14 days after it stops. To start over as a new
|
|
17116
17163
|
run instead, use deepline plays run --from-run <run-id>.
|
|
17117
17164
|
The server refuses while the run is still active, while its last attempt
|