deepline 0.3.459 → 0.3.461

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 (103) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/billing/state.ts +28 -0
  3. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +24 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +11 -20
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +72 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +51 -3
  7. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +5 -1
  8. package/dist/cli/{auth-2RM2ZC6E.mjs → auth-6HJXNWUG.mjs} +4 -4
  9. package/dist/cli/auth-IACERYQH.js +40 -0
  10. package/dist/cli/{billing-4BZABEOA.js → billing-6P5HO6QG.js} +73 -73
  11. package/dist/cli/{billing-FYF2GJ25.mjs → billing-MJ42N7YF.mjs} +4 -4
  12. package/dist/cli/{chunk-5WGW57KC.mjs → chunk-3BMLICF7.mjs} +3 -3
  13. package/dist/cli/{chunk-HUVI6EBF.js → chunk-5FDKJQZE.js} +1 -1
  14. package/dist/cli/{chunk-FBMVFOD7.js → chunk-5FY72YOV.js} +8 -8
  15. package/dist/cli/{chunk-KB4XJRQW.js → chunk-5IYOUBFZ.js} +8 -8
  16. package/dist/cli/{chunk-U3VAYRUL.js → chunk-5MDIZX7M.js} +6 -6
  17. package/dist/cli/{chunk-UIKSAVAE.js → chunk-ACCR7POB.js} +26 -26
  18. package/dist/cli/{chunk-MHMRLS7W.mjs → chunk-BGY2PLP7.mjs} +3 -3
  19. package/dist/cli/{chunk-ACCQ5OM7.js → chunk-CRYOUPEB.js} +16 -16
  20. package/dist/cli/{chunk-Z4YO4J4J.js → chunk-FCAZQ7WV.js} +50 -50
  21. package/dist/cli/{chunk-LSJYTDEK.mjs → chunk-FGLKOWSC.mjs} +1 -1
  22. package/dist/cli/{chunk-FFUQFRKZ.js → chunk-FGMX4HUZ.js} +20 -20
  23. package/dist/cli/{chunk-BIPMJKLI.mjs → chunk-FJZILBL7.mjs} +5 -5
  24. package/dist/cli/{chunk-SOUQUQQE.mjs → chunk-IHHLTHE7.mjs} +8 -8
  25. package/dist/cli/{chunk-PI65FBEA.js → chunk-KCCOQ5G5.js} +81 -81
  26. package/dist/cli/{chunk-OD236M42.mjs → chunk-KVJ5VHW5.mjs} +2 -2
  27. package/dist/cli/{chunk-LGOI2BRX.js → chunk-MDJPEGVN.js} +10 -10
  28. package/dist/cli/{chunk-ZAJAGMXA.mjs → chunk-MEAIOXJL.mjs} +2 -2
  29. package/dist/cli/{chunk-KDDB5S6E.mjs → chunk-MGXEUZHL.mjs} +3 -3
  30. package/dist/cli/{chunk-S5TTNBEZ.js → chunk-O6QOMHCH.js} +35 -35
  31. package/dist/cli/{chunk-FPPCTKV6.js → chunk-OZBWRICM.js} +2 -2
  32. package/dist/cli/{chunk-5KC7RLJO.js → chunk-PNATXKLP.js} +6 -6
  33. package/dist/cli/{chunk-Y35FCRLQ.mjs → chunk-QAJAJPKK.mjs} +1 -1
  34. package/dist/cli/{chunk-HU7JG4RL.mjs → chunk-QEYHTIV4.mjs} +1 -1
  35. package/dist/cli/{chunk-7DFM5YLL.mjs → chunk-QIW7TVV6.mjs} +4 -4
  36. package/dist/cli/{chunk-NLRKZJZF.mjs → chunk-R64BGGRQ.mjs} +2 -2
  37. package/dist/cli/{chunk-4EBJNT5C.mjs → chunk-RFONC4WJ.mjs} +2 -2
  38. package/dist/cli/{chunk-7AGGDRNR.mjs → chunk-RY4IVOU3.mjs} +1 -1
  39. package/dist/cli/{chunk-OY4JQBJG.js → chunk-SAZFZQRI.js} +2 -2
  40. package/dist/cli/{chunk-JOSOQJ5P.js → chunk-SCIR5JXW.js} +51 -51
  41. package/dist/cli/{chunk-OQW2YP3P.mjs → chunk-T3MVIPHG.mjs} +1 -1
  42. package/dist/cli/{chunk-2JSVKNLG.js → chunk-TNMBPMMC.js} +3 -3
  43. package/dist/cli/{chunk-RLQDDJZZ.mjs → chunk-V7REJRDZ.mjs} +1 -1
  44. package/dist/cli/{chunk-MNNMPS6J.mjs → chunk-VZBCEA5S.mjs} +1 -1
  45. package/dist/cli/{chunk-VLJXYDGZ.js → chunk-YQDUODZW.js} +4 -4
  46. package/dist/cli/{csv-SDVEU3O5.mjs → csv-DQ6GW5B5.mjs} +3 -3
  47. package/dist/cli/{csv-LRIV3RXE.js → csv-NX7NO3O6.js} +12 -12
  48. package/dist/cli/{db-NHYULZTM.mjs → db-2YP33M4K.mjs} +4 -4
  49. package/dist/cli/{db-JS4OEDNY.js → db-R72DFMP6.js} +25 -25
  50. package/dist/cli/{describe-ZFKCZHOJ.js → describe-2WQY7ZCY.js} +17 -17
  51. package/dist/cli/{describe-H5F72Q3S.mjs → describe-FRAVCY5F.mjs} +13 -13
  52. package/dist/cli/{executions-25YKX4K3.mjs → executions-WFBU7L2Q.mjs} +4 -4
  53. package/dist/cli/{executions-QPAKZTNQ.js → executions-ZLHD4QIT.js} +6 -6
  54. package/dist/cli/{feedback-Z3BES6L6.mjs → feedback-CN3HJFVF.mjs} +3 -3
  55. package/dist/cli/{feedback-O63Z5O2R.js → feedback-NDV6TPHG.js} +7 -7
  56. package/dist/cli/git-JVI36ZFV.js +24 -0
  57. package/dist/cli/{git-V7S3IBLO.mjs → git-QAD6E3HW.mjs} +4 -4
  58. package/dist/cli/index.js +132 -132
  59. package/dist/cli/index.mjs +37 -37
  60. package/dist/cli/{legacy-noops-ZLLYEGQ6.js → legacy-noops-KVC5QJ74.js} +7 -7
  61. package/dist/cli/{legacy-noops-VRT5WZ5I.mjs → legacy-noops-TPTKNBI2.mjs} +4 -4
  62. package/dist/cli/{monitors-T7FKIDDY.js → monitors-KCROV6PJ.js} +89 -89
  63. package/dist/cli/{monitors-44KSWY3M.mjs → monitors-SV57JFLO.mjs} +5 -5
  64. package/dist/cli/{org-BZE4CGIT.mjs → org-KX6QIR7A.mjs} +4 -4
  65. package/dist/cli/{org-KPPG2KY4.js → org-NJYX5743.js} +66 -66
  66. package/dist/cli/{play-M5P74N3E.js → play-32L7EQN4.js} +284 -284
  67. package/dist/cli/{play-CHTP4NKR.mjs → play-IQQ57L7Z.mjs} +11 -11
  68. package/dist/cli/{providers-CGLPOOXA.mjs → providers-4WEC2EQN.mjs} +4 -4
  69. package/dist/cli/{providers-L3PK7NHU.js → providers-ZQV6QLVQ.js} +7 -7
  70. package/dist/cli/{quickstart-LJ7HELWE.js → quickstart-HKUSFADF.js} +5 -5
  71. package/dist/cli/{quickstart-NWG35AKK.mjs → quickstart-RQ76RIUE.mjs} +3 -3
  72. package/dist/cli/search-75X5LTDE.js +30 -0
  73. package/dist/cli/{search-723TVSNC.mjs → search-ZRAVFBZC.mjs} +5 -5
  74. package/dist/cli/{secrets-ONN3Z5Y6.mjs → secrets-CMJOVNVH.mjs} +4 -4
  75. package/dist/cli/{secrets-SVSSLPWB.js → secrets-J3G5Y43U.js} +13 -13
  76. package/dist/cli/{sessions-3KAEYQ3U.mjs → sessions-MDQYY5CB.mjs} +4 -4
  77. package/dist/cli/{sessions-7LYPPYUY.js → sessions-WY7VN4AE.js} +5 -5
  78. package/dist/cli/{settings-2CBJI7FY.mjs → settings-4RWZPCT5.mjs} +9 -9
  79. package/dist/cli/{settings-JGJZO7EX.js → settings-HTNTFKCE.js} +76 -76
  80. package/dist/cli/{setup-BJCBDH34.mjs → setup-P3GYYZWG.mjs} +8 -8
  81. package/dist/cli/{setup-AIAOO7R4.js → setup-QGCAP62X.js} +43 -43
  82. package/dist/cli/{skills-7QSQPQXX.mjs → skills-7NAE4ICL.mjs} +6 -6
  83. package/dist/cli/skills-BKJ53JOQ.js +30 -0
  84. package/dist/cli/{tools-I7LYXHDR.mjs → tools-COWMIEJ6.mjs} +13 -13
  85. package/dist/cli/tools-TASOCE7I.js +45 -0
  86. package/dist/cli/{update-LKY5OJ56.mjs → update-GODLRKNB.mjs} +8 -8
  87. package/dist/cli/update-SJIKVME6.js +32 -0
  88. package/dist/cli/{workflow-DD32BU7Y.mjs → workflow-4BXOUVEO.mjs} +5 -5
  89. package/dist/cli/{workflow-Y4HGE7MB.js → workflow-AO3A6LXN.js} +15 -15
  90. package/dist/index.js +6 -6
  91. package/dist/index.mjs +3 -3
  92. package/dist/install-integrity.json +80 -80
  93. package/dist/release.d.mts +1 -1
  94. package/dist/release.d.ts +1 -1
  95. package/dist/release.js +2 -2
  96. package/dist/release.mjs +1 -1
  97. package/package.json +1 -1
  98. package/dist/cli/auth-EAFWPDJG.js +0 -40
  99. package/dist/cli/git-KSRP3PNB.js +0 -24
  100. package/dist/cli/search-PESQULBG.js +0 -30
  101. package/dist/cli/skills-WECIGARR.js +0 -30
  102. package/dist/cli/tools-HTEMYXT2.js +0 -45
  103. package/dist/cli/update-J4LSPXHD.js +0 -32
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkLGOI2BRXjs = require('./chunk-LGOI2BRX.js');
5
+ var _chunkMDJPEGVNjs = require('./chunk-MDJPEGVN.js');
6
6
  require('./chunk-E4CABWXL.js');
