deepline 0.3.545 → 0.3.546

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 (186) hide show
  1. package/dist/bundling-sources/sdk/src/errors.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/http-core.ts +41 -12
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +2 -2
  5. package/dist/bundling-sources/shared_libs/play-data-plane/contracts.ts +5 -0
  6. package/dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts +27 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +4 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +8 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/fleet-sandbox-sweep.ts +40 -3
  10. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +19 -3
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +18 -4
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +441 -103
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox-egress.ts +322 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +200 -64
  15. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +65 -2
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +5 -3
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +32 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +206 -12
  19. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +30 -2
  20. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +30 -1
  21. package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +35 -2
  22. package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +35 -1
  23. package/dist/bundling-sources/shared_libs/security/email-domain.ts +19 -0
  24. package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +2 -0
  25. package/dist/cli/{auth-VZAMAMFW.mjs → auth-KFWG72AZ.mjs} +6 -6
  26. package/dist/cli/auth-W32GMYND.js +43 -0
  27. package/dist/cli/{billing-DADQUQEZ.mjs → billing-MMZ336HO.mjs} +10 -10
  28. package/dist/cli/{billing-ASZJDFH2.js → billing-OQVOAZ4S.js} +98 -98
  29. package/dist/cli/{chunk-HLUNTJBO.mjs → chunk-3DUNNZB6.mjs} +4 -4
  30. package/dist/cli/{chunk-YRQKRQDU.js → chunk-4AZLGNXV.js} +36 -26
  31. package/dist/cli/{chunk-Y3T5GWYK.mjs → chunk-5OEFXAKP.mjs} +5 -1
  32. package/dist/cli/{chunk-ERLW6RPA.js → chunk-5V7NZKGG.js} +2 -2
  33. package/dist/cli/{chunk-34UKDHRL.js → chunk-5VNQMVCU.js} +26 -26
  34. package/dist/cli/{chunk-DZTVDL2X.js → chunk-5W4ENHWM.js} +12 -12
  35. package/dist/cli/{chunk-7JZ27AFH.mjs → chunk-6FBDTYR2.mjs} +2 -2
  36. package/dist/cli/{chunk-QM7PHHYZ.js → chunk-6LG7MLJ2.js} +44 -44
  37. package/dist/cli/{chunk-7MFATEUC.mjs → chunk-6Y5TU3R7.mjs} +2 -2
  38. package/dist/cli/{chunk-52C6W7FG.mjs → chunk-7MY7KWJS.mjs} +1 -1
  39. package/dist/cli/{chunk-7P72EGLK.mjs → chunk-7ZW67ME6.mjs} +1 -1
  40. package/dist/cli/{chunk-TQKHXMV3.js → chunk-BTFUAGHC.js} +16 -16
  41. package/dist/cli/{chunk-LWPFMYSO.mjs → chunk-EEG46QZY.mjs} +2 -2
  42. package/dist/cli/{chunk-NCX2JH2F.js → chunk-EEJHB76U.js} +9 -9
  43. package/dist/cli/{chunk-2GJZLIKW.js → chunk-EITMD3A5.js} +1 -1
  44. package/dist/cli/{chunk-DGKDCZGC.js → chunk-F2VEFMU5.js} +13 -13
  45. package/dist/cli/{chunk-4JQEAYN3.js → chunk-F5YQXCP3.js} +5 -1
  46. package/dist/cli/{chunk-2CBX43LP.mjs → chunk-GOOF7E2B.mjs} +5 -5
  47. package/dist/cli/{chunk-YWTRCKGD.mjs → chunk-GYTSDSQD.mjs} +11 -11
  48. package/dist/cli/{chunk-G5TV6WLV.js → chunk-H7Q5IDO3.js} +19 -19
  49. package/dist/cli/{chunk-3TCHX7YK.mjs → chunk-HJR2DDJS.mjs} +2 -2
  50. package/dist/cli/{chunk-OGQYAJSO.js → chunk-IVWU7SJC.js} +5 -5
  51. package/dist/cli/{chunk-XGEUPU3L.mjs → chunk-J65HJCJO.mjs} +2 -2
  52. package/dist/cli/{chunk-Z4Y4BLW7.mjs → chunk-JA633HRV.mjs} +3 -3
  53. package/dist/cli/{chunk-LTCEZWPZ.mjs → chunk-JARZ47OP.mjs} +2 -2
  54. package/dist/cli/{chunk-5YYWZ43J.js → chunk-JCH4UNNS.js} +2 -2
  55. package/dist/cli/{chunk-7MHBJU73.js → chunk-JCWNF44W.js} +22 -22
  56. package/dist/cli/{chunk-C6XYSTBW.js → chunk-JVOUQFHT.js} +1 -1
  57. package/dist/cli/{chunk-HR5BT42R.js → chunk-JYG4XZLT.js} +99 -99
  58. package/dist/cli/{chunk-KYO2FICL.mjs → chunk-K2XELBPF.mjs} +5 -5
  59. package/dist/cli/{chunk-2HFSYH7V.mjs → chunk-KUK7ARXA.mjs} +2 -2
  60. package/dist/cli/{chunk-WP36UBRY.mjs → chunk-LHE2TSV6.mjs} +1 -1
  61. package/dist/cli/{chunk-N4LADLCO.js → chunk-LIJKRDDG.js} +6 -6
  62. package/dist/cli/{chunk-KRW727W6.mjs → chunk-LX2TC3HO.mjs} +4 -4
  63. package/dist/cli/{chunk-QI57XUGA.js → chunk-MEGHIX4M.js} +5 -5
  64. package/dist/cli/{chunk-Z7QM244Q.mjs → chunk-MI7X6V6V.mjs} +3 -3
  65. package/dist/cli/{chunk-CJ7DBYEQ.js → chunk-MXQP7CXZ.js} +8 -8
  66. package/dist/cli/{chunk-GFRJU2KB.js → chunk-ND7SFRQL.js} +2 -2
  67. package/dist/cli/{chunk-CQBIO6HW.mjs → chunk-NURW5XH4.mjs} +1 -1
  68. package/dist/cli/{chunk-GWDPNOA7.mjs → chunk-OAKWSLKS.mjs} +2 -2
  69. package/dist/cli/{chunk-XBYQZEUE.mjs → chunk-P7A3H6G5.mjs} +1 -1
  70. package/dist/cli/{chunk-NZDZGK35.js → chunk-PMDHY2YK.js} +7 -7
  71. package/dist/cli/{chunk-4NZ3OZNO.mjs → chunk-PU3ZAG6V.mjs} +1 -1
  72. package/dist/cli/{chunk-3M2QH3KA.mjs → chunk-RO66FPTS.mjs} +22 -12
  73. package/dist/cli/{chunk-3NG43NXB.js → chunk-SH32HL7I.js} +53 -53
  74. package/dist/cli/{chunk-IYJO3RWR.js → chunk-SYTWWVIQ.js} +5 -5
  75. package/dist/cli/{chunk-FB7UPZ6M.js → chunk-TBWYZOSV.js} +3 -3
  76. package/dist/cli/{chunk-CXETRZ3G.js → chunk-UQJBV5PM.js} +10 -10
  77. package/dist/cli/{chunk-HPX7LLAM.mjs → chunk-UREAIHUU.mjs} +2 -2
  78. package/dist/cli/{chunk-2FF3O2Y2.js → chunk-VAT2SXFF.js} +12 -12
  79. package/dist/cli/{chunk-NAN3A4IF.mjs → chunk-VPERQ3U6.mjs} +5 -5
  80. package/dist/cli/{chunk-XMUPZINS.mjs → chunk-VTK3HGMN.mjs} +5 -5
  81. package/dist/cli/{chunk-JL5JU3LD.mjs → chunk-VXTTAYOT.mjs} +2 -2
  82. package/dist/cli/{chunk-EK5C2R7S.js → chunk-WKHPLBJK.js} +15 -15
  83. package/dist/cli/{chunk-EWA3M54M.mjs → chunk-X5KOHDJN.mjs} +1 -1
  84. package/dist/cli/{chunk-D3SXB2NX.js → chunk-Z3UEBFIN.js} +41 -41
  85. package/dist/cli/command-docs.js +2 -2
  86. package/dist/cli/command-docs.mjs +1 -1
  87. package/dist/cli/concurrent-runs-help-6QT7ZR4W.js +21 -0
  88. package/dist/cli/{concurrent-runs-help-YP7ALTDB.mjs → concurrent-runs-help-C2O5YKQA.mjs} +7 -7
  89. package/dist/cli/{csv-67WT5EGR.js → csv-MJDNOIQJ.js} +14 -14
  90. package/dist/cli/{csv-D5ITFSYI.mjs → csv-Z4DNGR54.mjs} +5 -5
  91. package/dist/cli/{db-SZYBRFYG.mjs → db-4RL2BNOF.mjs} +7 -7
  92. package/dist/cli/{db-GZS76X7R.js → db-S5QVPK5E.js} +32 -32
  93. package/dist/cli/{describe-YJ7ZLLLI.mjs → describe-L4P5SZLQ.mjs} +19 -19
  94. package/dist/cli/describe-VLU2LUDJ.js +50 -0
  95. package/dist/cli/describe-core.d.mts +3 -3
  96. package/dist/cli/describe-core.d.ts +3 -3
  97. package/dist/cli/describe-core.js +1 -1
  98. package/dist/cli/describe-core.mjs +1 -1
  99. package/dist/cli/{executions-O5USTYGL.js → executions-MFZ2Z36O.js} +9 -9
  100. package/dist/cli/{executions-HMYGR32E.mjs → executions-RR6O3XK5.mjs} +7 -7
  101. package/dist/cli/{feedback-Z3NXWYUO.mjs → feedback-EQBQ3ABB.mjs} +7 -7
  102. package/dist/cli/{feedback-RHLFDCRS.js → feedback-YDAG7VH2.js} +15 -15
  103. package/dist/cli/git-E6W44F5M.js +25 -0
  104. package/dist/cli/{git-CLFKXELB.mjs → git-YGLCCU35.mjs} +6 -6
  105. package/dist/cli/index.js +150 -150
  106. package/dist/cli/index.mjs +46 -46
  107. package/dist/cli/{integrations-FOACOBQB.mjs → integrations-FWYXSBHK.mjs} +8 -8
  108. package/dist/cli/{integrations-TZ4QEQGV.js → integrations-IQXYMRMW.js} +16 -16
  109. package/dist/cli/{legacy-noops-6F6Y3BV7.mjs → legacy-noops-I4YRIX5F.mjs} +7 -7
  110. package/dist/cli/{legacy-noops-QRDOS33V.js → legacy-noops-U7LI7UXC.js} +10 -10
  111. package/dist/cli/{mcp-ETMMDDGB.js → mcp-GX2UKKWU.js} +25 -25
  112. package/dist/cli/{mcp-UXRCWOZU.mjs → mcp-QJBMB6VS.mjs} +5 -5
  113. package/dist/cli/{monitors-DITT7QTV.js → monitors-WCJYINGX.js} +102 -102
  114. package/dist/cli/{monitors-6XEWR46R.mjs → monitors-Z6EGKYJP.mjs} +8 -8
  115. package/dist/cli/{org-4DE37X3L.js → org-7SKG423N.js} +89 -89
  116. package/dist/cli/{org-CVSSH73G.mjs → org-NNHICBR2.mjs} +7 -7
  117. package/dist/cli/{play-RH6P45CI.js → play-4P4DTG3Q.js} +318 -318
  118. package/dist/cli/{play-Y5NCHOKK.mjs → play-CXDFPJ7Z.mjs} +18 -18
  119. package/dist/cli/{providers-DU42DLOL.js → providers-EE4TUE3O.js} +10 -10
  120. package/dist/cli/{providers-VHUHC4IZ.mjs → providers-VQLQ7DTR.mjs} +7 -7
  121. package/dist/cli/{quickstart-HJY5YYE5.mjs → quickstart-IYNJRB5G.mjs} +5 -5
  122. package/dist/cli/{quickstart-XJ43JLEC.js → quickstart-RVXHK4WA.js} +7 -7
  123. package/dist/cli/{run-JXUS7QFI.js → run-R3F34KU3.js} +44 -44
  124. package/dist/cli/{run-JAIXHVH7.mjs → run-VBQPPMEX.mjs} +24 -24
  125. package/dist/cli/{search-RDMNM2AX.mjs → search-B7R62HX5.mjs} +8 -8
  126. package/dist/cli/search-UUVFXZRA.js +32 -0
  127. package/dist/cli/{search-output-ZKTR3WTJ.mjs → search-output-LNQQXIGZ.mjs} +5 -5
  128. package/dist/cli/{search-output-RKAM2HBH.js → search-output-LWHWEPOT.js} +7 -7
  129. package/dist/cli/{secrets-WSW3FTF6.mjs → secrets-NM3VAJLO.mjs} +7 -7
  130. package/dist/cli/{secrets-TKFVMAYX.js → secrets-QBOZ7WTD.js} +16 -16
  131. package/dist/cli/sessions-K3PD73Q2.js +22 -0
  132. package/dist/cli/{sessions-724BK6VP.mjs → sessions-R5BSIJ4I.mjs} +7 -7
  133. package/dist/cli/{settings-5LJZDAZU.js → settings-POYWKNRD.js} +86 -86
  134. package/dist/cli/{settings-YRC7J75G.mjs → settings-S4PN7WLY.mjs} +13 -13
  135. package/dist/cli/{setup-STNPX5MK.mjs → setup-PFLXVBTL.mjs} +10 -10
  136. package/dist/cli/{setup-2F3DBSOS.js → setup-VHB4Z654.js} +50 -50
  137. package/dist/cli/skills-QNE2EYT3.js +36 -0
  138. package/dist/cli/{skills-D5PK56FO.mjs → skills-W2TELEU7.mjs} +8 -8
  139. package/dist/cli/tools-3RLI4HGF.js +57 -0
  140. package/dist/cli/{tools-WOGWMBA3.mjs → tools-M4FA6N3Y.mjs} +18 -18
  141. package/dist/cli/update-UT6KIW2W.js +34 -0
  142. package/dist/cli/{update-PC6XSWMI.mjs → update-W7LIHEA7.mjs} +10 -10
  143. package/dist/cli/{views-HLCLAPWN.js → views-DJXAGD7V.js} +22 -22
  144. package/dist/cli/{views-IIHT4RYQ.mjs → views-KTVPV6UP.mjs} +7 -7
  145. package/dist/cli/{workflow-HK4MZ7LK.mjs → workflow-LGKCRODX.mjs} +8 -8
  146. package/dist/cli/{workflow-CCZ2A7DI.js → workflow-NVZDJKH2.js} +18 -18
  147. package/dist/{client-BQ6yuSjM.d.ts → client-CCyWJqAI.d.ts} +1 -1
  148. package/dist/{client-DfdUc_MY.d.mts → client-Tp1LSULB.d.mts} +1 -1
  149. package/dist/{client-core-3GQ8WMuk.d.ts → client-core-BpYiYEfu.d.ts} +1 -1
  150. package/dist/{client-core-ClsNRytk.d.mts → client-core-D8eCZz3O.d.mts} +1 -1
  151. package/dist/{compiler-manifest-BWFtsQIC.d.mts → compiler-manifest-EBWEUj0b.d.mts} +35 -0
  152. package/dist/{compiler-manifest-BWFtsQIC.d.ts → compiler-manifest-EBWEUj0b.d.ts} +35 -0
  153. package/dist/{errors-Lm9_vJHZ.d.ts → errors-CParKUQR.d.mts} +2 -2
  154. package/dist/{errors-CwKXXtuu.d.mts → errors-Qt0OTA7_.d.ts} +2 -2
  155. package/dist/{index-DjwsAt82.d.mts → index-BMUVCNp7.d.mts} +1 -1
  156. package/dist/{index-3vJ-V9yw.d.ts → index-CoqDkIw0.d.ts} +1 -1
  157. package/dist/index.d.mts +7 -7
  158. package/dist/index.d.ts +7 -7
  159. package/dist/index.js +10 -10
  160. package/dist/index.mjs +7 -7
  161. package/dist/install-integrity.json +126 -124
  162. package/dist/plays/bundle-play-file.d.mts +3 -3
  163. package/dist/plays/bundle-play-file.d.ts +3 -3
  164. package/dist/plays/bundle-play-file.mjs +20 -1
  165. package/dist/plays/play-description.d.mts +2 -2
  166. package/dist/plays/play-description.d.ts +2 -2
  167. package/dist/plays/run-request.d.mts +2 -2
  168. package/dist/plays/run-request.d.ts +2 -2
  169. package/dist/release.d.mts +1 -1
  170. package/dist/release.d.ts +1 -1
  171. package/dist/release.js +2 -2
  172. package/dist/release.mjs +1 -1
  173. package/dist/server.d.mts +4 -4
  174. package/dist/server.d.ts +4 -4
  175. package/dist/server.js +10 -10
  176. package/dist/server.mjs +4 -4
  177. package/package.json +1 -1
  178. package/dist/cli/auth-455MB4K6.js +0 -43
  179. package/dist/cli/concurrent-runs-help-GFWXOKF5.js +0 -21
  180. package/dist/cli/describe-ZRGYAEBT.js +0 -50
  181. package/dist/cli/git-RC4XDATD.js +0 -25
  182. package/dist/cli/search-O5VVMXII.js +0 -32
  183. package/dist/cli/sessions-3PWFWCHO.js +0 -22
  184. package/dist/cli/skills-RFOMVXIT.js +0 -36
  185. package/dist/cli/tools-CAO6EVUW.js +0 -57
  186. package/dist/cli/update-L4DQZY3G.js +0 -34
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNZDZGK35js = require('./chunk-NZDZGK35.js');
5
+ var _chunkPMDHY2YKjs = require('./chunk-PMDHY2YK.js');
6
6
 
