deepline 0.3.397 → 0.3.399

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.
Files changed (88) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +6 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +50 -26
  4. package/dist/cli/{auth-AZJFXGKP.mjs → auth-QHVIMKL3.mjs} +4 -4
  5. package/dist/cli/auth-YYB4S5HO.js +40 -0
  6. package/dist/cli/{billing-MZAAUHGH.mjs → billing-3V4GX5FX.mjs} +4 -4
  7. package/dist/cli/{billing-MQV5AGDJ.js → billing-O2HRFIPG.js} +73 -73
  8. package/dist/cli/{chunk-J7ABTQQ7.mjs → chunk-2S44J5UG.mjs} +1 -1
  9. package/dist/cli/{chunk-RYW4HPSM.js → chunk-A3T7YPEP.js} +4 -4
  10. package/dist/cli/{chunk-F3BUFYKE.mjs → chunk-AVTJXBXL.mjs} +5 -5
  11. package/dist/cli/{chunk-PSGEDGLT.js → chunk-BX7ZF5Z7.js} +8 -8
  12. package/dist/cli/{chunk-UVXBVUZQ.js → chunk-BZZX56J2.js} +6 -6
  13. package/dist/cli/{chunk-RNSWDKBM.mjs → chunk-CCH3ZVR5.mjs} +1 -1
  14. package/dist/cli/{chunk-VTF4RRWJ.js → chunk-CI4Q6UP4.js} +50 -50
  15. package/dist/cli/{chunk-DQ65ZVHN.js → chunk-CVTH2VUI.js} +6 -6
  16. package/dist/cli/{chunk-MV7QRALK.mjs → chunk-DHLYCZWS.mjs} +3 -3
  17. package/dist/cli/{chunk-SO7RUVTY.js → chunk-EFEMS43P.js} +26 -26
  18. package/dist/cli/{chunk-YSVORIEW.js → chunk-EMNKA5WK.js} +2 -2
  19. package/dist/cli/{chunk-IZ74ABSX.js → chunk-GT4NODCJ.js} +1 -1
  20. package/dist/cli/{chunk-YLRME7MK.js → chunk-HNHFC3PM.js} +15 -15
  21. package/dist/cli/{chunk-K33MXVXQ.js → chunk-IB6R2SZJ.js} +44 -44
  22. package/dist/cli/{chunk-WM2QEHZL.mjs → chunk-PQB2PTMA.mjs} +2 -2
  23. package/dist/cli/{chunk-MYPH2LUU.mjs → chunk-T523SXCK.mjs} +2 -2
  24. package/dist/cli/{chunk-W3HMGKMI.mjs → chunk-VV6EPCDS.mjs} +2 -2
  25. package/dist/cli/{chunk-MRXMMERY.mjs → chunk-XES27RSC.mjs} +1 -1
  26. package/dist/cli/{chunk-2LDADJNO.mjs → chunk-XUHQWWJW.mjs} +1 -1
  27. package/dist/cli/{chunk-NOX2TCBP.mjs → chunk-Y3MRTY2F.mjs} +1 -1
  28. package/dist/cli/{chunk-ZHUMDMOS.js → chunk-YADFPKH2.js} +65 -65
  29. package/dist/cli/{chunk-3VP34TAU.js → chunk-ZKKXQQWL.js} +8 -8
  30. package/dist/cli/{chunk-4D745XZO.mjs → chunk-ZNWNAC7E.mjs} +3 -3
  31. package/dist/cli/{chunk-YUDKBQUD.mjs → chunk-ZPDNT7LJ.mjs} +4 -4
  32. package/dist/cli/{csv-AQBQ5O3I.js → csv-IDABZWW3.js} +12 -12
  33. package/dist/cli/{csv-MB7PJMYQ.mjs → csv-Z5TYV7XE.mjs} +3 -3
  34. package/dist/cli/{db-L5IEI2AU.mjs → db-23MIKNVU.mjs} +4 -4
  35. package/dist/cli/{db-JPUYC5RB.js → db-4KKNX3Y2.js} +25 -25
  36. package/dist/cli/{describe-6WT74AOR.js → describe-RKZKZ7UR.js} +10 -10
  37. package/dist/cli/{describe-S6BFANVI.mjs → describe-XNGCKRPN.mjs} +6 -6
  38. package/dist/cli/{executions-6TMQTFP4.js → executions-NTXHTAM6.js} +6 -6
  39. package/dist/cli/{executions-L7I2ZW4Z.mjs → executions-XUKNAELQ.mjs} +4 -4
  40. package/dist/cli/{feedback-XF7CQGMD.js → feedback-6INY66DC.js} +7 -7
  41. package/dist/cli/{feedback-DSJ63HK6.mjs → feedback-LWJSTHZ2.mjs} +3 -3
  42. package/dist/cli/git-2TH3NROT.js +24 -0
  43. package/dist/cli/{git-C3ENM67D.mjs → git-CRKOKS7B.mjs} +4 -4
  44. package/dist/cli/index.js +89 -89
  45. package/dist/cli/index.mjs +32 -32
  46. package/dist/cli/{legacy-noops-B2NHWIVD.js → legacy-noops-LPTMKYC7.js} +7 -7
  47. package/dist/cli/{legacy-noops-VFG2K6HK.mjs → legacy-noops-VVQQ7VUO.mjs} +4 -4
  48. package/dist/cli/{monitors-TCEDBDGY.mjs → monitors-GI2GTZSG.mjs} +4 -4
  49. package/dist/cli/{monitors-ORFWOVZB.js → monitors-HG6KO4XZ.js} +84 -84
  50. package/dist/cli/{org-T74CJESN.js → org-L3KNS3OS.js} +64 -64
  51. package/dist/cli/{org-45KREIKZ.mjs → org-ZYKZP6CE.mjs} +4 -4
  52. package/dist/cli/{play-XHK2LPON.js → play-537TGXWP.js} +231 -231
  53. package/dist/cli/{play-MU7MYBIM.mjs → play-64VPT37H.mjs} +7 -7
  54. package/dist/cli/{providers-4MGQKYFD.js → providers-6DBPDSLU.js} +7 -7
  55. package/dist/cli/{providers-VYCXIJT5.mjs → providers-ISRDMPLU.mjs} +4 -4
  56. package/dist/cli/{quickstart-47G3VEOT.js → quickstart-53Z7F4YI.js} +5 -5
  57. package/dist/cli/{quickstart-H724EFM2.mjs → quickstart-CACETI7N.mjs} +3 -3
  58. package/dist/cli/search-GAF5BS6N.js +30 -0
  59. package/dist/cli/{search-VQHXEFQ4.mjs → search-ZUOMRAIV.mjs} +5 -5
  60. package/dist/cli/{secrets-CPBNGA44.mjs → secrets-7TPCHJM5.mjs} +4 -4
  61. package/dist/cli/{secrets-ALLKCU35.js → secrets-TOUFAI3P.js} +13 -13
  62. package/dist/cli/{sessions-FKGAY7WQ.js → sessions-7JX2XZSO.js} +5 -5
  63. package/dist/cli/{sessions-7RSQB7IX.mjs → sessions-D3HZ2E3P.mjs} +4 -4
  64. package/dist/cli/{settings-Y5BI42P7.js → settings-IZ7FINUA.js} +74 -74
  65. package/dist/cli/{settings-UYSGV4IC.mjs → settings-LSFSVH3T.mjs} +7 -7
  66. package/dist/cli/{setup-VXQPEU3E.js → setup-FXSH7FIX.js} +41 -41
  67. package/dist/cli/{setup-L3ZBBTS4.mjs → setup-ZF2VX7J5.mjs} +6 -6
  68. package/dist/cli/{skills-QHVDLSFE.mjs → skills-I3ILXJPH.mjs} +4 -4
  69. package/dist/cli/skills-JT6CP6MI.js +29 -0
  70. package/dist/cli/{tools-YWU5QOQ5.js → tools-GZHXAZBL.js} +7 -7
  71. package/dist/cli/{tools-LSCEK4K2.mjs → tools-LW7Z2BLN.mjs} +6 -6
  72. package/dist/cli/update-5TD6XRQK.js +29 -0
  73. package/dist/cli/{update-CU22OTBM.mjs → update-BOK3AWHY.mjs} +6 -6
  74. package/dist/cli/{workflow-ERFLTRNX.js → workflow-5ZBCCWKH.js} +15 -15
  75. package/dist/cli/{workflow-KQARK5BZ.mjs → workflow-ZS3FBDO6.mjs} +5 -5
  76. package/dist/index.js +6 -6
  77. package/dist/index.mjs +3 -3
  78. package/dist/install-integrity.json +70 -70
  79. package/dist/release.d.mts +1 -1
  80. package/dist/release.d.ts +1 -1
  81. package/dist/release.js +2 -2
  82. package/dist/release.mjs +1 -1
  83. package/package.json +1 -1
  84. package/dist/cli/auth-CZJQU7B5.js +0 -40
  85. package/dist/cli/git-HYDZK2QR.js +0 -24
  86. package/dist/cli/search-3356ENLD.js +0 -30
  87. package/dist/cli/skills-DUZQTDTE.js +0 -29
  88. package/dist/cli/update-5LYQAI55.js +0 -29
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUVXBVUZQjs = require('./chunk-UVXBVUZQ.js');
5
+ var _chunkBZZX56J2js = require('./chunk-BZZX56J2.js');
6
6
  require('./chunk-S6R3OX7B.js');
