jeopi-ai 16.2.13

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 (598) hide show
  1. package/CHANGELOG.md +4347 -0
  2. package/README.md +1193 -0
  3. package/dist/types/api-registry.d.ts +30 -0
  4. package/dist/types/auth-broker/client.d.ts +73 -0
  5. package/dist/types/auth-broker/discover.d.ts +35 -0
  6. package/dist/types/auth-broker/index.d.ts +7 -0
  7. package/dist/types/auth-broker/refresher.d.ts +25 -0
  8. package/dist/types/auth-broker/remote-store.d.ts +102 -0
  9. package/dist/types/auth-broker/server.d.ts +43 -0
  10. package/dist/types/auth-broker/snapshot-cache.d.ts +17 -0
  11. package/dist/types/auth-broker/types.d.ts +107 -0
  12. package/dist/types/auth-broker/wire-schemas.d.ts +411 -0
  13. package/dist/types/auth-gateway/http.d.ts +39 -0
  14. package/dist/types/auth-gateway/index.d.ts +3 -0
  15. package/dist/types/auth-gateway/server.d.ts +36 -0
  16. package/dist/types/auth-gateway/types.d.ts +123 -0
  17. package/dist/types/auth-retry.d.ts +124 -0
  18. package/dist/types/auth-storage.d.ts +1026 -0
  19. package/dist/types/dialect/anthropic.d.ts +15 -0
  20. package/dist/types/dialect/catalog.d.ts +3 -0
  21. package/dist/types/dialect/coercion.d.ts +23 -0
  22. package/dist/types/dialect/deepseek.d.ts +14 -0
  23. package/dist/types/dialect/demotion.d.ts +23 -0
  24. package/dist/types/dialect/examples.d.ts +2 -0
  25. package/dist/types/dialect/factory.d.ts +3 -0
  26. package/dist/types/dialect/fenced-thinking.d.ts +53 -0
  27. package/dist/types/dialect/gemini.d.ts +17 -0
  28. package/dist/types/dialect/gemma.d.ts +15 -0
  29. package/dist/types/dialect/glm.d.ts +9 -0
  30. package/dist/types/dialect/harmony.d.ts +8 -0
  31. package/dist/types/dialect/hermes.d.ts +9 -0
  32. package/dist/types/dialect/history.d.ts +3 -0
  33. package/dist/types/dialect/index.d.ts +11 -0
  34. package/dist/types/dialect/inventory.d.ts +12 -0
  35. package/dist/types/dialect/kimi.d.ts +14 -0
  36. package/dist/types/dialect/minimax.d.ts +3 -0
  37. package/dist/types/dialect/owned-stream.d.ts +4 -0
  38. package/dist/types/dialect/qwen3.d.ts +9 -0
  39. package/dist/types/dialect/rendering.d.ts +45 -0
  40. package/dist/types/dialect/thinking.d.ts +6 -0
  41. package/dist/types/dialect/types.d.ts +69 -0
  42. package/dist/types/dialect/xml.d.ts +9 -0
  43. package/dist/types/error/abort.d.ts +14 -0
  44. package/dist/types/error/auth-classify.d.ts +16 -0
  45. package/dist/types/error/auth.d.ts +27 -0
  46. package/dist/types/error/aws.d.ts +23 -0
  47. package/dist/types/error/classes.d.ts +102 -0
  48. package/dist/types/error/finalize.d.ts +39 -0
  49. package/dist/types/error/flags.d.ts +79 -0
  50. package/dist/types/error/format.d.ts +20 -0
  51. package/dist/types/error/gateway.d.ts +20 -0
  52. package/dist/types/error/index.d.ts +13 -0
  53. package/dist/types/error/oauth.d.ts +43 -0
  54. package/dist/types/error/provider.d.ts +42 -0
  55. package/dist/types/error/rate-limit.d.ts +59 -0
  56. package/dist/types/error/retryable.d.ts +27 -0
  57. package/dist/types/error/validation.d.ts +32 -0
  58. package/dist/types/index.d.ts +49 -0
  59. package/dist/types/provider-details.d.ts +24 -0
  60. package/dist/types/providers/__tests__/google-auth.test.d.ts +1 -0
  61. package/dist/types/providers/__tests__/kimi-code-thinking.test.d.ts +1 -0
  62. package/dist/types/providers/__tests__/openai-codex-error.test.d.ts +1 -0
  63. package/dist/types/providers/amazon-bedrock.d.ts +39 -0
  64. package/dist/types/providers/anthropic-client.d.ts +94 -0
  65. package/dist/types/providers/anthropic-messages-server-schema.d.ts +497 -0
  66. package/dist/types/providers/anthropic-messages-server.d.ts +17 -0
  67. package/dist/types/providers/anthropic-wire.d.ts +318 -0
  68. package/dist/types/providers/anthropic.d.ts +248 -0
  69. package/dist/types/providers/aws-credentials.d.ts +53 -0
  70. package/dist/types/providers/aws-eventstream.d.ts +39 -0
  71. package/dist/types/providers/aws-sigv4.d.ts +55 -0
  72. package/dist/types/providers/azure-openai-responses.d.ts +16 -0
  73. package/dist/types/providers/cursor.d.ts +91 -0
  74. package/dist/types/providers/devin.d.ts +12 -0
  75. package/dist/types/providers/error-message.d.ts +27 -0
  76. package/dist/types/providers/github-copilot-headers.d.ts +40 -0
  77. package/dist/types/providers/gitlab-duo-workflow.d.ts +254 -0
  78. package/dist/types/providers/gitlab-duo.d.ts +27 -0
  79. package/dist/types/providers/google-auth.d.ts +32 -0
  80. package/dist/types/providers/google-gemini-cli.d.ts +118 -0
  81. package/dist/types/providers/google-interactions.d.ts +65 -0
  82. package/dist/types/providers/google-shared.d.ts +203 -0
  83. package/dist/types/providers/google-types.d.ts +155 -0
  84. package/dist/types/providers/google-vertex.d.ts +7 -0
  85. package/dist/types/providers/google.d.ts +4 -0
  86. package/dist/types/providers/grammar.d.ts +1 -0
  87. package/dist/types/providers/kimi.d.ts +27 -0
  88. package/dist/types/providers/mock.d.ts +178 -0
  89. package/dist/types/providers/ollama.d.ts +7 -0
  90. package/dist/types/providers/openai-anthropic-shim.d.ts +31 -0
  91. package/dist/types/providers/openai-chat-server-schema.d.ts +695 -0
  92. package/dist/types/providers/openai-chat-server.d.ts +16 -0
  93. package/dist/types/providers/openai-chat-wire.d.ts +644 -0
  94. package/dist/types/providers/openai-codex/request-transformer.d.ts +54 -0
  95. package/dist/types/providers/openai-codex/response-handler.d.ts +26 -0
  96. package/dist/types/providers/openai-codex-responses.d.ts +108 -0
  97. package/dist/types/providers/openai-completions.d.ts +45 -0
  98. package/dist/types/providers/openai-reasoning-fallback.d.ts +25 -0
  99. package/dist/types/providers/openai-responses-server-schema.d.ts +349 -0
  100. package/dist/types/providers/openai-responses-server.d.ts +17 -0
  101. package/dist/types/providers/openai-responses-wire.d.ts +6065 -0
  102. package/dist/types/providers/openai-responses.d.ts +126 -0
  103. package/dist/types/providers/openai-shared.d.ts +506 -0
  104. package/dist/types/providers/pi-native-client.d.ts +13 -0
  105. package/dist/types/providers/pi-native-server.d.ts +69 -0
  106. package/dist/types/providers/register-builtins.d.ts +32 -0
  107. package/dist/types/providers/synthetic.d.ts +26 -0
  108. package/dist/types/providers/transform-messages.d.ts +11 -0
  109. package/dist/types/providers/vision-guard.d.ts +20 -0
  110. package/dist/types/registry/aimlapi.d.ts +4 -0
  111. package/dist/types/registry/alibaba-coding-plan.d.ts +8 -0
  112. package/dist/types/registry/amazon-bedrock.d.ts +5 -0
  113. package/dist/types/registry/anthropic.d.ts +10 -0
  114. package/dist/types/registry/api-key-login.d.ts +42 -0
  115. package/dist/types/registry/api-key-validation.d.ts +43 -0
  116. package/dist/types/registry/azure.d.ts +4 -0
  117. package/dist/types/registry/cerebras.d.ts +7 -0
  118. package/dist/types/registry/cloudflare-ai-gateway.d.ts +13 -0
  119. package/dist/types/registry/coreweave.d.ts +7 -0
  120. package/dist/types/registry/cursor.d.ts +7 -0
  121. package/dist/types/registry/deepseek.d.ts +8 -0
  122. package/dist/types/registry/derived.d.ts +5 -0
  123. package/dist/types/registry/devin.d.ts +8 -0
  124. package/dist/types/registry/firepass.d.ts +16 -0
  125. package/dist/types/registry/fireworks.d.ts +7 -0
  126. package/dist/types/registry/github-copilot.d.ts +7 -0
  127. package/dist/types/registry/gitlab-duo-workflow.d.ts +10 -0
  128. package/dist/types/registry/gitlab-duo.d.ts +9 -0
  129. package/dist/types/registry/google-antigravity.d.ts +9 -0
  130. package/dist/types/registry/google-gemini-cli.d.ts +9 -0
  131. package/dist/types/registry/google-vertex.d.ts +5 -0
  132. package/dist/types/registry/google.d.ts +4 -0
  133. package/dist/types/registry/groq.d.ts +4 -0
  134. package/dist/types/registry/huggingface.d.ts +7 -0
  135. package/dist/types/registry/index.d.ts +4 -0
  136. package/dist/types/registry/kagi.d.ts +14 -0
  137. package/dist/types/registry/kilo.d.ts +7 -0
  138. package/dist/types/registry/kimi-code.d.ts +7 -0
  139. package/dist/types/registry/litellm.d.ts +13 -0
  140. package/dist/types/registry/llama-cpp.d.ts +8 -0
  141. package/dist/types/registry/lm-studio.d.ts +8 -0
  142. package/dist/types/registry/minimax-code-cn.d.ts +6 -0
  143. package/dist/types/registry/minimax-code.d.ts +6 -0
  144. package/dist/types/registry/minimax.d.ts +4 -0
  145. package/dist/types/registry/mistral.d.ts +4 -0
  146. package/dist/types/registry/moonshot.d.ts +7 -0
  147. package/dist/types/registry/nanogpt.d.ts +7 -0
  148. package/dist/types/registry/nvidia.d.ts +7 -0
  149. package/dist/types/registry/oauth/__tests__/xai-oauth.test.d.ts +1 -0
  150. package/dist/types/registry/oauth/anthropic.d.ts +23 -0
  151. package/dist/types/registry/oauth/callback-server.d.ts +72 -0
  152. package/dist/types/registry/oauth/cursor.d.ts +15 -0
  153. package/dist/types/registry/oauth/devin.d.ts +5 -0
  154. package/dist/types/registry/oauth/github-copilot.d.ts +30 -0
  155. package/dist/types/registry/oauth/gitlab-duo-workflow.d.ts +6 -0
  156. package/dist/types/registry/oauth/gitlab-duo.d.ts +3 -0
  157. package/dist/types/registry/oauth/google-antigravity.d.ts +11 -0
  158. package/dist/types/registry/oauth/google-gemini-cli.d.ts +10 -0
  159. package/dist/types/registry/oauth/google-oauth-shared.d.ts +22 -0
  160. package/dist/types/registry/oauth/index.d.ts +64 -0
  161. package/dist/types/registry/oauth/kimi.d.ts +21 -0
  162. package/dist/types/registry/oauth/minimax-code.d.ts +27 -0
  163. package/dist/types/registry/oauth/openai-codex.d.ts +33 -0
  164. package/dist/types/registry/oauth/opencode.d.ts +18 -0
  165. package/dist/types/registry/oauth/perplexity.d.ts +9 -0
  166. package/dist/types/registry/oauth/pkce.d.ts +8 -0
  167. package/dist/types/registry/oauth/types.d.ts +56 -0
  168. package/dist/types/registry/oauth/wafer.d.ts +1 -0
  169. package/dist/types/registry/oauth/xai-oauth.d.ts +52 -0
  170. package/dist/types/registry/oauth/xiaomi.d.ts +25 -0
  171. package/dist/types/registry/ollama-cloud.d.ts +7 -0
  172. package/dist/types/registry/ollama.d.ts +12 -0
  173. package/dist/types/registry/openai-codex-device.d.ts +8 -0
  174. package/dist/types/registry/openai-codex.d.ts +9 -0
  175. package/dist/types/registry/openai.d.ts +4 -0
  176. package/dist/types/registry/opencode-go.d.ts +6 -0
  177. package/dist/types/registry/opencode-zen.d.ts +6 -0
  178. package/dist/types/registry/openrouter.d.ts +13 -0
  179. package/dist/types/registry/parallel.d.ts +14 -0
  180. package/dist/types/registry/perplexity.d.ts +7 -0
  181. package/dist/types/registry/qianfan.d.ts +7 -0
  182. package/dist/types/registry/qwen-portal.d.ts +7 -0
  183. package/dist/types/registry/registry.d.ts +303 -0
  184. package/dist/types/registry/sakana.d.ts +7 -0
  185. package/dist/types/registry/synthetic.d.ts +6 -0
  186. package/dist/types/registry/tavily.d.ts +14 -0
  187. package/dist/types/registry/together.d.ts +6 -0
  188. package/dist/types/registry/types.d.ts +51 -0
  189. package/dist/types/registry/umans.d.ts +7 -0
  190. package/dist/types/registry/venice.d.ts +13 -0
  191. package/dist/types/registry/vercel-ai-gateway.d.ts +7 -0
  192. package/dist/types/registry/vllm.d.ts +7 -0
  193. package/dist/types/registry/wafer-serverless.d.ts +6 -0
  194. package/dist/types/registry/xai-oauth.d.ts +7 -0
  195. package/dist/types/registry/xai.d.ts +4 -0
  196. package/dist/types/registry/xiaomi-token-plan-ams.d.ts +6 -0
  197. package/dist/types/registry/xiaomi-token-plan-cn.d.ts +6 -0
  198. package/dist/types/registry/xiaomi-token-plan-sgp.d.ts +6 -0
  199. package/dist/types/registry/xiaomi.d.ts +6 -0
  200. package/dist/types/registry/zai.d.ts +7 -0
  201. package/dist/types/registry/zenmux.d.ts +7 -0
  202. package/dist/types/registry/zhipu-coding-plan.d.ts +7 -0
  203. package/dist/types/stream.d.ts +44 -0
  204. package/dist/types/types.d.ts +715 -0
  205. package/dist/types/usage/claude.d.ts +4 -0
  206. package/dist/types/usage/gemini.d.ts +2 -0
  207. package/dist/types/usage/github-copilot.d.ts +7 -0
  208. package/dist/types/usage/google-antigravity.d.ts +15 -0
  209. package/dist/types/usage/kimi.d.ts +2 -0
  210. package/dist/types/usage/minimax-code.d.ts +2 -0
  211. package/dist/types/usage/ollama.d.ts +5 -0
  212. package/dist/types/usage/openai-codex-base-url.d.ts +18 -0
  213. package/dist/types/usage/openai-codex-reset.d.ts +79 -0
  214. package/dist/types/usage/openai-codex.d.ts +3 -0
  215. package/dist/types/usage/opencode-go.d.ts +2 -0
  216. package/dist/types/usage/shared.d.ts +1 -0
  217. package/dist/types/usage/zai.d.ts +2 -0
  218. package/dist/types/usage.d.ts +346 -0
  219. package/dist/types/utils/abort.d.ts +25 -0
  220. package/dist/types/utils/anthropic-auth.d.ts +35 -0
  221. package/dist/types/utils/block-symbols.d.ts +20 -0
  222. package/dist/types/utils/deterministic-id.d.ts +16 -0
  223. package/dist/types/utils/empty-completion-retry.d.ts +21 -0
  224. package/dist/types/utils/event-stream.d.ts +30 -0
  225. package/dist/types/utils/foundry.d.ts +1 -0
  226. package/dist/types/utils/google-validation.d.ts +2 -0
  227. package/dist/types/utils/harmony-leak.d.ts +118 -0
  228. package/dist/types/utils/http-inspector.d.ts +30 -0
  229. package/dist/types/utils/idle-iterator.d.ts +137 -0
  230. package/dist/types/utils/leaked-thinking-stream.d.ts +29 -0
  231. package/dist/types/utils/openai-http.d.ts +54 -0
  232. package/dist/types/utils/openrouter-headers.d.ts +1 -0
  233. package/dist/types/utils/parse-bind.d.ts +23 -0
  234. package/dist/types/utils/provider-response.d.ts +3 -0
  235. package/dist/types/utils/proxy.d.ts +29 -0
  236. package/dist/types/utils/request-debug.d.ts +29 -0
  237. package/dist/types/utils/retry-after.d.ts +4 -0
  238. package/dist/types/utils/retry.d.ts +14 -0
  239. package/dist/types/utils/schema/adapt.d.ts +24 -0
  240. package/dist/types/utils/schema/compatibility.d.ts +30 -0
  241. package/dist/types/utils/schema/dereference.d.ts +11 -0
  242. package/dist/types/utils/schema/draft.d.ts +10 -0
  243. package/dist/types/utils/schema/equality.d.ts +4 -0
  244. package/dist/types/utils/schema/fields.d.ts +54 -0
  245. package/dist/types/utils/schema/index.d.ts +15 -0
  246. package/dist/types/utils/schema/json-schema-validator.d.ts +20 -0
  247. package/dist/types/utils/schema/meta-validator.d.ts +2 -0
  248. package/dist/types/utils/schema/normalize.d.ts +124 -0
  249. package/dist/types/utils/schema/spill.d.ts +8 -0
  250. package/dist/types/utils/schema/stamps.d.ts +17 -0
  251. package/dist/types/utils/schema/strict-tool-validation.d.ts +16 -0
  252. package/dist/types/utils/schema/types.d.ts +4 -0
  253. package/dist/types/utils/schema/typescript.d.ts +18 -0
  254. package/dist/types/utils/schema/wire.d.ts +92 -0
  255. package/dist/types/utils/schema/zod-decontaminate.d.ts +31 -0
  256. package/dist/types/utils/sdk-stream-timeout.d.ts +33 -0
  257. package/dist/types/utils/sse-debug.d.ts +5 -0
  258. package/dist/types/utils/stream-markup-healing.d.ts +87 -0
  259. package/dist/types/utils/thinking-loop.d.ts +102 -0
  260. package/dist/types/utils/tool-call-loop-guard.d.ts +26 -0
  261. package/dist/types/utils/tool-choice.d.ts +50 -0
  262. package/dist/types/utils/validation.d.ts +42 -0
  263. package/dist/types/utils.d.ts +24 -0
  264. package/package.json +139 -0
  265. package/src/api-registry.ts +109 -0
  266. package/src/auth-broker/client.ts +359 -0
  267. package/src/auth-broker/discover.ts +222 -0
  268. package/src/auth-broker/index.ts +7 -0
  269. package/src/auth-broker/refresher.ts +117 -0
  270. package/src/auth-broker/remote-store.ts +657 -0
  271. package/src/auth-broker/server.ts +646 -0
  272. package/src/auth-broker/snapshot-cache.ts +191 -0
  273. package/src/auth-broker/types.ts +130 -0
  274. package/src/auth-broker/wire-schemas.ts +249 -0
  275. package/src/auth-gateway/http.ts +194 -0
  276. package/src/auth-gateway/index.ts +3 -0
  277. package/src/auth-gateway/server.ts +802 -0
  278. package/src/auth-gateway/types.ts +151 -0
  279. package/src/auth-retry.ts +250 -0
  280. package/src/auth-storage.ts +5576 -0
  281. package/src/dialect/anthropic.md +31 -0
  282. package/src/dialect/anthropic.ts +608 -0
  283. package/src/dialect/catalog.ts +29 -0
  284. package/src/dialect/coercion.ts +136 -0
  285. package/src/dialect/deepseek.md +24 -0
  286. package/src/dialect/deepseek.ts +609 -0
  287. package/src/dialect/demotion.ts +36 -0
  288. package/src/dialect/examples.ts +33 -0
  289. package/src/dialect/factory.ts +34 -0
  290. package/src/dialect/fenced-thinking.ts +184 -0
  291. package/src/dialect/gemini.md +44 -0
  292. package/src/dialect/gemini.ts +597 -0
  293. package/src/dialect/gemma.md +33 -0
  294. package/src/dialect/gemma.ts +387 -0
  295. package/src/dialect/glm.md +32 -0
  296. package/src/dialect/glm.ts +456 -0
  297. package/src/dialect/harmony.md +31 -0
  298. package/src/dialect/harmony.ts +346 -0
  299. package/src/dialect/hermes.md +25 -0
  300. package/src/dialect/hermes.ts +206 -0
  301. package/src/dialect/history.ts +81 -0
  302. package/src/dialect/index.ts +15 -0
  303. package/src/dialect/inventory.ts +73 -0
  304. package/src/dialect/kimi.md +24 -0
  305. package/src/dialect/kimi.ts +340 -0
  306. package/src/dialect/minimax.md +31 -0
  307. package/src/dialect/minimax.ts +95 -0
  308. package/src/dialect/owned-stream.ts +470 -0
  309. package/src/dialect/prompt-template.md +12 -0
  310. package/src/dialect/qwen3.md +28 -0
  311. package/src/dialect/qwen3.ts +240 -0
  312. package/src/dialect/rendering.ts +249 -0
  313. package/src/dialect/thinking.ts +122 -0
  314. package/src/dialect/types.ts +57 -0
  315. package/src/dialect/xml.md +22 -0
  316. package/src/dialect/xml.ts +90 -0
  317. package/src/error/abort.ts +18 -0
  318. package/src/error/auth-classify.ts +30 -0
  319. package/src/error/auth.ts +48 -0
  320. package/src/error/aws.ts +31 -0
  321. package/src/error/classes.ts +186 -0
  322. package/src/error/finalize.ts +69 -0
  323. package/src/error/flags.ts +506 -0
  324. package/src/error/format.ts +45 -0
  325. package/src/error/gateway.ts +96 -0
  326. package/src/error/index.ts +13 -0
  327. package/src/error/oauth.ts +58 -0
  328. package/src/error/provider.ts +62 -0
  329. package/src/error/rate-limit.ts +161 -0
  330. package/src/error/retryable.ts +70 -0
  331. package/src/error/validation.ts +44 -0
  332. package/src/index.ts +49 -0
  333. package/src/provider-details.ts +90 -0
  334. package/src/providers/__tests__/google-auth.test.ts +144 -0
  335. package/src/providers/__tests__/kimi-code-thinking.test.ts +112 -0
  336. package/src/providers/__tests__/openai-codex-error.test.ts +84 -0
  337. package/src/providers/amazon-bedrock.ts +1042 -0
  338. package/src/providers/anthropic-client.ts +295 -0
  339. package/src/providers/anthropic-messages-server-schema.ts +252 -0
  340. package/src/providers/anthropic-messages-server.ts +756 -0
  341. package/src/providers/anthropic-wire.ts +318 -0
  342. package/src/providers/anthropic.ts +4078 -0
  343. package/src/providers/aws-credentials.ts +586 -0
  344. package/src/providers/aws-eventstream.ts +181 -0
  345. package/src/providers/aws-sigv4.ts +218 -0
  346. package/src/providers/azure-openai-responses.ts +382 -0
  347. package/src/providers/cursor/proto/agent.proto +3526 -0
  348. package/src/providers/cursor/proto/buf.gen.yaml +6 -0
  349. package/src/providers/cursor/proto/buf.yaml +17 -0
  350. package/src/providers/cursor.ts +2695 -0
  351. package/src/providers/devin/proto/buf/validate/validate.proto +468 -0
  352. package/src/providers/devin/proto/buf.gen.yaml +33 -0
  353. package/src/providers/devin/proto/buf.yaml +17 -0
  354. package/src/providers/devin/proto/cel/expr/checked.proto +103 -0
  355. package/src/providers/devin/proto/cel/expr/eval.proto +38 -0
  356. package/src/providers/devin/proto/cel/expr/explain.proto +15 -0
  357. package/src/providers/devin/proto/cel/expr/syntax.proto +113 -0
  358. package/src/providers/devin/proto/cel/expr/value.proto +41 -0
  359. package/src/providers/devin/proto/connectext/grpc/status/v1/status.proto +11 -0
  360. package/src/providers/devin/proto/errorspb/errors.proto +56 -0
  361. package/src/providers/devin/proto/errorspb/hintdetail.proto +7 -0
  362. package/src/providers/devin/proto/errorspb/markers.proto +10 -0
  363. package/src/providers/devin/proto/errorspb/tags.proto +12 -0
  364. package/src/providers/devin/proto/errorspb/testing.proto +6 -0
  365. package/src/providers/devin/proto/exa/analytics_pb/analytics.proto +188 -0
  366. package/src/providers/devin/proto/exa/api_server_pb/api_server.proto +2461 -0
  367. package/src/providers/devin/proto/exa/auth_pb/auth.proto +19 -0
  368. package/src/providers/devin/proto/exa/auto_cascade_common_pb/auto_cascade_common.proto +79 -0
  369. package/src/providers/devin/proto/exa/browser_preview_pb/browser_preview.proto +32 -0
  370. package/src/providers/devin/proto/exa/bug_checker_pb/bug_checker.proto +22 -0
  371. package/src/providers/devin/proto/exa/cascade_plugins_pb/cascade_plugins.proto +262 -0
  372. package/src/providers/devin/proto/exa/chat_client_server_pb/chat_client_server.proto +57 -0
  373. package/src/providers/devin/proto/exa/chat_pb/chat.proto +449 -0
  374. package/src/providers/devin/proto/exa/code_edit/code_edit_pb/code_edit.proto +186 -0
  375. package/src/providers/devin/proto/exa/codeium_common_pb/codeium_common.proto +4157 -0
  376. package/src/providers/devin/proto/exa/context_module_pb/context_module.proto +175 -0
  377. package/src/providers/devin/proto/exa/cortex_pb/cortex.proto +3268 -0
  378. package/src/providers/devin/proto/exa/dev_pb/dev.proto +26 -0
  379. package/src/providers/devin/proto/exa/diff_action_pb/diff_action.proto +75 -0
  380. package/src/providers/devin/proto/exa/eval/pr_eval/datasets_pb/datasets.proto +103 -0
  381. package/src/providers/devin/proto/exa/eval_pb/eval.proto +1315 -0
  382. package/src/providers/devin/proto/exa/extension_server_pb/extension_server.proto +556 -0
  383. package/src/providers/devin/proto/exa/file_system_provider_pb/file_system_provider.proto +75 -0
  384. package/src/providers/devin/proto/exa/index_pb/index.proto +461 -0
  385. package/src/providers/devin/proto/exa/knowledge_base_pb/knowledge_base.proto +144 -0
  386. package/src/providers/devin/proto/exa/language_server_pb/language_server.proto +2385 -0
  387. package/src/providers/devin/proto/exa/model_management_pb/model_management.proto +186 -0
  388. package/src/providers/devin/proto/exa/opensearch_clients_pb/opensearch_clients.proto +503 -0
  389. package/src/providers/devin/proto/exa/product_analytics_pb/product_analytics.proto +37 -0
  390. package/src/providers/devin/proto/exa/prompt_pb/prompt.proto +92 -0
  391. package/src/providers/devin/proto/exa/reactive_component_pb/reactive_component.proto +96 -0
  392. package/src/providers/devin/proto/exa/seat_management_pb/seat_management.proto +2680 -0
  393. package/src/providers/devin/proto/exa/tokenizer_pb/tokenizer.proto +37 -0
  394. package/src/providers/devin/proto/exa/trainer_pb/config.proto +647 -0
  395. package/src/providers/devin/proto/exa/tree_sitter/language_data_pb/language_data.proto +14 -0
  396. package/src/providers/devin/proto/exa/trust_pb/trust.proto +157 -0
  397. package/src/providers/devin/proto/exa/user_analytics_pb/user_analytics.proto +519 -0
  398. package/src/providers/devin/proto/google.golang.org/appengine/internal/base/api_base.proto +28 -0
  399. package/src/providers/devin/proto/google.golang.org/appengine/internal/datastore/datastore_v3.proto +484 -0
  400. package/src/providers/devin/proto/google.golang.org/appengine/internal/log/log_service.proto +136 -0
  401. package/src/providers/devin/proto/google.golang.org/appengine/internal/remote_api/remote_api.proto +42 -0
  402. package/src/providers/devin/proto/google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto +61 -0
  403. package/src/providers/devin/proto/grpc/binlog/v1/binarylog.proto +84 -0
  404. package/src/providers/devin/proto/io/prometheus/client/metrics.proto +98 -0
  405. package/src/providers/devin.ts +577 -0
  406. package/src/providers/error-message.ts +21 -0
  407. package/src/providers/github-copilot-headers.ts +141 -0
  408. package/src/providers/gitlab-duo-workflow-chatml-note.md +1 -0
  409. package/src/providers/gitlab-duo-workflow.ts +3058 -0
  410. package/src/providers/gitlab-duo.ts +395 -0
  411. package/src/providers/google-auth.ts +350 -0
  412. package/src/providers/google-gemini-cli.ts +1362 -0
  413. package/src/providers/google-interactions.ts +753 -0
  414. package/src/providers/google-shared.ts +1103 -0
  415. package/src/providers/google-types.ts +180 -0
  416. package/src/providers/google-vertex.ts +183 -0
  417. package/src/providers/google.ts +87 -0
  418. package/src/providers/grammar.ts +70 -0
  419. package/src/providers/kimi.ts +52 -0
  420. package/src/providers/mock.ts +507 -0
  421. package/src/providers/ollama.ts +773 -0
  422. package/src/providers/openai-anthropic-shim.ts +152 -0
  423. package/src/providers/openai-chat-server-schema.ts +242 -0
  424. package/src/providers/openai-chat-server.ts +715 -0
  425. package/src/providers/openai-chat-wire.ts +847 -0
  426. package/src/providers/openai-codex/request-transformer.ts +295 -0
  427. package/src/providers/openai-codex/response-handler.ts +102 -0
  428. package/src/providers/openai-codex-responses.ts +3468 -0
  429. package/src/providers/openai-completions.ts +2173 -0
  430. package/src/providers/openai-reasoning-fallback.ts +269 -0
  431. package/src/providers/openai-responses-reasoning-suppression.md +1 -0
  432. package/src/providers/openai-responses-server-schema.ts +282 -0
  433. package/src/providers/openai-responses-server.ts +1280 -0
  434. package/src/providers/openai-responses-wire.ts +6391 -0
  435. package/src/providers/openai-responses.ts +1022 -0
  436. package/src/providers/openai-shared.ts +2648 -0
  437. package/src/providers/pi-native-client.ts +266 -0
  438. package/src/providers/pi-native-server.ts +242 -0
  439. package/src/providers/register-builtins.ts +475 -0
  440. package/src/providers/synthetic.ts +50 -0
  441. package/src/providers/transform-messages.ts +787 -0
  442. package/src/providers/vision-guard.ts +54 -0
  443. package/src/registry/aimlapi.ts +6 -0
  444. package/src/registry/alibaba-coding-plan.ts +95 -0
  445. package/src/registry/amazon-bedrock.ts +22 -0
  446. package/src/registry/anthropic.ts +26 -0
  447. package/src/registry/api-key-login.ts +112 -0
  448. package/src/registry/api-key-validation.ts +161 -0
  449. package/src/registry/azure.ts +6 -0
  450. package/src/registry/cerebras.ts +23 -0
  451. package/src/registry/cloudflare-ai-gateway.ts +45 -0
  452. package/src/registry/coreweave.ts +40 -0
  453. package/src/registry/cursor.ts +20 -0
  454. package/src/registry/deepseek.ts +46 -0
  455. package/src/registry/derived.ts +9 -0
  456. package/src/registry/devin.ts +15 -0
  457. package/src/registry/firepass.ts +32 -0
  458. package/src/registry/fireworks.ts +28 -0
  459. package/src/registry/github-copilot.ts +22 -0
  460. package/src/registry/gitlab-duo-workflow.ts +20 -0
  461. package/src/registry/gitlab-duo.ts +19 -0
  462. package/src/registry/google-antigravity.ts +22 -0
  463. package/src/registry/google-gemini-cli.ts +22 -0
  464. package/src/registry/google-vertex.ts +38 -0
  465. package/src/registry/google.ts +6 -0
  466. package/src/registry/groq.ts +6 -0
  467. package/src/registry/huggingface.ts +29 -0
  468. package/src/registry/index.ts +4 -0
  469. package/src/registry/kagi.ts +46 -0
  470. package/src/registry/kilo.ts +114 -0
  471. package/src/registry/kimi-code.ts +17 -0
  472. package/src/registry/litellm.ts +45 -0
  473. package/src/registry/llama-cpp.ts +35 -0
  474. package/src/registry/lm-studio.ts +31 -0
  475. package/src/registry/minimax-code-cn.ts +12 -0
  476. package/src/registry/minimax-code.ts +12 -0
  477. package/src/registry/minimax.ts +6 -0
  478. package/src/registry/mistral.ts +6 -0
  479. package/src/registry/moonshot.ts +22 -0
  480. package/src/registry/nanogpt.ts +22 -0
  481. package/src/registry/nvidia.ts +61 -0
  482. package/src/registry/oauth/__tests__/xai-oauth.test.ts +104 -0
  483. package/src/registry/oauth/anthropic.ts +311 -0
  484. package/src/registry/oauth/callback-server.ts +315 -0
  485. package/src/registry/oauth/cursor.ts +171 -0
  486. package/src/registry/oauth/devin.ts +124 -0
  487. package/src/registry/oauth/github-copilot.ts +369 -0
  488. package/src/registry/oauth/gitlab-duo-workflow.ts +146 -0
  489. package/src/registry/oauth/gitlab-duo.ts +222 -0
  490. package/src/registry/oauth/google-antigravity.ts +209 -0
  491. package/src/registry/oauth/google-gemini-cli.ts +273 -0
  492. package/src/registry/oauth/google-oauth-shared.ts +125 -0
  493. package/src/registry/oauth/index.ts +269 -0
  494. package/src/registry/oauth/kimi.ts +289 -0
  495. package/src/registry/oauth/minimax-code.ts +53 -0
  496. package/src/registry/oauth/oauth.html +311 -0
  497. package/src/registry/oauth/openai-codex.ts +364 -0
  498. package/src/registry/oauth/opencode.ts +50 -0
  499. package/src/registry/oauth/perplexity.ts +228 -0
  500. package/src/registry/oauth/pkce.ts +18 -0
  501. package/src/registry/oauth/types.ts +65 -0
  502. package/src/registry/oauth/wafer.ts +24 -0
  503. package/src/registry/oauth/xai-oauth.ts +394 -0
  504. package/src/registry/oauth/xiaomi.ts +211 -0
  505. package/src/registry/ollama-cloud.ts +36 -0
  506. package/src/registry/ollama.ts +43 -0
  507. package/src/registry/openai-codex-device.ts +18 -0
  508. package/src/registry/openai-codex.ts +19 -0
  509. package/src/registry/openai.ts +6 -0
  510. package/src/registry/opencode-go.ts +12 -0
  511. package/src/registry/opencode-zen.ts +12 -0
  512. package/src/registry/openrouter.ts +28 -0
  513. package/src/registry/parallel.ts +45 -0
  514. package/src/registry/perplexity.ts +13 -0
  515. package/src/registry/qianfan.ts +27 -0
  516. package/src/registry/qwen-portal.ts +50 -0
  517. package/src/registry/registry.ts +161 -0
  518. package/src/registry/sakana.ts +22 -0
  519. package/src/registry/synthetic.ts +21 -0
  520. package/src/registry/tavily.ts +45 -0
  521. package/src/registry/together.ts +22 -0
  522. package/src/registry/types.ts +56 -0
  523. package/src/registry/umans.ts +23 -0
  524. package/src/registry/venice.ts +33 -0
  525. package/src/registry/vercel-ai-gateway.ts +38 -0
  526. package/src/registry/vllm.ts +34 -0
  527. package/src/registry/wafer-serverless.ts +12 -0
  528. package/src/registry/xai-oauth.ts +17 -0
  529. package/src/registry/xai.ts +6 -0
  530. package/src/registry/xiaomi-token-plan-ams.ts +12 -0
  531. package/src/registry/xiaomi-token-plan-cn.ts +12 -0
  532. package/src/registry/xiaomi-token-plan-sgp.ts +12 -0
  533. package/src/registry/xiaomi.ts +12 -0
  534. package/src/registry/zai.ts +27 -0
  535. package/src/registry/zenmux.ts +22 -0
  536. package/src/registry/zhipu-coding-plan.ts +27 -0
  537. package/src/stream.ts +1778 -0
  538. package/src/types.ts +856 -0
  539. package/src/usage/claude.ts +485 -0
  540. package/src/usage/gemini.ts +258 -0
  541. package/src/usage/github-copilot.ts +424 -0
  542. package/src/usage/google-antigravity.ts +497 -0
  543. package/src/usage/kimi.ts +271 -0
  544. package/src/usage/minimax-code.ts +30 -0
  545. package/src/usage/ollama.ts +41 -0
  546. package/src/usage/openai-codex-base-url.ts +35 -0
  547. package/src/usage/openai-codex-reset.ts +174 -0
  548. package/src/usage/openai-codex.ts +535 -0
  549. package/src/usage/opencode-go.ts +89 -0
  550. package/src/usage/shared.ts +10 -0
  551. package/src/usage/zai.ts +321 -0
  552. package/src/usage.ts +333 -0
  553. package/src/utils/abort.ts +67 -0
  554. package/src/utils/anthropic-auth.ts +93 -0
  555. package/src/utils/block-symbols.ts +32 -0
  556. package/src/utils/deterministic-id.ts +20 -0
  557. package/src/utils/empty-completion-retry.ts +159 -0
  558. package/src/utils/event-stream.ts +171 -0
  559. package/src/utils/foundry.ts +8 -0
  560. package/src/utils/google-validation.ts +25 -0
  561. package/src/utils/harmony-leak.ts +456 -0
  562. package/src/utils/http-inspector.ts +168 -0
  563. package/src/utils/idle-iterator.ts +473 -0
  564. package/src/utils/leaked-thinking-stream.ts +294 -0
  565. package/src/utils/openai-http.ts +122 -0
  566. package/src/utils/openrouter-headers.ts +12 -0
  567. package/src/utils/parse-bind.ts +56 -0
  568. package/src/utils/provider-response.ts +30 -0
  569. package/src/utils/proxy.ts +240 -0
  570. package/src/utils/request-debug.ts +351 -0
  571. package/src/utils/retry-after.ts +110 -0
  572. package/src/utils/retry.ts +59 -0
  573. package/src/utils/schema/CONSTRAINTS.md +166 -0
  574. package/src/utils/schema/adapt.ts +36 -0
  575. package/src/utils/schema/compatibility.ts +435 -0
  576. package/src/utils/schema/dereference.ts +98 -0
  577. package/src/utils/schema/draft.ts +341 -0
  578. package/src/utils/schema/equality.ts +97 -0
  579. package/src/utils/schema/fields.ts +207 -0
  580. package/src/utils/schema/index.ts +15 -0
  581. package/src/utils/schema/json-schema-validator.ts +595 -0
  582. package/src/utils/schema/meta-validator.ts +167 -0
  583. package/src/utils/schema/normalize.ts +1901 -0
  584. package/src/utils/schema/spill.ts +43 -0
  585. package/src/utils/schema/stamps.ts +109 -0
  586. package/src/utils/schema/strict-tool-validation.ts +117 -0
  587. package/src/utils/schema/types.ts +10 -0
  588. package/src/utils/schema/typescript.ts +198 -0
  589. package/src/utils/schema/wire.ts +789 -0
  590. package/src/utils/schema/zod-decontaminate.ts +331 -0
  591. package/src/utils/sdk-stream-timeout.ts +43 -0
  592. package/src/utils/sse-debug.ts +18 -0
  593. package/src/utils/stream-markup-healing.ts +247 -0
  594. package/src/utils/thinking-loop.ts +552 -0
  595. package/src/utils/tool-call-loop-guard.ts +107 -0
  596. package/src/utils/tool-choice.ts +99 -0
  597. package/src/utils/validation.ts +1507 -0
  598. package/src/utils.ts +171 -0
@@ -0,0 +1,3268 @@
1
+ syntax = "proto3";
2
+
3
+ package exa.cortex_pb;
4
+
5
+ import "buf/validate/validate.proto";
6
+ import "exa/chat_pb/chat.proto";
7
+ import "exa/code_edit/code_edit_pb/code_edit.proto";
8
+ import "exa/codeium_common_pb/codeium_common.proto";
9
+ import "exa/context_module_pb/context_module.proto";
10
+ import "exa/diff_action_pb/diff_action.proto";
11
+ import "exa/opensearch_clients_pb/opensearch_clients.proto";
12
+ import "google/protobuf/duration.proto";
13
+ import "google/protobuf/empty.proto";
14
+ import "google/protobuf/timestamp.proto";
15
+
16
+ enum ActionStatus {
17
+ ACTION_STATUS_UNSPECIFIED = 0;
18
+ ACTION_STATUS_ERROR = 1;
19
+ ACTION_STATUS_INITIALIZED = 2;
20
+ ACTION_STATUS_PREPARING = 3;
21
+ ACTION_STATUS_PREPARED = 4;
22
+ ACTION_STATUS_APPLYING = 5;
23
+ ACTION_STATUS_APPLIED = 6;
24
+ ACTION_STATUS_REJECTED = 7;
25
+ }
26
+
27
+ enum PlanStatus {
28
+ PLAN_STATUS_UNSPECIFIED = 0;
29
+ PLAN_STATUS_INITIALIZED = 1;
30
+ PLAN_STATUS_PLANNING = 2;
31
+ PLAN_STATUS_PLANNED = 3;
32
+ PLAN_STATUS_ERROR = 4;
33
+ }
34
+
35
+ enum CortexRequestSource {
36
+ CORTEX_REQUEST_SOURCE_UNSPECIFIED = 0;
37
+ CORTEX_REQUEST_SOURCE_CASCADE = 1;
38
+ CORTEX_REQUEST_SOURCE_USER_IMPLICIT = 2;
39
+ }
40
+
41
+ enum CortexTrajectorySource {
42
+ CORTEX_TRAJECTORY_SOURCE_UNSPECIFIED = 0;
43
+ CORTEX_TRAJECTORY_SOURCE_CASCADE_CLIENT = 1;
44
+ CORTEX_TRAJECTORY_SOURCE_EXPLAIN_PROBLEM = 2;
45
+ CORTEX_TRAJECTORY_SOURCE_REFACTOR_FUNCTION = 3;
46
+ CORTEX_TRAJECTORY_SOURCE_EVAL = 4;
47
+ CORTEX_TRAJECTORY_SOURCE_EVAL_TASK = 5;
48
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_PRR = 6;
49
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_CF = 7;
50
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_SL = 8;
51
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_PRD = 9;
52
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_CM = 10;
53
+ CORTEX_TRAJECTORY_SOURCE_PASSIVE_CODER = 11;
54
+ CORTEX_TRAJECTORY_SOURCE_CODE_MAP = 13;
55
+ CORTEX_TRAJECTORY_SOURCE_LIFEGUARD = 15;
56
+
57
+ reserved 12;
58
+ reserved 14;
59
+ }
60
+
61
+ enum CortexTrajectoryType {
62
+ CORTEX_TRAJECTORY_TYPE_UNSPECIFIED = 0;
63
+ CORTEX_TRAJECTORY_TYPE_USER_MAINLINE = 1;
64
+ CORTEX_TRAJECTORY_TYPE_USER_GRANULAR = 2;
65
+ CORTEX_TRAJECTORY_TYPE_SUPERCOMPLETE = 3;
66
+ CORTEX_TRAJECTORY_TYPE_CASCADE = 4;
67
+ CORTEX_TRAJECTORY_TYPE_BACKGROUND_RESEARCH = 5 [deprecated = true];
68
+ CORTEX_TRAJECTORY_TYPE_CHECKPOINT = 6;
69
+ CORTEX_TRAJECTORY_TYPE_RETRIEVE_MEMORY = 7;
70
+ CORTEX_TRAJECTORY_TYPE_CUSTOM_TOOL = 8;
71
+ CORTEX_TRAJECTORY_TYPE_AUTO_CASCADE = 9;
72
+ CORTEX_TRAJECTORY_TYPE_AUTO_CASCADE_MANAGER = 10;
73
+ CORTEX_TRAJECTORY_TYPE_APPLIER = 11;
74
+ CORTEX_TRAJECTORY_TYPE_TOOL_CALL_PROPOSAL = 12;
75
+ CORTEX_TRAJECTORY_TYPE_TRAJECTORY_CHOICE = 13;
76
+ CORTEX_TRAJECTORY_TYPE_LLM_JUDGE = 14;
77
+ CORTEX_TRAJECTORY_TYPE_ARTIFACT_SUMMARY = 19 [deprecated = true];
78
+ CORTEX_TRAJECTORY_TYPE_PASSIVE_CODER = 15;
79
+ CORTEX_TRAJECTORY_TYPE_INTERACTIVE_CASCADE = 17;
80
+ CORTEX_TRAJECTORY_TYPE_BRAIN_UPDATE = 16;
81
+
82
+ reserved 18;
83
+ reserved 20;
84
+ reserved 21;
85
+ reserved "CORTEX_TRAJECTORY_TYPE_DEEP_THINK", "CORTEX_TRAJECTORY_TYPE_SUGGEST_CODE_MAP", "CORTEX_TRAJECTORY_TYPE_LIFEGUARD";
86
+ }
87
+
88
+ enum CortexStepSource {
89
+ CORTEX_STEP_SOURCE_UNSPECIFIED = 0;
90
+ CORTEX_STEP_SOURCE_MANUAL = 1;
91
+ CORTEX_STEP_SOURCE_MODEL = 2;
92
+ CORTEX_STEP_SOURCE_USER_IMPLICIT = 3;
93
+ CORTEX_STEP_SOURCE_USER_EXPLICIT = 4;
94
+ CORTEX_STEP_SOURCE_SYSTEM = 5;
95
+ }
96
+
97
+ enum CortexStepCreditReason {
98
+ CORTEX_STEP_CREDIT_REASON_UNSPECIFIED = 0;
99
+ CORTEX_STEP_CREDIT_REASON_LINT_FIXING_DISCOUNT = 1;
100
+ }
101
+
102
+ enum ExecutionAsyncLevel {
103
+ EXECUTION_ASYNC_LEVEL_UNSPECIFIED = 0;
104
+ EXECUTION_ASYNC_LEVEL_INVOCATION_BLOCKING = 1;
105
+ EXECUTION_ASYNC_LEVEL_EXECUTOR_BLOCKING = 2;
106
+ EXECUTION_ASYNC_LEVEL_FULL_ASYNC = 3;
107
+ }
108
+
109
+ enum CortexStepStatus {
110
+ CORTEX_STEP_STATUS_UNSPECIFIED = 0;
111
+ CORTEX_STEP_STATUS_GENERATING = 8;
112
+ CORTEX_STEP_STATUS_HALTED = 10;
113
+ CORTEX_STEP_STATUS_PENDING = 1;
114
+ CORTEX_STEP_STATUS_RUNNING = 2;
115
+ CORTEX_STEP_STATUS_WAITING = 9;
116
+ CORTEX_STEP_STATUS_DONE = 3;
117
+ CORTEX_STEP_STATUS_INVALID = 4;
118
+ CORTEX_STEP_STATUS_CLEARED = 5;
119
+ CORTEX_STEP_STATUS_CANCELED = 6;
120
+ CORTEX_STEP_STATUS_ERROR = 7;
121
+ CORTEX_STEP_STATUS_SKIPPING = 11;
122
+ }
123
+
124
+ enum CascadeRunStatus {
125
+ CASCADE_RUN_STATUS_UNSPECIFIED = 0;
126
+ CASCADE_RUN_STATUS_IDLE = 1;
127
+ CASCADE_RUN_STATUS_RUNNING = 2;
128
+ CASCADE_RUN_STATUS_CANCELING = 3;
129
+ CASCADE_RUN_STATUS_BUSY = 4;
130
+ }
131
+
132
+ enum BrainFilterStrategy {
133
+ BRAIN_FILTER_STRATEGY_UNSPECIFIED = 0;
134
+ BRAIN_FILTER_STRATEGY_NO_SYSTEM_INJECTED_STEPS = 1;
135
+ BRAIN_FILTER_STRATEGY_NO_MEMORIES = 2;
136
+ }
137
+
138
+ enum SectionOverrideMode {
139
+ SECTION_OVERRIDE_MODE_UNSPECIFIED = 0;
140
+ SECTION_OVERRIDE_MODE_OVERRIDE = 1;
141
+ SECTION_OVERRIDE_MODE_APPEND = 2;
142
+ SECTION_OVERRIDE_MODE_PREPEND = 3;
143
+ }
144
+
145
+ enum AgenticMixin {
146
+ AGENTIC_MIXIN_UNSPECIFIED = 0;
147
+ AGENTIC_MIXIN_SMARTLINT = 1;
148
+ AGENTIC_MIXIN_PR_REVIEW = 2;
149
+ }
150
+
151
+ enum CascadeAgentToolSet {
152
+ CASCADE_AGENT_TOOL_SET_UNSPECIFIED = 0;
153
+ CASCADE_AGENT_TOOL_SET_ONLY_COMMAND = 1;
154
+ CASCADE_AGENT_TOOL_SET_COMMAND_AND_EDITS = 2;
155
+ CASCADE_AGENT_TOOL_SET_NO_SEARCH = 3;
156
+ }
157
+
158
+ enum ReplaceToolVariant {
159
+ REPLACE_TOOL_VARIANT_UNSPECIFIED = 0;
160
+ REPLACE_TOOL_VARIANT_REPLACEMENT_CHUNK = 1;
161
+ REPLACE_TOOL_VARIANT_SEARCH_REPLACE = 2;
162
+ REPLACE_TOOL_VARIANT_APPLY_PATCH = 3;
163
+ REPLACE_TOOL_VARIANT_SINGLE_MULTI = 4;
164
+ REPLACE_TOOL_VARIANT_OPENAI_APPLY_PATCH = 5;
165
+ REPLACE_TOOL_VARIANT_FREEFORM_APPLY_PATCH = 6;
166
+ }
167
+
168
+ enum RunCommandAction {
169
+ RUN_COMMAND_ACTION_UNSPECIFIED = 0;
170
+ RUN_COMMAND_ACTION_CONFIRM = 1;
171
+ RUN_COMMAND_ACTION_REJECT = 2;
172
+ RUN_COMMAND_ACTION_SKIP = 3;
173
+ }
174
+
175
+ enum ReadUrlContentAction {
176
+ READ_URL_CONTENT_ACTION_UNSPECIFIED = 0;
177
+ READ_URL_CONTENT_ACTION_ALLOW_ONCE = 1;
178
+ READ_URL_CONTENT_ACTION_REJECT = 2;
179
+ READ_URL_CONTENT_ACTION_ALWAYS_ALLOW_ORIGIN = 3;
180
+ }
181
+
182
+ enum CortexStepType {
183
+ CORTEX_STEP_TYPE_UNSPECIFIED = 0;
184
+ CORTEX_STEP_TYPE_DUMMY = 1;
185
+ CORTEX_STEP_TYPE_FINISH = 2;
186
+ CORTEX_STEP_TYPE_PLAN_INPUT = 3;
187
+ CORTEX_STEP_TYPE_MQUERY = 4;
188
+ CORTEX_STEP_TYPE_CODE_ACTION = 5;
189
+ CORTEX_STEP_TYPE_GIT_COMMIT = 6;
190
+ CORTEX_STEP_TYPE_GREP_SEARCH = 7;
191
+ CORTEX_STEP_TYPE_VIEW_FILE = 8;
192
+ CORTEX_STEP_TYPE_LIST_DIRECTORY = 9;
193
+ CORTEX_STEP_TYPE_COMPILE = 10;
194
+ CORTEX_STEP_TYPE_INFORM = 11;
195
+ CORTEX_STEP_TYPE_FILE_BREAKDOWN = 12 [deprecated = true];
196
+ CORTEX_STEP_TYPE_VIEW_CODE_ITEM = 13;
197
+ CORTEX_STEP_TYPE_USER_INPUT = 14;
198
+ CORTEX_STEP_TYPE_PLANNER_RESPONSE = 15;
199
+ CORTEX_STEP_TYPE_WRITE_TO_FILE = 16 [deprecated = true];
200
+ CORTEX_STEP_TYPE_ERROR_MESSAGE = 17;
201
+ CORTEX_STEP_TYPE_CLUSTER_QUERY = 18;
202
+ CORTEX_STEP_TYPE_LIST_CLUSTERS = 19;
203
+ CORTEX_STEP_TYPE_INSPECT_CLUSTER = 20;
204
+ CORTEX_STEP_TYPE_RUN_COMMAND = 21;
205
+ CORTEX_STEP_TYPE_RELATED_FILES = 22;
206
+ CORTEX_STEP_TYPE_CHECKPOINT = 23;
207
+ CORTEX_STEP_TYPE_PROPOSE_CODE = 24;
208
+ CORTEX_STEP_TYPE_FIND = 25;
209
+ CORTEX_STEP_TYPE_SEARCH_KNOWLEDGE_BASE = 26 [deprecated = true];
210
+ CORTEX_STEP_TYPE_SUGGESTED_RESPONSES = 27;
211
+ CORTEX_STEP_TYPE_COMMAND_STATUS = 28;
212
+ CORTEX_STEP_TYPE_MEMORY = 29;
213
+ CORTEX_STEP_TYPE_LOOKUP_KNOWLEDGE_BASE = 30 [deprecated = true];
214
+ CORTEX_STEP_TYPE_READ_URL_CONTENT = 31;
215
+ CORTEX_STEP_TYPE_VIEW_CONTENT_CHUNK = 32;
216
+ CORTEX_STEP_TYPE_SEARCH_WEB = 33;
217
+ CORTEX_STEP_TYPE_RETRIEVE_MEMORY = 34;
218
+ CORTEX_STEP_TYPE_AUTO_CASCADE_BROADCAST = 35;
219
+ CORTEX_STEP_TYPE_CUSTOM_TOOL = 36;
220
+ CORTEX_STEP_TYPE_CREATE_RECIPE = 37 [deprecated = true];
221
+ CORTEX_STEP_TYPE_MCP_TOOL = 38;
222
+ CORTEX_STEP_TYPE_MANAGER_FEEDBACK = 39;
223
+ CORTEX_STEP_TYPE_TOOL_CALL_PROPOSAL = 40;
224
+ CORTEX_STEP_TYPE_TOOL_CALL_CHOICE = 41;
225
+ CORTEX_STEP_TYPE_TRAJECTORY_CHOICE = 42;
226
+ CORTEX_STEP_TYPE_PROXY_WEB_SERVER = 43;
227
+ CORTEX_STEP_TYPE_DEPLOY_WEB_APP = 44;
228
+ CORTEX_STEP_TYPE_CLIPBOARD = 45;
229
+ CORTEX_STEP_TYPE_READ_DEPLOYMENT_CONFIG = 46;
230
+ CORTEX_STEP_TYPE_VIEW_FILE_OUTLINE = 47 [deprecated = true];
231
+ CORTEX_STEP_TYPE_CHECK_DEPLOY_STATUS = 48;
232
+ CORTEX_STEP_TYPE_POST_PR_REVIEW = 49;
233
+ CORTEX_STEP_TYPE_READ_KNOWLEDGE_BASE_ITEM = 50;
234
+ CORTEX_STEP_TYPE_LIST_RESOURCES = 51;
235
+ CORTEX_STEP_TYPE_READ_RESOURCE = 52;
236
+ CORTEX_STEP_TYPE_LINT_DIFF = 53;
237
+ CORTEX_STEP_TYPE_FIND_ALL_REFERENCES = 54;
238
+ CORTEX_STEP_TYPE_BRAIN_UPDATE = 55;
239
+ CORTEX_STEP_TYPE_RUN_EXTENSION_CODE = 57;
240
+ CORTEX_STEP_TYPE_ADD_ANNOTATION = 58;
241
+ CORTEX_STEP_TYPE_PROPOSAL_FEEDBACK = 59;
242
+ CORTEX_STEP_TYPE_TRAJECTORY_SEARCH = 60;
243
+ CORTEX_STEP_TYPE_READ_TERMINAL = 65;
244
+ CORTEX_STEP_TYPE_GET_DOM_TREE = 68 [deprecated = true];
245
+ CORTEX_STEP_TYPE_ARTIFACT_SUMMARY = 71 [deprecated = true];
246
+ CORTEX_STEP_TYPE_RESOLVE_TASK = 72;
247
+ CORTEX_STEP_TYPE_TODO_LIST = 73;
248
+ CORTEX_STEP_TYPE_BLOCKING = 74;
249
+ CORTEX_STEP_TYPE_EXPLORE_RESPONSE = 80;
250
+ CORTEX_STEP_TYPE_READ_NOTEBOOK = 82;
251
+ CORTEX_STEP_TYPE_EDIT_NOTEBOOK = 83;
252
+ CORTEX_STEP_TYPE_SUPERCOMPLETE_ACTIVE_DOC = 86;
253
+ CORTEX_STEP_TYPE_FIND_CODE_CONTEXT = 87;
254
+ CORTEX_STEP_TYPE_SUPERCOMPLETE_FEEDBACK = 89;
255
+ CORTEX_STEP_TYPE_LINT_FIX_MESSAGE = 90;
256
+ CORTEX_STEP_TYPE_GREP_SEARCH_V2 = 91;
257
+ CORTEX_STEP_TYPE_UPSERT_CODEMAP = 92;
258
+ CORTEX_STEP_TYPE_SUGGEST_CODEMAP = 93;
259
+ CORTEX_STEP_TYPE_SMART_FRIEND = 94;
260
+ CORTEX_STEP_TYPE_DO_TESTING = 95;
261
+ CORTEX_STEP_TYPE_REPORT_BUGS = 97;
262
+ CORTEX_STEP_TYPE_EXIT_PLAN_MODE = 99;
263
+ CORTEX_STEP_TYPE_ASK_USER_QUESTION = 100;
264
+ CORTEX_STEP_TYPE_SKILL = 101;
265
+ CORTEX_STEP_TYPE_SUPERCOMPLETE_EPHEMERAL_FEEDBACK = 102;
266
+ CORTEX_STEP_TYPE_ARENA_TRAJECTORY_CONVERGE = 103;
267
+ CORTEX_STEP_TYPE_TASK_SUBAGENT = 104;
268
+
269
+ reserved 56;
270
+ reserved 61;
271
+ reserved 62;
272
+ reserved 63;
273
+ reserved 64;
274
+ reserved 66;
275
+ reserved 67;
276
+ reserved 69;
277
+ reserved 70;
278
+ reserved 84;
279
+ reserved 85;
280
+ reserved 88;
281
+ reserved 96;
282
+ reserved 98;
283
+ reserved 75;
284
+ reserved 76;
285
+ reserved 77;
286
+ reserved 78;
287
+ reserved 79;
288
+ reserved 81;
289
+ reserved "CORTEX_STEP_TYPE_DEEP_THINK", "CORTEX_STEP_TYPE_SUPERFLOW_SHOW_USER", "CORTEX_STEP_TYPE_SUPERFLOW_CONTEXT", "CORTEX_STEP_TYPE_CLAUDE_CODE_AGENT", "CORTEX_STEP_TYPE_CLAUDE_CODE_TODO_LIST", "CORTEX_STEP_TYPE_CLAUDE_CODE_GLOB", "CORTEX_STEP_TYPE_CLAUDE_CODE_DONE", "CORTEX_STEP_TYPE_CLAUDE_CODE_RESULT", "CORTEX_STEP_TYPE_CLAUDE_CODE_TOOL_PERMISSION";
290
+ }
291
+
292
+ enum SemanticCodebaseSearchType {
293
+ SEMANTIC_CODEBASE_SEARCH_TYPE_UNSPECIFIED = 0;
294
+ SEMANTIC_CODEBASE_SEARCH_TYPE_MQUERY = 1;
295
+ SEMANTIC_CODEBASE_SEARCH_TYPE_VECTOR_INDEX = 2;
296
+ }
297
+
298
+ enum AcknowledgementType {
299
+ ACKNOWLEDGEMENT_TYPE_UNSPECIFIED = 0;
300
+ ACKNOWLEDGEMENT_TYPE_ACCEPT = 1;
301
+ ACKNOWLEDGEMENT_TYPE_REJECT = 2;
302
+
303
+ reserved 3;
304
+ reserved 4;
305
+ }
306
+
307
+ enum CodeHeuristicFailure {
308
+ CODE_HEURISTIC_FAILURE_UNSPECIFIED = 0;
309
+ CODE_HEURISTIC_FAILURE_LAZY_COMMENT = 1;
310
+ CODE_HEURISTIC_FAILURE_DELETED_LINES = 2;
311
+ }
312
+
313
+ enum InformPlannerMode {
314
+ INFORM_PLANNER_MODE_UNSPECIFIED = 0;
315
+ INFORM_PLANNER_MODE_CCIS = 1;
316
+ INFORM_PLANNER_MODE_DIRECTORY_TREE = 2;
317
+ INFORM_PLANNER_MODE_CLUSTERS = 3;
318
+ }
319
+
320
+ enum FindResultType {
321
+ FIND_RESULT_TYPE_UNSPECIFIED = 0;
322
+ FIND_RESULT_TYPE_FILE = 1;
323
+ FIND_RESULT_TYPE_DIRECTORY = 2;
324
+ FIND_RESULT_TYPE_ANY = 3;
325
+ }
326
+
327
+ enum CortexStepCompileTool {
328
+ CORTEX_STEP_COMPILE_TOOL_UNSPECIFIED = 0;
329
+ CORTEX_STEP_COMPILE_TOOL_PYLINT = 1;
330
+ }
331
+
332
+ enum AutoRunDecision {
333
+ AUTO_RUN_DECISION_UNSPECIFIED = 0;
334
+ AUTO_RUN_DECISION_USER_ALLOW = 1;
335
+ AUTO_RUN_DECISION_USER_DENY = 2;
336
+ AUTO_RUN_DECISION_SYSTEM_ALLOW = 3;
337
+ AUTO_RUN_DECISION_SYSTEM_DENY = 4;
338
+ AUTO_RUN_DECISION_MODEL_ALLOW = 5;
339
+ AUTO_RUN_DECISION_MODEL_DENY = 6;
340
+ AUTO_RUN_DECISION_DEFAULT_ALLOW = 7;
341
+ AUTO_RUN_DECISION_DEFAULT_DENY = 8;
342
+ AUTO_RUN_DECISION_USER_SKIP = 9;
343
+ }
344
+
345
+ enum DeployWebAppFileUploadStatus {
346
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_UNSPECIFIED = 0;
347
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_PENDING = 1;
348
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_IN_PROGRESS = 2;
349
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_SUCCESS = 3;
350
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_FAILURE = 4;
351
+ }
352
+
353
+ enum ExecutorTerminationReason {
354
+ EXECUTOR_TERMINATION_REASON_UNSPECIFIED = 0;
355
+ EXECUTOR_TERMINATION_REASON_ERROR = 1;
356
+ EXECUTOR_TERMINATION_REASON_USER_CANCELED = 2;
357
+ EXECUTOR_TERMINATION_REASON_MAX_INVOCATIONS = 3;
358
+ EXECUTOR_TERMINATION_REASON_NO_TOOL_CALL = 4;
359
+ EXECUTOR_TERMINATION_REASON_HALTED_STEP = 5;
360
+ EXECUTOR_TERMINATION_REASON_HOOK_BLOCKED = 6;
361
+ EXECUTOR_TERMINATION_REASON_ARENA_INVOCATION_CAP = 7;
362
+ }
363
+
364
+ enum LintDiffType {
365
+ LINT_DIFF_TYPE_UNSPECIFIED = 0;
366
+ LINT_DIFF_TYPE_DELETE = 1;
367
+ LINT_DIFF_TYPE_INSERT = 2;
368
+ LINT_DIFF_TYPE_UNCHANGED = 3;
369
+ }
370
+
371
+ enum BrainEntryType {
372
+ BRAIN_ENTRY_TYPE_UNSPECIFIED = 0;
373
+ BRAIN_ENTRY_TYPE_PLAN = 1;
374
+ BRAIN_ENTRY_TYPE_TASK = 2;
375
+
376
+ reserved 3;
377
+ reserved "BRAIN_ENTRY_TYPE_DEEP_THINK";
378
+ }
379
+
380
+ enum TaskStatus {
381
+ TASK_STATUS_UNSPECIFIED = 0;
382
+ TASK_STATUS_TODO = 1;
383
+ TASK_STATUS_IN_PROGRESS = 2;
384
+ TASK_STATUS_DONE = 3;
385
+ }
386
+
387
+ enum TaskDeltaType {
388
+ TASK_DELTA_TYPE_UNSPECIFIED = 0;
389
+ TASK_DELTA_TYPE_ADD = 1;
390
+ TASK_DELTA_TYPE_PRUNE = 2;
391
+ TASK_DELTA_TYPE_DELETE = 3;
392
+ TASK_DELTA_TYPE_UPDATE = 4;
393
+ TASK_DELTA_TYPE_MOVE = 5;
394
+ }
395
+
396
+ enum BrainUpdateTrigger {
397
+ BRAIN_UPDATE_TRIGGER_UNSPECIFIED = 0;
398
+ BRAIN_UPDATE_TRIGGER_SYSTEM_FORCED = 1;
399
+ BRAIN_UPDATE_TRIGGER_USER_REQUESTED = 2;
400
+ BRAIN_UPDATE_TRIGGER_USER_NEW_INFO = 3;
401
+ BRAIN_UPDATE_TRIGGER_RESEARCH_NEW_INFO = 4;
402
+ }
403
+
404
+ enum CommandOutputPriority {
405
+ COMMAND_OUTPUT_PRIORITY_UNSPECIFIED = 0;
406
+ COMMAND_OUTPUT_PRIORITY_TOP = 1;
407
+ COMMAND_OUTPUT_PRIORITY_BOTTOM = 2;
408
+ COMMAND_OUTPUT_PRIORITY_SPLIT = 3;
409
+ }
410
+
411
+ enum CortexMemorySource {
412
+ CORTEX_MEMORY_SOURCE_UNSPECIFIED = 0;
413
+ CORTEX_MEMORY_SOURCE_USER = 1;
414
+ CORTEX_MEMORY_SOURCE_CASCADE = 2;
415
+ CORTEX_MEMORY_SOURCE_AUTO_CASCADE = 3;
416
+ }
417
+
418
+ enum CortexMemoryTrigger {
419
+ CORTEX_MEMORY_TRIGGER_UNSPECIFIED = 0;
420
+ CORTEX_MEMORY_TRIGGER_ALWAYS_ON = 1;
421
+ CORTEX_MEMORY_TRIGGER_MODEL_DECISION = 2;
422
+ CORTEX_MEMORY_TRIGGER_MANUAL = 3;
423
+ CORTEX_MEMORY_TRIGGER_GLOB = 4;
424
+ }
425
+
426
+ enum RuleSource {
427
+ RULE_SOURCE_UNSPECIFIED = 0;
428
+ RULE_SOURCE_WORKSPACE = 1;
429
+ RULE_SOURCE_SYSTEM = 2;
430
+ }
431
+
432
+ enum SkillSource {
433
+ SKILL_SOURCE_UNSPECIFIED = 0;
434
+ SKILL_SOURCE_WORKSPACE = 1;
435
+ SKILL_SOURCE_GLOBAL = 2;
436
+ SKILL_SOURCE_SYSTEM = 3;
437
+ }
438
+
439
+ enum MemoryActionType {
440
+ MEMORY_ACTION_TYPE_UNSPECIFIED = 0;
441
+ MEMORY_ACTION_TYPE_CREATE = 1;
442
+ MEMORY_ACTION_TYPE_UPDATE = 2;
443
+ MEMORY_ACTION_TYPE_DELETE = 3;
444
+ }
445
+
446
+ enum CortexStepManagerFeedbackStatus {
447
+ CORTEX_STEP_MANAGER_FEEDBACK_STATUS_UNSPECIFIED = 0;
448
+ CORTEX_STEP_MANAGER_FEEDBACK_STATUS_APPROVED = 1;
449
+ CORTEX_STEP_MANAGER_FEEDBACK_STATUS_DENIED = 2;
450
+ CORTEX_STEP_MANAGER_FEEDBACK_STATUS_ERROR = 3;
451
+ }
452
+
453
+ enum McpServerStatus {
454
+ MCP_SERVER_STATUS_UNSPECIFIED = 0;
455
+ MCP_SERVER_STATUS_PENDING = 1;
456
+ MCP_SERVER_STATUS_READY = 2;
457
+ MCP_SERVER_STATUS_ERROR = 3;
458
+ MCP_SERVER_STATUS_NEEDS_OAUTH = 4;
459
+ }
460
+
461
+ enum CortexTodoListItemStatus {
462
+ CORTEX_TODO_LIST_ITEM_STATUS_UNSPECIFIED = 0;
463
+ CORTEX_TODO_LIST_ITEM_STATUS_PENDING = 1;
464
+ CORTEX_TODO_LIST_ITEM_STATUS_IN_PROGRESS = 2;
465
+ CORTEX_TODO_LIST_ITEM_STATUS_COMPLETED = 3;
466
+ }
467
+
468
+ enum CortexTodoListItemPriority {
469
+ CORTEX_TODO_LIST_ITEM_PRIORITY_UNSPECIFIED = 0;
470
+ CORTEX_TODO_LIST_ITEM_PRIORITY_LOW = 1;
471
+ CORTEX_TODO_LIST_ITEM_PRIORITY_MEDIUM = 2;
472
+ CORTEX_TODO_LIST_ITEM_PRIORITY_HIGH = 3;
473
+ }
474
+
475
+ enum TrajectoryShareStatus {
476
+ TRAJECTORY_SHARE_STATUS_UNSPECIFIED = 0;
477
+ TRAJECTORY_SHARE_STATUS_TEAM = 1;
478
+ }
479
+
480
+ enum RunExtensionCodeAutoRunDecision {
481
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_UNSPECIFIED = 0;
482
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_ALLOWED = 1;
483
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_DENIED = 2;
484
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_MODEL_ALLOWED = 3;
485
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_MODEL_DENIED = 4;
486
+ }
487
+
488
+ enum TrajectorySearchIdType {
489
+ TRAJECTORY_SEARCH_ID_TYPE_UNSPECIFIED = 0;
490
+ TRAJECTORY_SEARCH_ID_TYPE_CASCADE_ID = 1;
491
+ TRAJECTORY_SEARCH_ID_TYPE_MAINLINE = 2;
492
+ }
493
+
494
+ enum HookAgentAction {
495
+ HOOK_AGENT_ACTION_UNSPECIFIED = 0;
496
+ HOOK_AGENT_ACTION_PRE_READ_CODE = 1;
497
+ HOOK_AGENT_ACTION_POST_READ_CODE = 2;
498
+ HOOK_AGENT_ACTION_PRE_WRITE_CODE = 3;
499
+ HOOK_AGENT_ACTION_POST_WRITE_CODE = 4;
500
+ HOOK_AGENT_ACTION_PRE_MCP_TOOL_USE = 5;
501
+ HOOK_AGENT_ACTION_POST_MCP_TOOL_USE = 6;
502
+ HOOK_AGENT_ACTION_PRE_RUN_COMMAND = 7;
503
+ HOOK_AGENT_ACTION_POST_RUN_COMMAND = 8;
504
+ HOOK_AGENT_ACTION_PRE_USER_PROMPT = 9;
505
+ HOOK_AGENT_ACTION_POST_CASCADE_RESPONSE = 10;
506
+ HOOK_AGENT_ACTION_POST_SETUP_WORKTREE = 11;
507
+ HOOK_AGENT_ACTION_POST_CASCADE_RESPONSE_WITH_TRANSCRIPT = 12;
508
+ }
509
+
510
+ message WorkflowSpec {
511
+ reserved 5;
512
+
513
+ string path = 1;
514
+ string name = 2;
515
+ string description = 3;
516
+ string content = 4;
517
+ .exa.codeium_common_pb.CascadeCommandsAutoExecution execution_mode = 9;
518
+ bool is_builtin = 6;
519
+ .exa.cortex_pb.CortexMemoryScope scope = 7;
520
+ string base_dir = 8;
521
+ bool is_overridden = 10;
522
+ optional string parse_error = 11;
523
+ string uri = 12;
524
+ }
525
+
526
+ message CortexPlanSummaryComponent {
527
+ oneof component {
528
+ string text = 1;
529
+ .exa.codeium_common_pb.ContextScopeItem citation = 2;
530
+ }
531
+ }
532
+
533
+ message CodingStepState {
534
+ string plan_id = 1;
535
+ string goal = 2;
536
+ repeated .exa.cortex_pb.ActionState action_states = 3;
537
+ repeated .exa.cortex_pb.CortexStepOutline outlines = 7;
538
+ repeated .exa.cortex_pb.CortexPlanSummaryComponent summary_components = 8;
539
+ string post_summary_text = 9;
540
+ bool plan_fully_generated = 4;
541
+ bool plan_finished = 5;
542
+ .exa.cortex_pb.PlanDebugInfo debug_info = 6;
543
+ bool plan_summary_confirmed = 10;
544
+ bool plan_summary_fully_generated = 11;
545
+ repeated .exa.context_module_pb.CciWithSubrangeWithRetrievalMetadata cci_list = 12;
546
+ }
547
+
548
+ message CortexPlanState {
549
+ repeated .exa.cortex_pb.CortexStepState steps = 1;
550
+ repeated .exa.cortex_pb.CortexStepOutline outlines = 2;
551
+ uint32 current_step_index = 3;
552
+ .exa.cortex_pb.PlanDebugInfo debug_info = 4;
553
+ }
554
+
555
+ message CortexStepOutline {
556
+ uint32 step_number = 1;
557
+ string action_name = 2;
558
+ string json_args = 3;
559
+ repeated uint32 parent_step_numbers = 4;
560
+ }
561
+
562
+ message CortexStepState {
563
+ oneof step {
564
+ .exa.cortex_pb.CodingStepState coding = 1;
565
+ }
566
+ }
567
+
568
+ message CortexResearchState {
569
+ uint32 total_retrieved_count = 1;
570
+ repeated .exa.codeium_common_pb.CciWithSubrange top_retrieved_items = 2;
571
+ .exa.cortex_pb.ResearchDebugInfo debug_info = 3;
572
+ repeated .exa.codeium_common_pb.CciWithSubrange full_cci_list = 4;
573
+ }
574
+
575
+ message ResearchDebugInfo {
576
+ string query = 1;
577
+ repeated string files_scanned = 2;
578
+ }
579
+
580
+ message CortexWorkflowState {
581
+ .exa.cortex_pb.CortexRequestSource request_source = 6;
582
+ string goal = 1;
583
+ .exa.cortex_pb.PlanInput plan_input = 2;
584
+ .exa.cortex_pb.CortexResearchState research_state = 3;
585
+ .exa.cortex_pb.CortexPlanState plan_state = 4;
586
+ string error = 5;
587
+ }
588
+
589
+ message CortexRunState {
590
+ reserved 4;
591
+ reserved 5;
592
+ reserved "claude_code_permissions", "claude_code_restart_state";
593
+
594
+ .exa.cortex_pb.CortexWorkflowState workflow_state = 1;
595
+ .exa.codeium_common_pb.GraphExecutionState execution_state = 2;
596
+ bool done = 3;
597
+ }
598
+
599
+ message PlanInput {
600
+ string goal = 1;
601
+ repeated string next_steps = 5;
602
+ repeated string target_directories = 2;
603
+ repeated string target_files = 3;
604
+ repeated .exa.codeium_common_pb.ContextScopeItem scope_items = 4;
605
+ }
606
+
607
+ message ActionSpec {
608
+ oneof spec {
609
+ .exa.cortex_pb.ActionSpecCommand command = 1;
610
+ .exa.cortex_pb.ActionSpecCreateFile create_file = 2;
611
+ .exa.cortex_pb.ActionSpecDeleteFile delete_file = 4;
612
+ }
613
+ repeated uint32 parent_step_indices = 3;
614
+ }
615
+
616
+ message ActionSpecCreateFile {
617
+ string instruction = 1;
618
+ .exa.codeium_common_pb.PathScopeItem path = 2;
619
+ repeated .exa.codeium_common_pb.CodeContextItem reference_ccis = 3;
620
+ }
621
+
622
+ message ActionSpecDeleteFile {
623
+ .exa.codeium_common_pb.PathScopeItem path = 1;
624
+ }
625
+
626
+ message LineRangeTarget {
627
+ string absolute_uri = 1;
628
+ uint32 start_line = 2;
629
+ uint32 end_line = 3;
630
+ }
631
+
632
+ message CommandContentTarget {
633
+ string content = 1;
634
+ string absolute_uri = 2;
635
+ }
636
+
637
+ message ReplacementChunk {
638
+ string target_content = 1;
639
+ string replacement_content = 2;
640
+ bool allow_multiple = 3;
641
+ bool target_has_carriage_return = 4;
642
+ repeated string context_lines = 5;
643
+ .exa.cortex_pb.AcknowledgementType acknowledgement_type = 11;
644
+ }
645
+
646
+ message ActionSpecCommand {
647
+ reserved 11;
648
+ reserved 12;
649
+
650
+ string instruction = 1;
651
+ repeated .exa.cortex_pb.ReplacementChunk replacement_chunks = 9;
652
+ bool is_edit = 2;
653
+ bool use_fast_apply = 8;
654
+ oneof target {
655
+ .exa.codeium_common_pb.CodeContextItem code_context = 3;
656
+ .exa.codeium_common_pb.PathScopeItem file = 4;
657
+ .exa.codeium_common_pb.CciWithSubrange cci_with_subrange = 6;
658
+ .exa.cortex_pb.LineRangeTarget line_range = 7;
659
+ .exa.cortex_pb.CommandContentTarget content_target = 10;
660
+ }
661
+ repeated .exa.codeium_common_pb.CodeContextItem reference_ccis = 5;
662
+ }
663
+
664
+ message ActionState {
665
+ string step_id = 5;
666
+ .exa.cortex_pb.ActionStatus status = 1;
667
+ .exa.cortex_pb.ActionSpec spec = 2;
668
+ .exa.cortex_pb.ActionResult result = 3;
669
+ string error = 4;
670
+ uint32 step_version = 6;
671
+ uint32 plan_version = 7;
672
+ }
673
+
674
+ message ActionResult {
675
+ oneof result {
676
+ .exa.cortex_pb.ActionResultEdit edit = 1;
677
+ }
678
+ bool apply_existing_result = 2;
679
+ }
680
+
681
+ message ActionDebugInfo {
682
+ message DebugInfoEntry {
683
+ string key = 1;
684
+ string value = 2;
685
+ }
686
+
687
+ repeated .exa.cortex_pb.ActionDebugInfo.DebugInfoEntry entries = 1;
688
+ }
689
+
690
+ message ActionResultEdit {
691
+ reserved 13;
692
+ reserved "replacement_chunk_errors";
693
+
694
+ string absolute_path_migrate_me_to_uri = 1 [deprecated = true];
695
+ .exa.diff_action_pb.DiffBlock diff = 2;
696
+ string context_prefix = 3;
697
+ string context_suffix = 4;
698
+ .exa.cortex_pb.ActionDebugInfo debug_info = 5;
699
+ string prompt_id = 12;
700
+ string completion_id = 6;
701
+ string file_content_hash = 7;
702
+ string absolute_uri = 8;
703
+ repeated .exa.codeium_common_pb.CodeContextItem result_ccis = 9;
704
+ string original_content = 10;
705
+ bool create_file = 11;
706
+ string new_content = 14;
707
+ }
708
+
709
+ message RetrievalStatus {
710
+ uint32 total_retrieved_count = 1;
711
+ repeated .exa.codeium_common_pb.CciWithSubrange top_retrieved_items = 2;
712
+ }
713
+
714
+ message PlanState {
715
+ .exa.cortex_pb.PlanStatus status = 4;
716
+ string plan_id = 1;
717
+ .exa.cortex_pb.PlanInput plan_input = 2;
718
+ repeated .exa.cortex_pb.ActionState actions = 3;
719
+ .exa.cortex_pb.RetrievalStatus retrieval_status = 6;
720
+ string error = 5;
721
+ .exa.cortex_pb.PlanDebugInfo debug_info = 7;
722
+ }
723
+
724
+ message PlanDebugInfo {
725
+ string raw_response = 1;
726
+ uint32 plan_tokens = 2;
727
+ float plan_cost = 3;
728
+ string system_prompt = 4;
729
+ repeated .exa.chat_pb.ChatMessagePrompt message_prompts = 5;
730
+ }
731
+
732
+ message CortexPlanConfig {
733
+ .exa.codeium_common_pb.ChatNodeConfig model_config = 1;
734
+ uint32 max_nominal_continuations = 2;
735
+ uint32 max_error_continuations = 3;
736
+ }
737
+
738
+ message CortexConfig {
739
+ bool record_telemetry = 11;
740
+ bool add_distill_node = 6 [deprecated = true];
741
+ .exa.codeium_common_pb.ChatNodeConfig distill_config = 10;
742
+ .exa.codeium_common_pb.MQueryConfig m_query_config = 8;
743
+ string m_query_model_name = 12;
744
+ bool use_macro_planner = 1 [deprecated = true];
745
+ .exa.cortex_pb.CortexPlanConfig macro_plan_config = 4;
746
+ .exa.cortex_pb.PlanConfig plan_config = 9;
747
+ .exa.cortex_pb.CortexPlanConfig code_plan_config = 5;
748
+ bool auto_prepare_apply = 2;
749
+ uint32 num_prepare_retries = 3;
750
+ }
751
+
752
+ message PlanConfig {
753
+ reserved 6;
754
+ reserved "no_augment_command";
755
+
756
+ string plan_model_name = 1;
757
+ uint32 max_tokens_per_plan = 2;
758
+ float max_token_fraction = 3;
759
+ float chat_temperature = 4;
760
+ uint64 chat_completion_max_tokens = 5;
761
+ bool augment_command = 9;
762
+ .exa.codeium_common_pb.ExperimentConfig experiment_config = 7;
763
+ .exa.codeium_common_pb.MQueryConfig m_query_config = 8;
764
+ }
765
+
766
+ message CortexPlanSummary {
767
+ string cortex_id = 1;
768
+ .exa.cortex_pb.PlanInput plan_input = 2;
769
+ .google.protobuf.Timestamp created_at = 3;
770
+ bool done = 4;
771
+ }
772
+
773
+ message WorkspaceInitializationData {
774
+ .exa.cortex_pb.CortexWorkspaceMetadata metadata = 1;
775
+ string merge_base_commit_hash = 2;
776
+ optional string merge_base_head_patch_string = 3;
777
+ optional string head_working_patch_string = 4;
778
+ .exa.codeium_common_pb.WorkspaceStats workspace_stats = 5;
779
+ bool repo_is_public = 6;
780
+ }
781
+
782
+ message StateInitializationData {
783
+ .google.protobuf.Timestamp timestamp = 1;
784
+ string state_id = 2;
785
+ repeated .exa.cortex_pb.WorkspaceInitializationData workspaces = 3;
786
+ }
787
+
788
+ message CortexWorkspaceMetadata {
789
+ string workspace_folder_absolute_uri = 1;
790
+ string git_root_absolute_uri = 2;
791
+ .exa.codeium_common_pb.Repository repository = 3;
792
+ string branch_name = 4;
793
+ }
794
+
795
+ message CortexTrajectoryMetadata {
796
+ repeated .exa.cortex_pb.CortexWorkspaceMetadata workspaces = 1;
797
+ .google.protobuf.Timestamp created_at = 2;
798
+ string initialization_state_id = 3;
799
+ string experiment_tags = 4;
800
+ }
801
+
802
+ message CortexTrajectory {
803
+ reserved 11;
804
+ reserved 12;
805
+ reserved 19;
806
+ reserved "claude_code_session_id", "is_claude_code", "devin_session";
807
+
808
+ string trajectory_id = 1;
809
+ string cascade_id = 6;
810
+ .exa.cortex_pb.CortexTrajectoryType trajectory_type = 4;
811
+ repeated .exa.cortex_pb.CortexTrajectoryStep steps = 2;
812
+ repeated .exa.cortex_pb.CortexTrajectoryReference parent_references = 5;
813
+ repeated .exa.cortex_pb.CortexStepGeneratorMetadata generator_metadata = 3;
814
+ repeated .exa.cortex_pb.ExecutorMetadata executor_metadatas = 9;
815
+ .exa.cortex_pb.CortexTrajectorySource source = 8;
816
+ .exa.cortex_pb.CortexTrajectoryMetadata metadata = 7;
817
+ optional string renamed_title = 10;
818
+ optional bytes virtual_fs_serialized_overlay = 13;
819
+ uint32 diff_lines_added = 14;
820
+ uint32 diff_lines_removed = 15;
821
+ optional string arena_id = 16;
822
+ repeated .exa.cortex_pb.QueuedMessage message_queue = 17;
823
+ optional string git_worktree_path = 18 [deprecated = true];
824
+ repeated string git_worktree_paths = 22;
825
+ optional .exa.cortex_pb.ArenaModeInfo arena_mode_info = 20;
826
+ optional .exa.codeium_common_pb.ConversationalPlannerMode conversational_mode = 21;
827
+ repeated .exa.cortex_pb.WorktreeMergeSnapshot worktree_merges = 23;
828
+ optional .exa.cortex_pb.ModelAssignmentInfo model_assignment_info = 24;
829
+ }
830
+
831
+ message ModelAssignmentInfo {
832
+ string assignment_jwt = 1;
833
+ string assigned_model_uid = 2;
834
+ string harness_uid = 3;
835
+ string model_router_uid = 4;
836
+ .google.protobuf.Timestamp assigned_at = 5;
837
+ }
838
+
839
+ message ArenaModeInfo {
840
+ reserved 2;
841
+ reserved "arena_tier";
842
+
843
+ optional bool is_random_mode = 1;
844
+ optional string agent_name = 3;
845
+ optional string arena_assignment_jwt = 4;
846
+ optional string arena_model_uid = 5;
847
+ optional string harness_uid = 6;
848
+ optional string assigned_model_uid = 7;
849
+ }
850
+
851
+ message CortexTrajectoryStepWithIndex {
852
+ .exa.cortex_pb.CortexTrajectoryStep step = 1;
853
+ uint32 step_index = 2;
854
+ }
855
+
856
+ message GlobalBackgroundCommand {
857
+ string command_id = 1;
858
+ string trajectory_id = 2;
859
+ uint32 step_index = 3;
860
+ string command_line = 4;
861
+ .exa.cortex_pb.CortexStepStatus status = 5;
862
+ .google.protobuf.Timestamp created_at = 6;
863
+ .google.protobuf.Timestamp last_updated_at = 7;
864
+ string terminal_id = 8;
865
+ }
866
+
867
+ message QueuedMessage {
868
+ string queue_id = 1;
869
+ .exa.codeium_common_pb.Metadata metadata = 2;
870
+ .exa.cortex_pb.CortexTrajectoryStep user_input_step = 3;
871
+ .exa.cortex_pb.CascadeConfig override_config = 4;
872
+ }
873
+
874
+ message CascadeTrajectorySummary {
875
+ reserved 6;
876
+ reserved 15;
877
+ reserved 27;
878
+ reserved "is_claude_code", "referenced_context_items";
879
+
880
+ string summary = 1;
881
+ uint32 step_count = 2;
882
+ .google.protobuf.Timestamp last_modified_time = 3;
883
+ string trajectory_id = 4;
884
+ .exa.cortex_pb.CascadeRunStatus status = 5;
885
+ .google.protobuf.Timestamp created_time = 7;
886
+ repeated .exa.cortex_pb.CortexTrajectoryStepWithIndex waiting_steps = 8;
887
+ repeated .exa.cortex_pb.CortexWorkspaceMetadata workspaces = 9;
888
+ .google.protobuf.Timestamp last_user_input_time = 10;
889
+ optional string renamed_title = 11;
890
+ repeated .exa.cortex_pb.GlobalBackgroundCommand background_commands = 12;
891
+ optional .exa.cortex_pb.LastTodoListStepInfo last_todo_list_step = 13;
892
+ bool errored = 14;
893
+ uint32 diff_lines_added = 16;
894
+ uint32 diff_lines_removed = 17;
895
+ optional string arena_id = 18;
896
+ bool hidden = 19;
897
+ uint32 queue_size = 20;
898
+ optional string git_worktree_path = 21 [deprecated = true];
899
+ repeated string git_worktree_paths = 28;
900
+ .exa.cortex_pb.CortexTrajectoryType trajectory_type = 22;
901
+ .exa.cortex_pb.CortexTrajectorySource trajectory_source = 23;
902
+ optional .exa.codeium_common_pb.Model last_generator_model_deprecated = 24 [deprecated = true];
903
+ optional .exa.cortex_pb.ArenaModeInfo arena_mode_info = 25;
904
+ optional string last_generator_model_uid = 26;
905
+ repeated string referenced_files = 29;
906
+ bool is_archived = 30;
907
+ }
908
+
909
+ message LastTodoListStepInfo {
910
+ repeated .exa.cortex_pb.CortexTodoListItem todos = 1;
911
+ uint32 step_index = 2;
912
+ }
913
+
914
+ message CascadeTrajectorySummaries {
915
+ map<string, .exa.cortex_pb.CascadeTrajectorySummary> summaries = 1;
916
+ }
917
+
918
+ message CortexTrajectoryReference {
919
+ string trajectory_id = 1;
920
+ .exa.cortex_pb.CortexTrajectoryType trajectory_type = 3;
921
+ int32 step_index = 2;
922
+ .exa.cortex_pb.CortexStepType step_type = 4;
923
+ bool force_billable = 5;
924
+ }
925
+
926
+ message ImplicitTrajectory {
927
+ reserved 2;
928
+ reserved 3;
929
+ reserved 4;
930
+ reserved 6;
931
+ reserved 7;
932
+ reserved "background_research", "mainline_step_count_at_last_research", "workspace_uri", "git_root_uri", "branch_name";
933
+
934
+ .exa.cortex_pb.CortexTrajectory trajectory = 1;
935
+ .exa.cortex_pb.TrajectoryScope trajectory_scope = 5;
936
+ }
937
+
938
+ message ImplicitTrajectoryDescription {
939
+ string trajectory_id = 1;
940
+ .exa.cortex_pb.TrajectoryScope trajectory_scope = 2;
941
+ bool current = 3;
942
+ }
943
+
944
+ message CortexStepGeneratorMetadata {
945
+ repeated uint32 step_indices = 2;
946
+ oneof metadata {
947
+ .exa.cortex_pb.ChatModelMetadata chat_model = 1;
948
+ }
949
+ .exa.cortex_pb.CascadePlannerConfig planner_config = 3;
950
+ string execution_id = 4;
951
+ string error = 5;
952
+ .exa.cortex_pb.ParallelRolloutGeneratorMetadata parallel_rollout_generator_metadata = 6;
953
+ bool arena_cap_reached = 7;
954
+ }
955
+
956
+ message ParallelRolloutGeneratorMetadata {
957
+ string guide_judgement_trajectory_id = 1;
958
+ .exa.cortex_pb.CortexStepTrajectoryChoice guide_choice_step = 2;
959
+ }
960
+
961
+ message MessagePromptMetadata {
962
+ uint32 message_index = 1;
963
+ uint32 segment_index = 2;
964
+ }
965
+
966
+ message ChatModelMetadata {
967
+ string system_prompt = 1;
968
+ repeated .exa.chat_pb.ChatMessagePrompt message_prompts = 2;
969
+ repeated .exa.cortex_pb.MessagePromptMetadata message_metadata = 10;
970
+ .exa.codeium_common_pb.Model model_deprecated = 3 [deprecated = true];
971
+ string model_uid = 15;
972
+ .exa.codeium_common_pb.ModelUsageStats usage = 4;
973
+ float model_cost = 5;
974
+ uint32 last_cache_index = 6;
975
+ .exa.chat_pb.ChatToolChoice tool_choice = 7;
976
+ repeated .exa.chat_pb.ChatToolDefinition tools = 8;
977
+ .exa.cortex_pb.ChatStartMetadata chat_start_metadata = 9;
978
+ .google.protobuf.Duration time_to_first_token = 11;
979
+ .google.protobuf.Duration streaming_duration = 12;
980
+ int32 credit_cost = 13;
981
+ uint32 retries = 14;
982
+ double acu_cost = 16;
983
+ optional int64 quota_cost_basis_points = 18;
984
+ optional int64 overage_cost_cents = 19;
985
+ repeated .exa.codeium_common_pb.ResponseDimensionGroup response_dimension_groups = 20;
986
+ }
987
+
988
+ message CacheBreakpointMetadata {
989
+ uint32 index = 1;
990
+ .exa.chat_pb.PromptCacheOptions options = 2;
991
+ string content_checksum = 3;
992
+ }
993
+
994
+ message ChatStartMetadata {
995
+ .google.protobuf.Timestamp created_at = 4;
996
+ uint32 start_step_index = 1;
997
+ int32 checkpoint_index = 2;
998
+ repeated uint32 steps_covered_by_checkpoint = 3;
999
+ int32 latest_stable_message_index = 5;
1000
+ repeated .exa.cortex_pb.CacheBreakpointMetadata cache_breakpoints = 6;
1001
+ .exa.cortex_pb.CacheBreakpointMetadata system_prompt_cache = 7;
1002
+ .google.protobuf.Duration time_since_last_invocation = 8;
1003
+ .exa.cortex_pb.CacheRequestOptions cache_request = 9;
1004
+ }
1005
+
1006
+ message CacheRequestOptions {
1007
+ bool enabled = 1;
1008
+ repeated uint32 cache_breakpoint_indices = 2;
1009
+ }
1010
+
1011
+ message CortexStepMetadata {
1012
+ reserved 2;
1013
+
1014
+ uint32 step_generation_version = 21;
1015
+ .google.protobuf.Timestamp created_at = 1;
1016
+ .google.protobuf.Timestamp viewable_at = 6;
1017
+ .google.protobuf.Timestamp finished_generating_at = 7;
1018
+ .google.protobuf.Timestamp last_completed_chunk_at = 22;
1019
+ .google.protobuf.Timestamp completed_at = 8;
1020
+ .exa.cortex_pb.CortexStepSource source = 3;
1021
+ .exa.codeium_common_pb.ChatToolCall tool_call = 4;
1022
+ repeated string arguments_order = 5;
1023
+ .exa.codeium_common_pb.ModelUsageStats model_usage = 9;
1024
+ float model_cost = 10;
1025
+ .exa.codeium_common_pb.Model generator_model_deprecated = 11 [deprecated = true];
1026
+ .exa.codeium_common_pb.ModelOrAlias requested_model_deprecated = 13 [deprecated = true];
1027
+ string generator_model_uid = 27;
1028
+ string requested_model_uid = 28;
1029
+ string execution_id = 12;
1030
+ int32 flow_credits_used = 14 [deprecated = true];
1031
+ int32 prompt_credits_used = 15;
1032
+ .exa.codeium_common_pb.ConversationalPlannerMode planner_mode = 26;
1033
+ repeated .exa.cortex_pb.CortexStepCreditReason non_standard_credit_reasons = 18 [deprecated = true];
1034
+ repeated .exa.codeium_common_pb.ChatToolCall tool_call_choices = 16;
1035
+ string tool_call_choice_reason = 17;
1036
+ .exa.cortex_pb.CortexRequestSource cortex_request_source = 19;
1037
+ int32 tool_call_output_tokens = 23;
1038
+ .exa.cortex_pb.SourceTrajectoryStepInfo source_trajectory_step_info = 20;
1039
+ string request_id = 24;
1040
+ uint64 cumulative_tokens_at_step = 25;
1041
+ double acu_cost = 29;
1042
+ optional int64 quota_cost_basis_points = 30;
1043
+ optional int64 overage_cost_cents = 31;
1044
+ uint64 input_tokens = 32;
1045
+ uint64 cache_read_tokens = 33;
1046
+ .google.protobuf.Timestamp usage_timestamp = 34;
1047
+ repeated .exa.codeium_common_pb.ResponseDimensionGroup response_dimension_groups = 35;
1048
+ }
1049
+
1050
+ message SourceTrajectoryStepInfo {
1051
+ string trajectory_id = 1;
1052
+ uint32 step_index = 2;
1053
+ uint32 metadata_index = 3;
1054
+ string cascade_id = 4;
1055
+ }
1056
+
1057
+ message CortexStepUpdate {
1058
+ uint32 step_index = 1;
1059
+ .exa.cortex_pb.CortexTrajectoryStep step = 2;
1060
+ .exa.cortex_pb.CortexStepStatus status = 3;
1061
+ .exa.cortex_pb.UserStepAnnotations user_annotations = 4;
1062
+ }
1063
+
1064
+ message WindsurfSetting {
1065
+ string setting_id = 1;
1066
+ string setting_name = 2;
1067
+ }
1068
+
1069
+ message StructuredErrorPart {
1070
+ oneof part {
1071
+ string text = 1;
1072
+ string file_uri = 2;
1073
+ string directory_uri = 3;
1074
+ string url = 4;
1075
+ string code_text = 5;
1076
+ .exa.cortex_pb.WindsurfSetting windsurf_setting = 6;
1077
+ }
1078
+ }
1079
+
1080
+ message CortexErrorDetails {
1081
+ string user_error_message = 1;
1082
+ repeated .exa.cortex_pb.StructuredErrorPart structured_error_parts = 8;
1083
+ string short_error = 2;
1084
+ string full_error = 3;
1085
+ bool is_benign = 4;
1086
+ uint32 error_code = 7;
1087
+ string details = 5;
1088
+ string error_id = 6;
1089
+ }
1090
+
1091
+ message UserStepSnapshot {
1092
+ string name = 1;
1093
+ }
1094
+
1095
+ message UserStepAnnotations {
1096
+ .exa.cortex_pb.UserStepSnapshot snapshot = 1;
1097
+ }
1098
+
1099
+ message CortexTrajectoryStep {
1100
+ reserved 2;
1101
+ reserved 3;
1102
+ reserved 18;
1103
+ reserved 82;
1104
+ reserved 67;
1105
+ reserved 73;
1106
+ reserved 74;
1107
+ reserved 75;
1108
+ reserved 76;
1109
+ reserved 78;
1110
+ reserved 79;
1111
+ reserved 80;
1112
+ reserved 81;
1113
+ reserved 102;
1114
+ reserved 110;
1115
+ reserved 111;
1116
+ reserved 113;
1117
+ reserved 89;
1118
+ reserved 90;
1119
+ reserved 91;
1120
+ reserved 92;
1121
+ reserved 93;
1122
+ reserved 95;
1123
+ reserved "open_browser_url", "execute_browser_javascript", "list_browser_pages", "capture_browser_screenshot", "click_browser_pixel", "capture_browser_console_logs", "read_browser_page", "query_browser_page_for_pixel", "get_dom_tree", "superflow_show_user", "superflow_context", "claude_code_agent", "claude_code_todo_list", "claude_code_glob", "claude_code_done", "claude_code_result", "claude_code_tool_permission", "do_testing";
1124
+
1125
+ .exa.cortex_pb.CortexStepType type = 1;
1126
+ .exa.cortex_pb.CortexStepStatus status = 4;
1127
+ .exa.cortex_pb.CortexStepMetadata metadata = 5;
1128
+ .exa.cortex_pb.CortexErrorDetails error = 31;
1129
+ .exa.cortex_pb.ExecutionAsyncLevel async_level_override = 33 [deprecated = true];
1130
+ .exa.cortex_pb.RequestedInteraction requested_interaction = 56;
1131
+ .exa.cortex_pb.UserStepAnnotations user_annotations = 69;
1132
+ repeated .exa.cortex_pb.HookExecutionDetail pre_tool_use_hooks = 85;
1133
+ repeated .exa.cortex_pb.HookExecutionDetail post_tool_use_hooks = 86;
1134
+ optional bool shield_from_cancellation = 109;
1135
+ oneof step {
1136
+ .exa.cortex_pb.CortexStepDummy dummy = 7;
1137
+ .exa.cortex_pb.CortexStepFinish finish = 12;
1138
+ .exa.cortex_pb.CortexStepPlanInput plan_input = 8;
1139
+ .exa.cortex_pb.CortexStepMquery mquery = 9;
1140
+ .exa.cortex_pb.CortexStepCodeAction code_action = 10;
1141
+ .exa.cortex_pb.CortexStepGitCommit git_commit = 11;
1142
+ .exa.cortex_pb.CortexStepGrepSearch grep_search = 13;
1143
+ .exa.cortex_pb.CortexStepViewFile view_file = 14;
1144
+ .exa.cortex_pb.CortexStepListDirectory list_directory = 15;
1145
+ .exa.cortex_pb.CortexStepCompile compile = 16;
1146
+ .exa.cortex_pb.CortexStepInformPlanner inform_planner = 17;
1147
+ .exa.cortex_pb.CortexStepUserInput user_input = 19;
1148
+ .exa.cortex_pb.CortexStepPlannerResponse planner_response = 20;
1149
+ .exa.cortex_pb.CortexStepFileBreakdown file_breakdown = 21;
1150
+ .exa.cortex_pb.CortexStepViewCodeItem view_code_item = 22;
1151
+ .exa.cortex_pb.CortexStepWriteToFile write_to_file = 23 [deprecated = true];
1152
+ .exa.cortex_pb.CortexStepErrorMessage error_message = 24;
1153
+ .exa.cortex_pb.CortexStepClusterQuery cluster_query = 25;
1154
+ .exa.cortex_pb.CortexStepListClusters list_clusters = 26;
1155
+ .exa.cortex_pb.CortexStepInspectCluster inspect_cluster = 27;
1156
+ .exa.cortex_pb.CortexStepRunCommand run_command = 28;
1157
+ .exa.cortex_pb.CortexStepRelatedFiles related_files = 29;
1158
+ .exa.cortex_pb.CortexStepCheckpoint checkpoint = 30;
1159
+ .exa.cortex_pb.CortexStepProposeCode propose_code = 32;
1160
+ .exa.cortex_pb.CortexStepFind find = 34;
1161
+ .exa.cortex_pb.CortexStepSearchKnowledgeBase search_knowledge_base = 35;
1162
+ .exa.cortex_pb.CortexStepSuggestedResponses suggested_responses = 36;
1163
+ .exa.cortex_pb.CortexStepCommandStatus command_status = 37;
1164
+ .exa.cortex_pb.CortexStepMemory memory = 38;
1165
+ .exa.cortex_pb.CortexStepLookupKnowledgeBase lookup_knowledge_base = 39;
1166
+ .exa.cortex_pb.CortexStepReadUrlContent read_url_content = 40;
1167
+ .exa.cortex_pb.CortexStepViewContentChunk view_content_chunk = 41;
1168
+ .exa.cortex_pb.CortexStepSearchWeb search_web = 42;
1169
+ .exa.cortex_pb.CortexStepRetrieveMemory retrieve_memory = 43;
1170
+ .exa.cortex_pb.CortexStepAutoCascadeBroadcast auto_cascade_broadcast = 44;
1171
+ .exa.cortex_pb.CortexStepCustomTool custom_tool = 45;
1172
+ .exa.cortex_pb.CortexStepCreateRecipe create_recipe = 46 [deprecated = true];
1173
+ .exa.cortex_pb.CortexStepMcpTool mcp_tool = 47;
1174
+ .exa.cortex_pb.CortexStepManagerFeedback manager_feedback = 48;
1175
+ .exa.cortex_pb.CortexStepToolCallProposal tool_call_proposal = 49;
1176
+ .exa.cortex_pb.CortexStepToolCallChoice tool_call_choice = 50;
1177
+ .exa.cortex_pb.CortexStepTrajectoryChoice trajectory_choice = 52;
1178
+ .exa.cortex_pb.CortexStepProxyWebServer proxy_web_server = 53;
1179
+ .exa.cortex_pb.CortexStepDeployWebApp deploy_web_app = 54;
1180
+ .exa.cortex_pb.CortexStepClipboard clipboard = 55;
1181
+ .exa.cortex_pb.CortexStepReadDeploymentConfig read_deployment_config = 57;
1182
+ .exa.cortex_pb.CortexStepViewFileOutline view_file_outline = 58 [deprecated = true];
1183
+ .exa.cortex_pb.CortexStepCheckDeployStatus check_deploy_status = 59;
1184
+ .exa.cortex_pb.CortexStepPostPrReview post_pr_review = 60;
1185
+ .exa.cortex_pb.CortexStepReadKnowledgeBaseItem read_knowledge_base_item = 61;
1186
+ .exa.cortex_pb.CortexStepListResources list_resources = 62;
1187
+ .exa.cortex_pb.CortexStepReadResource read_resource = 63;
1188
+ .exa.cortex_pb.CortexStepLintDiff lint_diff = 64;
1189
+ .exa.cortex_pb.CortexStepFindAllReferences find_all_references = 65;
1190
+ .exa.cortex_pb.CortexStepBrainUpdate brain_update = 66;
1191
+ .exa.cortex_pb.CortexStepRunExtensionCode run_extension_code = 68 [deprecated = true];
1192
+ .exa.cortex_pb.CortexStepAddAnnotation add_annotation = 70;
1193
+ .exa.cortex_pb.CortexStepProposalFeedback proposal_feedback = 71;
1194
+ .exa.cortex_pb.CortexStepTrajectorySearch trajectory_search = 72;
1195
+ .exa.cortex_pb.CortexStepReadTerminal read_terminal = 77;
1196
+ .exa.cortex_pb.CortexStepArtifactSummary artifact_summary = 83;
1197
+ .exa.cortex_pb.CortexStepResolveTask resolve_task = 84;
1198
+ .exa.cortex_pb.CortexStepTodoList todo_list = 87;
1199
+ .exa.cortex_pb.CortexStepBlocking blocking = 88;
1200
+ .exa.cortex_pb.CortexStepExploreResponse explore_response = 94;
1201
+ .exa.cortex_pb.CortexStepReadNotebook read_notebook = 96;
1202
+ .exa.cortex_pb.CortexStepEditNotebook edit_notebook = 97;
1203
+ .exa.cortex_pb.CortexStepCodeMap code_map = 98 [deprecated = true];
1204
+ .exa.cortex_pb.CortexStepEditCodeMap edit_code_map = 99 [deprecated = true];
1205
+ .exa.cortex_pb.CortexStepSupercompleteActiveDoc supercomplete_active_doc = 100;
1206
+ .exa.cortex_pb.CortexStepFindCodeContext find_code_context = 101;
1207
+ .exa.cortex_pb.CortexStepSupercompleteFeedback supercomplete_feedback = 103;
1208
+ .exa.cortex_pb.CortexStepLintFixMessage lint_fix_message = 104;
1209
+ .exa.cortex_pb.CortexStepGrepSearchV2 grep_search_v2 = 105;
1210
+ .exa.cortex_pb.CortexStepUpsertCodemap upsert_codemap = 106;
1211
+ .exa.cortex_pb.CortexStepSuggestCodemap suggest_codemap = 107;
1212
+ .exa.cortex_pb.CortexStepSmartFriend smart_friend = 108;
1213
+ .exa.cortex_pb.CortexStepReportBugs report_bugs = 112;
1214
+ .exa.cortex_pb.CortexStepExitPlanMode exit_plan_mode = 114;
1215
+ .exa.cortex_pb.CortexStepAskUserQuestion ask_user_question = 115;
1216
+ .exa.cortex_pb.CortexStepSkill skill = 116;
1217
+ .exa.cortex_pb.CortexStepSupercompleteEphemeralFeedback supercomplete_ephemeral_feedback = 117;
1218
+ .exa.cortex_pb.CortexStepArenaTrajectoryConverge arena_trajectory_converge = 118;
1219
+ .exa.cortex_pb.CortexStepTaskSubagent task_subagent = 119;
1220
+ }
1221
+ .exa.cortex_pb.CortexTrajectory subtrajectory = 6;
1222
+ repeated .exa.cortex_pb.CortexTrajectory subtrajectories = 51;
1223
+ }
1224
+
1225
+ message TrajectoryScope {
1226
+ string workspace_uri = 1;
1227
+ string git_root_uri = 2;
1228
+ string branch_name = 3;
1229
+ }
1230
+
1231
+ message CascadeExecutorConfig {
1232
+ optional bool disable_async = 1;
1233
+ int32 max_generator_invocations = 2;
1234
+ repeated .exa.cortex_pb.CortexStepType terminal_step_types = 3;
1235
+ optional bool run_pending_steps = 4;
1236
+ optional bool hold_for_valid_checkpoint = 5;
1237
+ int32 hold_for_valid_checkpoint_timeout = 6;
1238
+ bool research_only = 7;
1239
+ optional bool use_aggressive_snapshotting = 8;
1240
+ bool enable_background_linting = 9;
1241
+ int32 max_lint_injection_count = 10;
1242
+ }
1243
+
1244
+ message ForcedBrainUpdateConfig {
1245
+ optional float update_sample_rate = 1;
1246
+ }
1247
+
1248
+ message DynamicBrainUpdateConfig {
1249
+ bool use_aggressive_prompt = 1 [deprecated = true];
1250
+ }
1251
+
1252
+ message BrainUpdateStrategy {
1253
+ reserved 4;
1254
+
1255
+ oneof strategy {
1256
+ .google.protobuf.Empty executor_forced = 2;
1257
+ .exa.cortex_pb.ForcedBrainUpdateConfig invocation_forced = 3;
1258
+ .exa.cortex_pb.DynamicBrainUpdateConfig dynamic_update = 6;
1259
+ .google.protobuf.Empty executor_forced_and_with_discretion = 5;
1260
+ }
1261
+ }
1262
+
1263
+ message BrainConfig {
1264
+ reserved 3;
1265
+
1266
+ optional bool enabled = 1;
1267
+ .exa.codeium_common_pb.Model brain_model_deprecated = 2 [deprecated = true];
1268
+ string brain_model_uid = 14;
1269
+ optional bool use_main_model_as_brain_model = 13;
1270
+ optional bool force_no_explanation = 4;
1271
+ .exa.cortex_pb.BrainFilterStrategy filter_strategy = 5;
1272
+ .exa.cortex_pb.BrainUpdateStrategy update_strategy = 6;
1273
+ optional bool use_replace_content_for_updates = 7;
1274
+ optional bool condense_trajectory_messages = 8;
1275
+ optional uint32 recent_update_tool_threshold = 9;
1276
+ optional uint32 stale_update_tool_threshold = 10;
1277
+ string additional_ephemeral_prompt = 11;
1278
+ optional bool use_rules_in_subagent = 12;
1279
+ }
1280
+
1281
+ message ParallelRolloutConfig {
1282
+ int32 num_parallel_rollouts = 1;
1283
+ uint32 max_invocations_per_rollout = 2;
1284
+ .exa.codeium_common_pb.Model guide_model_deprecated = 3 [deprecated = true];
1285
+ string guide_model_uid = 6;
1286
+ int32 max_guide_invocations = 4;
1287
+ bool force_bad_rollout = 5;
1288
+ }
1289
+
1290
+ message CascadeHooks {
1291
+ repeated .exa.cortex_pb.CascadeHook hooks = 1;
1292
+ }
1293
+
1294
+ message CascadeConfig {
1295
+ .exa.cortex_pb.CascadePlannerConfig planner_config = 1;
1296
+ .exa.cortex_pb.CheckpointConfig checkpoint_config = 2;
1297
+ .exa.cortex_pb.CascadeExecutorConfig executor_config = 3;
1298
+ .exa.cortex_pb.TrajectoryConversionConfig trajectory_conversion_config = 4;
1299
+ .exa.cortex_pb.MemoryConfig memory_config = 5;
1300
+ .exa.cortex_pb.BrainConfig brain_config = 7;
1301
+ optional bool apply_model_default_override = 6;
1302
+ .exa.cortex_pb.ParallelRolloutConfig parallel_rollout_config = 8;
1303
+ repeated .exa.cortex_pb.CascadeHook hooks = 9;
1304
+ optional string override_harness_uid = 10;
1305
+ }
1306
+
1307
+ message TrajectoryConversionConfig {
1308
+ optional bool use_tool_format = 1;
1309
+ optional bool include_input_step = 2;
1310
+ optional bool group_tools_with_planner_response = 3;
1311
+ repeated .exa.cortex_pb.CortexStepType disabled_step_types = 4;
1312
+ optional string tool_call_footer = 5;
1313
+ }
1314
+
1315
+ message CascadeConversationalPlannerConfig {
1316
+ reserved 1;
1317
+ reserved 14;
1318
+ reserved "read_only", "is_trusted";
1319
+
1320
+ .exa.codeium_common_pb.ConversationalPlannerMode planner_mode = 4;
1321
+ optional bool use_clusters = 2;
1322
+ string cluster_path = 3;
1323
+ optional bool eval_mode = 5;
1324
+ optional string code_research_section_content = 6;
1325
+ optional string test_section_content = 8 [deprecated = true];
1326
+ optional .exa.cortex_pb.SectionOverrideConfig test_section = 9;
1327
+ optional .exa.cortex_pb.SectionOverrideConfig tool_calling_section = 10;
1328
+ optional .exa.cortex_pb.SectionOverrideConfig code_changes_section = 11;
1329
+ optional .exa.cortex_pb.SectionOverrideConfig additional_instructions_section = 12;
1330
+ optional .exa.cortex_pb.SectionOverrideConfig communication_section = 13;
1331
+ }
1332
+
1333
+ message SectionOverrideConfig {
1334
+ optional .exa.cortex_pb.SectionOverrideMode mode = 1;
1335
+ optional string content = 2;
1336
+ }
1337
+
1338
+ message PromptOverrideConfig {
1339
+ map<string, string> section_overrides = 1;
1340
+ repeated string additional_instructions = 2;
1341
+ }
1342
+
1343
+ message CascadeAgenticPlannerManagerConfig {
1344
+ optional bool enabled = 1;
1345
+ .exa.codeium_common_pb.Model model_deprecated = 2 [deprecated = true];
1346
+ string model_uid = 5;
1347
+ optional bool condense_messages = 3;
1348
+ optional bool send_only_user_messages = 4;
1349
+ }
1350
+
1351
+ message CascadeAgenticPlannerApplierConfig {
1352
+ optional bool enabled = 1;
1353
+ .exa.codeium_common_pb.Model model_deprecated = 2 [deprecated = true];
1354
+ string model_uid = 5;
1355
+ int32 num_rollouts = 3;
1356
+ .exa.codeium_common_pb.Model judge_model_deprecated = 4 [deprecated = true];
1357
+ string judge_model_uid = 6;
1358
+ }
1359
+
1360
+ message CascadeAgenticPlannerConfig {
1361
+ optional bool enable_feedback_loop = 1;
1362
+ optional bool eval_mode = 2;
1363
+ .exa.cortex_pb.CascadeAgentToolSet tool_set = 5;
1364
+ .exa.cortex_pb.AgenticMixin mixin = 6;
1365
+ optional .exa.cortex_pb.CascadeAgenticPlannerManagerConfig manager_config = 3;
1366
+ optional .exa.cortex_pb.CascadeAgenticPlannerApplierConfig applier_config = 4;
1367
+ }
1368
+
1369
+ message CascadeResearchPlannerConfig {
1370
+ optional bool add_reference_nodes = 1;
1371
+ optional bool use_clusters = 2;
1372
+ string cluster_path = 3;
1373
+ }
1374
+
1375
+ message MqueryToolConfig {
1376
+ .exa.codeium_common_pb.MQueryConfig m_query_config = 1;
1377
+ .exa.codeium_common_pb.Model m_query_model = 2;
1378
+ uint32 max_tokens_per_m_query = 3;
1379
+ optional int32 num_items_full_source = 4;
1380
+ int32 max_lines_per_snippet = 5;
1381
+ optional bool enable_search_in_file_tool = 6;
1382
+ optional bool allow_access_gitignore = 7;
1383
+ optional bool disable_semantic_codebase_search = 8;
1384
+ }
1385
+
1386
+ message GrepToolConfig {
1387
+ uint32 max_grep_results = 1 [deprecated = true];
1388
+ optional bool include_cci_in_result = 2 [deprecated = true];
1389
+ uint32 num_full_source_ccis = 3 [deprecated = true];
1390
+ uint32 max_bytes_per_cci = 4 [deprecated = true];
1391
+ .exa.cortex_pb.EnterpriseToolConfig enterprise_config = 5;
1392
+ optional bool allow_access_gitignore = 6;
1393
+ }
1394
+
1395
+ message GrepV2ToolConfig {
1396
+ .exa.cortex_pb.EnterpriseToolConfig enterprise_config = 1;
1397
+ optional bool allow_access_gitignore = 2;
1398
+ }
1399
+
1400
+ message FindToolConfig {
1401
+ uint32 max_find_results = 1;
1402
+ string fd_path = 2;
1403
+ }
1404
+
1405
+ message ClusterQueryToolConfig {
1406
+ uint32 max_cluster_query_results = 1;
1407
+ }
1408
+
1409
+ message InspectClusterToolConfig {
1410
+ uint32 max_tokens_per_inspect_cluster = 1;
1411
+ }
1412
+
1413
+ message AutoCommandConfig {
1414
+ optional bool enable_model_auto_run = 1 [deprecated = true];
1415
+ repeated string user_allowlist = 2 [deprecated = true];
1416
+ repeated string user_denylist = 3 [deprecated = true];
1417
+ repeated string system_allowlist = 4;
1418
+ repeated string system_denylist = 5;
1419
+ repeated string system_nooplist = 7;
1420
+ .exa.codeium_common_pb.CascadeCommandsAutoExecution auto_execution_policy = 6 [deprecated = true];
1421
+ .exa.codeium_common_pb.CascadeCommandsAutoExecution max_auto_execution_level = 8;
1422
+ .exa.codeium_common_pb.CascadeCommandsAutoExecution workflow_auto_execution_policy = 9;
1423
+ repeated string team_allowlist = 10;
1424
+ repeated string team_denylist = 11;
1425
+ repeated string cascade_config_allowlist = 12;
1426
+ repeated string cascade_config_denylist = 13;
1427
+ }
1428
+
1429
+ message AutoWebRequestConfig {
1430
+ repeated string allowlist = 1;
1431
+ .exa.codeium_common_pb.CascadeWebRequestsAutoExecution auto_execution_policy = 2;
1432
+ }
1433
+
1434
+ message ListDirToolConfig {
1435
+ .exa.cortex_pb.EnterpriseToolConfig enterprise_config = 1;
1436
+ }
1437
+
1438
+ message RunCommandToolConfig {
1439
+ uint32 max_chars_command_stdout = 1;
1440
+ optional bool force_disable = 2;
1441
+ .exa.cortex_pb.AutoCommandConfig auto_command_config = 3;
1442
+ optional bool enable_ide_terminal_execution = 4;
1443
+ optional bool enable_midterm_output_processor = 8 [deprecated = true];
1444
+ string shell_name = 5;
1445
+ string shell_path = 6;
1446
+ uint32 max_timeout_ms = 7;
1447
+ .exa.cortex_pb.EnterpriseToolConfig enterprise_config = 9;
1448
+ optional bool use_bash_v2 = 10;
1449
+ string shell_integration_failure_reason = 11;
1450
+ repeated string shell_args = 12;
1451
+ }
1452
+
1453
+ message KnowledgeBaseSearchToolConfig {
1454
+ uint32 max_tokens_per_knowledge_base_search = 1;
1455
+ optional double prompt_fraction = 2;
1456
+ }
1457
+
1458
+ message FastApplyFallbackConfig {
1459
+ bool enabled = 1;
1460
+ uint32 prompt_unchanged_threshold = 2;
1461
+ uint32 content_view_radius_lines = 3;
1462
+ uint32 content_edit_radius_lines = 4;
1463
+ }
1464
+
1465
+ message ReplaceContentToolConfig {
1466
+ float max_fuzzy_edit_distance_fraction = 1;
1467
+ bool allow_partial_replacement_success = 2;
1468
+ uint32 view_file_recency_max_distance = 3;
1469
+ bool enable_fuzzy_sandwich_match = 4;
1470
+ .exa.cortex_pb.FastApplyFallbackConfig fast_apply_fallback_config = 5;
1471
+ .exa.cortex_pb.ReplaceToolVariant tool_variant = 6;
1472
+ .exa.cortex_pb.SectionOverrideConfig override_description = 7;
1473
+ optional bool show_triggered_memories = 8;
1474
+ optional bool disable_allow_multiple = 9;
1475
+ }
1476
+
1477
+ message CodeToolConfig {
1478
+ reserved 13;
1479
+ reserved 16;
1480
+
1481
+ repeated string disable_extensions = 1;
1482
+ optional bool apply_edits = 2;
1483
+ optional bool use_replace_content_edit_tool = 3;
1484
+ .exa.cortex_pb.ReplaceContentToolConfig replace_content_tool_config = 4;
1485
+ .exa.cortex_pb.AutoFixLintsConfig auto_fix_lints_config = 5 [deprecated = true];
1486
+ optional bool allow_edit_gitignore = 6;
1487
+ .exa.cortex_pb.EnterpriseToolConfig enterprise_config = 7;
1488
+ optional bool override_allow_action_on_unsaved_file = 8;
1489
+ optional bool skip_replace_content_validation = 9;
1490
+ optional bool use_replace_content_propose_code = 10;
1491
+ optional bool only_show_incremental_diff_zone = 11;
1492
+ repeated string file_allowlist = 12;
1493
+ repeated string dir_allowlist = 17;
1494
+ repeated string plan_dirs = 19;
1495
+ optional bool run_proposal_extension_verifier = 14;
1496
+ optional bool skip_await_lint_errors = 15;
1497
+ optional bool allow_edit_rules_files = 18;
1498
+ }
1499
+
1500
+ message IntentToolConfig {
1501
+ .exa.codeium_common_pb.Model intent_model_deprecated = 1 [deprecated = true];
1502
+ string intent_model_uid = 3;
1503
+ uint32 max_context_tokens = 2;
1504
+ }
1505
+
1506
+ message ViewFileToolConfig {
1507
+ reserved 3;
1508
+ reserved 16;
1509
+ reserved "use_doc_outline", "disable_read";
1510
+
1511
+ uint32 max_tokens_per_outline = 1;
1512
+ float max_doc_lines_fraction = 2;
1513
+ optional bool allow_doc_outline = 4;
1514
+ optional bool use_line_numbers_for_raw = 5;
1515
+ optional bool use_prompt_prefix = 6;
1516
+ optional bool allow_view_gitignore = 7;
1517
+ optional bool split_outline_tool = 8 [deprecated = true];
1518
+ uint32 max_total_outline_bytes = 9;
1519
+ uint32 max_bytes_per_outline_item = 11;
1520
+ optional uint32 show_full_file_bytes = 10;
1521
+ optional bool show_triggered_memories = 13;
1522
+ .exa.cortex_pb.EnterpriseToolConfig enterprise_config = 12;
1523
+ optional uint32 max_lines_per_view = 14;
1524
+ optional bool use_view_file_v2 = 15;
1525
+ }
1526
+
1527
+ message SuggestedResponseConfig {
1528
+ optional bool force_disable = 1;
1529
+ }
1530
+
1531
+ message SearchWebToolConfig {
1532
+ optional bool force_disable = 1;
1533
+ optional .exa.codeium_common_pb.ThirdPartyWebSearchConfig third_party_config = 2;
1534
+ }
1535
+
1536
+ message ReadUrlContentToolConfig {
1537
+ optional bool force_disable = 1;
1538
+ .exa.cortex_pb.AutoWebRequestConfig auto_web_request_config = 2;
1539
+ }
1540
+
1541
+ message MemoryToolConfig {
1542
+ optional bool force_disable = 1;
1543
+ optional bool disable_auto_generate_memories = 2;
1544
+ optional bool disable_write = 3;
1545
+ }
1546
+
1547
+ message McpToolConfig {
1548
+ optional bool force_disable = 1;
1549
+ uint32 max_output_bytes = 2;
1550
+ }
1551
+
1552
+ message AutoFixLintsConfig {
1553
+ optional bool enabled = 1;
1554
+ optional string notifying_prompt = 2;
1555
+ }
1556
+
1557
+ message ProxyWebServerToolConfig {
1558
+ optional bool force_disable = 1;
1559
+ }
1560
+
1561
+ message DeployWebAppToolConfig {
1562
+ optional bool enabled = 1;
1563
+ }
1564
+
1565
+ message TrajectorySearchToolConfig {
1566
+ optional bool force_disable = 1;
1567
+ optional bool conversations_enabled = 2;
1568
+ optional bool user_activities_enabled = 3;
1569
+ uint32 max_scored_chunks = 4;
1570
+ }
1571
+
1572
+ message EnterpriseToolConfig {
1573
+ optional bool enforce_workspace_validation = 1;
1574
+ repeated string custom_workspace = 2;
1575
+ }
1576
+
1577
+ message ViewCodeItemToolConfig {
1578
+ optional uint32 max_num_items = 1;
1579
+ optional uint32 max_bytes_per_item = 2;
1580
+ optional bool allow_access_gitignore = 3;
1581
+ }
1582
+
1583
+ message CommandStatusToolConfig {
1584
+ optional bool use_delta = 1;
1585
+ }
1586
+
1587
+ message ReadKnowledgeBaseItemToolConfig {
1588
+ optional bool enabled = 1;
1589
+ repeated .exa.codeium_common_pb.KnowledgeBaseItem knowledge_base_items = 2;
1590
+ }
1591
+
1592
+ message ToolDescriptionOverrideMap {
1593
+ map<string, .exa.cortex_pb.SectionOverrideConfig> descriptions = 1;
1594
+ }
1595
+
1596
+ message AutoCascadeBroadcastToolConfig {
1597
+ optional bool force_disable = 1;
1598
+ }
1599
+
1600
+ message NotebookToolConfig {
1601
+ optional bool enabled = 1;
1602
+ }
1603
+
1604
+ message FindCodeContextToolConfig {
1605
+ optional bool force_disable = 1;
1606
+ }
1607
+
1608
+ message SmartFriendToolConfig {
1609
+ reserved 1;
1610
+
1611
+ string smart_friend_model_uid = 2;
1612
+ }
1613
+
1614
+ message AskUserQuestionToolConfig {
1615
+ optional bool enabled = 1;
1616
+ }
1617
+
1618
+ message ExitPlanModeToolConfig {
1619
+ optional bool enabled = 1;
1620
+ }
1621
+
1622
+ message TaskSubagentToolConfig {
1623
+ optional bool enabled = 1;
1624
+ }
1625
+
1626
+ message CascadeToolConfig {
1627
+ reserved 15;
1628
+ reserved 12;
1629
+ reserved 25;
1630
+ reserved 36;
1631
+ reserved "ReadUrlContent", "windsurf_browser", "do_testing";
1632
+
1633
+ .exa.cortex_pb.MqueryToolConfig mquery = 1;
1634
+ .exa.cortex_pb.CodeToolConfig code = 2;
1635
+ .exa.cortex_pb.IntentToolConfig intent = 3;
1636
+ .exa.cortex_pb.GrepToolConfig grep = 4;
1637
+ .exa.cortex_pb.FindToolConfig find = 5;
1638
+ .exa.cortex_pb.ClusterQueryToolConfig cluster_query = 6;
1639
+ .exa.cortex_pb.InspectClusterToolConfig inspect_cluster = 7;
1640
+ .exa.cortex_pb.RunCommandToolConfig run_command = 8;
1641
+ .exa.cortex_pb.KnowledgeBaseSearchToolConfig knowledge_base_search = 9;
1642
+ .exa.cortex_pb.ViewFileToolConfig view_file = 10;
1643
+ .exa.cortex_pb.SuggestedResponseConfig suggested_response = 11;
1644
+ .exa.cortex_pb.SearchWebToolConfig search_web = 13;
1645
+ .exa.cortex_pb.ReadUrlContentToolConfig read_url_content = 37;
1646
+ .exa.cortex_pb.MemoryToolConfig memory = 14;
1647
+ .exa.cortex_pb.McpToolConfig mcp = 16;
1648
+ .exa.cortex_pb.ProxyWebServerToolConfig proxy_web_server = 17;
1649
+ .exa.cortex_pb.DeployWebAppToolConfig deploy_web_app = 18;
1650
+ .exa.cortex_pb.ListDirToolConfig list_dir = 19;
1651
+ .exa.cortex_pb.ViewCodeItemToolConfig view_code_item = 20;
1652
+ .exa.cortex_pb.ReadKnowledgeBaseItemToolConfig read_knowledge_base_item = 21;
1653
+ .exa.cortex_pb.CommandStatusToolConfig command_status = 23;
1654
+ .exa.cortex_pb.FindAllReferencesConfig find_all_references = 24;
1655
+ .exa.cortex_pb.RunExtensionCodeConfig run_extension_code = 26;
1656
+ .exa.cortex_pb.AddAnnotationConfig add_annotation = 27;
1657
+ .exa.cortex_pb.TrajectorySearchToolConfig trajectory_search = 28;
1658
+ .exa.cortex_pb.GrepV2ToolConfig grep_v2 = 33;
1659
+ .exa.cortex_pb.ToolDescriptionOverrideMap description_override_map = 22;
1660
+ optional bool disable_simple_research_tools = 29;
1661
+ .exa.cortex_pb.AutoCascadeBroadcastToolConfig auto_cascade_broadcast = 30;
1662
+ .exa.cortex_pb.NotebookToolConfig notebook = 31;
1663
+ .exa.cortex_pb.FindCodeContextToolConfig find_code_context = 34;
1664
+ .exa.cortex_pb.SmartFriendToolConfig smart_friend = 35;
1665
+ .exa.cortex_pb.ExitPlanModeToolConfig exit_plan_mode = 38;
1666
+ .exa.cortex_pb.AskUserQuestionToolConfig ask_user_question = 39;
1667
+ .exa.cortex_pb.TaskSubagentToolConfig task_subagent = 40;
1668
+ repeated string tool_allowlist = 32;
1669
+ }
1670
+
1671
+ message CascadePassivePlannerConfig {
1672
+ reserved 2;
1673
+ reserved "request_source";
1674
+
1675
+ optional bool read_only = 1;
1676
+ }
1677
+
1678
+ message CascadeSummarizerConfig {
1679
+ bool enabled = 1;
1680
+ }
1681
+
1682
+ message CascadeAgentV2PlannerConfig {
1683
+ .exa.cortex_pb.CascadeSummarizerConfig summarizer_config = 1;
1684
+ }
1685
+
1686
+ message CascadeConversationalV2PlannerConfig {
1687
+ .exa.codeium_common_pb.ConversationalPlannerMode planner_mode = 1;
1688
+ optional bool use_clusters = 2;
1689
+ string cluster_path = 3;
1690
+ optional bool eval_mode = 4;
1691
+ }
1692
+
1693
+ message CascadeCodemapPlannerConfig {
1694
+ reserved 1;
1695
+ reserved "is_trusted";
1696
+ }
1697
+
1698
+ message CascadeLifeguardPlannerConfig {
1699
+ string agent_version = 1;
1700
+ }
1701
+
1702
+ message CascadePlannerConfig {
1703
+ reserved 31;
1704
+ reserved 8;
1705
+ reserved 9;
1706
+ reserved 17;
1707
+ reserved 19;
1708
+ reserved 26;
1709
+ reserved "num_parallel_rollouts", "judge_model", "use_clusters", "add_reference_nodes", "vibecoder";
1710
+
1711
+ oneof planner_type_config {
1712
+ .exa.cortex_pb.CascadeConversationalPlannerConfig conversational = 2;
1713
+ .exa.cortex_pb.CascadeConversationalV2PlannerConfig conversational_v2 = 27 [deprecated = true];
1714
+ .exa.cortex_pb.CascadeAgenticPlannerConfig agentic = 3;
1715
+ .exa.cortex_pb.CascadeResearchPlannerConfig research = 10;
1716
+ .exa.cortex_pb.CascadePassivePlannerConfig passive = 22;
1717
+ .exa.cortex_pb.CascadeAgentV2PlannerConfig agent_v2 = 24 [deprecated = true];
1718
+ .exa.cortex_pb.CascadeCodemapPlannerConfig codemap = 29;
1719
+ .exa.cortex_pb.CascadeLifeguardPlannerConfig lifeguard = 33;
1720
+ }
1721
+ .exa.cortex_pb.CascadeToolConfig tool_config = 13;
1722
+ .exa.codeium_common_pb.Model plan_model_deprecated = 1 [deprecated = true];
1723
+ .exa.codeium_common_pb.ModelOrAlias requested_model_deprecated = 15 [deprecated = true];
1724
+ string plan_model_uid = 34;
1725
+ string requested_model_uid = 35;
1726
+ uint32 max_iterations = 4;
1727
+ uint32 max_step_parse_retries = 5;
1728
+ uint32 max_output_tokens = 6;
1729
+ optional bool no_tool_explanation = 7;
1730
+ optional bool allow_pending_steps = 11;
1731
+ optional bool forbid_tool_use_on_last_retry = 12;
1732
+ int32 truncation_threshold_tokens = 14;
1733
+ optional bool include_ephemeral_message = 20 [deprecated = true];
1734
+ .exa.cortex_pb.EphemeralMessagesConfig ephemeral_messages_config = 21;
1735
+ bool run_as_proposer = 23;
1736
+ bool show_all_errors = 25;
1737
+ bool is_vibe_and_replace = 28;
1738
+ .exa.cortex_pb.PromptOverrideConfig prompt_override = 30;
1739
+ repeated string retry_on_response_content = 32;
1740
+ }
1741
+
1742
+ message BaseTrajectoryIdentifier {
1743
+ oneof identifier {
1744
+ string cascade_id = 1;
1745
+ string implicit_trajectory_file_uri = 2;
1746
+ bool last_active_doc = 3;
1747
+ .exa.cortex_pb.CortexTrajectory trajectory = 4;
1748
+ }
1749
+ }
1750
+
1751
+ message DeploymentInteractionPayload {
1752
+ string subdomain = 1;
1753
+ }
1754
+
1755
+ message CascadeDeployInteraction {
1756
+ bool cancel = 1;
1757
+ .exa.codeium_common_pb.DeployTarget deploy_target = 2;
1758
+ string subdomain = 3;
1759
+ }
1760
+
1761
+ message CascadeRunCommandInteraction {
1762
+ bool confirm = 1 [deprecated = true];
1763
+ .exa.cortex_pb.RunCommandAction action = 4;
1764
+ string proposed_command_line = 2;
1765
+ string submitted_command_line = 3;
1766
+ }
1767
+
1768
+ message CascadeReadUrlContentInteraction {
1769
+ .exa.cortex_pb.ReadUrlContentAction action = 1;
1770
+ string url = 2;
1771
+ string origin = 3;
1772
+ }
1773
+
1774
+ message CascadeRunExtensionCodeInteraction {
1775
+ bool confirm = 1;
1776
+ }
1777
+
1778
+ message CascadeTaskResolutionInteraction {
1779
+ bool confirm = 1;
1780
+ .exa.cortex_pb.TaskResolution resolution = 2;
1781
+ }
1782
+
1783
+ message CascadeUpsertCodemapInteraction {
1784
+ bool confirm = 1;
1785
+ }
1786
+
1787
+ message CascadeAskUserQuestionInteraction {
1788
+ .exa.cortex_pb.CortexStepAskUserQuestion.Response response = 1;
1789
+ }
1790
+
1791
+ message CascadeDeployInteractionSpec {
1792
+ repeated .exa.codeium_common_pb.DeployTarget deploy_target_options = 1;
1793
+ }
1794
+
1795
+ message CascadeRunCommandInteractionSpec {
1796
+ }
1797
+
1798
+ message CascadeReadUrlContentInteractionSpec {
1799
+ string url = 1;
1800
+ string origin = 2;
1801
+ }
1802
+
1803
+ message CascadeRunExtensionCodeInteractionSpec {
1804
+ }
1805
+
1806
+ message CascadeTaskResolutionInteractionSpec {
1807
+ string title = 1;
1808
+ string description = 2;
1809
+ }
1810
+
1811
+ message CascadeUpsertCodemapInteractionSpec {
1812
+ }
1813
+
1814
+ message CascadeAskUserQuestionInteractionSpec {
1815
+ }
1816
+
1817
+ message RequestedInteraction {
1818
+ reserved 1;
1819
+ reserved 6;
1820
+ reserved 4;
1821
+ reserved 7;
1822
+ reserved 8;
1823
+ reserved 9;
1824
+ reserved 10;
1825
+ reserved 12;
1826
+ reserved "claude_code_tool_permission";
1827
+
1828
+ oneof interaction {
1829
+ .exa.cortex_pb.CascadeDeployInteractionSpec deploy = 2;
1830
+ .exa.cortex_pb.CascadeRunCommandInteractionSpec run_command = 3;
1831
+ .exa.cortex_pb.CascadeRunExtensionCodeInteractionSpec run_extension_code = 5;
1832
+ .exa.cortex_pb.CascadeTaskResolutionInteractionSpec resolve_task = 11;
1833
+ .exa.cortex_pb.CascadeUpsertCodemapInteractionSpec upsert_codemap = 13;
1834
+ .exa.cortex_pb.CascadeReadUrlContentInteractionSpec read_url_content = 14;
1835
+ .exa.cortex_pb.CascadeAskUserQuestionInteractionSpec ask_user_question = 15;
1836
+ }
1837
+ }
1838
+
1839
+ message CascadeUserInteraction {
1840
+ reserved 3;
1841
+ reserved 6;
1842
+ reserved 8;
1843
+ reserved 9;
1844
+ reserved 10;
1845
+ reserved 11;
1846
+ reserved 13;
1847
+ reserved "open_browser_url", "execute_browser_javascript", "capture_browser_screenshot", "click_browser_pixel", "query_browser_page_for_pixel", "claude_code_tool_permission";
1848
+
1849
+ string trajectory_id = 1;
1850
+ uint32 step_index = 2;
1851
+ oneof interaction {
1852
+ .exa.cortex_pb.CascadeDeployInteraction deploy = 4;
1853
+ .exa.cortex_pb.CascadeRunCommandInteraction run_command = 5;
1854
+ .exa.cortex_pb.CascadeRunExtensionCodeInteraction run_extension_code = 7;
1855
+ .exa.cortex_pb.CascadeTaskResolutionInteraction resolve_task = 12;
1856
+ .exa.cortex_pb.CascadeUpsertCodemapInteraction upsert_codemap = 14;
1857
+ .exa.cortex_pb.CascadeReadUrlContentInteraction read_url_content = 15;
1858
+ .exa.cortex_pb.CascadeAskUserQuestionInteraction ask_user_question = 16;
1859
+ }
1860
+ }
1861
+
1862
+ message CortexStepDummy {
1863
+ uint32 input = 1;
1864
+ uint32 output = 2;
1865
+ }
1866
+
1867
+ message CortexStepBlocking {
1868
+ }
1869
+
1870
+ message CortexStepFinish {
1871
+ map<string, string> output = 1;
1872
+ string output_string = 2;
1873
+ }
1874
+
1875
+ message CortexStepPlanInput {
1876
+ .exa.cortex_pb.PlanInput plan_input = 1;
1877
+ bool user_provided = 2;
1878
+ }
1879
+
1880
+ message CortexStepCheckpoint {
1881
+ uint32 checkpoint_index = 1;
1882
+ bool intent_only = 9;
1883
+ uint32 included_step_index_start = 11;
1884
+ uint32 included_step_index_end = 12;
1885
+ string conversation_title = 10;
1886
+ string user_intent = 4;
1887
+ string session_summary = 5;
1888
+ string code_change_summary = 6;
1889
+ string plan_snapshot = 13;
1890
+ map<string, .exa.diff_action_pb.DiffList> edited_file_map = 7 [deprecated = true];
1891
+ repeated uint32 included_step_indices = 3 [deprecated = true];
1892
+ string memory_summary = 8 [deprecated = true];
1893
+ string user_intent_request_id = 14;
1894
+ string session_summary_request_id = 15;
1895
+ string code_change_summary_request_id = 16;
1896
+ }
1897
+
1898
+ message WorktreeMergeSnapshot {
1899
+ map<string, string> file_states_before_merge = 1;
1900
+ repeated string added_files = 2;
1901
+ map<string, string> file_states_after_merge = 3;
1902
+ }
1903
+
1904
+ message CheckpointConfig {
1905
+ reserved 8;
1906
+ reserved 9;
1907
+ reserved 10;
1908
+ reserved "use_subagent_checkpointer", "type", "condense_input_trajectory";
1909
+
1910
+ uint32 token_threshold = 1;
1911
+ float max_overhead_ratio = 3;
1912
+ uint32 moving_window_size = 4;
1913
+ uint32 max_token_limit = 5;
1914
+ uint32 max_output_tokens = 11;
1915
+ uint32 max_plan_search_steps = 12;
1916
+ .exa.codeium_common_pb.Model checkpoint_model_deprecated = 7 [deprecated = true];
1917
+ string checkpoint_model_uid = 14;
1918
+ .exa.codeium_common_pb.Model checkpoint_model_fallback_deprecated = 13 [deprecated = true];
1919
+ string checkpoint_model_fallback_uid = 15;
1920
+ optional bool enabled = 6;
1921
+ }
1922
+
1923
+ message CortexStepMquery {
1924
+ .exa.cortex_pb.PlanInput input = 1;
1925
+ repeated .exa.context_module_pb.CciWithSubrangeWithRetrievalMetadata ccis = 2;
1926
+ uint32 num_tokens_processed = 3;
1927
+ uint32 num_items_scored = 4;
1928
+ .exa.cortex_pb.SemanticCodebaseSearchType search_type = 5;
1929
+ }
1930
+
1931
+ message ReplacementChunkInfo {
1932
+ .exa.cortex_pb.ReplacementChunk original_chunk = 1;
1933
+ string fuzzy_match = 2;
1934
+ int32 edit_distance = 3;
1935
+ float rel_edit_distance = 4;
1936
+ uint32 num_matches = 5;
1937
+ bool is_non_exact = 7;
1938
+ bool boundary_lines_match = 8;
1939
+ bool error = 6;
1940
+ string error_str = 9;
1941
+ bool fast_apply_fixable = 10;
1942
+ }
1943
+
1944
+ message FastApplyFallbackInfo {
1945
+ bool fallback_attempted = 1;
1946
+ string fallback_error = 2;
1947
+ .exa.cortex_pb.ActionResult fast_apply_result = 3;
1948
+ .exa.cortex_pb.CodeHeuristicFailure heuristic_failure = 4;
1949
+ string fast_apply_prompt = 5;
1950
+ uint32 num_fast_apply_edits_masked = 6;
1951
+ bool fallback_match_had_no_diff = 7;
1952
+ }
1953
+
1954
+ message CortexStepCodeAction {
1955
+ reserved 3;
1956
+ reserved "implicit_metadata";
1957
+
1958
+ .exa.cortex_pb.ActionSpec action_spec = 1;
1959
+ .exa.cortex_pb.ActionResult action_result = 2;
1960
+ bool use_fast_apply = 4;
1961
+ .exa.cortex_pb.AcknowledgementType acknowledgement_type = 5;
1962
+ bool blocking = 6;
1963
+ .exa.cortex_pb.CodeHeuristicFailure heuristic_failure = 7;
1964
+ string code_instruction = 8;
1965
+ string markdown_language = 9;
1966
+ bool dry_run = 10;
1967
+ repeated .exa.codeium_common_pb.CodeDiagnostic lint_errors = 11;
1968
+ repeated .exa.codeium_common_pb.CodeDiagnostic persistent_lint_errors = 12;
1969
+ repeated .exa.cortex_pb.ReplacementChunkInfo replacement_infos = 13;
1970
+ repeated string lint_error_ids_aiming_to_fix = 14;
1971
+ .exa.cortex_pb.FastApplyFallbackInfo fast_apply_fallback_info = 15;
1972
+ bool target_file_has_carriage_returns = 16;
1973
+ bool target_file_has_all_carriage_returns = 17;
1974
+ repeated .exa.cortex_pb.CortexStepCompileDiagnostic introduced_errors = 18;
1975
+ string triggered_memories = 19;
1976
+ .exa.cortex_pb.BrainEntryDelta brain_delta = 20;
1977
+ .exa.cortex_pb.CortexTrajectoryType trajectory_type = 21;
1978
+ }
1979
+
1980
+ message CortexStepProposeCode {
1981
+ .exa.cortex_pb.ActionSpec action_spec = 1;
1982
+ .exa.cortex_pb.ActionResult action_result = 2;
1983
+ string code_instruction = 3;
1984
+ string markdown_language = 4;
1985
+ bool blocking = 5;
1986
+ .exa.cortex_pb.AcknowledgementType acknowledgement_type = 6;
1987
+ }
1988
+
1989
+ message CortexStepGitCommit {
1990
+ .exa.cortex_pb.PlanInput input = 1;
1991
+ string commit_message = 2;
1992
+ string commit_hash = 3;
1993
+ }
1994
+
1995
+ message CortexStepFindCodeContext {
1996
+ string search_term = 1;
1997
+ repeated .exa.cortex_pb.InstantContextStep steps = 2;
1998
+ .exa.cortex_pb.InstantContextResponse response = 3;
1999
+ string workspace_directory_path = 4;
2000
+ string error = 5;
2001
+ }
2002
+
2003
+ message InstantContextResponse {
2004
+ map<string, .exa.cortex_pb.LineRangeList> range_map = 1;
2005
+ float deprecated_duration_field_2 = 2 [deprecated = true];
2006
+ float duration = 3;
2007
+ map<string, .exa.cortex_pb.LineRangeList> raw_range_map = 4;
2008
+ .exa.cortex_pb.InstantContextTiming timing = 5;
2009
+ }
2010
+
2011
+ message InstantContextStep {
2012
+ repeated .exa.cortex_pb.InstantContextToolCall tool_calls = 1;
2013
+ string thoughts = 2;
2014
+ }
2015
+
2016
+ message InstantContextToolCall {
2017
+ enum ExecutionStatus {
2018
+ EXECUTION_STATUS_UNSPECIFIED = 0;
2019
+ EXECUTION_STATUS_PENDING = 1;
2020
+ EXECUTION_STATUS_COMPLETED = 2;
2021
+ EXECUTION_STATUS_ERROR = 3;
2022
+ EXECUTION_STATUS_TIMED_OUT = 4;
2023
+ }
2024
+
2025
+ string command_type = 1;
2026
+ string param = 2;
2027
+ .exa.cortex_pb.InstantContextToolCall.ExecutionStatus execution_status = 3;
2028
+ string error_message = 4;
2029
+ string tool_call_id = 5;
2030
+ float duration_seconds = 6;
2031
+ }
2032
+
2033
+ message InstantContextToolUpdate {
2034
+ string tool_call_id = 1;
2035
+ .exa.cortex_pb.InstantContextToolCall.ExecutionStatus execution_status = 2;
2036
+ string error_message = 3;
2037
+ float duration_seconds = 4;
2038
+ int32 tool_index = 5;
2039
+ string command_type = 6;
2040
+ }
2041
+
2042
+ message CommandTiming {
2043
+ string label = 1;
2044
+ string command_type = 2;
2045
+ float exec_duration_secs = 3;
2046
+ bool errored = 4;
2047
+ }
2048
+
2049
+ message TurnTiming {
2050
+ float model_latency_secs = 1;
2051
+ float tool_call_parse_duration_secs = 2;
2052
+ float command_build_duration_secs = 3;
2053
+ float tool_exec_duration_secs = 4;
2054
+ repeated .exa.cortex_pb.CommandTiming commands = 5;
2055
+ }
2056
+
2057
+ message InstantContextTiming {
2058
+ float total_duration_secs = 1;
2059
+ float answer_parse_duration_secs = 2;
2060
+ repeated .exa.cortex_pb.TurnTiming turns = 3;
2061
+ }
2062
+
2063
+ message LineRangeList {
2064
+ repeated .exa.cortex_pb.LineRange ranges = 1;
2065
+ }
2066
+
2067
+ message LineRange {
2068
+ int32 start = 1;
2069
+ int32 end = 2;
2070
+ }
2071
+
2072
+ message GrepSearchResult {
2073
+ string relative_path = 1;
2074
+ uint32 line_number = 2;
2075
+ string content = 3;
2076
+ string absolute_path = 4;
2077
+ .exa.codeium_common_pb.CodeContextItem cci = 5 [deprecated = true];
2078
+ uint32 match_count = 6;
2079
+ }
2080
+
2081
+ message CortexStepInformPlanner {
2082
+ .exa.code_edit.code_edit_pb.CodeChangeWithContext target_code_change = 3;
2083
+ repeated .exa.context_module_pb.CciWithSubrangeWithRetrievalMetadata inform_cci_list = 4;
2084
+ }
2085
+
2086
+ message InformPlannerConfig {
2087
+ float cci_ratio = 1;
2088
+ bool randomize = 2;
2089
+ uint32 manual_seed = 3;
2090
+ .exa.cortex_pb.InformPlannerMode mode = 4;
2091
+ bool is_certain = 5;
2092
+ }
2093
+
2094
+ message DiffBasedCommandEvalConfig {
2095
+ uint32 num_samples_per_commit = 1;
2096
+ }
2097
+
2098
+ message CortexStepGrepSearch {
2099
+ reserved 6;
2100
+ reserved "workspace_path_uri";
2101
+
2102
+ string search_path_uri = 11;
2103
+ string query = 1;
2104
+ bool match_per_line = 8;
2105
+ repeated string includes = 2;
2106
+ bool case_insensitive = 9;
2107
+ bool allow_access_gitignore = 13;
2108
+ bool is_regex = 14;
2109
+ repeated .exa.cortex_pb.GrepSearchResult results = 4;
2110
+ uint32 total_results = 7;
2111
+ string raw_output = 3;
2112
+ string command_run = 10;
2113
+ bool no_files_searched = 12;
2114
+ bool timed_out = 15;
2115
+ string grep_error = 5 [deprecated = true];
2116
+ }
2117
+
2118
+ message CortexStepGrepSearchV2 {
2119
+ reserved 9;
2120
+ reserved "show_line_numbers";
2121
+
2122
+ string search_path_uri = 1;
2123
+ string pattern = 2;
2124
+ string path = 3;
2125
+ string glob = 4;
2126
+ string output_mode = 5;
2127
+ int32 lines_after = 6;
2128
+ int32 lines_before = 7;
2129
+ int32 lines_both = 8;
2130
+ bool case_insensitive = 10;
2131
+ string type = 11;
2132
+ int32 head_limit = 12;
2133
+ bool multiline = 13;
2134
+ string command_run = 14;
2135
+ string raw_output = 15;
2136
+ bool no_files_searched = 16;
2137
+ bool timed_out = 17;
2138
+ }
2139
+
2140
+ message CortexStepFind {
2141
+ reserved 6;
2142
+ reserved "results";
2143
+
2144
+ string search_directory = 10;
2145
+ string pattern = 1;
2146
+ repeated string excludes = 3;
2147
+ .exa.cortex_pb.FindResultType type = 4;
2148
+ int32 max_depth = 5;
2149
+ repeated string extensions = 12;
2150
+ bool full_path = 13;
2151
+ string truncated_output = 14;
2152
+ uint32 truncated_total_results = 15;
2153
+ uint32 total_results = 7;
2154
+ string raw_output = 11;
2155
+ string command_run = 9;
2156
+ repeated string includes = 2 [deprecated = true];
2157
+ string find_error = 8 [deprecated = true];
2158
+ }
2159
+
2160
+ message CortexStepExploreResponse {
2161
+ string query_id = 1;
2162
+ string response = 2;
2163
+ }
2164
+
2165
+ message CortexStepReadNotebook {
2166
+ string absolute_path_uri = 1;
2167
+ string content = 2;
2168
+ string raw_content = 3;
2169
+ }
2170
+
2171
+ message CortexStepSmartFriend {
2172
+ string question = 1;
2173
+ string advice = 2;
2174
+ .exa.codeium_common_pb.Model model_deprecated = 3 [deprecated = true];
2175
+ string model_uid = 6;
2176
+ string model_name = 4;
2177
+ string smart_friend_request_id = 5;
2178
+ }
2179
+
2180
+ message CortexStepTaskSubagent {
2181
+ string description = 1;
2182
+ string prompt = 2;
2183
+ string result = 3;
2184
+ }
2185
+
2186
+ message CortexStepEditNotebook {
2187
+ enum EditMode {
2188
+ EDIT_MODE_UNSPECIFIED = 0;
2189
+ EDIT_MODE_REPLACE = 1;
2190
+ EDIT_MODE_INSERT = 2;
2191
+ EDIT_MODE_DELETE = 3;
2192
+ }
2193
+
2194
+ string absolute_path_uri = 1;
2195
+ uint32 cell_number = 2;
2196
+ string cell_id = 6;
2197
+ string new_source = 3;
2198
+ string cell_type = 4;
2199
+ .exa.cortex_pb.CortexStepEditNotebook.EditMode edit_mode = 5;
2200
+ string original_content = 7;
2201
+ string new_content = 8;
2202
+ .exa.cortex_pb.AcknowledgementType acknowledgement_type = 9;
2203
+ string triggered_memories = 10;
2204
+ repeated .exa.codeium_common_pb.CodeDiagnostic lint_errors = 11;
2205
+ repeated .exa.codeium_common_pb.CodeDiagnostic persistent_lint_errors = 12;
2206
+ .exa.diff_action_pb.UnifiedDiff cell_diff = 13;
2207
+ }
2208
+
2209
+ message CortexStepViewFile {
2210
+ enum FileType {
2211
+ FILE_TYPE_UNSPECIFIED = 0;
2212
+ FILE_TYPE_DIRECTORY = 1;
2213
+ FILE_TYPE_IMAGE = 2;
2214
+ }
2215
+
2216
+ enum TriggerSource {
2217
+ TRIGGER_SOURCE_UNSPECIFIED = 0;
2218
+ TRIGGER_SOURCE_VIEWPORT = 1;
2219
+ }
2220
+
2221
+ string absolute_path_uri = 1;
2222
+ uint32 start_line = 2;
2223
+ uint32 end_line = 3;
2224
+ uint32 offset = 11;
2225
+ uint32 limit = 12;
2226
+ bool include_summary_of_other_lines = 7;
2227
+ bool has_line_numbers = 8;
2228
+ uint32 max_tokens = 5;
2229
+ bool async = 6;
2230
+ string content = 4;
2231
+ string raw_content = 9;
2232
+ string triggered_memories = 10;
2233
+ bool is_dir = 13 [deprecated = true];
2234
+ bool has_read_whole_file = 14;
2235
+ .exa.cortex_pb.CortexStepViewFile.FileType file_type = 15;
2236
+ .exa.cortex_pb.CortexStepViewFile.TriggerSource trigger_source = 17;
2237
+ .exa.codeium_common_pb.ImageData image_content = 16;
2238
+ }
2239
+
2240
+ message ListDirectoryResult {
2241
+ string name = 1;
2242
+ bool is_dir = 2;
2243
+ uint32 num_children = 3;
2244
+ uint64 size_bytes = 4;
2245
+ }
2246
+
2247
+ message CortexStepListDirectory {
2248
+ string directory_path_uri = 1;
2249
+ repeated string children = 2 [deprecated = true];
2250
+ repeated .exa.cortex_pb.ListDirectoryResult results = 3;
2251
+ bool dir_not_found = 4 [deprecated = true];
2252
+ }
2253
+
2254
+ message CortexStepCompileDiagnostic {
2255
+ string message = 1;
2256
+ string path = 2;
2257
+ uint32 line = 3;
2258
+ uint32 column = 4;
2259
+ string symbol = 5;
2260
+ }
2261
+
2262
+ message CortexStepClusterQuery {
2263
+ reserved 4;
2264
+ reserved "ccis";
2265
+
2266
+ string query = 1;
2267
+ repeated .exa.codeium_common_pb.CodebaseCluster input_clusters = 2;
2268
+ string repo_name = 5;
2269
+ repeated float scores = 3;
2270
+ repeated .exa.codeium_common_pb.CodebaseCluster output_clusters = 6;
2271
+ }
2272
+
2273
+ message CortexStepListClusters {
2274
+ repeated .exa.codeium_common_pb.CodebaseCluster clusters = 1;
2275
+ string repo_name = 2;
2276
+ }
2277
+
2278
+ message CortexStepCompile {
2279
+ .exa.cortex_pb.CortexStepCompileTool tool = 1;
2280
+ string input_spec = 2;
2281
+ map<string, string> options = 3;
2282
+ string target = 4;
2283
+ string artifact_path = 5;
2284
+ bool artifact_is_executable = 6;
2285
+ repeated .exa.cortex_pb.CortexStepCompileDiagnostic errors = 7;
2286
+ repeated .exa.cortex_pb.CortexStepCompileDiagnostic warnings = 8;
2287
+ }
2288
+
2289
+ message CortexTrajectoryToPromptConfig {
2290
+ float prompt_fraction = 1;
2291
+ }
2292
+
2293
+ message CortexStepUserInput {
2294
+ string query = 1;
2295
+ string user_response = 2;
2296
+ repeated .exa.codeium_common_pb.TextOrScopeItem items = 3;
2297
+ .exa.context_module_pb.ContextModuleResult active_user_state = 4;
2298
+ repeated .exa.codeium_common_pb.ImageData images = 5;
2299
+ }
2300
+
2301
+ message AskUserQuestionOption {
2302
+ string label = 1;
2303
+ string description = 2;
2304
+ }
2305
+
2306
+ message CortexStepAskUserQuestion {
2307
+ message Request {
2308
+ string question = 1;
2309
+ repeated .exa.cortex_pb.AskUserQuestionOption options = 2;
2310
+ bool allow_multiple = 3;
2311
+ }
2312
+
2313
+ message Response {
2314
+ oneof response_type {
2315
+ .exa.cortex_pb.CortexStepAskUserQuestion.SelectedOptions selected_options = 1;
2316
+ .exa.cortex_pb.CortexStepUserInput user_input = 2;
2317
+ }
2318
+ }
2319
+
2320
+ message SelectedOptions {
2321
+ repeated int32 indices = 1;
2322
+ }
2323
+
2324
+ .exa.cortex_pb.CortexStepAskUserQuestion.Request request = 1;
2325
+ .exa.cortex_pb.CortexStepAskUserQuestion.Response response = 2;
2326
+ }
2327
+
2328
+ message CortexStepArenaTrajectoryConverge {
2329
+ string source_model_uid = 1;
2330
+ string source_cascade_id = 2;
2331
+ repeated .exa.cortex_pb.CortexTrajectoryStep original_steps = 3;
2332
+ string destination_model_uid = 4;
2333
+ }
2334
+
2335
+ message CortexStepLintFixMessage {
2336
+ repeated .exa.codeium_common_pb.CodeDiagnostic lint_errors = 1;
2337
+ repeated .exa.codeium_common_pb.CodeDiagnostic persistent_lint_errors = 2;
2338
+ }
2339
+
2340
+ message ActiveUserState {
2341
+ .exa.codeium_common_pb.Document active_document = 1;
2342
+ repeated .exa.codeium_common_pb.Document open_documents = 2;
2343
+ .exa.codeium_common_pb.CodeContextItem active_node = 3;
2344
+ }
2345
+
2346
+ message CortexStepSupercompleteActiveDoc {
2347
+ string instruction = 1;
2348
+ .exa.codeium_common_pb.FileRangeContent selection_with_cursor = 2;
2349
+ }
2350
+
2351
+ message CortexStepSupercompleteFeedback {
2352
+ string completion_id = 1;
2353
+ string completion_text = 2;
2354
+ string feedback_type = 3;
2355
+ string feedback_reason = 4;
2356
+ .exa.codeium_common_pb.Document document = 5;
2357
+ int64 feedback_delay_ms = 6;
2358
+ .exa.codeium_common_pb.ProviderSource provider_source = 7;
2359
+ }
2360
+
2361
+ message CortexStepSupercompleteEphemeralFeedback {
2362
+ repeated .exa.cortex_pb.SupercompleteEphemeralFeedbackEntry feedback_entries = 1;
2363
+ int64 creation_timestamp_ms = 2;
2364
+ }
2365
+
2366
+ message SupercompleteEphemeralFeedbackEntry {
2367
+ bool accepted = 1;
2368
+ bool intentional_reject = 2;
2369
+ string completion_id = 3;
2370
+ int64 timestamp_ms = 4;
2371
+ .exa.diff_action_pb.UnifiedDiff unified_diff = 5;
2372
+ uint64 selection_start_line = 7;
2373
+ .exa.cortex_pb.SupercompleteTabJumpInfo tabjump_suggestion = 6;
2374
+ }
2375
+
2376
+ message SupercompleteTabJumpInfo {
2377
+ string path = 1;
2378
+ .exa.codeium_common_pb.DocumentPosition jump_position = 2;
2379
+ bool is_import = 3;
2380
+ }
2381
+
2382
+ message CortexStepPlannerResponse {
2383
+ string response = 1;
2384
+ string modified_response = 8;
2385
+ string thinking = 3;
2386
+ string signature = 4;
2387
+ bool thinking_redacted = 5;
2388
+ string message_id = 6;
2389
+ repeated .exa.codeium_common_pb.ChatToolCall tool_calls = 7;
2390
+ repeated .exa.codeium_common_pb.KnowledgeBaseItemWithMetadata knowledge_base_items = 2;
2391
+ string output_id = 9;
2392
+ string thinking_id = 10 [deprecated = true];
2393
+ bytes gemini_thought_signature = 11 [deprecated = true];
2394
+ string signature_type = 12;
2395
+ .google.protobuf.Duration thinking_duration = 13;
2396
+ string phase = 14;
2397
+ }
2398
+
2399
+ message CortexStepFileBreakdown {
2400
+ string absolute_path = 1;
2401
+ .exa.codeium_common_pb.DocumentOutline document_outline = 2;
2402
+ }
2403
+
2404
+ message CortexStepViewCodeItem {
2405
+ reserved 2;
2406
+ reserved 3;
2407
+ reserved "cci", "node_name";
2408
+
2409
+ string absolute_uri = 1;
2410
+ repeated string node_paths = 4;
2411
+ repeated .exa.codeium_common_pb.CodeContextItem ccis = 5;
2412
+ }
2413
+
2414
+ message CortexStepWriteToFile {
2415
+ string target_file_uri = 1;
2416
+ repeated string code_content = 2;
2417
+ .exa.diff_action_pb.DiffBlock diff = 3;
2418
+ bool file_created = 4;
2419
+ .exa.cortex_pb.AcknowledgementType acknowledgement_type = 5;
2420
+ }
2421
+
2422
+ message CortexStepSearchKnowledgeBase {
2423
+ repeated string queries = 1;
2424
+ .exa.opensearch_clients_pb.TimeRange time_range = 3;
2425
+ repeated .exa.opensearch_clients_pb.ConnectorType connector_types = 4;
2426
+ repeated string aggregate_ids = 7;
2427
+ repeated .exa.codeium_common_pb.KnowledgeBaseGroup knowledge_base_groups = 2;
2428
+ }
2429
+
2430
+ message CortexStepLookupKnowledgeBase {
2431
+ repeated string urls = 1;
2432
+ repeated string document_ids = 2;
2433
+ repeated .exa.codeium_common_pb.KnowledgeBaseItemWithMetadata knowledge_base_items = 3;
2434
+ }
2435
+
2436
+ message CortexStepSuggestedResponses {
2437
+ repeated string suggestions = 1;
2438
+ }
2439
+
2440
+ message CortexStepErrorMessage {
2441
+ reserved 1;
2442
+ reserved 2;
2443
+
2444
+ .exa.cortex_pb.CortexErrorDetails error = 3;
2445
+ bool should_show_model = 4;
2446
+ bool should_show_user = 5;
2447
+ }
2448
+
2449
+ message CortexStepInspectCluster {
2450
+ string cluster_id = 1;
2451
+ string query = 2;
2452
+ .exa.codeium_common_pb.CodebaseCluster matched_cluster = 3;
2453
+ repeated .exa.context_module_pb.CciWithSubrangeWithRetrievalMetadata ccis = 4;
2454
+ }
2455
+
2456
+ message RunCommandOutput {
2457
+ string full = 1;
2458
+ string ansi_output = 4;
2459
+ string truncated = 2 [deprecated = true];
2460
+ uint32 num_lines_above = 3 [deprecated = true];
2461
+ }
2462
+
2463
+ message SimpleCommand {
2464
+ repeated string parts = 1;
2465
+ }
2466
+
2467
+ message CortexStepRunCommand {
2468
+ string command_line = 23;
2469
+ string proposed_command_line = 25;
2470
+ string cwd = 2;
2471
+ bool blocking = 11;
2472
+ uint64 wait_ms_before_async = 12;
2473
+ bool should_auto_run = 15;
2474
+ string requested_terminal_id = 17;
2475
+ string agent_harness = 26;
2476
+ string command_id = 13;
2477
+ optional int32 exit_code = 6;
2478
+ bool user_rejected = 14;
2479
+ .exa.cortex_pb.AutoRunDecision auto_run_decision = 16;
2480
+ string terminal_id = 18;
2481
+ .exa.cortex_pb.RunCommandOutput combined_output = 21;
2482
+ bool used_ide_terminal = 22;
2483
+ string raw_debug_output = 24;
2484
+ string shell_integration_failure_reason = 27;
2485
+ string shell_name = 28;
2486
+ repeated .exa.cortex_pb.SimpleCommand parsed_commands = 29;
2487
+ string command = 1 [deprecated = true];
2488
+ repeated string args = 3 [deprecated = true];
2489
+ string stdout = 4 [deprecated = true];
2490
+ string stderr = 5 [deprecated = true];
2491
+ string stdout_buffer = 7 [deprecated = true];
2492
+ string stderr_buffer = 8 [deprecated = true];
2493
+ uint32 stdout_lines_above = 9 [deprecated = true];
2494
+ uint32 stderr_lines_above = 10 [deprecated = true];
2495
+ .exa.cortex_pb.RunCommandOutput stdout_output = 19 [deprecated = true];
2496
+ .exa.cortex_pb.RunCommandOutput stderr_output = 20 [deprecated = true];
2497
+ }
2498
+
2499
+ message CortexStepRelatedFiles {
2500
+ string absolute_uri = 1;
2501
+ repeated string related_file_absolute_uris = 2;
2502
+ repeated float scores = 3;
2503
+ string related_file_error = 4;
2504
+ }
2505
+
2506
+ message CortexStepReadUrlContent {
2507
+ string url = 1;
2508
+ .exa.codeium_common_pb.KnowledgeBaseItem web_document = 2;
2509
+ string resolved_url = 3;
2510
+ uint32 latency_ms = 4;
2511
+ bool user_rejected = 6;
2512
+ .exa.cortex_pb.AutoRunDecision auto_run_decision = 7;
2513
+ }
2514
+
2515
+ message CortexStepReadKnowledgeBaseItem {
2516
+ string identifier = 1;
2517
+ .exa.codeium_common_pb.KnowledgeBaseItem knowledge_base_item = 2;
2518
+ .exa.opensearch_clients_pb.ConnectorType connector_type = 3;
2519
+ }
2520
+
2521
+ message CortexStepViewContentChunk {
2522
+ reserved 1;
2523
+ reserved 3;
2524
+ reserved "cropped_web_document", "url";
2525
+
2526
+ string document_id = 5;
2527
+ int32 position = 2;
2528
+ .exa.codeium_common_pb.KnowledgeBaseItem cropped_item = 4;
2529
+ }
2530
+
2531
+ message CortexStepSearchWeb {
2532
+ string query = 1;
2533
+ string domain = 3;
2534
+ repeated .exa.codeium_common_pb.KnowledgeBaseItem web_documents = 2;
2535
+ string web_search_url = 4;
2536
+ string summary = 5;
2537
+ .exa.codeium_common_pb.ThirdPartyWebSearchConfig third_party_config = 6;
2538
+ }
2539
+
2540
+ message CortexStepReadDeploymentConfig {
2541
+ string project_path = 1;
2542
+ string deployment_config_uri = 2;
2543
+ .exa.codeium_common_pb.WebAppDeploymentConfig deployment_config = 3;
2544
+ repeated string missing_file_uris = 4;
2545
+ bool will_upload_node_modules = 5;
2546
+ bool will_upload_dist = 6;
2547
+ repeated string ignore_file_uris = 7;
2548
+ uint32 num_files_to_upload = 8;
2549
+ repeated string env_file_uris = 9;
2550
+ }
2551
+
2552
+ message CortexStepDeployWebApp {
2553
+ string project_path = 1;
2554
+ string subdomain = 2;
2555
+ string project_id = 11;
2556
+ string framework = 3;
2557
+ bool user_confirmed = 4;
2558
+ map<string, .exa.cortex_pb.DeployWebAppFileUploadStatus> file_upload_status = 5;
2559
+ .exa.codeium_common_pb.WindsurfDeployment deployment = 6;
2560
+ string deployment_config_uri = 7;
2561
+ .exa.codeium_common_pb.WebAppDeploymentConfig deployment_config_output = 8;
2562
+ string subdomain_for_project_id = 12;
2563
+ string subdomain_user_specified = 13;
2564
+ string subdomain_used = 9;
2565
+ .exa.codeium_common_pb.DeployTarget deploy_target_for_project_id = 15;
2566
+ .exa.codeium_common_pb.DeployTarget deploy_target_user_specified = 16;
2567
+ .exa.codeium_common_pb.DeployTarget deploy_target_used = 17;
2568
+ string project_id_used = 14;
2569
+ string claim_url = 10;
2570
+ }
2571
+
2572
+ message CortexStepCheckDeployStatus {
2573
+ string windsurf_deployment_id = 1;
2574
+ .exa.codeium_common_pb.WindsurfDeployment deployment = 2;
2575
+ .exa.codeium_common_pb.DeploymentBuildStatus build_status = 3;
2576
+ string build_error = 4;
2577
+ string build_logs = 5;
2578
+ bool is_claimed = 6;
2579
+ string claim_url = 7;
2580
+ }
2581
+
2582
+ message CortexStepClipboard {
2583
+ string content = 1;
2584
+ }
2585
+
2586
+ message ExecutorMetadata {
2587
+ .exa.cortex_pb.ExecutorTerminationReason termination_reason = 1;
2588
+ int32 num_generator_invocations = 2;
2589
+ int32 last_step_idx = 3;
2590
+ bool proceeded_with_auto_continue = 4;
2591
+ }
2592
+
2593
+ message CortexStepLintDiff {
2594
+ .exa.cortex_pb.LintDiffType type = 1;
2595
+ .exa.codeium_common_pb.CodeDiagnostic lint = 2;
2596
+ }
2597
+
2598
+ message BrainEntry {
2599
+ string id = 1;
2600
+ .exa.cortex_pb.BrainEntryType type = 2;
2601
+ string content = 3;
2602
+ }
2603
+
2604
+ message PlanEntryDeltaSummary {
2605
+ repeated string items_added = 1;
2606
+ repeated string items_completed = 2;
2607
+ }
2608
+
2609
+ message BrainEntryDeltaSummary {
2610
+ oneof summary {
2611
+ .exa.cortex_pb.PlanEntryDeltaSummary plan = 1;
2612
+ .exa.cortex_pb.TaskEntryDeltaSummary task = 2;
2613
+ }
2614
+ }
2615
+
2616
+ message BrainEntryDelta {
2617
+ .exa.cortex_pb.BrainEntry before = 1;
2618
+ .exa.cortex_pb.BrainEntry after = 2;
2619
+ string absolute_path_uri = 3;
2620
+ .exa.cortex_pb.BrainEntryDeltaSummary summary = 4;
2621
+ }
2622
+
2623
+ message TaskItem {
2624
+ string id = 1;
2625
+ string content = 2;
2626
+ .exa.cortex_pb.TaskStatus status = 3;
2627
+ string parent_id = 4;
2628
+ string prev_sibling_id = 5;
2629
+ }
2630
+
2631
+ message TaskDelta {
2632
+ .exa.cortex_pb.TaskDeltaType type = 1;
2633
+ string id = 2;
2634
+ string content = 3;
2635
+ .exa.cortex_pb.TaskStatus status = 4;
2636
+ string parent_id = 5;
2637
+ string prev_sibling_id = 6;
2638
+ string from_parent = 7;
2639
+ string from_prev_sibling = 8;
2640
+ }
2641
+
2642
+ message TaskEntryDeltaSummary {
2643
+ repeated .exa.cortex_pb.TaskDelta deltas = 1;
2644
+ int32 items_added = 2;
2645
+ int32 items_pruned = 3;
2646
+ int32 items_deleted = 4;
2647
+ int32 items_updated = 5;
2648
+ int32 items_moved = 6;
2649
+ }
2650
+
2651
+ message CortexStepBrainUpdate {
2652
+ oneof target {
2653
+ .exa.cortex_pb.BrainEntryType entry_type = 1;
2654
+ }
2655
+ .exa.cortex_pb.BrainUpdateTrigger trigger = 3;
2656
+ repeated .exa.cortex_pb.BrainEntryDelta deltas = 2;
2657
+ }
2658
+
2659
+ message CortexStepAddAnnotation {
2660
+ .exa.codeium_common_pb.CodeAnnotation annotation = 1;
2661
+ }
2662
+
2663
+ message AddAnnotationConfig {
2664
+ optional bool enabled = 1;
2665
+ optional bool enabled_for_conversational_mixin = 2;
2666
+ }
2667
+
2668
+ message CascadeState {
2669
+ string cascade_id = 1;
2670
+ .exa.cortex_pb.CortexTrajectory trajectory = 2;
2671
+ .exa.cortex_pb.CascadeRunStatus status = 3;
2672
+ bool is_revert = 5;
2673
+ .exa.cortex_pb.ExecutorMetadata executor_metadata = 4;
2674
+ bool is_archived = 6;
2675
+ }
2676
+
2677
+ message CascadePanelState {
2678
+ reserved 3;
2679
+ reserved "workspace_trusted";
2680
+
2681
+ .exa.codeium_common_pb.PlanStatus plan_status = 1;
2682
+ .exa.codeium_common_pb.UserSettings user_settings = 2;
2683
+ }
2684
+
2685
+ message CortexStepCommandStatus {
2686
+ string command_id = 1;
2687
+ uint32 output_character_count = 8;
2688
+ uint32 wait_duration_seconds = 10;
2689
+ .exa.cortex_pb.CortexStepStatus status = 2;
2690
+ string combined = 9;
2691
+ optional string delta = 12;
2692
+ optional int32 exit_code = 5;
2693
+ .exa.cortex_pb.CortexErrorDetails error = 6;
2694
+ uint32 waited_duration_seconds = 11;
2695
+ string stdout = 3 [deprecated = true];
2696
+ string stderr = 4 [deprecated = true];
2697
+ .exa.cortex_pb.CommandOutputPriority output_priority = 7 [deprecated = true];
2698
+ }
2699
+
2700
+ message CortexMemory {
2701
+ string memory_id = 1;
2702
+ string title = 6;
2703
+ .exa.cortex_pb.CortexMemoryMetadata metadata = 2;
2704
+ .exa.cortex_pb.CortexMemorySource source = 3;
2705
+ .exa.cortex_pb.CortexMemoryScope scope = 4;
2706
+ oneof memory {
2707
+ .exa.cortex_pb.CortexMemoryText text_memory = 5;
2708
+ }
2709
+ optional string parse_error = 7;
2710
+ }
2711
+
2712
+ message CortexMemoryMetadata {
2713
+ .google.protobuf.Timestamp created_at = 1;
2714
+ .google.protobuf.Timestamp last_modified = 2;
2715
+ .google.protobuf.Timestamp last_accessed = 3;
2716
+ repeated string tags = 4;
2717
+ bool user_triggered = 5;
2718
+ }
2719
+
2720
+ message CortexMemoryText {
2721
+ string content = 1;
2722
+ }
2723
+
2724
+ message CortexMemoryScope {
2725
+ oneof scope {
2726
+ .exa.cortex_pb.CortexMemoryGlobalScope global_scope = 1;
2727
+ .exa.cortex_pb.CortexMemoryLocalScope local_scope = 2;
2728
+ .exa.cortex_pb.CortexMemoryAllScope all_scope = 3;
2729
+ .exa.cortex_pb.CortexMemoryProjectScope project_scope = 4;
2730
+ .exa.cortex_pb.CortexMemorySystemScope system_scope = 5;
2731
+ }
2732
+ }
2733
+
2734
+ message CortexMemoryGlobalScope {
2735
+ }
2736
+
2737
+ message CortexMemoryLocalScope {
2738
+ repeated string corpus_names = 2;
2739
+ repeated string base_dir_uris = 3;
2740
+ string repo_base_dir_uri = 1 [deprecated = true];
2741
+ }
2742
+
2743
+ message CortexMemoryAllScope {
2744
+ }
2745
+
2746
+ message CortexMemorySystemScope {
2747
+ }
2748
+
2749
+ message CortexMemoryProjectScope {
2750
+ string file_path = 1;
2751
+ string absolute_file_path = 7;
2752
+ repeated string base_dir_uris = 2;
2753
+ repeated string corpus_names = 3;
2754
+ .exa.cortex_pb.CortexMemoryTrigger trigger = 4;
2755
+ string description = 5;
2756
+ repeated string globs = 6;
2757
+ .exa.cortex_pb.RuleSource rule_source = 8;
2758
+ }
2759
+
2760
+ message CortexSkill {
2761
+ string name = 1;
2762
+ string description = 2;
2763
+ string path = 3;
2764
+ int32 resource_count = 4;
2765
+ string base_dir = 5;
2766
+ string content = 6;
2767
+ bool is_global = 7 [deprecated = true];
2768
+ optional string parse_error = 8;
2769
+ .exa.cortex_pb.SkillSource skill_source = 9;
2770
+ }
2771
+
2772
+ message CortexStepMemory {
2773
+ string memory_id = 1;
2774
+ .exa.cortex_pb.CortexMemory memory = 2;
2775
+ .exa.cortex_pb.CortexMemory prev_memory = 4;
2776
+ .exa.cortex_pb.MemoryActionType action = 3;
2777
+ }
2778
+
2779
+ message CortexStepRetrieveMemory {
2780
+ bool run_subagent = 1;
2781
+ bool add_user_memories = 8;
2782
+ bool add_auto_cascade_memories = 10;
2783
+ string cascade_memory_summary = 2;
2784
+ string user_memory_summary = 3;
2785
+ string auto_cascade_memory_summary = 9;
2786
+ string reason = 4;
2787
+ bool show_reason = 5;
2788
+ repeated .exa.cortex_pb.CortexMemory retrieved_memories = 6;
2789
+ bool blocking = 7 [deprecated = true];
2790
+ }
2791
+
2792
+ message MemoryConfig {
2793
+ .exa.codeium_common_pb.Model memory_model_deprecated = 1 [deprecated = true];
2794
+ string memory_model_uid = 8;
2795
+ uint32 num_checkpoints_for_context = 5;
2796
+ int32 num_memories_to_consider = 3;
2797
+ int32 max_global_cascade_memories = 4;
2798
+ optional bool condense_input_trajectory = 6 [deprecated = true];
2799
+ optional bool add_user_memories_to_system_prompt = 7;
2800
+ optional bool enabled = 2 [deprecated = true];
2801
+ }
2802
+
2803
+ message ViewedFileTrackerConfig {
2804
+ optional uint32 max_steps_per_checkpoint = 1;
2805
+ uint32 max_files_in_prompt = 2;
2806
+ uint32 max_lines_per_file_in_prompt = 3;
2807
+ }
2808
+
2809
+ message CodeStepCreationOptions {
2810
+ int64 diff_block_separation_threshold = 1;
2811
+ bool handle_deletions = 2;
2812
+ bool handle_creations = 3;
2813
+ optional bool include_original_content = 4;
2814
+ }
2815
+
2816
+ message BrainUpdateStepCreationOptions {
2817
+ string entry_id_prefix = 1;
2818
+ }
2819
+
2820
+ message ViewFileStepCreationOptions {
2821
+ bool condition_on_edit_step = 1;
2822
+ optional bool include_raw_content = 2;
2823
+ }
2824
+
2825
+ message UserGrepStepCreationOptions {
2826
+ uint32 num_search_events = 1;
2827
+ }
2828
+
2829
+ message RunCommandStepCreationOptions {
2830
+ uint32 max_commands = 1;
2831
+ .google.protobuf.Duration max_command_age = 2;
2832
+ uint32 per_command_max_bytes_output = 3;
2833
+ uint32 total_max_bytes_output = 4;
2834
+ optional bool include_running = 5;
2835
+ }
2836
+
2837
+ message LintDiffStepCreationOptions {
2838
+ uint32 max_lint_inserts = 1;
2839
+ uint32 min_required_lint_duration = 2;
2840
+ }
2841
+
2842
+ message SnapshotToStepsOptions {
2843
+ reserved 9;
2844
+ reserved "browser_step_creation_options";
2845
+
2846
+ .exa.cortex_pb.CodeStepCreationOptions code_step_creation_options = 1;
2847
+ .exa.cortex_pb.ViewFileStepCreationOptions view_file_step_creation_options = 2;
2848
+ .exa.cortex_pb.ViewedFileTrackerConfig viewed_file_tracker_config = 3;
2849
+ repeated .exa.cortex_pb.CortexStepType step_type_allow_list = 4;
2850
+ .exa.cortex_pb.UserGrepStepCreationOptions user_grep_step_creation_options = 5;
2851
+ .exa.cortex_pb.RunCommandStepCreationOptions run_command_step_creation_options = 6;
2852
+ .exa.cortex_pb.LintDiffStepCreationOptions lint_diff_step_creation_options = 7;
2853
+ .exa.cortex_pb.BrainUpdateStepCreationOptions brain_update_step_creation_options = 8;
2854
+ }
2855
+
2856
+ message CustomToolSpec {
2857
+ string recipe_id = 1;
2858
+ .exa.chat_pb.ChatToolDefinition tool_definition = 2;
2859
+ string system_prompt = 3;
2860
+ .exa.cortex_pb.CascadeConfig config_override = 4;
2861
+ .exa.cortex_pb.CortexTrajectory reference_trajectory = 5;
2862
+ bool requires_write_mode = 6;
2863
+ bool is_builtin = 7;
2864
+ }
2865
+
2866
+ message CortexStepCustomTool {
2867
+ string recipe_id = 1;
2868
+ string arguments_json = 2;
2869
+ string output = 3;
2870
+ string recipe_name = 4;
2871
+ }
2872
+
2873
+ message CortexStepAutoCascadeBroadcast {
2874
+ string message = 1;
2875
+ }
2876
+
2877
+ message CortexStepPostPrReview {
2878
+ string body = 1;
2879
+ string commit_id = 2;
2880
+ string path = 3;
2881
+ string side = 4;
2882
+ int32 start_line = 5;
2883
+ int32 end_line = 6;
2884
+ string category = 7;
2885
+ }
2886
+
2887
+ message McpServerSpec {
2888
+ string server_name = 1;
2889
+ string command = 2;
2890
+ repeated string args = 3;
2891
+ map<string, string> env = 4;
2892
+ uint32 server_index = 5;
2893
+ string server_url = 6;
2894
+ bool disabled = 7;
2895
+ repeated string disabled_tools = 8;
2896
+ map<string, string> headers = 9;
2897
+ .exa.cortex_pb.McpOAuthConfig oauth = 10;
2898
+ string registry = 11;
2899
+ }
2900
+
2901
+ message McpOAuthConfig {
2902
+ string client_id = 1;
2903
+ repeated string scopes = 2;
2904
+ }
2905
+
2906
+ message McpServerInfo {
2907
+ string name = 1;
2908
+ string version = 2;
2909
+ }
2910
+
2911
+ message CortexStepMcpTool {
2912
+ string server_name = 1;
2913
+ .exa.codeium_common_pb.ChatToolCall tool_call = 2;
2914
+ .exa.cortex_pb.McpServerInfo server_info = 4;
2915
+ string result_string = 3;
2916
+ repeated .exa.codeium_common_pb.ImageData images = 5;
2917
+ }
2918
+
2919
+ message McpResource {
2920
+ string uri = 1;
2921
+ string name = 2;
2922
+ string description = 3;
2923
+ string mime_type = 4;
2924
+ }
2925
+
2926
+ message McpResourceContent {
2927
+ string uri = 1;
2928
+ oneof data {
2929
+ .exa.codeium_common_pb.TextData text = 2;
2930
+ .exa.codeium_common_pb.ImageData image = 3;
2931
+ }
2932
+ }
2933
+
2934
+ message McpPromptArgument {
2935
+ string name = 1;
2936
+ string description = 2;
2937
+ bool required = 3;
2938
+ }
2939
+
2940
+ message McpPrompt {
2941
+ string name = 1;
2942
+ string description = 2;
2943
+ repeated .exa.cortex_pb.McpPromptArgument arguments = 3;
2944
+ }
2945
+
2946
+ message CortexStepListResources {
2947
+ string server_name = 1;
2948
+ optional string cursor = 2;
2949
+ repeated .exa.cortex_pb.McpResource resources = 3;
2950
+ string next_cursor = 4;
2951
+ }
2952
+
2953
+ message CortexStepReadResource {
2954
+ string server_name = 1;
2955
+ string uri = 2;
2956
+ repeated .exa.cortex_pb.McpResourceContent contents = 3;
2957
+ bool skipped_non_image_binary_content = 4;
2958
+ }
2959
+
2960
+ message CortexStepArtifactSummary {
2961
+ string summary = 1;
2962
+ }
2963
+
2964
+ message CortexStepManagerFeedback {
2965
+ .exa.cortex_pb.CortexStepManagerFeedbackStatus status = 1;
2966
+ string feedback = 2;
2967
+ }
2968
+
2969
+ message CortexStepToolCallProposal {
2970
+ .exa.codeium_common_pb.ChatToolCall tool_call = 1;
2971
+ }
2972
+
2973
+ message CortexStepToolCallChoice {
2974
+ repeated .exa.codeium_common_pb.ChatToolCall proposal_tool_calls = 1;
2975
+ uint32 choice = 2;
2976
+ string reason = 3;
2977
+ }
2978
+
2979
+ message CortexStepTrajectoryChoice {
2980
+ repeated string proposal_trajectory_ids = 1;
2981
+ int32 choice = 2;
2982
+ string reason = 3;
2983
+ }
2984
+
2985
+ message CortexStepCreateRecipe {
2986
+ .exa.cortex_pb.CustomToolSpec recipe = 1;
2987
+ string reference_trajectory_id = 2;
2988
+ repeated uint32 reference_step_indices = 3;
2989
+ }
2990
+
2991
+ message CortexStepProxyWebServer {
2992
+ string target_url = 1;
2993
+ string name = 2;
2994
+ string proxy_url = 3;
2995
+ }
2996
+
2997
+ message McpServerState {
2998
+ .exa.cortex_pb.McpServerSpec spec = 1;
2999
+ .exa.cortex_pb.McpServerStatus status = 2;
3000
+ string error = 3;
3001
+ repeated .exa.chat_pb.ChatToolDefinition tools = 4;
3002
+ repeated string tool_errors = 7;
3003
+ .exa.cortex_pb.McpServerInfo server_info = 5;
3004
+ string instructions = 6;
3005
+ repeated .exa.cortex_pb.McpPrompt prompts = 8;
3006
+ }
3007
+
3008
+ message TrajectoryJudgeConfig {
3009
+ int32 max_steps_to_judge = 1;
3010
+ }
3011
+
3012
+ message CortexStepViewFileOutline {
3013
+ string absolute_path_uri = 1;
3014
+ uint32 cci_offset = 2;
3015
+ repeated .exa.codeium_common_pb.CodeContextItem ccis = 3;
3016
+ repeated string outline_items = 9;
3017
+ uint32 num_items_scanned = 10;
3018
+ uint32 total_cci_count = 4;
3019
+ uint32 num_lines = 5;
3020
+ uint32 num_bytes = 6;
3021
+ string contents = 7;
3022
+ uint32 content_lines_truncated = 8;
3023
+ string triggered_memories = 11;
3024
+ string raw_content = 12;
3025
+ }
3026
+
3027
+ message CortexTodoListItem {
3028
+ string id = 1;
3029
+ string content = 2;
3030
+ .exa.cortex_pb.CortexTodoListItemStatus status = 3;
3031
+ .exa.cortex_pb.CortexTodoListItemPriority priority = 4;
3032
+ }
3033
+
3034
+ message CortexStepTodoList {
3035
+ repeated .exa.cortex_pb.CortexTodoListItem todos = 1;
3036
+ bool is_initial_creation = 2;
3037
+ }
3038
+
3039
+ message CortexStepCodeMap {
3040
+ string code_map_json_content = 1;
3041
+ }
3042
+
3043
+ message CortexStepEditCodeMap {
3044
+ string edit_json_content = 1;
3045
+ }
3046
+
3047
+ message EphemeralMessagesConfig {
3048
+ optional bool enabled = 1;
3049
+ uint32 num_steps = 2;
3050
+ repeated .exa.cortex_pb.HeuristicPrompt heuristic_prompts = 3;
3051
+ }
3052
+
3053
+ message HeuristicPrompt {
3054
+ string heuristic = 1;
3055
+ string prompt = 2;
3056
+ }
3057
+
3058
+ message RevertMetadata {
3059
+ reserved 5;
3060
+ reserved "revert_state";
3061
+
3062
+ repeated string reverted_uris = 4;
3063
+ }
3064
+
3065
+ message TrajectoryPrefixMetadata {
3066
+ uint32 length = 1;
3067
+ uint32 tokens = 2;
3068
+ uint32 num_skipped = 3;
3069
+ uint32 num_truncated = 4;
3070
+ }
3071
+
3072
+ message CortexStepFindAllReferences {
3073
+ string absolute_uri = 1;
3074
+ string symbol = 2;
3075
+ uint32 line = 3;
3076
+ uint32 occurrence_index = 4;
3077
+ repeated .exa.codeium_common_pb.LspReference references = 5;
3078
+ }
3079
+
3080
+ message FindAllReferencesConfig {
3081
+ optional bool enabled = 1;
3082
+ }
3083
+
3084
+ message CortexStepRunExtensionCode {
3085
+ string code = 1;
3086
+ string language = 2;
3087
+ bool model_wants_auto_run = 6;
3088
+ string user_facing_explanation = 7;
3089
+ string output = 3;
3090
+ bool user_rejected = 4;
3091
+ .exa.cortex_pb.RunExtensionCodeAutoRunDecision auto_run_decision = 5;
3092
+ }
3093
+
3094
+ message RunExtensionCodeConfig {
3095
+ reserved 3;
3096
+ reserved "auto_run";
3097
+
3098
+ optional bool enabled = 1;
3099
+ optional bool only = 2;
3100
+ }
3101
+
3102
+ message CortexStepProposalFeedback {
3103
+ .exa.cortex_pb.AcknowledgementType acknowledgement_type = 1;
3104
+ uint32 target_step_index = 2;
3105
+ oneof target {
3106
+ .exa.cortex_pb.ReplacementChunk replacement_chunk = 3;
3107
+ }
3108
+ }
3109
+
3110
+ message TrajectoryDescription {
3111
+ oneof description {
3112
+ string cascade_conversation_title = 1;
3113
+ string mainline_branch_name = 2;
3114
+ }
3115
+ }
3116
+
3117
+ message CortexStepTrajectorySearch {
3118
+ string id = 1;
3119
+ string query = 2;
3120
+ .exa.cortex_pb.TrajectorySearchIdType id_type = 3;
3121
+ repeated .exa.context_module_pb.CciWithSubrangeWithRetrievalMetadata chunks = 4;
3122
+ .exa.cortex_pb.TrajectoryDescription trajectory_description = 5;
3123
+ uint32 total_chunks = 6;
3124
+ }
3125
+
3126
+ message CortexStepReadTerminal {
3127
+ string process_id = 1;
3128
+ string name = 2;
3129
+ string contents = 3;
3130
+ }
3131
+
3132
+ message HookCondition {
3133
+ repeated .exa.cortex_pb.HookAgentAction agent_actions = 1;
3134
+ }
3135
+
3136
+ message CommandHookSpec {
3137
+ string command = 1;
3138
+ string working_directory = 2;
3139
+ bool show_output = 3;
3140
+ string powershell_command = 4;
3141
+ }
3142
+
3143
+ message HookExecutionSpec {
3144
+ oneof hook {
3145
+ .exa.cortex_pb.CommandHookSpec command = 1;
3146
+ }
3147
+ }
3148
+
3149
+ message CommandHookResult {
3150
+ int32 exit_code = 1;
3151
+ string stdout = 2;
3152
+ string stderr = 3;
3153
+ }
3154
+
3155
+ message HookExecutionResult {
3156
+ oneof result {
3157
+ .exa.cortex_pb.CommandHookResult command = 1;
3158
+ }
3159
+ }
3160
+
3161
+ message CascadeHook {
3162
+ reserved 1;
3163
+ reserved 2;
3164
+ reserved 3;
3165
+ reserved 4;
3166
+
3167
+ .exa.cortex_pb.HookExecutionSpec hook_spec = 5;
3168
+ .exa.cortex_pb.HookCondition condition = 6;
3169
+ repeated string workspace_dirs = 7;
3170
+ }
3171
+
3172
+ message HookExecutionDetail {
3173
+ .exa.cortex_pb.HookExecutionSpec spec = 1;
3174
+ .exa.cortex_pb.HookExecutionResult result = 2;
3175
+ }
3176
+
3177
+ message CortexStepDeepThink {
3178
+ string exploration_document = 1;
3179
+ string exploration_document_absolute_path_uri = 2;
3180
+ string last_planner_response = 3;
3181
+ }
3182
+
3183
+ message TaskResolutionOpenPr {
3184
+ string pr_title = 1;
3185
+ string pr_body = 2;
3186
+ string pr_url = 3;
3187
+ bool existed_previously = 4;
3188
+ }
3189
+
3190
+ message TaskResolution {
3191
+ oneof resolution {
3192
+ .exa.cortex_pb.TaskResolutionOpenPr open_pr = 1;
3193
+ }
3194
+ }
3195
+
3196
+ message CodeMapSuggestion {
3197
+ string id = 1;
3198
+ string prompt = 2;
3199
+ repeated string starting_points = 3;
3200
+ bool dismissed = 4;
3201
+ optional string subtitle = 5;
3202
+ }
3203
+
3204
+ message CortexStepSuggestCodemap {
3205
+ repeated .exa.cortex_pb.CodeMapSuggestion suggestions = 1;
3206
+ }
3207
+
3208
+ message LifeguardBug {
3209
+ string id = 1;
3210
+ string file = 2;
3211
+ int32 start = 3;
3212
+ int32 end = 4;
3213
+ string title = 5;
3214
+ string description = 6;
3215
+ string severity = 7;
3216
+ string resolution = 8;
3217
+ optional string fix_old_str = 9;
3218
+ optional string fix_new_str = 10;
3219
+ }
3220
+
3221
+ message CortexStepReportBugs {
3222
+ repeated .exa.cortex_pb.LifeguardBug bugs = 1;
3223
+ }
3224
+
3225
+ message UpsertCodemapOutput {
3226
+ string id = 1;
3227
+ string title = 2;
3228
+ string codemap_json = 3;
3229
+ optional string description = 4;
3230
+ }
3231
+
3232
+ message CortexStepUpsertCodemap {
3233
+ string prompt = 1;
3234
+ repeated string starting_points = 2;
3235
+ bool blocking = 3;
3236
+ optional string editing_codemap_id = 4;
3237
+ optional string editing_codemap_title = 5;
3238
+ bool user_rejected = 6;
3239
+ optional .exa.cortex_pb.UpsertCodemapOutput output = 7;
3240
+ optional .exa.cortex_pb.UpsertCodemapRunningStatus running_status = 8;
3241
+ }
3242
+
3243
+ message UpsertCodemapRunningStatus {
3244
+ int32 step = 1;
3245
+ optional string step_status = 2;
3246
+ }
3247
+
3248
+ message CortexStepResolveTask {
3249
+ string absolute_uri = 1;
3250
+ string title = 2;
3251
+ string description = 3;
3252
+ bool user_rejected = 4;
3253
+ .exa.cortex_pb.TaskResolution resolution = 5;
3254
+ }
3255
+
3256
+ message CortexStepExitPlanMode {
3257
+ optional string plan_file = 1;
3258
+ bool user_requested = 2;
3259
+ }
3260
+
3261
+ message CortexStepSkill {
3262
+ string skill_name = 1;
3263
+ string description = 2;
3264
+ string path = 3;
3265
+ int32 resource_count = 4;
3266
+ string base_dir = 5;
3267
+ string content = 6;
3268
+ }