deepline 0.3.504 → 0.3.505

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 (143) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +5 -0
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +144 -7
  5. package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +18 -0
  6. package/dist/bundling-sources/shared_libs/product-notifications/onboarding-unsubscribe.ts +23 -0
  7. package/dist/cli/{auth-3L5AA5AX.mjs → auth-AHE2EDQA.mjs} +5 -5
  8. package/dist/cli/auth-SEPKNRHV.js +43 -0
  9. package/dist/cli/{billing-E7EASVPO.mjs → billing-7CPWTGGI.mjs} +7 -7
  10. package/dist/cli/{billing-HOGXVE2V.js → billing-JOIZPHON.js} +82 -82
  11. package/dist/cli/{chunk-67OI26OE.js → chunk-3YEOOXD4.js} +96 -37
  12. package/dist/cli/{chunk-IPAMOMGP.js → chunk-45XYW477.js} +21 -21
  13. package/dist/cli/{chunk-OX2D6BG4.mjs → chunk-4OFSAZN6.mjs} +1 -1
  14. package/dist/cli/{chunk-2ABRDH3B.mjs → chunk-52FPW2RD.mjs} +2 -2
  15. package/dist/cli/{chunk-NZ7Z7WNM.mjs → chunk-5XT4DZQL.mjs} +2 -2
  16. package/dist/cli/{chunk-FTRVCIGC.js → chunk-6FEN6VWZ.js} +26 -26
  17. package/dist/cli/{chunk-7F4OEHQK.mjs → chunk-6U3AGJWI.mjs} +1 -1
  18. package/dist/cli/{chunk-YOQ2NNDO.mjs → chunk-7AD565DO.mjs} +1 -1
  19. package/dist/cli/{chunk-JPR2546F.js → chunk-7DDACLMX.js} +16 -16
  20. package/dist/cli/{chunk-HUX5DZO6.mjs → chunk-7DDKLFOY.mjs} +3 -3
  21. package/dist/cli/{chunk-2W77YCKH.js → chunk-7QLK2GHL.js} +5 -5
  22. package/dist/cli/{chunk-XHZSPMNC.mjs → chunk-ACI6CUDX.mjs} +11 -401
  23. package/dist/cli/{chunk-7P2QVMBP.js → chunk-BWAYMJ23.js} +7 -7
  24. package/dist/cli/{chunk-UXQQPMYO.js → chunk-CA3SYXCS.js} +2 -2
  25. package/dist/cli/{chunk-SVFTZTCI.mjs → chunk-CSLLQWAB.mjs} +1 -1
  26. package/dist/cli/{chunk-QKKU2FH4.js → chunk-EMUFF6EU.js} +7 -7
  27. package/dist/cli/chunk-FIQ5UEIF.mjs +405 -0
  28. package/dist/cli/{chunk-KGUGNEKL.js → chunk-GAUNJCXQ.js} +96 -96
  29. package/dist/cli/{chunk-5Z6EULD5.js → chunk-GXMNOUHP.js} +6 -6
  30. package/dist/cli/{chunk-A6LA42JY.js → chunk-HASFFOSU.js} +16 -16
  31. package/dist/cli/{chunk-SMSQVRHE.js → chunk-IDAE5VDH.js} +5 -5
  32. package/dist/cli/{chunk-GGBXNQCR.mjs → chunk-IZYOYXG7.mjs} +4 -4
  33. package/dist/cli/{chunk-22OCKCYS.mjs → chunk-JA7YBRP4.mjs} +1 -1
  34. package/dist/cli/{chunk-6SMR7LU7.js → chunk-JSTKLYYD.js} +2 -2
  35. package/dist/cli/{chunk-UFYJTRSF.mjs → chunk-JVKEZT7L.mjs} +20 -6
  36. package/dist/cli/{chunk-GJ2DA35C.js → chunk-K26YOPDO.js} +20 -6
  37. package/dist/cli/{chunk-FISP4LCK.js → chunk-LC4FG34E.js} +53 -53
  38. package/dist/cli/{chunk-BTWUNKKX.mjs → chunk-MAFZ64RN.mjs} +2 -2
  39. package/dist/cli/{chunk-WZSFIJMG.js → chunk-MHZAG2ZQ.js} +80 -470
  40. package/dist/cli/{chunk-5CHBIJIM.mjs → chunk-NARJWXBR.mjs} +2 -2
  41. package/dist/cli/{chunk-VJVJWZ6I.mjs → chunk-OA6U5NVB.mjs} +5 -5
  42. package/dist/cli/{chunk-QOLX2O2S.mjs → chunk-OMEDQ77C.mjs} +93 -34
  43. package/dist/cli/{chunk-LHXYCZYO.js → chunk-OORPAQVC.js} +8 -8
  44. package/dist/cli/{chunk-Z6FXUDIL.mjs → chunk-PDLOPF5L.mjs} +1 -1
  45. package/dist/cli/{chunk-3MLFFWDM.mjs → chunk-PZN24YQQ.mjs} +2 -2
  46. package/dist/cli/{chunk-DEAJVQEG.mjs → chunk-QGNNAZ5M.mjs} +1 -1
  47. package/dist/cli/chunk-QYGYVCRI.js +405 -0
  48. package/dist/cli/{chunk-IGNQKOWT.mjs → chunk-RT3HJBIH.mjs} +12 -12
  49. package/dist/cli/{chunk-Y6XKCEPK.mjs → chunk-SHKRL7CW.mjs} +1 -1
  50. package/dist/cli/{chunk-UJMBG5JU.js → chunk-SPN7U3MV.js} +4 -4
  51. package/dist/cli/{chunk-MLMWM5DV.mjs → chunk-UZ24SF7N.mjs} +5 -5
  52. package/dist/cli/{chunk-USTJEEND.js → chunk-VXKWF3AD.js} +9 -9
  53. package/dist/cli/{chunk-Y7VEHKID.mjs → chunk-W6I4N4JN.mjs} +6 -6
  54. package/dist/cli/{chunk-MJTK6Q3G.js → chunk-WPCF7C6B.js} +3 -3
  55. package/dist/cli/{chunk-KCKAFTPY.js → chunk-WTQLUULB.js} +6 -6
  56. package/dist/cli/{chunk-BX45XMXZ.mjs → chunk-WTUC5VKB.mjs} +2 -2
  57. package/dist/cli/{chunk-6JNBMTCZ.js → chunk-XHPB6RGY.js} +1 -1
  58. package/dist/cli/{chunk-GRAGUYIE.js → chunk-Y52XY56V.js} +41 -41
  59. package/dist/cli/{chunk-4CC67XH5.mjs → chunk-YBIVVAL7.mjs} +2 -2
  60. package/dist/cli/{chunk-WBIDPDKJ.js → chunk-ZLN2B5YA.js} +3 -3
  61. package/dist/cli/command-docs.js +2 -2
  62. package/dist/cli/command-docs.mjs +1 -1
  63. package/dist/cli/{csv-2XWGPITO.js → csv-DZHVIW3G.js} +13 -13
  64. package/dist/cli/{csv-433JEHLQ.mjs → csv-WTPI6ZON.mjs} +4 -4
  65. package/dist/cli/{db-PJJMD4VH.js → db-D7LPPNCC.js} +27 -27
  66. package/dist/cli/{db-K747DH43.mjs → db-NR4PJ6AF.mjs} +6 -6
  67. package/dist/cli/describe-HVQBTKFM.js +50 -0
  68. package/dist/cli/{describe-VEDDYW4P.mjs → describe-NCKAJPUG.mjs} +18 -17
  69. package/dist/cli/describe-core.d.mts +2 -2
  70. package/dist/cli/describe-core.d.ts +2 -2
  71. package/dist/cli/{executions-JWRX3XCT.mjs → executions-RQVJ4LAB.mjs} +6 -6
  72. package/dist/cli/{executions-HM5T72H6.js → executions-UQG6LWEN.js} +8 -8
  73. package/dist/cli/{feedback-MNSIA63Y.mjs → feedback-RD4Y3YQR.mjs} +4 -4
  74. package/dist/cli/{feedback-34UG4BO3.js → feedback-TCHA67IA.js} +8 -8
  75. package/dist/cli/git-TUB2ZUEH.js +25 -0
  76. package/dist/cli/{git-ZKEOXV3A.mjs → git-Z7434B7Y.mjs} +5 -5
  77. package/dist/cli/index.js +143 -141
  78. package/dist/cli/index.mjs +49 -47
  79. package/dist/cli/{legacy-noops-YXSI4FVU.js → legacy-noops-23WRA7DH.js} +8 -8
  80. package/dist/cli/{legacy-noops-5M4T4ZVT.mjs → legacy-noops-LQJU4UIV.mjs} +5 -5
  81. package/dist/cli/{monitors-O25GDOYE.js → monitors-KOWN7M3V.js} +95 -95
  82. package/dist/cli/{monitors-C65OC4AW.mjs → monitors-Z6VYUZ2W.mjs} +7 -7
  83. package/dist/cli/{org-2GSPLY2A.js → org-2T5K2VP5.js} +72 -72
  84. package/dist/cli/{org-ZRMG5NS2.mjs → org-UBNRO5XO.mjs} +6 -6
  85. package/dist/cli/{pages-TZZUFBRO.mjs → pages-GHPJBVV3.mjs} +6 -6
  86. package/dist/cli/{pages-45DPADK6.js → pages-SRXTU7XO.js} +18 -18
  87. package/dist/cli/{play-RCGMND6X.js → play-2HMZ57EZ.js} +317 -316
  88. package/dist/cli/{play-3D7HH273.mjs → play-HRQKGTXA.mjs} +18 -17
  89. package/dist/cli/{providers-PSAKV6CJ.mjs → providers-JWJRFRR5.mjs} +6 -6
  90. package/dist/cli/{providers-3N3ECMTY.js → providers-P5O676MZ.js} +9 -9
  91. package/dist/cli/{quickstart-2A35SMGC.mjs → quickstart-S7NZUQRO.mjs} +4 -4
  92. package/dist/cli/{quickstart-6R6AIXM6.js → quickstart-YCY72TAO.js} +6 -6
  93. package/dist/cli/{run-F6ZXTASZ.js → run-MHLLGF4G.js} +41 -40
  94. package/dist/cli/{run-F3TLDGUO.mjs → run-QWMRIUIU.mjs} +23 -22
  95. package/dist/cli/{search-CZLCY3D2.mjs → search-4BFTQUEP.mjs} +8 -7
  96. package/dist/cli/search-QPUHOEIL.js +33 -0
  97. package/dist/cli/{search-output-R5XDNILW.js → search-output-62LBVZHN.js} +6 -6
  98. package/dist/cli/{search-output-MQTSTLN5.mjs → search-output-LIYHDTBP.mjs} +4 -4
  99. package/dist/cli/{secrets-D3GF4B2Z.mjs → secrets-GW27V77E.mjs} +6 -6
  100. package/dist/cli/{secrets-DCJYHDSY.js → secrets-KKKHVSOO.js} +15 -15
  101. package/dist/cli/{sessions-Z4JYJSDP.js → sessions-R3OEINAR.js} +6 -6
  102. package/dist/cli/{sessions-QGEQ2UYZ.mjs → sessions-R75LBGIL.mjs} +5 -5
  103. package/dist/cli/{settings-G7QEXA4N.mjs → settings-I3AQZSYG.mjs} +12 -11
  104. package/dist/cli/{settings-UVXXAT4A.js → settings-MQIHAEZN.js} +79 -78
  105. package/dist/cli/{setup-QHJU3DUI.mjs → setup-2YA5MYMS.mjs} +10 -9
  106. package/dist/cli/{setup-5I42W7D4.js → setup-X3QRJERP.js} +50 -49
  107. package/dist/cli/{skills-5LRF4UKX.mjs → skills-7252FOOI.mjs} +8 -7
  108. package/dist/cli/skills-BPZWMZSL.js +37 -0
  109. package/dist/cli/tools-F7RVQ3IK.js +57 -0
  110. package/dist/cli/{tools-PUT6STVG.mjs → tools-SKQTSVGE.mjs} +17 -16
  111. package/dist/cli/{update-CJ2GA64X.mjs → update-GNBBSKTB.mjs} +10 -9
  112. package/dist/cli/update-TLSY6LC2.js +35 -0
  113. package/dist/cli/{workflow-HVEWRTXD.mjs → workflow-OJSAL5FO.mjs} +7 -7
  114. package/dist/cli/{workflow-O67MEBCP.js → workflow-QB7YYWPP.js} +17 -17
  115. package/dist/{client-CIwenMFS.d.ts → client-B3GSaSFn.d.ts} +1 -1
  116. package/dist/{client-DYAfJpaN.d.mts → client-DEJg0CZn.d.mts} +1 -1
  117. package/dist/{client-core-DlzP8vEs.d.mts → client-core-C404E33V.d.mts} +5 -0
  118. package/dist/{client-core-CRjtyMAI.d.ts → client-core-GQmy3N8y.d.ts} +5 -0
  119. package/dist/index.d.mts +3 -3
  120. package/dist/index.d.ts +3 -3
  121. package/dist/index.js +9 -9
  122. package/dist/index.mjs +6 -6
  123. package/dist/install-integrity.json +107 -104
  124. package/dist/plays/play-description.d.mts +1 -1
  125. package/dist/plays/play-description.d.ts +1 -1
  126. package/dist/plays/run-request.d.mts +1 -1
  127. package/dist/plays/run-request.d.ts +1 -1
  128. package/dist/release.d.mts +1 -1
  129. package/dist/release.d.ts +1 -1
  130. package/dist/release.js +2 -2
  131. package/dist/release.mjs +1 -1
  132. package/dist/server.d.mts +2 -2
  133. package/dist/server.d.ts +2 -2
  134. package/dist/server.js +5 -5
  135. package/dist/server.mjs +3 -3
  136. package/package.json +1 -1
  137. package/dist/cli/auth-UPK4IIIN.js +0 -43
  138. package/dist/cli/describe-OYS7LZJD.js +0 -49
  139. package/dist/cli/git-5YQJSJFR.js +0 -25
  140. package/dist/cli/search-R5VEWJO2.js +0 -32
  141. package/dist/cli/skills-FB6TV52O.js +0 -36
  142. package/dist/cli/tools-L2364RPA.js +0 -56
  143. package/dist/cli/update-ESYJGYVZ.js +0 -34
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkSMSQVRHEjs = require('./chunk-SMSQVRHE.js');
3
+ var _chunkIDAE5VDHjs = require('./chunk-IDAE5VDH.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk7P2QVMBPjs = require('./chunk-7P2QVMBP.js');
7
+ var _chunkBWAYMJ23js = require('./chunk-BWAYMJ23.js');
8
8
  require('./chunk-E4CABWXL.js');
9
9
  require('./chunk-RNSHCJME.js');
10
10
  require('./chunk-NMU3VR5U.js');
@@ -13,28 +13,29 @@ require('./chunk-WSGXBROE.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkA6LA42JYjs = require('./chunk-A6LA42JY.js');
17
- require('./chunk-6SMR7LU7.js');
18
- require('./chunk-GRAGUYIE.js');
19
- require('./chunk-WZSFIJMG.js');
20
- require('./chunk-MJTK6Q3G.js');
16
+ var _chunkHASFFOSUjs = require('./chunk-HASFFOSU.js');
17
+ require('./chunk-JSTKLYYD.js');
18
+ require('./chunk-Y52XY56V.js');
19
+ require('./chunk-MHZAG2ZQ.js');
20
+ require('./chunk-WPCF7C6B.js');
21
+ require('./chunk-QYGYVCRI.js');
21
22
 
22
23
 
23
24
 
24
- var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
25
- require('./chunk-WBIDPDKJ.js');
26
- require('./chunk-UJMBG5JU.js');
25
+ var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
26
+ require('./chunk-ZLN2B5YA.js');
27
+ require('./chunk-SPN7U3MV.js');
27
28
  require('./chunk-ALJJRZNJ.js');
28
29
  require('./chunk-XNYIZMNQ.js');
29
30
  require('./chunk-DIAWYWT5.js');
30
- require('./chunk-6JNBMTCZ.js');
31
+ require('./chunk-XHPB6RGY.js');
31
32
  require('./chunk-OG64RBAC.js');
32
33
  require('./chunk-RLX5ZFNX.js');
33
34
  require('./chunk-COGTRVWW.js');
34
35
 
35
36
  // src/cli/commands/settings.ts
36
37
  var _fs = require('fs');
37
- var eventHelp = _chunk7P2QVMBPjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
38
+ var eventHelp = _chunkBWAYMJ23js.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
38
39
  (event) => ` ${event.id.padEnd(28)} ${event.description}`
39
40
  ).join("\n");
40
41
  function slackDestination(settings) {
@@ -46,7 +47,7 @@ function slackDestination(settings) {
46
47
  archivedAt: typeof entry.archivedAt === "number" ? entry.archivedAt : void 0
47
48
  })
48
49
  );
