deepline 0.3.563 → 0.3.565

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 (161) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +51 -0
  2. package/dist/bundling-sources/sdk/src/connector-sync.ts +241 -0
  3. package/dist/bundling-sources/sdk/src/index.ts +10 -0
  4. package/dist/bundling-sources/sdk/src/integrations.ts +7 -0
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/plays/extension-bridge.ts +8 -0
  7. package/dist/cli/auth-AN2KCWG2.js +44 -0
  8. package/dist/cli/{auth-3YES4ACM.mjs → auth-YKIUCQ2Q.mjs} +5 -5
  9. package/dist/cli/{billing-NZ2NCOQS.mjs → billing-HK23QHAA.mjs} +9 -9
  10. package/dist/cli/{billing-L2GDKBXK.js → billing-NIGAUQJF.js} +102 -102
  11. package/dist/cli/{chunk-UMJWODG7.mjs → chunk-2US3VJXX.mjs} +1 -1
  12. package/dist/cli/{chunk-HST5XA3B.mjs → chunk-4ENCU2BI.mjs} +2 -2
  13. package/dist/cli/{chunk-T2RNEBV7.js → chunk-4VKDPTHF.js} +4 -4
  14. package/dist/cli/{chunk-TX5PQ7KP.js → chunk-5HV2CNXA.js} +10 -10
  15. package/dist/cli/{chunk-V4KKZGLT.js → chunk-6HCJQ23O.js} +23 -23
  16. package/dist/cli/{chunk-JVXHVEWX.mjs → chunk-A3EI3A3Q.mjs} +5 -5
  17. package/dist/cli/{chunk-YDXFVE4V.mjs → chunk-AAOXS3XM.mjs} +152 -2
  18. package/dist/cli/{chunk-L5QJRMFJ.mjs → chunk-AH2CBDQJ.mjs} +2 -2
  19. package/dist/cli/{chunk-NCGDBNNF.mjs → chunk-B2FQZ7P4.mjs} +2 -2
  20. package/dist/cli/{chunk-QGIHGITM.js → chunk-B4FBMREO.js} +3 -3
  21. package/dist/cli/{chunk-UUEVGLGO.mjs → chunk-BCEXSQPK.mjs} +1 -1
  22. package/dist/cli/{chunk-VYY6HNOC.js → chunk-BDNVUPDX.js} +2 -2
  23. package/dist/cli/{search-output-FRRT574G.js → chunk-C5IA2OYE.js} +2 -199
  24. package/dist/cli/{chunk-K77ANXGU.js → chunk-E73BRM5N.js} +13 -13
  25. package/dist/cli/{chunk-MGOCWY7J.js → chunk-EPQIA32E.js} +100 -100
  26. package/dist/cli/{chunk-XWGWVLQQ.mjs → chunk-EXOC3TLA.mjs} +4 -4
  27. package/dist/cli/{chunk-BP2XRVBA.mjs → chunk-F4ZLUDKW.mjs} +5 -5
  28. package/dist/cli/{chunk-QOLFZD6Q.js → chunk-FEWBYUUF.js} +2 -2
  29. package/dist/cli/{chunk-ERT4ZMZT.js → chunk-FWH6QYTE.js} +5 -5
  30. package/dist/cli/{chunk-LIO7CPM3.js → chunk-FXRSHBRP.js} +159 -9
  31. package/dist/cli/{chunk-DA24O3ZV.js → chunk-GE62FFN6.js} +3 -3
  32. package/dist/cli/{chunk-RP2LCS7G.mjs → chunk-GTX2RMQG.mjs} +11 -11
  33. package/dist/cli/{chunk-G5CY6KI2.js → chunk-H3NH5RJ6.js} +41 -41
  34. package/dist/cli/{chunk-AYNDNXBJ.mjs → chunk-H4LHB6ES.mjs} +1 -1
  35. package/dist/cli/{chunk-XTSQ3ZV5.mjs → chunk-IFZA4IGI.mjs} +2 -2
  36. package/dist/cli/{chunk-NTRTFEI4.js → chunk-IKA37N6Y.js} +26 -26
  37. package/dist/cli/{chunk-U77PK5R3.js → chunk-J5QAOURJ.js} +20 -20
  38. package/dist/cli/{chunk-GVRVZQBY.mjs → chunk-JLXLCD6F.mjs} +2 -2
  39. package/dist/cli/{chunk-O3NLECXL.mjs → chunk-K6RPKBD7.mjs} +1 -1
  40. package/dist/cli/{chunk-VACBPVIR.mjs → chunk-KOMEYB7H.mjs} +104 -0
  41. package/dist/cli/{chunk-2MAP42AM.mjs → chunk-LHL6VWJE.mjs} +1 -1
  42. package/dist/cli/{chunk-XDZZCRUG.mjs → chunk-LKVWMLWI.mjs} +1 -1
  43. package/dist/cli/{chunk-K5FNC4VL.mjs → chunk-LOV5JGWO.mjs} +2 -2
  44. package/dist/cli/{search-output-O7FYSGYQ.mjs → chunk-MI5Q5FOD.mjs} +1 -198
  45. package/dist/cli/{chunk-IICHFEFE.js → chunk-NH3LVGVR.js} +5 -5
  46. package/dist/cli/{chunk-ZX3UZCWC.mjs → chunk-NOSGGCJ3.mjs} +1 -1
  47. package/dist/cli/{chunk-5CNHEUGJ.js → chunk-OEVCKW2M.js} +104 -0
  48. package/dist/cli/{chunk-SJ2LY4V5.js → chunk-OIDETCX2.js} +20 -20
  49. package/dist/cli/{chunk-H3UIWEXF.js → chunk-P6BVT2OW.js} +2 -2
  50. package/dist/cli/{chunk-QGNITJYC.js → chunk-PQEWFVJ3.js} +15 -15
  51. package/dist/cli/{chunk-L5O7MWRZ.mjs → chunk-RULYYQB4.mjs} +5 -5
  52. package/dist/cli/{chunk-6LPMQPSQ.mjs → chunk-SEWLXJHM.mjs} +2 -2
  53. package/dist/cli/{chunk-2UW5A57I.js → chunk-SL3IRGAW.js} +9 -9
  54. package/dist/cli/{chunk-FCRBXLIJ.js → chunk-TCJZQRX6.js} +12 -12
  55. package/dist/cli/{chunk-POGS26GF.mjs → chunk-U7F4ODVQ.mjs} +1 -1
  56. package/dist/cli/{chunk-6UHRBEDV.mjs → chunk-UTQ6LQWG.mjs} +3 -3
  57. package/dist/cli/{chunk-NS56OQUQ.js → chunk-UWMK5DLS.js} +1 -1
  58. package/dist/cli/{chunk-6U7CIG3C.mjs → chunk-V2TC2ARE.mjs} +4 -4
  59. package/dist/cli/{chunk-OZC6SSOB.js → chunk-WPVJV23H.js} +7 -7
  60. package/dist/cli/{chunk-DVWFK676.js → chunk-XNOUOO6G.js} +6 -6
  61. package/dist/cli/{chunk-XY5DE4TK.mjs → chunk-YD5BBYS2.mjs} +5 -5
  62. package/dist/cli/{chunk-H2N324LF.mjs → chunk-YGVLCJNY.mjs} +3 -3
  63. package/dist/cli/{chunk-DFCBNTVQ.mjs → chunk-YIKEVZUQ.mjs} +2 -2
  64. package/dist/cli/{chunk-4MPLA5RD.js → chunk-ZEKRYFMN.js} +48 -48
  65. package/dist/cli/{chunk-CH7OVBBJ.js → chunk-ZIKVPGYC.js} +5 -5
  66. package/dist/cli/{chunk-4KHRPJOW.js → chunk-ZTHMJ4SK.js} +53 -53
  67. package/dist/cli/command-docs.js +2 -2
  68. package/dist/cli/command-docs.mjs +1 -1
  69. package/dist/cli/concurrent-runs-help-SKAAESKY.js +22 -0
  70. package/dist/cli/{concurrent-runs-help-VEZX3RK4.mjs → concurrent-runs-help-WD2EUKO7.mjs} +6 -6
  71. package/dist/cli/{csv-RJBNLD23.mjs → csv-RM3FOTS5.mjs} +4 -4
  72. package/dist/cli/{csv-W5C4JCYL.js → csv-UI63ZOMD.js} +13 -13
  73. package/dist/cli/{db-VVGP2KCM.mjs → db-RIJBJCT7.mjs} +6 -6
  74. package/dist/cli/{db-GYCRUH4V.js → db-V5SWE3WN.js} +27 -27
  75. package/dist/cli/{describe-HZW272Y6.mjs → describe-HZC4GOLO.mjs} +18 -18
  76. package/dist/cli/describe-RRWLYUQS.js +50 -0
  77. package/dist/cli/describe-core.d.mts +2 -2
  78. package/dist/cli/describe-core.d.ts +2 -2
  79. package/dist/cli/{executions-D37NX6CD.js → executions-2Q23JJSI.js} +8 -8
  80. package/dist/cli/{executions-N4ZA4ZD5.mjs → executions-XRH267DY.mjs} +6 -6
  81. package/dist/cli/{feedback-W6CY6UBA.js → feedback-BEHH4KGB.js} +14 -14
  82. package/dist/cli/{feedback-4PB4ACBV.mjs → feedback-Y5MWMTQ2.mjs} +6 -6
  83. package/dist/cli/{git-WHIEYIVM.mjs → git-644DZQKA.mjs} +5 -5
  84. package/dist/cli/git-OEHB7UQH.js +26 -0
  85. package/dist/cli/index.js +147 -147
  86. package/dist/cli/index.mjs +46 -46
  87. package/dist/cli/integrations-ILXWYGTO.js +284 -0
  88. package/dist/cli/integrations-PMXZ7V6Y.mjs +284 -0
  89. package/dist/cli/{legacy-noops-PJNDUOWG.js → legacy-noops-USLUHQWW.js} +9 -9
  90. package/dist/cli/{legacy-noops-YYX2W2WX.mjs → legacy-noops-YUG2HVGQ.mjs} +6 -6
  91. package/dist/cli/{mcp-APKPI24N.js → mcp-DFLBEEWG.js} +24 -24
  92. package/dist/cli/{mcp-T32DPP4D.mjs → mcp-X63UPZS7.mjs} +4 -4
  93. package/dist/cli/{monitors-BY4DJFCF.js → monitors-POG6YUZ4.js} +100 -100
  94. package/dist/cli/{monitors-DTJD3IUI.mjs → monitors-QGI7QH4K.mjs} +7 -7
  95. package/dist/cli/{org-2GMHKAQK.js → org-E3NIDN32.js} +121 -121
  96. package/dist/cli/{org-GQYIJBKO.mjs → org-VAJL4BCS.mjs} +6 -6
  97. package/dist/cli/{outcomes-3ASEQLIF.mjs → outcomes-FOE35FHM.mjs} +6 -6
  98. package/dist/cli/{outcomes-4XY4F57P.js → outcomes-SCQFFBXS.js} +14 -14
  99. package/dist/cli/{play-EX7PB6CI.mjs → play-7N4Z2LEH.mjs} +19 -19
  100. package/dist/cli/{play-2LDJMIG2.js → play-BGK7PDXO.js} +324 -324
  101. package/dist/cli/{providers-GAERKWYW.mjs → providers-KDI3B22S.mjs} +6 -6
  102. package/dist/cli/{providers-IDIFP5PU.js → providers-OK2ES375.js} +9 -9
  103. package/dist/cli/{quickstart-7NL5YAJF.js → quickstart-HOHFIFVW.js} +6 -6
  104. package/dist/cli/{quickstart-E2GCIGR4.mjs → quickstart-LHJF7YCP.mjs} +4 -4
  105. package/dist/cli/{run-2EPOAEJ5.mjs → run-BQIDPU5J.mjs} +23 -23
  106. package/dist/cli/{run-3CEY5JF3.js → run-K45RGJP4.js} +44 -44
  107. package/dist/cli/{search-TYRKGVKB.mjs → search-PD3OAWO3.mjs} +7 -7
  108. package/dist/cli/search-QCFLRPCX.js +32 -0
  109. package/dist/cli/search-output-FVT2FPUN.mjs +205 -0
  110. package/dist/cli/search-output-P2JVWNCK.js +205 -0
  111. package/dist/cli/{secrets-5YL7RU2B.mjs → secrets-4MCBJUGL.mjs} +6 -6
  112. package/dist/cli/{secrets-5W2ZF2JB.js → secrets-LDCXYN33.js} +15 -15
  113. package/dist/cli/{sessions-VWENSY3G.mjs → sessions-36VI33IL.mjs} +6 -6
  114. package/dist/cli/sessions-WTQ6QNAU.js +23 -0
  115. package/dist/cli/{settings-JQOMJTOC.js → settings-3J4FUQPF.js} +85 -85
  116. package/dist/cli/{settings-W6FCYDJC.mjs → settings-D6L7S4ZC.mjs} +12 -12
  117. package/dist/cli/{setup-DJIVQUBT.js → setup-L6VH3OR4.js} +49 -49
  118. package/dist/cli/{setup-3JUQWZTS.mjs → setup-PBQ773AV.mjs} +9 -9
  119. package/dist/cli/skills-PENWR7KI.js +37 -0
  120. package/dist/cli/{skills-7JTWCFL3.mjs → skills-ZRTREJY2.mjs} +7 -7
  121. package/dist/cli/{tools-DRR3KDV2.mjs → tools-OAHCQUQB.mjs} +17 -17
  122. package/dist/cli/tools-TIN7MRLX.js +57 -0
  123. package/dist/cli/update-4TIZS6WV.js +37 -0
  124. package/dist/cli/{update-KL43AZPW.mjs → update-ZM4LSW5L.mjs} +9 -9
  125. package/dist/cli/{views-HX4GM53H.js → views-F4MEME43.js} +21 -21
  126. package/dist/cli/{views-FFTXTJ7U.mjs → views-W6PVUSE3.mjs} +6 -6
  127. package/dist/cli/{workflow-R2K6CH2X.js → workflow-37V7F5I4.js} +17 -17
  128. package/dist/cli/{workflow-QO7BRZLM.mjs → workflow-7E2QYAIY.mjs} +7 -7
  129. package/dist/{client-CnphYDTe.d.mts → client-B5cSKEi4.d.mts} +1 -1
  130. package/dist/{client-core-DQOTt3yV.d.mts → client-core-BP19BoBb.d.mts} +107 -2
  131. package/dist/{client-core-Yad6-K7-.d.ts → client-core-Deqov12F.d.ts} +107 -2
  132. package/dist/{client-BSxuaObS.d.ts → client-vUZGmXT9.d.ts} +1 -1
  133. package/dist/index.d.mts +3 -3
  134. package/dist/index.d.ts +3 -3
  135. package/dist/index.js +9 -9
  136. package/dist/index.mjs +6 -6
  137. package/dist/install-integrity.json +121 -118
  138. package/dist/plays/play-description.d.mts +1 -1
  139. package/dist/plays/play-description.d.ts +1 -1
  140. package/dist/plays/run-request.d.mts +1 -1
  141. package/dist/plays/run-request.d.ts +1 -1
  142. package/dist/release.d.mts +1 -1
  143. package/dist/release.d.ts +1 -1
  144. package/dist/release.js +2 -2
  145. package/dist/release.mjs +1 -1
  146. package/dist/server.d.mts +2 -2
  147. package/dist/server.d.ts +2 -2
  148. package/dist/server.js +5 -5
  149. package/dist/server.mjs +3 -3
  150. package/package.json +1 -1
  151. package/dist/cli/auth-UC22BJN2.js +0 -44
  152. package/dist/cli/concurrent-runs-help-NMNGH7QN.js +0 -22
  153. package/dist/cli/describe-HJ564FPP.js +0 -50
  154. package/dist/cli/git-LMRN2YR5.js +0 -26
  155. package/dist/cli/integrations-ASNRHKLO.mjs +0 -129
  156. package/dist/cli/integrations-HXY5DR6D.js +0 -129
  157. package/dist/cli/search-ILJXFKNF.js +0 -32
  158. package/dist/cli/sessions-YMXBFVB3.js +0 -23
  159. package/dist/cli/skills-T36PD3IA.js +0 -37
  160. package/dist/cli/tools-X53FZHIC.js +0 -57
  161. package/dist/cli/update-BISEE3LC.js +0 -37
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  usesInlinePlayAdmission
4
- } from "./chunk-HST5XA3B.mjs";
4
+ } from "./chunk-4ENCU2BI.mjs";
5
5
  import {
6
6
  feedbackSendRestriction
7
- } from "./chunk-UUEVGLGO.mjs";
7
+ } from "./chunk-BCEXSQPK.mjs";
8
8
  import {
9
9
  beginToolExecuteCommand,
10
10
  compatibilityCatalog,
@@ -13,17 +13,17 @@ import {
13
13
  maybeAutoUpdateAndRelaunch,
14
14
  runDeferredAutoUpdate,
15
15
  runToolExecuteStage
16
- } from "./chunk-L5O7MWRZ.mjs";
16
+ } from "./chunk-RULYYQB4.mjs";
17
17
  import {
18
18
  isCliTraceEnabled,
19
19
  parseCliMaintenancePolicy,
20
20
  recordCliTrace,
21
21
  resolveCliMaintenancePolicy,
22
22
  traceCliSpan
23
- } from "./chunk-ZX3UZCWC.mjs";
24
- import "./chunk-JVXHVEWX.mjs";
25
- import "./chunk-POGS26GF.mjs";
26
- import "./chunk-6U7CIG3C.mjs";
23
+ } from "./chunk-NOSGGCJ3.mjs";
24
+ import "./chunk-A3EI3A3Q.mjs";
25
+ import "./chunk-U7F4ODVQ.mjs";
26
+ import "./chunk-V2TC2ARE.mjs";
27
27
  import {
28
28
  SDK_COMPATIBILITY_FAST_DEADLINE_MS,
29
29
  SKILLS_AUTO_SYNC_COMMAND,
@@ -35,15 +35,15 @@ import {
35
35
  readFreshCleanCompatibility,
36
36
  readTrustedCleanCompatibility,
37
37
  syncSdkSkillsIfNeeded
38
- } from "./chunk-BP2XRVBA.mjs";
38
+ } from "./chunk-F4ZLUDKW.mjs";
39
39
  import {
40
40
  createCliProgress
41
- } from "./chunk-O3NLECXL.mjs";
41
+ } from "./chunk-K6RPKBD7.mjs";
42
42
  import {
43
43
  commandDocKey,
44
44
  helpDetailFromArgv,
45
45
  renderCommandExplanation
46
- } from "./chunk-VACBPVIR.mjs";
46
+ } from "./chunk-KOMEYB7H.mjs";
47
47
  import "./chunk-2RIKOPIM.mjs";
