deepline 0.3.394 → 0.3.396

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 (110) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +30 -162
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/plays/play-description.ts +167 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  7. package/dist/cli/{auth-OSXDAVCF.mjs → auth-3LTD62VL.mjs} +4 -4
  8. package/dist/cli/auth-562JPKOM.js +39 -0
  9. package/dist/cli/{billing-ZNNKX3UR.mjs → billing-DP7ZAJBO.mjs} +5 -4
  10. package/dist/cli/{billing-EKLYOXUY.js → billing-PA5OXEM5.js} +76 -75
  11. package/dist/cli/{chunk-BP33SIZF.mjs → chunk-23GAA3YO.mjs} +1 -1
  12. package/dist/cli/{chunk-KI635JN4.js → chunk-2VOLOWYZ.js} +1087 -1056
  13. package/dist/cli/{chunk-XXUDVEXK.mjs → chunk-3T4MCB5R.mjs} +1026 -995
  14. package/dist/cli/{chunk-VB6KECLU.mjs → chunk-5WNJF2T3.mjs} +102 -36
  15. package/dist/cli/{chunk-KIUMEOM5.js → chunk-772W2SAU.js} +8 -8
  16. package/dist/cli/{chunk-2MDDA7A4.js → chunk-7Z66NHUC.js} +26 -26
  17. package/dist/cli/{chunk-M57J2SK4.mjs → chunk-AUYXWELC.mjs} +2 -2
  18. package/dist/cli/{chunk-354JCXA2.js → chunk-AVHLATII.js} +50 -50
  19. package/dist/cli/{chunk-MLPU5SMZ.js → chunk-DC6LTULT.js} +2 -2
  20. package/dist/cli/chunk-EIMG75BT.mjs +130 -0
  21. package/dist/cli/{chunk-6YAUMG27.js → chunk-GNN4MY5X.js} +1 -1
  22. package/dist/cli/{chunk-UXFSWG3Q.mjs → chunk-I4T4XAA2.mjs} +4 -4
  23. package/dist/cli/{chunk-MFB2VKBO.mjs → chunk-JCN4DHF7.mjs} +2 -2
  24. package/dist/cli/{chunk-VK6FYZLP.js → chunk-KAEZNPUM.js} +23 -8
  25. package/dist/cli/chunk-KXMNM4AQ.js +130 -0
  26. package/dist/cli/{chunk-XRQ2AQL7.mjs → chunk-LOGGNW4H.mjs} +2 -2
  27. package/dist/cli/{chunk-RDXFGPJU.js → chunk-LWERJUKN.js} +218 -218
  28. package/dist/cli/{chunk-QIQBYKLB.js → chunk-ME6XRFLY.js} +15 -15
  29. package/dist/cli/{chunk-JHIJIHFB.mjs → chunk-MR6XCBQJ.mjs} +23 -131
  30. package/dist/cli/{chunk-TJI2EN6K.mjs → chunk-NHB5YUCS.mjs} +1 -1
  31. package/dist/cli/{chunk-ZMVJSS6N.js → chunk-NSOTASOP.js} +101 -35
  32. package/dist/cli/{chunk-ZYBGA4AR.mjs → chunk-QHGPA362.mjs} +18 -3
  33. package/dist/cli/{chunk-4P27AXEA.js → chunk-RMTASUAK.js} +65 -65
  34. package/dist/cli/{chunk-KGNTKMRG.js → chunk-RTO5QZWT.js} +6 -6
  35. package/dist/cli/{chunk-X63FDZJZ.mjs → chunk-TLQ3FZOC.mjs} +3 -3
  36. package/dist/cli/{chunk-CS6RAIVY.js → chunk-V7UP2F4U.js} +4 -4
  37. package/dist/cli/{chunk-FJGW5GXU.mjs → chunk-VE3U3SQC.mjs} +1 -1
  38. package/dist/cli/{chunk-E23BQ5SC.js → chunk-WQJJNIMQ.js} +241 -349
  39. package/dist/cli/{chunk-NR3DFKNF.mjs → chunk-XKZXO7D3.mjs} +1 -1
  40. package/dist/cli/{csv-5AXRB35H.mjs → csv-RLRR74RQ.mjs} +3 -3
  41. package/dist/cli/{csv-LU7O75WE.js → csv-TF576S77.js} +12 -12
  42. package/dist/cli/{db-F7YTFKVM.js → db-FDBJUTFO.js} +30 -29
  43. package/dist/cli/{db-7XP5UWEW.mjs → db-XORGNBIC.mjs} +5 -4
  44. package/dist/cli/{describe-K4ES5LIL.mjs → describe-6O2ENKTP.mjs} +86 -67
  45. package/dist/cli/{describe-FRH32RDV.js → describe-EFWNECHI.js} +100 -81
  46. package/dist/cli/{executions-RZV5XPT2.js → executions-SFYAXPF4.js} +7 -6
  47. package/dist/cli/{executions-IEHEHJUO.mjs → executions-YPP7WR77.mjs} +5 -4
  48. package/dist/cli/{feedback-3P65QTX3.js → feedback-5UZFYMGB.js} +7 -7
  49. package/dist/cli/{feedback-FPUVZBAN.mjs → feedback-RBGA5ARU.mjs} +3 -3
  50. package/dist/cli/git-5LDY5ZID.js +23 -0
  51. package/dist/cli/{git-GLVVP7TY.mjs → git-IRSAJEK2.mjs} +4 -4
  52. package/dist/cli/index.js +93 -93
  53. package/dist/cli/index.mjs +42 -42
  54. package/dist/cli/{legacy-noops-XKSGZR7Q.js → legacy-noops-CVAOQY2F.js} +7 -7
  55. package/dist/cli/{legacy-noops-3MOI6NBM.mjs → legacy-noops-NA7N6ZOU.mjs} +4 -4
  56. package/dist/cli/{monitors-NZ2DYNST.js → monitors-4OMRXCXP.js} +86 -85
  57. package/dist/cli/{monitors-FTBGNEFG.mjs → monitors-ILZ2XHYG.mjs} +5 -4
  58. package/dist/cli/{org-V2J5RBCN.mjs → org-QDDXAE3J.mjs} +5 -4
  59. package/dist/cli/{org-MCKDQXIV.js → org-YGNJDD2X.js} +65 -64
  60. package/dist/cli/{chunk-RBJYWRCF.js → play-L535H26U.js} +270 -325
  61. package/dist/cli/{chunk-5BB2RGAX.mjs → play-VT6OHB2D.mjs} +77 -132
  62. package/dist/cli/{providers-2JEZ2264.js → providers-GPZ6PQAL.js} +8 -7
  63. package/dist/cli/{providers-I6RQJZFZ.mjs → providers-KG4W5MPK.mjs} +5 -4
  64. package/dist/cli/{quickstart-BIDQDMO4.mjs → quickstart-2JDGTXIG.mjs} +3 -3
  65. package/dist/cli/{quickstart-GJ2RPDU3.js → quickstart-UI27S5LO.js} +5 -5
  66. package/dist/cli/search-MGWROZ33.js +28 -0
  67. package/dist/cli/{search-ELRXFWG5.mjs → search-PW3RAUX7.mjs} +6 -5
  68. package/dist/cli/{secrets-SQXGZXIC.mjs → secrets-HNOMK5A2.mjs} +5 -4
  69. package/dist/cli/{secrets-53IT6VXD.js → secrets-WFAXOUZE.js} +14 -13
  70. package/dist/cli/{sessions-CAV5M77Y.js → sessions-366KROUA.js} +5 -5
  71. package/dist/cli/{sessions-2X5QF7SL.mjs → sessions-XLX3E5UO.mjs} +4 -4
  72. package/dist/cli/{settings-532WNAZO.js → settings-GADAG2UK.js} +75 -74
  73. package/dist/cli/{settings-7P67VGCJ.mjs → settings-YNZ4YKCH.mjs} +8 -7
  74. package/dist/cli/{setup-QGGBV2LE.mjs → setup-PSEHIUXO.mjs} +6 -6
  75. package/dist/cli/{setup-6L2VSUWJ.js → setup-R5YO7GT6.js} +41 -41
  76. package/dist/cli/skills-JF2LPEGM.js +28 -0
  77. package/dist/cli/{skills-3FE62WBG.mjs → skills-LTQBP6CZ.mjs} +4 -4
  78. package/dist/cli/tools-CP2PEFRN.js +34 -0
  79. package/dist/cli/{tools-DMR25DEF.mjs → tools-UAXDWU63.mjs} +11 -18
  80. package/dist/cli/update-HZHZOU6C.js +28 -0
  81. package/dist/cli/{update-6RZMHJZP.mjs → update-SMNIBIMS.mjs} +6 -6
  82. package/dist/cli/{workflow-TX4F2PIX.js → workflow-AOQVZHMD.js} +16 -15
  83. package/dist/cli/{workflow-L2DQRE6R.mjs → workflow-IKGMBGF6.mjs} +6 -5
  84. package/dist/{client-C3O1Ipf3.d.ts → client-Bgis7F6-.d.ts} +22 -12
  85. package/dist/{client-BktIPdIj.d.mts → client-DiGl8ska.d.mts} +22 -12
  86. package/dist/index.d.mts +2 -2
  87. package/dist/index.d.ts +2 -2
  88. package/dist/index.js +11 -10
  89. package/dist/index.mjs +9 -8
  90. package/dist/install-integrity.json +83 -78
  91. package/dist/plays/play-description.d.mts +6 -0
  92. package/dist/plays/play-description.d.ts +6 -0
  93. package/dist/plays/play-description.js +11 -0
  94. package/dist/plays/play-description.mjs +11 -0
  95. package/dist/plays/run-request.d.mts +1 -1
  96. package/dist/plays/run-request.d.ts +1 -1
  97. package/dist/release.d.mts +1 -1
  98. package/dist/release.d.ts +1 -1
  99. package/dist/release.js +2 -2
  100. package/dist/release.mjs +1 -1
  101. package/package.json +6 -1
  102. package/dist/cli/auth-IHKISLJQ.js +0 -39
  103. package/dist/cli/git-MFFAWVVX.js +0 -23
  104. package/dist/cli/play-AJFGME3B.mjs +0 -158
  105. package/dist/cli/play-WLSN2EO2.js +0 -158
  106. package/dist/cli/search-5VN4YD4I.js +0 -27
  107. package/dist/cli/skills-S6NPZAN7.js +0 -28
  108. package/dist/cli/tools-647RLXQS.js +0 -41
  109. package/dist/cli/update-WVTSC3EM.js +0 -28
  110. package/dist/cli/{chunk-KZZC33PY.mjs → chunk-H5KLUGY7.mjs} +214 -214