7
7
  require('./chunk-UHNDVD3P.js');
8
8
  require('./chunk-KXMNM4AQ.js');
@@ -11,25 +11,25 @@ require('./chunk-XDVT3GOM.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkYLRME7MKjs = require('./chunk-YLRME7MK.js');
15
- require('./chunk-YSVORIEW.js');
16
- require('./chunk-ZHUMDMOS.js');
14
+ var _chunkHNHFC3PMjs = require('./chunk-HNHFC3PM.js');
15
+ require('./chunk-EMNKA5WK.js');
16
+ require('./chunk-YADFPKH2.js');
17
17
  require('./chunk-WJYPBHTE.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkDQ65ZVHNjs = require('./chunk-DQ65ZVHN.js');
22
- require('./chunk-RYW4HPSM.js');
21
+ var _chunkCVTH2VUIjs = require('./chunk-CVTH2VUI.js');
22
+ require('./chunk-A3T7YPEP.js');
23
23
  require('./chunk-Q2E4E4FJ.js');
24
24
  require('./chunk-XNYIZMNQ.js');
25
25
  require('./chunk-7P5AA3SN.js');
26
- require('./chunk-IZ74ABSX.js');
26
+ require('./chunk-GT4NODCJ.js');
27
27
  require('./chunk-OG64RBAC.js');
28
28
  require('./chunk-COGTRVWW.js');
29
29
 
30
30
  // src/cli/commands/settings.ts
31
31
  var _fs = require('fs');
32
- var eventHelp = _chunkUVXBVUZQjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
32
+ var eventHelp = _chunkBZZX56J2js.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
33
33
  (event) => ` ${event.id.padEnd(28)} ${event.description}`
34
34
  ).join("\n");
35
35
  function slackDestination(settings) {
@@ -41,7 +41,7 @@ function slackDestination(settings) {
41
41
  archivedAt: typeof entry.archivedAt === "number" ? entry.archivedAt : void 0
42
42
  })
43
43
  );