7
7
  require('./chunk-JKVRBCZL.js');
8
8
  require('./chunk-KXMNM4AQ.js');
@@ -11,26 +11,26 @@ require('./chunk-XDVT3GOM.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkACCQ5OM7js = require('./chunk-ACCQ5OM7.js');
15
- require('./chunk-OY4JQBJG.js');
16
- require('./chunk-S5TTNBEZ.js');
17
- require('./chunk-JOSOQJ5P.js');
18
- require('./chunk-2JSVKNLG.js');
14
+ var _chunkCRYOUPEBjs = require('./chunk-CRYOUPEB.js');
15
+ require('./chunk-SAZFZQRI.js');
16
+ require('./chunk-O6QOMHCH.js');
17
+ require('./chunk-SCIR5JXW.js');
18
+ require('./chunk-TNMBPMMC.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkU3VAYRULjs = require('./chunk-U3VAYRUL.js');
23
- require('./chunk-VLJXYDGZ.js');
22
+ var _chunk5MDIZX7Mjs = require('./chunk-5MDIZX7M.js');
23
+ require('./chunk-YQDUODZW.js');
24
24
  require('./chunk-ALJJRZNJ.js');
25
25
  require('./chunk-XNYIZMNQ.js');
26
26
  require('./chunk-DIAWYWT5.js');
27
- require('./chunk-HUVI6EBF.js');
27
+ require('./chunk-5FDKJQZE.js');
28
28
  require('./chunk-OG64RBAC.js');
29
29
  require('./chunk-COGTRVWW.js');
30
30
 
31
31
  // src/cli/commands/settings.ts
32
32
  var _fs = require('fs');
33
- var eventHelp = _chunkLGOI2BRXjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
33
+ var eventHelp = _chunkMDJPEGVNjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
34
34
  (event) => ` ${event.id.padEnd(28)} ${event.description}`
35
35
  ).join("\n");
36
36
  function slackDestination(settings) {
@@ -42,7 +42,7 @@ function slackDestination(settings) {
42
42
  archivedAt: typeof entry.archivedAt === "number" ? entry.archivedAt : void 0
43
43
  })
44
44
  );