@@ -2,32 +2,33 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkE23BQ5SCjs = require('./chunk-E23BQ5SC.js');
5
+ var _chunkWQJJNIMQjs = require('./chunk-WQJJNIMQ.js');
6
6
  require('./chunk-S6R3OX7B.js');
7
7
  require('./chunk-UHNDVD3P.js');
8
+ require('./chunk-KXMNM4AQ.js');
8
9
  require('./chunk-XDVT3GOM.js');
9
10
 
10
11
 
11
12
 
12
13
 
13
- var _chunkQIQBYKLBjs = require('./chunk-QIQBYKLB.js');
14
- require('./chunk-MLPU5SMZ.js');
15
- require('./chunk-4P27AXEA.js');
14
+ var _chunkME6XRFLYjs = require('./chunk-ME6XRFLY.js');
15
+ require('./chunk-DC6LTULT.js');
16
+ require('./chunk-RMTASUAK.js');
16
17
  require('./chunk-WJYPBHTE.js');
17
18
 
18
19
 
19
20
 
20
- var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
21
- require('./chunk-CS6RAIVY.js');
21
+ var _chunkRTO5QZWTjs = require('./chunk-RTO5QZWT.js');
22
+ require('./chunk-V7UP2F4U.js');
22
23
  require('./chunk-XNYIZMNQ.js');
23
24
  require('./chunk-7P5AA3SN.js');
24
- require('./chunk-6YAUMG27.js');
25
+ require('./chunk-GNN4MY5X.js');
25
26
  require('./chunk-OG64RBAC.js');
26
27
  require('./chunk-COGTRVWW.js');
27
28
 
28
29
  // src/cli/commands/settings.ts
29
30
  var _fs = require('fs');
30
- var eventHelp = _chunkE23BQ5SCjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
31
+ var eventHelp = _chunkWQJJNIMQjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
31
32
  (event) => ` ${event.id.padEnd(28)} ${event.description}`
32
33
  ).join("\n");
33
34
  function slackDestination(settings) {
@@ -39,7 +40,7 @@ function slackDestination(settings) {
39
40
  archivedAt: typeof entry.archivedAt === "number" ? entry.archivedAt : void 0
40
41
  })
41
42
  );
42
- return _chunkE23BQ5SCjs.resolveLegacySlackNotification.call(void 0, destinations);
43
+ return _chunkWQJJNIMQjs.resolveLegacySlackNotification.call(void 0, destinations);
43
44
  }
44
45
  function eventLines(settings, destinationId) {
45
46
  const enabled = new Map(
@@ -61,10 +62,10 @@ function requireCatalogEvent(settings, eventType) {
61
62
  return event;
62
63
  }
63
64
  async function printSettings(options) {
64
- const settings = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().getNotificationSettings();
65
+ const settings = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().getNotificationSettings();
65
66
  const slack = slackDestination(settings);
66
67
  const destinationId = typeof _optionalChain([slack, 'optionalAccess', _ => _._id]) === "string" ? slack._id : void 0;
67
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
68
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
68
69
  {
69
70
  settings,
70
71
  render: {
@@ -119,8 +120,8 @@ Automatic updates are enabled by default. Turning them on clears an existing
119
120
  version pin. Pinning installs and holds one exact pin-aware CLI version.
120
121
  `
121
122
  ).option("--json", "Emit JSON output").action((options) => {
122
- const preferences = _chunkQIQBYKLBjs.readCliUpdatePreferences.call(void 0, );
123
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
123
+ const preferences = _chunkME6XRFLYjs.readCliUpdatePreferences.call(void 0, );
124
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
124
125
  {
125
126
  autoUpdateEnabled: preferences.autoUpdateEnabled,
126
127
  pinnedVersion: preferences.pinnedVersion,
@@ -143,8 +144,8 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
143
144
  autoupdate.command(enabled ? "on" : "off").description(
144
145
  enabled ? "Enable automatic CLI updates and clear any version pin." : "Disable automatic CLI updates."
145
146
  ).option("--json", "Emit JSON output").action((options) => {
146
- const preferences = _chunkQIQBYKLBjs.setCliAutoUpdateEnabled.call(void 0, enabled);
147
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
147
+ const preferences = _chunkME6XRFLYjs.setCliAutoUpdateEnabled.call(void 0, enabled);
148
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
148
149
  {
149
150
  ok: true,
150
151
  autoUpdateEnabled: preferences.autoUpdateEnabled,
@@ -165,7 +166,7 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
165
166
  });
166
167
  }
167
168
  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) => {
168
- process.exitCode = await _chunkQIQBYKLBjs.runUpdateCommand.call(void 0, {
169
+ process.exitCode = await _chunkME6XRFLYjs.runUpdateCommand.call(void 0, {
169
170
  pin: version,
170
171
  json: options.json,
171
172
  executeWithJson: true
@@ -193,15 +194,15 @@ notifications; there is no general integrations CLI.
193
194
  if (destination !== "slack")
194
195
  throw new Error("Only slack is supported.");
195
196
  if (options.dryRun) {
196
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
197
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
197
198
  { dryRun: true, destination, action: "start_oauth" },
198
199
  { json: options.json }
199
200
  );
200
201
  return;
201
202
  }
202
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().connectNotificationSlack();
203
- const browser = options.open ? _chunkKGNTKMRGjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
204
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
203
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().connectNotificationSlack();
204
+ const browser = options.open ? _chunkRTO5QZWTjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
205
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
205
206
  {
206
207
  ...result,
207
208
  browser,
@@ -225,10 +226,10 @@ notifications; there is no general integrations CLI.
225
226
  }
226
227
  );
227
228
  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) => {
228
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().listNotificationSlackChannels(
229
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().listNotificationSlackChannels(
229
230
  options.query
230
231
  );
231
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
232
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
232
233
  {
233
234
  ...result,
234
235
  render: {
@@ -254,14 +255,14 @@ notifications; there is no general integrations CLI.
254
255
  }
255
256
  const target = options.memberId ? { memberId: options.memberId } : options.channel;
256
257
  if (options.dryRun) {
257
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
258
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
258
259
  { dryRun: true, destination, target },
259
260
  { json: options.json }
260
261
  );
261
262
  return;
262
263
  }
263
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().setNotificationSlack(target);
264
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
264
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().setNotificationSlack(target);
265
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
265
266
  {
266
267
  ok: true,
267
268
  result,
@@ -287,14 +288,14 @@ notifications; there is no general integrations CLI.
287
288
  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) => {
288
289
  if (destination !== "slack") throw new Error("Only slack is supported.");
289
290
  if (options.dryRun) {
290
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
291
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
291
292
  { dryRun: true, destination, action: "send_test_ping" },
292
293
  { json: options.json }
293
294
  );
294
295
  return;
295
296
  }
296
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().testNotificationSlack();
297
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
297
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().testNotificationSlack();
298
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
298
299
  {
299
300
  ...result,
300
301
  render: {
@@ -307,14 +308,14 @@ notifications; there is no general integrations CLI.
307
308
  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) => {
308
309
  if (destination !== "slack") throw new Error("Only slack is supported.");
309
310
  if (options.dryRun) {
310
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
311
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
311
312
  { dryRun: true, destination, action: "disable" },
312
313
  { json: options.json }
313
314
  );
314
315
  return;
315
316
  }
316
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().disableNotificationSlack();
317
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
317
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().disableNotificationSlack();
318
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
318
319
  {
319
320
  ok: true,
320
321
  result,
@@ -333,10 +334,10 @@ ${eventHelp}
333
334
  `
334
335
  );
335
336
  subscriptions.command("list").description("List every supported event and its current state.").option("--json", "Emit JSON output").action(async (options) => {
336
- const current = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().getNotificationSettings();
337
+ const current = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().getNotificationSettings();
337
338
  const destination = slackDestination(current);
338
339
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _2 => _2._id]) === "string" ? destination._id : void 0;
339
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
340
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
340
341
  {
341
342
  catalog: current.catalog,
342
343
  subscriptions: current.subscriptions,
@@ -353,14 +354,14 @@ ${eventHelp}
353
354
  );
354
355
  });
355
356
  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) => {
356
- const current = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().getNotificationSettings();
357
+ const current = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().getNotificationSettings();
357
358
  const event = requireCatalogEvent(current, eventType);
358
359
  const destination = slackDestination(current);
359
360
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _3 => _3._id]) === "string" ? destination._id : void 0;
360
361
  const subscription = current.subscriptions.find(
361
362
  (entry) => entry.eventType === event.id && (!destinationId || entry.destinationId === destinationId)
362
363
  );