49
- return _chunk7P2QVMBPjs.resolveLegacySlackNotification.call(void 0, destinations);
50
+ return _chunkBWAYMJ23js.resolveLegacySlackNotification.call(void 0, destinations);
50
51
  }
51
52
  function eventLines(settings, destinationId) {
52
53
  const enabled = new Map(
@@ -68,10 +69,10 @@ function requireCatalogEvent(settings, eventType) {
68
69
  return event;
69
70
  }
70
71
  async function printSettings(options) {
71
- const settings = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationSettings();
72
+ const settings = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationSettings();
72
73
  const slack = slackDestination(settings);
73
74
  const destinationId = typeof _optionalChain([slack, 'optionalAccess', _ => _._id]) === "string" ? slack._id : void 0;
74
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
75
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
75
76
  {
76
77
  settings,
77
78
  render: {
@@ -126,8 +127,8 @@ Automatic updates are enabled by default. Turning them on clears an existing
126
127
  version pin. Pinning installs and holds one exact pin-aware CLI version.
127
128
  `
128
129
  ).option("--json", "Emit JSON output").action((options) => {
129
- const preferences = _chunkA6LA42JYjs.readCliUpdatePreferences.call(void 0, );
130
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
130
+ const preferences = _chunkHASFFOSUjs.readCliUpdatePreferences.call(void 0, );
131
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
131
132
  {
132
133
  autoUpdateEnabled: preferences.autoUpdateEnabled,
133
134
  pinnedVersion: preferences.pinnedVersion,
@@ -150,8 +151,8 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
150
151
  autoupdate.command(enabled ? "on" : "off").description(
151
152
  enabled ? "Enable automatic CLI updates and clear any version pin." : "Disable automatic CLI updates."
152
153
  ).option("--json", "Emit JSON output").action((options) => {
153
- const preferences = _chunkA6LA42JYjs.setCliAutoUpdateEnabled.call(void 0, enabled);
154
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
154
+ const preferences = _chunkHASFFOSUjs.setCliAutoUpdateEnabled.call(void 0, enabled);
155
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
155
156
  {
156
157
  ok: true,
157
158
  autoUpdateEnabled: preferences.autoUpdateEnabled,
@@ -172,7 +173,7 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
172
173
  });
173
174
  }
174
175
  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) => {
175
- process.exitCode = await _chunkA6LA42JYjs.runUpdateCommand.call(void 0, {
176
+ process.exitCode = await _chunkHASFFOSUjs.runUpdateCommand.call(void 0, {
176
177
  pin: version,
177
178
  json: options.json,
178
179
  executeWithJson: true
@@ -200,15 +201,15 @@ notifications; there is no general integrations CLI.
200
201
  if (destination !== "slack")
201
202
  throw new Error("Only slack is supported.");
202
203
  if (options.dryRun) {
203
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
204
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
204
205
  { dryRun: true, destination, action: "start_oauth" },
205
206
  { json: options.json }
206
207
  );
207
208
  return;
208
209
  }
209
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().connectNotificationSlack();
210
- const browser = options.open ? _chunkQKKU2FH4js.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
211
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
210
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().connectNotificationSlack();
211
+ const browser = options.open ? _chunkEMUFF6EUjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
212
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
212
213
  {
213
214
  ...result,
214
215
  browser,
@@ -232,10 +233,10 @@ notifications; there is no general integrations CLI.
232
233
  }
233
234
  );
234
235
  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) => {
235
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().listNotificationSlackChannels(
236
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().listNotificationSlackChannels(
236
237
  options.query
237
238
  );
238
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
239
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
239
240
  {
240
241
  ...result,
241
242
  render: {
@@ -261,14 +262,14 @@ notifications; there is no general integrations CLI.
261
262
  }
262
263
  const target = options.memberId ? { memberId: options.memberId } : options.channel;
263
264
  if (options.dryRun) {
264
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
265
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
265
266
  { dryRun: true, destination, target },
266
267
  { json: options.json }
267
268
  );
268
269
  return;
269
270
  }
270
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().setNotificationSlack(target);
271
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
271
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().setNotificationSlack(target);
272
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
272
273
  {
273
274
  ok: true,
274
275
  result,
@@ -294,14 +295,14 @@ notifications; there is no general integrations CLI.
294
295
  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) => {
295
296
  if (destination !== "slack") throw new Error("Only slack is supported.");
296
297
  if (options.dryRun) {
297
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
298
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
298
299
  { dryRun: true, destination, action: "send_test_ping" },
299
300
  { json: options.json }
300
301
  );
301
302
  return;
302
303
  }
303
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().testNotificationSlack();
304
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
304
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().testNotificationSlack();
305
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
305
306
  {
306
307
  ...result,
307
308
  render: {
@@ -314,14 +315,14 @@ notifications; there is no general integrations CLI.
314
315
  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) => {
315
316
  if (destination !== "slack") throw new Error("Only slack is supported.");
316
317
  if (options.dryRun) {
317
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
318
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
318
319
  { dryRun: true, destination, action: "disable" },
319
320
  { json: options.json }
320
321
  );
321
322
  return;
322
323
  }
323
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().disableNotificationSlack();
324
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
324
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().disableNotificationSlack();
325
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
325
326
  {
326
327
  ok: true,
327
328
  result,
@@ -340,10 +341,10 @@ ${eventHelp}
340
341
  `
341
342
  );
342
343
  subscriptions.command("list").description("List every supported event and its current state.").option("--json", "Emit JSON output").action(async (options) => {
343
- const current = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationSettings();
344
+ const current = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationSettings();
344
345
  const destination = slackDestination(current);
345
346
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _2 => _2._id]) === "string" ? destination._id : void 0;
346
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
347
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
347
348
  {
348
349
  catalog: current.catalog,
349
350
  subscriptions: current.subscriptions,
@@ -360,14 +361,14 @@ ${eventHelp}
360
361
  );
361
362
  });
362
363
  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) => {
363
- const current = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationSettings();
364
+ const current = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationSettings();
364
365
  const event = requireCatalogEvent(current, eventType);
365
366
  const destination = slackDestination(current);
366
367
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _3 => _3._id]) === "string" ? destination._id : void 0;
367
368
  const subscription = current.subscriptions.find(
368
369
  (entry) => entry.eventType === event.id && (!destinationId || entry.destinationId === destinationId)
369
370
  );
