deepline 0.3.505 → 0.3.506

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 (162) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +121 -5
  2. package/dist/bundling-sources/sdk/src/index.ts +3 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +2 -0
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +176 -0
  6. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +17 -0
  7. package/dist/bundling-sources/shared_libs/monitors/fleets/overview.ts +118 -0
  8. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +29 -1
  9. package/dist/bundling-sources/shared_libs/monitors/legacy-radar-retirement.ts +29 -10
  10. package/dist/bundling-sources/shared_libs/monitors/package.json +4 -0
  11. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +8 -8
  12. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +52 -5
  13. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +48 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +13 -40
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +36 -3
  16. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-egress.ts +55 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +66 -0
  18. package/dist/cli/auth-MMHG2OFE.js +43 -0
  19. package/dist/cli/{auth-AHE2EDQA.mjs → auth-ZHFONT2D.mjs} +5 -5
  20. package/dist/cli/{billing-JOIZPHON.js → billing-3Z7N4WTL.js} +101 -91
  21. package/dist/cli/{billing-7CPWTGGI.mjs → billing-B2YEMNHE.mjs} +27 -17
  22. package/dist/cli/{chunk-CA3SYXCS.js → chunk-26DJ4BDY.js} +2 -2
  23. package/dist/cli/{chunk-PZN24YQQ.mjs → chunk-2CFTDVEP.mjs} +2 -2
  24. package/dist/cli/{chunk-OMEDQ77C.mjs → chunk-2IXXB7OA.mjs} +5 -5
  25. package/dist/cli/{chunk-XHPB6RGY.js → chunk-2OY5DXTC.js} +1 -1
  26. package/dist/cli/{chunk-CSLLQWAB.mjs → chunk-3BFZEHBH.mjs} +1 -1
  27. package/dist/cli/{chunk-3YEOOXD4.js → chunk-3F676QXJ.js} +11 -11
  28. package/dist/cli/{chunk-WTQLUULB.js → chunk-5ARG7J7A.js} +6 -6
  29. package/dist/cli/{chunk-NARJWXBR.mjs → chunk-6RYVIZRP.mjs} +2 -2
  30. package/dist/cli/{chunk-EMUFF6EU.js → chunk-75NAFY36.js} +7 -7
  31. package/dist/cli/{chunk-BWAYMJ23.js → chunk-AD2WJUZA.js} +91 -48
  32. package/dist/cli/{chunk-JVKEZT7L.mjs → chunk-AFSYNOG4.mjs} +22 -1
  33. package/dist/cli/{chunk-OA6U5NVB.mjs → chunk-BJ5OX62J.mjs} +5 -5
  34. package/dist/cli/{chunk-7DDKLFOY.mjs → chunk-BQBPVUFJ.mjs} +3 -3
  35. package/dist/cli/{chunk-UZ24SF7N.mjs → chunk-CHGRURBN.mjs} +5 -5
  36. package/dist/cli/{chunk-JA7YBRP4.mjs → chunk-D7OCORZ7.mjs} +1 -1
  37. package/dist/cli/{chunk-IDAE5VDH.js → chunk-DB54ROPH.js} +5 -5
  38. package/dist/cli/{chunk-GAUNJCXQ.js → chunk-E554XCJI.js} +96 -96
  39. package/dist/cli/{chunk-IZYOYXG7.mjs → chunk-EN7GXLFX.mjs} +4 -4
  40. package/dist/cli/{chunk-7QLK2GHL.js → chunk-F53SGS3C.js} +5 -5
  41. package/dist/cli/{chunk-JSTKLYYD.js → chunk-F7IQQYKV.js} +2 -2
  42. package/dist/cli/{chunk-FIQ5UEIF.mjs → chunk-FFGQR5J3.mjs} +2 -2
  43. package/dist/cli/{chunk-SPN7U3MV.js → chunk-FWSEGIT6.js} +4 -4
  44. package/dist/cli/{chunk-K26YOPDO.js → chunk-GDHLL5EQ.js} +22 -1
  45. package/dist/cli/{chunk-ACI6CUDX.mjs → chunk-GJNIC2CO.mjs} +78 -45
  46. package/dist/cli/{chunk-QYGYVCRI.js → chunk-GRESJ3H3.js} +14 -14
  47. package/dist/cli/{chunk-MHZAG2ZQ.js → chunk-HINTYT5H.js} +93 -60
  48. package/dist/cli/{chunk-HASFFOSU.js → chunk-LRSRJJPD.js} +16 -16
  49. package/dist/cli/{chunk-ZLN2B5YA.js → chunk-MHRR47VQ.js} +3 -3
  50. package/dist/cli/{chunk-6FEN6VWZ.js → chunk-N7G36GXB.js} +26 -26
  51. package/dist/cli/{chunk-MAFZ64RN.mjs → chunk-ND4WPLTE.mjs} +2 -2
  52. package/dist/cli/{chunk-5XT4DZQL.mjs → chunk-O4DZG4VA.mjs} +2 -2
  53. package/dist/cli/{chunk-OORPAQVC.js → chunk-OD6TASBP.js} +8 -8
  54. package/dist/cli/{chunk-Y52XY56V.js → chunk-OHNMJ5XQ.js} +41 -41
  55. package/dist/cli/{chunk-4OFSAZN6.mjs → chunk-ONBXTEFQ.mjs} +46 -3
  56. package/dist/cli/{chunk-6U3AGJWI.mjs → chunk-OPBXKB57.mjs} +1 -1
  57. package/dist/cli/{chunk-W6I4N4JN.mjs → chunk-OUGJUM5X.mjs} +6 -6
  58. package/dist/cli/{chunk-VXKWF3AD.js → chunk-PRIHD5XS.js} +9 -9
  59. package/dist/cli/{chunk-RT3HJBIH.mjs → chunk-QAY5AS2H.mjs} +10 -10
  60. package/dist/cli/{chunk-GXMNOUHP.js → chunk-QP333GFE.js} +7 -7
  61. package/dist/cli/{chunk-7DDACLMX.js → chunk-SUJIVF6L.js} +16 -16
  62. package/dist/cli/{chunk-QGNNAZ5M.mjs → chunk-TEMORCEE.mjs} +1 -1
  63. package/dist/cli/{chunk-7AD565DO.mjs → chunk-TS4KFQKS.mjs} +1 -1
  64. package/dist/cli/{chunk-YBIVVAL7.mjs → chunk-XUY7WQ2R.mjs} +3 -3
  65. package/dist/cli/{chunk-PDLOPF5L.mjs → chunk-YEX6RPUO.mjs} +1 -1
  66. package/dist/cli/{chunk-WPCF7C6B.js → chunk-YJKKOSXS.js} +3 -3
  67. package/dist/cli/{chunk-SHKRL7CW.mjs → chunk-YVOS5KSG.mjs} +1 -1
  68. package/dist/cli/{chunk-52FPW2RD.mjs → chunk-YWZEBPXK.mjs} +2 -2
  69. package/dist/cli/{chunk-WTUC5VKB.mjs → chunk-Z7EHY2MF.mjs} +2 -2
  70. package/dist/cli/{chunk-LC4FG34E.js → chunk-ZM5BJ5MP.js} +53 -53
  71. package/dist/cli/{chunk-45XYW477.js → chunk-ZZDTWVCQ.js} +21 -21
  72. package/dist/cli/command-docs.js +2 -2
  73. package/dist/cli/command-docs.mjs +1 -1
  74. package/dist/cli/{csv-DZHVIW3G.js → csv-7K7LK63Y.js} +13 -13
  75. package/dist/cli/{csv-WTPI6ZON.mjs → csv-ARHQ54HA.mjs} +4 -4
  76. package/dist/cli/{db-NR4PJ6AF.mjs → db-JBX24NJY.mjs} +6 -6
  77. package/dist/cli/{db-D7LPPNCC.js → db-V4Z2I6DY.js} +27 -27
  78. package/dist/cli/describe-AYXVS6DZ.js +50 -0
  79. package/dist/cli/{describe-NCKAJPUG.mjs → describe-RBDSGSZ7.mjs} +18 -18
  80. package/dist/cli/describe-core.d.mts +3 -3
  81. package/dist/cli/describe-core.d.ts +3 -3
  82. package/dist/cli/{executions-RQVJ4LAB.mjs → executions-BAZEU63W.mjs} +6 -6
  83. package/dist/cli/{executions-UQG6LWEN.js → executions-XEZKV5QU.js} +8 -8
  84. package/dist/cli/{feedback-TCHA67IA.js → feedback-LOERESRU.js} +8 -8
  85. package/dist/cli/{feedback-RD4Y3YQR.mjs → feedback-YDSWBHCO.mjs} +4 -4
  86. package/dist/cli/{git-Z7434B7Y.mjs → git-4Z3W2CQU.mjs} +5 -5
  87. package/dist/cli/git-T6WKO7EA.js +25 -0
  88. package/dist/cli/index.js +145 -149
  89. package/dist/cli/index.mjs +46 -50
  90. package/dist/cli/{legacy-noops-23WRA7DH.js → legacy-noops-4QIQPVE5.js} +8 -8
  91. package/dist/cli/{legacy-noops-LQJU4UIV.mjs → legacy-noops-E4HH7S5O.mjs} +5 -5
  92. package/dist/cli/{monitors-Z6VYUZ2W.mjs → monitors-FPDW5DDM.mjs} +305 -8
  93. package/dist/cli/{monitors-KOWN7M3V.js → monitors-QBHDSDA7.js} +423 -126
  94. package/dist/cli/{org-2T5K2VP5.js → org-JO4GGSAH.js} +72 -72
  95. package/dist/cli/{org-UBNRO5XO.mjs → org-UCDHIHAD.mjs} +6 -6
  96. package/dist/cli/{pages-GHPJBVV3.mjs → pages-6V52IZXY.mjs} +6 -6
  97. package/dist/cli/{pages-SRXTU7XO.js → pages-FJAAXAWO.js} +18 -18
  98. package/dist/cli/{play-2HMZ57EZ.js → play-F3AENS6W.js} +317 -317
  99. package/dist/cli/{play-HRQKGTXA.mjs → play-MF4DWROJ.mjs} +18 -18
  100. package/dist/cli/{providers-JWJRFRR5.mjs → providers-NJJLTECA.mjs} +6 -6
  101. package/dist/cli/{providers-P5O676MZ.js → providers-XXOQLPX7.js} +9 -9
  102. package/dist/cli/{quickstart-YCY72TAO.js → quickstart-JCE3XGQG.js} +6 -6
  103. package/dist/cli/{quickstart-S7NZUQRO.mjs → quickstart-Z5MSMI7S.mjs} +4 -4
  104. package/dist/cli/{run-QWMRIUIU.mjs → run-56UGPIRL.mjs} +23 -23
  105. package/dist/cli/{run-MHLLGF4G.js → run-X2DNIW3F.js} +41 -41
  106. package/dist/cli/search-B753RTKC.js +33 -0
  107. package/dist/cli/{search-4BFTQUEP.mjs → search-SZYI4NBB.mjs} +8 -8
  108. package/dist/cli/{search-output-62LBVZHN.js → search-output-7UNT6EMP.js} +6 -6
  109. package/dist/cli/{search-output-LIYHDTBP.mjs → search-output-T35QNZUF.mjs} +4 -4
  110. package/dist/cli/{secrets-KKKHVSOO.js → secrets-JMUAVIVC.js} +15 -15
  111. package/dist/cli/{secrets-GW27V77E.mjs → secrets-Q36VC35L.mjs} +6 -6
  112. package/dist/cli/{sessions-R75LBGIL.mjs → sessions-HG6I3HMY.mjs} +5 -5
  113. package/dist/cli/{sessions-R3OEINAR.js → sessions-SUXU7OM7.js} +6 -6
  114. package/dist/cli/{settings-MQIHAEZN.js → settings-UIELQ5CV.js} +106 -79
  115. package/dist/cli/{settings-I3AQZSYG.mjs → settings-Z76XW4KF.mjs} +39 -12
  116. package/dist/cli/{setup-X3QRJERP.js → setup-2L7H5P2O.js} +50 -50
  117. package/dist/cli/{setup-2YA5MYMS.mjs → setup-OXNYAOQ4.mjs} +10 -10
  118. package/dist/cli/skills-DEVXYGYH.js +37 -0
  119. package/dist/cli/{skills-7252FOOI.mjs → skills-XSNLXJGI.mjs} +8 -8
  120. package/dist/cli/tools-SCGHABDL.js +57 -0
  121. package/dist/cli/{tools-SKQTSVGE.mjs → tools-SUSFAYFH.mjs} +17 -17
  122. package/dist/cli/update-BSIILGO3.js +35 -0
  123. package/dist/cli/{update-GNBBSKTB.mjs → update-ENSTG3QO.mjs} +10 -10
  124. package/dist/cli/{workflow-QB7YYWPP.js → workflow-FMBZNY4F.js} +17 -17
  125. package/dist/cli/{workflow-OJSAL5FO.mjs → workflow-Z33QE6VT.mjs} +7 -7
  126. package/dist/{client-DEJg0CZn.d.mts → client-BDbouy3Y.d.mts} +1 -1
  127. package/dist/{client-B3GSaSFn.d.ts → client-Cx0420fs.d.ts} +1 -1
  128. package/dist/{client-core-GQmy3N8y.d.ts → client-core-B4hq0-m2.d.ts} +51 -4
  129. package/dist/{client-core-C404E33V.d.mts → client-core-CwiVaMZ5.d.mts} +51 -4
  130. package/dist/{compiler-manifest-DaJrA2KV.d.mts → compiler-manifest-BeURaD5Y.d.mts} +2 -0
  131. package/dist/{compiler-manifest-DaJrA2KV.d.ts → compiler-manifest-BeURaD5Y.d.ts} +2 -0
  132. package/dist/{errors-KLga4bLr.d.ts → errors-BoPXPrSy.d.ts} +1 -1
  133. package/dist/{errors-BKnSYueU.d.mts → errors-kBuT4kGK.d.mts} +1 -1
  134. package/dist/{index-C5nAZ-VS.d.ts → index-D0crdGM1.d.ts} +1 -1
  135. package/dist/{index-C-8AFpWy.d.mts → index-DC7oRAAC.d.mts} +1 -1
  136. package/dist/index.d.mts +7 -7
  137. package/dist/index.d.ts +7 -7
  138. package/dist/index.js +9 -9
  139. package/dist/index.mjs +6 -6
  140. package/dist/install-integrity.json +115 -112
  141. package/dist/plays/bundle-play-file.d.mts +3 -3
  142. package/dist/plays/bundle-play-file.d.ts +3 -3
  143. package/dist/plays/play-description.d.mts +2 -2
  144. package/dist/plays/play-description.d.ts +2 -2
  145. package/dist/plays/run-request.d.mts +2 -2
  146. package/dist/plays/run-request.d.ts +2 -2
  147. package/dist/release.d.mts +1 -1
  148. package/dist/release.d.ts +1 -1
  149. package/dist/release.js +2 -2
  150. package/dist/release.mjs +1 -1
  151. package/dist/server.d.mts +4 -4
  152. package/dist/server.d.ts +4 -4
  153. package/dist/server.js +5 -5
  154. package/dist/server.mjs +3 -3
  155. package/package.json +1 -1
  156. package/dist/cli/auth-SEPKNRHV.js +0 -43
  157. package/dist/cli/describe-HVQBTKFM.js +0 -50
  158. package/dist/cli/git-TUB2ZUEH.js +0 -25
  159. package/dist/cli/search-QPUHOEIL.js +0 -33
  160. package/dist/cli/skills-BPZWMZSL.js +0 -37
  161. package/dist/cli/tools-F7RVQ3IK.js +0 -57
  162. package/dist/cli/update-TLSY6LC2.js +0 -35
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkIDAE5VDHjs = require('./chunk-IDAE5VDH.js');
3
+ var _chunkDB54ROPHjs = require('./chunk-DB54ROPH.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkBWAYMJ23js = require('./chunk-BWAYMJ23.js');
7
+ var _chunkAD2WJUZAjs = require('./chunk-AD2WJUZA.js');
8
8
  require('./chunk-E4CABWXL.js');
9
9
  require('./chunk-RNSHCJME.js');
10
10
  require('./chunk-NMU3VR5U.js');
@@ -13,29 +13,33 @@ require('./chunk-WSGXBROE.js');
13
13
 
14
14
 
15
15
 
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');
16
+ var _chunkLRSRJJPDjs = require('./chunk-LRSRJJPD.js');
17
+ require('./chunk-F7IQQYKV.js');
18
+ require('./chunk-OHNMJ5XQ.js');
22
19
 
23
20
 
24
21
 
25
- var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
26
- require('./chunk-ZLN2B5YA.js');
27
- require('./chunk-SPN7U3MV.js');
22
+ var _chunkHINTYT5Hjs = require('./chunk-HINTYT5H.js');
23
+ require('./chunk-YJKKOSXS.js');
24
+ require('./chunk-GRESJ3H3.js');
25
+
26
+
27
+
28
+ var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
29
+ require('./chunk-MHRR47VQ.js');
30
+ require('./chunk-FWSEGIT6.js');
28
31
  require('./chunk-ALJJRZNJ.js');
29
32
  require('./chunk-XNYIZMNQ.js');
30
33
  require('./chunk-DIAWYWT5.js');
31
- require('./chunk-XHPB6RGY.js');
34
+ require('./chunk-2OY5DXTC.js');
32
35
  require('./chunk-OG64RBAC.js');
33
36
  require('./chunk-RLX5ZFNX.js');
34
37
  require('./chunk-COGTRVWW.js');
35
38
 
36
39
  // src/cli/commands/settings.ts
40
+ var _commander = require('commander');
37
41
  var _fs = require('fs');
38
- var eventHelp = _chunkBWAYMJ23js.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
42
+ var eventHelp = _chunkAD2WJUZAjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
39
43
  (event) => ` ${event.id.padEnd(28)} ${event.description}`
40
44
  ).join("\n");
41
45
  function slackDestination(settings) {
@@ -47,7 +51,7 @@ function slackDestination(settings) {
47
51
  archivedAt: typeof entry.archivedAt === "number" ? entry.archivedAt : void 0
48
52
  })
49
53
  );
50
- return _chunkBWAYMJ23js.resolveLegacySlackNotification.call(void 0, destinations);
54
+ return _chunkAD2WJUZAjs.resolveLegacySlackNotification.call(void 0, destinations);
51
55
  }
52
56
  function eventLines(settings, destinationId) {
53
57
  const enabled = new Map(
@@ -69,10 +73,10 @@ function requireCatalogEvent(settings, eventType) {
69
73
  return event;
70
74
  }
71
75
  async function printSettings(options) {
72
- const settings = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationSettings();
76
+ const settings = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getNotificationSettings();
73
77
  const slack = slackDestination(settings);
74
78
  const destinationId = typeof _optionalChain([slack, 'optionalAccess', _ => _._id]) === "string" ? slack._id : void 0;
75
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
79
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
76
80
  {
77
81
  settings,
78
82
  render: {
@@ -127,8 +131,8 @@ Automatic updates are enabled by default. Turning them on clears an existing
127
131
  version pin. Pinning installs and holds one exact pin-aware CLI version.
128
132
  `
129
133
  ).option("--json", "Emit JSON output").action((options) => {
130
- const preferences = _chunkHASFFOSUjs.readCliUpdatePreferences.call(void 0, );
131
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
134
+ const preferences = _chunkLRSRJJPDjs.readCliUpdatePreferences.call(void 0, );
135
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
132
136
  {
133
137
  autoUpdateEnabled: preferences.autoUpdateEnabled,
134
138
  pinnedVersion: preferences.pinnedVersion,
@@ -151,8 +155,8 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
151
155
  autoupdate.command(enabled ? "on" : "off").description(
152
156
  enabled ? "Enable automatic CLI updates and clear any version pin." : "Disable automatic CLI updates."
153
157
  ).option("--json", "Emit JSON output").action((options) => {
154
- const preferences = _chunkHASFFOSUjs.setCliAutoUpdateEnabled.call(void 0, enabled);
155
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
158
+ const preferences = _chunkLRSRJJPDjs.setCliAutoUpdateEnabled.call(void 0, enabled);
159
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
156
160
  {
157
161
  ok: true,
158
162
  autoUpdateEnabled: preferences.autoUpdateEnabled,
@@ -173,12 +177,35 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
173
177
  });
174
178
  }
175
179
  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) => {
176
- process.exitCode = await _chunkHASFFOSUjs.runUpdateCommand.call(void 0, {
180
+ process.exitCode = await _chunkLRSRJJPDjs.runUpdateCommand.call(void 0, {
177
181
  pin: version,
178
182
  json: options.json,
179
183
  executeWithJson: true
180
184
  });
181
185
  });
186
+ settings.command("skills-sync").description("Configure automatic skill syncing on this machine.").addArgument(new (0, _commander.Argument)("[mode]").choices(["on", "off"])).option("--dry-run", "Show the requested setting without saving it").option("--json", "Emit JSON output").action((mode, options) => {
187
+ const autoSkillsSyncEnabled = mode === void 0 ? _chunkHINTYT5Hjs.isCliSkillsSyncEnabled.call(void 0, ) : mode === "on";
188
+ if (mode !== void 0 && !options.dryRun) {
189
+ _chunkHINTYT5Hjs.setCliSkillsSyncEnabled.call(void 0, autoSkillsSyncEnabled);
190
+ }
191
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
192
+ {
193
+ autoSkillsSyncEnabled,
194
+ ...options.dryRun ? { dryRun: true } : {},
195
+ render: {
196
+ sections: [
197
+ {
198
+ title: "automatic skill sync",
199
+ lines: [
200
+ `${options.dryRun && mode !== void 0 ? "would set" : "status"}: ${autoSkillsSyncEnabled ? "on" : "off"}`
201
+ ]
202
+ }
203
+ ]
204
+ }
205
+ },
206
+ { json: options.json }
207
+ );
208
+ });
182
209
  const notifications = settings.command("notifications").description(
183
210
  "Configure Deepline product notifications and delivery safety."
184
211
  ).addHelpText(
@@ -201,15 +228,15 @@ notifications; there is no general integrations CLI.
201
228
  if (destination !== "slack")
202
229
  throw new Error("Only slack is supported.");
203
230
  if (options.dryRun) {
204
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
231
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
205
232
  { dryRun: true, destination, action: "start_oauth" },
206
233
  { json: options.json }
207
234
  );
208
235
  return;
209
236
  }
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,
237
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().connectNotificationSlack();
238
+ const browser = options.open ? _chunk75NAFY36js.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
239
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
213
240
  {
214
241
  ...result,
215
242
  browser,
@@ -233,10 +260,10 @@ notifications; there is no general integrations CLI.
233
260
  }
234
261
  );
235
262
  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) => {
236
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().listNotificationSlackChannels(
263
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().listNotificationSlackChannels(
237
264
  options.query
238
265
  );
239
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
266
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
240
267
  {
241
268
  ...result,
242
269
  render: {
@@ -262,14 +289,14 @@ notifications; there is no general integrations CLI.
262
289
  }
263
290
  const target = options.memberId ? { memberId: options.memberId } : options.channel;
264
291
  if (options.dryRun) {
265
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
292
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
266
293
  { dryRun: true, destination, target },
267
294
  { json: options.json }
268
295
  );
269
296
  return;
270
297
  }
271
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().setNotificationSlack(target);
272
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
298
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().setNotificationSlack(target);
299
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
273
300
  {
274
301
  ok: true,
275
302
  result,
@@ -295,14 +322,14 @@ notifications; there is no general integrations CLI.
295
322
  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) => {
296
323
  if (destination !== "slack") throw new Error("Only slack is supported.");
297
324
  if (options.dryRun) {
298
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
325
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
299
326
  { dryRun: true, destination, action: "send_test_ping" },
300
327
  { json: options.json }
301
328
  );
302
329
  return;
303
330
  }
304
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().testNotificationSlack();
305
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
331
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().testNotificationSlack();
332
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
306
333
  {
307
334
  ...result,
308
335
  render: {
@@ -315,14 +342,14 @@ notifications; there is no general integrations CLI.
315
342
  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) => {
316
343
  if (destination !== "slack") throw new Error("Only slack is supported.");
317
344
  if (options.dryRun) {
318
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
345
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
319
346
  { dryRun: true, destination, action: "disable" },
320
347
  { json: options.json }
321
348
  );
322
349
  return;
323
350
  }
324
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().disableNotificationSlack();
325
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
351
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().disableNotificationSlack();
352
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
326
353
  {
327
354
  ok: true,
328
355
  result,
@@ -341,10 +368,10 @@ ${eventHelp}
341
368
  `
342
369
  );
343
370
  subscriptions.command("list").description("List every supported event and its current state.").option("--json", "Emit JSON output").action(async (options) => {
344
- const current = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationSettings();
371
+ const current = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getNotificationSettings();
345
372
  const destination = slackDestination(current);
346
373
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _2 => _2._id]) === "string" ? destination._id : void 0;
347
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
374
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
348
375
  {
349
376
  catalog: current.catalog,
350
377
  subscriptions: current.subscriptions,
@@ -361,14 +388,14 @@ ${eventHelp}
361
388
  );
362
389
  });
363
390
  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) => {
364
- const current = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationSettings();
391
+ const current = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getNotificationSettings();
365
392
  const event = requireCatalogEvent(current, eventType);
366
393
  const destination = slackDestination(current);
367
394
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _3 => _3._id]) === "string" ? destination._id : void 0;
368
395
  const subscription = current.subscriptions.find(
369
396
  (entry) => entry.eventType === event.id && (!destinationId || entry.destinationId === destinationId)
370
397
  );
