deepline 0.3.549 → 0.3.551

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 (178) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +22 -0
  3. package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +42 -0
  4. package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +31 -0
  5. package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +2 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +2 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +187 -16
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +70 -19
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +854 -3
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +15 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +6 -2
  14. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +43 -0
  15. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
  16. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +38 -5
  17. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  18. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +16 -0
  19. package/dist/cli/auth-B4PI7GVY.js +43 -0
  20. package/dist/cli/{auth-YENF525S.mjs → auth-E7BH4GMJ.mjs} +5 -5
  21. package/dist/cli/{billing-52GAHIDZ.js → billing-DNQAZGX7.js} +99 -99
  22. package/dist/cli/{billing-XPXB27G7.mjs → billing-OXKU462W.mjs} +10 -10
  23. package/dist/cli/chunk-2RIKOPIM.mjs +9 -0
  24. package/dist/cli/{chunk-L6UMWAAY.mjs → chunk-2UXDHFSF.mjs} +1 -1
  25. package/dist/cli/{chunk-XYIECA7M.js → chunk-2WFPHBR4.js} +30 -8
  26. package/dist/cli/{chunk-HWCIU3KY.js → chunk-2ZYRBMQM.js} +23 -22
  27. package/dist/cli/{chunk-NVALIJQS.js → chunk-3G6QZACZ.js} +23 -20
  28. package/dist/cli/{chunk-BPBPY42E.js → chunk-3KYBDAR3.js} +7 -7
  29. package/dist/cli/{chunk-DCTEH6N5.mjs → chunk-3T65J5RG.mjs} +2 -2
  30. package/dist/cli/{chunk-DIRLEJJX.js → chunk-44I675YK.js} +42 -41
  31. package/dist/cli/{chunk-LP2VNGG3.mjs → chunk-44KSACJW.mjs} +2 -2
  32. package/dist/cli/{chunk-X4RGDE4J.mjs → chunk-4D3WIZST.mjs} +1 -1
  33. package/dist/cli/{chunk-7FY7AHR6.js → chunk-4OMAGJ6U.js} +2 -2
  34. package/dist/cli/{chunk-TYOAOSDL.js → chunk-54EEYLTF.js} +3 -3
  35. package/dist/cli/{chunk-PLAJ6HPD.mjs → chunk-5IL7SC45.mjs} +2 -2
  36. package/dist/cli/{chunk-XS72HELO.mjs → chunk-5S6PHKRV.mjs} +2 -1
  37. package/dist/cli/{chunk-4HSSPT73.js → chunk-5VVSEU67.js} +6 -6
  38. package/dist/cli/{chunk-ANOTB6V3.mjs → chunk-6PWJKMFQ.mjs} +5 -4
  39. package/dist/cli/{chunk-MAE3AKDR.mjs → chunk-7DOQ3OEX.mjs} +17 -8
  40. package/dist/cli/{chunk-RMKRZJOS.js → chunk-7RSIFA72.js} +18 -16
  41. package/dist/cli/{chunk-4AUV5QJF.mjs → chunk-7WQNWJQW.mjs} +7 -5
  42. package/dist/cli/{chunk-6P7TGCHQ.mjs → chunk-BGBJV26E.mjs} +10 -3
  43. package/dist/cli/{chunk-UGVXHT62.mjs → chunk-BIIJATTX.mjs} +2 -2
  44. package/dist/cli/{chunk-ADWMIZCB.js → chunk-C4CUZH57.js} +20 -11
  45. package/dist/cli/{chunk-PQX4WTBY.mjs → chunk-CLRAANWH.mjs} +1 -1
  46. package/dist/cli/{chunk-XPYCNA43.js → chunk-COGREZAO.js} +48 -44
  47. package/dist/cli/{chunk-QUELC3B2.js → chunk-CQ6JYQSW.js} +10 -10
  48. package/dist/cli/{chunk-Z3DKJOUL.mjs → chunk-D6M5HFBB.mjs} +1 -1
  49. package/dist/cli/{chunk-W77LBYF3.mjs → chunk-E64HFB4L.mjs} +13 -13
  50. package/dist/cli/{chunk-BDOLPGHD.mjs → chunk-FOTGUFVK.mjs} +3 -3
  51. package/dist/cli/{chunk-4QUWXUUJ.mjs → chunk-GGB3JYCW.mjs} +3 -2
  52. package/dist/cli/{chunk-7AOFSZJM.mjs → chunk-GGGAEVCX.mjs} +23 -1
  53. package/dist/cli/{chunk-PLJCY35C.mjs → chunk-GVYLCCKN.mjs} +1 -1
  54. package/dist/cli/{chunk-UV4RU2TE.js → chunk-H4ALLC2X.js} +2 -0
  55. package/dist/cli/{chunk-V5WPYOAE.mjs → chunk-HEHVGEZV.mjs} +10 -7
  56. package/dist/cli/{chunk-AZSVDAXT.mjs → chunk-I4VKGNAQ.mjs} +9 -5
  57. package/dist/cli/{chunk-RKF263LR.js → chunk-KWSH5T7K.js} +25 -18
  58. package/dist/cli/{chunk-4DJNXAPH.js → chunk-LPJPCGT3.js} +8 -8
  59. package/dist/cli/{chunk-Y5SKYU5X.mjs → chunk-MNSTCJMX.mjs} +3 -3
  60. package/dist/cli/{chunk-Y5MDCPWA.js → chunk-MR5LTVHD.js} +53 -53
  61. package/dist/cli/{chunk-LMFTDDAM.mjs → chunk-MXGA6JFI.mjs} +2 -2
  62. package/dist/cli/{chunk-BDUZJX4V.js → chunk-NMWGZD6Y.js} +26 -26
  63. package/dist/cli/{chunk-5622PYAP.js → chunk-PACD5DGC.js} +4 -4
  64. package/dist/cli/{chunk-CX4KGWCH.mjs → chunk-PM7MO62Y.mjs} +3 -3
  65. package/dist/cli/{chunk-ETLEPHLT.js → chunk-POLUE7D5.js} +11 -11
  66. package/dist/cli/{chunk-VLAJGF27.js → chunk-PPSDCN6C.js} +3 -2
  67. package/dist/cli/{chunk-KBMBNUUW.js → chunk-QM6Y6S4E.js} +5 -5
  68. package/dist/cli/{chunk-YX7BX2FA.mjs → chunk-RE5MJBEV.mjs} +2 -2
  69. package/dist/cli/{chunk-5CXE22BI.mjs → chunk-S7IZWGUA.mjs} +2 -2
  70. package/dist/cli/{chunk-OWX4AAJ4.js → chunk-T2B5BVZE.js} +13 -13
  71. package/dist/cli/{chunk-3IUQNHIG.js → chunk-UDXULACQ.js} +3 -3
  72. package/dist/cli/{chunk-ECWOIXAV.js → chunk-UPMRIVZB.js} +14 -12
  73. package/dist/cli/{chunk-U6KHWIAO.mjs → chunk-V6SCP4B7.mjs} +1 -1
  74. package/dist/cli/{chunk-V7WMNX4R.js → chunk-VTGG2RT3.js} +1 -1
  75. package/dist/cli/{chunk-QIZBUY2N.mjs → chunk-VWLHRZFG.mjs} +4 -4
  76. package/dist/cli/{chunk-YZTS3XA7.js → chunk-W2ZWQUHT.js} +2 -2
  77. package/dist/cli/{chunk-5T37KQNG.mjs → chunk-W425ERWN.mjs} +6 -5
  78. package/dist/cli/{chunk-GWNYLIF7.mjs → chunk-WEHCBH5R.mjs} +4 -2
  79. package/dist/cli/{chunk-CXFOYRI4.js → chunk-WKBHUB6R.js} +270 -270
  80. package/dist/cli/{chunk-SVNAP2QI.js → chunk-XYE5XPGF.js} +9 -9
  81. package/dist/cli/{chunk-HPSCRVTM.js → chunk-Z2FIOG3V.js} +12 -12
  82. package/dist/cli/{chunk-KTZ3VU6S.js → chunk-ZCDKE4UH.js} +5 -5
  83. package/dist/cli/{chunk-QGKX2WBZ.js → chunk-ZDQFBJPO.js} +20 -19
  84. package/dist/cli/{chunk-J6FINSAK.mjs → chunk-ZMNGZ6XS.mjs} +1 -1
  85. package/dist/cli/command-docs.js +3 -3
  86. package/dist/cli/command-docs.mjs +2 -2
  87. package/dist/cli/{concurrent-runs-help-OYSLW55L.mjs → concurrent-runs-help-C6L6I5OR.mjs} +7 -7
  88. package/dist/cli/concurrent-runs-help-JEFQZTJI.js +21 -0
  89. package/dist/cli/{csv-FRO3UFMQ.js → csv-QMF4FWE7.js} +19 -14
  90. package/dist/cli/{csv-TFCTUYF2.mjs → csv-SYSDXFEM.mjs} +10 -5
  91. package/dist/cli/{db-NHVZBT2H.mjs → db-Q7HURWRZ.mjs} +6 -6
  92. package/dist/cli/{db-SNFNRVZJ.js → db-YSHPPA4H.js} +27 -27
  93. package/dist/cli/describe-PXTSBJTL.js +50 -0
  94. package/dist/cli/{describe-OVFPRJJL.mjs → describe-YGMQBV44.mjs} +21 -21
  95. package/dist/cli/describe-core.d.mts +4 -2
  96. package/dist/cli/describe-core.d.ts +4 -2
  97. package/dist/cli/describe-core.js +4 -4
  98. package/dist/cli/describe-core.mjs +3 -3
  99. package/dist/cli/{executions-HWMH2LTC.mjs → executions-G7U3VUXN.mjs} +6 -6
  100. package/dist/cli/{executions-RZLKKPZV.js → executions-MWBC5TAW.js} +8 -8
  101. package/dist/cli/{feedback-WD4JVF77.mjs → feedback-GMHIFLBJ.mjs} +6 -6
  102. package/dist/cli/{feedback-3D5OROCI.js → feedback-SD55OY6H.js} +14 -14
  103. package/dist/cli/{git-RYUKBCUZ.mjs → git-HPE45OPD.mjs} +5 -5
  104. package/dist/cli/git-I3JV7IGH.js +25 -0
  105. package/dist/cli/index.js +147 -147
  106. package/dist/cli/index.mjs +46 -46
  107. package/dist/cli/{integrations-KJPFCEXL.mjs → integrations-2W4MGIQR.mjs} +7 -7
  108. package/dist/cli/{integrations-Y7OK23DW.js → integrations-HFKVBY6G.js} +15 -15
  109. package/dist/cli/{legacy-noops-2PU2ZVEP.mjs → legacy-noops-GZYKNU2Z.mjs} +6 -6
  110. package/dist/cli/{legacy-noops-G7ZY7K3K.js → legacy-noops-SXVNDEXN.js} +9 -9
  111. package/dist/cli/{mcp-D7F2RSOI.mjs → mcp-BWA6KULG.mjs} +4 -4
  112. package/dist/cli/{mcp-GILBYX72.js → mcp-PJRHQHHU.js} +24 -24
  113. package/dist/cli/{monitors-OXNHOT3C.js → monitors-K2WSI6CR.js} +100 -100
  114. package/dist/cli/{monitors-IK5KXY2H.mjs → monitors-SYQKCATO.mjs} +7 -7
  115. package/dist/cli/{org-L5D7EISU.mjs → org-5KD7X7IA.mjs} +6 -6
  116. package/dist/cli/{org-OYM3UNTP.js → org-YQ2CR32B.js} +88 -88
  117. package/dist/cli/{play-YK22QPYO.js → play-SZXY2F2S.js} +352 -341
  118. package/dist/cli/{play-PK6QO3WX.mjs → play-TTMABJEI.mjs} +40 -29
  119. package/dist/cli/{providers-Z6MNJDCG.mjs → providers-GQIOMRQO.mjs} +6 -6
  120. package/dist/cli/{providers-5CYP7P4N.js → providers-YDHCTZAF.js} +9 -9
  121. package/dist/cli/{quickstart-2YKETYJY.js → quickstart-BNYOXQXG.js} +6 -6
  122. package/dist/cli/{quickstart-2I73XQXB.mjs → quickstart-PHSSMKCA.mjs} +4 -4
  123. package/dist/cli/{run-KGQ6TUBB.mjs → run-74C3C75C.mjs} +26 -26
  124. package/dist/cli/{run-YVSEAVE5.js → run-GFIAZXVL.js} +47 -47
  125. package/dist/cli/search-2RRRF4LW.js +32 -0
  126. package/dist/cli/{search-V2HPN6FU.mjs → search-3SWUB7KX.mjs} +7 -7
  127. package/dist/cli/{search-output-BUSANFRN.js → search-output-6JF3S4TP.js} +43 -13
  128. package/dist/cli/{search-output-OCTOSDEO.mjs → search-output-K2SWHVHQ.mjs} +40 -10
  129. package/dist/cli/{secrets-WZGRBWI5.mjs → secrets-2M4XWEKE.mjs} +6 -6
  130. package/dist/cli/{secrets-VDKTHCVB.js → secrets-2SAKLH2H.js} +15 -15
  131. package/dist/cli/{sessions-5DTN55DZ.mjs → sessions-A64BCXTO.mjs} +6 -6
  132. package/dist/cli/sessions-SBH27JNW.js +22 -0
  133. package/dist/cli/{settings-A7VSNOLI.js → settings-HV64WIJF.js} +85 -85
  134. package/dist/cli/{settings-BK5FPQ3X.mjs → settings-SVGEC3FI.mjs} +12 -12
  135. package/dist/cli/{setup-LLQVPZTP.mjs → setup-EDC3NEJ3.mjs} +15 -10
  136. package/dist/cli/{setup-NV27CYQ5.js → setup-FHXOLQGQ.js} +55 -50
  137. package/dist/cli/{skills-IV6HK4XA.mjs → skills-3HGHZMXB.mjs} +7 -7
  138. package/dist/cli/skills-Y3SRLOYD.js +36 -0
  139. package/dist/cli/tools-OFYPUPUV.js +57 -0
  140. package/dist/cli/{tools-4FKPCRD7.mjs → tools-P2QS6A6Q.mjs} +19 -19
  141. package/dist/cli/{update-MH5M746E.mjs → update-552BYQM4.mjs} +9 -9
  142. package/dist/cli/update-SOUSCLB7.js +34 -0
  143. package/dist/cli/{views-KXC4JDT7.mjs → views-LD5HXJYY.mjs} +6 -6
  144. package/dist/cli/{views-JW44TCGL.js → views-PA25NAE3.js} +21 -21
  145. package/dist/cli/{workflow-F5AHL2ET.js → workflow-FIDBUQV6.js} +17 -17
  146. package/dist/cli/{workflow-FI4DL7ZI.mjs → workflow-LDYFGBYP.mjs} +7 -7
  147. package/dist/{client-BEJqhQAj.d.mts → client-DuDFiJDU.d.mts} +1 -1
  148. package/dist/{client-core-BPYuWfBC.d.ts → client-core-CJRzLanv.d.ts} +93 -4
  149. package/dist/{client-core-BqetRxx-.d.mts → client-core-DydMQOft.d.mts} +93 -4
  150. package/dist/{client-Ceo295L2.d.ts → client-t9HZAkFD.d.ts} +1 -1
  151. package/dist/index.d.mts +3 -3
  152. package/dist/index.d.ts +3 -3
  153. package/dist/index.js +9 -9
  154. package/dist/index.mjs +6 -6
  155. package/dist/install-integrity.json +124 -124
  156. package/dist/plays/play-description.d.mts +1 -1
  157. package/dist/plays/play-description.d.ts +1 -1
  158. package/dist/plays/run-request.d.mts +1 -1
  159. package/dist/plays/run-request.d.ts +1 -1
  160. package/dist/release.d.mts +1 -1
  161. package/dist/release.d.ts +1 -1
  162. package/dist/release.js +2 -2
  163. package/dist/release.mjs +1 -1
  164. package/dist/server.d.mts +2 -2
  165. package/dist/server.d.ts +2 -2
  166. package/dist/server.js +5 -5
  167. package/dist/server.mjs +3 -3
  168. package/package.json +1 -1
  169. package/dist/cli/auth-UVEZIP3H.js +0 -43
  170. package/dist/cli/chunk-NIPLY25A.mjs +0 -7
  171. package/dist/cli/concurrent-runs-help-74AFW3BD.js +0 -21
  172. package/dist/cli/describe-2JCOC4AK.js +0 -50
  173. package/dist/cli/git-GCCPCUWJ.js +0 -25
  174. package/dist/cli/search-YG3UIZ6A.js +0 -32
  175. package/dist/cli/sessions-NSPT6LHT.js +0 -22
  176. package/dist/cli/skills-UA5E4DA3.js +0 -36
  177. package/dist/cli/tools-NJVPAG37.js +0 -57
  178. package/dist/cli/update-DKX27XZB.js +0 -34
