deepline 0.3.550 → 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-UJCAHGZG.mjs → auth-E7BH4GMJ.mjs} +5 -5
  21. package/dist/cli/{billing-VO2O5O5O.js → billing-DNQAZGX7.js} +99 -99
  22. package/dist/cli/{billing-RYWMI7JJ.mjs → billing-OXKU462W.mjs} +10 -10
  23. package/dist/cli/chunk-2RIKOPIM.mjs +9 -0
  24. package/dist/cli/{chunk-IZCPOX7X.mjs → chunk-2UXDHFSF.mjs} +1 -1
  25. package/dist/cli/{chunk-XYIECA7M.js → chunk-2WFPHBR4.js} +30 -8
  26. package/dist/cli/{chunk-JYUIIDZO.js → chunk-2ZYRBMQM.js} +23 -22
  27. package/dist/cli/{chunk-TB3WT76F.js → chunk-3G6QZACZ.js} +23 -20
  28. package/dist/cli/{chunk-LWHWMU4V.js → chunk-3KYBDAR3.js} +7 -7
  29. package/dist/cli/{chunk-CIBQVA6V.mjs → chunk-3T65J5RG.mjs} +2 -2
  30. package/dist/cli/{chunk-KSUTNW3X.js → chunk-44I675YK.js} +42 -41
  31. package/dist/cli/{chunk-4NQWUUOH.mjs → chunk-44KSACJW.mjs} +2 -2
  32. package/dist/cli/{chunk-GVW5V562.mjs → chunk-4D3WIZST.mjs} +1 -1
  33. package/dist/cli/{chunk-RS6ZSKX6.js → chunk-4OMAGJ6U.js} +2 -2
  34. package/dist/cli/{chunk-SZNX3XU3.js → chunk-54EEYLTF.js} +3 -3
  35. package/dist/cli/{chunk-QD2KT7II.mjs → chunk-5IL7SC45.mjs} +2 -2
  36. package/dist/cli/{chunk-COHCKZQK.mjs → chunk-5S6PHKRV.mjs} +2 -1
  37. package/dist/cli/{chunk-SBNNK73L.js → chunk-5VVSEU67.js} +6 -6
  38. package/dist/cli/{chunk-ZQZOYGDC.mjs → chunk-6PWJKMFQ.mjs} +5 -4
  39. package/dist/cli/{chunk-MAE3AKDR.mjs → chunk-7DOQ3OEX.mjs} +17 -8
  40. package/dist/cli/{chunk-3W44AJOE.js → chunk-7RSIFA72.js} +18 -16
  41. package/dist/cli/{chunk-F2RXBNT5.mjs → chunk-7WQNWJQW.mjs} +7 -5
  42. package/dist/cli/{chunk-6P7TGCHQ.mjs → chunk-BGBJV26E.mjs} +10 -3
  43. package/dist/cli/{chunk-UL7HWZO7.mjs → chunk-BIIJATTX.mjs} +2 -2
  44. package/dist/cli/{chunk-ADWMIZCB.js → chunk-C4CUZH57.js} +20 -11
  45. package/dist/cli/{chunk-S6XOKGBF.mjs → chunk-CLRAANWH.mjs} +1 -1
  46. package/dist/cli/{chunk-YSYOQYZE.js → chunk-COGREZAO.js} +48 -44
  47. package/dist/cli/{chunk-SMLWC7PM.js → chunk-CQ6JYQSW.js} +10 -10
  48. package/dist/cli/{chunk-7BWMCVYU.mjs → chunk-D6M5HFBB.mjs} +1 -1
  49. package/dist/cli/{chunk-FMXLQHM2.mjs → chunk-E64HFB4L.mjs} +13 -13
  50. package/dist/cli/{chunk-E2QVWDDW.mjs → chunk-FOTGUFVK.mjs} +3 -3
  51. package/dist/cli/{chunk-HCFH2V27.mjs → chunk-GGB3JYCW.mjs} +3 -2
  52. package/dist/cli/{chunk-7AOFSZJM.mjs → chunk-GGGAEVCX.mjs} +23 -1
  53. package/dist/cli/{chunk-N2Y2IGNB.mjs → chunk-GVYLCCKN.mjs} +1 -1
  54. package/dist/cli/{chunk-UV4RU2TE.js → chunk-H4ALLC2X.js} +2 -0
  55. package/dist/cli/{chunk-LUULRAQB.mjs → chunk-HEHVGEZV.mjs} +10 -7
  56. package/dist/cli/{chunk-HEVUFICQ.mjs → chunk-I4VKGNAQ.mjs} +9 -5
  57. package/dist/cli/{chunk-RKF263LR.js → chunk-KWSH5T7K.js} +25 -18
  58. package/dist/cli/{chunk-XKE2PGZ2.js → chunk-LPJPCGT3.js} +8 -8
  59. package/dist/cli/{chunk-E4S7OE7B.mjs → chunk-MNSTCJMX.mjs} +3 -3
  60. package/dist/cli/{chunk-QNWNR6DG.js → chunk-MR5LTVHD.js} +53 -53
  61. package/dist/cli/{chunk-K7JZV4QW.mjs → chunk-MXGA6JFI.mjs} +2 -2
  62. package/dist/cli/{chunk-EU23QOJ6.js → chunk-NMWGZD6Y.js} +26 -26
  63. package/dist/cli/{chunk-MJDQZYKO.js → chunk-PACD5DGC.js} +4 -4
  64. package/dist/cli/{chunk-EMPXPEIQ.mjs → chunk-PM7MO62Y.mjs} +3 -3
  65. package/dist/cli/{chunk-JKLDCFY5.js → chunk-POLUE7D5.js} +11 -11
  66. package/dist/cli/{chunk-DGUTBLXF.js → chunk-PPSDCN6C.js} +3 -2
  67. package/dist/cli/{chunk-NM3AYEDI.js → chunk-QM6Y6S4E.js} +5 -5
  68. package/dist/cli/{chunk-2AKS64KJ.mjs → chunk-RE5MJBEV.mjs} +2 -2
  69. package/dist/cli/{chunk-KLQILE2I.mjs → chunk-S7IZWGUA.mjs} +2 -2
  70. package/dist/cli/{chunk-2IW5GKB4.js → chunk-T2B5BVZE.js} +13 -13
  71. package/dist/cli/{chunk-OKNOQRQ3.js → chunk-UDXULACQ.js} +3 -3
  72. package/dist/cli/{chunk-ECWOIXAV.js → chunk-UPMRIVZB.js} +14 -12
  73. package/dist/cli/{chunk-72NXIFOT.mjs → chunk-V6SCP4B7.mjs} +1 -1
  74. package/dist/cli/{chunk-5J3TRWTB.js → chunk-VTGG2RT3.js} +1 -1
  75. package/dist/cli/{chunk-DJWM5OOY.mjs → chunk-VWLHRZFG.mjs} +4 -4
  76. package/dist/cli/{chunk-I62PCYU6.js → chunk-W2ZWQUHT.js} +2 -2
  77. package/dist/cli/{chunk-MXEYNRTZ.mjs → chunk-W425ERWN.mjs} +6 -5
  78. package/dist/cli/{chunk-GWNYLIF7.mjs → chunk-WEHCBH5R.mjs} +4 -2
  79. package/dist/cli/{chunk-JLFOQRWM.js → chunk-WKBHUB6R.js} +270 -270
  80. package/dist/cli/{chunk-3WG2GURT.js → chunk-XYE5XPGF.js} +9 -9
  81. package/dist/cli/{chunk-R5CYKRA2.js → chunk-Z2FIOG3V.js} +12 -12
  82. package/dist/cli/{chunk-BJO7ZXAK.js → chunk-ZCDKE4UH.js} +5 -5
  83. package/dist/cli/{chunk-RINUMR6C.js → chunk-ZDQFBJPO.js} +20 -19
  84. package/dist/cli/{chunk-TL3WIXDH.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-766HVJR3.mjs → concurrent-runs-help-C6L6I5OR.mjs} +7 -7
  88. package/dist/cli/concurrent-runs-help-JEFQZTJI.js +21 -0
  89. package/dist/cli/{csv-4DZKGYCU.js → csv-QMF4FWE7.js} +19 -14
  90. package/dist/cli/{csv-VU52KZOX.mjs → csv-SYSDXFEM.mjs} +10 -5
  91. package/dist/cli/{db-UBGW373S.mjs → db-Q7HURWRZ.mjs} +6 -6
  92. package/dist/cli/{db-KPIH4HPW.js → db-YSHPPA4H.js} +27 -27
  93. package/dist/cli/describe-PXTSBJTL.js +50 -0
  94. package/dist/cli/{describe-NGITP6RA.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-CO5UF3CV.mjs → executions-G7U3VUXN.mjs} +6 -6
  100. package/dist/cli/{executions-G3X25U3V.js → executions-MWBC5TAW.js} +8 -8
  101. package/dist/cli/{feedback-M2L5DVN2.mjs → feedback-GMHIFLBJ.mjs} +6 -6
  102. package/dist/cli/{feedback-ZYF65WPH.js → feedback-SD55OY6H.js} +14 -14
  103. package/dist/cli/{git-AYJD5CLS.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-LKEGGTZO.mjs → integrations-2W4MGIQR.mjs} +7 -7
  108. package/dist/cli/{integrations-GSXXJ4CF.js → integrations-HFKVBY6G.js} +15 -15
  109. package/dist/cli/{legacy-noops-UF4GKMD4.mjs → legacy-noops-GZYKNU2Z.mjs} +6 -6
  110. package/dist/cli/{legacy-noops-MZDLLEKN.js → legacy-noops-SXVNDEXN.js} +9 -9
  111. package/dist/cli/{mcp-NHQ6RMBP.mjs → mcp-BWA6KULG.mjs} +4 -4
  112. package/dist/cli/{mcp-RTNC6LP3.js → mcp-PJRHQHHU.js} +24 -24
  113. package/dist/cli/{monitors-WMWB6EKQ.js → monitors-K2WSI6CR.js} +100 -100
  114. package/dist/cli/{monitors-NC4ZR5DH.mjs → monitors-SYQKCATO.mjs} +7 -7
  115. package/dist/cli/{org-ZXUSYREQ.mjs → org-5KD7X7IA.mjs} +6 -6
  116. package/dist/cli/{org-33Q7CXJB.js → org-YQ2CR32B.js} +88 -88
  117. package/dist/cli/{play-N24XV6TI.js → play-SZXY2F2S.js} +330 -330
  118. package/dist/cli/{play-IPWFGNRE.mjs → play-TTMABJEI.mjs} +18 -18
  119. package/dist/cli/{providers-MSVE7UZS.mjs → providers-GQIOMRQO.mjs} +6 -6
  120. package/dist/cli/{providers-AUI7MMQS.js → providers-YDHCTZAF.js} +9 -9
  121. package/dist/cli/{quickstart-PSC6VTRI.js → quickstart-BNYOXQXG.js} +6 -6
  122. package/dist/cli/{quickstart-OME5XMW5.mjs → quickstart-PHSSMKCA.mjs} +4 -4
  123. package/dist/cli/{run-EYTT2DHO.mjs → run-74C3C75C.mjs} +26 -26
  124. package/dist/cli/{run-UTIX7CJY.js → run-GFIAZXVL.js} +47 -47
  125. package/dist/cli/search-2RRRF4LW.js +32 -0
  126. package/dist/cli/{search-FVE7PM72.mjs → search-3SWUB7KX.mjs} +7 -7
  127. package/dist/cli/{search-output-O463JNLR.js → search-output-6JF3S4TP.js} +43 -13
  128. package/dist/cli/{search-output-TQMY6BDG.mjs → search-output-K2SWHVHQ.mjs} +40 -10
  129. package/dist/cli/{secrets-KCJJAHQB.mjs → secrets-2M4XWEKE.mjs} +6 -6
  130. package/dist/cli/{secrets-TWZ2GO73.js → secrets-2SAKLH2H.js} +15 -15
  131. package/dist/cli/{sessions-ZCWAA7QL.mjs → sessions-A64BCXTO.mjs} +6 -6
  132. package/dist/cli/sessions-SBH27JNW.js +22 -0
  133. package/dist/cli/{settings-SCR654U7.js → settings-HV64WIJF.js} +85 -85
  134. package/dist/cli/{settings-4JFKCKII.mjs → settings-SVGEC3FI.mjs} +12 -12
  135. package/dist/cli/{setup-Q2YOPGOI.mjs → setup-EDC3NEJ3.mjs} +15 -10
  136. package/dist/cli/{setup-O6GH3UWT.js → setup-FHXOLQGQ.js} +55 -50
  137. package/dist/cli/{skills-QHPZ6H2G.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-YO22H46E.mjs → tools-P2QS6A6Q.mjs} +19 -19
  141. package/dist/cli/{update-WHBC5IHE.mjs → update-552BYQM4.mjs} +9 -9
  142. package/dist/cli/update-SOUSCLB7.js +34 -0
  143. package/dist/cli/{views-XNLXV2BT.mjs → views-LD5HXJYY.mjs} +6 -6
  144. package/dist/cli/{views-4CZJ5BLG.js → views-PA25NAE3.js} +21 -21
  145. package/dist/cli/{workflow-C4VBARIE.js → workflow-FIDBUQV6.js} +17 -17
  146. package/dist/cli/{workflow-QUWP2CG2.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-J4OW5RNJ.js +0 -43
  170. package/dist/cli/chunk-NIPLY25A.mjs +0 -7
  171. package/dist/cli/concurrent-runs-help-3XZIHVRP.js +0 -21
  172. package/dist/cli/describe-4BI6E2CM.js +0 -50
  173. package/dist/cli/git-QRZP4DNA.js +0 -25
  174. package/dist/cli/search-CQ6JG2EN.js +0 -32
  175. package/dist/cli/sessions-LMPXUPUH.js +0 -22
  176. package/dist/cli/skills-M4CFE65Z.js +0 -36
  177. package/dist/cli/tools-CV7XA2V6.js +0 -57
  178. package/dist/cli/update-PUWBKPWJ.js +0 -34
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  concurrentRunsLine
3
- } from "./chunk-E2QVWDDW.mjs";
4
- import "./chunk-E4S7OE7B.mjs";
3
+ } from "./chunk-FOTGUFVK.mjs";
4
+ import "./chunk-MNSTCJMX.mjs";
5
5
  import {
6
6
  DeeplineClient
7
- } from "./chunk-CIBQVA6V.mjs";
7
+ } from "./chunk-3T65J5RG.mjs";
8
8
  import {
9
9
  iterateCursorPages,
10
10
  requireBillingIdempotencyKey
11
- } from "./chunk-TL3WIXDH.mjs";
11
+ } from "./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
16
  import {
17
17
  PLAY_RUNTIME_PRICING_NOTE
18
- } from "./chunk-MAE3AKDR.mjs";
18
+ } from "./chunk-7DOQ3OEX.mjs";
19
19
  import {
20
20
  PRICING_PAGE_NOTE
21
- } from "./chunk-NIPLY25A.mjs";
21
+ } from "./chunk-2RIKOPIM.mjs";
22
22
  import "./chunk-5LUF4LAR.mjs";
