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,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-XDZZCRUG.mjs";
4
+ } from "./chunk-LKVWMLWI.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-ASB47RXJ.mjs";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-ZX3UZCWC.mjs";
3
+ } from "./chunk-NOSGGCJ3.mjs";
4
4
  import {
5
5
  enforceSdkCompatibilityResponse,
6
6
  flushDeferredSkillsSyncNotices,
7
7
  requireSdkCompatibility
8
- } from "./chunk-BP2XRVBA.mjs";
8
+ } from "./chunk-F4ZLUDKW.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -21,12 +21,12 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
21
21
  var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
22
22
 
23
23
 
24
- var _chunkNS56OQUQjs = require('./chunk-NS56OQUQ.js');
24
+ var _chunkUWMK5DLSjs = require('./chunk-UWMK5DLS.js');
25
25
 
26
26
  // src/version.ts
27
- var SDK_VERSION = _chunkNS56OQUQjs.SDK_RELEASE.version;
28
- var SDK_API_MAJOR = _chunkNS56OQUQjs.SDK_RELEASE.contracts.api.currentMajor;
29
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkNS56OQUQjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
27
+ var SDK_VERSION = _chunkUWMK5DLSjs.SDK_RELEASE.version;
28
+ var SDK_API_MAJOR = _chunkUWMK5DLSjs.SDK_RELEASE.contracts.api.currentMajor;
29
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkUWMK5DLSjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
30
30
 
31
31
  // src/agent-runtime.ts