44
- return _chunkUVXBVUZQjs.resolveLegacySlackNotification.call(void 0, destinations);
44
+ return _chunkBZZX56J2js.resolveLegacySlackNotification.call(void 0, destinations);
45
45
  }
46
46
  function eventLines(settings, destinationId) {
47
47
  const enabled = new Map(
@@ -63,10 +63,10 @@ function requireCatalogEvent(settings, eventType) {
63
63
  return event;
64
64
  }
65
65
  async function printSettings(options) {
66
- const settings = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getNotificationSettings();
66
+ const settings = await new (0, _chunkBZZX56J2js.DeeplineClient)().getNotificationSettings();
67
67
  const slack = slackDestination(settings);
68
68
  const destinationId = typeof _optionalChain([slack, 'optionalAccess', _ => _._id]) === "string" ? slack._id : void 0;
69
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
69
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
70
70
  {
71
71
  settings,
72
72
  render: {
@@ -121,8 +121,8 @@ Automatic updates are enabled by default. Turning them on clears an existing
121
121
  version pin. Pinning installs and holds one exact pin-aware CLI version.
122
122
  `
123
123
  ).option("--json", "Emit JSON output").action((options) => {
124
- const preferences = _chunkYLRME7MKjs.readCliUpdatePreferences.call(void 0, );
125
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
124
+ const preferences = _chunkHNHFC3PMjs.readCliUpdatePreferences.call(void 0, );
125
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
126
126
  {
127
127
  autoUpdateEnabled: preferences.autoUpdateEnabled,
128
128
  pinnedVersion: preferences.pinnedVersion,
@@ -145,8 +145,8 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
145
145
  autoupdate.command(enabled ? "on" : "off").description(
146
146
  enabled ? "Enable automatic CLI updates and clear any version pin." : "Disable automatic CLI updates."
147
147
  ).option("--json", "Emit JSON output").action((options) => {
148
- const preferences = _chunkYLRME7MKjs.setCliAutoUpdateEnabled.call(void 0, enabled);
149
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
148
+ const preferences = _chunkHNHFC3PMjs.setCliAutoUpdateEnabled.call(void 0, enabled);
149
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
150
150
  {
151
151
  ok: true,
152
152
  autoUpdateEnabled: preferences.autoUpdateEnabled,
@@ -167,7 +167,7 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
167
167
  });
168
168
  }
169
169
  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) => {
170
- process.exitCode = await _chunkYLRME7MKjs.runUpdateCommand.call(void 0, {
170
+ process.exitCode = await _chunkHNHFC3PMjs.runUpdateCommand.call(void 0, {
171
171
  pin: version,
172
172
  json: options.json,
173
173
  executeWithJson: true
@@ -195,15 +195,15 @@ notifications; there is no general integrations CLI.
195
195
  if (destination !== "slack")
196
196
  throw new Error("Only slack is supported.");
197
197
  if (options.dryRun) {
198
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
198
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
199
199
  { dryRun: true, destination, action: "start_oauth" },
200
200
  { json: options.json }
201
201
  );
202
202
  return;
203
203
  }
204
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().connectNotificationSlack();
205
- const browser = options.open ? _chunkDQ65ZVHNjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
206
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
204
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().connectNotificationSlack();
205
+ const browser = options.open ? _chunkCVTH2VUIjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
206
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
207
207
  {
208
208
  ...result,
209
209
  browser,
@@ -227,10 +227,10 @@ notifications; there is no general integrations CLI.
227
227
  }
228
228
  );
229
229
  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) => {
230
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().listNotificationSlackChannels(
230
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().listNotificationSlackChannels(
231
231
  options.query
232
232
  );
233
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
233
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
234
234
  {
235
235
  ...result,
236
236
  render: {
@@ -256,14 +256,14 @@ notifications; there is no general integrations CLI.
256
256
  }
257
257
  const target = options.memberId ? { memberId: options.memberId } : options.channel;
258
258
  if (options.dryRun) {
259
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
259
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
260
260
  { dryRun: true, destination, target },
261
261
  { json: options.json }
262
262
  );
263
263
  return;
264
264
  }
265
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().setNotificationSlack(target);
266
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
265
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().setNotificationSlack(target);
266
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
267
267
  {
268
268
  ok: true,
269
269
  result,
@@ -289,14 +289,14 @@ notifications; there is no general integrations CLI.
289
289
  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) => {
290
290
  if (destination !== "slack") throw new Error("Only slack is supported.");
291
291
  if (options.dryRun) {
292
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
292
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
293
293
  { dryRun: true, destination, action: "send_test_ping" },
294
294
  { json: options.json }
295
295
  );
296
296
  return;
297
297
  }
298
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().testNotificationSlack();
299
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
298
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().testNotificationSlack();
299
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
300
300
  {
301
301
  ...result,
302
302
  render: {
@@ -309,14 +309,14 @@ notifications; there is no general integrations CLI.
309
309
  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) => {
310
310
  if (destination !== "slack") throw new Error("Only slack is supported.");
311
311
  if (options.dryRun) {
312
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
312
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
313
313
  { dryRun: true, destination, action: "disable" },
314
314
  { json: options.json }
315
315
  );
316
316
  return;
317
317
  }
318
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().disableNotificationSlack();
319
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
318
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().disableNotificationSlack();
319
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
320
320
  {
321
321
  ok: true,
322
322
  result,
@@ -335,10 +335,10 @@ ${eventHelp}
335
335
  `
336
336
  );
337
337
  subscriptions.command("list").description("List every supported event and its current state.").option("--json", "Emit JSON output").action(async (options) => {
338
- const current = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getNotificationSettings();
338
+ const current = await new (0, _chunkBZZX56J2js.DeeplineClient)().getNotificationSettings();
339
339
  const destination = slackDestination(current);
340
340
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _2 => _2._id]) === "string" ? destination._id : void 0;
341
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
341
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
342
342
  {
343
343
  catalog: current.catalog,
344
344
  subscriptions: current.subscriptions,
@@ -355,14 +355,14 @@ ${eventHelp}
355
355
  );
356
356
  });
357
357
  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) => {
358
- const current = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getNotificationSettings();
358
+ const current = await new (0, _chunkBZZX56J2js.DeeplineClient)().getNotificationSettings();
359
359
  const event = requireCatalogEvent(current, eventType);
360
360
  const destination = slackDestination(current);
361
361
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _3 => _3._id]) === "string" ? destination._id : void 0;
362
362
  const subscription = current.subscriptions.find(
363
363
  (entry) => entry.eventType === event.id && (!destinationId || entry.destinationId === destinationId)
364
364
  );
365
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
365
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
366
366
  {
367
367
  event,
368
368
  enabled: _optionalChain([subscription, 'optionalAccess', _4 => _4.enabled]) === true,
@@ -383,11 +383,11 @@ ${eventHelp}
383
383
  });
384
384
  for (const enabled of [true, false]) {
385
385
  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) => {
386
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
386
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
387
387
  const current = await client.getNotificationSettings();
388
388
  const event = requireCatalogEvent(current, eventType);
389
389
  if (options.dryRun) {
390
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
390
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
391
391
  { dryRun: true, event, enabled },
392
392
  { json: options.json }
393
393
  );
@@ -397,7 +397,7 @@ ${eventHelp}
397
397
  [event.id],
398
398
  enabled
399
399
  );
400
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
400
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
401
401
  {
402
402
  ok: true,
403
403
  event: event.id,
@@ -418,11 +418,11 @@ ${eventHelp}
418
418
  }
419
419
  const dlq = notifications.command("dlq").description("Inspect and explicitly resolve inert failed deliveries.");
420
420
  dlq.command("list").option("--limit <count>", "Maximum deliveries", "25").option("--json", "Emit JSON output").action(async (options) => {
421
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().listNotificationDlq(
421
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().listNotificationDlq(
422
422
  Number(options.limit)
423
423
  );
424
424
  const deliveries = _nullishCoalesce(result.deliveries, () => ( []));
425
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
425
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
426
426
  {
427
427
  ...result,
428
428
  render: {
@@ -440,10 +440,10 @@ ${eventHelp}
440
440
  );
441
441
  });
442
442
  dlq.command("get").argument("<delivery-id>").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
443
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getNotificationDlqDelivery(
443
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().getNotificationDlqDelivery(
444
444
  deliveryId
445
445
  );
446
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, result, {
446
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, result, {
447
447
  json: options.json
448
448
  });
449
449
  });
@@ -452,17 +452,17 @@ ${eventHelp}
452
452
  `${action === "retry" ? "Replay once from attempt zero" : "Archive"} one delivery.`
453
453
  ).argument("<delivery-id>").option("--dry-run", "Describe the mutation without changing state").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