45
- return _chunkLGOI2BRXjs.resolveLegacySlackNotification.call(void 0, destinations);
45
+ return _chunkMDJPEGVNjs.resolveLegacySlackNotification.call(void 0, destinations);
46
46
  }
47
47
  function eventLines(settings, destinationId) {
48
48
  const enabled = new Map(
@@ -64,10 +64,10 @@ function requireCatalogEvent(settings, eventType) {
64
64
  return event;
65
65
  }
66
66
  async function printSettings(options) {
67
- const settings = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().getNotificationSettings();
67
+ const settings = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().getNotificationSettings();
68
68
  const slack = slackDestination(settings);
69
69
  const destinationId = typeof _optionalChain([slack, 'optionalAccess', _ => _._id]) === "string" ? slack._id : void 0;
70
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
70
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
71
71
  {
72
72
  settings,
73
73
  render: {
@@ -122,8 +122,8 @@ Automatic updates are enabled by default. Turning them on clears an existing
122
122
  version pin. Pinning installs and holds one exact pin-aware CLI version.
123
123
  `
124
124
  ).option("--json", "Emit JSON output").action((options) => {
125
- const preferences = _chunkACCQ5OM7js.readCliUpdatePreferences.call(void 0, );
126
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
125
+ const preferences = _chunkCRYOUPEBjs.readCliUpdatePreferences.call(void 0, );
126
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
127
127
  {
128
128
  autoUpdateEnabled: preferences.autoUpdateEnabled,
129
129
  pinnedVersion: preferences.pinnedVersion,
@@ -146,8 +146,8 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
146
146
  autoupdate.command(enabled ? "on" : "off").description(
147
147
  enabled ? "Enable automatic CLI updates and clear any version pin." : "Disable automatic CLI updates."
148
148
  ).option("--json", "Emit JSON output").action((options) => {
149
- const preferences = _chunkACCQ5OM7js.setCliAutoUpdateEnabled.call(void 0, enabled);
150
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
149
+ const preferences = _chunkCRYOUPEBjs.setCliAutoUpdateEnabled.call(void 0, enabled);
150
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
151
151
  {
152
152
  ok: true,
153
153
  autoUpdateEnabled: preferences.autoUpdateEnabled,
@@ -168,7 +168,7 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
168
168
  });
169
169
  }
170
170
  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) => {
171
- process.exitCode = await _chunkACCQ5OM7js.runUpdateCommand.call(void 0, {
171
+ process.exitCode = await _chunkCRYOUPEBjs.runUpdateCommand.call(void 0, {
172
172
  pin: version,
173
173
  json: options.json,
174
174
  executeWithJson: true
@@ -196,15 +196,15 @@ notifications; there is no general integrations CLI.
196
196
  if (destination !== "slack")
197
197
  throw new Error("Only slack is supported.");
198
198
  if (options.dryRun) {
199
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
199
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
200
200
  { dryRun: true, destination, action: "start_oauth" },
201
201
  { json: options.json }
202
202
  );
203
203
  return;
204
204
  }
205
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().connectNotificationSlack();
206
- const browser = options.open ? _chunkU3VAYRULjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
207
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
205
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().connectNotificationSlack();
206
+ const browser = options.open ? _chunk5MDIZX7Mjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
207
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
208
208
  {
209
209
  ...result,
210
210
  browser,
@@ -228,10 +228,10 @@ notifications; there is no general integrations CLI.
228
228
  }
229
229
  );
230
230
  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) => {
231
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().listNotificationSlackChannels(
231
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().listNotificationSlackChannels(
232
232
  options.query
233
233
  );
234
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
234
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
235
235
  {
236
236
  ...result,
237
237
  render: {
@@ -257,14 +257,14 @@ notifications; there is no general integrations CLI.
257
257
  }
258
258
  const target = options.memberId ? { memberId: options.memberId } : options.channel;
259
259
  if (options.dryRun) {
260
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
260
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
261
261
  { dryRun: true, destination, target },
262
262
  { json: options.json }
263
263
  );
264
264
  return;
265
265
  }
266
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().setNotificationSlack(target);
267
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
266
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().setNotificationSlack(target);
267
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
268
268
  {
269
269
  ok: true,
270
270
  result,
@@ -290,14 +290,14 @@ notifications; there is no general integrations CLI.
290
290
  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) => {
291
291
  if (destination !== "slack") throw new Error("Only slack is supported.");
292
292
  if (options.dryRun) {
293
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
293
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
294
294
  { dryRun: true, destination, action: "send_test_ping" },
295
295
  { json: options.json }
296
296
  );
297
297
  return;
298
298
  }
299
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().testNotificationSlack();
300
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
299
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().testNotificationSlack();
300
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
301
301
  {
302
302
  ...result,
303
303
  render: {
@@ -310,14 +310,14 @@ notifications; there is no general integrations CLI.
310
310
  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) => {
311
311
  if (destination !== "slack") throw new Error("Only slack is supported.");
312
312
  if (options.dryRun) {
313
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
313
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
314
314
  { dryRun: true, destination, action: "disable" },
315
315
  { json: options.json }
316
316
  );
317
317
  return;
318
318
  }
319
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().disableNotificationSlack();
320
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
319
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().disableNotificationSlack();
320
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
321
321
  {
322
322
  ok: true,
323
323
  result,
@@ -336,10 +336,10 @@ ${eventHelp}
336
336
  `
337
337
  );
338
338
  subscriptions.command("list").description("List every supported event and its current state.").option("--json", "Emit JSON output").action(async (options) => {
339
- const current = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().getNotificationSettings();
339
+ const current = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().getNotificationSettings();
340
340
  const destination = slackDestination(current);
341
341
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _2 => _2._id]) === "string" ? destination._id : void 0;
342
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
342
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
343
343
  {
344
344
  catalog: current.catalog,
345
345
  subscriptions: current.subscriptions,
@@ -356,14 +356,14 @@ ${eventHelp}
356
356
  );
357
357
  });
358
358
  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) => {
359
- const current = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().getNotificationSettings();
359
+ const current = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().getNotificationSettings();
360
360
  const event = requireCatalogEvent(current, eventType);
361
361
  const destination = slackDestination(current);
362
362
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _3 => _3._id]) === "string" ? destination._id : void 0;
363
363
  const subscription = current.subscriptions.find(
364
364
  (entry) => entry.eventType === event.id && (!destinationId || entry.destinationId === destinationId)
365
365
  );