32
32
  var _fs = require('fs');
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkIICHFEFEjs = require('./chunk-IICHFEFE.js');
6
+ var _chunkNH3LVGVRjs = require('./chunk-NH3LVGVR.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkU77PK5R3js = require('./chunk-U77PK5R3.js');
11
+ var _chunkJ5QAOURJjs = require('./chunk-J5QAOURJ.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkDA24O3ZVjs = require('./chunk-DA24O3ZV.js');
15
+ var _chunkGE62FFN6js = require('./chunk-GE62FFN6.js');
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  var _commander = require('commander');
@@ -22,7 +22,7 @@ var _fs = require('fs');
22
22
  var _path = require('path');
23
23
  var SEARCH_REF_TTL_MS = 15 * 6e4;
24
24
  function lastSearchPath() {
25
- return _path.join.call(void 0, _chunkDA24O3ZVjs.sdkCliStateDirPath.call(void 0, _chunkDA24O3ZVjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunkGE62FFN6js.sdkCliStateDirPath.call(void 0, _chunkGE62FFN6js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
26
26
  }
27
27
  function rememberSearchRef(searchRef) {
28
28
  writeSearchRefs({ searchRef });
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
132
132
  console.error("--summary-width must be an integer of at least 2.");
133
133
  return 1;
134
134
  }
135
- const client = new (0, _chunkIICHFEFEjs.DeeplineClient)();
135
+ const client = new (0, _chunkNH3LVGVRjs.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-FRRT574G.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-P2JVWNCK.js")));
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
157
157
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
158
158
  if (!multiple) {
159
159
  if (searchRef) rememberSearchRef(searchRef);
160
- _chunkU77PK5R3js.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkJ5QAOURJjs.printCommandEnvelope.call(void 0, result, { json, text });
161
161
  return 0;
162
162
  }
163
163
  searches.push({ ...result, query });
@@ -171,8 +171,8 @@ ${text}`);
171
171
  }
172
172
  } catch (error) {
173
173
  if (!multiple) throw error;
174
- const payload = _chunkU77PK5R3js.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkU77PK5R3js.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkJ5QAOURJjs.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkJ5QAOURJjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
176
  searches.push({ ...payload, query, exitCode: queryExitCode });
177
177
  if (!json) {
178
178
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -184,7 +184,7 @@ Search failed.
184
184
  }
185
185
  }
186
186
  rememberSearchRefsByTool(refs);
187
- _chunkU77PK5R3js.printCommandEnvelope.call(void 0,
187
+ _chunkJ5QAOURJjs.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -4,22 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkSJ2LY4V5js = require('./chunk-SJ2LY4V5.js');
7
+ var _chunkOIDETCX2js = require('./chunk-OIDETCX2.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunk4MPLA5RDjs = require('./chunk-4MPLA5RD.js');
12
+ var _chunkZEKRYFMNjs = require('./chunk-ZEKRYFMN.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkU77PK5R3js = require('./chunk-U77PK5R3.js');
16
+ var _chunkJ5QAOURJjs = require('./chunk-J5QAOURJ.js');
17
17
 
18
18
 
19
- var _chunkDA24O3ZVjs = require('./chunk-DA24O3ZV.js');
19
+ var _chunkGE62FFN6js = require('./chunk-GE62FFN6.js');
20
20
 
21
21
 
22
- var _chunkT2RNEBV7js = require('./chunk-T2RNEBV7.js');
22
+ var _chunk4VKDPTHFjs = require('./chunk-4VKDPTHF.js');
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -46,7 +46,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
46
46
  async function reportAutoUpdateEvent(input) {
47
47
  let apiKey = "";
48
48
  try {
49
- apiKey = _chunkDA24O3ZVjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
+ apiKey = _chunkGE62FFN6js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
50
50
  } catch (e2) {
51
51
  return;
52
52
  }
@@ -62,15 +62,15 @@ async function reportAutoUpdateEvent(input) {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`,
64
64
  "Content-Type": "application/json",
65
- "User-Agent": `deepline-ts-sdk/${_chunkT2RNEBV7js.SDK_VERSION}`,
65
+ "User-Agent": `deepline-ts-sdk/${_chunk4VKDPTHFjs.SDK_VERSION}`,
66
66
  "X-Deepline-Client-Family": "sdk",
67
67
  "X-Deepline-CLI-Family": "sdk",
68
- "X-Deepline-CLI-Version": _chunkT2RNEBV7js.SDK_VERSION,
69
- "X-Deepline-SDK-Version": _chunkT2RNEBV7js.SDK_VERSION
68
+ "X-Deepline-CLI-Version": _chunk4VKDPTHFjs.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunk4VKDPTHFjs.SDK_VERSION
70
70
  },
71
71
  body: JSON.stringify({
72
72
  event: input.event,
73
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkT2RNEBV7js.SDK_VERSION,
73
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk4VKDPTHFjs.SDK_VERSION,
74
74
  target_version: input.response.latest,
75
75
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
76
76
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -89,19 +89,19 @@ function envTruthy(name) {
89
89
  return value === "1" || value === "true" || value === "yes";
90
90
  }
91
91
  function shouldSkipSelfUpdate(policy) {
92
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkSJ2LY4V5js.shouldRunCliAutoUpdate.call(void 0, ) || _chunk4MPLA5RDjs.isCiEnvironment.call(void 0, );
92
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkOIDETCX2js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkZEKRYFMNjs.isCiEnvironment.call(void 0, );
93
93
  }
94
94
  function isDowngradeAutoUpdateResponse(response) {
95
95
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
96
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkT2RNEBV7js.SDK_VERSION;
96
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk4VKDPTHFjs.SDK_VERSION;
97
97
  if (!target) return false;
98
- return _chunkSJ2LY4V5js.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunkOIDETCX2js.compareUpdateVersions.call(void 0, target, current) < 0;
99
99
  }
100
100
  function relaunchCurrentCommand(plan, runtime = {}) {
101
101
  return new Promise((resolve) => {
102
102
  const argv = _nullishCoalesce(runtime.argv, () => ( process.argv));
103
103
  const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
104
- const launch = plan.kind === "python-sidecar" ? _chunk4MPLA5RDjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
104
+ const launch = plan.kind === "python-sidecar" ? _chunkZEKRYFMNjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
105
105
  command: _nullishCoalesce(runtime.execPath, () => ( process.execPath)),
106
106
  args: argv.slice(1),
107
107
  shell: false
@@ -148,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
148
148
  }
149
149
  if (isDowngradeAutoUpdateResponse(response)) {
150
150
  const target = response.latest;
151
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkT2RNEBV7js.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk4VKDPTHFjs.SDK_VERSION;
152
152
  process.stderr.write(
153
153
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
154
154
  `
@@ -156,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
156
156
  return false;
157
157
  }
158
158
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
159
- const plan = _chunkSJ2LY4V5js.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunkOIDETCX2js.resolveUpdatePlan.call(void 0, {
160
160
  packageSpec,
161
161
  requireVerifiedNpmOwnership: true,
162
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
163
163
  });
164
- if (!_chunkSJ2LY4V5js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunkOIDETCX2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
165
165
  return false;
166
166
  }
167
167
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
168
168
  deferredAutoUpdate = async () => {
169
169
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
170
170
  };
171
- if (_chunkU77PK5R3js.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkJ5QAOURJjs.isJsonOutputMode.call(void 0, )) {
172
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
173
- _chunkU77PK5R3js.addJsonNotice.call(void 0, {
173
+ _chunkJ5QAOURJjs.addJsonNotice.call(void 0, {
174
174
  code: "sdk_update_queued",
175
175
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
176
176
  });
@@ -183,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
183
183
  return true;
184
184
  }
185
185
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
186
- if (!_chunkSJ2LY4V5js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunkOIDETCX2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
187
187
  const autoUpdate = response.auto_update;
188
188
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
189
189
  process.stderr.write(
@@ -196,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
196
196
  event: "started",
197
197
  installKind: plan.kind
198
198
  });
199
- const updateResult = await _chunkSJ2LY4V5js.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunkOIDETCX2js.runAutomaticUpdatePlan.call(void 0, plan);
200
200
  if (updateResult.status === "skipped_previous_failure") {
201
201
  void reportAutoUpdateEvent({
202
202
  baseUrl,
@@ -234,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
234
234
  exitCode: 0
235
235
  });
236
236
  try {
237
- await _chunk4MPLA5RDjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunkZEKRYFMNjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
238
238
  mode: "detached",
239
239
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
240
240
  afterCliUpdate: {
@@ -261,7 +261,7 @@ var _crypto = require('crypto');
261
261
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
262
262
  var activeToolExecuteCommand = null;
263
263
  function progressLine(line) {
264
- if (!_chunkU77PK5R3js.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkJ5QAOURJjs.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-POGS26GF.mjs";
4
+ } from "./chunk-U7F4ODVQ.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-6U7CIG3C.mjs";
7
+ } from "./chunk-V2TC2ARE.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-BP2XRVBA.mjs";
10
+ } from "./chunk-F4ZLUDKW.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-GVRVZQBY.mjs";
13
+ } from "./chunk-JLXLCD6F.mjs";
14
14
  import {
15
15
  DEFAULT_MAX_RETRIES,
16
16
  DEFAULT_TIMEOUT,
17
17
  TRANSIENT_HTTP_STATUSES,
18
18
  autoDetectBaseUrl,
19
19
  defaultRetryBackoffMs
20
- } from "./chunk-UMJWODG7.mjs";
20
+ } from "./chunk-2US3VJXX.mjs";
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  import { spawn, spawnSync } from "child_process";
@@ -37,7 +37,7 @@ import {
37
37
  RETAINED_PIPELINE_RECEIVERS_HEADER,
38
38
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
39
39
  SDK_API_MAJOR
40
- } from "./chunk-XDZZCRUG.mjs";
40
+ } from "./chunk-LKVWMLWI.mjs";
41
41
  import {
42
42
  CustomerDbQueryOutcomeUnknownError
43
43
  } from "./chunk-ASB47RXJ.mjs";
@@ -48,6 +48,123 @@ import {
48
48
  ToolExecutionError
49
49
  } from "./chunk-Z3A2S3QM.mjs";
50
50
 
51
+ // src/connector-sync.ts
52
+ async function readObjects(client, provider) {
53
+ let page = await client.getConnectorSyncObjectsPage(provider);
54
+ const objects = [...page.objects];
55
+ while (page.next_cursor) {
56
+ const cursor = page.next_cursor;
57
+ page = await client.getConnectorSyncObjectsPage(provider, { cursor });
58
+ if (page.next_cursor !== null && page.next_cursor <= cursor)
59
+ throw new DeeplineError(
60
+ `The ${provider} object list did not advance past cursor ${cursor}.`,
61
+ 502,
62
+ "CURSOR_NOT_ADVANCING"
63
+ );
64
+ objects.push(...page.objects);
65
+ }
66
+ return { customer_db: page.customer_db, summary: page.summary, objects };
67
+ }
68
+ async function readSummary(client, provider) {
69
+ const statuses = await client.getConnectorSyncStatuses();
70
+ const summary = statuses.providers.find((row) => row.provider === provider);
71
+ if (!summary)
72
+ throw new DeeplineError(
73
+ `${provider} has no managed sync. Run deepline integrations sync status.`,
74
+ 404,
75
+ "NOT_FOUND"
76
+ );
77
+ return summary;
78
+ }
79
+ async function requireKnownObjects(client, provider, objectTypes) {
80
+ if (objectTypes.length === 0)
81
+ throw new DeeplineError(
82
+ "Name at least one object, for example contacts.",
83
+ 400,
84
+ "INVALID_ARGUMENT"
85
+ );
86
+ const detail = await readObjects(client, provider);
87
+ if (detail.customer_db !== "active")
88
+ throw new DeeplineError(
89
+ "The Customer DB is unavailable, so its synced objects cannot be changed.",
90
+ 409,
91
+ "CUSTOMER_DB_UNAVAILABLE"
92
+ );
93
+ const known = new Set(detail.objects.map((row) => row.object_type));
94
+ const unknown = objectTypes.filter((objectType) => !known.has(objectType));
95
+ if (unknown.length > 0)
96
+ throw new DeeplineError(
97
+ `${provider} does not sync ${unknown.join(", ")}. Synced objects: ${[...known].join(", ") || "none"}. Run deepline integrations sync objects ${provider}.`,
98
+ 404,
99
+ "NOT_FOUND"
100
+ );
101
+ }
102
+ async function withResultingState(client, provider, change) {
103
+ try {
104
+ return { change, status: await readSummary(client, provider) };
105
+ } catch (error) {
106
+ return {
107
+ change,
108
+ status: null,
109
+ status_error: error instanceof Error ? error.message : String(error)
110
+ };
111
+ }
112
+ }
113
+ function createConnectorSyncNamespace(client) {
114
+ const action = async (provider, body) => withResultingState(
115
+ client,
116
+ provider,
117
+ await client.runConnectorSyncAction(provider, body)
118
+ );
119
+ return {
120
+ /** Every managed provider's sync state (from Convex only). */
121
+ status: () => client.getConnectorSyncStatuses(),
122
+ /** One provider's sync state (from Convex only). */
123
+ get: (provider) => readSummary(client, provider),
124
+ /** One provider's sync state and every synced object (Customer DB). */
125
+ objects: (provider) => readObjects(client, provider),
126
+ /** Turn a provider's sync on or off. */
127
+ set: async (provider, enabled) => withResultingState(
128
+ client,
129
+ provider,
130
+ await client.setConnectorSync(provider, enabled)
131
+ ),
132
+ pause: async (provider, objectTypes) => {
133
+ await requireKnownObjects(client, provider, objectTypes);
134
+ return action(provider, {
135
+ action: "pause_all",
136
+ object_types: [...objectTypes]
137
+ });
138
+ },
139
+ resume: async (provider, objectTypes) => {
140
+ await requireKnownObjects(client, provider, objectTypes);
141
+ return action(provider, {
142
+ action: "resume_all",
143
+ object_types: [...objectTypes]
144
+ });
145
+ },
146
+ /**
147
+ * Queue a sync now for every synced object, or only the named ones. As on
148
+ * the sync page, a paused object runs once and stays paused.
149
+ */
150
+ run: async (provider, objectTypes = []) => {
151
+ const summary = await readSummary(client, provider);
152
+ if (!summary.sync_enabled)
153
+ throw new DeeplineError(
154
+ `Sync is off for ${provider}. Turn it on with deepline integrations sync on ${provider}.`,
155
+ 409,
156
+ "SYNC_OFF"
157
+ );
158
+ if (objectTypes.length > 0)
159
+ await requireKnownObjects(client, provider, objectTypes);
160
+ return action(provider, {
161
+ action: "run_all",
162
+ ...objectTypes.length > 0 ? { object_types: [...objectTypes] } : {}
163
+ });
164
+ }
165
+ };
166
+ }
167
+
51
168
  // src/integrations.ts
52
169
  var CALENDAR_PROVIDER = "google_calendar_availability";
53
170
  var AD_ACCOUNT_DISCOVERY_PROVIDERS = [
@@ -183,7 +300,9 @@ function createIntegrationsNamespace(client) {
183
300
  disconnect: (name, options = {}) => changeConnection(client, "disconnect", name, options),
184
301
  delete: (name, options = {}) => changeConnection(client, "delete", name, options),
185
302
  verify: (domain, options) => verifyWorkspace(client, domain, options),
186
- members: (provider, options = {}) => client.listManagedConnectionMembers(provider, options.cursor)
303
+ members: (provider, options = {}) => client.listManagedConnectionMembers(provider, options.cursor),
304
+ /** CRM connector sync into the Customer DB: state, on/off, objects. */
305
+ sync: createConnectorSyncNamespace(client)
187
306
  };
188
307
  }
189
308
 
@@ -5784,6 +5903,37 @@ var DeeplineClient = class _DeeplineClient {
5784
5903
  const params = new URLSearchParams({ provider });
5785
5904
  return this.http.get(`/api/v2/integrations/balance?${params}`);
5786
5905
  }
5906
+ /** Every managed CRM provider's sync state, as the Integrations list shows it. */
5907
+ async getConnectorSyncStatuses() {
5908
+ return this.http.get("/api/v2/ingestion/sync-status");
5909
+ }
5910
+ /** One provider's sync state and a page of its synced objects. */
5911
+ async getConnectorSyncObjectsPage(provider, options = {}) {
5912
+ const params = new URLSearchParams();
5913
+ if (options.cursor) params.set("cursor", options.cursor);
5914
+ if (options.limit !== void 0) params.set("limit", String(options.limit));
5915
+ const path = `/api/v2/ingestion/providers/${encodeURIComponent(provider)}/sync`;
5916
+ const query = params.toString();
5917
+ return this.http.get(query ? `${path}?${query}` : path);
5918
+ }
5919
+ /** Turn a provider's managed sync on or off. */
5920
+ async setConnectorSync(provider, enabled) {
5921
+ return this.http.post(
5922
+ `/api/v2/ingestion/providers/${encodeURIComponent(provider)}/sync`,
5923
+ { enabled },
5924
+ void 0,
5925
+ { maxRetries: 0, exactUrlOnly: true }
5926
+ );
5927
+ }
5928
+ /** Pause, resume or run a provider's synced objects. */
5929
+ async runConnectorSyncAction(provider, body) {
5930
+ return this.http.post(
5931
+ `/api/v2/ingestion/providers/${encodeURIComponent(provider)}/actions`,
5932
+ body,
5933
+ void 0,
5934
+ { maxRetries: 0, exactUrlOnly: true }
5935
+ );
5936
+ }
5787
5937
  /** Discover and save the ad accounts accessible to the workspace connection. */
5788
5938
  async discoverAdAccounts(provider) {
5789
5939
  const { path, body } = planAdAccountDiscovery(provider);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-XTSQ3ZV5.mjs";
3
+ } from "./chunk-IFZA4IGI.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-GVRVZQBY.mjs";
6
+ } from "./chunk-JLXLCD6F.mjs";
7
7
 
8
8
  // src/cli/commands/integration-commands.ts
9
9
  import { Option } from "commander";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-GVRVZQBY.mjs";
5
+ } from "./chunk-JLXLCD6F.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-UMJWODG7.mjs";
8
+ } from "./chunk-2US3VJXX.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
2
2
 
3
- var _chunkU77PK5R3js = require('./chunk-U77PK5R3.js');
3
+ var _chunkJ5QAOURJjs = require('./chunk-J5QAOURJ.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkU77PK5R3js.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkJ5QAOURJjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkU77PK5R3js.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkJ5QAOURJjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-GVRVZQBY.mjs";
3
+ } from "./chunk-JLXLCD6F.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkU77PK5R3js = require('./chunk-U77PK5R3.js');
3
+ var _chunkJ5QAOURJjs = require('./chunk-J5QAOURJ.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkU77PK5R3js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkJ5QAOURJjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {