deepline 0.3.534 → 0.3.536
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 +254 -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 +4 -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/call-requeue-state-machine.ts +420 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +727 -102
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-retry-policy.ts +624 -0
- 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 +60 -1
- 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 +372 -10
- package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +21 -0
- 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/provider-no-progress.ts +6 -2
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +17 -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 +63 -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 +90 -49
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +136 -30
- 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/plays/share/static-pipeline-summary.ts +63 -13
- 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-6XQKFOLG.js +43 -0
- package/dist/cli/{auth-MHQYIMVX.mjs → auth-KCTCUO7P.mjs} +7 -7
- package/dist/cli/{billing-YQLNP4S5.js → billing-4VBGZ3CT.js} +273 -112
- package/dist/cli/{billing-LX2PSBJ4.mjs → billing-OOJHKLNS.mjs} +185 -24
- package/dist/cli/{chunk-DGKTHWWH.js → chunk-2B4IOGFD.js} +406 -382
- package/dist/cli/{chunk-MQORQ7WL.js → chunk-2FCSUOYN.js} +55 -55
- package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
- package/dist/cli/{chunk-6IFZPEJE.mjs → chunk-2YWJS76L.mjs} +1 -1
- package/dist/cli/{chunk-E7TP25I2.mjs → chunk-3PCYV6ZJ.mjs} +2 -2
- package/dist/cli/{chunk-LGRZCHKC.js → chunk-4E5JXZ3W.js} +18 -20
- package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
- package/dist/cli/{chunk-SUWTLXCV.js → chunk-6BBGUQJJ.js} +67 -146
- package/dist/cli/{chunk-JBBJDFUJ.js → chunk-6VUGBQZQ.js} +5 -5
- package/dist/cli/{chunk-2P3NVX65.mjs → chunk-AB2GBOD4.mjs} +40 -27
- package/dist/cli/{chunk-62SOZ67Y.mjs → chunk-ANUKBZ6W.mjs} +475 -11
- package/dist/cli/{chunk-MG6YL4M7.mjs → chunk-BASLYGXK.mjs} +101 -77
- package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
- package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
- package/dist/cli/{chunk-RH3YRMUY.js → chunk-CIDN5K23.js} +1 -1
- 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-UWNVFAFN.js → chunk-CWSLUNA6.js} +33 -33
- package/dist/cli/{chunk-5FXMEEF4.mjs → chunk-CXTW7SRW.mjs} +67 -146
- package/dist/cli/{chunk-O53LHONF.mjs → chunk-DA2I2M7D.mjs} +2 -2
- package/dist/cli/{chunk-EYXUAJAU.mjs → chunk-DQHUJMCL.mjs} +5 -5
- package/dist/cli/{chunk-7GFR5Y4J.mjs → chunk-DUYAMLOC.mjs} +1 -1
- package/dist/cli/{chunk-OMVVHX4U.mjs → chunk-E24UGPGG.mjs} +13 -15
- package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
- package/dist/cli/{chunk-KJVY7V2X.mjs → chunk-GF32SBST.mjs} +1 -1
- package/dist/cli/{chunk-AK622KIG.mjs → chunk-GHLDCLSC.mjs} +1 -1
- package/dist/cli/{chunk-A6HNT4EE.js → chunk-GTVZKY3F.js} +2 -2
- package/dist/cli/{chunk-BXIUZM5N.mjs → chunk-HAJQGP5V.mjs} +2 -2
- package/dist/cli/{chunk-6CEUQYMB.js → chunk-HWDKRN7L.js} +3 -3
- package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
- package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
- package/dist/cli/{chunk-WR4WETRU.mjs → chunk-JUHDJNSI.mjs} +4 -4
- package/dist/cli/{chunk-TQH3533L.mjs → chunk-KPQHUVYW.mjs} +5 -5
- package/dist/cli/{chunk-V7SCRUFQ.js → chunk-KWYGWO4Y.js} +9 -6
- package/dist/cli/{chunk-DZS4JC7I.js → chunk-LDGZFDUB.js} +2 -2
- package/dist/cli/{chunk-EGTUOYYG.js → chunk-LN6RXDTB.js} +523 -59
- package/dist/cli/{chunk-DQ5ADV2J.mjs → chunk-LZXZQPA2.mjs} +4 -1
- package/dist/cli/{chunk-MYSKWJMA.js → chunk-MSP4DTSD.js} +13 -13
- package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
- package/dist/cli/{chunk-NNAE7E23.mjs → chunk-OUDTOMZC.mjs} +7 -9
- package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
- package/dist/cli/{chunk-ENCA6O2D.mjs → chunk-PNY3BWHP.mjs} +2 -2
- package/dist/cli/{chunk-KSA2XE4T.js → chunk-Q4MNUOS4.js} +316 -303
- package/dist/cli/{chunk-GTXSUPCJ.js → chunk-Q5CXV3E3.js} +2 -2
- package/dist/cli/{chunk-VAG5YKP6.mjs → chunk-RVSSQPQO.mjs} +1 -1
- package/dist/cli/{chunk-VE7ZPLN2.js → chunk-SLPJ3LXI.js} +22 -22
- package/dist/cli/{chunk-IX45S5VC.js → chunk-TX5TUHJN.js} +17 -19
- package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
- package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
- package/dist/cli/{chunk-NDFNBJGL.js → chunk-VBDZIMWD.js} +26 -26
- package/dist/cli/{chunk-GVGQ6NZW.js → chunk-W7AEIGZR.js} +41 -41
- package/dist/cli/{chunk-WDNRPZED.mjs → chunk-WC5M3JXE.mjs} +2 -2
- package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
- package/dist/cli/{chunk-MQX363YF.js → chunk-XBAH3TKU.js} +5 -5
- package/dist/cli/{chunk-BDWZBMGV.mjs → chunk-XJD2GYUP.mjs} +5 -5
- package/dist/cli/{chunk-XRZJKHUA.mjs → chunk-XVZRJJDS.mjs} +4 -4
- package/dist/cli/{chunk-TVINIDHB.js → chunk-Y2NTPYGS.js} +17 -17
- package/dist/cli/{chunk-6GTGWZJG.mjs → chunk-YBMHOH6H.mjs} +4 -4
- package/dist/cli/{chunk-TG2UB3A5.mjs → chunk-YRLAUGQY.mjs} +3 -3
- package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
- package/dist/cli/{chunk-KXQCUX3X.mjs → chunk-Z7UIOGW4.mjs} +3 -3
- package/dist/cli/{chunk-HCD36BP6.js → chunk-ZEV2Y56V.js} +44 -44
- package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
- package/dist/cli/{chunk-XBK6WCVA.js → chunk-ZILSRDIN.js} +8 -8
- package/dist/cli/{chunk-B2AS3R5W.js → chunk-ZISEH7OL.js} +16 -16
- package/dist/cli/{chunk-HPJAE6PP.js → chunk-ZZ4MF2GI.js} +6 -6
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-U3M2G76R.js → csv-2V2DIFNG.js} +15 -15
- package/dist/cli/{csv-4ID4E5W3.mjs → csv-P3HLK4GO.mjs} +6 -6
- package/dist/cli/{db-IHAQIKEQ.js → db-MREAQVW6.js} +36 -36
- package/dist/cli/{db-LHX5BBCZ.mjs → db-ZYOY3QRQ.mjs} +9 -9
- package/dist/cli/describe-IKZFOADR.mjs +49 -0
- package/dist/cli/describe-WW3OQRLP.js +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-CJ5LV23G.js → executions-H5IJ7QSQ.js} +11 -11
- package/dist/cli/{executions-UJ6JZUL5.mjs → executions-KTSY5M34.mjs} +9 -9
- package/dist/cli/{feedback-TGUBVGRP.js → feedback-724QK3Z5.js} +16 -16
- package/dist/cli/{feedback-YGTPJBRJ.mjs → feedback-WWJRIXEU.mjs} +8 -8
- package/dist/cli/git-PHYRD56H.js +25 -0
- package/dist/cli/{git-3DOTQHJO.mjs → git-R5VRG7X6.mjs} +7 -7
- package/dist/cli/index.js +151 -157
- package/dist/cli/index.mjs +51 -57
- package/dist/cli/{legacy-noops-BHEHVFHI.js → legacy-noops-C6GDEGPU.js} +11 -11
- package/dist/cli/{legacy-noops-RBBYRVLG.mjs → legacy-noops-PWZ5XLAO.mjs} +8 -8
- package/dist/cli/{monitors-XECKLAXA.js → monitors-VAVQ4WCE.js} +125 -122
- package/dist/cli/{monitors-5AJCG6IV.mjs → monitors-WQSKMHAP.mjs} +19 -16
- package/dist/cli/{org-DOBAIYWG.js → org-CWWRWXZQ.js} +89 -89
- package/dist/cli/{org-ZAAIEZKB.mjs → org-MAL4QPVF.mjs} +9 -9
- package/dist/cli/{play-KLYRMQPF.mjs → play-ILW6MSNG.mjs} +174 -80
- package/dist/cli/{play-E74VN6B7.js → play-WJOWK5PQ.js} +690 -596
- package/dist/cli/{providers-XTQXV5LB.mjs → providers-4V2NMLZZ.mjs} +9 -9
- package/dist/cli/{providers-APZ6SOSK.js → providers-W662ANCH.js} +12 -12
- package/dist/cli/{quickstart-S6WN6NWW.js → quickstart-BW6EBUYX.js} +8 -8
- package/dist/cli/{quickstart-X7RHHQCH.mjs → quickstart-C22BR743.mjs} +6 -6
- package/dist/cli/{run-3YLIJJ57.js → run-KW7KW4FX.js} +50 -53
- package/dist/cli/{run-TZPBBSPX.mjs → run-SPAU5IMW.mjs} +31 -34
- package/dist/cli/search-HLE54W5G.js +32 -0
- package/dist/cli/{search-VLHE2CMZ.mjs → search-XPC75HLM.mjs} +10 -11
- package/dist/cli/{search-output-73BYB7UE.mjs → search-output-JKYJSEPM.mjs} +6 -6
- package/dist/cli/{search-output-GCT7PQIT.js → search-output-VJYE7USJ.js} +8 -8
- package/dist/cli/{secrets-RLOTGKQZ.mjs → secrets-OJG73GXQ.mjs} +9 -9
- package/dist/cli/{secrets-J6CEKXKQ.js → secrets-YB57KGSB.js} +18 -18
- package/dist/cli/{sessions-7HZ7OZ62.mjs → sessions-7ZL37BW4.mjs} +8 -8
- package/dist/cli/sessions-VEBYZIEU.js +22 -0
- package/dist/cli/{settings-WRV5XEZC.js → settings-A7DD2ZYE.js} +88 -89
- package/dist/cli/{settings-72K5YCIS.mjs → settings-RKSQB7FA.mjs} +15 -16
- package/dist/cli/{setup-KQFY6WT4.mjs → setup-NXDUTITY.mjs} +11 -12
- package/dist/cli/{setup-QVXWT2EQ.js → setup-S3K5YU62.js} +51 -52
- package/dist/cli/skills-NVQ744CN.js +36 -0
- package/dist/cli/{skills-C3K3E473.mjs → skills-VMFAIDO6.mjs} +9 -10
- package/dist/cli/{tools-4A2OH6MB.mjs → tools-52NTHBSJ.mjs} +20 -21
- package/dist/cli/tools-SBDUL3WB.js +56 -0
- package/dist/cli/update-HHVFZPCV.js +34 -0
- package/dist/cli/{update-BS6USKPR.mjs → update-SAKBEKMV.mjs} +11 -12
- package/dist/cli/{views-WB6GFTRX.mjs → views-ACRV7MD6.mjs} +54 -10
- package/dist/cli/{views-4NZGAXHL.js → views-C3GJOBDG.js} +66 -22
- package/dist/cli/{workflow-2D4WX55R.mjs → workflow-CS22E7TC.mjs} +10 -10
- package/dist/cli/{workflow-L2QTQZYV.js → workflow-ZNWCZEGN.js} +20 -20
- package/dist/{client-DoUVSkqC.d.mts → client-BlLYQDNo.d.mts} +1 -1
- package/dist/{client-DQm56zMs.d.ts → client-DSQlkIDO.d.ts} +1 -1
- package/dist/{client-core-C7KkUIE_.d.ts → client-core-CDwapXy5.d.ts} +167 -108
- package/dist/{client-core-CPlwsC1Q.d.mts → client-core-rX7n2H8U.d.mts} +167 -108
- package/dist/{compiler-manifest-DsxsQP-T.d.mts → compiler-manifest-BHNC4RL-.d.mts} +58 -21
- package/dist/{compiler-manifest-DsxsQP-T.d.ts → compiler-manifest-BHNC4RL-.d.ts} +58 -21
- package/dist/{errors-qdJUVQ3g.d.mts → errors-D7sPXrvB.d.mts} +1 -1
- package/dist/{errors-Bk5h1D-C.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
- package/dist/{index-bL66eHYz.d.ts → index-CQTBHXHr.d.ts} +1 -1
- package/dist/{index-PaupwX1B.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 +131 -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 +67 -3
- 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-UP2RGPI6.js +0 -43
- package/dist/cli/chunk-5LZ5VSOK.mjs +0 -405
- package/dist/cli/chunk-D3J2Y2BP.js +0 -405
- package/dist/cli/describe-CI4MREFF.mjs +0 -50
- package/dist/cli/describe-IVTSD7ST.js +0 -50
- package/dist/cli/git-R3W25XIF.js +0 -25
- package/dist/cli/pages-FUOSF6BE.mjs +0 -266
- package/dist/cli/pages-TLC2N6L7.js +0 -266
- package/dist/cli/search-NB5CBALV.js +0 -33
- package/dist/cli/sessions-SFCZSB77.js +0 -22
- package/dist/cli/skills-WIJEHVLA.js +0 -37
- package/dist/cli/tools-VMMERMLO.js +0 -57
- package/dist/cli/update-54WZQDTS.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 _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunkUWNVFAFNjs = require('./chunk-UWNVFAFN.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: _chunkUWNVFAFNjs.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 = _chunkUWNVFAFNjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
175
|
-
return {
|
|
176
|
-
..._chunkUWNVFAFNjs.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/${_chunkUWNVFAFNjs.SDK_VERSION}`,
|
|
181
|
-
"X-Deepline-Client-Family": "sdk",
|
|
182
|
-
"X-Deepline-CLI-Family": "sdk",
|
|
183
|
-
"X-Deepline-Agent-Runtime": _chunkUWNVFAFNjs.detectAgentRuntime.call(void 0, ),
|
|
184
|
-
"X-Deepline-CLI-Version": _chunkUWNVFAFNjs.SDK_VERSION,
|
|
185
|
-
"X-Deepline-SDK-Version": _chunkUWNVFAFNjs.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 = _chunkXBK6WCVAjs.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: _chunkUWNVFAFNjs.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: _chunkUWNVFAFNjs.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 = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
381
|
-
const apiKey = _chunkXBK6WCVAjs.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
|
-
import {
|
|
2
|
-
describeAnything,
|
|
3
|
-
findNamed,
|
|
4
|
-
nothingNamed,
|
|
5
|
-
registerDescribeCommand
|
|
6
|
-
} from "./chunk-NNAE7E23.mjs";
|
|
7
|
-
import "./chunk-2P3NVX65.mjs";
|
|
8
|
-
import "./chunk-DQ5ADV2J.mjs";
|
|
9
|
-
import "./chunk-OMVVHX4U.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-WDNRPZED.mjs";
|
|
20
|
-
import "./chunk-2GEYN3H4.mjs";
|
|
21
|
-
import "./chunk-MG6YL4M7.mjs";
|
|
22
|
-
import "./chunk-L2VKAASU.mjs";
|
|
23
|
-
import "./chunk-FKD3KL5Q.mjs";
|
|
24
|
-
import "./chunk-PSX3WHIH.mjs";
|
|
25
|
-
import "./chunk-UBKA33KY.mjs";
|
|
26
|
-
import "./chunk-TQH3533L.mjs";
|
|
27
|
-
import "./chunk-7GFR5Y4J.mjs";
|
|
28
|
-
import "./chunk-EYXUAJAU.mjs";
|
|
29
|
-
import "./chunk-6IFZPEJE.mjs";
|
|
30
|
-
import "./chunk-WR4WETRU.mjs";
|
|
31
|
-
import "./chunk-BDWZBMGV.mjs";
|
|
32
|
-
import "./chunk-KJVY7V2X.mjs";
|
|
33
|
-
import "./chunk-5LZ5VSOK.mjs";
|
|
34
|
-
import "./chunk-62SOZ67Y.mjs";
|
|
35
|
-
import "./chunk-E7TP25I2.mjs";
|
|
36
|
-
import "./chunk-TG2UB3A5.mjs";
|
|
37
|
-
import "./chunk-QNHHZ63P.mjs";
|
|
38
|
-
import "./chunk-DLIRSHV6.mjs";
|
|
39
|
-
import "./chunk-ZPGGW27Q.mjs";
|
|
40
|
-
import "./chunk-AK622KIG.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
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkLGRZCHKCjs = require('./chunk-LGRZCHKC.js');
|
|
7
|
-
require('./chunk-KSA2XE4T.js');
|
|
8
|
-
require('./chunk-V7SCRUFQ.js');
|
|
9
|
-
require('./chunk-IX45S5VC.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-MQX363YF.js');
|
|
20
|
-
require('./chunk-BLMB4N63.js');
|
|
21
|
-
require('./chunk-DGKTHWWH.js');
|
|
22
|
-
require('./chunk-E4CABWXL.js');
|
|
23
|
-
require('./chunk-2KHUFWTK.js');
|
|
24
|
-
require('./chunk-PMH4GLMD.js');
|
|
25
|
-
require('./chunk-XDVT3GOM.js');
|
|
26
|
-
require('./chunk-VE7ZPLN2.js');
|
|
27
|
-
require('./chunk-DZS4JC7I.js');
|
|
28
|
-
require('./chunk-B2AS3R5W.js');
|
|
29
|
-
require('./chunk-GTXSUPCJ.js');
|
|
30
|
-
require('./chunk-GVGQ6NZW.js');
|
|
31
|
-
require('./chunk-HCD36BP6.js');
|
|
32
|
-
require('./chunk-6CEUQYMB.js');
|
|
33
|
-
require('./chunk-D3J2Y2BP.js');
|
|
34
|
-
require('./chunk-EGTUOYYG.js');
|
|
35
|
-
require('./chunk-XBK6WCVA.js');
|
|
36
|
-
require('./chunk-UWNVFAFN.js');
|
|
37
|
-
require('./chunk-T2N3B7IQ.js');
|
|
38
|
-
require('./chunk-XNYIZMNQ.js');
|
|
39
|
-
require('./chunk-SQWET4SL.js');
|
|
40
|
-
require('./chunk-RH3YRMUY.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 = _chunkLGRZCHKCjs.describeAnything; exports.findNamed = _chunkLGRZCHKCjs.findNamed; exports.nothingNamed = _chunkLGRZCHKCjs.nothingNamed; exports.registerDescribeCommand = _chunkLGRZCHKCjs.registerDescribeCommand;
|
package/dist/cli/git-R3W25XIF.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkNDFNBJGLjs = require('./chunk-NDFNBJGL.js');
|
|
9
|
-
require('./chunk-EGTUOYYG.js');
|
|
10
|
-
require('./chunk-XBK6WCVA.js');
|
|
11
|
-
require('./chunk-UWNVFAFN.js');
|
|
12
|
-
require('./chunk-T2N3B7IQ.js');
|
|
13
|
-
require('./chunk-XNYIZMNQ.js');
|
|
14
|
-
require('./chunk-SQWET4SL.js');
|
|
15
|
-
require('./chunk-RH3YRMUY.js');
|
|
16
|
-
require('./chunk-OG64RBAC.js');
|
|
17
|
-
require('./chunk-COGTRVWW.js');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
exports.handleDeploymentGet = _chunkNDFNBJGLjs.handleDeploymentGet; exports.handleDeploymentsList = _chunkNDFNBJGLjs.handleDeploymentsList; exports.registerGitCommands = _chunkNDFNBJGLjs.registerGitCommands; exports.renderDeployment = _chunkNDFNBJGLjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkNDFNBJGLjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkNDFNBJGLjs.renderDeploymentPlayLines;
|