48
48
  import "./chunk-LRZGS6RZ.mjs";
49
49
  import "./chunk-7I4B6V2S.mjs";
@@ -65,7 +65,7 @@ import {
65
65
  sanitizeCommand,
66
66
  shouldEmitJson,
67
67
  takeSilentJsonFailureMessage
68
- } from "./chunk-GVRVZQBY.mjs";
68
+ } from "./chunk-JLXLCD6F.mjs";
69
69
  import {
70
70
  HttpClient,
71
71
  autoDetectBaseUrl,
@@ -73,19 +73,19 @@ import {
73
73
  resolveApiKeyForBaseUrl,
74
74
  resolveBaseUrlOnly,
75
75
  resolveConfig
76
- } from "./chunk-UMJWODG7.mjs";
76
+ } from "./chunk-2US3VJXX.mjs";
77
77
  import {
78
78
  SDK_VERSION,
79
79
  agentSessionIdFromEnvironment,
80
80
  connectionFailureMessage
81
- } from "./chunk-XDZZCRUG.mjs";
81
+ } from "./chunk-LKVWMLWI.mjs";
82
82
  import {
83
83
  AuthError
84
84
  } from "./chunk-ASB47RXJ.mjs";
85
85
  import "./chunk-DLIRSHV6.mjs";