454
454
  if (options.dryRun) {
455
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
455
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
456
456
  { dryRun: true, action, deliveryId },
457
457
  { json: options.json }
458
458
  );
459
459
  return;
460
460
  }
461
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().updateNotificationDlqDelivery(
461
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().updateNotificationDlqDelivery(
462
462
  deliveryId,
463
463
  action
464
464
  );
465
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
465
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
466
466
  { ok: true, action, deliveryId, result },
467
467
  { json: options.json }
468
468
  );
@@ -563,8 +563,8 @@ Examples:
563
563
  `
564
564
  );
565
565
  configuration.command("get").description("Show the effective group-based notification configuration.").option("--json", "Emit JSON output").action(async (options) => {
566
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getNotificationConfiguration();
567
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
566
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().getNotificationConfiguration();
567
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
568
568
  {
569
569
  ...result,
570
570
  render: {
@@ -589,21 +589,21 @@ Examples:
589
589
  ).option("--dry-run", "Validate and display the file without saving it").option("--json", "Emit JSON output").action(async (file, options) => {
590
590
  const input = await readNotificationConfigurationChange(file);
591
591
  if (options.dryRun) {
592
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
592
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
593
593
  { dryRun: true, ...input },
594
594
  { json: options.json }
595
595
  );
596
596
  return;
597
597
  }
598
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().changeNotificationConfiguration(
598
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().changeNotificationConfiguration(
599
599
  input.expectedWorkspaceVersion,
600
600
  input.change
601
601
  );
602
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, result, { json: options.json });
602
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, result, { json: options.json });
603
603
  });
604
604
  notifications.command("events").description("List the Play events available to a notification.").option("--json", "Emit JSON output").action(async (options) => {
605
- const settings = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getNotifications();
606
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
605
+ const settings = await new (0, _chunkBZZX56J2js.DeeplineClient)().getNotifications();
606
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
607
607
  {
608
608
  events: settings.catalog,
609
609
  render: {
@@ -621,9 +621,9 @@ Examples:
621
621
  );
622
622
  });
623
623
  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) => {
624
- const settings = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getNotifications();
624
+ const settings = await new (0, _chunkBZZX56J2js.DeeplineClient)().getNotifications();
625
625
  const rules = _nullishCoalesce(settings.notifications, () => ( []));
626
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
626
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
627
627
  {
628
628
  notifications: options.compact ? rules.map((rule) => ({
629
629
  id: rule.id,
@@ -651,10 +651,10 @@ Examples:
651
651
  });
652
652
  notifications.command("get").argument("<name>", "Notification name or ID").description("Show one named notification.").option("--json", "Emit JSON output").action(async (name, options) => {
653
653
  const rule = notificationByName(
654
- await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getNotifications(),
654
+ await new (0, _chunkBZZX56J2js.DeeplineClient)().getNotifications(),
655
655
  name
656
656
  );
657
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
657
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
658
658
  });
659
659
  notifications.command("add").argument("<name>", "Group name, for example oncall").requiredOption(
660
660
  "--to <target>",
@@ -668,14 +668,14 @@ Examples:
668
668
  []
669
669
  ).option("--dry-run", "Describe the notification without saving it").option("--json", "Emit JSON output").action(
670
670
  async (name, options) => {
671
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().createNotificationGroup({
671
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().createNotificationGroup({
672
672
  name,
673
673
  targets: options.to,
674
674
  legacyEvents: options.for,
675
675
  dryRun: options.dryRun
676
676
  });
677
677
  if (result.mode === "dry_run") {
678
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
678
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
679
679
  result.compatibilityMode ? {
680
680
  dryRun: true,
681
681
  name: result.name,
@@ -692,7 +692,7 @@ Examples:
692
692
  return;
693
693
  }
694
694
  if (result.mode === "legacy") {
695
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
695
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
696
696
  {
697
697
  notification: result.notification,
698
698
  render: {
@@ -714,7 +714,7 @@ Examples:
714
714
  );
715
715
  return;
716
716
  }
717
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
717
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
718
718
  {
719
719
  ...result,
720
720
  render: {
@@ -750,12 +750,12 @@ Examples:
750
750
  []
751
751
  ).option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(
752
752
  async (name, options) => {
753
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
753
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
754
754
  const rule = notificationByName(await client.getNotifications(), name);
755
755
  const target = options.to ? parseSlackTarget(options.to) : rule.target.kind === "member" ? { memberId: rule.target.id } : { channel: rule.target.name };
756
756
  const eventTypes = options.for.length ? options.for : rule.eventTypes;
757
757
  if (options.dryRun) {
758
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
758
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
759
759
  { dryRun: true, notification: rule.id, target, eventTypes },
760
760
  { json: options.json }
761
761
  );
@@ -766,15 +766,15 @@ Examples:
766
766
  ...target,
767
767
  eventTypes
768
768
  });
769
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
769
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
770
770
  }
771
771
  );
772
772
  const slack = notifications.command("slack").description("Select a channel from the connected Slack integration.");
773
773
  slack.command("channels").option("--search <text>", "Filter channel names").option("--json", "Emit JSON output").action(async (options) => {
774
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().listNotificationChannels(
774
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().listNotificationChannels(
775
775
  options.search
776
776
  );
777
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
777
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
778
778
  {
779
779
  ...result,
780
780
  render: {
@@ -794,31 +794,31 @@ Examples:
794
794
  ["resume", true]
795
795
  ]) {
796
796
  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) => {
797
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
797
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
798
798
  const rule = notificationByName(await client.getNotifications(), name);
799
799
  if (options.dryRun) {
800
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
800
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
801
801
  { dryRun: true, notification: rule.id, enabled },
802
802
  { json: options.json }
803
803
  );
804
804
  return;
805
805
  }
806
806
  const result = await client.updateNotification(rule.id, { enabled });
807
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
807
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
808
808
  });
809
809
  }
810
810
  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) => {
811
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
811
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
812
812
  const rule = notificationByName(await client.getNotifications(), name);
813
813
  if (options.dryRun) {
814
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
814
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
815
815
  { dryRun: true, notification: rule.id, action: "send_test" },
816
816
  { json: options.json }
817
817
  );
818
818
  return;
819
819
  }
820
820
  const result = await client.testNotification(rule.id);
821
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
821
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
822
822
  { ...result, notification: rule.name },
823
823
  { json: options.json }
824
824
  );
@@ -826,17 +826,17 @@ Examples:
826
826
  notifications.command("delete").argument("<name>", "Notification name or ID").description(
827
827
  "Archive one notification without touching its provider integration."
828
828
  ).option("--dry-run", "Describe the deletion without changing state").option("--json", "Emit JSON output").action(async (name, options) => {
829
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
829
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
830
830
  const rule = notificationByName(await client.getNotifications(), name);
831
831
  if (options.dryRun) {
832
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
832
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
833
833
  { dryRun: true, notification: rule.id, action: "archive" },
834
834
  { json: options.json }
835
835
  );
836
836
  return;
837
837
  }
838
838
  const result = await client.deleteNotification(rule.id);
839
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
839
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
840
840
  { ...result, notification: rule.name },
841
841
  { json: options.json }
842
842
  );
@@ -2,7 +2,7 @@ import {
2
2
  DeeplineClient,
3
3
  PRODUCT_NOTIFICATION_EVENT_CATALOG,
4
4
  resolveLegacySlackNotification
5
- } from "./chunk-J7ABTQQ7.mjs";
5
+ } from "./chunk-2S44J5UG.mjs";
6
6
  import "./chunk-6IKARAYD.mjs";
7
7
  import "./chunk-JI2B4RZP.mjs";
8
8
  import "./chunk-EIMG75BT.mjs";
@@ -11,19 +11,19 @@ import {
11
11
  readCliUpdatePreferences,
12
12
  runUpdateCommand,
13
13
  setCliAutoUpdateEnabled
14
- } from "./chunk-YUDKBQUD.mjs";
15
- import "./chunk-NOX2TCBP.mjs";
16
- import "./chunk-MV7QRALK.mjs";
14
+ } from "./chunk-ZPDNT7LJ.mjs";
15
+ import "./chunk-Y3MRTY2F.mjs";
16
+ import "./chunk-DHLYCZWS.mjs";
17
17
  import "./chunk-GAMFK2ZP.mjs";
18
18
  import {
19
19
  openInBrowser,
20
20
  printCommandEnvelope
21
- } from "./chunk-RNSWDKBM.mjs";
22
- import "./chunk-2LDADJNO.mjs";
21
+ } from "./chunk-CCH3ZVR5.mjs";
22
+ import "./chunk-XUHQWWJW.mjs";
23
23
  import "./chunk-YHPYUZZX.mjs";
24
24
  import "./chunk-DLIRSHV6.mjs";
25
25
  import "./chunk-NXGCO4JB.mjs";
26
- import "./chunk-MRXMMERY.mjs";
26
+ import "./chunk-XES27RSC.mjs";
27
27
  import "./chunk-WZYKRD7T.mjs";
28
28
  import "./chunk-KRD6H754.mjs";
29
29