363
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
364
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
364
365
  {
365
366
  event,
366
367
  enabled: _optionalChain([subscription, 'optionalAccess', _4 => _4.enabled]) === true,
@@ -381,11 +382,11 @@ ${eventHelp}
381
382
  });
382
383
  for (const enabled of [true, false]) {
383
384
  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) => {
384
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
385
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
385
386
  const current = await client.getNotificationSettings();
386
387
  const event = requireCatalogEvent(current, eventType);
387
388
  if (options.dryRun) {
388
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
389
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
389
390
  { dryRun: true, event, enabled },
390
391
  { json: options.json }
391
392
  );
@@ -395,7 +396,7 @@ ${eventHelp}
395
396
  [event.id],
396
397
  enabled
397
398
  );
398
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
399
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
399
400
  {
400
401
  ok: true,
401
402
  event: event.id,
@@ -416,11 +417,11 @@ ${eventHelp}
416
417
  }
417
418
  const dlq = notifications.command("dlq").description("Inspect and explicitly resolve inert failed deliveries.");
418
419
  dlq.command("list").option("--limit <count>", "Maximum deliveries", "25").option("--json", "Emit JSON output").action(async (options) => {
419
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().listNotificationDlq(
420
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().listNotificationDlq(
420
421
  Number(options.limit)
421
422
  );
422
423
  const deliveries = _nullishCoalesce(result.deliveries, () => ( []));
423
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
424
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
424
425
  {
425
426
  ...result,
426
427
  render: {
@@ -438,10 +439,10 @@ ${eventHelp}
438
439
  );
439
440
  });
440
441
  dlq.command("get").argument("<delivery-id>").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
441
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().getNotificationDlqDelivery(
442
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().getNotificationDlqDelivery(
442
443
  deliveryId
443
444
  );
444
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, result, {
445
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, result, {
445
446
  json: options.json
446
447
  });
447
448
  });
@@ -450,17 +451,17 @@ ${eventHelp}
450
451
  `${action === "retry" ? "Replay once from attempt zero" : "Archive"} one delivery.`
451
452
  ).argument("<delivery-id>").option("--dry-run", "Describe the mutation without changing state").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