86
86
  import "./chunk-Z3A2S3QM.mjs";
87
87
  import "./chunk-2MGZAI54.mjs";
88
- import "./chunk-AYNDNXBJ.mjs";
88
+ import "./chunk-H4LHB6ES.mjs";
89
89
  import "./chunk-WZYKRD7T.mjs";
90
90
  import "./chunk-5JPKRDFC.mjs";
91
91
  import "./chunk-KRD6H754.mjs";
@@ -166,68 +166,68 @@ import { Command as Command2 } from "commander";
166
166
  var COMMAND_GROUPS = [
167
167
  {
168
168
  names: ["auth"],
169
- load: async () => (await import("./auth-3YES4ACM.mjs")).registerAuthCommands
169
+ load: async () => (await import("./auth-YKIUCQ2Q.mjs")).registerAuthCommands
170
170
  },
171
171
  {
172
172
  names: ["providers"],
173
- load: async () => (await import("./providers-GAERKWYW.mjs")).registerProviderCommands
173
+ load: async () => (await import("./providers-KDI3B22S.mjs")).registerProviderCommands
174
174
  },
175
175
  {
176
176
  names: ["integrations"],
177
- load: async () => (await import("./integrations-ASNRHKLO.mjs")).registerIntegrationsCommands
177
+ load: async () => (await import("./integrations-PMXZ7V6Y.mjs")).registerIntegrationsCommands
178
178
  },
179
179
  {
180
180
  names: ["search"],
181
- load: async () => (await import("./search-TYRKGVKB.mjs")).registerSearchCommand
181
+ load: async () => (await import("./search-PD3OAWO3.mjs")).registerSearchCommand
182
182
  },
183
183
  {
184
184
  names: ["describe"],
185
- load: async () => (await import("./describe-HZW272Y6.mjs")).registerDescribeCommand
185
+ load: async () => (await import("./describe-HZC4GOLO.mjs")).registerDescribeCommand
186
186
  },
187
187
  {
188
188
  names: ["run"],
189
- load: async () => (await import("./run-2EPOAEJ5.mjs")).registerRunCommand
189
+ load: async () => (await import("./run-BQIDPU5J.mjs")).registerRunCommand
190
190
  },
191
191
  {
192
192
  names: ["tools"],
193
- load: async () => (await import("./tools-DRR3KDV2.mjs")).registerToolsCommands
193
+ load: async () => (await import("./tools-OAHCQUQB.mjs")).registerToolsCommands
194
194
  },
195
195
  {
196
196
  names: ["executions"],
197
- load: async () => (await import("./executions-N4ZA4ZD5.mjs")).registerExecutionsCommands
197
+ load: async () => (await import("./executions-XRH267DY.mjs")).registerExecutionsCommands
198
198
  },
199
199
  {
200
200
  names: ["plays", "runs"],
201
- load: async () => (await import("./play-EX7PB6CI.mjs")).registerPlayCommands
201
+ load: async () => (await import("./play-7N4Z2LEH.mjs")).registerPlayCommands
202
202
  },
203
203
  {
204
204
  names: ["sessions"],
205
- load: async () => (await import("./sessions-VWENSY3G.mjs")).registerSessionsCommands
205
+ load: async () => (await import("./sessions-36VI33IL.mjs")).registerSessionsCommands
206
206
  },
207
207
  {
208
208
  names: ["workflows"],
209
- load: async () => (await import("./workflow-QO7BRZLM.mjs")).registerWorkflowCommands
209
+ load: async () => (await import("./workflow-7E2QYAIY.mjs")).registerWorkflowCommands
210
210
  },
211
211
  {
212
212
  names: ["outcomes"],
213
- load: async () => (await import("./outcomes-3ASEQLIF.mjs")).registerOutcomesCommands
213
+ load: async () => (await import("./outcomes-FOE35FHM.mjs")).registerOutcomesCommands
214
214
  },
215
215
  {
216
216
  names: ["views"],
217
- load: async () => (await import("./views-FFTXTJ7U.mjs")).registerViewsCommands
217
+ load: async () => (await import("./views-W6PVUSE3.mjs")).registerViewsCommands
218
218
  },
219
219
  {
220
220
  names: ["secrets"],
221
- load: async () => (await import("./secrets-5YL7RU2B.mjs")).registerSecretsCommands
221
+ load: async () => (await import("./secrets-4MCBJUGL.mjs")).registerSecretsCommands
222
222
  },
223
223
  {
224
224
  names: ["mcp"],
225
- load: async () => (await import("./mcp-T32DPP4D.mjs")).registerMcpCommands
225
+ load: async () => (await import("./mcp-X63UPZS7.mjs")).registerMcpCommands
226
226
  },
227
227
  {
228
228
  names: ["settings", "notifications"],
229
229
  load: async () => {
230
- const commands = await import("./settings-W6FCYDJC.mjs");
230
+ const commands = await import("./settings-D6L7S4ZC.mjs");
231
231
  return (p) => {
232
232
  commands.registerSettingsCommands(p);
233
233
  commands.registerNotificationCommands(p);
@@ -236,51 +236,51 @@ var COMMAND_GROUPS = [
236
236
  },
237
237
  {
238
238
  names: ["billing"],
239
- load: async () => (await import("./billing-NZ2NCOQS.mjs")).registerBillingCommands
239
+ load: async () => (await import("./billing-HK23QHAA.mjs")).registerBillingCommands
240
240
  },
241
241
  {
242
242
  names: ["monitors"],
243
- load: async () => (await import("./monitors-DTJD3IUI.mjs")).registerMonitorsCommands
243
+ load: async () => (await import("./monitors-QGI7QH4K.mjs")).registerMonitorsCommands
244
244
  },
245
245
  {
246
246
  names: ["org"],
247
- load: async () => (await import("./org-GQYIJBKO.mjs")).registerOrgCommands
247
+ load: async () => (await import("./org-VAJL4BCS.mjs")).registerOrgCommands
248
248
  },
249
249
  {
250
250
  names: ["git", "projects", "deployments"],
251
- load: async () => (await import("./git-WHIEYIVM.mjs")).registerGitCommands
251
+ load: async () => (await import("./git-644DZQKA.mjs")).registerGitCommands
252
252
  },
253
253
  {
254
254
  names: ["csv"],
255
- load: async () => (await import("./csv-RJBNLD23.mjs")).registerCsvCommands
255
+ load: async () => (await import("./csv-RM3FOTS5.mjs")).registerCsvCommands
256
256
  },
257
257
  {
258
258
  names: ["db"],
259
- load: async () => (await import("./db-VVGP2KCM.mjs")).registerDbCommands
259
+ load: async () => (await import("./db-RIJBJCT7.mjs")).registerDbCommands
260
260
  },
261
261
  {
262
262
  names: ["feedback"],
263
- load: async () => (await import("./feedback-4PB4ACBV.mjs")).registerFeedbackCommands
263
+ load: async () => (await import("./feedback-Y5MWMTQ2.mjs")).registerFeedbackCommands
264
264
  },
265
265
  {
266
266
  names: ["enrich", "session", "backend"],
267
- load: async () => (await import("./legacy-noops-YYX2W2WX.mjs")).registerDeprecatedCommands
267
+ load: async () => (await import("./legacy-noops-YUG2HVGQ.mjs")).registerDeprecatedCommands
268
268
  },
269
269
  {
270
270
  names: ["update"],
271
- load: async () => (await import("./update-KL43AZPW.mjs")).registerUpdateCommand
271
+ load: async () => (await import("./update-ZM4LSW5L.mjs")).registerUpdateCommand
272
272
  },
273
273
  {
274
274
  names: ["skills", "skills-auto-sync"],
275
- load: async () => (await import("./skills-7JTWCFL3.mjs")).registerSkillsCommand
275
+ load: async () => (await import("./skills-ZRTREJY2.mjs")).registerSkillsCommand
276
276
  },
277
277
  {
278
278
  names: ["setup", "doctor"],
279
- load: async () => (await import("./setup-3JUQWZTS.mjs")).registerSetupCommands
279
+ load: async () => (await import("./setup-PBQ773AV.mjs")).registerSetupCommands
280
280
  },
281
281
  {
282
282
  names: ["quickstart"],
283
- load: async () => (await import("./quickstart-E2GCIGR4.mjs")).registerQuickstartCommands
283
+ load: async () => (await import("./quickstart-LHJF7YCP.mjs")).registerQuickstartCommands
284
284
  }
285
285
  ];
286
286
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -648,7 +648,7 @@ async function runPlayRunnerHealthCheck() {
648
648
  });
649
649
  let exitCode = 1;
650
650
  try {
651
- const { handlePlayRun } = await import("./play-EX7PB6CI.mjs");
651
+ const { handlePlayRun } = await import("./play-7N4Z2LEH.mjs");
652
652
  exitCode = await handlePlayRun([
653
653
  file,
654
654
  "--input",
@@ -1123,7 +1123,7 @@ Examples:
1123
1123
  return;
1124
1124
  }
1125
1125
  try {
1126
- const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-3YES4ACM.mjs");
1126
+ const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-YKIUCQ2Q.mjs");
1127
1127
  const baseUrl = resolveBaseUrlOnly();
1128
1128
  const [{ status, data }, banner] = await Promise.all([
1129
1129
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
@@ -1211,13 +1211,13 @@ Examples:
1211
1211
  const helpArgs = process.argv.slice(2);
1212
1212
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1213
1213
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1214
- const { authStatusLine } = await import("./auth-3YES4ACM.mjs");
1214
+ const { authStatusLine } = await import("./auth-YKIUCQ2Q.mjs");
1215
1215
  rootHelpStatus = `Version: ${SDK_VERSION}
1216
1216
  ${await authStatusLine()}
1217
1217
  `;
1218
1218
  }
1219
1219
  if ((helpArgs.includes("--help") || helpArgs.includes("-h")) && helpPositionals.length >= 2) {
1220
- const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await import("./concurrent-runs-help-VEZX3RK4.mjs");
1220
+ const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await import("./concurrent-runs-help-WD2EUKO7.mjs");
1221
1221
  if (CONCURRENT_RUNS_HELP_COMMANDS.has(helpPositionals.slice(0, 2).join(" "))) {
1222
1222
  await ensureTransport();
1223
1223
  concurrentRunsHelpStatus = await read();
@@ -0,0 +1,284 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
+
3
+ var _chunkC5IA2OYEjs = require('./chunk-C5IA2OYE.js');
4
+
5
+
6
+
7
+
8
+
9
+ var _chunkTCJZQRX6js = require('./chunk-TCJZQRX6.js');
10
+
11
+
12
+ var _chunkNH3LVGVRjs = require('./chunk-NH3LVGVR.js');
13
+
14
+
15
+
16
+ var _chunkFXRSHBRPjs = require('./chunk-FXRSHBRP.js');
17
+ require('./chunk-4WAM6TLD.js');
18
+ require('./chunk-MJTVX4QK.js');
19
+ require('./chunk-PMH4GLMD.js');
20
+ require('./chunk-J5QAOURJ.js');
21
+ require('./chunk-GE62FFN6.js');
22
+ require('./chunk-4VKDPTHF.js');
23
+
24
+
25
+ var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
26
+ require('./chunk-XNYIZMNQ.js');
27
+
28
+
29
+ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
30
+ require('./chunk-CFJFUVX2.js');
31
+ require('./chunk-UWMK5DLS.js');
32
+ require('./chunk-OG64RBAC.js');
33
+ require('./chunk-COGTRVWW.js');
34
+
35
+ // src/cli/commands/integrations.ts
36
+ var _commander = require('commander');
37
+
38
+ // src/cli/commands/connector-sync.ts
39
+ function summaryLine(summary) {
40
+ const synced = summary.last_success_at ? ` \xB7 last synced ${summary.last_success_at}` : "";
41
+ return `${summary.provider}: ${summary.label}${synced} (${summary.state})`;
42
+ }
43
+ function printChange(result, json) {
44
+ _chunkTCJZQRX6js.printIntegrationResult.call(void 0, result, json, [
45
+ ...Object.entries(result.change).filter(([key]) => key !== "provider").map(([key, value]) => `${key}: ${String(value)}`),
46
+ result.status ? summaryLine(result.status) : `Change applied; the resulting sync state could not be read (${_nullishCoalesce(result.status_error, () => ( "unknown error"))}). Run deepline integrations sync status.`
47
+ ]);
48
+ }
49
+ function connectorSyncExitCode(error) {
50
+ if (error instanceof _chunk6VLFQZK6js.AuthError) return 3;
51
+ if (!(error instanceof _chunkLFQJW4S2js.DeeplineError)) return 5;
52
+ const status = error.statusCode;
53
+ if (status === 400) return 2;
54
+ if (status === 401 || status === 403) return 3;
55
+ if (status === 404) return 4;
56
+ if (status === 409 || status === 422) return 7;
57
+ return 5;
58
+ }
59
+ function withExitCode(action) {
60
+ return async (...args) => {
61
+ try {
62
+ await action(...args);
63
+ } catch (error) {
64
+ if (error && typeof error === "object")
65
+ Object.assign(error, { exitCode: connectorSyncExitCode(error) });
66
+ throw error;
67
+ }
68
+ };
69
+ }
70
+ function registerConnectorSyncCommands(integrations) {
71
+ const sync = integrations.command("sync").description(
72
+ "Show and control CRM syncs into the Customer DB (HubSpot, Salesforce, Attio)."
73
+ );
74
+ sync.command("status [provider]").description(
75
+ "Show each CRM sync\u2019s state, or one provider\u2019s, as the Integrations list shows it."
76
+ ).option("--json", "Print the sync state as JSON").action(
77
+ withExitCode(
78
+ async (provider, options) => {
79
+ const client = new (0, _chunkNH3LVGVRjs.DeeplineClient)().integrations.sync;
80
+ if (provider) {
81
+ const summary = await client.get(provider);
82
+ _chunkTCJZQRX6js.printIntegrationResult.call(void 0, summary, options.json, [
83
+ summaryLine(summary),
84
+ `Connector: ${_nullishCoalesce(summary.connector_status, () => ( "unknown"))}`,
85
+ `Objects: deepline integrations sync objects ${provider}`
86
+ ]);
87
+ return;
88
+ }
89
+ const statuses = await client.status();
90
+ _chunkTCJZQRX6js.printIntegrationResult.call(void 0, statuses, options.json, [
91
+ _chunkC5IA2OYEjs.formatTextTable.call(void 0, statuses.providers, [
92
+ { header: "PROVIDER", value: (row) => row.provider },
93
+ { header: "STATE", value: (row) => row.state },
94
+ { header: "STATUS", value: (row) => row.label },
95
+ {
96
+ header: "LAST SYNCED",
97
+ value: (row) => _nullishCoalesce(row.last_success_at, () => ( "-"))
98
+ }
99
+ ]),
100
+ ...statuses.customer_db === "active" ? [] : ["Customer DB unavailable: syncs cannot run."]
101
+ ]);
102
+ }
103
+ )
104
+ );
105
+ sync.command("objects <provider>").description(
106
+ "List one provider\u2019s synced objects and each one\u2019s health, as the sync page does."
107
+ ).option("--json", "Print the state and every object as JSON").action(
108
+ withExitCode(async (provider, options) => {
109
+ const detail = await new (0, _chunkNH3LVGVRjs.DeeplineClient)().integrations.sync.objects(
110
+ provider
111
+ );
112
+ _chunkTCJZQRX6js.printIntegrationResult.call(void 0, detail, options.json, [
113
+ summaryLine(detail.summary),
114
+ ...detail.objects.length ? [
115
+ _chunkC5IA2OYEjs.formatTextTable.call(void 0, detail.objects, [
116
+ { header: "OBJECT", value: (row) => row.object_type },
117
+ { header: "STATUS", value: (row) => row.status },
118
+ { header: "HEALTH", value: (row) => row.health },
119
+ {
120
+ header: "LAST SUCCESS",
121
+ value: (row) => _nullishCoalesce(row.last_success_at, () => ( "-"))
122
+ },
123
+ {
124
+ header: "NEXT RUN",
125
+ value: (row) => _nullishCoalesce(row.next_run_at, () => ( "-"))
126
+ }
127
+ ])
128
+ ] : [
129
+ detail.customer_db === "active" ? "No synced objects." : "Customer DB unavailable: objects are not shown."
130
+ ]
131
+ ]);
132
+ })
133
+ );
134
+ for (const [name, enabled] of [
135
+ ["on", true],
136
+ ["off", false]
137
+ ]) {
138
+ sync.command(`${name} <provider>`).description(
139
+ enabled ? "Turn a provider\u2019s sync on; the first time, it sets up its objects." : "Turn a provider\u2019s sync off; synced data stays in the Customer DB."
140
+ ).option("--json", "Print the change and the resulting state as JSON").action(
141
+ withExitCode(async (provider, options) => {
142
+ printChange(
143
+ await new (0, _chunkNH3LVGVRjs.DeeplineClient)().integrations.sync.set(provider, enabled),
144
+ options.json
145
+ );
146
+ })
147
+ );
148
+ }
149
+ for (const name of ["pause", "resume"]) {
150
+ sync.command(`${name} <provider> <objects...>`).description(
151
+ name === "pause" ? "Pause syncing the named objects, e.g. tickets; the rest keep syncing." : "Resume syncing the named paused objects."
152
+ ).option("--json", "Print the change and the resulting state as JSON").action(
153
+ withExitCode(
154
+ async (provider, objects, options) => {
155
+ printChange(
156
+ await new (0, _chunkNH3LVGVRjs.DeeplineClient)().integrations.sync[name](
157
+ provider,
158
+ objects
159
+ ),
160
+ options.json
161
+ );
162
+ }
163
+ )
164
+ );
165
+ }
166
+ sync.command("run <provider> [objects...]").description(
167
+ "Sync now: every synced object (paused ones run once), or only the named ones. The sync must be on."
168
+ ).option("--json", "Print the change and the resulting state as JSON").action(
169
+ withExitCode(
170
+ async (provider, objects, options) => {
171
+ printChange(
172
+ await new (0, _chunkNH3LVGVRjs.DeeplineClient)().integrations.sync.run(
173
+ provider,
174
+ _nullishCoalesce(objects, () => ( []))
175
+ ),
176
+ options.json
177
+ );
178
+ }
179
+ )
180
+ );
181
+ }
182
+
183
+ // src/cli/commands/integrations.ts
184
+ function printChangeResult(result, json) {
185
+ const text = "action" in result ? Object.entries(result).map(([key, value]) => `${key}: ${String(value)}`).join("\n") : "url" in result && result.url ? result.url : `Org authorization ${_nullishCoalesce(result.status, () => ( "updated"))}.`;
186
+ _chunkTCJZQRX6js.printIntegrationResult.call(void 0, result, json, [text]);
187
+ if ("status" in result && result.status === "validation_failed")
188
+ process.exitCode = 7;
189
+ }
190
+ function registerIntegrationsCommands(program) {
191
+ const integrations = program.command("integrations").description("Connect providers and manage named org authorizations.");
192
+ _chunkTCJZQRX6js.registerWorkspaceConnectionListCommand.call(void 0, integrations, "list");
193
+ _chunkTCJZQRX6js.registerIntegrationBalanceCommand.call(void 0, integrations);
194
+ _chunkTCJZQRX6js.registerIntegrationConnectCommand.call(void 0, integrations, true);
195
+ registerConnectorSyncCommands(integrations);
196
+ integrations.command("discover-ad-accounts").description("Discover and save Google Ads or LinkedIn ad accounts.").addArgument(
197
+ new (0, _commander.Argument)("<provider>", "Connected ads provider").choices([
198
+ ..._chunkFXRSHBRPjs.AD_ACCOUNT_DISCOVERY_PROVIDERS
199
+ ])
200
+ ).option("--dry-run", "Print the request without contacting the provider").option("--json", "Print the discovery result as JSON").action(
201
+ async (provider, options) => {
202
+ if (options.dryRun) {
203
+ const request = _chunkFXRSHBRPjs.planAdAccountDiscovery.call(void 0, provider);
204
+ _chunkTCJZQRX6js.printIntegrationResult.call(void 0, request, options.json, [
205
+ `Would discover and save accounts in the selected workspace using ${request.method} ${request.path}.`
206
+ ]);
207
+ return;
208
+ }
209
+ const result = await new (0, _chunkNH3LVGVRjs.DeeplineClient)().integrations.discoverAdAccounts(provider);
210
+ _chunkTCJZQRX6js.printIntegrationResult.call(void 0, result, options.json, [
211
+ result.accounts.length ? `Ad accounts in the selected workspace (${result.accounts.length})` : "No accessible ad accounts found.",
212
+ ...result.accounts.map((account) => {
213
+ const name = "descriptiveName" in account ? account.descriptiveName : account.name;
214
+ return [
215
+ name && name !== account.accountId ? name : void 0,
216
+ account.accountId,
217
+ account.enabled ? "enabled" : "disabled",
218
+ "manager" in account && account.manager ? "manager" : void 0,
219
+ account.accountId === result.default_account_id ? "default" : void 0
220
+ ].filter(Boolean).join(" ");
221
+ })
222
+ ]);
223
+ }
224
+ );
225
+ integrations.command("get <name>").description("Show a named org authorization, including granted scopes.").option("--provider <provider>", "Disambiguate the provider for this name").option("--json", "Print the authorization record as JSON").action(async (name, options) => {
226
+ const row = await new (0, _chunkNH3LVGVRjs.DeeplineClient)().integrations.get(name, options);
227
+ _chunkTCJZQRX6js.printIntegrationResult.call(void 0, row, options.json, [
228
+ `${row.name} ${row.provider} ${row.status}`,
229
+ row.label,
230
+ ...(_nullishCoalesce(row.scopes, () => ( []))).map((scope) => `Scope: ${scope}`)
231
+ ]);
232
+ });
233
+ for (const action of ["reconnect", "disconnect", "delete"]) {
234
+ const command = integrations.command(`${action} <name>`).description(
235
+ `${action[0].toUpperCase()}${action.slice(1)} a named org authorization.`
236
+ ).option(
237
+ "--provider <provider>",
238
+ "Disambiguate the provider for this name"
239
+ ).option(
240
+ "--dry-run",
241
+ "Read current state and print the change without saving or contacting the provider"
242
+ ).option("--json", "Print the result as JSON");
243
+ if (action === "reconnect")
244
+ command.option(
245
+ "--verification-email <email>",
246
+ "Work email used to verify a Google Workspace approval"
247
+ );
248
+ if (action === "reconnect")
249
+ command.option(
250
+ "--booking",
251
+ "Verify Calendar availability and event booking permissions"
252
+ );
253
+ if (action === "reconnect")
254
+ command.option("--list-calendars", "Verify calendar listing permission");
255
+ command.action(async (name, options) => {
256
+ const result = await new (0, _chunkNH3LVGVRjs.DeeplineClient)().integrations[action](
257
+ name,
258
+ options
259
+ );
260
+ printChangeResult(result, options.json);
261
+ });
262
+ }
263
+ integrations.command("verify <domain>").description("Verify and enable a Google Workspace Calendar approval.").requiredOption(
264
+ "--verification-email <email>",
265
+ "Work email in the approved domain"
266
+ ).option(
267
+ "--dry-run",
268
+ "Read current state and print the change without saving or contacting Google"
269
+ ).option("--json", "Print the verification result as JSON").option(
270
+ "--booking",
271
+ "Verify Calendar availability and event booking permissions"
272
+ ).option("--list-calendars", "Verify calendar listing permission").action(
273
+ async (domain, options) => {
274
+ const result = await new (0, _chunkNH3LVGVRjs.DeeplineClient)().integrations.verify(
275
+ domain,
276
+ options
277
+ );
278
+ printChangeResult(result, options.json);
279
+ }
280
+ );
281
+ }
282
+
283
+
284
+ exports.registerIntegrationsCommands = registerIntegrationsCommands;