370
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
371
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
371
372
  {
372
373
  event,
373
374
  enabled: _optionalChain([subscription, 'optionalAccess', _4 => _4.enabled]) === true,
@@ -388,11 +389,11 @@ ${eventHelp}
388
389
  });
389
390
  for (const enabled of [true, false]) {
390
391
  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) => {
391
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
392
+ const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
392
393
  const current = await client.getNotificationSettings();
393
394
  const event = requireCatalogEvent(current, eventType);
394
395
  if (options.dryRun) {
395
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
396
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
396
397
  { dryRun: true, event, enabled },
397
398
  { json: options.json }
398
399
  );
@@ -402,7 +403,7 @@ ${eventHelp}
402
403
  [event.id],
403
404
  enabled
404
405
  );
405
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
406
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
406
407
  {
407
408
  ok: true,
408
409
  event: event.id,
@@ -423,11 +424,11 @@ ${eventHelp}
423
424
  }
424
425
  const dlq = notifications.command("dlq").description("Inspect and explicitly resolve inert failed deliveries.");
425
426
  dlq.command("list").option("--limit <count>", "Maximum deliveries", "25").option("--json", "Emit JSON output").action(async (options) => {
426
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().listNotificationDlq(
427
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().listNotificationDlq(
427
428
  Number(options.limit)
428
429
  );
429
430
  const deliveries = _nullishCoalesce(result.deliveries, () => ( []));
430
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
431
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
431
432
  {
432
433
  ...result,
433
434
  render: {
@@ -445,10 +446,10 @@ ${eventHelp}
445
446
  );
446
447
  });
447
448
  dlq.command("get").argument("<delivery-id>").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
448
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationDlqDelivery(
449
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationDlqDelivery(
449
450
  deliveryId
450
451
  );
451
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result, {
452
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, result, {
452
453
  json: options.json
453
454
  });
454
455
  });
@@ -457,17 +458,17 @@ ${eventHelp}
457
458
  `${action === "retry" ? "Replay once from attempt zero" : "Archive"} one delivery.`
458
459
  ).argument("<delivery-id>").option("--dry-run", "Describe the mutation without changing state").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