23
23
  import {
24
24
  PLAY_SANDBOX_SIZE_INPUTS
@@ -29,9 +29,9 @@ import {
29
29
  openInBrowser,
30
30
  printCommandEnvelope,
31
31
  shouldEmitJson
32
- } from "./chunk-HCFH2V27.mjs";
33
- import "./chunk-72NXIFOT.mjs";
34
- import "./chunk-GVW5V562.mjs";
32
+ } from "./chunk-GGB3JYCW.mjs";
33
+ import "./chunk-V6SCP4B7.mjs";
34
+ import "./chunk-4D3WIZST.mjs";
35
35
  import {
36
36
  AuthError,
37
37
  ConfigError
@@ -40,7 +40,7 @@ import "./chunk-DLIRSHV6.mjs";
40
40
  import {
41
41
  DeeplineError
42
42
  } from "./chunk-JL2OTMSG.mjs";
43
- import "./chunk-IZCPOX7X.mjs";
43
+ import "./chunk-2UXDHFSF.mjs";
44
44
  import "./chunk-WZYKRD7T.mjs";
45
45
  import "./chunk-KRD6H754.mjs";
46
46
 
@@ -0,0 +1,9 @@
1
+ // ../billing/plan-links.ts
2
+ var PRICING_PAGE_URL = "https://deepline.com/pricing";
3
+ var PLAN_PICKER_URL = "https://code.deepline.com/dashboard/billing?plan";
4
+ var PLAN_UPSELL_INSTRUCTION = `Agents: in your final reply, tell the user the following and include this link so they can upgrade their plan: ${PLAN_PICKER_URL}. `;
5
+ var PRICING_PAGE_NOTE = `See the pricing page for full details: ${PRICING_PAGE_URL}`;
6
+
7
+ export {
8
+ PRICING_PAGE_NOTE
9
+ };
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.550",
52
+ version: "0.3.551",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -579,6 +579,13 @@ function safeIdentifier(name) {
579
579
  function examples(described, options) {
580
580
  const { runner } = described;
581
581
  if (runner.via === "monitor") return { cli: runner.deploy, play: null };
582
+ if (runner.via === "tool" && _optionalChain([described, 'access', _9 => _9.auth, 'optionalAccess', _10 => _10.connectionRequired])) {
583
+ const example = _optionalChain([described, 'access', _11 => _11.toolUsage, 'optionalAccess', _12 => _12.example]);
584
+ return example ? { cli: example.cli, play: example.play } : {
585
+ cli: `deepline tools execute ${runner.toolId} --connection <name> --input @input.json`,
586
+ play: null
587
+ };
588
+ }
582
589
  const required = described.inputs.filter((field) => field.required);
583
590
  const shown = options.verbose ? described.inputs : required.length ? required : described.inputs.slice(0, 1);
584
591
  const inputSchema = runner.inputSchema;
@@ -661,6 +668,16 @@ var EXPLANATIONS = {
661
668
  play: ""
662
669
  }
663
670
  };
671
+ function discoveryAuthLines(auth) {
672
+ return auth.modes.flatMap((mode) => [
673
+ `Access \u2014 ${mode.kind.replaceAll("_", " ")}: ${mode.status.replaceAll("_", " ")}`,
674
+ ...(_nullishCoalesce(mode.connections, () => ( []))).map(
675
+ ({ name, verifiedScopes }) => ` ${name}${_optionalChain([verifiedScopes, 'optionalAccess', _13 => _13.length]) ? ` (verified: ${verifiedScopes.join(", ")})` : ""}`
676
+ ),
677
+ ..._optionalChain([mode, 'access', _14 => _14.requiredScopes, 'optionalAccess', _15 => _15.length]) ? [` Required scopes: ${mode.requiredScopes.join(", ")}`] : [],
678
+ ...mode.setupPath && mode.status !== "available" ? [` Setup: ${mode.setupPath}`] : []
679
+ ]);
680
+ }
664
681
  function describedLines(described, view) {
665
682
  const { cli, play } = examples(described, view);
666
683
  const explanation = EXPLANATIONS[described.runner.via];
@@ -673,7 +690,9 @@ function describedLines(described, view) {
673
690
  ...described.cost ? [`Cost: ${described.cost}`] : [],
674
691
  ...described.guidance.map((line) => `Guidance: ${line}`),
675
692
  ...described.rateLimit ? [`Rate limit: ${described.rateLimit}`] : [],
676
- ...described.credentialStatus === "requires_connection" ? ["Connection: Provider credentials are missing in this workspace."] : [],
693
+ ..._optionalChain([described, 'access', _16 => _16.toolUsage, 'optionalAccess', _17 => _17.effect]) ? [`Effect: ${described.toolUsage.effect}`] : [],
694
+ ...described.auth ? discoveryAuthLines(described.auth) : [],
695
+ ...!described.auth && described.credentialStatus === "requires_connection" ? ["Connection: Provider credentials are missing in this workspace."] : [],
677
696
  ...described.byok ? byokLines(described.byok) : [],
678
697
  ...described.connectCommand ? [`Get a shareable link: ${described.connectCommand}`] : [],
679
698
  ...featureLines(described.id, _nullishCoalesce(described.features, () => ( []))),
@@ -719,15 +738,15 @@ function jsonFields(fields, options) {
719
738
  return [
720
739
  field.name,
721
740
  {
722
- type: field.type.replace(SHAPE, _nullishCoalesce(_optionalChain([shape, 'optionalAccess', _9 => _9.name]), () => ( "object"))),
741
+ type: field.type.replace(SHAPE, _nullishCoalesce(_optionalChain([shape, 'optionalAccess', _18 => _18.name]), () => ( "object"))),
723
742
  ...options.input ? { required: field.required } : {},
724
743
  ...field.means ? { means: field.means } : {},
725
744
  ...field.example !== void 0 ? { example: field.example } : {},
726
- ...field.description && field.description !== _optionalChain([shape, 'optionalAccess', _10 => _10.description]) ? { description: field.description } : {},
745
+ ...field.description && field.description !== _optionalChain([shape, 'optionalAccess', _19 => _19.description]) ? { description: field.description } : {},
727
746
  ...field.secondary ? { secondary: true } : {},
728
747
  ...field.read ? { read: field.read } : {},
729
748
  ...field.in ? { in: field.in } : {},
730
- ..._optionalChain([field, 'access', _11 => _11.paths, 'optionalAccess', _12 => _12.length]) ? { paths: field.paths } : {},
749
+ ..._optionalChain([field, 'access', _20 => _20.paths, 'optionalAccess', _21 => _21.length]) ? { paths: field.paths } : {},
731
750
  ...field.fields && !shape ? { fields: jsonFields(field.fields, options) } : {}
732
751
  }
733
752
  ];
@@ -748,7 +767,7 @@ function describedJson(described, view) {
748
767
  const used = /* @__PURE__ */ new Set();
749
768
  const blocks = Object.fromEntries(
750
769
  sections.flatMap(
751
- ([key, fields, input]) => _optionalChain([fields, 'optionalAccess', _13 => _13.length]) ? [
770
+ ([key, fields, input]) => _optionalChain([fields, 'optionalAccess', _22 => _22.length]) ? [
752
771
  [
753
772
  key,
754
773
  jsonFields(fields, {
@@ -787,7 +806,9 @@ function describedJson(described, view) {
787
806
  ...described.connected !== void 0 ? { connected: described.connected } : {},
788
807
  ...described.credentialStatus ? { credentialStatus: described.credentialStatus } : {},
789
808
  ...described.connectCommand ? { connectCommand: described.connectCommand } : {},
790
- ..._optionalChain([described, 'access', _14 => _14.features, 'optionalAccess', _15 => _15.length]) ? { features: described.features } : {},
809
+ ...described.auth ? { auth: described.auth } : {},
810
+ ...described.toolUsage ? { toolUsage: described.toolUsage } : {},
811
+ ..._optionalChain([described, 'access', _23 => _23.features, 'optionalAccess', _24 => _24.length]) ? { features: described.features } : {},
791
812
  ...described.guidance.length ? { guidance: described.guidance } : {},
792
813
  ...blocks,
793
814
  ...used.size ? { types } : {},
@@ -855,7 +876,7 @@ function describedPlay(play) {
855
876
  ...starter ? { source: starter.command } : {},
856
877
  ...exclusive ? { exclusive } : {},
857
878
  // A prebuilt's cost is what its recent runs were charged; there is no rate.
858
- ..._optionalChain([play, 'access', _16 => _16.observedCost, 'optionalAccess', _17 => _17.displayText]) ? { cost: play.observedCost.displayText } : {}
879
+ ..._optionalChain([play, 'access', _25 => _25.observedCost, 'optionalAccess', _26 => _26.displayText]) ? { cost: play.observedCost.displayText } : {}
859
880
  };
860
881
  }
861
882
 
@@ -875,4 +896,5 @@ function describedPlay(play) {
875
896
 
876
897
 
877
898
 
878
- exports.byokLines = byokLines; exports.SCHEMA_LINE_LIMIT = SCHEMA_LINE_LIMIT; exports.schemaField = schemaField; exports.schemaFields = schemaFields; exports.rateLimitSummary = rateLimitSummary; exports.rateLimitQualifier = rateLimitQualifier; exports.schemaLines = schemaLines; exports.fieldBlockLines = fieldBlockLines; exports.examples = examples; exports.describedLines = describedLines; exports.topLevelField = topLevelField; exports.describedJson = describedJson; exports.buildPlayDashboardUrl = buildPlayDashboardUrl; exports.buildPlayRunUrl = buildPlayRunUrl; exports.describedPlay = describedPlay;
899
+
900
+ exports.byokLines = byokLines; exports.SCHEMA_LINE_LIMIT = SCHEMA_LINE_LIMIT; exports.schemaField = schemaField; exports.schemaFields = schemaFields; exports.rateLimitSummary = rateLimitSummary; exports.rateLimitQualifier = rateLimitQualifier; exports.schemaLines = schemaLines; exports.fieldBlockLines = fieldBlockLines; exports.examples = examples; exports.discoveryAuthLines = discoveryAuthLines; exports.describedLines = describedLines; exports.topLevelField = topLevelField; exports.describedJson = describedJson; exports.buildPlayDashboardUrl = buildPlayDashboardUrl; exports.buildPlayRunUrl = buildPlayRunUrl; exports.describedPlay = describedPlay;
@@ -4,21 +4,21 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk3W44AJOEjs = require('./chunk-3W44AJOE.js');
7
+ var _chunk7RSIFA72js = require('./chunk-7RSIFA72.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkYSYOQYZEjs = require('./chunk-YSYOQYZE.js');
11
+ var _chunkCOGREZAOjs = require('./chunk-COGREZAO.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkRINUMR6Cjs = require('./chunk-RINUMR6C.js');
15
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
16
16
 
17
17
 
18
- var _chunkOKNOQRQ3js = require('./chunk-OKNOQRQ3.js');
18
+ var _chunkUDXULACQjs = require('./chunk-UDXULACQ.js');
19
19
 
20
20
 
21
- var _chunkMJDQZYKOjs = require('./chunk-MJDQZYKO.js');
21
+ var _chunkPACD5DGCjs = require('./chunk-PACD5DGC.js');
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -45,7 +45,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
45
45
  async function reportAutoUpdateEvent(input) {
46
46
  let apiKey = "";
47
47
  try {
48
- apiKey = _chunkOKNOQRQ3js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
+ apiKey = _chunkUDXULACQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
49
  } catch (e2) {
50
50
  return;
51
51
  }
@@ -61,15 +61,15 @@ async function reportAutoUpdateEvent(input) {
61
61
  headers: {
62
62
  Authorization: `Bearer ${apiKey}`,
63
63
  "Content-Type": "application/json",
64
- "User-Agent": `deepline-ts-sdk/${_chunkMJDQZYKOjs.SDK_VERSION}`,
64
+ "User-Agent": `deepline-ts-sdk/${_chunkPACD5DGCjs.SDK_VERSION}`,
65
65
  "X-Deepline-Client-Family": "sdk",
66
66
  "X-Deepline-CLI-Family": "sdk",
67
- "X-Deepline-CLI-Version": _chunkMJDQZYKOjs.SDK_VERSION,
68
- "X-Deepline-SDK-Version": _chunkMJDQZYKOjs.SDK_VERSION
67
+ "X-Deepline-CLI-Version": _chunkPACD5DGCjs.SDK_VERSION,
68
+ "X-Deepline-SDK-Version": _chunkPACD5DGCjs.SDK_VERSION
69
69
  },
70
70
  body: JSON.stringify({
71
71
  event: input.event,
72
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkMJDQZYKOjs.SDK_VERSION,
72
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkPACD5DGCjs.SDK_VERSION,
73
73
  target_version: input.response.latest,
74
74
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
75
75
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -88,13 +88,13 @@ function envTruthy(name) {
88
88
  return value === "1" || value === "true" || value === "yes";
89
89
  }
90
90
  function shouldSkipSelfUpdate(policy) {
91
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk3W44AJOEjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkYSYOQYZEjs.isCiEnvironment.call(void 0, );
91
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk7RSIFA72js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkCOGREZAOjs.isCiEnvironment.call(void 0, );
92
92
  }
93
93
  function isDowngradeAutoUpdateResponse(response) {
94
94
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
95
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkMJDQZYKOjs.SDK_VERSION;
95
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkPACD5DGCjs.SDK_VERSION;
96
96
  if (!target) return false;
97
- return _chunk3W44AJOEjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
+ return _chunk7RSIFA72js.compareUpdateVersions.call(void 0, target, current) < 0;
98
98
  }
99
99
  function relaunchCurrentCommand(plan, runtime = {}) {
100
100
  return new Promise((resolve) => {
@@ -103,6 +103,7 @@ function relaunchCurrentCommand(plan, runtime = {}) {
103
103
  const args = plan.kind === "python-sidecar" ? argv.slice(2) : argv.slice(1);
104
104
  const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
105
105
  const child = _child_process.spawn.call(void 0, command, args, {
106
+ windowsHide: true,
106
107
  stdio: "inherit",
107
108
  // The Node executable is a native binary and must be spawned directly;
108
109
  // passing `C:\Program Files\...\node.exe` through cmd.exe splits it
@@ -147,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
147
148
  }
148
149
  if (isDowngradeAutoUpdateResponse(response)) {
149
150
  const target = response.latest;
150
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkMJDQZYKOjs.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkPACD5DGCjs.SDK_VERSION;
151
152
  process.stderr.write(
152
153
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
153
154
  `
@@ -155,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
155
156
  return false;
156
157
  }
157
158
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
158
- const plan = _chunk3W44AJOEjs.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunk7RSIFA72js.resolveUpdatePlan.call(void 0, {
159
160
  packageSpec,
160
161
  requireVerifiedNpmOwnership: true,
161
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
162
163
  });
163
- if (!_chunk3W44AJOEjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunk7RSIFA72js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
165
  return false;
165
166
  }
166
167
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
167
168
  deferredAutoUpdate = async () => {
168
169
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
169
170
  };
170
- if (_chunkRINUMR6Cjs.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkZDQFBJPOjs.isJsonOutputMode.call(void 0, )) {
171
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
172
- _chunkRINUMR6Cjs.addJsonNotice.call(void 0, {
173
+ _chunkZDQFBJPOjs.addJsonNotice.call(void 0, {
173
174
  code: "sdk_update_queued",
174
175
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
175
176
  });
@@ -182,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
182
183
  return true;
183
184
  }
184
185
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
185
- if (!_chunk3W44AJOEjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunk7RSIFA72js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
187
  const autoUpdate = response.auto_update;
187
188
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
188
189
  process.stderr.write(
@@ -195,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
195
196
  event: "started",
196
197
  installKind: plan.kind
197
198
  });
198
- const updateResult = await _chunk3W44AJOEjs.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunk7RSIFA72js.runAutomaticUpdatePlan.call(void 0, plan);
199
200
  if (updateResult.status === "skipped_previous_failure") {
200
201
  void reportAutoUpdateEvent({
201
202
  baseUrl,
@@ -233,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
233
234
  exitCode: 0
234
235
  });
235
236
  try {
236
- await _chunkYSYOQYZEjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunkCOGREZAOjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
238
  mode: "detached",
238
239
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
239
240
  afterCliUpdate: {
@@ -260,7 +261,7 @@ var _crypto = require('crypto');
260
261
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
261
262
  var activeToolExecuteCommand = null;
262
263
  function progressLine(line) {
263
- if (!_chunkRINUMR6Cjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkZDQFBJPOjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
265
  }
265
266
  function beginToolExecuteCommand() {
266
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,29 +1,29 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkJLFOQRWMjs = require('./chunk-JLFOQRWM.js');
3
+ var _chunkWKBHUB6Rjs = require('./chunk-WKBHUB6R.js');
4
4
 
5
5
 
6
- var _chunkJKLDCFY5js = require('./chunk-JKLDCFY5.js');
6
+ var _chunkPOLUE7D5js = require('./chunk-POLUE7D5.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkRKF263LRjs = require('./chunk-RKF263LR.js');
11
+ var _chunkKWSH5T7Kjs = require('./chunk-KWSH5T7K.js');
12
12
 
13
13
 
14
- var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
14
+ var _chunk2WFPHBR4js = require('./chunk-2WFPHBR4.js');
15
15
 
16
16
 
17
- var _chunkNM3AYEDIjs = require('./chunk-NM3AYEDI.js');
17
+ var _chunkQM6Y6S4Ejs = require('./chunk-QM6Y6S4E.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkRINUMR6Cjs = require('./chunk-RINUMR6C.js');
22
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkOKNOQRQ3js = require('./chunk-OKNOQRQ3.js');
26
+ var _chunkUDXULACQjs = require('./chunk-UDXULACQ.js');
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  var _fs = require('fs');
@@ -32,14 +32,14 @@ var _path = require('path');
32
32
  // src/cli/doc-read-reporting.ts
33
33
  var REPORT_TIMEOUT_MS = 1e3;
34
34
  async function reportDocRead(docId) {
35
- if (_chunkRINUMR6Cjs.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunkZDQFBJPOjs.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunkOKNOQRQ3js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunkOKNOQRQ3js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunkUDXULACQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunkUDXULACQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
39
  if (!apiKey) return;
40
40
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
41
41
  method: "POST",
42
- headers: _chunkRINUMR6Cjs.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunkZDQFBJPOjs.failureReportHeaders.call(void 0, apiKey),
43
43
  body: JSON.stringify({ doc_id: docId }),
44
44
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
45
45
  });
@@ -52,20 +52,23 @@ function nothingNamed(name) {
52
52
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
53
53
  }
54
54
  function findNamed2(name, options) {
55
- return _chunkRKF263LRjs.findNamed.call(void 0, name, options, _chunkRKF263LRjs.describeLookupsFor.call(void 0, new (0, _chunkNM3AYEDIjs.DeeplineClient)()));
55
+ return _chunkKWSH5T7Kjs.findNamed.call(void 0, name, options, _chunkKWSH5T7Kjs.describeLookupsFor.call(void 0, new (0, _chunkQM6Y6S4Ejs.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunkNM3AYEDIjs.DeeplineClient)();
59
- const lookups = _chunkRKF263LRjs.describeLookupsFor.call(void 0, client);
60
- const outcome = await _chunkRKF263LRjs.describeName.call(void 0, name, options, {
58
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
59
+ const lookups = _chunkKWSH5T7Kjs.describeLookupsFor.call(void 0, client);
60
+ const outcome = await _chunkKWSH5T7Kjs.describeName.call(void 0, name, options, {
61
61
  ...lookups,
62
62
  // `tools describe` has already fetched the tool for its compatibility check.
63
63
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
64
- seedStarterScript: _chunkJLFOQRWMjs.seedToolListScript
64
+ seedStarterScript: _chunkWKBHUB6Rjs.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
68
68
  console.error(nothingNamed(name));
69
+ console.error(
70
+ "Check the active workspace and account if you expected this name to resolve."
71
+ );
69
72
  return 2;
70
73
  }
71
74
  if (outcome.status === "refused") {
@@ -87,18 +90,18 @@ function deliver(envelope, lines, { json, out }) {
87
90
  ` : text;
88
91
  _fs.writeFileSync.call(void 0, path, content);
89
92
  const bytes = Buffer.byteLength(content);
90
- _chunkRINUMR6Cjs.printCommandEnvelope.call(void 0,
93
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
91
94
  { path, bytes },
92
95
  { json, text: `Wrote ${path} (${bytes} bytes)
93
96
  ` }
94
97
  );
95
98
  return 0;
96
99
  }
97
- _chunkRINUMR6Cjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, envelope, { json, text });
98
101
  return 0;
99
102
  }
100
103
  function registerDescribeCommand(program) {
101
- _chunkJKLDCFY5js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
+ _chunkPOLUE7D5js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
102
105
  "Describe anything search returns: a tool, monitor type, or play."
103
106
  ).addHelpText(
104
107
  "after",
@@ -139,7 +142,7 @@ Schema size and format:
139
142
  by default; the output names them, and --verbose shows them.
140
143
  --fields email,miss_reason shows only the fields you name, plus every
141
144
  required input, and names the rest. Use it when you know what you need.
142
- A schema over ${_chunkXYIECA7Mjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
145
+ A schema over ${_chunk2WFPHBR4js.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
143
146
  names. A shape used more than once is printed once under Types.
144
147
  --full-schema the normal output, with the schema not folded
145
148
  --schema-only only the schema, not folded, and nothing else
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkQNWNR6DGjs = require('./chunk-QNWNR6DG.js');
3
+ var _chunkMR5LTVHDjs = require('./chunk-MR5LTVHD.js');
4
4
 
5
5
 
6
- var _chunkUV4RU2TEjs = require('./chunk-UV4RU2TE.js');
6
+ var _chunkH4ALLC2Xjs = require('./chunk-H4ALLC2X.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkOKNOQRQ3js = require('./chunk-OKNOQRQ3.js');
10
+ var _chunkUDXULACQjs = require('./chunk-UDXULACQ.js');
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
24
24
  return plans ? `${here} Plan limits: ${plans}.` : here;
25
25
  }
26
26
  async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
27
- const baseUrl = _chunkOKNOQRQ3js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
- const apiKey = _chunkOKNOQRQ3js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
27
+ const baseUrl = _chunkUDXULACQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
+ const apiKey = _chunkUDXULACQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
29
29
  if (!apiKey) return "";
30
30
  try {
31
- const { status, data } = await _chunkQNWNR6DGjs.httpJson.call(void 0,
31
+ const { status, data } = await _chunkMR5LTVHDjs.httpJson.call(void 0,
32
32
  "GET",
33
33
  `${baseUrl}/api/v2/billing/entitlements`,
34
34
  apiKey,
@@ -40,7 +40,7 @@ async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
40
40
  return line ? `
41
41
  Your workspace:
42
42
  ${line}
43
- ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
43
+ ${_chunkH4ALLC2Xjs.PRICING_PAGE_NOTE}
44
44
  ` : "";
45
45
  } catch (e) {
46
46
  return "";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-TL3WIXDH.mjs";
3
+ } from "./chunk-ZMNGZ6XS.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-72NXIFOT.mjs";
7
+ } from "./chunk-V6SCP4B7.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {