@xiaoso/dsh-tool-plus 0.1.6 → 0.1.7-beta.1

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 (357) hide show
  1. package/THIRD_PARTY_NOTICES.md +9 -3
  2. package/lib/{abort-Cwwm4Err.mjs → abort-Caqff3M6.mjs} +2 -2
  3. package/lib/alibaba-coding-plan-DTupMiAi.mjs +73 -0
  4. package/lib/alibaba-token-plan-CHGyWOfX.mjs +46 -0
  5. package/lib/alibaba-token-plan-Dj3OZhEE.mjs +82 -0
  6. package/lib/{amazon-bedrock-TVMpUTRG.mjs → amazon-bedrock-DbFSYXfJ.mjs} +117 -38
  7. package/lib/{anthropic-BL6LFDQS.mjs → anthropic-CTJ3IQVa.mjs} +675 -166
  8. package/lib/anthropic-CXfWlp-x.mjs +105 -0
  9. package/lib/{aws-credentials-B20dliS7.mjs → anthropic-wire-CKuhDwZ1.mjs} +74 -14
  10. package/lib/{api-key-login-CIDnXeYd.mjs → api-key-validation-CGCJFbFr.mjs} +27 -68
  11. package/lib/{azure-openai-responses-BkhsLmN3.mjs → azure-openai-responses-ChFbWaGj.mjs} +27 -16
  12. package/lib/{browser-render-CmgvSNte.mjs → browser-render-9o0Rknop.mjs} +4 -4
  13. package/lib/bun-shim.mjs +71 -2
  14. package/lib/{bundled-references-ChZSPDFw.mjs → bundled-references-DY3EJxZV.mjs} +6 -5
  15. package/lib/cline-pass-Bwg3esu9.mjs +44 -0
  16. package/lib/cloudflare-ai-gateway-BupNXyKK.mjs +35 -0
  17. package/lib/cloudflare-ai-gateway-EWo0VkP5.mjs +44 -0
  18. package/lib/collapse-DOR8sOGf.mjs +2304 -0
  19. package/lib/coreweave-C82HrLpb.mjs +31 -0
  20. package/lib/coreweave-Ct8cF-da.mjs +14 -0
  21. package/lib/{cursor-B6HcmplF.mjs → cursor-B95LzVWV.mjs} +11 -3
  22. package/lib/{cursor-CRpLpaZ3.mjs → cursor-DJV_dcgB.mjs} +887 -1784
  23. package/lib/{cursor-B8m6SqAH.mjs → cursor-LKGjucn2.mjs} +48 -38
  24. package/lib/cursor-proto-B8Wj8bv9.mjs +10513 -0
  25. package/lib/{deterministic-id-D-yIV_eI.mjs → deterministic-id-CUEIMSqR.mjs} +1 -1
  26. package/lib/devin-BMTdx_hx.mjs +316 -0
  27. package/lib/{devin-DUAfvBsW.mjs → devin-DSp0Rw_E.mjs} +172 -86
  28. package/lib/devin-ExGIghmx.mjs +69 -0
  29. package/lib/devin-proto-Br8fdyNl.mjs +2888 -0
  30. package/lib/{dom-CawWi8fa.mjs → dom-DG3sPESc.mjs} +8 -8
  31. package/lib/effort-BdtQMN-_.mjs +23 -0
  32. package/lib/{error-C-f_Wnw4.mjs → error-CORgGg5a.mjs} +275 -154
  33. package/lib/{event-stream-Dh2guZxS.mjs → event-stream-ulcDenZD.mjs} +20 -4
  34. package/lib/{gemini-headers-DKUShltF.mjs → gemini-headers-Co9cVvex.mjs} +2 -2
  35. package/lib/{github-copilot-suDymKrx.mjs → github-copilot-Dstq1D3s.mjs} +69 -29
  36. package/lib/github-copilot-headers-DOh1gt_w.mjs +312 -0
  37. package/lib/gitlab-duo-DSCMrU0m.mjs +11 -0
  38. package/lib/google-CtsKkOQK.mjs +38 -0
  39. package/lib/google-antigravity-z-5KsEci.mjs +252 -0
  40. package/lib/{google-auth-DYJLM792.mjs → google-auth-ieLBaneO.mjs} +4 -4
  41. package/lib/{google-gemini-cli-8BT513Ul.mjs → google-gemini-cli-C6NE5mWz.mjs} +28 -54
  42. package/lib/{google-gemini-cli-D6cSmfvB.mjs → google-gemini-cli-CAIPSl7e.mjs} +23 -29
  43. package/lib/google-oauth-shared-DhMllAkt.mjs +53 -0
  44. package/lib/{google-shared-CVbHK5vZ.mjs → google-shared-B0aNCYEH.mjs} +140 -44
  45. package/lib/{google-validation-Cgbn3tWJ.mjs → google-validation-BEkNs-Bx.mjs} +1 -1
  46. package/lib/{google-vertex-Bui-ypAe.mjs → google-vertex-Bbd1tYNc.mjs} +8 -8
  47. package/lib/hosts-00rjRzUD.mjs +203 -0
  48. package/lib/id-AL5obQzR.mjs +71 -0
  49. package/lib/{idle-iterator-CYAxUkSD.mjs → idle-iterator-DlUkEfzW.mjs} +3 -3
  50. package/lib/index.mjs +598 -5275
  51. package/lib/kilo-ChJL54wq.mjs +81 -0
  52. package/lib/kimi-C2c_Zq8A.mjs +67 -0
  53. package/lib/{launch-BmgEUycu.mjs → launch-DKDH71En.mjs} +1 -1
  54. package/lib/markit-CmRfm4E2.mjs +9885 -0
  55. package/lib/models-DnXMYGcJ.mjs +381604 -0
  56. package/lib/muse-code-Di1VZmB1.mjs +143 -0
  57. package/lib/{ollama-Df9ce-Cp.mjs → ollama-B8ic3sEp.mjs} +15 -30
  58. package/lib/{openai-codex-CAVI3Me-.mjs → openai-codex-DuJNC99x.mjs} +29 -99
  59. package/lib/{openai-codex-responses-BcnOotRB.mjs → openai-codex-responses-BL29nh9K.mjs} +204 -116
  60. package/lib/{openai-completions-Bq4WT47M.mjs → openai-completions-BK2f2dBv.mjs} +152 -82
  61. package/lib/openai-configuration-update-xMYUjaK_.mjs +150 -0
  62. package/lib/{openai-reasoning-fallback-DXsfiSXO.mjs → openai-reasoning-fallback-BdB3RCbj.mjs} +106 -12
  63. package/lib/{openai-responses-Mq_-PjvE.mjs → openai-responses-CGQPlIIy.mjs} +76 -82
  64. package/lib/{perplexity-XgLF73E7.mjs → perplexity-TBjz3VMB.mjs} +52 -9
  65. package/lib/{pkce-BlQikGPu.mjs → pkce-BYjmugmw.mjs} +1 -1
  66. package/lib/protobuf-aab1UGVn.mjs +717 -0
  67. package/lib/{provider-response-C6vcbQyO.mjs → provider-response-SqKSkkUc.mjs} +1 -1
  68. package/lib/{proxy-D9lm7ONA.mjs → proxy-5nWqRL1f.mjs} +45 -5
  69. package/lib/{readability-Cpm-ocau.mjs → readability-uGhqb4GC.mjs} +2 -2
  70. package/lib/reference-CtvM4zLU.mjs +114 -0
  71. package/lib/{request-debug-HJMoJncL.mjs → request-debug-NQN0BjHH.mjs} +1 -1
  72. package/lib/{sanitize-text-CfcXzw5X.mjs → sanitize-text-BCf5KmCf.mjs} +1 -1
  73. package/lib/{scrapers-Cg5w77td.mjs → scrapers-BpqEnqNM.mjs} +12 -12
  74. package/lib/{src-BcD0_rQR.mjs → src-BwW51vA5.mjs} +979 -388
  75. package/lib/{sse-debug-CYdjOC96.mjs → sse-debug-B-tkLCPW.mjs} +1 -1
  76. package/lib/{stream-Bjq8wjfr.mjs → stream-B_7qN-bA.mjs} +3802 -2623
  77. package/lib/stream-markup-healing-DKT1lnkW.mjs +267 -0
  78. package/lib/{strict-tool-validation-imVLUcbI.mjs → strict-tool-validation-CBTz1dAA.mjs} +2 -2
  79. package/lib/taxonomy-DSIM99rS.mjs +15392 -0
  80. package/lib/{stream-markup-healing-DZ6bVDxH.mjs → thinking-CiLa2LFB.mjs} +31 -186
  81. package/lib/{turndown-DN7ByzEI.mjs → turndown-DrX1M4WG.mjs} +4 -4
  82. package/lib/{type-guards-B9VVjRDK.mjs → type-guards-CttAANEx.mjs} +1 -1
  83. package/lib/types/client/BashPlusCard.d.ts +53 -0
  84. package/lib/types/client/ToolPlusSection.d.ts +36 -0
  85. package/lib/types/client/forms.d.ts +42 -0
  86. package/lib/types/client/index.d.ts +29 -0
  87. package/lib/types/client/locales.d.ts +19 -0
  88. package/lib/types/client/rm-safe-status-text.d.ts +15 -0
  89. package/lib/types/client/rows.d.ts +107 -0
  90. package/lib/types/client/web-connection-rpc.d.ts +22 -0
  91. package/lib/types/config/fields.d.ts +85 -0
  92. package/lib/types/config/omp-settings.d.ts +21 -0
  93. package/lib/types/config/settings.d.ts +212 -0
  94. package/lib/types/config/truncate.d.ts +27 -0
  95. package/lib/types/host/browser-probe-rpc.d.ts +29 -0
  96. package/lib/types/index.d.ts +6 -0
  97. package/lib/types/tools/ast-edit/adapter/index.d.ts +26 -0
  98. package/lib/types/tools/ast-edit/adapter/sdk.d.ts +49 -0
  99. package/lib/types/tools/ast-grep/adapter/index.d.ts +31 -0
  100. package/lib/types/tools/ast-grep/adapter/sdk.d.ts +44 -0
  101. package/lib/types/tools/bash/adapter/spill.d.ts +34 -0
  102. package/lib/types/tools/bash/background.d.ts +40 -0
  103. package/lib/types/tools/bash/bash-executor.d.ts +102 -0
  104. package/lib/types/tools/bash/bash-interceptor.d.ts +33 -0
  105. package/lib/types/tools/bash/cd-workdir.d.ts +35 -0
  106. package/lib/types/tools/bash/logger.d.ts +18 -0
  107. package/lib/types/tools/bash/non-interactive-env.d.ts +5 -0
  108. package/lib/types/tools/bash/render.d.ts +46 -0
  109. package/lib/types/tools/bash/rm-safe-status.d.ts +62 -0
  110. package/lib/types/tools/bash/rm-safe.d.ts +18 -0
  111. package/lib/types/tools/bash/sanitize-text.d.ts +34 -0
  112. package/lib/types/tools/bash/shell-snapshot.d.ts +31 -0
  113. package/lib/types/tools/bash/shell-tokenize.d.ts +60 -0
  114. package/lib/types/tools/bash/streaming-output.d.ts +32 -0
  115. package/lib/types/tools/bash/trash-cli-main.d.ts +1 -0
  116. package/lib/types/tools/bash/trash-cli.d.ts +77 -0
  117. package/lib/types/tools/bash/types.d.ts +107 -0
  118. package/lib/types/tools/bash/which.d.ts +20 -0
  119. package/lib/types/tools/bash/windows-shell.d.ts +31 -0
  120. package/lib/types/tools/bash/yield.d.ts +71 -0
  121. package/lib/types/tools/edit/adapter/index.d.ts +57 -0
  122. package/lib/types/tools/edit/adapter/tools/auto-generated-guard.d.ts +10 -0
  123. package/lib/types/tools/edit/adapter/tools/output-meta.d.ts +34 -0
  124. package/lib/types/tools/edit/adapter/tools/plan-mode-guard.d.ts +21 -0
  125. package/lib/types/tools/glob/adapter/index.d.ts +52 -0
  126. package/lib/types/tools/grep/adapter/index.d.ts +53 -0
  127. package/lib/types/tools/grep/adapter/match-path.d.ts +1 -0
  128. package/lib/types/tools/hashline/native/diff-preview.d.ts +37 -0
  129. package/lib/types/tools/hashline/native/index.d.ts +109 -0
  130. package/lib/types/tools/hashline/native/normalize.d.ts +29 -0
  131. package/lib/types/tools/hashline/native/policy.d.ts +98 -0
  132. package/lib/types/tools/hashline/native/writer.d.ts +42 -0
  133. package/lib/types/tools/omp/browser/launch.d.ts +28 -0
  134. package/lib/types/tools/omp/browser/readable.d.ts +17 -0
  135. package/lib/types/tools/omp/config/settings-schema.d.ts +12 -0
  136. package/lib/types/tools/omp/config/settings.d.ts +59 -0
  137. package/lib/types/tools/omp/edit/apply-patch/parser.d.ts +34 -0
  138. package/lib/types/tools/omp/edit/details.d.ts +54 -0
  139. package/lib/types/tools/omp/edit/diff.d.ts +60 -0
  140. package/lib/types/tools/omp/edit/dispatch.d.ts +43 -0
  141. package/lib/types/tools/omp/edit/file-snapshot-store.d.ts +81 -0
  142. package/lib/types/tools/omp/edit/hashline/execute.d.ts +40 -0
  143. package/lib/types/tools/omp/edit/hashline/params.d.ts +6 -0
  144. package/lib/types/tools/omp/edit/modes/apply-patch.d.ts +25 -0
  145. package/lib/types/tools/omp/edit/modes/patch.d.ts +109 -0
  146. package/lib/types/tools/omp/edit/modes/replace.d.ts +151 -0
  147. package/lib/types/tools/omp/edit/normalize.d.ts +31 -0
  148. package/lib/types/tools/omp/edit/notebook.d.ts +50 -0
  149. package/lib/types/tools/omp/edit/read-file.d.ts +2 -0
  150. package/lib/types/tools/omp/edit/snapshot-details.d.ts +33 -0
  151. package/lib/types/tools/omp/extensibility/skills.d.ts +22 -0
  152. package/lib/types/tools/omp/internal-urls/index.d.ts +100 -0
  153. package/lib/types/tools/omp/internal-urls/local-protocol.d.ts +12 -0
  154. package/lib/types/tools/omp/internal-urls/parse.d.ts +31 -0
  155. package/lib/types/tools/omp/internal-urls/types.d.ts +189 -0
  156. package/lib/types/tools/omp/internal-urls/xd-protocol.d.ts +19 -0
  157. package/lib/types/tools/omp/markit/converters/docx.d.ts +6 -0
  158. package/lib/types/tools/omp/markit/converters/epub.d.ts +15 -0
  159. package/lib/types/tools/omp/markit/converters/pdf/index.d.ts +7 -0
  160. package/lib/types/tools/omp/markit/converters/pptx.d.ts +57 -0
  161. package/lib/types/tools/omp/markit/converters/xlsx.d.ts +25 -0
  162. package/lib/types/tools/omp/markit/index.d.ts +2 -0
  163. package/lib/types/tools/omp/markit/registry.d.ts +16 -0
  164. package/lib/types/tools/omp/markit/types.d.ts +30 -0
  165. package/lib/types/tools/omp/sdk.d.ts +103 -0
  166. package/lib/types/tools/omp/session/agent-storage.d.ts +154 -0
  167. package/lib/types/tools/omp/session/streaming-output.d.ts +244 -0
  168. package/lib/types/tools/omp/task/spawn-policy.d.ts +22 -0
  169. package/lib/types/tools/omp/tools/approval.d.ts +62 -0
  170. package/lib/types/tools/omp/tools/ast-edit.d.ts +73 -0
  171. package/lib/types/tools/omp/tools/ast-grep.d.ts +61 -0
  172. package/lib/types/tools/omp/tools/auto-generated-guard.d.ts +20 -0
  173. package/lib/types/tools/omp/tools/conflict-detect.d.ts +237 -0
  174. package/lib/types/tools/omp/tools/fetch.d.ts +103 -0
  175. package/lib/types/tools/omp/tools/file-recorder.d.ts +13 -0
  176. package/lib/types/tools/omp/tools/fs-cache-invalidation.d.ts +15 -0
  177. package/lib/types/tools/omp/tools/glob.d.ts +86 -0
  178. package/lib/types/tools/omp/tools/grep.d.ts +102 -0
  179. package/lib/types/tools/omp/tools/grouped-file-output.d.ts +70 -0
  180. package/lib/types/tools/omp/tools/index.d.ts +23 -0
  181. package/lib/types/tools/omp/tools/list-limit.d.ts +12 -0
  182. package/lib/types/tools/omp/tools/match-line-format.d.ts +11 -0
  183. package/lib/types/tools/omp/tools/output-meta.d.ts +160 -0
  184. package/lib/types/tools/omp/tools/path-utils.d.ts +326 -0
  185. package/lib/types/tools/omp/tools/plan-mode-guard.d.ts +33 -0
  186. package/lib/types/tools/omp/tools/read-archive.d.ts +16 -0
  187. package/lib/types/tools/omp/tools/read-format.d.ts +104 -0
  188. package/lib/types/tools/omp/tools/read-path-resolution.d.ts +19 -0
  189. package/lib/types/tools/omp/tools/read-selector.d.ts +27 -0
  190. package/lib/types/tools/omp/tools/read-sqlite.d.ts +16 -0
  191. package/lib/types/tools/omp/tools/read-summary.d.ts +15 -0
  192. package/lib/types/tools/omp/tools/read.d.ts +70 -0
  193. package/lib/types/tools/omp/tools/render-utils.d.ts +28 -0
  194. package/lib/types/tools/omp/tools/report-tool-issue.d.ts +149 -0
  195. package/lib/types/tools/omp/tools/resolve.d.ts +127 -0
  196. package/lib/types/tools/omp/tools/sqlite-reader.d.ts +114 -0
  197. package/lib/types/tools/omp/tools/tool-errors.d.ts +33 -0
  198. package/lib/types/tools/omp/tools/tool-result.d.ts +33 -0
  199. package/lib/types/tools/omp/tools/tool-timeouts.d.ts +57 -0
  200. package/lib/types/tools/omp/tools/write.d.ts +53 -0
  201. package/lib/types/tools/omp/tools/writethrough.d.ts +24 -0
  202. package/lib/types/tools/omp/utils/block-context.d.ts +35 -0
  203. package/lib/types/tools/omp/utils/cpuprofile.d.ts +51 -0
  204. package/lib/types/tools/omp/utils/edit-mode.d.ts +13 -0
  205. package/lib/types/tools/omp/utils/file-display-mode.d.ts +27 -0
  206. package/lib/types/tools/omp/utils/image-loading.d.ts +51 -0
  207. package/lib/types/tools/omp/utils/image-resize.d.ts +42 -0
  208. package/lib/types/tools/omp/utils/lang-from-path.d.ts +9 -0
  209. package/lib/types/tools/omp/utils/markit-cache.d.ts +23 -0
  210. package/lib/types/tools/omp/utils/markit.d.ts +30 -0
  211. package/lib/types/tools/omp/utils/profile-tree.d.ts +47 -0
  212. package/lib/types/tools/omp/utils/sample-profile.d.ts +67 -0
  213. package/lib/types/tools/omp/utils/sixel.d.ts +21 -0
  214. package/lib/types/tools/omp/utils/tools-manager.d.ts +11 -0
  215. package/lib/types/tools/omp/utils/turndown.d.ts +15 -0
  216. package/lib/types/tools/omp/utils/zip.d.ts +129 -0
  217. package/lib/types/tools/omp/web/browser-render.d.ts +50 -0
  218. package/lib/types/tools/omp/web/parallel.d.ts +68 -0
  219. package/lib/types/tools/omp/web/scrapers/artifacthub.d.ts +6 -0
  220. package/lib/types/tools/omp/web/scrapers/arxiv.d.ts +5 -0
  221. package/lib/types/tools/omp/web/scrapers/aur.d.ts +5 -0
  222. package/lib/types/tools/omp/web/scrapers/biorxiv.d.ts +5 -0
  223. package/lib/types/tools/omp/web/scrapers/bluesky.d.ts +5 -0
  224. package/lib/types/tools/omp/web/scrapers/brew.d.ts +5 -0
  225. package/lib/types/tools/omp/web/scrapers/cheatsh.d.ts +8 -0
  226. package/lib/types/tools/omp/web/scrapers/chocolatey.d.ts +5 -0
  227. package/lib/types/tools/omp/web/scrapers/choosealicense.d.ts +2 -0
  228. package/lib/types/tools/omp/web/scrapers/cisa-kev.d.ts +5 -0
  229. package/lib/types/tools/omp/web/scrapers/clojars.d.ts +5 -0
  230. package/lib/types/tools/omp/web/scrapers/coingecko.d.ts +5 -0
  231. package/lib/types/tools/omp/web/scrapers/crates-io.d.ts +5 -0
  232. package/lib/types/tools/omp/web/scrapers/crossref.d.ts +2 -0
  233. package/lib/types/tools/omp/web/scrapers/devto.d.ts +5 -0
  234. package/lib/types/tools/omp/web/scrapers/discogs.d.ts +8 -0
  235. package/lib/types/tools/omp/web/scrapers/discourse.d.ts +5 -0
  236. package/lib/types/tools/omp/web/scrapers/dockerhub.d.ts +5 -0
  237. package/lib/types/tools/omp/web/scrapers/docs-rs.d.ts +9 -0
  238. package/lib/types/tools/omp/web/scrapers/fdroid.d.ts +5 -0
  239. package/lib/types/tools/omp/web/scrapers/firefox-addons.d.ts +2 -0
  240. package/lib/types/tools/omp/web/scrapers/flathub.d.ts +2 -0
  241. package/lib/types/tools/omp/web/scrapers/github-gist.d.ts +5 -0
  242. package/lib/types/tools/omp/web/scrapers/github.d.ts +34 -0
  243. package/lib/types/tools/omp/web/scrapers/gitlab.d.ts +5 -0
  244. package/lib/types/tools/omp/web/scrapers/go-pkg.d.ts +5 -0
  245. package/lib/types/tools/omp/web/scrapers/hackage.d.ts +5 -0
  246. package/lib/types/tools/omp/web/scrapers/hackernews.d.ts +2 -0
  247. package/lib/types/tools/omp/web/scrapers/hex.d.ts +5 -0
  248. package/lib/types/tools/omp/web/scrapers/huggingface.d.ts +2 -0
  249. package/lib/types/tools/omp/web/scrapers/iacr.d.ts +5 -0
  250. package/lib/types/tools/omp/web/scrapers/index.d.ts +84 -0
  251. package/lib/types/tools/omp/web/scrapers/jetbrains-marketplace.d.ts +2 -0
  252. package/lib/types/tools/omp/web/scrapers/lemmy.d.ts +2 -0
  253. package/lib/types/tools/omp/web/scrapers/lobsters.d.ts +5 -0
  254. package/lib/types/tools/omp/web/scrapers/mastodon.d.ts +5 -0
  255. package/lib/types/tools/omp/web/scrapers/maven.d.ts +6 -0
  256. package/lib/types/tools/omp/web/scrapers/mdn.d.ts +2 -0
  257. package/lib/types/tools/omp/web/scrapers/metacpan.d.ts +5 -0
  258. package/lib/types/tools/omp/web/scrapers/musicbrainz.d.ts +5 -0
  259. package/lib/types/tools/omp/web/scrapers/npm.d.ts +5 -0
  260. package/lib/types/tools/omp/web/scrapers/nuget.d.ts +5 -0
  261. package/lib/types/tools/omp/web/scrapers/nvd.d.ts +5 -0
  262. package/lib/types/tools/omp/web/scrapers/ollama.d.ts +2 -0
  263. package/lib/types/tools/omp/web/scrapers/open-vsx.d.ts +5 -0
  264. package/lib/types/tools/omp/web/scrapers/opencorporates.d.ts +5 -0
  265. package/lib/types/tools/omp/web/scrapers/openlibrary.d.ts +5 -0
  266. package/lib/types/tools/omp/web/scrapers/orcid.d.ts +5 -0
  267. package/lib/types/tools/omp/web/scrapers/osv.d.ts +5 -0
  268. package/lib/types/tools/omp/web/scrapers/packagist.d.ts +5 -0
  269. package/lib/types/tools/omp/web/scrapers/pub-dev.d.ts +5 -0
  270. package/lib/types/tools/omp/web/scrapers/pubmed.d.ts +5 -0
  271. package/lib/types/tools/omp/web/scrapers/pypi.d.ts +5 -0
  272. package/lib/types/tools/omp/web/scrapers/rawg.d.ts +2 -0
  273. package/lib/types/tools/omp/web/scrapers/readthedocs.d.ts +2 -0
  274. package/lib/types/tools/omp/web/scrapers/reddit.d.ts +5 -0
  275. package/lib/types/tools/omp/web/scrapers/repology.d.ts +5 -0
  276. package/lib/types/tools/omp/web/scrapers/rfc.d.ts +5 -0
  277. package/lib/types/tools/omp/web/scrapers/rubygems.d.ts +5 -0
  278. package/lib/types/tools/omp/web/scrapers/searchcode.d.ts +2 -0
  279. package/lib/types/tools/omp/web/scrapers/sec-edgar.d.ts +5 -0
  280. package/lib/types/tools/omp/web/scrapers/semantic-scholar.d.ts +2 -0
  281. package/lib/types/tools/omp/web/scrapers/snapcraft.d.ts +2 -0
  282. package/lib/types/tools/omp/web/scrapers/sourcegraph.d.ts +2 -0
  283. package/lib/types/tools/omp/web/scrapers/spdx.d.ts +5 -0
  284. package/lib/types/tools/omp/web/scrapers/spotify.d.ts +8 -0
  285. package/lib/types/tools/omp/web/scrapers/stackoverflow.d.ts +6 -0
  286. package/lib/types/tools/omp/web/scrapers/terraform.d.ts +5 -0
  287. package/lib/types/tools/omp/web/scrapers/tldr.d.ts +7 -0
  288. package/lib/types/tools/omp/web/scrapers/twitter.d.ts +5 -0
  289. package/lib/types/tools/omp/web/scrapers/types.d.ts +90 -0
  290. package/lib/types/tools/omp/web/scrapers/utils.d.ts +26 -0
  291. package/lib/types/tools/omp/web/scrapers/vimeo.d.ts +5 -0
  292. package/lib/types/tools/omp/web/scrapers/vscode-marketplace.d.ts +5 -0
  293. package/lib/types/tools/omp/web/scrapers/w3c.d.ts +2 -0
  294. package/lib/types/tools/omp/web/scrapers/wikidata.d.ts +5 -0
  295. package/lib/types/tools/omp/web/scrapers/wikipedia.d.ts +5 -0
  296. package/lib/types/tools/omp/web/scrapers/youtube.d.ts +5 -0
  297. package/lib/types/tools/omp/web/search/providers/utils.d.ts +49 -0
  298. package/lib/types/tools/omp/web/search/types.d.ts +501 -0
  299. package/lib/types/tools/omp/web/search/utils.d.ts +4 -0
  300. package/lib/types/tools/omp/workspace-tree.d.ts +42 -0
  301. package/lib/types/tools/read/adapter/index.d.ts +49 -0
  302. package/lib/types/tools/read/adapter/internal-urls/artifact-protocol.d.ts +15 -0
  303. package/lib/types/tools/read/adapter/internal-urls/registry-helpers.d.ts +44 -0
  304. package/lib/types/tools/read/adapter/registry/agent-registry.d.ts +29 -0
  305. package/lib/types/tools/shared/auto-generated-guard.dsh.d.ts +16 -0
  306. package/lib/types/tools/shared/browser-detect.d.ts +54 -0
  307. package/lib/types/tools/shared/browser-rpc-channel.d.ts +40 -0
  308. package/lib/types/tools/shared/bun-ffi-shim.d.ts +13 -0
  309. package/lib/types/tools/shared/bun-named-shim.d.ts +42 -0
  310. package/lib/types/tools/shared/bun-shim.d.ts +138 -0
  311. package/lib/types/tools/shared/bun-sqlite-shim.d.ts +49 -0
  312. package/lib/types/tools/shared/fs-promises-shim.d.ts +15 -0
  313. package/lib/types/tools/shared/image-bridge.d.ts +98 -0
  314. package/lib/types/tools/shared/omp-prompt.d.ts +47 -0
  315. package/lib/types/tools/shared/sandbox-policy.d.ts +38 -0
  316. package/lib/types/tools/shared/session-state.d.ts +51 -0
  317. package/lib/types/tools/shared/tool-errors.d.ts +33 -0
  318. package/lib/types/tools/shared/win-path-fixes.d.ts +16 -0
  319. package/lib/types/tools/write/adapter/index.d.ts +31 -0
  320. package/lib/{types-DX_bvuus.mjs → types-PVueGi9S.mjs} +2 -2
  321. package/lib/{utils-C-dSORPa.mjs → utils-B7A3Eu4L.mjs} +2364 -2676
  322. package/lib/{utils-Cp2Mxf_U.mjs → utils-CUPhpw9A.mjs} +413 -134
  323. package/lib/{utils-CQHPEQ3W.mjs → utils-DeWqNWV8.mjs} +2 -2
  324. package/lib/{vision-guard-mBmtAHx0.mjs → vision-guard-_XwsL1DF.mjs} +14 -29
  325. package/lib/xai-oauth-CXhnz0gO.mjs +210 -0
  326. package/lib/{xiaomi-7mE345KX.mjs → xiaomi-psoUItal.mjs} +8 -37
  327. package/lib/{zai-CeNpMV3W.mjs → zai-ApJ8HBgT.mjs} +8 -71
  328. package/lib/{zip-BK7UHCwX.mjs → zip-Kd602XNe.mjs} +1 -1
  329. package/package.json +12 -12
  330. package/presets/package.json +1 -1
  331. package/presets/tool-plus-ptc/agent.cordis.yml +1 -1
  332. package/presets/tool-plus-standard/agent.cordis.yml +1 -1
  333. package/scripts/patch-pi-natives.mjs +108 -108
  334. package/lib/agent_pb-Rizyt9Zg.mjs +0 -805
  335. package/lib/anthropic-CDmj476p.mjs +0 -262
  336. package/lib/api_server_pb-CDZgLMta.mjs +0 -252
  337. package/lib/callback-server-CFJK-jvK.mjs +0 -398
  338. package/lib/codex-P1dGpX7G.mjs +0 -54
  339. package/lib/device-code-CuXTWYwY.mjs +0 -51
  340. package/lib/devin-BcQwht1W.mjs +0 -114
  341. package/lib/devin-BvMfGevz.mjs +0 -95
  342. package/lib/github-copilot-B3kQl0g0.mjs +0 -104
  343. package/lib/gitlab-duo-BriUTP8k.mjs +0 -155
  344. package/lib/gitlab-duo-workflow-wK5Ljzmc.mjs +0 -91
  345. package/lib/google-CE5tFDod.mjs +0 -30
  346. package/lib/google-antigravity-C1jgNljz.mjs +0 -198
  347. package/lib/google-oauth-shared-BLVTvokk.mjs +0 -147
  348. package/lib/grammar-D-NqNUxQ.mjs +0 -49
  349. package/lib/identity-HNO1Oe9B.mjs +0 -219
  350. package/lib/kimi-DgcUpPtK.mjs +0 -236
  351. package/lib/markit-DtGoRE6M.mjs +0 -1417
  352. package/lib/minimax-code-Y3h5li9N.mjs +0 -53
  353. package/lib/models-DRA2c_8U.mjs +0 -104660
  354. package/lib/opencode-BsVw9rCD.mjs +0 -38
  355. package/lib/to-binary-B1BEBIPC.mjs +0 -6002
  356. package/lib/wafer-BlhWLweO.mjs +0 -17
  357. package/lib/xai-oauth-5pORHUrg.mjs +0 -446
@@ -0,0 +1,2888 @@
1
+ import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
+ __installBunShim();
3
+ import { a as pb, i as fromBinary } from "./protobuf-aab1UGVn.mjs";
4
+ import { gunzipSync } from "node:zlib";
5
+ //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.1.17/node_modules/@oh-my-pi/pi-catalog/src/discovery/devin-proto.ts
6
+ /**
7
+ * Devin protocol declarations used by Oh My Pi.
8
+ *
9
+ * Each declaration retains only fields consumed by the client or its protocol tests.
10
+ */
11
+ /** Devin enum TeamsTier. */
12
+ let TeamsTier = /* @__PURE__ */ function(TeamsTier) {
13
+ TeamsTier[TeamsTier["UNSPECIFIED"] = 0] = "UNSPECIFIED";
14
+ TeamsTier[TeamsTier["TEAMS"] = 1] = "TEAMS";
15
+ TeamsTier[TeamsTier["PRO"] = 2] = "PRO";
16
+ TeamsTier[TeamsTier["TRIAL"] = 9] = "TRIAL";
17
+ TeamsTier[TeamsTier["ENTERPRISE_SAAS"] = 3] = "ENTERPRISE_SAAS";
18
+ TeamsTier[TeamsTier["HYBRID"] = 4] = "HYBRID";
19
+ TeamsTier[TeamsTier["ENTERPRISE_SELF_HOSTED"] = 5] = "ENTERPRISE_SELF_HOSTED";
20
+ TeamsTier[TeamsTier["ENTERPRISE_SELF_SERVE"] = 10] = "ENTERPRISE_SELF_SERVE";
21
+ TeamsTier[TeamsTier["DEVIN_ENTERPRISE"] = 12] = "DEVIN_ENTERPRISE";
22
+ TeamsTier[TeamsTier["DEVIN_TEAMS"] = 14] = "DEVIN_TEAMS";
23
+ TeamsTier[TeamsTier["DEVIN_TEAMS_V2"] = 15] = "DEVIN_TEAMS_V2";
24
+ TeamsTier[TeamsTier["DEVIN_PRO"] = 16] = "DEVIN_PRO";
25
+ TeamsTier[TeamsTier["DEVIN_MAX"] = 17] = "DEVIN_MAX";
26
+ TeamsTier[TeamsTier["MAX"] = 18] = "MAX";
27
+ TeamsTier[TeamsTier["DEVIN_FREE"] = 19] = "DEVIN_FREE";
28
+ TeamsTier[TeamsTier["DEVIN_TRIAL"] = 20] = "DEVIN_TRIAL";
29
+ TeamsTier[TeamsTier["WAITLIST_PRO"] = 6] = "WAITLIST_PRO";
30
+ TeamsTier[TeamsTier["TEAMS_ULTIMATE"] = 7] = "TEAMS_ULTIMATE";
31
+ TeamsTier[TeamsTier["PRO_ULTIMATE"] = 8] = "PRO_ULTIMATE";
32
+ TeamsTier[TeamsTier["ENTERPRISE_SAAS_POOLED"] = 11] = "ENTERPRISE_SAAS_POOLED";
33
+ return TeamsTier;
34
+ }({});
35
+ const AllowedModelConfigSchema = pb("exa.codeium_common_pb.AllowedModelConfig", [{
36
+ no: 1,
37
+ name: "modelOrAlias",
38
+ kind: "message",
39
+ T: () => ModelOrAliasSchema
40
+ }, {
41
+ no: 2,
42
+ name: "creditMultiplier",
43
+ kind: "float"
44
+ }]);
45
+ const AnthropicInferenceConfigSchema = pb("exa.codeium_common_pb.AnthropicInferenceConfig", [
46
+ {
47
+ no: 1,
48
+ name: "thinking",
49
+ kind: "bool"
50
+ },
51
+ {
52
+ no: 2,
53
+ name: "effort",
54
+ kind: "string"
55
+ },
56
+ {
57
+ no: 3,
58
+ name: "fastMode",
59
+ kind: "bool"
60
+ },
61
+ {
62
+ no: 4,
63
+ name: "context1m",
64
+ kind: "bool"
65
+ }
66
+ ]);
67
+ const ArenaConfigSchema = pb("exa.codeium_common_pb.ArenaConfig", [{
68
+ no: 2,
69
+ name: "tokensPerSecond",
70
+ kind: "float"
71
+ }]);
72
+ const AssignModelRequestSchema = pb("exa.api_server_pb.AssignModelRequest", [
73
+ {
74
+ no: 1,
75
+ name: "metadata",
76
+ kind: "message",
77
+ T: () => MetadataSchema
78
+ },
79
+ {
80
+ no: 2,
81
+ name: "modelRouterUid",
82
+ kind: "string"
83
+ },
84
+ {
85
+ no: 3,
86
+ name: "cascadeId",
87
+ kind: "string"
88
+ },
89
+ {
90
+ no: 5,
91
+ name: "chatMessagePrompt",
92
+ kind: "message",
93
+ T: () => ChatMessagePromptSchema
94
+ }
95
+ ]);
96
+ const AssignModelResponseSchema = pb("exa.api_server_pb.AssignModelResponse", [{
97
+ no: 1,
98
+ name: "assignment",
99
+ kind: "message",
100
+ T: () => ModelAssignmentSchema
101
+ }]);
102
+ const CascadeModelConfigDataSchema = pb("exa.codeium_common_pb.CascadeModelConfigData", [
103
+ {
104
+ no: 1,
105
+ name: "clientModelConfigs",
106
+ kind: "message",
107
+ T: () => ClientModelConfigSchema,
108
+ repeat: true
109
+ },
110
+ {
111
+ no: 2,
112
+ name: "clientModelSorts",
113
+ kind: "message",
114
+ T: () => ClientModelSortSchema,
115
+ repeat: true
116
+ },
117
+ {
118
+ no: 3,
119
+ name: "defaultOverrideModelConfig",
120
+ kind: "message",
121
+ T: () => DefaultOverrideModelConfigSchema
122
+ },
123
+ {
124
+ no: 4,
125
+ name: "arenaModeCostFast",
126
+ kind: "float"
127
+ },
128
+ {
129
+ no: 5,
130
+ name: "arenaModeCostSmart",
131
+ kind: "float"
132
+ }
133
+ ]);
134
+ const ChatMessagePromptSchema = pb("exa.chat_pb.ChatMessagePrompt", [
135
+ {
136
+ no: 1,
137
+ name: "messageId",
138
+ kind: "string"
139
+ },
140
+ {
141
+ no: 2,
142
+ name: "source",
143
+ kind: "enum"
144
+ },
145
+ {
146
+ no: 3,
147
+ name: "prompt",
148
+ kind: "string"
149
+ },
150
+ {
151
+ no: 4,
152
+ name: "numTokens",
153
+ kind: "uint32"
154
+ },
155
+ {
156
+ no: 5,
157
+ name: "safeForCodeTelemetry",
158
+ kind: "bool"
159
+ },
160
+ {
161
+ no: 6,
162
+ name: "toolCalls",
163
+ kind: "message",
164
+ T: () => ChatToolCallSchema,
165
+ repeat: true
166
+ },
167
+ {
168
+ no: 7,
169
+ name: "toolCallId",
170
+ kind: "string"
171
+ },
172
+ {
173
+ no: 8,
174
+ name: "promptCacheOptions",
175
+ kind: "message",
176
+ T: () => PromptCacheOptionsSchema
177
+ },
178
+ {
179
+ no: 9,
180
+ name: "toolResultIsError",
181
+ kind: "bool"
182
+ },
183
+ {
184
+ no: 10,
185
+ name: "images",
186
+ kind: "message",
187
+ T: () => ImageDataSchema,
188
+ repeat: true
189
+ },
190
+ {
191
+ no: 11,
192
+ name: "thinking",
193
+ kind: "string"
194
+ },
195
+ {
196
+ no: 12,
197
+ name: "signature",
198
+ kind: "string"
199
+ },
200
+ {
201
+ no: 13,
202
+ name: "thinkingRedacted",
203
+ kind: "bool"
204
+ },
205
+ {
206
+ no: 14,
207
+ name: "promptAnnotationRanges",
208
+ kind: "message",
209
+ T: () => PromptAnnotationRangeSchema,
210
+ repeat: true
211
+ },
212
+ {
213
+ no: 15,
214
+ name: "outputId",
215
+ kind: "string"
216
+ },
217
+ {
218
+ no: 16,
219
+ name: "thinkingId",
220
+ kind: "string"
221
+ },
222
+ {
223
+ no: 17,
224
+ name: "geminiThoughtSignature",
225
+ kind: "bytes"
226
+ },
227
+ {
228
+ no: 18,
229
+ name: "signatureType",
230
+ kind: "string"
231
+ },
232
+ {
233
+ no: 19,
234
+ name: "phase",
235
+ kind: "string"
236
+ }
237
+ ]);
238
+ const ChatToolCallSchema = pb("exa.codeium_common_pb.ChatToolCall", [
239
+ {
240
+ no: 1,
241
+ name: "id",
242
+ kind: "string"
243
+ },
244
+ {
245
+ no: 2,
246
+ name: "name",
247
+ kind: "string"
248
+ },
249
+ {
250
+ no: 3,
251
+ name: "argumentsJson",
252
+ kind: "string"
253
+ },
254
+ {
255
+ no: 4,
256
+ name: "invalidJsonStr",
257
+ kind: "string"
258
+ },
259
+ {
260
+ no: 5,
261
+ name: "invalidJsonErr",
262
+ kind: "string"
263
+ },
264
+ {
265
+ no: 6,
266
+ name: "isCustomToolCall",
267
+ kind: "bool"
268
+ }
269
+ ]);
270
+ const ChatToolChoiceSchema = pb("exa.chat_pb.ChatToolChoice", [{
271
+ kind: "oneof",
272
+ name: "choice",
273
+ variants: [{
274
+ no: 1,
275
+ name: "optionName",
276
+ kind: "string"
277
+ }, {
278
+ no: 2,
279
+ name: "toolName",
280
+ kind: "string"
281
+ }]
282
+ }]);
283
+ const ChatToolDefinitionSchema = pb("exa.chat_pb.ChatToolDefinition", [
284
+ {
285
+ no: 1,
286
+ name: "name",
287
+ kind: "string"
288
+ },
289
+ {
290
+ no: 2,
291
+ name: "description",
292
+ kind: "string"
293
+ },
294
+ {
295
+ no: 3,
296
+ name: "jsonSchemaString",
297
+ kind: "string"
298
+ },
299
+ {
300
+ no: 5,
301
+ name: "attributionFieldNames",
302
+ kind: "string",
303
+ repeat: true
304
+ },
305
+ {
306
+ no: 6,
307
+ name: "serverName",
308
+ kind: "string"
309
+ },
310
+ {
311
+ no: 7,
312
+ name: "readOnlyHint",
313
+ kind: "bool",
314
+ optional: true
315
+ },
316
+ {
317
+ no: 8,
318
+ name: "computerUseConfig",
319
+ kind: "message",
320
+ T: () => ComputerUseToolConfigSchema
321
+ },
322
+ {
323
+ no: 9,
324
+ name: "isCustomTool",
325
+ kind: "bool",
326
+ optional: true
327
+ },
328
+ {
329
+ no: 10,
330
+ name: "customToolGrammar",
331
+ kind: "string",
332
+ optional: true
333
+ },
334
+ {
335
+ no: 11,
336
+ name: "customToolGrammarSyntax",
337
+ kind: "string",
338
+ optional: true
339
+ },
340
+ {
341
+ no: 12,
342
+ name: "strict",
343
+ kind: "bool"
344
+ }
345
+ ]);
346
+ const ClientModelConfigSchema = pb("exa.codeium_common_pb.ClientModelConfig", [
347
+ {
348
+ no: 1,
349
+ name: "label",
350
+ kind: "string"
351
+ },
352
+ {
353
+ no: 2,
354
+ name: "modelOrAlias",
355
+ kind: "message",
356
+ T: () => ModelOrAliasSchema
357
+ },
358
+ {
359
+ no: 22,
360
+ name: "modelUid",
361
+ kind: "string"
362
+ },
363
+ {
364
+ no: 3,
365
+ name: "creditMultiplier",
366
+ kind: "float"
367
+ },
368
+ {
369
+ no: 13,
370
+ name: "pricingType",
371
+ kind: "enum"
372
+ },
373
+ {
374
+ no: 4,
375
+ name: "disabled",
376
+ kind: "bool"
377
+ },
378
+ {
379
+ no: 5,
380
+ name: "supportsImages",
381
+ kind: "bool"
382
+ },
383
+ {
384
+ no: 6,
385
+ name: "supportsLegacy",
386
+ kind: "bool"
387
+ },
388
+ {
389
+ no: 7,
390
+ name: "isPremium",
391
+ kind: "bool"
392
+ },
393
+ {
394
+ no: 8,
395
+ name: "betaWarningMessage",
396
+ kind: "string"
397
+ },
398
+ {
399
+ no: 9,
400
+ name: "isBeta",
401
+ kind: "bool"
402
+ },
403
+ {
404
+ no: 10,
405
+ name: "provider",
406
+ kind: "enum"
407
+ },
408
+ {
409
+ no: 11,
410
+ name: "isRecommended",
411
+ kind: "bool"
412
+ },
413
+ {
414
+ no: 12,
415
+ name: "allowedTiers",
416
+ kind: "enum",
417
+ repeat: true
418
+ },
419
+ {
420
+ no: 14,
421
+ name: "apiProvider",
422
+ kind: "enum"
423
+ },
424
+ {
425
+ no: 15,
426
+ name: "isNew",
427
+ kind: "bool"
428
+ },
429
+ {
430
+ no: 16,
431
+ name: "partialRollout",
432
+ kind: "bool"
433
+ },
434
+ {
435
+ no: 17,
436
+ name: "rolloutFraction",
437
+ kind: "float"
438
+ },
439
+ {
440
+ no: 18,
441
+ name: "maxTokens",
442
+ kind: "int32"
443
+ },
444
+ {
445
+ no: 19,
446
+ name: "promoStatus",
447
+ kind: "message",
448
+ T: () => PromoStatusSchema
449
+ },
450
+ {
451
+ no: 20,
452
+ name: "isCapacityLimited",
453
+ kind: "bool"
454
+ },
455
+ {
456
+ no: 21,
457
+ name: "fastStatus",
458
+ kind: "message",
459
+ T: () => FastStatusSchema
460
+ },
461
+ {
462
+ no: 23,
463
+ name: "modelInfo",
464
+ kind: "message",
465
+ T: () => ModelInfoSchema
466
+ },
467
+ {
468
+ no: 24,
469
+ name: "modelCostTier",
470
+ kind: "enum"
471
+ },
472
+ {
473
+ no: 27,
474
+ name: "description",
475
+ kind: "string",
476
+ optional: true
477
+ },
478
+ {
479
+ no: 29,
480
+ name: "smartFriendModelUid",
481
+ kind: "string",
482
+ optional: true
483
+ },
484
+ {
485
+ no: 30,
486
+ name: "modelFamilyMetadata",
487
+ kind: "message",
488
+ T: () => ModelFamilyMetadataSchema
489
+ },
490
+ {
491
+ no: 31,
492
+ name: "isDefaultModelInFamily",
493
+ kind: "bool"
494
+ },
495
+ {
496
+ no: 32,
497
+ name: "modelDimensions",
498
+ kind: "message",
499
+ T: () => ModelDimensionSchema,
500
+ repeat: true
501
+ },
502
+ {
503
+ no: 33,
504
+ name: "disabledReason",
505
+ kind: "message",
506
+ T: () => ModelDisabledReasonSchema
507
+ }
508
+ ]);
509
+ const ClientModelGroupSchema = pb("exa.codeium_common_pb.ClientModelGroup", [{
510
+ no: 1,
511
+ name: "groupName",
512
+ kind: "string"
513
+ }, {
514
+ no: 2,
515
+ name: "modelLabels",
516
+ kind: "string",
517
+ repeat: true
518
+ }]);
519
+ const ClientModelSortSchema = pb("exa.codeium_common_pb.ClientModelSort", [
520
+ {
521
+ no: 1,
522
+ name: "name",
523
+ kind: "string"
524
+ },
525
+ {
526
+ no: 2,
527
+ name: "groups",
528
+ kind: "message",
529
+ T: () => ClientModelGroupSchema,
530
+ repeat: true
531
+ },
532
+ {
533
+ no: 3,
534
+ name: "displayMetric",
535
+ kind: "string",
536
+ optional: true
537
+ }
538
+ ]);
539
+ const CompletionConfigurationSchema = pb("exa.codeium_common_pb.CompletionConfiguration", [
540
+ {
541
+ no: 1,
542
+ name: "numCompletions",
543
+ kind: "uint64"
544
+ },
545
+ {
546
+ no: 2,
547
+ name: "maxTokens",
548
+ kind: "uint64"
549
+ },
550
+ {
551
+ no: 3,
552
+ name: "maxNewlines",
553
+ kind: "uint64"
554
+ },
555
+ {
556
+ no: 4,
557
+ name: "minLogProbability",
558
+ kind: "double"
559
+ },
560
+ {
561
+ no: 5,
562
+ name: "temperature",
563
+ kind: "double"
564
+ },
565
+ {
566
+ no: 6,
567
+ name: "firstTemperature",
568
+ kind: "double"
569
+ },
570
+ {
571
+ no: 7,
572
+ name: "topK",
573
+ kind: "uint64"
574
+ },
575
+ {
576
+ no: 8,
577
+ name: "topP",
578
+ kind: "double"
579
+ },
580
+ {
581
+ no: 9,
582
+ name: "stopPatterns",
583
+ kind: "string",
584
+ repeat: true
585
+ },
586
+ {
587
+ no: 10,
588
+ name: "seed",
589
+ kind: "uint64"
590
+ },
591
+ {
592
+ no: 11,
593
+ name: "fimEotProbThreshold",
594
+ kind: "double"
595
+ },
596
+ {
597
+ no: 12,
598
+ name: "useFimEotThreshold",
599
+ kind: "bool"
600
+ },
601
+ {
602
+ no: 13,
603
+ name: "doNotScoreStopTokens",
604
+ kind: "bool"
605
+ },
606
+ {
607
+ no: 14,
608
+ name: "sqrtLenNormalizedLogProbScore",
609
+ kind: "bool"
610
+ },
611
+ {
612
+ no: 15,
613
+ name: "lastMessageIsPartial",
614
+ kind: "bool"
615
+ },
616
+ {
617
+ no: 16,
618
+ name: "returnLogprob",
619
+ kind: "bool"
620
+ },
621
+ {
622
+ no: 17,
623
+ name: "serviceTier",
624
+ kind: "string"
625
+ }
626
+ ]);
627
+ const CompletionProfileSchema = pb("exa.codeium_common_pb.CompletionProfile", [
628
+ {
629
+ no: 1,
630
+ name: "modelProfile",
631
+ kind: "message",
632
+ T: () => SingleModelCompletionProfileSchema
633
+ },
634
+ {
635
+ no: 2,
636
+ name: "draftModelProfile",
637
+ kind: "message",
638
+ T: () => SingleModelCompletionProfileSchema
639
+ },
640
+ {
641
+ no: 3,
642
+ name: "timeToFirstPrefillPass",
643
+ kind: "double"
644
+ },
645
+ {
646
+ no: 4,
647
+ name: "timeToFirstToken",
648
+ kind: "double"
649
+ },
650
+ {
651
+ no: 5,
652
+ name: "totalCompletionTime",
653
+ kind: "double"
654
+ },
655
+ {
656
+ no: 6,
657
+ name: "modelUsage",
658
+ kind: "message",
659
+ T: () => ModelUsageStatsSchema
660
+ }
661
+ ]);
662
+ const ComputerUseToolConfigSchema = pb("exa.chat_pb.ComputerUseToolConfig", [
663
+ {
664
+ no: 1,
665
+ name: "displayWidthPx",
666
+ kind: "int32"
667
+ },
668
+ {
669
+ no: 2,
670
+ name: "displayHeightPx",
671
+ kind: "int32"
672
+ },
673
+ {
674
+ no: 3,
675
+ name: "displayNumber",
676
+ kind: "int32"
677
+ }
678
+ ]);
679
+ const CortexTrajectoryReferenceSchema = pb("exa.cortex_pb.CortexTrajectoryReference", [
680
+ {
681
+ no: 1,
682
+ name: "trajectoryId",
683
+ kind: "string"
684
+ },
685
+ {
686
+ no: 3,
687
+ name: "trajectoryType",
688
+ kind: "enum"
689
+ },
690
+ {
691
+ no: 2,
692
+ name: "stepIndex",
693
+ kind: "int32"
694
+ },
695
+ {
696
+ no: 4,
697
+ name: "stepType",
698
+ kind: "enum"
699
+ },
700
+ {
701
+ no: 5,
702
+ name: "forceBillable",
703
+ kind: "bool"
704
+ }
705
+ ]);
706
+ const DefaultOverrideModelConfigSchema = pb("exa.codeium_common_pb.DefaultOverrideModelConfig", [
707
+ {
708
+ no: 1,
709
+ name: "modelOrAliasDeprecated",
710
+ kind: "message",
711
+ T: () => ModelOrAliasSchema
712
+ },
713
+ {
714
+ no: 3,
715
+ name: "modelUid",
716
+ kind: "string"
717
+ },
718
+ {
719
+ no: 2,
720
+ name: "versionId",
721
+ kind: "string"
722
+ }
723
+ ]);
724
+ const DevinPlanInfoSchema = pb("exa.codeium_common_pb.DevinPlanInfo", [
725
+ {
726
+ no: 1,
727
+ name: "canUseCascade",
728
+ kind: "bool"
729
+ },
730
+ {
731
+ no: 2,
732
+ name: "canUseCli",
733
+ kind: "bool"
734
+ },
735
+ {
736
+ no: 3,
737
+ name: "isAdmin",
738
+ kind: "bool"
739
+ },
740
+ {
741
+ no: 4,
742
+ name: "orgId",
743
+ kind: "string"
744
+ },
745
+ {
746
+ no: 5,
747
+ name: "webappHost",
748
+ kind: "string"
749
+ },
750
+ {
751
+ no: 6,
752
+ name: "devinReviewEnabled",
753
+ kind: "bool",
754
+ optional: true
755
+ },
756
+ {
757
+ no: 7,
758
+ name: "apiUrl",
759
+ kind: "string"
760
+ },
761
+ {
762
+ no: 8,
763
+ name: "accountDisplayName",
764
+ kind: "string"
765
+ }
766
+ ]);
767
+ const ExperimentConfigSchema = pb("exa.codeium_common_pb.ExperimentConfig", [
768
+ {
769
+ no: 6,
770
+ name: "experiments",
771
+ kind: "message",
772
+ T: () => ExperimentWithVariantSchema,
773
+ repeat: true
774
+ },
775
+ {
776
+ no: 1,
777
+ name: "forceEnableExperiments",
778
+ kind: "enum",
779
+ repeat: true
780
+ },
781
+ {
782
+ no: 2,
783
+ name: "forceDisableExperiments",
784
+ kind: "enum",
785
+ repeat: true
786
+ },
787
+ {
788
+ no: 3,
789
+ name: "forceEnableExperimentsWithVariants",
790
+ kind: "message",
791
+ T: () => ExperimentWithVariantSchema,
792
+ repeat: true
793
+ },
794
+ {
795
+ no: 4,
796
+ name: "forceEnableExperimentStrings",
797
+ kind: "string",
798
+ repeat: true
799
+ },
800
+ {
801
+ no: 5,
802
+ name: "forceDisableExperimentStrings",
803
+ kind: "string",
804
+ repeat: true
805
+ },
806
+ {
807
+ no: 7,
808
+ name: "devMode",
809
+ kind: "bool"
810
+ }
811
+ ]);
812
+ const ExperimentWithVariantSchema = pb("exa.codeium_common_pb.ExperimentWithVariant", [
813
+ {
814
+ no: 1,
815
+ name: "key",
816
+ kind: "enum"
817
+ },
818
+ {
819
+ no: 5,
820
+ name: "keyString",
821
+ kind: "string"
822
+ },
823
+ {
824
+ no: 6,
825
+ name: "disabled",
826
+ kind: "bool"
827
+ },
828
+ {
829
+ no: 7,
830
+ name: "source",
831
+ kind: "enum"
832
+ },
833
+ {
834
+ kind: "oneof",
835
+ name: "payload",
836
+ variants: [
837
+ {
838
+ no: 2,
839
+ name: "string",
840
+ kind: "string"
841
+ },
842
+ {
843
+ no: 3,
844
+ name: "json",
845
+ kind: "string"
846
+ },
847
+ {
848
+ no: 4,
849
+ name: "csv",
850
+ kind: "string"
851
+ }
852
+ ]
853
+ }
854
+ ]);
855
+ const FastStatusSchema = pb("exa.codeium_common_pb.FastStatus", [{
856
+ no: 1,
857
+ name: "isActive",
858
+ kind: "bool"
859
+ }, {
860
+ no: 2,
861
+ name: "tooltip",
862
+ kind: "string"
863
+ }]);
864
+ const GetChatMessageRequestSchema = pb("exa.api_server_pb.GetChatMessageRequest", [
865
+ {
866
+ no: 1,
867
+ name: "metadata",
868
+ kind: "message",
869
+ T: () => MetadataSchema
870
+ },
871
+ {
872
+ no: 2,
873
+ name: "prompt",
874
+ kind: "string"
875
+ },
876
+ {
877
+ no: 3,
878
+ name: "chatMessagePrompts",
879
+ kind: "message",
880
+ T: () => ChatMessagePromptSchema,
881
+ repeat: true
882
+ },
883
+ {
884
+ no: 5,
885
+ name: "useInternalChatModel",
886
+ kind: "bool"
887
+ },
888
+ {
889
+ no: 6,
890
+ name: "internalChatModel",
891
+ kind: "enum"
892
+ },
893
+ {
894
+ no: 21,
895
+ name: "chatModelUid",
896
+ kind: "string"
897
+ },
898
+ {
899
+ no: 7,
900
+ name: "requestType",
901
+ kind: "enum"
902
+ },
903
+ {
904
+ no: 8,
905
+ name: "configuration",
906
+ kind: "message",
907
+ T: () => CompletionConfigurationSchema
908
+ },
909
+ {
910
+ no: 9,
911
+ name: "experimentConfig",
912
+ kind: "message",
913
+ T: () => ExperimentConfigSchema
914
+ },
915
+ {
916
+ no: 10,
917
+ name: "tools",
918
+ kind: "message",
919
+ T: () => ChatToolDefinitionSchema,
920
+ repeat: true
921
+ },
922
+ {
923
+ no: 11,
924
+ name: "disableParallelToolCalls",
925
+ kind: "bool"
926
+ },
927
+ {
928
+ no: 12,
929
+ name: "toolChoice",
930
+ kind: "message",
931
+ T: () => ChatToolChoiceSchema
932
+ },
933
+ {
934
+ no: 13,
935
+ name: "systemPromptCacheOptions",
936
+ kind: "message",
937
+ T: () => PromptCacheOptionsSchema
938
+ },
939
+ {
940
+ no: 14,
941
+ name: "chatModelName",
942
+ kind: "string"
943
+ },
944
+ {
945
+ no: 15,
946
+ name: "trajectoryReference",
947
+ kind: "message",
948
+ T: () => CortexTrajectoryReferenceSchema
949
+ },
950
+ {
951
+ no: 16,
952
+ name: "cascadeId",
953
+ kind: "string"
954
+ },
955
+ {
956
+ no: 17,
957
+ name: "promptId",
958
+ kind: "string"
959
+ },
960
+ {
961
+ no: 18,
962
+ name: "providerSource",
963
+ kind: "enum"
964
+ },
965
+ {
966
+ no: 19,
967
+ name: "language",
968
+ kind: "enum"
969
+ },
970
+ {
971
+ no: 20,
972
+ name: "plannerMode",
973
+ kind: "enum"
974
+ },
975
+ {
976
+ no: 22,
977
+ name: "executionId",
978
+ kind: "string"
979
+ },
980
+ {
981
+ no: 24,
982
+ name: "arenaConvergeCount",
983
+ kind: "int32",
984
+ optional: true
985
+ },
986
+ {
987
+ no: 25,
988
+ name: "arenaAssignmentJwt",
989
+ kind: "string",
990
+ optional: true
991
+ },
992
+ {
993
+ no: 26,
994
+ name: "modelAssignmentJwt",
995
+ kind: "string",
996
+ optional: true
997
+ }
998
+ ]);
999
+ const GetChatMessageResponseSchema = pb("exa.api_server_pb.GetChatMessageResponse", [
1000
+ {
1001
+ no: 1,
1002
+ name: "messageId",
1003
+ kind: "string"
1004
+ },
1005
+ {
1006
+ no: 2,
1007
+ name: "timestamp",
1008
+ kind: "message",
1009
+ T: () => TimestampSchema
1010
+ },
1011
+ {
1012
+ no: 3,
1013
+ name: "deltaText",
1014
+ kind: "string"
1015
+ },
1016
+ {
1017
+ no: 4,
1018
+ name: "deltaTokens",
1019
+ kind: "uint32"
1020
+ },
1021
+ {
1022
+ no: 5,
1023
+ name: "stopReason",
1024
+ kind: "enum"
1025
+ },
1026
+ {
1027
+ no: 6,
1028
+ name: "deltaToolCalls",
1029
+ kind: "message",
1030
+ T: () => ChatToolCallSchema,
1031
+ repeat: true
1032
+ },
1033
+ {
1034
+ no: 7,
1035
+ name: "usage",
1036
+ kind: "message",
1037
+ T: () => ModelUsageStatsSchema
1038
+ },
1039
+ {
1040
+ no: 14,
1041
+ name: "creditCost",
1042
+ kind: "int32"
1043
+ },
1044
+ {
1045
+ no: 8,
1046
+ name: "redact",
1047
+ kind: "bool"
1048
+ },
1049
+ {
1050
+ no: 9,
1051
+ name: "deltaThinking",
1052
+ kind: "string"
1053
+ },
1054
+ {
1055
+ no: 10,
1056
+ name: "deltaSignature",
1057
+ kind: "string"
1058
+ },
1059
+ {
1060
+ no: 11,
1061
+ name: "thinkingRedacted",
1062
+ kind: "bool"
1063
+ },
1064
+ {
1065
+ no: 12,
1066
+ name: "latency",
1067
+ kind: "double"
1068
+ },
1069
+ {
1070
+ no: 13,
1071
+ name: "completionProfile",
1072
+ kind: "message",
1073
+ T: () => CompletionProfileSchema
1074
+ },
1075
+ {
1076
+ no: 15,
1077
+ name: "outputId",
1078
+ kind: "string"
1079
+ },
1080
+ {
1081
+ no: 16,
1082
+ name: "thinkingId",
1083
+ kind: "string"
1084
+ },
1085
+ {
1086
+ no: 17,
1087
+ name: "requestId",
1088
+ kind: "string"
1089
+ },
1090
+ {
1091
+ no: 18,
1092
+ name: "committedCreditCost",
1093
+ kind: "int32"
1094
+ },
1095
+ {
1096
+ no: 19,
1097
+ name: "prompt",
1098
+ kind: "string"
1099
+ },
1100
+ {
1101
+ no: 20,
1102
+ name: "geminiThoughtSignature",
1103
+ kind: "bytes"
1104
+ },
1105
+ {
1106
+ no: 21,
1107
+ name: "deltaSignatureType",
1108
+ kind: "string"
1109
+ },
1110
+ {
1111
+ no: 22,
1112
+ name: "committedAcuCost",
1113
+ kind: "double"
1114
+ },
1115
+ {
1116
+ no: 23,
1117
+ name: "actualModelUid",
1118
+ kind: "string",
1119
+ optional: true
1120
+ },
1121
+ {
1122
+ no: 24,
1123
+ name: "arenaInvocationCapReached",
1124
+ kind: "bool"
1125
+ },
1126
+ {
1127
+ no: 25,
1128
+ name: "phase",
1129
+ kind: "string"
1130
+ },
1131
+ {
1132
+ no: 26,
1133
+ name: "committedQuotaCostBasisPoints",
1134
+ kind: "int64",
1135
+ optional: true
1136
+ },
1137
+ {
1138
+ no: 27,
1139
+ name: "committedOverageCostCents",
1140
+ kind: "int64",
1141
+ optional: true
1142
+ },
1143
+ {
1144
+ no: 28,
1145
+ name: "responseDimensionGroups",
1146
+ kind: "message",
1147
+ T: () => ResponseDimensionGroupSchema,
1148
+ repeat: true
1149
+ }
1150
+ ]);
1151
+ const GetCliModelConfigsRequestSchema = pb("exa.api_server_pb.GetCliModelConfigsRequest", [{
1152
+ no: 1,
1153
+ name: "metadata",
1154
+ kind: "message",
1155
+ T: () => MetadataSchema
1156
+ }]);
1157
+ const GetCliModelConfigsResponseSchema = pb("exa.api_server_pb.GetCliModelConfigsResponse", [{
1158
+ no: 1,
1159
+ name: "clientModelConfigs",
1160
+ kind: "message",
1161
+ T: () => ClientModelConfigSchema,
1162
+ repeat: true
1163
+ }, {
1164
+ no: 3,
1165
+ name: "defaultOverrideModelConfig",
1166
+ kind: "message",
1167
+ T: () => DefaultOverrideModelConfigSchema
1168
+ }]);
1169
+ const GetUserJwtRequestSchema = pb("exa.auth_pb.GetUserJwtRequest", [{
1170
+ no: 1,
1171
+ name: "metadata",
1172
+ kind: "message",
1173
+ T: () => MetadataSchema
1174
+ }]);
1175
+ const GetUserJwtResponseSchema = pb("exa.auth_pb.GetUserJwtResponse", [{
1176
+ no: 1,
1177
+ name: "userJwt",
1178
+ kind: "string"
1179
+ }, {
1180
+ no: 2,
1181
+ name: "customApiServerUrl",
1182
+ kind: "string"
1183
+ }]);
1184
+ const GetUserStatusRequestSchema = pb("exa.seat_management_pb.GetUserStatusRequest", [{
1185
+ no: 1,
1186
+ name: "metadata",
1187
+ kind: "message",
1188
+ T: () => MetadataSchema
1189
+ }]);
1190
+ const GetUserStatusResponseSchema = pb("exa.seat_management_pb.GetUserStatusResponse", [{
1191
+ no: 1,
1192
+ name: "userStatus",
1193
+ kind: "message",
1194
+ T: () => UserStatusSchema
1195
+ }, {
1196
+ no: 2,
1197
+ name: "planInfo",
1198
+ kind: "message",
1199
+ T: () => PlanInfoSchema
1200
+ }]);
1201
+ const GoogleInferenceConfigSchema = pb("exa.codeium_common_pb.GoogleInferenceConfig", [{
1202
+ no: 1,
1203
+ name: "reasoningEffort",
1204
+ kind: "string"
1205
+ }]);
1206
+ const ImageDataSchema = pb("exa.codeium_common_pb.ImageData", [
1207
+ {
1208
+ no: 1,
1209
+ name: "base64Data",
1210
+ kind: "string"
1211
+ },
1212
+ {
1213
+ no: 2,
1214
+ name: "mimeType",
1215
+ kind: "string"
1216
+ },
1217
+ {
1218
+ no: 3,
1219
+ name: "caption",
1220
+ kind: "string"
1221
+ }
1222
+ ]);
1223
+ const InferenceConfigSchema = pb("exa.codeium_common_pb.InferenceConfig", [{
1224
+ kind: "oneof",
1225
+ name: "config",
1226
+ variants: [
1227
+ {
1228
+ no: 1,
1229
+ name: "openai",
1230
+ kind: "message",
1231
+ T: () => OpenAIInferenceConfigSchema
1232
+ },
1233
+ {
1234
+ no: 2,
1235
+ name: "google",
1236
+ kind: "message",
1237
+ T: () => GoogleInferenceConfigSchema
1238
+ },
1239
+ {
1240
+ no: 3,
1241
+ name: "anthropic",
1242
+ kind: "message",
1243
+ T: () => AnthropicInferenceConfigSchema
1244
+ }
1245
+ ]
1246
+ }]);
1247
+ const McpLocalServerSchema = pb("exa.codeium_common_pb.McpLocalServer", [
1248
+ {
1249
+ no: 1,
1250
+ name: "command",
1251
+ kind: "string"
1252
+ },
1253
+ {
1254
+ no: 2,
1255
+ name: "args",
1256
+ kind: "string",
1257
+ repeat: true
1258
+ },
1259
+ {
1260
+ no: 3,
1261
+ name: "env",
1262
+ kind: "map",
1263
+ K: "string",
1264
+ V: "string"
1265
+ }
1266
+ ]);
1267
+ const McpRemoteServerSchema = pb("exa.codeium_common_pb.McpRemoteServer", [
1268
+ {
1269
+ no: 1,
1270
+ name: "type",
1271
+ kind: "string"
1272
+ },
1273
+ {
1274
+ no: 2,
1275
+ name: "url",
1276
+ kind: "string"
1277
+ },
1278
+ {
1279
+ no: 3,
1280
+ name: "headers",
1281
+ kind: "map",
1282
+ K: "string",
1283
+ V: "string"
1284
+ }
1285
+ ]);
1286
+ const McpServerConfigSchema = pb("exa.codeium_common_pb.McpServerConfig", [{
1287
+ no: 1,
1288
+ name: "serverId",
1289
+ kind: "string"
1290
+ }, {
1291
+ kind: "oneof",
1292
+ name: "configuration",
1293
+ variants: [{
1294
+ no: 2,
1295
+ name: "local",
1296
+ kind: "message",
1297
+ T: () => McpLocalServerSchema
1298
+ }, {
1299
+ no: 3,
1300
+ name: "remote",
1301
+ kind: "message",
1302
+ T: () => McpRemoteServerSchema
1303
+ }]
1304
+ }]);
1305
+ const MetadataSchema = pb("exa.codeium_common_pb.Metadata", [
1306
+ {
1307
+ no: 1,
1308
+ name: "ideName",
1309
+ kind: "string"
1310
+ },
1311
+ {
1312
+ no: 7,
1313
+ name: "ideVersion",
1314
+ kind: "string"
1315
+ },
1316
+ {
1317
+ no: 28,
1318
+ name: "ideType",
1319
+ kind: "string"
1320
+ },
1321
+ {
1322
+ no: 12,
1323
+ name: "extensionName",
1324
+ kind: "string"
1325
+ },
1326
+ {
1327
+ no: 2,
1328
+ name: "extensionVersion",
1329
+ kind: "string"
1330
+ },
1331
+ {
1332
+ no: 3,
1333
+ name: "apiKey",
1334
+ kind: "string"
1335
+ },
1336
+ {
1337
+ no: 4,
1338
+ name: "locale",
1339
+ kind: "string"
1340
+ },
1341
+ {
1342
+ no: 5,
1343
+ name: "os",
1344
+ kind: "string"
1345
+ },
1346
+ {
1347
+ no: 8,
1348
+ name: "hardware",
1349
+ kind: "string"
1350
+ },
1351
+ {
1352
+ no: 6,
1353
+ name: "disableTelemetry",
1354
+ kind: "bool"
1355
+ },
1356
+ {
1357
+ no: 10,
1358
+ name: "sessionId",
1359
+ kind: "string"
1360
+ },
1361
+ {
1362
+ no: 16,
1363
+ name: "lsTimestamp",
1364
+ kind: "message",
1365
+ T: () => TimestampSchema
1366
+ },
1367
+ {
1368
+ no: 9,
1369
+ name: "requestId",
1370
+ kind: "uint64"
1371
+ },
1372
+ {
1373
+ no: 11,
1374
+ name: "sourceAddress",
1375
+ kind: "string"
1376
+ },
1377
+ {
1378
+ no: 13,
1379
+ name: "userAgent",
1380
+ kind: "string"
1381
+ },
1382
+ {
1383
+ no: 14,
1384
+ name: "url",
1385
+ kind: "string"
1386
+ },
1387
+ {
1388
+ no: 15,
1389
+ name: "authSource",
1390
+ kind: "enum"
1391
+ },
1392
+ {
1393
+ no: 17,
1394
+ name: "extensionPath",
1395
+ kind: "string"
1396
+ },
1397
+ {
1398
+ no: 20,
1399
+ name: "userId",
1400
+ kind: "string"
1401
+ },
1402
+ {
1403
+ no: 21,
1404
+ name: "userJwt",
1405
+ kind: "string"
1406
+ },
1407
+ {
1408
+ no: 22,
1409
+ name: "forceTeamId",
1410
+ kind: "string"
1411
+ },
1412
+ {
1413
+ no: 24,
1414
+ name: "deviceFingerprint",
1415
+ kind: "string"
1416
+ },
1417
+ {
1418
+ no: 25,
1419
+ name: "triggerId",
1420
+ kind: "string"
1421
+ },
1422
+ {
1423
+ no: 26,
1424
+ name: "planName",
1425
+ kind: "string"
1426
+ },
1427
+ {
1428
+ no: 27,
1429
+ name: "id",
1430
+ kind: "string"
1431
+ },
1432
+ {
1433
+ no: 29,
1434
+ name: "impersonateTier",
1435
+ kind: "string"
1436
+ },
1437
+ {
1438
+ no: 30,
1439
+ name: "supportedModelDisplays",
1440
+ kind: "enum",
1441
+ repeat: true
1442
+ },
1443
+ {
1444
+ no: 31,
1445
+ name: "f",
1446
+ kind: "string"
1447
+ },
1448
+ {
1449
+ no: 32,
1450
+ name: "teamId",
1451
+ kind: "string"
1452
+ }
1453
+ ]);
1454
+ const ModelAssignmentSchema = pb("exa.api_server_pb.ModelAssignment", [
1455
+ {
1456
+ no: 1,
1457
+ name: "assignmentJwt",
1458
+ kind: "string"
1459
+ },
1460
+ {
1461
+ no: 2,
1462
+ name: "modelUid",
1463
+ kind: "string"
1464
+ },
1465
+ {
1466
+ no: 3,
1467
+ name: "harnessUids",
1468
+ kind: "string",
1469
+ repeat: true
1470
+ }
1471
+ ]);
1472
+ const ModelDimensionSchema = pb("exa.codeium_common_pb.ModelDimension", [
1473
+ {
1474
+ no: 1,
1475
+ name: "label",
1476
+ kind: "string"
1477
+ },
1478
+ {
1479
+ no: 2,
1480
+ name: "value",
1481
+ kind: "float"
1482
+ },
1483
+ {
1484
+ no: 3,
1485
+ name: "denominator",
1486
+ kind: "string"
1487
+ },
1488
+ {
1489
+ no: 4,
1490
+ name: "minRange",
1491
+ kind: "float"
1492
+ },
1493
+ {
1494
+ no: 5,
1495
+ name: "maxRange",
1496
+ kind: "float"
1497
+ },
1498
+ {
1499
+ no: 6,
1500
+ name: "kind",
1501
+ kind: "enum"
1502
+ },
1503
+ {
1504
+ no: 7,
1505
+ name: "info",
1506
+ kind: "string",
1507
+ optional: true
1508
+ }
1509
+ ]);
1510
+ const ModelDisabledReasonSchema = pb("exa.codeium_common_pb.ModelDisabledReason", [
1511
+ {
1512
+ no: 1,
1513
+ name: "shortReason",
1514
+ kind: "string"
1515
+ },
1516
+ {
1517
+ no: 2,
1518
+ name: "description",
1519
+ kind: "string",
1520
+ optional: true
1521
+ },
1522
+ {
1523
+ no: 3,
1524
+ name: "link",
1525
+ kind: "string",
1526
+ optional: true
1527
+ }
1528
+ ]);
1529
+ const ModelFamilyMetadataSchema = pb("exa.codeium_common_pb.ModelFamilyMetadata", [
1530
+ {
1531
+ no: 1,
1532
+ name: "modelFamilyLabel",
1533
+ kind: "string"
1534
+ },
1535
+ {
1536
+ no: 2,
1537
+ name: "entries",
1538
+ kind: "message",
1539
+ T: () => ModelFamilyMetadataEntrySchema,
1540
+ repeat: true
1541
+ },
1542
+ {
1543
+ no: 3,
1544
+ name: "isDefaultModelInFamily",
1545
+ kind: "bool"
1546
+ }
1547
+ ]);
1548
+ const ModelFamilyMetadataEntrySchema = pb("exa.codeium_common_pb.ModelFamilyMetadataEntry", [{
1549
+ no: 1,
1550
+ name: "key",
1551
+ kind: "string"
1552
+ }, {
1553
+ no: 2,
1554
+ name: "value",
1555
+ kind: "message",
1556
+ T: () => ModelFamilyMetadataValueSchema
1557
+ }]);
1558
+ const ModelFamilyMetadataValueSchema = pb("exa.codeium_common_pb.ModelFamilyMetadataValue", [{
1559
+ no: 1,
1560
+ name: "order",
1561
+ kind: "int32"
1562
+ }, {
1563
+ no: 2,
1564
+ name: "name",
1565
+ kind: "string"
1566
+ }]);
1567
+ const ModelFeaturesSchema = pb("exa.codeium_common_pb.ModelFeatures", [
1568
+ {
1569
+ no: 2,
1570
+ name: "supportsContextTokens",
1571
+ kind: "bool"
1572
+ },
1573
+ {
1574
+ no: 3,
1575
+ name: "requiresInstructTags",
1576
+ kind: "bool"
1577
+ },
1578
+ {
1579
+ no: 4,
1580
+ name: "requiresFimContext",
1581
+ kind: "bool"
1582
+ },
1583
+ {
1584
+ no: 5,
1585
+ name: "requiresContextSnippetPrefix",
1586
+ kind: "bool"
1587
+ },
1588
+ {
1589
+ no: 6,
1590
+ name: "requiresContextRelevanceTags",
1591
+ kind: "bool"
1592
+ },
1593
+ {
1594
+ no: 7,
1595
+ name: "requiresLlama3Tokens",
1596
+ kind: "bool"
1597
+ },
1598
+ {
1599
+ no: 8,
1600
+ name: "zeroShotCapable",
1601
+ kind: "bool"
1602
+ },
1603
+ {
1604
+ no: 9,
1605
+ name: "requiresAutocompleteAsCommand",
1606
+ kind: "bool"
1607
+ },
1608
+ {
1609
+ no: 10,
1610
+ name: "supportsCursorAwareSupercomplete",
1611
+ kind: "bool"
1612
+ },
1613
+ {
1614
+ no: 11,
1615
+ name: "supportsImages",
1616
+ kind: "bool"
1617
+ },
1618
+ {
1619
+ no: 20,
1620
+ name: "supportsImageCaptions",
1621
+ kind: "bool"
1622
+ },
1623
+ {
1624
+ no: 12,
1625
+ name: "supportsToolCalls",
1626
+ kind: "bool"
1627
+ },
1628
+ {
1629
+ no: 21,
1630
+ name: "supportsParallelToolCalls",
1631
+ kind: "bool"
1632
+ },
1633
+ {
1634
+ no: 13,
1635
+ name: "supportsCumulativeContext",
1636
+ kind: "bool"
1637
+ },
1638
+ {
1639
+ no: 14,
1640
+ name: "tabJumpPrintLineRange",
1641
+ kind: "bool"
1642
+ },
1643
+ {
1644
+ no: 15,
1645
+ name: "supportsThinking",
1646
+ kind: "bool"
1647
+ },
1648
+ {
1649
+ no: 24,
1650
+ name: "interleaveThinking",
1651
+ kind: "bool"
1652
+ },
1653
+ {
1654
+ no: 25,
1655
+ name: "preserveThinking",
1656
+ kind: "bool"
1657
+ },
1658
+ {
1659
+ no: 17,
1660
+ name: "supportsEstimateTokenCounter",
1661
+ kind: "bool"
1662
+ },
1663
+ {
1664
+ no: 18,
1665
+ name: "addCursorToFindReplaceTarget",
1666
+ kind: "bool"
1667
+ },
1668
+ {
1669
+ no: 19,
1670
+ name: "supportsTabJumpUseWholeDocument",
1671
+ kind: "bool"
1672
+ },
1673
+ {
1674
+ no: 22,
1675
+ name: "requiresSupercompleteClean",
1676
+ kind: "bool"
1677
+ },
1678
+ {
1679
+ no: 23,
1680
+ name: "tabRouteToModal",
1681
+ kind: "bool"
1682
+ },
1683
+ {
1684
+ no: 26,
1685
+ name: "supportsRejectionContext",
1686
+ kind: "bool"
1687
+ }
1688
+ ]);
1689
+ const ModelInfoSchema = pb("exa.codeium_common_pb.ModelInfo", [
1690
+ {
1691
+ no: 1,
1692
+ name: "modelId",
1693
+ kind: "enum"
1694
+ },
1695
+ {
1696
+ no: 17,
1697
+ name: "modelUid",
1698
+ kind: "string"
1699
+ },
1700
+ {
1701
+ no: 2,
1702
+ name: "isInternal",
1703
+ kind: "bool"
1704
+ },
1705
+ {
1706
+ no: 3,
1707
+ name: "modelType",
1708
+ kind: "enum"
1709
+ },
1710
+ {
1711
+ no: 4,
1712
+ name: "maxTokens",
1713
+ kind: "int32"
1714
+ },
1715
+ {
1716
+ no: 5,
1717
+ name: "tokenizerType",
1718
+ kind: "string"
1719
+ },
1720
+ {
1721
+ no: 6,
1722
+ name: "modelFeatures",
1723
+ kind: "message",
1724
+ T: () => ModelFeaturesSchema
1725
+ },
1726
+ {
1727
+ no: 7,
1728
+ name: "apiProvider",
1729
+ kind: "enum"
1730
+ },
1731
+ {
1732
+ no: 8,
1733
+ name: "modelName",
1734
+ kind: "string"
1735
+ },
1736
+ {
1737
+ no: 9,
1738
+ name: "supportsContext",
1739
+ kind: "bool"
1740
+ },
1741
+ {
1742
+ no: 10,
1743
+ name: "embedDim",
1744
+ kind: "int32"
1745
+ },
1746
+ {
1747
+ no: 11,
1748
+ name: "baseUrl",
1749
+ kind: "string"
1750
+ },
1751
+ {
1752
+ no: 12,
1753
+ name: "chatModelName",
1754
+ kind: "string"
1755
+ },
1756
+ {
1757
+ no: 13,
1758
+ name: "maxOutputTokens",
1759
+ kind: "int32"
1760
+ },
1761
+ {
1762
+ no: 14,
1763
+ name: "promptTemplaterType",
1764
+ kind: "enum"
1765
+ },
1766
+ {
1767
+ no: 15,
1768
+ name: "toolFormatterType",
1769
+ kind: "enum"
1770
+ },
1771
+ {
1772
+ no: 18,
1773
+ name: "inferenceServerUrl",
1774
+ kind: "string"
1775
+ },
1776
+ {
1777
+ no: 20,
1778
+ name: "harnessUids",
1779
+ kind: "string",
1780
+ repeat: true
1781
+ },
1782
+ {
1783
+ no: 21,
1784
+ name: "arenaConfig",
1785
+ kind: "message",
1786
+ T: () => ArenaConfigSchema
1787
+ },
1788
+ {
1789
+ no: 22,
1790
+ name: "displayOption",
1791
+ kind: "enum"
1792
+ },
1793
+ {
1794
+ no: 23,
1795
+ name: "modelFamilyUid",
1796
+ kind: "string"
1797
+ },
1798
+ {
1799
+ no: 24,
1800
+ name: "inferenceConfig",
1801
+ kind: "message",
1802
+ T: () => InferenceConfigSchema
1803
+ },
1804
+ {
1805
+ no: 25,
1806
+ name: "isModelRouter",
1807
+ kind: "bool"
1808
+ }
1809
+ ]);
1810
+ const ModelOrAliasSchema = pb("exa.codeium_common_pb.ModelOrAlias", [{
1811
+ kind: "oneof",
1812
+ name: "choice",
1813
+ variants: [
1814
+ {
1815
+ no: 1,
1816
+ name: "model",
1817
+ kind: "enum"
1818
+ },
1819
+ {
1820
+ no: 2,
1821
+ name: "alias",
1822
+ kind: "enum"
1823
+ },
1824
+ {
1825
+ no: 3,
1826
+ name: "modelUid",
1827
+ kind: "string"
1828
+ }
1829
+ ]
1830
+ }]);
1831
+ const ModelUsageStatsSchema = pb("exa.codeium_common_pb.ModelUsageStats", [
1832
+ {
1833
+ no: 1,
1834
+ name: "modelDeprecated",
1835
+ kind: "enum"
1836
+ },
1837
+ {
1838
+ no: 9,
1839
+ name: "modelUid",
1840
+ kind: "string"
1841
+ },
1842
+ {
1843
+ no: 10,
1844
+ name: "billingModelUid",
1845
+ kind: "string"
1846
+ },
1847
+ {
1848
+ no: 11,
1849
+ name: "requestedModelUid",
1850
+ kind: "string"
1851
+ },
1852
+ {
1853
+ no: 2,
1854
+ name: "inputTokens",
1855
+ kind: "uint64"
1856
+ },
1857
+ {
1858
+ no: 3,
1859
+ name: "outputTokens",
1860
+ kind: "uint64"
1861
+ },
1862
+ {
1863
+ no: 4,
1864
+ name: "cacheWriteTokens",
1865
+ kind: "uint64"
1866
+ },
1867
+ {
1868
+ no: 5,
1869
+ name: "cacheReadTokens",
1870
+ kind: "uint64"
1871
+ },
1872
+ {
1873
+ no: 6,
1874
+ name: "apiProvider",
1875
+ kind: "enum"
1876
+ },
1877
+ {
1878
+ no: 7,
1879
+ name: "messageId",
1880
+ kind: "string"
1881
+ },
1882
+ {
1883
+ no: 8,
1884
+ name: "responseHeader",
1885
+ kind: "map",
1886
+ K: "string",
1887
+ V: "string"
1888
+ }
1889
+ ]);
1890
+ const OpenAIInferenceConfigSchema = pb("exa.codeium_common_pb.OpenAIInferenceConfig", [
1891
+ {
1892
+ no: 1,
1893
+ name: "reasoningEffort",
1894
+ kind: "string"
1895
+ },
1896
+ {
1897
+ no: 2,
1898
+ name: "serviceTier",
1899
+ kind: "string"
1900
+ },
1901
+ {
1902
+ no: 3,
1903
+ name: "extendedPromptCacheRetention",
1904
+ kind: "bool"
1905
+ }
1906
+ ]);
1907
+ const PlanInfoSchema = pb("exa.codeium_common_pb.PlanInfo", [
1908
+ {
1909
+ no: 1,
1910
+ name: "teamsTier",
1911
+ kind: "enum"
1912
+ },
1913
+ {
1914
+ no: 2,
1915
+ name: "planName",
1916
+ kind: "string"
1917
+ },
1918
+ {
1919
+ no: 3,
1920
+ name: "hasAutocompleteFastMode",
1921
+ kind: "bool"
1922
+ },
1923
+ {
1924
+ no: 4,
1925
+ name: "allowStickyPremiumModels",
1926
+ kind: "bool"
1927
+ },
1928
+ {
1929
+ no: 5,
1930
+ name: "hasForgeAccess",
1931
+ kind: "bool"
1932
+ },
1933
+ {
1934
+ no: 11,
1935
+ name: "disableCodeSnippetTelemetry",
1936
+ kind: "bool"
1937
+ },
1938
+ {
1939
+ no: 15,
1940
+ name: "allowPremiumCommandModels",
1941
+ kind: "bool"
1942
+ },
1943
+ {
1944
+ no: 23,
1945
+ name: "hasTabToJump",
1946
+ kind: "bool"
1947
+ },
1948
+ {
1949
+ no: 6,
1950
+ name: "maxNumPremiumChatMessages",
1951
+ kind: "int64"
1952
+ },
1953
+ {
1954
+ no: 7,
1955
+ name: "maxNumChatInputTokens",
1956
+ kind: "int64"
1957
+ },
1958
+ {
1959
+ no: 8,
1960
+ name: "maxCustomChatInstructionCharacters",
1961
+ kind: "int64"
1962
+ },
1963
+ {
1964
+ no: 9,
1965
+ name: "maxNumPinnedContextItems",
1966
+ kind: "int64"
1967
+ },
1968
+ {
1969
+ no: 10,
1970
+ name: "maxLocalIndexSize",
1971
+ kind: "int64"
1972
+ },
1973
+ {
1974
+ no: 26,
1975
+ name: "maxUnclaimedSites",
1976
+ kind: "int32"
1977
+ },
1978
+ {
1979
+ no: 12,
1980
+ name: "monthlyPromptCredits",
1981
+ kind: "int32"
1982
+ },
1983
+ {
1984
+ no: 13,
1985
+ name: "monthlyFlowCredits",
1986
+ kind: "int32"
1987
+ },
1988
+ {
1989
+ no: 14,
1990
+ name: "monthlyFlexCreditPurchaseAmount",
1991
+ kind: "int32"
1992
+ },
1993
+ {
1994
+ no: 17,
1995
+ name: "isTeams",
1996
+ kind: "bool"
1997
+ },
1998
+ {
1999
+ no: 16,
2000
+ name: "isEnterprise",
2001
+ kind: "bool"
2002
+ },
2003
+ {
2004
+ no: 32,
2005
+ name: "hasPaidFeatures",
2006
+ kind: "bool"
2007
+ },
2008
+ {
2009
+ no: 18,
2010
+ name: "canBuyMoreCredits",
2011
+ kind: "bool"
2012
+ },
2013
+ {
2014
+ no: 19,
2015
+ name: "cascadeWebSearchEnabled",
2016
+ kind: "bool"
2017
+ },
2018
+ {
2019
+ no: 20,
2020
+ name: "canCustomizeAppIcon",
2021
+ kind: "bool"
2022
+ },
2023
+ {
2024
+ no: 22,
2025
+ name: "cascadeCanAutoRunCommands",
2026
+ kind: "bool"
2027
+ },
2028
+ {
2029
+ no: 25,
2030
+ name: "canGenerateCommitMessages",
2031
+ kind: "bool"
2032
+ },
2033
+ {
2034
+ no: 27,
2035
+ name: "knowledgeBaseEnabled",
2036
+ kind: "bool"
2037
+ },
2038
+ {
2039
+ no: 21,
2040
+ name: "cascadeAllowedModelsConfig",
2041
+ kind: "message",
2042
+ T: () => AllowedModelConfigSchema,
2043
+ repeat: true
2044
+ },
2045
+ {
2046
+ no: 24,
2047
+ name: "defaultTeamConfig",
2048
+ kind: "message",
2049
+ T: () => TeamConfigSchema
2050
+ },
2051
+ {
2052
+ no: 28,
2053
+ name: "canShareConversations",
2054
+ kind: "bool"
2055
+ },
2056
+ {
2057
+ no: 29,
2058
+ name: "canAllowCascadeInBackground",
2059
+ kind: "bool"
2060
+ },
2061
+ {
2062
+ no: 30,
2063
+ name: "defaultTeamFeatures",
2064
+ kind: "map",
2065
+ K: "string",
2066
+ V: () => TeamsFeaturesMetadataSchema
2067
+ },
2068
+ {
2069
+ no: 31,
2070
+ name: "browserEnabled",
2071
+ kind: "bool"
2072
+ },
2073
+ {
2074
+ no: 33,
2075
+ name: "devinInfo",
2076
+ kind: "message",
2077
+ T: () => DevinPlanInfoSchema
2078
+ },
2079
+ {
2080
+ no: 34,
2081
+ name: "isDevin",
2082
+ kind: "bool"
2083
+ },
2084
+ {
2085
+ no: 35,
2086
+ name: "billingStrategy",
2087
+ kind: "enum"
2088
+ },
2089
+ {
2090
+ no: 36,
2091
+ name: "hideDailyQuota",
2092
+ kind: "bool"
2093
+ },
2094
+ {
2095
+ no: 37,
2096
+ name: "hideWeeklyQuota",
2097
+ kind: "bool"
2098
+ }
2099
+ ]);
2100
+ const PlanStatusSchema = pb("exa.codeium_common_pb.PlanStatus", [
2101
+ {
2102
+ no: 1,
2103
+ name: "planInfo",
2104
+ kind: "message",
2105
+ T: () => PlanInfoSchema
2106
+ },
2107
+ {
2108
+ no: 2,
2109
+ name: "planStart",
2110
+ kind: "message",
2111
+ T: () => TimestampSchema
2112
+ },
2113
+ {
2114
+ no: 3,
2115
+ name: "planEnd",
2116
+ kind: "message",
2117
+ T: () => TimestampSchema
2118
+ },
2119
+ {
2120
+ no: 8,
2121
+ name: "availablePromptCredits",
2122
+ kind: "int32"
2123
+ },
2124
+ {
2125
+ no: 9,
2126
+ name: "availableFlowCredits",
2127
+ kind: "int32"
2128
+ },
2129
+ {
2130
+ no: 4,
2131
+ name: "availableFlexCredits",
2132
+ kind: "int32"
2133
+ },
2134
+ {
2135
+ no: 7,
2136
+ name: "usedFlexCredits",
2137
+ kind: "int32"
2138
+ },
2139
+ {
2140
+ no: 5,
2141
+ name: "usedFlowCredits",
2142
+ kind: "int32"
2143
+ },
2144
+ {
2145
+ no: 6,
2146
+ name: "usedPromptCredits",
2147
+ kind: "int32"
2148
+ },
2149
+ {
2150
+ no: 10,
2151
+ name: "topUpStatus",
2152
+ kind: "message",
2153
+ T: () => TopUpStatusSchema
2154
+ },
2155
+ {
2156
+ no: 11,
2157
+ name: "wasReducedByOrphanedUsage",
2158
+ kind: "bool"
2159
+ },
2160
+ {
2161
+ no: 12,
2162
+ name: "gracePeriodStatus",
2163
+ kind: "enum"
2164
+ },
2165
+ {
2166
+ no: 13,
2167
+ name: "gracePeriodEnd",
2168
+ kind: "message",
2169
+ T: () => TimestampSchema
2170
+ },
2171
+ {
2172
+ no: 14,
2173
+ name: "dailyQuotaRemainingPercent",
2174
+ kind: "int32"
2175
+ },
2176
+ {
2177
+ no: 15,
2178
+ name: "weeklyQuotaRemainingPercent",
2179
+ kind: "int32"
2180
+ },
2181
+ {
2182
+ no: 16,
2183
+ name: "overageBalanceMicros",
2184
+ kind: "int64"
2185
+ },
2186
+ {
2187
+ no: 17,
2188
+ name: "dailyQuotaResetAtUnix",
2189
+ kind: "int64"
2190
+ },
2191
+ {
2192
+ no: 18,
2193
+ name: "weeklyQuotaResetAtUnix",
2194
+ kind: "int64"
2195
+ }
2196
+ ]);
2197
+ const PromoStatusSchema = pb("exa.codeium_common_pb.PromoStatus", [
2198
+ {
2199
+ no: 1,
2200
+ name: "isActive",
2201
+ kind: "bool"
2202
+ },
2203
+ {
2204
+ no: 2,
2205
+ name: "endDate",
2206
+ kind: "message",
2207
+ T: () => TimestampSchema
2208
+ },
2209
+ {
2210
+ no: 3,
2211
+ name: "label",
2212
+ kind: "string"
2213
+ }
2214
+ ]);
2215
+ const PromptAnnotationRangeSchema = pb("exa.codeium_common_pb.PromptAnnotationRange", [
2216
+ {
2217
+ no: 1,
2218
+ name: "kind",
2219
+ kind: "enum"
2220
+ },
2221
+ {
2222
+ no: 2,
2223
+ name: "byteOffsetStart",
2224
+ kind: "uint64"
2225
+ },
2226
+ {
2227
+ no: 3,
2228
+ name: "byteOffsetEnd",
2229
+ kind: "uint64"
2230
+ },
2231
+ {
2232
+ no: 4,
2233
+ name: "suffix",
2234
+ kind: "string"
2235
+ }
2236
+ ]);
2237
+ const PromptCacheOptionsSchema = pb("exa.chat_pb.PromptCacheOptions", [{
2238
+ no: 1,
2239
+ name: "type",
2240
+ kind: "enum"
2241
+ }]);
2242
+ const ResponseDimensionSchema = pb("exa.codeium_common_pb.ResponseDimension", [{
2243
+ no: 5,
2244
+ name: "uid",
2245
+ kind: "string"
2246
+ }, {
2247
+ kind: "oneof",
2248
+ name: "dimension",
2249
+ variants: [
2250
+ {
2251
+ no: 2,
2252
+ name: "copyableCode",
2253
+ kind: "message",
2254
+ T: () => ResponseDimensionCopyableCodeSchema
2255
+ },
2256
+ {
2257
+ no: 3,
2258
+ name: "metric",
2259
+ kind: "message",
2260
+ T: () => ResponseDimensionMetricSchema
2261
+ },
2262
+ {
2263
+ no: 4,
2264
+ name: "cumulativeMetric",
2265
+ kind: "message",
2266
+ T: () => ResponseDimensionCumulativeMetricSchema
2267
+ }
2268
+ ]
2269
+ }]);
2270
+ const ResponseDimensionCopyableCodeSchema = pb("exa.codeium_common_pb.ResponseDimensionCopyableCode", [{
2271
+ no: 1,
2272
+ name: "label",
2273
+ kind: "string"
2274
+ }, {
2275
+ no: 2,
2276
+ name: "value",
2277
+ kind: "string"
2278
+ }]);
2279
+ const ResponseDimensionCumulativeMetricSchema = pb("exa.codeium_common_pb.ResponseDimensionCumulativeMetric", [
2280
+ {
2281
+ no: 1,
2282
+ name: "label",
2283
+ kind: "string"
2284
+ },
2285
+ {
2286
+ no: 2,
2287
+ name: "value",
2288
+ kind: "float"
2289
+ },
2290
+ {
2291
+ no: 3,
2292
+ name: "tail",
2293
+ kind: "string"
2294
+ },
2295
+ {
2296
+ no: 4,
2297
+ name: "pluralTail",
2298
+ kind: "string"
2299
+ },
2300
+ {
2301
+ no: 5,
2302
+ name: "prefix",
2303
+ kind: "string"
2304
+ }
2305
+ ]);
2306
+ const ResponseDimensionGroupSchema = pb("exa.codeium_common_pb.ResponseDimensionGroup", [{
2307
+ no: 1,
2308
+ name: "title",
2309
+ kind: "string"
2310
+ }, {
2311
+ no: 2,
2312
+ name: "dimensions",
2313
+ kind: "message",
2314
+ T: () => ResponseDimensionSchema,
2315
+ repeat: true
2316
+ }]);
2317
+ const ResponseDimensionMetricSchema = pb("exa.codeium_common_pb.ResponseDimensionMetric", [{
2318
+ no: 1,
2319
+ name: "label",
2320
+ kind: "string"
2321
+ }, {
2322
+ no: 2,
2323
+ name: "value",
2324
+ kind: "string"
2325
+ }]);
2326
+ const SingleModelCompletionProfileSchema = pb("exa.codeium_common_pb.SingleModelCompletionProfile", [
2327
+ {
2328
+ no: 1,
2329
+ name: "totalPrefillPassTime",
2330
+ kind: "double"
2331
+ },
2332
+ {
2333
+ no: 2,
2334
+ name: "avgPrefillPassTime",
2335
+ kind: "double"
2336
+ },
2337
+ {
2338
+ no: 3,
2339
+ name: "numPrefillPasses",
2340
+ kind: "uint64"
2341
+ },
2342
+ {
2343
+ no: 7,
2344
+ name: "totalSpecCopyPassTime",
2345
+ kind: "double"
2346
+ },
2347
+ {
2348
+ no: 8,
2349
+ name: "avgSpecCopyPassTime",
2350
+ kind: "double"
2351
+ },
2352
+ {
2353
+ no: 9,
2354
+ name: "numSpecCopyPasses",
2355
+ kind: "uint64"
2356
+ },
2357
+ {
2358
+ no: 4,
2359
+ name: "totalGenerationPassTime",
2360
+ kind: "double"
2361
+ },
2362
+ {
2363
+ no: 5,
2364
+ name: "avgGenerationPassTime",
2365
+ kind: "double"
2366
+ },
2367
+ {
2368
+ no: 6,
2369
+ name: "numGenerationPasses",
2370
+ kind: "uint64"
2371
+ },
2372
+ {
2373
+ no: 10,
2374
+ name: "totalModelTime",
2375
+ kind: "double"
2376
+ }
2377
+ ]);
2378
+ const TeamConfigSchema = pb("exa.codeium_common_pb.TeamConfig", [
2379
+ {
2380
+ no: 1,
2381
+ name: "teamId",
2382
+ kind: "string"
2383
+ },
2384
+ {
2385
+ no: 2,
2386
+ name: "userPromptCreditCap",
2387
+ kind: "int32"
2388
+ },
2389
+ {
2390
+ no: 3,
2391
+ name: "userFlowCreditCap",
2392
+ kind: "int32"
2393
+ },
2394
+ {
2395
+ no: 4,
2396
+ name: "autoProvisionCascadeSeat",
2397
+ kind: "bool"
2398
+ },
2399
+ {
2400
+ no: 5,
2401
+ name: "allowMcpServers",
2402
+ kind: "bool"
2403
+ },
2404
+ {
2405
+ no: 7,
2406
+ name: "allowAutoRunCommands",
2407
+ kind: "bool"
2408
+ },
2409
+ {
2410
+ no: 9,
2411
+ name: "maxUnclaimedSites",
2412
+ kind: "int32"
2413
+ },
2414
+ {
2415
+ no: 10,
2416
+ name: "allowAppDeployments",
2417
+ kind: "bool"
2418
+ },
2419
+ {
2420
+ no: 19,
2421
+ name: "allowSandboxAppDeployments",
2422
+ kind: "bool"
2423
+ },
2424
+ {
2425
+ no: 20,
2426
+ name: "allowTeamsAppDeployments",
2427
+ kind: "bool"
2428
+ },
2429
+ {
2430
+ no: 11,
2431
+ name: "maxNewSitesPerDay",
2432
+ kind: "int32"
2433
+ },
2434
+ {
2435
+ no: 12,
2436
+ name: "allowGithubReviews",
2437
+ kind: "bool"
2438
+ },
2439
+ {
2440
+ no: 13,
2441
+ name: "allowGithubDescriptionEdits",
2442
+ kind: "bool"
2443
+ },
2444
+ {
2445
+ no: 14,
2446
+ name: "pullRequestReviewGuidelines",
2447
+ kind: "string"
2448
+ },
2449
+ {
2450
+ no: 16,
2451
+ name: "pullRequestDescriptionGuidelines",
2452
+ kind: "string"
2453
+ },
2454
+ {
2455
+ no: 15,
2456
+ name: "disableToolCalls",
2457
+ kind: "bool"
2458
+ },
2459
+ {
2460
+ no: 17,
2461
+ name: "allowIndividualLevelAnalytics",
2462
+ kind: "bool"
2463
+ },
2464
+ {
2465
+ no: 18,
2466
+ name: "allowConversationSharing",
2467
+ kind: "bool",
2468
+ optional: true
2469
+ },
2470
+ {
2471
+ no: 21,
2472
+ name: "pullRequestReviewRateLimit",
2473
+ kind: "int32",
2474
+ optional: true
2475
+ },
2476
+ {
2477
+ no: 22,
2478
+ name: "allowAttribution",
2479
+ kind: "bool"
2480
+ },
2481
+ {
2482
+ no: 23,
2483
+ name: "allowedMcpServers",
2484
+ kind: "message",
2485
+ T: () => McpServerConfigSchema,
2486
+ repeat: true
2487
+ },
2488
+ {
2489
+ no: 24,
2490
+ name: "allowGithubAutoReviews",
2491
+ kind: "bool"
2492
+ },
2493
+ {
2494
+ no: 25,
2495
+ name: "allowBrowserExperimentalFeatures",
2496
+ kind: "bool"
2497
+ },
2498
+ {
2499
+ no: 26,
2500
+ name: "disableToolCallExecutionOutsideWorkspace",
2501
+ kind: "bool"
2502
+ },
2503
+ {
2504
+ no: 27,
2505
+ name: "allowVibeAndReplace",
2506
+ kind: "bool"
2507
+ },
2508
+ {
2509
+ no: 28,
2510
+ name: "disableDeepwiki",
2511
+ kind: "bool"
2512
+ },
2513
+ {
2514
+ no: 30,
2515
+ name: "userAddOnCreditCap",
2516
+ kind: "int32"
2517
+ },
2518
+ {
2519
+ no: 31,
2520
+ name: "disableCodemaps",
2521
+ kind: "bool"
2522
+ },
2523
+ {
2524
+ no: 32,
2525
+ name: "allowCodemapSharing",
2526
+ kind: "string"
2527
+ },
2528
+ {
2529
+ no: 33,
2530
+ name: "disableFastContext",
2531
+ kind: "bool"
2532
+ },
2533
+ {
2534
+ no: 34,
2535
+ name: "disableLifeguard",
2536
+ kind: "bool"
2537
+ },
2538
+ {
2539
+ no: 35,
2540
+ name: "allowedIpRanges",
2541
+ kind: "string",
2542
+ repeat: true
2543
+ },
2544
+ {
2545
+ no: 37,
2546
+ name: "maxCascadeAutoExecutionLevel",
2547
+ kind: "enum"
2548
+ },
2549
+ {
2550
+ no: 38,
2551
+ name: "cascadeWebSearchEnabled",
2552
+ kind: "bool",
2553
+ optional: true
2554
+ },
2555
+ {
2556
+ no: 39,
2557
+ name: "terminalAllowList",
2558
+ kind: "string",
2559
+ repeat: true
2560
+ },
2561
+ {
2562
+ no: 40,
2563
+ name: "terminalDenyList",
2564
+ kind: "string",
2565
+ repeat: true
2566
+ },
2567
+ {
2568
+ no: 41,
2569
+ name: "cliPermissionsAllow",
2570
+ kind: "string",
2571
+ repeat: true
2572
+ },
2573
+ {
2574
+ no: 42,
2575
+ name: "cliPermissionsDeny",
2576
+ kind: "string",
2577
+ repeat: true
2578
+ },
2579
+ {
2580
+ no: 43,
2581
+ name: "cliPermissionsAsk",
2582
+ kind: "string",
2583
+ repeat: true
2584
+ },
2585
+ {
2586
+ no: 44,
2587
+ name: "defaultModelUid",
2588
+ kind: "string"
2589
+ },
2590
+ {
2591
+ no: 45,
2592
+ name: "allowArenaMode",
2593
+ kind: "bool"
2594
+ },
2595
+ {
2596
+ no: 46,
2597
+ name: "cascadeHooksJson",
2598
+ kind: "string"
2599
+ },
2600
+ {
2601
+ no: 47,
2602
+ name: "allowBundlingDevinCli",
2603
+ kind: "bool"
2604
+ },
2605
+ {
2606
+ no: 49,
2607
+ name: "mcpRegistryUrls",
2608
+ kind: "string",
2609
+ repeat: true
2610
+ },
2611
+ {
2612
+ no: 60,
2613
+ name: "enforceMcpRegistry",
2614
+ kind: "bool"
2615
+ },
2616
+ {
2617
+ no: 50,
2618
+ name: "cliDefaultDisabled",
2619
+ kind: "bool"
2620
+ },
2621
+ {
2622
+ no: 51,
2623
+ name: "acpRegistryConfig",
2624
+ kind: "string"
2625
+ },
2626
+ {
2627
+ no: 55,
2628
+ name: "sandboxEnforcementMode",
2629
+ kind: "enum"
2630
+ },
2631
+ {
2632
+ no: 56,
2633
+ name: "sandboxAllowedDomains",
2634
+ kind: "string",
2635
+ repeat: true
2636
+ },
2637
+ {
2638
+ no: 57,
2639
+ name: "sandboxDeniedDomains",
2640
+ kind: "string",
2641
+ repeat: true
2642
+ },
2643
+ {
2644
+ no: 58,
2645
+ name: "devinTerminalAcpEnabled",
2646
+ kind: "bool"
2647
+ },
2648
+ {
2649
+ no: 59,
2650
+ name: "devinCloudAcpEnabled",
2651
+ kind: "bool"
2652
+ },
2653
+ {
2654
+ no: 61,
2655
+ name: "userConfiguredBannerEnabled",
2656
+ kind: "bool"
2657
+ },
2658
+ {
2659
+ no: 62,
2660
+ name: "userConfiguredBannerLabel",
2661
+ kind: "string"
2662
+ },
2663
+ {
2664
+ no: 63,
2665
+ name: "userConfiguredBannerColor",
2666
+ kind: "string"
2667
+ },
2668
+ {
2669
+ no: 64,
2670
+ name: "disableCascade",
2671
+ kind: "bool"
2672
+ },
2673
+ {
2674
+ no: 65,
2675
+ name: "extensionPolicy",
2676
+ kind: "string"
2677
+ },
2678
+ {
2679
+ no: 66,
2680
+ name: "apiKeyExpirationDays",
2681
+ kind: "int32",
2682
+ optional: true
2683
+ },
2684
+ {
2685
+ no: 67,
2686
+ name: "disablePlugins",
2687
+ kind: "bool"
2688
+ }
2689
+ ]);
2690
+ const TeamsFeaturesMetadataSchema = pb("exa.codeium_common_pb.TeamsFeaturesMetadata", [
2691
+ {
2692
+ no: 1,
2693
+ name: "isActive",
2694
+ kind: "bool"
2695
+ },
2696
+ {
2697
+ no: 2,
2698
+ name: "stripeSubscriptionId",
2699
+ kind: "string"
2700
+ },
2701
+ {
2702
+ no: 3,
2703
+ name: "hasAccess",
2704
+ kind: "bool"
2705
+ }
2706
+ ]);
2707
+ const TimestampSchema = pb("google.protobuf.Timestamp", [{
2708
+ no: 1,
2709
+ name: "seconds",
2710
+ kind: "int64"
2711
+ }, {
2712
+ no: 2,
2713
+ name: "nanos",
2714
+ kind: "int32"
2715
+ }]);
2716
+ const TopUpStatusSchema = pb("exa.codeium_common_pb.TopUpStatus", [
2717
+ {
2718
+ no: 1,
2719
+ name: "topUpTransactionStatus",
2720
+ kind: "enum"
2721
+ },
2722
+ {
2723
+ no: 2,
2724
+ name: "topUpEnabled",
2725
+ kind: "bool"
2726
+ },
2727
+ {
2728
+ no: 3,
2729
+ name: "monthlyTopUpAmount",
2730
+ kind: "int32"
2731
+ },
2732
+ {
2733
+ no: 4,
2734
+ name: "topUpSpent",
2735
+ kind: "int32"
2736
+ },
2737
+ {
2738
+ no: 5,
2739
+ name: "topUpIncrement",
2740
+ kind: "int32"
2741
+ },
2742
+ {
2743
+ no: 6,
2744
+ name: "topUpCriteriaMet",
2745
+ kind: "bool"
2746
+ }
2747
+ ]);
2748
+ const UserStatusSchema = pb("exa.codeium_common_pb.UserStatus", [
2749
+ {
2750
+ no: 1,
2751
+ name: "pro",
2752
+ kind: "bool"
2753
+ },
2754
+ {
2755
+ no: 2,
2756
+ name: "disableTelemetry",
2757
+ kind: "bool"
2758
+ },
2759
+ {
2760
+ no: 3,
2761
+ name: "name",
2762
+ kind: "string"
2763
+ },
2764
+ {
2765
+ no: 4,
2766
+ name: "ignoreChatTelemetrySetting",
2767
+ kind: "bool"
2768
+ },
2769
+ {
2770
+ no: 5,
2771
+ name: "teamId",
2772
+ kind: "string"
2773
+ },
2774
+ {
2775
+ no: 6,
2776
+ name: "teamStatus",
2777
+ kind: "enum"
2778
+ },
2779
+ {
2780
+ no: 7,
2781
+ name: "email",
2782
+ kind: "string"
2783
+ },
2784
+ {
2785
+ no: 9,
2786
+ name: "userFeatures",
2787
+ kind: "enum",
2788
+ repeat: true
2789
+ },
2790
+ {
2791
+ no: 8,
2792
+ name: "teamsFeatures",
2793
+ kind: "enum",
2794
+ repeat: true
2795
+ },
2796
+ {
2797
+ no: 10,
2798
+ name: "teamsTier",
2799
+ kind: "enum"
2800
+ },
2801
+ {
2802
+ no: 11,
2803
+ name: "permissions",
2804
+ kind: "enum",
2805
+ repeat: true
2806
+ },
2807
+ {
2808
+ no: 13,
2809
+ name: "planStatus",
2810
+ kind: "message",
2811
+ T: () => PlanStatusSchema
2812
+ },
2813
+ {
2814
+ no: 31,
2815
+ name: "hasUsedWindsurf",
2816
+ kind: "bool"
2817
+ },
2818
+ {
2819
+ no: 28,
2820
+ name: "userUsedPromptCredits",
2821
+ kind: "int64"
2822
+ },
2823
+ {
2824
+ no: 29,
2825
+ name: "userUsedFlowCredits",
2826
+ kind: "int64"
2827
+ },
2828
+ {
2829
+ no: 30,
2830
+ name: "hasFingerprintSet",
2831
+ kind: "bool"
2832
+ },
2833
+ {
2834
+ no: 32,
2835
+ name: "teamConfig",
2836
+ kind: "message",
2837
+ T: () => TeamConfigSchema
2838
+ },
2839
+ {
2840
+ no: 33,
2841
+ name: "cascadeModelConfigData",
2842
+ kind: "message",
2843
+ T: () => CascadeModelConfigDataSchema
2844
+ },
2845
+ {
2846
+ no: 34,
2847
+ name: "windsurfProTrialEndTime",
2848
+ kind: "message",
2849
+ T: () => TimestampSchema
2850
+ },
2851
+ {
2852
+ no: 35,
2853
+ name: "maxNumPremiumChatMessages",
2854
+ kind: "int64"
2855
+ },
2856
+ {
2857
+ no: 36,
2858
+ name: "userId",
2859
+ kind: "string"
2860
+ }
2861
+ ]);
2862
+ //#endregion
2863
+ //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.1.17/node_modules/@oh-my-pi/pi-catalog/src/wire/devin-proto.ts
2864
+ /**
2865
+ * Protobuf decoding helpers for Devin's unary Connect RPCs. Kept separate from
2866
+ * `wire/devin.ts`: that module stays protobuf-free for the synchronous catalog
2867
+ * boot path, while this one is shared by discovery, chat, and usage callers
2868
+ * that already load the generated schemas.
2869
+ */
2870
+ /**
2871
+ * Decode a unary Devin Connect response. Edges variously return bare protobuf
2872
+ * or a gzipped protobuf body; Bun's `fetch` normally decompresses first, so the
2873
+ * direct decode is attempted before the gzip fallback. Returns `null` when
2874
+ * neither representation decodes against `schema`.
2875
+ */
2876
+ function decodeDevinUnaryMessage(schema, payload) {
2877
+ try {
2878
+ return fromBinary(schema, payload);
2879
+ } catch {
2880
+ try {
2881
+ return fromBinary(schema, gunzipSync(payload));
2882
+ } catch {
2883
+ return null;
2884
+ }
2885
+ }
2886
+ }
2887
+ //#endregion
2888
+ export { ImageDataSchema as _, ChatToolCallSchema as a, TeamsTier as b, CompletionConfigurationSchema as c, GetCliModelConfigsRequestSchema as d, GetCliModelConfigsResponseSchema as f, GetUserStatusResponseSchema as g, GetUserStatusRequestSchema as h, ChatMessagePromptSchema as i, GetChatMessageRequestSchema as l, GetUserJwtResponseSchema as m, AssignModelRequestSchema as n, ChatToolChoiceSchema as o, GetUserJwtRequestSchema as p, AssignModelResponseSchema as r, ChatToolDefinitionSchema as s, decodeDevinUnaryMessage as t, GetChatMessageResponseSchema as u, MetadataSchema as v, PromptCacheOptionsSchema as y };