7
7
 
8
8
 
@@ -11,11 +11,11 @@ var _chunkNZDZGK35js = require('./chunk-NZDZGK35.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk2FF3O2Y2js = require('./chunk-2FF3O2Y2.js');
14
+ var _chunkVAT2SXFFjs = require('./chunk-VAT2SXFF.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkCXETRZ3Gjs = require('./chunk-CXETRZ3G.js');
18
+ var _chunkUQJBV5PMjs = require('./chunk-UQJBV5PM.js');
19
19
 
20
20
 
21
21
 
@@ -55,10 +55,10 @@ var _chunkJ33TSWO5js = require('./chunk-J33TSWO5.js');
55
55
  var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
56
56
 
57
57
 
58
- var _chunkIYJO3RWRjs = require('./chunk-IYJO3RWR.js');
58
+ var _chunkSYTWWVIQjs = require('./chunk-SYTWWVIQ.js');
59
59
 
60
60
 
61
- var _chunkDZTVDL2Xjs = require('./chunk-DZTVDL2X.js');
61
+ var _chunk5W4ENHWMjs = require('./chunk-5W4ENHWM.js');
62
62
 
63
63
 
64
64
  var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
@@ -68,18 +68,18 @@ var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
68
68
 
69
69
 
70
70
 
71
- var _chunk7MHBJU73js = require('./chunk-7MHBJU73.js');
71
+ var _chunkJCWNF44Wjs = require('./chunk-JCWNF44W.js');
72
72
 
73
73
 
74
74
 
75
75
 
76
- var _chunkGFRJU2KBjs = require('./chunk-GFRJU2KB.js');
76
+ var _chunkND7SFRQLjs = require('./chunk-ND7SFRQL.js');
77
77
 
78
78
 
79
79
 
80
80
 
81
81
 
82
- var _chunkQM7PHHYZjs = require('./chunk-QM7PHHYZ.js');
82
+ var _chunk6LG7MLJ2js = require('./chunk-6LG7MLJ2.js');
83
83
 
84
84
 
85
85
 
@@ -88,12 +88,12 @@ var _chunkQM7PHHYZjs = require('./chunk-QM7PHHYZ.js');
88
88
 
89
89
 
90
90
 
91
- var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.js');
91
+ var _chunkH7Q5IDO3js = require('./chunk-H7Q5IDO3.js');
92
92
 
93
93
 
94
94
 
95
95
 
96
- var _chunkCJ7DBYEQjs = require('./chunk-CJ7DBYEQ.js');
96
+ var _chunkMXQP7CXZjs = require('./chunk-MXQP7CXZ.js');
97
97
 
98
98
 
99
99
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
@@ -199,10 +199,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
199
199
  }
200
200
  };