371
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
398
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
372
399
  {
373
400
  event,
374
401
  enabled: _optionalChain([subscription, 'optionalAccess', _4 => _4.enabled]) === true,
@@ -389,11 +416,11 @@ ${eventHelp}
389
416
  });
390
417
  for (const enabled of [true, false]) {
391
418
  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) => {
392
- const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
419
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
393
420
  const current = await client.getNotificationSettings();
394
421
  const event = requireCatalogEvent(current, eventType);
395
422
  if (options.dryRun) {
396
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
423
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
397
424
  { dryRun: true, event, enabled },
398
425
  { json: options.json }
399
426
  );
@@ -403,7 +430,7 @@ ${eventHelp}
403
430
  [event.id],
404
431
  enabled
405
432
  );
406
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
433
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
407
434
  {
408
435
  ok: true,
409
436
  event: event.id,
@@ -424,11 +451,11 @@ ${eventHelp}
424
451
  }
425
452
  const dlq = notifications.command("dlq").description("Inspect and explicitly resolve inert failed deliveries.");
426
453
  dlq.command("list").option("--limit <count>", "Maximum deliveries", "25").option("--json", "Emit JSON output").action(async (options) => {
427
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().listNotificationDlq(
454
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().listNotificationDlq(
428
455
  Number(options.limit)
429
456
  );
430
457
  const deliveries = _nullishCoalesce(result.deliveries, () => ( []));
431
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
458
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
432
459
  {
433
460
  ...result,
434
461
  render: {
@@ -446,10 +473,10 @@ ${eventHelp}
446
473
  );
447
474
  });
448
475
  dlq.command("get").argument("<delivery-id>").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
449
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationDlqDelivery(
476
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getNotificationDlqDelivery(
450
477
  deliveryId
451
478
  );
452
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, result, {
479
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, result, {
453
480
  json: options.json
454
481
  });
455
482
  });
@@ -458,17 +485,17 @@ ${eventHelp}
458
485
  `${action === "retry" ? "Replay once from attempt zero" : "Archive"} one delivery.`
459
486
  ).argument("<delivery-id>").option("--dry-run", "Describe the mutation without changing state").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
460
487
  if (options.dryRun) {
461
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
488
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
462
489
  { dryRun: true, action, deliveryId },
463
490
  { json: options.json }
464
491
  );
465
492
  return;
466
493
  }
467
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().updateNotificationDlqDelivery(
494
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().updateNotificationDlqDelivery(
468
495
  deliveryId,
469
496
  action
470
497
  );
471
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
498
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
472
499
  { ok: true, action, deliveryId, result },
473
500
  { json: options.json }
474
501
  );
@@ -569,8 +596,8 @@ Examples:
569
596
  `
570
597
  );
571
598
  configuration.command("get").description("Show the effective group-based notification configuration.").option("--json", "Emit JSON output").action(async (options) => {
572
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotificationConfiguration();
573
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
599
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getNotificationConfiguration();
600
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
574
601
  {
575
602
  ...result,
576
603
  render: {
@@ -595,21 +622,21 @@ Examples:
595
622
  ).option("--dry-run", "Validate and display the file without saving it").option("--json", "Emit JSON output").action(async (file, options) => {
596
623
  const input = await readNotificationConfigurationChange(file);
597
624
  if (options.dryRun) {
598
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
625
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
599
626
  { dryRun: true, ...input },
600
627
  { json: options.json }
601
628
  );
602
629
  return;
603
630
  }
604
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().changeNotificationConfiguration(
631
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().changeNotificationConfiguration(
605
632
  input.expectedWorkspaceVersion,
606
633
  input.change
607
634
  );
608
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, result, { json: options.json });
635
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, result, { json: options.json });
609
636
  });
610
637
  notifications.command("events").description("List the Play events available to a notification.").option("--json", "Emit JSON output").action(async (options) => {
611
- const settings = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotifications();
612
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
638
+ const settings = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getNotifications();
639
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
613
640
  {
614
641
  events: settings.catalog,
615
642
  render: {
@@ -627,9 +654,9 @@ Examples:
627
654
  );
628
655
  });
629
656
  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) => {
630
- const settings = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotifications();
657
+ const settings = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getNotifications();
631
658
  const rules = _nullishCoalesce(settings.notifications, () => ( []));
632
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
659
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
633
660
  {
634
661
  notifications: options.compact ? rules.map((rule) => ({
635
662
  id: rule.id,
@@ -657,10 +684,10 @@ Examples:
657
684
  });
658
685
  notifications.command("get").argument("<name>", "Notification name or ID").description("Show one named notification.").option("--json", "Emit JSON output").action(async (name, options) => {
659
686
  const rule = notificationByName(
660
- await new (0, _chunkIDAE5VDHjs.DeeplineClient)().getNotifications(),
687
+ await new (0, _chunkDB54ROPHjs.DeeplineClient)().getNotifications(),
661
688
  name
662
689
  );
663
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
690
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
664
691
  });
665
692
  notifications.command("add").argument("<name>", "Group name, for example oncall").requiredOption(
666
693
  "--to <target>",
@@ -674,14 +701,14 @@ Examples:
674
701
  []
675
702
  ).option("--dry-run", "Describe the notification without saving it").option("--json", "Emit JSON output").action(
676
703
  async (name, options) => {
677
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().createNotificationGroup({
704
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().createNotificationGroup({
678
705
  name,
679
706
  targets: options.to,
680
707
  legacyEvents: options.for,
681
708
  dryRun: options.dryRun
682
709
  });
683
710
  if (result.mode === "dry_run") {
684
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
711
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
685
712
  result.compatibilityMode ? {
686
713
  dryRun: true,
687
714
  name: result.name,
@@ -698,7 +725,7 @@ Examples:
698
725
  return;
699
726
  }
700
727
  if (result.mode === "legacy") {
701
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
728
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
702
729
  {
703
730
  notification: result.notification,
704
731
  render: {
@@ -720,7 +747,7 @@ Examples:
720
747
  );
721
748
  return;
722
749
  }
723
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
750
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
724
751
  {
725
752
  ...result,
726
753
  render: {
@@ -756,12 +783,12 @@ Examples:
756
783
  []
757
784
  ).option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(
758
785
  async (name, options) => {
759
- const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
786
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
760
787
  const rule = notificationByName(await client.getNotifications(), name);
761
788
  const target = options.to ? parseSlackTarget(options.to) : rule.target.kind === "member" ? { memberId: rule.target.id } : { channel: rule.target.name };
762
789
  const eventTypes = options.for.length ? options.for : rule.eventTypes;
763
790
  if (options.dryRun) {
764
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
791
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
765
792
  { dryRun: true, notification: rule.id, target, eventTypes },
766
793
  { json: options.json }
767
794
  );
@@ -772,15 +799,15 @@ Examples:
772
799
  ...target,
773
800
  eventTypes
774
801
  });
775
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
802
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
776
803
  }
777
804
  );
778
805
  const slack = notifications.command("slack").description("Select a channel from the connected Slack integration.");
779
806
  slack.command("channels").option("--search <text>", "Filter channel names").option("--json", "Emit JSON output").action(async (options) => {
780
- const result = await new (0, _chunkIDAE5VDHjs.DeeplineClient)().listNotificationChannels(
807
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().listNotificationChannels(
781
808
  options.search
782
809
  );
783
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
810
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
784
811
  {
785
812
  ...result,
786
813
  render: {
@@ -800,31 +827,31 @@ Examples:
800
827
  ["resume", true]
801
828
  ]) {
802
829
  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) => {
803
- const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
830
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
804
831
  const rule = notificationByName(await client.getNotifications(), name);
805
832
  if (options.dryRun) {
806
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
833
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
807
834
  { dryRun: true, notification: rule.id, enabled },
808
835
  { json: options.json }
809
836
  );
810
837
  return;
811
838
  }
812
839
  const result = await client.updateNotification(rule.id, { enabled });
813
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
840
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
814
841
  });
815
842
  }
816
843
  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) => {
817
- const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
844
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
818
845
  const rule = notificationByName(await client.getNotifications(), name);
819
846
  if (options.dryRun) {
820
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
847
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
821
848
  { dryRun: true, notification: rule.id, action: "send_test" },
822
849
  { json: options.json }
823
850
  );
824
851
  return;
825
852
  }
826
853
  const result = await client.testNotification(rule.id);
827
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
854
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
828
855
  { ...result, notification: rule.name },
829
856
  { json: options.json }
830
857
  );
@@ -832,17 +859,17 @@ Examples:
832
859
  notifications.command("delete").argument("<name>", "Notification name or ID").description(
833
860
  "Archive one notification without touching its provider integration."
834
861
  ).option("--dry-run", "Describe the deletion without changing state").option("--json", "Emit JSON output").action(async (name, options) => {
835
- const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
862
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
836
863
  const rule = notificationByName(await client.getNotifications(), name);
837
864
  if (options.dryRun) {
838
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
865
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
839
866
  { dryRun: true, notification: rule.id, action: "archive" },
840
867
  { json: options.json }
841
868
  );
842
869
  return;
843
870
  }
844
871
  const result = await client.deleteNotification(rule.id);
845
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
872
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
846
873
  { ...result, notification: rule.name },
847
874
  { json: options.json }
848
875
  );
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-52FPW2RD.mjs";
3
+ } from "./chunk-YWZEBPXK.mjs";
4
4
  import {
5
5
  PRODUCT_NOTIFICATION_EVENT_CATALOG,
6
6
  resolveLegacySlackNotification
7
- } from "./chunk-4OFSAZN6.mjs";
7
+ } from "./chunk-ONBXTEFQ.mjs";
8
8
  import "./chunk-L2VKAASU.mjs";
9
9
  import "./chunk-N4TR6QRI.mjs";
10
10
  import "./chunk-S3A4IXBQ.mjs";
@@ -13,27 +13,31 @@ import {
13
13
  readCliUpdatePreferences,
14
14
  runUpdateCommand,
15
15
  setCliAutoUpdateEnabled
16
- } from "./chunk-OA6U5NVB.mjs";
17
- import "./chunk-CSLLQWAB.mjs";
18
- import "./chunk-IZYOYXG7.mjs";
19
- import "./chunk-ACI6CUDX.mjs";
20
- import "./chunk-QGNNAZ5M.mjs";
21
- import "./chunk-FIQ5UEIF.mjs";
16
+ } from "./chunk-BJ5OX62J.mjs";
17
+ import "./chunk-3BFZEHBH.mjs";
18
+ import "./chunk-EN7GXLFX.mjs";
19
+ import {
20
+ isCliSkillsSyncEnabled,
21
+ setCliSkillsSyncEnabled
22
+ } from "./chunk-GJNIC2CO.mjs";
23
+ import "./chunk-TEMORCEE.mjs";
24
+ import "./chunk-FFGQR5J3.mjs";
22
25
  import {
23
26
  openInBrowser,
24
27
  printCommandEnvelope
25
- } from "./chunk-PZN24YQQ.mjs";
26
- import "./chunk-SHKRL7CW.mjs";
27
- import "./chunk-7AD565DO.mjs";
28
+ } from "./chunk-2CFTDVEP.mjs";
29
+ import "./chunk-YVOS5KSG.mjs";
30
+ import "./chunk-TS4KFQKS.mjs";
28
31
  import "./chunk-4QF2K7TM.mjs";
29
32
  import "./chunk-DLIRSHV6.mjs";
30
33
  import "./chunk-HBL4PM5Q.mjs";
31
- import "./chunk-6U3AGJWI.mjs";
34
+ import "./chunk-OPBXKB57.mjs";
32
35
  import "./chunk-WZYKRD7T.mjs";
33
36
  import "./chunk-5JPKRDFC.mjs";
34
37
  import "./chunk-KRD6H754.mjs";
35
38
 
36
39
  // src/cli/commands/settings.ts
40
+ import { Argument } from "commander";
37
41
  import { readFileSync } from "fs";
38
42
  var eventHelp = PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
39
43
  (event) => ` ${event.id.padEnd(28)} ${event.description}`
@@ -179,6 +183,29 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
179
183
  executeWithJson: true
180
184
  });
181
185
  });
186
+ settings.command("skills-sync").description("Configure automatic skill syncing on this machine.").addArgument(new Argument("[mode]").choices(["on", "off"])).option("--dry-run", "Show the requested setting without saving it").option("--json", "Emit JSON output").action((mode, options) => {
187
+ const autoSkillsSyncEnabled = mode === void 0 ? isCliSkillsSyncEnabled() : mode === "on";
188
+ if (mode !== void 0 && !options.dryRun) {
189
+ setCliSkillsSyncEnabled(autoSkillsSyncEnabled);
190
+ }
191
+ printCommandEnvelope(
192
+ {
193
+ autoSkillsSyncEnabled,
194
+ ...options.dryRun ? { dryRun: true } : {},
195
+ render: {
196
+ sections: [
197
+ {
198
+ title: "automatic skill sync",
199
+ lines: [
200
+ `${options.dryRun && mode !== void 0 ? "would set" : "status"}: ${autoSkillsSyncEnabled ? "on" : "off"}`
201
+ ]
202
+ }
203
+ ]
204
+ }
205
+ },
206
+ { json: options.json }
207
+ );
208
+ });
182
209
  const notifications = settings.command("notifications").description(
183
210
  "Configure Deepline product notifications and delivery safety."
184
211
  ).addHelpText(