deepline 0.3.509 → 0.3.511
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 +159 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/org-monitor-limits.ts +7 -2
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +3 -3
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-execution-relay.ts +94 -43
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +111 -27
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/runtime-topology.ts +79 -6
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +80 -6
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-transient-retry.ts +571 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +218 -33
- package/dist/cli/artifacts-G6JHRHY5.mjs +268 -0
- package/dist/cli/artifacts-PLF5ZUS7.js +268 -0
- package/dist/cli/{auth-6IR2QH4N.mjs → auth-2XMJMDWG.mjs} +5 -5
- package/dist/cli/auth-PI2KS2CD.js +43 -0
- package/dist/cli/{billing-WEWHH6ST.mjs → billing-6C5AI42X.mjs} +7 -7
- package/dist/cli/{billing-SYBK3ZYU.js → billing-Z3XFXP3H.js} +82 -82
- package/dist/cli/{chunk-JZJNA57M.js → chunk-2Q4H2Y6N.js} +6 -6
- package/dist/cli/{chunk-VTVZ7EUA.js → chunk-2YVRIXVR.js} +9 -9
- package/dist/cli/{chunk-RSKAPLST.mjs → chunk-5WTLXL6O.mjs} +1 -1
- package/dist/cli/{chunk-YJM3NOME.mjs → chunk-77DPQI6W.mjs} +94 -10
- package/dist/cli/{chunk-FNLGMMJJ.mjs → chunk-ASXOFBF7.mjs} +2 -2
- package/dist/cli/{chunk-AO63MXT6.js → chunk-BHV7JKXQ.js} +1 -1
- package/dist/cli/{chunk-RA2NKHV5.js → chunk-D5VWSR4D.js} +5 -5
- package/dist/cli/{chunk-CMSPA5VX.js → chunk-FAGSSIOY.js} +6 -6
- package/dist/cli/{chunk-J5P4PDRT.js → chunk-FF25PDQ2.js} +94 -10
- package/dist/cli/{chunk-SEQIB5WJ.mjs → chunk-FTT2SBBH.mjs} +5 -5
- package/dist/cli/{chunk-5Y3I5LEQ.js → chunk-FV4PASXH.js} +16 -16
- package/dist/cli/{chunk-GTAU4C44.js → chunk-GD3ES3JU.js} +14 -14
- package/dist/cli/{chunk-HMAETS53.js → chunk-GGQHOLH6.js} +3 -3
- package/dist/cli/{chunk-T67NAGSD.mjs → chunk-GJWL4KTY.mjs} +4 -4
- package/dist/cli/{chunk-6KBVQ76G.mjs → chunk-HLEZQDEZ.mjs} +2 -2
- package/dist/cli/{chunk-WJ6H2W3O.mjs → chunk-ISY7PBIK.mjs} +5 -5
- package/dist/cli/{chunk-AD45WJHN.js → chunk-IYWN7M4I.js} +5 -5
- package/dist/cli/{chunk-3CZHC24N.mjs → chunk-JDDKJIZU.mjs} +1 -1
- package/dist/cli/{chunk-E3HWUGDT.mjs → chunk-JHBZBCU4.mjs} +1 -1
- package/dist/cli/{chunk-7KALZEDZ.js → chunk-JIY25SUX.js} +4 -4
- package/dist/cli/{chunk-726UDAV2.js → chunk-JYFLIQPE.js} +7 -7
- package/dist/cli/{chunk-DGOSW42X.js → chunk-K4JB2BZP.js} +96 -96
- package/dist/cli/{chunk-XEQH65DT.mjs → chunk-KK6NZHAJ.mjs} +1 -1
- package/dist/cli/chunk-KUDNPJ43.js +77 -0
- package/dist/cli/{chunk-IZW7IOD6.mjs → chunk-KXGH4YUQ.mjs} +1 -1
- package/dist/cli/{chunk-Q7G6WORO.js → chunk-KZBKQPSA.js} +2 -2
- package/dist/cli/{chunk-4DVANPBN.js → chunk-LDZYGM7W.js} +41 -41
- package/dist/cli/{chunk-XPKBYMJH.js → chunk-LKSJXTRP.js} +53 -53
- package/dist/cli/{chunk-Q5UO2ENN.js → chunk-NVMNMKZW.js} +3 -3
- package/dist/cli/{chunk-VZ773N7G.js → chunk-O37BQ2CG.js} +21 -10
- package/dist/cli/{chunk-OOD5LGUS.mjs → chunk-OQ4YBPOQ.mjs} +3 -3
- package/dist/cli/{chunk-UART6FGK.mjs → chunk-PCI4MMH7.mjs} +1 -1
- package/dist/cli/{chunk-2ZJRCAHG.js → chunk-PI45LZ5B.js} +11 -11
- package/dist/cli/{chunk-O527H5GY.js → chunk-PUFEARWT.js} +16 -16
- package/dist/cli/{chunk-25MAOMVS.mjs → chunk-QDWNVTTO.mjs} +2 -2
- package/dist/cli/{chunk-WUKNKFB3.mjs → chunk-RPPU3XB3.mjs} +2 -2
- package/dist/cli/{chunk-XIBNY6H6.mjs → chunk-S5C4CWSS.mjs} +5 -5
- package/dist/cli/{chunk-2U7Z4LFG.mjs → chunk-S6KEACD3.mjs} +6 -6
- package/dist/cli/{chunk-Y4M5HPQV.mjs → chunk-SI4QXATV.mjs} +5 -5
- package/dist/cli/{chunk-R2KNJMOY.mjs → chunk-VEOFISLZ.mjs} +1 -1
- package/dist/cli/{chunk-Z2LVZDO5.js → chunk-VHFTN6VY.js} +44 -44
- package/dist/cli/{chunk-54YPOG5W.mjs → chunk-VQ74WMKG.mjs} +15 -4
- package/dist/cli/{chunk-ZXGMWXZW.js → chunk-WDBEWOU6.js} +2 -2
- package/dist/cli/{chunk-6TBRWRJ2.js → chunk-XGXXNT4O.js} +270 -199
- package/dist/cli/chunk-XREZY4FA.mjs +77 -0
- package/dist/cli/{chunk-K2RCVD7S.mjs → chunk-XSBGWMI6.mjs} +72 -1
- package/dist/cli/{chunk-S7JEF2MR.mjs → chunk-XXQZYLLL.mjs} +2 -2
- package/dist/cli/{chunk-EEEWADSR.mjs → chunk-XZ6IZIQJ.mjs} +2 -2
- package/dist/cli/{chunk-WPBTWRKG.js → chunk-YX7E2VQM.js} +26 -26
- package/dist/cli/{chunk-FQCIYGQY.mjs → chunk-ZFJ2U76O.mjs} +2 -2
- package/dist/cli/{chunk-7NMPGX3W.js → chunk-ZWGBQKW7.js} +21 -21
- package/dist/cli/{chunk-VH522HUP.mjs → chunk-ZYVR4A4P.mjs} +10 -10
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-4LAJ2ZKG.mjs → csv-CNK6ZF3T.mjs} +4 -4
- package/dist/cli/{csv-5KNONIAX.js → csv-S44OGG2O.js} +13 -13
- package/dist/cli/{db-BEVCJI66.mjs → db-AVO6QJU6.mjs} +6 -6
- package/dist/cli/{db-5PEXOSN3.js → db-WKZ6EXNG.js} +27 -27
- package/dist/cli/{describe-TDJIUSD6.mjs → describe-2HQRT5MI.mjs} +18 -18
- package/dist/cli/describe-CCK77NER.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-KXCPU6YC.mjs → executions-DKHOR7HD.mjs} +6 -6
- package/dist/cli/{executions-36GV3A27.js → executions-MTAHNARA.js} +8 -8
- package/dist/cli/{feedback-GEUUT4S7.mjs → feedback-K6SJS4LG.mjs} +11 -7
- package/dist/cli/{feedback-SPQABV33.js → feedback-R2UABU3E.js} +15 -11
- package/dist/cli/{git-AE36X2R6.mjs → git-3EPA7433.mjs} +5 -5
- package/dist/cli/git-7L3PY2A4.js +25 -0
- package/dist/cli/index.js +177 -156
- package/dist/cli/index.mjs +80 -59
- package/dist/cli/{legacy-noops-TKPHN7WT.js → legacy-noops-3Q2D2F24.js} +9 -8
- package/dist/cli/{legacy-noops-LUEDAK7J.mjs → legacy-noops-66OPCJJD.mjs} +6 -5
- package/dist/cli/{monitors-JHJZ5XG7.mjs → monitors-2PYPRWT4.mjs} +7 -7
- package/dist/cli/{monitors-B2EAIGZI.js → monitors-KHH4MZDF.js} +100 -100
- package/dist/cli/{org-GUICCEBZ.mjs → org-WAW3OL7B.mjs} +6 -6
- package/dist/cli/{org-PYCPXEAU.js → org-X5G36B2Q.js} +72 -72
- package/dist/cli/{pages-Y2XI36HY.mjs → pages-KABWXDGW.mjs} +6 -6
- package/dist/cli/{pages-CV4TQNFY.js → pages-XDPHCHHU.js} +18 -18
- package/dist/cli/{play-VWCQNGZZ.mjs → play-654B2HQU.mjs} +18 -18
- package/dist/cli/{play-MTVK66JK.js → play-UE5FKQCO.js} +317 -317
- package/dist/cli/{providers-N72BUCXZ.js → providers-QT2BZMJ7.js} +9 -9
- package/dist/cli/{providers-ZOZTST3A.mjs → providers-SKNGX6IT.mjs} +6 -6
- package/dist/cli/{quickstart-DXIC3NHS.mjs → quickstart-BX7XMJIQ.mjs} +4 -4
- package/dist/cli/{quickstart-FK53VZB3.js → quickstart-XWDVAQTT.js} +6 -6
- package/dist/cli/{run-NNAYDCEN.js → run-C6YYD4AK.js} +41 -41
- package/dist/cli/{run-IL2KI33N.mjs → run-JTU4K4MY.mjs} +23 -23
- package/dist/cli/{search-7IPVMQCO.mjs → search-NHV4Y4SX.mjs} +8 -8
- package/dist/cli/search-RIFW5JCK.js +33 -0
- package/dist/cli/{search-output-ZY2GE35S.mjs → search-output-AAOMFK7K.mjs} +4 -4
- package/dist/cli/{search-output-YHTWLSDE.js → search-output-WLFFEGCY.js} +6 -6
- package/dist/cli/{secrets-ZML76SH2.js → secrets-H4WTLQJJ.js} +15 -15
- package/dist/cli/{secrets-BGUMHDZ7.mjs → secrets-S66PZSRO.mjs} +6 -6
- package/dist/cli/sessions-EFWO62XJ.js +18 -0
- package/dist/cli/{sessions-F5XO6HZJ.mjs → sessions-PY6FJX3O.mjs} +6 -5
- package/dist/cli/{settings-73SMIICV.mjs → settings-V7BM42KQ.mjs} +39 -12
- package/dist/cli/{settings-TOX2P5M5.js → settings-YO4FFPN6.js} +109 -82
- package/dist/cli/{setup-DNFHFQ7N.js → setup-IFZYYQ2W.js} +50 -50
- package/dist/cli/{setup-FDJZYBMS.mjs → setup-VUBM2HMH.mjs} +10 -10
- package/dist/cli/{skills-6HJ2IAY6.mjs → skills-EYWRSQQJ.mjs} +8 -8
- package/dist/cli/skills-LFP53SWQ.js +37 -0
- package/dist/cli/tools-SR2Q7KC5.js +57 -0
- package/dist/cli/{tools-4FJIIE4R.mjs → tools-VZOW4MUD.mjs} +17 -17
- package/dist/cli/update-ADZBZZZS.js +35 -0
- package/dist/cli/{update-UMRPPILV.mjs → update-CQDJJYU2.mjs} +10 -10
- package/dist/cli/{workflow-LSFOG5VU.mjs → workflow-2VRDIPF3.mjs} +7 -7
- package/dist/cli/{workflow-SK3BUHB4.js → workflow-XS3JEU6X.js} +17 -17
- package/dist/{client-DMpsMNH9.d.mts → client-By7bUS8h.d.mts} +1 -1
- package/dist/{client-BlwD-G4v.d.ts → client-CmlKSBXd.d.ts} +1 -1
- package/dist/{client-core-DwBLuEkm.d.ts → client-core-BM0mKhgp.d.ts} +93 -1
- package/dist/{client-core-CITtRTbB.d.mts → client-core-BZ3tpY_J.d.mts} +93 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +111 -106
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-SUTQ4SZQ.js +0 -43
- package/dist/cli/describe-ZB6G6DOV.js +0 -50
- package/dist/cli/git-UX7L6R32.js +0 -25
- package/dist/cli/search-OZHP5ZE2.js +0 -33
- package/dist/cli/sessions-WDINUUZ3.js +0 -17
- package/dist/cli/skills-NE7WN5PP.js +0 -37
- package/dist/cli/tools-ETX4MNNO.js +0 -57
- package/dist/cli/update-N2DMPSUH.js +0 -35
|
@@ -1,10 +1,10 @@
|
|
|
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 _chunkD5VWSR4Djs = require('./chunk-D5VWSR4D.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXGXXNT4Ojs = require('./chunk-XGXXNT4O.js');
|
|
8
8
|
require('./chunk-E4CABWXL.js');
|
|
9
9
|
require('./chunk-RNSHCJME.js');
|
|
10
10
|
require('./chunk-NMU3VR5U.js');
|
|
@@ -12,26 +12,30 @@ require('./chunk-WSGXBROE.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
var _chunkKUDNPJ43js = require('./chunk-KUDNPJ43.js');
|
|
15
16
|
|
|
16
|
-
var _chunkO527H5GYjs = require('./chunk-O527H5GY.js');
|
|
17
|
-
require('./chunk-Q7G6WORO.js');
|
|
18
|
-
require('./chunk-4DVANPBN.js');
|
|
19
17
|
|
|
20
18
|
|
|
21
19
|
|
|
22
|
-
var
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
20
|
+
var _chunkPUFEARWTjs = require('./chunk-PUFEARWT.js');
|
|
21
|
+
require('./chunk-KZBKQPSA.js');
|
|
22
|
+
require('./chunk-LDZYGM7W.js');
|
|
25
23
|
|
|
26
24
|
|
|
27
25
|
|
|
28
|
-
var
|
|
29
|
-
require('./chunk-
|
|
30
|
-
require('./chunk-
|
|
26
|
+
var _chunkVHFTN6VYjs = require('./chunk-VHFTN6VY.js');
|
|
27
|
+
require('./chunk-NVMNMKZW.js');
|
|
28
|
+
require('./chunk-GD3ES3JU.js');
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
|
|
33
|
+
require('./chunk-GGQHOLH6.js');
|
|
34
|
+
require('./chunk-JIY25SUX.js');
|
|
31
35
|
require('./chunk-ALJJRZNJ.js');
|
|
32
36
|
require('./chunk-XNYIZMNQ.js');
|
|
33
37
|
require('./chunk-DIAWYWT5.js');
|
|
34
|
-
require('./chunk-
|
|
38
|
+
require('./chunk-BHV7JKXQ.js');
|
|
35
39
|
require('./chunk-OG64RBAC.js');
|
|
36
40
|
require('./chunk-RLX5ZFNX.js');
|
|
37
41
|
require('./chunk-COGTRVWW.js');
|
|
@@ -39,7 +43,7 @@ require('./chunk-COGTRVWW.js');
|
|
|
39
43
|
// src/cli/commands/settings.ts
|
|
40
44
|
var _commander = require('commander');
|
|
41
45
|
var _fs = require('fs');
|
|
42
|
-
var eventHelp =
|
|
46
|
+
var eventHelp = _chunkXGXXNT4Ojs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
|
|
43
47
|
(event) => ` ${event.id.padEnd(28)} ${event.description}`
|
|
44
48
|
).join("\n");
|
|
45
49
|
function slackDestination(settings) {
|
|
@@ -51,7 +55,7 @@ function slackDestination(settings) {
|
|
|
51
55
|
archivedAt: typeof entry.archivedAt === "number" ? entry.archivedAt : void 0
|
|
52
56
|
})
|
|
53
57
|
);
|
|
54
|
-
return
|
|
58
|
+
return _chunkXGXXNT4Ojs.resolveLegacySlackNotification.call(void 0, destinations);
|
|
55
59
|
}
|
|
56
60
|
function eventLines(settings, destinationId) {
|
|
57
61
|
const enabled = new Map(
|
|
@@ -73,10 +77,10 @@ function requireCatalogEvent(settings, eventType) {
|
|
|
73
77
|
return event;
|
|
74
78
|
}
|
|
75
79
|
async function printSettings(options) {
|
|
76
|
-
const settings = await new (0,
|
|
80
|
+
const settings = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().getNotificationSettings();
|
|
77
81
|
const slack = slackDestination(settings);
|
|
78
82
|
const destinationId = typeof _optionalChain([slack, 'optionalAccess', _ => _._id]) === "string" ? slack._id : void 0;
|
|
79
|
-
|
|
83
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
80
84
|
{
|
|
81
85
|
settings,
|
|
82
86
|
render: {
|
|
@@ -118,6 +122,29 @@ async function printSettings(options) {
|
|
|
118
122
|
}
|
|
119
123
|
function registerSettingsCommands(program) {
|
|
120
124
|
const settings = program.command("settings").description("Manage Deepline settings.");
|
|
125
|
+
const feedbackDescriptions = {
|
|
126
|
+
ask: "Ask the user before sending feedback or uploading a session. If they agree, pass --requested.",
|
|
127
|
+
on: "Feedback reports and session uploads are allowed without --requested. Agents must get user approval before switching to this mode.",
|
|
128
|
+
off: "Do not ask the user to send feedback or upload a session. Use --requested only if they explicitly request it without being prompted."
|
|
129
|
+
};
|
|
130
|
+
const printFeedback = (options) => {
|
|
131
|
+
const setting = _chunkKUDNPJ43js.readFeedbackSetting.call(void 0, );
|
|
132
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
133
|
+
{ ok: true, setting, enabled: setting === "on" },
|
|
134
|
+
{
|
|
135
|
+
json: options.json,
|
|
136
|
+
text: `Feedback is in mode "${setting}". ${feedbackDescriptions[setting]}
|
|
137
|
+
`
|
|
138
|
+
}
|
|
139
|
+
);
|
|
140
|
+
};
|
|
141
|
+
const feedback = settings.command("feedback").description("Show or change the local feedback setting (ask by default).").option("--json", "Emit JSON output").action(printFeedback);
|
|
142
|
+
for (const setting of ["ask", "on", "off"]) {
|
|
143
|
+
feedback.command(setting).description(feedbackDescriptions[setting]).option("--json", "Emit JSON output").action((_options, command) => {
|
|
144
|
+
_chunkKUDNPJ43js.writeFeedbackSetting.call(void 0, setting);
|
|
145
|
+
printFeedback(command.optsWithGlobals());
|
|
146
|
+
});
|
|
147
|
+
}
|
|
121
148
|
const autoupdate = settings.command("autoupdate").description("Configure automatic CLI updates on this machine.").addHelpText(
|
|
122
149
|
"after",
|
|
123
150
|
`
|
|
@@ -131,8 +158,8 @@ Automatic updates are enabled by default. Turning them on clears an existing
|
|
|
131
158
|
version pin. Pinning installs and holds one exact pin-aware CLI version.
|
|
132
159
|
`
|
|
133
160
|
).option("--json", "Emit JSON output").action((options) => {
|
|
134
|
-
const preferences =
|
|
135
|
-
|
|
161
|
+
const preferences = _chunkPUFEARWTjs.readCliUpdatePreferences.call(void 0, );
|
|
162
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
136
163
|
{
|
|
137
164
|
autoUpdateEnabled: preferences.autoUpdateEnabled,
|
|
138
165
|
pinnedVersion: preferences.pinnedVersion,
|
|
@@ -155,8 +182,8 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
|
|
|
155
182
|
autoupdate.command(enabled ? "on" : "off").description(
|
|
156
183
|
enabled ? "Enable automatic CLI updates and clear any version pin." : "Disable automatic CLI updates."
|
|
157
184
|
).option("--json", "Emit JSON output").action((options) => {
|
|
158
|
-
const preferences =
|
|
159
|
-
|
|
185
|
+
const preferences = _chunkPUFEARWTjs.setCliAutoUpdateEnabled.call(void 0, enabled);
|
|
186
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
160
187
|
{
|
|
161
188
|
ok: true,
|
|
162
189
|
autoUpdateEnabled: preferences.autoUpdateEnabled,
|
|
@@ -177,18 +204,18 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
|
|
|
177
204
|
});
|
|
178
205
|
}
|
|
179
206
|
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) => {
|
|
180
|
-
process.exitCode = await
|
|
207
|
+
process.exitCode = await _chunkPUFEARWTjs.runUpdateCommand.call(void 0, {
|
|
181
208
|
pin: version,
|
|
182
209
|
json: options.json,
|
|
183
210
|
executeWithJson: true
|
|
184
211
|
});
|
|
185
212
|
});
|
|
186
213
|
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) => {
|
|
187
|
-
const autoSkillsSyncEnabled = mode === void 0 ?
|
|
214
|
+
const autoSkillsSyncEnabled = mode === void 0 ? _chunkVHFTN6VYjs.isCliSkillsSyncEnabled.call(void 0, ) : mode === "on";
|
|
188
215
|
if (mode !== void 0 && !options.dryRun) {
|
|
189
|
-
|
|
216
|
+
_chunkVHFTN6VYjs.setCliSkillsSyncEnabled.call(void 0, autoSkillsSyncEnabled);
|
|
190
217
|
}
|
|
191
|
-
|
|
218
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
192
219
|
{
|
|
193
220
|
autoSkillsSyncEnabled,
|
|
194
221
|
...options.dryRun ? { dryRun: true } : {},
|
|
@@ -228,15 +255,15 @@ notifications; there is no general integrations CLI.
|
|
|
228
255
|
if (destination !== "slack")
|
|
229
256
|
throw new Error("Only slack is supported.");
|
|
230
257
|
if (options.dryRun) {
|
|
231
|
-
|
|
258
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
232
259
|
{ dryRun: true, destination, action: "start_oauth" },
|
|
233
260
|
{ json: options.json }
|
|
234
261
|
);
|
|
235
262
|
return;
|
|
236
263
|
}
|
|
237
|
-
const result = await new (0,
|
|
238
|
-
const browser = options.open ?
|
|
239
|
-
|
|
264
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().connectNotificationSlack();
|
|
265
|
+
const browser = options.open ? _chunkJYFLIQPEjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
|
|
266
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
240
267
|
{
|
|
241
268
|
...result,
|
|
242
269
|
browser,
|
|
@@ -260,10 +287,10 @@ notifications; there is no general integrations CLI.
|
|
|
260
287
|
}
|
|
261
288
|
);
|
|
262
289
|
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) => {
|
|
263
|
-
const result = await new (0,
|
|
290
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().listNotificationSlackChannels(
|
|
264
291
|
options.query
|
|
265
292
|
);
|
|
266
|
-
|
|
293
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
267
294
|
{
|
|
268
295
|
...result,
|
|
269
296
|
render: {
|
|
@@ -289,14 +316,14 @@ notifications; there is no general integrations CLI.
|
|
|
289
316
|
}
|
|
290
317
|
const target = options.memberId ? { memberId: options.memberId } : options.channel;
|
|
291
318
|
if (options.dryRun) {
|
|
292
|
-
|
|
319
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
293
320
|
{ dryRun: true, destination, target },
|
|
294
321
|
{ json: options.json }
|
|
295
322
|
);
|
|
296
323
|
return;
|
|
297
324
|
}
|
|
298
|
-
const result = await new (0,
|
|
299
|
-
|
|
325
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().setNotificationSlack(target);
|
|
326
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
300
327
|
{
|
|
301
328
|
ok: true,
|
|
302
329
|
result,
|
|
@@ -322,14 +349,14 @@ notifications; there is no general integrations CLI.
|
|
|
322
349
|
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) => {
|
|
323
350
|
if (destination !== "slack") throw new Error("Only slack is supported.");
|
|
324
351
|
if (options.dryRun) {
|
|
325
|
-
|
|
352
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
326
353
|
{ dryRun: true, destination, action: "send_test_ping" },
|
|
327
354
|
{ json: options.json }
|
|
328
355
|
);
|
|
329
356
|
return;
|
|
330
357
|
}
|
|
331
|
-
const result = await new (0,
|
|
332
|
-
|
|
358
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().testNotificationSlack();
|
|
359
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
333
360
|
{
|
|
334
361
|
...result,
|
|
335
362
|
render: {
|
|
@@ -342,14 +369,14 @@ notifications; there is no general integrations CLI.
|
|
|
342
369
|
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) => {
|
|
343
370
|
if (destination !== "slack") throw new Error("Only slack is supported.");
|
|
344
371
|
if (options.dryRun) {
|
|
345
|
-
|
|
372
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
346
373
|
{ dryRun: true, destination, action: "disable" },
|
|
347
374
|
{ json: options.json }
|
|
348
375
|
);
|
|
349
376
|
return;
|
|
350
377
|
}
|
|
351
|
-
const result = await new (0,
|
|
352
|
-
|
|
378
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().disableNotificationSlack();
|
|
379
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
353
380
|
{
|
|
354
381
|
ok: true,
|
|
355
382
|
result,
|
|
@@ -368,10 +395,10 @@ ${eventHelp}
|
|
|
368
395
|
`
|
|
369
396
|
);
|
|
370
397
|
subscriptions.command("list").description("List every supported event and its current state.").option("--json", "Emit JSON output").action(async (options) => {
|
|
371
|
-
const current = await new (0,
|
|
398
|
+
const current = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().getNotificationSettings();
|
|
372
399
|
const destination = slackDestination(current);
|
|
373
400
|
const destinationId = typeof _optionalChain([destination, 'optionalAccess', _2 => _2._id]) === "string" ? destination._id : void 0;
|
|
374
|
-
|
|
401
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
375
402
|
{
|
|
376
403
|
catalog: current.catalog,
|
|
377
404
|
subscriptions: current.subscriptions,
|
|
@@ -388,14 +415,14 @@ ${eventHelp}
|
|
|
388
415
|
);
|
|
389
416
|
});
|
|
390
417
|
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) => {
|
|
391
|
-
const current = await new (0,
|
|
418
|
+
const current = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().getNotificationSettings();
|
|
392
419
|
const event = requireCatalogEvent(current, eventType);
|
|
393
420
|
const destination = slackDestination(current);
|
|
394
421
|
const destinationId = typeof _optionalChain([destination, 'optionalAccess', _3 => _3._id]) === "string" ? destination._id : void 0;
|
|
395
422
|
const subscription = current.subscriptions.find(
|
|
396
423
|
(entry) => entry.eventType === event.id && (!destinationId || entry.destinationId === destinationId)
|
|
397
424
|
);
|
|
398
|
-
|
|
425
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
399
426
|
{
|
|
400
427
|
event,
|
|
401
428
|
enabled: _optionalChain([subscription, 'optionalAccess', _4 => _4.enabled]) === true,
|
|
@@ -416,11 +443,11 @@ ${eventHelp}
|
|
|
416
443
|
});
|
|
417
444
|
for (const enabled of [true, false]) {
|
|
418
445
|
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) => {
|
|
419
|
-
const client = new (0,
|
|
446
|
+
const client = new (0, _chunkD5VWSR4Djs.DeeplineClient)();
|
|
420
447
|
const current = await client.getNotificationSettings();
|
|
421
448
|
const event = requireCatalogEvent(current, eventType);
|
|
422
449
|
if (options.dryRun) {
|
|
423
|
-
|
|
450
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
424
451
|
{ dryRun: true, event, enabled },
|
|
425
452
|
{ json: options.json }
|
|
426
453
|
);
|
|
@@ -430,7 +457,7 @@ ${eventHelp}
|
|
|
430
457
|
[event.id],
|
|
431
458
|
enabled
|
|
432
459
|
);
|
|
433
|
-
|
|
460
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
434
461
|
{
|
|
435
462
|
ok: true,
|
|
436
463
|
event: event.id,
|
|
@@ -451,11 +478,11 @@ ${eventHelp}
|
|
|
451
478
|
}
|
|
452
479
|
const dlq = notifications.command("dlq").description("Inspect and explicitly resolve inert failed deliveries.");
|
|
453
480
|
dlq.command("list").option("--limit <count>", "Maximum deliveries", "25").option("--json", "Emit JSON output").action(async (options) => {
|
|
454
|
-
const result = await new (0,
|
|
481
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().listNotificationDlq(
|
|
455
482
|
Number(options.limit)
|
|
456
483
|
);
|
|
457
484
|
const deliveries = _nullishCoalesce(result.deliveries, () => ( []));
|
|
458
|
-
|
|
485
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
459
486
|
{
|
|
460
487
|
...result,
|
|
461
488
|
render: {
|
|
@@ -473,10 +500,10 @@ ${eventHelp}
|
|
|
473
500
|
);
|
|
474
501
|
});
|
|
475
502
|
dlq.command("get").argument("<delivery-id>").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
|
|
476
|
-
const result = await new (0,
|
|
503
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().getNotificationDlqDelivery(
|
|
477
504
|
deliveryId
|
|
478
505
|
);
|
|
479
|
-
|
|
506
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, result, {
|
|
480
507
|
json: options.json
|
|
481
508
|
});
|
|
482
509
|
});
|
|
@@ -485,17 +512,17 @@ ${eventHelp}
|
|
|
485
512
|
`${action === "retry" ? "Replay once from attempt zero" : "Archive"} one delivery.`
|
|
486
513
|
).argument("<delivery-id>").option("--dry-run", "Describe the mutation without changing state").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
|
|
487
514
|
if (options.dryRun) {
|
|
488
|
-
|
|
515
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
489
516
|
{ dryRun: true, action, deliveryId },
|
|
490
517
|
{ json: options.json }
|
|
491
518
|
);
|
|
492
519
|
return;
|
|
493
520
|
}
|
|
494
|
-
const result = await new (0,
|
|
521
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().updateNotificationDlqDelivery(
|
|
495
522
|
deliveryId,
|
|
496
523
|
action
|
|
497
524
|
);
|
|
498
|
-
|
|
525
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
499
526
|
{ ok: true, action, deliveryId, result },
|
|
500
527
|
{ json: options.json }
|
|
501
528
|
);
|
|
@@ -596,8 +623,8 @@ Examples:
|
|
|
596
623
|
`
|
|
597
624
|
);
|
|
598
625
|
configuration.command("get").description("Show the effective group-based notification configuration.").option("--json", "Emit JSON output").action(async (options) => {
|
|
599
|
-
const result = await new (0,
|
|
600
|
-
|
|
626
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().getNotificationConfiguration();
|
|
627
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
601
628
|
{
|
|
602
629
|
...result,
|
|
603
630
|
render: {
|
|
@@ -622,21 +649,21 @@ Examples:
|
|
|
622
649
|
).option("--dry-run", "Validate and display the file without saving it").option("--json", "Emit JSON output").action(async (file, options) => {
|
|
623
650
|
const input = await readNotificationConfigurationChange(file);
|
|
624
651
|
if (options.dryRun) {
|
|
625
|
-
|
|
652
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
626
653
|
{ dryRun: true, ...input },
|
|
627
654
|
{ json: options.json }
|
|
628
655
|
);
|
|
629
656
|
return;
|
|
630
657
|
}
|
|
631
|
-
const result = await new (0,
|
|
658
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().changeNotificationConfiguration(
|
|
632
659
|
input.expectedWorkspaceVersion,
|
|
633
660
|
input.change
|
|
634
661
|
);
|
|
635
|
-
|
|
662
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, result, { json: options.json });
|
|
636
663
|
});
|
|
637
664
|
notifications.command("events").description("List the Play events available to a notification.").option("--json", "Emit JSON output").action(async (options) => {
|
|
638
|
-
const settings = await new (0,
|
|
639
|
-
|
|
665
|
+
const settings = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().getNotifications();
|
|
666
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
640
667
|
{
|
|
641
668
|
events: settings.catalog,
|
|
642
669
|
render: {
|
|
@@ -654,9 +681,9 @@ Examples:
|
|
|
654
681
|
);
|
|
655
682
|
});
|
|
656
683
|
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) => {
|
|
657
|
-
const settings = await new (0,
|
|
684
|
+
const settings = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().getNotifications();
|
|
658
685
|
const rules = _nullishCoalesce(settings.notifications, () => ( []));
|
|
659
|
-
|
|
686
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
660
687
|
{
|
|
661
688
|
notifications: options.compact ? rules.map((rule) => ({
|
|
662
689
|
id: rule.id,
|
|
@@ -684,10 +711,10 @@ Examples:
|
|
|
684
711
|
});
|
|
685
712
|
notifications.command("get").argument("<name>", "Notification name or ID").description("Show one named notification.").option("--json", "Emit JSON output").action(async (name, options) => {
|
|
686
713
|
const rule = notificationByName(
|
|
687
|
-
await new (0,
|
|
714
|
+
await new (0, _chunkD5VWSR4Djs.DeeplineClient)().getNotifications(),
|
|
688
715
|
name
|
|
689
716
|
);
|
|
690
|
-
|
|
717
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
|
|
691
718
|
});
|
|
692
719
|
notifications.command("add").argument("<name>", "Group name, for example oncall").requiredOption(
|
|
693
720
|
"--to <target>",
|
|
@@ -701,14 +728,14 @@ Examples:
|
|
|
701
728
|
[]
|
|
702
729
|
).option("--dry-run", "Describe the notification without saving it").option("--json", "Emit JSON output").action(
|
|
703
730
|
async (name, options) => {
|
|
704
|
-
const result = await new (0,
|
|
731
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().createNotificationGroup({
|
|
705
732
|
name,
|
|
706
733
|
targets: options.to,
|
|
707
734
|
legacyEvents: options.for,
|
|
708
735
|
dryRun: options.dryRun
|
|
709
736
|
});
|
|
710
737
|
if (result.mode === "dry_run") {
|
|
711
|
-
|
|
738
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
712
739
|
result.compatibilityMode ? {
|
|
713
740
|
dryRun: true,
|
|
714
741
|
name: result.name,
|
|
@@ -725,7 +752,7 @@ Examples:
|
|
|
725
752
|
return;
|
|
726
753
|
}
|
|
727
754
|
if (result.mode === "legacy") {
|
|
728
|
-
|
|
755
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
729
756
|
{
|
|
730
757
|
notification: result.notification,
|
|
731
758
|
render: {
|
|
@@ -747,7 +774,7 @@ Examples:
|
|
|
747
774
|
);
|
|
748
775
|
return;
|
|
749
776
|
}
|
|
750
|
-
|
|
777
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
751
778
|
{
|
|
752
779
|
...result,
|
|
753
780
|
render: {
|
|
@@ -783,12 +810,12 @@ Examples:
|
|
|
783
810
|
[]
|
|
784
811
|
).option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(
|
|
785
812
|
async (name, options) => {
|
|
786
|
-
const client = new (0,
|
|
813
|
+
const client = new (0, _chunkD5VWSR4Djs.DeeplineClient)();
|
|
787
814
|
const rule = notificationByName(await client.getNotifications(), name);
|
|
788
815
|
const target = options.to ? parseSlackTarget(options.to) : rule.target.kind === "member" ? { memberId: rule.target.id } : { channel: rule.target.name };
|
|
789
816
|
const eventTypes = options.for.length ? options.for : rule.eventTypes;
|
|
790
817
|
if (options.dryRun) {
|
|
791
|
-
|
|
818
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
792
819
|
{ dryRun: true, notification: rule.id, target, eventTypes },
|
|
793
820
|
{ json: options.json }
|
|
794
821
|
);
|
|
@@ -799,15 +826,15 @@ Examples:
|
|
|
799
826
|
...target,
|
|
800
827
|
eventTypes
|
|
801
828
|
});
|
|
802
|
-
|
|
829
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
|
|
803
830
|
}
|
|
804
831
|
);
|
|
805
832
|
const slack = notifications.command("slack").description("Select a channel from the connected Slack integration.");
|
|
806
833
|
slack.command("channels").option("--search <text>", "Filter channel names").option("--json", "Emit JSON output").action(async (options) => {
|
|
807
|
-
const result = await new (0,
|
|
834
|
+
const result = await new (0, _chunkD5VWSR4Djs.DeeplineClient)().listNotificationChannels(
|
|
808
835
|
options.search
|
|
809
836
|
);
|
|
810
|
-
|
|
837
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
811
838
|
{
|
|
812
839
|
...result,
|
|
813
840
|
render: {
|
|
@@ -827,31 +854,31 @@ Examples:
|
|
|
827
854
|
["resume", true]
|
|
828
855
|
]) {
|
|
829
856
|
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) => {
|
|
830
|
-
const client = new (0,
|
|
857
|
+
const client = new (0, _chunkD5VWSR4Djs.DeeplineClient)();
|
|
831
858
|
const rule = notificationByName(await client.getNotifications(), name);
|
|
832
859
|
if (options.dryRun) {
|
|
833
|
-
|
|
860
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
834
861
|
{ dryRun: true, notification: rule.id, enabled },
|
|
835
862
|
{ json: options.json }
|
|
836
863
|
);
|
|
837
864
|
return;
|
|
838
865
|
}
|
|
839
866
|
const result = await client.updateNotification(rule.id, { enabled });
|
|
840
|
-
|
|
867
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
|
|
841
868
|
});
|
|
842
869
|
}
|
|
843
870
|
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) => {
|
|
844
|
-
const client = new (0,
|
|
871
|
+
const client = new (0, _chunkD5VWSR4Djs.DeeplineClient)();
|
|
845
872
|
const rule = notificationByName(await client.getNotifications(), name);
|
|
846
873
|
if (options.dryRun) {
|
|
847
|
-
|
|
874
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
848
875
|
{ dryRun: true, notification: rule.id, action: "send_test" },
|
|
849
876
|
{ json: options.json }
|
|
850
877
|
);
|
|
851
878
|
return;
|
|
852
879
|
}
|
|
853
880
|
const result = await client.testNotification(rule.id);
|
|
854
|
-
|
|
881
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
855
882
|
{ ...result, notification: rule.name },
|
|
856
883
|
{ json: options.json }
|
|
857
884
|
);
|
|
@@ -859,17 +886,17 @@ Examples:
|
|
|
859
886
|
notifications.command("delete").argument("<name>", "Notification name or ID").description(
|
|
860
887
|
"Archive one notification without touching its provider integration."
|
|
861
888
|
).option("--dry-run", "Describe the deletion without changing state").option("--json", "Emit JSON output").action(async (name, options) => {
|
|
862
|
-
const client = new (0,
|
|
889
|
+
const client = new (0, _chunkD5VWSR4Djs.DeeplineClient)();
|
|
863
890
|
const rule = notificationByName(await client.getNotifications(), name);
|
|
864
891
|
if (options.dryRun) {
|
|
865
|
-
|
|
892
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
866
893
|
{ dryRun: true, notification: rule.id, action: "archive" },
|
|
867
894
|
{ json: options.json }
|
|
868
895
|
);
|
|
869
896
|
return;
|
|
870
897
|
}
|
|
871
898
|
const result = await client.deleteNotification(rule.id);
|
|
872
|
-
|
|
899
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
873
900
|
{ ...result, notification: rule.name },
|
|
874
901
|
{ json: options.json }
|
|
875
902
|
);
|