deepline 0.3.546 → 0.3.548
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 +13 -0
- package/dist/bundling-sources/sdk/src/index.ts +7 -1
- package/dist/bundling-sources/sdk/src/integrations.ts +17 -7
- package/dist/bundling-sources/sdk/src/play.ts +71 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +13 -4
- package/dist/bundling-sources/sdk/src/types.ts +33 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/calendar-delegation.ts +7 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -1
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +17 -2
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +57 -5
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +295 -52
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +10 -1
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-decision-tracker.ts +135 -0
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-fail-open.ts +177 -0
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-node-io.ts +99 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +16 -10
- package/dist/bundling-sources/shared_libs/play-runtime/fenced-call-diagnostics.ts +211 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +52 -14
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +68 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +68 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +100 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +9 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +48 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -1
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +716 -51
- package/dist/bundling-sources/shared_libs/plays/docflow-decision-arms.ts +146 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-flow-order.ts +94 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-unreached-reason.ts +10 -1
- package/dist/bundling-sources/shared_libs/plays/docflow.ts +787 -117
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +8 -2
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +6 -0
- package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +13 -0
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +25 -0
- package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +3 -0
- package/dist/bundling-sources/shared_libs/security/email-domain.ts +24 -0
- package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +56 -0
- package/dist/cli/auth-7UJFY5BY.js +43 -0
- package/dist/cli/{auth-KFWG72AZ.mjs → auth-YOOVLLUL.mjs} +5 -5
- package/dist/cli/{billing-MMZ336HO.mjs → billing-2NCNX6L2.mjs} +10 -10
- package/dist/cli/{billing-OQVOAZ4S.js → billing-HETIOUD6.js} +96 -96
- package/dist/cli/{chunk-JVOUQFHT.js → chunk-2OG2KBYJ.js} +1 -1
- package/dist/cli/{chunk-JA633HRV.mjs → chunk-3QRU6RY7.mjs} +3 -3
- package/dist/cli/{chunk-TI6DTURF.js → chunk-4WAM6TLD.js} +7 -1
- package/dist/cli/{chunk-RO66FPTS.mjs → chunk-53QLWPZK.mjs} +1 -1
- package/dist/cli/{chunk-6LG7MLJ2.js → chunk-5OJOFUMO.js} +44 -44
- package/dist/cli/{chunk-F2VEFMU5.js → chunk-5XFJBIQT.js} +13 -13
- package/dist/cli/{chunk-UQJBV5PM.js → chunk-5XXPP3PR.js} +10 -10
- package/dist/cli/{chunk-6FBDTYR2.mjs → chunk-64BFUBXX.mjs} +2 -2
- package/dist/cli/{chunk-VAT2SXFF.js → chunk-6GIZNOXQ.js} +12 -12
- package/dist/cli/{chunk-7MY7KWJS.mjs → chunk-7AJ5V3BK.mjs} +1 -1
- package/dist/cli/{chunk-MEGHIX4M.js → chunk-7H6TQ6W2.js} +5 -5
- package/dist/cli/{chunk-PMDHY2YK.js → chunk-7JIOJLTS.js} +7 -7
- package/dist/cli/{chunk-EEJHB76U.js → chunk-7UJZWI5Z.js} +12 -12
- package/dist/cli/{chunk-X5KOHDJN.mjs → chunk-ATTURFOV.mjs} +1 -1
- package/dist/cli/{chunk-SH32HL7I.js → chunk-AUYBBFPT.js} +53 -53
- package/dist/cli/{chunk-JCWNF44W.js → chunk-BDBEEV6X.js} +22 -22
- package/dist/cli/{chunk-WKHPLBJK.js → chunk-BWJZ4NQJ.js} +15 -15
- package/dist/cli/{chunk-2JHYYB3F.js → chunk-CSPHSNBW.js} +3 -3
- package/dist/cli/{chunk-4AZLGNXV.js → chunk-CXZLHBNK.js} +4 -4
- package/dist/cli/{chunk-J65HJCJO.mjs → chunk-F4ON5COB.mjs} +2 -2
- package/dist/cli/{chunk-KUK7ARXA.mjs → chunk-FMQA7UZZ.mjs} +2 -2
- package/dist/cli/{chunk-UREAIHUU.mjs → chunk-FUUYWEF4.mjs} +3 -3
- package/dist/cli/{chunk-HXIR3VQL.mjs → chunk-FZHMNK6F.mjs} +7 -1
- package/dist/cli/{chunk-PU3ZAG6V.mjs → chunk-GCEGQ7TQ.mjs} +1 -1
- package/dist/cli/{chunk-BLYW6FFB.js → chunk-GJA2PRHJ.js} +2 -2
- package/dist/cli/{chunk-TBWYZOSV.js → chunk-GUIYFOG2.js} +3 -3
- package/dist/cli/{chunk-BTFUAGHC.js → chunk-HDLMX7SG.js} +16 -16
- package/dist/cli/{chunk-VTK3HGMN.mjs → chunk-HIMZ57QD.mjs} +5 -5
- package/dist/cli/{chunk-JYG4XZLT.js → chunk-HTZIJORU.js} +99 -99
- package/dist/cli/{chunk-VPERQ3U6.mjs → chunk-HU3DDLGD.mjs} +5 -5
- package/dist/cli/{chunk-H7Q5IDO3.js → chunk-I2JIWKCQ.js} +20 -20
- package/dist/cli/{chunk-MXQP7CXZ.js → chunk-IIWXBRDK.js} +3 -3
- package/dist/cli/{chunk-MI7X6V6V.mjs → chunk-IQBXX54G.mjs} +3 -3
- package/dist/cli/{chunk-SYTWWVIQ.js → chunk-JQWX377P.js} +5 -5
- package/dist/cli/{chunk-Z3UEBFIN.js → chunk-LAVPP6WD.js} +41 -41
- package/dist/cli/{chunk-JCH4UNNS.js → chunk-M2OZORIH.js} +2 -2
- package/dist/cli/{chunk-Z7SXGOIQ.mjs → chunk-MF7PCM6C.mjs} +1 -1
- package/dist/cli/{chunk-7ZW67ME6.mjs → chunk-MQSKSISW.mjs} +1 -1
- package/dist/cli/{chunk-JARZ47OP.mjs → chunk-MWQ4WWZF.mjs} +2 -2
- package/dist/cli/{chunk-EEG46QZY.mjs → chunk-NFMX7BRF.mjs} +2 -2
- package/dist/cli/{chunk-VXTTAYOT.mjs → chunk-OGDQFVCP.mjs} +3 -3
- package/dist/cli/{chunk-3DUNNZB6.mjs → chunk-OQCYSLML.mjs} +4 -4
- package/dist/cli/{chunk-5W4ENHWM.js → chunk-PVE3A2BO.js} +285 -264
- package/dist/cli/{chunk-F5YQXCP3.js → chunk-PVQCX6KQ.js} +50 -7
- package/dist/cli/{chunk-GYTSDSQD.mjs → chunk-QQBRXMZM.mjs} +11 -11
- package/dist/cli/{chunk-6Y5TU3R7.mjs → chunk-QZ74ZC55.mjs} +1 -1
- package/dist/cli/{chunk-5OEFXAKP.mjs → chunk-RMCCB3XY.mjs} +50 -7
- package/dist/cli/{chunk-5V7NZKGG.js → chunk-T3RDWG5J.js} +2 -2
- package/dist/cli/{chunk-OAKWSLKS.mjs → chunk-TKGFHRHE.mjs} +28 -7
- package/dist/cli/{chunk-HJR2DDJS.mjs → chunk-U35ZLVBA.mjs} +2 -2
- package/dist/cli/{chunk-ND7SFRQL.js → chunk-U7HJXE6Y.js} +2 -2
- package/dist/cli/{chunk-LX2TC3HO.mjs → chunk-UBQQR56I.mjs} +4 -4
- package/dist/cli/{chunk-5VNQMVCU.js → chunk-VK2GSTRN.js} +26 -26
- package/dist/cli/{chunk-K2XELBPF.mjs → chunk-VSACOMIA.mjs} +5 -5
- package/dist/cli/{chunk-IVWU7SJC.js → chunk-WI4MCR7M.js} +5 -5
- package/dist/cli/{chunk-LIJKRDDG.js → chunk-WIHQAZPV.js} +6 -6
- package/dist/cli/{chunk-LHE2TSV6.mjs → chunk-WVZF4DU7.mjs} +1 -1
- package/dist/cli/{chunk-2HSZCQMT.mjs → chunk-WYT3H6JD.mjs} +1 -1
- package/dist/cli/{chunk-GOOF7E2B.mjs → chunk-XKEBQVCP.mjs} +5 -5
- package/dist/cli/{chunk-P7A3H6G5.mjs → chunk-XU3D2KFR.mjs} +1 -1
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/concurrent-runs-help-A2IQVZRJ.js +21 -0
- package/dist/cli/{concurrent-runs-help-C2O5YKQA.mjs → concurrent-runs-help-FDCCZ45D.mjs} +6 -6
- package/dist/cli/{csv-Z4DNGR54.mjs → csv-GJYLQ52D.mjs} +4 -4
- package/dist/cli/{csv-MJDNOIQJ.js → csv-OCEQWZO3.js} +13 -13
- package/dist/cli/{db-4RL2BNOF.mjs → db-5MA2UUHQ.mjs} +7 -7
- package/dist/cli/{db-S5QVPK5E.js → db-G5QGXFAX.js} +28 -28
- package/dist/cli/{describe-L4P5SZLQ.mjs → describe-4DOJ4DHA.mjs} +19 -19
- package/dist/cli/describe-SD7DRTBW.js +50 -0
- package/dist/cli/describe-core.d.mts +4 -4
- package/dist/cli/describe-core.d.ts +4 -4
- package/dist/cli/{executions-RR6O3XK5.mjs → executions-C7SMBHHB.mjs} +7 -7
- package/dist/cli/{executions-MFZ2Z36O.js → executions-IYEVUPJI.js} +9 -9
- package/dist/cli/{feedback-YDAG7VH2.js → feedback-GYAF46GA.js} +14 -14
- package/dist/cli/{feedback-EQBQ3ABB.mjs → feedback-XUU2UKM6.mjs} +6 -6
- package/dist/cli/git-7YYVMY6L.js +25 -0
- package/dist/cli/{git-YGLCCU35.mjs → git-WVCMK5AH.mjs} +5 -5
- package/dist/cli/index.js +146 -146
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-FWYXSBHK.mjs → integrations-FXADGAX2.mjs} +11 -9
- package/dist/cli/{integrations-IQXYMRMW.js → integrations-YYBJJFVX.js} +19 -17
- package/dist/cli/{legacy-noops-I4YRIX5F.mjs → legacy-noops-LJY7LDUE.mjs} +6 -6
- package/dist/cli/{legacy-noops-U7LI7UXC.js → legacy-noops-REZCYES2.js} +9 -9
- package/dist/cli/{mcp-GX2UKKWU.js → mcp-L5PURE5S.js} +24 -24
- package/dist/cli/{mcp-QJBMB6VS.mjs → mcp-XSB3ZJFR.mjs} +4 -4
- package/dist/cli/{monitors-WCJYINGX.js → monitors-I5EIHSGV.js} +119 -101
- package/dist/cli/{monitors-Z6EGKYJP.mjs → monitors-UBPF2OLO.mjs} +26 -8
- package/dist/cli/{org-NNHICBR2.mjs → org-PHHIN2ER.mjs} +7 -7
- package/dist/cli/{org-7SKG423N.js → org-SGSTGGUD.js} +89 -89
- package/dist/cli/{play-CXDFPJ7Z.mjs → play-LEJNJLWY.mjs} +295 -67
- package/dist/cli/{play-4P4DTG3Q.js → play-WQEKMANL.js} +897 -669
- package/dist/cli/{providers-VQLQ7DTR.mjs → providers-3W26ZDAV.mjs} +7 -7
- package/dist/cli/{providers-EE4TUE3O.js → providers-RSDXBXIS.js} +10 -10
- package/dist/cli/{quickstart-IYNJRB5G.mjs → quickstart-LGJD2M36.mjs} +4 -4
- package/dist/cli/{quickstart-RVXHK4WA.js → quickstart-U3QX4EMI.js} +6 -6
- package/dist/cli/{run-R3F34KU3.js → run-F2UPZUJS.js} +45 -45
- package/dist/cli/{run-VBQPPMEX.mjs → run-YWZ3W5HK.mjs} +25 -25
- package/dist/cli/search-K6ANAXLF.js +32 -0
- package/dist/cli/{search-B7R62HX5.mjs → search-O2OJH3PY.mjs} +8 -8
- package/dist/cli/{search-output-LNQQXIGZ.mjs → search-output-H5BF6SJ3.mjs} +4 -4
- package/dist/cli/{search-output-LWHWEPOT.js → search-output-W7OCBYBU.js} +6 -6
- package/dist/cli/{secrets-NM3VAJLO.mjs → secrets-65XCAA7U.mjs} +7 -7
- package/dist/cli/{secrets-QBOZ7WTD.js → secrets-BN4GYVRI.js} +16 -16
- package/dist/cli/sessions-M52QWLA6.js +22 -0
- package/dist/cli/{sessions-R5BSIJ4I.mjs → sessions-SVEVESCQ.mjs} +6 -6
- package/dist/cli/{settings-POYWKNRD.js → settings-7YMDAFCN.js} +86 -86
- package/dist/cli/{settings-S4PN7WLY.mjs → settings-HAU2NP2H.mjs} +13 -13
- package/dist/cli/{setup-PFLXVBTL.mjs → setup-5RXHZ6YI.mjs} +9 -9
- package/dist/cli/{setup-VHB4Z654.js → setup-G37QXQGM.js} +49 -49
- package/dist/cli/{skills-W2TELEU7.mjs → skills-Q7A3XFAU.mjs} +7 -7
- package/dist/cli/skills-ZK4D5BJW.js +36 -0
- package/dist/cli/tools-DBZTLYFM.js +57 -0
- package/dist/cli/{tools-M4FA6N3Y.mjs → tools-ZG4NYRGB.mjs} +18 -18
- package/dist/cli/{update-W7LIHEA7.mjs → update-2CMZTZCL.mjs} +9 -9
- package/dist/cli/update-LC5HGEEH.js +34 -0
- package/dist/cli/{views-KTVPV6UP.mjs → views-A6IIY4OQ.mjs} +7 -7
- package/dist/cli/{views-DJXAGD7V.js → views-XUMDMDIE.js} +22 -22
- package/dist/cli/{workflow-NVZDJKH2.js → workflow-4EEW6MCD.js} +18 -18
- package/dist/cli/{workflow-LGKCRODX.mjs → workflow-74MYISHU.mjs} +8 -8
- package/dist/{client-Tp1LSULB.d.mts → client-D1uWA2Vc.d.mts} +1 -1
- package/dist/{client-CCyWJqAI.d.ts → client-Hz7SsBXs.d.ts} +1 -1
- package/dist/{client-core-BpYiYEfu.d.ts → client-core-D3Ad7Flt.d.ts} +554 -504
- package/dist/{client-core-D8eCZz3O.d.mts → client-core-Db_e63Hb.d.mts} +554 -504
- package/dist/{compiler-manifest-EBWEUj0b.d.ts → compiler-manifest-BqwVrOri.d.mts} +38 -18
- package/dist/{compiler-manifest-EBWEUj0b.d.mts → compiler-manifest-BqwVrOri.d.ts} +38 -18
- package/dist/{errors-CParKUQR.d.mts → errors-BU8FB99X.d.mts} +1 -1
- package/dist/{errors-Qt0OTA7_.d.ts → errors-DfVN_FUG.d.ts} +1 -1
- package/dist/{index-CoqDkIw0.d.ts → index-BGnvtYGc.d.ts} +6 -1
- package/dist/{index-BMUVCNp7.d.mts → index-DjZgwpGw.d.mts} +6 -1
- package/dist/index.d.mts +28 -8
- package/dist/index.d.ts +28 -8
- package/dist/index.js +64 -39
- package/dist/index.mjs +32 -7
- package/dist/install-integrity.json +133 -128
- 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 +620 -124
- package/dist/plays/play-description.d.mts +3 -3
- package/dist/plays/play-description.d.ts +3 -3
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +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 +6 -6
- package/dist/server.mjs +4 -4
- package/package.json +1 -1
- package/dist/cli/auth-W32GMYND.js +0 -43
- package/dist/cli/concurrent-runs-help-6QT7ZR4W.js +0 -21
- package/dist/cli/describe-VLU2LUDJ.js +0 -50
- package/dist/cli/git-E6W44F5M.js +0 -25
- package/dist/cli/search-UUVFXZRA.js +0 -32
- package/dist/cli/sessions-K3PD73Q2.js +0 -22
- package/dist/cli/skills-QNE2EYT3.js +0 -36
- package/dist/cli/tools-3RLI4HGF.js +0 -57
- package/dist/cli/update-UT6KIW2W.js +0 -34
|
@@ -1,40 +1,40 @@
|
|
|
1
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
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJQWX377Pjs = require('./chunk-JQWX377P.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkPVE3A2BOjs = require('./chunk-PVE3A2BO.js');
|
|
8
|
+
require('./chunk-4WAM6TLD.js');
|
|
9
9
|
require('./chunk-SL6MYJYM.js');
|
|
10
10
|
require('./chunk-PMH4GLMD.js');
|
|
11
11
|
require('./chunk-XDVT3GOM.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkT3RDWG5Jjs = require('./chunk-T3RDWG5J.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
20
|
+
var _chunkHDLMX7SGjs = require('./chunk-HDLMX7SG.js');
|
|
21
|
+
require('./chunk-M2OZORIH.js');
|
|
22
|
+
require('./chunk-LAVPP6WD.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
27
|
-
require('./chunk-
|
|
26
|
+
var _chunk5OJOFUMOjs = require('./chunk-5OJOFUMO.js');
|
|
27
|
+
require('./chunk-GUIYFOG2.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
32
|
-
require('./chunk-
|
|
33
|
-
require('./chunk-
|
|
31
|
+
var _chunkI2JIWKCQjs = require('./chunk-I2JIWKCQ.js');
|
|
32
|
+
require('./chunk-IIWXBRDK.js');
|
|
33
|
+
require('./chunk-CXZLHBNK.js');
|
|
34
34
|
require('./chunk-EITMD3A5.js');
|
|
35
35
|
require('./chunk-XNYIZMNQ.js');
|
|
36
36
|
require('./chunk-BBTKAASQ.js');
|
|
37
|
-
require('./chunk-
|
|
37
|
+
require('./chunk-2OG2KBYJ.js');
|
|
38
38
|
require('./chunk-OG64RBAC.js');
|
|
39
39
|
require('./chunk-RLX5ZFNX.js');
|
|
40
40
|
require('./chunk-COGTRVWW.js');
|
|
@@ -42,7 +42,7 @@ require('./chunk-COGTRVWW.js');
|
|
|
42
42
|
// src/cli/commands/settings.ts
|
|
43
43
|
var _commander = require('commander');
|
|
44
44
|
var _fs = require('fs');
|
|
45
|
-
var eventHelp =
|
|
45
|
+
var eventHelp = _chunkPVE3A2BOjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
|
|
46
46
|
(event) => ` ${event.id.padEnd(28)} ${event.description}`
|
|
47
47
|
).join("\n");
|
|
48
48
|
function slackDestination(settings) {
|
|
@@ -54,7 +54,7 @@ function slackDestination(settings) {
|
|
|
54
54
|
archivedAt: typeof entry.archivedAt === "number" ? entry.archivedAt : void 0
|
|
55
55
|
})
|
|
56
56
|
);
|
|
57
|
-
return
|
|
57
|
+
return _chunkPVE3A2BOjs.resolveLegacySlackNotification.call(void 0, destinations);
|
|
58
58
|
}
|
|
59
59
|
function eventLines(settings, destinationId) {
|
|
60
60
|
const enabled = new Map(
|
|
@@ -76,10 +76,10 @@ function requireCatalogEvent(settings, eventType) {
|
|
|
76
76
|
return event;
|
|
77
77
|
}
|
|
78
78
|
async function printSettings(options) {
|
|
79
|
-
const settings = await new (0,
|
|
79
|
+
const settings = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getNotificationSettings();
|
|
80
80
|
const slack = slackDestination(settings);
|
|
81
81
|
const destinationId = typeof _optionalChain([slack, 'optionalAccess', _ => _._id]) === "string" ? slack._id : void 0;
|
|
82
|
-
|
|
82
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
83
83
|
{
|
|
84
84
|
settings,
|
|
85
85
|
render: {
|
|
@@ -127,8 +127,8 @@ function registerSettingsCommands(program) {
|
|
|
127
127
|
off: "Do not ask the user to send feedback or upload a session. Use --requested only if they explicitly request it without being prompted."
|
|
128
128
|
};
|
|
129
129
|
const printFeedback = (options) => {
|
|
130
|
-
const setting =
|
|
131
|
-
|
|
130
|
+
const setting = _chunkT3RDWG5Jjs.readFeedbackSetting.call(void 0, );
|
|
131
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
132
132
|
{ ok: true, setting, enabled: setting === "on" },
|
|
133
133
|
{
|
|
134
134
|
json: options.json,
|
|
@@ -140,7 +140,7 @@ function registerSettingsCommands(program) {
|
|
|
140
140
|
const feedback = settings.command("feedback").description("Show or change the local feedback setting (ask by default).").option("--json", "Emit JSON output").action(printFeedback);
|
|
141
141
|
for (const setting of ["ask", "on", "off"]) {
|
|
142
142
|
feedback.command(setting).description(feedbackDescriptions[setting]).option("--json", "Emit JSON output").action((_options, command) => {
|
|
143
|
-
|
|
143
|
+
_chunkT3RDWG5Jjs.writeFeedbackSetting.call(void 0, setting);
|
|
144
144
|
printFeedback(command.optsWithGlobals());
|
|
145
145
|
});
|
|
146
146
|
}
|
|
@@ -157,8 +157,8 @@ Automatic updates are enabled by default. Turning them on clears an existing
|
|
|
157
157
|
version pin. Pinning installs and holds one exact pin-aware CLI version.
|
|
158
158
|
`
|
|
159
159
|
).option("--json", "Emit JSON output").action((options) => {
|
|
160
|
-
const preferences =
|
|
161
|
-
|
|
160
|
+
const preferences = _chunkHDLMX7SGjs.readCliUpdatePreferences.call(void 0, );
|
|
161
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
162
162
|
{
|
|
163
163
|
autoUpdateEnabled: preferences.autoUpdateEnabled,
|
|
164
164
|
pinnedVersion: preferences.pinnedVersion,
|
|
@@ -181,8 +181,8 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
|
|
|
181
181
|
autoupdate.command(enabled ? "on" : "off").description(
|
|
182
182
|
enabled ? "Enable automatic CLI updates and clear any version pin." : "Disable automatic CLI updates."
|
|
183
183
|
).option("--json", "Emit JSON output").action((options) => {
|
|
184
|
-
const preferences =
|
|
185
|
-
|
|
184
|
+
const preferences = _chunkHDLMX7SGjs.setCliAutoUpdateEnabled.call(void 0, enabled);
|
|
185
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
186
186
|
{
|
|
187
187
|
ok: true,
|
|
188
188
|
autoUpdateEnabled: preferences.autoUpdateEnabled,
|
|
@@ -203,18 +203,18 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
|
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
205
|
autoupdate.command("pin").description("Install and hold an exact pin-aware CLI version.").argument("<version>", "Exact semantic version from a pin-aware release").option("--json", "Emit JSON output").action(async (version, options) => {
|
|
206
|
-
process.exitCode = await
|
|
206
|
+
process.exitCode = await _chunkHDLMX7SGjs.runUpdateCommand.call(void 0, {
|
|
207
207
|
pin: version,
|
|
208
208
|
json: options.json,
|
|
209
209
|
executeWithJson: true
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
212
|
settings.command("skills-sync").description("Configure automatic skill syncing on this machine.").addArgument(new (0, _commander.Argument)("[mode]").choices(["on", "off"])).option("--dry-run", "Show the requested setting without saving it").option("--json", "Emit JSON output").action((mode, options) => {
|
|
213
|
-
const autoSkillsSyncEnabled = mode === void 0 ?
|
|
213
|
+
const autoSkillsSyncEnabled = mode === void 0 ? _chunk5OJOFUMOjs.isCliSkillsSyncEnabled.call(void 0, ) : mode === "on";
|
|
214
214
|
if (mode !== void 0 && !options.dryRun) {
|
|
215
|
-
|
|
215
|
+
_chunk5OJOFUMOjs.setCliSkillsSyncEnabled.call(void 0, autoSkillsSyncEnabled);
|
|
216
216
|
}
|
|
217
|
-
|
|
217
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
218
218
|
{
|
|
219
219
|
autoSkillsSyncEnabled,
|
|
220
220
|
...options.dryRun ? { dryRun: true } : {},
|
|
@@ -254,15 +254,15 @@ notifications. Use deepline integrations for provider connections.
|
|
|
254
254
|
if (destination !== "slack")
|
|
255
255
|
throw new Error("Only slack is supported.");
|
|
256
256
|
if (options.dryRun) {
|
|
257
|
-
|
|
257
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
258
258
|
{ dryRun: true, destination, action: "start_oauth" },
|
|
259
259
|
{ json: options.json }
|
|
260
260
|
);
|
|
261
261
|
return;
|
|
262
262
|
}
|
|
263
|
-
const result = await new (0,
|
|
264
|
-
const browser = options.open ?
|
|
265
|
-
|
|
263
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().connectNotificationSlack();
|
|
264
|
+
const browser = options.open ? _chunkI2JIWKCQjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
|
|
265
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
266
266
|
{
|
|
267
267
|
...result,
|
|
268
268
|
browser,
|
|
@@ -286,10 +286,10 @@ notifications. Use deepline integrations for provider connections.
|
|
|
286
286
|
}
|
|
287
287
|
);
|
|
288
288
|
notifications.command("channels").description("List Slack channels visible to the connected Deepline app.").option("--query <text>", "Filter channels by name").option("--json", "Emit JSON output").action(async (options) => {
|
|
289
|
-
const result = await new (0,
|
|
289
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().listNotificationSlackChannels(
|
|
290
290
|
options.query
|
|
291
291
|
);
|
|
292
|
-
|
|
292
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
293
293
|
{
|
|
294
294
|
...result,
|
|
295
295
|
render: {
|
|
@@ -315,14 +315,14 @@ notifications. Use deepline integrations for provider connections.
|
|
|
315
315
|
}
|
|
316
316
|
const target = options.memberId ? { memberId: options.memberId } : options.channel;
|
|
317
317
|
if (options.dryRun) {
|
|
318
|
-
|
|
318
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
319
319
|
{ dryRun: true, destination, target },
|
|
320
320
|
{ json: options.json }
|
|
321
321
|
);
|
|
322
322
|
return;
|
|
323
323
|
}
|
|
324
|
-
const result = await new (0,
|
|
325
|
-
|
|
324
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().setNotificationSlack(target);
|
|
325
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
326
326
|
{
|
|
327
327
|
ok: true,
|
|
328
328
|
result,
|
|
@@ -348,14 +348,14 @@ notifications. Use deepline integrations for provider connections.
|
|
|
348
348
|
notifications.command("test").description("Send a validation ping to a destination.").argument("<destination>", "Destination kind (currently slack)").option("--dry-run", "Describe the external send without sending").option("--json", "Emit JSON output").action(async (destination, options) => {
|
|
349
349
|
if (destination !== "slack") throw new Error("Only slack is supported.");
|
|
350
350
|
if (options.dryRun) {
|
|
351
|
-
|
|
351
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
352
352
|
{ dryRun: true, destination, action: "send_test_ping" },
|
|
353
353
|
{ json: options.json }
|
|
354
354
|
);
|
|
355
355
|
return;
|
|
356
356
|
}
|
|
357
|
-
const result = await new (0,
|
|
358
|
-
|
|
357
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().testNotificationSlack();
|
|
358
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
359
359
|
{
|
|
360
360
|
...result,
|
|
361
361
|
render: {
|
|
@@ -368,14 +368,14 @@ notifications. Use deepline integrations for provider connections.
|
|
|
368
368
|
notifications.command("disable").description("Disable a product-notification destination.").argument("<destination>", "Destination kind (currently slack)").option("--dry-run", "Describe the mutation without changing settings").option("--json", "Emit JSON output").action(async (destination, options) => {
|
|
369
369
|
if (destination !== "slack") throw new Error("Only slack is supported.");
|
|
370
370
|
if (options.dryRun) {
|
|
371
|
-
|
|
371
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
372
372
|
{ dryRun: true, destination, action: "disable" },
|
|
373
373
|
{ json: options.json }
|
|
374
374
|
);
|
|
375
375
|
return;
|
|
376
376
|
}
|
|
377
|
-
const result = await new (0,
|
|
378
|
-
|
|
377
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().disableNotificationSlack();
|
|
378
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
379
379
|
{
|
|
380
380
|
ok: true,
|
|
381
381
|
result,
|
|
@@ -394,10 +394,10 @@ ${eventHelp}
|
|
|
394
394
|
`
|
|
395
395
|
);
|
|
396
396
|
subscriptions.command("list").description("List every supported event and its current state.").option("--json", "Emit JSON output").action(async (options) => {
|
|
397
|
-
const current = await new (0,
|
|
397
|
+
const current = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getNotificationSettings();
|
|
398
398
|
const destination = slackDestination(current);
|
|
399
399
|
const destinationId = typeof _optionalChain([destination, 'optionalAccess', _2 => _2._id]) === "string" ? destination._id : void 0;
|
|
400
|
-
|
|
400
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
401
401
|
{
|
|
402
402
|
catalog: current.catalog,
|
|
403
403
|
subscriptions: current.subscriptions,
|
|
@@ -414,14 +414,14 @@ ${eventHelp}
|
|
|
414
414
|
);
|
|
415
415
|
});
|
|
416
416
|
subscriptions.command("describe").description("Describe one event from the shared product catalog.").argument("<event>", "Event ID; run subscriptions list to enumerate").option("--json", "Emit JSON output").action(async (eventType, options) => {
|
|
417
|
-
const current = await new (0,
|
|
417
|
+
const current = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getNotificationSettings();
|
|
418
418
|
const event = requireCatalogEvent(current, eventType);
|
|
419
419
|
const destination = slackDestination(current);
|
|
420
420
|
const destinationId = typeof _optionalChain([destination, 'optionalAccess', _3 => _3._id]) === "string" ? destination._id : void 0;
|
|
421
421
|
const subscription = current.subscriptions.find(
|
|
422
422
|
(entry) => entry.eventType === event.id && (!destinationId || entry.destinationId === destinationId)
|
|
423
423
|
);
|
|
424
|
-
|
|
424
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
425
425
|
{
|
|
426
426
|
event,
|
|
427
427
|
enabled: _optionalChain([subscription, 'optionalAccess', _4 => _4.enabled]) === true,
|
|
@@ -442,11 +442,11 @@ ${eventHelp}
|
|
|
442
442
|
});
|
|
443
443
|
for (const enabled of [true, false]) {
|
|
444
444
|
subscriptions.command(enabled ? "enable" : "disable").description(`${enabled ? "Enable" : "Disable"} one supported event.`).argument("<event>", "Event ID; run subscriptions list to enumerate").option("--dry-run", "Validate intent without changing settings").option("--json", "Emit JSON output").action(async (eventType, options) => {
|
|
445
|
-
const client = new (0,
|
|
445
|
+
const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
|
|
446
446
|
const current = await client.getNotificationSettings();
|
|
447
447
|
const event = requireCatalogEvent(current, eventType);
|
|
448
448
|
if (options.dryRun) {
|
|
449
|
-
|
|
449
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
450
450
|
{ dryRun: true, event, enabled },
|
|
451
451
|
{ json: options.json }
|
|
452
452
|
);
|
|
@@ -456,7 +456,7 @@ ${eventHelp}
|
|
|
456
456
|
[event.id],
|
|
457
457
|
enabled
|
|
458
458
|
);
|
|
459
|
-
|
|
459
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
460
460
|
{
|
|
461
461
|
ok: true,
|
|
462
462
|
event: event.id,
|
|
@@ -477,11 +477,11 @@ ${eventHelp}
|
|
|
477
477
|
}
|
|
478
478
|
const dlq = notifications.command("dlq").description("Inspect and explicitly resolve inert failed deliveries.");
|
|
479
479
|
dlq.command("list").option("--limit <count>", "Maximum deliveries", "25").option("--json", "Emit JSON output").action(async (options) => {
|
|
480
|
-
const result = await new (0,
|
|
480
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().listNotificationDlq(
|
|
481
481
|
Number(options.limit)
|
|
482
482
|
);
|
|
483
483
|
const deliveries = _nullishCoalesce(result.deliveries, () => ( []));
|
|
484
|
-
|
|
484
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
485
485
|
{
|
|
486
486
|
...result,
|
|
487
487
|
render: {
|
|
@@ -499,10 +499,10 @@ ${eventHelp}
|
|
|
499
499
|
);
|
|
500
500
|
});
|
|
501
501
|
dlq.command("get").argument("<delivery-id>").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
|
|
502
|
-
const result = await new (0,
|
|
502
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getNotificationDlqDelivery(
|
|
503
503
|
deliveryId
|
|
504
504
|
);
|
|
505
|
-
|
|
505
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, result, {
|
|
506
506
|
json: options.json
|
|
507
507
|
});
|
|
508
508
|
});
|
|
@@ -511,17 +511,17 @@ ${eventHelp}
|
|
|
511
511
|
`${action === "retry" ? "Replay once from attempt zero" : "Archive"} one delivery.`
|
|
512
512
|
).argument("<delivery-id>").option("--dry-run", "Describe the mutation without changing state").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
|
|
513
513
|
if (options.dryRun) {
|
|
514
|
-
|
|
514
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
515
515
|
{ dryRun: true, action, deliveryId },
|
|
516
516
|
{ json: options.json }
|
|
517
517
|
);
|
|
518
518
|
return;
|
|
519
519
|
}
|
|
520
|
-
const result = await new (0,
|
|
520
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().updateNotificationDlqDelivery(
|
|
521
521
|
deliveryId,
|
|
522
522
|
action
|
|
523
523
|
);
|
|
524
|
-
|
|
524
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
525
525
|
{ ok: true, action, deliveryId, result },
|
|
526
526
|
{ json: options.json }
|
|
527
527
|
);
|
|
@@ -622,8 +622,8 @@ Examples:
|
|
|
622
622
|
`
|
|
623
623
|
);
|
|
624
624
|
configuration.command("get").description("Show the effective group-based notification configuration.").option("--json", "Emit JSON output").action(async (options) => {
|
|
625
|
-
const result = await new (0,
|
|
626
|
-
|
|
625
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getNotificationConfiguration();
|
|
626
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
627
627
|
{
|
|
628
628
|
...result,
|
|
629
629
|
render: {
|
|
@@ -648,21 +648,21 @@ Examples:
|
|
|
648
648
|
).option("--dry-run", "Validate and display the file without saving it").option("--json", "Emit JSON output").action(async (file, options) => {
|
|
649
649
|
const input = await readNotificationConfigurationChange(file);
|
|
650
650
|
if (options.dryRun) {
|
|
651
|
-
|
|
651
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
652
652
|
{ dryRun: true, ...input },
|
|
653
653
|
{ json: options.json }
|
|
654
654
|
);
|
|
655
655
|
return;
|
|
656
656
|
}
|
|
657
|
-
const result = await new (0,
|
|
657
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().changeNotificationConfiguration(
|
|
658
658
|
input.expectedWorkspaceVersion,
|
|
659
659
|
input.change
|
|
660
660
|
);
|
|
661
|
-
|
|
661
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, result, { json: options.json });
|
|
662
662
|
});
|
|
663
663
|
notifications.command("events").description("List the Play events available to a notification.").option("--json", "Emit JSON output").action(async (options) => {
|
|
664
|
-
const settings = await new (0,
|
|
665
|
-
|
|
664
|
+
const settings = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getNotifications();
|
|
665
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
666
666
|
{
|
|
667
667
|
events: settings.catalog,
|
|
668
668
|
render: {
|
|
@@ -680,9 +680,9 @@ Examples:
|
|
|
680
680
|
);
|
|
681
681
|
});
|
|
682
682
|
notifications.command("list").description("List named notifications and their selected Play events.").option("--json", "Emit JSON output").option("--compact", "Emit only names, state, target, and event IDs").action(async (options) => {
|
|
683
|
-
const settings = await new (0,
|
|
683
|
+
const settings = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getNotifications();
|
|
684
684
|
const rules = _nullishCoalesce(settings.notifications, () => ( []));
|
|
685
|
-
|
|
685
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
686
686
|
{
|
|
687
687
|
notifications: options.compact ? rules.map((rule) => ({
|
|
688
688
|
id: rule.id,
|
|
@@ -710,10 +710,10 @@ Examples:
|
|
|
710
710
|
});
|
|
711
711
|
notifications.command("get").argument("<name>", "Notification name or ID").description("Show one named notification.").option("--json", "Emit JSON output").action(async (name, options) => {
|
|
712
712
|
const rule = notificationByName(
|
|
713
|
-
await new (0,
|
|
713
|
+
await new (0, _chunkJQWX377Pjs.DeeplineClient)().getNotifications(),
|
|
714
714
|
name
|
|
715
715
|
);
|
|
716
|
-
|
|
716
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
|
|
717
717
|
});
|
|
718
718
|
notifications.command("add").argument("<name>", "Group name, for example oncall").requiredOption(
|
|
719
719
|
"--to <target>",
|
|
@@ -727,14 +727,14 @@ Examples:
|
|
|
727
727
|
[]
|
|
728
728
|
).option("--dry-run", "Describe the notification without saving it").option("--json", "Emit JSON output").action(
|
|
729
729
|
async (name, options) => {
|
|
730
|
-
const result = await new (0,
|
|
730
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().createNotificationGroup({
|
|
731
731
|
name,
|
|
732
732
|
targets: options.to,
|
|
733
733
|
legacyEvents: options.for,
|
|
734
734
|
dryRun: options.dryRun
|
|
735
735
|
});
|
|
736
736
|
if (result.mode === "dry_run") {
|
|
737
|
-
|
|
737
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
738
738
|
result.compatibilityMode ? {
|
|
739
739
|
dryRun: true,
|
|
740
740
|
name: result.name,
|
|
@@ -751,7 +751,7 @@ Examples:
|
|
|
751
751
|
return;
|
|
752
752
|
}
|
|
753
753
|
if (result.mode === "legacy") {
|
|
754
|
-
|
|
754
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
755
755
|
{
|
|
756
756
|
notification: result.notification,
|
|
757
757
|
render: {
|
|
@@ -773,7 +773,7 @@ Examples:
|
|
|
773
773
|
);
|
|
774
774
|
return;
|
|
775
775
|
}
|
|
776
|
-
|
|
776
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
777
777
|
{
|
|
778
778
|
...result,
|
|
779
779
|
render: {
|
|
@@ -809,12 +809,12 @@ Examples:
|
|
|
809
809
|
[]
|
|
810
810
|
).option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(
|
|
811
811
|
async (name, options) => {
|
|
812
|
-
const client = new (0,
|
|
812
|
+
const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
|
|
813
813
|
const rule = notificationByName(await client.getNotifications(), name);
|
|
814
814
|
const target = options.to ? parseSlackTarget(options.to) : rule.target.kind === "member" ? { memberId: rule.target.id } : { channel: rule.target.name };
|
|
815
815
|
const eventTypes = options.for.length ? options.for : rule.eventTypes;
|
|
816
816
|
if (options.dryRun) {
|
|
817
|
-
|
|
817
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
818
818
|
{ dryRun: true, notification: rule.id, target, eventTypes },
|
|
819
819
|
{ json: options.json }
|
|
820
820
|
);
|
|
@@ -825,15 +825,15 @@ Examples:
|
|
|
825
825
|
...target,
|
|
826
826
|
eventTypes
|
|
827
827
|
});
|
|
828
|
-
|
|
828
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
|
|
829
829
|
}
|
|
830
830
|
);
|
|
831
831
|
const slack = notifications.command("slack").description("Select a channel from the connected Slack integration.");
|
|
832
832
|
slack.command("channels").option("--search <text>", "Filter channel names").option("--json", "Emit JSON output").action(async (options) => {
|
|
833
|
-
const result = await new (0,
|
|
833
|
+
const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().listNotificationChannels(
|
|
834
834
|
options.search
|
|
835
835
|
);
|
|
836
|
-
|
|
836
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
837
837
|
{
|
|
838
838
|
...result,
|
|
839
839
|
render: {
|
|
@@ -853,31 +853,31 @@ Examples:
|
|
|
853
853
|
["resume", true]
|
|
854
854
|
]) {
|
|
855
855
|
notifications.command(command).argument("<name>", "Notification name or ID").option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(async (name, options) => {
|
|
856
|
-
const client = new (0,
|
|
856
|
+
const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
|
|
857
857
|
const rule = notificationByName(await client.getNotifications(), name);
|
|
858
858
|
if (options.dryRun) {
|
|
859
|
-
|
|
859
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
860
860
|
{ dryRun: true, notification: rule.id, enabled },
|
|
861
861
|
{ json: options.json }
|
|
862
862
|
);
|
|
863
863
|
return;
|
|
864
864
|
}
|
|
865
865
|
const result = await client.updateNotification(rule.id, { enabled });
|
|
866
|
-
|
|
866
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
|
|
867
867
|
});
|
|
868
868
|
}
|
|
869
869
|
notifications.command("test").argument("<name>", "Notification name or ID").option("--dry-run", "Describe the external send without sending").option("--json", "Emit JSON output").action(async (name, options) => {
|
|
870
|
-
const client = new (0,
|
|
870
|
+
const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
|
|
871
871
|
const rule = notificationByName(await client.getNotifications(), name);
|
|
872
872
|
if (options.dryRun) {
|
|
873
|
-
|
|
873
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
874
874
|
{ dryRun: true, notification: rule.id, action: "send_test" },
|
|
875
875
|
{ json: options.json }
|
|
876
876
|
);
|
|
877
877
|
return;
|
|
878
878
|
}
|
|
879
879
|
const result = await client.testNotification(rule.id);
|
|
880
|
-
|
|
880
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
881
881
|
{ ...result, notification: rule.name },
|
|
882
882
|
{ json: options.json }
|
|
883
883
|
);
|
|
@@ -885,17 +885,17 @@ Examples:
|
|
|
885
885
|
notifications.command("delete").argument("<name>", "Notification name or ID").description(
|
|
886
886
|
"Archive one notification without touching its provider integration."
|
|
887
887
|
).option("--dry-run", "Describe the deletion without changing state").option("--json", "Emit JSON output").action(async (name, options) => {
|
|
888
|
-
const client = new (0,
|
|
888
|
+
const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
|
|
889
889
|
const rule = notificationByName(await client.getNotifications(), name);
|
|
890
890
|
if (options.dryRun) {
|
|
891
|
-
|
|
891
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
892
892
|
{ dryRun: true, notification: rule.id, action: "archive" },
|
|
893
893
|
{ json: options.json }
|
|
894
894
|
);
|
|
895
895
|
return;
|
|
896
896
|
}
|
|
897
897
|
const result = await client.deleteNotification(rule.id);
|
|
898
|
-
|
|
898
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
899
899
|
{ ...result, notification: rule.name },
|
|
900
900
|
{ json: options.json }
|
|
901
901
|
);
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U35ZLVBA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRODUCT_NOTIFICATION_EVENT_CATALOG,
|
|
6
6
|
resolveLegacySlackNotification
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-TKGFHRHE.mjs";
|
|
8
|
+
import "./chunk-FZHMNK6F.mjs";
|
|
9
9
|
import "./chunk-LX35AXTN.mjs";
|
|
10
10
|
import "./chunk-PSX3WHIH.mjs";
|
|
11
11
|
import "./chunk-UBKA33KY.mjs";
|
|
12
12
|
import {
|
|
13
13
|
readFeedbackSetting,
|
|
14
14
|
writeFeedbackSetting
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WVZF4DU7.mjs";
|
|
16
16
|
import {
|
|
17
17
|
readCliUpdatePreferences,
|
|
18
18
|
runUpdateCommand,
|
|
19
19
|
setCliAutoUpdateEnabled
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-HIMZ57QD.mjs";
|
|
21
|
+
import "./chunk-XU3D2KFR.mjs";
|
|
22
|
+
import "./chunk-OQCYSLML.mjs";
|
|
23
23
|
import {
|
|
24
24
|
isCliSkillsSyncEnabled,
|
|
25
25
|
setCliSkillsSyncEnabled
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-XKEBQVCP.mjs";
|
|
27
|
+
import "./chunk-ATTURFOV.mjs";
|
|
28
28
|
import {
|
|
29
29
|
openInBrowser,
|
|
30
30
|
printCommandEnvelope
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-OGDQFVCP.mjs";
|
|
32
|
+
import "./chunk-QZ74ZC55.mjs";
|
|
33
|
+
import "./chunk-53QLWPZK.mjs";
|
|
34
34
|
import "./chunk-NURW5XH4.mjs";
|
|
35
35
|
import "./chunk-DLIRSHV6.mjs";
|
|
36
36
|
import "./chunk-JL2OTMSG.mjs";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-7AJ5V3BK.mjs";
|
|
38
38
|
import "./chunk-WZYKRD7T.mjs";
|
|
39
39
|
import "./chunk-5JPKRDFC.mjs";
|
|
40
40
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -7,24 +7,24 @@ import {
|
|
|
7
7
|
readPendingAuthClaim,
|
|
8
8
|
reportApprovalLinkShown,
|
|
9
9
|
reportSetupCompleted
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IQBXX54G.mjs";
|
|
11
11
|
import {
|
|
12
12
|
npmSupportsAllowScripts,
|
|
13
13
|
readNpmVersion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XU3D2KFR.mjs";
|
|
15
15
|
import {
|
|
16
16
|
deeplineGtmSkillRoots,
|
|
17
17
|
runSkillsCommand,
|
|
18
18
|
skillsStatePathForScope
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OQCYSLML.mjs";
|
|
20
20
|
import {
|
|
21
21
|
resolveShellSpawn
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-XKEBQVCP.mjs";
|
|
23
|
+
import "./chunk-ATTURFOV.mjs";
|
|
24
24
|
import {
|
|
25
25
|
openInBrowser,
|
|
26
26
|
printCommandEnvelope
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OGDQFVCP.mjs";
|
|
28
28
|
import {
|
|
29
29
|
autoDetectBaseUrl,
|
|
30
30
|
baseUrlSlug,
|
|
@@ -33,14 +33,14 @@ import {
|
|
|
33
33
|
resolveProjectApiKeyForBaseUrl,
|
|
34
34
|
resolveProjectPinTarget,
|
|
35
35
|
sdkCliStateDirPath
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-QZ74ZC55.mjs";
|
|
37
37
|
import {
|
|
38
38
|
SDK_VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-53QLWPZK.mjs";
|
|
40
40
|
import "./chunk-NURW5XH4.mjs";
|
|
41
41
|
import "./chunk-DLIRSHV6.mjs";
|
|
42
42
|
import "./chunk-JL2OTMSG.mjs";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-7AJ5V3BK.mjs";
|
|
44
44
|
import "./chunk-WZYKRD7T.mjs";
|
|
45
45
|
import {
|
|
46
46
|
DEEPLINE_GTM_SKILL,
|