366
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
366
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
367
367
  {
368
368
  event,
369
369
  enabled: _optionalChain([subscription, 'optionalAccess', _4 => _4.enabled]) === true,
@@ -384,11 +384,11 @@ ${eventHelp}
384
384
  });
385
385
  for (const enabled of [true, false]) {
386
386
  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) => {
387
- const client = new (0, _chunkLGOI2BRXjs.DeeplineClient)();
387
+ const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
388
388
  const current = await client.getNotificationSettings();
389
389
  const event = requireCatalogEvent(current, eventType);
390
390
  if (options.dryRun) {
391
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
391
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
392
392
  { dryRun: true, event, enabled },
393
393
  { json: options.json }
394
394
  );
@@ -398,7 +398,7 @@ ${eventHelp}
398
398
  [event.id],
399
399
  enabled
400
400
  );
401
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
401
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
402
402
  {
403
403
  ok: true,
404
404
  event: event.id,
@@ -419,11 +419,11 @@ ${eventHelp}
419
419
  }
420
420
  const dlq = notifications.command("dlq").description("Inspect and explicitly resolve inert failed deliveries.");
421
421
  dlq.command("list").option("--limit <count>", "Maximum deliveries", "25").option("--json", "Emit JSON output").action(async (options) => {
422
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().listNotificationDlq(
422
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().listNotificationDlq(
423
423
  Number(options.limit)
424
424
  );
425
425
  const deliveries = _nullishCoalesce(result.deliveries, () => ( []));
426
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
426
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
427
427
  {
428
428
  ...result,
429
429
  render: {
@@ -441,10 +441,10 @@ ${eventHelp}
441
441
  );
442
442
  });
443
443
  dlq.command("get").argument("<delivery-id>").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
444
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().getNotificationDlqDelivery(
444
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().getNotificationDlqDelivery(
445
445
  deliveryId
446
446
  );
447
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0, result, {
447
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, result, {
448
448
  json: options.json
449
449
  });
450
450
  });
@@ -453,17 +453,17 @@ ${eventHelp}
453
453
  `${action === "retry" ? "Replay once from attempt zero" : "Archive"} one delivery.`
454
454
  ).argument("<delivery-id>").option("--dry-run", "Describe the mutation without changing state").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
