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
|
@@ -1,405 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkHWPOXCCKjs = require('./chunk-HWPOXCCK.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunkD4MHCCIRjs = require('./chunk-D4MHCCIR.js');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
|
|
14
|
-
|
|
15
|
-
// src/cli/failure-reporting.ts
|
|
16
|
-
var _os = require('os');
|
|
17
|
-
var FAILURE_REPORT_DISABLE_ENV = "DEEPLINE_DISABLE_FAILURE_REPORTING";
|
|
18
|
-
var REPORT_FAILURE_TIMEOUT_MS = 1e4;
|
|
19
|
-
var BACKGROUND_REPORT_FAILURE_TIMEOUT_MS = 2e3;
|
|
20
|
-
var MAX_FAILURE_TEXT_CHARS = 4e3;
|
|
21
|
-
var MAX_COMMAND_TOKENS = 3;
|
|
22
|
-
var REPORTABLE_EXIT_CODES = /* @__PURE__ */ new Set([4, 5]);
|
|
23
|
-
var EMAIL_RE = /\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b/gi;
|
|
24
|
-
var UNIX_PATH_RE = /(?:\/Users\/|\/home\/|\/var\/folders\/|\/tmp\/|\/sessions\/)[^"'\n\r`]+/g;
|
|
25
|
-
var WINDOWS_PATH_RE = /[A-Za-z]:(?:\\{1,2})(?:Users|Temp|tmp)(?:\\{1,2})[^"'\n\r`]+/g;
|
|
26
|
-
var ASSIGNMENT_SECRET_RE = /\b(access[_-]?token|api[_-]?key|apikey|auth(?:orization)?|bearer|password|secret|session)\b(\s*[:=]\s*)(?!Bearer\s+\[redacted-secret\])([^\s,;]+)/gi;
|
|
27
|
-
var BEARER_SECRET_RE = /\b(bearer)\s+([A-Za-z0-9._-]+)/gi;
|
|
28
|
-
var GENERIC_TOKEN_RE = /\b(?:dlp|sk|ghp|xox[baprs])[-_A-Za-z0-9]{8,}\b/g;
|
|
29
|
-
var SECRET_OPTION_RE = /^--?(?:access[-_]?token|api[-_]?key|apikey|auth(?:orization)?|bearer|password|secret|session|token)$/i;
|
|
30
|
-
function truthyEnv(name) {
|
|
31
|
-
return ["1", "true", "yes", "on"].includes(
|
|
32
|
-
String(_nullishCoalesce(process.env[name], () => ( ""))).trim().toLowerCase()
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
function isFailureReportingDisabled() {
|
|
36
|
-
return truthyEnv(FAILURE_REPORT_DISABLE_ENV);
|
|
37
|
-
}
|
|
38
|
-
function redactFailureText(value, maxChars = MAX_FAILURE_TEXT_CHARS) {
|
|
39
|
-
const home = _optionalChain([process, 'access', _ => _.env, 'access', _2 => _2.HOME, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]);
|
|
40
|
-
let text = String(_nullishCoalesce(value, () => ( "")));
|
|
41
|
-
if (!text) return "";
|
|
42
|
-
if (home && home !== "/") {
|
|
43
|
-
text = text.split(home).join("~");
|
|
44
|
-
}
|
|
45
|
-
return text.replace(EMAIL_RE, "[redacted-email]").replace(UNIX_PATH_RE, "[redacted-path]").replace(WINDOWS_PATH_RE, "[redacted-path]").replace(BEARER_SECRET_RE, "$1 [redacted-secret]").replace(ASSIGNMENT_SECRET_RE, "$1$2[redacted-secret]").replace(GENERIC_TOKEN_RE, "[redacted-secret]").slice(0, maxChars);
|
|
46
|
-
}
|
|
47
|
-
function sanitizeCommand(argv, prefix = "deepline") {
|
|
48
|
-
const tokens = [];
|
|
49
|
-
for (let index = 0; index < argv.length; index += 1) {
|
|
50
|
-
const arg = argv[index];
|
|
51
|
-
const value = String(_nullishCoalesce(arg, () => ( ""))).trim();
|
|
52
|
-
if (!value) continue;
|
|
53
|
-
if (value.startsWith("-")) {
|
|
54
|
-
if (!value.includes("=") && SECRET_OPTION_RE.test(value)) {
|
|
55
|
-
index += 1;
|
|
56
|
-
}
|
|
57
|
-
continue;
|
|
58
|
-
}
|
|
59
|
-
tokens.push(redactFailureText(value, 200));
|
|
60
|
-
if (tokens.length >= MAX_COMMAND_TOKENS) break;
|
|
61
|
-
}
|
|
62
|
-
return tokens.length > 0 ? [prefix, ...tokens].join(" ") : prefix;
|
|
63
|
-
}
|
|
64
|
-
function errorMessage(error) {
|
|
65
|
-
if (error instanceof Error) return `${error.name}: ${error.message}`;
|
|
66
|
-
return String(_nullishCoalesce(error, () => ( "")));
|
|
67
|
-
}
|
|
68
|
-
function errorStack(error) {
|
|
69
|
-
if (error instanceof Error && error.stack) {
|
|
70
|
-
return redactFailureText(error.stack);
|
|
71
|
-
}
|
|
72
|
-
return null;
|
|
73
|
-
}
|
|
74
|
-
function classifyNetworkFailure(error) {
|
|
75
|
-
const seen = /* @__PURE__ */ new Set();
|
|
76
|
-
let current = error;
|
|
77
|
-
while (current && !seen.has(current)) {
|
|
78
|
-
seen.add(current);
|
|
79
|
-
const record = typeof current === "object" && current !== null ? current : {};
|
|
80
|
-
const code = String(_nullishCoalesce(record.code, () => ( ""))).toLowerCase();
|
|
81
|
-
const name = current instanceof Error ? current.name.toLowerCase() : "";
|
|
82
|
-
const text = String(
|
|
83
|
-
current instanceof Error ? current.message : current
|
|
84
|
-
).toLowerCase();
|
|
85
|
-
const combined = `${code} ${name} ${text}`;
|
|
86
|
-
if (combined.includes("aborterror") || combined.includes("timeout") || combined.includes("timed out") || combined.includes("etimedout")) {
|
|
87
|
-
return "network_timeout";
|
|
88
|
-
}
|
|
89
|
-
if (combined.includes("enotfound") || combined.includes("eai_again") || combined.includes("getaddrinfo") || combined.includes("name or service not known") || combined.includes("temporary failure in name resolution")) {
|
|
90
|
-
return "network_dns_resolution_failed";
|
|
91
|
-
}
|
|
92
|
-
if (combined.includes("econnrefused") || combined.includes("connection refused")) {
|
|
93
|
-
return "network_connection_refused";
|
|
94
|
-
}
|
|
95
|
-
if (combined.includes("econnreset") || combined.includes("connection reset")) {
|
|
96
|
-
return "network_connection_reset";
|
|
97
|
-
}
|
|
98
|
-
if (combined.includes("incompleteread") || combined.includes("incomplete read")) {
|
|
99
|
-
return "network_incomplete_read";
|
|
100
|
-
}
|
|
101
|
-
if (combined.includes("remotedisconnected") || combined.includes("remote end closed connection") || combined.includes("other side closed") || combined.includes("socket hang up")) {
|
|
102
|
-
return "network_remote_disconnected";
|
|
103
|
-
}
|
|
104
|
-
if (
|
|
105
|
-
// Local filenames and retry commands may contain "ssl" or "tls".
|
|
106
|
-
// Require a transport identifier or protocol failure text instead.
|
|
107
|
-
code.includes("ssl") || code.includes("tls") || name.includes("ssl") || name.includes("tls") || /(?:^|[\s[(:])(?:ssl|tls)[\s:_-]+(?:error|handshake|certificate|routines|connection|failed|failure)(?:$|[\s:_-])/.test(
|
|
108
|
-
text
|
|
109
|
-
) || combined.includes("unexpected_eof_while_reading")
|
|
110
|
-
) {
|
|
111
|
-
return "network_ssl_error";
|
|
112
|
-
}
|
|
113
|
-
current = _nullishCoalesce(record.cause, () => ( record.context));
|
|
114
|
-
}
|
|
115
|
-
return "network_error";
|
|
116
|
-
}
|
|
117
|
-
function classifyNetworkCauseCategory(error) {
|
|
118
|
-
const seen = /* @__PURE__ */ new Set();
|
|
119
|
-
let cause = error;
|
|
120
|
-
while (cause && typeof cause === "object" && !seen.has(cause)) {
|
|
121
|
-
seen.add(cause);
|
|
122
|
-
const record = cause;
|
|
123
|
-
if (record.code === "UND_ERR_CONNECT_TIMEOUT") return "connect_timeout";
|
|
124
|
-
cause = record.cause;
|
|
125
|
-
}
|
|
126
|
-
switch (classifyNetworkFailure(error)) {
|
|
127
|
-
case "network_dns_resolution_failed":
|
|
128
|
-
return "dns";
|
|
129
|
-
case "network_ssl_error":
|
|
130
|
-
return "tls";
|
|
131
|
-
case "network_connection_reset":
|
|
132
|
-
return "reset";
|
|
133
|
-
case "network_timeout":
|
|
134
|
-
return "timeout";
|
|
135
|
-
default:
|
|
136
|
-
return "unknown";
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
function isNetworkFailure(error) {
|
|
140
|
-
if (!(error instanceof Error)) return false;
|
|
141
|
-
if (error instanceof _chunkSQWET4SLjs.DeeplineError && error.statusCode) return false;
|
|
142
|
-
const code = classifyNetworkFailure(error);
|
|
143
|
-
return code !== "network_error" || /unable to connect|unable to stream/i.test(error.message);
|
|
144
|
-
}
|
|
145
|
-
function buildEnvironmentContext() {
|
|
146
|
-
const context = {
|
|
147
|
-
os: _os.platform.call(void 0, ),
|
|
148
|
-
os_release: _os.release.call(void 0, ),
|
|
149
|
-
platform: `${_os.platform.call(void 0, )}-${_os.release.call(void 0, )}-${process.arch}`,
|
|
150
|
-
node_version: process.version,
|
|
151
|
-
runtime: "Node.js",
|
|
152
|
-
hostname: _os.hostname.call(void 0, ),
|
|
153
|
-
agent_runtime: _chunkD4MHCCIRjs.detectAgentRuntime.call(void 0, )
|
|
154
|
-
};
|
|
155
|
-
for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
|
|
156
|
-
const normalized = _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6[key], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);
|
|
157
|
-
if (normalized) context[key.toLowerCase()] = normalized;
|
|
158
|
-
}
|
|
159
|
-
if (_optionalChain([process, 'access', _9 => _9.env, 'access', _10 => _10.CLAUDE_PROJECT_DIR, 'optionalAccess', _11 => _11.trim, 'call', _12 => _12()])) {
|
|
160
|
-
context.claude_project_dir_present = "true";
|
|
161
|
-
}
|
|
162
|
-
if (_optionalChain([process, 'access', _13 => _13.env, 'access', _14 => _14.DEEPLINE_PLUGIN_ROOT, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()])) {
|
|
163
|
-
context.deepline_plugin_root_present = "true";
|
|
164
|
-
}
|
|
165
|
-
if (_optionalChain([process, 'access', _17 => _17.env, 'access', _18 => _18.DEEPLINE_PLUGIN_SKILLS_DIR, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()])) {
|
|
166
|
-
context.deepline_plugin_skills_dir_present = "true";
|
|
167
|
-
}
|
|
168
|
-
if (_optionalChain([process, 'access', _21 => _21.env, 'access', _22 => _22.HOME, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24(), 'access', _25 => _25.startsWith, 'call', _26 => _26("/sessions/")])) {
|
|
169
|
-
context.home_scope = "sessions";
|
|
170
|
-
}
|
|
171
|
-
return context;
|
|
172
|
-
}
|
|
173
|
-
function failureReportHeaders(apiKey) {
|
|
174
|
-
const agentSessionId = _chunkD4MHCCIRjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
175
|
-
return {
|
|
176
|
-
..._chunkD4MHCCIRjs.deploymentProtectionHeaders.call(void 0, ),
|
|
177
|
-
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
|
|
178
|
-
Authorization: `Bearer ${apiKey}`,
|
|
179
|
-
"Content-Type": "application/json",
|
|
180
|
-
"User-Agent": `deepline-ts-sdk/${_chunkD4MHCCIRjs.SDK_VERSION}`,
|
|
181
|
-
"X-Deepline-Client-Family": "sdk",
|
|
182
|
-
"X-Deepline-CLI-Family": "sdk",
|
|
183
|
-
"X-Deepline-Agent-Runtime": _chunkD4MHCCIRjs.detectAgentRuntime.call(void 0, ),
|
|
184
|
-
"X-Deepline-CLI-Version": _chunkD4MHCCIRjs.SDK_VERSION,
|
|
185
|
-
"X-Deepline-SDK-Version": _chunkD4MHCCIRjs.SDK_VERSION
|
|
186
|
-
};
|
|
187
|
-
}
|
|
188
|
-
async function postFailureReport(input) {
|
|
189
|
-
const controller = new AbortController();
|
|
190
|
-
const timeout = setTimeout(() => controller.abort(), input.timeoutMs);
|
|
191
|
-
if (input.background) timeout.unref();
|
|
192
|
-
try {
|
|
193
|
-
await fetch(new URL("/api/v2/cli/report-failure", input.baseUrl), {
|
|
194
|
-
method: "POST",
|
|
195
|
-
headers: failureReportHeaders(input.apiKey),
|
|
196
|
-
body: JSON.stringify(input.body),
|
|
197
|
-
signal: controller.signal
|
|
198
|
-
});
|
|
199
|
-
return true;
|
|
200
|
-
} catch (e) {
|
|
201
|
-
return false;
|
|
202
|
-
} finally {
|
|
203
|
-
clearTimeout(timeout);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
function boundedTelemetryString(value, maxChars) {
|
|
207
|
-
return redactFailureText(value.trim(), maxChars);
|
|
208
|
-
}
|
|
209
|
-
async function maybeReportAutomaticSkillsSyncFailure(input) {
|
|
210
|
-
if (isFailureReportingDisabled()) return false;
|
|
211
|
-
let apiKey = "";
|
|
212
|
-
try {
|
|
213
|
-
apiKey = _chunkHWPOXCCKjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
214
|
-
} catch (e2) {
|
|
215
|
-
return false;
|
|
216
|
-
}
|
|
217
|
-
if (!apiKey) return false;
|
|
218
|
-
const attempts = input.attempts.slice(0, 2).map((attempt) => ({
|
|
219
|
-
installer: attempt.installer,
|
|
220
|
-
outcome: attempt.outcome,
|
|
221
|
-
exit_code: typeof attempt.exitCode === "number" && Number.isFinite(attempt.exitCode) ? Math.trunc(attempt.exitCode) : null
|
|
222
|
-
}));
|
|
223
|
-
const agents = input.agents.slice(0, 8).map((agent) => boundedTelemetryString(agent, 100)).filter(Boolean);
|
|
224
|
-
const baseUrl = input.baseUrl.replace(/\/$/, "");
|
|
225
|
-
const failureKind = "background_warning";
|
|
226
|
-
const failureCode2 = "SKILLS_AUTO_SYNC_FAILED";
|
|
227
|
-
const failureStage = "skills_install";
|
|
228
|
-
return postFailureReport({
|
|
229
|
-
baseUrl,
|
|
230
|
-
apiKey,
|
|
231
|
-
timeoutMs: BACKGROUND_REPORT_FAILURE_TIMEOUT_MS,
|
|
232
|
-
background: true,
|
|
233
|
-
body: {
|
|
234
|
-
command: "deepline skills",
|
|
235
|
-
subcommand: "skills",
|
|
236
|
-
failure_kind: failureKind,
|
|
237
|
-
failure_code: failureCode2,
|
|
238
|
-
failure_stage: failureStage,
|
|
239
|
-
error_body: "Automatic Deepline skills installation failed.",
|
|
240
|
-
cli_version: _chunkD4MHCCIRjs.SDK_VERSION,
|
|
241
|
-
context: {
|
|
242
|
-
environment: buildEnvironmentContext(),
|
|
243
|
-
skills_sync: {
|
|
244
|
-
skills_package: boundedTelemetryString(input.skillsPackage, 100),
|
|
245
|
-
remote_skills_version: boundedTelemetryString(
|
|
246
|
-
input.remoteSkillsVersion,
|
|
247
|
-
200
|
|
248
|
-
),
|
|
249
|
-
agents,
|
|
250
|
-
target_skill_count: Math.max(
|
|
251
|
-
0,
|
|
252
|
-
Math.trunc(
|
|
253
|
-
Number.isFinite(input.targetSkillCount) ? input.targetSkillCount : 0
|
|
254
|
-
)
|
|
255
|
-
),
|
|
256
|
-
marker_written: input.markerWritten,
|
|
257
|
-
attempts
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
function subcommandFromArgv(argv) {
|
|
264
|
-
return _nullishCoalesce(argv.find((arg) => arg && !arg.startsWith("-")), () => ( null));
|
|
265
|
-
}
|
|
266
|
-
function commandTokens(argv) {
|
|
267
|
-
return argv.map((arg) => String(_nullishCoalesce(arg, () => ( ""))).trim()).filter((arg) => arg && !arg.startsWith("-"));
|
|
268
|
-
}
|
|
269
|
-
function isServerLoggedPlayRunStartFailure(input) {
|
|
270
|
-
const [subcommand, command] = commandTokens(input.argv);
|
|
271
|
-
return subcommand === "plays" && command === "run" && input.error instanceof _chunkSQWET4SLjs.DeeplineError && typeof input.error.statusCode === "number";
|
|
272
|
-
}
|
|
273
|
-
function shouldReport(input) {
|
|
274
|
-
if (input.error !== void 0) return true;
|
|
275
|
-
return input.exitCode !== null && REPORTABLE_EXIT_CODES.has(input.exitCode);
|
|
276
|
-
}
|
|
277
|
-
function failureCode(input) {
|
|
278
|
-
if (input.error !== void 0) {
|
|
279
|
-
if (isNetworkFailure(input.error))
|
|
280
|
-
return classifyNetworkFailure(input.error);
|
|
281
|
-
if (input.error instanceof _chunkSQWET4SLjs.DeeplineError && input.error.code) {
|
|
282
|
-
return input.error.code;
|
|
283
|
-
}
|
|
284
|
-
if (input.error instanceof Error && input.error.name)
|
|
285
|
-
return input.error.name;
|
|
286
|
-
return "CLI_FAILURE";
|
|
287
|
-
}
|
|
288
|
-
return input.exitCode === 4 ? "network_error" : "command_exit";
|
|
289
|
-
}
|
|
290
|
-
function resolvedExitCode(input) {
|
|
291
|
-
if (typeof input.exitCode === "number" && Number.isFinite(input.exitCode)) {
|
|
292
|
-
return Math.trunc(input.exitCode);
|
|
293
|
-
}
|
|
294
|
-
if (input.error === void 0) return null;
|
|
295
|
-
return isNetworkFailure(input.error) ? 4 : 5;
|
|
296
|
-
}
|
|
297
|
-
function resolveSdkCliFailureExitCode(error) {
|
|
298
|
-
return isNetworkFailure(error) ? 4 : 1;
|
|
299
|
-
}
|
|
300
|
-
function resolvedFailureKind(input) {
|
|
301
|
-
return input.error === void 0 ? "command_exit" : "uncaught_exception";
|
|
302
|
-
}
|
|
303
|
-
function safeRequestDiagnostics(error) {
|
|
304
|
-
if (!(error instanceof _chunkSQWET4SLjs.DeeplineError)) return null;
|
|
305
|
-
const request = _optionalChain([error, 'access', _27 => _27.details, 'optionalAccess', _28 => _28.request]);
|
|
306
|
-
if (!request || typeof request !== "object" || Array.isArray(request))
|
|
307
|
-
return null;
|
|
308
|
-
const value = request;
|
|
309
|
-
const result = {};
|
|
310
|
-
if (typeof value.phase === "string" && [
|
|
311
|
-
"before_request",
|
|
312
|
-
"retry_wait",
|
|
313
|
-
"awaiting_headers",
|
|
314
|
-
"reading_body"
|
|
315
|
-
].includes(value.phase))
|
|
316
|
-
result.phase = value.phase;
|
|
317
|
-
if (typeof value.method === "string" && /^(GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS)$/.test(value.method))
|
|
318
|
-
result.method = value.method;
|
|
319
|
-
if (typeof value.url === "string") {
|
|
320
|
-
try {
|
|
321
|
-
const url = new URL(value.url);
|
|
322
|
-
if (url.protocol === "https:" || url.protocol === "http:") {
|
|
323
|
-
result.url = redactFailureText(`${url.origin}${url.pathname}`, 1e3);
|
|
324
|
-
}
|
|
325
|
-
} catch (e3) {
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
if (typeof value.failedAtUtc === "string" && Number.isFinite(Date.parse(value.failedAtUtc))) {
|
|
329
|
-
result.failedAtUtc = new Date(value.failedAtUtc).toISOString();
|
|
330
|
-
}
|
|
331
|
-
for (const key of ["elapsedMs", "attempts"]) {
|
|
332
|
-
const number = value[key];
|
|
333
|
-
if (typeof number === "number" && Number.isSafeInteger(number) && number >= 0)
|
|
334
|
-
result[key] = number;
|
|
335
|
-
}
|
|
336
|
-
return Object.keys(result).length > 0 ? result : null;
|
|
337
|
-
}
|
|
338
|
-
function buildFailureReport(input) {
|
|
339
|
-
const durationMs = Math.max(0, Date.now() - input.startedAtMs);
|
|
340
|
-
const request = safeRequestDiagnostics(input.error);
|
|
341
|
-
const failureKind = resolvedFailureKind({
|
|
342
|
-
exitCode: input.exitCode,
|
|
343
|
-
error: input.error
|
|
344
|
-
});
|
|
345
|
-
const code = failureCode({ exitCode: input.exitCode, error: input.error });
|
|
346
|
-
const errorBody = input.error === void 0 ? `SDK CLI command exited ${_nullishCoalesce(input.exitCode, () => ( "unknown"))}` : errorMessage(input.error);
|
|
347
|
-
const networkCauseCategory = input.error !== void 0 && isNetworkFailure(input.error) ? classifyNetworkCauseCategory(input.error) : null;
|
|
348
|
-
return {
|
|
349
|
-
command: sanitizeCommand(input.argv),
|
|
350
|
-
subcommand: subcommandFromArgv(input.argv),
|
|
351
|
-
error_status: input.exitCode,
|
|
352
|
-
error_body: redactFailureText(errorBody),
|
|
353
|
-
exit_code: input.exitCode,
|
|
354
|
-
duration_ms: durationMs,
|
|
355
|
-
error_class: input.error instanceof Error ? input.error.name : null,
|
|
356
|
-
stack_trace: errorStack(input.error),
|
|
357
|
-
failure_kind: failureKind,
|
|
358
|
-
failure_code: code,
|
|
359
|
-
failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
|
|
360
|
-
cli_version: _chunkD4MHCCIRjs.SDK_VERSION,
|
|
361
|
-
context: {
|
|
362
|
-
base_url: redactFailureText(input.baseUrl, 400),
|
|
363
|
-
command_summary: sanitizeCommand(input.argv),
|
|
364
|
-
environment: buildEnvironmentContext(),
|
|
365
|
-
...request ? { request } : {},
|
|
366
|
-
failure_kind: failureKind,
|
|
367
|
-
failure_code: code,
|
|
368
|
-
failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
|
|
369
|
-
duration_ms: durationMs,
|
|
370
|
-
...input.exitCode !== null ? { exit_code: input.exitCode } : {},
|
|
371
|
-
...networkCauseCategory ? { network_cause_category: networkCauseCategory } : {}
|
|
372
|
-
}
|
|
373
|
-
};
|
|
374
|
-
}
|
|
375
|
-
async function maybeReportSdkCliFailure(input) {
|
|
376
|
-
if (isFailureReportingDisabled()) return false;
|
|
377
|
-
if (isServerLoggedPlayRunStartFailure(input)) return false;
|
|
378
|
-
const exitCode = resolvedExitCode(input);
|
|
379
|
-
if (!shouldReport({ exitCode, error: input.error })) return false;
|
|
380
|
-
const baseUrl = _chunkHWPOXCCKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
381
|
-
const apiKey = _chunkHWPOXCCKjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
382
|
-
if (!apiKey) return false;
|
|
383
|
-
return postFailureReport({
|
|
384
|
-
baseUrl,
|
|
385
|
-
apiKey,
|
|
386
|
-
timeoutMs: REPORT_FAILURE_TIMEOUT_MS,
|
|
387
|
-
body: buildFailureReport({
|
|
388
|
-
argv: input.argv,
|
|
389
|
-
startedAtMs: input.startedAtMs,
|
|
390
|
-
error: input.error,
|
|
391
|
-
exitCode,
|
|
392
|
-
baseUrl
|
|
393
|
-
})
|
|
394
|
-
});
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
exports.isFailureReportingDisabled = isFailureReportingDisabled; exports.redactFailureText = redactFailureText; exports.sanitizeCommand = sanitizeCommand; exports.failureReportHeaders = failureReportHeaders; exports.maybeReportAutomaticSkillsSyncFailure = maybeReportAutomaticSkillsSyncFailure; exports.resolveSdkCliFailureExitCode = resolveSdkCliFailureExitCode; exports.maybeReportSdkCliFailure = maybeReportSdkCliFailure;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkUUQ2OXMHjs = require('./chunk-UUQ2OXMH.js');
|
|
7
|
-
require('./chunk-DYIWDUY4.js');
|
|
8
|
-
require('./chunk-6LHX33VN.js');
|
|
9
|
-
require('./chunk-K3IPGMGP.js');
|
|
10
|
-
require('./chunk-D3BCSAN7.js');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var _chunk5YAJGRWBjs = require('./chunk-5YAJGRWB.js');
|
|
14
|
-
require('./chunk-ZS2WHWWL.js');
|
|
15
|
-
require('./chunk-XYIECA7M.js');
|
|
16
|
-
require('./chunk-AID3OYVJ.js');
|
|
17
|
-
require('./chunk-J33TSWO5.js');
|
|
18
|
-
require('./chunk-HGFFYVXN.js');
|
|
19
|
-
require('./chunk-243O3FH5.js');
|
|
20
|
-
require('./chunk-BLMB4N63.js');
|
|
21
|
-
require('./chunk-FGN75ZN6.js');
|
|
22
|
-
require('./chunk-E4CABWXL.js');
|
|
23
|
-
require('./chunk-2KHUFWTK.js');
|
|
24
|
-
require('./chunk-PMH4GLMD.js');
|
|
25
|
-
require('./chunk-XDVT3GOM.js');
|
|
26
|
-
require('./chunk-WNNA4L6Z.js');
|
|
27
|
-
require('./chunk-7PXP2FQK.js');
|
|
28
|
-
require('./chunk-CIDATNTY.js');
|
|
29
|
-
require('./chunk-5EKNDNFQ.js');
|
|
30
|
-
require('./chunk-DAPKLYST.js');
|
|
31
|
-
require('./chunk-HYBZWSSH.js');
|
|
32
|
-
require('./chunk-RFQWSH6I.js');
|
|
33
|
-
require('./chunk-T7RBM2WX.js');
|
|
34
|
-
require('./chunk-KWGXHPHL.js');
|
|
35
|
-
require('./chunk-HWPOXCCK.js');
|
|
36
|
-
require('./chunk-D4MHCCIR.js');
|
|
37
|
-
require('./chunk-T2N3B7IQ.js');
|
|
38
|
-
require('./chunk-XNYIZMNQ.js');
|
|
39
|
-
require('./chunk-SQWET4SL.js');
|
|
40
|
-
require('./chunk-PI5R65OQ.js');
|
|
41
|
-
require('./chunk-OG64RBAC.js');
|
|
42
|
-
require('./chunk-RLX5ZFNX.js');
|
|
43
|
-
require('./chunk-COGTRVWW.js');
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
exports.DEEPLINE_NAMESPACE = _chunk5YAJGRWBjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkUUQ2OXMHjs.describeAnything; exports.findNamed = _chunkUUQ2OXMHjs.findNamed; exports.nothingNamed = _chunkUUQ2OXMHjs.nothingNamed; exports.registerDescribeCommand = _chunkUUQ2OXMHjs.registerDescribeCommand;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
describeAnything,
|
|
3
|
-
findNamed,
|
|
4
|
-
nothingNamed,
|
|
5
|
-
registerDescribeCommand
|
|
6
|
-
} from "./chunk-QYBAHYP4.mjs";
|
|
7
|
-
import "./chunk-G2DLG32W.mjs";
|
|
8
|
-
import "./chunk-TCVCFZP6.mjs";
|
|
9
|
-
import "./chunk-K53NKWZO.mjs";
|
|
10
|
-
import "./chunk-5AEDYVB6.mjs";
|
|
11
|
-
import {
|
|
12
|
-
DEEPLINE_NAMESPACE
|
|
13
|
-
} from "./chunk-BNH4Y35W.mjs";
|
|
14
|
-
import "./chunk-GESIFFQX.mjs";
|
|
15
|
-
import "./chunk-7AOFSZJM.mjs";
|
|
16
|
-
import "./chunk-OVDNJAJN.mjs";
|
|
17
|
-
import "./chunk-FR2ILQ4G.mjs";
|
|
18
|
-
import "./chunk-FIVKWNMT.mjs";
|
|
19
|
-
import "./chunk-LVISZFYO.mjs";
|
|
20
|
-
import "./chunk-2GEYN3H4.mjs";
|
|
21
|
-
import "./chunk-FZKPPB5P.mjs";
|
|
22
|
-
import "./chunk-L2VKAASU.mjs";
|
|
23
|
-
import "./chunk-FKD3KL5Q.mjs";
|
|
24
|
-
import "./chunk-PSX3WHIH.mjs";
|
|
25
|
-
import "./chunk-UBKA33KY.mjs";
|
|
26
|
-
import "./chunk-R2KKEHJN.mjs";
|
|
27
|
-
import "./chunk-DWPY6ZID.mjs";
|
|
28
|
-
import "./chunk-WAIBM6KX.mjs";
|
|
29
|
-
import "./chunk-AUEUAPVS.mjs";
|
|
30
|
-
import "./chunk-K76AEBFY.mjs";
|
|
31
|
-
import "./chunk-DFJODFMC.mjs";
|
|
32
|
-
import "./chunk-7R5DAANG.mjs";
|
|
33
|
-
import "./chunk-4QELPWUW.mjs";
|
|
34
|
-
import "./chunk-JWWYLGUT.mjs";
|
|
35
|
-
import "./chunk-W5YJYU4G.mjs";
|
|
36
|
-
import "./chunk-RKY4LBX3.mjs";
|
|
37
|
-
import "./chunk-QNHHZ63P.mjs";
|
|
38
|
-
import "./chunk-DLIRSHV6.mjs";
|
|
39
|
-
import "./chunk-ZPGGW27Q.mjs";
|
|
40
|
-
import "./chunk-7CWSAEYS.mjs";
|
|
41
|
-
import "./chunk-WZYKRD7T.mjs";
|
|
42
|
-
import "./chunk-5JPKRDFC.mjs";
|
|
43
|
-
import "./chunk-KRD6H754.mjs";
|
|
44
|
-
export {
|
|
45
|
-
DEEPLINE_NAMESPACE,
|
|
46
|
-
describeAnything,
|
|
47
|
-
findNamed,
|
|
48
|
-
nothingNamed,
|
|
49
|
-
registerDescribeCommand
|
|
50
|
-
};
|
package/dist/cli/git-HGMX52XU.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunk4NLRWKZBjs = require('./chunk-4NLRWKZB.js');
|
|
9
|
-
require('./chunk-KWGXHPHL.js');
|
|
10
|
-
require('./chunk-HWPOXCCK.js');
|
|
11
|
-
require('./chunk-D4MHCCIR.js');
|
|
12
|
-
require('./chunk-T2N3B7IQ.js');
|
|
13
|
-
require('./chunk-XNYIZMNQ.js');
|
|
14
|
-
require('./chunk-SQWET4SL.js');
|
|
15
|
-
require('./chunk-PI5R65OQ.js');
|
|
16
|
-
require('./chunk-OG64RBAC.js');
|
|
17
|
-
require('./chunk-COGTRVWW.js');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
exports.handleDeploymentGet = _chunk4NLRWKZBjs.handleDeploymentGet; exports.handleDeploymentsList = _chunk4NLRWKZBjs.handleDeploymentsList; exports.registerGitCommands = _chunk4NLRWKZBjs.registerGitCommands; exports.renderDeployment = _chunk4NLRWKZBjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunk4NLRWKZBjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunk4NLRWKZBjs.renderDeploymentPlayLines;
|