459
460
  if (options.dryRun) {
460
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
461
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
461
462
  { dryRun: true, action, deliveryId },
462
463
  { json: options.json }
463
464
  );
464
465
  return;
465
466
  }
466
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().updateNotificationDlqDelivery(
467
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().updateNotificationDlqDelivery(
467
468
  deliveryId,
468
469
  action
469
470
  );
470
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
471
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
471
472
  { ok: true, action, deliveryId, result },
472
473
  { json: options.json }
473
474
  );
@@ -568,8 +569,8 @@ Examples:
568
569
  `
569
570
  );
570
571
  configuration.command("get").description("Show the effective group-based notification configuration.").option("--json", "Emit JSON output").action(async (options) => {
571
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationConfiguration();
572
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
572
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationConfiguration();
573
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
573
574
  {
574
575
  ...result,
575
576
  render: {
@@ -594,21 +595,21 @@ Examples:
594
595
  ).option("--dry-run", "Validate and display the file without saving it").option("--json", "Emit JSON output").action(async (file, options) => {
595
596
  const input = await readNotificationConfigurationChange(file);
596
597
  if (options.dryRun) {
597
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
598
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
598
599
  { dryRun: true, ...input },
599
600
  { json: options.json }
600
601
  );
601
602
  return;
602
603
  }
603
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().changeNotificationConfiguration(
604
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().changeNotificationConfiguration(
604
605
  input.expectedWorkspaceVersion,
605
606
  input.change
606
607
  );
607
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result, { json: options.json });
608
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, result, { json: options.json });
608
609
  });
609
610
  notifications.command("events").description("List the Play events available to a notification.").option("--json", "Emit JSON output").action(async (options) => {
610
- const settings = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotifications();
611
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
611
+ const settings = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotifications();
612
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
612
613
  {
613
614
  events: settings.catalog,
614
615
  render: {
@@ -626,9 +627,9 @@ Examples:
626
627
  );
627
628
  });
628
629
  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) => {
629
- const settings = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotifications();
630
+ const settings = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotifications();
630
631
  const rules = _nullishCoalesce(settings.notifications, () => ( []));
631
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
632
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
632
633
  {
633
634
  notifications: options.compact ? rules.map((rule) => ({
634
635
  id: rule.id,
@@ -656,10 +657,10 @@ Examples:
656
657
  });
657
658
  notifications.command("get").argument("<name>", "Notification name or ID").description("Show one named notification.").option("--json", "Emit JSON output").action(async (name, options) => {
658
659
  const rule = notificationByName(
659
- await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotifications(),
660
+ await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotifications(),
660
661
  name
661
662
  );
662
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
663
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
663
664
  });
664
665
  notifications.command("add").argument("<name>", "Group name, for example oncall").requiredOption(
665
666
  "--to <target>",
@@ -673,14 +674,14 @@ Examples:
673
674
  []
674
675
  ).option("--dry-run", "Describe the notification without saving it").option("--json", "Emit JSON output").action(
675
676
  async (name, options) => {
676
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().createNotificationGroup({
677
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().createNotificationGroup({
677
678
  name,
678
679
  targets: options.to,
679
680
  legacyEvents: options.for,
680
681
  dryRun: options.dryRun
681
682
  });
682
683
  if (result.mode === "dry_run") {
683
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
684
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
684
685
  result.compatibilityMode ? {
685
686
  dryRun: true,
686
687
  name: result.name,
@@ -697,7 +698,7 @@ Examples:
697
698
  return;
698
699
  }
699
700
  if (result.mode === "legacy") {
700
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
701
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
701
702
  {
702
703
  notification: result.notification,
703
704
  render: {
@@ -719,7 +720,7 @@ Examples:
719
720
  );
720
721
  return;
721
722
  }
722
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
723
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
723
724
  {
724
725
  ...result,
725
726
  render: {
@@ -755,12 +756,12 @@ Examples:
755
756
  []
756
757
  ).option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(
757
758
  async (name, options) => {
758
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
759
+ const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
759
760
  const rule = notificationByName(await client.getNotifications(), name);
760
761
  const target = options.to ? parseSlackTarget(options.to) : rule.target.kind === "member" ? { memberId: rule.target.id } : { channel: rule.target.name };
761
762
  const eventTypes = options.for.length ? options.for : rule.eventTypes;
762
763
  if (options.dryRun) {
763
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
764
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
764
765
  { dryRun: true, notification: rule.id, target, eventTypes },
765
766
  { json: options.json }
766
767
  );
@@ -771,15 +772,15 @@ Examples:
771
772
  ...target,
772
773
  eventTypes
773
774
  });
774
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
775
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
775
776
  }
776
777
  );
777
778
  const slack = notifications.command("slack").description("Select a channel from the connected Slack integration.");
778
779
  slack.command("channels").option("--search <text>", "Filter channel names").option("--json", "Emit JSON output").action(async (options) => {
779
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().listNotificationChannels(
780
+ const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().listNotificationChannels(
780
781
  options.search
781
782
  );
782
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
783
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
783
784
  {
784
785
  ...result,
785
786
  render: {
@@ -799,31 +800,31 @@ Examples:
799
800
  ["resume", true]
800
801
  ]) {
801
802
  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) => {
802
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
803
+ const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
803
804
  const rule = notificationByName(await client.getNotifications(), name);
804
805
  if (options.dryRun) {
805
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
806
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
806
807
  { dryRun: true, notification: rule.id, enabled },
807
808
  { json: options.json }
808
809
  );
809
810
  return;
810
811
  }
811
812
  const result = await client.updateNotification(rule.id, { enabled });
812
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
813
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
813
814
  });
814
815
  }
815
816
  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) => {
816
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
817
+ const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
817
818
  const rule = notificationByName(await client.getNotifications(), name);
818
819
  if (options.dryRun) {
819
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
820
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
820
821
  { dryRun: true, notification: rule.id, action: "send_test" },
821
822
  { json: options.json }
822
823
  );
823
824
  return;
824
825
  }
825
826
  const result = await client.testNotification(rule.id);
826
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
827
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
827
828
  { ...result, notification: rule.name },
828
829
  { json: options.json }
829
830
  );
@@ -831,17 +832,17 @@ Examples:
831
832
  notifications.command("delete").argument("<name>", "Notification name or ID").description(
832
833
  "Archive one notification without touching its provider integration."
833
834
  ).option("--dry-run", "Describe the deletion without changing state").option("--json", "Emit JSON output").action(async (name, options) => {
834
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
835
+ const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
835
836
  const rule = notificationByName(await client.getNotifications(), name);
836
837
  if (options.dryRun) {
837
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
838
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
838
839
  { dryRun: true, notification: rule.id, action: "archive" },
839
840
  { json: options.json }
840
841
  );
841
842
  return;
842
843
  }
843
844
  const result = await client.deleteNotification(rule.id);
844
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
845
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
845
846
  { ...result, notification: rule.name },
846
847
  { json: options.json }
847
848
  );
@@ -7,24 +7,25 @@ import {
7
7
  readPendingAuthClaim,
8
8
  reportApprovalLinkShown,
9
9
  reportSetupCompleted
10
- } from "./chunk-HUX5DZO6.mjs";
10
+ } from "./chunk-7DDKLFOY.mjs";
11
11
  import {
12
12
  npmSupportsAllowScripts,
13
13
  readNpmVersion
14
- } from "./chunk-SVFTZTCI.mjs";
14
+ } from "./chunk-CSLLQWAB.mjs";
15
15
  import {
16
16
  deeplineGtmSkillRoots,
17
17
  runSkillsCommand,
18
18
  skillsStatePathForScope
19
- } from "./chunk-GGBXNQCR.mjs";
19
+ } from "./chunk-IZYOYXG7.mjs";
20
20
  import {
21
21
  resolveShellSpawn
22
- } from "./chunk-XHZSPMNC.mjs";
23
- import "./chunk-DEAJVQEG.mjs";
22
+ } from "./chunk-ACI6CUDX.mjs";
23
+ import "./chunk-QGNNAZ5M.mjs";
24
+ import "./chunk-FIQ5UEIF.mjs";
24
25
  import {
25
26
  openInBrowser,
26
27
  printCommandEnvelope
27
- } from "./chunk-3MLFFWDM.mjs";
28
+ } from "./chunk-PZN24YQQ.mjs";
28
29
  import {
29
30
  autoDetectBaseUrl,
30
31
  baseUrlSlug,
@@ -33,14 +34,14 @@ import {
33
34
  resolveProjectApiKeyForBaseUrl,
34
35
  resolveProjectPinTarget,
35
36
  sdkCliStateDirPath
36
- } from "./chunk-Y6XKCEPK.mjs";
37
+ } from "./chunk-SHKRL7CW.mjs";
37
38
  import {
38
39
  SDK_VERSION
39
- } from "./chunk-YOQ2NNDO.mjs";
40
+ } from "./chunk-7AD565DO.mjs";
40
41
  import "./chunk-4QF2K7TM.mjs";
41
42
  import "./chunk-DLIRSHV6.mjs";
42
43
  import "./chunk-HBL4PM5Q.mjs";
43
- import "./chunk-7F4OEHQK.mjs";
44
+ import "./chunk-6U3AGJWI.mjs";
44
45
  import "./chunk-WZYKRD7T.mjs";
45
46
  import {
46
47
  DEEPLINE_GTM_SKILL,