@@ -1,55 +1,55 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkSVNAP2QIjs = require('./chunk-SVNAP2QI.js');
4
+ var _chunkXYE5XPGFjs = require('./chunk-XYE5XPGF.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkNVALIJQSjs = require('./chunk-NVALIJQS.js');
9
- require('./chunk-CXFOYRI4.js');
8
+ var _chunk3G6QZACZjs = require('./chunk-3G6QZACZ.js');
9
+ require('./chunk-WKBHUB6R.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- var _chunkETLEPHLTjs = require('./chunk-ETLEPHLT.js');
16
- require('./chunk-HPSCRVTM.js');
17
- require('./chunk-QUELC3B2.js');
15
+ var _chunkPOLUE7D5js = require('./chunk-POLUE7D5.js');
16
+ require('./chunk-Z2FIOG3V.js');
17
+ require('./chunk-CQ6JYQSW.js');
18
18
  require('./chunk-D3BCSAN7.js');
19
19
 
20
20
 
21
- var _chunkRKF263LRjs = require('./chunk-RKF263LR.js');
22
- require('./chunk-ECWOIXAV.js');
23
- require('./chunk-XYIECA7M.js');
21
+ var _chunkKWSH5T7Kjs = require('./chunk-KWSH5T7K.js');
22
+ require('./chunk-UPMRIVZB.js');
23
+ require('./chunk-2WFPHBR4.js');
24
24
  require('./chunk-AID3OYVJ.js');
25
25
  require('./chunk-CSPHSNBW.js');
26
26
  require('./chunk-J33TSWO5.js');
27
27
  require('./chunk-HGFFYVXN.js');
28
- require('./chunk-KBMBNUUW.js');
28
+ require('./chunk-QM6Y6S4E.js');
29
29
  require('./chunk-BLMB4N63.js');
30
- require('./chunk-4DJNXAPH.js');
30
+ require('./chunk-LPJPCGT3.js');
31
31
  require('./chunk-4WAM6TLD.js');
32
32
  require('./chunk-SL6MYJYM.js');
33
33
  require('./chunk-PMH4GLMD.js');
34
34
  require('./chunk-XDVT3GOM.js');
35
- require('./chunk-HWCIU3KY.js');
36
- require('./chunk-YZTS3XA7.js');
37
- require('./chunk-RMKRZJOS.js');
38
- require('./chunk-VLAJGF27.js');
39
- require('./chunk-DIRLEJJX.js');
40
- require('./chunk-XPYCNA43.js');
35
+ require('./chunk-2ZYRBMQM.js');
36
+ require('./chunk-W2ZWQUHT.js');
37
+ require('./chunk-7RSIFA72.js');
38
+ require('./chunk-PPSDCN6C.js');
39
+ require('./chunk-44I675YK.js');
40
+ require('./chunk-COGREZAO.js');
41
41
 
42
42
 
43
- var _chunkTYOAOSDLjs = require('./chunk-TYOAOSDL.js');
43
+ var _chunk54EEYLTFjs = require('./chunk-54EEYLTF.js');
44
44
 
45
45
 
46
- var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
47
- require('./chunk-3IUQNHIG.js');
48
- require('./chunk-5622PYAP.js');
46
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
47
+ require('./chunk-UDXULACQ.js');
48
+ require('./chunk-PACD5DGC.js');
49
49
  require('./chunk-EITMD3A5.js');
50
50
  require('./chunk-XNYIZMNQ.js');
51
51
  require('./chunk-BBTKAASQ.js');
52
- require('./chunk-V7WMNX4R.js');
52
+ require('./chunk-VTGG2RT3.js');
53
53
  require('./chunk-OG64RBAC.js');
54
54
  require('./chunk-RLX5ZFNX.js');
55
55
  require('./chunk-COGTRVWW.js');
@@ -85,7 +85,7 @@ function readInput(options) {
85
85
  return input;
86
86
  }
87
87
  function refuse(message, output) {
88
- _chunkETLEPHLTjs.writeExecutionOutput.call(void 0,
88
+ _chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
89
89
  { id: null, status: "failed", error: { message }, ran: false },
90
90
  output
91
91
  );
@@ -101,7 +101,7 @@ async function runAnything(name, options) {
101
101
  logsOut: options.logsOut,
102
102
  fields: _optionalChain([options, 'access', _7 => _7.fields, 'optionalAccess', _8 => _8.split, 'call', _9 => _9(","), 'access', _10 => _10.map, 'call', _11 => _11((path) => path.trim()), 'access', _12 => _12.filter, 'call', _13 => _13(Boolean)])
103
103
  };
104
- if (!_chunkETLEPHLTjs.preflightExecutionOutput.call(void 0, output)) return 2;
104
+ if (!_chunkPOLUE7D5js.preflightExecutionOutput.call(void 0, output)) return 2;
105
105
  let input;
106
106
  let timeoutMs;
107
107
  try {
@@ -119,7 +119,7 @@ async function runAnything(name, options) {
119
119
  throw new Error("--max-credits takes a number of credits above 0.");
120
120
  }
121
121
  if (options.timeout !== void 0 && options.timeout !== "0") {
122
- const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-NJVPAG37.js")));
122
+ const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-OFYPUPUV.js")));
123
123
  timeoutMs = parseToolExecuteTimeout(options.timeout);
124
124
  }
125
125
  } catch (error) {
@@ -140,7 +140,7 @@ async function runAnything(name, options) {
140
140
  if (name !== void 0) {
141
141
  return refuse("Use a name or -e, not both.", output);
142
142
  }
143
- const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-YK22QPYO.js")));
143
+ const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-SZXY2F2S.js")));
144
144
  let file;
145
145
  try {
146
146
  file = writeInlinePlay(options.eval);
@@ -163,23 +163,23 @@ async function runAnything(name, options) {
163
163
  output
164
164
  );
165
165
  }
166
- if (_chunkSVNAP2QIjs.looksLikeFilePath.call(void 0, name)) {
166
+ if (_chunkXYE5XPGFjs.looksLikeFilePath.call(void 0, name)) {
167
167
  output.label = `${name} (play file)`;
168
168
  return runPlay(name, play);
169
169
  }
170
170
  let { base, revision } = splitRevision(name);
171
- let found = await _chunkNVALIJQSjs.findNamed.call(void 0, base, {});
171
+ let found = await _chunk3G6QZACZjs.findNamed.call(void 0, base, {});
172
172
  if (!found.chosen && revision) {
173
- found = await _chunkNVALIJQSjs.findNamed.call(void 0, name, {});
173
+ found = await _chunk3G6QZACZjs.findNamed.call(void 0, name, {});
174
174
  if (found.chosen)
175
175
  ({ base, revision } = { base: name, revision: void 0 });
176
176
  }
177
177
  const { chosen, shadowed } = found;
178
- if (!chosen) return refuse(_chunkNVALIJQSjs.nothingNamed.call(void 0, base), output);
178
+ if (!chosen) return refuse(_chunk3G6QZACZjs.nothingNamed.call(void 0, base), output);
179
179
  const { described } = chosen;
180
180
  if (described.kind === "custom_play" && shadowed) {
181
181
  console.error(
182
- `Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkRKF263LRjs.DEEPLINE_NAMESPACE}${base}`
182
+ `Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkKWSH5T7Kjs.DEEPLINE_NAMESPACE}${base}`
183
183
  );
184
184
  }
185
185
  const { runner } = described;
@@ -200,7 +200,7 @@ async function runAnything(name, options) {
200
200
  if (runner.via === "play") {
201
201
  return runPlay(runner.reference, { ...play, revision });
202
202
  }
203
- const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-NJVPAG37.js")));
203
+ const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-OFYPUPUV.js")));
204
204
  return executeToolForReceipt({
205
205
  toolId: runner.toolId,
206
206
  params: input,
@@ -214,7 +214,7 @@ function dryRun(described, input, output) {
214
214
  const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
215
215
  const known = new Set(described.inputs.map((field) => field.name));
216
216
  const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
217
- _chunkETLEPHLTjs.writeExecutionOutput.call(void 0,
217
+ _chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
218
218
  {
219
219
  id: null,
220
220
  status: "dry_run",
@@ -231,20 +231,20 @@ function dryRun(described, input, output) {
231
231
  return missing.length ? 2 : 0;
232
232
  }
233
233
  async function runPlay(reference, play) {
234
- const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-YK22QPYO.js")));
234
+ const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-SZXY2F2S.js")));
235
235
  const { output, options, revision } = play;
236
236
  if (options.dryRun) {
237
- const dryRunOptions = _chunkSVNAP2QIjs.resolvePlayRunCliOptions.call(void 0, reference, {
237
+ const dryRunOptions = _chunkXYE5XPGFjs.resolvePlayRunCliOptions.call(void 0, reference, {
238
238
  input: JSON.stringify(play.input),
239
239
  dryRun: true,
240
240
  json: output.receiptJson === true
241
241
  });
242
242
  if (output.receiptOut === void 0) return handlePlayRun(dryRunOptions);
243
- const writeDryRunError = (error) => _chunkETLEPHLTjs.writeExecutionOutput.call(void 0,
243
+ const writeDryRunError = (error) => _chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
244
244
  {
245
245
  id: null,
246
246
  status: "failed",
247
- error: _chunkQGKX2WBZjs.errorToJsonPayload.call(void 0, error).error,
247
+ error: _chunkZDQFBJPOjs.errorToJsonPayload.call(void 0, error).error,
248
248
  ran: false
249
249
  },
250
250
  output
@@ -252,7 +252,7 @@ async function runPlay(reference, play) {
252
252
  try {
253
253
  return await handlePlayRun(dryRunOptions, {
254
254
  writeDryRunError,
255
- writeDryRunPlan: (plan) => _chunkETLEPHLTjs.writeExecutionOutput.call(void 0,
255
+ writeDryRunPlan: (plan) => _chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
256
256
  {
257
257
  id: null,
258
258
  status: "dry_run",
@@ -263,19 +263,19 @@ async function runPlay(reference, play) {
263
263
  )
264
264
  });
265
265
  } catch (error) {
266
- if (error instanceof _chunkETLEPHLTjs.ExecutionOutputError) throw error;
266
+ if (error instanceof _chunkPOLUE7D5js.ExecutionOutputError) throw error;
267
267
  writeDryRunError(error);
268
268
  return 1;
269
269
  }
270
270
  }
271
271
  let id = null;
272
272
  let written = false;
273
- const progress = _chunkTYOAOSDLjs.createCliProgress.call(void 0, true);
274
- if (!play.noWait) progress.setLogWriter(_chunkETLEPHLTjs.openLogDestination.call(void 0, output));
273
+ const progress = _chunk54EEYLTFjs.createCliProgress.call(void 0, true);
274
+ if (!play.noWait) progress.setLogWriter(_chunkPOLUE7D5js.openLogDestination.call(void 0, output));
275
275
  progress.setQuiet(process.stderr.isTTY !== true);
276
276
  try {
277
277
  const code = await handlePlayRun(
278
- _chunkSVNAP2QIjs.resolvePlayRunCliOptions.call(void 0, reference, {
278
+ _chunkXYE5XPGFjs.resolvePlayRunCliOptions.call(void 0, reference, {
279
279
  input: JSON.stringify(play.input),
280
280
  // The receipt is the only thing on stdout.
281
281
  json: true,
@@ -308,7 +308,7 @@ async function runPlay(reference, play) {
308
308
  },
309
309
  writeStarted: (runId, status, page) => {
310
310
  written = true;
311
- _chunkETLEPHLTjs.writeExecutionOutput.call(void 0,
311
+ _chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
312
312
  {
313
313
  id: runId,
314
314
  status,
@@ -324,7 +324,7 @@ async function runPlay(reference, play) {
324
324
  }
325
325
  );
326
326
  if (!written) {
327
- _chunkETLEPHLTjs.writeExecutionOutput.call(void 0,
327
+ _chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
328
328
  {
329
329
  id,
330
330
  status: "failed",
@@ -336,11 +336,11 @@ async function runPlay(reference, play) {
336
336
  return code;
337
337
  } catch (error) {
338
338
  if (written) throw error;
339
- _chunkETLEPHLTjs.writeExecutionOutput.call(void 0,
339
+ _chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
340
340
  {
341
341
  id,
342
342
  status: "failed",
343
- error: _chunkQGKX2WBZjs.errorToJsonPayload.call(void 0, error).error,
343
+ error: _chunkZDQFBJPOjs.errorToJsonPayload.call(void 0, error).error,
344
344
  ...id ? { next: { status: `deepline runs get ${id}` } } : {}
345
345
  },
346
346
  output
@@ -366,7 +366,7 @@ function registerRunCommand(program) {
366
366
  try {
367
367
  process.exitCode = await runAnything(name, options);
368
368
  } catch (error) {
369
- if (options.receiptOut === void 0 || !(error instanceof _chunkETLEPHLTjs.ExecutionOutputError)) {
369
+ if (options.receiptOut === void 0 || !(error instanceof _chunkPOLUE7D5js.ExecutionOutputError)) {
370
370
  throw error;
371
371
  }
372
372
  process.exitCode = 1;
@@ -0,0 +1,32 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _chunkCQ6JYQSWjs = require('./chunk-CQ6JYQSW.js');
9
+ require('./chunk-D3BCSAN7.js');
10
+ require('./chunk-QM6Y6S4E.js');
11
+ require('./chunk-LPJPCGT3.js');
12
+ require('./chunk-4WAM6TLD.js');
13
+ require('./chunk-SL6MYJYM.js');
14
+ require('./chunk-PMH4GLMD.js');
15
+ require('./chunk-XDVT3GOM.js');
16
+ require('./chunk-ZDQFBJPO.js');
17
+ require('./chunk-UDXULACQ.js');
18
+ require('./chunk-PACD5DGC.js');
19
+ require('./chunk-EITMD3A5.js');
20
+ require('./chunk-XNYIZMNQ.js');
21
+ require('./chunk-BBTKAASQ.js');
22
+ require('./chunk-VTGG2RT3.js');
23
+ require('./chunk-OG64RBAC.js');
24
+ require('./chunk-COGTRVWW.js');
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+ exports.SEARCH_TYPES = _chunkCQ6JYQSWjs.SEARCH_TYPES; exports.appendCsv = _chunkCQ6JYQSWjs.appendCsv; exports.parseTypes = _chunkCQ6JYQSWjs.parseTypes; exports.pointAtDescribe = _chunkCQ6JYQSWjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkCQ6JYQSWjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkCQ6JYQSWjs.registerSearchCommand;
@@ -5,21 +5,21 @@ import {
5
5
  pointAtDescribe,
6
6
  registerDeprecatedSearchCommand,
7
7
  registerSearchCommand
8
- } from "./chunk-QIZBUY2N.mjs";
8
+ } from "./chunk-VWLHRZFG.mjs";
9
9
  import "./chunk-5AEDYVB6.mjs";
10
- import "./chunk-DCTEH6N5.mjs";
11
- import "./chunk-J6FINSAK.mjs";
10
+ import "./chunk-3T65J5RG.mjs";
11
+ import "./chunk-ZMNGZ6XS.mjs";
12
12
  import "./chunk-FZHMNK6F.mjs";
13
13
  import "./chunk-LX35AXTN.mjs";
14
14
  import "./chunk-PSX3WHIH.mjs";
15
15
  import "./chunk-UBKA33KY.mjs";
16
- import "./chunk-4QUWXUUJ.mjs";
17
- import "./chunk-U6KHWIAO.mjs";
18
- import "./chunk-X4RGDE4J.mjs";
16
+ import "./chunk-GGB3JYCW.mjs";
17
+ import "./chunk-V6SCP4B7.mjs";
18
+ import "./chunk-4D3WIZST.mjs";
19
19
  import "./chunk-NURW5XH4.mjs";
20
20
  import "./chunk-DLIRSHV6.mjs";
21
21
  import "./chunk-JL2OTMSG.mjs";
22
- import "./chunk-L6UMWAAY.mjs";
22
+ import "./chunk-2UXDHFSF.mjs";
23
23
  import "./chunk-WZYKRD7T.mjs";
24
24
  import "./chunk-KRD6H754.mjs";
25
25
  export {
@@ -3,13 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
7
- require('./chunk-3IUQNHIG.js');
8
- require('./chunk-5622PYAP.js');
6
+ var _chunk2WFPHBR4js = require('./chunk-2WFPHBR4.js');
7
+ require('./chunk-AID3OYVJ.js');
8
+ require('./chunk-PMH4GLMD.js');
9
+
10
+
11
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
12
+ require('./chunk-UDXULACQ.js');
13
+ require('./chunk-PACD5DGC.js');
9
14
  require('./chunk-EITMD3A5.js');
10
15
  require('./chunk-XNYIZMNQ.js');
11
16
  require('./chunk-BBTKAASQ.js');
12
- require('./chunk-V7WMNX4R.js');
17
+ require('./chunk-VTGG2RT3.js');
13
18
  require('./chunk-OG64RBAC.js');
14
19
 
15
20
 
@@ -5799,7 +5804,9 @@ function searchRow(item, summaryWidth) {
5799
5804
  cost = observedCost.typical ? `${observedCost.typical.lowCredits}\u2013${observedCost.typical.highCredits}/${observedCost.typical.unit} (typical)` : "no data yet";
5800
5805
  notes.push(`Cost: ${observedCost.displayText}`);
5801
5806
  }
5802
- if (item.connected === false && item.credentialStatus === "managed") {
5807
+ if (_optionalChain([item, 'access', _13 => _13.auth, 'optionalAccess', _14 => _14.connectionRequired]) && typeof item.connectionMessage === "string") {
5808
+ notes.push(item.connectionMessage);
5809
+ } else if (item.connected === false && item.credentialStatus === "managed") {
5803
5810
  notes.push("Temporarily unavailable.");
5804
5811
  }
5805
5812
  return {
@@ -5827,7 +5834,7 @@ var OPTIONAL_COLUMNS = [
5827
5834
  ];
5828
5835
  function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUMMARY_WIDTH) {
5829
5836
  if (result.results.length === 0)
5830
- return _chunkQGKX2WBZjs.renderCommandEnvelopeText.call(void 0, result);
5837
+ return _chunkZDQFBJPOjs.renderCommandEnvelopeText.call(void 0, result);
5831
5838
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5832
5839
  const kinds = new Set(rows.map((row) => row.kind));
5833
5840
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5846,18 +5853,34 @@ function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUM
5846
5853
  { header: "SUMMARY", value: (row) => row.summary }
5847
5854
  ];
5848
5855
  const render = result.render;
5849
- const sections = _nullishCoalesce(_optionalChain([render, 'optionalAccess', _13 => _13.sections]), () => ( []));
5850
- const resultIndex = _optionalChain([sections, 'access', _14 => _14[0], 'optionalAccess', _15 => _15.title]) === "ignored categories" ? 1 : 0;
5856
+ const sections = _nullishCoalesce(_optionalChain([render, 'optionalAccess', _15 => _15.sections]), () => ( []));
5857
+ const resultIndex = sections.findIndex(
5858
+ ({ title: title2 }) => title2 !== "ignored categories" && title2 !== "exact tool lookup"
5859
+ );
5851
5860
  const title = _nullishCoalesce(_optionalChain([sections, 'access', _16 => _16[resultIndex], 'optionalAccess', _17 => _17.title]), () => ( `${_nullishCoalesce(result.total, () => ( rows.length))} matches \u2014 showing ${rows.length}`));
5852
5861
  const remaining = {
5853
- sections: sections.filter((_, index) => index !== resultIndex),
5862
+ sections: sections.filter(
5863
+ ({ title: title2 }, index) => index !== resultIndex && title2 !== "exact tool lookup"
5864
+ ),
5854
5865
  actions: _optionalChain([render, 'optionalAccess', _18 => _18.actions])
5855
5866
  };
5856
5867
  const followUps = _optionalChain([remaining, 'access', _19 => _19.sections, 'optionalAccess', _20 => _20.length]) || _optionalChain([remaining, 'access', _21 => _21.actions, 'optionalAccess', _22 => _22.length]) ? `
5857
- ${_chunkQGKX2WBZjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5868
+ ${_chunkZDQFBJPOjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5869
+ const exact = _optionalChain([result, 'access', _23 => _23.exactLookup, 'optionalAccess', _24 => _24.toolId]);
5870
+ const matched = exact && result.results.find((item) => item.id === exact);
5871
+ const contract = matched ? [
5872
+ ..._optionalChain([matched, 'access', _25 => _25.toolUsage, 'optionalAccess', _26 => _26.effect]) ? [`Effect: ${matched.toolUsage.effect}`] : [],
5873
+ ...(_nullishCoalesce(_optionalChain([matched, 'access', _27 => _27.toolUsage, 'optionalAccess', _28 => _28.requiredInputs]), () => ( []))).map(
5874
+ ({ name, meaning }) => ` ${name}${meaning ? ` \u2014 ${meaning}` : ""}`
5875
+ ),
5876
+ ...matched.auth ? _chunk2WFPHBR4js.discoveryAuthLines.call(void 0, matched.auth) : [],
5877
+ ...matched.describeCommand ? [matched.describeCommand] : [],
5878
+ ..._optionalChain([matched, 'access', _29 => _29.toolUsage, 'optionalAccess', _30 => _30.example]) ? [matched.toolUsage.example.cli] : []
5879
+ ] : [];
5858
5880
  const missingConnections = /* @__PURE__ */ new Set();
5859
5881
  for (const item of result.results) {
5860
- if (item.credentialStatus !== "requires_connection") continue;
5882
+ if (item.id === exact || _optionalChain([item, 'access', _31 => _31.auth, 'optionalAccess', _32 => _32.connectionRequired]) || item.credentialStatus !== "requires_connection")
5883
+ continue;
5861
5884
  const provider = typeof item.provider === "string" && item.provider.trim();
5862
5885
  missingConnections.add(provider || item.id);
5863
5886
  }
@@ -5871,9 +5894,16 @@ ${_chunkQGKX2WBZjs.renderCommandEnvelopeText.call(void 0, { render: remaining })
5871
5894
  ...notes.length ? ["Notes", ...notes, ""] : [],
5872
5895
  rows.some((row) => row.cost.endsWith("*")) ? "* See deepline describe <toolId> for full pricing information." : "Full descriptions and pricing: deepline describe <toolId>."
5873
5896
  ].join("\n");
5874
- return `${title}
5897
+ const exactContract = contract.length ? `
5898
+
5899
+ Exact match
5900
+ ${contract.join("\n")}` : "";
5901
+ const exactMiss = _optionalChain([result, 'access', _33 => _33.exactLookup, 'optionalAccess', _34 => _34.status]) !== "found" ? _optionalChain([result, 'access', _35 => _35.exactLookup, 'optionalAccess', _36 => _36.message]) : void 0;
5902
+ return `${exactMiss ? `${exactMiss}
5903
+
5904
+ ` : ""}${title}
5875
5905
 
5876
- ${formatTextTable(rows, columns)}
5906
+ ${formatTextTable(rows, columns)}${exactContract}
5877
5907
 
5878
5908
  ${details}
5879
5909
  ${followUps}`;
@@ -1,15 +1,20 @@
1
1
  import {
2
2
  DEFAULT_SUMMARY_WIDTH
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
+ import {
5
+ discoveryAuthLines
6
+ } from "./chunk-GGGAEVCX.mjs";
7
+ import "./chunk-OVDNJAJN.mjs";
8
+ import "./chunk-PSX3WHIH.mjs";
4
9
  import {
5
10
  renderCommandEnvelopeText
6
- } from "./chunk-4QUWXUUJ.mjs";
7
- import "./chunk-U6KHWIAO.mjs";
8
- import "./chunk-X4RGDE4J.mjs";
11
+ } from "./chunk-GGB3JYCW.mjs";
12
+ import "./chunk-V6SCP4B7.mjs";
13
+ import "./chunk-4D3WIZST.mjs";
9
14
  import "./chunk-NURW5XH4.mjs";
10
15
  import "./chunk-DLIRSHV6.mjs";
11
16
  import "./chunk-JL2OTMSG.mjs";
12
- import "./chunk-L6UMWAAY.mjs";
17
+ import "./chunk-2UXDHFSF.mjs";
13
18
  import "./chunk-WZYKRD7T.mjs";
14
19
  import {
15
20
  __commonJS,
@@ -5799,7 +5804,9 @@ function searchRow(item, summaryWidth) {
5799
5804
  cost = observedCost.typical ? `${observedCost.typical.lowCredits}\u2013${observedCost.typical.highCredits}/${observedCost.typical.unit} (typical)` : "no data yet";
5800
5805
  notes.push(`Cost: ${observedCost.displayText}`);
5801
5806
  }
5802
- if (item.connected === false && item.credentialStatus === "managed") {
5807
+ if (item.auth?.connectionRequired && typeof item.connectionMessage === "string") {
5808
+ notes.push(item.connectionMessage);
5809
+ } else if (item.connected === false && item.credentialStatus === "managed") {
5803
5810
  notes.push("Temporarily unavailable.");
5804
5811
  }
5805
5812
  return {
@@ -5847,17 +5854,33 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5847
5854
  ];
5848
5855
  const render = result.render;
5849
5856
  const sections = render?.sections ?? [];
5850
- const resultIndex = sections[0]?.title === "ignored categories" ? 1 : 0;
5857
+ const resultIndex = sections.findIndex(
5858
+ ({ title: title2 }) => title2 !== "ignored categories" && title2 !== "exact tool lookup"
5859
+ );
5851
5860
  const title = sections[resultIndex]?.title ?? `${result.total ?? rows.length} matches \u2014 showing ${rows.length}`;
5852
5861
  const remaining = {
5853
- sections: sections.filter((_, index) => index !== resultIndex),
5862
+ sections: sections.filter(
5863
+ ({ title: title2 }, index) => index !== resultIndex && title2 !== "exact tool lookup"
5864
+ ),
5854
5865
  actions: render?.actions
5855
5866
  };
5856
5867
  const followUps = remaining.sections?.length || remaining.actions?.length ? `
5857
5868
  ${renderCommandEnvelopeText({ render: remaining })}` : "";
5869
+ const exact = result.exactLookup?.toolId;
5870
+ const matched = exact && result.results.find((item) => item.id === exact);
5871
+ const contract = matched ? [
5872
+ ...matched.toolUsage?.effect ? [`Effect: ${matched.toolUsage.effect}`] : [],
5873
+ ...(matched.toolUsage?.requiredInputs ?? []).map(
5874
+ ({ name, meaning }) => ` ${name}${meaning ? ` \u2014 ${meaning}` : ""}`
5875
+ ),
5876
+ ...matched.auth ? discoveryAuthLines(matched.auth) : [],
5877
+ ...matched.describeCommand ? [matched.describeCommand] : [],
5878
+ ...matched.toolUsage?.example ? [matched.toolUsage.example.cli] : []
5879
+ ] : [];
5858
5880
  const missingConnections = /* @__PURE__ */ new Set();
5859
5881
  for (const item of result.results) {
5860
- if (item.credentialStatus !== "requires_connection") continue;
5882
+ if (item.id === exact || item.auth?.connectionRequired || item.credentialStatus !== "requires_connection")
5883
+ continue;
5861
5884
  const provider = typeof item.provider === "string" && item.provider.trim();
5862
5885
  missingConnections.add(provider || item.id);
5863
5886
  }
@@ -5871,9 +5894,16 @@ ${renderCommandEnvelopeText({ render: remaining })}` : "";
5871
5894
  ...notes.length ? ["Notes", ...notes, ""] : [],
5872
5895
  rows.some((row) => row.cost.endsWith("*")) ? "* See deepline describe <toolId> for full pricing information." : "Full descriptions and pricing: deepline describe <toolId>."
5873
5896
  ].join("\n");
5874
- return `${title}
5897
+ const exactContract = contract.length ? `
5898
+
5899
+ Exact match
5900
+ ${contract.join("\n")}` : "";
5901
+ const exactMiss = result.exactLookup?.status !== "found" ? result.exactLookup?.message : void 0;
5902
+ return `${exactMiss ? `${exactMiss}
5903
+
5904
+ ` : ""}${title}
5875
5905
 
5876
- ${formatTextTable(rows, columns)}
5906
+ ${formatTextTable(rows, columns)}${exactContract}
5877
5907
 
5878
5908
  ${details}
5879
5909
  ${followUps}`;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-DCTEH6N5.mjs";
4
- import "./chunk-J6FINSAK.mjs";
3
+ } from "./chunk-3T65J5RG.mjs";
4
+ import "./chunk-ZMNGZ6XS.mjs";
5
5
  import "./chunk-FZHMNK6F.mjs";
6
6
  import "./chunk-LX35AXTN.mjs";
7
7
  import "./chunk-PSX3WHIH.mjs";
@@ -9,13 +9,13 @@ import "./chunk-UBKA33KY.mjs";
9
9
  import {
10
10
  getAuthedHttpClient,
11
11
  printCommandEnvelope
12
- } from "./chunk-4QUWXUUJ.mjs";
13
- import "./chunk-U6KHWIAO.mjs";
14
- import "./chunk-X4RGDE4J.mjs";
12
+ } from "./chunk-GGB3JYCW.mjs";
13
+ import "./chunk-V6SCP4B7.mjs";
14
+ import "./chunk-4D3WIZST.mjs";
15
15
  import "./chunk-NURW5XH4.mjs";
16
16
  import "./chunk-DLIRSHV6.mjs";
17
17
  import "./chunk-JL2OTMSG.mjs";
18
- import "./chunk-L6UMWAAY.mjs";
18
+ import "./chunk-2UXDHFSF.mjs";
19
19
  import "./chunk-WZYKRD7T.mjs";
20
20
  import "./chunk-KRD6H754.mjs";
21
21
 
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkKBMBNUUWjs = require('./chunk-KBMBNUUW.js');
4
- require('./chunk-4DJNXAPH.js');
3
+ var _chunkQM6Y6S4Ejs = require('./chunk-QM6Y6S4E.js');
4
+ require('./chunk-LPJPCGT3.js');
5
5
  require('./chunk-4WAM6TLD.js');
6
6
  require('./chunk-SL6MYJYM.js');
7
7
  require('./chunk-PMH4GLMD.js');
@@ -9,13 +9,13 @@ require('./chunk-XDVT3GOM.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
13
- require('./chunk-3IUQNHIG.js');
14
- require('./chunk-5622PYAP.js');
12
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
13
+ require('./chunk-UDXULACQ.js');
14
+ require('./chunk-PACD5DGC.js');
15
15
  require('./chunk-EITMD3A5.js');
16
16
  require('./chunk-XNYIZMNQ.js');
17
17
  require('./chunk-BBTKAASQ.js');
18
- require('./chunk-V7WMNX4R.js');
18
+ require('./chunk-VTGG2RT3.js');
19
19
  require('./chunk-OG64RBAC.js');
20
20
  require('./chunk-COGTRVWW.js');
21
21
 
@@ -207,9 +207,9 @@ function preventShellHistoryLeak(forbidden) {
207
207
  }
208
208
  }
209
209
  async function handleList(options) {
210
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
210
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
211
211
  const secrets = await client.listSecrets();
212
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
212
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
213
213
  {
214
214
  secrets,
215
215
  count: secrets.length,
@@ -227,14 +227,14 @@ async function handleList(options) {
227
227
  }
228
228
  async function handleCheck(nameInput, options) {
229
229
  const name = normalizeSecretName(nameInput);
230
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
230
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
231
231
  const playName = options.play === void 0 ? void 0 : normalizePlaySelector(options.play);
232
232
  const check = playName !== void 0 ? await client.inspectSecret(name, { playName }) : null;
233
233
  const secret = check ? check.secret : await client.checkSecret(name);
234
234
  const ok = check ? check.ok : Boolean(secret);
235
235
  const quotedPlay = `'${(_nullishCoalesce(options.play, () => ( "PLAY"))).replace(/'/g, `'"'"'`)}'`;
236
236
  const scopeHint = check ? _optionalChain([secret, 'optionalAccess', _3 => _3.scope]) === "play" ? check.reason === "disabled" ? `The Play-scoped secret is disabled and no active org fallback is available. Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}` : `The active Play-scoped secret takes precedence over the org secret.${ok ? "" : ` Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}`}` : `No Play override.${ok ? " The org secret is available." : ` Set or rotate the org secret with: deepline secrets set ${name}`}` : `Metadata only. Verify effective scope and active version with: deepline secrets check ${name} --play <play-name>`;
237
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
237
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
238
238
  {
239
239
  ok,
240
240
  name,
@@ -262,7 +262,7 @@ async function handleSet(nameInput, forbidden, options) {
262
262
  const name = normalizeSecretName(nameInput);
263
263
  const { scope, playName } = resolveSecretWriteScope(options);
264
264
  const value = await readSecretValueFromOptions(options);
265
- const { http } = _chunkQGKX2WBZjs.getAuthedHttpClient.call(void 0, );
265
+ const { http } = _chunkZDQFBJPOjs.getAuthedHttpClient.call(void 0, );
266
266
  const response = await http.post(
267
267
  "/api/v2/secrets",
268
268
  {
@@ -274,7 +274,7 @@ async function handleSet(nameInput, forbidden, options) {
274
274
  }
275
275
  );
276
276
  const secret = response.secret;
277
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
277
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
278
278
  {
279
279
  ok: true,
280
280
  secret,
@@ -302,7 +302,7 @@ async function handleNote(secretId, noteInput, options) {
302
302
  }
303
303
  const note = options.clear ? "" : noteInput;
304
304
  if (options.dryRun) {
305
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
305
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
306
306
  {
307
307
  ok: true,
308
308
  dryRun: true,
@@ -323,9 +323,9 @@ async function handleNote(secretId, noteInput, options) {
323
323
  );
324
324
  return;
325
325
  }
326
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
326
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
327
327
  const secret = await client.updateSecretNote(secretId, note);
328
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
328
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
329
329
  {
330
330
  ok: true,
331
331
  secret,