452
453
  if (options.dryRun) {
453
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
454
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
454
455
  { dryRun: true, action, deliveryId },
455
456
  { json: options.json }
456
457
  );
457
458
  return;
458
459
  }
459
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().updateNotificationDlqDelivery(
460
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().updateNotificationDlqDelivery(
460
461
  deliveryId,
461
462
  action
462
463
  );
463
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
464
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
464
465
  { ok: true, action, deliveryId, result },
465
466
  { json: options.json }
466
467
  );
@@ -561,8 +562,8 @@ Examples:
561
562
  `
562
563
  );
563
564
  configuration.command("get").description("Show the effective group-based notification configuration.").option("--json", "Emit JSON output").action(async (options) => {
564
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().getNotificationConfiguration();
565
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
565
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().getNotificationConfiguration();
566
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
566
567
  {
567
568
  ...result,
568
569
  render: {
@@ -587,21 +588,21 @@ Examples:
587
588
  ).option("--dry-run", "Validate and display the file without saving it").option("--json", "Emit JSON output").action(async (file, options) => {
588
589
  const input = await readNotificationConfigurationChange(file);
589
590
  if (options.dryRun) {
590
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
591
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
591
592
  { dryRun: true, ...input },
592
593
  { json: options.json }
593
594
  );
594
595
  return;
595
596
  }
596
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().changeNotificationConfiguration(
597
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().changeNotificationConfiguration(
597
598
  input.expectedWorkspaceVersion,
598
599
  input.change
599
600
  );
600
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, result, { json: options.json });
601
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, result, { json: options.json });
601
602
  });
602
603
  notifications.command("events").description("List the Play events available to a notification.").option("--json", "Emit JSON output").action(async (options) => {
603
- const settings = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().getNotifications();
604
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
604
+ const settings = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().getNotifications();
605
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
605
606
  {
606
607
  events: settings.catalog,
607
608
  render: {
@@ -619,9 +620,9 @@ Examples:
619
620
  );
620
621
  });
621
622
  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) => {
622
- const settings = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().getNotifications();
623
+ const settings = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().getNotifications();
623
624
  const rules = _nullishCoalesce(settings.notifications, () => ( []));
624
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
625
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
625
626
  {
626
627
  notifications: options.compact ? rules.map((rule) => ({
627
628
  id: rule.id,
@@ -649,10 +650,10 @@ Examples:
649
650
  });
650
651
  notifications.command("get").argument("<name>", "Notification name or ID").description("Show one named notification.").option("--json", "Emit JSON output").action(async (name, options) => {
651
652
  const rule = notificationByName(
652
- await new (0, _chunkE23BQ5SCjs.DeeplineClient)().getNotifications(),
653
+ await new (0, _chunkWQJJNIMQjs.DeeplineClient)().getNotifications(),
653
654
  name
654
655
  );
655
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
656
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
656
657
  });
657
658
  notifications.command("add").argument("<name>", "Group name, for example oncall").requiredOption(
658
659
  "--to <target>",
@@ -666,14 +667,14 @@ Examples:
666
667
  []
667
668
  ).option("--dry-run", "Describe the notification without saving it").option("--json", "Emit JSON output").action(
668
669
  async (name, options) => {
669
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().createNotificationGroup({
670
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().createNotificationGroup({
670
671
  name,
671
672
  targets: options.to,
672
673
  legacyEvents: options.for,
673
674
  dryRun: options.dryRun
674
675
  });
675
676
  if (result.mode === "dry_run") {
676
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
677
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
677
678
  result.compatibilityMode ? {
678
679
  dryRun: true,
679
680
  name: result.name,
@@ -690,7 +691,7 @@ Examples:
690
691
  return;
691
692
  }
692
693
  if (result.mode === "legacy") {
693
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
694
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
694
695
  {
695
696
  notification: result.notification,
696
697
  render: {
@@ -712,7 +713,7 @@ Examples:
712
713
  );
713
714
  return;
714
715
  }
715
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
716
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
716
717
  {
717
718
  ...result,
718
719
  render: {
@@ -748,12 +749,12 @@ Examples:
748
749
  []
749
750
  ).option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(
750
751
  async (name, options) => {
751
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
752
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
752
753
  const rule = notificationByName(await client.getNotifications(), name);
753
754
  const target = options.to ? parseSlackTarget(options.to) : rule.target.kind === "member" ? { memberId: rule.target.id } : { channel: rule.target.name };
754
755
  const eventTypes = options.for.length ? options.for : rule.eventTypes;
755
756
  if (options.dryRun) {
756
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
757
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
757
758
  { dryRun: true, notification: rule.id, target, eventTypes },
758
759
  { json: options.json }
759
760
  );
@@ -764,15 +765,15 @@ Examples:
764
765
  ...target,
765
766
  eventTypes
766
767
  });
767
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
768
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
768
769
  }
769
770
  );
770
771
  const slack = notifications.command("slack").description("Select a channel from the connected Slack integration.");
771
772
  slack.command("channels").option("--search <text>", "Filter channel names").option("--json", "Emit JSON output").action(async (options) => {
772
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().listNotificationChannels(
773
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().listNotificationChannels(
773
774
  options.search
774
775
  );
775
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
776
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
776
777
  {
777
778
  ...result,
778
779
  render: {
@@ -792,31 +793,31 @@ Examples:
792
793
  ["resume", true]
793
794
  ]) {
794
795
  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) => {
795
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
796
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
796
797
  const rule = notificationByName(await client.getNotifications(), name);
797
798
  if (options.dryRun) {
798
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
799
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
799
800
  { dryRun: true, notification: rule.id, enabled },
800
801
  { json: options.json }
801
802
  );
802
803
  return;
803
804
  }
804
805
  const result = await client.updateNotification(rule.id, { enabled });
805
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
806
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
806
807
  });
807
808
  }
808
809
  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) => {
809
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
810
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
810
811
  const rule = notificationByName(await client.getNotifications(), name);
811
812
  if (options.dryRun) {
812
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
813
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
813
814
  { dryRun: true, notification: rule.id, action: "send_test" },
814
815
  { json: options.json }
815
816
  );
816
817
  return;
817
818
  }
818
819
  const result = await client.testNotification(rule.id);
819
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
820
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
820
821
  { ...result, notification: rule.name },
821
822
  { json: options.json }
822
823
  );
@@ -824,17 +825,17 @@ Examples:
824
825
  notifications.command("delete").argument("<name>", "Notification name or ID").description(
825
826
  "Archive one notification without touching its provider integration."
826
827
  ).option("--dry-run", "Describe the deletion without changing state").option("--json", "Emit JSON output").action(async (name, options) => {
827
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
828
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
828
829
  const rule = notificationByName(await client.getNotifications(), name);
829
830
  if (options.dryRun) {
830
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
831
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
831
832
  { dryRun: true, notification: rule.id, action: "archive" },
832
833
  { json: options.json }
833
834
  );
834
835
  return;
835
836
  }
836
837
  const result = await client.deleteNotification(rule.id);
837
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
838
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
838
839
  { ...result, notification: rule.name },
839
840
  { json: options.json }
840
841
  );
@@ -2,26 +2,27 @@ import {
2
2
  DeeplineClient,
3
3
  PRODUCT_NOTIFICATION_EVENT_CATALOG,
4
4
  resolveLegacySlackNotification
5
- } from "./chunk-JHIJIHFB.mjs";
5
+ } from "./chunk-MR6XCBQJ.mjs";
6
6
  import "./chunk-6IKARAYD.mjs";
7
7
  import "./chunk-JI2B4RZP.mjs";
8
+ import "./chunk-EIMG75BT.mjs";
8
9
  import "./chunk-UBKA33KY.mjs";
9
10
  import {
10
11
  readCliUpdatePreferences,
11
12
  runUpdateCommand,
12
13
  setCliAutoUpdateEnabled
13
- } from "./chunk-UXFSWG3Q.mjs";
14
- import "./chunk-BP33SIZF.mjs";
15
- import "./chunk-X63FDZJZ.mjs";
14
+ } from "./chunk-I4T4XAA2.mjs";
15
+ import "./chunk-23GAA3YO.mjs";
16
+ import "./chunk-TLQ3FZOC.mjs";
16
17
  import "./chunk-GAMFK2ZP.mjs";
17
18
  import {
18
19
  openInBrowser,
19
20
  printCommandEnvelope
20
- } from "./chunk-NR3DFKNF.mjs";
21
- import "./chunk-FJGW5GXU.mjs";
21
+ } from "./chunk-XKZXO7D3.mjs";
22
+ import "./chunk-VE3U3SQC.mjs";
22
23
  import "./chunk-DLIRSHV6.mjs";
23
24
  import "./chunk-NXGCO4JB.mjs";
24
- import "./chunk-TJI2EN6K.mjs";
25
+ import "./chunk-NHB5YUCS.mjs";
25
26
  import "./chunk-WZYKRD7T.mjs";
26
27
  import "./chunk-KRD6H754.mjs";
27
28
 
@@ -6,21 +6,21 @@ import {
6
6
  handleWait,
7
7
  readPendingAuthClaim,
8
8
  reportSetupCompleted
9
- } from "./chunk-MFB2VKBO.mjs";
9
+ } from "./chunk-JCN4DHF7.mjs";
10
10
  import {
11
11
  npmSupportsAllowScripts,
12
12
  readNpmVersion
13
- } from "./chunk-BP33SIZF.mjs";
13
+ } from "./chunk-23GAA3YO.mjs";
14
14
  import {
15
15
  resolveShellSpawn,
16
16
  runSkillsCommand,
17
17
  skillsStatePathForScope
18
- } from "./chunk-X63FDZJZ.mjs";
18
+ } from "./chunk-TLQ3FZOC.mjs";
19
19
  import "./chunk-GAMFK2ZP.mjs";
20
20
  import {
21
21
  openInBrowser,
22
22
  printCommandEnvelope
23
- } from "./chunk-NR3DFKNF.mjs";
23
+ } from "./chunk-XKZXO7D3.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  autoDetectBaseUrl,
@@ -30,10 +30,10 @@ import {
30
30
  resolveProjectApiKeyForBaseUrl,
31
31
  resolveProjectPinTarget,
32
32
  sdkCliStateDirPath
33
- } from "./chunk-FJGW5GXU.mjs";
33
+ } from "./chunk-VE3U3SQC.mjs";
34
34
  import "./chunk-DLIRSHV6.mjs";
35
35
  import "./chunk-NXGCO4JB.mjs";
36
- import "./chunk-TJI2EN6K.mjs";
36
+ import "./chunk-NHB5YUCS.mjs";
37
37
  import "./chunk-WZYKRD7T.mjs";
38
38
  import {
39
39
  DEEPLINE_GTM_SKILL,