455
455
  if (options.dryRun) {
456
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
456
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
457
457
  { dryRun: true, action, deliveryId },
458
458
  { json: options.json }
459
459
  );
460
460
  return;
461
461
  }
462
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().updateNotificationDlqDelivery(
462
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().updateNotificationDlqDelivery(
463
463
  deliveryId,
464
464
  action
465
465
  );
466
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
466
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
467
467
  { ok: true, action, deliveryId, result },
468
468
  { json: options.json }
469
469
  );
@@ -564,8 +564,8 @@ Examples:
564
564
  `
565
565
  );
566
566
  configuration.command("get").description("Show the effective group-based notification configuration.").option("--json", "Emit JSON output").action(async (options) => {
567
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().getNotificationConfiguration();
568
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
567
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().getNotificationConfiguration();
568
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
569
569
  {
570
570
  ...result,
571
571
  render: {
@@ -590,21 +590,21 @@ Examples:
590
590
  ).option("--dry-run", "Validate and display the file without saving it").option("--json", "Emit JSON output").action(async (file, options) => {
591
591
  const input = await readNotificationConfigurationChange(file);
592
592
  if (options.dryRun) {
593
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
593
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
594
594
  { dryRun: true, ...input },
595
595
  { json: options.json }
596
596
  );
597
597
  return;
598
598
  }
599
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().changeNotificationConfiguration(
599
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().changeNotificationConfiguration(
600
600
  input.expectedWorkspaceVersion,
601
601
  input.change
602
602
  );
603
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0, result, { json: options.json });
603
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, result, { json: options.json });
604
604
  });
605
605
  notifications.command("events").description("List the Play events available to a notification.").option("--json", "Emit JSON output").action(async (options) => {
606
- const settings = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().getNotifications();
607
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
606
+ const settings = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().getNotifications();
607
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
608
608
  {
609
609
  events: settings.catalog,
610
610
  render: {
@@ -622,9 +622,9 @@ Examples:
622
622
  );
623
623
  });
624
624
  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) => {
625
- const settings = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().getNotifications();
625
+ const settings = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().getNotifications();
626
626
  const rules = _nullishCoalesce(settings.notifications, () => ( []));
627
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
627
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
628
628
  {
629
629
  notifications: options.compact ? rules.map((rule) => ({
630
630
  id: rule.id,
@@ -652,10 +652,10 @@ Examples:
652
652
  });
653
653
  notifications.command("get").argument("<name>", "Notification name or ID").description("Show one named notification.").option("--json", "Emit JSON output").action(async (name, options) => {
654
654
  const rule = notificationByName(
655
- await new (0, _chunkLGOI2BRXjs.DeeplineClient)().getNotifications(),
655
+ await new (0, _chunkMDJPEGVNjs.DeeplineClient)().getNotifications(),
656
656
  name
657
657
  );
658
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
658
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
659
659
  });
660
660
  notifications.command("add").argument("<name>", "Group name, for example oncall").requiredOption(
661
661
  "--to <target>",
@@ -669,14 +669,14 @@ Examples:
669
669
  []
670
670
  ).option("--dry-run", "Describe the notification without saving it").option("--json", "Emit JSON output").action(
671
671
  async (name, options) => {
672
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().createNotificationGroup({
672
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().createNotificationGroup({
673
673
  name,
674
674
  targets: options.to,
675
675
  legacyEvents: options.for,
676
676
  dryRun: options.dryRun
677
677
  });
678
678
  if (result.mode === "dry_run") {
679
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
679
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
680
680
  result.compatibilityMode ? {
681
681
  dryRun: true,
682
682
  name: result.name,
@@ -693,7 +693,7 @@ Examples:
693
693
  return;
694
694
  }
695
695
  if (result.mode === "legacy") {
696
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
696
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
697
697
  {
698
698
  notification: result.notification,
699
699
  render: {
@@ -715,7 +715,7 @@ Examples:
715
715
  );
716
716
  return;
717
717
  }
718
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
718
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
719
719
  {
720
720
  ...result,
721
721
  render: {
@@ -751,12 +751,12 @@ Examples:
751
751
  []
752
752
  ).option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(
753
753
  async (name, options) => {
754
- const client = new (0, _chunkLGOI2BRXjs.DeeplineClient)();
754
+ const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
755
755
  const rule = notificationByName(await client.getNotifications(), name);
756
756
  const target = options.to ? parseSlackTarget(options.to) : rule.target.kind === "member" ? { memberId: rule.target.id } : { channel: rule.target.name };
757
757
  const eventTypes = options.for.length ? options.for : rule.eventTypes;
758
758
  if (options.dryRun) {
759
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
759
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
760
760
  { dryRun: true, notification: rule.id, target, eventTypes },
761
761
  { json: options.json }
762
762
  );
@@ -767,15 +767,15 @@ Examples:
767
767
  ...target,
768
768
  eventTypes
769
769
  });
770
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
770
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
771
771
  }
772
772
  );
773
773
  const slack = notifications.command("slack").description("Select a channel from the connected Slack integration.");
774
774
  slack.command("channels").option("--search <text>", "Filter channel names").option("--json", "Emit JSON output").action(async (options) => {
775
- const result = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().listNotificationChannels(
775
+ const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().listNotificationChannels(
776
776
  options.search
777
777
  );
778
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
778
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
779
779
  {
780
780
  ...result,
781
781
  render: {
@@ -795,31 +795,31 @@ Examples:
795
795
  ["resume", true]
796
796
  ]) {
797
797
  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) => {
798
- const client = new (0, _chunkLGOI2BRXjs.DeeplineClient)();
798
+ const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
799
799
  const rule = notificationByName(await client.getNotifications(), name);
800
800
  if (options.dryRun) {
801
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
801
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
802
802
  { dryRun: true, notification: rule.id, enabled },
803
803
  { json: options.json }
804
804
  );
805
805
  return;
806
806
  }
807
807
  const result = await client.updateNotification(rule.id, { enabled });
808
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
808
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
809
809
  });
810
810
  }
811
811
  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) => {
812
- const client = new (0, _chunkLGOI2BRXjs.DeeplineClient)();
812
+ const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
813
813
  const rule = notificationByName(await client.getNotifications(), name);
814
814
  if (options.dryRun) {
815
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
815
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
816
816
  { dryRun: true, notification: rule.id, action: "send_test" },
817
817
  { json: options.json }
818
818
  );
819
819
  return;
820
820
  }
821
821
  const result = await client.testNotification(rule.id);
822
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
822
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
823
823
  { ...result, notification: rule.name },
824
824
  { json: options.json }
825
825
  );
@@ -827,17 +827,17 @@ Examples:
827
827
  notifications.command("delete").argument("<name>", "Notification name or ID").description(
828
828
  "Archive one notification without touching its provider integration."
829
829
  ).option("--dry-run", "Describe the deletion without changing state").option("--json", "Emit JSON output").action(async (name, options) => {
830
- const client = new (0, _chunkLGOI2BRXjs.DeeplineClient)();
830
+ const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
831
831
  const rule = notificationByName(await client.getNotifications(), name);
832
832
  if (options.dryRun) {
833
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
833
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
834
834
  { dryRun: true, notification: rule.id, action: "archive" },
835
835
  { json: options.json }
836
836
  );
837
837
  return;
838
838
  }
839
839
  const result = await client.deleteNotification(rule.id);
840
- _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
840
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
841
841
  { ...result, notification: rule.name },
842
842
  { json: options.json }
843
843
  );
@@ -6,23 +6,23 @@ import {
6
6
  handleWait,
7
7
  readPendingAuthClaim,
8
8
  reportSetupCompleted
9
- } from "./chunk-ZAJAGMXA.mjs";
9
+ } from "./chunk-MEAIOXJL.mjs";
10
10
  import {
11
11
  npmSupportsAllowScripts,
12
12
  readNpmVersion
13
- } from "./chunk-LSJYTDEK.mjs";
13
+ } from "./chunk-FGLKOWSC.mjs";
14
14
  import {
15
15
  runSkillsCommand,
16
16
  skillsStatePathForScope
17
- } from "./chunk-KDDB5S6E.mjs";
17
+ } from "./chunk-MGXEUZHL.mjs";
18
18
  import {
19
19
  resolveShellSpawn
20
- } from "./chunk-5WGW57KC.mjs";
21
- import "./chunk-HU7JG4RL.mjs";
20
+ } from "./chunk-3BMLICF7.mjs";
21
+ import "./chunk-QEYHTIV4.mjs";
22
22
  import {
23
23
  openInBrowser,
24
24
  printCommandEnvelope
25
- } from "./chunk-Y35FCRLQ.mjs";
25
+ } from "./chunk-QAJAJPKK.mjs";
26
26
  import {
27
27
  SDK_VERSION,
28
28
  autoDetectBaseUrl,
@@ -32,11 +32,11 @@ import {
32
32
  resolveProjectApiKeyForBaseUrl,
33
33
  resolveProjectPinTarget,
34
34
  sdkCliStateDirPath
35
- } from "./chunk-7AGGDRNR.mjs";
35
+ } from "./chunk-RY4IVOU3.mjs";
36
36
  import "./chunk-4QF2K7TM.mjs";
37
37
  import "./chunk-DLIRSHV6.mjs";
38
38
  import "./chunk-HBL4PM5Q.mjs";
39
- import "./chunk-OQW2YP3P.mjs";
39
+ import "./chunk-T3MVIPHG.mjs";
40
40
  import "./chunk-WZYKRD7T.mjs";
41
41
  import {
42
42
  DEEPLINE_GTM_SKILL,