201
201
  function pendingToolExecutionPath(input) {
202
- const config = _chunkCJ7DBYEQjs.resolveConfig.call(void 0, );
202
+ const config = _chunkMXQP7CXZjs.resolveConfig.call(void 0, );
203
203
  const fingerprint = _crypto.createHash.call(void 0, "sha256").update(config.baseUrl).update("\0").update(_crypto.createHash.call(void 0, "sha256").update(config.apiKey).digest("hex")).update("\0").update(input.toolId).update("\0").update(_chunkXDVT3GOMjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
204
204
  return _path.join.call(void 0,
205
- _chunkCJ7DBYEQjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
205
+ _chunkMXQP7CXZjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
206
206
  `${PENDING_PREFIX}${fingerprint}.json`
207
207
  );
208
208
  }
@@ -510,13 +510,13 @@ function categoryEnumerationRender(summaries) {
510
510
  };
511
511
  }
512
512
  async function listToolCategories(emitJson, compact) {
513
- const client = new (0, _chunkIYJO3RWRjs.DeeplineClient)();
513
+ const client = new (0, _chunkSYTWWVIQjs.DeeplineClient)();
514
514
  if (!emitJson) {
515
515
  const summaries2 = (await client.listToolCategories()).map((category) => ({
516
516
  ...category,
517
517
  description: describeToolCategory(category.name)
518
518
  }));
519
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
519
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
520
520
  { categories: summaries2, render: categoryEnumerationRender(summaries2) },
521
521
  { json: false }
522
522
  );
@@ -526,7 +526,7 @@ async function listToolCategories(emitJson, compact) {
526
526
  const items = rawTools.map(toListedTool);
527
527
  const summaries = aggregateCategorySummaries(rawTools);
528
528
  const outputItems = compact ? items.map(compactTool) : items;
529
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
529
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
530
530
  {
531
531
  tools: outputItems,
532
532
  count: outputItems.length,
@@ -545,7 +545,7 @@ function unknownCategoryError(category, summaries, emitJson) {
545
545
  const known = summaries.map((item) => item.name);
546
546
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
547
547
  if (emitJson) {
548
- _chunkG5TV6WLVjs.printJson.call(void 0, {
548
+ _chunkH7Q5IDO3js.printJson.call(void 0, {
549
549
  ok: false,
550
550
  exitCode: 4,
551
551
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -559,13 +559,13 @@ function unknownCategoryError(category, summaries, emitJson) {
559
559
  const render = categoryEnumerationRender(summaries);
560
560
  console.error(message);
561
561
  console.error("");
562
- console.error(_chunkG5TV6WLVjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
562
+ console.error(_chunkH7Q5IDO3js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
563
563
  console.error("");
564
564
  console.error(`Valid categories: ${known.join(", ")}`);
565
565
  return 4;
566
566
  }
567
567
  async function listToolsInCategory(category, emitJson) {
568
- const client = new (0, _chunkIYJO3RWRjs.DeeplineClient)();
568
+ const client = new (0, _chunkSYTWWVIQjs.DeeplineClient)();
569
569
  const { tools: rawTools, categories } = await client.listToolsInCategory(category);
570
570
  const summaries = categories.map((item) => ({
571
571
  ...item,
@@ -601,7 +601,7 @@ async function listToolsInCategory(category, emitJson) {
601
601
  }
602
602
  ]
603
603
  };
604
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
604
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
605
605
  {
606
606
  category,
607
607
  total: rows.length,
@@ -614,7 +614,7 @@ async function listToolsInCategory(category, emitJson) {
614
614
  return 0;
615
615
  }
616
616
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
617
- const client = new (0, _chunkIYJO3RWRjs.DeeplineClient)();
617
+ const client = new (0, _chunkSYTWWVIQjs.DeeplineClient)();
618
618
  const items = (await client.listTools({
619
619
  categories: requestedCategories.join(","),
620
620
  compact
@@ -643,7 +643,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
643
643
  ]
644
644
  };
645
645
  const outputItems = compact ? items.map(compactTool) : items;
646
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
646
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
647
647
  {
648
648
  tools: outputItems,
649
649
  count: outputItems.length,
@@ -662,13 +662,13 @@ async function listTools(category, options = {}) {
662
662
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
663
663
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
664
664
  const compact = options.compact !== false;
665
- const emitJson = options.json === true || _chunkG5TV6WLVjs.shouldEmitJson.call(void 0, );
665
+ const emitJson = options.json === true || _chunkH7Q5IDO3js.shouldEmitJson.call(void 0, );
666
666
  if (positional && flagCategories.length > 0) {
667
667
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
668
668
  if (!flagIsSameSingle) {
669
669
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
670
670
  if (emitJson) {
671
- _chunkG5TV6WLVjs.printJson.call(void 0, {
671
+ _chunkH7Q5IDO3js.printJson.call(void 0, {
672
672
  ok: false,
673
673
  exitCode: 2,
674
674
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -695,7 +695,7 @@ async function grepTools(queryInput, options = {}) {
695
695
  console.error("Usage: deepline tools grep <query> [--json]");
696
696
  return 1;
697
697
  }
698
- const client = new (0, _chunkIYJO3RWRjs.DeeplineClient)();
698
+ const client = new (0, _chunkSYTWWVIQjs.DeeplineClient)();
699
699
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
700
700
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
701
701
  const jsonOutput = options.json === true;
@@ -719,7 +719,7 @@ async function grepTools(queryInput, options = {}) {
719
719
  query,
720
720
  mode
721
721
  }) : null;
722
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
722
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
723
723
  {
724
724
  tools: outputTools,
725
725
  count: outputTools.length,
@@ -737,7 +737,7 @@ async function grepTools(queryInput, options = {}) {
737
737
  } : {},
738
738
  commandTemplates: TOOL_COMMAND_TEMPLATES
739
739
  },
740
- { json: options.json || _chunkG5TV6WLVjs.shouldEmitJson.call(void 0, ) }
740
+ { json: options.json || _chunkH7Q5IDO3js.shouldEmitJson.call(void 0, ) }
741
741
  );
742
742
  return 0;
743
743
  }
@@ -833,13 +833,13 @@ Output:
833
833
  activity.
834
834
  `
835
835
  );
836
- _chunk2FF3O2Y2js.registerIntegrationBalanceCommand.call(void 0, tools, true);
837
- _chunk2FF3O2Y2js.registerWorkspaceConnectionListCommand.call(void 0, tools, "workspace-connections", true);
838
- _chunk2FF3O2Y2js.registerLegacyHubSpotMembersCommand.call(void 0, tools, true);
839
- _chunk2FF3O2Y2js.registerLegacyWorkspaceConnectionCommand.call(void 0, tools, true);
840
- _chunk2FF3O2Y2js.registerLegacyCalendarDelegationCommand.call(void 0, tools, true);
841
- _chunk2FF3O2Y2js.registerLegacyAvailabilityCalendarsCommand.call(void 0, tools, true);
842
- _chunk2FF3O2Y2js.registerIntegrationConnectCommand.call(void 0, tools, false, true);
836
+ _chunkVAT2SXFFjs.registerIntegrationBalanceCommand.call(void 0, tools, true);
837
+ _chunkVAT2SXFFjs.registerWorkspaceConnectionListCommand.call(void 0, tools, "workspace-connections", true);
838
+ _chunkVAT2SXFFjs.registerLegacyHubSpotMembersCommand.call(void 0, tools, true);
839
+ _chunkVAT2SXFFjs.registerLegacyWorkspaceConnectionCommand.call(void 0, tools, true);
840
+ _chunkVAT2SXFFjs.registerLegacyCalendarDelegationCommand.call(void 0, tools, true);
841
+ _chunkVAT2SXFFjs.registerLegacyAvailabilityCalendarsCommand.call(void 0, tools, true);
842
+ _chunkVAT2SXFFjs.registerIntegrationConnectCommand.call(void 0, tools, false, true);
843
843
  tools.command("list [category]").description("Browse tool categories, or list every tool in a category.").addHelpText(
844
844
  "after",
845
845
  `
@@ -872,7 +872,7 @@ Examples:
872
872
  json: Boolean(options.json)
873
873
  });
874
874
  });
875
- _chunkCXETRZ3Gjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
875
+ _chunkUQJBV5PMjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
876
876
  tools.command("grep <query>").description(
877
877
  "Regex grep over tool ids, descriptions, categories, and input fields."
878
878
  ).addHelpText(
@@ -907,7 +907,7 @@ Examples:
907
907
  });
908
908
  const addToolMetadataCommand = (command) => {
909
909
  let compatibilityMetadata;
910
- _chunk7MHBJU73js.registerCompatibilityCatalog.call(void 0, command, () => ({
910
+ _chunkJCWNF44Wjs.registerCompatibilityCatalog.call(void 0, command, () => ({
911
911
  toolId: command.args[0],
912
912
  acceptMetadata: (metadata) => {
913
913
  compatibilityMetadata = metadata;
@@ -977,7 +977,7 @@ Examples:
977
977
  process.exitCode = await narrowView();
978
978
  return;
979
979
  }
980
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-ZRGYAEBT.js")));
980
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-VLU2LUDJ.js")));
981
981
  process.exitCode = await describeAnything(
982
982
  toolId,
983
983
  {
@@ -992,7 +992,7 @@ Examples:
992
992
  });
993
993
  };
994
994
  addToolMetadataCommand(
995
- _chunkNZDZGK35js.addDescribeOptions.call(void 0,
995
+ _chunkPMDHY2YKjs.addDescribeOptions.call(void 0,
996
996
  tools.command("describe <toolId>", { hidden: true }).alias("get"),
997
997
  { json: false }
998
998
  )
@@ -1061,7 +1061,7 @@ Examples:
1061
1061
  options,
1062
1062
  void 0,
1063
1063
  true,
1064
- _chunkGFRJU2KBjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1064
+ _chunkND7SFRQLjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1065
1065
  );
1066
1066
  }
1067
1067
  );
@@ -1069,13 +1069,13 @@ Examples:
1069
1069
  function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1070
1070
  let metadata;
1071
1071
  const startedAt = performance.now();
1072
- const baseUrl = _chunkCJ7DBYEQjs.resolveConfig.call(void 0, ).baseUrl;
1073
- _chunkGFRJU2KBjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1074
- const result = _chunk7MHBJU73js.runToolExecuteStage.call(void 0,
1072
+ const baseUrl = _chunkMXQP7CXZjs.resolveConfig.call(void 0, ).baseUrl;
1073
+ _chunkND7SFRQLjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1074
+ const result = _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0,
1075
1075
  "SDK compatibility",
1076
- () => _chunkQM7PHHYZjs.checkSdkCompatibility.call(void 0, baseUrl, {
1076
+ () => _chunk6LG7MLJ2js.checkSdkCompatibility.call(void 0, baseUrl, {
1077
1077
  command: "tools execute",
1078
- skillsVersion: _chunkCJ7DBYEQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1078
+ skillsVersion: _chunkMXQP7CXZjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1079
1079
  persistCache: false,
1080
1080
  timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
1081
1081
  catalog: {
@@ -1089,7 +1089,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1089
1089
  })
1090
1090
  ).then(
1091
1091
  (compatibility) => {
1092
- _chunkGFRJU2KBjs.recordCliTrace.call(void 0, {
1092
+ _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
1093
1093
  phase: "cli.tool_execute_compatibility_ready",
1094
1094
  ms: performance.now() - startedAt,
1095
1095
  ok: compatibility.error === null,
@@ -1098,7 +1098,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1098
1098
  return compatibility;
1099
1099
  },
1100
1100
  (error) => {
1101
- _chunkGFRJU2KBjs.recordCliTrace.call(void 0, {
1101
+ _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
1102
1102
  phase: "cli.tool_execute_compatibility_ready",
1103
1103
  ms: performance.now() - startedAt,
1104
1104
  ok: false
@@ -1113,7 +1113,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1113
1113
  console.error("Usage: deepline tools describe <toolId> [--json]");
1114
1114
  return 1;
1115
1115
  }
1116
- const client = new (0, _chunkIYJO3RWRjs.DeeplineClient)();
1116
+ const client = new (0, _chunkSYTWWVIQjs.DeeplineClient)();
1117
1117
  let tool;
1118
1118
  try {
1119
1119
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1167,7 +1167,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1167
1167
  const lines = toolPricingOnlyLines(tool, toolId);
1168
1168
  if (inferenceQuote)
1169
1169
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1170
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
1170
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
1171
1171
  {
1172
1172
  toolId: String(tool.toolId || toolId),
1173
1173
  cost: _chunkECWOIXAVjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1190,7 +1190,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1190
1190
  void 0,
1191
1191
  seedToolListScript
1192
1192
  );
1193
- _chunkG5TV6WLVjs.printCompactJson.call(void 0, {
1193
+ _chunkH7Q5IDO3js.printCompactJson.call(void 0, {
1194
1194
  toolId: contract.toolId,
1195
1195
  ...options.schemaOnly ? {
1196
1196
  inputSchema: contract.inputSchema,
@@ -1213,7 +1213,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1213
1213
  return 0;
1214
1214
  }
1215
1215
  if (options.contractJson) {
1216
- _chunkG5TV6WLVjs.printCompactJson.call(void 0, {
1216
+ _chunkH7Q5IDO3js.printCompactJson.call(void 0, {
1217
1217
  ..._chunkECWOIXAVjs.toolContractJsonForDescribe.call(void 0,
1218
1218
  tool,
1219
1219
  toolId,
@@ -1227,7 +1227,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1227
1227
  }
1228
1228
  const emitJson = options.json === true;
1229
1229
  if (emitJson) {
1230
- _chunkG5TV6WLVjs.printCompactJson.call(void 0, {
1230
+ _chunkH7Q5IDO3js.printCompactJson.call(void 0, {
1231
1231
  ..._chunkECWOIXAVjs.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1232
1232
  ...modelDescription ? { modelOptions: modelDescription } : {},
1233
1233
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2090,7 +2090,7 @@ function parseExecuteOptions(toolId, options, output) {
2090
2090
  outputFormat = normalizeOutputFormat(options.outputFormat);
2091
2091
  }
2092
2092
  if (options.idempotencyKey !== void 0) {
2093
- _chunkDZTVDL2Xjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2093
+ _chunk5W4ENHWMjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2094
2094
  }
2095
2095
  if (options.connection !== void 0 && (options.recover || options.idempotencyKey !== void 0)) {
2096
2096
  throw new Error(
@@ -2475,7 +2475,7 @@ function writeToolReceipt(input) {
2475
2475
  const data = Object.hasOwn(toolResponse, "rawV2") ? toolResponse.rawV2 : Object.hasOwn(toolResponse, "raw") ? toolResponse.raw : Object.hasOwn(envelope, "output") ? envelope.output : Object.hasOwn(envelope, "result") ? envelope.result : response;
2476
2476
  const status = typeof envelope.status === "string" ? envelope.status : "completed";
2477
2477
  const charged = _chunkECWOIXAVjs.recordField.call(void 0, envelope, "billing").credits_charged;
2478
- _chunkNZDZGK35js.writeExecutionOutput.call(void 0,
2478
+ _chunkPMDHY2YKjs.writeExecutionOutput.call(void 0,
2479
2479
  {
2480
2480
  id: _nullishCoalesce(input.key, () => ( jobId)),
2481
2481
  status,
@@ -2506,8 +2506,8 @@ async function executeToolForReceipt(input) {
2506
2506
  let retryKey = null;
2507
2507
  let received = false;
2508
2508
  try {
2509
- const cliInvocationId = _nullishCoalesce(_chunk7MHBJU73js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk7MHBJU73js.beginToolExecuteCommand.call(void 0, )));
2510
- const client = new (0, _chunkIYJO3RWRjs.DeeplineClient)();
2509
+ const cliInvocationId = _nullishCoalesce(_chunkJCWNF44Wjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkJCWNF44Wjs.beginToolExecuteCommand.call(void 0, )));
2510
+ const client = new (0, _chunkSYTWWVIQjs.DeeplineClient)();
2511
2511
  const metadata = assertExecutableToolMetadata(
2512
2512
  toolId,
2513
2513
  await _asyncNullishCoalesce(input.metadata, async () => ( await client.getTool(toolId, { cliInvocationId })))
@@ -2528,9 +2528,9 @@ async function executeToolForReceipt(input) {
2528
2528
  ...input.timeoutMs !== void 0 ? { timeout: input.timeoutMs } : {},
2529
2529
  ..._optionalChain([metadata, 'access', _35 => _35.executionMetadata, 'optionalAccess', _36 => _36.retrySafeTransientHttp]) === true ? { maxRetries: 2, retryApiErrors: true } : {},
2530
2530
  ...key ? { idempotencyKey: key } : {},
2531
- searchRef: _chunkCXETRZ3Gjs.recentSearchRef.call(void 0, toolId),
2531
+ searchRef: _chunkUQJBV5PMjs.recentSearchRef.call(void 0, toolId),
2532
2532
  cliInvocationId,
2533
- onResponseReceived: _chunkNZDZGK35js.recordApiResponse
2533
+ onResponseReceived: _chunkPMDHY2YKjs.recordApiResponse
2534
2534
  }).catch((error) => {
2535
2535
  const guidance = toolGuidanceLines(metadata.guidance);
2536
2536
  if (guidance.length)
@@ -2553,11 +2553,11 @@ async function executeToolForReceipt(input) {
2553
2553
  if (received) throw error;
2554
2554
  const outcomeKnown = answeredWithFailure(error);
2555
2555
  if (outcomeKnown) _optionalChain([retryKey, 'optionalAccess', _37 => _37.discard, 'call', _38 => _38()]);
2556
- _chunkNZDZGK35js.writeExecutionOutput.call(void 0,
2556
+ _chunkPMDHY2YKjs.writeExecutionOutput.call(void 0,
2557
2557
  {
2558
2558
  id: outcomeKnown ? null : key,
2559
2559
  status: "failed",
2560
- error: _chunkG5TV6WLVjs.errorToJsonPayload.call(void 0, error).error,
2560
+ error: _chunkH7Q5IDO3js.errorToJsonPayload.call(void 0, error).error,
2561
2561
  ...key && !outcomeKnown ? {
2562
2562
  next: {
2563
2563
  retry: "Run the same command again: it picks up this call without paying twice."
@@ -2574,11 +2574,11 @@ function answeredWithFailure(error) {
2574
2574
  error.statusCode !== 408 && error.code !== "EXECUTION_OUTCOME_UNKNOWN";
2575
2575
  }
2576
2576
  async function getToolExecutionReceipt(key, output) {
2577
- const client = new (0, _chunkIYJO3RWRjs.DeeplineClient)();
2577
+ const client = new (0, _chunkSYTWWVIQjs.DeeplineClient)();
2578
2578
  const execution = await client.executions.getByKey(key);
2579
2579
  output.label = `${execution.toolId} (tool)`;
2580
2580
  if (execution.response === void 0) {
2581
- _chunkNZDZGK35js.writeExecutionOutput.call(void 0,
2581
+ _chunkPMDHY2YKjs.writeExecutionOutput.call(void 0,
2582
2582
  {
2583
2583
  id: key,
2584
2584
  status: execution.executionRecovery.state,
@@ -2607,19 +2607,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2607
2607
  parsed = parseExecuteOptions(toolId, options, output);
2608
2608
  } catch (error) {
2609
2609
  if (wantsJson) {
2610
- _chunkG5TV6WLVjs.printJsonError.call(void 0, error);
2610
+ _chunkH7Q5IDO3js.printJsonError.call(void 0, error);
2611
2611
  } else {
2612
2612
  console.error(error instanceof Error ? error.message : String(error));
2613
2613
  }
2614
2614
  return error instanceof _chunkBBTKAASQjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2615
2615
  }
2616
- const cliInvocationId = _nullishCoalesce(_chunk7MHBJU73js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk7MHBJU73js.beginToolExecuteCommand.call(void 0, )));
2616
+ const cliInvocationId = _nullishCoalesce(_chunkJCWNF44Wjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkJCWNF44Wjs.beginToolExecuteCommand.call(void 0, )));
2617
2617
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2618
- const tracing = _chunkGFRJU2KBjs.isCliTraceEnabled.call(void 0, );
2618
+ const tracing = _chunkND7SFRQLjs.isCliTraceEnabled.call(void 0, );
2619
2619
  const clientStartedAt = tracing ? performance.now() : void 0;
2620
- const client = new (0, _chunkIYJO3RWRjs.DeeplineClient)();
2620
+ const client = new (0, _chunkSYTWWVIQjs.DeeplineClient)();
2621
2621
  if (clientStartedAt !== void 0) {
2622
- _chunkGFRJU2KBjs.recordCliTrace.call(void 0, {
2622
+ _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
2623
2623
  phase: "cli.tool_execute_client_setup",
2624
2624
  ms: performance.now() - clientStartedAt
2625
2625
  });
@@ -2628,13 +2628,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2628
2628
  const readMetadata = async () => {
2629
2629
  if (metadata) return assertExecutableToolMetadata(parsed.toolId, metadata);
2630
2630
  try {
2631
- metadata = await _chunk7MHBJU73js.runToolExecuteStage.call(void 0,
2631
+ metadata = await _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0,
2632
2632
  "tool metadata lookup",
2633
2633
  () => client.getTool(parsed.toolId, { cliInvocationId })
2634
2634
  );
2635
2635
  } catch (error) {
2636
2636
  if (isMissingToolMetadataError(error)) {
2637
- const play = await _chunk7MHBJU73js.runToolExecuteStage.call(void 0,
2637
+ const play = await _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0,
2638
2638
  "play alias lookup",
2639
2639
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2640
2640
  );
@@ -2663,7 +2663,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2663
2663
  assertExecutableToolMetadata(parsed.toolId, metadata);
2664
2664
  } catch (error) {
2665
2665
  if (error instanceof _chunkBBTKAASQjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2666
- if (wantsJson) _chunkG5TV6WLVjs.printJsonError.call(void 0, error);
2666
+ if (wantsJson) _chunkH7Q5IDO3js.printJsonError.call(void 0, error);
2667
2667
  else console.error(error.message);
2668
2668
  return 2;
2669
2669
  }
@@ -2675,7 +2675,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2675
2675
  metadata = await readMetadata();
2676
2676
  } catch (error) {
2677
2677
  if (error instanceof _chunkBBTKAASQjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2678
- if (wantsJson) _chunkG5TV6WLVjs.printJsonError.call(void 0, error);
2678
+ if (wantsJson) _chunkH7Q5IDO3js.printJsonError.call(void 0, error);
2679
2679
  else console.error(error.message);
2680
2680
  return 2;
2681
2681
  }
@@ -2691,7 +2691,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2691
2691
  metadata = await readMetadata();
2692
2692
  } catch (error) {
2693
2693
  if (error instanceof _chunkBBTKAASQjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2694
- if (wantsJson) _chunkG5TV6WLVjs.printJsonError.call(void 0, error);
2694
+ if (wantsJson) _chunkH7Q5IDO3js.printJsonError.call(void 0, error);
2695
2695
  else console.error(error.message);
2696
2696
  return 2;
2697
2697
  }
@@ -2718,11 +2718,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2718
2718
  ...parsed.connection !== void 0 ? { connection: parsed.connection } : {},
2719
2719
  ...idempotencyKey ? { idempotencyKey } : {},
2720
2720
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2721
- searchRef: _chunkCXETRZ3Gjs.recentSearchRef.call(void 0, parsed.toolId),
2721
+ searchRef: _chunkUQJBV5PMjs.recentSearchRef.call(void 0, parsed.toolId),
2722
2722
  cliInvocationId,
2723
- onResponseReceived: _chunkNZDZGK35js.recordApiResponse,
2723
+ onResponseReceived: _chunkPMDHY2YKjs.recordApiResponse,
2724
2724
  ...tracing ? {
2725
- onServerTiming: (serverTiming) => _chunkGFRJU2KBjs.recordCliTrace.call(void 0, {
2725
+ onServerTiming: (serverTiming) => _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
2726
2726
  phase: "tool_execute_server_timing",
2727
2727
  cliInvocationId,
2728
2728
  serverTiming,
@@ -2733,13 +2733,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2733
2733
  let rawResponse;
2734
2734
  let successfulCompatibilityResponse;
2735
2735
  try {
2736
- const executeResult = await _chunk7MHBJU73js.runToolExecuteStage.call(void 0,
2736
+ const executeResult = await _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0,
2737
2737
  "execute request",
2738
2738
  async () => {
2739
2739
  try {
2740
2740
  if (tracing) {
2741
2741
  submissionStartedAt = performance.now();
2742
- _chunkGFRJU2KBjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2742
+ _chunkND7SFRQLjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2743
2743
  }
2744
2744
  return await client.executeTool(parsed.toolId, parsed.params, {
2745
2745
  ...executeOptions,
@@ -2749,34 +2749,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2749
2749
  } catch (error) {
2750
2750
  if (parsed.connection !== void 0 || !(error instanceof _chunkBBTKAASQjs.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2751
2751
  throw error;
2752
- const baseUrl = _chunkCJ7DBYEQjs.resolveConfig.call(void 0, ).baseUrl;
2752
+ const baseUrl = _chunkMXQP7CXZjs.resolveConfig.call(void 0, ).baseUrl;
2753
2753
  if (maintenancePolicy !== "off") {
2754
- _chunkQM7PHHYZjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2754
+ _chunk6LG7MLJ2js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2755
2755
  }
2756
- const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunk7MHBJU73js.runToolExecuteStage.call(void 0,
2756
+ const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0,
2757
2757
  "SDK compatibility",
2758
- () => _chunkQM7PHHYZjs.checkSdkCompatibility.call(void 0, baseUrl, {
2758
+ () => _chunk6LG7MLJ2js.checkSdkCompatibility.call(void 0, baseUrl, {
2759
2759
  command: "tools execute",
2760
- skillsVersion: _chunkCJ7DBYEQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2760
+ skillsVersion: _chunkMXQP7CXZjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2761
2761
  persistCache: maintenancePolicy !== "off"
2762
2762
  })
2763
2763
  );
2764
2764
  if (compatibility.error) throw compatibility.error;
2765
2765
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _44 => _44.readMetadata, 'call', _45 => _45()]), () => ( metadata));
2766
- if (maintenancePolicy !== "off" && await _chunk7MHBJU73js.maybeAutoUpdateAndRelaunch.call(void 0,
2766
+ if (maintenancePolicy !== "off" && await _chunkJCWNF44Wjs.maybeAutoUpdateAndRelaunch.call(void 0,
2767
2767
  compatibility.response,
2768
2768
  baseUrl,
2769
2769
  maintenancePolicy
2770
2770
  )) {
2771
2771
  return void 0;
2772
2772
  }
2773
- _chunkQM7PHHYZjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2773
+ _chunk6LG7MLJ2js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2774
2774
  quietAdvisory: wantsJson
2775
2775
  });
2776
2776
  if (maintenancePolicy !== "off") {
2777
- await _chunk7MHBJU73js.runToolExecuteStage.call(void 0,
2777
+ await _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0,
2778
2778
  "agent skills sync",
2779
- () => _chunkQM7PHHYZjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2779
+ () => _chunk6LG7MLJ2js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2780
2780
  update: _optionalChain([compatibility, 'access', _46 => _46.response, 'optionalAccess', _47 => _47.skills]),
2781
2781
  mode: "detached"
2782
2782
  })
@@ -2785,7 +2785,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2785
2785
  const legacyMetadata = await readMetadata();
2786
2786
  if (tracing) {
2787
2787
  submissionStartedAt = performance.now();
2788
- _chunkGFRJU2KBjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2788
+ _chunkND7SFRQLjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2789
2789
  }
2790
2790
  return client.executeTool(parsed.toolId, parsed.params, {
2791
2791
  ...executeOptions,
@@ -2808,8 +2808,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2808
2808
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2809
2809
  const updateRequiredBeforeExecution = error instanceof _chunkBBTKAASQjs.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2810
2810
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2811
- const baseUrl = _chunkCJ7DBYEQjs.resolveConfig.call(void 0, ).baseUrl;
2812
- if (await _chunk7MHBJU73js.maybeAutoUpdateAndRelaunch.call(void 0,
2811
+ const baseUrl = _chunkMXQP7CXZjs.resolveConfig.call(void 0, ).baseUrl;
2812
+ if (await _chunkJCWNF44Wjs.maybeAutoUpdateAndRelaunch.call(void 0,
2813
2813
  compatibility.response,
2814
2814
  baseUrl,
2815
2815
  maintenancePolicy
@@ -2833,7 +2833,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2833
2833
  }
2834
2834
  }
2835
2835
  if (failure instanceof _chunkBBTKAASQjs.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2836
- if (wantsJson) _chunkG5TV6WLVjs.printJsonError.call(void 0, failure);
2836
+ if (wantsJson) _chunkH7Q5IDO3js.printJsonError.call(void 0, failure);
2837
2837
  else console.error(failure.message);
2838
2838
  return 2;
2839
2839
  }
@@ -2860,9 +2860,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2860
2860
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
2861
2861
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _54 => _54.auto_update]);
2862
2862
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _55 => _55.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2863
- await _chunk7MHBJU73js.maybeAutoUpdateAndRelaunch.call(void 0,
2863
+ await _chunkJCWNF44Wjs.maybeAutoUpdateAndRelaunch.call(void 0,
2864
2864
  compatibilityResponse,
2865
- _chunkCJ7DBYEQjs.resolveConfig.call(void 0, ).baseUrl,
2865
+ _chunkMXQP7CXZjs.resolveConfig.call(void 0, ).baseUrl,
2866
2866
  maintenancePolicy
2867
2867
  );
2868
2868
  }
@@ -2897,7 +2897,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2897
2897
  const { _metadata, ...execution } = rawResponse;
2898
2898
  rawResponse = execution;
2899
2899
  }
2900
- const { listConversion, summary, baseEnvelope } = await _chunk7MHBJU73js.runToolExecuteStage.call(void 0,
2900
+ const { listConversion, summary, baseEnvelope } = await _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0,
2901
2901
  "result formatting",
2902
2902
  async () => {
2903
2903
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -2932,9 +2932,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2932
2932
  }
2933
2933
  skillsSyncAttempted = true;
2934
2934
  try {
2935
- await _chunk7MHBJU73js.runToolExecuteStage.call(void 0,
2935
+ await _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0,
2936
2936
  "agent skills sync",
2937
- () => _chunkQM7PHHYZjs.syncSdkSkillsIfNeeded.call(void 0, _chunkCJ7DBYEQjs.resolveConfig.call(void 0, ).baseUrl, {
2937
+ () => _chunk6LG7MLJ2js.syncSdkSkillsIfNeeded.call(void 0, _chunkMXQP7CXZjs.resolveConfig.call(void 0, ).baseUrl, {
2938
2938
  update: deliveredCompatibilityResponse.skills,
2939
2939
  mode: "detached"
2940
2940
  })
@@ -2945,15 +2945,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2945
2945
  );
2946
2946
  }
2947
2947
  };
2948
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0, envelope, {
2948
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0, envelope, {
2949
2949
  ...options2,
2950
2950
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
2951
2951
  });
2952
2952
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
2953
2953
  await syncSkillsForDeliveredOutput();
2954
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2954
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2955
2955
  };
2956
- const delivered = await _chunk7MHBJU73js.runToolExecuteStage.call(void 0, "output delivery", async () => {
2956
+ const delivered = await _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2957
2957
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
2958
2958
  await printDeliveredJsonEnvelope(baseEnvelope);
2959
2959
  return true;
@@ -2982,7 +2982,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2982
2982
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
2983
2983
  );
2984
2984
  if (wantsJson) {
2985
- _chunkG5TV6WLVjs.printJsonError.call(void 0, error);
2985
+ _chunkH7Q5IDO3js.printJsonError.call(void 0, error);
2986
2986
  } else {
2987
2987
  console.error(error.message);
2988
2988
  }
@@ -3077,13 +3077,13 @@ inspect: ${inspection.inspect}
3077
3077
  return true;
3078
3078
  });
3079
3079
  if (delivered) {
3080
- await _chunk7MHBJU73js.runToolExecuteStage.call(void 0,
3080
+ await _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0,
3081
3081
  "acknowledge delivery",
3082
3082
  () => recovery.acknowledgeDelivery()
3083
3083
  );
3084
3084
  }
3085
3085
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
3086
- _chunkQM7PHHYZjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3086
+ _chunk6LG7MLJ2js.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3087
3087
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _58 => _58.auto_update, 'optionalAccess', _59 => _59.should_auto_update]) === true
3088
3088
  });
3089
3089
  }