From 94670e64865de34b92f823729df405be4adc4476 Mon Sep 17 00:00:00 2001 From: Sehoon Shon Date: Tue, 17 Feb 2026 00:28:18 -0500 Subject: [PATCH] feat(teleportation): add missing module files --- .../core/src/teleportation/TELEPORTATION.md | 81 + packages/core/src/teleportation/converter.ts | 189 + .../trajectory_teleporter.min.js | 34254 ++++++++++++++++ 3 files changed, 34524 insertions(+) create mode 100644 packages/core/src/teleportation/TELEPORTATION.md create mode 100644 packages/core/src/teleportation/converter.ts create mode 100644 packages/core/src/teleportation/trajectory_teleporter.min.js diff --git a/packages/core/src/teleportation/TELEPORTATION.md b/packages/core/src/teleportation/TELEPORTATION.md new file mode 100644 index 0000000000..97ab52ca88 --- /dev/null +++ b/packages/core/src/teleportation/TELEPORTATION.md @@ -0,0 +1,81 @@ +# Trajectory Teleportation: Antigravity to Gemini CLI + +This document explains how the Gemini CLI discovers, reads, and converts +Antigravity (Jetski) trajectories to enable session resumption. + +## Overview + +The teleportation feature allows you to pick up a conversation in the Gemini CLI +that was started in the Antigravity (Jetski) IDE. + +## 1. Discovery + +The CLI identifies Antigravity sessions by scanning the local filesystem. + +- **Storage Location**: `~/.antigravity/conversations` +- **File Format**: Binary Protobuf files with the `.pb` extension. +- **Session IDs**: The filenames (e.g., `f81d4fae-7dec.pb`) serve as the unique + identifiers for resumption. + +## 2. Decryption & Parsing + +Since Antigravity stores data in a specialized binary format, the CLI uses a +dedicated teleporter bundle: + +- **Logic**: `trajectory_teleporter.min.js` (bundled in + `@google/gemini-cli-core`). +- **Process**: The binary `.pb` file is read into a Buffer and passed to the + teleporter's `trajectoryToJson` function, which outputs a standard JavaScript + object. + +## 3. Conversion Logic + +The conversion layer +([converter.ts](file:///Users/sshon/developments/gemini-cli/packages/core/src/teleportation/converter.ts)) +translates the technical "Steps" of an Antigravity trajectory into the CLI's +`ConversationRecord` format: + +- **User Input**: Maps `CORTEX_STEP_TYPE_USER_INPUT` (type 14) to `user` + messages. +- **Model Responses**: Maps `CORTEX_STEP_TYPE_PLANNER_RESPONSE` (type 15) to + `gemini` messages. +- **Thoughts & Reasoning**: Extracts reasoning content from the Antigravity step + and populates the `thoughts` array in the CLI record, preserving the model's + logic. +- **Tool Calls**: Maps Antigravity tool execution steps to CLI `ToolCallRecord` + objects, including status mapping (Success/Error) and argument parsing. + +## 4. Session Resumption + +Once converted: + +1. The record is injected into the CLI's `ChatRecordingService`. +2. Users can continue the conversation seamlessly via the `/chat resume` + command. + +## Maintenance & Updates + +You are correct that if Antigravity's Protobuf definitions change, the +`trajectory_teleporter.min.js` bundle will need to be updated to maintain +compatibility. + +### When to Update + +- If new step types are added to Antigravity that the CLI should support. +- If the binary format of the `.pb` files changes. +- If the encryption key or algorithm is rotated. + +### How to Regenerate the Bundle + +To keep the CLI up to date: + +1. Update `trajectory_teleporter.ts` in the Antigravity workspace. +2. Re-bundle using `esbuild` or a similar tool to produce a new + `trajectory_teleporter.min.js`. +3. Copy the new `.min.js` into `packages/core/src/teleportation/`. +4. Rebuild the Gemini CLI. + +> [!TIP] In the long term, this logic could be moved to a shared NPM package +> published from the Antigravity repository, allowing the Gemini CLI to stay +> updated via simple `npm update`. 3. Users can continue the conversation +> seamlessly via the `/chat resume` command. diff --git a/packages/core/src/teleportation/converter.ts b/packages/core/src/teleportation/converter.ts new file mode 100644 index 0000000000..1611241001 --- /dev/null +++ b/packages/core/src/teleportation/converter.ts @@ -0,0 +1,189 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +/* eslint-disable @typescript-eslint/no-unsafe-type-assertion */ +/* eslint-disable @typescript-eslint/no-explicit-any */ + +import { + type ConversationRecord, + type MessageRecord, + type ToolCallRecord, +} from '../services/chatRecordingService.js'; +import { CoreToolCallStatus } from '../scheduler/types.js'; + +/** + * Converts an Antigravity Trajectory JSON to a Gemini CLI ConversationRecord. + */ +export function convertAgyToCliRecord(agyJson: unknown): ConversationRecord { + if (typeof agyJson !== 'object' || agyJson === null) { + throw new Error('Invalid AGY JSON'); + } + const json = agyJson as Record; + const messages: MessageRecord[] = []; + const sessionId = (json['trajectoryId'] as string) || 'agy-session'; + const startTime = new Date().toISOString(); // Default to now if not found + + let currentGeminiMessage: (MessageRecord & { type: 'gemini' }) | null = null; + + const steps = (json['steps'] as any[]) || []; + + for (const step of steps) { + const s = step as Record; + const metadata = s['metadata'] as Record | undefined; + const timestamp = + (metadata?.['timestamp'] as string) || new Date().toISOString(); + const stepId = + (metadata?.['stepId'] as string) || + Math.random().toString(36).substring(7); + + switch (s['type']) { + case 14: // CORTEX_STEP_TYPE_USER_INPUT + case 'CORTEX_STEP_TYPE_USER_INPUT': { + // Close current Gemini message if open + currentGeminiMessage = null; + const userInput = s['userInput'] as Record | undefined; + messages.push({ + id: stepId, + timestamp, + type: 'user', + content: [{ text: (userInput?.['userResponse'] as string) || '' }], + }); + break; + } + + case 15: // CORTEX_STEP_TYPE_PLANNER_RESPONSE + case 'CORTEX_STEP_TYPE_PLANNER_RESPONSE': { + const plannerResponse = s['plannerResponse'] as + | Record + | undefined; + const response = plannerResponse?.['response'] || ''; + const thinking = plannerResponse?.['thinking'] || ''; + currentGeminiMessage = { + id: stepId, + timestamp, + type: 'gemini', + content: [{ text: response as string }], + thoughts: thinking + ? [ + { + subject: 'Thinking', + description: thinking as string, + timestamp, + }, + ] + : [], + toolCalls: [], + }; + messages.push(currentGeminiMessage); + break; + } + + case 7: // CORTEX_STEP_TYPE_GREP_SEARCH + case 'CORTEX_STEP_TYPE_GREP_SEARCH': + case 8: // CORTEX_STEP_TYPE_VIEW_FILE + case 'CORTEX_STEP_TYPE_VIEW_FILE': + case 9: // CORTEX_STEP_TYPE_LIST_DIRECTORY + case 'CORTEX_STEP_TYPE_LIST_DIRECTORY': + case 21: // CORTEX_STEP_TYPE_RUN_COMMAND + case 'CORTEX_STEP_TYPE_RUN_COMMAND': + case 85: // CORTEX_STEP_TYPE_BROWSER_SUBAGENT + case 'CORTEX_STEP_TYPE_BROWSER_SUBAGENT': + case 86: // CORTEX_STEP_TYPE_FILE_CHANGE + case 'CORTEX_STEP_TYPE_FILE_CHANGE': { + if (!currentGeminiMessage) { + // If no planner response preceded this, create a dummy one + const adjunctMessage: MessageRecord = { + id: `adjunct-${stepId}`, + timestamp, + type: 'gemini', + content: [], + toolCalls: [], + thoughts: [], + }; + messages.push(adjunctMessage); + currentGeminiMessage = adjunctMessage as MessageRecord & { + type: 'gemini'; + }; + } + + if (currentGeminiMessage) { + currentGeminiMessage.toolCalls?.push(mapAgyStepToToolCall(s)); + } + break; + } + + default: + // Skip unknown steps + break; + } + } + + return { + sessionId, + projectHash: 'agy-imported', + startTime, + lastUpdated: new Date().toISOString(), + messages, + }; +} + +function mapAgyStepToToolCall(step: Record): ToolCallRecord { + const timestamp = + (step['metadata']?.['timestamp'] as string) || new Date().toISOString(); + const id = + (step['metadata']?.['stepId'] as string) || + Math.random().toString(36).substring(7); + let name = 'unknown_tool'; + let args: any = {}; + let result: any = null; + + if (step['viewFile']) { + name = 'view_file'; + args = { AbsolutePath: step['viewFile']['absolutePathUri'] }; + result = [{ text: step['viewFile']['content'] || '' }]; + } else if (step['listDirectory']) { + name = 'list_dir'; + args = { DirectoryPath: step['listDirectory']['directoryPathUri'] }; + } else if (step['grepSearch']) { + name = 'grep_search'; + args = { + Query: step['grepSearch']['query'], + SearchPath: step['grepSearch']['searchPathUri'], + }; + result = [{ text: step['grepSearch']['rawOutput'] || '' }]; + } else if (step['runCommand']) { + name = 'run_command'; + args = { CommandLine: step['runCommand']['commandLine'] }; + result = [{ text: step['runCommand']['combinedOutput']?.['full'] || '' }]; + } else if (step['fileChange']) { + name = 'replace_file_content'; // Or multi_replace_file_content + args = { TargetFile: step['fileChange']['absolutePathUri'] }; + } else if (step['browserSubagent']) { + name = 'browser_subagent'; + args = { Task: step['browserSubagent']['task'] }; + } else if (step['generic']) { + const generic = step['generic'] as Record; + name = generic['toolName'] as string; + try { + args = JSON.parse(generic['argsJson'] as string); + } catch { + args = {}; + } + result = [{ text: (generic['responseJson'] as string) || '' }]; + } + + return { + id, + name, + args: args as Record, + result, + status: + step['status'] === 3 || step['status'] === 'CORTEX_STEP_STATUS_DONE' + ? CoreToolCallStatus.Success + : CoreToolCallStatus.Error, + timestamp, + }; +} diff --git a/packages/core/src/teleportation/trajectory_teleporter.min.js b/packages/core/src/teleportation/trajectory_teleporter.min.js new file mode 100644 index 0000000000..43cf4f70e2 --- /dev/null +++ b/packages/core/src/teleportation/trajectory_teleporter.min.js @@ -0,0 +1,34254 @@ +import * as Oe from 'crypto'; +function p(e, n) { + if (!e) throw new Error(n); +} +var np = 34028234663852886e22, + ep = -34028234663852886e22, + tp = 4294967295, + ap = 2147483647, + rp = -2147483648; +function Vn(e) { + if (typeof e != 'number') throw new Error('invalid int 32: ' + typeof e); + if (!Number.isInteger(e) || e > ap || e < rp) + throw new Error('invalid int 32: ' + e); +} +function Ce(e) { + if (typeof e != 'number') throw new Error('invalid uint 32: ' + typeof e); + if (!Number.isInteger(e) || e > tp || e < 0) + throw new Error('invalid uint 32: ' + e); +} +function va(e) { + if (typeof e != 'number') throw new Error('invalid float 32: ' + typeof e); + if (Number.isFinite(e) && (e > np || e < ep)) + throw new Error('invalid float 32: ' + e); +} +var rT = Symbol('@bufbuild/protobuf/enum-type'); +function sT(e) { + let n = e[rT]; + return (p(n, 'missing enum type on enum object'), n); +} +function Xo(e, n, t, i) { + e[rT] = Ko( + n, + t.map((s) => ({ no: s.no, name: s.name, localName: e[s.no] })), + i, + ); +} +function Ko(e, n, t) { + let i = Object.create(null), + s = Object.create(null), + m = []; + for (let c of n) { + let u = oT(c); + (m.push(u), (i[c.name] = u), (s[c.no] = u)); + } + return { + typeName: e, + values: m, + findName(c) { + return i[c]; + }, + findNumber(c) { + return s[c]; + }, + }; +} +function iT(e, n, t) { + let i = {}; + for (let s of n) { + let m = oT(s); + ((i[m.localName] = m.no), (i[m.no] = m.localName)); + } + return (Xo(i, e, n, t), i); +} +function oT(e) { + return 'localName' in e + ? e + : Object.assign(Object.assign({}, e), { localName: e.name }); +} +var r = class { + equals(n) { + return this.getType().runtime.util.equals(this.getType(), this, n); + } + clone() { + return this.getType().runtime.util.clone(this); + } + fromBinary(n, t) { + let i = this.getType(), + s = i.runtime.bin, + m = s.makeReadOptions(t); + return (s.readMessage(this, m.readerFactory(n), n.byteLength, m), this); + } + fromJson(n, t) { + let i = this.getType(), + s = i.runtime.json, + m = s.makeReadOptions(t); + return (s.readMessage(i, n, m, this), this); + } + fromJsonString(n, t) { + let i; + try { + i = JSON.parse(n); + } catch (s) { + throw new Error( + `cannot decode ${this.getType().typeName} from JSON: ${s instanceof Error ? s.message : String(s)}`, + ); + } + return this.fromJson(i, t); + } + toBinary(n) { + let t = this.getType(), + i = t.runtime.bin, + s = i.makeWriteOptions(n), + m = s.writerFactory(); + return (i.writeMessage(this, m, s), m.finish()); + } + toJson(n) { + let t = this.getType(), + i = t.runtime.json, + s = i.makeWriteOptions(n); + return i.writeMessage(this, s); + } + toJsonString(n) { + var t; + let i = this.toJson(n); + return JSON.stringify( + i, + null, + (t = n?.prettySpaces) !== null && t !== void 0 ? t : 0, + ); + } + toJSON() { + return this.toJson({ emitDefaultValues: !0 }); + } + getType() { + return Object.getPrototypeOf(this).constructor; + } +}; +function mT(e, n, t, i) { + var s; + let m = + (s = i?.localName) !== null && s !== void 0 + ? s + : n.substring(n.lastIndexOf('.') + 1), + c = { + [m]: function (u) { + (e.util.initFields(this), e.util.initPartial(u, this)); + }, + }[m]; + return ( + Object.setPrototypeOf(c.prototype, new r()), + Object.assign(c, { + runtime: e, + typeName: n, + fields: e.util.newFieldList(t), + fromBinary(u, E) { + return new c().fromBinary(u, E); + }, + fromJson(u, E) { + return new c().fromJson(u, E); + }, + fromJsonString(u, E) { + return new c().fromJsonString(u, E); + }, + equals(u, E) { + return e.util.equals(c, u, E); + }, + }), + c + ); +} +function uT() { + let e = 0, + n = 0; + for (let i = 0; i < 28; i += 7) { + let s = this.buf[this.pos++]; + if (((e |= (s & 127) << i), !(s & 128))) + return (this.assertBounds(), [e, n]); + } + let t = this.buf[this.pos++]; + if (((e |= (t & 15) << 28), (n = (t & 112) >> 4), !(t & 128))) + return (this.assertBounds(), [e, n]); + for (let i = 3; i <= 31; i += 7) { + let s = this.buf[this.pos++]; + if (((n |= (s & 127) << i), !(s & 128))) + return (this.assertBounds(), [e, n]); + } + throw new Error('invalid varint'); +} +function ja(e, n, t) { + for (let m = 0; m < 28; m = m + 7) { + let c = e >>> m, + u = !(!(c >>> 7) && n == 0), + E = (u ? c | 128 : c) & 255; + if ((t.push(E), !u)) return; + } + let i = ((e >>> 28) & 15) | ((n & 7) << 4), + s = !!(n >> 3); + if ((t.push((s ? i | 128 : i) & 255), !!s)) { + for (let m = 3; m < 31; m = m + 7) { + let c = n >>> m, + u = !!(c >>> 7), + E = (u ? c | 128 : c) & 255; + if ((t.push(E), !u)) return; + } + t.push((n >>> 31) & 1); + } +} +var za = 4294967296; +function vo(e) { + let n = e[0] === '-'; + n && (e = e.slice(1)); + let t = 1e6, + i = 0, + s = 0; + function m(c, u) { + let E = Number(e.slice(c, u)); + ((s *= t), + (i = i * t + E), + i >= za && ((s = s + ((i / za) | 0)), (i = i % za))); + } + return (m(-24, -18), m(-18, -12), m(-12, -6), m(-6), n ? ET(i, s) : jo(i, s)); +} +function lT(e, n) { + let t = jo(e, n), + i = t.hi & 2147483648; + i && (t = ET(t.lo, t.hi)); + let s = zo(t.lo, t.hi); + return i ? '-' + s : s; +} +function zo(e, n) { + if ((({ lo: e, hi: n } = sp(e, n)), n <= 2097151)) return String(za * n + e); + let t = e & 16777215, + i = ((e >>> 24) | (n << 8)) & 16777215, + s = (n >> 16) & 65535, + m = t + i * 6777216 + s * 6710656, + c = i + s * 8147497, + u = s * 2, + E = 1e7; + return ( + m >= E && ((c += Math.floor(m / E)), (m %= E)), + c >= E && ((u += Math.floor(c / E)), (c %= E)), + u.toString() + cT(c) + cT(m) + ); +} +function sp(e, n) { + return { lo: e >>> 0, hi: n >>> 0 }; +} +function jo(e, n) { + return { lo: e | 0, hi: n | 0 }; +} +function ET(e, n) { + return ((n = ~n), e ? (e = ~e + 1) : (n += 1), jo(e, n)); +} +var cT = (e) => { + let n = String(e); + return '0000000'.slice(n.length) + n; +}; +function Qo(e, n) { + if (e >= 0) { + for (; e > 127; ) (n.push((e & 127) | 128), (e = e >>> 7)); + n.push(e); + } else { + for (let t = 0; t < 9; t++) (n.push((e & 127) | 128), (e = e >> 7)); + n.push(1); + } +} +function _T() { + let e = this.buf[this.pos++], + n = e & 127; + if (!(e & 128)) return (this.assertBounds(), n); + if (((e = this.buf[this.pos++]), (n |= (e & 127) << 7), !(e & 128))) + return (this.assertBounds(), n); + if (((e = this.buf[this.pos++]), (n |= (e & 127) << 14), !(e & 128))) + return (this.assertBounds(), n); + if (((e = this.buf[this.pos++]), (n |= (e & 127) << 21), !(e & 128))) + return (this.assertBounds(), n); + ((e = this.buf[this.pos++]), (n |= (e & 15) << 28)); + for (let t = 5; e & 128 && t < 10; t++) e = this.buf[this.pos++]; + if (e & 128) throw new Error('invalid varint'); + return (this.assertBounds(), n >>> 0); +} +function ip() { + let e = new DataView(new ArrayBuffer(8)); + if ( + typeof BigInt == 'function' && + typeof e.getBigInt64 == 'function' && + typeof e.getBigUint64 == 'function' && + typeof e.setBigInt64 == 'function' && + typeof e.setBigUint64 == 'function' && + (typeof process != 'object' || + typeof process.env != 'object' || + process.env.BUF_BIGINT_DISABLE !== '1') + ) { + let s = BigInt('-9223372036854775808'), + m = BigInt('9223372036854775807'), + c = BigInt('0'), + u = BigInt('18446744073709551615'); + return { + zero: BigInt(0), + supported: !0, + parse(E) { + let T = typeof E == 'bigint' ? E : BigInt(E); + if (T > m || T < s) throw new Error(`int64 invalid: ${E}`); + return T; + }, + uParse(E) { + let T = typeof E == 'bigint' ? E : BigInt(E); + if (T > u || T < c) throw new Error(`uint64 invalid: ${E}`); + return T; + }, + enc(E) { + return ( + e.setBigInt64(0, this.parse(E), !0), + { lo: e.getInt32(0, !0), hi: e.getInt32(4, !0) } + ); + }, + uEnc(E) { + return ( + e.setBigInt64(0, this.uParse(E), !0), + { lo: e.getInt32(0, !0), hi: e.getInt32(4, !0) } + ); + }, + dec(E, T) { + return ( + e.setInt32(0, E, !0), + e.setInt32(4, T, !0), + e.getBigInt64(0, !0) + ); + }, + uDec(E, T) { + return ( + e.setInt32(0, E, !0), + e.setInt32(4, T, !0), + e.getBigUint64(0, !0) + ); + }, + }; + } + let t = (s) => p(/^-?[0-9]+$/.test(s), `int64 invalid: ${s}`), + i = (s) => p(/^[0-9]+$/.test(s), `uint64 invalid: ${s}`); + return { + zero: '0', + supported: !1, + parse(s) { + return (typeof s != 'string' && (s = s.toString()), t(s), s); + }, + uParse(s) { + return (typeof s != 'string' && (s = s.toString()), i(s), s); + }, + enc(s) { + return (typeof s != 'string' && (s = s.toString()), t(s), vo(s)); + }, + uEnc(s) { + return (typeof s != 'string' && (s = s.toString()), i(s), vo(s)); + }, + dec(s, m) { + return lT(s, m); + }, + uDec(s, m) { + return zo(s, m); + }, + }; +} +var o = ip(); +var l; +(function (e) { + ((e[(e.DOUBLE = 1)] = 'DOUBLE'), + (e[(e.FLOAT = 2)] = 'FLOAT'), + (e[(e.INT64 = 3)] = 'INT64'), + (e[(e.UINT64 = 4)] = 'UINT64'), + (e[(e.INT32 = 5)] = 'INT32'), + (e[(e.FIXED64 = 6)] = 'FIXED64'), + (e[(e.FIXED32 = 7)] = 'FIXED32'), + (e[(e.BOOL = 8)] = 'BOOL'), + (e[(e.STRING = 9)] = 'STRING'), + (e[(e.BYTES = 12)] = 'BYTES'), + (e[(e.UINT32 = 13)] = 'UINT32'), + (e[(e.SFIXED32 = 15)] = 'SFIXED32'), + (e[(e.SFIXED64 = 16)] = 'SFIXED64'), + (e[(e.SINT32 = 17)] = 'SINT32'), + (e[(e.SINT64 = 18)] = 'SINT64')); +})(l || (l = {})); +var M; +(function (e) { + ((e[(e.BIGINT = 0)] = 'BIGINT'), (e[(e.STRING = 1)] = 'STRING')); +})(M || (M = {})); +function Q(e, n, t) { + if (n === t) return !0; + if (e == l.BYTES) { + if ( + !(n instanceof Uint8Array) || + !(t instanceof Uint8Array) || + n.length !== t.length + ) + return !1; + for (let i = 0; i < n.length; i++) if (n[i] !== t[i]) return !1; + return !0; + } + switch (e) { + case l.UINT64: + case l.FIXED64: + case l.INT64: + case l.SFIXED64: + case l.SINT64: + return n == t; + } + return !1; +} +function y(e, n) { + switch (e) { + case l.BOOL: + return !1; + case l.UINT64: + case l.FIXED64: + case l.INT64: + case l.SFIXED64: + case l.SINT64: + return n == 0 ? o.zero : '0'; + case l.DOUBLE: + case l.FLOAT: + return 0; + case l.BYTES: + return new Uint8Array(0); + case l.STRING: + return ''; + default: + return 0; + } +} +function Qa(e, n) { + switch (e) { + case l.BOOL: + return n === !1; + case l.STRING: + return n === ''; + case l.BYTES: + return n instanceof Uint8Array && !n.byteLength; + default: + return n == 0; + } +} +var L; +(function (e) { + ((e[(e.Varint = 0)] = 'Varint'), + (e[(e.Bit64 = 1)] = 'Bit64'), + (e[(e.LengthDelimited = 2)] = 'LengthDelimited'), + (e[(e.StartGroup = 3)] = 'StartGroup'), + (e[(e.EndGroup = 4)] = 'EndGroup'), + (e[(e.Bit32 = 5)] = 'Bit32')); +})(L || (L = {})); +var Za = class { + constructor(n) { + ((this.stack = []), + (this.textEncoder = n ?? new TextEncoder()), + (this.chunks = []), + (this.buf = [])); + } + finish() { + this.chunks.push(new Uint8Array(this.buf)); + let n = 0; + for (let s = 0; s < this.chunks.length; s++) n += this.chunks[s].length; + let t = new Uint8Array(n), + i = 0; + for (let s = 0; s < this.chunks.length; s++) + (t.set(this.chunks[s], i), (i += this.chunks[s].length)); + return ((this.chunks = []), t); + } + fork() { + return ( + this.stack.push({ chunks: this.chunks, buf: this.buf }), + (this.chunks = []), + (this.buf = []), + this + ); + } + join() { + let n = this.finish(), + t = this.stack.pop(); + if (!t) throw new Error('invalid state, fork stack empty'); + return ( + (this.chunks = t.chunks), + (this.buf = t.buf), + this.uint32(n.byteLength), + this.raw(n) + ); + } + tag(n, t) { + return this.uint32(((n << 3) | t) >>> 0); + } + raw(n) { + return ( + this.buf.length && + (this.chunks.push(new Uint8Array(this.buf)), (this.buf = [])), + this.chunks.push(n), + this + ); + } + uint32(n) { + for (Ce(n); n > 127; ) (this.buf.push((n & 127) | 128), (n = n >>> 7)); + return (this.buf.push(n), this); + } + int32(n) { + return (Vn(n), Qo(n, this.buf), this); + } + bool(n) { + return (this.buf.push(n ? 1 : 0), this); + } + bytes(n) { + return (this.uint32(n.byteLength), this.raw(n)); + } + string(n) { + let t = this.textEncoder.encode(n); + return (this.uint32(t.byteLength), this.raw(t)); + } + float(n) { + va(n); + let t = new Uint8Array(4); + return (new DataView(t.buffer).setFloat32(0, n, !0), this.raw(t)); + } + double(n) { + let t = new Uint8Array(8); + return (new DataView(t.buffer).setFloat64(0, n, !0), this.raw(t)); + } + fixed32(n) { + Ce(n); + let t = new Uint8Array(4); + return (new DataView(t.buffer).setUint32(0, n, !0), this.raw(t)); + } + sfixed32(n) { + Vn(n); + let t = new Uint8Array(4); + return (new DataView(t.buffer).setInt32(0, n, !0), this.raw(t)); + } + sint32(n) { + return (Vn(n), (n = ((n << 1) ^ (n >> 31)) >>> 0), Qo(n, this.buf), this); + } + sfixed64(n) { + let t = new Uint8Array(8), + i = new DataView(t.buffer), + s = o.enc(n); + return (i.setInt32(0, s.lo, !0), i.setInt32(4, s.hi, !0), this.raw(t)); + } + fixed64(n) { + let t = new Uint8Array(8), + i = new DataView(t.buffer), + s = o.uEnc(n); + return (i.setInt32(0, s.lo, !0), i.setInt32(4, s.hi, !0), this.raw(t)); + } + int64(n) { + let t = o.enc(n); + return (ja(t.lo, t.hi, this.buf), this); + } + sint64(n) { + let t = o.enc(n), + i = t.hi >> 31, + s = (t.lo << 1) ^ i, + m = ((t.hi << 1) | (t.lo >>> 31)) ^ i; + return (ja(s, m, this.buf), this); + } + uint64(n) { + let t = o.uEnc(n); + return (ja(t.lo, t.hi, this.buf), this); + } + }, + $a = class { + constructor(n, t) { + ((this.varint64 = uT), + (this.uint32 = _T), + (this.buf = n), + (this.len = n.length), + (this.pos = 0), + (this.view = new DataView(n.buffer, n.byteOffset, n.byteLength)), + (this.textDecoder = t ?? new TextDecoder())); + } + tag() { + let n = this.uint32(), + t = n >>> 3, + i = n & 7; + if (t <= 0 || i < 0 || i > 5) + throw new Error('illegal tag: field no ' + t + ' wire type ' + i); + return [t, i]; + } + skip(n) { + let t = this.pos; + switch (n) { + case L.Varint: + for (; this.buf[this.pos++] & 128; ); + break; + case L.Bit64: + this.pos += 4; + case L.Bit32: + this.pos += 4; + break; + case L.LengthDelimited: + let i = this.uint32(); + this.pos += i; + break; + case L.StartGroup: + let s; + for (; (s = this.tag()[1]) !== L.EndGroup; ) this.skip(s); + break; + default: + throw new Error('cant skip wire type ' + n); + } + return (this.assertBounds(), this.buf.subarray(t, this.pos)); + } + assertBounds() { + if (this.pos > this.len) throw new RangeError('premature EOF'); + } + int32() { + return this.uint32() | 0; + } + sint32() { + let n = this.uint32(); + return (n >>> 1) ^ -(n & 1); + } + int64() { + return o.dec(...this.varint64()); + } + uint64() { + return o.uDec(...this.varint64()); + } + sint64() { + let [n, t] = this.varint64(), + i = -(n & 1); + return ( + (n = ((n >>> 1) | ((t & 1) << 31)) ^ i), + (t = (t >>> 1) ^ i), + o.dec(n, t) + ); + } + bool() { + let [n, t] = this.varint64(); + return n !== 0 || t !== 0; + } + fixed32() { + return this.view.getUint32((this.pos += 4) - 4, !0); + } + sfixed32() { + return this.view.getInt32((this.pos += 4) - 4, !0); + } + fixed64() { + return o.uDec(this.sfixed32(), this.sfixed32()); + } + sfixed64() { + return o.dec(this.sfixed32(), this.sfixed32()); + } + float() { + return this.view.getFloat32((this.pos += 4) - 4, !0); + } + double() { + return this.view.getFloat64((this.pos += 8) - 8, !0); + } + bytes() { + let n = this.uint32(), + t = this.pos; + return ( + (this.pos += n), + this.assertBounds(), + this.buf.subarray(t, t + n) + ); + } + string() { + return this.textDecoder.decode(this.bytes()); + } + }; +function dT(e, n, t, i) { + let s; + return { + typeName: n, + extendee: t, + get field() { + if (!s) { + let m = typeof i == 'function' ? i() : i; + ((m.name = n.split('.').pop()), + (m.jsonName = `[${n}]`), + (s = e.util.newFieldList([m]).list()[0])); + } + return s; + }, + runtime: e, + }; +} +function nr(e) { + let n = e.field.localName, + t = Object.create(null); + return ((t[n] = op(e)), [t, () => t[n]]); +} +function op(e) { + let n = e.field; + if (n.repeated) return []; + if (n.default !== void 0) return n.default; + switch (n.kind) { + case 'enum': + return n.T.values[0].no; + case 'scalar': + return y(n.T, n.L); + case 'message': + let t = n.T, + i = new t(); + return t.fieldWrapper ? t.fieldWrapper.unwrapField(i) : i; + case 'map': + throw 'map fields are not allowed to be extensions'; + } +} +function TT(e, n) { + if (!n.repeated && (n.kind == 'enum' || n.kind == 'scalar')) { + for (let t = e.length - 1; t >= 0; --t) if (e[t].no == n.no) return [e[t]]; + return []; + } + return e.filter((t) => t.no === n.no); +} +var Z = + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split( + '', + ), + er = []; +for (let e = 0; e < Z.length; e++) er[Z[e].charCodeAt(0)] = e; +er[45] = Z.indexOf('+'); +er[95] = Z.indexOf('/'); +var Zo = { + dec(e) { + let n = (e.length * 3) / 4; + e[e.length - 2] == '=' ? (n -= 2) : e[e.length - 1] == '=' && (n -= 1); + let t = new Uint8Array(n), + i = 0, + s = 0, + m, + c = 0; + for (let u = 0; u < e.length; u++) { + if (((m = er[e.charCodeAt(u)]), m === void 0)) + switch (e[u]) { + case '=': + s = 0; + case ` +`: + case '\r': + case ' ': + case ' ': + continue; + default: + throw Error('invalid base64 string.'); + } + switch (s) { + case 0: + ((c = m), (s = 1)); + break; + case 1: + ((t[i++] = (c << 2) | ((m & 48) >> 4)), (c = m), (s = 2)); + break; + case 2: + ((t[i++] = ((c & 15) << 4) | ((m & 60) >> 2)), (c = m), (s = 3)); + break; + case 3: + ((t[i++] = ((c & 3) << 6) | m), (s = 0)); + break; + } + } + if (s == 1) throw Error('invalid base64 string.'); + return t.subarray(0, i); + }, + enc(e) { + let n = '', + t = 0, + i, + s = 0; + for (let m = 0; m < e.length; m++) + switch (((i = e[m]), t)) { + case 0: + ((n += Z[i >> 2]), (s = (i & 3) << 4), (t = 1)); + break; + case 1: + ((n += Z[s | (i >> 4)]), (s = (i & 15) << 2), (t = 2)); + break; + case 2: + ((n += Z[s | (i >> 6)]), (n += Z[i & 63]), (t = 0)); + break; + } + return (t && ((n += Z[s]), (n += '='), t == 1 && (n += '=')), n); + }, +}; +function fT(e, n, t) { + ST(n, e); + let i = n.runtime.bin.makeReadOptions(t), + s = TT(e.getType().runtime.bin.listUnknownFields(e), n.field), + [m, c] = nr(n); + for (let u of s) + n.runtime.bin.readField(m, i.readerFactory(u.data), n.field, u.wireType, i); + return c(); +} +function NT(e, n, t, i) { + ST(n, e); + let s = n.runtime.bin.makeReadOptions(i), + m = n.runtime.bin.makeWriteOptions(i); + if ($o(e, n)) { + let T = e + .getType() + .runtime.bin.listUnknownFields(e) + .filter((d) => d.no != n.field.no); + e.getType().runtime.bin.discardUnknownFields(e); + for (let d of T) + e.getType().runtime.bin.onUnknownField(e, d.no, d.wireType, d.data); + } + let c = m.writerFactory(), + u = n.field; + (!u.opt && + !u.repeated && + (u.kind == 'enum' || u.kind == 'scalar') && + (u = Object.assign(Object.assign({}, n.field), { opt: !0 })), + n.runtime.bin.writeField(u, t, c, m)); + let E = s.readerFactory(c.finish()); + for (; E.pos < E.len; ) { + let [T, d] = E.tag(), + S = E.skip(d); + e.getType().runtime.bin.onUnknownField(e, T, d, S); + } +} +function $o(e, n) { + let t = e.getType(); + return ( + n.extendee.typeName === t.typeName && + !!t.runtime.bin.listUnknownFields(e).find((i) => i.no == n.field.no) + ); +} +function ST(e, n) { + p( + e.extendee.typeName == n.getType().typeName, + `extension ${e.typeName} can only be applied to message ${e.extendee.typeName}`, + ); +} +function tr(e, n) { + let t = e.localName; + if (e.repeated) return n[t].length > 0; + if (e.oneof) return n[e.oneof.localName].case === t; + switch (e.kind) { + case 'enum': + case 'scalar': + return e.opt || e.req + ? n[t] !== void 0 + : e.kind == 'enum' + ? n[t] !== e.T.values[0].no + : !Qa(e.T, n[t]); + case 'message': + return n[t] !== void 0; + case 'map': + return Object.keys(n[t]).length > 0; + } +} +function nm(e, n) { + let t = e.localName, + i = !e.opt && !e.req; + if (e.repeated) n[t] = []; + else if (e.oneof) n[e.oneof.localName] = { case: void 0 }; + else + switch (e.kind) { + case 'map': + n[t] = {}; + break; + case 'enum': + n[t] = i ? e.T.values[0].no : void 0; + break; + case 'scalar': + n[t] = i ? y(e.T, e.L) : void 0; + break; + case 'message': + n[t] = void 0; + break; + } +} +function h(e, n) { + if ( + e === null || + typeof e != 'object' || + !Object.getOwnPropertyNames(r.prototype).every( + (i) => i in e && typeof e[i] == 'function', + ) + ) + return !1; + let t = e.getType(); + return t === null || + typeof t != 'function' || + !('typeName' in t) || + typeof t.typeName != 'string' + ? !1 + : n === void 0 + ? !0 + : t.typeName == n.typeName; +} +function ar(e, n) { + return h(n) || !e.fieldWrapper ? n : e.fieldWrapper.wrapField(n); +} +var eO = { + 'google.protobuf.DoubleValue': l.DOUBLE, + 'google.protobuf.FloatValue': l.FLOAT, + 'google.protobuf.Int64Value': l.INT64, + 'google.protobuf.UInt64Value': l.UINT64, + 'google.protobuf.Int32Value': l.INT32, + 'google.protobuf.UInt32Value': l.UINT32, + 'google.protobuf.BoolValue': l.BOOL, + 'google.protobuf.StringValue': l.STRING, + 'google.protobuf.BytesValue': l.BYTES, +}; +var IT = { ignoreUnknownFields: !1 }, + pT = { + emitDefaultValues: !1, + enumAsInteger: !1, + useProtoFieldName: !1, + prettySpaces: 0, + }; +function mp(e) { + return e ? Object.assign(Object.assign({}, IT), e) : IT; +} +function cp(e) { + return e ? Object.assign(Object.assign({}, pT), e) : pT; +} +var ir = Symbol(), + rr = Symbol(); +function CT() { + return { + makeReadOptions: mp, + makeWriteOptions: cp, + readMessage(e, n, t, i) { + if (n == null || Array.isArray(n) || typeof n != 'object') + throw new Error( + `cannot decode message ${e.typeName} from JSON: ${q(n)}`, + ); + i = i ?? new e(); + let s = new Map(), + m = t.typeRegistry; + for (let [c, u] of Object.entries(n)) { + let E = e.fields.findJsonName(c); + if (E) { + if (E.oneof) { + if (u === null && E.kind == 'scalar') continue; + let T = s.get(E.oneof); + if (T !== void 0) + throw new Error( + `cannot decode message ${e.typeName} from JSON: multiple keys for oneof "${E.oneof.name}" present: "${T}", "${c}"`, + ); + s.set(E.oneof, c); + } + OT(i, u, E, t, e); + } else { + let T = !1; + if (m?.findExtension && c.startsWith('[') && c.endsWith(']')) { + let d = m.findExtension(c.substring(1, c.length - 1)); + if (d && d.extendee.typeName == e.typeName) { + T = !0; + let [S, R] = nr(d); + (OT(S, u, d.field, t, d), NT(i, d, R(), t)); + } + } + if (!T && !t.ignoreUnknownFields) + throw new Error( + `cannot decode message ${e.typeName} from JSON: key "${c}" is unknown`, + ); + } + } + return i; + }, + writeMessage(e, n) { + let t = e.getType(), + i = {}, + s; + try { + for (s of t.fields.byNumber()) { + if (!tr(s, e)) { + if (s.req) throw 'required field not set'; + if (!n.emitDefaultValues || !lp(s)) continue; + } + let c = s.oneof ? e[s.oneof.localName].value : e[s.localName], + u = AT(s, c, n); + u !== void 0 && (i[n.useProtoFieldName ? s.name : s.jsonName] = u); + } + let m = n.typeRegistry; + if (m?.findExtensionFor) + for (let c of t.runtime.bin.listUnknownFields(e)) { + let u = m.findExtensionFor(t.typeName, c.no); + if (u && $o(e, u)) { + let E = fT(e, u, n), + T = AT(u.field, E, n); + T !== void 0 && (i[u.field.jsonName] = T); + } + } + } catch (m) { + let c = s + ? `cannot encode field ${t.typeName}.${s.name} to JSON` + : `cannot encode message ${t.typeName} to JSON`, + u = m instanceof Error ? m.message : String(m); + throw new Error(c + (u.length > 0 ? `: ${u}` : '')); + } + return i; + }, + readScalar(e, n, t) { + return Re(e, n, t ?? M.BIGINT, !0); + }, + writeScalar(e, n, t) { + if (n !== void 0 && (t || Qa(e, n))) return sr(e, n); + }, + debug: q, + }; +} +function q(e) { + if (e === null) return 'null'; + switch (typeof e) { + case 'object': + return Array.isArray(e) ? 'array' : 'object'; + case 'string': + return e.length > 100 ? 'string' : `"${e.split('"').join('\\"')}"`; + default: + return String(e); + } +} +function OT(e, n, t, i, s) { + let m = t.localName; + if (t.repeated) { + if ((p(t.kind != 'map'), n === null)) return; + if (!Array.isArray(n)) + throw new Error( + `cannot decode field ${s.typeName}.${t.name} from JSON: ${q(n)}`, + ); + let c = e[m]; + for (let u of n) { + if (u === null) + throw new Error( + `cannot decode field ${s.typeName}.${t.name} from JSON: ${q(u)}`, + ); + switch (t.kind) { + case 'message': + c.push(t.T.fromJson(u, i)); + break; + case 'enum': + let E = em(t.T, u, i.ignoreUnknownFields, !0); + E !== rr && c.push(E); + break; + case 'scalar': + try { + c.push(Re(t.T, u, t.L, !0)); + } catch (T) { + let d = `cannot decode field ${s.typeName}.${t.name} from JSON: ${q(u)}`; + throw ( + T instanceof Error && + T.message.length > 0 && + (d += `: ${T.message}`), + new Error(d) + ); + } + break; + } + } + } else if (t.kind == 'map') { + if (n === null) return; + if (typeof n != 'object' || Array.isArray(n)) + throw new Error( + `cannot decode field ${s.typeName}.${t.name} from JSON: ${q(n)}`, + ); + let c = e[m]; + for (let [u, E] of Object.entries(n)) { + if (E === null) + throw new Error( + `cannot decode field ${s.typeName}.${t.name} from JSON: map value null`, + ); + let T; + try { + T = up(t.K, u); + } catch (d) { + let S = `cannot decode map key for field ${s.typeName}.${t.name} from JSON: ${q(n)}`; + throw ( + d instanceof Error && d.message.length > 0 && (S += `: ${d.message}`), + new Error(S) + ); + } + switch (t.V.kind) { + case 'message': + c[T] = t.V.T.fromJson(E, i); + break; + case 'enum': + let d = em(t.V.T, E, i.ignoreUnknownFields, !0); + d !== rr && (c[T] = d); + break; + case 'scalar': + try { + c[T] = Re(t.V.T, E, M.BIGINT, !0); + } catch (S) { + let R = `cannot decode map value for field ${s.typeName}.${t.name} from JSON: ${q(n)}`; + throw ( + S instanceof Error && + S.message.length > 0 && + (R += `: ${S.message}`), + new Error(R) + ); + } + break; + } + } + } else + switch ( + (t.oneof && ((e = e[t.oneof.localName] = { case: m }), (m = 'value')), + t.kind) + ) { + case 'message': + let c = t.T; + if (n === null && c.typeName != 'google.protobuf.Value') return; + let u = e[m]; + h(u) + ? u.fromJson(n, i) + : ((e[m] = u = c.fromJson(n, i)), + c.fieldWrapper && + !t.oneof && + (e[m] = c.fieldWrapper.unwrapField(u))); + break; + case 'enum': + let E = em(t.T, n, i.ignoreUnknownFields, !1); + switch (E) { + case ir: + nm(t, e); + break; + case rr: + break; + default: + e[m] = E; + break; + } + break; + case 'scalar': + try { + let T = Re(t.T, n, t.L, !1); + switch (T) { + case ir: + nm(t, e); + break; + default: + e[m] = T; + break; + } + } catch (T) { + let d = `cannot decode field ${s.typeName}.${t.name} from JSON: ${q(n)}`; + throw ( + T instanceof Error && + T.message.length > 0 && + (d += `: ${T.message}`), + new Error(d) + ); + } + break; + } +} +function up(e, n) { + if (e === l.BOOL) + switch (n) { + case 'true': + n = !0; + break; + case 'false': + n = !1; + break; + } + return Re(e, n, M.BIGINT, !0).toString(); +} +function Re(e, n, t, i) { + if (n === null) return i ? y(e, t) : ir; + switch (e) { + case l.DOUBLE: + case l.FLOAT: + if (n === 'NaN') return Number.NaN; + if (n === 'Infinity') return Number.POSITIVE_INFINITY; + if (n === '-Infinity') return Number.NEGATIVE_INFINITY; + if ( + n === '' || + (typeof n == 'string' && n.trim().length !== n.length) || + (typeof n != 'string' && typeof n != 'number') + ) + break; + let s = Number(n); + if (Number.isNaN(s) || !Number.isFinite(s)) break; + return (e == l.FLOAT && va(s), s); + case l.INT32: + case l.FIXED32: + case l.SFIXED32: + case l.SINT32: + case l.UINT32: + let m; + if ( + (typeof n == 'number' + ? (m = n) + : typeof n == 'string' && + n.length > 0 && + n.trim().length === n.length && + (m = Number(n)), + m === void 0) + ) + break; + return (e == l.UINT32 || e == l.FIXED32 ? Ce(m) : Vn(m), m); + case l.INT64: + case l.SFIXED64: + case l.SINT64: + if (typeof n != 'number' && typeof n != 'string') break; + let c = o.parse(n); + return t ? c.toString() : c; + case l.FIXED64: + case l.UINT64: + if (typeof n != 'number' && typeof n != 'string') break; + let u = o.uParse(n); + return t ? u.toString() : u; + case l.BOOL: + if (typeof n != 'boolean') break; + return n; + case l.STRING: + if (typeof n != 'string') break; + try { + encodeURIComponent(n); + } catch { + throw new Error('invalid UTF8'); + } + return n; + case l.BYTES: + if (n === '') return new Uint8Array(0); + if (typeof n != 'string') break; + return Zo.dec(n); + } + throw new Error(); +} +function em(e, n, t, i) { + if (n === null) + return e.typeName == 'google.protobuf.NullValue' + ? 0 + : i + ? e.values[0].no + : ir; + switch (typeof n) { + case 'number': + if (Number.isInteger(n)) return n; + break; + case 'string': + let s = e.findName(n); + if (s !== void 0) return s.no; + if (t) return rr; + break; + } + throw new Error(`cannot decode enum ${e.typeName} from JSON: ${q(n)}`); +} +function lp(e) { + return e.repeated || e.kind == 'map' + ? !0 + : !(e.oneof || e.kind == 'message' || e.opt || e.req); +} +function AT(e, n, t) { + if (e.kind == 'map') { + p(typeof n == 'object' && n != null); + let i = {}, + s = Object.entries(n); + switch (e.V.kind) { + case 'scalar': + for (let [c, u] of s) i[c.toString()] = sr(e.V.T, u); + break; + case 'message': + for (let [c, u] of s) i[c.toString()] = u.toJson(t); + break; + case 'enum': + let m = e.V.T; + for (let [c, u] of s) i[c.toString()] = tm(m, u, t.enumAsInteger); + break; + } + return t.emitDefaultValues || s.length > 0 ? i : void 0; + } + if (e.repeated) { + p(Array.isArray(n)); + let i = []; + switch (e.kind) { + case 'scalar': + for (let s = 0; s < n.length; s++) i.push(sr(e.T, n[s])); + break; + case 'enum': + for (let s = 0; s < n.length; s++) + i.push(tm(e.T, n[s], t.enumAsInteger)); + break; + case 'message': + for (let s = 0; s < n.length; s++) i.push(n[s].toJson(t)); + break; + } + return t.emitDefaultValues || i.length > 0 ? i : void 0; + } + switch (e.kind) { + case 'scalar': + return sr(e.T, n); + case 'enum': + return tm(e.T, n, t.enumAsInteger); + case 'message': + return ar(e.T, n).toJson(t); + } +} +function tm(e, n, t) { + var i; + if ((p(typeof n == 'number'), e.typeName == 'google.protobuf.NullValue')) + return null; + if (t) return n; + let s = e.findNumber(n); + return (i = s?.name) !== null && i !== void 0 ? i : n; +} +function sr(e, n) { + switch (e) { + case l.INT32: + case l.SFIXED32: + case l.SINT32: + case l.FIXED32: + case l.UINT32: + return (p(typeof n == 'number'), n); + case l.FLOAT: + case l.DOUBLE: + return ( + p(typeof n == 'number'), + Number.isNaN(n) + ? 'NaN' + : n === Number.POSITIVE_INFINITY + ? 'Infinity' + : n === Number.NEGATIVE_INFINITY + ? '-Infinity' + : n + ); + case l.STRING: + return (p(typeof n == 'string'), n); + case l.BOOL: + return (p(typeof n == 'boolean'), n); + case l.UINT64: + case l.FIXED64: + case l.INT64: + case l.SFIXED64: + case l.SINT64: + return ( + p(typeof n == 'bigint' || typeof n == 'string' || typeof n == 'number'), + n.toString() + ); + case l.BYTES: + return (p(n instanceof Uint8Array), Zo.enc(n)); + } +} +var Xn = Symbol('@bufbuild/protobuf/unknown-fields'), + RT = { readUnknownFields: !0, readerFactory: (e) => new $a(e) }, + LT = { writeUnknownFields: !0, writerFactory: () => new Za() }; +function Ep(e) { + return e ? Object.assign(Object.assign({}, RT), e) : RT; +} +function _p(e) { + return e ? Object.assign(Object.assign({}, LT), e) : LT; +} +function gT() { + return { + makeReadOptions: Ep, + makeWriteOptions: _p, + listUnknownFields(e) { + var n; + return (n = e[Xn]) !== null && n !== void 0 ? n : []; + }, + discardUnknownFields(e) { + delete e[Xn]; + }, + writeUnknownFields(e, n) { + let i = e[Xn]; + if (i) for (let s of i) n.tag(s.no, s.wireType).raw(s.data); + }, + onUnknownField(e, n, t, i) { + let s = e; + (Array.isArray(s[Xn]) || (s[Xn] = []), + s[Xn].push({ no: n, wireType: t, data: i })); + }, + readMessage(e, n, t, i, s) { + let m = e.getType(), + c = s ? n.len : n.pos + t, + u, + E; + for (; n.pos < c && (([u, E] = n.tag()), E != L.EndGroup); ) { + let T = m.fields.find(u); + if (!T) { + let d = n.skip(E); + i.readUnknownFields && this.onUnknownField(e, u, E, d); + continue; + } + PT(e, n, T, E, i); + } + if (s && (E != L.EndGroup || u !== t)) + throw new Error('invalid end group tag'); + }, + readField: PT, + writeMessage(e, n, t) { + let i = e.getType(); + for (let s of i.fields.byNumber()) { + if (!tr(s, e)) { + if (s.req) + throw new Error( + `cannot encode field ${i.typeName}.${s.name} to binary: required field not set`, + ); + continue; + } + let m = s.oneof ? e[s.oneof.localName].value : e[s.localName]; + DT(s, m, n, t); + } + return (t.writeUnknownFields && this.writeUnknownFields(e, n), n); + }, + writeField(e, n, t, i) { + n !== void 0 && DT(e, n, t, i); + }, + }; +} +function PT(e, n, t, i, s) { + let { repeated: m, localName: c } = t; + switch ( + (t.oneof && + ((e = e[t.oneof.localName]), + e.case != c && delete e.value, + (e.case = c), + (c = 'value')), + t.kind) + ) { + case 'scalar': + case 'enum': + let u = t.kind == 'enum' ? l.INT32 : t.T, + E = mr; + if ((t.kind == 'scalar' && t.L > 0 && (E = Tp), m)) { + let R = e[c]; + if (i == L.LengthDelimited && u != l.STRING && u != l.BYTES) { + let Cn = n.uint32() + n.pos; + for (; n.pos < Cn; ) R.push(E(n, u)); + } else R.push(E(n, u)); + } else e[c] = E(n, u); + break; + case 'message': + let T = t.T; + m + ? e[c].push(or(n, new T(), s, t)) + : h(e[c]) + ? or(n, e[c], s, t) + : ((e[c] = or(n, new T(), s, t)), + T.fieldWrapper && + !t.oneof && + !t.repeated && + (e[c] = T.fieldWrapper.unwrapField(e[c]))); + break; + case 'map': + let [d, S] = dp(t, n, s); + e[c][d] = S; + break; + } +} +function or(e, n, t, i) { + let s = n.getType().runtime.bin, + m = i?.delimited; + return (s.readMessage(n, e, m ? i.no : e.uint32(), t, m), n); +} +function dp(e, n, t) { + let i = n.uint32(), + s = n.pos + i, + m, + c; + for (; n.pos < s; ) { + let [u] = n.tag(); + switch (u) { + case 1: + m = mr(n, e.K); + break; + case 2: + switch (e.V.kind) { + case 'scalar': + c = mr(n, e.V.T); + break; + case 'enum': + c = n.int32(); + break; + case 'message': + c = or(n, new e.V.T(), t, void 0); + break; + } + break; + } + } + if ( + (m === void 0 && (m = y(e.K, M.BIGINT)), + typeof m != 'string' && typeof m != 'number' && (m = m.toString()), + c === void 0) + ) + switch (e.V.kind) { + case 'scalar': + c = y(e.V.T, M.BIGINT); + break; + case 'enum': + c = e.V.T.values[0].no; + break; + case 'message': + c = new e.V.T(); + break; + } + return [m, c]; +} +function Tp(e, n) { + let t = mr(e, n); + return typeof t == 'bigint' ? t.toString() : t; +} +function mr(e, n) { + switch (n) { + case l.STRING: + return e.string(); + case l.BOOL: + return e.bool(); + case l.DOUBLE: + return e.double(); + case l.FLOAT: + return e.float(); + case l.INT32: + return e.int32(); + case l.INT64: + return e.int64(); + case l.UINT64: + return e.uint64(); + case l.FIXED64: + return e.fixed64(); + case l.BYTES: + return e.bytes(); + case l.FIXED32: + return e.fixed32(); + case l.SFIXED32: + return e.sfixed32(); + case l.SFIXED64: + return e.sfixed64(); + case l.SINT64: + return e.sint64(); + case l.UINT32: + return e.uint32(); + case l.SINT32: + return e.sint32(); + } +} +function DT(e, n, t, i) { + p(n !== void 0); + let s = e.repeated; + switch (e.kind) { + case 'scalar': + case 'enum': + let m = e.kind == 'enum' ? l.INT32 : e.T; + if (s) + if ((p(Array.isArray(n)), e.packed)) Np(t, m, e.no, n); + else for (let c of n) Le(t, m, e.no, c); + else Le(t, m, e.no, n); + break; + case 'message': + if (s) { + p(Array.isArray(n)); + for (let c of n) kT(t, i, e, c); + } else kT(t, i, e, n); + break; + case 'map': + p(typeof n == 'object' && n != null); + for (let [c, u] of Object.entries(n)) fp(t, i, e, c, u); + break; + } +} +function fp(e, n, t, i, s) { + (e.tag(t.no, L.LengthDelimited), e.fork()); + let m = i; + switch (t.K) { + case l.INT32: + case l.FIXED32: + case l.UINT32: + case l.SFIXED32: + case l.SINT32: + m = Number.parseInt(i); + break; + case l.BOOL: + (p(i == 'true' || i == 'false'), (m = i == 'true')); + break; + } + switch ((Le(e, t.K, 1, m), t.V.kind)) { + case 'scalar': + Le(e, t.V.T, 2, s); + break; + case 'enum': + Le(e, l.INT32, 2, s); + break; + case 'message': + (p(s !== void 0), e.tag(2, L.LengthDelimited).bytes(s.toBinary(n))); + break; + } + e.join(); +} +function kT(e, n, t, i) { + let s = ar(t.T, i); + t.delimited + ? e.tag(t.no, L.StartGroup).raw(s.toBinary(n)).tag(t.no, L.EndGroup) + : e.tag(t.no, L.LengthDelimited).bytes(s.toBinary(n)); +} +function Le(e, n, t, i) { + p(i !== void 0); + let [s, m] = wT(n); + e.tag(t, s)[m](i); +} +function Np(e, n, t, i) { + if (!i.length) return; + e.tag(t, L.LengthDelimited).fork(); + let [, s] = wT(n); + for (let m = 0; m < i.length; m++) e[s](i[m]); + e.join(); +} +function wT(e) { + let n = L.Varint; + switch (e) { + case l.BYTES: + case l.STRING: + n = L.LengthDelimited; + break; + case l.DOUBLE: + case l.FIXED64: + case l.SFIXED64: + n = L.Bit64; + break; + case l.FIXED32: + case l.SFIXED32: + case l.FLOAT: + n = L.Bit32; + break; + } + let t = l[e].toLowerCase(); + return [n, t]; +} +function JT() { + return { + setEnumType: Xo, + initPartial(e, n) { + if (e === void 0) return; + let t = n.getType(); + for (let i of t.fields.byMember()) { + let s = i.localName, + m = n, + c = e; + if (c[s] !== void 0) + switch (i.kind) { + case 'oneof': + let u = c[s].case; + if (u === void 0) continue; + let E = i.findField(u), + T = c[s].value; + (E && E.kind == 'message' && !h(T, E.T) + ? (T = new E.T(T)) + : E && E.kind === 'scalar' && E.T === l.BYTES && (T = Pe(T)), + (m[s] = { case: u, value: T })); + break; + case 'scalar': + case 'enum': + let d = c[s]; + (i.T === l.BYTES && (d = i.repeated ? d.map(Pe) : Pe(d)), + (m[s] = d)); + break; + case 'map': + switch (i.V.kind) { + case 'scalar': + case 'enum': + if (i.V.T === l.BYTES) + for (let [Ae, Cn] of Object.entries(c[s])) + m[s][Ae] = Pe(Cn); + else Object.assign(m[s], c[s]); + break; + case 'message': + let R = i.V.T; + for (let Ae of Object.keys(c[s])) { + let Cn = c[s][Ae]; + (R.fieldWrapper || (Cn = new R(Cn)), (m[s][Ae] = Cn)); + } + break; + } + break; + case 'message': + let S = i.T; + if (i.repeated) m[s] = c[s].map((R) => (h(R, S) ? R : new S(R))); + else { + let R = c[s]; + S.fieldWrapper + ? S.typeName === 'google.protobuf.BytesValue' + ? (m[s] = Pe(R)) + : (m[s] = R) + : (m[s] = h(R, S) ? R : new S(R)); + } + break; + } + } + }, + equals(e, n, t) { + return n === t + ? !0 + : !n || !t + ? !1 + : e.fields.byMember().every((i) => { + let s = n[i.localName], + m = t[i.localName]; + if (i.repeated) { + if (s.length !== m.length) return !1; + switch (i.kind) { + case 'message': + return s.every((c, u) => i.T.equals(c, m[u])); + case 'scalar': + return s.every((c, u) => Q(i.T, c, m[u])); + case 'enum': + return s.every((c, u) => Q(l.INT32, c, m[u])); + } + throw new Error(`repeated cannot contain ${i.kind}`); + } + switch (i.kind) { + case 'message': + return i.T.equals(s, m); + case 'enum': + return Q(l.INT32, s, m); + case 'scalar': + return Q(i.T, s, m); + case 'oneof': + if (s.case !== m.case) return !1; + let c = i.findField(s.case); + if (c === void 0) return !0; + switch (c.kind) { + case 'message': + return c.T.equals(s.value, m.value); + case 'enum': + return Q(l.INT32, s.value, m.value); + case 'scalar': + return Q(c.T, s.value, m.value); + } + throw new Error(`oneof cannot contain ${c.kind}`); + case 'map': + let u = Object.keys(s).concat(Object.keys(m)); + switch (i.V.kind) { + case 'message': + let E = i.V.T; + return u.every((d) => E.equals(s[d], m[d])); + case 'enum': + return u.every((d) => Q(l.INT32, s[d], m[d])); + case 'scalar': + let T = i.V.T; + return u.every((d) => Q(T, s[d], m[d])); + } + break; + } + }); + }, + clone(e) { + let n = e.getType(), + t = new n(), + i = t; + for (let s of n.fields.byMember()) { + let m = e[s.localName], + c; + if (s.repeated) c = m.map(cr); + else if (s.kind == 'map') { + c = i[s.localName]; + for (let [u, E] of Object.entries(m)) c[u] = cr(E); + } else + s.kind == 'oneof' + ? (c = s.findField(m.case) + ? { case: m.case, value: cr(m.value) } + : { case: void 0 }) + : (c = cr(m)); + i[s.localName] = c; + } + for (let s of n.runtime.bin.listUnknownFields(e)) + n.runtime.bin.onUnknownField(i, s.no, s.wireType, s.data); + return t; + }, + }; +} +function cr(e) { + if (e === void 0) return e; + if (h(e)) return e.clone(); + if (e instanceof Uint8Array) { + let n = new Uint8Array(e.byteLength); + return (n.set(e), n); + } + return e; +} +function Pe(e) { + return e instanceof Uint8Array ? e : new Uint8Array(e); +} +function xT(e, n, t) { + return { + syntax: e, + json: CT(), + bin: gT(), + util: Object.assign(Object.assign({}, JT()), { + newFieldList: n, + initFields: t, + }), + makeMessageType(i, s, m) { + return mT(this, i, s, m); + }, + makeEnum: iT, + makeEnumType: Ko, + getEnumType: sT, + makeExtension(i, s, m) { + return dT(this, i, s, m); + }, + }; +} +var ur = class { + constructor(n, t) { + ((this._fields = n), (this._normalizer = t)); + } + findJsonName(n) { + if (!this.jsonNames) { + let t = {}; + for (let i of this.list()) t[i.jsonName] = t[i.name] = i; + this.jsonNames = t; + } + return this.jsonNames[n]; + } + find(n) { + if (!this.numbers) { + let t = {}; + for (let i of this.list()) t[i.no] = i; + this.numbers = t; + } + return this.numbers[n]; + } + list() { + return (this.all || (this.all = this._normalizer(this._fields)), this.all); + } + byNumber() { + return ( + this.numbersAsc || + (this.numbersAsc = this.list() + .concat() + .sort((n, t) => n.no - t.no)), + this.numbersAsc + ); + } + byMember() { + if (!this.members) { + this.members = []; + let n = this.members, + t; + for (let i of this.list()) + i.oneof ? i.oneof !== t && ((t = i.oneof), n.push(t)) : n.push(i); + } + return this.members; + } +}; +function am(e, n) { + let t = FT(e); + return n ? t : Op(pp(t)); +} +function UT(e) { + return am(e, !1); +} +var BT = FT; +function FT(e) { + let n = !1, + t = []; + for (let i = 0; i < e.length; i++) { + let s = e.charAt(i); + switch (s) { + case '_': + n = !0; + break; + case '0': + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + (t.push(s), (n = !1)); + break; + default: + (n && ((n = !1), (s = s.toUpperCase())), t.push(s)); + break; + } + } + return t.join(''); +} +var Sp = new Set(['constructor', 'toString', 'toJSON', 'valueOf']), + Ip = new Set([ + 'getType', + 'clone', + 'equals', + 'fromBinary', + 'fromJson', + 'fromJsonString', + 'toBinary', + 'toJson', + 'toJsonString', + 'toObject', + ]), + MT = (e) => `${e}$`, + pp = (e) => (Ip.has(e) ? MT(e) : e), + Op = (e) => (Sp.has(e) ? MT(e) : e); +var lr = class { + constructor(n) { + ((this.kind = 'oneof'), + (this.repeated = !1), + (this.packed = !1), + (this.opt = !1), + (this.req = !1), + (this.default = void 0), + (this.fields = []), + (this.name = n), + (this.localName = UT(n))); + } + addField(n) { + (p(n.oneof === this, `field ${n.name} not one of ${this.name}`), + this.fields.push(n)); + } + findField(n) { + if (!this._lookup) { + this._lookup = Object.create(null); + for (let t = 0; t < this.fields.length; t++) + this._lookup[this.fields[t].localName] = this.fields[t]; + } + return this._lookup[n]; + } +}; +function yT(e, n) { + var t, i, s, m, c, u; + let E = [], + T; + for (let d of typeof e == 'function' ? e() : e) { + let S = d; + if ( + ((S.localName = am(d.name, d.oneof !== void 0)), + (S.jsonName = (t = d.jsonName) !== null && t !== void 0 ? t : BT(d.name)), + (S.repeated = (i = d.repeated) !== null && i !== void 0 ? i : !1), + d.kind == 'scalar' && + (S.L = (s = d.L) !== null && s !== void 0 ? s : M.BIGINT), + (S.delimited = (m = d.delimited) !== null && m !== void 0 ? m : !1), + (S.req = (c = d.req) !== null && c !== void 0 ? c : !1), + (S.opt = (u = d.opt) !== null && u !== void 0 ? u : !1), + d.packed === void 0 && + (n + ? (S.packed = + d.kind == 'enum' || + (d.kind == 'scalar' && d.T != l.BYTES && d.T != l.STRING)) + : (S.packed = !1)), + d.oneof !== void 0) + ) { + let R = typeof d.oneof == 'string' ? d.oneof : d.oneof.name; + ((!T || T.name != R) && (T = new lr(R)), (S.oneof = T), T.addField(S)); + } + E.push(S); + } + return E; +} +var a = xT( + 'proto3', + (e) => new ur(e, (n) => yT(n, !0)), + (e) => { + for (let n of e.getType().fields.byMember()) { + if (n.opt) continue; + let t = n.localName, + i = e; + if (n.repeated) { + i[t] = []; + continue; + } + switch (n.kind) { + case 'oneof': + i[t] = { case: void 0 }; + break; + case 'enum': + i[t] = 0; + break; + case 'map': + i[t] = {}; + break; + case 'scalar': + i[t] = y(n.T, n.L); + break; + case 'message': + break; + } + } + }, +); +var _ = class e extends r { + constructor(n) { + (super(), + (this.seconds = o.zero), + (this.nanos = 0), + a.util.initPartial(n, this)); + } + fromJson(n, t) { + if (typeof n != 'string') + throw new Error( + `cannot decode google.protobuf.Timestamp from JSON: ${a.json.debug(n)}`, + ); + let i = n.match( + /^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/, + ); + if (!i) + throw new Error( + 'cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string', + ); + let s = Date.parse( + i[1] + + '-' + + i[2] + + '-' + + i[3] + + 'T' + + i[4] + + ':' + + i[5] + + ':' + + i[6] + + (i[8] ? i[8] : 'Z'), + ); + if (Number.isNaN(s)) + throw new Error( + 'cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string', + ); + if ( + s < Date.parse('0001-01-01T00:00:00Z') || + s > Date.parse('9999-12-31T23:59:59Z') + ) + throw new Error( + 'cannot decode message google.protobuf.Timestamp from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive', + ); + return ( + (this.seconds = o.parse(s / 1e3)), + (this.nanos = 0), + i[7] && + (this.nanos = parseInt('1' + i[7] + '0'.repeat(9 - i[7].length)) - 1e9), + this + ); + } + toJson(n) { + let t = Number(this.seconds) * 1e3; + if ( + t < Date.parse('0001-01-01T00:00:00Z') || + t > Date.parse('9999-12-31T23:59:59Z') + ) + throw new Error( + 'cannot encode google.protobuf.Timestamp to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive', + ); + if (this.nanos < 0) + throw new Error( + 'cannot encode google.protobuf.Timestamp to JSON: nanos must not be negative', + ); + let i = 'Z'; + if (this.nanos > 0) { + let s = (this.nanos + 1e9).toString().substring(1); + s.substring(3) === '000000' + ? (i = '.' + s.substring(0, 3) + 'Z') + : s.substring(6) === '000' + ? (i = '.' + s.substring(0, 6) + 'Z') + : (i = '.' + s + 'Z'); + } + return new Date(t).toISOString().replace('.000Z', i); + } + toDate() { + return new Date(Number(this.seconds) * 1e3 + Math.ceil(this.nanos / 1e6)); + } + static now() { + return e.fromDate(new Date()); + } + static fromDate(n) { + let t = n.getTime(); + return new e({ + seconds: o.parse(Math.floor(t / 1e3)), + nanos: (t % 1e3) * 1e6, + }); + } + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } +}; +_.runtime = a; +_.typeName = 'google.protobuf.Timestamp'; +_.fields = a.util.newFieldList(() => [ + { no: 1, name: 'seconds', kind: 'scalar', T: 3 }, + { no: 2, name: 'nanos', kind: 'scalar', T: 5 }, +]); +var k = class e extends r { + constructor(n) { + (super(), + (this.seconds = o.zero), + (this.nanos = 0), + a.util.initPartial(n, this)); + } + fromJson(n, t) { + if (typeof n != 'string') + throw new Error( + `cannot decode google.protobuf.Duration from JSON: ${a.json.debug(n)}`, + ); + let i = n.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/); + if (i === null) + throw new Error( + `cannot decode google.protobuf.Duration from JSON: ${a.json.debug(n)}`, + ); + let s = Number(i[1]); + if (s > 315576e6 || s < -315576e6) + throw new Error( + `cannot decode google.protobuf.Duration from JSON: ${a.json.debug(n)}`, + ); + if (((this.seconds = o.parse(s)), typeof i[2] == 'string')) { + let m = i[2] + '0'.repeat(9 - i[2].length); + ((this.nanos = parseInt(m)), + (s < 0 || Object.is(s, -0)) && (this.nanos = -this.nanos)); + } + return this; + } + toJson(n) { + if (Number(this.seconds) > 315576e6 || Number(this.seconds) < -315576e6) + throw new Error( + 'cannot encode google.protobuf.Duration to JSON: value out of range', + ); + let t = this.seconds.toString(); + if (this.nanos !== 0) { + let i = Math.abs(this.nanos).toString(); + ((i = '0'.repeat(9 - i.length) + i), + i.substring(3) === '000000' + ? (i = i.substring(0, 3)) + : i.substring(6) === '000' && (i = i.substring(0, 6)), + (t += '.' + i), + this.nanos < 0 && Number(this.seconds) == 0 && (t = '-' + t)); + } + return t + 's'; + } + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } +}; +k.runtime = a; +k.typeName = 'google.protobuf.Duration'; +k.fields = a.util.newFieldList(() => [ + { no: 1, name: 'seconds', kind: 'scalar', T: 3 }, + { no: 2, name: 'nanos', kind: 'scalar', T: 5 }, +]); +var on = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } +}; +on.runtime = a; +on.typeName = 'google.protobuf.Empty'; +on.fields = a.util.newFieldList(() => []); +var Er = class e extends r { + creditType = De.CREDIT_TYPE_UNSPECIFIED; + creditAmount = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.Credits'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'credit_type', kind: 'enum', T: a.getEnumType(De) }, + { no: 2, name: 'credit_amount', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + De; +(function (e) { + ((e[(e.CREDIT_TYPE_UNSPECIFIED = 0)] = 'CREDIT_TYPE_UNSPECIFIED'), + (e[(e.GOOGLE_ONE_AI = 1)] = 'GOOGLE_ONE_AI')); +})(De || (De = {})); +a.util.setEnumType( + De, + 'google.internal.cloud.code.v1internal.Credits.CreditType', + [ + { no: 0, name: 'CREDIT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'GOOGLE_ONE_AI' }, + ], +); +var hT = class e extends r { + tierId = ''; + cloudaicompanionProject; + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.OnboardUserRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'tier_id', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'cloudaicompanion_project', + kind: 'scalar', + T: 9, + opt: !0, + }, + { no: 3, name: 'metadata', kind: 'message', T: Tr }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + GT = class e extends r { + cloudaicompanionProject; + status; + releaseChannel; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.OnboardUserResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cloudaicompanion_project', kind: 'message', T: sm }, + { no: 4, name: 'status', kind: 'message', T: im, opt: !0 }, + { no: 5, name: 'release_channel', kind: 'message', T: _r, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _r = class e extends r { + type = ke.UNKNOWN; + name = ''; + description = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.ReleaseChannel'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'enum', T: a.getEnumType(ke) }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 3, name: 'description', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ke; +(function (e) { + ((e[(e.UNKNOWN = 0)] = 'UNKNOWN'), + (e[(e.STABLE = 1)] = 'STABLE'), + (e[(e.EXPERIMENTAL = 2)] = 'EXPERIMENTAL')); +})(ke || (ke = {})); +a.util.setEnumType( + ke, + 'google.internal.cloud.code.v1internal.ReleaseChannel.ChannelType', + [ + { no: 0, name: 'UNKNOWN' }, + { no: 1, name: 'STABLE' }, + { no: 2, name: 'EXPERIMENTAL' }, + ], +); +var bT = class e extends r { + cloudaicompanionProject; + metadata; + mode; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.LoadCodeAssistRequest'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'cloudaicompanion_project', + kind: 'scalar', + T: 9, + opt: !0, + }, + { no: 2, name: 'metadata', kind: 'message', T: Tr }, + { no: 3, name: 'mode', kind: 'enum', T: a.getEnumType(dr), opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + dr; +(function (e) { + ((e[(e.MODE_UNSPECIFIED = 0)] = 'MODE_UNSPECIFIED'), + (e[(e.FULL_ELIGIBILITY_CHECK = 1)] = 'FULL_ELIGIBILITY_CHECK'), + (e[(e.HEALTH_CHECK = 2)] = 'HEALTH_CHECK')); +})(dr || (dr = {})); +a.util.setEnumType( + dr, + 'google.internal.cloud.code.v1internal.LoadCodeAssistRequest.Mode', + [ + { no: 0, name: 'MODE_UNSPECIFIED' }, + { no: 1, name: 'FULL_ELIGIBILITY_CHECK' }, + { no: 2, name: 'HEALTH_CHECK' }, + ], +); +var rm = class e extends r { + reasonCode = ge.UNKNOWN; + reasonMessage = ''; + tierId = ''; + tierName = ''; + validationErrorMessage = ''; + validationUrlLinkText = ''; + validationUrl = ''; + validationLearnMoreLinkText = ''; + validationLearnMoreUrl = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.IneligibleTier'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'reason_code', kind: 'enum', T: a.getEnumType(ge) }, + { no: 2, name: 'reason_message', kind: 'scalar', T: 9 }, + { no: 3, name: 'tier_id', kind: 'scalar', T: 9 }, + { no: 4, name: 'tier_name', kind: 'scalar', T: 9 }, + { no: 5, name: 'validation_error_message', kind: 'scalar', T: 9 }, + { no: 6, name: 'validation_url_link_text', kind: 'scalar', T: 9 }, + { no: 7, name: 'validation_url', kind: 'scalar', T: 9 }, + { no: 8, name: 'validation_learn_more_link_text', kind: 'scalar', T: 9 }, + { no: 9, name: 'validation_learn_more_url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ge; +(function (e) { + ((e[(e.UNKNOWN = 0)] = 'UNKNOWN'), + (e[(e.INELIGIBLE_ACCOUNT = 1)] = 'INELIGIBLE_ACCOUNT'), + (e[(e.UNKNOWN_LOCATION = 2)] = 'UNKNOWN_LOCATION'), + (e[(e.UNSUPPORTED_LOCATION = 3)] = 'UNSUPPORTED_LOCATION'), + (e[(e.RESTRICTED_NETWORK = 4)] = 'RESTRICTED_NETWORK'), + (e[(e.RESTRICTED_AGE = 5)] = 'RESTRICTED_AGE'), + (e[(e.NON_USER_ACCOUNT = 6)] = 'NON_USER_ACCOUNT'), + (e[(e.DASHER_USER = 7)] = 'DASHER_USER'), + (e[(e.BYOID_USER = 8)] = 'BYOID_USER'), + (e[(e.RESTRICTED_DASHER_USER = 9)] = 'RESTRICTED_DASHER_USER'), + (e[(e.VALIDATION_REQUIRED = 10)] = 'VALIDATION_REQUIRED')); +})(ge || (ge = {})); +a.util.setEnumType( + ge, + 'google.internal.cloud.code.v1internal.IneligibleTier.IneligibleTierReasonCodes', + [ + { no: 0, name: 'UNKNOWN' }, + { no: 1, name: 'INELIGIBLE_ACCOUNT' }, + { no: 2, name: 'UNKNOWN_LOCATION' }, + { no: 3, name: 'UNSUPPORTED_LOCATION' }, + { no: 4, name: 'RESTRICTED_NETWORK' }, + { no: 5, name: 'RESTRICTED_AGE' }, + { no: 6, name: 'NON_USER_ACCOUNT' }, + { no: 7, name: 'DASHER_USER' }, + { no: 8, name: 'BYOID_USER' }, + { no: 9, name: 'RESTRICTED_DASHER_USER' }, + { no: 10, name: 'VALIDATION_REQUIRED' }, + ], +); +var Tr = class e extends r { + ideType = we.IDE_UNSPECIFIED; + ideVersion = ''; + pluginVersion = ''; + platform = Je.PLATFORM_UNSPECIFIED; + updateChannel = ''; + duetProject = ''; + pluginType = xe.PLUGIN_UNSPECIFIED; + ideName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.ClientMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'ide_type', kind: 'enum', T: a.getEnumType(we) }, + { no: 2, name: 'ide_version', kind: 'scalar', T: 9 }, + { no: 3, name: 'plugin_version', kind: 'scalar', T: 9 }, + { no: 4, name: 'platform', kind: 'enum', T: a.getEnumType(Je) }, + { no: 5, name: 'update_channel', kind: 'scalar', T: 9 }, + { no: 6, name: 'duet_project', kind: 'scalar', T: 9 }, + { no: 7, name: 'plugin_type', kind: 'enum', T: a.getEnumType(xe) }, + { no: 8, name: 'ide_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + we; +(function (e) { + ((e[(e.IDE_UNSPECIFIED = 0)] = 'IDE_UNSPECIFIED'), + (e[(e.VSCODE = 1)] = 'VSCODE'), + (e[(e.INTELLIJ = 2)] = 'INTELLIJ'), + (e[(e.VSCODE_CLOUD_WORKSTATION = 3)] = 'VSCODE_CLOUD_WORKSTATION'), + (e[(e.INTELLIJ_CLOUD_WORKSTATION = 4)] = 'INTELLIJ_CLOUD_WORKSTATION'), + (e[(e.CLOUD_SHELL = 5)] = 'CLOUD_SHELL'), + (e[(e.CIDER = 6)] = 'CIDER'), + (e[(e.CLOUD_RUN = 7)] = 'CLOUD_RUN'), + (e[(e.ANDROID_STUDIO = 8)] = 'ANDROID_STUDIO'), + (e[(e.ANTIGRAVITY = 9)] = 'ANTIGRAVITY'), + (e[(e.JETSKI = 10)] = 'JETSKI'), + (e[(e.COLAB = 11)] = 'COLAB'), + (e[(e.FIREBASE = 12)] = 'FIREBASE'), + (e[(e.CHROME_DEVTOOLS = 13)] = 'CHROME_DEVTOOLS'), + (e[(e.GEMINI_CLI = 14)] = 'GEMINI_CLI')); +})(we || (we = {})); +a.util.setEnumType( + we, + 'google.internal.cloud.code.v1internal.ClientMetadata.IdeType', + [ + { no: 0, name: 'IDE_UNSPECIFIED' }, + { no: 1, name: 'VSCODE' }, + { no: 2, name: 'INTELLIJ' }, + { no: 3, name: 'VSCODE_CLOUD_WORKSTATION' }, + { no: 4, name: 'INTELLIJ_CLOUD_WORKSTATION' }, + { no: 5, name: 'CLOUD_SHELL' }, + { no: 6, name: 'CIDER' }, + { no: 7, name: 'CLOUD_RUN' }, + { no: 8, name: 'ANDROID_STUDIO' }, + { no: 9, name: 'ANTIGRAVITY' }, + { no: 10, name: 'JETSKI' }, + { no: 11, name: 'COLAB' }, + { no: 12, name: 'FIREBASE' }, + { no: 13, name: 'CHROME_DEVTOOLS' }, + { no: 14, name: 'GEMINI_CLI' }, + ], +); +var Je; +(function (e) { + ((e[(e.PLATFORM_UNSPECIFIED = 0)] = 'PLATFORM_UNSPECIFIED'), + (e[(e.DARWIN_AMD64 = 1)] = 'DARWIN_AMD64'), + (e[(e.DARWIN_ARM64 = 2)] = 'DARWIN_ARM64'), + (e[(e.LINUX_AMD64 = 3)] = 'LINUX_AMD64'), + (e[(e.LINUX_ARM64 = 4)] = 'LINUX_ARM64'), + (e[(e.WINDOWS_AMD64 = 5)] = 'WINDOWS_AMD64')); +})(Je || (Je = {})); +a.util.setEnumType( + Je, + 'google.internal.cloud.code.v1internal.ClientMetadata.Platform', + [ + { no: 0, name: 'PLATFORM_UNSPECIFIED' }, + { no: 1, name: 'DARWIN_AMD64' }, + { no: 2, name: 'DARWIN_ARM64' }, + { no: 3, name: 'LINUX_AMD64' }, + { no: 4, name: 'LINUX_ARM64' }, + { no: 5, name: 'WINDOWS_AMD64' }, + ], +); +var xe; +(function (e) { + ((e[(e.PLUGIN_UNSPECIFIED = 0)] = 'PLUGIN_UNSPECIFIED'), + (e[(e.CLOUD_CODE = 1)] = 'CLOUD_CODE'), + (e[(e.GEMINI = 2)] = 'GEMINI'), + (e[(e.AIPLUGIN_INTELLIJ = 3)] = 'AIPLUGIN_INTELLIJ'), + (e[(e.AIPLUGIN_STUDIO = 4)] = 'AIPLUGIN_STUDIO'), + (e[(e.PANTHEON = 6)] = 'PANTHEON')); +})(xe || (xe = {})); +a.util.setEnumType( + xe, + 'google.internal.cloud.code.v1internal.ClientMetadata.PluginType', + [ + { no: 0, name: 'PLUGIN_UNSPECIFIED' }, + { no: 1, name: 'CLOUD_CODE' }, + { no: 2, name: 'GEMINI' }, + { no: 3, name: 'AIPLUGIN_INTELLIJ' }, + { no: 4, name: 'AIPLUGIN_STUDIO' }, + { no: 6, name: 'PANTHEON' }, + ], +); +var sm = class e extends r { + id = ''; + name = ''; + projectNumber = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.Project'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 3, name: 'project_number', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + im = class e extends r { + statusCode = Ue.DEFAULT; + displayMessage = ''; + messageTitle = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.OnboardUserStatus'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'status_code', kind: 'enum', T: a.getEnumType(Ue) }, + { no: 2, name: 'display_message', kind: 'scalar', T: 9 }, + { no: 4, name: 'message_title', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ue; +(function (e) { + ((e[(e.DEFAULT = 0)] = 'DEFAULT'), + (e[(e.NOTICE = 1)] = 'NOTICE'), + (e[(e.WARNING = 2)] = 'WARNING')); +})(Ue || (Ue = {})); +a.util.setEnumType( + Ue, + 'google.internal.cloud.code.v1internal.OnboardUserStatus.StatusCode', + [ + { no: 0, name: 'DEFAULT' }, + { no: 1, name: 'NOTICE' }, + { no: 2, name: 'WARNING' }, + ], +); +var qT = class e extends r { + currentTier; + allowedTiers = []; + cloudaicompanionProject; + ineligibleTiers = []; + gcpManaged; + manageSubscriptionUri; + releaseChannel; + upgradeSubscriptionUri; + geminiCodeAssistSetting; + g1Tier; + paidTier; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.LoadCodeAssistResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'current_tier', kind: 'message', T: Rn }, + { no: 2, name: 'allowed_tiers', kind: 'message', T: Rn, repeated: !0 }, + { + no: 3, + name: 'cloudaicompanion_project', + kind: 'scalar', + T: 9, + opt: !0, + }, + { no: 5, name: 'ineligible_tiers', kind: 'message', T: rm, repeated: !0 }, + { no: 6, name: 'gcp_managed', kind: 'scalar', T: 8, opt: !0 }, + { no: 7, name: 'manage_subscription_uri', kind: 'scalar', T: 9, opt: !0 }, + { no: 8, name: 'release_channel', kind: 'message', T: _r, opt: !0 }, + { + no: 9, + name: 'upgrade_subscription_uri', + kind: 'scalar', + T: 9, + opt: !0, + }, + { + no: 10, + name: 'gemini_code_assist_setting', + kind: 'message', + T: mm, + opt: !0, + }, + { no: 11, name: 'g1_tier', kind: 'scalar', T: 9, opt: !0 }, + { no: 12, name: 'paid_tier', kind: 'message', T: Rn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Rn = class e extends r { + id = ''; + name = ''; + description = ''; + userDefinedCloudaicompanionProject = !1; + privacyNotice; + isDefault = !1; + upgradeSubscriptionUri; + upgradeSubscriptionText; + upgradeButtonText; + clientExperienceTag; + upgradeSubscriptionType; + usesGcpTos = !1; + availableCredits = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.UserTier'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 3, name: 'description', kind: 'scalar', T: 9 }, + { + no: 4, + name: 'user_defined_cloudaicompanion_project', + kind: 'scalar', + T: 8, + }, + { no: 5, name: 'privacy_notice', kind: 'message', T: om }, + { no: 6, name: 'is_default', kind: 'scalar', T: 8 }, + { + no: 7, + name: 'upgrade_subscription_uri', + kind: 'scalar', + T: 9, + opt: !0, + }, + { + no: 8, + name: 'upgrade_subscription_text', + kind: 'scalar', + T: 9, + opt: !0, + }, + { no: 11, name: 'upgrade_button_text', kind: 'scalar', T: 9, opt: !0 }, + { no: 12, name: 'client_experience_tag', kind: 'scalar', T: 9, opt: !0 }, + { + no: 9, + name: 'upgrade_subscription_type', + kind: 'enum', + T: a.getEnumType(fr), + opt: !0, + }, + { no: 13, name: 'uses_gcp_tos', kind: 'scalar', T: 8 }, + { + no: 14, + name: 'available_credits', + kind: 'message', + T: Er, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fr; +(function (e) { + ((e[(e.UPGRADE_TYPE_UNSPECIFIED = 0)] = 'UPGRADE_TYPE_UNSPECIFIED'), + (e[(e.GDP = 1)] = 'GDP'), + (e[(e.GOOGLE_ONE = 2)] = 'GOOGLE_ONE'), + (e[(e.GDP_HELIUM = 3)] = 'GDP_HELIUM'), + (e[(e.GOOGLE_ONE_HELIUM = 4)] = 'GOOGLE_ONE_HELIUM')); +})(fr || (fr = {})); +a.util.setEnumType( + fr, + 'google.internal.cloud.code.v1internal.UserTier.UpgradeType', + [ + { no: 0, name: 'UPGRADE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'GDP' }, + { no: 2, name: 'GOOGLE_ONE' }, + { no: 3, name: 'GDP_HELIUM' }, + { no: 4, name: 'GOOGLE_ONE_HELIUM' }, + ], +); +var om = class e extends r { + showNotice = !1; + noticeText; + minorNotice = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.UserTier.PrivacyNotice'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'show_notice', kind: 'scalar', T: 8 }, + { no: 2, name: 'notice_text', kind: 'scalar', T: 9, opt: !0 }, + { no: 4, name: 'minor_notice', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mm = class e extends r { + disableTelemetry = !1; + disableFeedback = !1; + recitationPolicy; + groundingType = Be.GROUNDING_TYPE_UNSPECIFIED; + secureModeEnabled = !1; + mcpSetting; + turboModeSetting; + browserSetting; + previewFeatureSetting; + agentSetting; + cliFeatureSetting; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.GeminiCodeAssistSetting'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'disable_telemetry', kind: 'scalar', T: 8 }, + { no: 2, name: 'disable_feedback', kind: 'scalar', T: 8 }, + { no: 3, name: 'recitation_policy', kind: 'message', T: Nr }, + { no: 4, name: 'grounding_type', kind: 'enum', T: a.getEnumType(Be) }, + { no: 5, name: 'secure_mode_enabled', kind: 'scalar', T: 8 }, + { no: 6, name: 'mcp_setting', kind: 'message', T: Sr }, + { no: 7, name: 'turbo_mode_setting', kind: 'message', T: Ir }, + { no: 8, name: 'browser_setting', kind: 'message', T: pr }, + { no: 9, name: 'preview_feature_setting', kind: 'message', T: Or }, + { no: 10, name: 'agent_setting', kind: 'message', T: Ar }, + { no: 11, name: 'cli_feature_setting', kind: 'message', T: Cr }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Be; +(function (e) { + ((e[(e.GROUNDING_TYPE_UNSPECIFIED = 0)] = 'GROUNDING_TYPE_UNSPECIFIED'), + (e[(e.GROUNDING_WITH_GOOGLE_SEARCH = 1)] = 'GROUNDING_WITH_GOOGLE_SEARCH'), + (e[(e.WEB_GROUNDING_FOR_ENTERPRISE = 2)] = 'WEB_GROUNDING_FOR_ENTERPRISE')); +})(Be || (Be = {})); +a.util.setEnumType( + Be, + 'google.internal.cloud.code.v1internal.GeminiCodeAssistSetting.GroundingType', + [ + { no: 0, name: 'GROUNDING_TYPE_UNSPECIFIED' }, + { no: 1, name: 'GROUNDING_WITH_GOOGLE_SEARCH' }, + { no: 2, name: 'WEB_GROUNDING_FOR_ENTERPRISE' }, + ], +); +var Nr = class e extends r { + disableCitations = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.RecitationPolicy'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'disable_citations', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Sr = class e extends r { + mcpEnabled = !1; + overrideMcpConfigJson = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.McpSetting'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'mcp_enabled', kind: 'scalar', T: 8 }, + { no: 2, name: 'override_mcp_config_json', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ir = class e extends r { + terminalAutoExecutionEnabled = !1; + browserJsExecutionEnabled = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.TurboModeSetting'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'terminal_auto_execution_enabled', kind: 'scalar', T: 8 }, + { no: 2, name: 'browser_js_execution_enabled', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pr = class e extends r { + browserEnabled = !1; + allowedWebsites = []; + deniedWebsites = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.BrowserSetting'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'browser_enabled', kind: 'scalar', T: 8 }, + { no: 2, name: 'allowed_websites', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'denied_websites', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Or = class e extends r { + previewModelsEnabled = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.PreviewFeatureSetting'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'preview_models_enabled', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ar = class e extends r { + agyAllowedModels = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.AgentSetting'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'agy_allowed_models', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Cr = class e extends r { + extensionsSetting; + unmanagedCapabilitiesEnabled = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'google.internal.cloud.code.v1internal.CliFeatureSetting'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'extensions_setting', kind: 'message', T: cm }, + { no: 2, name: 'unmanaged_capabilities_enabled', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cm = class e extends r { + extensionsEnabled = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.CliFeatureSetting.ExtensionsSetting'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'extensions_enabled', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + HT = class e extends r { + project = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.FetchAdminControlsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'project', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + YT = class e extends r { + disableTelemetry = !1; + disableFeedback = !1; + recitationPolicy; + groundingType = Fe.GROUNDING_TYPE_UNSPECIFIED; + secureModeEnabled = !1; + mcpSetting; + turboModeSetting; + browserSetting; + previewFeatureSetting; + agentSetting; + cliFeatureSetting; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'google.internal.cloud.code.v1internal.FetchAdminControlsResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'disable_telemetry', kind: 'scalar', T: 8 }, + { no: 2, name: 'disable_feedback', kind: 'scalar', T: 8 }, + { no: 3, name: 'recitation_policy', kind: 'message', T: Nr }, + { no: 4, name: 'grounding_type', kind: 'enum', T: a.getEnumType(Fe) }, + { no: 5, name: 'secure_mode_enabled', kind: 'scalar', T: 8 }, + { no: 6, name: 'mcp_setting', kind: 'message', T: Sr }, + { no: 7, name: 'turbo_mode_setting', kind: 'message', T: Ir }, + { no: 8, name: 'browser_setting', kind: 'message', T: pr }, + { no: 9, name: 'preview_feature_setting', kind: 'message', T: Or }, + { no: 10, name: 'agent_setting', kind: 'message', T: Ar }, + { no: 11, name: 'cli_feature_setting', kind: 'message', T: Cr }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fe; +(function (e) { + ((e[(e.GROUNDING_TYPE_UNSPECIFIED = 0)] = 'GROUNDING_TYPE_UNSPECIFIED'), + (e[(e.GROUNDING_WITH_GOOGLE_SEARCH = 1)] = 'GROUNDING_WITH_GOOGLE_SEARCH'), + (e[(e.WEB_GROUNDING_FOR_ENTERPRISE = 2)] = 'WEB_GROUNDING_FOR_ENTERPRISE')); +})(Fe || (Fe = {})); +a.util.setEnumType( + Fe, + 'google.internal.cloud.code.v1internal.FetchAdminControlsResponse.GroundingType', + [ + { no: 0, name: 'GROUNDING_TYPE_UNSPECIFIED' }, + { no: 1, name: 'GROUNDING_WITH_GOOGLE_SEARCH' }, + { no: 2, name: 'WEB_GROUNDING_FOR_ENTERPRISE' }, + ], +); +var um; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.DEFAULT = 1)] = 'DEFAULT'), + (e[(e.PLAN = 7)] = 'PLAN'), + (e[(e.FAST_APPLY = 12)] = 'FAST_APPLY'), + (e[(e.TERMINAL = 13)] = 'TERMINAL'), + (e[(e.SUPERCOMPLETE = 10)] = 'SUPERCOMPLETE'), + (e[(e.TAB_JUMP = 14)] = 'TAB_JUMP'), + (e[(e.CASCADE_CHAT = 16)] = 'CASCADE_CHAT')); +})(um || (um = {})); +a.util.setEnumType(um, 'exa.codeium_common_pb.CommandRequestSource', [ + { no: 0, name: 'COMMAND_REQUEST_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'COMMAND_REQUEST_SOURCE_DEFAULT' }, + { no: 7, name: 'COMMAND_REQUEST_SOURCE_PLAN' }, + { no: 12, name: 'COMMAND_REQUEST_SOURCE_FAST_APPLY' }, + { no: 13, name: 'COMMAND_REQUEST_SOURCE_TERMINAL' }, + { no: 10, name: 'COMMAND_REQUEST_SOURCE_SUPERCOMPLETE' }, + { no: 14, name: 'COMMAND_REQUEST_SOURCE_TAB_JUMP' }, + { no: 16, name: 'COMMAND_REQUEST_SOURCE_CASCADE_CHAT' }, +]); +var lm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.AUTOCOMPLETE = 1)] = 'AUTOCOMPLETE'), + (e[(e.COMMAND_GENERATE = 4)] = 'COMMAND_GENERATE'), + (e[(e.COMMAND_EDIT = 5)] = 'COMMAND_EDIT'), + (e[(e.SUPERCOMPLETE = 6)] = 'SUPERCOMPLETE'), + (e[(e.COMMAND_PLAN = 7)] = 'COMMAND_PLAN'), + (e[(e.FAST_APPLY = 9)] = 'FAST_APPLY'), + (e[(e.COMMAND_TERMINAL = 10)] = 'COMMAND_TERMINAL'), + (e[(e.TAB_JUMP = 11)] = 'TAB_JUMP'), + (e[(e.CASCADE = 12)] = 'CASCADE')); +})(lm || (lm = {})); +a.util.setEnumType(lm, 'exa.codeium_common_pb.ProviderSource', [ + { no: 0, name: 'PROVIDER_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'PROVIDER_SOURCE_AUTOCOMPLETE' }, + { no: 4, name: 'PROVIDER_SOURCE_COMMAND_GENERATE' }, + { no: 5, name: 'PROVIDER_SOURCE_COMMAND_EDIT' }, + { no: 6, name: 'PROVIDER_SOURCE_SUPERCOMPLETE' }, + { no: 7, name: 'PROVIDER_SOURCE_COMMAND_PLAN' }, + { no: 9, name: 'PROVIDER_SOURCE_FAST_APPLY' }, + { no: 10, name: 'PROVIDER_SOURCE_COMMAND_TERMINAL' }, + { no: 11, name: 'PROVIDER_SOURCE_TAB_JUMP' }, + { no: 12, name: 'PROVIDER_SOURCE_CASCADE' }, +]); +var Ln; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.FILE_MARKER = 2)] = 'FILE_MARKER'), + (e[(e.OTHER_DOCUMENT = 4)] = 'OTHER_DOCUMENT'), + (e[(e.BEFORE_CURSOR = 5)] = 'BEFORE_CURSOR'), + (e[(e.AFTER_CURSOR = 7)] = 'AFTER_CURSOR'), + (e[(e.FIM = 8)] = 'FIM'), + (e[(e.SOT = 9)] = 'SOT'), + (e[(e.EOT = 10)] = 'EOT'), + (e[(e.CODE_CONTEXT_ITEM = 13)] = 'CODE_CONTEXT_ITEM'), + (e[(e.INSTRUCTION = 14)] = 'INSTRUCTION'), + (e[(e.SELECTION = 15)] = 'SELECTION'), + (e[(e.TRAJECTORY_STEP = 16)] = 'TRAJECTORY_STEP'), + (e[(e.ACTIVE_DOCUMENT = 17)] = 'ACTIVE_DOCUMENT'), + (e[(e.CACHED_MESSAGE = 18)] = 'CACHED_MESSAGE')); +})(Ln || (Ln = {})); +a.util.setEnumType(Ln, 'exa.codeium_common_pb.PromptElementKind', [ + { no: 0, name: 'PROMPT_ELEMENT_KIND_UNSPECIFIED' }, + { no: 2, name: 'PROMPT_ELEMENT_KIND_FILE_MARKER' }, + { no: 4, name: 'PROMPT_ELEMENT_KIND_OTHER_DOCUMENT' }, + { no: 5, name: 'PROMPT_ELEMENT_KIND_BEFORE_CURSOR' }, + { no: 7, name: 'PROMPT_ELEMENT_KIND_AFTER_CURSOR' }, + { no: 8, name: 'PROMPT_ELEMENT_KIND_FIM' }, + { no: 9, name: 'PROMPT_ELEMENT_KIND_SOT' }, + { no: 10, name: 'PROMPT_ELEMENT_KIND_EOT' }, + { no: 13, name: 'PROMPT_ELEMENT_KIND_CODE_CONTEXT_ITEM' }, + { no: 14, name: 'PROMPT_ELEMENT_KIND_INSTRUCTION' }, + { no: 15, name: 'PROMPT_ELEMENT_KIND_SELECTION' }, + { no: 16, name: 'PROMPT_ELEMENT_KIND_TRAJECTORY_STEP' }, + { no: 17, name: 'PROMPT_ELEMENT_KIND_ACTIVE_DOCUMENT' }, + { no: 18, name: 'PROMPT_ELEMENT_KIND_CACHED_MESSAGE' }, +]); +var Me; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.COPY = 1)] = 'COPY'), + (e[(e.PROMPT_CACHE = 2)] = 'PROMPT_CACHE')); +})(Me || (Me = {})); +a.util.setEnumType(Me, 'exa.codeium_common_pb.PromptAnnotationKind', [ + { no: 0, name: 'PROMPT_ANNOTATION_KIND_UNSPECIFIED' }, + { no: 1, name: 'PROMPT_ANNOTATION_KIND_COPY' }, + { no: 2, name: 'PROMPT_ANNOTATION_KIND_PROMPT_CACHE' }, +]); +var B; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.USE_INTERNAL_CHAT_MODEL = 36)] = 'USE_INTERNAL_CHAT_MODEL'), + (e[(e.RECORD_FILES = 47)] = 'RECORD_FILES'), + (e[(e.NO_SAMPLER_EARLY_STOP = 48)] = 'NO_SAMPLER_EARLY_STOP'), + (e[(e.CM_MEMORY_TELEMETRY = 53)] = 'CM_MEMORY_TELEMETRY'), + (e[(e.LANGUAGE_SERVER_VERSION = 55)] = 'LANGUAGE_SERVER_VERSION'), + (e[(e.LANGUAGE_SERVER_AUTO_RELOAD = 56)] = 'LANGUAGE_SERVER_AUTO_RELOAD'), + (e[(e.ONLY_MULTILINE = 60)] = 'ONLY_MULTILINE'), + (e[(e.USE_ATTRIBUTION_FOR_INDIVIDUAL_TIER = 68)] = + 'USE_ATTRIBUTION_FOR_INDIVIDUAL_TIER'), + (e[(e.CHAT_MODEL_CONFIG = 78)] = 'CHAT_MODEL_CONFIG'), + (e[(e.COMMAND_MODEL_CONFIG = 79)] = 'COMMAND_MODEL_CONFIG'), + (e[(e.MIN_IDE_VERSION = 81)] = 'MIN_IDE_VERSION'), + (e[(e.API_SERVER_VERBOSE_ERRORS = 84)] = 'API_SERVER_VERBOSE_ERRORS'), + (e[(e.DEFAULT_ENABLE_SEARCH = 86)] = 'DEFAULT_ENABLE_SEARCH'), + (e[(e.COLLECT_ONBOARDING_EVENTS = 87)] = 'COLLECT_ONBOARDING_EVENTS'), + (e[(e.COLLECT_EXAMPLE_COMPLETIONS = 88)] = 'COLLECT_EXAMPLE_COMPLETIONS'), + (e[(e.USE_MULTILINE_MODEL = 89)] = 'USE_MULTILINE_MODEL'), + (e[(e.ATTRIBUTION_KILL_SWITCH = 92)] = 'ATTRIBUTION_KILL_SWITCH'), + (e[(e.FAST_MULTILINE = 94)] = 'FAST_MULTILINE'), + (e[(e.SINGLE_COMPLETION = 95)] = 'SINGLE_COMPLETION'), + (e[(e.STOP_FIRST_NON_WHITESPACE_LINE = 96)] = + 'STOP_FIRST_NON_WHITESPACE_LINE'), + (e[(e.CORTEX_CONFIG = 102)] = 'CORTEX_CONFIG'), + (e[(e.MODEL_CHAT_11121_VARIANTS = 103)] = 'MODEL_CHAT_11121_VARIANTS'), + (e[(e.INCLUDE_PROMPT_COMPONENTS = 105)] = 'INCLUDE_PROMPT_COMPONENTS'), + (e[(e.PERSIST_CODE_TRACKER = 108)] = 'PERSIST_CODE_TRACKER'), + (e[(e.API_SERVER_LIVENESS_PROBE = 112)] = 'API_SERVER_LIVENESS_PROBE'), + (e[(e.CHAT_COMPLETION_TOKENS_SOFT_LIMIT = 114)] = + 'CHAT_COMPLETION_TOKENS_SOFT_LIMIT'), + (e[(e.CHAT_TOKENS_SOFT_LIMIT = 115)] = 'CHAT_TOKENS_SOFT_LIMIT'), + (e[(e.DISABLE_COMPLETIONS_CACHE = 118)] = 'DISABLE_COMPLETIONS_CACHE'), + (e[(e.LLAMA3_405B_KILL_SWITCH = 119)] = 'LLAMA3_405B_KILL_SWITCH'), + (e[(e.USE_COMMAND_DOCSTRING_GENERATION = 121)] = + 'USE_COMMAND_DOCSTRING_GENERATION'), + (e[(e.SENTRY = 136)] = 'SENTRY'), + (e[(e.FAST_SINGLELINE = 144)] = 'FAST_SINGLELINE'), + (e[(e.R2_LANGUAGE_SERVER_DOWNLOAD = 147)] = 'R2_LANGUAGE_SERVER_DOWNLOAD'), + (e[(e.SPLIT_MODEL = 152)] = 'SPLIT_MODEL'), + (e[(e.ANTIGRAVITY_SENTRY_SAMPLE_RATE = 198)] = + 'ANTIGRAVITY_SENTRY_SAMPLE_RATE'), + (e[(e.API_SERVER_CUTOFF = 158)] = 'API_SERVER_CUTOFF'), + (e[(e.FAST_SPEED_KILL_SWITCH = 159)] = 'FAST_SPEED_KILL_SWITCH'), + (e[(e.PREDICTIVE_MULTILINE = 160)] = 'PREDICTIVE_MULTILINE'), + (e[(e.SUPERCOMPLETE_FILTER_REVERT = 125)] = 'SUPERCOMPLETE_FILTER_REVERT'), + (e[(e.SUPERCOMPLETE_FILTER_PREFIX_MATCH = 126)] = + 'SUPERCOMPLETE_FILTER_PREFIX_MATCH'), + (e[(e.SUPERCOMPLETE_FILTER_SCORE_THRESHOLD = 127)] = + 'SUPERCOMPLETE_FILTER_SCORE_THRESHOLD'), + (e[(e.SUPERCOMPLETE_FILTER_INSERTION_CAP = 128)] = + 'SUPERCOMPLETE_FILTER_INSERTION_CAP'), + (e[(e.SUPERCOMPLETE_FILTER_DELETION_CAP = 133)] = + 'SUPERCOMPLETE_FILTER_DELETION_CAP'), + (e[(e.SUPERCOMPLETE_FILTER_WHITESPACE_ONLY = 156)] = + 'SUPERCOMPLETE_FILTER_WHITESPACE_ONLY'), + (e[(e.SUPERCOMPLETE_FILTER_NO_OP = 170)] = 'SUPERCOMPLETE_FILTER_NO_OP'), + (e[(e.SUPERCOMPLETE_FILTER_SUFFIX_MATCH = 176)] = + 'SUPERCOMPLETE_FILTER_SUFFIX_MATCH'), + (e[(e.SUPERCOMPLETE_FILTER_PREVIOUSLY_SHOWN = 182)] = + 'SUPERCOMPLETE_FILTER_PREVIOUSLY_SHOWN'), + (e[(e.SUPERCOMPLETE_MIN_SCORE = 129)] = 'SUPERCOMPLETE_MIN_SCORE'), + (e[(e.SUPERCOMPLETE_MAX_INSERTIONS = 130)] = + 'SUPERCOMPLETE_MAX_INSERTIONS'), + (e[(e.SUPERCOMPLETE_LINE_RADIUS = 131)] = 'SUPERCOMPLETE_LINE_RADIUS'), + (e[(e.SUPERCOMPLETE_MAX_DELETIONS = 132)] = 'SUPERCOMPLETE_MAX_DELETIONS'), + (e[(e.SUPERCOMPLETE_USE_CURRENT_LINE = 135)] = + 'SUPERCOMPLETE_USE_CURRENT_LINE'), + (e[(e.SUPERCOMPLETE_RECENT_STEPS_DURATION = 138)] = + 'SUPERCOMPLETE_RECENT_STEPS_DURATION'), + (e[(e.SUPERCOMPLETE_USE_CODE_DIAGNOSTICS = 143)] = + 'SUPERCOMPLETE_USE_CODE_DIAGNOSTICS'), + (e[(e.SUPERCOMPLETE_DIAGNOSTIC_SEVERITY_THRESHOLD = 223)] = + 'SUPERCOMPLETE_DIAGNOSTIC_SEVERITY_THRESHOLD'), + (e[(e.SUPERCOMPLETE_CODE_DIAGNOSTICS_TOP_K = 232)] = + 'SUPERCOMPLETE_CODE_DIAGNOSTICS_TOP_K'), + (e[(e.SUPERCOMPLETE_MAX_TRAJECTORY_STEPS = 154)] = + 'SUPERCOMPLETE_MAX_TRAJECTORY_STEPS'), + (e[(e.SUPERCOMPLETE_ON_ACCEPT_ONLY = 157)] = + 'SUPERCOMPLETE_ON_ACCEPT_ONLY'), + (e[(e.SUPERCOMPLETE_TEMPERATURE = 183)] = 'SUPERCOMPLETE_TEMPERATURE'), + (e[(e.SUPERCOMPLETE_MAX_TRAJECTORY_STEP_SIZE = 203)] = + 'SUPERCOMPLETE_MAX_TRAJECTORY_STEP_SIZE'), + (e[(e.SUPERCOMPLETE_DISABLE_TYPING_CACHE = 231)] = + 'SUPERCOMPLETE_DISABLE_TYPING_CACHE'), + (e[(e.SUPERCOMPLETE_ALWAYS_USE_CACHE_ON_EQUAL_STATE = 293)] = + 'SUPERCOMPLETE_ALWAYS_USE_CACHE_ON_EQUAL_STATE'), + (e[(e.SUPERCOMPLETE_CACHE_ON_PARENT_ID_KILL_SWITCH = 297)] = + 'SUPERCOMPLETE_CACHE_ON_PARENT_ID_KILL_SWITCH'), + (e[(e.SUPERCOMPLETE_PRUNE_RESPONSE = 140)] = + 'SUPERCOMPLETE_PRUNE_RESPONSE'), + (e[(e.SUPERCOMPLETE_PRUNE_MAX_INSERT_DELETE_LINE_DELTA = 141)] = + 'SUPERCOMPLETE_PRUNE_MAX_INSERT_DELETE_LINE_DELTA'), + (e[(e.SUPERCOMPLETE_MODEL_CONFIG = 145)] = 'SUPERCOMPLETE_MODEL_CONFIG'), + (e[(e.SUPERCOMPLETE_ON_TAB = 151)] = 'SUPERCOMPLETE_ON_TAB'), + (e[(e.SUPERCOMPLETE_INLINE_PURE_DELETE = 171)] = + 'SUPERCOMPLETE_INLINE_PURE_DELETE'), + (e[(e.SUPERCOMPLETE_INLINE_RICH_GHOST_TEXT_INSERTIONS = 218)] = + 'SUPERCOMPLETE_INLINE_RICH_GHOST_TEXT_INSERTIONS'), + (e[(e.MODEL_CHAT_19821_VARIANTS = 308)] = 'MODEL_CHAT_19821_VARIANTS'), + (e[(e.SUPERCOMPLETE_MAX_CONCURRENT_REQUESTS = 284)] = + 'SUPERCOMPLETE_MAX_CONCURRENT_REQUESTS'), + (e[(e.COMMAND_PROMPT_CACHE_CONFIG = 255)] = 'COMMAND_PROMPT_CACHE_CONFIG'), + (e[(e.CUMULATIVE_PROMPT_CONFIG = 256)] = 'CUMULATIVE_PROMPT_CONFIG'), + (e[(e.CUMULATIVE_PROMPT_CASCADE_CONFIG = 279)] = + 'CUMULATIVE_PROMPT_CASCADE_CONFIG'), + (e[(e.TAB_JUMP_CUMULATIVE_PROMPT_CONFIG = 301)] = + 'TAB_JUMP_CUMULATIVE_PROMPT_CONFIG'), + (e[(e.COMPLETION_SPEED_SUPERCOMPLETE_CACHE = 207)] = + 'COMPLETION_SPEED_SUPERCOMPLETE_CACHE'), + (e[(e.COMPLETION_SPEED_PREDICTIVE_SUPERCOMPLETE = 208)] = + 'COMPLETION_SPEED_PREDICTIVE_SUPERCOMPLETE'), + (e[(e.COMPLETION_SPEED_TAB_JUMP_CACHE = 209)] = + 'COMPLETION_SPEED_TAB_JUMP_CACHE'), + (e[(e.COMPLETION_SPEED_PREDICTIVE_TAB_JUMP = 210)] = + 'COMPLETION_SPEED_PREDICTIVE_TAB_JUMP'), + (e[(e.COMPLETION_SPEED_BLOCK_TAB_JUMP_ON_PREDICTIVE_SUPERCOMPLETE = 294)] = + 'COMPLETION_SPEED_BLOCK_TAB_JUMP_ON_PREDICTIVE_SUPERCOMPLETE'), + (e[(e.JETBRAINS_ENABLE_ONBOARDING = 137)] = 'JETBRAINS_ENABLE_ONBOARDING'), + (e[(e.ENABLE_AUTOCOMPLETE_DURING_INTELLISENSE = 146)] = + 'ENABLE_AUTOCOMPLETE_DURING_INTELLISENSE'), + (e[(e.COMMAND_BOX_ON_TOP = 155)] = 'COMMAND_BOX_ON_TOP'), + (e[(e.CONTEXT_ACTIVE_DOCUMENT_FRACTION = 149)] = + 'CONTEXT_ACTIVE_DOCUMENT_FRACTION'), + (e[(e.CONTEXT_COMMAND_TRAJECTORY_PROMPT_CONFIG = 150)] = + 'CONTEXT_COMMAND_TRAJECTORY_PROMPT_CONFIG'), + (e[(e.CONTEXT_FORCE_LOCAL_CONTEXT = 178)] = 'CONTEXT_FORCE_LOCAL_CONTEXT'), + (e[(e.CROSS_SELL_EXTENSION_DOWNLOAD_ANTIGRAVITY = 220)] = + 'CROSS_SELL_EXTENSION_DOWNLOAD_ANTIGRAVITY'), + (e[(e.MODEL_LLAMA_3_1_70B_INSTRUCT_LONG_CONTEXT_VARIANTS = 295)] = + 'MODEL_LLAMA_3_1_70B_INSTRUCT_LONG_CONTEXT_VARIANTS'), + (e[(e.SUPERCOMPLETE_NO_ACTIVE_NODE = 166)] = + 'SUPERCOMPLETE_NO_ACTIVE_NODE'), + (e[(e.TAB_JUMP_ENABLED = 168)] = 'TAB_JUMP_ENABLED'), + (e[(e.TAB_JUMP_LINE_RADIUS = 177)] = 'TAB_JUMP_LINE_RADIUS'), + (e[(e.TAB_JUMP_MIN_FILTER_RADIUS = 197)] = 'TAB_JUMP_MIN_FILTER_RADIUS'), + (e[(e.TAB_JUMP_ON_ACCEPT_ONLY = 205)] = 'TAB_JUMP_ON_ACCEPT_ONLY'), + (e[(e.TAB_JUMP_FILTER_IN_SELECTION = 215)] = + 'TAB_JUMP_FILTER_IN_SELECTION'), + (e[(e.TAB_JUMP_MODEL_CONFIG = 237)] = 'TAB_JUMP_MODEL_CONFIG'), + (e[(e.TAB_JUMP_FILTER_NO_OP = 238)] = 'TAB_JUMP_FILTER_NO_OP'), + (e[(e.TAB_JUMP_FILTER_REVERT = 239)] = 'TAB_JUMP_FILTER_REVERT'), + (e[(e.TAB_JUMP_FILTER_SCORE_THRESHOLD = 240)] = + 'TAB_JUMP_FILTER_SCORE_THRESHOLD'), + (e[(e.TAB_JUMP_FILTER_WHITESPACE_ONLY = 241)] = + 'TAB_JUMP_FILTER_WHITESPACE_ONLY'), + (e[(e.TAB_JUMP_FILTER_INSERTION_CAP = 242)] = + 'TAB_JUMP_FILTER_INSERTION_CAP'), + (e[(e.TAB_JUMP_FILTER_DELETION_CAP = 243)] = + 'TAB_JUMP_FILTER_DELETION_CAP'), + (e[(e.TAB_JUMP_PRUNE_RESPONSE = 260)] = 'TAB_JUMP_PRUNE_RESPONSE'), + (e[(e.TAB_JUMP_PRUNE_MAX_INSERT_DELETE_LINE_DELTA = 261)] = + 'TAB_JUMP_PRUNE_MAX_INSERT_DELETE_LINE_DELTA'), + (e[(e.TAB_JUMP_STOP_TOKEN_MIDSTREAM = 317)] = + 'TAB_JUMP_STOP_TOKEN_MIDSTREAM'), + (e[(e.VIEWED_FILE_TRACKER_CONFIG = 211)] = 'VIEWED_FILE_TRACKER_CONFIG'), + (e[(e.SNAPSHOT_TO_STEP_OPTIONS_OVERRIDE = 305)] = + 'SNAPSHOT_TO_STEP_OPTIONS_OVERRIDE'), + (e[(e.STREAMING_EXTERNAL_COMMAND = 172)] = 'STREAMING_EXTERNAL_COMMAND'), + (e[(e.USE_SPECIAL_EDIT_CODE_BLOCK = 179)] = 'USE_SPECIAL_EDIT_CODE_BLOCK'), + (e[(e.ENABLE_SUGGESTED_RESPONSES = 187)] = 'ENABLE_SUGGESTED_RESPONSES'), + (e[(e.CASCADE_BASE_MODEL_ID = 190)] = 'CASCADE_BASE_MODEL_ID'), + (e[(e.CASCADE_PLAN_BASED_CONFIG_OVERRIDE = 266)] = + 'CASCADE_PLAN_BASED_CONFIG_OVERRIDE'), + (e[(e.CASCADE_GLOBAL_CONFIG_OVERRIDE = 212)] = + 'CASCADE_GLOBAL_CONFIG_OVERRIDE'), + (e[(e.CASCADE_BACKGROUND_RESEARCH_CONFIG_OVERRIDE = 193)] = + 'CASCADE_BACKGROUND_RESEARCH_CONFIG_OVERRIDE'), + (e[(e.CASCADE_ENFORCE_QUOTA = 204)] = 'CASCADE_ENFORCE_QUOTA'), + (e[(e.CASCADE_ENABLE_AUTOMATED_MEMORIES = 224)] = + 'CASCADE_ENABLE_AUTOMATED_MEMORIES'), + (e[(e.CASCADE_MEMORY_CONFIG_OVERRIDE = 314)] = + 'CASCADE_MEMORY_CONFIG_OVERRIDE'), + (e[(e.CASCADE_USE_REPLACE_CONTENT_EDIT_TOOL = 228)] = + 'CASCADE_USE_REPLACE_CONTENT_EDIT_TOOL'), + (e[(e.CASCADE_VIEW_FILE_TOOL_CONFIG_OVERRIDE = 258)] = + 'CASCADE_VIEW_FILE_TOOL_CONFIG_OVERRIDE'), + (e[(e.CASCADE_USE_EXPERIMENT_CHECKPOINTER = 247)] = + 'CASCADE_USE_EXPERIMENT_CHECKPOINTER'), + (e[(e.CASCADE_ENABLE_MCP_TOOLS = 245)] = 'CASCADE_ENABLE_MCP_TOOLS'), + (e[(e.CASCADE_AUTO_FIX_LINTS = 275)] = 'CASCADE_AUTO_FIX_LINTS'), + (e[(e.USE_ANTHROPIC_TOKEN_EFFICIENT_TOOLS_BETA = 296)] = + 'USE_ANTHROPIC_TOKEN_EFFICIENT_TOOLS_BETA'), + (e[(e.CASCADE_USER_MEMORIES_IN_SYS_PROMPT = 289)] = + 'CASCADE_USER_MEMORIES_IN_SYS_PROMPT'), + (e[(e.COLLAPSE_ASSISTANT_MESSAGES = 312)] = 'COLLAPSE_ASSISTANT_MESSAGES'), + (e[(e.CASCADE_DEFAULT_MODEL_OVERRIDE = 321)] = + 'CASCADE_DEFAULT_MODEL_OVERRIDE'), + (e[(e.ENABLE_SMART_COPY = 181)] = 'ENABLE_SMART_COPY'), + (e[(e.ENABLE_COMMIT_MESSAGE_GENERATION = 185)] = + 'ENABLE_COMMIT_MESSAGE_GENERATION'), + (e[(e.FIREWORKS_ON_DEMAND_DEPLOYMENT = 276)] = + 'FIREWORKS_ON_DEMAND_DEPLOYMENT'), + (e[(e.API_SERVER_CLIENT_USE_HTTP_2 = 202)] = + 'API_SERVER_CLIENT_USE_HTTP_2'), + (e[(e.AUTOCOMPLETE_DEFAULT_DEBOUNCE_MS = 213)] = + 'AUTOCOMPLETE_DEFAULT_DEBOUNCE_MS'), + (e[(e.AUTOCOMPLETE_FAST_DEBOUNCE_MS = 214)] = + 'AUTOCOMPLETE_FAST_DEBOUNCE_MS'), + (e[(e.PROFILING_TELEMETRY_SAMPLE_RATE = 219)] = + 'PROFILING_TELEMETRY_SAMPLE_RATE'), + (e[(e.STREAM_USER_SHELL_COMMANDS = 225)] = 'STREAM_USER_SHELL_COMMANDS'), + (e[(e.API_SERVER_PROMPT_CACHE_REPLICAS = 307)] = + 'API_SERVER_PROMPT_CACHE_REPLICAS'), + (e[(e.API_SERVER_ENABLE_MORE_LOGGING = 272)] = + 'API_SERVER_ENABLE_MORE_LOGGING'), + (e[(e.COMMAND_INJECT_USER_MEMORIES = 233)] = + 'COMMAND_INJECT_USER_MEMORIES'), + (e[(e.AUTOCOMPLETE_HIDDEN_ERROR_REGEX = 234)] = + 'AUTOCOMPLETE_HIDDEN_ERROR_REGEX'), + (e[(e.DISABLE_IDE_COMPLETIONS_DEBOUNCE = 278)] = + 'DISABLE_IDE_COMPLETIONS_DEBOUNCE'), + (e[(e.COMBINED_MODEL_USE_FULL_INSTRUCTION_FOR_RETRIEVAL = 264)] = + 'COMBINED_MODEL_USE_FULL_INSTRUCTION_FOR_RETRIEVAL'), + (e[(e.MAX_PAST_TRAJECTORY_TOKENS_FOR_RETRIEVAL = 265)] = + 'MAX_PAST_TRAJECTORY_TOKENS_FOR_RETRIEVAL'), + (e[(e.ENABLE_QUICK_ACTIONS = 250)] = 'ENABLE_QUICK_ACTIONS'), + (e[(e.QUICK_ACTIONS_WHITELIST_REGEX = 251)] = + 'QUICK_ACTIONS_WHITELIST_REGEX'), + (e[(e.CASCADE_NEW_MODELS_NUX = 259)] = 'CASCADE_NEW_MODELS_NUX'), + (e[(e.CASCADE_NEW_WAVE_2_MODELS_NUX = 270)] = + 'CASCADE_NEW_WAVE_2_MODELS_NUX'), + (e[(e.SUPERCOMPLETE_FAST_DEBOUNCE = 262)] = 'SUPERCOMPLETE_FAST_DEBOUNCE'), + (e[(e.SUPERCOMPLETE_REGULAR_DEBOUNCE = 263)] = + 'SUPERCOMPLETE_REGULAR_DEBOUNCE'), + (e[(e.XML_TOOL_PARSING_MODELS = 268)] = 'XML_TOOL_PARSING_MODELS'), + (e[(e.SUPERCOMPLETE_DONT_FILTER_MID_STREAMED = 269)] = + 'SUPERCOMPLETE_DONT_FILTER_MID_STREAMED'), + (e[(e.ANNOYANCE_MANAGER_MAX_NAVIGATION_RENDERS = 285)] = + 'ANNOYANCE_MANAGER_MAX_NAVIGATION_RENDERS'), + (e[(e.ANNOYANCE_MANAGER_INLINE_PREVENTION_THRESHOLD_MS = 286)] = + 'ANNOYANCE_MANAGER_INLINE_PREVENTION_THRESHOLD_MS'), + (e[ + (e.ANNOYANCE_MANAGER_INLINE_PREVENTION_MAX_INTENTIONAL_REJECTIONS = 287) + ] = 'ANNOYANCE_MANAGER_INLINE_PREVENTION_MAX_INTENTIONAL_REJECTIONS'), + (e[(e.ANNOYANCE_MANAGER_INLINE_PREVENTION_MAX_AUTO_REJECTIONS = 288)] = + 'ANNOYANCE_MANAGER_INLINE_PREVENTION_MAX_AUTO_REJECTIONS'), + (e[(e.USE_CUSTOM_CHARACTER_DIFF = 292)] = 'USE_CUSTOM_CHARACTER_DIFF'), + (e[(e.FORCE_NON_OPTIMIZED_DIFF = 298)] = 'FORCE_NON_OPTIMIZED_DIFF'), + (e[(e.CASCADE_RECIPES_AT_MENTION_VISIBILITY = 316)] = + 'CASCADE_RECIPES_AT_MENTION_VISIBILITY'), + (e[(e.IMPLICIT_USES_CLIPBOARD = 310)] = 'IMPLICIT_USES_CLIPBOARD'), + (e[(e.DISABLE_SUPERCOMPLETE_PCW = 303)] = 'DISABLE_SUPERCOMPLETE_PCW'), + (e[(e.BLOCK_TAB_ON_SHOWN_AUTOCOMPLETE = 304)] = + 'BLOCK_TAB_ON_SHOWN_AUTOCOMPLETE'), + (e[(e.CASCADE_WEB_SEARCH_NUX = 311)] = 'CASCADE_WEB_SEARCH_NUX'), + (e[(e.MODEL_NOTIFICATIONS = 319)] = 'MODEL_NOTIFICATIONS'), + (e[(e.MODEL_SELECTOR_NUX_COPY = 320)] = 'MODEL_SELECTOR_NUX_COPY'), + (e[(e.CASCADE_TOOL_CALL_PRICING_NUX = 322)] = + 'CASCADE_TOOL_CALL_PRICING_NUX'), + (e[(e.CASCADE_PLUGINS_TAB = 323)] = 'CASCADE_PLUGINS_TAB'), + (e[(e.WAVE_8_RULES_ENABLED = 324)] = 'WAVE_8_RULES_ENABLED'), + (e[(e.WAVE_8_KNOWLEDGE_ENABLED = 325)] = 'WAVE_8_KNOWLEDGE_ENABLED'), + (e[(e.CASCADE_ONBOARDING = 326)] = 'CASCADE_ONBOARDING'), + (e[(e.CASCADE_ONBOARDING_REVERT = 327)] = 'CASCADE_ONBOARDING_REVERT'), + (e[(e.CASCADE_ANTIGRAVITY_BROWSER_TOOLS_ENABLED = 328)] = + 'CASCADE_ANTIGRAVITY_BROWSER_TOOLS_ENABLED'), + (e[(e.CASCADE_MODEL_HEADER_WARNING = 329)] = + 'CASCADE_MODEL_HEADER_WARNING'), + (e[(e.LOG_CASCADE_CHAT_PANEL_ERROR = 331)] = + 'LOG_CASCADE_CHAT_PANEL_ERROR'), + (e[(e.TEST_ONLY = 999)] = 'TEST_ONLY')); +})(B || (B = {})); +a.util.setEnumType(B, 'exa.codeium_common_pb.ExperimentKey', [ + { no: 0, name: 'UNSPECIFIED' }, + { no: 36, name: 'USE_INTERNAL_CHAT_MODEL' }, + { no: 47, name: 'RECORD_FILES' }, + { no: 48, name: 'NO_SAMPLER_EARLY_STOP' }, + { no: 53, name: 'CM_MEMORY_TELEMETRY' }, + { no: 55, name: 'LANGUAGE_SERVER_VERSION' }, + { no: 56, name: 'LANGUAGE_SERVER_AUTO_RELOAD' }, + { no: 60, name: 'ONLY_MULTILINE' }, + { no: 68, name: 'USE_ATTRIBUTION_FOR_INDIVIDUAL_TIER' }, + { no: 78, name: 'CHAT_MODEL_CONFIG' }, + { no: 79, name: 'COMMAND_MODEL_CONFIG' }, + { no: 81, name: 'MIN_IDE_VERSION' }, + { no: 84, name: 'API_SERVER_VERBOSE_ERRORS' }, + { no: 86, name: 'DEFAULT_ENABLE_SEARCH' }, + { no: 87, name: 'COLLECT_ONBOARDING_EVENTS' }, + { no: 88, name: 'COLLECT_EXAMPLE_COMPLETIONS' }, + { no: 89, name: 'USE_MULTILINE_MODEL' }, + { no: 92, name: 'ATTRIBUTION_KILL_SWITCH' }, + { no: 94, name: 'FAST_MULTILINE' }, + { no: 95, name: 'SINGLE_COMPLETION' }, + { no: 96, name: 'STOP_FIRST_NON_WHITESPACE_LINE' }, + { no: 102, name: 'CORTEX_CONFIG' }, + { no: 103, name: 'MODEL_CHAT_11121_VARIANTS' }, + { no: 105, name: 'INCLUDE_PROMPT_COMPONENTS' }, + { no: 108, name: 'PERSIST_CODE_TRACKER' }, + { no: 112, name: 'API_SERVER_LIVENESS_PROBE' }, + { no: 114, name: 'CHAT_COMPLETION_TOKENS_SOFT_LIMIT' }, + { no: 115, name: 'CHAT_TOKENS_SOFT_LIMIT' }, + { no: 118, name: 'DISABLE_COMPLETIONS_CACHE' }, + { no: 119, name: 'LLAMA3_405B_KILL_SWITCH' }, + { no: 121, name: 'USE_COMMAND_DOCSTRING_GENERATION' }, + { no: 136, name: 'SENTRY' }, + { no: 144, name: 'FAST_SINGLELINE' }, + { no: 147, name: 'R2_LANGUAGE_SERVER_DOWNLOAD' }, + { no: 152, name: 'SPLIT_MODEL' }, + { no: 198, name: 'ANTIGRAVITY_SENTRY_SAMPLE_RATE' }, + { no: 158, name: 'API_SERVER_CUTOFF' }, + { no: 159, name: 'FAST_SPEED_KILL_SWITCH' }, + { no: 160, name: 'PREDICTIVE_MULTILINE' }, + { no: 125, name: 'SUPERCOMPLETE_FILTER_REVERT' }, + { no: 126, name: 'SUPERCOMPLETE_FILTER_PREFIX_MATCH' }, + { no: 127, name: 'SUPERCOMPLETE_FILTER_SCORE_THRESHOLD' }, + { no: 128, name: 'SUPERCOMPLETE_FILTER_INSERTION_CAP' }, + { no: 133, name: 'SUPERCOMPLETE_FILTER_DELETION_CAP' }, + { no: 156, name: 'SUPERCOMPLETE_FILTER_WHITESPACE_ONLY' }, + { no: 170, name: 'SUPERCOMPLETE_FILTER_NO_OP' }, + { no: 176, name: 'SUPERCOMPLETE_FILTER_SUFFIX_MATCH' }, + { no: 182, name: 'SUPERCOMPLETE_FILTER_PREVIOUSLY_SHOWN' }, + { no: 129, name: 'SUPERCOMPLETE_MIN_SCORE' }, + { no: 130, name: 'SUPERCOMPLETE_MAX_INSERTIONS' }, + { no: 131, name: 'SUPERCOMPLETE_LINE_RADIUS' }, + { no: 132, name: 'SUPERCOMPLETE_MAX_DELETIONS' }, + { no: 135, name: 'SUPERCOMPLETE_USE_CURRENT_LINE' }, + { no: 138, name: 'SUPERCOMPLETE_RECENT_STEPS_DURATION' }, + { no: 143, name: 'SUPERCOMPLETE_USE_CODE_DIAGNOSTICS' }, + { no: 223, name: 'SUPERCOMPLETE_DIAGNOSTIC_SEVERITY_THRESHOLD' }, + { no: 232, name: 'SUPERCOMPLETE_CODE_DIAGNOSTICS_TOP_K' }, + { no: 154, name: 'SUPERCOMPLETE_MAX_TRAJECTORY_STEPS' }, + { no: 157, name: 'SUPERCOMPLETE_ON_ACCEPT_ONLY' }, + { no: 183, name: 'SUPERCOMPLETE_TEMPERATURE' }, + { no: 203, name: 'SUPERCOMPLETE_MAX_TRAJECTORY_STEP_SIZE' }, + { no: 231, name: 'SUPERCOMPLETE_DISABLE_TYPING_CACHE' }, + { no: 293, name: 'SUPERCOMPLETE_ALWAYS_USE_CACHE_ON_EQUAL_STATE' }, + { no: 297, name: 'SUPERCOMPLETE_CACHE_ON_PARENT_ID_KILL_SWITCH' }, + { no: 140, name: 'SUPERCOMPLETE_PRUNE_RESPONSE' }, + { no: 141, name: 'SUPERCOMPLETE_PRUNE_MAX_INSERT_DELETE_LINE_DELTA' }, + { no: 145, name: 'SUPERCOMPLETE_MODEL_CONFIG' }, + { no: 151, name: 'SUPERCOMPLETE_ON_TAB' }, + { no: 171, name: 'SUPERCOMPLETE_INLINE_PURE_DELETE' }, + { no: 218, name: 'SUPERCOMPLETE_INLINE_RICH_GHOST_TEXT_INSERTIONS' }, + { no: 308, name: 'MODEL_CHAT_19821_VARIANTS' }, + { no: 284, name: 'SUPERCOMPLETE_MAX_CONCURRENT_REQUESTS' }, + { no: 255, name: 'COMMAND_PROMPT_CACHE_CONFIG' }, + { no: 256, name: 'CUMULATIVE_PROMPT_CONFIG' }, + { no: 279, name: 'CUMULATIVE_PROMPT_CASCADE_CONFIG' }, + { no: 301, name: 'TAB_JUMP_CUMULATIVE_PROMPT_CONFIG' }, + { no: 207, name: 'COMPLETION_SPEED_SUPERCOMPLETE_CACHE' }, + { no: 208, name: 'COMPLETION_SPEED_PREDICTIVE_SUPERCOMPLETE' }, + { no: 209, name: 'COMPLETION_SPEED_TAB_JUMP_CACHE' }, + { no: 210, name: 'COMPLETION_SPEED_PREDICTIVE_TAB_JUMP' }, + { + no: 294, + name: 'COMPLETION_SPEED_BLOCK_TAB_JUMP_ON_PREDICTIVE_SUPERCOMPLETE', + }, + { no: 137, name: 'JETBRAINS_ENABLE_ONBOARDING' }, + { no: 146, name: 'ENABLE_AUTOCOMPLETE_DURING_INTELLISENSE' }, + { no: 155, name: 'COMMAND_BOX_ON_TOP' }, + { no: 149, name: 'CONTEXT_ACTIVE_DOCUMENT_FRACTION' }, + { no: 150, name: 'CONTEXT_COMMAND_TRAJECTORY_PROMPT_CONFIG' }, + { no: 178, name: 'CONTEXT_FORCE_LOCAL_CONTEXT' }, + { no: 220, name: 'CROSS_SELL_EXTENSION_DOWNLOAD_ANTIGRAVITY' }, + { no: 295, name: 'MODEL_LLAMA_3_1_70B_INSTRUCT_LONG_CONTEXT_VARIANTS' }, + { no: 166, name: 'SUPERCOMPLETE_NO_ACTIVE_NODE' }, + { no: 168, name: 'TAB_JUMP_ENABLED' }, + { no: 177, name: 'TAB_JUMP_LINE_RADIUS' }, + { no: 197, name: 'TAB_JUMP_MIN_FILTER_RADIUS' }, + { no: 205, name: 'TAB_JUMP_ON_ACCEPT_ONLY' }, + { no: 215, name: 'TAB_JUMP_FILTER_IN_SELECTION' }, + { no: 237, name: 'TAB_JUMP_MODEL_CONFIG' }, + { no: 238, name: 'TAB_JUMP_FILTER_NO_OP' }, + { no: 239, name: 'TAB_JUMP_FILTER_REVERT' }, + { no: 240, name: 'TAB_JUMP_FILTER_SCORE_THRESHOLD' }, + { no: 241, name: 'TAB_JUMP_FILTER_WHITESPACE_ONLY' }, + { no: 242, name: 'TAB_JUMP_FILTER_INSERTION_CAP' }, + { no: 243, name: 'TAB_JUMP_FILTER_DELETION_CAP' }, + { no: 260, name: 'TAB_JUMP_PRUNE_RESPONSE' }, + { no: 261, name: 'TAB_JUMP_PRUNE_MAX_INSERT_DELETE_LINE_DELTA' }, + { no: 317, name: 'TAB_JUMP_STOP_TOKEN_MIDSTREAM' }, + { no: 211, name: 'VIEWED_FILE_TRACKER_CONFIG' }, + { no: 305, name: 'SNAPSHOT_TO_STEP_OPTIONS_OVERRIDE' }, + { no: 172, name: 'STREAMING_EXTERNAL_COMMAND' }, + { no: 179, name: 'USE_SPECIAL_EDIT_CODE_BLOCK' }, + { no: 187, name: 'ENABLE_SUGGESTED_RESPONSES' }, + { no: 190, name: 'CASCADE_BASE_MODEL_ID' }, + { no: 266, name: 'CASCADE_PLAN_BASED_CONFIG_OVERRIDE' }, + { no: 212, name: 'CASCADE_GLOBAL_CONFIG_OVERRIDE' }, + { no: 193, name: 'CASCADE_BACKGROUND_RESEARCH_CONFIG_OVERRIDE' }, + { no: 204, name: 'CASCADE_ENFORCE_QUOTA' }, + { no: 224, name: 'CASCADE_ENABLE_AUTOMATED_MEMORIES' }, + { no: 314, name: 'CASCADE_MEMORY_CONFIG_OVERRIDE' }, + { no: 228, name: 'CASCADE_USE_REPLACE_CONTENT_EDIT_TOOL' }, + { no: 258, name: 'CASCADE_VIEW_FILE_TOOL_CONFIG_OVERRIDE' }, + { no: 247, name: 'CASCADE_USE_EXPERIMENT_CHECKPOINTER' }, + { no: 245, name: 'CASCADE_ENABLE_MCP_TOOLS' }, + { no: 275, name: 'CASCADE_AUTO_FIX_LINTS' }, + { no: 296, name: 'USE_ANTHROPIC_TOKEN_EFFICIENT_TOOLS_BETA' }, + { no: 289, name: 'CASCADE_USER_MEMORIES_IN_SYS_PROMPT' }, + { no: 312, name: 'COLLAPSE_ASSISTANT_MESSAGES' }, + { no: 321, name: 'CASCADE_DEFAULT_MODEL_OVERRIDE' }, + { no: 181, name: 'ENABLE_SMART_COPY' }, + { no: 185, name: 'ENABLE_COMMIT_MESSAGE_GENERATION' }, + { no: 276, name: 'FIREWORKS_ON_DEMAND_DEPLOYMENT' }, + { no: 202, name: 'API_SERVER_CLIENT_USE_HTTP_2' }, + { no: 213, name: 'AUTOCOMPLETE_DEFAULT_DEBOUNCE_MS' }, + { no: 214, name: 'AUTOCOMPLETE_FAST_DEBOUNCE_MS' }, + { no: 219, name: 'PROFILING_TELEMETRY_SAMPLE_RATE' }, + { no: 225, name: 'STREAM_USER_SHELL_COMMANDS' }, + { no: 307, name: 'API_SERVER_PROMPT_CACHE_REPLICAS' }, + { no: 272, name: 'API_SERVER_ENABLE_MORE_LOGGING' }, + { no: 233, name: 'COMMAND_INJECT_USER_MEMORIES' }, + { no: 234, name: 'AUTOCOMPLETE_HIDDEN_ERROR_REGEX' }, + { no: 278, name: 'DISABLE_IDE_COMPLETIONS_DEBOUNCE' }, + { no: 264, name: 'COMBINED_MODEL_USE_FULL_INSTRUCTION_FOR_RETRIEVAL' }, + { no: 265, name: 'MAX_PAST_TRAJECTORY_TOKENS_FOR_RETRIEVAL' }, + { no: 250, name: 'ENABLE_QUICK_ACTIONS' }, + { no: 251, name: 'QUICK_ACTIONS_WHITELIST_REGEX' }, + { no: 259, name: 'CASCADE_NEW_MODELS_NUX' }, + { no: 270, name: 'CASCADE_NEW_WAVE_2_MODELS_NUX' }, + { no: 262, name: 'SUPERCOMPLETE_FAST_DEBOUNCE' }, + { no: 263, name: 'SUPERCOMPLETE_REGULAR_DEBOUNCE' }, + { no: 268, name: 'XML_TOOL_PARSING_MODELS' }, + { no: 269, name: 'SUPERCOMPLETE_DONT_FILTER_MID_STREAMED' }, + { no: 285, name: 'ANNOYANCE_MANAGER_MAX_NAVIGATION_RENDERS' }, + { no: 286, name: 'ANNOYANCE_MANAGER_INLINE_PREVENTION_THRESHOLD_MS' }, + { + no: 287, + name: 'ANNOYANCE_MANAGER_INLINE_PREVENTION_MAX_INTENTIONAL_REJECTIONS', + }, + { no: 288, name: 'ANNOYANCE_MANAGER_INLINE_PREVENTION_MAX_AUTO_REJECTIONS' }, + { no: 292, name: 'USE_CUSTOM_CHARACTER_DIFF' }, + { no: 298, name: 'FORCE_NON_OPTIMIZED_DIFF' }, + { no: 316, name: 'CASCADE_RECIPES_AT_MENTION_VISIBILITY' }, + { no: 310, name: 'IMPLICIT_USES_CLIPBOARD' }, + { no: 303, name: 'DISABLE_SUPERCOMPLETE_PCW' }, + { no: 304, name: 'BLOCK_TAB_ON_SHOWN_AUTOCOMPLETE' }, + { no: 311, name: 'CASCADE_WEB_SEARCH_NUX' }, + { no: 319, name: 'MODEL_NOTIFICATIONS' }, + { no: 320, name: 'MODEL_SELECTOR_NUX_COPY' }, + { no: 322, name: 'CASCADE_TOOL_CALL_PRICING_NUX' }, + { no: 323, name: 'CASCADE_PLUGINS_TAB' }, + { no: 324, name: 'WAVE_8_RULES_ENABLED' }, + { no: 325, name: 'WAVE_8_KNOWLEDGE_ENABLED' }, + { no: 326, name: 'CASCADE_ONBOARDING' }, + { no: 327, name: 'CASCADE_ONBOARDING_REVERT' }, + { no: 328, name: 'CASCADE_ANTIGRAVITY_BROWSER_TOOLS_ENABLED' }, + { no: 329, name: 'CASCADE_MODEL_HEADER_WARNING' }, + { no: 331, name: 'LOG_CASCADE_CHAT_PANEL_ERROR' }, + { no: 999, name: 'TEST_ONLY' }, +]); +var ye; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.EXTENSION = 1)] = 'EXTENSION'), + (e[(e.LANGUAGE_SERVER = 2)] = 'LANGUAGE_SERVER'), + (e[(e.API_SERVER = 3)] = 'API_SERVER')); +})(ye || (ye = {})); +a.util.setEnumType(ye, 'exa.codeium_common_pb.ExperimentSource', [ + { no: 0, name: 'EXPERIMENT_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'EXPERIMENT_SOURCE_EXTENSION' }, + { no: 2, name: 'EXPERIMENT_SOURCE_LANGUAGE_SERVER' }, + { no: 3, name: 'EXPERIMENT_SOURCE_API_SERVER' }, +]); +var Rr; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CASCADE_BASE = 1)] = 'CASCADE_BASE'), + (e[(e.VISTA = 3)] = 'VISTA'), + (e[(e.SHAMU = 4)] = 'SHAMU'), + (e[(e.SWE_1 = 5)] = 'SWE_1'), + (e[(e.SWE_1_LITE = 6)] = 'SWE_1_LITE'), + (e[(e.AUTO = 7)] = 'AUTO'), + (e[(e.RECOMMENDED = 8)] = 'RECOMMENDED')); +})(Rr || (Rr = {})); +a.util.setEnumType(Rr, 'exa.codeium_common_pb.ModelAlias', [ + { no: 0, name: 'MODEL_ALIAS_UNSPECIFIED' }, + { no: 1, name: 'MODEL_ALIAS_CASCADE_BASE' }, + { no: 3, name: 'MODEL_ALIAS_VISTA' }, + { no: 4, name: 'MODEL_ALIAS_SHAMU' }, + { no: 5, name: 'MODEL_ALIAS_SWE_1' }, + { no: 6, name: 'MODEL_ALIAS_SWE_1_LITE' }, + { no: 7, name: 'MODEL_ALIAS_AUTO' }, + { no: 8, name: 'MODEL_ALIAS_RECOMMENDED' }, +]); +var f; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CHAT_20706 = 235)] = 'CHAT_20706'), + (e[(e.CHAT_23310 = 269)] = 'CHAT_23310'), + (e[(e.GOOGLE_GEMINI_2_5_FLASH = 312)] = 'GOOGLE_GEMINI_2_5_FLASH'), + (e[(e.GOOGLE_GEMINI_2_5_FLASH_THINKING = 313)] = + 'GOOGLE_GEMINI_2_5_FLASH_THINKING'), + (e[(e.GOOGLE_GEMINI_2_5_FLASH_THINKING_TOOLS = 329)] = + 'GOOGLE_GEMINI_2_5_FLASH_THINKING_TOOLS'), + (e[(e.GOOGLE_GEMINI_2_5_FLASH_LITE = 330)] = + 'GOOGLE_GEMINI_2_5_FLASH_LITE'), + (e[(e.GOOGLE_GEMINI_2_5_PRO = 246)] = 'GOOGLE_GEMINI_2_5_PRO'), + (e[(e.GOOGLE_GEMINI_2_5_PRO_EVAL = 331)] = 'GOOGLE_GEMINI_2_5_PRO_EVAL'), + (e[(e.GOOGLE_GEMINI_FOR_GOOGLE_2_5_PRO = 327)] = + 'GOOGLE_GEMINI_FOR_GOOGLE_2_5_PRO'), + (e[(e.GOOGLE_GEMINI_NEMOSREEF = 328)] = 'GOOGLE_GEMINI_NEMOSREEF'), + (e[(e.GOOGLE_GEMINI_2_5_FLASH_IMAGE_PREVIEW = 332)] = + 'GOOGLE_GEMINI_2_5_FLASH_IMAGE_PREVIEW'), + (e[(e.GOOGLE_GEMINI_COMPUTER_USE_EXPERIMENTAL = 335)] = + 'GOOGLE_GEMINI_COMPUTER_USE_EXPERIMENTAL'), + (e[(e.GOOGLE_GEMINI_RAINSONG = 339)] = 'GOOGLE_GEMINI_RAINSONG'), + (e[(e.GOOGLE_JARVIS_PROXY = 346)] = 'GOOGLE_JARVIS_PROXY'), + (e[(e.GOOGLE_JARVIS_V4S = 349)] = 'GOOGLE_JARVIS_V4S'), + (e[(e.GOOGLE_GEMINI_TRAINING_POLICY = 323)] = + 'GOOGLE_GEMINI_TRAINING_POLICY'), + (e[(e.GOOGLE_GEMINI_INTERNAL_BYOM = 326)] = 'GOOGLE_GEMINI_INTERNAL_BYOM'), + (e[(e.GOOGLE_GEMINI_INTERNAL_TAB_FLASH_LITE = 344)] = + 'GOOGLE_GEMINI_INTERNAL_TAB_FLASH_LITE'), + (e[(e.GOOGLE_GEMINI_INTERNAL_TAB_JUMP_FLASH_LITE = 345)] = + 'GOOGLE_GEMINI_INTERNAL_TAB_JUMP_FLASH_LITE'), + (e[(e.GOOGLE_GEMINI_HORIZONDAWN = 336)] = 'GOOGLE_GEMINI_HORIZONDAWN'), + (e[(e.GOOGLE_GEMINI_PUREPRISM = 337)] = 'GOOGLE_GEMINI_PUREPRISM'), + (e[(e.GOOGLE_GEMINI_GENTLEISLAND = 338)] = 'GOOGLE_GEMINI_GENTLEISLAND'), + (e[(e.GOOGLE_GEMINI_ORIONFIRE = 343)] = 'GOOGLE_GEMINI_ORIONFIRE'), + (e[(e.GOOGLE_GEMINI_COSMICFORGE = 347)] = 'GOOGLE_GEMINI_COSMICFORGE'), + (e[(e.GOOGLE_GEMINI_RIFTRUNNER = 348)] = 'GOOGLE_GEMINI_RIFTRUNNER'), + (e[(e.GOOGLE_GEMINI_RIFTRUNNER_THINKING_LOW = 352)] = + 'GOOGLE_GEMINI_RIFTRUNNER_THINKING_LOW'), + (e[(e.GOOGLE_GEMINI_RIFTRUNNER_THINKING_HIGH = 353)] = + 'GOOGLE_GEMINI_RIFTRUNNER_THINKING_HIGH'), + (e[(e.GOOGLE_GEMINI_INFINITYJET = 350)] = 'GOOGLE_GEMINI_INFINITYJET'), + (e[(e.GOOGLE_GEMINI_INFINITYBLOOM = 351)] = 'GOOGLE_GEMINI_INFINITYBLOOM'), + (e[(e.CLAUDE_4_SONNET = 281)] = 'CLAUDE_4_SONNET'), + (e[(e.CLAUDE_4_SONNET_THINKING = 282)] = 'CLAUDE_4_SONNET_THINKING'), + (e[(e.CLAUDE_4_OPUS = 290)] = 'CLAUDE_4_OPUS'), + (e[(e.CLAUDE_4_OPUS_THINKING = 291)] = 'CLAUDE_4_OPUS_THINKING'), + (e[(e.CLAUDE_4_5_SONNET = 333)] = 'CLAUDE_4_5_SONNET'), + (e[(e.CLAUDE_4_5_SONNET_THINKING = 334)] = 'CLAUDE_4_5_SONNET_THINKING'), + (e[(e.CLAUDE_4_5_HAIKU = 340)] = 'CLAUDE_4_5_HAIKU'), + (e[(e.CLAUDE_4_5_HAIKU_THINKING = 341)] = 'CLAUDE_4_5_HAIKU_THINKING'), + (e[(e.OPENAI_GPT_OSS_120B_MEDIUM = 342)] = 'OPENAI_GPT_OSS_120B_MEDIUM'), + (e[(e.PLACEHOLDER_M0 = 1e3)] = 'PLACEHOLDER_M0'), + (e[(e.PLACEHOLDER_M1 = 1001)] = 'PLACEHOLDER_M1'), + (e[(e.PLACEHOLDER_M2 = 1002)] = 'PLACEHOLDER_M2'), + (e[(e.PLACEHOLDER_M3 = 1003)] = 'PLACEHOLDER_M3'), + (e[(e.PLACEHOLDER_M4 = 1004)] = 'PLACEHOLDER_M4'), + (e[(e.PLACEHOLDER_M5 = 1005)] = 'PLACEHOLDER_M5'), + (e[(e.PLACEHOLDER_M6 = 1006)] = 'PLACEHOLDER_M6'), + (e[(e.PLACEHOLDER_M7 = 1007)] = 'PLACEHOLDER_M7'), + (e[(e.PLACEHOLDER_M8 = 1008)] = 'PLACEHOLDER_M8'), + (e[(e.PLACEHOLDER_M9 = 1009)] = 'PLACEHOLDER_M9'), + (e[(e.PLACEHOLDER_M10 = 1010)] = 'PLACEHOLDER_M10'), + (e[(e.PLACEHOLDER_M11 = 1011)] = 'PLACEHOLDER_M11'), + (e[(e.PLACEHOLDER_M12 = 1012)] = 'PLACEHOLDER_M12'), + (e[(e.PLACEHOLDER_M13 = 1013)] = 'PLACEHOLDER_M13'), + (e[(e.PLACEHOLDER_M14 = 1014)] = 'PLACEHOLDER_M14'), + (e[(e.PLACEHOLDER_M15 = 1015)] = 'PLACEHOLDER_M15'), + (e[(e.PLACEHOLDER_M16 = 1016)] = 'PLACEHOLDER_M16'), + (e[(e.PLACEHOLDER_M17 = 1017)] = 'PLACEHOLDER_M17'), + (e[(e.PLACEHOLDER_M18 = 1018)] = 'PLACEHOLDER_M18'), + (e[(e.PLACEHOLDER_M19 = 1019)] = 'PLACEHOLDER_M19'), + (e[(e.PLACEHOLDER_M20 = 1020)] = 'PLACEHOLDER_M20'), + (e[(e.PLACEHOLDER_M21 = 1021)] = 'PLACEHOLDER_M21'), + (e[(e.PLACEHOLDER_M22 = 1022)] = 'PLACEHOLDER_M22'), + (e[(e.PLACEHOLDER_M23 = 1023)] = 'PLACEHOLDER_M23'), + (e[(e.PLACEHOLDER_M24 = 1024)] = 'PLACEHOLDER_M24'), + (e[(e.PLACEHOLDER_M25 = 1025)] = 'PLACEHOLDER_M25'), + (e[(e.PLACEHOLDER_M26 = 1026)] = 'PLACEHOLDER_M26'), + (e[(e.PLACEHOLDER_M27 = 1027)] = 'PLACEHOLDER_M27'), + (e[(e.PLACEHOLDER_M28 = 1028)] = 'PLACEHOLDER_M28'), + (e[(e.PLACEHOLDER_M29 = 1029)] = 'PLACEHOLDER_M29'), + (e[(e.PLACEHOLDER_M30 = 1030)] = 'PLACEHOLDER_M30'), + (e[(e.PLACEHOLDER_M31 = 1031)] = 'PLACEHOLDER_M31'), + (e[(e.PLACEHOLDER_M32 = 1032)] = 'PLACEHOLDER_M32'), + (e[(e.PLACEHOLDER_M33 = 1033)] = 'PLACEHOLDER_M33'), + (e[(e.PLACEHOLDER_M34 = 1034)] = 'PLACEHOLDER_M34'), + (e[(e.PLACEHOLDER_M35 = 1035)] = 'PLACEHOLDER_M35'), + (e[(e.PLACEHOLDER_M36 = 1036)] = 'PLACEHOLDER_M36'), + (e[(e.PLACEHOLDER_M37 = 1037)] = 'PLACEHOLDER_M37'), + (e[(e.PLACEHOLDER_M38 = 1038)] = 'PLACEHOLDER_M38'), + (e[(e.PLACEHOLDER_M39 = 1039)] = 'PLACEHOLDER_M39'), + (e[(e.PLACEHOLDER_M40 = 1040)] = 'PLACEHOLDER_M40'), + (e[(e.PLACEHOLDER_M41 = 1041)] = 'PLACEHOLDER_M41'), + (e[(e.PLACEHOLDER_M42 = 1042)] = 'PLACEHOLDER_M42'), + (e[(e.PLACEHOLDER_M43 = 1043)] = 'PLACEHOLDER_M43'), + (e[(e.PLACEHOLDER_M44 = 1044)] = 'PLACEHOLDER_M44'), + (e[(e.PLACEHOLDER_M45 = 1045)] = 'PLACEHOLDER_M45'), + (e[(e.PLACEHOLDER_M46 = 1046)] = 'PLACEHOLDER_M46'), + (e[(e.PLACEHOLDER_M47 = 1047)] = 'PLACEHOLDER_M47'), + (e[(e.PLACEHOLDER_M48 = 1048)] = 'PLACEHOLDER_M48'), + (e[(e.PLACEHOLDER_M49 = 1049)] = 'PLACEHOLDER_M49'), + (e[(e.PLACEHOLDER_M50 = 1050)] = 'PLACEHOLDER_M50')); +})(f || (f = {})); +a.util.setEnumType(f, 'exa.codeium_common_pb.Model', [ + { no: 0, name: 'MODEL_UNSPECIFIED' }, + { no: 235, name: 'MODEL_CHAT_20706' }, + { no: 269, name: 'MODEL_CHAT_23310' }, + { no: 312, name: 'MODEL_GOOGLE_GEMINI_2_5_FLASH' }, + { no: 313, name: 'MODEL_GOOGLE_GEMINI_2_5_FLASH_THINKING' }, + { no: 329, name: 'MODEL_GOOGLE_GEMINI_2_5_FLASH_THINKING_TOOLS' }, + { no: 330, name: 'MODEL_GOOGLE_GEMINI_2_5_FLASH_LITE' }, + { no: 246, name: 'MODEL_GOOGLE_GEMINI_2_5_PRO' }, + { no: 331, name: 'MODEL_GOOGLE_GEMINI_2_5_PRO_EVAL' }, + { no: 327, name: 'MODEL_GOOGLE_GEMINI_FOR_GOOGLE_2_5_PRO' }, + { no: 328, name: 'MODEL_GOOGLE_GEMINI_NEMOSREEF' }, + { no: 332, name: 'MODEL_GOOGLE_GEMINI_2_5_FLASH_IMAGE_PREVIEW' }, + { no: 335, name: 'MODEL_GOOGLE_GEMINI_COMPUTER_USE_EXPERIMENTAL' }, + { no: 339, name: 'MODEL_GOOGLE_GEMINI_RAINSONG' }, + { no: 346, name: 'MODEL_GOOGLE_JARVIS_PROXY' }, + { no: 349, name: 'MODEL_GOOGLE_JARVIS_V4S' }, + { no: 323, name: 'MODEL_GOOGLE_GEMINI_TRAINING_POLICY' }, + { no: 326, name: 'MODEL_GOOGLE_GEMINI_INTERNAL_BYOM' }, + { no: 344, name: 'MODEL_GOOGLE_GEMINI_INTERNAL_TAB_FLASH_LITE' }, + { no: 345, name: 'MODEL_GOOGLE_GEMINI_INTERNAL_TAB_JUMP_FLASH_LITE' }, + { no: 336, name: 'MODEL_GOOGLE_GEMINI_HORIZONDAWN' }, + { no: 337, name: 'MODEL_GOOGLE_GEMINI_PUREPRISM' }, + { no: 338, name: 'MODEL_GOOGLE_GEMINI_GENTLEISLAND' }, + { no: 343, name: 'MODEL_GOOGLE_GEMINI_ORIONFIRE' }, + { no: 347, name: 'MODEL_GOOGLE_GEMINI_COSMICFORGE' }, + { no: 348, name: 'MODEL_GOOGLE_GEMINI_RIFTRUNNER' }, + { no: 352, name: 'MODEL_GOOGLE_GEMINI_RIFTRUNNER_THINKING_LOW' }, + { no: 353, name: 'MODEL_GOOGLE_GEMINI_RIFTRUNNER_THINKING_HIGH' }, + { no: 350, name: 'MODEL_GOOGLE_GEMINI_INFINITYJET' }, + { no: 351, name: 'MODEL_GOOGLE_GEMINI_INFINITYBLOOM' }, + { no: 281, name: 'MODEL_CLAUDE_4_SONNET' }, + { no: 282, name: 'MODEL_CLAUDE_4_SONNET_THINKING' }, + { no: 290, name: 'MODEL_CLAUDE_4_OPUS' }, + { no: 291, name: 'MODEL_CLAUDE_4_OPUS_THINKING' }, + { no: 333, name: 'MODEL_CLAUDE_4_5_SONNET' }, + { no: 334, name: 'MODEL_CLAUDE_4_5_SONNET_THINKING' }, + { no: 340, name: 'MODEL_CLAUDE_4_5_HAIKU' }, + { no: 341, name: 'MODEL_CLAUDE_4_5_HAIKU_THINKING' }, + { no: 342, name: 'MODEL_OPENAI_GPT_OSS_120B_MEDIUM' }, + { no: 1e3, name: 'MODEL_PLACEHOLDER_M0' }, + { no: 1001, name: 'MODEL_PLACEHOLDER_M1' }, + { no: 1002, name: 'MODEL_PLACEHOLDER_M2' }, + { no: 1003, name: 'MODEL_PLACEHOLDER_M3' }, + { no: 1004, name: 'MODEL_PLACEHOLDER_M4' }, + { no: 1005, name: 'MODEL_PLACEHOLDER_M5' }, + { no: 1006, name: 'MODEL_PLACEHOLDER_M6' }, + { no: 1007, name: 'MODEL_PLACEHOLDER_M7' }, + { no: 1008, name: 'MODEL_PLACEHOLDER_M8' }, + { no: 1009, name: 'MODEL_PLACEHOLDER_M9' }, + { no: 1010, name: 'MODEL_PLACEHOLDER_M10' }, + { no: 1011, name: 'MODEL_PLACEHOLDER_M11' }, + { no: 1012, name: 'MODEL_PLACEHOLDER_M12' }, + { no: 1013, name: 'MODEL_PLACEHOLDER_M13' }, + { no: 1014, name: 'MODEL_PLACEHOLDER_M14' }, + { no: 1015, name: 'MODEL_PLACEHOLDER_M15' }, + { no: 1016, name: 'MODEL_PLACEHOLDER_M16' }, + { no: 1017, name: 'MODEL_PLACEHOLDER_M17' }, + { no: 1018, name: 'MODEL_PLACEHOLDER_M18' }, + { no: 1019, name: 'MODEL_PLACEHOLDER_M19' }, + { no: 1020, name: 'MODEL_PLACEHOLDER_M20' }, + { no: 1021, name: 'MODEL_PLACEHOLDER_M21' }, + { no: 1022, name: 'MODEL_PLACEHOLDER_M22' }, + { no: 1023, name: 'MODEL_PLACEHOLDER_M23' }, + { no: 1024, name: 'MODEL_PLACEHOLDER_M24' }, + { no: 1025, name: 'MODEL_PLACEHOLDER_M25' }, + { no: 1026, name: 'MODEL_PLACEHOLDER_M26' }, + { no: 1027, name: 'MODEL_PLACEHOLDER_M27' }, + { no: 1028, name: 'MODEL_PLACEHOLDER_M28' }, + { no: 1029, name: 'MODEL_PLACEHOLDER_M29' }, + { no: 1030, name: 'MODEL_PLACEHOLDER_M30' }, + { no: 1031, name: 'MODEL_PLACEHOLDER_M31' }, + { no: 1032, name: 'MODEL_PLACEHOLDER_M32' }, + { no: 1033, name: 'MODEL_PLACEHOLDER_M33' }, + { no: 1034, name: 'MODEL_PLACEHOLDER_M34' }, + { no: 1035, name: 'MODEL_PLACEHOLDER_M35' }, + { no: 1036, name: 'MODEL_PLACEHOLDER_M36' }, + { no: 1037, name: 'MODEL_PLACEHOLDER_M37' }, + { no: 1038, name: 'MODEL_PLACEHOLDER_M38' }, + { no: 1039, name: 'MODEL_PLACEHOLDER_M39' }, + { no: 1040, name: 'MODEL_PLACEHOLDER_M40' }, + { no: 1041, name: 'MODEL_PLACEHOLDER_M41' }, + { no: 1042, name: 'MODEL_PLACEHOLDER_M42' }, + { no: 1043, name: 'MODEL_PLACEHOLDER_M43' }, + { no: 1044, name: 'MODEL_PLACEHOLDER_M44' }, + { no: 1045, name: 'MODEL_PLACEHOLDER_M45' }, + { no: 1046, name: 'MODEL_PLACEHOLDER_M46' }, + { no: 1047, name: 'MODEL_PLACEHOLDER_M47' }, + { no: 1048, name: 'MODEL_PLACEHOLDER_M48' }, + { no: 1049, name: 'MODEL_PLACEHOLDER_M49' }, + { no: 1050, name: 'MODEL_PLACEHOLDER_M50' }, +]); +var he; +(function (e) { + ((e[(e.EXCLUSION_UNSPECIFIED = 0)] = 'EXCLUSION_UNSPECIFIED'), + (e[(e.EXCLUSION_ELEMENT_KIND_DISABLED = 1)] = + 'EXCLUSION_ELEMENT_KIND_DISABLED'), + (e[(e.EXCLUSION_ELEMENT_MISSING_DEPENDENCY = 2)] = + 'EXCLUSION_ELEMENT_MISSING_DEPENDENCY'), + (e[(e.EXCLUSION_TOKEN_BUDGET = 3)] = 'EXCLUSION_TOKEN_BUDGET'), + (e[(e.EXCLUSION_ACTIVE_SOURCE_OVERLAP = 4)] = + 'EXCLUSION_ACTIVE_SOURCE_OVERLAP')); +})(he || (he = {})); +a.util.setEnumType(he, 'exa.codeium_common_pb.PromptElementExclusionReason', [ + { no: 0, name: 'EXCLUSION_UNSPECIFIED' }, + { no: 1, name: 'EXCLUSION_ELEMENT_KIND_DISABLED' }, + { no: 2, name: 'EXCLUSION_ELEMENT_MISSING_DEPENDENCY' }, + { no: 3, name: 'EXCLUSION_TOKEN_BUDGET' }, + { no: 4, name: 'EXCLUSION_ACTIVE_SOURCE_OVERLAP' }, +]); +var F; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.INCOMPLETE = 1)] = 'INCOMPLETE'), + (e[(e.STOP_PATTERN = 2)] = 'STOP_PATTERN'), + (e[(e.MAX_TOKENS = 3)] = 'MAX_TOKENS'), + (e[(e.FUNCTION_CALL = 10)] = 'FUNCTION_CALL'), + (e[(e.CONTENT_FILTER = 11)] = 'CONTENT_FILTER'), + (e[(e.NON_INSERTION = 12)] = 'NON_INSERTION'), + (e[(e.ERROR = 13)] = 'ERROR'), + (e[(e.IMPROPER_FORMAT = 14)] = 'IMPROPER_FORMAT'), + (e[(e.OTHER = 15)] = 'OTHER'), + (e[(e.CLIENT_CANCELED = 16)] = 'CLIENT_CANCELED'), + (e[(e.CLIENT_TOOL_PARSE_ERROR = 17)] = 'CLIENT_TOOL_PARSE_ERROR'), + (e[(e.CLIENT_STREAM_ERROR = 18)] = 'CLIENT_STREAM_ERROR'), + (e[(e.CLIENT_LOOPING = 19)] = 'CLIENT_LOOPING'), + (e[(e.CLIENT_INVALID_MESSAGE_ORDER = 20)] = 'CLIENT_INVALID_MESSAGE_ORDER'), + (e[(e.MIN_LOG_PROB = 4)] = 'MIN_LOG_PROB'), + (e[(e.MAX_NEWLINES = 5)] = 'MAX_NEWLINES'), + (e[(e.EXIT_SCOPE = 6)] = 'EXIT_SCOPE'), + (e[(e.NONFINITE_LOGIT_OR_PROB = 7)] = 'NONFINITE_LOGIT_OR_PROB'), + (e[(e.FIRST_NON_WHITESPACE_LINE = 8)] = 'FIRST_NON_WHITESPACE_LINE'), + (e[(e.PARTIAL = 9)] = 'PARTIAL')); +})(F || (F = {})); +a.util.setEnumType(F, 'exa.codeium_common_pb.StopReason', [ + { no: 0, name: 'STOP_REASON_UNSPECIFIED' }, + { no: 1, name: 'STOP_REASON_INCOMPLETE' }, + { no: 2, name: 'STOP_REASON_STOP_PATTERN' }, + { no: 3, name: 'STOP_REASON_MAX_TOKENS' }, + { no: 10, name: 'STOP_REASON_FUNCTION_CALL' }, + { no: 11, name: 'STOP_REASON_CONTENT_FILTER' }, + { no: 12, name: 'STOP_REASON_NON_INSERTION' }, + { no: 13, name: 'STOP_REASON_ERROR' }, + { no: 14, name: 'STOP_REASON_IMPROPER_FORMAT' }, + { no: 15, name: 'STOP_REASON_OTHER' }, + { no: 16, name: 'STOP_REASON_CLIENT_CANCELED' }, + { no: 17, name: 'STOP_REASON_CLIENT_TOOL_PARSE_ERROR' }, + { no: 18, name: 'STOP_REASON_CLIENT_STREAM_ERROR' }, + { no: 19, name: 'STOP_REASON_CLIENT_LOOPING' }, + { no: 20, name: 'STOP_REASON_CLIENT_INVALID_MESSAGE_ORDER' }, + { no: 4, name: 'STOP_REASON_MIN_LOG_PROB' }, + { no: 5, name: 'STOP_REASON_MAX_NEWLINES' }, + { no: 6, name: 'STOP_REASON_EXIT_SCOPE' }, + { no: 7, name: 'STOP_REASON_NONFINITE_LOGIT_OR_PROB' }, + { no: 8, name: 'STOP_REASON_FIRST_NON_WHITESPACE_LINE' }, + { no: 9, name: 'STOP_REASON_PARTIAL' }, +]); +var Lr; +(function (e) { + ((e[(e.NONE = 0)] = 'NONE'), + (e[(e.INCOMPLETE = 1)] = 'INCOMPLETE'), + (e[(e.EMPTY = 2)] = 'EMPTY'), + (e[(e.REPETITIVE = 3)] = 'REPETITIVE'), + (e[(e.DUPLICATE = 4)] = 'DUPLICATE'), + (e[(e.LONG_LINE = 5)] = 'LONG_LINE'), + (e[(e.COMPLETIONS_CUTOFF = 6)] = 'COMPLETIONS_CUTOFF'), + (e[(e.ATTRIBUTION = 7)] = 'ATTRIBUTION'), + (e[(e.NON_MATCHING = 8)] = 'NON_MATCHING'), + (e[(e.NON_INSERTION = 9)] = 'NON_INSERTION')); +})(Lr || (Lr = {})); +a.util.setEnumType(Lr, 'exa.codeium_common_pb.FilterReason', [ + { no: 0, name: 'FILTER_REASON_NONE' }, + { no: 1, name: 'FILTER_REASON_INCOMPLETE' }, + { no: 2, name: 'FILTER_REASON_EMPTY' }, + { no: 3, name: 'FILTER_REASON_REPETITIVE' }, + { no: 4, name: 'FILTER_REASON_DUPLICATE' }, + { no: 5, name: 'FILTER_REASON_LONG_LINE' }, + { no: 6, name: 'FILTER_REASON_COMPLETIONS_CUTOFF' }, + { no: 7, name: 'FILTER_REASON_ATTRIBUTION' }, + { no: 8, name: 'FILTER_REASON_NON_MATCHING' }, + { no: 9, name: 'FILTER_REASON_NON_INSERTION' }, +]); +var Pr; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.NEW_CODE = 1)] = 'NEW_CODE'), + (e[(e.NO_LICENSE = 2)] = 'NO_LICENSE'), + (e[(e.NONPERMISSIVE = 3)] = 'NONPERMISSIVE'), + (e[(e.PERMISSIVE = 4)] = 'PERMISSIVE'), + (e[(e.PERMISSIVE_BLOCKED = 5)] = 'PERMISSIVE_BLOCKED')); +})(Pr || (Pr = {})); +a.util.setEnumType(Pr, 'exa.codeium_common_pb.AttributionStatus', [ + { no: 0, name: 'ATTRIBUTION_STATUS_UNSPECIFIED' }, + { no: 1, name: 'ATTRIBUTION_STATUS_NEW_CODE' }, + { no: 2, name: 'ATTRIBUTION_STATUS_NO_LICENSE' }, + { no: 3, name: 'ATTRIBUTION_STATUS_NONPERMISSIVE' }, + { no: 4, name: 'ATTRIBUTION_STATUS_PERMISSIVE' }, + { no: 5, name: 'ATTRIBUTION_STATUS_PERMISSIVE_BLOCKED' }, +]); +var Ge; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.HIGH = 1)] = 'HIGH'), + (e[(e.LOW = 2)] = 'LOW')); +})(Ge || (Ge = {})); +a.util.setEnumType(Ge, 'exa.codeium_common_pb.EmbeddingPriority', [ + { no: 0, name: 'EMBEDDING_PRIORITY_UNSPECIFIED' }, + { no: 1, name: 'EMBEDDING_PRIORITY_HIGH' }, + { no: 2, name: 'EMBEDDING_PRIORITY_LOW' }, +]); +var be; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.NOMIC_DOCUMENT = 1)] = 'NOMIC_DOCUMENT'), + (e[(e.NOMIC_SEARCH = 2)] = 'NOMIC_SEARCH'), + (e[(e.NOMIC_CLASSIFICATION = 3)] = 'NOMIC_CLASSIFICATION'), + (e[(e.NOMIC_CLUSTERING = 4)] = 'NOMIC_CLUSTERING')); +})(be || (be = {})); +a.util.setEnumType(be, 'exa.codeium_common_pb.EmbeddingPrefix', [ + { no: 0, name: 'EMBEDDING_PREFIX_UNSPECIFIED' }, + { no: 1, name: 'EMBEDDING_PREFIX_NOMIC_DOCUMENT' }, + { no: 2, name: 'EMBEDDING_PREFIX_NOMIC_SEARCH' }, + { no: 3, name: 'EMBEDDING_PREFIX_NOMIC_CLASSIFICATION' }, + { no: 4, name: 'EMBEDDING_PREFIX_NOMIC_CLUSTERING' }, +]); +var qe; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CODE_CONTEXT_ITEM = 1)] = 'CODE_CONTEXT_ITEM'), + (e[(e.COMMIT_INTENT = 2)] = 'COMMIT_INTENT')); +})(qe || (qe = {})); +a.util.setEnumType(qe, 'exa.codeium_common_pb.EmbeddingSource', [ + { no: 0, name: 'EMBEDDING_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'EMBEDDING_SOURCE_CODE_CONTEXT_ITEM' }, + { no: 2, name: 'EMBEDDING_SOURCE_COMMIT_INTENT' }, +]); +var He; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLE_CODEIUM = 1)] = 'ENABLE_CODEIUM'), + (e[(e.DISABLE_CODEIUM = 2)] = 'DISABLE_CODEIUM'), + (e[(e.SHOW_PREVIOUS_COMPLETION = 3)] = 'SHOW_PREVIOUS_COMPLETION'), + (e[(e.SHOW_NEXT_COMPLETION = 4)] = 'SHOW_NEXT_COMPLETION'), + (e[(e.COPILOT_STATUS = 5)] = 'COPILOT_STATUS'), + (e[(e.COMPLETION_SUPPRESSED = 6)] = 'COMPLETION_SUPPRESSED'), + (e[(e.MEMORY_STATS = 8)] = 'MEMORY_STATS'), + (e[(e.LOCAL_CONTEXT_RELEVANCE_CHECK = 9)] = + 'LOCAL_CONTEXT_RELEVANCE_CHECK'), + (e[(e.ACTIVE_EDITOR_CHANGED = 10)] = 'ACTIVE_EDITOR_CHANGED'), + (e[(e.SHOW_PREVIOUS_CORTEX_STEP = 11)] = 'SHOW_PREVIOUS_CORTEX_STEP'), + (e[(e.SHOW_NEXT_CORTEX_STEP = 12)] = 'SHOW_NEXT_CORTEX_STEP'), + (e[(e.INDEXER_STATS = 13)] = 'INDEXER_STATS')); +})(He || (He = {})); +a.util.setEnumType(He, 'exa.codeium_common_pb.EventType', [ + { no: 0, name: 'EVENT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'EVENT_TYPE_ENABLE_CODEIUM' }, + { no: 2, name: 'EVENT_TYPE_DISABLE_CODEIUM' }, + { no: 3, name: 'EVENT_TYPE_SHOW_PREVIOUS_COMPLETION' }, + { no: 4, name: 'EVENT_TYPE_SHOW_NEXT_COMPLETION' }, + { no: 5, name: 'EVENT_TYPE_COPILOT_STATUS' }, + { no: 6, name: 'EVENT_TYPE_COMPLETION_SUPPRESSED' }, + { no: 8, name: 'EVENT_TYPE_MEMORY_STATS' }, + { no: 9, name: 'EVENT_TYPE_LOCAL_CONTEXT_RELEVANCE_CHECK' }, + { no: 10, name: 'EVENT_TYPE_ACTIVE_EDITOR_CHANGED' }, + { no: 11, name: 'EVENT_TYPE_SHOW_PREVIOUS_CORTEX_STEP' }, + { no: 12, name: 'EVENT_TYPE_SHOW_NEXT_CORTEX_STEP' }, + { no: 13, name: 'EVENT_TYPE_INDEXER_STATS' }, +]); +var Ye; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CLUSTER = 1)] = 'CLUSTER'), + (e[(e.EXACT = 2)] = 'EXACT')); +})(Ye || (Ye = {})); +a.util.setEnumType(Ye, 'exa.codeium_common_pb.SearchResultType', [ + { no: 0, name: 'SEARCH_RESULT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'SEARCH_RESULT_TYPE_CLUSTER' }, + { no: 2, name: 'SEARCH_RESULT_TYPE_EXACT' }, +]); +var We; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.RAW_SOURCE = 1)] = 'RAW_SOURCE'), + (e[(e.DOCSTRING = 2)] = 'DOCSTRING'), + (e[(e.FUNCTION = 3)] = 'FUNCTION'), + (e[(e.NODEPATH = 4)] = 'NODEPATH'), + (e[(e.DECLARATION = 5)] = 'DECLARATION'), + (e[(e.NAIVE_CHUNK = 6)] = 'NAIVE_CHUNK'), + (e[(e.SIGNATURE = 7)] = 'SIGNATURE')); +})(We || (We = {})); +a.util.setEnumType(We, 'exa.codeium_common_pb.EmbedType', [ + { no: 0, name: 'EMBED_TYPE_UNSPECIFIED' }, + { no: 1, name: 'EMBED_TYPE_RAW_SOURCE' }, + { no: 2, name: 'EMBED_TYPE_DOCSTRING' }, + { no: 3, name: 'EMBED_TYPE_FUNCTION' }, + { no: 4, name: 'EMBED_TYPE_NODEPATH' }, + { no: 5, name: 'EMBED_TYPE_DECLARATION' }, + { no: 6, name: 'EMBED_TYPE_NAIVE_CHUNK' }, + { no: 7, name: 'EMBED_TYPE_SIGNATURE' }, +]); +var Em; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.TYPING_AS_SUGGESTED = 1)] = 'TYPING_AS_SUGGESTED'), + (e[(e.CACHE = 2)] = 'CACHE'), + (e[(e.NETWORK = 3)] = 'NETWORK')); +})(Em || (Em = {})); +a.util.setEnumType(Em, 'exa.codeium_common_pb.CompletionSource', [ + { no: 0, name: 'COMPLETION_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'COMPLETION_SOURCE_TYPING_AS_SUGGESTED' }, + { no: 2, name: 'COMPLETION_SOURCE_CACHE' }, + { no: 3, name: 'COMPLETION_SOURCE_NETWORK' }, +]); +var _m; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.SINGLE = 1)] = 'SINGLE'), + (e[(e.MULTI = 2)] = 'MULTI'), + (e[(e.INLINE_FIM = 3)] = 'INLINE_FIM'), + (e[(e.CASCADE = 4)] = 'CASCADE')); +})(_m || (_m = {})); +a.util.setEnumType(_m, 'exa.codeium_common_pb.CompletionType', [ + { no: 0, name: 'COMPLETION_TYPE_UNSPECIFIED' }, + { no: 1, name: 'COMPLETION_TYPE_SINGLE' }, + { no: 2, name: 'COMPLETION_TYPE_MULTI' }, + { no: 3, name: 'COMPLETION_TYPE_INLINE_FIM' }, + { no: 4, name: 'COMPLETION_TYPE_CASCADE' }, +]); +var O; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.C = 1)] = 'C'), + (e[(e.CLOJURE = 2)] = 'CLOJURE'), + (e[(e.COFFEESCRIPT = 3)] = 'COFFEESCRIPT'), + (e[(e.CPP = 4)] = 'CPP'), + (e[(e.CSHARP = 5)] = 'CSHARP'), + (e[(e.CSS = 6)] = 'CSS'), + (e[(e.CUDACPP = 7)] = 'CUDACPP'), + (e[(e.DOCKERFILE = 8)] = 'DOCKERFILE'), + (e[(e.GO = 9)] = 'GO'), + (e[(e.GROOVY = 10)] = 'GROOVY'), + (e[(e.HANDLEBARS = 11)] = 'HANDLEBARS'), + (e[(e.HASKELL = 12)] = 'HASKELL'), + (e[(e.HCL = 13)] = 'HCL'), + (e[(e.HTML = 14)] = 'HTML'), + (e[(e.INI = 15)] = 'INI'), + (e[(e.JAVA = 16)] = 'JAVA'), + (e[(e.JAVASCRIPT = 17)] = 'JAVASCRIPT'), + (e[(e.JSON = 18)] = 'JSON'), + (e[(e.JULIA = 19)] = 'JULIA'), + (e[(e.KOTLIN = 20)] = 'KOTLIN'), + (e[(e.LATEX = 21)] = 'LATEX'), + (e[(e.LESS = 22)] = 'LESS'), + (e[(e.LUA = 23)] = 'LUA'), + (e[(e.MAKEFILE = 24)] = 'MAKEFILE'), + (e[(e.MARKDOWN = 25)] = 'MARKDOWN'), + (e[(e.OBJECTIVEC = 26)] = 'OBJECTIVEC'), + (e[(e.OBJECTIVECPP = 27)] = 'OBJECTIVECPP'), + (e[(e.PERL = 28)] = 'PERL'), + (e[(e.PHP = 29)] = 'PHP'), + (e[(e.PLAINTEXT = 30)] = 'PLAINTEXT'), + (e[(e.PROTOBUF = 31)] = 'PROTOBUF'), + (e[(e.PBTXT = 32)] = 'PBTXT'), + (e[(e.PYTHON = 33)] = 'PYTHON'), + (e[(e.R = 34)] = 'R'), + (e[(e.RUBY = 35)] = 'RUBY'), + (e[(e.RUST = 36)] = 'RUST'), + (e[(e.SASS = 37)] = 'SASS'), + (e[(e.SCALA = 38)] = 'SCALA'), + (e[(e.SCSS = 39)] = 'SCSS'), + (e[(e.SHELL = 40)] = 'SHELL'), + (e[(e.SQL = 41)] = 'SQL'), + (e[(e.STARLARK = 42)] = 'STARLARK'), + (e[(e.SWIFT = 43)] = 'SWIFT'), + (e[(e.TSX = 44)] = 'TSX'), + (e[(e.TYPESCRIPT = 45)] = 'TYPESCRIPT'), + (e[(e.VISUALBASIC = 46)] = 'VISUALBASIC'), + (e[(e.VUE = 47)] = 'VUE'), + (e[(e.XML = 48)] = 'XML'), + (e[(e.XSL = 49)] = 'XSL'), + (e[(e.YAML = 50)] = 'YAML'), + (e[(e.SVELTE = 51)] = 'SVELTE'), + (e[(e.TOML = 52)] = 'TOML'), + (e[(e.DART = 53)] = 'DART'), + (e[(e.RST = 54)] = 'RST'), + (e[(e.OCAML = 55)] = 'OCAML'), + (e[(e.CMAKE = 56)] = 'CMAKE'), + (e[(e.PASCAL = 57)] = 'PASCAL'), + (e[(e.ELIXIR = 58)] = 'ELIXIR'), + (e[(e.FSHARP = 59)] = 'FSHARP'), + (e[(e.LISP = 60)] = 'LISP'), + (e[(e.MATLAB = 61)] = 'MATLAB'), + (e[(e.POWERSHELL = 62)] = 'POWERSHELL'), + (e[(e.SOLIDITY = 63)] = 'SOLIDITY'), + (e[(e.ADA = 64)] = 'ADA'), + (e[(e.OCAML_INTERFACE = 65)] = 'OCAML_INTERFACE'), + (e[(e.TREE_SITTER_QUERY = 66)] = 'TREE_SITTER_QUERY'), + (e[(e.APL = 67)] = 'APL'), + (e[(e.ASSEMBLY = 68)] = 'ASSEMBLY'), + (e[(e.COBOL = 69)] = 'COBOL'), + (e[(e.CRYSTAL = 70)] = 'CRYSTAL'), + (e[(e.EMACS_LISP = 71)] = 'EMACS_LISP'), + (e[(e.ERLANG = 72)] = 'ERLANG'), + (e[(e.FORTRAN = 73)] = 'FORTRAN'), + (e[(e.FREEFORM = 74)] = 'FREEFORM'), + (e[(e.GRADLE = 75)] = 'GRADLE'), + (e[(e.HACK = 76)] = 'HACK'), + (e[(e.MAVEN = 77)] = 'MAVEN'), + (e[(e.M68KASSEMBLY = 78)] = 'M68KASSEMBLY'), + (e[(e.SAS = 79)] = 'SAS'), + (e[(e.UNIXASSEMBLY = 80)] = 'UNIXASSEMBLY'), + (e[(e.VBA = 81)] = 'VBA'), + (e[(e.VIMSCRIPT = 82)] = 'VIMSCRIPT'), + (e[(e.WEBASSEMBLY = 83)] = 'WEBASSEMBLY'), + (e[(e.BLADE = 84)] = 'BLADE'), + (e[(e.ASTRO = 85)] = 'ASTRO'), + (e[(e.MUMPS = 86)] = 'MUMPS'), + (e[(e.GDSCRIPT = 87)] = 'GDSCRIPT'), + (e[(e.NIM = 88)] = 'NIM'), + (e[(e.PROLOG = 89)] = 'PROLOG'), + (e[(e.MARKDOWN_INLINE = 90)] = 'MARKDOWN_INLINE'), + (e[(e.APEX = 91)] = 'APEX')); +})(O || (O = {})); +a.util.setEnumType(O, 'exa.codeium_common_pb.Language', [ + { no: 0, name: 'LANGUAGE_UNSPECIFIED' }, + { no: 1, name: 'LANGUAGE_C' }, + { no: 2, name: 'LANGUAGE_CLOJURE' }, + { no: 3, name: 'LANGUAGE_COFFEESCRIPT' }, + { no: 4, name: 'LANGUAGE_CPP' }, + { no: 5, name: 'LANGUAGE_CSHARP' }, + { no: 6, name: 'LANGUAGE_CSS' }, + { no: 7, name: 'LANGUAGE_CUDACPP' }, + { no: 8, name: 'LANGUAGE_DOCKERFILE' }, + { no: 9, name: 'LANGUAGE_GO' }, + { no: 10, name: 'LANGUAGE_GROOVY' }, + { no: 11, name: 'LANGUAGE_HANDLEBARS' }, + { no: 12, name: 'LANGUAGE_HASKELL' }, + { no: 13, name: 'LANGUAGE_HCL' }, + { no: 14, name: 'LANGUAGE_HTML' }, + { no: 15, name: 'LANGUAGE_INI' }, + { no: 16, name: 'LANGUAGE_JAVA' }, + { no: 17, name: 'LANGUAGE_JAVASCRIPT' }, + { no: 18, name: 'LANGUAGE_JSON' }, + { no: 19, name: 'LANGUAGE_JULIA' }, + { no: 20, name: 'LANGUAGE_KOTLIN' }, + { no: 21, name: 'LANGUAGE_LATEX' }, + { no: 22, name: 'LANGUAGE_LESS' }, + { no: 23, name: 'LANGUAGE_LUA' }, + { no: 24, name: 'LANGUAGE_MAKEFILE' }, + { no: 25, name: 'LANGUAGE_MARKDOWN' }, + { no: 26, name: 'LANGUAGE_OBJECTIVEC' }, + { no: 27, name: 'LANGUAGE_OBJECTIVECPP' }, + { no: 28, name: 'LANGUAGE_PERL' }, + { no: 29, name: 'LANGUAGE_PHP' }, + { no: 30, name: 'LANGUAGE_PLAINTEXT' }, + { no: 31, name: 'LANGUAGE_PROTOBUF' }, + { no: 32, name: 'LANGUAGE_PBTXT' }, + { no: 33, name: 'LANGUAGE_PYTHON' }, + { no: 34, name: 'LANGUAGE_R' }, + { no: 35, name: 'LANGUAGE_RUBY' }, + { no: 36, name: 'LANGUAGE_RUST' }, + { no: 37, name: 'LANGUAGE_SASS' }, + { no: 38, name: 'LANGUAGE_SCALA' }, + { no: 39, name: 'LANGUAGE_SCSS' }, + { no: 40, name: 'LANGUAGE_SHELL' }, + { no: 41, name: 'LANGUAGE_SQL' }, + { no: 42, name: 'LANGUAGE_STARLARK' }, + { no: 43, name: 'LANGUAGE_SWIFT' }, + { no: 44, name: 'LANGUAGE_TSX' }, + { no: 45, name: 'LANGUAGE_TYPESCRIPT' }, + { no: 46, name: 'LANGUAGE_VISUALBASIC' }, + { no: 47, name: 'LANGUAGE_VUE' }, + { no: 48, name: 'LANGUAGE_XML' }, + { no: 49, name: 'LANGUAGE_XSL' }, + { no: 50, name: 'LANGUAGE_YAML' }, + { no: 51, name: 'LANGUAGE_SVELTE' }, + { no: 52, name: 'LANGUAGE_TOML' }, + { no: 53, name: 'LANGUAGE_DART' }, + { no: 54, name: 'LANGUAGE_RST' }, + { no: 55, name: 'LANGUAGE_OCAML' }, + { no: 56, name: 'LANGUAGE_CMAKE' }, + { no: 57, name: 'LANGUAGE_PASCAL' }, + { no: 58, name: 'LANGUAGE_ELIXIR' }, + { no: 59, name: 'LANGUAGE_FSHARP' }, + { no: 60, name: 'LANGUAGE_LISP' }, + { no: 61, name: 'LANGUAGE_MATLAB' }, + { no: 62, name: 'LANGUAGE_POWERSHELL' }, + { no: 63, name: 'LANGUAGE_SOLIDITY' }, + { no: 64, name: 'LANGUAGE_ADA' }, + { no: 65, name: 'LANGUAGE_OCAML_INTERFACE' }, + { no: 66, name: 'LANGUAGE_TREE_SITTER_QUERY' }, + { no: 67, name: 'LANGUAGE_APL' }, + { no: 68, name: 'LANGUAGE_ASSEMBLY' }, + { no: 69, name: 'LANGUAGE_COBOL' }, + { no: 70, name: 'LANGUAGE_CRYSTAL' }, + { no: 71, name: 'LANGUAGE_EMACS_LISP' }, + { no: 72, name: 'LANGUAGE_ERLANG' }, + { no: 73, name: 'LANGUAGE_FORTRAN' }, + { no: 74, name: 'LANGUAGE_FREEFORM' }, + { no: 75, name: 'LANGUAGE_GRADLE' }, + { no: 76, name: 'LANGUAGE_HACK' }, + { no: 77, name: 'LANGUAGE_MAVEN' }, + { no: 78, name: 'LANGUAGE_M68KASSEMBLY' }, + { no: 79, name: 'LANGUAGE_SAS' }, + { no: 80, name: 'LANGUAGE_UNIXASSEMBLY' }, + { no: 81, name: 'LANGUAGE_VBA' }, + { no: 82, name: 'LANGUAGE_VIMSCRIPT' }, + { no: 83, name: 'LANGUAGE_WEBASSEMBLY' }, + { no: 84, name: 'LANGUAGE_BLADE' }, + { no: 85, name: 'LANGUAGE_ASTRO' }, + { no: 86, name: 'LANGUAGE_MUMPS' }, + { no: 87, name: 'LANGUAGE_GDSCRIPT' }, + { no: 88, name: 'LANGUAGE_NIM' }, + { no: 89, name: 'LANGUAGE_PROLOG' }, + { no: 90, name: 'LANGUAGE_MARKDOWN_INLINE' }, + { no: 91, name: 'LANGUAGE_APEX' }, +]); +var Y; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.USER = 1)] = 'USER'), + (e[(e.SYSTEM = 2)] = 'SYSTEM'), + (e[(e.UNKNOWN = 3)] = 'UNKNOWN'), + (e[(e.TOOL = 4)] = 'TOOL'), + (e[(e.SYSTEM_PROMPT = 5)] = 'SYSTEM_PROMPT')); +})(Y || (Y = {})); +a.util.setEnumType(Y, 'exa.codeium_common_pb.ChatMessageSource', [ + { no: 0, name: 'CHAT_MESSAGE_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'CHAT_MESSAGE_SOURCE_USER' }, + { no: 2, name: 'CHAT_MESSAGE_SOURCE_SYSTEM' }, + { no: 3, name: 'CHAT_MESSAGE_SOURCE_UNKNOWN' }, + { no: 4, name: 'CHAT_MESSAGE_SOURCE_TOOL' }, + { no: 5, name: 'CHAT_MESSAGE_SOURCE_SYSTEM_PROMPT' }, +]); +var Ve; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.PENDING = 1)] = 'PENDING'), + (e[(e.APPROVED = 2)] = 'APPROVED'), + (e[(e.REJECTED = 3)] = 'REJECTED')); +})(Ve || (Ve = {})); +a.util.setEnumType(Ve, 'exa.codeium_common_pb.UserTeamStatus', [ + { no: 0, name: 'USER_TEAM_STATUS_UNSPECIFIED' }, + { no: 1, name: 'USER_TEAM_STATUS_PENDING' }, + { no: 2, name: 'USER_TEAM_STATUS_APPROVED' }, + { no: 3, name: 'USER_TEAM_STATUS_REJECTED' }, +]); +var Dr; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.SSO = 1)] = 'SSO'), + (e[(e.ATTRIBUTION = 2)] = 'ATTRIBUTION'), + (e[(e.PHI = 3)] = 'PHI'), + (e[(e.CORTEX = 4)] = 'CORTEX'), + (e[(e.OPENAI_DISABLED = 5)] = 'OPENAI_DISABLED'), + (e[(e.REMOTE_INDEXING_DISABLED = 6)] = 'REMOTE_INDEXING_DISABLED'), + (e[(e.API_KEY_ENABLED = 7)] = 'API_KEY_ENABLED')); +})(Dr || (Dr = {})); +a.util.setEnumType(Dr, 'exa.codeium_common_pb.TeamsFeatures', [ + { no: 0, name: 'TEAMS_FEATURES_UNSPECIFIED' }, + { no: 1, name: 'TEAMS_FEATURES_SSO' }, + { no: 2, name: 'TEAMS_FEATURES_ATTRIBUTION' }, + { no: 3, name: 'TEAMS_FEATURES_PHI' }, + { no: 4, name: 'TEAMS_FEATURES_CORTEX' }, + { no: 5, name: 'TEAMS_FEATURES_OPENAI_DISABLED' }, + { no: 6, name: 'TEAMS_FEATURES_REMOTE_INDEXING_DISABLED' }, + { no: 7, name: 'TEAMS_FEATURES_API_KEY_ENABLED' }, +]); +var kr; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CORTEX = 1)] = 'CORTEX'), + (e[(e.CORTEX_TEST = 2)] = 'CORTEX_TEST')); +})(kr || (kr = {})); +a.util.setEnumType(kr, 'exa.codeium_common_pb.UserFeatures', [ + { no: 0, name: 'USER_FEATURES_UNSPECIFIED' }, + { no: 1, name: 'USER_FEATURES_CORTEX' }, + { no: 2, name: 'USER_FEATURES_CORTEX_TEST' }, +]); +var gr; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ATTRIBUTION_READ = 1)] = 'ATTRIBUTION_READ'), + (e[(e.ANALYTICS_READ = 2)] = 'ANALYTICS_READ'), + (e[(e.LICENSE_READ = 3)] = 'LICENSE_READ'), + (e[(e.TEAM_USER_READ = 4)] = 'TEAM_USER_READ'), + (e[(e.TEAM_USER_UPDATE = 5)] = 'TEAM_USER_UPDATE'), + (e[(e.TEAM_USER_DELETE = 6)] = 'TEAM_USER_DELETE'), + (e[(e.TEAM_USER_INVITE = 17)] = 'TEAM_USER_INVITE'), + (e[(e.INDEXING_READ = 7)] = 'INDEXING_READ'), + (e[(e.INDEXING_CREATE = 8)] = 'INDEXING_CREATE'), + (e[(e.INDEXING_UPDATE = 9)] = 'INDEXING_UPDATE'), + (e[(e.INDEXING_DELETE = 10)] = 'INDEXING_DELETE'), + (e[(e.INDEXING_MANAGEMENT = 27)] = 'INDEXING_MANAGEMENT'), + (e[(e.FINETUNING_READ = 19)] = 'FINETUNING_READ'), + (e[(e.FINETUNING_CREATE = 20)] = 'FINETUNING_CREATE'), + (e[(e.FINETUNING_UPDATE = 21)] = 'FINETUNING_UPDATE'), + (e[(e.FINETUNING_DELETE = 22)] = 'FINETUNING_DELETE'), + (e[(e.SSO_READ = 11)] = 'SSO_READ'), + (e[(e.SSO_WRITE = 12)] = 'SSO_WRITE'), + (e[(e.SERVICE_KEY_READ = 13)] = 'SERVICE_KEY_READ'), + (e[(e.SERVICE_KEY_CREATE = 14)] = 'SERVICE_KEY_CREATE'), + (e[(e.SERVICE_KEY_UPDATE = 28)] = 'SERVICE_KEY_UPDATE'), + (e[(e.SERVICE_KEY_DELETE = 15)] = 'SERVICE_KEY_DELETE'), + (e[(e.ROLE_READ = 23)] = 'ROLE_READ'), + (e[(e.ROLE_CREATE = 24)] = 'ROLE_CREATE'), + (e[(e.ROLE_UPDATE = 25)] = 'ROLE_UPDATE'), + (e[(e.ROLE_DELETE = 26)] = 'ROLE_DELETE'), + (e[(e.BILLING_READ = 16)] = 'BILLING_READ'), + (e[(e.BILLING_WRITE = 18)] = 'BILLING_WRITE'), + (e[(e.EXTERNAL_CHAT_UPDATE = 29)] = 'EXTERNAL_CHAT_UPDATE'), + (e[(e.TEAM_SETTINGS_READ = 30)] = 'TEAM_SETTINGS_READ'), + (e[(e.TEAM_SETTINGS_UPDATE = 31)] = 'TEAM_SETTINGS_UPDATE')); +})(gr || (gr = {})); +a.util.setEnumType(gr, 'exa.codeium_common_pb.Permission', [ + { no: 0, name: 'PERMISSION_UNSPECIFIED' }, + { no: 1, name: 'PERMISSION_ATTRIBUTION_READ' }, + { no: 2, name: 'PERMISSION_ANALYTICS_READ' }, + { no: 3, name: 'PERMISSION_LICENSE_READ' }, + { no: 4, name: 'PERMISSION_TEAM_USER_READ' }, + { no: 5, name: 'PERMISSION_TEAM_USER_UPDATE' }, + { no: 6, name: 'PERMISSION_TEAM_USER_DELETE' }, + { no: 17, name: 'PERMISSION_TEAM_USER_INVITE' }, + { no: 7, name: 'PERMISSION_INDEXING_READ' }, + { no: 8, name: 'PERMISSION_INDEXING_CREATE' }, + { no: 9, name: 'PERMISSION_INDEXING_UPDATE' }, + { no: 10, name: 'PERMISSION_INDEXING_DELETE' }, + { no: 27, name: 'PERMISSION_INDEXING_MANAGEMENT' }, + { no: 19, name: 'PERMISSION_FINETUNING_READ' }, + { no: 20, name: 'PERMISSION_FINETUNING_CREATE' }, + { no: 21, name: 'PERMISSION_FINETUNING_UPDATE' }, + { no: 22, name: 'PERMISSION_FINETUNING_DELETE' }, + { no: 11, name: 'PERMISSION_SSO_READ' }, + { no: 12, name: 'PERMISSION_SSO_WRITE' }, + { no: 13, name: 'PERMISSION_SERVICE_KEY_READ' }, + { no: 14, name: 'PERMISSION_SERVICE_KEY_CREATE' }, + { no: 28, name: 'PERMISSION_SERVICE_KEY_UPDATE' }, + { no: 15, name: 'PERMISSION_SERVICE_KEY_DELETE' }, + { no: 23, name: 'PERMISSION_ROLE_READ' }, + { no: 24, name: 'PERMISSION_ROLE_CREATE' }, + { no: 25, name: 'PERMISSION_ROLE_UPDATE' }, + { no: 26, name: 'PERMISSION_ROLE_DELETE' }, + { no: 16, name: 'PERMISSION_BILLING_READ' }, + { no: 18, name: 'PERMISSION_BILLING_WRITE' }, + { no: 29, name: 'PERMISSION_EXTERNAL_CHAT_UPDATE' }, + { no: 30, name: 'PERMISSION_TEAM_SETTINGS_READ' }, + { no: 31, name: 'PERMISSION_TEAM_SETTINGS_UPDATE' }, +]); +var Kn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.TEAMS = 1)] = 'TEAMS'), + (e[(e.PRO = 2)] = 'PRO'), + (e[(e.TRIAL = 9)] = 'TRIAL'), + (e[(e.ENTERPRISE_SAAS = 3)] = 'ENTERPRISE_SAAS'), + (e[(e.HYBRID = 4)] = 'HYBRID'), + (e[(e.ENTERPRISE_SELF_HOSTED = 5)] = 'ENTERPRISE_SELF_HOSTED'), + (e[(e.ENTERPRISE_SELF_SERVE = 10)] = 'ENTERPRISE_SELF_SERVE'), + (e[(e.WAITLIST_PRO = 6)] = 'WAITLIST_PRO'), + (e[(e.TEAMS_ULTIMATE = 7)] = 'TEAMS_ULTIMATE'), + (e[(e.PRO_ULTIMATE = 8)] = 'PRO_ULTIMATE')); +})(Kn || (Kn = {})); +a.util.setEnumType(Kn, 'exa.codeium_common_pb.TeamsTier', [ + { no: 0, name: 'TEAMS_TIER_UNSPECIFIED' }, + { no: 1, name: 'TEAMS_TIER_TEAMS' }, + { no: 2, name: 'TEAMS_TIER_PRO' }, + { no: 9, name: 'TEAMS_TIER_TRIAL' }, + { no: 3, name: 'TEAMS_TIER_ENTERPRISE_SAAS' }, + { no: 4, name: 'TEAMS_TIER_HYBRID' }, + { no: 5, name: 'TEAMS_TIER_ENTERPRISE_SELF_HOSTED' }, + { no: 10, name: 'TEAMS_TIER_ENTERPRISE_SELF_SERVE' }, + { no: 6, name: 'TEAMS_TIER_WAITLIST_PRO' }, + { no: 7, name: 'TEAMS_TIER_TEAMS_ULTIMATE' }, + { no: 8, name: 'TEAMS_TIER_PRO_ULTIMATE' }, +]); +var Xe; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ANTIGRAVITY = 1)] = 'ANTIGRAVITY'), + (e[(e.OPENAI = 2)] = 'OPENAI'), + (e[(e.ANTHROPIC = 3)] = 'ANTHROPIC'), + (e[(e.GOOGLE = 4)] = 'GOOGLE'), + (e[(e.XAI = 5)] = 'XAI'), + (e[(e.DEEPSEEK = 6)] = 'DEEPSEEK')); +})(Xe || (Xe = {})); +a.util.setEnumType(Xe, 'exa.codeium_common_pb.ModelProvider', [ + { no: 0, name: 'MODEL_PROVIDER_UNSPECIFIED' }, + { no: 1, name: 'MODEL_PROVIDER_ANTIGRAVITY' }, + { no: 2, name: 'MODEL_PROVIDER_OPENAI' }, + { no: 3, name: 'MODEL_PROVIDER_ANTHROPIC' }, + { no: 4, name: 'MODEL_PROVIDER_GOOGLE' }, + { no: 5, name: 'MODEL_PROVIDER_XAI' }, + { no: 6, name: 'MODEL_PROVIDER_DEEPSEEK' }, +]); +var Ke; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.STATIC_CREDIT = 1)] = 'STATIC_CREDIT'), + (e[(e.API = 2)] = 'API'), + (e[(e.BYOK = 3)] = 'BYOK')); +})(Ke || (Ke = {})); +a.util.setEnumType(Ke, 'exa.codeium_common_pb.ModelPricingType', [ + { no: 0, name: 'MODEL_PRICING_TYPE_UNSPECIFIED' }, + { no: 1, name: 'MODEL_PRICING_TYPE_STATIC_CREDIT' }, + { no: 2, name: 'MODEL_PRICING_TYPE_API' }, + { no: 3, name: 'MODEL_PRICING_TYPE_BYOK' }, +]); +var ve; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.SUCCEEDED = 1)] = 'SUCCEEDED'), + (e[(e.PROCESSING = 2)] = 'PROCESSING'), + (e[(e.FAILED = 3)] = 'FAILED'), + (e[(e.NO_ACTIVE = 4)] = 'NO_ACTIVE')); +})(ve || (ve = {})); +a.util.setEnumType(ve, 'exa.codeium_common_pb.TransactionStatus', [ + { no: 0, name: 'TRANSACTION_STATUS_UNSPECIFIED' }, + { no: 1, name: 'TRANSACTION_STATUS_SUCCEEDED' }, + { no: 2, name: 'TRANSACTION_STATUS_PROCESSING' }, + { no: 3, name: 'TRANSACTION_STATUS_FAILED' }, + { no: 4, name: 'TRANSACTION_STATUS_NO_ACTIVE' }, +]); +var mn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.GITHUB = 1)] = 'GITHUB'), + (e[(e.GITLAB = 2)] = 'GITLAB'), + (e[(e.BITBUCKET = 3)] = 'BITBUCKET'), + (e[(e.AZURE_DEVOPS = 4)] = 'AZURE_DEVOPS')); +})(mn || (mn = {})); +a.util.setEnumType(mn, 'exa.codeium_common_pb.ScmProvider', [ + { no: 0, name: 'SCM_PROVIDER_UNSPECIFIED' }, + { no: 1, name: 'SCM_PROVIDER_GITHUB' }, + { no: 2, name: 'SCM_PROVIDER_GITLAB' }, + { no: 3, name: 'SCM_PROVIDER_BITBUCKET' }, + { no: 4, name: 'SCM_PROVIDER_AZURE_DEVOPS' }, +]); +var dm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.GIT = 1)] = 'GIT'), + (e[(e.PERFORCE = 2)] = 'PERFORCE')); +})(dm || (dm = {})); +a.util.setEnumType(dm, 'exa.codeium_common_pb.ScmType', [ + { no: 0, name: 'SCM_TYPE_UNSPECIFIED' }, + { no: 1, name: 'SCM_TYPE_GIT' }, + { no: 2, name: 'SCM_TYPE_PERFORCE' }, +]); +var W; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.FUNCTION = 1)] = 'FUNCTION'), + (e[(e.CLASS = 2)] = 'CLASS'), + (e[(e.IMPORT = 3)] = 'IMPORT'), + (e[(e.NAIVE_LINECHUNK = 4)] = 'NAIVE_LINECHUNK'), + (e[(e.REFERENCE_FUNCTION = 5)] = 'REFERENCE_FUNCTION'), + (e[(e.REFERENCE_CLASS = 6)] = 'REFERENCE_CLASS'), + (e[(e.FILE = 7)] = 'FILE'), + (e[(e.TERMINAL = 8)] = 'TERMINAL')); +})(W || (W = {})); +a.util.setEnumType(W, 'exa.codeium_common_pb.CodeContextType', [ + { no: 0, name: 'CODE_CONTEXT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CODE_CONTEXT_TYPE_FUNCTION' }, + { no: 2, name: 'CODE_CONTEXT_TYPE_CLASS' }, + { no: 3, name: 'CODE_CONTEXT_TYPE_IMPORT' }, + { no: 4, name: 'CODE_CONTEXT_TYPE_NAIVE_LINECHUNK' }, + { no: 5, name: 'CODE_CONTEXT_TYPE_REFERENCE_FUNCTION' }, + { no: 6, name: 'CODE_CONTEXT_TYPE_REFERENCE_CLASS' }, + { no: 7, name: 'CODE_CONTEXT_TYPE_FILE' }, + { no: 8, name: 'CODE_CONTEXT_TYPE_TERMINAL' }, +]); +var ze; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.OPEN_DOCS = 1)] = 'OPEN_DOCS'), + (e[(e.SEARCH_RESULT = 2)] = 'SEARCH_RESULT'), + (e[(e.IMPORT = 3)] = 'IMPORT'), + (e[(e.LOCAL_DIRECTORY = 4)] = 'LOCAL_DIRECTORY'), + (e[(e.LAST_ACTIVE_DOC = 5)] = 'LAST_ACTIVE_DOC'), + (e[(e.ORACLE_ITEMS = 6)] = 'ORACLE_ITEMS'), + (e[(e.PINNED_CONTEXT = 7)] = 'PINNED_CONTEXT'), + (e[(e.RESEARCH_STATE = 8)] = 'RESEARCH_STATE'), + (e[(e.GROUND_TRUTH_PLAN_EDIT = 9)] = 'GROUND_TRUTH_PLAN_EDIT'), + (e[(e.COMMIT_GRAPH = 10)] = 'COMMIT_GRAPH')); +})(ze || (ze = {})); +a.util.setEnumType(ze, 'exa.codeium_common_pb.CodeContextSource', [ + { no: 0, name: 'CODE_CONTEXT_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'CODE_CONTEXT_SOURCE_OPEN_DOCS' }, + { no: 2, name: 'CODE_CONTEXT_SOURCE_SEARCH_RESULT' }, + { no: 3, name: 'CODE_CONTEXT_SOURCE_IMPORT' }, + { no: 4, name: 'CODE_CONTEXT_SOURCE_LOCAL_DIRECTORY' }, + { no: 5, name: 'CODE_CONTEXT_SOURCE_LAST_ACTIVE_DOC' }, + { no: 6, name: 'CODE_CONTEXT_SOURCE_ORACLE_ITEMS' }, + { no: 7, name: 'CODE_CONTEXT_SOURCE_PINNED_CONTEXT' }, + { no: 8, name: 'CODE_CONTEXT_SOURCE_RESEARCH_STATE' }, + { no: 9, name: 'CODE_CONTEXT_SOURCE_GROUND_TRUTH_PLAN_EDIT' }, + { no: 10, name: 'CODE_CONTEXT_SOURCE_COMMIT_GRAPH' }, +]); +var cn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.RAW_SOURCE = 1)] = 'RAW_SOURCE'), + (e[(e.SIGNATURE = 2)] = 'SIGNATURE'), + (e[(e.NODEPATH = 3)] = 'NODEPATH')); +})(cn || (cn = {})); +a.util.setEnumType(cn, 'exa.codeium_common_pb.ContextSnippetType', [ + { no: 0, name: 'CONTEXT_SNIPPET_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CONTEXT_SNIPPET_TYPE_RAW_SOURCE' }, + { no: 2, name: 'CONTEXT_SNIPPET_TYPE_SIGNATURE' }, + { no: 3, name: 'CONTEXT_SNIPPET_TYPE_NODEPATH' }, +]); +var Tm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.COMMIT_MESSAGE = 1)] = 'COMMIT_MESSAGE')); +})(Tm || (Tm = {})); +a.util.setEnumType(Tm, 'exa.codeium_common_pb.CommitIntentType', [ + { no: 0, name: 'COMMIT_INTENT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'COMMIT_INTENT_TYPE_COMMIT_MESSAGE' }, +]); +var fm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.L4 = 1)] = 'L4'), + (e[(e.T4 = 2)] = 'T4'), + (e[(e.A10 = 3)] = 'A10'), + (e[(e.A100 = 4)] = 'A100'), + (e[(e.V100 = 5)] = 'V100'), + (e[(e.A5000 = 6)] = 'A5000')); +})(fm || (fm = {})); +a.util.setEnumType(fm, 'exa.codeium_common_pb.GpuType', [ + { no: 0, name: 'GPU_TYPE_UNSPECIFIED' }, + { no: 1, name: 'GPU_TYPE_L4' }, + { no: 2, name: 'GPU_TYPE_T4' }, + { no: 3, name: 'GPU_TYPE_A10' }, + { no: 4, name: 'GPU_TYPE_A100' }, + { no: 5, name: 'GPU_TYPE_V100' }, + { no: 6, name: 'GPU_TYPE_A5000' }, +]); +var vn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.INCLUDE = 1)] = 'INCLUDE'), + (e[(e.EXCLUDE = 2)] = 'EXCLUDE')); +})(vn || (vn = {})); +a.util.setEnumType(vn, 'exa.codeium_common_pb.ContextInclusionType', [ + { no: 0, name: 'CONTEXT_INCLUSION_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CONTEXT_INCLUSION_TYPE_INCLUDE' }, + { no: 2, name: 'CONTEXT_INCLUSION_TYPE_EXCLUDE' }, +]); +var je; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.AUTO = 1)] = 'AUTO'), + (e[(e.LIGHT = 2)] = 'LIGHT'), + (e[(e.DARK = 3)] = 'DARK')); +})(je || (je = {})); +a.util.setEnumType(je, 'exa.codeium_common_pb.ThemePreference', [ + { no: 0, name: 'THEME_PREFERENCE_UNSPECIFIED' }, + { no: 1, name: 'THEME_PREFERENCE_AUTO' }, + { no: 2, name: 'THEME_PREFERENCE_LIGHT' }, + { no: 3, name: 'THEME_PREFERENCE_DARK' }, +]); +var Qe; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.SLOW = 1)] = 'SLOW'), + (e[(e.DEFAULT = 2)] = 'DEFAULT'), + (e[(e.FAST = 3)] = 'FAST')); +})(Qe || (Qe = {})); +a.util.setEnumType(Qe, 'exa.codeium_common_pb.AutocompleteSpeed', [ + { no: 0, name: 'AUTOCOMPLETE_SPEED_UNSPECIFIED' }, + { no: 1, name: 'AUTOCOMPLETE_SPEED_SLOW' }, + { no: 2, name: 'AUTOCOMPLETE_SPEED_DEFAULT' }, + { no: 3, name: 'AUTOCOMPLETE_SPEED_FAST' }, +]); +var Ze; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.OFF = 1)] = 'OFF'), + (e[(e.ON = 2)] = 'ON')); +})(Ze || (Ze = {})); +a.util.setEnumType(Ze, 'exa.codeium_common_pb.TabEnabled', [ + { no: 0, name: 'TAB_ENABLED_UNSPECIFIED' }, + { no: 1, name: 'TAB_ENABLED_OFF' }, + { no: 2, name: 'TAB_ENABLED_ON' }, +]); +var un; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.OFF = 1)] = 'OFF'), + (e[(e.AUTO = 2)] = 'AUTO'), + (e[(e.EAGER = 3)] = 'EAGER')); +})(un || (un = {})); +a.util.setEnumType(un, 'exa.codeium_common_pb.CascadeCommandsAutoExecution', [ + { no: 0, name: 'CASCADE_COMMANDS_AUTO_EXECUTION_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_COMMANDS_AUTO_EXECUTION_OFF' }, + { no: 2, name: 'CASCADE_COMMANDS_AUTO_EXECUTION_AUTO' }, + { no: 3, name: 'CASCADE_COMMANDS_AUTO_EXECUTION_EAGER' }, +]); +var ln; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ALWAYS = 1)] = 'ALWAYS'), + (e[(e.TURBO = 2)] = 'TURBO'), + (e[(e.AUTO = 3)] = 'AUTO')); +})(ln || (ln = {})); +a.util.setEnumType(ln, 'exa.codeium_common_pb.ArtifactReviewMode', [ + { no: 0, name: 'ARTIFACT_REVIEW_MODE_UNSPECIFIED' }, + { no: 1, name: 'ARTIFACT_REVIEW_MODE_ALWAYS' }, + { no: 2, name: 'ARTIFACT_REVIEW_MODE_TURBO' }, + { no: 3, name: 'ARTIFACT_REVIEW_MODE_AUTO' }, +]); +var Nm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CHAT = 1)] = 'CHAT'), + (e[(e.PROFILE = 2)] = 'PROFILE'), + (e[(e.BRAIN = 4)] = 'BRAIN'), + (e[(e.COMMAND = 5)] = 'COMMAND'), + (e[(e.CORTEX = 6)] = 'CORTEX'), + (e[(e.DEBUG = 7)] = 'DEBUG')); +})(Nm || (Nm = {})); +a.util.setEnumType(Nm, 'exa.codeium_common_pb.ExtensionPanelTab', [ + { no: 0, name: 'EXTENSION_PANEL_TAB_UNSPECIFIED' }, + { no: 1, name: 'EXTENSION_PANEL_TAB_CHAT' }, + { no: 2, name: 'EXTENSION_PANEL_TAB_PROFILE' }, + { no: 4, name: 'EXTENSION_PANEL_TAB_BRAIN' }, + { no: 5, name: 'EXTENSION_PANEL_TAB_COMMAND' }, + { no: 6, name: 'EXTENSION_PANEL_TAB_CORTEX' }, + { no: 7, name: 'EXTENSION_PANEL_TAB_DEBUG' }, +]); +var $e; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED')); +})($e || ($e = {})); +a.util.setEnumType($e, 'exa.codeium_common_pb.RememberLastModelSelection', [ + { no: 0, name: 'REMEMBER_LAST_MODEL_SELECTION_UNSPECIFIED' }, + { no: 1, name: 'REMEMBER_LAST_MODEL_SELECTION_ENABLED' }, + { no: 2, name: 'REMEMBER_LAST_MODEL_SELECTION_DISABLED' }, +]); +var nt; +(function (e) { + ((e[(e.CASCADE_NUX_EVENT_UNSPECIFIED = 0)] = 'CASCADE_NUX_EVENT_UNSPECIFIED'), + (e[(e.CASCADE_NUX_EVENT_DIFF_OVERVIEW = 1)] = + 'CASCADE_NUX_EVENT_DIFF_OVERVIEW'), + (e[(e.CASCADE_NUX_EVENT_WEB_SEARCH = 2)] = 'CASCADE_NUX_EVENT_WEB_SEARCH'), + (e[(e.CASCADE_NUX_EVENT_NEW_MODELS_WAVE2 = 3)] = + 'CASCADE_NUX_EVENT_NEW_MODELS_WAVE2'), + (e[(e.CASCADE_NUX_EVENT_TOOL_CALL = 4)] = 'CASCADE_NUX_EVENT_TOOL_CALL'), + (e[(e.CASCADE_NUX_EVENT_MODEL_SELECTOR_NUX = 5)] = + 'CASCADE_NUX_EVENT_MODEL_SELECTOR_NUX'), + (e[(e.CASCADE_NUX_EVENT_TOOL_CALL_PRICING_NUX = 6)] = + 'CASCADE_NUX_EVENT_TOOL_CALL_PRICING_NUX'), + (e[(e.CASCADE_NUX_EVENT_WRITE_CHAT_MODE = 7)] = + 'CASCADE_NUX_EVENT_WRITE_CHAT_MODE'), + (e[(e.CASCADE_NUX_EVENT_REVERT_STEP = 8)] = + 'CASCADE_NUX_EVENT_REVERT_STEP'), + (e[(e.CASCADE_NUX_EVENT_RULES = 9)] = 'CASCADE_NUX_EVENT_RULES'), + (e[(e.CASCADE_NUX_EVENT_WEB_MENTION = 10)] = + 'CASCADE_NUX_EVENT_WEB_MENTION'), + (e[(e.CASCADE_NUX_EVENT_BACKGROUND_CASCADE = 11)] = + 'CASCADE_NUX_EVENT_BACKGROUND_CASCADE'), + (e[(e.CASCADE_NUX_EVENT_ANTHROPIC_API_PRICING = 12)] = + 'CASCADE_NUX_EVENT_ANTHROPIC_API_PRICING'), + (e[(e.CASCADE_NUX_EVENT_PLAN_MODE = 13)] = 'CASCADE_NUX_EVENT_PLAN_MODE'), + (e[(e.CASCADE_NUX_EVENT_OPEN_BROWSER_URL = 14)] = + 'CASCADE_NUX_EVENT_OPEN_BROWSER_URL')); +})(nt || (nt = {})); +a.util.setEnumType(nt, 'exa.codeium_common_pb.CascadeNUXEvent', [ + { no: 0, name: 'CASCADE_NUX_EVENT_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_NUX_EVENT_DIFF_OVERVIEW' }, + { no: 2, name: 'CASCADE_NUX_EVENT_WEB_SEARCH' }, + { no: 3, name: 'CASCADE_NUX_EVENT_NEW_MODELS_WAVE2' }, + { no: 4, name: 'CASCADE_NUX_EVENT_TOOL_CALL' }, + { no: 5, name: 'CASCADE_NUX_EVENT_MODEL_SELECTOR_NUX' }, + { no: 6, name: 'CASCADE_NUX_EVENT_TOOL_CALL_PRICING_NUX' }, + { no: 7, name: 'CASCADE_NUX_EVENT_WRITE_CHAT_MODE' }, + { no: 8, name: 'CASCADE_NUX_EVENT_REVERT_STEP' }, + { no: 9, name: 'CASCADE_NUX_EVENT_RULES' }, + { no: 10, name: 'CASCADE_NUX_EVENT_WEB_MENTION' }, + { no: 11, name: 'CASCADE_NUX_EVENT_BACKGROUND_CASCADE' }, + { no: 12, name: 'CASCADE_NUX_EVENT_ANTHROPIC_API_PRICING' }, + { no: 13, name: 'CASCADE_NUX_EVENT_PLAN_MODE' }, + { no: 14, name: 'CASCADE_NUX_EVENT_OPEN_BROWSER_URL' }, +]); +var et; +(function (e) { + ((e[(e.USER_NUX_EVENT_UNSPECIFIED = 0)] = 'USER_NUX_EVENT_UNSPECIFIED'), + (e[(e.USER_NUX_EVENT_DISMISS_ANTIGRAVITY_CROSS_SELL = 1)] = + 'USER_NUX_EVENT_DISMISS_ANTIGRAVITY_CROSS_SELL')); +})(et || (et = {})); +a.util.setEnumType(et, 'exa.codeium_common_pb.UserNUXEvent', [ + { no: 0, name: 'USER_NUX_EVENT_UNSPECIFIED' }, + { no: 1, name: 'USER_NUX_EVENT_DISMISS_ANTIGRAVITY_CROSS_SELL' }, +]); +var Pn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.DEFAULT = 1)] = 'DEFAULT'), + (e[(e.READ_ONLY = 2)] = 'READ_ONLY')); +})(Pn || (Pn = {})); +a.util.setEnumType(Pn, 'exa.codeium_common_pb.ConversationalPlannerMode', [ + { no: 0, name: 'CONVERSATIONAL_PLANNER_MODE_UNSPECIFIED' }, + { no: 1, name: 'CONVERSATIONAL_PLANNER_MODE_DEFAULT' }, + { no: 2, name: 'CONVERSATIONAL_PLANNER_MODE_READ_ONLY' }, +]); +var tt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.OFF = 1)] = 'OFF'), + (e[(e.ON = 2)] = 'ON')); +})(tt || (tt = {})); +a.util.setEnumType(tt, 'exa.codeium_common_pb.PlanningMode', [ + { no: 0, name: 'PLANNING_MODE_UNSPECIFIED' }, + { no: 1, name: 'PLANNING_MODE_OFF' }, + { no: 2, name: 'PLANNING_MODE_ON' }, +]); +var at; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED')); +})(at || (at = {})); +a.util.setEnumType(at, 'exa.codeium_common_pb.TabToJump', [ + { no: 0, name: 'TAB_TO_JUMP_UNSPECIFIED' }, + { no: 1, name: 'TAB_TO_JUMP_ENABLED' }, + { no: 2, name: 'TAB_TO_JUMP_DISABLED' }, +]); +var rt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED')); +})(rt || (rt = {})); +a.util.setEnumType(rt, 'exa.codeium_common_pb.CascadeWebSearchTool', [ + { no: 0, name: 'CASCADE_WEB_SEARCH_TOOL_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_WEB_SEARCH_TOOL_ENABLED' }, + { no: 2, name: 'CASCADE_WEB_SEARCH_TOOL_DISABLED' }, +]); +var st; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED'), + (e[(e.ONLY = 3)] = 'ONLY')); +})(st || (st = {})); +a.util.setEnumType(st, 'exa.codeium_common_pb.CascadeRunExtensionCode', [ + { no: 0, name: 'CASCADE_RUN_EXTENSION_CODE_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_RUN_EXTENSION_CODE_ENABLED' }, + { no: 2, name: 'CASCADE_RUN_EXTENSION_CODE_DISABLED' }, + { no: 3, name: 'CASCADE_RUN_EXTENSION_CODE_ONLY' }, +]); +var it; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED')); +})(it || (it = {})); +a.util.setEnumType(it, 'exa.codeium_common_pb.CascadeInputAutocomplete', [ + { no: 0, name: 'CASCADE_INPUT_AUTOCOMPLETE_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_INPUT_AUTOCOMPLETE_ENABLED' }, + { no: 2, name: 'CASCADE_INPUT_AUTOCOMPLETE_DISABLED' }, +]); +var ot; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED'), + (e[(e.MODEL_DECIDES = 3)] = 'MODEL_DECIDES')); +})(ot || (ot = {})); +a.util.setEnumType(ot, 'exa.codeium_common_pb.CascadeRunExtensionCodeAutoRun', [ + { no: 0, name: 'CASCADE_RUN_EXTENSION_CODE_AUTO_RUN_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_RUN_EXTENSION_CODE_AUTO_RUN_ENABLED' }, + { no: 2, name: 'CASCADE_RUN_EXTENSION_CODE_AUTO_RUN_DISABLED' }, + { no: 3, name: 'CASCADE_RUN_EXTENSION_CODE_AUTO_RUN_MODEL_DECIDES' }, +]); +var mt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED')); +})(mt || (mt = {})); +a.util.setEnumType(mt, 'exa.codeium_common_pb.AgentBrowserTools', [ + { no: 0, name: 'AGENT_BROWSER_TOOLS_UNSPECIFIED' }, + { no: 1, name: 'AGENT_BROWSER_TOOLS_ENABLED' }, + { no: 2, name: 'AGENT_BROWSER_TOOLS_DISABLED' }, +]); +var Sm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CASCADE_BROWSER = 1)] = 'CASCADE_BROWSER'), + (e[(e.CASCADE_WEB_AT_MENTION = 2)] = 'CASCADE_WEB_AT_MENTION'), + (e[(e.CASCADE_REVERT_TO_STEP = 3)] = 'CASCADE_REVERT_TO_STEP'), + (e[(e.CASCADE_CLICK_MODEL_SELECTOR = 4)] = 'CASCADE_CLICK_MODEL_SELECTOR'), + (e[(e.CASCADE_MESSAGE_FEEDBACK = 5)] = 'CASCADE_MESSAGE_FEEDBACK')); +})(Sm || (Sm = {})); +a.util.setEnumType(Sm, 'exa.codeium_common_pb.FeatureUsageType', [ + { no: 0, name: 'FEATURE_USAGE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'FEATURE_USAGE_TYPE_CASCADE_BROWSER' }, + { no: 2, name: 'FEATURE_USAGE_TYPE_CASCADE_WEB_AT_MENTION' }, + { no: 3, name: 'FEATURE_USAGE_TYPE_CASCADE_REVERT_TO_STEP' }, + { no: 4, name: 'FEATURE_USAGE_TYPE_CASCADE_CLICK_MODEL_SELECTOR' }, + { no: 5, name: 'FEATURE_USAGE_TYPE_CASCADE_MESSAGE_FEEDBACK' }, +]); +var Dn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ON = 1)] = 'ON'), + (e[(e.OFF = 2)] = 'OFF')); +})(Dn || (Dn = {})); +a.util.setEnumType(Dn, 'exa.codeium_common_pb.PlanMode', [ + { no: 0, name: 'PLAN_MODE_UNSPECIFIED' }, + { no: 1, name: 'PLAN_MODE_ON' }, + { no: 2, name: 'PLAN_MODE_OFF' }, +]); +var ct; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED')); +})(ct || (ct = {})); +a.util.setEnumType( + ct, + 'exa.codeium_common_pb.AutoContinueOnMaxGeneratorInvocations', + [ + { no: 0, name: 'AUTO_CONTINUE_ON_MAX_GENERATOR_INVOCATIONS_UNSPECIFIED' }, + { no: 1, name: 'AUTO_CONTINUE_ON_MAX_GENERATOR_INVOCATIONS_ENABLED' }, + { no: 2, name: 'AUTO_CONTINUE_ON_MAX_GENERATOR_INVOCATIONS_DISABLED' }, + ], +); +var ut; +(function (e) { + ((e[(e.CASCADE_NUX_LOCATION_UNSPECIFIED = 0)] = + 'CASCADE_NUX_LOCATION_UNSPECIFIED'), + (e[(e.CASCADE_NUX_LOCATION_CASCADE_INPUT = 1)] = + 'CASCADE_NUX_LOCATION_CASCADE_INPUT'), + (e[(e.CASCADE_NUX_LOCATION_MODEL_SELECTOR = 2)] = + 'CASCADE_NUX_LOCATION_MODEL_SELECTOR'), + (e[(e.CASCADE_NUX_LOCATION_RULES_TAB = 4)] = + 'CASCADE_NUX_LOCATION_RULES_TAB'), + (e[(e.CASCADE_NUX_LOCATION_REVERT_STEP = 6)] = + 'CASCADE_NUX_LOCATION_REVERT_STEP'), + (e[(e.CASCADE_NUX_LOCATION_PLAN_MODE = 7)] = + 'CASCADE_NUX_LOCATION_PLAN_MODE'), + (e[(e.CASCADE_NUX_LOCATION_WRITE_CHAT_MODE = 8)] = + 'CASCADE_NUX_LOCATION_WRITE_CHAT_MODE'), + (e[(e.CASCADE_NUX_LOCATION_TOOLBAR = 9)] = 'CASCADE_NUX_LOCATION_TOOLBAR'), + (e[(e.CASCADE_NUX_LOCATION_MANAGER_BOTTOM_LEFT = 10)] = + 'CASCADE_NUX_LOCATION_MANAGER_BOTTOM_LEFT'), + (e[(e.CASCADE_NUX_LOCATION_ARTIFACT_VIEW_BOTTOM_LEFT = 11)] = + 'CASCADE_NUX_LOCATION_ARTIFACT_VIEW_BOTTOM_LEFT')); +})(ut || (ut = {})); +a.util.setEnumType(ut, 'exa.codeium_common_pb.CascadeNUXLocation', [ + { no: 0, name: 'CASCADE_NUX_LOCATION_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_NUX_LOCATION_CASCADE_INPUT' }, + { no: 2, name: 'CASCADE_NUX_LOCATION_MODEL_SELECTOR' }, + { no: 4, name: 'CASCADE_NUX_LOCATION_RULES_TAB' }, + { no: 6, name: 'CASCADE_NUX_LOCATION_REVERT_STEP' }, + { no: 7, name: 'CASCADE_NUX_LOCATION_PLAN_MODE' }, + { no: 8, name: 'CASCADE_NUX_LOCATION_WRITE_CHAT_MODE' }, + { no: 9, name: 'CASCADE_NUX_LOCATION_TOOLBAR' }, + { no: 10, name: 'CASCADE_NUX_LOCATION_MANAGER_BOTTOM_LEFT' }, + { no: 11, name: 'CASCADE_NUX_LOCATION_ARTIFACT_VIEW_BOTTOM_LEFT' }, +]); +var lt; +(function (e) { + ((e[(e.CASCADE_NUX_ICON_UNSPECIFIED = 0)] = 'CASCADE_NUX_ICON_UNSPECIFIED'), + (e[(e.CASCADE_NUX_ICON_WEB_SEARCH = 1)] = 'CASCADE_NUX_ICON_WEB_SEARCH'), + (e[(e.CASCADE_NUX_ICON_ANTIGRAVITY_BROWSER = 2)] = + 'CASCADE_NUX_ICON_ANTIGRAVITY_BROWSER')); +})(lt || (lt = {})); +a.util.setEnumType(lt, 'exa.codeium_common_pb.CascadeNUXIcon', [ + { no: 0, name: 'CASCADE_NUX_ICON_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_NUX_ICON_WEB_SEARCH' }, + { no: 2, name: 'CASCADE_NUX_ICON_ANTIGRAVITY_BROWSER' }, +]); +var Et; +(function (e) { + ((e[(e.CASCADE_NUX_TRIGGER_UNSPECIFIED = 0)] = + 'CASCADE_NUX_TRIGGER_UNSPECIFIED'), + (e[(e.CASCADE_NUX_TRIGGER_PRODUCED_CODE_DIFF = 1)] = + 'CASCADE_NUX_TRIGGER_PRODUCED_CODE_DIFF'), + (e[(e.CASCADE_NUX_TRIGGER_OPEN_BROWSER_URL = 3)] = + 'CASCADE_NUX_TRIGGER_OPEN_BROWSER_URL'), + (e[(e.CASCADE_NUX_TRIGGER_WEB_SEARCH = 4)] = + 'CASCADE_NUX_TRIGGER_WEB_SEARCH'), + (e[(e.CASCADE_NUX_TRIGGER_MANAGER_POSTONBOARDING_COMPLETE = 5)] = + 'CASCADE_NUX_TRIGGER_MANAGER_POSTONBOARDING_COMPLETE'), + (e[(e.CASCADE_NUX_TRIGGER_MANAGER_ARTIFACT_CREATED = 6)] = + 'CASCADE_NUX_TRIGGER_MANAGER_ARTIFACT_CREATED'), + (e[(e.CASCADE_NUX_TRIGGER_MANAGER_ARTIFACT_OPENED = 7)] = + 'CASCADE_NUX_TRIGGER_MANAGER_ARTIFACT_OPENED'), + (e[(e.CASCADE_NUX_TRIGGER_MANAGER_FILE_OPENED = 8)] = + 'CASCADE_NUX_TRIGGER_MANAGER_FILE_OPENED'), + (e[(e.CASCADE_NUX_TRIGGER_MANAGER_CONVERSATION_AVAILABLE = 10)] = + 'CASCADE_NUX_TRIGGER_MANAGER_CONVERSATION_AVAILABLE')); +})(Et || (Et = {})); +a.util.setEnumType(Et, 'exa.codeium_common_pb.CascadeNUXTrigger', [ + { no: 0, name: 'CASCADE_NUX_TRIGGER_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_NUX_TRIGGER_PRODUCED_CODE_DIFF' }, + { no: 3, name: 'CASCADE_NUX_TRIGGER_OPEN_BROWSER_URL' }, + { no: 4, name: 'CASCADE_NUX_TRIGGER_WEB_SEARCH' }, + { no: 5, name: 'CASCADE_NUX_TRIGGER_MANAGER_POSTONBOARDING_COMPLETE' }, + { no: 6, name: 'CASCADE_NUX_TRIGGER_MANAGER_ARTIFACT_CREATED' }, + { no: 7, name: 'CASCADE_NUX_TRIGGER_MANAGER_ARTIFACT_OPENED' }, + { no: 8, name: 'CASCADE_NUX_TRIGGER_MANAGER_FILE_OPENED' }, + { no: 10, name: 'CASCADE_NUX_TRIGGER_MANAGER_CONVERSATION_AVAILABLE' }, +]); +var _t; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED')); +})(_t || (_t = {})); +a.util.setEnumType(_t, 'exa.codeium_common_pb.AnnotationsConfig', [ + { no: 0, name: 'ANNOTATIONS_CONFIG_UNSPECIFIED' }, + { no: 1, name: 'ANNOTATIONS_CONFIG_ENABLED' }, + { no: 2, name: 'ANNOTATIONS_CONFIG_DISABLED' }, +]); +var dt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ENABLED = 1)] = 'ENABLED'), + (e[(e.DISABLED = 2)] = 'DISABLED')); +})(dt || (dt = {})); +a.util.setEnumType(dt, 'exa.codeium_common_pb.DetectAndUseProxy', [ + { no: 0, name: 'DETECT_AND_USE_PROXY_UNSPECIFIED' }, + { no: 1, name: 'DETECT_AND_USE_PROXY_ENABLED' }, + { no: 2, name: 'DETECT_AND_USE_PROXY_DISABLED' }, +]); +var En; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.DISABLED = 1)] = 'DISABLED'), + (e[(e.ALWAYS_ASK = 2)] = 'ALWAYS_ASK'), + (e[(e.MODEL_DECIDES = 3)] = 'MODEL_DECIDES'), + (e[(e.TURBO = 4)] = 'TURBO')); +})(En || (En = {})); +a.util.setEnumType(En, 'exa.codeium_common_pb.BrowserJsExecutionPolicy', [ + { no: 0, name: 'BROWSER_JS_EXECUTION_POLICY_UNSPECIFIED' }, + { no: 1, name: 'BROWSER_JS_EXECUTION_POLICY_DISABLED' }, + { no: 2, name: 'BROWSER_JS_EXECUTION_POLICY_ALWAYS_ASK' }, + { no: 3, name: 'BROWSER_JS_EXECUTION_POLICY_MODEL_DECIDES' }, + { no: 4, name: 'BROWSER_JS_EXECUTION_POLICY_TURBO' }, +]); +var Tt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.COMPLETION = 1)] = 'COMPLETION'), + (e[(e.CHAT = 2)] = 'CHAT'), + (e[(e.EMBED = 3)] = 'EMBED'), + (e[(e.QUERY = 4)] = 'QUERY')); +})(Tt || (Tt = {})); +a.util.setEnumType(Tt, 'exa.codeium_common_pb.ModelType', [ + { no: 0, name: 'MODEL_TYPE_UNSPECIFIED' }, + { no: 1, name: 'MODEL_TYPE_COMPLETION' }, + { no: 2, name: 'MODEL_TYPE_CHAT' }, + { no: 3, name: 'MODEL_TYPE_EMBED' }, + { no: 4, name: 'MODEL_TYPE_QUERY' }, +]); +var kn; +(function (e) { + ((e[(e.API_PROVIDER_UNSPECIFIED = 0)] = 'API_PROVIDER_UNSPECIFIED'), + (e[(e.API_PROVIDER_INTERNAL = 1)] = 'API_PROVIDER_INTERNAL'), + (e[(e.API_PROVIDER_GOOGLE_VERTEX = 3)] = 'API_PROVIDER_GOOGLE_VERTEX'), + (e[(e.API_PROVIDER_GOOGLE_GEMINI = 24)] = 'API_PROVIDER_GOOGLE_GEMINI'), + (e[(e.API_PROVIDER_ANTHROPIC_VERTEX = 26)] = + 'API_PROVIDER_ANTHROPIC_VERTEX'), + (e[(e.API_PROVIDER_GOOGLE_EVERGREEN = 30)] = + 'API_PROVIDER_GOOGLE_EVERGREEN'), + (e[(e.API_PROVIDER_OPENAI_VERTEX = 31)] = 'API_PROVIDER_OPENAI_VERTEX')); +})(kn || (kn = {})); +a.util.setEnumType(kn, 'exa.codeium_common_pb.APIProvider', [ + { no: 0, name: 'API_PROVIDER_UNSPECIFIED' }, + { no: 1, name: 'API_PROVIDER_INTERNAL' }, + { no: 3, name: 'API_PROVIDER_GOOGLE_VERTEX' }, + { no: 24, name: 'API_PROVIDER_GOOGLE_GEMINI' }, + { no: 26, name: 'API_PROVIDER_ANTHROPIC_VERTEX' }, + { no: 30, name: 'API_PROVIDER_GOOGLE_EVERGREEN' }, + { no: 31, name: 'API_PROVIDER_OPENAI_VERTEX' }, +]); +var ft; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.INFO = 1)] = 'INFO'), + (e[(e.WARNING = 2)] = 'WARNING')); +})(ft || (ft = {})); +a.util.setEnumType(ft, 'exa.codeium_common_pb.ModelStatus', [ + { no: 0, name: 'MODEL_STATUS_UNSPECIFIED' }, + { no: 1, name: 'MODEL_STATUS_INFO' }, + { no: 2, name: 'MODEL_STATUS_WARNING' }, +]); +var Im; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.BASE = 1)] = 'BASE'), + (e[(e.CODEIUM = 2)] = 'CODEIUM'), + (e[(e.USER = 3)] = 'USER'), + (e[(e.USER_LARGE = 4)] = 'USER_LARGE'), + (e[(e.UNKNOWN = 5)] = 'UNKNOWN')); +})(Im || (Im = {})); +a.util.setEnumType(Im, 'exa.codeium_common_pb.CodeSource', [ + { no: 0, name: 'CODE_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'CODE_SOURCE_BASE' }, + { no: 2, name: 'CODE_SOURCE_CODEIUM' }, + { no: 3, name: 'CODE_SOURCE_USER' }, + { no: 4, name: 'CODE_SOURCE_USER_LARGE' }, + { no: 5, name: 'CODE_SOURCE_UNKNOWN' }, +]); +var V; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.SLACK_MESSAGE = 1)] = 'SLACK_MESSAGE'), + (e[(e.SLACK_CHANNEL = 2)] = 'SLACK_CHANNEL'), + (e[(e.GITHUB_ISSUE = 3)] = 'GITHUB_ISSUE'), + (e[(e.GITHUB_ISSUE_COMMENT = 4)] = 'GITHUB_ISSUE_COMMENT'), + (e[(e.GITHUB_REPO = 8)] = 'GITHUB_REPO'), + (e[(e.GOOGLE_DRIVE_FILE = 5)] = 'GOOGLE_DRIVE_FILE'), + (e[(e.GOOGLE_DRIVE_FOLDER = 6)] = 'GOOGLE_DRIVE_FOLDER'), + (e[(e.JIRA_ISSUE = 7)] = 'JIRA_ISSUE'), + (e[(e.CCI = 9)] = 'CCI')); +})(V || (V = {})); +a.util.setEnumType(V, 'exa.codeium_common_pb.DocumentType', [ + { no: 0, name: 'DOCUMENT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'DOCUMENT_TYPE_SLACK_MESSAGE' }, + { no: 2, name: 'DOCUMENT_TYPE_SLACK_CHANNEL' }, + { no: 3, name: 'DOCUMENT_TYPE_GITHUB_ISSUE' }, + { no: 4, name: 'DOCUMENT_TYPE_GITHUB_ISSUE_COMMENT' }, + { no: 8, name: 'DOCUMENT_TYPE_GITHUB_REPO' }, + { no: 5, name: 'DOCUMENT_TYPE_GOOGLE_DRIVE_FILE' }, + { no: 6, name: 'DOCUMENT_TYPE_GOOGLE_DRIVE_FOLDER' }, + { no: 7, name: 'DOCUMENT_TYPE_JIRA_ISSUE' }, + { no: 9, name: 'DOCUMENT_TYPE_CCI' }, +]); +var pm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.FILE = 1)] = 'FILE'), + (e[(e.DIRECTORY = 2)] = 'DIRECTORY'), + (e[(e.REPOSITORY = 3)] = 'REPOSITORY'), + (e[(e.CODE_CONTEXT = 4)] = 'CODE_CONTEXT'), + (e[(e.CCI_WITH_SUBRANGE = 5)] = 'CCI_WITH_SUBRANGE'), + (e[(e.REPOSITORY_PATH = 6)] = 'REPOSITORY_PATH'), + (e[(e.SLACK = 7)] = 'SLACK'), + (e[(e.GITHUB = 8)] = 'GITHUB'), + (e[(e.FILE_LINE_RANGE = 9)] = 'FILE_LINE_RANGE'), + (e[(e.TEXT_BLOCK = 10)] = 'TEXT_BLOCK'), + (e[(e.JIRA = 11)] = 'JIRA'), + (e[(e.GOOGLE_DRIVE = 12)] = 'GOOGLE_DRIVE'), + (e[(e.CONSOLE_LOG = 13)] = 'CONSOLE_LOG'), + (e[(e.DOM_ELEMENT = 14)] = 'DOM_ELEMENT'), + (e[(e.RECIPE = 15)] = 'RECIPE'), + (e[(e.KNOWLEDGE = 16)] = 'KNOWLEDGE'), + (e[(e.RULE = 17)] = 'RULE'), + (e[(e.MCP_RESOURCE = 18)] = 'MCP_RESOURCE'), + (e[(e.BROWSER_PAGE = 19)] = 'BROWSER_PAGE'), + (e[(e.BROWSER_CODE_BLOCK = 20)] = 'BROWSER_CODE_BLOCK'), + (e[(e.BROWSER_TEXT = 21)] = 'BROWSER_TEXT'), + (e[(e.CONVERSATION = 22)] = 'CONVERSATION'), + (e[(e.USER_ACTIVITY = 23)] = 'USER_ACTIVITY'), + (e[(e.TERMINAL = 24)] = 'TERMINAL')); +})(pm || (pm = {})); +a.util.setEnumType(pm, 'exa.codeium_common_pb.ContextScopeType', [ + { no: 0, name: 'CONTEXT_SCOPE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CONTEXT_SCOPE_TYPE_FILE' }, + { no: 2, name: 'CONTEXT_SCOPE_TYPE_DIRECTORY' }, + { no: 3, name: 'CONTEXT_SCOPE_TYPE_REPOSITORY' }, + { no: 4, name: 'CONTEXT_SCOPE_TYPE_CODE_CONTEXT' }, + { no: 5, name: 'CONTEXT_SCOPE_TYPE_CCI_WITH_SUBRANGE' }, + { no: 6, name: 'CONTEXT_SCOPE_TYPE_REPOSITORY_PATH' }, + { no: 7, name: 'CONTEXT_SCOPE_TYPE_SLACK' }, + { no: 8, name: 'CONTEXT_SCOPE_TYPE_GITHUB' }, + { no: 9, name: 'CONTEXT_SCOPE_TYPE_FILE_LINE_RANGE' }, + { no: 10, name: 'CONTEXT_SCOPE_TYPE_TEXT_BLOCK' }, + { no: 11, name: 'CONTEXT_SCOPE_TYPE_JIRA' }, + { no: 12, name: 'CONTEXT_SCOPE_TYPE_GOOGLE_DRIVE' }, + { no: 13, name: 'CONTEXT_SCOPE_TYPE_CONSOLE_LOG' }, + { no: 14, name: 'CONTEXT_SCOPE_TYPE_DOM_ELEMENT' }, + { no: 15, name: 'CONTEXT_SCOPE_TYPE_RECIPE' }, + { no: 16, name: 'CONTEXT_SCOPE_TYPE_KNOWLEDGE' }, + { no: 17, name: 'CONTEXT_SCOPE_TYPE_RULE' }, + { no: 18, name: 'CONTEXT_SCOPE_TYPE_MCP_RESOURCE' }, + { no: 19, name: 'CONTEXT_SCOPE_TYPE_BROWSER_PAGE' }, + { no: 20, name: 'CONTEXT_SCOPE_TYPE_BROWSER_CODE_BLOCK' }, + { no: 21, name: 'CONTEXT_SCOPE_TYPE_BROWSER_TEXT' }, + { no: 22, name: 'CONTEXT_SCOPE_TYPE_CONVERSATION' }, + { no: 23, name: 'CONTEXT_SCOPE_TYPE_USER_ACTIVITY' }, + { no: 24, name: 'CONTEXT_SCOPE_TYPE_TERMINAL' }, +]); +var Nt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ERROR = 1)] = 'ERROR'), + (e[(e.WARNING = 2)] = 'WARNING'), + (e[(e.INFO = 3)] = 'INFO'), + (e[(e.DEBUG = 4)] = 'DEBUG')); +})(Nt || (Nt = {})); +a.util.setEnumType(Nt, 'exa.codeium_common_pb.StatusLevel', [ + { no: 0, name: 'STATUS_LEVEL_UNSPECIFIED' }, + { no: 1, name: 'STATUS_LEVEL_ERROR' }, + { no: 2, name: 'STATUS_LEVEL_WARNING' }, + { no: 3, name: 'STATUS_LEVEL_INFO' }, + { no: 4, name: 'STATUS_LEVEL_DEBUG' }, +]); +var Om; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.OVERALL = 1)] = 'OVERALL'), + (e[(e.ACTION_PREPARE = 2)] = 'ACTION_PREPARE'), + (e[(e.ACTION_APPLY = 3)] = 'ACTION_APPLY')); +})(Om || (Om = {})); +a.util.setEnumType(Om, 'exa.codeium_common_pb.CortexErrorCategory', [ + { no: 0, name: 'CORTEX_ERROR_CATEGORY_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_ERROR_CATEGORY_OVERALL' }, + { no: 2, name: 'CORTEX_ERROR_CATEGORY_ACTION_PREPARE' }, + { no: 3, name: 'CORTEX_ERROR_CATEGORY_ACTION_APPLY' }, +]); +var St; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.OVERALL = 1)] = 'OVERALL'), + (e[(e.LAST_AUTOCOMPLETE_USAGE_TIME = 2)] = 'LAST_AUTOCOMPLETE_USAGE_TIME'), + (e[(e.LAST_CHAT_USAGE_TIME = 3)] = 'LAST_CHAT_USAGE_TIME'), + (e[(e.LAST_COMMAND_USAGE_TIME = 4)] = 'LAST_COMMAND_USAGE_TIME')); +})(St || (St = {})); +a.util.setEnumType(St, 'exa.codeium_common_pb.LastUpdateType', [ + { no: 0, name: 'LAST_UPDATE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'LAST_UPDATE_TYPE_OVERALL' }, + { no: 2, name: 'LAST_UPDATE_TYPE_LAST_AUTOCOMPLETE_USAGE_TIME' }, + { no: 3, name: 'LAST_UPDATE_TYPE_LAST_CHAT_USAGE_TIME' }, + { no: 4, name: 'LAST_UPDATE_TYPE_LAST_COMMAND_USAGE_TIME' }, +]); +var Am; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.AUTOCOMPLETE = 1)] = 'AUTOCOMPLETE'), + (e[(e.COMMAND = 2)] = 'COMMAND'), + (e[(e.CHAT = 3)] = 'CHAT')); +})(Am || (Am = {})); +a.util.setEnumType(Am, 'exa.codeium_common_pb.OnboardingActionType', [ + { no: 0, name: 'ONBOARDING_ACTION_TYPE_UNSPECIFIED' }, + { no: 1, name: 'ONBOARDING_ACTION_TYPE_AUTOCOMPLETE' }, + { no: 2, name: 'ONBOARDING_ACTION_TYPE_COMMAND' }, + { no: 3, name: 'ONBOARDING_ACTION_TYPE_CHAT' }, +]); +var Cm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.AUTOCOMPLETE_ACCEPT = 1)] = 'AUTOCOMPLETE_ACCEPT'), + (e[(e.CURSOR_LINE_NAVIGATION = 2)] = 'CURSOR_LINE_NAVIGATION'), + (e[(e.TYPING = 3)] = 'TYPING'), + (e[(e.FORCED = 4)] = 'FORCED'), + (e[(e.TAB_JUMP_ACCEPT = 5)] = 'TAB_JUMP_ACCEPT'), + (e[(e.SUPERCOMPLETE_ACCEPT = 6)] = 'SUPERCOMPLETE_ACCEPT'), + (e[(e.TAB_JUMP_PREDICTIVE = 7)] = 'TAB_JUMP_PREDICTIVE'), + (e[(e.AUTOCOMPLETE_PREDICTIVE = 8)] = 'AUTOCOMPLETE_PREDICTIVE'), + (e[(e.SUPERCOMPLETE_PREDICTIVE = 9)] = 'SUPERCOMPLETE_PREDICTIVE'), + (e[(e.TAB_JUMP_EDIT = 10)] = 'TAB_JUMP_EDIT')); +})(Cm || (Cm = {})); +a.util.setEnumType(Cm, 'exa.codeium_common_pb.SupercompleteTriggerCondition', [ + { no: 0, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_UNSPECIFIED' }, + { no: 1, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_AUTOCOMPLETE_ACCEPT' }, + { no: 2, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_CURSOR_LINE_NAVIGATION' }, + { no: 3, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_TYPING' }, + { no: 4, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_FORCED' }, + { no: 5, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_TAB_JUMP_ACCEPT' }, + { no: 6, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_SUPERCOMPLETE_ACCEPT' }, + { no: 7, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_TAB_JUMP_PREDICTIVE' }, + { no: 8, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_AUTOCOMPLETE_PREDICTIVE' }, + { no: 9, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_SUPERCOMPLETE_PREDICTIVE' }, + { no: 10, name: 'SUPERCOMPLETE_TRIGGER_CONDITION_TAB_JUMP_EDIT' }, +]); +var Rm; +(function (e) { + ((e[(e.EVENT_UNSPECIFIED = 0)] = 'EVENT_UNSPECIFIED'), + (e[(e.ANTIGRAVITY_EDITOR_READY = 251)] = 'ANTIGRAVITY_EDITOR_READY'), + (e[(e.ANTIGRAVITY_EXTENSION_START = 253)] = 'ANTIGRAVITY_EXTENSION_START'), + (e[(e.ANTIGRAVITY_EXTENSION_ACTIVATED = 32)] = + 'ANTIGRAVITY_EXTENSION_ACTIVATED'), + (e[(e.LS_DOWNLOAD_START = 1)] = 'LS_DOWNLOAD_START'), + (e[(e.LS_DOWNLOAD_COMPLETE = 2)] = 'LS_DOWNLOAD_COMPLETE'), + (e[(e.LS_DOWNLOAD_FAILURE = 5)] = 'LS_DOWNLOAD_FAILURE'), + (e[(e.LS_BINARY_STARTUP = 250)] = 'LS_BINARY_STARTUP'), + (e[(e.LS_STARTUP = 3)] = 'LS_STARTUP'), + (e[(e.LS_FAILURE = 4)] = 'LS_FAILURE'), + (e[(e.AUTOCOMPLETE_ACCEPTED = 6)] = 'AUTOCOMPLETE_ACCEPTED'), + (e[(e.AUTOCOMPLETE_ONE_WORD_ACCEPTED = 7)] = + 'AUTOCOMPLETE_ONE_WORD_ACCEPTED'), + (e[(e.CHAT_MESSAGE_SENT = 8)] = 'CHAT_MESSAGE_SENT'), + (e[(e.CHAT_MENTION_INSERT = 13)] = 'CHAT_MENTION_INSERT'), + (e[(e.CHAT_MENTION_MENU_OPEN = 19)] = 'CHAT_MENTION_MENU_OPEN'), + (e[(e.CHAT_OPEN_SETTINGS = 14)] = 'CHAT_OPEN_SETTINGS'), + (e[(e.CHAT_OPEN_CONTEXT_SETTINGS = 15)] = 'CHAT_OPEN_CONTEXT_SETTINGS'), + (e[(e.CHAT_WITH_CODEBASE = 16)] = 'CHAT_WITH_CODEBASE'), + (e[(e.CHAT_NEW_CONVERSATION = 17)] = 'CHAT_NEW_CONVERSATION'), + (e[(e.CHAT_CHANGE_MODEL = 18)] = 'CHAT_CHANGE_MODEL'), + (e[(e.CHAT_TOGGLE_FOCUS_INSERT_TEXT = 34)] = + 'CHAT_TOGGLE_FOCUS_INSERT_TEXT'), + (e[(e.FUNCTION_REFACTOR = 28)] = 'FUNCTION_REFACTOR'), + (e[(e.EXPLAIN_CODE_BLOCK = 29)] = 'EXPLAIN_CODE_BLOCK'), + (e[(e.FUNCTION_ADD_DOCSTRING = 30)] = 'FUNCTION_ADD_DOCSTRING'), + (e[(e.EXPLAIN_PROBLEM = 31)] = 'EXPLAIN_PROBLEM'), + (e[(e.COMMAND_BOX_OPENED = 9)] = 'COMMAND_BOX_OPENED'), + (e[(e.COMMAND_SUBMITTED = 10)] = 'COMMAND_SUBMITTED'), + (e[(e.COMMAND_ACCEPTED = 11)] = 'COMMAND_ACCEPTED'), + (e[(e.COMMAND_REJECTED = 12)] = 'COMMAND_REJECTED'), + (e[(e.WS_ONBOARDING_LANDING_PAGE_OPENED = 20)] = + 'WS_ONBOARDING_LANDING_PAGE_OPENED'), + (e[(e.WS_ONBOARDING_SETUP_PAGE_OPENED = 21)] = + 'WS_ONBOARDING_SETUP_PAGE_OPENED'), + (e[(e.WS_ONBOARDING_KEYBINDINGS_PAGE_OPENED = 22)] = + 'WS_ONBOARDING_KEYBINDINGS_PAGE_OPENED'), + (e[(e.WS_ONBOARDING_MIGRATION_SCOPE_PAGE_OPENED = 23)] = + 'WS_ONBOARDING_MIGRATION_SCOPE_PAGE_OPENED'), + (e[(e.WS_ONBOARDING_IMPORT_PAGE_OPENED = 24)] = + 'WS_ONBOARDING_IMPORT_PAGE_OPENED'), + (e[(e.WS_ONBOARDING_AUTH_PAGE_OPENED = 25)] = + 'WS_ONBOARDING_AUTH_PAGE_OPENED'), + (e[(e.WS_ONBOARDING_AUTH_MANUAL_PAGE_OPENED = 26)] = + 'WS_ONBOARDING_AUTH_MANUAL_PAGE_OPENED'), + (e[(e.WS_ONBOARDING_CHOOSE_THEME_PAGE_OPENED = 35)] = + 'WS_ONBOARDING_CHOOSE_THEME_PAGE_OPENED'), + (e[(e.AGY_ONBOARDING_TERMS_OF_USE_PAGE_OPENED = 231)] = + 'AGY_ONBOARDING_TERMS_OF_USE_PAGE_OPENED'), + (e[(e.AGY_ONBOARDING_AGENT_CONFIG_PAGE_OPENED = 232)] = + 'AGY_ONBOARDING_AGENT_CONFIG_PAGE_OPENED'), + (e[(e.AGY_ONBOARDING_USAGE_MODE_PAGE_OPENED = 233)] = + 'AGY_ONBOARDING_USAGE_MODE_PAGE_OPENED'), + (e[(e.AGY_ONBOARDING_INSTALL_EXTENSIONS = 234)] = + 'AGY_ONBOARDING_INSTALL_EXTENSIONS'), + (e[(e.WS_ONBOARDING_COMPLETED = 27)] = 'WS_ONBOARDING_COMPLETED'), + (e[(e.WS_SKIPPED_ONBOARDING = 69)] = 'WS_SKIPPED_ONBOARDING'), + (e[(e.WS_SETTINGS_PAGE_OPEN = 72)] = 'WS_SETTINGS_PAGE_OPEN'), + (e[(e.WS_SETTINGS_PAGE_OPEN_WITH_SETTING_FOCUS = 73)] = + 'WS_SETTINGS_PAGE_OPEN_WITH_SETTING_FOCUS'), + (e[(e.EMPTY_WORKSPACE_PAGE_OPENED = 209)] = 'EMPTY_WORKSPACE_PAGE_OPENED'), + (e[(e.EMPTY_WORKSPACE_PAGE_RECENT_FOLDERS_CLICKED = 210)] = + 'EMPTY_WORKSPACE_PAGE_RECENT_FOLDERS_CLICKED'), + (e[(e.EMPTY_WORKSPACE_PAGE_OPEN_FOLDER_CLICKED = 211)] = + 'EMPTY_WORKSPACE_PAGE_OPEN_FOLDER_CLICKED'), + (e[(e.EMPTY_WORKSPACE_PAGE_GENERATE_PROJECT_CLICKED = 212)] = + 'EMPTY_WORKSPACE_PAGE_GENERATE_PROJECT_CLICKED'), + (e[(e.PROVIDE_FEEDBACK = 33)] = 'PROVIDE_FEEDBACK'), + (e[(e.CASCADE_MESSAGE_SENT = 36)] = 'CASCADE_MESSAGE_SENT'), + (e[(e.WS_OPEN_CASCADE_MEMORIES_PANEL = 38)] = + 'WS_OPEN_CASCADE_MEMORIES_PANEL'), + (e[(e.PROVIDE_MESSAGE_FEEDBACK = 41)] = 'PROVIDE_MESSAGE_FEEDBACK'), + (e[(e.CASCADE_MEMORY_DELETED = 42)] = 'CASCADE_MEMORY_DELETED'), + (e[(e.CASCADE_STEP_COMPLETED = 43)] = 'CASCADE_STEP_COMPLETED'), + (e[(e.ACKNOWLEDGE_CASCADE_CODE_EDIT = 44)] = + 'ACKNOWLEDGE_CASCADE_CODE_EDIT'), + (e[(e.CASCADE_WEB_TOOLS_OPEN_READ_URL_MARKDOWN = 45)] = + 'CASCADE_WEB_TOOLS_OPEN_READ_URL_MARKDOWN'), + (e[(e.CASCADE_WEB_TOOLS_OPEN_CHUNK_MARKDOWN = 46)] = + 'CASCADE_WEB_TOOLS_OPEN_CHUNK_MARKDOWN'), + (e[(e.CASCADE_MCP_SERVER_INIT = 64)] = 'CASCADE_MCP_SERVER_INIT'), + (e[(e.CASCADE_KNOWLEDGE_BASE_ITEM_OPENED = 113)] = + 'CASCADE_KNOWLEDGE_BASE_ITEM_OPENED'), + (e[(e.CASCADE_VIEW_LOADED = 119)] = 'CASCADE_VIEW_LOADED'), + (e[(e.CASCADE_CONTEXT_SCOPE_ITEM_ATTACHED = 173)] = + 'CASCADE_CONTEXT_SCOPE_ITEM_ATTACHED'), + (e[(e.CASCADE_CLICK_EVENT = 65)] = 'CASCADE_CLICK_EVENT'), + (e[(e.CASCADE_IMPRESSION_EVENT = 67)] = 'CASCADE_IMPRESSION_EVENT'), + (e[(e.OPEN_CHANGELOG = 37)] = 'OPEN_CHANGELOG'), + (e[(e.CURSOR_DETECTED = 39)] = 'CURSOR_DETECTED'), + (e[(e.VSCODE_DETECTED = 40)] = 'VSCODE_DETECTED'), + (e[(e.JETBRAINS_DETECTED = 153)] = 'JETBRAINS_DETECTED'), + (e[(e.CROSS_SELL_EXTENSION_DOWNLOAD_ANTIGRAVITY_CLICK = 47)] = + 'CROSS_SELL_EXTENSION_DOWNLOAD_ANTIGRAVITY_CLICK'), + (e[(e.CROSS_SELL_EXTENSION_DOWNLOAD_ANTIGRAVITY_NUDGE_IMPRESSION = 48)] = + 'CROSS_SELL_EXTENSION_DOWNLOAD_ANTIGRAVITY_NUDGE_IMPRESSION'), + (e[(e.WS_PROBLEMS_TAB_SEND_ALL_TO_CASCADE = 49)] = + 'WS_PROBLEMS_TAB_SEND_ALL_TO_CASCADE'), + (e[(e.WS_PROBLEMS_TAB_SEND_ALL_IN_FILE_TO_CASCADE = 50)] = + 'WS_PROBLEMS_TAB_SEND_ALL_IN_FILE_TO_CASCADE'), + (e[(e.WS_CASCADE_BAR_FILE_NAV = 51)] = 'WS_CASCADE_BAR_FILE_NAV'), + (e[(e.WS_CASCADE_BAR_HUNK_NAV = 52)] = 'WS_CASCADE_BAR_HUNK_NAV'), + (e[(e.WS_CASCADE_BAR_ACCEPT_FILE = 53)] = 'WS_CASCADE_BAR_ACCEPT_FILE'), + (e[(e.WS_CASCADE_BAR_REJECT_FILE = 54)] = 'WS_CASCADE_BAR_REJECT_FILE'), + (e[(e.WS_CUSTOM_APP_ICON_MODAL_OPEN = 55)] = + 'WS_CUSTOM_APP_ICON_MODAL_OPEN'), + (e[(e.WS_CUSTOM_APP_ICON_SELECT_CLASSIC = 56)] = + 'WS_CUSTOM_APP_ICON_SELECT_CLASSIC'), + (e[(e.WS_CUSTOM_APP_ICON_SELECT_CLASSIC_LIGHT = 57)] = + 'WS_CUSTOM_APP_ICON_SELECT_CLASSIC_LIGHT'), + (e[(e.WS_CUSTOM_APP_ICON_SELECT_RETRO = 58)] = + 'WS_CUSTOM_APP_ICON_SELECT_RETRO'), + (e[(e.WS_CUSTOM_APP_ICON_SELECT_BLUEPRINT = 59)] = + 'WS_CUSTOM_APP_ICON_SELECT_BLUEPRINT'), + (e[(e.WS_CUSTOM_APP_ICON_SELECT_HAND_DRAWN = 60)] = + 'WS_CUSTOM_APP_ICON_SELECT_HAND_DRAWN'), + (e[(e.WS_CUSTOM_APP_ICON_SELECT_SUNSET = 61)] = + 'WS_CUSTOM_APP_ICON_SELECT_SUNSET'), + (e[(e.WS_CUSTOM_APP_ICON_SELECT_VALENTINE = 66)] = + 'WS_CUSTOM_APP_ICON_SELECT_VALENTINE'), + (e[(e.WS_CUSTOM_APP_ICON_SELECT_PIXEL_SURF = 82)] = + 'WS_CUSTOM_APP_ICON_SELECT_PIXEL_SURF'), + (e[(e.ENTERED_MCP_TOOLBAR_TAB = 63)] = 'ENTERED_MCP_TOOLBAR_TAB'), + (e[(e.CLICKED_TO_CONFIGURE_MCP = 62)] = 'CLICKED_TO_CONFIGURE_MCP'), + (e[(e.WS_SETTINGS_UPDATED = 68)] = 'WS_SETTINGS_UPDATED'), + (e[(e.BROWSER_PREVIEW_DOM_ELEMENT = 70)] = 'BROWSER_PREVIEW_DOM_ELEMENT'), + (e[(e.BROWSER_PREVIEW_CONSOLE_OUTPUT = 71)] = + 'BROWSER_PREVIEW_CONSOLE_OUTPUT'), + (e[(e.WS_SETTINGS_CHANGED_BY_USER = 74)] = 'WS_SETTINGS_CHANGED_BY_USER'), + (e[(e.WS_GENERATE_COMMIT_MESSAGE_CLICKED = 75)] = + 'WS_GENERATE_COMMIT_MESSAGE_CLICKED'), + (e[(e.WS_GENERATE_COMMIT_MESSAGE_ERRORED = 76)] = + 'WS_GENERATE_COMMIT_MESSAGE_ERRORED'), + (e[(e.WS_CLICKED_COMMIT_FROM_SCM_PANEL = 77)] = + 'WS_CLICKED_COMMIT_FROM_SCM_PANEL'), + (e[(e.WS_CANCELED_GENERATE_COMMIT_MESSAGE = 79)] = + 'WS_CANCELED_GENERATE_COMMIT_MESSAGE'), + (e[(e.USING_DEV_EXTENSION = 78)] = 'USING_DEV_EXTENSION'), + (e[(e.WS_APP_DEPLOYMENT_CREATE_PROJECT = 80)] = + 'WS_APP_DEPLOYMENT_CREATE_PROJECT'), + (e[(e.WS_APP_DEPLOYMENT_DEPLOY_PROJECT = 81)] = + 'WS_APP_DEPLOYMENT_DEPLOY_PROJECT'), + (e[(e.CASCADE_OPEN_ACTIVE_CONVERSATION_DROPDOWN = 114)] = + 'CASCADE_OPEN_ACTIVE_CONVERSATION_DROPDOWN'), + (e[(e.CASCADE_SELECT_ACTIVE_CONVERSATION_ON_DROPDOWN = 115)] = + 'CASCADE_SELECT_ACTIVE_CONVERSATION_ON_DROPDOWN'), + (e[(e.CASCADE_NAVIGATE_ACTIVE_CONVERSATION_ON_DROPDOWN = 122)] = + 'CASCADE_NAVIGATE_ACTIVE_CONVERSATION_ON_DROPDOWN'), + (e[(e.CASCADE_SNOOZE_CONVERSATION_ON_DROPDOWN = 123)] = + 'CASCADE_SNOOZE_CONVERSATION_ON_DROPDOWN'), + (e[(e.CASCADE_TOGGLE_NOTIFICATION_ON_DROPDOWN = 124)] = + 'CASCADE_TOGGLE_NOTIFICATION_ON_DROPDOWN'), + (e[(e.CASCADE_SELECT_NOTIFICATION_ON_DROPDOWN = 125)] = + 'CASCADE_SELECT_NOTIFICATION_ON_DROPDOWN'), + (e[(e.CASCADE_NAVIGATE_NOTIFICATION_ON_DROPDOWN = 126)] = + 'CASCADE_NAVIGATE_NOTIFICATION_ON_DROPDOWN'), + (e[(e.CASCADE_DISMISS_NOTIFICATION_ON_DROPDOWN = 127)] = + 'CASCADE_DISMISS_NOTIFICATION_ON_DROPDOWN'), + (e[(e.CASCADE_TRAJECTORY_SHARE_COPY_LINK = 137)] = + 'CASCADE_TRAJECTORY_SHARE_COPY_LINK'), + (e[(e.CASCADE_TRAJECTORY_SHARE_CREATE_LINK = 138)] = + 'CASCADE_TRAJECTORY_SHARE_CREATE_LINK'), + (e[(e.CASCADE_CUSTOMIZATIONS_TAB_CHANGE = 139)] = + 'CASCADE_CUSTOMIZATIONS_TAB_CHANGE'), + (e[(e.CASCADE_WORKFLOW_OPEN = 140)] = 'CASCADE_WORKFLOW_OPEN'), + (e[(e.CASCADE_NEW_WORKFLOW_CLICKED = 141)] = + 'CASCADE_NEW_WORKFLOW_CLICKED'), + (e[(e.CASCADE_NEW_GLOBAL_WORKFLOW_CLICKED = 184)] = + 'CASCADE_NEW_GLOBAL_WORKFLOW_CLICKED'), + (e[(e.CASCADE_WORKFLOW_REFRESH_CLICKED = 142)] = + 'CASCADE_WORKFLOW_REFRESH_CLICKED'), + (e[(e.CASCADE_RULE_OPEN = 143)] = 'CASCADE_RULE_OPEN'), + (e[(e.CASCADE_NEW_RULE_CLICKED = 144)] = 'CASCADE_NEW_RULE_CLICKED'), + (e[(e.CASCADE_NEW_GLOBAL_RULE_CLICKED = 145)] = + 'CASCADE_NEW_GLOBAL_RULE_CLICKED'), + (e[(e.CASCADE_RULE_REFRESH_CLICKED = 146)] = + 'CASCADE_RULE_REFRESH_CLICKED'), + (e[(e.CASCADE_IMPORT_RULES_FROM_CURSOR_CLICKED = 147)] = + 'CASCADE_IMPORT_RULES_FROM_CURSOR_CLICKED'), + (e[(e.WS_IMPORT_CURSOR_RULES_COMMAND_PALETTE = 152)] = + 'WS_IMPORT_CURSOR_RULES_COMMAND_PALETTE'), + (e[(e.CASCADE_CHANGES_ACCEPT_ALL = 83)] = 'CASCADE_CHANGES_ACCEPT_ALL'), + (e[(e.CASCADE_CHANGES_REJECT_ALL = 84)] = 'CASCADE_CHANGES_REJECT_ALL'), + (e[(e.CASCADE_MEMORIES_EDIT = 85)] = 'CASCADE_MEMORIES_EDIT'), + (e[(e.CASCADE_MEMORIES_VIEW = 86)] = 'CASCADE_MEMORIES_VIEW'), + (e[(e.KEYBOARD_SHORTCUT = 136)] = 'KEYBOARD_SHORTCUT'), + (e[(e.CASCADE_INSERT_AT_MENTION = 87)] = 'CASCADE_INSERT_AT_MENTION'), + (e[(e.CASCADE_ERROR_STEP = 120)] = 'CASCADE_ERROR_STEP'), + (e[(e.CASCADE_SUGGESTED_RESPONSES_SUGGESTION_CLICKED = 121)] = + 'CASCADE_SUGGESTED_RESPONSES_SUGGESTION_CLICKED'), + (e[(e.CASCADE_PLUGIN_PANEL_OPENED = 128)] = 'CASCADE_PLUGIN_PANEL_OPENED'), + (e[(e.CASCADE_PLUGIN_PAGE_OPENED = 129)] = 'CASCADE_PLUGIN_PAGE_OPENED'), + (e[(e.CASCADE_PLUGIN_INSTALLED = 130)] = 'CASCADE_PLUGIN_INSTALLED'), + (e[(e.CASCADE_PLUGIN_DISABLED = 131)] = 'CASCADE_PLUGIN_DISABLED'), + (e[(e.CASCADE_PLUGIN_ENABLED = 132)] = 'CASCADE_PLUGIN_ENABLED'), + (e[(e.CASCADE_PLUGIN_INSTALLATION_ERROR = 133)] = + 'CASCADE_PLUGIN_INSTALLATION_ERROR'), + (e[(e.CASCADE_PLUGIN_TOOL_ENABLED = 134)] = 'CASCADE_PLUGIN_TOOL_ENABLED'), + (e[(e.CASCADE_PLUGIN_TOOL_DISABLED = 135)] = + 'CASCADE_PLUGIN_TOOL_DISABLED'), + (e[(e.CASCADE_CUSTOM_MODEL_EVENT = 229)] = 'CASCADE_CUSTOM_MODEL_EVENT'), + (e[(e.WEBSITE_NOT_FOUND_PAGE = 88)] = 'WEBSITE_NOT_FOUND_PAGE'), + (e[(e.WEBSITE_AUTH_REDIRECT_LONG_WAIT = 89)] = + 'WEBSITE_AUTH_REDIRECT_LONG_WAIT'), + (e[(e.WEBSITE_AUTH_REDIRECT_ERROR = 90)] = 'WEBSITE_AUTH_REDIRECT_ERROR'), + (e[(e.WEBSITE_AUTH_REDIRECT_SUCCESS = 112)] = + 'WEBSITE_AUTH_REDIRECT_SUCCESS'), + (e[(e.WEBSITE_PAGE_VISIT = 175)] = 'WEBSITE_PAGE_VISIT'), + (e[(e.WEBSITE_SIGNUP_INFO = 176)] = 'WEBSITE_SIGNUP_INFO'), + (e[(e.WEBSITE_START_PLAN_CHECKOUT = 177)] = 'WEBSITE_START_PLAN_CHECKOUT'), + (e[(e.WEBSITE_START_UPDATE_PAYMENT = 202)] = + 'WEBSITE_START_UPDATE_PAYMENT'), + (e[(e.WEBSITE_START_VIEW_INVOICES = 203)] = 'WEBSITE_START_VIEW_INVOICES'), + (e[(e.WEBSITE_UNIVERSITY_LECTURE_VIEW = 214)] = + 'WEBSITE_UNIVERSITY_LECTURE_VIEW'), + (e[(e.WEBSITE_DISALLOW_ENTERPRISE_LOGIN = 224)] = + 'WEBSITE_DISALLOW_ENTERPRISE_LOGIN'), + (e[(e.WEBSITE_SSO_LOGIN_REDIRECT = 225)] = 'WEBSITE_SSO_LOGIN_REDIRECT'), + (e[(e.WEBSITE_ATTEMPT_TO_LOGIN = 226)] = 'WEBSITE_ATTEMPT_TO_LOGIN'), + (e[(e.WEBSITE_SUCCESSFUL_LOGIN = 227)] = 'WEBSITE_SUCCESSFUL_LOGIN'), + (e[(e.WEBSITE_FAILED_LOGIN = 228)] = 'WEBSITE_FAILED_LOGIN'), + (e[(e.JB_OPEN_PLAN_INFO = 91)] = 'JB_OPEN_PLAN_INFO'), + (e[(e.JB_SNOOZE_PLUGIN = 92)] = 'JB_SNOOZE_PLUGIN'), + (e[(e.JB_TOGGLE_PLUGIN_STATUS = 93)] = 'JB_TOGGLE_PLUGIN_STATUS'), + (e[(e.JB_SWITCH_CHANNEL = 94)] = 'JB_SWITCH_CHANNEL'), + (e[(e.JB_OPEN_SETTINGS = 95)] = 'JB_OPEN_SETTINGS'), + (e[(e.JB_PLUGIN_LOG_IN = 96)] = 'JB_PLUGIN_LOG_IN'), + (e[(e.JB_PLUGIN_LOG_OUT = 97)] = 'JB_PLUGIN_LOG_OUT'), + (e[(e.JB_OPEN_QUICK_REFERENCE = 98)] = 'JB_OPEN_QUICK_REFERENCE'), + (e[(e.JB_EDIT_KEYBOARD_SHORTCUTS = 99)] = 'JB_EDIT_KEYBOARD_SHORTCUTS'), + (e[(e.JB_CASCADE_BAR_CASCADE_ICON = 100)] = 'JB_CASCADE_BAR_CASCADE_ICON'), + (e[(e.JB_CASCADE_BAR_FILE_NAV = 101)] = 'JB_CASCADE_BAR_FILE_NAV'), + (e[(e.JB_CASCADE_BAR_HUNK_NAV = 102)] = 'JB_CASCADE_BAR_HUNK_NAV'), + (e[(e.JB_CASCADE_BAR_ACCEPT_FILE = 103)] = 'JB_CASCADE_BAR_ACCEPT_FILE'), + (e[(e.JB_CASCADE_BAR_REJECT_FILE = 104)] = 'JB_CASCADE_BAR_REJECT_FILE'), + (e[(e.JB_INLAY_HUNK_ACCEPT = 105)] = 'JB_INLAY_HUNK_ACCEPT'), + (e[(e.JB_INLAY_HUNK_REJECT = 106)] = 'JB_INLAY_HUNK_REJECT'), + (e[(e.JB_DIFF_RE_RENDER = 107)] = 'JB_DIFF_RE_RENDER'), + (e[(e.JB_ONBOARDING_OPENED = 108)] = 'JB_ONBOARDING_OPENED'), + (e[(e.JB_ONBOARDING_COMPLETED = 109)] = 'JB_ONBOARDING_COMPLETED'), + (e[(e.JB_ONBOARDING_SKIPPED = 110)] = 'JB_ONBOARDING_SKIPPED'), + (e[(e.JB_ONBOARDING_LEARN_MORE = 111)] = 'JB_ONBOARDING_LEARN_MORE'), + (e[(e.JB_DIFF_RESOLUTION_ERRORED = 116)] = 'JB_DIFF_RESOLUTION_ERRORED'), + (e[(e.JB_ACKNOWLEDGE_CODE_EDIT_ERRORED = 117)] = + 'JB_ACKNOWLEDGE_CODE_EDIT_ERRORED'), + (e[(e.JB_OPEN_SETTINGS_NOTIFICATION = 118)] = + 'JB_OPEN_SETTINGS_NOTIFICATION'), + (e[(e.JB_MCP_ADD_SERVER = 148)] = 'JB_MCP_ADD_SERVER'), + (e[(e.JB_MCP_SAVE_CONFIG = 149)] = 'JB_MCP_SAVE_CONFIG'), + (e[(e.JB_MCP_EXPAND_TOOLS = 150)] = 'JB_MCP_EXPAND_TOOLS'), + (e[(e.JB_DISABLE_AUTOGEN_MEMORY = 151)] = 'JB_DISABLE_AUTOGEN_MEMORY'), + (e[(e.JB_TOGGLE_AUTOCOMPLETE = 154)] = 'JB_TOGGLE_AUTOCOMPLETE'), + (e[(e.JB_LOGIN_MANUAL_AUTH_TOKEN = 174)] = 'JB_LOGIN_MANUAL_AUTH_TOKEN'), + (e[(e.JB_AUTO_UPDATED = 179)] = 'JB_AUTO_UPDATED'), + (e[(e.JB_DRAG_DROP_FILE = 182)] = 'JB_DRAG_DROP_FILE'), + (e[(e.JB_AUTO_OPEN_CHAT_WINDOW = 183)] = 'JB_AUTO_OPEN_CHAT_WINDOW'), + (e[(e.WS_TERMINAL_INTEGRATION_FORCE_EXIT = 155)] = + 'WS_TERMINAL_INTEGRATION_FORCE_EXIT'), + (e[(e.KNOWLEDGE_BASE_ITEM_CREATED = 156)] = 'KNOWLEDGE_BASE_ITEM_CREATED'), + (e[(e.KNOWLEDGE_BASE_ITEM_EDITED = 157)] = 'KNOWLEDGE_BASE_ITEM_EDITED'), + (e[(e.KNOWLEDGE_BASE_ITEM_DELETED = 158)] = 'KNOWLEDGE_BASE_ITEM_DELETED'), + (e[(e.KNOWLEDGE_BASE_ITEM_READ = 159)] = 'KNOWLEDGE_BASE_ITEM_READ'), + (e[(e.KNOWLEDGE_BASE_CONNECTION_CREATE = 160)] = + 'KNOWLEDGE_BASE_CONNECTION_CREATE'), + (e[(e.KNOWLEDGE_BASE_CONNECTION_REMOVE = 161)] = + 'KNOWLEDGE_BASE_CONNECTION_REMOVE'), + (e[(e.TEAM_CONFIG_TOGGLE_AUTO_RUN_COMMANDS = 162)] = + 'TEAM_CONFIG_TOGGLE_AUTO_RUN_COMMANDS'), + (e[(e.TEAM_CONFIG_TOGGLE_MCP_SERVERS = 163)] = + 'TEAM_CONFIG_TOGGLE_MCP_SERVERS'), + (e[(e.TEAM_CONFIG_TOGGLE_APP_DEPLOYMENTS = 164)] = + 'TEAM_CONFIG_TOGGLE_APP_DEPLOYMENTS'), + (e[(e.TEAM_CONFIG_TOGGLE_SANDBOX_APP_DEPLOYMENTS = 165)] = + 'TEAM_CONFIG_TOGGLE_SANDBOX_APP_DEPLOYMENTS'), + (e[(e.TEAM_CONFIG_TOGGLE_TEAMS_APP_DEPLOYMENTS = 166)] = + 'TEAM_CONFIG_TOGGLE_TEAMS_APP_DEPLOYMENTS'), + (e[(e.TEAM_CONFIG_TOGGLE_GITHUB_REVIEWS = 167)] = + 'TEAM_CONFIG_TOGGLE_GITHUB_REVIEWS'), + (e[(e.TEAM_CONFIG_TOGGLE_GITHUB_DESCRIPTION_EDITS = 168)] = + 'TEAM_CONFIG_TOGGLE_GITHUB_DESCRIPTION_EDITS'), + (e[(e.TEAM_CONFIG_TOGGLE_PR_REVIEW_GUIDELINES = 169)] = + 'TEAM_CONFIG_TOGGLE_PR_REVIEW_GUIDELINES'), + (e[(e.TEAM_CONFIG_TOGGLE_PR_DESCRIPTION_GUIDELINES = 170)] = + 'TEAM_CONFIG_TOGGLE_PR_DESCRIPTION_GUIDELINES'), + (e[(e.TEAM_CONFIG_TOGGLE_INDIVIDUAL_LEVEL_ANALYTICS = 171)] = + 'TEAM_CONFIG_TOGGLE_INDIVIDUAL_LEVEL_ANALYTICS'), + (e[(e.TEAM_CONFIG_TOGGLE_CONVERSATION_SHARING = 172)] = + 'TEAM_CONFIG_TOGGLE_CONVERSATION_SHARING'), + (e[(e.TEAM_CONFIG_UPDATE_MCP_SERVERS = 178)] = + 'TEAM_CONFIG_UPDATE_MCP_SERVERS'), + (e[(e.TEAM_CONFIG_TOGGLE_GITHUB_AUTO_REVIEWS = 207)] = + 'TEAM_CONFIG_TOGGLE_GITHUB_AUTO_REVIEWS'), + (e[(e.TEAM_CONFIG_UPDATE_TOP_UP_SETTINGS = 213)] = + 'TEAM_CONFIG_UPDATE_TOP_UP_SETTINGS'), + (e[(e.BROWSER_OPEN = 180)] = 'BROWSER_OPEN'), + (e[(e.CASCADE_WEB_TOOLS_OPEN_BROWSER_MARKDOWN = 181)] = + 'CASCADE_WEB_TOOLS_OPEN_BROWSER_MARKDOWN'), + (e[(e.BROWSER_PAGE_LOAD_SUCCESS = 206)] = 'BROWSER_PAGE_LOAD_SUCCESS'), + (e[(e.BROWSER_TOOLBAR_INSERT_PAGE_MENTION = 208)] = + 'BROWSER_TOOLBAR_INSERT_PAGE_MENTION'), + (e[(e.BROWSER_INSERT_TEXT_CONTENT = 215)] = 'BROWSER_INSERT_TEXT_CONTENT'), + (e[(e.BROWSER_INSERT_SCREENSHOT = 216)] = 'BROWSER_INSERT_SCREENSHOT'), + (e[(e.BROWSER_INSERT_CODE_BLOCK = 217)] = 'BROWSER_INSERT_CODE_BLOCK'), + (e[(e.BROWSER_INSERT_LOG_BLOCK = 218)] = 'BROWSER_INSERT_LOG_BLOCK'), + (e[(e.BROWSER_INSERT_CONSOLE_OUTPUT = 219)] = + 'BROWSER_INSERT_CONSOLE_OUTPUT'), + (e[(e.BROWSER_INSERT_DOM_ELEMENT = 220)] = 'BROWSER_INSERT_DOM_ELEMENT'), + (e[(e.BROWSER_LAUNCH_FAILURE_DIAGNOSTICS = 230)] = + 'BROWSER_LAUNCH_FAILURE_DIAGNOSTICS'), + (e[(e.SUPERCOMPLETE_REQUEST_STARTED = 195)] = + 'SUPERCOMPLETE_REQUEST_STARTED'), + (e[(e.SUPERCOMPLETE_CACHE_HIT = 196)] = 'SUPERCOMPLETE_CACHE_HIT'), + (e[(e.SUPERCOMPLETE_ERROR_GETTING_RESPONSE = 197)] = + 'SUPERCOMPLETE_ERROR_GETTING_RESPONSE'), + (e[(e.SUPERCOMPLETE_NO_RESPONSE = 185)] = 'SUPERCOMPLETE_NO_RESPONSE'), + (e[(e.SUPERCOMPLETE_REQUEST_SUCCEEDED = 186)] = + 'SUPERCOMPLETE_REQUEST_SUCCEEDED'), + (e[(e.SUPERCOMPLETE_FILTERED = 187)] = 'SUPERCOMPLETE_FILTERED'), + (e[(e.TAB_JUMP_REQUEST_STARTED = 188)] = 'TAB_JUMP_REQUEST_STARTED'), + (e[(e.TAB_JUMP_CACHE_HIT = 189)] = 'TAB_JUMP_CACHE_HIT'), + (e[(e.TAB_JUMP_ERROR_GETTING_RESPONSE = 190)] = + 'TAB_JUMP_ERROR_GETTING_RESPONSE'), + (e[(e.TAB_JUMP_NO_RESPONSE = 191)] = 'TAB_JUMP_NO_RESPONSE'), + (e[(e.TAB_JUMP_PROCESSING_COMPLETE = 192)] = + 'TAB_JUMP_PROCESSING_COMPLETE'), + (e[(e.TAB_JUMP_FILTERED = 193)] = 'TAB_JUMP_FILTERED'), + (e[(e.TAB_JUMP_ERROR_UI_RENDERED = 194)] = 'TAB_JUMP_ERROR_UI_RENDERED'), + (e[(e.AUTOCOMPLETE_CHAT_NO_RESPONSE = 221)] = + 'AUTOCOMPLETE_CHAT_NO_RESPONSE'), + (e[(e.AUTOCOMPLETE_CHAT_ERROR_GETTING_RESPONSE = 222)] = + 'AUTOCOMPLETE_CHAT_ERROR_GETTING_RESPONSE'), + (e[(e.AUTOCOMPLETE_CHAT_REQUEST_ACCEPTED = 223)] = + 'AUTOCOMPLETE_CHAT_REQUEST_ACCEPTED')); +})(Rm || (Rm = {})); +a.util.setEnumType(Rm, 'exa.codeium_common_pb.ProductEventType', [ + { no: 0, name: 'EVENT_UNSPECIFIED' }, + { no: 251, name: 'ANTIGRAVITY_EDITOR_READY' }, + { no: 253, name: 'ANTIGRAVITY_EXTENSION_START' }, + { no: 32, name: 'ANTIGRAVITY_EXTENSION_ACTIVATED' }, + { no: 1, name: 'LS_DOWNLOAD_START' }, + { no: 2, name: 'LS_DOWNLOAD_COMPLETE' }, + { no: 5, name: 'LS_DOWNLOAD_FAILURE' }, + { no: 250, name: 'LS_BINARY_STARTUP' }, + { no: 3, name: 'LS_STARTUP' }, + { no: 4, name: 'LS_FAILURE' }, + { no: 6, name: 'AUTOCOMPLETE_ACCEPTED' }, + { no: 7, name: 'AUTOCOMPLETE_ONE_WORD_ACCEPTED' }, + { no: 8, name: 'CHAT_MESSAGE_SENT' }, + { no: 13, name: 'CHAT_MENTION_INSERT' }, + { no: 19, name: 'CHAT_MENTION_MENU_OPEN' }, + { no: 14, name: 'CHAT_OPEN_SETTINGS' }, + { no: 15, name: 'CHAT_OPEN_CONTEXT_SETTINGS' }, + { no: 16, name: 'CHAT_WITH_CODEBASE' }, + { no: 17, name: 'CHAT_NEW_CONVERSATION' }, + { no: 18, name: 'CHAT_CHANGE_MODEL' }, + { no: 34, name: 'CHAT_TOGGLE_FOCUS_INSERT_TEXT' }, + { no: 28, name: 'FUNCTION_REFACTOR' }, + { no: 29, name: 'EXPLAIN_CODE_BLOCK' }, + { no: 30, name: 'FUNCTION_ADD_DOCSTRING' }, + { no: 31, name: 'EXPLAIN_PROBLEM' }, + { no: 9, name: 'COMMAND_BOX_OPENED' }, + { no: 10, name: 'COMMAND_SUBMITTED' }, + { no: 11, name: 'COMMAND_ACCEPTED' }, + { no: 12, name: 'COMMAND_REJECTED' }, + { no: 20, name: 'WS_ONBOARDING_LANDING_PAGE_OPENED' }, + { no: 21, name: 'WS_ONBOARDING_SETUP_PAGE_OPENED' }, + { no: 22, name: 'WS_ONBOARDING_KEYBINDINGS_PAGE_OPENED' }, + { no: 23, name: 'WS_ONBOARDING_MIGRATION_SCOPE_PAGE_OPENED' }, + { no: 24, name: 'WS_ONBOARDING_IMPORT_PAGE_OPENED' }, + { no: 25, name: 'WS_ONBOARDING_AUTH_PAGE_OPENED' }, + { no: 26, name: 'WS_ONBOARDING_AUTH_MANUAL_PAGE_OPENED' }, + { no: 35, name: 'WS_ONBOARDING_CHOOSE_THEME_PAGE_OPENED' }, + { no: 231, name: 'AGY_ONBOARDING_TERMS_OF_USE_PAGE_OPENED' }, + { no: 232, name: 'AGY_ONBOARDING_AGENT_CONFIG_PAGE_OPENED' }, + { no: 233, name: 'AGY_ONBOARDING_USAGE_MODE_PAGE_OPENED' }, + { no: 234, name: 'AGY_ONBOARDING_INSTALL_EXTENSIONS' }, + { no: 27, name: 'WS_ONBOARDING_COMPLETED' }, + { no: 69, name: 'WS_SKIPPED_ONBOARDING' }, + { no: 72, name: 'WS_SETTINGS_PAGE_OPEN' }, + { no: 73, name: 'WS_SETTINGS_PAGE_OPEN_WITH_SETTING_FOCUS' }, + { no: 209, name: 'EMPTY_WORKSPACE_PAGE_OPENED' }, + { no: 210, name: 'EMPTY_WORKSPACE_PAGE_RECENT_FOLDERS_CLICKED' }, + { no: 211, name: 'EMPTY_WORKSPACE_PAGE_OPEN_FOLDER_CLICKED' }, + { no: 212, name: 'EMPTY_WORKSPACE_PAGE_GENERATE_PROJECT_CLICKED' }, + { no: 33, name: 'PROVIDE_FEEDBACK' }, + { no: 36, name: 'CASCADE_MESSAGE_SENT' }, + { no: 38, name: 'WS_OPEN_CASCADE_MEMORIES_PANEL' }, + { no: 41, name: 'PROVIDE_MESSAGE_FEEDBACK' }, + { no: 42, name: 'CASCADE_MEMORY_DELETED' }, + { no: 43, name: 'CASCADE_STEP_COMPLETED' }, + { no: 44, name: 'ACKNOWLEDGE_CASCADE_CODE_EDIT' }, + { no: 45, name: 'CASCADE_WEB_TOOLS_OPEN_READ_URL_MARKDOWN' }, + { no: 46, name: 'CASCADE_WEB_TOOLS_OPEN_CHUNK_MARKDOWN' }, + { no: 64, name: 'CASCADE_MCP_SERVER_INIT' }, + { no: 113, name: 'CASCADE_KNOWLEDGE_BASE_ITEM_OPENED' }, + { no: 119, name: 'CASCADE_VIEW_LOADED' }, + { no: 173, name: 'CASCADE_CONTEXT_SCOPE_ITEM_ATTACHED' }, + { no: 65, name: 'CASCADE_CLICK_EVENT' }, + { no: 67, name: 'CASCADE_IMPRESSION_EVENT' }, + { no: 37, name: 'OPEN_CHANGELOG' }, + { no: 39, name: 'CURSOR_DETECTED' }, + { no: 40, name: 'VSCODE_DETECTED' }, + { no: 153, name: 'JETBRAINS_DETECTED' }, + { no: 47, name: 'CROSS_SELL_EXTENSION_DOWNLOAD_ANTIGRAVITY_CLICK' }, + { + no: 48, + name: 'CROSS_SELL_EXTENSION_DOWNLOAD_ANTIGRAVITY_NUDGE_IMPRESSION', + }, + { no: 49, name: 'WS_PROBLEMS_TAB_SEND_ALL_TO_CASCADE' }, + { no: 50, name: 'WS_PROBLEMS_TAB_SEND_ALL_IN_FILE_TO_CASCADE' }, + { no: 51, name: 'WS_CASCADE_BAR_FILE_NAV' }, + { no: 52, name: 'WS_CASCADE_BAR_HUNK_NAV' }, + { no: 53, name: 'WS_CASCADE_BAR_ACCEPT_FILE' }, + { no: 54, name: 'WS_CASCADE_BAR_REJECT_FILE' }, + { no: 55, name: 'WS_CUSTOM_APP_ICON_MODAL_OPEN' }, + { no: 56, name: 'WS_CUSTOM_APP_ICON_SELECT_CLASSIC' }, + { no: 57, name: 'WS_CUSTOM_APP_ICON_SELECT_CLASSIC_LIGHT' }, + { no: 58, name: 'WS_CUSTOM_APP_ICON_SELECT_RETRO' }, + { no: 59, name: 'WS_CUSTOM_APP_ICON_SELECT_BLUEPRINT' }, + { no: 60, name: 'WS_CUSTOM_APP_ICON_SELECT_HAND_DRAWN' }, + { no: 61, name: 'WS_CUSTOM_APP_ICON_SELECT_SUNSET' }, + { no: 66, name: 'WS_CUSTOM_APP_ICON_SELECT_VALENTINE' }, + { no: 82, name: 'WS_CUSTOM_APP_ICON_SELECT_PIXEL_SURF' }, + { no: 63, name: 'ENTERED_MCP_TOOLBAR_TAB' }, + { no: 62, name: 'CLICKED_TO_CONFIGURE_MCP' }, + { no: 68, name: 'WS_SETTINGS_UPDATED' }, + { no: 70, name: 'BROWSER_PREVIEW_DOM_ELEMENT' }, + { no: 71, name: 'BROWSER_PREVIEW_CONSOLE_OUTPUT' }, + { no: 74, name: 'WS_SETTINGS_CHANGED_BY_USER' }, + { no: 75, name: 'WS_GENERATE_COMMIT_MESSAGE_CLICKED' }, + { no: 76, name: 'WS_GENERATE_COMMIT_MESSAGE_ERRORED' }, + { no: 77, name: 'WS_CLICKED_COMMIT_FROM_SCM_PANEL' }, + { no: 79, name: 'WS_CANCELED_GENERATE_COMMIT_MESSAGE' }, + { no: 78, name: 'USING_DEV_EXTENSION' }, + { no: 80, name: 'WS_APP_DEPLOYMENT_CREATE_PROJECT' }, + { no: 81, name: 'WS_APP_DEPLOYMENT_DEPLOY_PROJECT' }, + { no: 114, name: 'CASCADE_OPEN_ACTIVE_CONVERSATION_DROPDOWN' }, + { no: 115, name: 'CASCADE_SELECT_ACTIVE_CONVERSATION_ON_DROPDOWN' }, + { no: 122, name: 'CASCADE_NAVIGATE_ACTIVE_CONVERSATION_ON_DROPDOWN' }, + { no: 123, name: 'CASCADE_SNOOZE_CONVERSATION_ON_DROPDOWN' }, + { no: 124, name: 'CASCADE_TOGGLE_NOTIFICATION_ON_DROPDOWN' }, + { no: 125, name: 'CASCADE_SELECT_NOTIFICATION_ON_DROPDOWN' }, + { no: 126, name: 'CASCADE_NAVIGATE_NOTIFICATION_ON_DROPDOWN' }, + { no: 127, name: 'CASCADE_DISMISS_NOTIFICATION_ON_DROPDOWN' }, + { no: 137, name: 'CASCADE_TRAJECTORY_SHARE_COPY_LINK' }, + { no: 138, name: 'CASCADE_TRAJECTORY_SHARE_CREATE_LINK' }, + { no: 139, name: 'CASCADE_CUSTOMIZATIONS_TAB_CHANGE' }, + { no: 140, name: 'CASCADE_WORKFLOW_OPEN' }, + { no: 141, name: 'CASCADE_NEW_WORKFLOW_CLICKED' }, + { no: 184, name: 'CASCADE_NEW_GLOBAL_WORKFLOW_CLICKED' }, + { no: 142, name: 'CASCADE_WORKFLOW_REFRESH_CLICKED' }, + { no: 143, name: 'CASCADE_RULE_OPEN' }, + { no: 144, name: 'CASCADE_NEW_RULE_CLICKED' }, + { no: 145, name: 'CASCADE_NEW_GLOBAL_RULE_CLICKED' }, + { no: 146, name: 'CASCADE_RULE_REFRESH_CLICKED' }, + { no: 147, name: 'CASCADE_IMPORT_RULES_FROM_CURSOR_CLICKED' }, + { no: 152, name: 'WS_IMPORT_CURSOR_RULES_COMMAND_PALETTE' }, + { no: 83, name: 'CASCADE_CHANGES_ACCEPT_ALL' }, + { no: 84, name: 'CASCADE_CHANGES_REJECT_ALL' }, + { no: 85, name: 'CASCADE_MEMORIES_EDIT' }, + { no: 86, name: 'CASCADE_MEMORIES_VIEW' }, + { no: 136, name: 'KEYBOARD_SHORTCUT' }, + { no: 87, name: 'CASCADE_INSERT_AT_MENTION' }, + { no: 120, name: 'CASCADE_ERROR_STEP' }, + { no: 121, name: 'CASCADE_SUGGESTED_RESPONSES_SUGGESTION_CLICKED' }, + { no: 128, name: 'CASCADE_PLUGIN_PANEL_OPENED' }, + { no: 129, name: 'CASCADE_PLUGIN_PAGE_OPENED' }, + { no: 130, name: 'CASCADE_PLUGIN_INSTALLED' }, + { no: 131, name: 'CASCADE_PLUGIN_DISABLED' }, + { no: 132, name: 'CASCADE_PLUGIN_ENABLED' }, + { no: 133, name: 'CASCADE_PLUGIN_INSTALLATION_ERROR' }, + { no: 134, name: 'CASCADE_PLUGIN_TOOL_ENABLED' }, + { no: 135, name: 'CASCADE_PLUGIN_TOOL_DISABLED' }, + { no: 229, name: 'CASCADE_CUSTOM_MODEL_EVENT' }, + { no: 88, name: 'WEBSITE_NOT_FOUND_PAGE' }, + { no: 89, name: 'WEBSITE_AUTH_REDIRECT_LONG_WAIT' }, + { no: 90, name: 'WEBSITE_AUTH_REDIRECT_ERROR' }, + { no: 112, name: 'WEBSITE_AUTH_REDIRECT_SUCCESS' }, + { no: 175, name: 'WEBSITE_PAGE_VISIT' }, + { no: 176, name: 'WEBSITE_SIGNUP_INFO' }, + { no: 177, name: 'WEBSITE_START_PLAN_CHECKOUT' }, + { no: 202, name: 'WEBSITE_START_UPDATE_PAYMENT' }, + { no: 203, name: 'WEBSITE_START_VIEW_INVOICES' }, + { no: 214, name: 'WEBSITE_UNIVERSITY_LECTURE_VIEW' }, + { no: 224, name: 'WEBSITE_DISALLOW_ENTERPRISE_LOGIN' }, + { no: 225, name: 'WEBSITE_SSO_LOGIN_REDIRECT' }, + { no: 226, name: 'WEBSITE_ATTEMPT_TO_LOGIN' }, + { no: 227, name: 'WEBSITE_SUCCESSFUL_LOGIN' }, + { no: 228, name: 'WEBSITE_FAILED_LOGIN' }, + { no: 91, name: 'JB_OPEN_PLAN_INFO' }, + { no: 92, name: 'JB_SNOOZE_PLUGIN' }, + { no: 93, name: 'JB_TOGGLE_PLUGIN_STATUS' }, + { no: 94, name: 'JB_SWITCH_CHANNEL' }, + { no: 95, name: 'JB_OPEN_SETTINGS' }, + { no: 96, name: 'JB_PLUGIN_LOG_IN' }, + { no: 97, name: 'JB_PLUGIN_LOG_OUT' }, + { no: 98, name: 'JB_OPEN_QUICK_REFERENCE' }, + { no: 99, name: 'JB_EDIT_KEYBOARD_SHORTCUTS' }, + { no: 100, name: 'JB_CASCADE_BAR_CASCADE_ICON' }, + { no: 101, name: 'JB_CASCADE_BAR_FILE_NAV' }, + { no: 102, name: 'JB_CASCADE_BAR_HUNK_NAV' }, + { no: 103, name: 'JB_CASCADE_BAR_ACCEPT_FILE' }, + { no: 104, name: 'JB_CASCADE_BAR_REJECT_FILE' }, + { no: 105, name: 'JB_INLAY_HUNK_ACCEPT' }, + { no: 106, name: 'JB_INLAY_HUNK_REJECT' }, + { no: 107, name: 'JB_DIFF_RE_RENDER' }, + { no: 108, name: 'JB_ONBOARDING_OPENED' }, + { no: 109, name: 'JB_ONBOARDING_COMPLETED' }, + { no: 110, name: 'JB_ONBOARDING_SKIPPED' }, + { no: 111, name: 'JB_ONBOARDING_LEARN_MORE' }, + { no: 116, name: 'JB_DIFF_RESOLUTION_ERRORED' }, + { no: 117, name: 'JB_ACKNOWLEDGE_CODE_EDIT_ERRORED' }, + { no: 118, name: 'JB_OPEN_SETTINGS_NOTIFICATION' }, + { no: 148, name: 'JB_MCP_ADD_SERVER' }, + { no: 149, name: 'JB_MCP_SAVE_CONFIG' }, + { no: 150, name: 'JB_MCP_EXPAND_TOOLS' }, + { no: 151, name: 'JB_DISABLE_AUTOGEN_MEMORY' }, + { no: 154, name: 'JB_TOGGLE_AUTOCOMPLETE' }, + { no: 174, name: 'JB_LOGIN_MANUAL_AUTH_TOKEN' }, + { no: 179, name: 'JB_AUTO_UPDATED' }, + { no: 182, name: 'JB_DRAG_DROP_FILE' }, + { no: 183, name: 'JB_AUTO_OPEN_CHAT_WINDOW' }, + { no: 155, name: 'WS_TERMINAL_INTEGRATION_FORCE_EXIT' }, + { no: 156, name: 'KNOWLEDGE_BASE_ITEM_CREATED' }, + { no: 157, name: 'KNOWLEDGE_BASE_ITEM_EDITED' }, + { no: 158, name: 'KNOWLEDGE_BASE_ITEM_DELETED' }, + { no: 159, name: 'KNOWLEDGE_BASE_ITEM_READ' }, + { no: 160, name: 'KNOWLEDGE_BASE_CONNECTION_CREATE' }, + { no: 161, name: 'KNOWLEDGE_BASE_CONNECTION_REMOVE' }, + { no: 162, name: 'TEAM_CONFIG_TOGGLE_AUTO_RUN_COMMANDS' }, + { no: 163, name: 'TEAM_CONFIG_TOGGLE_MCP_SERVERS' }, + { no: 164, name: 'TEAM_CONFIG_TOGGLE_APP_DEPLOYMENTS' }, + { no: 165, name: 'TEAM_CONFIG_TOGGLE_SANDBOX_APP_DEPLOYMENTS' }, + { no: 166, name: 'TEAM_CONFIG_TOGGLE_TEAMS_APP_DEPLOYMENTS' }, + { no: 167, name: 'TEAM_CONFIG_TOGGLE_GITHUB_REVIEWS' }, + { no: 168, name: 'TEAM_CONFIG_TOGGLE_GITHUB_DESCRIPTION_EDITS' }, + { no: 169, name: 'TEAM_CONFIG_TOGGLE_PR_REVIEW_GUIDELINES' }, + { no: 170, name: 'TEAM_CONFIG_TOGGLE_PR_DESCRIPTION_GUIDELINES' }, + { no: 171, name: 'TEAM_CONFIG_TOGGLE_INDIVIDUAL_LEVEL_ANALYTICS' }, + { no: 172, name: 'TEAM_CONFIG_TOGGLE_CONVERSATION_SHARING' }, + { no: 178, name: 'TEAM_CONFIG_UPDATE_MCP_SERVERS' }, + { no: 207, name: 'TEAM_CONFIG_TOGGLE_GITHUB_AUTO_REVIEWS' }, + { no: 213, name: 'TEAM_CONFIG_UPDATE_TOP_UP_SETTINGS' }, + { no: 180, name: 'BROWSER_OPEN' }, + { no: 181, name: 'CASCADE_WEB_TOOLS_OPEN_BROWSER_MARKDOWN' }, + { no: 206, name: 'BROWSER_PAGE_LOAD_SUCCESS' }, + { no: 208, name: 'BROWSER_TOOLBAR_INSERT_PAGE_MENTION' }, + { no: 215, name: 'BROWSER_INSERT_TEXT_CONTENT' }, + { no: 216, name: 'BROWSER_INSERT_SCREENSHOT' }, + { no: 217, name: 'BROWSER_INSERT_CODE_BLOCK' }, + { no: 218, name: 'BROWSER_INSERT_LOG_BLOCK' }, + { no: 219, name: 'BROWSER_INSERT_CONSOLE_OUTPUT' }, + { no: 220, name: 'BROWSER_INSERT_DOM_ELEMENT' }, + { no: 230, name: 'BROWSER_LAUNCH_FAILURE_DIAGNOSTICS' }, + { no: 195, name: 'SUPERCOMPLETE_REQUEST_STARTED' }, + { no: 196, name: 'SUPERCOMPLETE_CACHE_HIT' }, + { no: 197, name: 'SUPERCOMPLETE_ERROR_GETTING_RESPONSE' }, + { no: 185, name: 'SUPERCOMPLETE_NO_RESPONSE' }, + { no: 186, name: 'SUPERCOMPLETE_REQUEST_SUCCEEDED' }, + { no: 187, name: 'SUPERCOMPLETE_FILTERED' }, + { no: 188, name: 'TAB_JUMP_REQUEST_STARTED' }, + { no: 189, name: 'TAB_JUMP_CACHE_HIT' }, + { no: 190, name: 'TAB_JUMP_ERROR_GETTING_RESPONSE' }, + { no: 191, name: 'TAB_JUMP_NO_RESPONSE' }, + { no: 192, name: 'TAB_JUMP_PROCESSING_COMPLETE' }, + { no: 193, name: 'TAB_JUMP_FILTERED' }, + { no: 194, name: 'TAB_JUMP_ERROR_UI_RENDERED' }, + { no: 221, name: 'AUTOCOMPLETE_CHAT_NO_RESPONSE' }, + { no: 222, name: 'AUTOCOMPLETE_CHAT_ERROR_GETTING_RESPONSE' }, + { no: 223, name: 'AUTOCOMPLETE_CHAT_REQUEST_ACCEPTED' }, +]); +var _n; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.GITHUB_BASE = 1)] = 'GITHUB_BASE'), + (e[(e.SLACK_BASE = 2)] = 'SLACK_BASE'), + (e[(e.SLACK_AGGREGATE = 3)] = 'SLACK_AGGREGATE'), + (e[(e.GOOGLE_DRIVE_BASE = 4)] = 'GOOGLE_DRIVE_BASE'), + (e[(e.JIRA_BASE = 5)] = 'JIRA_BASE'), + (e[(e.SCM = 6)] = 'SCM')); +})(_n || (_n = {})); +a.util.setEnumType(_n, 'exa.codeium_common_pb.IndexChoice', [ + { no: 0, name: 'INDEX_CHOICE_UNSPECIFIED' }, + { no: 1, name: 'INDEX_CHOICE_GITHUB_BASE' }, + { no: 2, name: 'INDEX_CHOICE_SLACK_BASE' }, + { no: 3, name: 'INDEX_CHOICE_SLACK_AGGREGATE' }, + { no: 4, name: 'INDEX_CHOICE_GOOGLE_DRIVE_BASE' }, + { no: 5, name: 'INDEX_CHOICE_JIRA_BASE' }, + { no: 6, name: 'INDEX_CHOICE_SCM' }, +]); +var It; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.HEADER_1 = 1)] = 'HEADER_1'), + (e[(e.HEADER_2 = 2)] = 'HEADER_2'), + (e[(e.HEADER_3 = 3)] = 'HEADER_3'), + (e[(e.HEADER_4 = 4)] = 'HEADER_4'), + (e[(e.HEADER_5 = 5)] = 'HEADER_5'), + (e[(e.HEADER_6 = 6)] = 'HEADER_6')); +})(It || (It = {})); +a.util.setEnumType(It, 'exa.codeium_common_pb.MarkdownNodeType', [ + { no: 0, name: 'MARKDOWN_NODE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'MARKDOWN_NODE_TYPE_HEADER_1' }, + { no: 2, name: 'MARKDOWN_NODE_TYPE_HEADER_2' }, + { no: 3, name: 'MARKDOWN_NODE_TYPE_HEADER_3' }, + { no: 4, name: 'MARKDOWN_NODE_TYPE_HEADER_4' }, + { no: 5, name: 'MARKDOWN_NODE_TYPE_HEADER_5' }, + { no: 6, name: 'MARKDOWN_NODE_TYPE_HEADER_6' }, +]); +var gn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.USER = 1)] = 'USER'), + (e[(e.CASCADE = 2)] = 'CASCADE')); +})(gn || (gn = {})); +a.util.setEnumType(gn, 'exa.codeium_common_pb.TerminalShellCommandSource', [ + { no: 0, name: 'TERMINAL_SHELL_COMMAND_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'TERMINAL_SHELL_COMMAND_SOURCE_USER' }, + { no: 2, name: 'TERMINAL_SHELL_COMMAND_SOURCE_CASCADE' }, +]); +var pt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.RUNNING = 1)] = 'RUNNING'), + (e[(e.COMPLETED = 2)] = 'COMPLETED')); +})(pt || (pt = {})); +a.util.setEnumType(pt, 'exa.codeium_common_pb.TerminalShellCommandStatus', [ + { no: 0, name: 'TERMINAL_SHELL_COMMAND_STATUS_UNSPECIFIED' }, + { no: 1, name: 'TERMINAL_SHELL_COMMAND_STATUS_RUNNING' }, + { no: 2, name: 'TERMINAL_SHELL_COMMAND_STATUS_COMPLETED' }, +]); +var zn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.QUEUED = 1)] = 'QUEUED'), + (e[(e.INITIALIZING = 2)] = 'INITIALIZING'), + (e[(e.BUILDING = 3)] = 'BUILDING'), + (e[(e.ERROR = 4)] = 'ERROR'), + (e[(e.READY = 5)] = 'READY'), + (e[(e.CANCELED = 6)] = 'CANCELED')); +})(zn || (zn = {})); +a.util.setEnumType(zn, 'exa.codeium_common_pb.DeploymentBuildStatus', [ + { no: 0, name: 'DEPLOYMENT_BUILD_STATUS_UNSPECIFIED' }, + { no: 1, name: 'DEPLOYMENT_BUILD_STATUS_QUEUED' }, + { no: 2, name: 'DEPLOYMENT_BUILD_STATUS_INITIALIZING' }, + { no: 3, name: 'DEPLOYMENT_BUILD_STATUS_BUILDING' }, + { no: 4, name: 'DEPLOYMENT_BUILD_STATUS_ERROR' }, + { no: 5, name: 'DEPLOYMENT_BUILD_STATUS_READY' }, + { no: 6, name: 'DEPLOYMENT_BUILD_STATUS_CANCELED' }, +]); +var $; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.VERCEL = 1)] = 'VERCEL'), + (e[(e.NETLIFY = 2)] = 'NETLIFY'), + (e[(e.CLOUDFLARE = 3)] = 'CLOUDFLARE')); +})($ || ($ = {})); +a.util.setEnumType($, 'exa.codeium_common_pb.DeploymentProvider', [ + { no: 0, name: 'DEPLOYMENT_PROVIDER_UNSPECIFIED' }, + { no: 1, name: 'DEPLOYMENT_PROVIDER_VERCEL' }, + { no: 2, name: 'DEPLOYMENT_PROVIDER_NETLIFY' }, + { no: 3, name: 'DEPLOYMENT_PROVIDER_CLOUDFLARE' }, +]); +var Lm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.AVAILABLE = 1)] = 'AVAILABLE'), + (e[(e.IN_USE = 2)] = 'IN_USE'), + (e[(e.TAKEN = 3)] = 'TAKEN'), + (e[(e.INVALID = 4)] = 'INVALID')); +})(Lm || (Lm = {})); +a.util.setEnumType(Lm, 'exa.codeium_common_pb.ValidationStatus', [ + { no: 0, name: 'VALIDATION_STATUS_UNSPECIFIED' }, + { no: 1, name: 'VALIDATION_STATUS_AVAILABLE' }, + { no: 2, name: 'VALIDATION_STATUS_IN_USE' }, + { no: 3, name: 'VALIDATION_STATUS_TAKEN' }, + { no: 4, name: 'VALIDATION_STATUS_INVALID' }, +]); +var Ot; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.LLAMA_2 = 1)] = 'LLAMA_2'), + (e[(e.LLAMA_3 = 2)] = 'LLAMA_3'), + (e[(e.CHATML = 3)] = 'CHATML'), + (e[(e.CHAT_TRANSCRIPT = 4)] = 'CHAT_TRANSCRIPT'), + (e[(e.DEEPSEEK_V2 = 5)] = 'DEEPSEEK_V2'), + (e[(e.DEEPSEEK_V3 = 6)] = 'DEEPSEEK_V3')); +})(Ot || (Ot = {})); +a.util.setEnumType(Ot, 'exa.codeium_common_pb.PromptTemplaterType', [ + { no: 0, name: 'PROMPT_TEMPLATER_TYPE_UNSPECIFIED' }, + { no: 1, name: 'PROMPT_TEMPLATER_TYPE_LLAMA_2' }, + { no: 2, name: 'PROMPT_TEMPLATER_TYPE_LLAMA_3' }, + { no: 3, name: 'PROMPT_TEMPLATER_TYPE_CHATML' }, + { no: 4, name: 'PROMPT_TEMPLATER_TYPE_CHAT_TRANSCRIPT' }, + { no: 5, name: 'PROMPT_TEMPLATER_TYPE_DEEPSEEK_V2' }, + { no: 6, name: 'PROMPT_TEMPLATER_TYPE_DEEPSEEK_V3' }, +]); +var At; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.LLAMA_3 = 1)] = 'LLAMA_3'), + (e[(e.HERMES = 2)] = 'HERMES'), + (e[(e.XML = 3)] = 'XML'), + (e[(e.CHAT_TRANSCRIPT = 4)] = 'CHAT_TRANSCRIPT'), + (e[(e.NONE = 5)] = 'NONE')); +})(At || (At = {})); +a.util.setEnumType(At, 'exa.codeium_common_pb.ToolFormatterType', [ + { no: 0, name: 'TOOL_FORMATTER_TYPE_UNSPECIFIED' }, + { no: 1, name: 'TOOL_FORMATTER_TYPE_LLAMA_3' }, + { no: 2, name: 'TOOL_FORMATTER_TYPE_HERMES' }, + { no: 3, name: 'TOOL_FORMATTER_TYPE_XML' }, + { no: 4, name: 'TOOL_FORMATTER_TYPE_CHAT_TRANSCRIPT' }, + { no: 5, name: 'TOOL_FORMATTER_TYPE_NONE' }, +]); +var Pm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.NOT_INSTALLED = 1)] = 'NOT_INSTALLED'), + (e[(e.IN_PROGRESS = 2)] = 'IN_PROGRESS'), + (e[(e.COMPLETE = 3)] = 'COMPLETE'), + (e[(e.ERROR = 4)] = 'ERROR')); +})(Pm || (Pm = {})); +a.util.setEnumType(Pm, 'exa.codeium_common_pb.BrowserInstallationStatus', [ + { no: 0, name: 'BROWSER_INSTALLATION_STATUS_UNSPECIFIED' }, + { no: 1, name: 'BROWSER_INSTALLATION_STATUS_NOT_INSTALLED' }, + { no: 2, name: 'BROWSER_INSTALLATION_STATUS_IN_PROGRESS' }, + { no: 3, name: 'BROWSER_INSTALLATION_STATUS_COMPLETE' }, + { no: 4, name: 'BROWSER_INSTALLATION_STATUS_ERROR' }, +]); +var Ct; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.LOWER = 1)] = 'LOWER'), + (e[(e.HIGHER = 2)] = 'HIGHER')); +})(Ct || (Ct = {})); +a.util.setEnumType(Ct, 'exa.codeium_common_pb.BetterDirection', [ + { no: 0, name: 'BETTER_DIRECTION_UNSPECIFIED' }, + { no: 1, name: 'BETTER_DIRECTION_LOWER' }, + { no: 2, name: 'BETTER_DIRECTION_HIGHER' }, +]); +var Rt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.EXECUTION_SEGMENT = 1)] = 'EXECUTION_SEGMENT'), + (e[(e.TRAJECTORY = 2)] = 'TRAJECTORY')); +})(Rt || (Rt = {})); +a.util.setEnumType(Rt, 'exa.codeium_common_pb.MetricsScope', [ + { no: 0, name: 'METRICS_SCOPE_UNSPECIFIED' }, + { no: 1, name: 'METRICS_SCOPE_EXECUTION_SEGMENT' }, + { no: 2, name: 'METRICS_SCOPE_TRAJECTORY' }, +]); +var Dm; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CASCADE = 1)] = 'CASCADE'), + (e[(e.MAINLINE_TRAJECTORY = 2)] = 'MAINLINE_TRAJECTORY')); +})(Dm || (Dm = {})); +a.util.setEnumType(Dm, 'exa.codeium_common_pb.TrajectoryType', [ + { no: 0, name: 'TRAJECTORY_TYPE_UNSPECIFIED' }, + { no: 1, name: 'TRAJECTORY_TYPE_CASCADE' }, + { no: 2, name: 'TRAJECTORY_TYPE_MAINLINE_TRAJECTORY' }, +]); +var jn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.RULE = 1)] = 'RULE'), + (e[(e.WORKFLOW = 2)] = 'WORKFLOW'), + (e[(e.SKILL = 3)] = 'SKILL')); +})(jn || (jn = {})); +a.util.setEnumType(jn, 'exa.codeium_common_pb.RefreshCustomizationType', [ + { no: 0, name: 'REFRESH_CUSTOMIZATION_TYPE_UNSPECIFIED' }, + { no: 1, name: 'REFRESH_CUSTOMIZATION_TYPE_RULE' }, + { no: 2, name: 'REFRESH_CUSTOMIZATION_TYPE_WORKFLOW' }, + { no: 3, name: 'REFRESH_CUSTOMIZATION_TYPE_SKILL' }, +]); +var Lt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), (e[(e.GEMINI = 2)] = 'GEMINI')); +})(Lt || (Lt = {})); +a.util.setEnumType(Lt, 'exa.codeium_common_pb.ThirdPartyWebSearchProvider', [ + { no: 0, name: 'THIRD_PARTY_WEB_SEARCH_PROVIDER_UNSPECIFIED' }, + { no: 2, name: 'THIRD_PARTY_WEB_SEARCH_PROVIDER_GEMINI' }, +]); +var km; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.O3 = 1)] = 'O3'), + (e[(e.GPT_4_1 = 2)] = 'GPT_4_1'), + (e[(e.O4_MINI = 3)] = 'O4_MINI')); +})(km || (km = {})); +a.util.setEnumType(km, 'exa.codeium_common_pb.ThirdPartyWebSearchModel', [ + { no: 0, name: 'THIRD_PARTY_WEB_SEARCH_MODEL_UNSPECIFIED' }, + { no: 1, name: 'THIRD_PARTY_WEB_SEARCH_MODEL_O3' }, + { no: 2, name: 'THIRD_PARTY_WEB_SEARCH_MODEL_GPT_4_1' }, + { no: 3, name: 'THIRD_PARTY_WEB_SEARCH_MODEL_O4_MINI' }, +]); +var Pt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.READY = 1)] = 'READY'), + (e[(e.LOADING = 2)] = 'LOADING'), + (e[(e.ERROR = 3)] = 'ERROR')); +})(Pt || (Pt = {})); +a.util.setEnumType(Pt, 'exa.codeium_common_pb.WorkingDirectoryStatus', [ + { no: 0, name: 'WORKING_DIRECTORY_STATUS_UNSPECIFIED' }, + { no: 1, name: 'WORKING_DIRECTORY_STATUS_READY' }, + { no: 2, name: 'WORKING_DIRECTORY_STATUS_LOADING' }, + { no: 3, name: 'WORKING_DIRECTORY_STATUS_ERROR' }, +]); +var Dt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.APPROVED = 1)] = 'APPROVED'), + (e[(e.REQUESTED_CHANGES = 2)] = 'REQUESTED_CHANGES')); +})(Dt || (Dt = {})); +a.util.setEnumType(Dt, 'exa.codeium_common_pb.ArtifactApprovalStatus', [ + { no: 0, name: 'ARTIFACT_APPROVAL_STATUS_UNSPECIFIED' }, + { no: 1, name: 'ARTIFACT_APPROVAL_STATUS_APPROVED' }, + { no: 2, name: 'ARTIFACT_APPROVAL_STATUS_REQUESTED_CHANGES' }, +]); +var kt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.IMPLEMENTATION_PLAN = 1)] = 'IMPLEMENTATION_PLAN'), + (e[(e.WALKTHROUGH = 2)] = 'WALKTHROUGH'), + (e[(e.TASK = 3)] = 'TASK'), + (e[(e.OTHER = 4)] = 'OTHER')); +})(kt || (kt = {})); +a.util.setEnumType(kt, 'exa.codeium_common_pb.ArtifactType', [ + { no: 0, name: 'ARTIFACT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'ARTIFACT_TYPE_IMPLEMENTATION_PLAN' }, + { no: 2, name: 'ARTIFACT_TYPE_WALKTHROUGH' }, + { no: 3, name: 'ARTIFACT_TYPE_TASK' }, + { no: 4, name: 'ARTIFACT_TYPE_OTHER' }, +]); +var Qn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.DISABLED = 1)] = 'DISABLED'), + (e[(e.MODEL_DECIDES = 2)] = 'MODEL_DECIDES'), + (e[(e.ENABLED = 3)] = 'ENABLED')); +})(Qn || (Qn = {})); +a.util.setEnumType(Qn, 'exa.codeium_common_pb.BrowserJsAutoRunPolicy', [ + { no: 0, name: 'BROWSER_JS_AUTO_RUN_POLICY_UNSPECIFIED' }, + { no: 1, name: 'BROWSER_JS_AUTO_RUN_POLICY_DISABLED' }, + { no: 2, name: 'BROWSER_JS_AUTO_RUN_POLICY_MODEL_DECIDES' }, + { no: 3, name: 'BROWSER_JS_AUTO_RUN_POLICY_ENABLED' }, +]); +var gm = class e extends r { + configuration; + prompt = ''; + serializedPrompt = ''; + contextPrompt = ''; + uid = ''; + promptElementRanges = []; + promptElementKindInfos = []; + promptLatencyMs = o.zero; + promptStageLatencies = []; + numTokenizedBytes = o.zero; + editorLanguage = ''; + language = O.UNSPECIFIED; + absolutePathUriForTelemetry = ''; + relativePathForTelemetry = ''; + workspaceUriForTelemetry = ''; + experimentFeaturesJson = ''; + experimentVariantJson = ''; + model = f.UNSPECIFIED; + hasLineSuffix = !1; + shouldInlineFim = !1; + repository; + modelTag = ''; + experimentTags = []; + evalSuffix = ''; + promptAnnotationRanges = []; + supportsPackedStreamingCompletionMaps = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'configuration', kind: 'message', T: gt }, + { no: 2, name: 'prompt', kind: 'scalar', T: 9 }, + { no: 26, name: 'serialized_prompt', kind: 'scalar', T: 9 }, + { no: 21, name: 'context_prompt', kind: 'scalar', T: 9 }, + { no: 25, name: 'uid', kind: 'scalar', T: 9 }, + { + no: 8, + name: 'prompt_element_ranges', + kind: 'message', + T: wm, + repeated: !0, + }, + { + no: 9, + name: 'prompt_element_kind_infos', + kind: 'message', + T: Jm, + repeated: !0, + }, + { no: 11, name: 'prompt_latency_ms', kind: 'scalar', T: 4 }, + { + no: 12, + name: 'prompt_stage_latencies', + kind: 'message', + T: xm, + repeated: !0, + }, + { no: 20, name: 'num_tokenized_bytes', kind: 'scalar', T: 4 }, + { no: 3, name: 'editor_language', kind: 'scalar', T: 9 }, + { no: 4, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 5, name: 'absolute_path_uri_for_telemetry', kind: 'scalar', T: 9 }, + { no: 6, name: 'relative_path_for_telemetry', kind: 'scalar', T: 9 }, + { no: 13, name: 'workspace_uri_for_telemetry', kind: 'scalar', T: 9 }, + { no: 7, name: 'experiment_features_json', kind: 'scalar', T: 9 }, + { no: 19, name: 'experiment_variant_json', kind: 'scalar', T: 9 }, + { no: 10, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + { no: 14, name: 'has_line_suffix', kind: 'scalar', T: 8 }, + { no: 15, name: 'should_inline_fim', kind: 'scalar', T: 8 }, + { no: 16, name: 'repository', kind: 'message', T: Bt }, + { no: 17, name: 'model_tag', kind: 'scalar', T: 9 }, + { no: 18, name: 'experiment_tags', kind: 'scalar', T: 9, repeated: !0 }, + { no: 22, name: 'eval_suffix', kind: 'scalar', T: 9 }, + { + no: 23, + name: 'prompt_annotation_ranges', + kind: 'message', + T: wt, + repeated: !0, + }, + { + no: 24, + name: 'supports_packed_streaming_completion_maps', + kind: 'scalar', + T: 8, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gt = class e extends r { + numCompletions = o.zero; + maxTokens = o.zero; + maxNewlines = o.zero; + minLogProbability = 0; + temperature = 0; + firstTemperature = 0; + topK = o.zero; + topP = 0; + stopPatterns = []; + seed = o.zero; + fimEotProbThreshold = 0; + useFimEotThreshold = !1; + doNotScoreStopTokens = !1; + sqrtLenNormalizedLogProbScore = !1; + lastMessageIsPartial = !1; + returnLogprob = !1; + disableParallelToolCalls = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionConfiguration'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'num_completions', kind: 'scalar', T: 4 }, + { no: 2, name: 'max_tokens', kind: 'scalar', T: 4 }, + { no: 3, name: 'max_newlines', kind: 'scalar', T: 4 }, + { no: 4, name: 'min_log_probability', kind: 'scalar', T: 1 }, + { no: 5, name: 'temperature', kind: 'scalar', T: 1 }, + { no: 6, name: 'first_temperature', kind: 'scalar', T: 1 }, + { no: 7, name: 'top_k', kind: 'scalar', T: 4 }, + { no: 8, name: 'top_p', kind: 'scalar', T: 1 }, + { no: 9, name: 'stop_patterns', kind: 'scalar', T: 9, repeated: !0 }, + { no: 10, name: 'seed', kind: 'scalar', T: 4 }, + { no: 11, name: 'fim_eot_prob_threshold', kind: 'scalar', T: 1 }, + { no: 12, name: 'use_fim_eot_threshold', kind: 'scalar', T: 8 }, + { no: 13, name: 'do_not_score_stop_tokens', kind: 'scalar', T: 8 }, + { + no: 14, + name: 'sqrt_len_normalized_log_prob_score', + kind: 'scalar', + T: 8, + }, + { no: 15, name: 'last_message_is_partial', kind: 'scalar', T: 8 }, + { no: 16, name: 'return_logprob', kind: 'scalar', T: 8 }, + { no: 17, name: 'disable_parallel_tool_calls', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wm = class e extends r { + kind = Ln.UNSPECIFIED; + byteOffsetStart = o.zero; + byteOffsetEnd = o.zero; + tokenOffsetStart = o.zero; + tokenOffsetEnd = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PromptElementRange'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'kind', kind: 'enum', T: a.getEnumType(Ln) }, + { no: 2, name: 'byte_offset_start', kind: 'scalar', T: 4 }, + { no: 3, name: 'byte_offset_end', kind: 'scalar', T: 4 }, + { no: 4, name: 'token_offset_start', kind: 'scalar', T: 4 }, + { no: 5, name: 'token_offset_end', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + WT = class e extends r { + cortexPlanId = ''; + codePlanId = ''; + actionIndex = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ActionPointer'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cortex_plan_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'code_plan_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'action_index', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wt = class e extends r { + kind = Me.UNSPECIFIED; + byteOffsetStart = o.zero; + byteOffsetEnd = o.zero; + suffix = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PromptAnnotationRange'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'kind', kind: 'enum', T: a.getEnumType(Me) }, + { no: 2, name: 'byte_offset_start', kind: 'scalar', T: 4 }, + { no: 3, name: 'byte_offset_end', kind: 'scalar', T: 4 }, + { no: 4, name: 'suffix', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wr = class e extends r { + key = B.UNSPECIFIED; + keyString = ''; + disabled = !1; + payload = { case: void 0 }; + source = ye.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ExperimentWithVariant'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'key', kind: 'enum', T: a.getEnumType(B) }, + { no: 5, name: 'key_string', kind: 'scalar', T: 9 }, + { no: 6, name: 'disabled', kind: 'scalar', T: 8 }, + { no: 2, name: 'string', kind: 'scalar', T: 9, oneof: 'payload' }, + { no: 3, name: 'json', kind: 'scalar', T: 9, oneof: 'payload' }, + { no: 4, name: 'csv', kind: 'scalar', T: 9, oneof: 'payload' }, + { no: 7, name: 'source', kind: 'enum', T: a.getEnumType(ye) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zn = class e extends r { + experiments = []; + forceEnableExperiments = []; + forceDisableExperiments = []; + forceEnableExperimentsWithVariants = []; + forceEnableExperimentStrings = []; + forceDisableExperimentStrings = []; + devMode = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ExperimentConfig'; + static fields = a.util.newFieldList(() => [ + { no: 6, name: 'experiments', kind: 'message', T: wr, repeated: !0 }, + { + no: 1, + name: 'force_enable_experiments', + kind: 'enum', + T: a.getEnumType(B), + repeated: !0, + }, + { + no: 2, + name: 'force_disable_experiments', + kind: 'enum', + T: a.getEnumType(B), + repeated: !0, + }, + { + no: 3, + name: 'force_enable_experiments_with_variants', + kind: 'message', + T: wr, + repeated: !0, + }, + { + no: 4, + name: 'force_enable_experiment_strings', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 5, + name: 'force_disable_experiment_strings', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 7, name: 'dev_mode', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + VT = class e extends r { + sha = ''; + crc32cLinuxX64 = ''; + crc32cLinuxArm = ''; + crc32cMacosX64 = ''; + crc32cMacosArm = ''; + crc32cWindowsX64 = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.codeium_common_pb.ExperimentLanguageServerVersionPayload'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'sha', kind: 'scalar', T: 9 }, + { no: 2, name: 'crc32c_linux_x64', kind: 'scalar', T: 9 }, + { no: 3, name: 'crc32c_linux_arm', kind: 'scalar', T: 9 }, + { no: 4, name: 'crc32c_macos_x64', kind: 'scalar', T: 9 }, + { no: 5, name: 'crc32c_macos_arm', kind: 'scalar', T: 9 }, + { no: 6, name: 'crc32c_windows_x64', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + XT = class e extends r { + modelName = ''; + contextCheckModelName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ExperimentModelConfigPayload'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'context_check_model_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + KT = class e extends r { + modeToken = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ExperimentMiddleModeTokenPayload'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'mode_token', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vT = class e extends r { + threshold = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.codeium_common_pb.ExperimentMultilineModelThresholdPayload'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'threshold', kind: 'scalar', T: 2 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zT = class e extends r { + sampleRate = 0; + procedureToSampleRate = {}; + errorMatchToSampleRate = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ExperimentSentryPayload'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'sample_rate', kind: 'scalar', T: 1 }, + { + no: 3, + name: 'procedure_to_sample_rate', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 1 }, + }, + { + no: 5, + name: 'error_match_to_sample_rate', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 1 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jT = class e extends r { + teamId = ''; + cascadeModelLabels = []; + commandModelLabels = []; + createdAt; + updatedAt; + extensionModelLabels = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TeamOrganizationalControls'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'team_id', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'cascade_model_labels', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 3, + name: 'command_model_labels', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 4, name: 'created_at', kind: 'message', T: _ }, + { no: 5, name: 'updated_at', kind: 'message', T: _ }, + { + no: 6, + name: 'extension_model_labels', + kind: 'scalar', + T: 9, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + QT = class e extends r { + memoryUsageToSampleRate = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.codeium_common_pb.ExperimentProfilingTelemetrySampleRatePayload'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'memory_usage_to_sample_rate', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 1 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nn = class e extends r { + choice = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ModelOrAlias'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'model', + kind: 'enum', + T: a.getEnumType(f), + oneof: 'choice', + }, + { + no: 2, + name: 'alias', + kind: 'enum', + T: a.getEnumType(Rr), + oneof: 'choice', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Jm = class e extends r { + kind = Ln.UNSPECIFIED; + experimentKey = B.UNSPECIFIED; + enabled = !1; + numConsidered = o.zero; + numIncluded = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PromptElementKindInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'kind', kind: 'enum', T: a.getEnumType(Ln) }, + { no: 2, name: 'experiment_key', kind: 'enum', T: a.getEnumType(B) }, + { no: 3, name: 'enabled', kind: 'scalar', T: 8 }, + { no: 4, name: 'num_considered', kind: 'scalar', T: 4 }, + { no: 5, name: 'num_included', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ZT = class e extends r { + included = !1; + exclusionReason = he.EXCLUSION_UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PromptElementInclusionMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'included', kind: 'scalar', T: 8 }, + { no: 2, name: 'exclusion_reason', kind: 'enum', T: a.getEnumType(he) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xm = class e extends r { + name = ''; + latencyMs = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PromptStageLatency'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'latency_ms', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $T = class e extends r { + completions = []; + maxTokens = o.zero; + temperature = 0; + topK = o.zero; + topP = 0; + stopPatterns = []; + promptLength = o.zero; + promptId = ''; + modelTag = ''; + completionProfile; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'completions', kind: 'message', T: Jt, repeated: !0 }, + { no: 2, name: 'max_tokens', kind: 'scalar', T: 4 }, + { no: 3, name: 'temperature', kind: 'scalar', T: 1 }, + { no: 4, name: 'top_k', kind: 'scalar', T: 4 }, + { no: 5, name: 'top_p', kind: 'scalar', T: 1 }, + { no: 6, name: 'stop_patterns', kind: 'scalar', T: 9, repeated: !0 }, + { no: 7, name: 'prompt_length', kind: 'scalar', T: 4 }, + { no: 8, name: 'prompt_id', kind: 'scalar', T: 9 }, + { no: 10, name: 'model_tag', kind: 'scalar', T: 9 }, + { no: 11, name: 'completion_profile', kind: 'message', T: xt, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Jt = class e extends r { + completionId = ''; + text = ''; + stop = ''; + score = 0; + tokens = []; + decodedTokens = []; + probabilities = []; + adjustedProbabilities = []; + logprobs = []; + generatedLength = o.zero; + stopReason = F.UNSPECIFIED; + filterReasons = []; + originalText = ''; + toolCalls = []; + traceId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Completion'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'completion_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'text', kind: 'scalar', T: 9 }, + { no: 4, name: 'stop', kind: 'scalar', T: 9 }, + { no: 5, name: 'score', kind: 'scalar', T: 1 }, + { no: 6, name: 'tokens', kind: 'scalar', T: 4, repeated: !0 }, + { no: 7, name: 'decoded_tokens', kind: 'scalar', T: 9, repeated: !0 }, + { no: 8, name: 'probabilities', kind: 'scalar', T: 1, repeated: !0 }, + { + no: 9, + name: 'adjusted_probabilities', + kind: 'scalar', + T: 1, + repeated: !0, + }, + { no: 16, name: 'logprobs', kind: 'scalar', T: 1, repeated: !0 }, + { no: 10, name: 'generated_length', kind: 'scalar', T: 4 }, + { no: 12, name: 'stop_reason', kind: 'enum', T: a.getEnumType(F) }, + { + no: 13, + name: 'filter_reasons', + kind: 'enum', + T: a.getEnumType(Lr), + repeated: !0, + }, + { no: 14, name: 'original_text', kind: 'scalar', T: 9 }, + { no: 15, name: 'tool_calls', kind: 'message', T: x, repeated: !0 }, + { no: 17, name: 'trace_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Um = class e extends r { + completionIds = []; + maxTokens = o.zero; + temperature = 0; + topK = o.zero; + topP = 0; + stopPatterns = []; + promptLength = o.zero; + promptId = ''; + modelTag = ''; + completionsRequest; + evalSuffixInfo; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.StreamingCompletionInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'completion_ids', kind: 'scalar', T: 9, repeated: !0 }, + { no: 2, name: 'max_tokens', kind: 'scalar', T: 4 }, + { no: 3, name: 'temperature', kind: 'scalar', T: 1 }, + { no: 4, name: 'top_k', kind: 'scalar', T: 4 }, + { no: 5, name: 'top_p', kind: 'scalar', T: 1 }, + { no: 6, name: 'stop_patterns', kind: 'scalar', T: 9, repeated: !0 }, + { no: 7, name: 'prompt_length', kind: 'scalar', T: 4 }, + { no: 9, name: 'prompt_id', kind: 'scalar', T: 9 }, + { no: 8, name: 'model_tag', kind: 'scalar', T: 9 }, + { no: 10, name: 'completions_request', kind: 'message', T: gm }, + { no: 11, name: 'eval_suffix_info', kind: 'message', T: Mm }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Jr = class e extends r { + totalPrefillPassTime = 0; + avgPrefillPassTime = 0; + numPrefillPasses = o.zero; + totalSpecCopyPassTime = 0; + avgSpecCopyPassTime = 0; + numSpecCopyPasses = o.zero; + totalGenerationPassTime = 0; + avgGenerationPassTime = 0; + numGenerationPasses = o.zero; + totalModelTime = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.SingleModelCompletionProfile'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'total_prefill_pass_time', kind: 'scalar', T: 1 }, + { no: 2, name: 'avg_prefill_pass_time', kind: 'scalar', T: 1 }, + { no: 3, name: 'num_prefill_passes', kind: 'scalar', T: 4 }, + { no: 7, name: 'total_spec_copy_pass_time', kind: 'scalar', T: 1 }, + { no: 8, name: 'avg_spec_copy_pass_time', kind: 'scalar', T: 1 }, + { no: 9, name: 'num_spec_copy_passes', kind: 'scalar', T: 4 }, + { no: 4, name: 'total_generation_pass_time', kind: 'scalar', T: 1 }, + { no: 5, name: 'avg_generation_pass_time', kind: 'scalar', T: 1 }, + { no: 6, name: 'num_generation_passes', kind: 'scalar', T: 4 }, + { no: 10, name: 'total_model_time', kind: 'scalar', T: 1 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xt = class e extends r { + modelProfile; + draftModelProfile; + timeToFirstPrefillPass = 0; + timeToFirstToken = 0; + totalCompletionTime = 0; + modelUsage; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionProfile'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model_profile', kind: 'message', T: Jr }, + { no: 2, name: 'draft_model_profile', kind: 'message', T: Jr, opt: !0 }, + { no: 3, name: 'time_to_first_prefill_pass', kind: 'scalar', T: 1 }, + { no: 4, name: 'time_to_first_token', kind: 'scalar', T: 1 }, + { no: 5, name: 'total_completion_time', kind: 'scalar', T: 1 }, + { no: 6, name: 'model_usage', kind: 'message', T: fn, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bm = class e extends r { + decodedToken = new Uint8Array(0); + token = o.zero; + probability = 0; + adjustedProbability = 0; + logprob = 0; + completionFinished = !1; + stop = ''; + stopReason = F.UNSPECIFIED; + attributionStatuses = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.StreamingCompletion'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'decoded_token', kind: 'scalar', T: 12 }, + { no: 2, name: 'token', kind: 'scalar', T: 4 }, + { no: 3, name: 'probability', kind: 'scalar', T: 1 }, + { no: 4, name: 'adjusted_probability', kind: 'scalar', T: 1 }, + { no: 9, name: 'logprob', kind: 'scalar', T: 1 }, + { no: 5, name: 'completion_finished', kind: 'scalar', T: 8 }, + { no: 6, name: 'stop', kind: 'scalar', T: 9 }, + { no: 7, name: 'stop_reason', kind: 'enum', T: a.getEnumType(F) }, + { + no: 8, + name: 'attribution_statuses', + kind: 'map', + K: 13, + V: { kind: 'enum', T: a.getEnumType(Pr) }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xr = class e extends r { + completions = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.StreamingCompletionMap'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'completions', + kind: 'map', + K: 5, + V: { kind: 'message', T: Bm }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fm = class e extends r { + completionMaps = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PackedStreamingCompletionMaps'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'completion_maps', kind: 'message', T: xr, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Mm = class e extends r { + perTokenLogLikelihoods = []; + isGreedy = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.StreamingEvalSuffixInfo'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'per_token_log_likelihoods', + kind: 'scalar', + T: 2, + repeated: !0, + }, + { no: 2, name: 'is_greedy', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nf = class e extends r { + payload = { case: void 0 }; + completionProfile; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.StreamingCompletionResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'completion_info', + kind: 'message', + T: Um, + oneof: 'payload', + }, + { + no: 2, + name: 'completion_map', + kind: 'message', + T: xr, + oneof: 'payload', + }, + { + no: 4, + name: 'packed_completion_maps', + kind: 'message', + T: Fm, + oneof: 'payload', + }, + { no: 5, name: 'completion_profile', kind: 'message', T: xt, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ym = class e extends r { + apiServerLatencyMs = o.zero; + languageServerLatencyMs = o.zero; + networkLatencyMs = o.zero; + apiServerFirstByteLatencyMs = o.zero; + languageServerFirstByteLatencyMs = o.zero; + networkFirstByteLatencyMs = o.zero; + apiServerFirstLineLatencyMs = o.zero; + languageServerFirstLineLatencyMs = o.zero; + networkFirstLineLatencyMs = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionLatencyInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'api_server_latency_ms', kind: 'scalar', T: 4 }, + { no: 2, name: 'language_server_latency_ms', kind: 'scalar', T: 4 }, + { no: 3, name: 'network_latency_ms', kind: 'scalar', T: 4 }, + { no: 4, name: 'api_server_first_byte_latency_ms', kind: 'scalar', T: 4 }, + { + no: 5, + name: 'language_server_first_byte_latency_ms', + kind: 'scalar', + T: 4, + }, + { no: 6, name: 'network_first_byte_latency_ms', kind: 'scalar', T: 4 }, + { no: 7, name: 'api_server_first_line_latency_ms', kind: 'scalar', T: 4 }, + { + no: 8, + name: 'language_server_first_line_latency_ms', + kind: 'scalar', + T: 4, + }, + { no: 9, name: 'network_first_line_latency_ms', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ef = class e extends r { + completion; + latencyInfo; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionWithLatencyInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'completion', kind: 'message', T: Jt }, + { no: 2, name: 'latency_info', kind: 'message', T: ym }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + tf = class e extends r { + prompts = []; + priority = Ge.UNSPECIFIED; + prefix = be.UNSPECIFIED; + model = f.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.EmbeddingsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'prompts', kind: 'scalar', T: 9, repeated: !0 }, + { no: 2, name: 'priority', kind: 'enum', T: a.getEnumType(Ge) }, + { no: 3, name: 'prefix', kind: 'enum', T: a.getEnumType(be) }, + { no: 4, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + en = class e extends r { + values = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Embedding'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'values', kind: 'scalar', T: 2, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + af = class e extends r { + embeddings = []; + promptsExceededContextLength = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.EmbeddingResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'embeddings', kind: 'message', T: en, repeated: !0 }, + { no: 2, name: 'prompts_exceeded_context_length', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rf = class e extends r { + prefix = ''; + items = []; + hasInstructTokens = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.RewardsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'prefix', kind: 'scalar', T: 9 }, + { no: 3, name: 'items', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'has_instruct_tokens', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sf = class e extends r { + values = []; + promptsExceededContextLength = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.RewardsResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'values', kind: 'scalar', T: 2, repeated: !0 }, + { no: 2, name: 'prompts_exceeded_context_length', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + w = class e extends r { + ideName = ''; + ideVersion = ''; + extensionName = ''; + extensionVersion = ''; + extensionPath = ''; + locale = ''; + os = ''; + hardware = ''; + sessionId = ''; + deviceFingerprint = ''; + userTierId = ''; + lsTimestamp; + triggerId = ''; + id = ''; + apiKey = ''; + disableTelemetry = !1; + userTags = []; + regionCode = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Metadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'ide_name', kind: 'scalar', T: 9 }, + { no: 7, name: 'ide_version', kind: 'scalar', T: 9 }, + { no: 12, name: 'extension_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'extension_version', kind: 'scalar', T: 9 }, + { no: 17, name: 'extension_path', kind: 'scalar', T: 9 }, + { no: 4, name: 'locale', kind: 'scalar', T: 9 }, + { no: 5, name: 'os', kind: 'scalar', T: 9 }, + { no: 8, name: 'hardware', kind: 'scalar', T: 9 }, + { no: 10, name: 'session_id', kind: 'scalar', T: 9 }, + { no: 24, name: 'device_fingerprint', kind: 'scalar', T: 9 }, + { no: 29, name: 'user_tier_id', kind: 'scalar', T: 9 }, + { no: 16, name: 'ls_timestamp', kind: 'message', T: _ }, + { no: 25, name: 'trigger_id', kind: 'scalar', T: 9 }, + { no: 27, name: 'id', kind: 'scalar', T: 9 }, + { no: 3, name: 'api_key', kind: 'scalar', T: 9 }, + { no: 6, name: 'disable_telemetry', kind: 'scalar', T: 8 }, + { no: 18, name: 'user_tags', kind: 'scalar', T: 9, repeated: !0 }, + { no: 30, name: 'region_code', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + of = class e extends r { + tabSize = o.zero; + insertSpaces = !1; + disableAutocompleteInComments = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.EditorOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'tab_size', kind: 'scalar', T: 4 }, + { no: 2, name: 'insert_spaces', kind: 'scalar', T: 8 }, + { no: 3, name: 'disable_autocomplete_in_comments', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hm = class e extends r { + errorId = ''; + timestampUnixMs = o.zero; + stacktrace = ''; + recovered = !1; + fullStderr = ''; + ideName = ''; + ideVersion = ''; + os = ''; + isDev = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ErrorTrace'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'error_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'timestamp_unix_ms', kind: 'scalar', T: 3 }, + { no: 3, name: 'stacktrace', kind: 'scalar', T: 9 }, + { no: 4, name: 'recovered', kind: 'scalar', T: 8 }, + { no: 5, name: 'full_stderr', kind: 'scalar', T: 9 }, + { no: 6, name: 'ide_name', kind: 'scalar', T: 9 }, + { no: 7, name: 'ide_version', kind: 'scalar', T: 9 }, + { no: 8, name: 'os', kind: 'scalar', T: 9 }, + { no: 9, name: 'is_dev', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mf = class e extends r { + eventType = He.UNSPECIFIED; + eventJson = ''; + timestampUnixMs = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Event'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'event_type', kind: 'enum', T: a.getEnumType(He) }, + { no: 2, name: 'event_json', kind: 'scalar', T: 9 }, + { no: 3, name: 'timestamp_unix_ms', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ur = class e extends r { + startIndex = 0; + endIndex = 0; + uri = ''; + title = ''; + license = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Citation'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'start_index', kind: 'scalar', T: 5 }, + { no: 2, name: 'end_index', kind: 'scalar', T: 5 }, + { no: 3, name: 'uri', kind: 'scalar', T: 9 }, + { no: 4, name: 'title', kind: 'scalar', T: 9 }, + { no: 5, name: 'license', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gm = class e extends r { + citations = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CitationMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'citations', kind: 'message', T: Ur, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bm = class e extends r { + citation; + content = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Recitation'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'citation', kind: 'message', T: Ur }, + { no: 2, name: 'content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Br = class e extends r { + recitations = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.RecitationMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'recitations', kind: 'message', T: bm, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cf = class e extends r { + searchId = ''; + resultId = ''; + absolutePath = ''; + workspacePaths = []; + text = ''; + embeddingMetadata; + similarityScore = 0; + numResultsInCluster = o.zero; + representativePath = ''; + meanSimilarityScore = 0; + searchResultType = Ye.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.SearchResultRecord'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'search_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'result_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'absolute_path', kind: 'scalar', T: 9 }, + { no: 4, name: 'workspace_paths', kind: 'message', T: wn, repeated: !0 }, + { no: 5, name: 'text', kind: 'scalar', T: 9 }, + { no: 6, name: 'embedding_metadata', kind: 'message', T: qm }, + { no: 7, name: 'similarity_score', kind: 'scalar', T: 2 }, + { no: 8, name: 'num_results_in_cluster', kind: 'scalar', T: 3 }, + { no: 9, name: 'representative_path', kind: 'scalar', T: 9 }, + { no: 10, name: 'mean_similarity_score', kind: 'scalar', T: 2 }, + { + no: 11, + name: 'search_result_type', + kind: 'enum', + T: a.getEnumType(Ye), + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wn = class e extends r { + workspaceMigrateMeToUri = ''; + workspaceUri = ''; + relativePath = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.WorkspacePath'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workspace_migrate_me_to_uri', kind: 'scalar', T: 9 }, + { no: 3, name: 'workspace_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'relative_path', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qm = class e extends r { + nodeName = ''; + startLine = 0; + endLine = 0; + embedType = We.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.EmbeddingMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'node_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'start_line', kind: 'scalar', T: 13 }, + { no: 3, name: 'end_line', kind: 'scalar', T: 13 }, + { no: 4, name: 'embed_type', kind: 'enum', T: a.getEnumType(We) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + uf = class e extends r { + completions = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.MockResponseData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'completions', kind: 'message', T: Jt, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + lf = class e extends r { + workspaceUriForTelemetry = ''; + indexingStart; + indexingEnd; + embeddingDuration; + numFilesTotal = o.zero; + numFilesToEmbed = o.zero; + numNodesTotal = o.zero; + numNodesToEmbed = o.zero; + numTokens = o.zero; + numHighPriorityNodesToEmbed = o.zero; + error = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.WorkspaceIndexData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workspace_uri_for_telemetry', kind: 'scalar', T: 9 }, + { no: 2, name: 'indexing_start', kind: 'message', T: _ }, + { no: 3, name: 'indexing_end', kind: 'message', T: _ }, + { no: 4, name: 'embedding_duration', kind: 'message', T: k }, + { no: 5, name: 'num_files_total', kind: 'scalar', T: 3 }, + { no: 6, name: 'num_files_to_embed', kind: 'scalar', T: 3 }, + { no: 7, name: 'num_nodes_total', kind: 'scalar', T: 3 }, + { no: 8, name: 'num_nodes_to_embed', kind: 'scalar', T: 3 }, + { no: 9, name: 'num_tokens', kind: 'scalar', T: 3 }, + { + no: 10, + name: 'num_high_priority_nodes_to_embed', + kind: 'scalar', + T: 3, + }, + { no: 11, name: 'error', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fr = class e extends r { + workspace = ''; + numFiles = {}; + numBytes = {}; + initialScanCompleted = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.WorkspaceStats'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'workspace', kind: 'scalar', T: 9 }, + { + no: 1, + name: 'num_files', + kind: 'map', + K: 5, + V: { kind: 'scalar', T: 3 }, + }, + { + no: 2, + name: 'num_bytes', + kind: 'map', + K: 5, + V: { kind: 'scalar', T: 3 }, + }, + { no: 4, name: 'initial_scan_completed', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ef = class e extends r { + numTotalFiles = 0; + numIndexedFiles = 0; + cutoffTimestamp; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PartialIndexMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'num_total_files', kind: 'scalar', T: 13 }, + { no: 2, name: 'num_indexed_files', kind: 'scalar', T: 13 }, + { no: 3, name: 'cutoff_timestamp', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Hm = class e extends r { + rawSource = ''; + cleanFunction = ''; + docstring = ''; + nodeName = ''; + params = ''; + definitionLine = 0; + startLine = 0; + endLine = 0; + startCol = 0; + endCol = 0; + leadingWhitespace = ''; + language = O.UNSPECIFIED; + bodyStartLine = 0; + bodyStartCol = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.FunctionInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'raw_source', kind: 'scalar', T: 9 }, + { no: 2, name: 'clean_function', kind: 'scalar', T: 9 }, + { no: 3, name: 'docstring', kind: 'scalar', T: 9 }, + { no: 4, name: 'node_name', kind: 'scalar', T: 9 }, + { no: 5, name: 'params', kind: 'scalar', T: 9 }, + { no: 6, name: 'definition_line', kind: 'scalar', T: 5 }, + { no: 7, name: 'start_line', kind: 'scalar', T: 5 }, + { no: 8, name: 'end_line', kind: 'scalar', T: 5 }, + { no: 9, name: 'start_col', kind: 'scalar', T: 5 }, + { no: 10, name: 'end_col', kind: 'scalar', T: 5 }, + { no: 11, name: 'leading_whitespace', kind: 'scalar', T: 9 }, + { no: 12, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 13, name: 'body_start_line', kind: 'scalar', T: 5 }, + { no: 14, name: 'body_start_col', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _f = class e extends r { + rawSource = ''; + startLine = 0; + endLine = 0; + startCol = 0; + endCol = 0; + leadingWhitespace = ''; + fieldsAndConstructors = []; + docstring = ''; + nodeName = ''; + methods = []; + nodeLineage = []; + isExported = !1; + language = O.UNSPECIFIED; + definitionLine = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ClassInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'raw_source', kind: 'scalar', T: 9 }, + { no: 2, name: 'start_line', kind: 'scalar', T: 5 }, + { no: 3, name: 'end_line', kind: 'scalar', T: 5 }, + { no: 4, name: 'start_col', kind: 'scalar', T: 5 }, + { no: 5, name: 'end_col', kind: 'scalar', T: 5 }, + { no: 6, name: 'leading_whitespace', kind: 'scalar', T: 9 }, + { + no: 7, + name: 'fields_and_constructors', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 8, name: 'docstring', kind: 'scalar', T: 9 }, + { no: 9, name: 'node_name', kind: 'scalar', T: 9 }, + { no: 10, name: 'methods', kind: 'message', T: Hm, repeated: !0 }, + { no: 11, name: 'node_lineage', kind: 'scalar', T: 9, repeated: !0 }, + { no: 12, name: 'is_exported', kind: 'scalar', T: 8 }, + { no: 13, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 14, name: 'definition_line', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ym = class e extends r { + isActive = !1; + stripeSubscriptionId = ''; + hasAccess = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TeamsFeaturesMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'is_active', kind: 'scalar', T: 8 }, + { no: 2, name: 'stripe_subscription_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'has_access', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wm = class e extends r { + remainingFraction = 0; + resetTime; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.QuotaInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'remaining_fraction', kind: 'scalar', T: 2 }, + { no: 2, name: 'reset_time', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Mr = class e extends r { + label = ''; + modelOrAlias; + creditMultiplier = 0; + pricingType = Ke.UNSPECIFIED; + disabled = !1; + supportsImages = !1; + supportsLegacy = !1; + isPremium = !1; + betaWarningMessage = ''; + isBeta = !1; + provider = Xe.UNSPECIFIED; + isRecommended = !1; + allowedTiers = []; + description = ''; + quotaInfo; + tagTitle = ''; + tagDescription = ''; + supportedMimeTypes = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ClientModelConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'label', kind: 'scalar', T: 9 }, + { no: 2, name: 'model_or_alias', kind: 'message', T: nn }, + { no: 3, name: 'credit_multiplier', kind: 'scalar', T: 2 }, + { no: 13, name: 'pricing_type', kind: 'enum', T: a.getEnumType(Ke) }, + { no: 4, name: 'disabled', kind: 'scalar', T: 8 }, + { no: 5, name: 'supports_images', kind: 'scalar', T: 8 }, + { no: 6, name: 'supports_legacy', kind: 'scalar', T: 8 }, + { no: 7, name: 'is_premium', kind: 'scalar', T: 8 }, + { no: 8, name: 'beta_warning_message', kind: 'scalar', T: 9 }, + { no: 9, name: 'is_beta', kind: 'scalar', T: 8 }, + { no: 10, name: 'provider', kind: 'enum', T: a.getEnumType(Xe) }, + { no: 11, name: 'is_recommended', kind: 'scalar', T: 8 }, + { + no: 12, + name: 'allowed_tiers', + kind: 'enum', + T: a.getEnumType(Kn), + repeated: !0, + }, + { no: 14, name: 'description', kind: 'scalar', T: 9 }, + { no: 15, name: 'quota_info', kind: 'message', T: Wm }, + { no: 16, name: 'tag_title', kind: 'scalar', T: 9 }, + { no: 17, name: 'tag_description', kind: 'scalar', T: 9 }, + { + no: 18, + name: 'supported_mime_types', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 8 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Vm = class e extends r { + modelOrAlias; + versionId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DefaultOverrideModelConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model_or_alias', kind: 'message', T: nn }, + { no: 2, name: 'version_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yr = class e extends r { + name = ''; + groups = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ClientModelSort'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'groups', kind: 'message', T: Xm, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Xm = class e extends r { + groupName = ''; + modelLabels = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ClientModelGroup'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'group_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'model_labels', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Km = class e extends r { + clientModelConfigs = []; + clientModelSorts = []; + defaultOverrideModelConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CascadeModelConfigData'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'client_model_configs', + kind: 'message', + T: Mr, + repeated: !0, + }, + { + no: 2, + name: 'client_model_sorts', + kind: 'message', + T: yr, + repeated: !0, + }, + { + no: 3, + name: 'default_override_model_config', + kind: 'message', + T: Vm, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vm = class e extends r { + modelOrAlias; + creditMultiplier = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.AllowedModelConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model_or_alias', kind: 'message', T: nn }, + { no: 2, name: 'credit_multiplier', kind: 'scalar', T: 2 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hr = class e extends r { + teamsTier = Kn.UNSPECIFIED; + planName = ''; + hasAutocompleteFastMode = !1; + allowStickyPremiumModels = !1; + hasForgeAccess = !1; + disableCodeSnippetTelemetry = !1; + allowPremiumCommandModels = !1; + hasTabToJump = !1; + maxNumPremiumChatMessages = o.zero; + maxNumChatInputTokens = o.zero; + maxCustomChatInstructionCharacters = o.zero; + maxNumPinnedContextItems = o.zero; + maxLocalIndexSize = o.zero; + maxUnclaimedSites = 0; + monthlyPromptCredits = 0; + monthlyFlowCredits = 0; + monthlyFlexCreditPurchaseAmount = 0; + isTeams = !1; + isEnterprise = !1; + canBuyMoreCredits = !1; + cascadeWebSearchEnabled = !1; + canCustomizeAppIcon = !1; + cascadeCanAutoRunCommands = !1; + canGenerateCommitMessages = !1; + knowledgeBaseEnabled = !1; + cascadeAllowedModelsConfig = []; + defaultTeamConfig; + canShareConversations = !1; + canAllowCascadeInBackground = !1; + defaultTeamFeatures = {}; + browserEnabled = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PlanInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'teams_tier', kind: 'enum', T: a.getEnumType(Kn) }, + { no: 2, name: 'plan_name', kind: 'scalar', T: 9 }, + { no: 3, name: 'has_autocomplete_fast_mode', kind: 'scalar', T: 8 }, + { no: 4, name: 'allow_sticky_premium_models', kind: 'scalar', T: 8 }, + { no: 5, name: 'has_forge_access', kind: 'scalar', T: 8 }, + { no: 11, name: 'disable_code_snippet_telemetry', kind: 'scalar', T: 8 }, + { no: 15, name: 'allow_premium_command_models', kind: 'scalar', T: 8 }, + { no: 23, name: 'has_tab_to_jump', kind: 'scalar', T: 8 }, + { no: 6, name: 'max_num_premium_chat_messages', kind: 'scalar', T: 3 }, + { no: 7, name: 'max_num_chat_input_tokens', kind: 'scalar', T: 3 }, + { + no: 8, + name: 'max_custom_chat_instruction_characters', + kind: 'scalar', + T: 3, + }, + { no: 9, name: 'max_num_pinned_context_items', kind: 'scalar', T: 3 }, + { no: 10, name: 'max_local_index_size', kind: 'scalar', T: 3 }, + { no: 26, name: 'max_unclaimed_sites', kind: 'scalar', T: 5 }, + { no: 12, name: 'monthly_prompt_credits', kind: 'scalar', T: 5 }, + { no: 13, name: 'monthly_flow_credits', kind: 'scalar', T: 5 }, + { + no: 14, + name: 'monthly_flex_credit_purchase_amount', + kind: 'scalar', + T: 5, + }, + { no: 17, name: 'is_teams', kind: 'scalar', T: 8 }, + { no: 16, name: 'is_enterprise', kind: 'scalar', T: 8 }, + { no: 18, name: 'can_buy_more_credits', kind: 'scalar', T: 8 }, + { no: 19, name: 'cascade_web_search_enabled', kind: 'scalar', T: 8 }, + { no: 20, name: 'can_customize_app_icon', kind: 'scalar', T: 8 }, + { no: 22, name: 'cascade_can_auto_run_commands', kind: 'scalar', T: 8 }, + { no: 25, name: 'can_generate_commit_messages', kind: 'scalar', T: 8 }, + { no: 27, name: 'knowledge_base_enabled', kind: 'scalar', T: 8 }, + { + no: 21, + name: 'cascade_allowed_models_config', + kind: 'message', + T: vm, + repeated: !0, + }, + { no: 24, name: 'default_team_config', kind: 'message', T: Xr }, + { no: 28, name: 'can_share_conversations', kind: 'scalar', T: 8 }, + { no: 29, name: 'can_allow_cascade_in_background', kind: 'scalar', T: 8 }, + { + no: 30, + name: 'default_team_features', + kind: 'map', + K: 5, + V: { kind: 'message', T: Ym }, + }, + { no: 31, name: 'browser_enabled', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zm = class e extends r { + topUpTransactionStatus = ve.UNSPECIFIED; + topUpEnabled = !1; + monthlyTopUpAmount = 0; + topUpSpent = 0; + topUpIncrement = 0; + topUpCriteriaMet = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TopUpStatus'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'top_up_transaction_status', + kind: 'enum', + T: a.getEnumType(ve), + }, + { no: 2, name: 'top_up_enabled', kind: 'scalar', T: 8 }, + { no: 3, name: 'monthly_top_up_amount', kind: 'scalar', T: 5 }, + { no: 4, name: 'top_up_spent', kind: 'scalar', T: 5 }, + { no: 5, name: 'top_up_increment', kind: 'scalar', T: 5 }, + { no: 6, name: 'top_up_criteria_met', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ut = class e extends r { + planInfo; + planStart; + planEnd; + availablePromptCredits = 0; + availableFlowCredits = 0; + availableFlexCredits = 0; + usedFlexCredits = 0; + usedFlowCredits = 0; + usedPromptCredits = 0; + topUpStatus; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PlanStatus'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'plan_info', kind: 'message', T: hr }, + { no: 2, name: 'plan_start', kind: 'message', T: _ }, + { no: 3, name: 'plan_end', kind: 'message', T: _ }, + { no: 8, name: 'available_prompt_credits', kind: 'scalar', T: 5 }, + { no: 9, name: 'available_flow_credits', kind: 'scalar', T: 5 }, + { no: 4, name: 'available_flex_credits', kind: 'scalar', T: 5 }, + { no: 7, name: 'used_flex_credits', kind: 'scalar', T: 5 }, + { no: 5, name: 'used_flow_credits', kind: 'scalar', T: 5 }, + { no: 6, name: 'used_prompt_credits', kind: 'scalar', T: 5 }, + { no: 10, name: 'top_up_status', kind: 'message', T: zm }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + df = class e extends r { + pro = !1; + disableTelemetry = !1; + name = ''; + ignoreChatTelemetrySetting = !1; + teamId = ''; + teamStatus = Ve.UNSPECIFIED; + email = ''; + userFeatures = []; + teamsFeatures = []; + permissions = []; + planInfo; + planStatus; + hasUsedAntigravity = !1; + userUsedPromptCredits = o.zero; + userUsedFlowCredits = o.zero; + hasFingerprintSet = !1; + teamConfig; + cascadeModelConfigData; + acceptedLatestTermsOfService = !1; + g1Tier = ''; + userTier; + userDataCollectionForceDisabled = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.UserStatus'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'pro', kind: 'scalar', T: 8 }, + { no: 2, name: 'disable_telemetry', kind: 'scalar', T: 8 }, + { no: 3, name: 'name', kind: 'scalar', T: 9 }, + { no: 4, name: 'ignore_chat_telemetry_setting', kind: 'scalar', T: 8 }, + { no: 5, name: 'team_id', kind: 'scalar', T: 9 }, + { no: 6, name: 'team_status', kind: 'enum', T: a.getEnumType(Ve) }, + { no: 7, name: 'email', kind: 'scalar', T: 9 }, + { + no: 9, + name: 'user_features', + kind: 'enum', + T: a.getEnumType(kr), + repeated: !0, + }, + { + no: 8, + name: 'teams_features', + kind: 'enum', + T: a.getEnumType(Dr), + repeated: !0, + }, + { + no: 11, + name: 'permissions', + kind: 'enum', + T: a.getEnumType(gr), + repeated: !0, + }, + { no: 12, name: 'plan_info', kind: 'message', T: hr }, + { no: 13, name: 'plan_status', kind: 'message', T: Ut }, + { no: 31, name: 'has_used_antigravity', kind: 'scalar', T: 8 }, + { no: 28, name: 'user_used_prompt_credits', kind: 'scalar', T: 3 }, + { no: 29, name: 'user_used_flow_credits', kind: 'scalar', T: 3 }, + { no: 30, name: 'has_fingerprint_set', kind: 'scalar', T: 8 }, + { no: 32, name: 'team_config', kind: 'message', T: Xr }, + { no: 33, name: 'cascade_model_config_data', kind: 'message', T: Km }, + { + no: 34, + name: 'accepted_latest_terms_of_service', + kind: 'scalar', + T: 8, + }, + { no: 35, name: 'g1_tier', kind: 'scalar', T: 9 }, + { no: 36, name: 'user_tier', kind: 'message', T: Rn }, + { + no: 37, + name: 'user_data_collection_force_disabled', + kind: 'scalar', + T: 8, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Tf = class e extends r { + info = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ScmWorkspaceInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'perforce_info', kind: 'message', T: jm, oneof: 'info' }, + { no: 2, name: 'git_info', kind: 'message', T: J, oneof: 'info' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jm = class e extends r { + depotName = ''; + versionAlias = ''; + baseP4dUrl = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PerforceDepotInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'depot_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'version_alias', kind: 'scalar', T: 9 }, + { no: 3, name: 'base_p4d_url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + J = class e extends r { + name = ''; + owner = ''; + repoName = ''; + commit = ''; + versionAlias = ''; + scmProvider = mn.UNSPECIFIED; + baseGitUrl = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.GitRepoInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'owner', kind: 'scalar', T: 9 }, + { no: 5, name: 'repo_name', kind: 'scalar', T: 9 }, + { no: 3, name: 'commit', kind: 'scalar', T: 9 }, + { no: 4, name: 'version_alias', kind: 'scalar', T: 9 }, + { no: 6, name: 'scm_provider', kind: 'enum', T: a.getEnumType(mn) }, + { no: 7, name: 'base_git_url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + I = class e extends r { + absolutePathMigrateMeToUri = ''; + absoluteUri = ''; + workspacePaths = []; + nodeName = ''; + nodeLineage = []; + startLine = 0; + startCol = 0; + endLine = 0; + endCol = 0; + contextType = W.UNSPECIFIED; + language = O.UNSPECIFIED; + snippetByType = {}; + repoInfo; + fileContentHash = new Uint8Array(0); + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CodeContextItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_path_migrate_me_to_uri', kind: 'scalar', T: 9 }, + { no: 16, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'workspace_paths', kind: 'message', T: wn, repeated: !0 }, + { no: 3, name: 'node_name', kind: 'scalar', T: 9 }, + { no: 4, name: 'node_lineage', kind: 'scalar', T: 9, repeated: !0 }, + { no: 5, name: 'start_line', kind: 'scalar', T: 13 }, + { no: 12, name: 'start_col', kind: 'scalar', T: 13 }, + { no: 6, name: 'end_line', kind: 'scalar', T: 13 }, + { no: 13, name: 'end_col', kind: 'scalar', T: 13 }, + { no: 7, name: 'context_type', kind: 'enum', T: a.getEnumType(W) }, + { no: 10, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { + no: 11, + name: 'snippet_by_type', + kind: 'map', + K: 9, + V: { kind: 'message', T: Qm }, + }, + { no: 14, name: 'repo_info', kind: 'message', T: J }, + { no: 15, name: 'file_content_hash', kind: 'scalar', T: 12 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Qm = class e extends r { + snippet = ''; + wordCountBySplitter = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.SnippetWithWordCount'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'snippet', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'word_count_by_splitter', + kind: 'map', + K: 9, + V: { kind: 'message', T: Zm }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zm = class e extends r { + wordCountMap = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.WordCount'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'word_count_map', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 3 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bt = class e extends r { + computedName = ''; + gitOriginUrl = ''; + gitUpstreamUrl = ''; + reportedName = ''; + modelName = ''; + submoduleUrl = ''; + submodulePath = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Repository'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'computed_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'git_origin_url', kind: 'scalar', T: 9 }, + { no: 3, name: 'git_upstream_url', kind: 'scalar', T: 9 }, + { no: 4, name: 'reported_name', kind: 'scalar', T: 9 }, + { no: 5, name: 'model_name', kind: 'scalar', T: 9 }, + { no: 6, name: 'submodule_url', kind: 'scalar', T: 9 }, + { no: 7, name: 'submodule_path', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ff = class e extends r { + metadata; + promptId = ''; + filePath = ''; + originalFileContent = ''; + completionText = ''; + startOffset = o.zero; + endOffset = o.zero; + cursorLine = o.zero; + cursorColumn = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CaptureFileRequestData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: w }, + { no: 2, name: 'prompt_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'file_path', kind: 'scalar', T: 9 }, + { no: 4, name: 'original_file_content', kind: 'scalar', T: 9 }, + { no: 5, name: 'completion_text', kind: 'scalar', T: 9 }, + { no: 6, name: 'start_offset', kind: 'scalar', T: 4 }, + { no: 7, name: 'end_offset', kind: 'scalar', T: 4 }, + { no: 8, name: 'cursor_line', kind: 'scalar', T: 4 }, + { no: 9, name: 'cursor_column', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gr = class e extends r { + numAcceptances = 0; + numRejections = 0; + numLinesAccepted = 0; + numBytesAccepted = 0; + numUsers = 0; + activeDeveloperDays = 0; + activeDeveloperHours = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionStatistics'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'num_acceptances', kind: 'scalar', T: 13 }, + { no: 2, name: 'num_rejections', kind: 'scalar', T: 13 }, + { no: 3, name: 'num_lines_accepted', kind: 'scalar', T: 13 }, + { no: 4, name: 'num_bytes_accepted', kind: 'scalar', T: 13 }, + { no: 5, name: 'num_users', kind: 'scalar', T: 13 }, + { no: 6, name: 'active_developer_days', kind: 'scalar', T: 13 }, + { no: 7, name: 'active_developer_hours', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Nf = class e extends r { + timestamp; + completionStatistics; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionByDateEntry'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'timestamp', kind: 'message', T: _ }, + { no: 2, name: 'completion_statistics', kind: 'message', T: Gr }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Sf = class e extends r { + language = O.UNSPECIFIED; + completionStatistics; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionByLanguageEntry'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 2, name: 'completion_statistics', kind: 'message', T: Gr }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + br = class e extends r { + chatsSent = o.zero; + chatsReceived = o.zero; + chatsAccepted = o.zero; + chatsInsertedAtCursor = o.zero; + chatsApplied = o.zero; + chatLocUsed = o.zero; + chatCodeBlocksUsed = o.zero; + functionExplainCount = o.zero; + functionDocstringCount = o.zero; + functionRefactorCount = o.zero; + codeBlockExplainCount = o.zero; + codeBlockRefactorCount = o.zero; + problemExplainCount = o.zero; + functionUnitTestsCount = o.zero; + activeDeveloperDays = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ChatStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'chats_sent', kind: 'scalar', T: 4 }, + { no: 2, name: 'chats_received', kind: 'scalar', T: 4 }, + { no: 3, name: 'chats_accepted', kind: 'scalar', T: 4 }, + { no: 4, name: 'chats_inserted_at_cursor', kind: 'scalar', T: 4 }, + { no: 5, name: 'chats_applied', kind: 'scalar', T: 4 }, + { no: 6, name: 'chat_loc_used', kind: 'scalar', T: 4 }, + { no: 7, name: 'chat_code_blocks_used', kind: 'scalar', T: 4 }, + { no: 8, name: 'function_explain_count', kind: 'scalar', T: 4 }, + { no: 9, name: 'function_docstring_count', kind: 'scalar', T: 4 }, + { no: 10, name: 'function_refactor_count', kind: 'scalar', T: 4 }, + { no: 11, name: 'code_block_explain_count', kind: 'scalar', T: 4 }, + { no: 12, name: 'code_block_refactor_count', kind: 'scalar', T: 4 }, + { no: 13, name: 'problem_explain_count', kind: 'scalar', T: 4 }, + { no: 14, name: 'function_unit_tests_count', kind: 'scalar', T: 4 }, + { no: 15, name: 'active_developer_days', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + If = class e extends r { + timestamp; + chatStats; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ChatStatsByDateEntry'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'timestamp', kind: 'message', T: _ }, + { no: 2, name: 'chat_stats', kind: 'message', T: br }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pf = class e extends r { + modelId = f.UNSPECIFIED; + chatStats; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ChatStatsByModelEntry'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model_id', kind: 'enum', T: a.getEnumType(f) }, + { no: 2, name: 'chat_stats', kind: 'message', T: br }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $m = class e extends r { + numCommands = o.zero; + numCommandsAccepted = o.zero; + numCommandsRejected = o.zero; + numEdits = o.zero; + numGenerations = o.zero; + locAdded = o.zero; + locRemoved = o.zero; + bytesAdded = o.zero; + bytesRemoved = o.zero; + locSelected = o.zero; + bytesSelected = o.zero; + numCommandsBySource = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CommandStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'num_commands', kind: 'scalar', T: 4 }, + { no: 2, name: 'num_commands_accepted', kind: 'scalar', T: 4 }, + { no: 3, name: 'num_commands_rejected', kind: 'scalar', T: 4 }, + { no: 4, name: 'num_edits', kind: 'scalar', T: 4 }, + { no: 5, name: 'num_generations', kind: 'scalar', T: 4 }, + { no: 6, name: 'loc_added', kind: 'scalar', T: 4 }, + { no: 7, name: 'loc_removed', kind: 'scalar', T: 4 }, + { no: 8, name: 'bytes_added', kind: 'scalar', T: 4 }, + { no: 9, name: 'bytes_removed', kind: 'scalar', T: 4 }, + { no: 10, name: 'loc_selected', kind: 'scalar', T: 4 }, + { no: 11, name: 'bytes_selected', kind: 'scalar', T: 4 }, + { + no: 12, + name: 'num_commands_by_source', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 4 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Of = class e extends r { + timestamp; + commandStats; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CommandStatsByDateEntry'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'timestamp', kind: 'message', T: _ }, + { no: 2, name: 'command_stats', kind: 'message', T: $m }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Af = class e extends r { + name = ''; + email = ''; + lastUpdateTime; + apiKey = ''; + disableCodeium = !1; + activeDays = 0; + role = ''; + signupTime; + lastAutocompleteUsageTime; + lastChatUsageTime; + lastCommandUsageTime; + promptCreditsUsed = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.UserTableStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'email', kind: 'scalar', T: 9 }, + { no: 3, name: 'last_update_time', kind: 'message', T: _ }, + { no: 4, name: 'api_key', kind: 'scalar', T: 9 }, + { no: 5, name: 'disable_codeium', kind: 'scalar', T: 8 }, + { no: 6, name: 'active_days', kind: 'scalar', T: 13 }, + { no: 7, name: 'role', kind: 'scalar', T: 9 }, + { no: 8, name: 'signup_time', kind: 'message', T: _ }, + { no: 9, name: 'last_autocomplete_usage_time', kind: 'message', T: _ }, + { no: 10, name: 'last_chat_usage_time', kind: 'message', T: _ }, + { no: 11, name: 'last_command_usage_time', kind: 'message', T: _ }, + { no: 12, name: 'prompt_credits_used', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Cf = class e extends r { + event = nt.CASCADE_NUX_EVENT_UNSPECIFIED; + timestamp; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CascadeNUXState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'event', kind: 'enum', T: a.getEnumType(nt) }, + { no: 2, name: 'timestamp', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Rf = class e extends r { + event = et.USER_NUX_EVENT_UNSPECIFIED; + timestamp; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.UserNUXState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'event', kind: 'enum', T: a.getEnumType(et) }, + { no: 2, name: 'timestamp', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Lf = class e extends r { + planMode = Dn.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ConversationBrainConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'plan_mode', kind: 'enum', T: a.getEnumType(Dn) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Pf = class e extends r { + hasUsed = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.FeatureUsageData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'has_used', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Df = class e extends r { + uid = 0; + location = ut.CASCADE_NUX_LOCATION_UNSPECIFIED; + trigger = Et.CASCADE_NUX_TRIGGER_UNSPECIFIED; + analyticsEventName = ''; + learnMoreUrl = ''; + priority = 0; + icon = lt.CASCADE_NUX_ICON_UNSPECIFIED; + requiresIdleCascade = !1; + title = ''; + body; + imageUrl; + videoUrl; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CascadeNUXConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'uid', kind: 'scalar', T: 13 }, + { no: 2, name: 'location', kind: 'enum', T: a.getEnumType(ut) }, + { no: 3, name: 'trigger', kind: 'enum', T: a.getEnumType(Et) }, + { no: 4, name: 'analytics_event_name', kind: 'scalar', T: 9 }, + { no: 7, name: 'learn_more_url', kind: 'scalar', T: 9 }, + { no: 8, name: 'priority', kind: 'scalar', T: 5 }, + { no: 10, name: 'icon', kind: 'enum', T: a.getEnumType(lt) }, + { no: 11, name: 'requires_idle_cascade', kind: 'scalar', T: 8 }, + { no: 12, name: 'title', kind: 'scalar', T: 9 }, + { no: 13, name: 'body', kind: 'scalar', T: 9, opt: !0 }, + { no: 14, name: 'image_url', kind: 'scalar', T: 9, opt: !0 }, + { no: 15, name: 'video_url', kind: 'scalar', T: 9, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qr = class e extends r { + openMostRecentChatConversation = !1; + lastSelectedModel = f.UNSPECIFIED; + themePreference = je.UNSPECIFIED; + rememberLastModelSelection = $e.UNSPECIFIED; + autocompleteSpeed = Qe.UNSPECIFIED; + lastSelectedModelName = ''; + lastSelectedCascadeModel; + lastSelectedCascadeModelOrAlias; + cascadePlannerMode; + lastModelOverride; + lastModelDefaultOverrideVersionId; + cascadeAllowedCommands = []; + cascadeDeniedCommands = []; + cascadeWebSearchDisabled = !1; + tabEnabled = Ze.UNSPECIFIED; + disableSelectionPopup = !1; + disableExplainProblemInlayHint = !1; + disableInlayHintShortcuts = !1; + disableOpenCascadeOnReload = !1; + disableAutoOpenEditedFiles = !1; + disableTabToJump = !1; + cascadeAutoExecutionPolicy = un.UNSPECIFIED; + lastSelectedCascadeId; + explainAndFixInCurrentConversation = !1; + allowCascadeAccessGitignoreFiles = !1; + allowAgentAccessNonWorkspaceFiles = !1; + disableCascadeAutoFixLints = !1; + detectAndUseProxy = dt.UNSPECIFIED; + disableTabToImport = !1; + useClipboardForCompletions = !1; + disableHighlightAfterAccept = !1; + disableAutoGenerateMemories = !1; + enableSoundsForSpecialEvents = !1; + enableTabSounds = !1; + allowCascadeInBackground = !1; + tabToJump = at.UNSPECIFIED; + cascadeWebSearch = rt.UNSPECIFIED; + enableTerminalCompletion = !1; + isSnoozed = !1; + disableCascadeInBackground = !1; + customWorkspace = []; + globalPlanModePreference = Dn.UNSPECIFIED; + cachedCascadeModelConfigs = []; + cachedCascadeModelSorts = []; + cascadeRunExtensionCode = st.UNSPECIFIED; + cascadeRunExtensionCodeAutoRun = ot.UNSPECIFIED; + cascadeInputAutocomplete = it.UNSPECIFIED; + autoContinueOnMaxGeneratorInvocations = ct.UNSPECIFIED; + recentlyUsedCascadeModels = []; + annotationsConfig = _t.UNSPECIFIED; + relativeWorkingDirPaths = []; + customModels = {}; + disableCodeSnippetTelemetry = !1; + planningMode = tt.UNSPECIFIED; + agentBrowserTools = mt.UNSPECIFIED; + artifactReviewMode = ln.UNSPECIFIED; + allowTabAccessGitignoreFiles = !1; + browserChromePath = ''; + browserUserProfilePath = ''; + browserCdpPort = 0; + demoModeEnabled = !1; + browserJsExecutionPolicy = En.UNSPECIFIED; + secureModeEnabled = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.UserSettings'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'open_most_recent_chat_conversation', + kind: 'scalar', + T: 8, + }, + { no: 2, name: 'last_selected_model', kind: 'enum', T: a.getEnumType(f) }, + { no: 3, name: 'theme_preference', kind: 'enum', T: a.getEnumType(je) }, + { + no: 7, + name: 'remember_last_model_selection', + kind: 'enum', + T: a.getEnumType($e), + }, + { no: 6, name: 'autocomplete_speed', kind: 'enum', T: a.getEnumType(Qe) }, + { no: 8, name: 'last_selected_model_name', kind: 'scalar', T: 9 }, + { + no: 9, + name: 'last_selected_cascade_model', + kind: 'enum', + T: a.getEnumType(f), + opt: !0, + }, + { + no: 30, + name: 'last_selected_cascade_model_or_alias', + kind: 'message', + T: nn, + opt: !0, + }, + { + no: 13, + name: 'cascade_planner_mode', + kind: 'enum', + T: a.getEnumType(Pn), + opt: !0, + }, + { + no: 46, + name: 'last_model_override', + kind: 'enum', + T: a.getEnumType(f), + opt: !0, + }, + { + no: 58, + name: 'last_model_default_override_version_id', + kind: 'scalar', + T: 9, + opt: !0, + }, + { + no: 14, + name: 'cascade_allowed_commands', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 15, + name: 'cascade_denied_commands', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 18, name: 'cascade_web_search_disabled', kind: 'scalar', T: 8 }, + { no: 67, name: 'tab_enabled', kind: 'enum', T: a.getEnumType(Ze) }, + { no: 21, name: 'disable_selection_popup', kind: 'scalar', T: 8 }, + { + no: 22, + name: 'disable_explain_problem_inlay_hint', + kind: 'scalar', + T: 8, + }, + { no: 23, name: 'disable_inlay_hint_shortcuts', kind: 'scalar', T: 8 }, + { no: 24, name: 'disable_open_cascade_on_reload', kind: 'scalar', T: 8 }, + { no: 25, name: 'disable_auto_open_edited_files', kind: 'scalar', T: 8 }, + { no: 26, name: 'disable_tab_to_jump', kind: 'scalar', T: 8 }, + { + no: 27, + name: 'cascade_auto_execution_policy', + kind: 'enum', + T: a.getEnumType(un), + }, + { + no: 28, + name: 'last_selected_cascade_id', + kind: 'scalar', + T: 9, + opt: !0, + }, + { + no: 29, + name: 'explain_and_fix_in_current_conversation', + kind: 'scalar', + T: 8, + }, + { + no: 31, + name: 'allow_cascade_access_gitignore_files', + kind: 'scalar', + T: 8, + }, + { + no: 79, + name: 'allow_agent_access_non_workspace_files', + kind: 'scalar', + T: 8, + }, + { no: 32, name: 'disable_cascade_auto_fix_lints', kind: 'scalar', T: 8 }, + { + no: 34, + name: 'detect_and_use_proxy', + kind: 'enum', + T: a.getEnumType(dt), + }, + { no: 35, name: 'disable_tab_to_import', kind: 'scalar', T: 8 }, + { no: 36, name: 'use_clipboard_for_completions', kind: 'scalar', T: 8 }, + { no: 37, name: 'disable_highlight_after_accept', kind: 'scalar', T: 8 }, + { no: 39, name: 'disable_auto_generate_memories', kind: 'scalar', T: 8 }, + { + no: 40, + name: 'enable_sounds_for_special_events', + kind: 'scalar', + T: 8, + }, + { no: 41, name: 'enable_tab_sounds', kind: 'scalar', T: 8 }, + { no: 42, name: 'allow_cascade_in_background', kind: 'scalar', T: 8 }, + { no: 43, name: 'tab_to_jump', kind: 'enum', T: a.getEnumType(at) }, + { + no: 44, + name: 'cascade_web_search', + kind: 'enum', + T: a.getEnumType(rt), + }, + { no: 45, name: 'enable_terminal_completion', kind: 'scalar', T: 8 }, + { no: 55, name: 'is_snoozed', kind: 'scalar', T: 8 }, + { no: 48, name: 'disable_cascade_in_background', kind: 'scalar', T: 8 }, + { no: 50, name: 'custom_workspace', kind: 'scalar', T: 9, repeated: !0 }, + { + no: 54, + name: 'global_plan_mode_preference', + kind: 'enum', + T: a.getEnumType(Dn), + }, + { + no: 52, + name: 'cached_cascade_model_configs', + kind: 'message', + T: Mr, + repeated: !0, + }, + { + no: 53, + name: 'cached_cascade_model_sorts', + kind: 'message', + T: yr, + repeated: !0, + }, + { + no: 56, + name: 'cascade_run_extension_code', + kind: 'enum', + T: a.getEnumType(st), + }, + { + no: 57, + name: 'cascade_run_extension_code_auto_run', + kind: 'enum', + T: a.getEnumType(ot), + }, + { + no: 65, + name: 'cascade_input_autocomplete', + kind: 'enum', + T: a.getEnumType(it), + }, + { + no: 59, + name: 'auto_continue_on_max_generator_invocations', + kind: 'enum', + T: a.getEnumType(ct), + }, + { + no: 61, + name: 'recently_used_cascade_models', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 63, + name: 'annotations_config', + kind: 'enum', + T: a.getEnumType(_t), + }, + { + no: 66, + name: 'relative_working_dir_paths', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 68, + name: 'custom_models', + kind: 'map', + K: 9, + V: { kind: 'message', T: tn }, + }, + { no: 69, name: 'disable_code_snippet_telemetry', kind: 'scalar', T: 8 }, + { no: 70, name: 'planning_mode', kind: 'enum', T: a.getEnumType(tt) }, + { + no: 71, + name: 'agent_browser_tools', + kind: 'enum', + T: a.getEnumType(mt), + }, + { + no: 72, + name: 'artifact_review_mode', + kind: 'enum', + T: a.getEnumType(ln), + }, + { + no: 75, + name: 'allow_tab_access_gitignore_files', + kind: 'scalar', + T: 8, + }, + { no: 76, name: 'browser_chrome_path', kind: 'scalar', T: 9 }, + { no: 77, name: 'browser_user_profile_path', kind: 'scalar', T: 9 }, + { no: 78, name: 'browser_cdp_port', kind: 'scalar', T: 5 }, + { no: 80, name: 'demo_mode_enabled', kind: 'scalar', T: 8 }, + { + no: 81, + name: 'browser_js_execution_policy', + kind: 'enum', + T: a.getEnumType(En), + }, + { no: 82, name: 'secure_mode_enabled', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + kf = class e extends r { + disableCodeSnippetTelemetry = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.UserAccountSettings'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'disable_code_snippet_telemetry', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nc = class e extends r { + supportsContextTokens = !1; + requiresInstructTags = !1; + requiresFimContext = !1; + requiresContextSnippetPrefix = !1; + requiresContextRelevanceTags = !1; + requiresLlama3Tokens = !1; + zeroShotCapable = !1; + requiresAutocompleteAsCommand = !1; + supportsCursorAwareSupercomplete = !1; + supportsImages = !1; + supportsPdf = !1; + supportsVideo = !1; + supportedMimeTypes = {}; + supportsToolCalls = !1; + doesNotSupportToolChoice = !1; + supportsCumulativeContext = !1; + tabJumpPrintLineRange = !1; + supportsThinking = !1; + supportsRawThinking = !1; + supportsEstimateTokenCounter = !1; + addCursorToFindReplaceTarget = !1; + supportsTabJumpUseWholeDocument = !1; + supportsModelInfoOverride = !1; + requiresLeadInGeneration = !1; + requiresNoXmlToolExamples = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ModelFeatures'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'supports_context_tokens', kind: 'scalar', T: 8 }, + { no: 3, name: 'requires_instruct_tags', kind: 'scalar', T: 8 }, + { no: 4, name: 'requires_fim_context', kind: 'scalar', T: 8 }, + { no: 5, name: 'requires_context_snippet_prefix', kind: 'scalar', T: 8 }, + { no: 6, name: 'requires_context_relevance_tags', kind: 'scalar', T: 8 }, + { no: 7, name: 'requires_llama3_tokens', kind: 'scalar', T: 8 }, + { no: 8, name: 'zero_shot_capable', kind: 'scalar', T: 8 }, + { no: 9, name: 'requires_autocomplete_as_command', kind: 'scalar', T: 8 }, + { + no: 10, + name: 'supports_cursor_aware_supercomplete', + kind: 'scalar', + T: 8, + }, + { no: 11, name: 'supports_images', kind: 'scalar', T: 8 }, + { no: 22, name: 'supports_pdf', kind: 'scalar', T: 8 }, + { no: 23, name: 'supports_video', kind: 'scalar', T: 8 }, + { + no: 28, + name: 'supported_mime_types', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 8 }, + }, + { no: 12, name: 'supports_tool_calls', kind: 'scalar', T: 8 }, + { no: 27, name: 'does_not_support_tool_choice', kind: 'scalar', T: 8 }, + { no: 13, name: 'supports_cumulative_context', kind: 'scalar', T: 8 }, + { no: 14, name: 'tab_jump_print_line_range', kind: 'scalar', T: 8 }, + { no: 15, name: 'supports_thinking', kind: 'scalar', T: 8 }, + { no: 21, name: 'supports_raw_thinking', kind: 'scalar', T: 8 }, + { no: 17, name: 'supports_estimate_token_counter', kind: 'scalar', T: 8 }, + { + no: 18, + name: 'add_cursor_to_find_replace_target', + kind: 'scalar', + T: 8, + }, + { + no: 19, + name: 'supports_tab_jump_use_whole_document', + kind: 'scalar', + T: 8, + }, + { no: 24, name: 'supports_model_info_override', kind: 'scalar', T: 8 }, + { no: 25, name: 'requires_lead_in_generation', kind: 'scalar', T: 8 }, + { no: 26, name: 'requires_no_xml_tool_examples', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gf = class e extends r { + isInternal = !1; + modelId = f.UNSPECIFIED; + modelName = ''; + baseUrl = ''; + apiKey = ''; + accessKey = ''; + secretAccessKey = ''; + region = ''; + projectId = ''; + id = 0; + maxCompletionTokens = 0; + maxInputTokens = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ExternalModel'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'is_internal', kind: 'scalar', T: 8 }, + { no: 2, name: 'model_id', kind: 'enum', T: a.getEnumType(f) }, + { no: 3, name: 'model_name', kind: 'scalar', T: 9 }, + { no: 4, name: 'base_url', kind: 'scalar', T: 9 }, + { no: 5, name: 'api_key', kind: 'scalar', T: 9 }, + { no: 6, name: 'access_key', kind: 'scalar', T: 9 }, + { no: 7, name: 'secret_access_key', kind: 'scalar', T: 9 }, + { no: 8, name: 'region', kind: 'scalar', T: 9 }, + { no: 9, name: 'project_id', kind: 'scalar', T: 9 }, + { no: 10, name: 'id', kind: 'scalar', T: 13 }, + { no: 11, name: 'max_completion_tokens', kind: 'scalar', T: 5 }, + { no: 12, name: 'max_input_tokens', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + tn = class e extends r { + modelId = f.UNSPECIFIED; + isInternal = !1; + modelType = Tt.UNSPECIFIED; + maxTokens = 0; + tokenizerType = ''; + modelFeatures; + apiProvider = kn.API_PROVIDER_UNSPECIFIED; + modelName = ''; + supportsContext = !1; + embedDim = 0; + baseUrl = ''; + chatModelName = ''; + maxOutputTokens = 0; + promptTemplaterType = Ot.UNSPECIFIED; + toolFormatterType = At.UNSPECIFIED; + thinkingBudget = 0; + minThinkingBudget = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ModelInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model_id', kind: 'enum', T: a.getEnumType(f) }, + { no: 2, name: 'is_internal', kind: 'scalar', T: 8 }, + { no: 3, name: 'model_type', kind: 'enum', T: a.getEnumType(Tt) }, + { no: 4, name: 'max_tokens', kind: 'scalar', T: 5 }, + { no: 5, name: 'tokenizer_type', kind: 'scalar', T: 9 }, + { no: 6, name: 'model_features', kind: 'message', T: nc }, + { no: 7, name: 'api_provider', kind: 'enum', T: a.getEnumType(kn) }, + { no: 8, name: 'model_name', kind: 'scalar', T: 9 }, + { no: 9, name: 'supports_context', kind: 'scalar', T: 8 }, + { no: 10, name: 'embed_dim', kind: 'scalar', T: 5 }, + { no: 11, name: 'base_url', kind: 'scalar', T: 9 }, + { no: 12, name: 'chat_model_name', kind: 'scalar', T: 9 }, + { no: 13, name: 'max_output_tokens', kind: 'scalar', T: 5 }, + { + no: 14, + name: 'prompt_templater_type', + kind: 'enum', + T: a.getEnumType(Ot), + }, + { + no: 15, + name: 'tool_formatter_type', + kind: 'enum', + T: a.getEnumType(At), + }, + { no: 16, name: 'thinking_budget', kind: 'scalar', T: 5 }, + { no: 17, name: 'min_thinking_budget', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wf = class e extends r { + modelMap = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ApiProviderRoutingConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'model_map', + kind: 'map', + K: 9, + V: { kind: 'message', T: ec }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ec = class e extends r { + providerMap = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ApiProviderConfigMap'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'provider_map', + kind: 'map', + K: 9, + V: { kind: 'message', T: tc }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + tc = class e extends r { + weight = 0; + cacheTtlMinutes = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ApiProviderConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'weight', kind: 'scalar', T: 13 }, + { no: 2, name: 'cache_ttl_minutes', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Jf = class e extends r { + generationModel; + contextCheckModel; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ModelConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'generation_model', kind: 'message', T: tn }, + { no: 2, name: 'context_check_model', kind: 'message', T: tn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xf = class e extends r { + model = f.UNSPECIFIED; + message = ''; + status = ft.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ModelStatusInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + { no: 2, name: 'message', kind: 'scalar', T: 9 }, + { no: 3, name: 'status', kind: 'enum', T: a.getEnumType(ft) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ac = class e extends r { + uid = ''; + completionId = ''; + filePath = ''; + shortPrefix = ''; + completionText = ''; + shortSuffix = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionExample'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'uid', kind: 'scalar', T: 9 }, + { no: 2, name: 'completion_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'file_path', kind: 'scalar', T: 9 }, + { no: 4, name: 'short_prefix', kind: 'scalar', T: 9 }, + { no: 5, name: 'completion_text', kind: 'scalar', T: 9 }, + { no: 6, name: 'short_suffix', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Uf = class e extends r { + example; + name = ''; + time; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionExampleWithMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'example', kind: 'message', T: ac }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 4, name: 'time', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + X = class e extends r { + cci; + subrange; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CciWithSubrange'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cci', kind: 'message', T: I }, + { no: 2, name: 'subrange', kind: 'message', T: rc }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rc = class e extends r { + snippetType = cn.UNSPECIFIED; + startOffset = o.zero; + endOffset = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ContextSubrange'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'snippet_type', kind: 'enum', T: a.getEnumType(cn) }, + { no: 2, name: 'start_offset', kind: 'scalar', T: 3 }, + { no: 3, name: 'end_offset', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + dn = class e extends r { + absolutePathMigrateMeToUri = ''; + absoluteUri = ''; + workspaceRelativePathsMigrateMeToWorkspaceUris = {}; + workspaceUrisToRelativePaths = {}; + numFiles = 0; + numBytes = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PathScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_path_migrate_me_to_uri', kind: 'scalar', T: 9 }, + { no: 5, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'workspace_relative_paths_migrate_me_to_workspace_uris', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + { + no: 6, + name: 'workspace_uris_to_relative_paths', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + { no: 3, name: 'num_files', kind: 'scalar', T: 13 }, + { no: 4, name: 'num_bytes', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ft = class e extends r { + absoluteUri = ''; + startLine = 0; + endLine = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.FileLineRange'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'start_line', kind: 'scalar', T: 13 }, + { no: 3, name: 'end_line', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sc = class e extends r { + content = ''; + identifier = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TextBlock'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'content', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'file_line_range', + kind: 'message', + T: Ft, + oneof: 'identifier', + }, + { no: 3, name: 'label', kind: 'scalar', T: 9, oneof: 'identifier' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ic = class e extends r { + repoInfo; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.RepositoryScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repo_info', kind: 'message', T: J }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + oc = class e extends r { + repoInfo; + relativePath = ''; + isDir = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.RepositoryPathScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repo_info', kind: 'message', T: J }, + { no: 2, name: 'relative_path', kind: 'scalar', T: 9 }, + { no: 3, name: 'is_dir', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + H = class e extends r { + documentId = ''; + index = _n.UNSPECIFIED; + documentType = V.UNSPECIFIED; + displayName = ''; + description = ''; + displaySource = ''; + url = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.KnowledgeBaseScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'document_id', kind: 'scalar', T: 9 }, + { no: 7, name: 'index', kind: 'enum', T: a.getEnumType(_n) }, + { no: 8, name: 'document_type', kind: 'enum', T: a.getEnumType(V) }, + { no: 3, name: 'display_name', kind: 'scalar', T: 9 }, + { no: 4, name: 'description', kind: 'scalar', T: 9 }, + { no: 5, name: 'display_source', kind: 'scalar', T: 9 }, + { no: 6, name: 'url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mc = class e extends r { + timestampStr = ''; + type = ''; + output = ''; + location = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ConsoleLogLine'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'timestamp_str', kind: 'scalar', T: 9 }, + { no: 2, name: 'type', kind: 'scalar', T: 9 }, + { no: 3, name: 'output', kind: 'scalar', T: 9 }, + { no: 4, name: 'location', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Jn = class e extends r { + lines = []; + serverAddress = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ConsoleLogScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'lines', kind: 'message', T: mc, repeated: !0 }, + { no: 2, name: 'server_address', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cc = class e extends r { + tagName = ''; + outerHtml = ''; + id = ''; + reactComponentName = ''; + fileLineRange; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DOMElementScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'tag_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'outer_html', kind: 'scalar', T: 9 }, + { no: 3, name: 'id', kind: 'scalar', T: 9 }, + { no: 4, name: 'react_component_name', kind: 'scalar', T: 9 }, + { no: 5, name: 'file_line_range', kind: 'message', T: Ft }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + uc = class e extends r { + isVisible = !1; + nodeData = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DOMNode'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'is_visible', kind: 'scalar', T: 8 }, + { no: 2, name: 'element', kind: 'message', T: lc, oneof: 'node_data' }, + { no: 3, name: 'text', kind: 'message', T: Ec, oneof: 'node_data' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + lc = class e extends r { + tagName = ''; + xpath = ''; + children = []; + attributes = {}; + isInteractive = !1; + isTopElement = !1; + highlightIndex = 0; + centralX = 0; + centralY = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DOMNode.ElementNode'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'tag_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'xpath', kind: 'scalar', T: 9 }, + { no: 3, name: 'children', kind: 'scalar', T: 9, repeated: !0 }, + { + no: 4, + name: 'attributes', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + { no: 5, name: 'is_interactive', kind: 'scalar', T: 8 }, + { no: 6, name: 'is_top_element', kind: 'scalar', T: 8 }, + { no: 7, name: 'highlight_index', kind: 'scalar', T: 5 }, + { no: 8, name: 'central_x', kind: 'scalar', T: 5 }, + { no: 9, name: 'central_y', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ec = class e extends r { + text = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DOMNode.TextNode'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xn = class e extends r { + rootId = ''; + map = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DOMTree'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'root_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'map', kind: 'map', K: 9, V: { kind: 'message', T: uc } }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Hr = class e extends r { + x = 0; + y = 0; + width = 0; + height = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Viewport'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'x', kind: 'scalar', T: 5 }, + { no: 2, name: 'y', kind: 'scalar', T: 5 }, + { no: 3, name: 'width', kind: 'scalar', T: 5 }, + { no: 4, name: 'height', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _c = class e extends r { + recipeId = ''; + title = ''; + description = ''; + systemPrompt = ''; + uri; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.RecipeScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'recipe_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'title', kind: 'scalar', T: 9 }, + { no: 3, name: 'description', kind: 'scalar', T: 9 }, + { no: 4, name: 'system_prompt', kind: 'scalar', T: 9 }, + { no: 5, name: 'uri', kind: 'scalar', T: 9, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + dc = class e extends r { + rulePath = ''; + ruleName = ''; + description = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.RuleScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'rule_path', kind: 'scalar', T: 9 }, + { no: 2, name: 'rule_name', kind: 'scalar', T: 9 }, + { no: 3, name: 'description', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Tc = class e extends r { + uri = ''; + name = ''; + description; + mimeType; + serverName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.McpResourceItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 3, name: 'description', kind: 'scalar', T: 9, opt: !0 }, + { no: 4, name: 'mime_type', kind: 'scalar', T: 9, opt: !0 }, + { no: 5, name: 'server_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fc = class e extends r { + url = ''; + title = ''; + visibleTextContent = ''; + pageId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.BrowserPageScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'url', kind: 'scalar', T: 9 }, + { no: 2, name: 'title', kind: 'scalar', T: 9 }, + { no: 3, name: 'visible_text_content', kind: 'scalar', T: 9 }, + { no: 4, name: 'page_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Nc = class e extends r { + url = ''; + title = ''; + codeContent = ''; + language = O.UNSPECIFIED; + contextText; + pageId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.BrowserCodeBlockScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'url', kind: 'scalar', T: 9 }, + { no: 2, name: 'title', kind: 'scalar', T: 9 }, + { no: 3, name: 'code_content', kind: 'scalar', T: 9 }, + { no: 4, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 5, name: 'context_text', kind: 'scalar', T: 9, opt: !0 }, + { no: 6, name: 'page_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Sc = class e extends r { + url = ''; + visibleText = ''; + pageId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.BrowserTextScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'url', kind: 'scalar', T: 9 }, + { no: 2, name: 'visible_text', kind: 'scalar', T: 9 }, + { no: 3, name: 'page_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ic = class e extends r { + id = ''; + title = ''; + lastModifiedTime; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ConversationScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'title', kind: 'scalar', T: 9 }, + { no: 3, name: 'last_modified_time', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pc = class e extends r { + id = ''; + branch = ''; + current = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.UserActivityScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'branch', kind: 'scalar', T: 9 }, + { no: 3, name: 'current', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Oc = class e extends r { + processId = ''; + name = ''; + lastCommand = ''; + selectionContent; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TerminalScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'process_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 3, name: 'last_command', kind: 'scalar', T: 9 }, + { no: 4, name: 'selectionContent', kind: 'scalar', T: 9, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Un = class e extends r { + scopeItem = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ContextScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'file', kind: 'message', T: dn, oneof: 'scope_item' }, + { no: 2, name: 'directory', kind: 'message', T: dn, oneof: 'scope_item' }, + { + no: 3, + name: 'repository', + kind: 'message', + T: ic, + oneof: 'scope_item', + }, + { + no: 4, + name: 'code_context', + kind: 'message', + T: I, + oneof: 'scope_item', + }, + { + no: 6, + name: 'cci_with_subrange', + kind: 'message', + T: X, + oneof: 'scope_item', + }, + { + no: 7, + name: 'repository_path', + kind: 'message', + T: oc, + oneof: 'scope_item', + }, + { no: 8, name: 'slack', kind: 'message', T: H, oneof: 'scope_item' }, + { no: 9, name: 'github', kind: 'message', T: H, oneof: 'scope_item' }, + { + no: 10, + name: 'file_line_range', + kind: 'message', + T: Ft, + oneof: 'scope_item', + }, + { + no: 11, + name: 'text_block', + kind: 'message', + T: sc, + oneof: 'scope_item', + }, + { no: 12, name: 'jira', kind: 'message', T: H, oneof: 'scope_item' }, + { + no: 13, + name: 'google_drive', + kind: 'message', + T: H, + oneof: 'scope_item', + }, + { + no: 14, + name: 'console_log', + kind: 'message', + T: Jn, + oneof: 'scope_item', + }, + { + no: 15, + name: 'dom_element', + kind: 'message', + T: cc, + oneof: 'scope_item', + }, + { no: 16, name: 'recipe', kind: 'message', T: _c, oneof: 'scope_item' }, + { no: 17, name: 'knowledge', kind: 'message', T: H, oneof: 'scope_item' }, + { no: 18, name: 'rule', kind: 'message', T: dc, oneof: 'scope_item' }, + { + no: 19, + name: 'mcp_resource', + kind: 'message', + T: Tc, + oneof: 'scope_item', + }, + { + no: 20, + name: 'browser_page', + kind: 'message', + T: fc, + oneof: 'scope_item', + }, + { + no: 21, + name: 'browser_code_block', + kind: 'message', + T: Nc, + oneof: 'scope_item', + }, + { + no: 22, + name: 'browser_text', + kind: 'message', + T: Sc, + oneof: 'scope_item', + }, + { + no: 23, + name: 'conversation', + kind: 'message', + T: Ic, + oneof: 'scope_item', + }, + { + no: 24, + name: 'user_activity', + kind: 'message', + T: pc, + oneof: 'scope_item', + }, + { no: 25, name: 'terminal', kind: 'message', T: Oc, oneof: 'scope_item' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $n = class e extends r { + items = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ContextScope'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'items', kind: 'message', T: Un, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Yr = class e extends r { + nodeName = ''; + startTime; + endTime; + graphStateJson = new Uint8Array(0); + graphStateJsonNumBytes = o.zero; + subgraphExecution; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.NodeExecutionRecord'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'node_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'start_time', kind: 'message', T: _ }, + { no: 3, name: 'end_time', kind: 'message', T: _ }, + { no: 5, name: 'graph_state_json', kind: 'scalar', T: 12 }, + { no: 6, name: 'graph_state_json_num_bytes', kind: 'scalar', T: 4 }, + { no: 4, name: 'subgraph_execution', kind: 'message', T: Mt }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Mt = class e extends r { + current; + history = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.GraphExecutionState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'current', kind: 'message', T: Yr }, + { no: 2, name: 'history', kind: 'message', T: Yr, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ne = class e extends r { + items = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Guideline'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'items', kind: 'message', T: Ac, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ac = class e extends r { + guideline = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.GuidelineItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'guideline', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yt = class e extends r { + model = f.UNSPECIFIED; + maxInputTokens = 0; + temperature = 0; + maxOutputTokens = 0; + orderSnippetsByFile = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ChatNodeConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + { no: 2, name: 'max_input_tokens', kind: 'scalar', T: 13 }, + { no: 3, name: 'temperature', kind: 'scalar', T: 2 }, + { no: 4, name: 'max_output_tokens', kind: 'scalar', T: 13 }, + { no: 5, name: 'order_snippets_by_file', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ee = class e extends r { + shouldBatchCcis = !1; + maxTokensPerSubrange = o.zero; + numParserWorkers = o.zero; + numWorkersPerDistributedScorer = o.zero; + verbose = !1; + ignoreExtensions = []; + ignoreDirectoryStubs = []; + minTokenSpaceForContext = 0; + maxTargetFiles = 0; + topCciCount = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.MQueryConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'should_batch_ccis', kind: 'scalar', T: 8 }, + { no: 2, name: 'max_tokens_per_subrange', kind: 'scalar', T: 3 }, + { no: 3, name: 'num_parser_workers', kind: 'scalar', T: 3 }, + { + no: 4, + name: 'num_workers_per_distributed_scorer', + kind: 'scalar', + T: 3, + }, + { no: 5, name: 'verbose', kind: 'scalar', T: 8 }, + { no: 6, name: 'ignore_extensions', kind: 'scalar', T: 9, repeated: !0 }, + { + no: 7, + name: 'ignore_directory_stubs', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 8, name: 'min_token_space_for_context', kind: 'scalar', T: 13 }, + { no: 9, name: 'max_target_files', kind: 'scalar', T: 13 }, + { no: 10, name: 'top_cci_count', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Cc = class e extends r { + deltaText = ''; + deltaRawGeneration = ''; + deltaTokens = 0; + stopReason = F.UNSPECIFIED; + usage; + deltaToolCalls = []; + deltaThinking = ''; + deltaSignature = new Uint8Array(0); + thinkingRedacted = !1; + citationMetadata; + traceId = ''; + stopMessage = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionDelta'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'delta_text', kind: 'scalar', T: 9 }, + { no: 12, name: 'delta_raw_generation', kind: 'scalar', T: 9 }, + { no: 2, name: 'delta_tokens', kind: 'scalar', T: 13 }, + { no: 3, name: 'stop_reason', kind: 'enum', T: a.getEnumType(F) }, + { no: 4, name: 'usage', kind: 'message', T: fn }, + { no: 5, name: 'delta_tool_calls', kind: 'message', T: x, repeated: !0 }, + { no: 6, name: 'delta_thinking', kind: 'scalar', T: 9 }, + { no: 7, name: 'delta_signature', kind: 'scalar', T: 12 }, + { no: 8, name: 'thinking_redacted', kind: 'scalar', T: 8 }, + { no: 11, name: 'citation_metadata', kind: 'message', T: Gm }, + { no: 13, name: 'trace_id', kind: 'scalar', T: 9 }, + { no: 14, name: 'stop_message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bf = class e extends r { + deltas = {}; + prompt = ''; + completionProfile; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CompletionDeltaMap'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'deltas', + kind: 'map', + K: 5, + V: { kind: 'message', T: Cc }, + }, + { no: 2, name: 'prompt', kind: 'scalar', T: 9 }, + { no: 3, name: 'completion_profile', kind: 'message', T: xt }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ff = class e extends r { + prompt = ''; + inferenceAddress = ''; + serializedPrompt = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ChatCompletionInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'prompt', kind: 'scalar', T: 9 }, + { no: 2, name: 'inference_address', kind: 'scalar', T: 9 }, + { no: 3, name: 'serialized_prompt', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + x = class e extends r { + id = ''; + name = ''; + argumentsJson = ''; + invalidJsonStr = ''; + invalidJsonErr = ''; + thoughtSignature = ''; + thinkingSignature = new Uint8Array(0); + originalArgumentsJson = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ChatToolCall'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 3, name: 'arguments_json', kind: 'scalar', T: 9 }, + { no: 4, name: 'invalid_json_str', kind: 'scalar', T: 9 }, + { no: 5, name: 'invalid_json_err', kind: 'scalar', T: 9 }, + { no: 6, name: 'thought_signature', kind: 'scalar', T: 9 }, + { no: 7, name: 'thinking_signature', kind: 'scalar', T: 12 }, + { no: 8, name: 'original_arguments_json', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Mf = class e extends r { + level = Nt.UNSPECIFIED; + message = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Status'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'level', kind: 'enum', T: a.getEnumType(Nt) }, + { no: 2, name: 'message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ht = class e extends r { + row = o.zero; + col = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DocumentPosition'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'row', kind: 'scalar', T: 4 }, + { no: 2, name: 'col', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + te = class e extends r { + startOffset = o.zero; + endOffset = o.zero; + startPosition; + endPosition; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Range'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'start_offset', kind: 'scalar', T: 4 }, + { no: 2, name: 'end_offset', kind: 'scalar', T: 4 }, + { no: 3, name: 'start_position', kind: 'message', T: ht }, + { no: 4, name: 'end_position', kind: 'message', T: ht }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + g = class e extends r { + absolutePathMigrateMeToUri = ''; + absoluteUri = ''; + relativePathMigrateMeToWorkspaceUri = ''; + workspaceUri = ''; + text = ''; + editorLanguage = ''; + language = O.UNSPECIFIED; + cursorOffset = o.zero; + cursorPosition; + lineEnding = ''; + visibleRange; + isCutoffStart = !1; + isCutoffEnd = !1; + linesCutoffStart = 0; + linesCutoffEnd = 0; + timestamp; + isDirty = !1; + isSynthetic = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Document'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_path_migrate_me_to_uri', kind: 'scalar', T: 9 }, + { no: 12, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'relative_path_migrate_me_to_workspace_uri', + kind: 'scalar', + T: 9, + }, + { no: 13, name: 'workspace_uri', kind: 'scalar', T: 9 }, + { no: 3, name: 'text', kind: 'scalar', T: 9 }, + { no: 4, name: 'editor_language', kind: 'scalar', T: 9 }, + { no: 5, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 6, name: 'cursor_offset', kind: 'scalar', T: 4 }, + { no: 8, name: 'cursor_position', kind: 'message', T: ht }, + { no: 7, name: 'line_ending', kind: 'scalar', T: 9 }, + { no: 9, name: 'visible_range', kind: 'message', T: te }, + { no: 10, name: 'is_cutoff_start', kind: 'scalar', T: 8 }, + { no: 11, name: 'is_cutoff_end', kind: 'scalar', T: 8 }, + { no: 14, name: 'lines_cutoff_start', kind: 'scalar', T: 5 }, + { no: 15, name: 'lines_cutoff_end', kind: 'scalar', T: 5 }, + { no: 16, name: 'timestamp', kind: 'message', T: _ }, + { no: 17, name: 'is_dirty', kind: 'scalar', T: 8 }, + { no: 18, name: 'is_synthetic', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yf = class e extends r { + document; + otherDocuments = []; + codeContextItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PromptComponents'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'document', kind: 'message', T: g }, + { no: 2, name: 'other_documents', kind: 'message', T: g, repeated: !0 }, + { + no: 3, + name: 'code_context_items', + kind: 'message', + T: I, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Tn = class e extends r { + chunk = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TextOrScopeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9, oneof: 'chunk' }, + { no: 2, name: 'item', kind: 'message', T: Un, oneof: 'chunk' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Rc = class e extends r { + matchRepoName = ''; + matchPath = ''; + pinnedContexts = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PinnedContextConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'match_repo_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'match_path', kind: 'scalar', T: 9 }, + { no: 3, name: 'pinned_contexts', kind: 'message', T: Lc, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Lc = class e extends r { + contextItem = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PinnedContext'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'repository_path', + kind: 'message', + T: Pc, + oneof: 'context_item', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Pc = class e extends r { + remoteRepoName = ''; + version = ''; + relativePath = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.RepositoryPath'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'remote_repo_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'version', kind: 'scalar', T: 9 }, + { no: 3, name: 'relative_path', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hf = class e extends r { + pinnedContextConfigs = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DefaultPinnedContextConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'pinned_context_configs', + kind: 'message', + T: Rc, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Dc = class e extends r { + id = ''; + prompt = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Rule'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'prompt', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gf = class e extends r { + id = ''; + rule; + startLine = 0; + endLine = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.RuleViolation'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'rule', kind: 'message', T: Dc }, + { no: 3, name: 'start_line', kind: 'scalar', T: 5 }, + { no: 4, name: 'end_line', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bf = class e extends r { + logs = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.LanguageServerDiagnostics'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'logs', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qf = class e extends r { + database; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.IndexerStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'database', kind: 'message', T: kc }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + kc = class e extends r { + backend = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.IndexerDbStats'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'local_sqlite_faiss', + kind: 'message', + T: gc, + oneof: 'backend', + }, + { no: 2, name: 'postgres', kind: 'message', T: Jc, oneof: 'backend' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gc = class e extends r { + faissStateStats = []; + totalItemCount = o.zero; + quantized = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.LocalSqliteFaissDbStats'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'faiss_state_stats', + kind: 'message', + T: wc, + repeated: !0, + }, + { no: 2, name: 'total_item_count', kind: 'scalar', T: 3 }, + { no: 3, name: 'quantized', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wc = class e extends r { + embeddingSource = qe.UNSPECIFIED; + workspace = ''; + itemCount = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.FaissStateStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'embedding_source', kind: 'enum', T: a.getEnumType(qe) }, + { no: 2, name: 'workspace', kind: 'scalar', T: 9 }, + { no: 3, name: 'item_count', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Jc = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PostgresDbStats'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Hf = class e extends r { + time; + type = St.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.LastUpdateRecord'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'time', kind: 'message', T: _ }, + { no: 2, name: 'type', kind: 'enum', T: a.getEnumType(St) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fn = class e extends r { + model = f.UNSPECIFIED; + inputTokens = o.zero; + outputTokens = o.zero; + thinkingOutputTokens = o.zero; + responseOutputTokens = o.zero; + cacheReadTokens = o.zero; + apiProvider = kn.API_PROVIDER_UNSPECIFIED; + messageId = ''; + responseHeader = {}; + responseId = ''; + cacheWriteTokens = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ModelUsageStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + { no: 2, name: 'input_tokens', kind: 'scalar', T: 4 }, + { no: 3, name: 'output_tokens', kind: 'scalar', T: 4 }, + { no: 9, name: 'thinking_output_tokens', kind: 'scalar', T: 4 }, + { no: 10, name: 'response_output_tokens', kind: 'scalar', T: 4 }, + { no: 5, name: 'cache_read_tokens', kind: 'scalar', T: 4 }, + { no: 6, name: 'api_provider', kind: 'enum', T: a.getEnumType(kn) }, + { no: 7, name: 'message_id', kind: 'scalar', T: 9 }, + { + no: 8, + name: 'response_header', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + { no: 11, name: 'response_id', kind: 'scalar', T: 9 }, + { no: 4, name: 'cache_write_tokens', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Yf = class e extends r { + reason = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.SuperCompleteFilterReason'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'reason', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ae = class e extends r { + range; + message = ''; + severity = ''; + source = ''; + uri = ''; + id; + language = O.UNSPECIFIED; + score = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CodeDiagnostic'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'range', kind: 'message', T: te }, + { no: 2, name: 'message', kind: 'scalar', T: 9 }, + { no: 3, name: 'severity', kind: 'scalar', T: 9 }, + { no: 4, name: 'source', kind: 'scalar', T: 9 }, + { no: 5, name: 'uri', kind: 'scalar', T: 9 }, + { no: 6, name: 'id', kind: 'scalar', T: 9, opt: !0 }, + { no: 7, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 8, name: 'score', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wf = class e extends r { + range; + text = ''; + label = ''; + labelDetail = ''; + description = ''; + detail = ''; + documentation = ''; + kind = ''; + selected = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.IntellisenseSuggestion'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'range', kind: 'message', T: te }, + { no: 2, name: 'text', kind: 'scalar', T: 9 }, + { no: 3, name: 'label', kind: 'scalar', T: 9 }, + { no: 4, name: 'label_detail', kind: 'scalar', T: 9 }, + { no: 5, name: 'description', kind: 'scalar', T: 9 }, + { no: 6, name: 'detail', kind: 'scalar', T: 9 }, + { no: 7, name: 'documentation', kind: 'scalar', T: 9 }, + { no: 8, name: 'kind', kind: 'scalar', T: 9 }, + { no: 9, name: 'selected', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xc = class e extends r { + documentQuery; + overlappedCodeContextItems = []; + firstElementSuffixOverlap = 0; + lastElementPrefixOverlap = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DocumentLinesElement'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'document_query', kind: 'message', T: Uc }, + { + no: 2, + name: 'overlapped_code_context_items', + kind: 'message', + T: I, + repeated: !0, + }, + { no: 3, name: 'first_element_suffix_overlap', kind: 'scalar', T: 13 }, + { no: 4, name: 'last_element_prefix_overlap', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Uc = class e extends r { + text = ''; + cursorOffset = 0; + startLine = 0; + endLine = 0; + useCharacterPosition = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DocumentQuery'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + { no: 2, name: 'cursor_offset', kind: 'scalar', T: 5 }, + { no: 3, name: 'start_line', kind: 'scalar', T: 13 }, + { no: 4, name: 'end_line', kind: 'scalar', T: 13 }, + { no: 5, name: 'use_character_position', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bc = class e extends r { + element = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DocumentOutlineElement'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'code_context_item', + kind: 'message', + T: I, + oneof: 'element', + }, + { + no: 2, + name: 'document_lines_element', + kind: 'message', + T: xc, + oneof: 'element', + }, + { no: 3, name: 'text', kind: 'scalar', T: 9, oneof: 'element' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + re = class e extends r { + elements = []; + startIndex = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DocumentOutline'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'elements', kind: 'message', T: Bc, repeated: !0 }, + { no: 2, name: 'start_index', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Vf = class e extends r { + eventName = ''; + apiKey = ''; + installationId = ''; + ideName = ''; + os = ''; + codeiumVersion = ''; + ideVersion = ''; + durationMs = o.zero; + extra = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ProductEvent'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'event_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'api_key', kind: 'scalar', T: 9 }, + { no: 3, name: 'installation_id', kind: 'scalar', T: 9 }, + { no: 4, name: 'ide_name', kind: 'scalar', T: 9 }, + { no: 5, name: 'os', kind: 'scalar', T: 9 }, + { no: 6, name: 'codeium_version', kind: 'scalar', T: 9 }, + { no: 7, name: 'ide_version', kind: 'scalar', T: 9 }, + { no: 8, name: 'duration_ms', kind: 'scalar', T: 4 }, + { no: 9, name: 'extra', kind: 'map', K: 9, V: { kind: 'scalar', T: 9 } }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fc = class e extends r { + chunkType = { case: void 0 }; + position = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.KnowledgeBaseChunk'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9, oneof: 'chunk_type' }, + { + no: 3, + name: 'markdown_chunk', + kind: 'message', + T: yc, + oneof: 'chunk_type', + }, + { no: 2, name: 'position', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + G = class e extends r { + documentId = ''; + url = ''; + title = ''; + timestamp; + chunks = []; + summary = ''; + domTree; + image; + media; + text = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.KnowledgeBaseItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'document_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'url', kind: 'scalar', T: 9 }, + { no: 4, name: 'title', kind: 'scalar', T: 9 }, + { no: 5, name: 'timestamp', kind: 'message', T: _ }, + { no: 6, name: 'chunks', kind: 'message', T: Fc, repeated: !0 }, + { no: 7, name: 'summary', kind: 'scalar', T: 9 }, + { no: 9, name: 'dom_tree', kind: 'message', T: xn }, + { no: 8, name: 'image', kind: 'message', T: P }, + { no: 10, name: 'media', kind: 'message', T: C }, + { no: 2, name: 'text', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + K = class e extends r { + knowledgeBaseItem; + score = 0; + indexName = ''; + documentSourceName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.KnowledgeBaseItemWithMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'knowledge_base_item', kind: 'message', T: G }, + { no: 2, name: 'score', kind: 'scalar', T: 2 }, + { no: 3, name: 'index_name', kind: 'scalar', T: 9 }, + { no: 4, name: 'document_source_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + se = class e extends r { + description = ''; + item; + children = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.KnowledgeBaseGroup'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'description', kind: 'scalar', T: 9 }, + { no: 2, name: 'item', kind: 'message', T: K }, + { no: 3, name: 'children', kind: 'message', T: e, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + P = class e extends r { + base64Data = ''; + mimeType = ''; + caption = ''; + uri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ImageData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'base64_data', kind: 'scalar', T: 9 }, + { no: 2, name: 'mime_type', kind: 'scalar', T: 9 }, + { no: 3, name: 'caption', kind: 'scalar', T: 9 }, + { no: 4, name: 'uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Mc = class e extends r { + blobId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Blobref'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'blob_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + C = class e extends r { + mimeType = ''; + description = ''; + payload = { case: void 0 }; + uri = ''; + thumbnail = new Uint8Array(0); + durationSeconds = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Media'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'mime_type', kind: 'scalar', T: 9 }, + { no: 4, name: 'description', kind: 'scalar', T: 9 }, + { no: 2, name: 'inline_data', kind: 'scalar', T: 12, oneof: 'payload' }, + { no: 3, name: 'blobref', kind: 'message', T: Mc, oneof: 'payload' }, + { no: 5, name: 'uri', kind: 'scalar', T: 9 }, + { no: 6, name: 'thumbnail', kind: 'scalar', T: 12 }, + { no: 7, name: 'duration_seconds', kind: 'scalar', T: 2 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wr = class e extends r { + text = ''; + mimeType = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TextData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + { no: 2, name: 'mime_type', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yc = class e extends r { + headers = []; + text = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.MarkdownChunk'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'headers', kind: 'message', T: hc, repeated: !0 }, + { no: 2, name: 'text', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hc = class e extends r { + type = It.UNSPECIFIED; + text = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.MarkdownChunk.MarkdownHeader'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'enum', T: a.getEnumType(It) }, + { no: 2, name: 'text', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gc = class e extends r { + metadata; + terminalId = ''; + shellPid = 0; + commandLine = ''; + cwd = ''; + startTime; + source = gn.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TerminalShellCommandHeader'; + static fields = a.util.newFieldList(() => [ + { no: 7, name: 'metadata', kind: 'message', T: w }, + { no: 1, name: 'terminal_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'shell_pid', kind: 'scalar', T: 13 }, + { no: 3, name: 'command_line', kind: 'scalar', T: 9 }, + { no: 4, name: 'cwd', kind: 'scalar', T: 9 }, + { no: 5, name: 'start_time', kind: 'message', T: _ }, + { no: 6, name: 'source', kind: 'enum', T: a.getEnumType(gn) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bc = class e extends r { + rawData = new Uint8Array(0); + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TerminalShellCommandData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'raw_data', kind: 'scalar', T: 12 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qc = class e extends r { + exitCode; + endTime; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TerminalShellCommandTrailer'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'exit_code', kind: 'scalar', T: 5, opt: !0 }, + { no: 2, name: 'end_time', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Xf = class e extends r { + value = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TerminalShellCommandStreamChunk'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'header', kind: 'message', T: Gc, oneof: 'value' }, + { no: 2, name: 'data', kind: 'message', T: bc, oneof: 'value' }, + { no: 3, name: 'trailer', kind: 'message', T: qc, oneof: 'value' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Vr = class e extends r { + id = ''; + shellPid = 0; + commandLine = ''; + cwd = ''; + output = new Uint8Array(0); + exitCode; + startTime; + endTime; + lastUpdatedTime; + status = pt.UNSPECIFIED; + source = gn.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TerminalShellCommand'; + static fields = a.util.newFieldList(() => [ + { no: 10, name: 'id', kind: 'scalar', T: 9 }, + { no: 1, name: 'shell_pid', kind: 'scalar', T: 13 }, + { no: 2, name: 'command_line', kind: 'scalar', T: 9 }, + { no: 3, name: 'cwd', kind: 'scalar', T: 9 }, + { no: 4, name: 'output', kind: 'scalar', T: 12 }, + { no: 5, name: 'exit_code', kind: 'scalar', T: 5, opt: !0 }, + { no: 6, name: 'start_time', kind: 'message', T: _ }, + { no: 7, name: 'end_time', kind: 'message', T: _ }, + { no: 11, name: 'last_updated_time', kind: 'message', T: _ }, + { no: 8, name: 'status', kind: 'enum', T: a.getEnumType(pt) }, + { no: 9, name: 'source', kind: 'enum', T: a.getEnumType(gn) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Kf = class e extends r { + terminalId = ''; + platform = ''; + cwd = ''; + shellName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TerminalCommandData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'terminal_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'platform', kind: 'scalar', T: 9 }, + { no: 3, name: 'cwd', kind: 'scalar', T: 9 }, + { no: 4, name: 'shell_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vf = class e extends r { + antigravityProjectId = ''; + authUid = ''; + deploymentProvider = $.UNSPECIFIED; + providerProjectId = ''; + projectName = ''; + createdAt; + updatedAt; + domain = ''; + subdomainName = ''; + expiresAt; + claimedAt; + deprovisionedAt; + providerTeamId = ''; + projectUrl = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.AntigravityProject'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'antigravity_project_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'auth_uid', kind: 'scalar', T: 9 }, + { no: 3, name: 'deployment_provider', kind: 'enum', T: a.getEnumType($) }, + { no: 4, name: 'provider_project_id', kind: 'scalar', T: 9 }, + { no: 5, name: 'project_name', kind: 'scalar', T: 9 }, + { no: 6, name: 'created_at', kind: 'message', T: _ }, + { no: 7, name: 'updated_at', kind: 'message', T: _ }, + { no: 8, name: 'domain', kind: 'scalar', T: 9 }, + { no: 9, name: 'subdomain_name', kind: 'scalar', T: 9 }, + { no: 10, name: 'expires_at', kind: 'message', T: _ }, + { no: 11, name: 'claimed_at', kind: 'message', T: _ }, + { no: 12, name: 'deprovisioned_at', kind: 'message', T: _ }, + { no: 14, name: 'provider_team_id', kind: 'scalar', T: 9 }, + { no: 13, name: 'project_url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gt = class e extends r { + antigravityDeploymentId = ''; + authUid = ''; + deploymentProvider = $.UNSPECIFIED; + providerDeploymentId = ''; + antigravityProjectId = ''; + projectId = ''; + projectName = ''; + workspacePath = ''; + createdAt; + updatedAt; + domain = ''; + subdomainName = ''; + providerTeamId = ''; + expiresAt; + deploymentUrl = ''; + claimedAt; + deprovisionedAt; + buildStatusUrl = ''; + projectUrl = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.AntigravityDeployment'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'antigravity_deployment_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'auth_uid', kind: 'scalar', T: 9 }, + { no: 3, name: 'deployment_provider', kind: 'enum', T: a.getEnumType($) }, + { no: 14, name: 'provider_deployment_id', kind: 'scalar', T: 9 }, + { no: 19, name: 'antigravity_project_id', kind: 'scalar', T: 9 }, + { no: 4, name: 'project_id', kind: 'scalar', T: 9 }, + { no: 5, name: 'project_name', kind: 'scalar', T: 9 }, + { no: 6, name: 'workspace_path', kind: 'scalar', T: 9 }, + { no: 7, name: 'created_at', kind: 'message', T: _ }, + { no: 8, name: 'updated_at', kind: 'message', T: _ }, + { no: 16, name: 'domain', kind: 'scalar', T: 9 }, + { no: 17, name: 'subdomain_name', kind: 'scalar', T: 9 }, + { no: 20, name: 'provider_team_id', kind: 'scalar', T: 9 }, + { no: 11, name: 'expires_at', kind: 'message', T: _ }, + { no: 12, name: 'deployment_url', kind: 'scalar', T: 9 }, + { no: 15, name: 'claimed_at', kind: 'message', T: _ }, + { no: 13, name: 'deprovisioned_at', kind: 'message', T: _ }, + { no: 9, name: 'build_status_url', kind: 'scalar', T: 9 }, + { no: 10, name: 'project_url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Nn = class e extends r { + deploymentProvider = $.UNSPECIFIED; + isSandbox = !1; + providerTeamId = ''; + providerTeamSlug = ''; + domain = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DeployTarget'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'deployment_provider', kind: 'enum', T: a.getEnumType($) }, + { no: 2, name: 'is_sandbox', kind: 'scalar', T: 8 }, + { no: 3, name: 'provider_team_id', kind: 'scalar', T: 9 }, + { no: 4, name: 'provider_team_slug', kind: 'scalar', T: 9 }, + { no: 5, name: 'domain', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zf = class e extends r { + label = ''; + value = { case: void 0 }; + synonyms = []; + isFeatured = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.WebDocsOption'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'label', kind: 'scalar', T: 9 }, + { no: 2, name: 'docs_url', kind: 'scalar', T: 9, oneof: 'value' }, + { + no: 3, + name: 'docs_search_domain', + kind: 'scalar', + T: 9, + oneof: 'value', + }, + { no: 4, name: 'synonyms', kind: 'scalar', T: 9, repeated: !0 }, + { no: 5, name: 'is_featured', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Xr = class e extends r { + teamId = ''; + userPromptCreditCap = 0; + userFlowCreditCap = 0; + autoProvisionCascadeSeat = !1; + allowMcpServers = !1; + allowAutoRunCommands = !1; + maxUnclaimedSites = 0; + allowAppDeployments = !1; + allowSandboxAppDeployments = !1; + allowTeamsAppDeployments = !1; + maxNewSitesPerDay = 0; + allowGithubReviews = !1; + allowGithubDescriptionEdits = !1; + pullRequestReviewGuidelines = ''; + pullRequestDescriptionGuidelines = ''; + disableToolCalls = !1; + allowIndividualLevelAnalytics = !1; + allowConversationSharing; + pullRequestReviewRateLimit; + allowAttribution = !1; + allowedMcpServers = []; + allowGithubAutoReviews = !1; + allowBrowserExperimentalFeatures = !1; + disableToolCallExecutionOutsideWorkspace = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TeamConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'team_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'user_prompt_credit_cap', kind: 'scalar', T: 5 }, + { no: 3, name: 'user_flow_credit_cap', kind: 'scalar', T: 5 }, + { no: 4, name: 'auto_provision_cascade_seat', kind: 'scalar', T: 8 }, + { no: 5, name: 'allow_mcp_servers', kind: 'scalar', T: 8 }, + { no: 7, name: 'allow_auto_run_commands', kind: 'scalar', T: 8 }, + { no: 9, name: 'max_unclaimed_sites', kind: 'scalar', T: 5 }, + { no: 10, name: 'allow_app_deployments', kind: 'scalar', T: 8 }, + { no: 19, name: 'allow_sandbox_app_deployments', kind: 'scalar', T: 8 }, + { no: 20, name: 'allow_teams_app_deployments', kind: 'scalar', T: 8 }, + { no: 11, name: 'max_new_sites_per_day', kind: 'scalar', T: 5 }, + { no: 12, name: 'allow_github_reviews', kind: 'scalar', T: 8 }, + { no: 13, name: 'allow_github_description_edits', kind: 'scalar', T: 8 }, + { no: 14, name: 'pull_request_review_guidelines', kind: 'scalar', T: 9 }, + { + no: 16, + name: 'pull_request_description_guidelines', + kind: 'scalar', + T: 9, + }, + { no: 15, name: 'disable_tool_calls', kind: 'scalar', T: 8 }, + { + no: 17, + name: 'allow_individual_level_analytics', + kind: 'scalar', + T: 8, + }, + { + no: 18, + name: 'allow_conversation_sharing', + kind: 'scalar', + T: 8, + opt: !0, + }, + { + no: 21, + name: 'pull_request_review_rate_limit', + kind: 'scalar', + T: 5, + opt: !0, + }, + { no: 22, name: 'allow_attribution', kind: 'scalar', T: 8 }, + { + no: 23, + name: 'allowed_mcp_servers', + kind: 'message', + T: Vc, + repeated: !0, + }, + { no: 24, name: 'allow_github_auto_reviews', kind: 'scalar', T: 8 }, + { + no: 25, + name: 'allow_browser_experimental_features', + kind: 'scalar', + T: 8, + }, + { + no: 26, + name: 'disable_tool_call_execution_outside_workspace', + kind: 'scalar', + T: 8, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bt = class e extends r { + projectId = ''; + framework = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.WebAppDeploymentConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'project_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'framework', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jf = class e extends r { + title = ''; + id = ''; + link = ''; + description = ''; + commands = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.McpServerTemplate'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'title', kind: 'scalar', T: 9 }, + { no: 2, name: 'id', kind: 'scalar', T: 9 }, + { no: 3, name: 'link', kind: 'scalar', T: 9 }, + { no: 4, name: 'description', kind: 'scalar', T: 9 }, + { + no: 5, + name: 'commands', + kind: 'map', + K: 9, + V: { kind: 'message', T: Hc }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Hc = class e extends r { + template; + variables = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.McpServerCommand'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'template', kind: 'message', T: Yc }, + { no: 2, name: 'variables', kind: 'message', T: Wc, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Yc = class e extends r { + command = ''; + args = []; + env = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.McpCommandTemplate'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'command', kind: 'scalar', T: 9 }, + { no: 2, name: 'args', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'env', kind: 'map', K: 9, V: { kind: 'scalar', T: 9 } }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wc = class e extends r { + name = ''; + title = ''; + description = ''; + link = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.McpCommandVariable'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'title', kind: 'scalar', T: 9 }, + { no: 3, name: 'description', kind: 'scalar', T: 9 }, + { no: 4, name: 'link', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Vc = class e extends r { + serverId = ''; + configuration = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.McpServerConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'server_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'local', kind: 'message', T: Xc, oneof: 'configuration' }, + { no: 3, name: 'remote', kind: 'message', T: Kc, oneof: 'configuration' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Xc = class e extends r { + command = ''; + args = []; + env = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.McpLocalServer'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'command', kind: 'scalar', T: 9 }, + { no: 2, name: 'args', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'env', kind: 'map', K: 9, V: { kind: 'scalar', T: 9 } }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Kc = class e extends r { + type = ''; + url = ''; + headers = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.McpRemoteServer'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'scalar', T: 9 }, + { no: 2, name: 'url', kind: 'scalar', T: 9 }, + { + no: 3, + name: 'headers', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Qf = class e extends r { + userId = ''; + sessionId = ''; + properties = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.UnleashContext'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'user_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'session_id', kind: 'scalar', T: 9 }, + { + no: 3, + name: 'properties', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Kr = class e extends r { + timestamp; + userActivePageId = ''; + pages = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.BrowserStateSnapshot'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'timestamp', kind: 'message', T: _ }, + { no: 2, name: 'user_active_page_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'pages', kind: 'message', T: A, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + A = class e extends r { + url = ''; + pageId = ''; + pageTitle = ''; + viewportWidth = 0; + viewportHeight = 0; + pageHeight = 0; + faviconUrl = ''; + devicePixelRatio = 0; + lastVisitedTime; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.BrowserPageMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'url', kind: 'scalar', T: 9 }, + { no: 2, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'page_title', kind: 'scalar', T: 9 }, + { no: 4, name: 'viewport_width', kind: 'scalar', T: 13 }, + { no: 5, name: 'viewport_height', kind: 'scalar', T: 13 }, + { no: 9, name: 'page_height', kind: 'scalar', T: 13 }, + { no: 6, name: 'favicon_url', kind: 'scalar', T: 9 }, + { no: 8, name: 'device_pixel_ratio', kind: 'scalar', T: 2 }, + { no: 7, name: 'last_visited_time', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vc = class e extends r { + viewportScrollX = 0; + viewportScrollY = 0; + clickX = 0; + clickY = 0; + targetElementTagName = ''; + targetElementXPath = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.BrowserClickInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'viewport_scroll_x', kind: 'scalar', T: 13 }, + { no: 2, name: 'viewport_scroll_y', kind: 'scalar', T: 13 }, + { no: 3, name: 'click_x', kind: 'scalar', T: 13 }, + { no: 4, name: 'click_y', kind: 'scalar', T: 13 }, + { no: 5, name: 'target_element_tag_name', kind: 'scalar', T: 9 }, + { no: 6, name: 'target_element_x_path', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zc = class e extends r { + viewportScrollX = 0; + viewportScrollY = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.BrowserScrollInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'viewport_scroll_x', kind: 'scalar', T: 13 }, + { no: 2, name: 'viewport_scroll_y', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zf = class e extends r { + timestamp; + pageMetadata; + interaction = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.BrowserInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'timestamp', kind: 'message', T: _ }, + { no: 2, name: 'page_metadata', kind: 'message', T: A }, + { no: 3, name: 'click', kind: 'message', T: vc, oneof: 'interaction' }, + { no: 4, name: 'scroll', kind: 'message', T: zc, oneof: 'interaction' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jc = class e extends r { + version = 0; + description = ''; + betterDirection = Ct.UNSPECIFIED; + isBool = !1; + nullDefaultValue; + scope = Rt.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.MetricsMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'version', kind: 'scalar', T: 5 }, + { no: 2, name: 'description', kind: 'scalar', T: 9 }, + { no: 3, name: 'better_direction', kind: 'enum', T: a.getEnumType(Ct) }, + { no: 4, name: 'is_bool', kind: 'scalar', T: 8 }, + { no: 5, name: 'null_default_value', kind: 'scalar', T: 2, opt: !0 }, + { no: 6, name: 'scope', kind: 'enum', T: a.getEnumType(Rt) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ie = class e extends r { + name = ''; + metadata; + value = 0; + details = {}; + error = ''; + trajectoryId = ''; + lowerBetter = !1; + isBool = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.MetricsRecord'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 9, name: 'metadata', kind: 'message', T: jc }, + { no: 2, name: 'value', kind: 'scalar', T: 2 }, + { + no: 3, + name: 'details', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + { no: 6, name: 'error', kind: 'scalar', T: 9 }, + { no: 7, name: 'trajectory_id', kind: 'scalar', T: 9 }, + { no: 4, name: 'lower_better', kind: 'scalar', T: 8 }, + { no: 5, name: 'is_bool', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $f = class e extends r { + metrics = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.StepLevelMetricsRecord'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metrics', kind: 'message', T: ie, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Qc = class e extends r { + model = f.UNSPECIFIED; + message = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ModelNotification'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + { no: 2, name: 'message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nN = class e extends r { + modelNotifications = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.codeium_common_pb.ModelNotificationExperimentPayload'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'model_notifications', + kind: 'message', + T: Qc, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vr = class e extends r { + uri = ''; + range; + snippet; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.LspReference'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'range', kind: 'message', T: te }, + { no: 3, name: 'snippet', kind: 'scalar', T: 9, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + eN = class e extends r { + text = ''; + tooltipText = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.codeium_common_pb.CascadeModelHeaderWarningExperimentPayload'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + { no: 2, name: 'tooltip_text', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qt = class e extends r { + id = ''; + uri = ''; + line = 0; + content = ''; + createdAt; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CodeAnnotation'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'uri', kind: 'scalar', T: 9 }, + { no: 3, name: 'line', kind: 'scalar', T: 13 }, + { no: 4, name: 'content', kind: 'scalar', T: 9 }, + { no: 5, name: 'created_at', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + tN = class e extends r { + annotations = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.CodeAnnotationsState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'annotations', kind: 'message', T: qt, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + aN = class e extends r { + description = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TrajectoryDescription'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'cascade_conversation_title', + kind: 'scalar', + T: 9, + oneof: 'description', + }, + { + no: 2, + name: 'mainline_branch_name', + kind: 'scalar', + T: 9, + oneof: 'description', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ht = class e extends r { + provider = Lt.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ThirdPartyWebSearchConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'provider', kind: 'enum', T: a.getEnumType(Lt) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rN = class e extends r { + code = 0; + message = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.GRPCStatus'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'code', kind: 'scalar', T: 5 }, + { no: 2, name: 'message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sN = class e extends r { + absoluteUri = ''; + relativePath = ''; + status = Pt.UNSPECIFIED; + error = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.WorkingDirectoryInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'relative_path', kind: 'scalar', T: 9 }, + { no: 3, name: 'status', kind: 'enum', T: a.getEnumType(Pt) }, + { no: 4, name: 'error', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zc = class e extends r { + image; + media; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ArtifactFullFileTarget'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'image', kind: 'message', T: P }, + { no: 2, name: 'media', kind: 'message', T: C }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + oe = class e extends r { + content = ''; + startLine = 0; + endLine = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.TextSelection'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'content', kind: 'scalar', T: 9 }, + { no: 2, name: 'start_line', kind: 'scalar', T: 5 }, + { no: 3, name: 'end_line', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $c = class e extends r { + croppedImage; + x = 0; + y = 0; + width = 0; + height = 0; + croppedMedia; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ArtifactImageSelection'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cropped_image', kind: 'message', T: P }, + { no: 2, name: 'x', kind: 'scalar', T: 2 }, + { no: 3, name: 'y', kind: 'scalar', T: 2 }, + { no: 4, name: 'width', kind: 'scalar', T: 2 }, + { no: 5, name: 'height', kind: 'scalar', T: 2 }, + { no: 6, name: 'cropped_media', kind: 'message', T: C }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nu = class e extends r { + selection = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ArtifactSelection'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'text_selection', + kind: 'message', + T: oe, + oneof: 'selection', + }, + { + no: 2, + name: 'image_selection', + kind: 'message', + T: $c, + oneof: 'selection', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + eu = class e extends r { + selections = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ArtifactSelectionTarget'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'selections', kind: 'message', T: nu, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zr = class e extends r { + artifactUri = ''; + scope = { case: void 0 }; + comment = ''; + approvalStatus = Dt.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ArtifactComment'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'artifact_uri', kind: 'scalar', T: 9 }, + { no: 5, name: 'full_file', kind: 'message', T: Zc, oneof: 'scope' }, + { no: 6, name: 'selections', kind: 'message', T: eu, oneof: 'scope' }, + { no: 4, name: 'comment', kind: 'scalar', T: 9 }, + { no: 7, name: 'approval_status', kind: 'enum', T: a.getEnumType(Dt) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jr = class e extends r { + artifactType = kt.UNSPECIFIED; + summary = ''; + createdAt; + updatedAt; + version = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ArtifactMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'artifact_type', kind: 'enum', T: a.getEnumType(kt) }, + { no: 2, name: 'summary', kind: 'scalar', T: 9 }, + { no: 3, name: 'created_at', kind: 'message', T: _ }, + { no: 4, name: 'updated_at', kind: 'message', T: _ }, + { no: 5, name: 'version', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + tu = class e extends r { + originalSelection; + modifiedSelection; + comment = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.DiffCommentInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'original_selection', kind: 'message', T: oe, opt: !0 }, + { no: 2, name: 'modified_selection', kind: 'message', T: oe, opt: !0 }, + { no: 3, name: 'comment', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Qr = class e extends r { + fileUri = ''; + diffCommentInfos = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.FileDiffComment'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'file_uri', kind: 'scalar', T: 9 }, + { + no: 3, + name: 'diff_comment_infos', + kind: 'message', + T: tu, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + au = class e extends r { + comment = ''; + selection; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.FileCommentInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'comment', kind: 'scalar', T: 9 }, + { no: 2, name: 'selection', kind: 'message', T: oe }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zr = class e extends r { + fileUri = ''; + fileCommentInfos = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.FileComment'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'file_uri', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'file_comment_infos', + kind: 'message', + T: au, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + iN = class e extends r { + userStepJudgeConfig; + planningModeJudgeConfig; + promptSectionJudgeConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.OnlineMetricsConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'user_step_judge_config', kind: 'message', T: ou }, + { no: 2, name: 'planning_mode_judge_config', kind: 'message', T: mu }, + { no: 3, name: 'prompt_section_judge_config', kind: 'message', T: iu }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Yt = class e extends r { + samplingStrategy = { case: void 0 }; + randomSeed; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.MetricsSamplingConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'uniform', + kind: 'message', + T: ru, + oneof: 'sampling_strategy', + }, + { + no: 2, + name: 'generator_metadata_aware', + kind: 'message', + T: su, + oneof: 'sampling_strategy', + }, + { no: 3, name: 'random_seed', kind: 'scalar', T: 3, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ru = class e extends r { + samplingRate = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.SamplingStrategyUniform'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'sampling_rate', kind: 'scalar', T: 2 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + su = class e extends r { + targetSamplingRate = 0; + baselineSamplingRate = 0; + startGeneratorMetadataIndex = 0; + endGeneratorMetadataIndex = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.codeium_common_pb.SamplingStrategyGeneratorMetadataAware'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'target_sampling_rate', kind: 'scalar', T: 2 }, + { no: 2, name: 'baseline_sampling_rate', kind: 'scalar', T: 2 }, + { no: 3, name: 'start_generator_metadata_index', kind: 'scalar', T: 5 }, + { no: 4, name: 'end_generator_metadata_index', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + iu = class e extends r { + enabled = !1; + samplingConfig; + judgeModel = f.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PromptSectionJudgeConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8 }, + { no: 2, name: 'sampling_config', kind: 'message', T: Yt, opt: !0 }, + { no: 3, name: 'judge_model', kind: 'enum', T: a.getEnumType(f) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ou = class e extends r { + enabled = !1; + samplingConfig; + judgeModel = f.UNSPECIFIED; + maxTokens = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.UserStepJudgeConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8 }, + { no: 2, name: 'sampling_config', kind: 'message', T: Yt, opt: !0 }, + { no: 3, name: 'judge_model', kind: 'enum', T: a.getEnumType(f) }, + { no: 4, name: 'max_tokens', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mu = class e extends r { + enabled; + samplingConfig; + judgeModel = f.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.PlanningModeJudgeConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'sampling_config', kind: 'message', T: Yt, opt: !0 }, + { no: 3, name: 'judge_model', kind: 'enum', T: a.getEnumType(f) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $r = class e extends r { + x = 0; + y = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Point2'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'x', kind: 'scalar', T: 5 }, + { no: 2, name: 'y', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + oN = class e extends r { + ideName = ''; + ideVersion = ''; + os = ''; + arch = ''; + userTierId = ''; + userTags = []; + isRedacted = !1; + payload = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.JetskiTelemetryExtension'; + static fields = a.util.newFieldList(() => [ + { no: 16, name: 'ide_name', kind: 'scalar', T: 9 }, + { no: 17, name: 'ide_version', kind: 'scalar', T: 9 }, + { no: 18, name: 'os', kind: 'scalar', T: 9 }, + { no: 19, name: 'arch', kind: 'scalar', T: 9 }, + { no: 22, name: 'user_tier_id', kind: 'scalar', T: 9 }, + { no: 23, name: 'user_tags', kind: 'scalar', T: 9, repeated: !0 }, + { no: 24, name: 'is_redacted', kind: 'scalar', T: 8 }, + { + no: 6, + name: 'analytics_event_metadata', + kind: 'message', + T: uu, + oneof: 'payload', + }, + { + no: 15, + name: 'error_trace_metadata', + kind: 'message', + T: lu, + oneof: 'payload', + }, + { + no: 26, + name: 'observability_data', + kind: 'message', + T: Eu, + oneof: 'payload', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wt = class e extends r { + key = ''; + value = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ExtraMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'key', kind: 'scalar', T: 9 }, + { no: 2, name: 'value', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cu = class e extends r { + key = ''; + enabled = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.Experiment'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'key', kind: 'scalar', T: 9 }, + { no: 2, name: 'enabled', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + uu = class e extends r { + eventType = ''; + extra = []; + experiments = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.AnalyticsEventMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'event_type', kind: 'scalar', T: 9 }, + { no: 2, name: 'extra', kind: 'message', T: Wt, repeated: !0 }, + { no: 3, name: 'experiments', kind: 'message', T: cu, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + lu = class e extends r { + errorTrace; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ErrorTraceMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'error_trace', kind: 'message', T: hm }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Eu = class e extends r { + type = ''; + nonSensitiveData = []; + sensitiveData = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ObservabilityData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'non_sensitive_data', + kind: 'message', + T: Wt, + repeated: !0, + }, + { no: 3, name: 'sensitive_data', kind: 'message', T: Wt, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _u = class e extends r { + eventTimeMs = o.zero; + sourceExtension = new Uint8Array(0); + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.LogEvent'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'event_time_ms', kind: 'scalar', T: 3 }, + { no: 6, name: 'source_extension', kind: 'scalar', T: 12 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + du = class e extends r { + clientType = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.ClientInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'client_type', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mN = class e extends r { + clientInfo; + logSource = 0; + logEvents = []; + requestTimeMs = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.LogRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'client_info', kind: 'message', T: du }, + { no: 2, name: 'log_source', kind: 'scalar', T: 5 }, + { no: 3, name: 'log_events', kind: 'message', T: _u, repeated: !0 }, + { no: 4, name: 'request_time_ms', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cN = class e extends r { + nextRequestWaitMillis = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.codeium_common_pb.LogResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'next_request_wait_millis', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var Vt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.INSERT = 1)] = 'INSERT'), + (e[(e.DELETE = 2)] = 'DELETE'), + (e[(e.UNCHANGED = 3)] = 'UNCHANGED')); +})(Vt || (Vt = {})); +a.util.setEnumType(Vt, 'exa.diff_action_pb.UnifiedDiffLineType', [ + { no: 0, name: 'UNIFIED_DIFF_LINE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'UNIFIED_DIFF_LINE_TYPE_INSERT' }, + { no: 2, name: 'UNIFIED_DIFF_LINE_TYPE_DELETE' }, + { no: 3, name: 'UNIFIED_DIFF_LINE_TYPE_UNCHANGED' }, +]); +var Bn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.INSERT = 1)] = 'INSERT'), + (e[(e.DELETE = 2)] = 'DELETE'), + (e[(e.UNCHANGED = 3)] = 'UNCHANGED')); +})(Bn || (Bn = {})); +a.util.setEnumType(Bn, 'exa.diff_action_pb.DiffChangeType', [ + { no: 0, name: 'DIFF_CHANGE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'DIFF_CHANGE_TYPE_INSERT' }, + { no: 2, name: 'DIFF_CHANGE_TYPE_DELETE' }, + { no: 3, name: 'DIFF_CHANGE_TYPE_UNCHANGED' }, +]); +var Tu; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.UNIFIED = 1)] = 'UNIFIED'), + (e[(e.CHARACTER = 2)] = 'CHARACTER'), + (e[(e.COMBO = 3)] = 'COMBO'), + (e[(e.TMP_SUPERCOMPLETE = 4)] = 'TMP_SUPERCOMPLETE'), + (e[(e.TMP_TAB_JUMP = 5)] = 'TMP_TAB_JUMP')); +})(Tu || (Tu = {})); +a.util.setEnumType(Tu, 'exa.diff_action_pb.DiffType', [ + { no: 0, name: 'DIFF_TYPE_UNSPECIFIED' }, + { no: 1, name: 'DIFF_TYPE_UNIFIED' }, + { no: 2, name: 'DIFF_TYPE_CHARACTER' }, + { no: 3, name: 'DIFF_TYPE_COMBO' }, + { no: 4, name: 'DIFF_TYPE_TMP_SUPERCOMPLETE' }, + { no: 5, name: 'DIFF_TYPE_TMP_TAB_JUMP' }, +]); +var me = class e extends r { + lines = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.diff_action_pb.UnifiedDiff'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'lines', kind: 'message', T: fu, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fu = class e extends r { + text = ''; + type = Vt.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.diff_action_pb.UnifiedDiff.UnifiedDiffLine'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + { no: 2, name: 'type', kind: 'enum', T: a.getEnumType(Vt) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + an = class e extends r { + startLine = 0; + endLine = 0; + unifiedDiff; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.diff_action_pb.DiffBlock'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'start_line', kind: 'scalar', T: 5 }, + { no: 2, name: 'end_line', kind: 'scalar', T: 5 }, + { no: 3, name: 'unified_diff', kind: 'message', T: me }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Nu = class e extends r { + text = ''; + type = Bn.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.diff_action_pb.CharacterDiffChange'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + { no: 2, name: 'type', kind: 'enum', T: a.getEnumType(Bn) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ns = class e extends r { + changes = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.diff_action_pb.CharacterDiff'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'changes', kind: 'message', T: Nu, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Su = class e extends r { + text = ''; + type = Bn.UNSPECIFIED; + characterDiff; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.diff_action_pb.ComboDiffLine'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + { no: 2, name: 'type', kind: 'enum', T: a.getEnumType(Bn) }, + { no: 3, name: 'character_diff', kind: 'message', T: ns }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Iu = class e extends r { + lines = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.diff_action_pb.ComboDiff'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'lines', kind: 'message', T: Su, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + uN = class e extends r { + unifiedDiff; + characterDiff; + comboDiff; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.diff_action_pb.DiffSet'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'unified_diff', kind: 'message', T: me }, + { no: 2, name: 'character_diff', kind: 'message', T: ns }, + { no: 3, name: 'combo_diff', kind: 'message', T: Iu }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + es = class e extends r { + diffs = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.diff_action_pb.DiffList'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'diffs', kind: 'message', T: an, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var pu; +(function (e) { + ((e[(e.FEEDBACK_TYPE_UNSPECIFIED = 0)] = 'FEEDBACK_TYPE_UNSPECIFIED'), + (e[(e.FEEDBACK_TYPE_ACCEPT = 1)] = 'FEEDBACK_TYPE_ACCEPT'), + (e[(e.FEEDBACK_TYPE_REJECT = 2)] = 'FEEDBACK_TYPE_REJECT'), + (e[(e.FEEDBACK_TYPE_COPIED = 3)] = 'FEEDBACK_TYPE_COPIED'), + (e[(e.FEEDBACK_TYPE_ACCEPT_DIFF = 4)] = 'FEEDBACK_TYPE_ACCEPT_DIFF'), + (e[(e.FEEDBACK_TYPE_REJECT_DIFF = 5)] = 'FEEDBACK_TYPE_REJECT_DIFF'), + (e[(e.FEEDBACK_TYPE_APPLY_DIFF = 6)] = 'FEEDBACK_TYPE_APPLY_DIFF'), + (e[(e.FEEDBACK_TYPE_INSERT_AT_CURSOR = 7)] = + 'FEEDBACK_TYPE_INSERT_AT_CURSOR')); +})(pu || (pu = {})); +a.util.setEnumType(pu, 'exa.chat_pb.ChatFeedbackType', [ + { no: 0, name: 'FEEDBACK_TYPE_UNSPECIFIED' }, + { no: 1, name: 'FEEDBACK_TYPE_ACCEPT' }, + { no: 2, name: 'FEEDBACK_TYPE_REJECT' }, + { no: 3, name: 'FEEDBACK_TYPE_COPIED' }, + { no: 4, name: 'FEEDBACK_TYPE_ACCEPT_DIFF' }, + { no: 5, name: 'FEEDBACK_TYPE_REJECT_DIFF' }, + { no: 6, name: 'FEEDBACK_TYPE_APPLY_DIFF' }, + { no: 7, name: 'FEEDBACK_TYPE_INSERT_AT_CURSOR' }, +]); +var Xt; +(function (e) { + ((e[(e.CHAT_INTENT_UNSPECIFIED = 0)] = 'CHAT_INTENT_UNSPECIFIED'), + (e[(e.CHAT_INTENT_GENERIC = 1)] = 'CHAT_INTENT_GENERIC'), + (e[(e.CHAT_INTENT_CODE_BLOCK_REFACTOR = 6)] = + 'CHAT_INTENT_CODE_BLOCK_REFACTOR'), + (e[(e.CHAT_INTENT_GENERATE_CODE = 9)] = 'CHAT_INTENT_GENERATE_CODE'), + (e[(e.CHAT_INTENT_FAST_APPLY = 12)] = 'CHAT_INTENT_FAST_APPLY')); +})(Xt || (Xt = {})); +a.util.setEnumType(Xt, 'exa.chat_pb.ChatIntentType', [ + { no: 0, name: 'CHAT_INTENT_UNSPECIFIED' }, + { no: 1, name: 'CHAT_INTENT_GENERIC' }, + { no: 6, name: 'CHAT_INTENT_CODE_BLOCK_REFACTOR' }, + { no: 9, name: 'CHAT_INTENT_GENERATE_CODE' }, + { no: 12, name: 'CHAT_INTENT_FAST_APPLY' }, +]); +var Kt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.EPHEMERAL = 1)] = 'EPHEMERAL')); +})(Kt || (Kt = {})); +a.util.setEnumType(Kt, 'exa.chat_pb.CacheControlType', [ + { no: 0, name: 'CACHE_CONTROL_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CACHE_CONTROL_TYPE_EPHEMERAL' }, +]); +var ts = class e extends r { + rawSource = ''; + startLine = 0; + startCol = 0; + endLine = 0; + endCol = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.CodeBlockInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'raw_source', kind: 'scalar', T: 9 }, + { no: 2, name: 'start_line', kind: 'scalar', T: 5 }, + { no: 3, name: 'start_col', kind: 'scalar', T: 5 }, + { no: 4, name: 'end_line', kind: 'scalar', T: 5 }, + { no: 5, name: 'end_col', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ou = class e extends r { + responseStreamLatencyMs = o.zero; + refreshContextLatencyMs = o.zero; + shouldGetLocalContextForChatLatencyMs = o.zero; + shouldGetLocalContextForChat = !1; + computeChangeEventsLatencyMs = o.zero; + contextToChatPromptLatencyMs = o.zero; + numPromptTokens = 0; + numSystemPromptTokens = 0; + numInputTokens = o.zero; + startTimestamp; + endTimestamp; + activeDocumentAbsolutePath = ''; + lastActiveCodeContextItem; + numIndexedFiles = o.zero; + numIndexedCodeContextItems = o.zero; + model = f.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMetrics'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'response_stream_latency_ms', kind: 'scalar', T: 4 }, + { no: 2, name: 'refresh_context_latency_ms', kind: 'scalar', T: 4 }, + { + no: 3, + name: 'should_get_local_context_for_chat_latency_ms', + kind: 'scalar', + T: 4, + }, + { + no: 4, + name: 'should_get_local_context_for_chat', + kind: 'scalar', + T: 8, + }, + { no: 5, name: 'compute_change_events_latency_ms', kind: 'scalar', T: 4 }, + { + no: 6, + name: 'context_to_chat_prompt_latency_ms', + kind: 'scalar', + T: 4, + }, + { no: 7, name: 'num_prompt_tokens', kind: 'scalar', T: 5 }, + { no: 8, name: 'num_system_prompt_tokens', kind: 'scalar', T: 5 }, + { no: 16, name: 'num_input_tokens', kind: 'scalar', T: 4 }, + { no: 9, name: 'start_timestamp', kind: 'message', T: _ }, + { no: 10, name: 'end_timestamp', kind: 'message', T: _ }, + { no: 11, name: 'active_document_absolute_path', kind: 'scalar', T: 9 }, + { no: 12, name: 'last_active_code_context_item', kind: 'message', T: I }, + { no: 13, name: 'num_indexed_files', kind: 'scalar', T: 4 }, + { no: 14, name: 'num_indexed_code_context_items', kind: 'scalar', T: 4 }, + { no: 15, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Au = class e extends r { + text = ''; + items = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.IntentGeneric'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + { no: 2, name: 'items', kind: 'message', T: Tn, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Cu = class e extends r { + codeBlockInfo; + language = O.UNSPECIFIED; + filePathMigrateMeToUri = ''; + uri = ''; + refactorDescription = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.IntentCodeBlockRefactor'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'code_block_info', kind: 'message', T: ts }, + { no: 2, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 3, name: 'file_path_migrate_me_to_uri', kind: 'scalar', T: 9 }, + { no: 5, name: 'uri', kind: 'scalar', T: 9 }, + { no: 4, name: 'refactor_description', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ru = class e extends r { + instruction = ''; + language = O.UNSPECIFIED; + filePathMigrateMeToUri = ''; + uri = ''; + lineNumber = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.IntentGenerateCode'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'instruction', kind: 'scalar', T: 9 }, + { no: 2, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 3, name: 'file_path_migrate_me_to_uri', kind: 'scalar', T: 9 }, + { no: 5, name: 'uri', kind: 'scalar', T: 9 }, + { no: 4, name: 'line_number', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Lu = class e extends r { + diffOutline = ''; + language = O.UNSPECIFIED; + oldCode; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.IntentFastApply'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'diff_outline', kind: 'scalar', T: 9 }, + { no: 2, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 3, name: 'old_code', kind: 'message', T: ts }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Pu = class e extends r { + intent = { case: void 0 }; + numTokens = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessageIntent'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'generic', kind: 'message', T: Au, oneof: 'intent' }, + { + no: 6, + name: 'code_block_refactor', + kind: 'message', + T: Cu, + oneof: 'intent', + }, + { no: 9, name: 'generate_code', kind: 'message', T: Ru, oneof: 'intent' }, + { no: 13, name: 'fast_apply', kind: 'message', T: Lu, oneof: 'intent' }, + { no: 12, name: 'num_tokens', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Du = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessageActionSearch'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ku = class e extends r { + filePathMigrateMeToUri = ''; + uri = ''; + diff; + language = O.UNSPECIFIED; + textPre = ''; + textPost = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessageActionEdit'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'file_path_migrate_me_to_uri', kind: 'scalar', T: 9 }, + { no: 6, name: 'uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'diff', kind: 'message', T: an }, + { no: 3, name: 'language', kind: 'enum', T: a.getEnumType(O) }, + { no: 4, name: 'text_pre', kind: 'scalar', T: 9 }, + { no: 5, name: 'text_post', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gu = class e extends r { + text = ''; + displayText = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessageActionGeneric'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + { no: 2, name: 'display_text', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wu = class e extends r { + isLoading = !1; + isRelevant = !1; + querySuggestions = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessageStatusContextRelevancy'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'is_loading', kind: 'scalar', T: 8 }, + { no: 2, name: 'is_relevant', kind: 'scalar', T: 8 }, + { no: 3, name: 'query_suggestions', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ju = class e extends r { + status = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessageStatus'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'context_relevancy', + kind: 'message', + T: wu, + oneof: 'status', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xu = class e extends r { + text = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessageError'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Uu = class e extends r { + action = { case: void 0 }; + numTokens = 0; + contextItems = []; + latestIntent = Xt.CHAT_INTENT_UNSPECIFIED; + generationStats; + knowledgeBaseItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessageAction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'generic', kind: 'message', T: gu, oneof: 'action' }, + { no: 3, name: 'edit', kind: 'message', T: ku, oneof: 'action' }, + { no: 5, name: 'search', kind: 'message', T: Du, oneof: 'action' }, + { no: 2, name: 'num_tokens', kind: 'scalar', T: 13 }, + { no: 4, name: 'context_items', kind: 'message', T: I, repeated: !0 }, + { no: 6, name: 'latest_intent', kind: 'enum', T: a.getEnumType(Xt) }, + { no: 7, name: 'generation_stats', kind: 'message', T: Ou }, + { + no: 8, + name: 'knowledge_base_items', + kind: 'message', + T: K, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ce = class e extends r { + messageId = ''; + source = Y.UNSPECIFIED; + timestamp; + conversationId = ''; + content = { case: void 0 }; + inProgress = !1; + request; + redact = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessage'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'message_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'source', kind: 'enum', T: a.getEnumType(Y) }, + { no: 3, name: 'timestamp', kind: 'message', T: _ }, + { no: 4, name: 'conversation_id', kind: 'scalar', T: 9 }, + { no: 5, name: 'intent', kind: 'message', T: Pu, oneof: 'content' }, + { no: 6, name: 'action', kind: 'message', T: Uu, oneof: 'content' }, + { no: 7, name: 'error', kind: 'message', T: xu, oneof: 'content' }, + { no: 8, name: 'status', kind: 'message', T: Ju, oneof: 'content' }, + { no: 9, name: 'in_progress', kind: 'scalar', T: 8 }, + { no: 10, name: 'request', kind: 'message', T: Bu }, + { no: 11, name: 'redact', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + lN = class e extends r { + messages = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.Conversation'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'messages', kind: 'message', T: ce, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + v = class e extends r { + messageId = ''; + source = Y.UNSPECIFIED; + prompt = ''; + numTokens = 0; + safeForCodeTelemetry = !1; + toolCalls = []; + toolCallId = ''; + promptCacheOptions; + toolResultIsError = !1; + images = []; + media = []; + thinking = ''; + rawThinking = ''; + signature = ''; + thinkingSignature = new Uint8Array(0); + thinkingRedacted = !1; + promptAnnotationRanges = []; + stepIdx = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessagePrompt'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'message_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'source', kind: 'enum', T: a.getEnumType(Y) }, + { no: 3, name: 'prompt', kind: 'scalar', T: 9 }, + { no: 4, name: 'num_tokens', kind: 'scalar', T: 13 }, + { no: 5, name: 'safe_for_code_telemetry', kind: 'scalar', T: 8 }, + { no: 6, name: 'tool_calls', kind: 'message', T: x, repeated: !0 }, + { no: 7, name: 'tool_call_id', kind: 'scalar', T: 9 }, + { no: 8, name: 'prompt_cache_options', kind: 'message', T: vt }, + { no: 9, name: 'tool_result_is_error', kind: 'scalar', T: 8 }, + { no: 10, name: 'images', kind: 'message', T: P, repeated: !0 }, + { no: 19, name: 'media', kind: 'message', T: C, repeated: !0 }, + { no: 11, name: 'thinking', kind: 'scalar', T: 9 }, + { no: 17, name: 'raw_thinking', kind: 'scalar', T: 9 }, + { no: 12, name: 'signature', kind: 'scalar', T: 9 }, + { no: 20, name: 'thinking_signature', kind: 'scalar', T: 12 }, + { no: 13, name: 'thinking_redacted', kind: 'scalar', T: 8 }, + { + no: 14, + name: 'prompt_annotation_ranges', + kind: 'message', + T: wt, + repeated: !0, + }, + { no: 18, name: 'step_idx', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + EN = class e extends r { + prompts = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessagePrompts'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'prompts', kind: 'message', T: v, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vt = class e extends r { + type = Kt.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.PromptCacheOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'enum', T: a.getEnumType(Kt) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ue = class e extends r { + name = ''; + description = ''; + jsonSchemaString = ''; + strict = !1; + attributionFieldNames = []; + serverName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatToolDefinition'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'description', kind: 'scalar', T: 9 }, + { no: 3, name: 'json_schema_string', kind: 'scalar', T: 9 }, + { no: 4, name: 'strict', kind: 'scalar', T: 8 }, + { + no: 5, + name: 'attribution_field_names', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 6, name: 'server_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zt = class e extends r { + choice = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatToolChoice'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'option_name', kind: 'scalar', T: 9, oneof: 'choice' }, + { no: 2, name: 'tool_name', kind: 'scalar', T: 9, oneof: 'choice' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _N = class e extends r { + query = ''; + allowedTypes = []; + includeRepoInfo = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMentionsSearchRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'allowed_types', + kind: 'enum', + T: a.getEnumType(W), + repeated: !0, + }, + { no: 3, name: 'include_repo_info', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + dN = class e extends r { + cciItems = []; + repoInfos = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMentionsSearchResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cci_items', kind: 'message', T: I, repeated: !0 }, + { no: 2, name: 'repo_infos', kind: 'message', T: J, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bu = class e extends r { + metadata; + chatMessages = []; + activeDocument; + openDocumentUris = []; + workspaceUris = []; + activeSelection = ''; + contextInclusionType = vn.UNSPECIFIED; + chatModel = f.UNSPECIFIED; + systemPromptOverride = ''; + chatModelName = ''; + enterpriseChatModelConfig; + experimentConfig; + openDocumentPathsMigrateMeToUris = []; + workspacePathsMigrateMeToUris = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.GetChatMessageRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: w }, + { no: 3, name: 'chat_messages', kind: 'message', T: ce, repeated: !0 }, + { no: 5, name: 'active_document', kind: 'message', T: g }, + { + no: 12, + name: 'open_document_uris', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 13, name: 'workspace_uris', kind: 'scalar', T: 9, repeated: !0 }, + { no: 11, name: 'active_selection', kind: 'scalar', T: 9 }, + { + no: 8, + name: 'context_inclusion_type', + kind: 'enum', + T: a.getEnumType(vn), + }, + { no: 9, name: 'chat_model', kind: 'enum', T: a.getEnumType(f) }, + { no: 10, name: 'system_prompt_override', kind: 'scalar', T: 9 }, + { no: 14, name: 'chat_model_name', kind: 'scalar', T: 9 }, + { no: 15, name: 'enterprise_chat_model_config', kind: 'message', T: Fu }, + { no: 4, name: 'experiment_config', kind: 'message', T: Zn }, + { + no: 6, + name: 'open_document_paths_migrate_me_to_uris', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 7, + name: 'workspace_paths_migrate_me_to_uris', + kind: 'scalar', + T: 9, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fu = class e extends r { + maxOutputTokens = 0; + maxInputTokens = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.chat_pb.GetChatMessageRequest.EnterpriseExternalModelConfig'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'max_output_tokens', kind: 'scalar', T: 5 }, + { no: 3, name: 'max_input_tokens', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + TN = class e extends r { + experimentKey = B.UNSPECIFIED; + enabled = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatExperimentStatus'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'experiment_key', kind: 'enum', T: a.getEnumType(B) }, + { no: 2, name: 'enabled', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fN = class e extends r { + role = Y.UNSPECIFIED; + header = ''; + content = ''; + footer = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.FormattedChatMessage'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'role', kind: 'enum', T: a.getEnumType(Y) }, + { no: 2, name: 'header', kind: 'scalar', T: 9 }, + { no: 3, name: 'content', kind: 'scalar', T: 9 }, + { no: 4, name: 'footer', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Mu = class e extends r { + indexMap = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.IndexMap'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'index_map', + kind: 'map', + K: 5, + V: { kind: 'message', T: yu }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yu = class e extends r { + indices = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.IndexMap.IndexList'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'indices', kind: 'scalar', T: 5, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + NN = class e extends r { + systemPrompt = ''; + tools = []; + toolChoice; + inputChatMessages = []; + outputChatMessages = []; + trajectoryToChatMessageIndexMap; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.ChatMessageRollout'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'system_prompt', kind: 'scalar', T: 9 }, + { no: 2, name: 'tools', kind: 'message', T: ue, repeated: !0 }, + { no: 3, name: 'tool_choice', kind: 'message', T: zt }, + { + no: 4, + name: 'input_chat_messages', + kind: 'message', + T: v, + repeated: !0, + }, + { + no: 5, + name: 'output_chat_messages', + kind: 'message', + T: v, + repeated: !0, + }, + { + no: 6, + name: 'trajectory_to_chat_message_index_map', + kind: 'message', + T: Mu, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + SN = class e extends r { + modelName = ''; + modelEnum = ''; + geminiExample; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.XboxInferenceToolRequest'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'model_name', kind: 'scalar', T: 9 }, + { no: 4, name: 'model_enum', kind: 'scalar', T: 9 }, + { no: 2, name: 'gemini_example', kind: 'message', T: hu }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hu = class e extends r { + messages = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.Example'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'messages', kind: 'message', T: Gu, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gu = class e extends r { + role = ''; + chunks = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.Message'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'role', kind: 'scalar', T: 9 }, + { no: 2, name: 'chunks', kind: 'message', T: bu, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bu = class e extends r { + value = { case: void 0 }; + trainable = jt.UNKNOWN_TRAINABLE; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.Chunk'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'text', kind: 'scalar', T: 9, oneof: 'value' }, + { no: 4, name: 'image', kind: 'message', T: qu, oneof: 'value' }, + { no: 10, name: 'trainable', kind: 'enum', T: a.getEnumType(jt) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jt; +(function (e) { + ((e[(e.UNKNOWN_TRAINABLE = 0)] = 'UNKNOWN_TRAINABLE'), + (e[(e.FORMATTER_DEFINED = 1)] = 'FORMATTER_DEFINED'), + (e[(e.ALWAYS = 2)] = 'ALWAYS'), + (e[(e.NEVER = 3)] = 'NEVER')); +})(jt || (jt = {})); +a.util.setEnumType(jt, 'exa.chat_pb.Chunk.Trainable', [ + { no: 0, name: 'UNKNOWN_TRAINABLE' }, + { no: 1, name: 'FORMATTER_DEFINED' }, + { no: 2, name: 'ALWAYS' }, + { no: 3, name: 'NEVER' }, +]); +var qu = class e extends r { + value; + heightPx = 0; + widthPx = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.Image'; + static fields = a.util.newFieldList(() => [ + { no: 5, name: 'value', kind: 'message', T: Hu }, + { no: 3, name: 'height_px', kind: 'scalar', T: 5 }, + { no: 4, name: 'width_px', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Hu = class e extends r { + content = new Uint8Array(0); + mimeType = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.FileData'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'content', kind: 'scalar', T: 12 }, + { no: 2, name: 'mime_type', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + IN = class e extends r { + request = { case: void 0 }; + id = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.RpcRequest'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'run_tool_request', + kind: 'message', + T: Yu, + oneof: 'request', + }, + { no: 3, name: 'id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pN = class e extends r { + response = { case: void 0 }; + requestId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.RpcResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'run_tool_response', + kind: 'message', + T: Wu, + oneof: 'response', + }, + { no: 2, name: 'request_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Yu = class e extends r { + name = ''; + operationId = ''; + parameters = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.RunToolRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'operation_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'parameters', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wu = class e extends r { + response = ''; + status; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.RunToolResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'response', kind: 'scalar', T: 9 }, + { no: 2, name: 'status', kind: 'message', T: Vu }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Vu = class e extends r { + code = 0; + statusMessage = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_pb.RunToolResponse.Status'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'code', kind: 'scalar', T: 5 }, + { no: 2, name: 'status_message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var Xu; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ACTIVE_DOCUMENT = 1)] = 'ACTIVE_DOCUMENT'), + (e[(e.CURSOR_POSITION = 2)] = 'CURSOR_POSITION'), + (e[(e.CHAT_MESSAGE_RECEIVED = 3)] = 'CHAT_MESSAGE_RECEIVED'), + (e[(e.OPEN_DOCUMENTS = 4)] = 'OPEN_DOCUMENTS'), + (e[(e.ORACLE_ITEMS = 5)] = 'ORACLE_ITEMS'), + (e[(e.PINNED_CONTEXT = 6)] = 'PINNED_CONTEXT'), + (e[(e.PINNED_GUIDELINE = 7)] = 'PINNED_GUIDELINE'), + (e[(e.ACTIVE_NODE = 9)] = 'ACTIVE_NODE')); +})(Xu || (Xu = {})); +a.util.setEnumType(Xu, 'exa.context_module_pb.ContextChangeType', [ + { no: 0, name: 'CONTEXT_CHANGE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CONTEXT_CHANGE_TYPE_ACTIVE_DOCUMENT' }, + { no: 2, name: 'CONTEXT_CHANGE_TYPE_CURSOR_POSITION' }, + { no: 3, name: 'CONTEXT_CHANGE_TYPE_CHAT_MESSAGE_RECEIVED' }, + { no: 4, name: 'CONTEXT_CHANGE_TYPE_OPEN_DOCUMENTS' }, + { no: 5, name: 'CONTEXT_CHANGE_TYPE_ORACLE_ITEMS' }, + { no: 6, name: 'CONTEXT_CHANGE_TYPE_PINNED_CONTEXT' }, + { no: 7, name: 'CONTEXT_CHANGE_TYPE_PINNED_GUIDELINE' }, + { no: 9, name: 'CONTEXT_CHANGE_TYPE_ACTIVE_NODE' }, +]); +var Ku; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.AUTOCOMPLETE = 1)] = 'AUTOCOMPLETE'), + (e[(e.CHAT = 2)] = 'CHAT'), + (e[(e.CHAT_COMPLETION = 3)] = 'CHAT_COMPLETION'), + (e[(e.CORTEX_RESEARCH = 4)] = 'CORTEX_RESEARCH'), + (e[(e.EVAL = 5)] = 'EVAL'), + (e[(e.CHAT_COMPLETION_GENERATE = 6)] = 'CHAT_COMPLETION_GENERATE'), + (e[(e.SUPERCOMPLETE = 7)] = 'SUPERCOMPLETE'), + (e[(e.FAST_APPLY = 8)] = 'FAST_APPLY'), + (e[(e.COMMAND_TERMINAL = 9)] = 'COMMAND_TERMINAL')); +})(Ku || (Ku = {})); +a.util.setEnumType(Ku, 'exa.context_module_pb.ContextUseCase', [ + { no: 0, name: 'CONTEXT_USE_CASE_UNSPECIFIED' }, + { no: 1, name: 'CONTEXT_USE_CASE_AUTOCOMPLETE' }, + { no: 2, name: 'CONTEXT_USE_CASE_CHAT' }, + { no: 3, name: 'CONTEXT_USE_CASE_CHAT_COMPLETION' }, + { no: 4, name: 'CONTEXT_USE_CASE_CORTEX_RESEARCH' }, + { no: 5, name: 'CONTEXT_USE_CASE_EVAL' }, + { no: 6, name: 'CONTEXT_USE_CASE_CHAT_COMPLETION_GENERATE' }, + { no: 7, name: 'CONTEXT_USE_CASE_SUPERCOMPLETE' }, + { no: 8, name: 'CONTEXT_USE_CASE_FAST_APPLY' }, + { no: 9, name: 'CONTEXT_USE_CASE_COMMAND_TERMINAL' }, +]); +var Qt; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.AUTOCOMPLETE = 1)] = 'AUTOCOMPLETE'), + (e[(e.CHAT = 2)] = 'CHAT'), + (e[(e.IDE_ACTION = 4)] = 'IDE_ACTION'), + (e[(e.CHAT_COMPLETION = 5)] = 'CHAT_COMPLETION')); +})(Qt || (Qt = {})); +a.util.setEnumType(Qt, 'exa.context_module_pb.ContextRefreshReason', [ + { no: 0, name: 'CONTEXT_REFRESH_REASON_UNSPECIFIED' }, + { no: 1, name: 'CONTEXT_REFRESH_REASON_AUTOCOMPLETE' }, + { no: 2, name: 'CONTEXT_REFRESH_REASON_CHAT' }, + { no: 4, name: 'CONTEXT_REFRESH_REASON_IDE_ACTION' }, + { no: 5, name: 'CONTEXT_REFRESH_REASON_CHAT_COMPLETION' }, +]); +var ON = class e extends r { + contextChangeEvent = { case: void 0 }; + contextRefreshReason = Qt.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextChangeEvent'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'context_change_active_document', + kind: 'message', + T: vu, + oneof: 'context_change_event', + }, + { + no: 2, + name: 'context_change_cursor_position', + kind: 'message', + T: zu, + oneof: 'context_change_event', + }, + { + no: 3, + name: 'context_change_chat_message_received', + kind: 'message', + T: ju, + oneof: 'context_change_event', + }, + { + no: 4, + name: 'context_change_open_documents', + kind: 'message', + T: Qu, + oneof: 'context_change_event', + }, + { + no: 5, + name: 'context_change_oracle_items', + kind: 'message', + T: Zu, + oneof: 'context_change_event', + }, + { + no: 7, + name: 'context_change_pinned_context', + kind: 'message', + T: $u, + oneof: 'context_change_event', + }, + { + no: 8, + name: 'context_change_pinned_guideline', + kind: 'message', + T: nl, + oneof: 'context_change_event', + }, + { + no: 10, + name: 'context_change_active_node', + kind: 'message', + T: el, + oneof: 'context_change_event', + }, + { + no: 6, + name: 'context_refresh_reason', + kind: 'enum', + T: a.getEnumType(Qt), + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vu = class e extends r { + document; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextChangeActiveDocument'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'document', kind: 'message', T: g }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zu = class e extends r { + document; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextChangeCursorPosition'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'document', kind: 'message', T: g }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ju = class e extends r { + chatMessages = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextChangeChatMessageReceived'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'chat_messages', kind: 'message', T: ce, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Qu = class e extends r { + otherOpenDocuments = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextChangeOpenDocuments'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'other_open_documents', + kind: 'message', + T: g, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zu = class e extends r { + oracleItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextChangeOracleItems'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'oracle_items', kind: 'message', T: I, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $u = class e extends r { + scope = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextChangePinnedContext'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'pinned_scope', kind: 'message', T: $n, oneof: 'scope' }, + { + no: 2, + name: 'mentioned_scope', + kind: 'message', + T: $n, + oneof: 'scope', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nl = class e extends r { + guideline; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextChangePinnedGuideline'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'guideline', kind: 'message', T: ne }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + el = class e extends r { + activeNode; + document; + actualNodeChange = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextChangeActiveNode'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'active_node', kind: 'message', T: I }, + { no: 2, name: 'document', kind: 'message', T: g }, + { no: 3, name: 'actual_node_change', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zt = class e extends r { + contextSources = []; + contextType = W.UNSPECIFIED; + scorer = ''; + score = 0; + providerMetadata = {}; + isInPinnedScope = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.RetrievedCodeContextItemMetadata'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'context_sources', + kind: 'enum', + T: a.getEnumType(ze), + repeated: !0, + }, + { no: 2, name: 'context_type', kind: 'enum', T: a.getEnumType(W) }, + { no: 3, name: 'scorer', kind: 'scalar', T: 9 }, + { no: 4, name: 'score', kind: 'scalar', T: 2 }, + { + no: 5, + name: 'provider_metadata', + kind: 'map', + K: 9, + V: { kind: 'message', T: tl }, + }, + { no: 6, name: 'is_in_pinned_scope', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fn = class e extends r { + cciWithSubrange; + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.context_module_pb.CciWithSubrangeWithRetrievalMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cci_with_subrange', kind: 'message', T: X }, + { no: 2, name: 'metadata', kind: 'message', T: Zt }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + AN = class e extends r { + codeContextItem; + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.context_module_pb.CodeContextItemWithRetrievalMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'code_context_item', kind: 'message', T: I }, + { no: 2, name: 'metadata', kind: 'message', T: Zt }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + CN = class e extends r { + absoluteUri = ''; + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.FileNameWithRetrievalMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'metadata', kind: 'message', T: Zt }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + tl = class e extends r { + relativeWeight = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.CodeContextProviderMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'relative_weight', kind: 'scalar', T: 2 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + RN = class e extends r { + contextModuleStateStats; + codeContextItemIndexStats; + getStatsLatencyMs = o.zero; + contextModuleAgeS = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextModuleStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'context_module_state_stats', kind: 'message', T: al }, + { no: 2, name: 'code_context_item_index_stats', kind: 'message', T: rl }, + { no: 3, name: 'get_stats_latency_ms', kind: 'scalar', T: 3 }, + { no: 4, name: 'context_module_age_s', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + al = class e extends r { + cciPerSourceBytes = o.zero; + activeDocumentBytes = o.zero; + otherOpenDocumentsBytes = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextModuleStateStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cci_per_source_bytes', kind: 'scalar', T: 3 }, + { no: 2, name: 'active_document_bytes', kind: 'scalar', T: 3 }, + { no: 3, name: 'other_open_documents_bytes', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rl = class e extends r { + allCcisBytes = o.zero; + numCcisTracked = o.zero; + termFrequencyMapBytes = o.zero; + numTermsTracked = o.zero; + fileToCciMapBytes = o.zero; + numFilesTracked = o.zero; + lastModifiedBytes = o.zero; + hashMapBytes = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.CodeContextItemIndexStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'all_ccis_bytes', kind: 'scalar', T: 3 }, + { no: 2, name: 'num_ccis_tracked', kind: 'scalar', T: 3 }, + { no: 3, name: 'term_frequency_map_bytes', kind: 'scalar', T: 3 }, + { no: 4, name: 'num_terms_tracked', kind: 'scalar', T: 3 }, + { no: 5, name: 'file_to_cci_map_bytes', kind: 'scalar', T: 3 }, + { no: 6, name: 'num_files_tracked', kind: 'scalar', T: 3 }, + { no: 7, name: 'last_modified_bytes', kind: 'scalar', T: 3 }, + { no: 8, name: 'hash_map_bytes', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + LN = class e extends r { + pinnedGuideline; + pinnedContextScope; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.PersistentContextModuleState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'pinned_guideline', kind: 'message', T: ne }, + { no: 2, name: 'pinned_context_scope', kind: 'message', T: $n }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + as = class e extends r { + retrievedCciWithSubranges = []; + activeDocument; + activeDocumentOutline; + localNodeState; + guideline; + openDocuments = []; + runningTerminalCommands = []; + browserStateSnapshot; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.ContextModuleResult'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'retrieved_cci_with_subranges', + kind: 'message', + T: Fn, + repeated: !0, + }, + { no: 2, name: 'active_document', kind: 'message', T: g }, + { no: 5, name: 'active_document_outline', kind: 'message', T: re }, + { no: 3, name: 'local_node_state', kind: 'message', T: sl }, + { no: 4, name: 'guideline', kind: 'message', T: ne }, + { no: 6, name: 'open_documents', kind: 'message', T: g, repeated: !0 }, + { + no: 8, + name: 'running_terminal_commands', + kind: 'message', + T: Vr, + repeated: !0, + }, + { no: 9, name: 'browser_state_snapshot', kind: 'message', T: Kr }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sl = class e extends r { + currentNode; + closestAboveNode; + closestBelowNode; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.context_module_pb.LocalNodeState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'current_node', kind: 'message', T: I }, + { no: 2, name: 'closest_above_node', kind: 'message', T: I }, + { no: 3, name: 'closest_below_node', kind: 'message', T: I }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var Sn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.IDE = 1)] = 'IDE'), + (e[(e.BROWSER = 2)] = 'BROWSER')); +})(Sn || (Sn = {})); +a.util.setEnumType( + Sn, + 'exa.chat_client_server_pb.ChatClientRequestStreamClientType', + [ + { no: 0, name: 'CHAT_CLIENT_REQUEST_STREAM_CLIENT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CHAT_CLIENT_REQUEST_STREAM_CLIENT_TYPE_IDE' }, + { no: 2, name: 'CHAT_CLIENT_REQUEST_STREAM_CLIENT_TYPE_BROWSER' }, + ], +); +var PN = class e extends r { + clientType = Sn.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.chat_client_server_pb.StartChatClientRequestStreamRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'client_type', kind: 'enum', T: a.getEnumType(Sn) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + DN = class e extends r { + request = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_client_server_pb.ChatClientRequest'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'add_cascade_input', + kind: 'message', + T: il, + oneof: 'request', + }, + { + no: 2, + name: 'send_action_to_chat_panel', + kind: 'message', + T: ol, + oneof: 'request', + }, + { no: 3, name: 'initial_ack', kind: 'message', T: ml, oneof: 'request' }, + { + no: 4, + name: 'refresh_customization', + kind: 'message', + T: cl, + oneof: 'request', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + il = class e extends r { + items = []; + images = []; + media = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_client_server_pb.AddCascadeInputRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'items', kind: 'message', T: Tn, repeated: !0 }, + { no: 2, name: 'images', kind: 'message', T: P, repeated: !0 }, + { no: 3, name: 'media', kind: 'message', T: C, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ol = class e extends r { + actionType = ''; + payload = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_client_server_pb.SendActionToChatPanelRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'action_type', kind: 'scalar', T: 9 }, + { no: 2, name: 'payload', kind: 'scalar', T: 12, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ml = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_client_server_pb.InitialAckRequest'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cl = class e extends r { + configType = jn.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.chat_client_server_pb.RefreshCustomizationRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'config_type', kind: 'enum', T: a.getEnumType(jn) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var $t; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.HALFVEC = 1)] = 'HALFVEC'), + (e[(e.BINARY = 2)] = 'BINARY'), + (e[(e.BINARY_WITH_RERANK = 3)] = 'BINARY_WITH_RERANK'), + (e[(e.BRUTE_FORCE = 4)] = 'BRUTE_FORCE'), + (e[(e.RANDOM_SEARCH = 5)] = 'RANDOM_SEARCH')); +})($t || ($t = {})); +a.util.setEnumType($t, 'exa.index_pb.IndexMode', [ + { no: 0, name: 'INDEX_MODE_UNSPECIFIED' }, + { no: 1, name: 'INDEX_MODE_HALFVEC' }, + { no: 2, name: 'INDEX_MODE_BINARY' }, + { no: 3, name: 'INDEX_MODE_BINARY_WITH_RERANK' }, + { no: 4, name: 'INDEX_MODE_BRUTE_FORCE' }, + { no: 5, name: 'INDEX_MODE_RANDOM_SEARCH' }, +]); +var In; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ERROR = 1)] = 'ERROR'), + (e[(e.QUEUED = 2)] = 'QUEUED'), + (e[(e.CLONING_REPO = 3)] = 'CLONING_REPO'), + (e[(e.SCANNING_REPO = 4)] = 'SCANNING_REPO'), + (e[(e.GENERATING_EMBEDDINGS = 5)] = 'GENERATING_EMBEDDINGS'), + (e[(e.VECTOR_INDEXING = 6)] = 'VECTOR_INDEXING'), + (e[(e.DONE = 7)] = 'DONE'), + (e[(e.CANCELING = 8)] = 'CANCELING'), + (e[(e.CANCELED = 9)] = 'CANCELED')); +})(In || (In = {})); +a.util.setEnumType(In, 'exa.index_pb.IndexingStatus', [ + { no: 0, name: 'INDEXING_STATUS_UNSPECIFIED' }, + { no: 1, name: 'INDEXING_STATUS_ERROR' }, + { no: 2, name: 'INDEXING_STATUS_QUEUED' }, + { no: 3, name: 'INDEXING_STATUS_CLONING_REPO' }, + { no: 4, name: 'INDEXING_STATUS_SCANNING_REPO' }, + { no: 5, name: 'INDEXING_STATUS_GENERATING_EMBEDDINGS' }, + { no: 6, name: 'INDEXING_STATUS_VECTOR_INDEXING' }, + { no: 7, name: 'INDEXING_STATUS_DONE' }, + { no: 8, name: 'INDEXING_STATUS_CANCELING' }, + { no: 9, name: 'INDEXING_STATUS_CANCELED' }, +]); +var ul = class e extends r { + version = 0; + enterpriseVersion = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexDbVersion'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'version', kind: 'scalar', T: 5 }, + { no: 2, name: 'enterprise_version', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ll = class e extends r { + dbVersion; + cciTimeoutSecs = 0; + indexMode = $t.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexBuildConfig'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'db_version', kind: 'message', T: ul }, + { no: 3, name: 'cci_timeout_secs', kind: 'scalar', T: 5 }, + { no: 4, name: 'index_mode', kind: 'enum', T: a.getEnumType($t) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Mn = class e extends r { + gitUrl = ''; + scmProvider = mn.UNSPECIFIED; + autoIndexConfig; + storeSnippets = !1; + whitelistedGroups = []; + useGithubApp = !1; + authUid = ''; + email = ''; + serviceKeyId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.RepositoryConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'git_url', kind: 'scalar', T: 9 }, + { no: 2, name: 'scm_provider', kind: 'enum', T: a.getEnumType(mn) }, + { no: 3, name: 'auto_index_config', kind: 'message', T: El }, + { no: 4, name: 'store_snippets', kind: 'scalar', T: 8 }, + { no: 5, name: 'whitelisted_groups', kind: 'scalar', T: 9, repeated: !0 }, + { no: 6, name: 'use_github_app', kind: 'scalar', T: 8 }, + { no: 7, name: 'auth_uid', kind: 'scalar', T: 9 }, + { no: 9, name: 'email', kind: 'scalar', T: 9 }, + { no: 8, name: 'service_key_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + El = class e extends r { + branchName = ''; + interval; + maxNumAutoIndexes = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.RepositoryConfig.AutoIndexConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'branch_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'interval', kind: 'message', T: k }, + { no: 3, name: 'max_num_auto_indexes', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rs = class e extends r { + pruneTime; + pruneInterval; + enablePrune = !1; + enableSmallestRepoFirst = !1; + enableRoundRobin = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'prune_time', kind: 'message', T: _ }, + { no: 2, name: 'prune_interval', kind: 'message', T: k }, + { no: 3, name: 'enable_prune', kind: 'scalar', T: 8 }, + { no: 4, name: 'enable_smallest_repo_first', kind: 'scalar', T: 8 }, + { no: 5, name: 'enable_round_robin', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _l = class e extends r { + numEmbeddings = o.zero; + indexBytesCount = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.VectorIndexStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'num_embeddings', kind: 'scalar', T: 3 }, + { no: 2, name: 'index_bytes_count', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + dl = class e extends r { + progress = 0; + text = ''; + remainingTime; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.ProgressBar'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'progress', kind: 'scalar', T: 2 }, + { no: 2, name: 'text', kind: 'scalar', T: 9 }, + { no: 3, name: 'remaining_time', kind: 'message', T: k }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + le = class e extends r { + id = ''; + repoName = ''; + workspace = ''; + repoInfo; + createdAt; + updatedAt; + scheduledAt; + status = In.UNSPECIFIED; + statusDetail = ''; + autoIndexed = !1; + hasSnippets = !1; + authUid = ''; + email = ''; + repoStats; + indexingProgress = {}; + indexStats; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.Index'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'repo_name', kind: 'scalar', T: 9 }, + { no: 3, name: 'workspace', kind: 'scalar', T: 9 }, + { no: 4, name: 'repo_info', kind: 'message', T: J }, + { no: 5, name: 'created_at', kind: 'message', T: _ }, + { no: 6, name: 'updated_at', kind: 'message', T: _ }, + { no: 13, name: 'scheduled_at', kind: 'message', T: _ }, + { no: 7, name: 'status', kind: 'enum', T: a.getEnumType(In) }, + { no: 8, name: 'status_detail', kind: 'scalar', T: 9 }, + { no: 9, name: 'auto_indexed', kind: 'scalar', T: 8 }, + { no: 12, name: 'has_snippets', kind: 'scalar', T: 8 }, + { no: 15, name: 'auth_uid', kind: 'scalar', T: 9 }, + { no: 16, name: 'email', kind: 'scalar', T: 9 }, + { no: 14, name: 'repo_stats', kind: 'message', T: Tl }, + { + no: 10, + name: 'indexing_progress', + kind: 'map', + K: 9, + V: { kind: 'message', T: dl }, + }, + { no: 11, name: 'index_stats', kind: 'message', T: _l }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Tl = class e extends r { + size = o.zero; + fileCount = o.zero; + sizeNoIgnore = o.zero; + fileCountNoIgnore = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.Index.RepoStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'size', kind: 'scalar', T: 3 }, + { no: 2, name: 'file_count', kind: 'scalar', T: 3 }, + { no: 3, name: 'size_no_ignore', kind: 'scalar', T: 3 }, + { no: 4, name: 'file_count_no_ignore', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ss = class e extends r { + repoName = ''; + config; + createdAt; + updatedAt; + lastUsedAt; + latestIndex; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.Repository'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repo_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'config', kind: 'message', T: Mn }, + { no: 4, name: 'created_at', kind: 'message', T: _ }, + { no: 5, name: 'updated_at', kind: 'message', T: _ }, + { no: 6, name: 'last_used_at', kind: 'message', T: _ }, + { no: 3, name: 'latest_index', kind: 'message', T: le }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ee = class e extends r { + version = { case: void 0 }; + versionAlias = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.RequestIndexVersion'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'commit', kind: 'scalar', T: 9, oneof: 'version' }, + { no: 2, name: 'branch', kind: 'scalar', T: 9, oneof: 'version' }, + { no: 3, name: 'version_alias', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + N = class e extends r { + authToken = ''; + authUid = ''; + serviceKey = ''; + forceTargetPublicIndex = !1; + forceTeamId = ''; + serviceKeyId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.ManagementMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'auth_token', kind: 'scalar', T: 9 }, + { no: 2, name: 'auth_uid', kind: 'scalar', T: 9 }, + { no: 3, name: 'service_key', kind: 'scalar', T: 9 }, + { no: 4, name: 'force_target_public_index', kind: 'scalar', T: 8 }, + { no: 5, name: 'force_team_id', kind: 'scalar', T: 9 }, + { no: 6, name: 'service_key_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + kN = class e extends r { + metadata; + config; + initialIndex; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.AddRepositoryRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'config', kind: 'message', T: Mn }, + { no: 3, name: 'initial_index', kind: 'message', T: Ee }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gN = class e extends r { + repoName = ''; + indexId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.AddRepositoryResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repo_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'index_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wN = class e extends r { + metadata; + config; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.EnableIndexingRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'config', kind: 'message', T: ll }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + JN = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.EnableIndexingResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xN = class e extends r { + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.DisableIndexingRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + UN = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.DisableIndexingResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + BN = class e extends r { + metadata; + repoName = ''; + config; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.EditRepositoryRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'repo_name', kind: 'scalar', T: 9 }, + { no: 3, name: 'config', kind: 'message', T: Mn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + FN = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.EditRepositoryResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + MN = class e extends r { + metadata; + repoName = ''; + repoNames = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.DeleteRepositoryRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'repo_name', kind: 'scalar', T: 9 }, + { no: 3, name: 'repo_names', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yN = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.DeleteRepositoryResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fl = class e extends r { + repoName = ''; + groupId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetRepositoriesFilter'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repo_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'group_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hN = class e extends r { + metadata; + filter; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetRepositoriesRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'filter', kind: 'message', T: fl }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + GN = class e extends r { + repositories = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetRepositoriesResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repositories', kind: 'message', T: ss, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bN = class e extends r { + metadata; + repoName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetIndexesRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'repo_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qN = class e extends r { + indexes = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetIndexesResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'indexes', kind: 'message', T: le, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + HN = class e extends r { + metadata; + indexId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetIndexRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'index_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + YN = class e extends r { + index; + repository; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetIndexResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'index', kind: 'message', T: le }, + { no: 2, name: 'repository', kind: 'message', T: ss }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Nl = class e extends r { + indexId = ''; + cciCount = o.zero; + snippetCount = o.zero; + embeddingCount = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.RemoteIndexStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'index_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'cci_count', kind: 'scalar', T: 3 }, + { no: 3, name: 'snippet_count', kind: 'scalar', T: 3 }, + { no: 4, name: 'embedding_count', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + WN = class e extends r { + metadata; + indexIds = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetRemoteIndexStatsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'index_ids', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + VN = class e extends r { + indexStats = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetRemoteIndexStatsResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'index_stats', kind: 'message', T: Nl, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + XN = class e extends r { + metadata; + repoName = ''; + version; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.AddIndexRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'repo_name', kind: 'scalar', T: 9 }, + { no: 3, name: 'version', kind: 'message', T: Ee }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + KN = class e extends r { + indexId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.AddIndexResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'index_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vN = class e extends r { + metadata; + indexId = ''; + indexIds = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.CancelIndexingRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'index_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'index_ids', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zN = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.CancelIndexingResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jN = class e extends r { + metadata; + indexId = ''; + indexIds = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.RetryIndexingRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'index_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'index_ids', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + QN = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.RetryIndexingResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ZN = class e extends r { + metadata; + indexId = ''; + indexIds = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.DeleteIndexRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'index_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'index_ids', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $N = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.DeleteIndexResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nS = class e extends r { + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.PruneDatabaseRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + eS = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.PruneDatabaseResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + tS = class e extends r { + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetDatabaseStatsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + aS = class e extends r { + databaseTotalBytesCount = o.zero; + tableTotalBytesCount = o.zero; + indexTotalBytesCount = o.zero; + estimatePrunableBytes = o.zero; + isPruning = !1; + lastPruneError = ''; + allTablesBytesCount = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetDatabaseStatsResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'database_total_bytes_count', kind: 'scalar', T: 3 }, + { no: 2, name: 'table_total_bytes_count', kind: 'scalar', T: 3 }, + { no: 3, name: 'index_total_bytes_count', kind: 'scalar', T: 3 }, + { no: 4, name: 'estimate_prunable_bytes', kind: 'scalar', T: 3 }, + { no: 5, name: 'is_pruning', kind: 'scalar', T: 8 }, + { no: 6, name: 'last_prune_error', kind: 'scalar', T: 9 }, + { no: 7, name: 'all_tables_bytes_count', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rS = class e extends r { + metadata; + indexConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.SetIndexConfigRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'index_config', kind: 'message', T: rs }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sS = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.SetIndexConfigResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + iS = class e extends r { + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetIndexConfigRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + oS = class e extends r { + indexConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetIndexConfigResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'index_config', kind: 'message', T: rs }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mS = class e extends r { + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetNumberConnectionsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cS = class e extends r { + connectionsMap = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetNumberConnectionsResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'connections_map', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 13 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + uS = class e extends r { + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetConnectionsDebugInfoRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + lS = class e extends r { + debugInfo = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetConnectionsDebugInfoResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'debug_info', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ES = class e extends r { + metadata; + includeIncomplete = !1; + groupIdsFilter = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetIndexedRepositoriesRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: w }, + { no: 2, name: 'include_incomplete', kind: 'scalar', T: 8 }, + { no: 3, name: 'group_ids_filter', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _S = class e extends r { + repositories = []; + indexes = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetIndexedRepositoriesResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repositories', kind: 'message', T: J, repeated: !0 }, + { no: 2, name: 'indexes', kind: 'message', T: le, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Sl = class e extends r { + repository; + excludedFiles = []; + filterPaths = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.RepositoryFilter'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repository', kind: 'message', T: J }, + { no: 2, name: 'excluded_files', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'filter_paths', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + dS = class e extends r { + metadata; + repository; + query = ''; + maxItems = 0; + groupIdsFilter = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetMatchingFilePathsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: w }, + { no: 2, name: 'repository', kind: 'message', T: J }, + { no: 3, name: 'query', kind: 'scalar', T: 9 }, + { no: 4, name: 'max_items', kind: 'scalar', T: 13 }, + { no: 5, name: 'group_ids_filter', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + TS = class e extends r { + relativeFilePaths = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetMatchingFilePathsResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'relative_file_paths', + kind: 'scalar', + T: 9, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fS = class e extends r { + metadata; + embedding; + repositoryFilters = []; + maxResults = o.zero; + groupIdsFilter = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetNearestCCIsFromEmbeddingRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: w }, + { no: 2, name: 'embedding', kind: 'message', T: en }, + { + no: 3, + name: 'repository_filters', + kind: 'message', + T: Sl, + repeated: !0, + }, + { no: 4, name: 'max_results', kind: 'scalar', T: 3 }, + { no: 5, name: 'group_ids_filter', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Il = class e extends r { + codeContextItem; + score = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.ScoredContextItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'code_context_item', kind: 'message', T: I }, + { no: 2, name: 'score', kind: 'scalar', T: 2 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + NS = class e extends r { + scoredContextItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetNearestCCIsFromEmbeddingResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'scored_context_items', + kind: 'message', + T: Il, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + SS = class e extends r { + metadata; + codeContextItems = []; + snippetType = cn.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetEmbeddingsForCodeContextItemsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: w }, + { + no: 2, + name: 'code_context_items', + kind: 'message', + T: I, + repeated: !0, + }, + { no: 3, name: 'snippet_type', kind: 'enum', T: a.getEnumType(cn) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + IS = class e extends r { + embeddings = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.GetEmbeddingsForCodeContextItemsResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'embeddings', kind: 'message', T: en, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pS = class e extends r { + repositoryName = ''; + fileCount = o.zero; + codeContextItemCount = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexStats'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repository_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'file_count', kind: 'scalar', T: 3 }, + { no: 3, name: 'code_context_item_count', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + OS = class e extends r { + uid = o.zero; + eventOneof = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexerEvent'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'uid', kind: 'scalar', T: 4 }, + { no: 2, name: 'deletion', kind: 'message', T: pl, oneof: 'event_oneof' }, + { no: 3, name: 'untrack', kind: 'message', T: Ol, oneof: 'event_oneof' }, + { no: 4, name: 'update', kind: 'message', T: Al, oneof: 'event_oneof' }, + { + no: 5, + name: 'add_workspace', + kind: 'message', + T: Rl, + oneof: 'event_oneof', + }, + { + no: 6, + name: 'remove_workspace', + kind: 'message', + T: Ll, + oneof: 'event_oneof', + }, + { + no: 7, + name: 'ignore_workspace', + kind: 'message', + T: Pl, + oneof: 'event_oneof', + }, + { + no: 8, + name: 'add_commit', + kind: 'message', + T: Dl, + oneof: 'event_oneof', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pl = class e extends r { + absoluteUri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexerEvent.Deletion'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ol = class e extends r { + absoluteUri = ''; + paths = []; + workspaceUri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexerEvent.Untrack'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'paths', kind: 'message', T: wn, repeated: !0 }, + { no: 3, name: 'workspace_uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Al = class e extends r { + absoluteUri = ''; + paths = []; + modTime; + addWorkspaceInfo; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexerEvent.Update'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'paths', kind: 'message', T: wn, repeated: !0 }, + { no: 3, name: 'mod_time', kind: 'message', T: _ }, + { no: 4, name: 'add_workspace_info', kind: 'message', T: Cl }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Cl = class e extends r { + addWorkspaceUid = o.zero; + addWorkspaceQueueUid = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexerEvent.Update.AddWorkspaceInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'add_workspace_uid', kind: 'scalar', T: 4 }, + { no: 2, name: 'add_workspace_queue_uid', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Rl = class e extends r { + addWorkspaceUid = o.zero; + addWorkspaceQueueUid = o.zero; + workspaceUri = ''; + numFiles = o.zero; + size = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexerEvent.AddWorkspace'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'add_workspace_uid', kind: 'scalar', T: 4 }, + { no: 2, name: 'add_workspace_queue_uid', kind: 'scalar', T: 4 }, + { no: 3, name: 'workspace_uri', kind: 'scalar', T: 9 }, + { no: 4, name: 'num_files', kind: 'scalar', T: 3 }, + { no: 5, name: 'size', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ll = class e extends r { + workspaceUri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexerEvent.RemoveWorkspace'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workspace_uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Pl = class e extends r { + workspaceUri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexerEvent.IgnoreWorkspace'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workspace_uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Dl = class e extends r { + sha = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.index_pb.IndexerEvent.AddCommit'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'sha', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var na; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.HYBRID = 1)] = 'HYBRID'), + (e[(e.KEYWORD = 2)] = 'KEYWORD'), + (e[(e.APPROXIMATE_KNN = 3)] = 'APPROXIMATE_KNN'), + (e[(e.BRUTE_FORCE_KNN = 4)] = 'BRUTE_FORCE_KNN')); +})(na || (na = {})); +a.util.setEnumType(na, 'exa.opensearch_clients_pb.SearchMode', [ + { no: 0, name: 'SEARCH_MODE_UNSPECIFIED' }, + { no: 1, name: 'SEARCH_MODE_HYBRID' }, + { no: 2, name: 'SEARCH_MODE_KEYWORD' }, + { no: 3, name: 'SEARCH_MODE_APPROXIMATE_KNN' }, + { no: 4, name: 'SEARCH_MODE_BRUTE_FORCE_KNN' }, +]); +var ea; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.FAILURE = 1)] = 'FAILURE'), + (e[(e.SAVED = 2)] = 'SAVED'), + (e[(e.SUCCESS = 3)] = 'SUCCESS')); +})(ea || (ea = {})); +a.util.setEnumType(ea, 'exa.opensearch_clients_pb.ForwardStatus', [ + { no: 0, name: 'FORWARD_STATUS_UNSPECIFIED' }, + { no: 1, name: 'FORWARD_STATUS_FAILURE' }, + { no: 2, name: 'FORWARD_STATUS_SAVED' }, + { no: 3, name: 'FORWARD_STATUS_SUCCESS' }, +]); +var D; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.GITHUB = 1)] = 'GITHUB'), + (e[(e.SLACK = 2)] = 'SLACK'), + (e[(e.GOOGLE_DRIVE = 3)] = 'GOOGLE_DRIVE'), + (e[(e.JIRA = 4)] = 'JIRA'), + (e[(e.CODEIUM = 5)] = 'CODEIUM'), + (e[(e.EMAIL = 6)] = 'EMAIL'), + (e[(e.GITHUB_OAUTH = 7)] = 'GITHUB_OAUTH')); +})(D || (D = {})); +a.util.setEnumType(D, 'exa.opensearch_clients_pb.ConnectorType', [ + { no: 0, name: 'CONNECTOR_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CONNECTOR_TYPE_GITHUB' }, + { no: 2, name: 'CONNECTOR_TYPE_SLACK' }, + { no: 3, name: 'CONNECTOR_TYPE_GOOGLE_DRIVE' }, + { no: 4, name: 'CONNECTOR_TYPE_JIRA' }, + { no: 5, name: 'CONNECTOR_TYPE_CODEIUM' }, + { no: 6, name: 'CONNECTOR_TYPE_EMAIL' }, + { no: 7, name: 'CONNECTOR_TYPE_GITHUB_OAUTH' }, +]); +var ta; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.QUEUED = 1)] = 'QUEUED'), + (e[(e.RUNNING = 2)] = 'RUNNING'), + (e[(e.COMPLETED = 3)] = 'COMPLETED'), + (e[(e.CANCELLED = 4)] = 'CANCELLED'), + (e[(e.CANCELLING = 5)] = 'CANCELLING'), + (e[(e.ERRORED = 6)] = 'ERRORED'), + (e[(e.RETRYABLE = 7)] = 'RETRYABLE')); +})(ta || (ta = {})); +a.util.setEnumType(ta, 'exa.opensearch_clients_pb.JobStatus', [ + { no: 0, name: 'JOB_STATUS_UNSPECIFIED' }, + { no: 1, name: 'JOB_STATUS_QUEUED' }, + { no: 2, name: 'JOB_STATUS_RUNNING' }, + { no: 3, name: 'JOB_STATUS_COMPLETED' }, + { no: 4, name: 'JOB_STATUS_CANCELLED' }, + { no: 5, name: 'JOB_STATUS_CANCELLING' }, + { no: 6, name: 'JOB_STATUS_ERRORED' }, + { no: 7, name: 'JOB_STATUS_RETRYABLE' }, +]); +var aa = class e extends r { + start; + end; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.TimeRange'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'start', kind: 'message', T: _ }, + { no: 2, name: 'end', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + kl = class e extends r { + authUid = ''; + username = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.GithubUser'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'auth_uid', kind: 'scalar', T: 9 }, + { no: 2, name: 'username', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + AS = class e extends r { + users = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.AddGithubUsersRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'users', kind: 'message', T: kl, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + CS = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.AddGithubUsersResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gl = class e extends r { + authUid = ''; + email = ''; + name = ''; + photoUrl = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.UserInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'auth_uid', kind: 'scalar', T: 9 }, + { no: 2, name: 'email', kind: 'scalar', T: 9 }, + { no: 3, name: 'name', kind: 'scalar', T: 9 }, + { no: 4, name: 'photo_url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + RS = class e extends r { + users = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.AddUsersRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'users', kind: 'message', T: gl, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + LS = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.AddUsersResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + PS = class e extends r { + maxResults = o.zero; + queries = []; + metadata; + urls = []; + documentIds = []; + aggregateIds = []; + chatMessagePrompts = []; + timeRange; + documentTypes = []; + searchMode = na.UNSPECIFIED; + disableReranking = !1; + disableContextualLookup = !1; + indexChoices = []; + query = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.KnowledgeBaseSearchRequest'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'max_results', kind: 'scalar', T: 3 }, + { no: 3, name: 'queries', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'metadata', kind: 'message', T: w }, + { no: 12, name: 'urls', kind: 'scalar', T: 9, repeated: !0 }, + { no: 13, name: 'document_ids', kind: 'scalar', T: 9, repeated: !0 }, + { no: 5, name: 'aggregate_ids', kind: 'scalar', T: 9, repeated: !0 }, + { + no: 6, + name: 'chat_message_prompts', + kind: 'message', + T: v, + repeated: !0, + }, + { no: 7, name: 'time_range', kind: 'message', T: aa }, + { + no: 14, + name: 'document_types', + kind: 'enum', + T: a.getEnumType(V), + repeated: !0, + }, + { no: 9, name: 'search_mode', kind: 'enum', T: a.getEnumType(na) }, + { no: 10, name: 'disable_reranking', kind: 'scalar', T: 8 }, + { no: 11, name: 'disable_contextual_lookup', kind: 'scalar', T: 8 }, + { + no: 8, + name: 'index_choices', + kind: 'enum', + T: a.getEnumType(_n), + repeated: !0, + }, + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + DS = class e extends r { + knowledgeBaseGroups = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.KnowledgeBaseSearchResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'knowledge_base_groups', + kind: 'message', + T: se, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + kS = class e extends r { + query = ''; + metadata; + documentTypes = []; + indexChoices = []; + indexNames = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseScopeItemsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { no: 3, name: 'metadata', kind: 'message', T: w }, + { + no: 5, + name: 'document_types', + kind: 'enum', + T: a.getEnumType(V), + repeated: !0, + }, + { + no: 4, + name: 'index_choices', + kind: 'enum', + T: a.getEnumType(_n), + repeated: !0, + }, + { no: 2, name: 'index_names', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gS = class e extends r { + scopeItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseScopeItemsResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'scope_items', kind: 'message', T: H, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wS = class e extends r { + metadata; + scopeItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseItemsFromScopeItemsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'metadata', kind: 'message', T: w }, + { no: 3, name: 'scope_items', kind: 'message', T: H, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + JS = class e extends r { + knowledgeBaseItemsWithMetadata = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseItemsFromScopeItemsResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'knowledge_base_items_with_metadata', + kind: 'message', + T: K, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xS = class e extends r { + metadata; + channelIds = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestSlackDataRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'channel_ids', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + US = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestSlackDataResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + BS = class e extends r { + metadata; + organization = ''; + repository = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestGithubDataRequest'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'metadata', kind: 'message', T: N }, + { no: 1, name: 'organization', kind: 'scalar', T: 9 }, + { no: 2, name: 'repository', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + FS = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestGithubDataResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + MS = class e extends r { + metadata; + folderIds = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestGoogleDriveDataRequest'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'metadata', kind: 'message', T: N }, + { no: 3, name: 'folder_ids', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yS = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestGoogleDriveDataResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hS = class e extends r { + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestJiraDataRequest'; + static fields = a.util.newFieldList(() => [ + { no: 4, name: 'metadata', kind: 'message', T: N }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + GS = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestJiraDataResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bS = class e extends r { + body = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestJiraPayloadRequest'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'body', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qS = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestJiraPayloadResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wl = class e extends r { + status = ea.UNSPECIFIED; + error; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ForwardResult'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'status', kind: 'enum', T: a.getEnumType(ea) }, + { no: 2, name: 'error', kind: 'scalar', T: 9, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + HS = class e extends r { + bodies = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ForwardSlackPayloadRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'bodies', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + YS = class e extends r { + results = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ForwardSlackPayloadResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'results', kind: 'message', T: wl, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + WS = class e extends r { + payload = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestSlackPayloadRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'payload', kind: 'message', T: jl, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + VS = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.IngestSlackPayloadResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Jl = class e extends r { + documentId = ''; + text = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.CommonDocument'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'document_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'text', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ra = class e extends r { + document; + score = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.CommonDocumentWithScore'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'document', kind: 'message', T: Jl }, + { no: 2, name: 'score', kind: 'scalar', T: 2 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + XS = class e extends r { + text = ''; + url = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.SearchResult'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9 }, + { no: 2, name: 'url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + KS = class e extends r { + documentWithScores = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.QuerySearchResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'document_with_scores', + kind: 'message', + T: ra, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vS = class e extends r { + metadata; + config; + initialIndex; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.OpenSearchAddRepositoryRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'config', kind: 'message', T: Mn }, + { no: 3, name: 'initial_index', kind: 'message', T: Ee }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zS = class e extends r { + repoName = ''; + indexId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.OpenSearchAddRepositoryResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'repo_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'index_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jS = class e extends r { + indexId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.OpenSearchGetIndexRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'index_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + QS = class e extends r { + status = In.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.OpenSearchGetIndexResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'status', kind: 'enum', T: a.getEnumType(In) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ZS = class e extends r { + query = ''; + embedding; + maxResults = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.HybridSearchRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { no: 2, name: 'embedding', kind: 'message', T: en }, + { no: 3, name: 'max_results', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $S = class e extends r { + documentWithScores = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.HybridSearchResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'document_with_scores', + kind: 'message', + T: ra, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nI = class e extends r { + query = ''; + embedding; + maxResults = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.GraphSearchRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { no: 2, name: 'embedding', kind: 'message', T: en }, + { no: 3, name: 'max_results', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + eI = class e extends r { + documentWithScores = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.GraphSearchResponse'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'document_with_scores', + kind: 'message', + T: ra, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + is = class e extends r { + config = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'slack', kind: 'message', T: xl, oneof: 'config' }, + { no: 2, name: 'github', kind: 'message', T: Ul, oneof: 'config' }, + { no: 3, name: 'google_drive', kind: 'message', T: Bl, oneof: 'config' }, + { no: 4, name: 'jira', kind: 'message', T: Fl, oneof: 'config' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xl = class e extends r { + includeChannelIds = []; + excludeChannelIds = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorConfigSlack'; + static fields = a.util.newFieldList(() => [ + { + no: 3, + name: 'include_channel_ids', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 4, + name: 'exclude_channel_ids', + kind: 'scalar', + T: 9, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ul = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorConfigGithub'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bl = class e extends r { + includeDriveIds = []; + excludeDriveIds = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorConfigGoogleDrive'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'include_drive_ids', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'exclude_drive_ids', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fl = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorConfigJira'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ml = class e extends r { + config = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorInternalConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'slack', kind: 'message', T: yl, oneof: 'config' }, + { no: 2, name: 'github', kind: 'message', T: Gl, oneof: 'config' }, + { no: 3, name: 'google_drive', kind: 'message', T: bl, oneof: 'config' }, + { no: 4, name: 'jira', kind: 'message', T: ql, oneof: 'config' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yl = class e extends r { + clientId = ''; + clientSecret = ''; + signingSecret = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorInternalConfigSlack'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'client_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'client_secret', kind: 'scalar', T: 9 }, + { no: 1, name: 'signing_secret', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hl = class e extends r { + organization = ''; + repository = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.GithubRepoConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'organization', kind: 'scalar', T: 9 }, + { no: 2, name: 'repository', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gl = class e extends r { + installationId = o.zero; + repoConfigs = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorInternalConfigGithub'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'installation_id', kind: 'scalar', T: 3 }, + { no: 2, name: 'repo_configs', kind: 'message', T: hl, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bl = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.ConnectorInternalConfigGoogleDrive'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ql = class e extends r { + webhookId = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorInternalConfigJira'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'webhook_id', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + tI = class e extends r { + metadata; + connector = D.UNSPECIFIED; + accessToken = ''; + accessTokenExpiresAt; + refreshToken = ''; + refreshTokenExpiresAt; + additionalParams; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.ConnectKnowledgeBaseAccountRequest'; + static fields = a.util.newFieldList(() => [ + { no: 7, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'connector', kind: 'enum', T: a.getEnumType(D) }, + { no: 3, name: 'access_token', kind: 'scalar', T: 9 }, + { no: 4, name: 'access_token_expires_at', kind: 'message', T: _ }, + { no: 5, name: 'refresh_token', kind: 'scalar', T: 9 }, + { no: 6, name: 'refresh_token_expires_at', kind: 'message', T: _ }, + { no: 8, name: 'additional_params', kind: 'message', T: Hl }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + aI = class e extends r { + metadata; + connector = D.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.DeleteKnowledgeBaseConnectionRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'connector', kind: 'enum', T: a.getEnumType(D) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rI = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.DeleteKnowledgeBaseConnectionResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sI = class e extends r { + metadata; + connector = D.UNSPECIFIED; + config; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.UpdateConnectorConfigRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'connector', kind: 'enum', T: a.getEnumType(D) }, + { no: 3, name: 'config', kind: 'message', T: is }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + iI = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.UpdateConnectorConfigResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Hl = class e extends r { + config = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorAdditionalParams'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'slack', kind: 'message', T: Yl, oneof: 'config' }, + { no: 1, name: 'github', kind: 'message', T: Wl, oneof: 'config' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Yl = class e extends r { + clientId = ''; + clientSecret = ''; + signingSecret = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.ConnectorAdditionalParamsSlack'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'client_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'client_secret', kind: 'scalar', T: 9 }, + { no: 3, name: 'signing_secret', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wl = class e extends r { + installationId = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.ConnectorAdditionalParamsGithub'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'installation_id', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + oI = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.ConnectKnowledgeBaseAccountResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mI = class e extends r { + metadata; + jobIds = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.CancelKnowledgeBaseJobsRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { no: 2, name: 'job_ids', kind: 'scalar', T: 3, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cI = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.CancelKnowledgeBaseJobsResponse'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Vl = class e extends r { + documentType = V.UNSPECIFIED; + count = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.DocumentTypeCount'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'document_type', kind: 'enum', T: a.getEnumType(V) }, + { no: 2, name: 'count', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Xl = class e extends r { + connector = D.UNSPECIFIED; + initialized = !1; + config; + documentTypeCounts = []; + lastIndexedAt; + unhealthySince; + lastConfiguredAt; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.ConnectorState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'connector', kind: 'enum', T: a.getEnumType(D) }, + { no: 2, name: 'initialized', kind: 'scalar', T: 8 }, + { no: 3, name: 'config', kind: 'message', T: is }, + { + no: 4, + name: 'document_type_counts', + kind: 'message', + T: Vl, + repeated: !0, + }, + { no: 5, name: 'last_indexed_at', kind: 'message', T: _ }, + { no: 6, name: 'unhealthy_since', kind: 'message', T: _ }, + { no: 7, name: 'last_configured_at', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + uI = class e extends r { + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseConnectorStateRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + lI = class e extends r { + connectorStates = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseConnectorStateResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'connector_states', kind: 'message', T: Xl, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Kl = class e extends r { + connector = D.UNSPECIFIED; + id = o.zero; + status = ta.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.JobState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'connector', kind: 'enum', T: a.getEnumType(D) }, + { no: 2, name: 'id', kind: 'scalar', T: 3 }, + { no: 3, name: 'status', kind: 'enum', T: a.getEnumType(ta) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + EI = class e extends r { + metadata; + connectorTypes = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseJobStatesRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + { + no: 2, + name: 'connector_types', + kind: 'enum', + T: a.getEnumType(D), + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _I = class e extends r { + jobStates = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseJobStatesResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'job_states', kind: 'message', T: Kl, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vl = class e extends r { + datasetId = ''; + previousMessageDatasetId = ''; + type = ''; + channelId = ''; + user = ''; + text = ''; + timestamp = ''; + threadTimestamp = ''; + channelName = ''; + teamName = ''; + teamId = ''; + isPrivateChannel = !1; + teamDomain = ''; + originalTimestamp = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.SlackMessagePayload'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'dataset_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'previous_message_dataset_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'type', kind: 'scalar', T: 9 }, + { no: 4, name: 'channel_id', kind: 'scalar', T: 9 }, + { no: 5, name: 'user', kind: 'scalar', T: 9 }, + { no: 6, name: 'text', kind: 'scalar', T: 9 }, + { no: 7, name: 'timestamp', kind: 'scalar', T: 9 }, + { no: 8, name: 'thread_timestamp', kind: 'scalar', T: 9 }, + { no: 9, name: 'channel_name', kind: 'scalar', T: 9 }, + { no: 10, name: 'team_name', kind: 'scalar', T: 9 }, + { no: 11, name: 'team_id', kind: 'scalar', T: 9 }, + { no: 12, name: 'is_private_channel', kind: 'scalar', T: 8 }, + { no: 13, name: 'team_domain', kind: 'scalar', T: 9 }, + { no: 14, name: 'original_timestamp', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zl = class e extends r { + type = ''; + channelId = ''; + channelName = ''; + description = ''; + teamId = ''; + isPrivateChannel = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.SlackChannelPayload'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'scalar', T: 9 }, + { no: 2, name: 'channel_id', kind: 'scalar', T: 9 }, + { no: 4, name: 'channel_name', kind: 'scalar', T: 9 }, + { no: 7, name: 'description', kind: 'scalar', T: 9 }, + { no: 8, name: 'team_id', kind: 'scalar', T: 9 }, + { no: 9, name: 'is_private_channel', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jl = class e extends r { + payload = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.opensearch_clients_pb.SlackPayload'; + static fields = a.util.newFieldList(() => [ + { no: 13, name: 'message', kind: 'message', T: vl, oneof: 'payload' }, + { no: 14, name: 'channel', kind: 'message', T: zl, oneof: 'payload' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + dI = class e extends r { + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseWebhookUrlRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: N }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + TI = class e extends r { + webhookUrl = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetKnowledgeBaseWebhookUrlResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'webhook_url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fI = class e extends r { + connector = D.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetConnectorInternalConfigRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'connector', kind: 'enum', T: a.getEnumType(D) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + NI = class e extends r { + internalConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.opensearch_clients_pb.GetConnectorInternalConfigResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'internal_config', kind: 'message', T: Ml }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var pn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.LEFT = 1)] = 'LEFT'), + (e[(e.RIGHT = 2)] = 'RIGHT'), + (e[(e.DOUBLE = 3)] = 'DOUBLE'), + (e[(e.NONE = 4)] = 'NONE')); +})(pn || (pn = {})); +a.util.setEnumType(pn, 'exa.browser_pb.ClickType', [ + { no: 0, name: 'CLICK_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CLICK_TYPE_LEFT' }, + { no: 2, name: 'CLICK_TYPE_RIGHT' }, + { no: 3, name: 'CLICK_TYPE_DOUBLE' }, + { no: 4, name: 'CLICK_TYPE_NONE' }, +]); +var _e; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.UP = 1)] = 'UP'), + (e[(e.DOWN = 2)] = 'DOWN'), + (e[(e.LEFT = 3)] = 'LEFT'), + (e[(e.RIGHT = 4)] = 'RIGHT')); +})(_e || (_e = {})); +a.util.setEnumType(_e, 'exa.browser_pb.ScrollDirection', [ + { no: 0, name: 'SCROLL_DIRECTION_UNSPECIFIED' }, + { no: 1, name: 'SCROLL_DIRECTION_UP' }, + { no: 2, name: 'SCROLL_DIRECTION_DOWN' }, + { no: 3, name: 'SCROLL_DIRECTION_LEFT' }, + { no: 4, name: 'SCROLL_DIRECTION_RIGHT' }, +]); +var de; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.NORMAL = 1)] = 'NORMAL'), + (e[(e.MINIMIZED = 2)] = 'MINIMIZED'), + (e[(e.MAXIMIZED = 3)] = 'MAXIMIZED'), + (e[(e.FULLSCREEN = 4)] = 'FULLSCREEN')); +})(de || (de = {})); +a.util.setEnumType(de, 'exa.browser_pb.WindowState', [ + { no: 0, name: 'WINDOW_STATE_UNSPECIFIED' }, + { no: 1, name: 'WINDOW_STATE_NORMAL' }, + { no: 2, name: 'WINDOW_STATE_MINIMIZED' }, + { no: 3, name: 'WINDOW_STATE_MAXIMIZED' }, + { no: 4, name: 'WINDOW_STATE_FULLSCREEN' }, +]); +var SI = class e extends r { + pageId = ''; + metadata; + domTree; + screenshot; + agentMousePosition; + consoleLogs; + addedTime; + serializedDomTree = ''; + mediaScreenshot; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.browser_pb.SerializablePageState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'metadata', kind: 'message', T: A }, + { no: 3, name: 'dom_tree', kind: 'message', T: xn }, + { no: 4, name: 'screenshot', kind: 'message', T: P }, + { no: 5, name: 'agent_mouse_position', kind: 'message', T: Ql }, + { no: 6, name: 'console_logs', kind: 'message', T: Jn }, + { no: 7, name: 'added_time', kind: 'message', T: _ }, + { no: 8, name: 'serialized_dom_tree', kind: 'scalar', T: 9 }, + { no: 9, name: 'media_screenshot', kind: 'message', T: C }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ql = class e extends r { + x = 0; + y = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.browser_pb.AgentMousePosition'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'x', kind: 'scalar', T: 5 }, + { no: 2, name: 'y', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var ia; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.LOW = 1)] = 'LOW'), + (e[(e.MEDIUM = 2)] = 'MEDIUM'), + (e[(e.HIGH = 3)] = 'HIGH')); +})(ia || (ia = {})); +a.util.setEnumType(ia, 'exa.cortex_pb.InteractiveCascadeEditImportance', [ + { no: 0, name: 'INTERACTIVE_CASCADE_EDIT_IMPORTANCE_UNSPECIFIED' }, + { no: 1, name: 'INTERACTIVE_CASCADE_EDIT_IMPORTANCE_LOW' }, + { no: 2, name: 'INTERACTIVE_CASCADE_EDIT_IMPORTANCE_MEDIUM' }, + { no: 3, name: 'INTERACTIVE_CASCADE_EDIT_IMPORTANCE_HIGH' }, +]); +var oa; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ERROR = 1)] = 'ERROR'), + (e[(e.INITIALIZED = 2)] = 'INITIALIZED'), + (e[(e.PREPARING = 3)] = 'PREPARING'), + (e[(e.PREPARED = 4)] = 'PREPARED'), + (e[(e.APPLYING = 5)] = 'APPLYING'), + (e[(e.APPLIED = 6)] = 'APPLIED'), + (e[(e.REJECTED = 7)] = 'REJECTED')); +})(oa || (oa = {})); +a.util.setEnumType(oa, 'exa.cortex_pb.ActionStatus', [ + { no: 0, name: 'ACTION_STATUS_UNSPECIFIED' }, + { no: 1, name: 'ACTION_STATUS_ERROR' }, + { no: 2, name: 'ACTION_STATUS_INITIALIZED' }, + { no: 3, name: 'ACTION_STATUS_PREPARING' }, + { no: 4, name: 'ACTION_STATUS_PREPARED' }, + { no: 5, name: 'ACTION_STATUS_APPLYING' }, + { no: 6, name: 'ACTION_STATUS_APPLIED' }, + { no: 7, name: 'ACTION_STATUS_REJECTED' }, +]); +var ma; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.INITIALIZED = 1)] = 'INITIALIZED'), + (e[(e.PLANNING = 2)] = 'PLANNING'), + (e[(e.PLANNED = 3)] = 'PLANNED'), + (e[(e.ERROR = 4)] = 'ERROR')); +})(ma || (ma = {})); +a.util.setEnumType(ma, 'exa.cortex_pb.PlanStatus', [ + { no: 0, name: 'PLAN_STATUS_UNSPECIFIED' }, + { no: 1, name: 'PLAN_STATUS_INITIALIZED' }, + { no: 2, name: 'PLAN_STATUS_PLANNING' }, + { no: 3, name: 'PLAN_STATUS_PLANNED' }, + { no: 4, name: 'PLAN_STATUS_ERROR' }, +]); +var hn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CASCADE = 1)] = 'CASCADE'), + (e[(e.USER_IMPLICIT = 2)] = 'USER_IMPLICIT')); +})(hn || (hn = {})); +a.util.setEnumType(hn, 'exa.cortex_pb.CortexRequestSource', [ + { no: 0, name: 'CORTEX_REQUEST_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_REQUEST_SOURCE_CASCADE' }, + { no: 2, name: 'CORTEX_REQUEST_SOURCE_USER_IMPLICIT' }, +]); +var Gn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.GIT = 1)] = 'GIT'), + (e[(e.PIPER = 2)] = 'PIPER'), + (e[(e.FIG = 3)] = 'FIG'), + (e[(e.JJ_PIPER = 4)] = 'JJ_PIPER'), + (e[(e.JJ_GIT = 5)] = 'JJ_GIT')); +})(Gn || (Gn = {})); +a.util.setEnumType(Gn, 'exa.cortex_pb.WorkspaceType', [ + { no: 0, name: 'WORKSPACE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'WORKSPACE_TYPE_GIT' }, + { no: 2, name: 'WORKSPACE_TYPE_PIPER' }, + { no: 3, name: 'WORKSPACE_TYPE_FIG' }, + { no: 4, name: 'WORKSPACE_TYPE_JJ_PIPER' }, + { no: 5, name: 'WORKSPACE_TYPE_JJ_GIT' }, +]); +var Te; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CASCADE_CLIENT = 1)] = 'CASCADE_CLIENT'), + (e[(e.EXPLAIN_PROBLEM = 2)] = 'EXPLAIN_PROBLEM'), + (e[(e.REFACTOR_FUNCTION = 3)] = 'REFACTOR_FUNCTION'), + (e[(e.EVAL = 4)] = 'EVAL'), + (e[(e.EVAL_TASK = 5)] = 'EVAL_TASK'), + (e[(e.ASYNC_PRR = 6)] = 'ASYNC_PRR'), + (e[(e.ASYNC_CF = 7)] = 'ASYNC_CF'), + (e[(e.ASYNC_SL = 8)] = 'ASYNC_SL'), + (e[(e.ASYNC_PRD = 9)] = 'ASYNC_PRD'), + (e[(e.ASYNC_CM = 10)] = 'ASYNC_CM'), + (e[(e.INTERACTIVE_CASCADE = 12)] = 'INTERACTIVE_CASCADE'), + (e[(e.REPLAY = 13)] = 'REPLAY'), + (e[(e.SDK = 15)] = 'SDK')); +})(Te || (Te = {})); +a.util.setEnumType(Te, 'exa.cortex_pb.CortexTrajectorySource', [ + { no: 0, name: 'CORTEX_TRAJECTORY_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_TRAJECTORY_SOURCE_CASCADE_CLIENT' }, + { no: 2, name: 'CORTEX_TRAJECTORY_SOURCE_EXPLAIN_PROBLEM' }, + { no: 3, name: 'CORTEX_TRAJECTORY_SOURCE_REFACTOR_FUNCTION' }, + { no: 4, name: 'CORTEX_TRAJECTORY_SOURCE_EVAL' }, + { no: 5, name: 'CORTEX_TRAJECTORY_SOURCE_EVAL_TASK' }, + { no: 6, name: 'CORTEX_TRAJECTORY_SOURCE_ASYNC_PRR' }, + { no: 7, name: 'CORTEX_TRAJECTORY_SOURCE_ASYNC_CF' }, + { no: 8, name: 'CORTEX_TRAJECTORY_SOURCE_ASYNC_SL' }, + { no: 9, name: 'CORTEX_TRAJECTORY_SOURCE_ASYNC_PRD' }, + { no: 10, name: 'CORTEX_TRAJECTORY_SOURCE_ASYNC_CM' }, + { no: 12, name: 'CORTEX_TRAJECTORY_SOURCE_INTERACTIVE_CASCADE' }, + { no: 13, name: 'CORTEX_TRAJECTORY_SOURCE_REPLAY' }, + { no: 15, name: 'CORTEX_TRAJECTORY_SOURCE_SDK' }, +]); +var On; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.USER_MAINLINE = 1)] = 'USER_MAINLINE'), + (e[(e.USER_GRANULAR = 2)] = 'USER_GRANULAR'), + (e[(e.SUPERCOMPLETE = 3)] = 'SUPERCOMPLETE'), + (e[(e.CASCADE = 4)] = 'CASCADE'), + (e[(e.CHECKPOINT = 6)] = 'CHECKPOINT'), + (e[(e.APPLIER = 11)] = 'APPLIER'), + (e[(e.TOOL_CALL_PROPOSAL = 12)] = 'TOOL_CALL_PROPOSAL'), + (e[(e.TRAJECTORY_CHOICE = 13)] = 'TRAJECTORY_CHOICE'), + (e[(e.LLM_JUDGE = 14)] = 'LLM_JUDGE'), + (e[(e.INTERACTIVE_CASCADE = 17)] = 'INTERACTIVE_CASCADE'), + (e[(e.BRAIN_UPDATE = 16)] = 'BRAIN_UPDATE'), + (e[(e.BROWSER = 20)] = 'BROWSER'), + (e[(e.KNOWLEDGE_GENERATION = 21)] = 'KNOWLEDGE_GENERATION')); +})(On || (On = {})); +a.util.setEnumType(On, 'exa.cortex_pb.CortexTrajectoryType', [ + { no: 0, name: 'CORTEX_TRAJECTORY_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_TRAJECTORY_TYPE_USER_MAINLINE' }, + { no: 2, name: 'CORTEX_TRAJECTORY_TYPE_USER_GRANULAR' }, + { no: 3, name: 'CORTEX_TRAJECTORY_TYPE_SUPERCOMPLETE' }, + { no: 4, name: 'CORTEX_TRAJECTORY_TYPE_CASCADE' }, + { no: 6, name: 'CORTEX_TRAJECTORY_TYPE_CHECKPOINT' }, + { no: 11, name: 'CORTEX_TRAJECTORY_TYPE_APPLIER' }, + { no: 12, name: 'CORTEX_TRAJECTORY_TYPE_TOOL_CALL_PROPOSAL' }, + { no: 13, name: 'CORTEX_TRAJECTORY_TYPE_TRAJECTORY_CHOICE' }, + { no: 14, name: 'CORTEX_TRAJECTORY_TYPE_LLM_JUDGE' }, + { no: 17, name: 'CORTEX_TRAJECTORY_TYPE_INTERACTIVE_CASCADE' }, + { no: 16, name: 'CORTEX_TRAJECTORY_TYPE_BRAIN_UPDATE' }, + { no: 20, name: 'CORTEX_TRAJECTORY_TYPE_BROWSER' }, + { no: 21, name: 'CORTEX_TRAJECTORY_TYPE_KNOWLEDGE_GENERATION' }, +]); +var ca; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.PRUNE = 1)] = 'PRUNE'), + (e[(e.FORK = 2)] = 'FORK')); +})(ca || (ca = {})); +a.util.setEnumType(ca, 'exa.cortex_pb.CortexTrajectoryReferenceType', [ + { no: 0, name: 'CORTEX_TRAJECTORY_REFERENCE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_TRAJECTORY_REFERENCE_TYPE_PRUNE' }, + { no: 2, name: 'CORTEX_TRAJECTORY_REFERENCE_TYPE_FORK' }, +]); +var ua; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.API_RETRYABLE = 1)] = 'API_RETRYABLE'), + (e[(e.MODEL_CORRECTABLE = 2)] = 'MODEL_CORRECTABLE'), + (e[(e.NON_RECOVERABLE = 3)] = 'NON_RECOVERABLE')); +})(ua || (ua = {})); +a.util.setEnumType(ua, 'exa.cortex_pb.RetryReason', [ + { no: 0, name: 'RETRY_REASON_UNSPECIFIED' }, + { no: 1, name: 'RETRY_REASON_API_RETRYABLE' }, + { no: 2, name: 'RETRY_REASON_MODEL_CORRECTABLE' }, + { no: 3, name: 'RETRY_REASON_NON_RECOVERABLE' }, +]); +var la; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.PROMPT_CACHE_TTL_EXPIRED = 1)] = 'PROMPT_CACHE_TTL_EXPIRED'), + (e[(e.MAX_TOKEN_LIMIT = 2)] = 'MAX_TOKEN_LIMIT')); +})(la || (la = {})); +a.util.setEnumType(la, 'exa.cortex_pb.TruncationReason', [ + { no: 0, name: 'TRUNCATION_REASON_UNSPECIFIED' }, + { no: 1, name: 'TRUNCATION_REASON_PROMPT_CACHE_TTL_EXPIRED' }, + { no: 2, name: 'TRUNCATION_REASON_MAX_TOKEN_LIMIT' }, +]); +var Ea; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.MODEL = 2)] = 'MODEL'), + (e[(e.USER_IMPLICIT = 3)] = 'USER_IMPLICIT'), + (e[(e.USER_EXPLICIT = 4)] = 'USER_EXPLICIT'), + (e[(e.SYSTEM = 5)] = 'SYSTEM'), + (e[(e.SYSTEM_SDK = 6)] = 'SYSTEM_SDK')); +})(Ea || (Ea = {})); +a.util.setEnumType(Ea, 'exa.cortex_pb.CortexStepSource', [ + { no: 0, name: 'CORTEX_STEP_SOURCE_UNSPECIFIED' }, + { no: 2, name: 'CORTEX_STEP_SOURCE_MODEL' }, + { no: 3, name: 'CORTEX_STEP_SOURCE_USER_IMPLICIT' }, + { no: 4, name: 'CORTEX_STEP_SOURCE_USER_EXPLICIT' }, + { no: 5, name: 'CORTEX_STEP_SOURCE_SYSTEM' }, + { no: 6, name: 'CORTEX_STEP_SOURCE_SYSTEM_SDK' }, +]); +var os; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.LINT_FIXING_DISCOUNT = 1)] = 'LINT_FIXING_DISCOUNT')); +})(os || (os = {})); +a.util.setEnumType(os, 'exa.cortex_pb.CortexStepCreditReason', [ + { no: 0, name: 'CORTEX_STEP_CREDIT_REASON_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_STEP_CREDIT_REASON_LINT_FIXING_DISCOUNT' }, +]); +var Zl; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.INVOCATION_BLOCKING = 1)] = 'INVOCATION_BLOCKING'), + (e[(e.EXECUTOR_BLOCKING = 2)] = 'EXECUTOR_BLOCKING'), + (e[(e.FULL_ASYNC = 3)] = 'FULL_ASYNC')); +})(Zl || (Zl = {})); +a.util.setEnumType(Zl, 'exa.cortex_pb.ExecutionAsyncLevel', [ + { no: 0, name: 'EXECUTION_ASYNC_LEVEL_UNSPECIFIED' }, + { no: 1, name: 'EXECUTION_ASYNC_LEVEL_INVOCATION_BLOCKING' }, + { no: 2, name: 'EXECUTION_ASYNC_LEVEL_EXECUTOR_BLOCKING' }, + { no: 3, name: 'EXECUTION_ASYNC_LEVEL_FULL_ASYNC' }, +]); +var z; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.GENERATING = 8)] = 'GENERATING'), + (e[(e.QUEUED = 11)] = 'QUEUED'), + (e[(e.PENDING = 1)] = 'PENDING'), + (e[(e.RUNNING = 2)] = 'RUNNING'), + (e[(e.WAITING = 9)] = 'WAITING'), + (e[(e.DONE = 3)] = 'DONE'), + (e[(e.INVALID = 4)] = 'INVALID'), + (e[(e.CLEARED = 5)] = 'CLEARED'), + (e[(e.CANCELED = 6)] = 'CANCELED'), + (e[(e.ERROR = 7)] = 'ERROR'), + (e[(e.INTERRUPTED = 12)] = 'INTERRUPTED')); +})(z || (z = {})); +a.util.setEnumType(z, 'exa.cortex_pb.CortexStepStatus', [ + { no: 0, name: 'CORTEX_STEP_STATUS_UNSPECIFIED' }, + { no: 8, name: 'CORTEX_STEP_STATUS_GENERATING' }, + { no: 11, name: 'CORTEX_STEP_STATUS_QUEUED' }, + { no: 1, name: 'CORTEX_STEP_STATUS_PENDING' }, + { no: 2, name: 'CORTEX_STEP_STATUS_RUNNING' }, + { no: 9, name: 'CORTEX_STEP_STATUS_WAITING' }, + { no: 3, name: 'CORTEX_STEP_STATUS_DONE' }, + { no: 4, name: 'CORTEX_STEP_STATUS_INVALID' }, + { no: 5, name: 'CORTEX_STEP_STATUS_CLEARED' }, + { no: 6, name: 'CORTEX_STEP_STATUS_CANCELED' }, + { no: 7, name: 'CORTEX_STEP_STATUS_ERROR' }, + { no: 12, name: 'CORTEX_STEP_STATUS_INTERRUPTED' }, +]); +var $l; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.IDLE = 1)] = 'IDLE'), + (e[(e.RUNNING = 2)] = 'RUNNING'), + (e[(e.CANCELING = 3)] = 'CANCELING'), + (e[(e.BUSY = 4)] = 'BUSY')); +})($l || ($l = {})); +a.util.setEnumType($l, 'exa.cortex_pb.CascadeRunStatus', [ + { no: 0, name: 'CASCADE_RUN_STATUS_UNSPECIFIED' }, + { no: 1, name: 'CASCADE_RUN_STATUS_IDLE' }, + { no: 2, name: 'CASCADE_RUN_STATUS_RUNNING' }, + { no: 3, name: 'CASCADE_RUN_STATUS_CANCELING' }, + { no: 4, name: 'CASCADE_RUN_STATUS_BUSY' }, +]); +var nE; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.NO_SYSTEM_INJECTED_STEPS = 1)] = 'NO_SYSTEM_INJECTED_STEPS'), + (e[(e.NO_MEMORIES = 2)] = 'NO_MEMORIES')); +})(nE || (nE = {})); +a.util.setEnumType(nE, 'exa.cortex_pb.BrainFilterStrategy', [ + { no: 0, name: 'BRAIN_FILTER_STRATEGY_UNSPECIFIED' }, + { no: 1, name: 'BRAIN_FILTER_STRATEGY_NO_SYSTEM_INJECTED_STEPS' }, + { no: 2, name: 'BRAIN_FILTER_STRATEGY_NO_MEMORIES' }, +]); +var ms; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.OVERRIDE = 1)] = 'OVERRIDE'), + (e[(e.APPEND = 2)] = 'APPEND'), + (e[(e.PREPEND = 3)] = 'PREPEND')); +})(ms || (ms = {})); +a.util.setEnumType(ms, 'exa.cortex_pb.SectionOverrideMode', [ + { no: 0, name: 'SECTION_OVERRIDE_MODE_UNSPECIFIED' }, + { no: 1, name: 'SECTION_OVERRIDE_MODE_OVERRIDE' }, + { no: 2, name: 'SECTION_OVERRIDE_MODE_APPEND' }, + { no: 3, name: 'SECTION_OVERRIDE_MODE_PREPEND' }, +]); +var _a; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.PLANNING = 1)] = 'PLANNING'), + (e[(e.EXECUTION = 2)] = 'EXECUTION'), + (e[(e.VERIFICATION = 3)] = 'VERIFICATION')); +})(_a || (_a = {})); +a.util.setEnumType(_a, 'exa.cortex_pb.AgentMode', [ + { no: 0, name: 'AGENT_MODE_UNSPECIFIED' }, + { no: 1, name: 'AGENT_MODE_PLANNING' }, + { no: 2, name: 'AGENT_MODE_EXECUTION' }, + { no: 3, name: 'AGENT_MODE_VERIFICATION' }, +]); +var da; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.REPLACEMENT_CHUNK = 1)] = 'REPLACEMENT_CHUNK'), + (e[(e.SEARCH_REPLACE = 2)] = 'SEARCH_REPLACE'), + (e[(e.APPLY_PATCH = 3)] = 'APPLY_PATCH'), + (e[(e.SINGLE_MULTI = 4)] = 'SINGLE_MULTI')); +})(da || (da = {})); +a.util.setEnumType(da, 'exa.cortex_pb.ReplaceToolVariant', [ + { no: 0, name: 'REPLACE_TOOL_VARIANT_UNSPECIFIED' }, + { no: 1, name: 'REPLACE_TOOL_VARIANT_REPLACEMENT_CHUNK' }, + { no: 2, name: 'REPLACE_TOOL_VARIANT_SEARCH_REPLACE' }, + { no: 3, name: 'REPLACE_TOOL_VARIANT_APPLY_PATCH' }, + { no: 4, name: 'REPLACE_TOOL_VARIANT_SINGLE_MULTI' }, +]); +var cs; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.MAIN_AGENT_ONLY = 1)] = 'MAIN_AGENT_ONLY'), + (e[(e.SUBAGENT_PRIMARILY = 2)] = 'SUBAGENT_PRIMARILY'), + (e[(e.BOTH_AGENTS = 3)] = 'BOTH_AGENTS'), + (e[(e.SUBAGENT_ONLY = 4)] = 'SUBAGENT_ONLY')); +})(cs || (cs = {})); +a.util.setEnumType(cs, 'exa.cortex_pb.BrowserSubagentMode', [ + { no: 0, name: 'BROWSER_SUBAGENT_MODE_UNSPECIFIED' }, + { no: 1, name: 'BROWSER_SUBAGENT_MODE_MAIN_AGENT_ONLY' }, + { no: 2, name: 'BROWSER_SUBAGENT_MODE_SUBAGENT_PRIMARILY' }, + { no: 3, name: 'BROWSER_SUBAGENT_MODE_BOTH_AGENTS' }, + { no: 4, name: 'BROWSER_SUBAGENT_MODE_SUBAGENT_ONLY' }, +]); +var us; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ALL_TOOLS = 1)] = 'ALL_TOOLS'), + (e[(e.PIXEL_ONLY = 2)] = 'PIXEL_ONLY'), + (e[(e.ALL_INPUT_PIXEL_OUTPUT = 3)] = 'ALL_INPUT_PIXEL_OUTPUT')); +})(us || (us = {})); +a.util.setEnumType(us, 'exa.cortex_pb.BrowserToolSetMode', [ + { no: 0, name: 'BROWSER_TOOL_SET_MODE_UNSPECIFIED' }, + { no: 1, name: 'BROWSER_TOOL_SET_MODE_ALL_TOOLS' }, + { no: 2, name: 'BROWSER_TOOL_SET_MODE_PIXEL_ONLY' }, + { no: 3, name: 'BROWSER_TOOL_SET_MODE_ALL_INPUT_PIXEL_OUTPUT' }, +]); +var Ta; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.PAGE_ACCESS = 1)] = 'PAGE_ACCESS'), + (e[(e.ACTION_PERMISSION = 2)] = 'ACTION_PERMISSION'), + (e[(e.PAGE_ACCESS_AND_ACTION_PERMISSION = 3)] = + 'PAGE_ACCESS_AND_ACTION_PERMISSION')); +})(Ta || (Ta = {})); +a.util.setEnumType(Ta, 'exa.cortex_pb.BrowserActionWaitingReason', [ + { no: 0, name: 'BROWSER_ACTION_WAITING_REASON_UNSPECIFIED' }, + { no: 1, name: 'BROWSER_ACTION_WAITING_REASON_PAGE_ACCESS' }, + { no: 2, name: 'BROWSER_ACTION_WAITING_REASON_ACTION_PERMISSION' }, + { + no: 3, + name: 'BROWSER_ACTION_WAITING_REASON_PAGE_ACCESS_AND_ACTION_PERMISSION', + }, +]); +var bn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ONCE = 1)] = 'ONCE'), + (e[(e.CONVERSATION = 2)] = 'CONVERSATION')); +})(bn || (bn = {})); +a.util.setEnumType(bn, 'exa.cortex_pb.PermissionScope', [ + { no: 0, name: 'PERMISSION_SCOPE_UNSPECIFIED' }, + { no: 1, name: 'PERMISSION_SCOPE_ONCE' }, + { no: 2, name: 'PERMISSION_SCOPE_CONVERSATION' }, +]); +var j; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.DUMMY = 1)] = 'DUMMY'), + (e[(e.FINISH = 2)] = 'FINISH'), + (e[(e.MQUERY = 4)] = 'MQUERY'), + (e[(e.CODE_ACTION = 5)] = 'CODE_ACTION'), + (e[(e.GIT_COMMIT = 6)] = 'GIT_COMMIT'), + (e[(e.GREP_SEARCH = 7)] = 'GREP_SEARCH'), + (e[(e.COMPILE = 10)] = 'COMPILE'), + (e[(e.VIEW_CODE_ITEM = 13)] = 'VIEW_CODE_ITEM'), + (e[(e.ERROR_MESSAGE = 17)] = 'ERROR_MESSAGE'), + (e[(e.RUN_COMMAND = 21)] = 'RUN_COMMAND'), + (e[(e.FIND = 25)] = 'FIND'), + (e[(e.SUGGESTED_RESPONSES = 27)] = 'SUGGESTED_RESPONSES'), + (e[(e.COMMAND_STATUS = 28)] = 'COMMAND_STATUS'), + (e[(e.READ_URL_CONTENT = 31)] = 'READ_URL_CONTENT'), + (e[(e.VIEW_CONTENT_CHUNK = 32)] = 'VIEW_CONTENT_CHUNK'), + (e[(e.SEARCH_WEB = 33)] = 'SEARCH_WEB'), + (e[(e.MCP_TOOL = 38)] = 'MCP_TOOL'), + (e[(e.CLIPBOARD = 45)] = 'CLIPBOARD'), + (e[(e.VIEW_FILE_OUTLINE = 47)] = 'VIEW_FILE_OUTLINE'), + (e[(e.LIST_RESOURCES = 51)] = 'LIST_RESOURCES'), + (e[(e.READ_RESOURCE = 52)] = 'READ_RESOURCE'), + (e[(e.LINT_DIFF = 53)] = 'LINT_DIFF'), + (e[(e.OPEN_BROWSER_URL = 56)] = 'OPEN_BROWSER_URL'), + (e[(e.RUN_EXTENSION_CODE = 57)] = 'RUN_EXTENSION_CODE'), + (e[(e.TRAJECTORY_SEARCH = 60)] = 'TRAJECTORY_SEARCH'), + (e[(e.EXECUTE_BROWSER_JAVASCRIPT = 61)] = 'EXECUTE_BROWSER_JAVASCRIPT'), + (e[(e.LIST_BROWSER_PAGES = 62)] = 'LIST_BROWSER_PAGES'), + (e[(e.CAPTURE_BROWSER_SCREENSHOT = 63)] = 'CAPTURE_BROWSER_SCREENSHOT'), + (e[(e.CLICK_BROWSER_PIXEL = 64)] = 'CLICK_BROWSER_PIXEL'), + (e[(e.READ_TERMINAL = 65)] = 'READ_TERMINAL'), + (e[(e.CAPTURE_BROWSER_CONSOLE_LOGS = 66)] = 'CAPTURE_BROWSER_CONSOLE_LOGS'), + (e[(e.READ_BROWSER_PAGE = 67)] = 'READ_BROWSER_PAGE'), + (e[(e.BROWSER_GET_DOM = 68)] = 'BROWSER_GET_DOM'), + (e[(e.CODE_SEARCH = 73)] = 'CODE_SEARCH'), + (e[(e.BROWSER_INPUT = 74)] = 'BROWSER_INPUT'), + (e[(e.BROWSER_MOVE_MOUSE = 75)] = 'BROWSER_MOVE_MOUSE'), + (e[(e.BROWSER_SELECT_OPTION = 76)] = 'BROWSER_SELECT_OPTION'), + (e[(e.BROWSER_SCROLL_UP = 77)] = 'BROWSER_SCROLL_UP'), + (e[(e.BROWSER_SCROLL_DOWN = 78)] = 'BROWSER_SCROLL_DOWN'), + (e[(e.BROWSER_CLICK_ELEMENT = 79)] = 'BROWSER_CLICK_ELEMENT'), + (e[(e.BROWSER_LIST_NETWORK_REQUESTS = 123)] = + 'BROWSER_LIST_NETWORK_REQUESTS'), + (e[(e.BROWSER_GET_NETWORK_REQUEST = 124)] = 'BROWSER_GET_NETWORK_REQUEST'), + (e[(e.BROWSER_PRESS_KEY = 80)] = 'BROWSER_PRESS_KEY'), + (e[(e.TASK_BOUNDARY = 81)] = 'TASK_BOUNDARY'), + (e[(e.NOTIFY_USER = 82)] = 'NOTIFY_USER'), + (e[(e.CODE_ACKNOWLEDGEMENT = 83)] = 'CODE_ACKNOWLEDGEMENT'), + (e[(e.INTERNAL_SEARCH = 84)] = 'INTERNAL_SEARCH'), + (e[(e.BROWSER_SUBAGENT = 85)] = 'BROWSER_SUBAGENT'), + (e[(e.BROWSER_SCROLL = 88)] = 'BROWSER_SCROLL'), + (e[(e.KNOWLEDGE_GENERATION = 89)] = 'KNOWLEDGE_GENERATION'), + (e[(e.GENERATE_IMAGE = 91)] = 'GENERATE_IMAGE'), + (e[(e.BROWSER_RESIZE_WINDOW = 96)] = 'BROWSER_RESIZE_WINDOW'), + (e[(e.BROWSER_DRAG_PIXEL_TO_PIXEL = 97)] = 'BROWSER_DRAG_PIXEL_TO_PIXEL'), + (e[(e.BROWSER_MOUSE_WHEEL = 113)] = 'BROWSER_MOUSE_WHEEL'), + (e[(e.BROWSER_MOUSE_UP = 120)] = 'BROWSER_MOUSE_UP'), + (e[(e.BROWSER_MOUSE_DOWN = 121)] = 'BROWSER_MOUSE_DOWN'), + (e[(e.BROWSER_REFRESH_PAGE = 125)] = 'BROWSER_REFRESH_PAGE'), + (e[(e.CONVERSATION_HISTORY = 98)] = 'CONVERSATION_HISTORY'), + (e[(e.KNOWLEDGE_ARTIFACTS = 99)] = 'KNOWLEDGE_ARTIFACTS'), + (e[(e.SEND_COMMAND_INPUT = 100)] = 'SEND_COMMAND_INPUT'), + (e[(e.SYSTEM_MESSAGE = 101)] = 'SYSTEM_MESSAGE'), + (e[(e.WAIT = 102)] = 'WAIT'), + (e[(e.KI_INSERTION = 116)] = 'KI_INSERTION'), + (e[(e.WORKSPACE_API = 122)] = 'WORKSPACE_API'), + (e[(e.INVOKE_SUBAGENT = 127)] = 'INVOKE_SUBAGENT'), + (e[(e.USER_INPUT = 14)] = 'USER_INPUT'), + (e[(e.PLANNER_RESPONSE = 15)] = 'PLANNER_RESPONSE'), + (e[(e.VIEW_FILE = 8)] = 'VIEW_FILE'), + (e[(e.LIST_DIRECTORY = 9)] = 'LIST_DIRECTORY'), + (e[(e.CHECKPOINT = 23)] = 'CHECKPOINT'), + (e[(e.FILE_CHANGE = 86)] = 'FILE_CHANGE'), + (e[(e.DELETE_DIRECTORY = 92)] = 'DELETE_DIRECTORY'), + (e[(e.MOVE = 87)] = 'MOVE'), + (e[(e.EPHEMERAL_MESSAGE = 90)] = 'EPHEMERAL_MESSAGE'), + (e[(e.COMPILE_APPLET = 93)] = 'COMPILE_APPLET'), + (e[(e.INSTALL_APPLET_DEPENDENCIES = 94)] = 'INSTALL_APPLET_DEPENDENCIES'), + (e[(e.INSTALL_APPLET_PACKAGE = 95)] = 'INSTALL_APPLET_PACKAGE'), + (e[(e.SET_UP_FIREBASE = 108)] = 'SET_UP_FIREBASE'), + (e[(e.RESTART_DEV_SERVER = 110)] = 'RESTART_DEV_SERVER'), + (e[(e.DEPLOY_FIREBASE = 111)] = 'DEPLOY_FIREBASE'), + (e[(e.SHELL_EXEC = 112)] = 'SHELL_EXEC'), + (e[(e.LINT_APPLET = 114)] = 'LINT_APPLET'), + (e[(e.DEFINE_NEW_ENV_VARIABLE = 115)] = 'DEFINE_NEW_ENV_VARIABLE'), + (e[(e.WRITE_BLOB = 128)] = 'WRITE_BLOB'), + (e[(e.AGENCY_TOOL_CALL = 103)] = 'AGENCY_TOOL_CALL'), + (e[(e.PLAN_INPUT = 3)] = 'PLAN_INPUT'), + (e[(e.PROPOSE_CODE = 24)] = 'PROPOSE_CODE'), + (e[(e.MANAGER_FEEDBACK = 39)] = 'MANAGER_FEEDBACK'), + (e[(e.TOOL_CALL_PROPOSAL = 40)] = 'TOOL_CALL_PROPOSAL'), + (e[(e.TOOL_CALL_CHOICE = 41)] = 'TOOL_CALL_CHOICE'), + (e[(e.TRAJECTORY_CHOICE = 42)] = 'TRAJECTORY_CHOICE'), + (e[(e.POST_PR_REVIEW = 49)] = 'POST_PR_REVIEW'), + (e[(e.FIND_ALL_REFERENCES = 54)] = 'FIND_ALL_REFERENCES'), + (e[(e.BRAIN_UPDATE = 55)] = 'BRAIN_UPDATE'), + (e[(e.ADD_ANNOTATION = 58)] = 'ADD_ANNOTATION'), + (e[(e.PROPOSAL_FEEDBACK = 59)] = 'PROPOSAL_FEEDBACK'), + (e[(e.RETRIEVE_MEMORY = 34)] = 'RETRIEVE_MEMORY'), + (e[(e.MEMORY = 29)] = 'MEMORY')); +})(j || (j = {})); +a.util.setEnumType(j, 'exa.cortex_pb.CortexStepType', [ + { no: 0, name: 'CORTEX_STEP_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_STEP_TYPE_DUMMY' }, + { no: 2, name: 'CORTEX_STEP_TYPE_FINISH' }, + { no: 4, name: 'CORTEX_STEP_TYPE_MQUERY' }, + { no: 5, name: 'CORTEX_STEP_TYPE_CODE_ACTION' }, + { no: 6, name: 'CORTEX_STEP_TYPE_GIT_COMMIT' }, + { no: 7, name: 'CORTEX_STEP_TYPE_GREP_SEARCH' }, + { no: 10, name: 'CORTEX_STEP_TYPE_COMPILE' }, + { no: 13, name: 'CORTEX_STEP_TYPE_VIEW_CODE_ITEM' }, + { no: 17, name: 'CORTEX_STEP_TYPE_ERROR_MESSAGE' }, + { no: 21, name: 'CORTEX_STEP_TYPE_RUN_COMMAND' }, + { no: 25, name: 'CORTEX_STEP_TYPE_FIND' }, + { no: 27, name: 'CORTEX_STEP_TYPE_SUGGESTED_RESPONSES' }, + { no: 28, name: 'CORTEX_STEP_TYPE_COMMAND_STATUS' }, + { no: 31, name: 'CORTEX_STEP_TYPE_READ_URL_CONTENT' }, + { no: 32, name: 'CORTEX_STEP_TYPE_VIEW_CONTENT_CHUNK' }, + { no: 33, name: 'CORTEX_STEP_TYPE_SEARCH_WEB' }, + { no: 38, name: 'CORTEX_STEP_TYPE_MCP_TOOL' }, + { no: 45, name: 'CORTEX_STEP_TYPE_CLIPBOARD' }, + { no: 47, name: 'CORTEX_STEP_TYPE_VIEW_FILE_OUTLINE' }, + { no: 51, name: 'CORTEX_STEP_TYPE_LIST_RESOURCES' }, + { no: 52, name: 'CORTEX_STEP_TYPE_READ_RESOURCE' }, + { no: 53, name: 'CORTEX_STEP_TYPE_LINT_DIFF' }, + { no: 56, name: 'CORTEX_STEP_TYPE_OPEN_BROWSER_URL' }, + { no: 57, name: 'CORTEX_STEP_TYPE_RUN_EXTENSION_CODE' }, + { no: 60, name: 'CORTEX_STEP_TYPE_TRAJECTORY_SEARCH' }, + { no: 61, name: 'CORTEX_STEP_TYPE_EXECUTE_BROWSER_JAVASCRIPT' }, + { no: 62, name: 'CORTEX_STEP_TYPE_LIST_BROWSER_PAGES' }, + { no: 63, name: 'CORTEX_STEP_TYPE_CAPTURE_BROWSER_SCREENSHOT' }, + { no: 64, name: 'CORTEX_STEP_TYPE_CLICK_BROWSER_PIXEL' }, + { no: 65, name: 'CORTEX_STEP_TYPE_READ_TERMINAL' }, + { no: 66, name: 'CORTEX_STEP_TYPE_CAPTURE_BROWSER_CONSOLE_LOGS' }, + { no: 67, name: 'CORTEX_STEP_TYPE_READ_BROWSER_PAGE' }, + { no: 68, name: 'CORTEX_STEP_TYPE_BROWSER_GET_DOM' }, + { no: 73, name: 'CORTEX_STEP_TYPE_CODE_SEARCH' }, + { no: 74, name: 'CORTEX_STEP_TYPE_BROWSER_INPUT' }, + { no: 75, name: 'CORTEX_STEP_TYPE_BROWSER_MOVE_MOUSE' }, + { no: 76, name: 'CORTEX_STEP_TYPE_BROWSER_SELECT_OPTION' }, + { no: 77, name: 'CORTEX_STEP_TYPE_BROWSER_SCROLL_UP' }, + { no: 78, name: 'CORTEX_STEP_TYPE_BROWSER_SCROLL_DOWN' }, + { no: 79, name: 'CORTEX_STEP_TYPE_BROWSER_CLICK_ELEMENT' }, + { no: 123, name: 'CORTEX_STEP_TYPE_BROWSER_LIST_NETWORK_REQUESTS' }, + { no: 124, name: 'CORTEX_STEP_TYPE_BROWSER_GET_NETWORK_REQUEST' }, + { no: 80, name: 'CORTEX_STEP_TYPE_BROWSER_PRESS_KEY' }, + { no: 81, name: 'CORTEX_STEP_TYPE_TASK_BOUNDARY' }, + { no: 82, name: 'CORTEX_STEP_TYPE_NOTIFY_USER' }, + { no: 83, name: 'CORTEX_STEP_TYPE_CODE_ACKNOWLEDGEMENT' }, + { no: 84, name: 'CORTEX_STEP_TYPE_INTERNAL_SEARCH' }, + { no: 85, name: 'CORTEX_STEP_TYPE_BROWSER_SUBAGENT' }, + { no: 88, name: 'CORTEX_STEP_TYPE_BROWSER_SCROLL' }, + { no: 89, name: 'CORTEX_STEP_TYPE_KNOWLEDGE_GENERATION' }, + { no: 91, name: 'CORTEX_STEP_TYPE_GENERATE_IMAGE' }, + { no: 96, name: 'CORTEX_STEP_TYPE_BROWSER_RESIZE_WINDOW' }, + { no: 97, name: 'CORTEX_STEP_TYPE_BROWSER_DRAG_PIXEL_TO_PIXEL' }, + { no: 113, name: 'CORTEX_STEP_TYPE_BROWSER_MOUSE_WHEEL' }, + { no: 120, name: 'CORTEX_STEP_TYPE_BROWSER_MOUSE_UP' }, + { no: 121, name: 'CORTEX_STEP_TYPE_BROWSER_MOUSE_DOWN' }, + { no: 125, name: 'CORTEX_STEP_TYPE_BROWSER_REFRESH_PAGE' }, + { no: 98, name: 'CORTEX_STEP_TYPE_CONVERSATION_HISTORY' }, + { no: 99, name: 'CORTEX_STEP_TYPE_KNOWLEDGE_ARTIFACTS' }, + { no: 100, name: 'CORTEX_STEP_TYPE_SEND_COMMAND_INPUT' }, + { no: 101, name: 'CORTEX_STEP_TYPE_SYSTEM_MESSAGE' }, + { no: 102, name: 'CORTEX_STEP_TYPE_WAIT' }, + { no: 116, name: 'CORTEX_STEP_TYPE_KI_INSERTION' }, + { no: 122, name: 'CORTEX_STEP_TYPE_WORKSPACE_API' }, + { no: 127, name: 'CORTEX_STEP_TYPE_INVOKE_SUBAGENT' }, + { no: 14, name: 'CORTEX_STEP_TYPE_USER_INPUT' }, + { no: 15, name: 'CORTEX_STEP_TYPE_PLANNER_RESPONSE' }, + { no: 8, name: 'CORTEX_STEP_TYPE_VIEW_FILE' }, + { no: 9, name: 'CORTEX_STEP_TYPE_LIST_DIRECTORY' }, + { no: 23, name: 'CORTEX_STEP_TYPE_CHECKPOINT' }, + { no: 86, name: 'CORTEX_STEP_TYPE_FILE_CHANGE' }, + { no: 92, name: 'CORTEX_STEP_TYPE_DELETE_DIRECTORY' }, + { no: 87, name: 'CORTEX_STEP_TYPE_MOVE' }, + { no: 90, name: 'CORTEX_STEP_TYPE_EPHEMERAL_MESSAGE' }, + { no: 93, name: 'CORTEX_STEP_TYPE_COMPILE_APPLET' }, + { no: 94, name: 'CORTEX_STEP_TYPE_INSTALL_APPLET_DEPENDENCIES' }, + { no: 95, name: 'CORTEX_STEP_TYPE_INSTALL_APPLET_PACKAGE' }, + { no: 108, name: 'CORTEX_STEP_TYPE_SET_UP_FIREBASE' }, + { no: 110, name: 'CORTEX_STEP_TYPE_RESTART_DEV_SERVER' }, + { no: 111, name: 'CORTEX_STEP_TYPE_DEPLOY_FIREBASE' }, + { no: 112, name: 'CORTEX_STEP_TYPE_SHELL_EXEC' }, + { no: 114, name: 'CORTEX_STEP_TYPE_LINT_APPLET' }, + { no: 115, name: 'CORTEX_STEP_TYPE_DEFINE_NEW_ENV_VARIABLE' }, + { no: 128, name: 'CORTEX_STEP_TYPE_WRITE_BLOB' }, + { no: 103, name: 'CORTEX_STEP_TYPE_AGENCY_TOOL_CALL' }, + { no: 3, name: 'CORTEX_STEP_TYPE_PLAN_INPUT' }, + { no: 24, name: 'CORTEX_STEP_TYPE_PROPOSE_CODE' }, + { no: 39, name: 'CORTEX_STEP_TYPE_MANAGER_FEEDBACK' }, + { no: 40, name: 'CORTEX_STEP_TYPE_TOOL_CALL_PROPOSAL' }, + { no: 41, name: 'CORTEX_STEP_TYPE_TOOL_CALL_CHOICE' }, + { no: 42, name: 'CORTEX_STEP_TYPE_TRAJECTORY_CHOICE' }, + { no: 49, name: 'CORTEX_STEP_TYPE_POST_PR_REVIEW' }, + { no: 54, name: 'CORTEX_STEP_TYPE_FIND_ALL_REFERENCES' }, + { no: 55, name: 'CORTEX_STEP_TYPE_BRAIN_UPDATE' }, + { no: 58, name: 'CORTEX_STEP_TYPE_ADD_ANNOTATION' }, + { no: 59, name: 'CORTEX_STEP_TYPE_PROPOSAL_FEEDBACK' }, + { no: 34, name: 'CORTEX_STEP_TYPE_RETRIEVE_MEMORY' }, + { no: 29, name: 'CORTEX_STEP_TYPE_MEMORY' }, +]); +var eE; +(function (e) { + e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'; +})(eE || (eE = {})); +a.util.setEnumType(eE, 'exa.cortex_pb.CheckpointType', [ + { no: 0, name: 'CHECKPOINT_TYPE_UNSPECIFIED' }, +]); +var fa; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.MQUERY = 1)] = 'MQUERY'), + (e[(e.VECTOR_INDEX = 2)] = 'VECTOR_INDEX')); +})(fa || (fa = {})); +a.util.setEnumType(fa, 'exa.cortex_pb.SemanticCodebaseSearchType', [ + { no: 0, name: 'SEMANTIC_CODEBASE_SEARCH_TYPE_UNSPECIFIED' }, + { no: 1, name: 'SEMANTIC_CODEBASE_SEARCH_TYPE_MQUERY' }, + { no: 2, name: 'SEMANTIC_CODEBASE_SEARCH_TYPE_VECTOR_INDEX' }, +]); +var b; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ACCEPT = 1)] = 'ACCEPT'), + (e[(e.REJECT = 2)] = 'REJECT'), + (e[(e.STALE = 3)] = 'STALE'), + (e[(e.CLEARED = 4)] = 'CLEARED')); +})(b || (b = {})); +a.util.setEnumType(b, 'exa.cortex_pb.AcknowledgementType', [ + { no: 0, name: 'ACKNOWLEDGEMENT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'ACKNOWLEDGEMENT_TYPE_ACCEPT' }, + { no: 2, name: 'ACKNOWLEDGEMENT_TYPE_REJECT' }, + { no: 3, name: 'ACKNOWLEDGEMENT_TYPE_STALE' }, + { no: 4, name: 'ACKNOWLEDGEMENT_TYPE_CLEARED' }, +]); +var qn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.LAZY_COMMENT = 1)] = 'LAZY_COMMENT'), + (e[(e.DELETED_LINES = 2)] = 'DELETED_LINES')); +})(qn || (qn = {})); +a.util.setEnumType(qn, 'exa.cortex_pb.CodeHeuristicFailure', [ + { no: 0, name: 'CODE_HEURISTIC_FAILURE_UNSPECIFIED' }, + { no: 1, name: 'CODE_HEURISTIC_FAILURE_LAZY_COMMENT' }, + { no: 2, name: 'CODE_HEURISTIC_FAILURE_DELETED_LINES' }, +]); +var Na; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CREATE = 1)] = 'CREATE'), + (e[(e.EDIT = 2)] = 'EDIT'), + (e[(e.DELETE = 3)] = 'DELETE')); +})(Na || (Na = {})); +a.util.setEnumType(Na, 'exa.cortex_pb.FileChangeType', [ + { no: 0, name: 'FILE_CHANGE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'FILE_CHANGE_TYPE_CREATE' }, + { no: 2, name: 'FILE_CHANGE_TYPE_EDIT' }, + { no: 3, name: 'FILE_CHANGE_TYPE_DELETE' }, +]); +var Sa; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.FILE = 1)] = 'FILE'), + (e[(e.DIRECTORY = 2)] = 'DIRECTORY'), + (e[(e.ANY = 3)] = 'ANY')); +})(Sa || (Sa = {})); +a.util.setEnumType(Sa, 'exa.cortex_pb.FindResultType', [ + { no: 0, name: 'FIND_RESULT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'FIND_RESULT_TYPE_FILE' }, + { no: 2, name: 'FIND_RESULT_TYPE_DIRECTORY' }, + { no: 3, name: 'FIND_RESULT_TYPE_ANY' }, +]); +var Ia; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), (e[(e.PYLINT = 1)] = 'PYLINT')); +})(Ia || (Ia = {})); +a.util.setEnumType(Ia, 'exa.cortex_pb.CortexStepCompileTool', [ + { no: 0, name: 'CORTEX_STEP_COMPILE_TOOL_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_STEP_COMPILE_TOOL_PYLINT' }, +]); +var pa; +(function (e) { + ((e[(e.ERROR_CODE_OK = 0)] = 'ERROR_CODE_OK'), + (e[(e.ERROR_CODE_CANCELLED = 1)] = 'ERROR_CODE_CANCELLED'), + (e[(e.ERROR_CODE_UNKNOWN = 2)] = 'ERROR_CODE_UNKNOWN'), + (e[(e.ERROR_CODE_INVALID_ARGUMENT = 3)] = 'ERROR_CODE_INVALID_ARGUMENT'), + (e[(e.ERROR_CODE_DEADLINE_EXCEEDED = 4)] = 'ERROR_CODE_DEADLINE_EXCEEDED'), + (e[(e.ERROR_CODE_NOT_FOUND = 5)] = 'ERROR_CODE_NOT_FOUND'), + (e[(e.ERROR_CODE_ALREADY_EXISTS = 6)] = 'ERROR_CODE_ALREADY_EXISTS'), + (e[(e.ERROR_CODE_PERMISSION_DENIED = 7)] = 'ERROR_CODE_PERMISSION_DENIED'), + (e[(e.ERROR_CODE_UNAUTHENTICATED = 16)] = 'ERROR_CODE_UNAUTHENTICATED'), + (e[(e.ERROR_CODE_RESOURCE_EXHAUSTED = 8)] = + 'ERROR_CODE_RESOURCE_EXHAUSTED'), + (e[(e.ERROR_CODE_FAILED_PRECONDITION = 9)] = + 'ERROR_CODE_FAILED_PRECONDITION'), + (e[(e.ERROR_CODE_ABORTED = 10)] = 'ERROR_CODE_ABORTED'), + (e[(e.ERROR_CODE_OUT_OF_RANGE = 11)] = 'ERROR_CODE_OUT_OF_RANGE'), + (e[(e.ERROR_CODE_UNIMPLEMENTED = 12)] = 'ERROR_CODE_UNIMPLEMENTED'), + (e[(e.ERROR_CODE_INTERNAL = 13)] = 'ERROR_CODE_INTERNAL'), + (e[(e.ERROR_CODE_UNAVAILABLE = 14)] = 'ERROR_CODE_UNAVAILABLE'), + (e[(e.ERROR_CODE_DATA_LOSS = 15)] = 'ERROR_CODE_DATA_LOSS')); +})(pa || (pa = {})); +a.util.setEnumType(pa, 'exa.cortex_pb.SetUpFirebaseErrorCode', [ + { no: 0, name: 'ERROR_CODE_OK' }, + { no: 1, name: 'ERROR_CODE_CANCELLED' }, + { no: 2, name: 'ERROR_CODE_UNKNOWN' }, + { no: 3, name: 'ERROR_CODE_INVALID_ARGUMENT' }, + { no: 4, name: 'ERROR_CODE_DEADLINE_EXCEEDED' }, + { no: 5, name: 'ERROR_CODE_NOT_FOUND' }, + { no: 6, name: 'ERROR_CODE_ALREADY_EXISTS' }, + { no: 7, name: 'ERROR_CODE_PERMISSION_DENIED' }, + { no: 16, name: 'ERROR_CODE_UNAUTHENTICATED' }, + { no: 8, name: 'ERROR_CODE_RESOURCE_EXHAUSTED' }, + { no: 9, name: 'ERROR_CODE_FAILED_PRECONDITION' }, + { no: 10, name: 'ERROR_CODE_ABORTED' }, + { no: 11, name: 'ERROR_CODE_OUT_OF_RANGE' }, + { no: 12, name: 'ERROR_CODE_UNIMPLEMENTED' }, + { no: 13, name: 'ERROR_CODE_INTERNAL' }, + { no: 14, name: 'ERROR_CODE_UNAVAILABLE' }, + { no: 15, name: 'ERROR_CODE_DATA_LOSS' }, +]); +var Oa; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.FORCE_SHOW_SET_UP_UI = 1)] = 'FORCE_SHOW_SET_UP_UI'), + (e[(e.PROVISION = 2)] = 'PROVISION')); +})(Oa || (Oa = {})); +a.util.setEnumType(Oa, 'exa.cortex_pb.SetUpFirebaseRequest', [ + { no: 0, name: 'SET_UP_FIREBASE_REQUEST_UNSPECIFIED' }, + { no: 1, name: 'SET_UP_FIREBASE_REQUEST_FORCE_SHOW_SET_UP_UI' }, + { no: 2, name: 'SET_UP_FIREBASE_REQUEST_PROVISION' }, +]); +var Aa; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.SHOW_SET_UP_UI = 1)] = 'SHOW_SET_UP_UI'), + (e[(e.IMPLEMENT_FIREBASE = 2)] = 'IMPLEMENT_FIREBASE'), + (e[(e.TOS_ERROR = 3)] = 'TOS_ERROR'), + (e[(e.PROVISIONING_ERROR = 4)] = 'PROVISIONING_ERROR')); +})(Aa || (Aa = {})); +a.util.setEnumType(Aa, 'exa.cortex_pb.SetUpFirebaseResult', [ + { no: 0, name: 'SET_UP_FIREBASE_RESULT_UNSPECIFIED' }, + { no: 1, name: 'SET_UP_FIREBASE_RESULT_SHOW_SET_UP_UI' }, + { no: 2, name: 'SET_UP_FIREBASE_RESULT_IMPLEMENT_FIREBASE' }, + { no: 3, name: 'SET_UP_FIREBASE_RESULT_TOS_ERROR' }, + { no: 4, name: 'SET_UP_FIREBASE_RESULT_PROVISIONING_ERROR' }, +]); +var U; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.USER_ALLOW = 1)] = 'USER_ALLOW'), + (e[(e.USER_DENY = 2)] = 'USER_DENY'), + (e[(e.SYSTEM_ALLOW = 3)] = 'SYSTEM_ALLOW'), + (e[(e.SYSTEM_DENY = 4)] = 'SYSTEM_DENY'), + (e[(e.MODEL_ALLOW = 5)] = 'MODEL_ALLOW'), + (e[(e.MODEL_DENY = 6)] = 'MODEL_DENY'), + (e[(e.DEFAULT_ALLOW = 7)] = 'DEFAULT_ALLOW'), + (e[(e.DEFAULT_DENY = 8)] = 'DEFAULT_DENY')); +})(U || (U = {})); +a.util.setEnumType(U, 'exa.cortex_pb.AutoRunDecision', [ + { no: 0, name: 'AUTO_RUN_DECISION_UNSPECIFIED' }, + { no: 1, name: 'AUTO_RUN_DECISION_USER_ALLOW' }, + { no: 2, name: 'AUTO_RUN_DECISION_USER_DENY' }, + { no: 3, name: 'AUTO_RUN_DECISION_SYSTEM_ALLOW' }, + { no: 4, name: 'AUTO_RUN_DECISION_SYSTEM_DENY' }, + { no: 5, name: 'AUTO_RUN_DECISION_MODEL_ALLOW' }, + { no: 6, name: 'AUTO_RUN_DECISION_MODEL_DENY' }, + { no: 7, name: 'AUTO_RUN_DECISION_DEFAULT_ALLOW' }, + { no: 8, name: 'AUTO_RUN_DECISION_DEFAULT_DENY' }, +]); +var Ca; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.WEB = 1)] = 'WEB'), + (e[(e.IMAGE = 2)] = 'IMAGE')); +})(Ca || (Ca = {})); +a.util.setEnumType(Ca, 'exa.cortex_pb.SearchWebType', [ + { no: 0, name: 'SEARCH_WEB_TYPE_UNSPECIFIED' }, + { no: 1, name: 'SEARCH_WEB_TYPE_WEB' }, + { no: 2, name: 'SEARCH_WEB_TYPE_IMAGE' }, +]); +var ls; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.PENDING = 1)] = 'PENDING'), + (e[(e.IN_PROGRESS = 2)] = 'IN_PROGRESS'), + (e[(e.SUCCESS = 3)] = 'SUCCESS'), + (e[(e.FAILURE = 4)] = 'FAILURE')); +})(ls || (ls = {})); +a.util.setEnumType(ls, 'exa.cortex_pb.DeployWebAppFileUploadStatus', [ + { no: 0, name: 'DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_UNSPECIFIED' }, + { no: 1, name: 'DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_PENDING' }, + { no: 2, name: 'DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_IN_PROGRESS' }, + { no: 3, name: 'DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_SUCCESS' }, + { no: 4, name: 'DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_FAILURE' }, +]); +var Ra; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ERROR = 1)] = 'ERROR'), + (e[(e.USER_CANCELED = 2)] = 'USER_CANCELED'), + (e[(e.MAX_INVOCATIONS = 3)] = 'MAX_INVOCATIONS'), + (e[(e.NO_TOOL_CALL = 4)] = 'NO_TOOL_CALL'), + (e[(e.MAX_FORCED_INVOCATIONS = 6)] = 'MAX_FORCED_INVOCATIONS'), + (e[(e.EARLY_CONTINUE = 7)] = 'EARLY_CONTINUE'), + (e[(e.TERMINAL_STEP_TYPE = 8)] = 'TERMINAL_STEP_TYPE'), + (e[(e.TERMINAL_CUSTOM_HOOK = 9)] = 'TERMINAL_CUSTOM_HOOK'), + (e[(e.INJECTED_RESPONSE = 10)] = 'INJECTED_RESPONSE')); +})(Ra || (Ra = {})); +a.util.setEnumType(Ra, 'exa.cortex_pb.ExecutorTerminationReason', [ + { no: 0, name: 'EXECUTOR_TERMINATION_REASON_UNSPECIFIED' }, + { no: 1, name: 'EXECUTOR_TERMINATION_REASON_ERROR' }, + { no: 2, name: 'EXECUTOR_TERMINATION_REASON_USER_CANCELED' }, + { no: 3, name: 'EXECUTOR_TERMINATION_REASON_MAX_INVOCATIONS' }, + { no: 4, name: 'EXECUTOR_TERMINATION_REASON_NO_TOOL_CALL' }, + { no: 6, name: 'EXECUTOR_TERMINATION_REASON_MAX_FORCED_INVOCATIONS' }, + { no: 7, name: 'EXECUTOR_TERMINATION_REASON_EARLY_CONTINUE' }, + { no: 8, name: 'EXECUTOR_TERMINATION_REASON_TERMINAL_STEP_TYPE' }, + { no: 9, name: 'EXECUTOR_TERMINATION_REASON_TERMINAL_CUSTOM_HOOK' }, + { no: 10, name: 'EXECUTOR_TERMINATION_REASON_INJECTED_RESPONSE' }, +]); +var La; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.DELETE = 1)] = 'DELETE'), + (e[(e.INSERT = 2)] = 'INSERT'), + (e[(e.UNCHANGED = 3)] = 'UNCHANGED')); +})(La || (La = {})); +a.util.setEnumType(La, 'exa.cortex_pb.LintDiffType', [ + { no: 0, name: 'LINT_DIFF_TYPE_UNSPECIFIED' }, + { no: 1, name: 'LINT_DIFF_TYPE_DELETE' }, + { no: 2, name: 'LINT_DIFF_TYPE_INSERT' }, + { no: 3, name: 'LINT_DIFF_TYPE_UNCHANGED' }, +]); +var fe; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.PLAN = 1)] = 'PLAN'), + (e[(e.TASK = 2)] = 'TASK')); +})(fe || (fe = {})); +a.util.setEnumType(fe, 'exa.cortex_pb.BrainEntryType', [ + { no: 0, name: 'BRAIN_ENTRY_TYPE_UNSPECIFIED' }, + { no: 1, name: 'BRAIN_ENTRY_TYPE_PLAN' }, + { no: 2, name: 'BRAIN_ENTRY_TYPE_TASK' }, +]); +var Hn; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.TODO = 1)] = 'TODO'), + (e[(e.IN_PROGRESS = 2)] = 'IN_PROGRESS'), + (e[(e.DONE = 3)] = 'DONE')); +})(Hn || (Hn = {})); +a.util.setEnumType(Hn, 'exa.cortex_pb.TaskStatus', [ + { no: 0, name: 'TASK_STATUS_UNSPECIFIED' }, + { no: 1, name: 'TASK_STATUS_TODO' }, + { no: 2, name: 'TASK_STATUS_IN_PROGRESS' }, + { no: 3, name: 'TASK_STATUS_DONE' }, +]); +var Pa; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ADD = 1)] = 'ADD'), + (e[(e.PRUNE = 2)] = 'PRUNE'), + (e[(e.DELETE = 3)] = 'DELETE'), + (e[(e.UPDATE = 4)] = 'UPDATE'), + (e[(e.MOVE = 5)] = 'MOVE')); +})(Pa || (Pa = {})); +a.util.setEnumType(Pa, 'exa.cortex_pb.TaskDeltaType', [ + { no: 0, name: 'TASK_DELTA_TYPE_UNSPECIFIED' }, + { no: 1, name: 'TASK_DELTA_TYPE_ADD' }, + { no: 2, name: 'TASK_DELTA_TYPE_PRUNE' }, + { no: 3, name: 'TASK_DELTA_TYPE_DELETE' }, + { no: 4, name: 'TASK_DELTA_TYPE_UPDATE' }, + { no: 5, name: 'TASK_DELTA_TYPE_MOVE' }, +]); +var Da; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.SYSTEM_FORCED = 1)] = 'SYSTEM_FORCED'), + (e[(e.USER_REQUESTED = 2)] = 'USER_REQUESTED'), + (e[(e.USER_NEW_INFO = 3)] = 'USER_NEW_INFO'), + (e[(e.RESEARCH_NEW_INFO = 4)] = 'RESEARCH_NEW_INFO')); +})(Da || (Da = {})); +a.util.setEnumType(Da, 'exa.cortex_pb.BrainUpdateTrigger', [ + { no: 0, name: 'BRAIN_UPDATE_TRIGGER_UNSPECIFIED' }, + { no: 1, name: 'BRAIN_UPDATE_TRIGGER_SYSTEM_FORCED' }, + { no: 2, name: 'BRAIN_UPDATE_TRIGGER_USER_REQUESTED' }, + { no: 3, name: 'BRAIN_UPDATE_TRIGGER_USER_NEW_INFO' }, + { no: 4, name: 'BRAIN_UPDATE_TRIGGER_RESEARCH_NEW_INFO' }, +]); +var ka; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.GENERATING = 1)] = 'GENERATING'), + (e[(e.ERROR = 2)] = 'ERROR'), + (e[(e.COMPLETED = 3)] = 'COMPLETED')); +})(ka || (ka = {})); +a.util.setEnumType(ka, 'exa.cortex_pb.RecordingGenerationStatus', [ + { no: 0, name: 'RECORDING_GENERATION_STATUS_UNSPECIFIED' }, + { no: 1, name: 'RECORDING_GENERATION_STATUS_GENERATING' }, + { no: 2, name: 'RECORDING_GENERATION_STATUS_ERROR' }, + { no: 3, name: 'RECORDING_GENERATION_STATUS_COMPLETED' }, +]); +var ga; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.TOP = 1)] = 'TOP'), + (e[(e.BOTTOM = 2)] = 'BOTTOM'), + (e[(e.SPLIT = 3)] = 'SPLIT')); +})(ga || (ga = {})); +a.util.setEnumType(ga, 'exa.cortex_pb.CommandOutputPriority', [ + { no: 0, name: 'COMMAND_OUTPUT_PRIORITY_UNSPECIFIED' }, + { no: 1, name: 'COMMAND_OUTPUT_PRIORITY_TOP' }, + { no: 2, name: 'COMMAND_OUTPUT_PRIORITY_BOTTOM' }, + { no: 3, name: 'COMMAND_OUTPUT_PRIORITY_SPLIT' }, +]); +var wa; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.USER = 1)] = 'USER'), + (e[(e.CASCADE = 2)] = 'CASCADE')); +})(wa || (wa = {})); +a.util.setEnumType(wa, 'exa.cortex_pb.CortexMemorySource', [ + { no: 0, name: 'CORTEX_MEMORY_SOURCE_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_MEMORY_SOURCE_USER' }, + { no: 2, name: 'CORTEX_MEMORY_SOURCE_CASCADE' }, +]); +var Ja; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ALWAYS_ON = 1)] = 'ALWAYS_ON'), + (e[(e.MODEL_DECISION = 2)] = 'MODEL_DECISION'), + (e[(e.MANUAL = 3)] = 'MANUAL'), + (e[(e.GLOB = 4)] = 'GLOB')); +})(Ja || (Ja = {})); +a.util.setEnumType(Ja, 'exa.cortex_pb.CortexMemoryTrigger', [ + { no: 0, name: 'CORTEX_MEMORY_TRIGGER_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_MEMORY_TRIGGER_ALWAYS_ON' }, + { no: 2, name: 'CORTEX_MEMORY_TRIGGER_MODEL_DECISION' }, + { no: 3, name: 'CORTEX_MEMORY_TRIGGER_MANUAL' }, + { no: 4, name: 'CORTEX_MEMORY_TRIGGER_GLOB' }, +]); +var xa; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CREATE = 1)] = 'CREATE'), + (e[(e.UPDATE = 2)] = 'UPDATE'), + (e[(e.DELETE = 3)] = 'DELETE')); +})(xa || (xa = {})); +a.util.setEnumType(xa, 'exa.cortex_pb.MemoryActionType', [ + { no: 0, name: 'MEMORY_ACTION_TYPE_UNSPECIFIED' }, + { no: 1, name: 'MEMORY_ACTION_TYPE_CREATE' }, + { no: 2, name: 'MEMORY_ACTION_TYPE_UPDATE' }, + { no: 3, name: 'MEMORY_ACTION_TYPE_DELETE' }, +]); +var Ua; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.APPROVED = 1)] = 'APPROVED'), + (e[(e.DENIED = 2)] = 'DENIED'), + (e[(e.ERROR = 3)] = 'ERROR')); +})(Ua || (Ua = {})); +a.util.setEnumType(Ua, 'exa.cortex_pb.CortexStepManagerFeedbackStatus', [ + { no: 0, name: 'CORTEX_STEP_MANAGER_FEEDBACK_STATUS_UNSPECIFIED' }, + { no: 1, name: 'CORTEX_STEP_MANAGER_FEEDBACK_STATUS_APPROVED' }, + { no: 2, name: 'CORTEX_STEP_MANAGER_FEEDBACK_STATUS_DENIED' }, + { no: 3, name: 'CORTEX_STEP_MANAGER_FEEDBACK_STATUS_ERROR' }, +]); +var Ba; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.PENDING = 1)] = 'PENDING'), + (e[(e.READY = 2)] = 'READY'), + (e[(e.ERROR = 3)] = 'ERROR')); +})(Ba || (Ba = {})); +a.util.setEnumType(Ba, 'exa.cortex_pb.McpServerStatus', [ + { no: 0, name: 'MCP_SERVER_STATUS_UNSPECIFIED' }, + { no: 1, name: 'MCP_SERVER_STATUS_PENDING' }, + { no: 2, name: 'MCP_SERVER_STATUS_READY' }, + { no: 3, name: 'MCP_SERVER_STATUS_ERROR' }, +]); +var Fa; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ALL = 1)] = 'ALL'), + (e[(e.LATEST_ONLY = 2)] = 'LATEST_ONLY')); +})(Fa || (Fa = {})); +a.util.setEnumType(Fa, 'exa.cortex_pb.EphemeralMessagePersistenceLevel', [ + { no: 0, name: 'EPHEMERAL_MESSAGE_PERSISTENCE_LEVEL_UNSPECIFIED' }, + { no: 1, name: 'EPHEMERAL_MESSAGE_PERSISTENCE_LEVEL_ALL' }, + { no: 2, name: 'EPHEMERAL_MESSAGE_PERSISTENCE_LEVEL_LATEST_ONLY' }, +]); +var Es; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.SCREENSHOT = 1)] = 'SCREENSHOT'), + (e[(e.DOM = 2)] = 'DOM')); +})(Es || (Es = {})); +a.util.setEnumType(Es, 'exa.cortex_pb.BrowserEphemeralOption', [ + { no: 0, name: 'BROWSER_EPHEMERAL_OPTION_UNSPECIFIED' }, + { no: 1, name: 'BROWSER_EPHEMERAL_OPTION_SCREENSHOT' }, + { no: 2, name: 'BROWSER_EPHEMERAL_OPTION_DOM' }, +]); +var tE; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), (e[(e.TEAM = 1)] = 'TEAM')); +})(tE || (tE = {})); +a.util.setEnumType(tE, 'exa.cortex_pb.TrajectoryShareStatus', [ + { no: 0, name: 'TRAJECTORY_SHARE_STATUS_UNSPECIFIED' }, + { no: 1, name: 'TRAJECTORY_SHARE_STATUS_TEAM' }, +]); +var Ma; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.ALLOWED = 1)] = 'ALLOWED'), + (e[(e.DENIED = 2)] = 'DENIED'), + (e[(e.MODEL_ALLOWED = 3)] = 'MODEL_ALLOWED'), + (e[(e.MODEL_DENIED = 4)] = 'MODEL_DENIED')); +})(Ma || (Ma = {})); +a.util.setEnumType(Ma, 'exa.cortex_pb.RunExtensionCodeAutoRunDecision', [ + { no: 0, name: 'RUN_EXTENSION_CODE_AUTO_RUN_DECISION_UNSPECIFIED' }, + { no: 1, name: 'RUN_EXTENSION_CODE_AUTO_RUN_DECISION_ALLOWED' }, + { no: 2, name: 'RUN_EXTENSION_CODE_AUTO_RUN_DECISION_DENIED' }, + { no: 3, name: 'RUN_EXTENSION_CODE_AUTO_RUN_DECISION_MODEL_ALLOWED' }, + { no: 4, name: 'RUN_EXTENSION_CODE_AUTO_RUN_DECISION_MODEL_DENIED' }, +]); +var ya; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.CASCADE_ID = 1)] = 'CASCADE_ID'), + (e[(e.MAINLINE = 2)] = 'MAINLINE')); +})(ya || (ya = {})); +a.util.setEnumType(ya, 'exa.cortex_pb.TrajectorySearchIdType', [ + { no: 0, name: 'TRAJECTORY_SEARCH_ID_TYPE_UNSPECIFIED' }, + { no: 1, name: 'TRAJECTORY_SEARCH_ID_TYPE_CASCADE_ID' }, + { no: 2, name: 'TRAJECTORY_SEARCH_ID_TYPE_MAINLINE' }, +]); +var ha; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.FILE = 1)] = 'FILE'), + (e[(e.ALL = 2)] = 'ALL'), + (e[(e.HUNK = 3)] = 'HUNK')); +})(ha || (ha = {})); +a.util.setEnumType(ha, 'exa.cortex_pb.CodeAcknowledgementScope', [ + { no: 0, name: 'CODE_ACKNOWLEDGEMENT_SCOPE_UNSPECIFIED' }, + { no: 1, name: 'CODE_ACKNOWLEDGEMENT_SCOPE_FILE' }, + { no: 2, name: 'CODE_ACKNOWLEDGEMENT_SCOPE_ALL' }, + { no: 3, name: 'CODE_ACKNOWLEDGEMENT_SCOPE_HUNK' }, +]); +var Ga; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.PENDING_REVIEW = 1)] = 'PENDING_REVIEW'), + (e[(e.REVIEWED = 2)] = 'REVIEWED'), + (e[(e.MODIFIED = 3)] = 'MODIFIED')); +})(Ga || (Ga = {})); +a.util.setEnumType(Ga, 'exa.cortex_pb.ArtifactReviewStatus', [ + { no: 0, name: 'ARTIFACT_REVIEW_STATUS_UNSPECIFIED' }, + { no: 1, name: 'ARTIFACT_REVIEW_STATUS_PENDING_REVIEW' }, + { no: 2, name: 'ARTIFACT_REVIEW_STATUS_REVIEWED' }, + { no: 3, name: 'ARTIFACT_REVIEW_STATUS_MODIFIED' }, +]); +var II = class e extends r { + path = ''; + name = ''; + description = ''; + content = ''; + turbo = !1; + isBuiltin = !1; + scope; + baseDir = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.WorkflowSpec'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'path', kind: 'scalar', T: 9 }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 3, name: 'description', kind: 'scalar', T: 9 }, + { no: 4, name: 'content', kind: 'scalar', T: 9 }, + { no: 5, name: 'turbo', kind: 'scalar', T: 8 }, + { no: 6, name: 'is_builtin', kind: 'scalar', T: 8 }, + { no: 7, name: 'scope', kind: 'message', T: vi }, + { no: 8, name: 'base_dir', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + aE = class e extends r { + component = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexPlanSummaryComponent'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9, oneof: 'component' }, + { no: 2, name: 'citation', kind: 'message', T: Un, oneof: 'component' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rE = class e extends r { + planId = ''; + goal = ''; + actionStates = []; + outlines = []; + summaryComponents = []; + postSummaryText = ''; + planFullyGenerated = !1; + planFinished = !1; + debugInfo; + planSummaryConfirmed = !1; + planSummaryFullyGenerated = !1; + cciList = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CodingStepState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'plan_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'goal', kind: 'scalar', T: 9 }, + { no: 3, name: 'action_states', kind: 'message', T: ds, repeated: !0 }, + { no: 7, name: 'outlines', kind: 'message', T: _s, repeated: !0 }, + { + no: 8, + name: 'summary_components', + kind: 'message', + T: aE, + repeated: !0, + }, + { no: 9, name: 'post_summary_text', kind: 'scalar', T: 9 }, + { no: 4, name: 'plan_fully_generated', kind: 'scalar', T: 8 }, + { no: 5, name: 'plan_finished', kind: 'scalar', T: 8 }, + { no: 6, name: 'debug_info', kind: 'message', T: qa }, + { no: 10, name: 'plan_summary_confirmed', kind: 'scalar', T: 8 }, + { no: 11, name: 'plan_summary_fully_generated', kind: 'scalar', T: 8 }, + { no: 12, name: 'cci_list', kind: 'message', T: Fn, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sE = class e extends r { + steps = []; + outlines = []; + currentStepIndex = 0; + debugInfo; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexPlanState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'steps', kind: 'message', T: iE, repeated: !0 }, + { no: 2, name: 'outlines', kind: 'message', T: _s, repeated: !0 }, + { no: 3, name: 'current_step_index', kind: 'scalar', T: 13 }, + { no: 4, name: 'debug_info', kind: 'message', T: qa }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _s = class e extends r { + stepNumber = 0; + actionName = ''; + jsonArgs = ''; + parentStepNumbers = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepOutline'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'step_number', kind: 'scalar', T: 13 }, + { no: 2, name: 'action_name', kind: 'scalar', T: 9 }, + { no: 3, name: 'json_args', kind: 'scalar', T: 9 }, + { + no: 4, + name: 'parent_step_numbers', + kind: 'scalar', + T: 13, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + iE = class e extends r { + step = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'coding', kind: 'message', T: rE, oneof: 'step' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + oE = class e extends r { + totalRetrievedCount = 0; + topRetrievedItems = []; + debugInfo; + fullCciList = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexResearchState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'total_retrieved_count', kind: 'scalar', T: 13 }, + { + no: 2, + name: 'top_retrieved_items', + kind: 'message', + T: X, + repeated: !0, + }, + { no: 3, name: 'debug_info', kind: 'message', T: mE }, + { no: 4, name: 'full_cci_list', kind: 'message', T: X, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mE = class e extends r { + query = ''; + filesScanned = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ResearchDebugInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { no: 2, name: 'files_scanned', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cE = class e extends r { + requestSource = hn.UNSPECIFIED; + goal = ''; + planInput; + researchState; + planState; + error = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexWorkflowState'; + static fields = a.util.newFieldList(() => [ + { no: 6, name: 'request_source', kind: 'enum', T: a.getEnumType(hn) }, + { no: 1, name: 'goal', kind: 'scalar', T: 9 }, + { no: 2, name: 'plan_input', kind: 'message', T: An }, + { no: 3, name: 'research_state', kind: 'message', T: oE }, + { no: 4, name: 'plan_state', kind: 'message', T: sE }, + { no: 5, name: 'error', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pI = class e extends r { + workflowState; + executionState; + done = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexRunState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workflow_state', kind: 'message', T: cE }, + { no: 2, name: 'execution_state', kind: 'message', T: Mt }, + { no: 3, name: 'done', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + An = class e extends r { + goal = ''; + nextSteps = []; + targetDirectories = []; + targetFiles = []; + scopeItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.PlanInput'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'goal', kind: 'scalar', T: 9 }, + { no: 5, name: 'next_steps', kind: 'scalar', T: 9, repeated: !0 }, + { no: 2, name: 'target_directories', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'target_files', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'scope_items', kind: 'message', T: Un, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ba = class e extends r { + spec = { case: void 0 }; + parentStepIndices = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActionSpec'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'command', kind: 'message', T: dE, oneof: 'spec' }, + { no: 2, name: 'create_file', kind: 'message', T: uE, oneof: 'spec' }, + { no: 4, name: 'delete_file', kind: 'message', T: lE, oneof: 'spec' }, + { + no: 3, + name: 'parent_step_indices', + kind: 'scalar', + T: 13, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + uE = class e extends r { + instruction = ''; + path; + referenceCcis = []; + overwrite = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActionSpecCreateFile'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'instruction', kind: 'scalar', T: 9 }, + { no: 2, name: 'path', kind: 'message', T: dn }, + { no: 3, name: 'reference_ccis', kind: 'message', T: I, repeated: !0 }, + { no: 4, name: 'overwrite', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + lE = class e extends r { + path; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActionSpecDeleteFile'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'path', kind: 'message', T: dn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + EE = class e extends r { + absoluteUri = ''; + startLine = 0; + endLine = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.LineRangeTarget'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'start_line', kind: 'scalar', T: 13 }, + { no: 3, name: 'end_line', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _E = class e extends r { + content = ''; + absoluteUri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CommandContentTarget'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'content', kind: 'scalar', T: 9 }, + { no: 2, name: 'absolute_uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ne = class e extends r { + targetContent = ''; + replacementContent = ''; + allowMultiple = !1; + targetHasCarriageReturn = !1; + contextLines = []; + startLine = 0; + endLine = 0; + acknowledgementType = b.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ReplacementChunk'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'target_content', kind: 'scalar', T: 9 }, + { no: 2, name: 'replacement_content', kind: 'scalar', T: 9 }, + { no: 3, name: 'allow_multiple', kind: 'scalar', T: 8 }, + { no: 4, name: 'target_has_carriage_return', kind: 'scalar', T: 8 }, + { no: 5, name: 'context_lines', kind: 'scalar', T: 9, repeated: !0 }, + { no: 6, name: 'start_line', kind: 'scalar', T: 5 }, + { no: 7, name: 'end_line', kind: 'scalar', T: 5 }, + { + no: 11, + name: 'acknowledgement_type', + kind: 'enum', + T: a.getEnumType(b), + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + dE = class e extends r { + instruction = ''; + replacementChunks = []; + isEdit = !1; + useFastApply = !1; + target = { case: void 0 }; + referenceCcis = []; + classification = ''; + importance = ia.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActionSpecCommand'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'instruction', kind: 'scalar', T: 9 }, + { + no: 9, + name: 'replacement_chunks', + kind: 'message', + T: Ne, + repeated: !0, + }, + { no: 2, name: 'is_edit', kind: 'scalar', T: 8 }, + { no: 8, name: 'use_fast_apply', kind: 'scalar', T: 8 }, + { no: 3, name: 'code_context', kind: 'message', T: I, oneof: 'target' }, + { no: 4, name: 'file', kind: 'message', T: dn, oneof: 'target' }, + { + no: 6, + name: 'cci_with_subrange', + kind: 'message', + T: X, + oneof: 'target', + }, + { no: 7, name: 'line_range', kind: 'message', T: EE, oneof: 'target' }, + { + no: 10, + name: 'content_target', + kind: 'message', + T: _E, + oneof: 'target', + }, + { no: 5, name: 'reference_ccis', kind: 'message', T: I, repeated: !0 }, + { no: 11, name: 'classification', kind: 'scalar', T: 9 }, + { no: 12, name: 'importance', kind: 'enum', T: a.getEnumType(ia) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ds = class e extends r { + stepId = ''; + status = oa.UNSPECIFIED; + spec; + result; + error = ''; + stepVersion = 0; + planVersion = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActionState'; + static fields = a.util.newFieldList(() => [ + { no: 5, name: 'step_id', kind: 'scalar', T: 9 }, + { no: 1, name: 'status', kind: 'enum', T: a.getEnumType(oa) }, + { no: 2, name: 'spec', kind: 'message', T: ba }, + { no: 3, name: 'result', kind: 'message', T: Se }, + { no: 4, name: 'error', kind: 'scalar', T: 9 }, + { no: 6, name: 'step_version', kind: 'scalar', T: 13 }, + { no: 7, name: 'plan_version', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Se = class e extends r { + result = { case: void 0 }; + applyExistingResult = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActionResult'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'edit', kind: 'message', T: NE, oneof: 'result' }, + { no: 2, name: 'apply_existing_result', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + TE = class e extends r { + entries = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActionDebugInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'entries', kind: 'message', T: fE, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fE = class e extends r { + key = ''; + value = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActionDebugInfo.DebugInfoEntry'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'key', kind: 'scalar', T: 9 }, + { no: 2, name: 'value', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + NE = class e extends r { + absolutePathMigrateMeToUri = ''; + diff; + contextPrefix = ''; + contextSuffix = ''; + debugInfo; + promptId = ''; + completionId = ''; + fileContentHash = ''; + absoluteUri = ''; + resultCcis = []; + originalContent = ''; + createFile = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActionResultEdit'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_path_migrate_me_to_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'diff', kind: 'message', T: an }, + { no: 3, name: 'context_prefix', kind: 'scalar', T: 9 }, + { no: 4, name: 'context_suffix', kind: 'scalar', T: 9 }, + { no: 5, name: 'debug_info', kind: 'message', T: TE }, + { no: 12, name: 'prompt_id', kind: 'scalar', T: 9 }, + { no: 6, name: 'completion_id', kind: 'scalar', T: 9 }, + { no: 7, name: 'file_content_hash', kind: 'scalar', T: 9 }, + { no: 8, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 9, name: 'result_ccis', kind: 'message', T: I, repeated: !0 }, + { no: 10, name: 'original_content', kind: 'scalar', T: 9 }, + { no: 11, name: 'create_file', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + SE = class e extends r { + totalRetrievedCount = 0; + topRetrievedItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.RetrievalStatus'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'total_retrieved_count', kind: 'scalar', T: 13 }, + { + no: 2, + name: 'top_retrieved_items', + kind: 'message', + T: X, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + OI = class e extends r { + status = ma.UNSPECIFIED; + planId = ''; + planInput; + actions = []; + retrievalStatus; + error = ''; + debugInfo; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.PlanState'; + static fields = a.util.newFieldList(() => [ + { no: 4, name: 'status', kind: 'enum', T: a.getEnumType(ma) }, + { no: 1, name: 'plan_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'plan_input', kind: 'message', T: An }, + { no: 3, name: 'actions', kind: 'message', T: ds, repeated: !0 }, + { no: 6, name: 'retrieval_status', kind: 'message', T: SE }, + { no: 5, name: 'error', kind: 'scalar', T: 9 }, + { no: 7, name: 'debug_info', kind: 'message', T: qa }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qa = class e extends r { + rawResponse = ''; + planTokens = 0; + planCost = 0; + systemPrompt = ''; + messagePrompts = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.PlanDebugInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'raw_response', kind: 'scalar', T: 9 }, + { no: 2, name: 'plan_tokens', kind: 'scalar', T: 13 }, + { no: 3, name: 'plan_cost', kind: 'scalar', T: 2 }, + { no: 4, name: 'system_prompt', kind: 'scalar', T: 9 }, + { no: 5, name: 'message_prompts', kind: 'message', T: v, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ts = class e extends r { + modelConfig; + maxNominalContinuations = 0; + maxErrorContinuations = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexPlanConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model_config', kind: 'message', T: yt }, + { no: 2, name: 'max_nominal_continuations', kind: 'scalar', T: 13 }, + { no: 3, name: 'max_error_continuations', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + AI = class e extends r { + recordTelemetry = !1; + addDistillNode = !1; + distillConfig; + mQueryConfig; + mQueryModelName = ''; + useMacroPlanner = !1; + macroPlanConfig; + planConfig; + codePlanConfig; + autoPrepareApply = !1; + numPrepareRetries = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexConfig'; + static fields = a.util.newFieldList(() => [ + { no: 11, name: 'record_telemetry', kind: 'scalar', T: 8 }, + { no: 6, name: 'add_distill_node', kind: 'scalar', T: 8 }, + { no: 10, name: 'distill_config', kind: 'message', T: yt }, + { no: 8, name: 'm_query_config', kind: 'message', T: ee }, + { no: 12, name: 'm_query_model_name', kind: 'scalar', T: 9 }, + { no: 1, name: 'use_macro_planner', kind: 'scalar', T: 8 }, + { no: 4, name: 'macro_plan_config', kind: 'message', T: Ts }, + { no: 9, name: 'plan_config', kind: 'message', T: IE }, + { no: 5, name: 'code_plan_config', kind: 'message', T: Ts }, + { no: 2, name: 'auto_prepare_apply', kind: 'scalar', T: 8 }, + { no: 3, name: 'num_prepare_retries', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + IE = class e extends r { + planModelName = ''; + maxTokensPerPlan = 0; + maxTokenFraction = 0; + chatTemperature = 0; + chatCompletionMaxTokens = o.zero; + augmentCommand = !1; + experimentConfig; + mQueryConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.PlanConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'plan_model_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'max_tokens_per_plan', kind: 'scalar', T: 13 }, + { no: 3, name: 'max_token_fraction', kind: 'scalar', T: 2 }, + { no: 4, name: 'chat_temperature', kind: 'scalar', T: 2 }, + { no: 5, name: 'chat_completion_max_tokens', kind: 'scalar', T: 4 }, + { no: 9, name: 'augment_command', kind: 'scalar', T: 8 }, + { no: 7, name: 'experiment_config', kind: 'message', T: Zn }, + { no: 8, name: 'm_query_config', kind: 'message', T: ee }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + CI = class e extends r { + cortexId = ''; + planInput; + createdAt; + done = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexPlanSummary'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cortex_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'plan_input', kind: 'message', T: An }, + { no: 3, name: 'created_at', kind: 'message', T: _ }, + { no: 4, name: 'done', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pE = class e extends r { + workspaceType = Gn.UNSPECIFIED; + data = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.WorkspaceInitializationData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workspace_type', kind: 'enum', T: a.getEnumType(Gn) }, + { no: 2, name: 'git', kind: 'message', T: OE, oneof: 'data' }, + { no: 3, name: 'piper', kind: 'message', T: AE, oneof: 'data' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + OE = class e extends r { + metadata; + mergeBaseCommitHash = ''; + mergeBaseHeadPatchString; + headWorkingPatchString; + workspaceStats; + repoIsPublic = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.WorkspaceInitializationDataGit'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'metadata', kind: 'message', T: fs }, + { no: 2, name: 'merge_base_commit_hash', kind: 'scalar', T: 9 }, + { + no: 3, + name: 'merge_base_head_patch_string', + kind: 'scalar', + T: 9, + opt: !0, + }, + { + no: 4, + name: 'head_working_patch_string', + kind: 'scalar', + T: 9, + opt: !0, + }, + { no: 5, name: 'workspace_stats', kind: 'message', T: Fr }, + { no: 6, name: 'repo_is_public', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + AE = class e extends r { + workspaceFolderAbsoluteUri = ''; + baseCl = o.zero; + baseState = { case: void 0 }; + fileDiffs = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.WorkspaceInitializationDataPiper'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workspace_folder_absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'base_cl', kind: 'scalar', T: 3 }, + { + no: 5, + name: 'base_changelist', + kind: 'scalar', + T: 3, + oneof: 'base_state', + }, + { + no: 4, + name: 'citc_snapshot_id', + kind: 'scalar', + T: 3, + oneof: 'base_state', + }, + { no: 3, name: 'file_diffs', kind: 'message', T: CE, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + CE = class e extends r { + depotPath = ''; + fileOp = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FileDiff'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'depot_path', kind: 'scalar', T: 9 }, + { no: 2, name: 'add', kind: 'message', T: RE, oneof: 'file_op' }, + { no: 3, name: 'remove', kind: 'message', T: LE, oneof: 'file_op' }, + { no: 4, name: 'modify', kind: 'message', T: PE, oneof: 'file_op' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + RE = class e extends r { + content = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FileDiffAdd'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + LE = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FileDiffRemove'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + PE = class e extends r { + diff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FileDiffModify'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + RI = class e extends r { + timestamp; + stateId = ''; + workspaces = []; + artifacts; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.StateInitializationData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'timestamp', kind: 'message', T: _ }, + { no: 2, name: 'state_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'workspaces', kind: 'message', T: pE, repeated: !0 }, + { no: 4, name: 'artifacts', kind: 'message', T: DE }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + DE = class e extends r { + artifactDirUri = ''; + artifactBaseDirUri = ''; + compressedArtifactFiles = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.AritfactInitializationData'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'artifact_dir_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'artifact_base_dir_uri', kind: 'scalar', T: 9 }, + { + no: 3, + name: 'compressed_artifact_files', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 12 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fs = class e extends r { + workspaceFolderAbsoluteUri = ''; + gitRootAbsoluteUri = ''; + repository; + branchName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexWorkspaceMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workspace_folder_absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'git_root_absolute_uri', kind: 'scalar', T: 9 }, + { no: 3, name: 'repository', kind: 'message', T: Bt }, + { no: 4, name: 'branch_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ns = class e extends r { + workspaces = []; + createdAt; + initializationStateId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexTrajectoryMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workspaces', kind: 'message', T: fs, repeated: !0 }, + { no: 2, name: 'created_at', kind: 'message', T: _ }, + { no: 3, name: 'initialization_state_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ss = class e extends r { + trajectoryId = ''; + trajectoryType = On.UNSPECIFIED; + stepIndex = 0; + stepType = j.UNSPECIFIED; + referenceType = ca.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexTrajectoryReference'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'trajectory_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'trajectory_type', kind: 'enum', T: a.getEnumType(On) }, + { no: 2, name: 'step_index', kind: 'scalar', T: 5 }, + { no: 4, name: 'step_type', kind: 'enum', T: a.getEnumType(j) }, + { no: 5, name: 'reference_type', kind: 'enum', T: a.getEnumType(ca) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + LI = class e extends r { + trajectoryId = ''; + trajectoryScope; + current = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ImplicitTrajectoryDescription'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'trajectory_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'trajectory_scope', kind: 'message', T: YE }, + { no: 3, name: 'current', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + kE = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.InjectedResponseMetadata'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Is = class e extends r { + stepIndices = []; + metadata = { case: void 0 }; + plannerConfig; + executionId = ''; + error = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepGeneratorMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'step_indices', kind: 'scalar', T: 13, repeated: !0 }, + { no: 1, name: 'chat_model', kind: 'message', T: xE, oneof: 'metadata' }, + { no: 7, name: 'injected', kind: 'message', T: kE, oneof: 'metadata' }, + { no: 3, name: 'planner_config', kind: 'message', T: Us }, + { no: 4, name: 'execution_id', kind: 'scalar', T: 9 }, + { no: 5, name: 'error', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gE = class e extends r { + messageIndex = 0; + segmentIndex = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.MessagePromptMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'message_index', kind: 'scalar', T: 13 }, + { no: 2, name: 'segment_index', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wE = class e extends r { + name = ''; + description = ''; + weight; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.SectionJudgeCriteria'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'description', kind: 'scalar', T: 9 }, + { no: 3, name: 'weight', kind: 'scalar', T: 13, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + JE = class e extends r { + sourceType = Ha.UNSPECIFIED; + templateKey = ''; + isInternal = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.PromptSectionMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'source_type', kind: 'enum', T: a.getEnumType(Ha) }, + { no: 2, name: 'template_key', kind: 'scalar', T: 9 }, + { no: 3, name: 'is_internal', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ha; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.RAW = 1)] = 'RAW'), + (e[(e.TEMPLATE = 2)] = 'TEMPLATE')); +})(Ha || (Ha = {})); +a.util.setEnumType( + Ha, + 'exa.cortex_pb.PromptSectionMetadata.PromptSectionSourceType', + [ + { no: 0, name: 'PROMPT_SECTION_SOURCE_TYPE_UNSPECIFIED' }, + { no: 1, name: 'PROMPT_SECTION_SOURCE_TYPE_RAW' }, + { no: 2, name: 'PROMPT_SECTION_SOURCE_TYPE_TEMPLATE' }, + ], +); +var Yn = class e extends r { + title = ''; + content = ''; + criteria = []; + metadata; + dynamicContent = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.PromptSection'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'title', kind: 'scalar', T: 9 }, + { no: 2, name: 'content', kind: 'scalar', T: 9 }, + { no: 3, name: 'criteria', kind: 'message', T: wE, repeated: !0 }, + { no: 4, name: 'metadata', kind: 'message', T: JE }, + { no: 5, name: 'dynamic_content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ps = class e extends r { + sherlogLink = ''; + usage; + error = ''; + traceId = ''; + retryReason = ua.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.RetryInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'sherlog_link', kind: 'scalar', T: 9 }, + { no: 2, name: 'usage', kind: 'message', T: fn }, + { no: 3, name: 'error', kind: 'scalar', T: 9 }, + { no: 4, name: 'trace_id', kind: 'scalar', T: 9 }, + { no: 5, name: 'retry_reason', kind: 'enum', T: a.getEnumType(ua) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xE = class e extends r { + systemPrompt = ''; + messagePrompts = []; + messageMetadata = []; + model = f.UNSPECIFIED; + usage; + modelCost = 0; + lastCacheIndex = 0; + toolChoice; + tools = []; + chatStartMetadata; + timeToFirstToken; + streamingDuration; + creditCost = 0; + retries = 0; + completionConfig; + promptSections = []; + retryInfos = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ChatModelMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'system_prompt', kind: 'scalar', T: 9 }, + { no: 2, name: 'message_prompts', kind: 'message', T: v, repeated: !0 }, + { + no: 10, + name: 'message_metadata', + kind: 'message', + T: gE, + repeated: !0, + }, + { no: 3, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + { no: 4, name: 'usage', kind: 'message', T: fn }, + { no: 5, name: 'model_cost', kind: 'scalar', T: 2 }, + { no: 6, name: 'last_cache_index', kind: 'scalar', T: 13 }, + { no: 7, name: 'tool_choice', kind: 'message', T: zt }, + { no: 8, name: 'tools', kind: 'message', T: ue, repeated: !0 }, + { no: 9, name: 'chat_start_metadata', kind: 'message', T: BE }, + { no: 11, name: 'time_to_first_token', kind: 'message', T: k }, + { no: 12, name: 'streaming_duration', kind: 'message', T: k }, + { no: 13, name: 'credit_cost', kind: 'scalar', T: 5 }, + { no: 14, name: 'retries', kind: 'scalar', T: 13 }, + { no: 15, name: 'completion_config', kind: 'message', T: gt }, + { no: 16, name: 'prompt_sections', kind: 'message', T: Yn, repeated: !0 }, + { no: 17, name: 'retry_infos', kind: 'message', T: ps, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + UE = class e extends r { + estimatedTokensUsed = 0; + truncationReason = la.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ContextWindowMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'estimated_tokens_used', kind: 'scalar', T: 5 }, + { no: 2, name: 'truncation_reason', kind: 'enum', T: a.getEnumType(la) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Os = class e extends r { + index = 0; + options; + contentChecksum = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CacheBreakpointMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'index', kind: 'scalar', T: 13 }, + { no: 2, name: 'options', kind: 'message', T: vt }, + { no: 3, name: 'content_checksum', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + BE = class e extends r { + createdAt; + startStepIndex = 0; + checkpointIndex = 0; + stepsCoveredByCheckpoint = []; + latestStableMessageIndex = 0; + cacheBreakpoints = []; + systemPromptCache; + timeSinceLastInvocation; + cacheRequest; + contextWindowMetadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ChatStartMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 4, name: 'created_at', kind: 'message', T: _ }, + { no: 1, name: 'start_step_index', kind: 'scalar', T: 13 }, + { no: 2, name: 'checkpoint_index', kind: 'scalar', T: 5 }, + { + no: 3, + name: 'steps_covered_by_checkpoint', + kind: 'scalar', + T: 13, + repeated: !0, + }, + { no: 5, name: 'latest_stable_message_index', kind: 'scalar', T: 5 }, + { + no: 6, + name: 'cache_breakpoints', + kind: 'message', + T: Os, + repeated: !0, + }, + { no: 7, name: 'system_prompt_cache', kind: 'message', T: Os }, + { no: 8, name: 'time_since_last_invocation', kind: 'message', T: k }, + { no: 9, name: 'cache_request', kind: 'message', T: FE }, + { no: 10, name: 'context_window_metadata', kind: 'message', T: UE }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + FE = class e extends r { + enabled = !1; + cacheBreakpointIndices = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CacheRequestOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8 }, + { + no: 2, + name: 'cache_breakpoint_indices', + kind: 'scalar', + T: 13, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ME = class e extends r { + user = ''; + workspaceId = ''; + snapshotVersion = 0; + workspaceType = Gn.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.SnapshotMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'user', kind: 'scalar', T: 9 }, + { no: 2, name: 'workspace_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'snapshot_version', kind: 'scalar', T: 13 }, + { no: 4, name: 'workspace_type', kind: 'enum', T: a.getEnumType(Gn) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yE = class e extends r { + updatedStatus = z.UNSPECIFIED; + timestamp; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.StatusTransition'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'updated_status', kind: 'enum', T: a.getEnumType(z) }, + { no: 2, name: 'timestamp', kind: 'message', T: _ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hE = class e extends r { + statusTransitions = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepInternalMetadata'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'status_transitions', + kind: 'message', + T: yE, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + As = class e extends r { + stepGenerationVersion = 0; + createdAt; + viewableAt; + finishedGeneratingAt; + lastCompletedChunkAt; + completedAt; + source = Ea.UNSPECIFIED; + toolCall; + argumentsOrder = []; + modelUsage; + retryInfos = []; + modelCost = 0; + generatorModel = f.UNSPECIFIED; + requestedModel; + modelInfo; + executionId = ''; + flowCreditsUsed = 0; + promptCreditsUsed = 0; + nonStandardCreditReasons = []; + toolCallChoices = []; + toolCallChoiceReason = ''; + cortexRequestSource = hn.UNSPECIFIED; + toolCallOutputTokens = 0; + sourceTrajectoryStepInfo; + snapshotMetadata; + internalMetadata; + waitForPreviousTools = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 21, name: 'step_generation_version', kind: 'scalar', T: 13 }, + { no: 1, name: 'created_at', kind: 'message', T: _ }, + { no: 6, name: 'viewable_at', kind: 'message', T: _ }, + { no: 7, name: 'finished_generating_at', kind: 'message', T: _ }, + { no: 22, name: 'last_completed_chunk_at', kind: 'message', T: _ }, + { no: 8, name: 'completed_at', kind: 'message', T: _ }, + { no: 3, name: 'source', kind: 'enum', T: a.getEnumType(Ea) }, + { no: 4, name: 'tool_call', kind: 'message', T: x }, + { no: 5, name: 'arguments_order', kind: 'scalar', T: 9, repeated: !0 }, + { no: 9, name: 'model_usage', kind: 'message', T: fn }, + { no: 28, name: 'retry_infos', kind: 'message', T: ps, repeated: !0 }, + { no: 10, name: 'model_cost', kind: 'scalar', T: 2 }, + { no: 11, name: 'generator_model', kind: 'enum', T: a.getEnumType(f) }, + { no: 13, name: 'requested_model', kind: 'message', T: nn }, + { no: 24, name: 'model_info', kind: 'message', T: tn }, + { no: 12, name: 'execution_id', kind: 'scalar', T: 9 }, + { no: 14, name: 'flow_credits_used', kind: 'scalar', T: 5 }, + { no: 15, name: 'prompt_credits_used', kind: 'scalar', T: 5 }, + { + no: 18, + name: 'non_standard_credit_reasons', + kind: 'enum', + T: a.getEnumType(os), + repeated: !0, + }, + { + no: 16, + name: 'tool_call_choices', + kind: 'message', + T: x, + repeated: !0, + }, + { no: 17, name: 'tool_call_choice_reason', kind: 'scalar', T: 9 }, + { + no: 19, + name: 'cortex_request_source', + kind: 'enum', + T: a.getEnumType(hn), + }, + { no: 23, name: 'tool_call_output_tokens', kind: 'scalar', T: 5 }, + { no: 20, name: 'source_trajectory_step_info', kind: 'message', T: bE }, + { no: 25, name: 'snapshot_metadata', kind: 'message', T: ME }, + { no: 26, name: 'internal_metadata', kind: 'message', T: hE }, + { no: 27, name: 'wait_for_previous_tools', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + GE = class e extends r { + path = ''; + isDirectory = !1; + allow = !1; + scope = bn.UNSPECIFIED; + fromCurrentStep = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FileAccessPermission'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'path', kind: 'scalar', T: 9 }, + { no: 2, name: 'is_directory', kind: 'scalar', T: 8 }, + { no: 3, name: 'allow', kind: 'scalar', T: 8 }, + { no: 4, name: 'scope', kind: 'enum', T: a.getEnumType(bn) }, + { no: 5, name: 'from_current_step', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Cs = class e extends r { + fileAccessPermissions = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TrajectoryPermissions'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'file_access_permissions', + kind: 'message', + T: GE, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bE = class e extends r { + trajectoryId = ''; + stepIndex = 0; + metadataIndex = 0; + cascadeId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.SourceTrajectoryStepInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'trajectory_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'step_index', kind: 'scalar', T: 13 }, + { no: 3, name: 'metadata_index', kind: 'scalar', T: 13 }, + { no: 4, name: 'cascade_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qE = class e extends r { + part = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.StructuredErrorPart'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'text', kind: 'scalar', T: 9, oneof: 'part' }, + { no: 2, name: 'file_uri', kind: 'scalar', T: 9, oneof: 'part' }, + { no: 3, name: 'directory_uri', kind: 'scalar', T: 9, oneof: 'part' }, + { no: 4, name: 'url', kind: 'scalar', T: 9, oneof: 'part' }, + { no: 5, name: 'code_text', kind: 'scalar', T: 9, oneof: 'part' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ie = class e extends r { + userErrorMessage = ''; + modelErrorMessage = ''; + structuredErrorParts = []; + shortError = ''; + fullError = ''; + isBenign = !1; + errorCode = 0; + details = ''; + errorId = ''; + rpcErrorDetails = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexErrorDetails'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'user_error_message', kind: 'scalar', T: 9 }, + { no: 9, name: 'model_error_message', kind: 'scalar', T: 9 }, + { + no: 8, + name: 'structured_error_parts', + kind: 'message', + T: qE, + repeated: !0, + }, + { no: 2, name: 'short_error', kind: 'scalar', T: 9 }, + { no: 3, name: 'full_error', kind: 'scalar', T: 9 }, + { no: 4, name: 'is_benign', kind: 'scalar', T: 8 }, + { no: 7, name: 'error_code', kind: 'scalar', T: 13 }, + { no: 5, name: 'details', kind: 'scalar', T: 9 }, + { no: 6, name: 'error_id', kind: 'scalar', T: 9 }, + { no: 10, name: 'rpc_error_details', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + HE = class e extends r { + name = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.UserStepSnapshot'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Rs = class e extends r { + snapshot; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.UserStepAnnotations'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'snapshot', kind: 'message', T: HE }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + YE = class e extends r { + workspaceUri = ''; + gitRootUri = ''; + branchName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TrajectoryScope'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'workspace_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'git_root_uri', kind: 'scalar', T: 9 }, + { no: 3, name: 'branch_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + WE = class e extends r { + disableAsync; + maxGeneratorInvocations = 0; + terminalStepTypes = []; + holdForValidCheckpoint; + holdForValidCheckpointTimeout = 0; + researchOnly = !1; + useAggressiveSnapshotting; + requireFinishTool; + maxForcedInvocations; + queueAllSteps; + storeGenSvcRequest; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeExecutorConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'disable_async', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'max_generator_invocations', kind: 'scalar', T: 5 }, + { + no: 3, + name: 'terminal_step_types', + kind: 'enum', + T: a.getEnumType(j), + repeated: !0, + }, + { + no: 5, + name: 'hold_for_valid_checkpoint', + kind: 'scalar', + T: 8, + opt: !0, + }, + { + no: 6, + name: 'hold_for_valid_checkpoint_timeout', + kind: 'scalar', + T: 5, + }, + { no: 7, name: 'research_only', kind: 'scalar', T: 8 }, + { + no: 8, + name: 'use_aggressive_snapshotting', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 9, name: 'require_finish_tool', kind: 'scalar', T: 8, opt: !0 }, + { no: 10, name: 'max_forced_invocations', kind: 'scalar', T: 5, opt: !0 }, + { no: 11, name: 'queue_all_steps', kind: 'scalar', T: 8, opt: !0 }, + { no: 12, name: 'store_gen_svc_request', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + VE = class e extends r { + updateSampleRate; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ForcedBrainUpdateConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'update_sample_rate', kind: 'scalar', T: 2, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + XE = class e extends r { + useAggressivePrompt = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.DynamicBrainUpdateConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'use_aggressive_prompt', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + PI = class e extends r { + strategy = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrainUpdateStrategy'; + static fields = a.util.newFieldList(() => [ + { + no: 2, + name: 'executor_forced', + kind: 'message', + T: on, + oneof: 'strategy', + }, + { + no: 3, + name: 'invocation_forced', + kind: 'message', + T: VE, + oneof: 'strategy', + }, + { + no: 6, + name: 'dynamic_update', + kind: 'message', + T: XE, + oneof: 'strategy', + }, + { + no: 5, + name: 'executor_forced_and_with_discretion', + kind: 'message', + T: on, + oneof: 'strategy', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + KE = class e extends r { + enabled; + hideNominalToolSteps; + hidePlannerResponseText; + maxBytesPerStep = 0; + maxBytesPerToolArg = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.LogArtifactsConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'hide_nominal_tool_steps', kind: 'scalar', T: 8, opt: !0 }, + { + no: 3, + name: 'hide_planner_response_text', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 4, name: 'max_bytes_per_step', kind: 'scalar', T: 5 }, + { no: 5, name: 'max_bytes_per_tool_arg', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pe = class e extends r { + plannerConfig; + checkpointConfig; + executorConfig; + trajectoryConversionConfig; + applyModelDefaultOverride; + conversationHistoryConfig; + splitDynamicPromptSections; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'planner_config', kind: 'message', T: Us }, + { no: 2, name: 'checkpoint_config', kind: 'message', T: Od }, + { no: 3, name: 'executor_config', kind: 'message', T: WE }, + { no: 4, name: 'trajectory_conversion_config', kind: 'message', T: vE }, + { + no: 6, + name: 'apply_model_default_override', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 7, name: 'conversation_history_config', kind: 'message', T: yo }, + { + no: 8, + name: 'split_dynamic_prompt_sections', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vE = class e extends r { + groupToolsWithPlannerResponse; + wrapToolResponses; + logArtifactsConfig; + appendEphemeralToPreviousToolResult; + disableStepId; + useRawUserMessage; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TrajectoryConversionConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 3, + name: 'group_tools_with_planner_response', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 5, name: 'wrap_tool_responses', kind: 'scalar', T: 8, opt: !0 }, + { no: 6, name: 'log_artifacts_config', kind: 'message', T: KE }, + { + no: 7, + name: 'append_ephemeral_to_previous_tool_result', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 8, name: 'disable_step_id', kind: 'scalar', T: 8, opt: !0 }, + { no: 9, name: 'use_raw_user_message', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sa = class e extends r { + plannerMode = Pn.UNSPECIFIED; + evalMode; + agenticMode; + promptCombinationName; + conversationHistoryConfig; + overrideWorkspaceDirExperimentalUseOnly; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeConversationalPlannerConfig'; + static fields = a.util.newFieldList(() => [ + { no: 4, name: 'planner_mode', kind: 'enum', T: a.getEnumType(Pn) }, + { no: 5, name: 'eval_mode', kind: 'scalar', T: 8, opt: !0 }, + { no: 14, name: 'agentic_mode', kind: 'scalar', T: 8, opt: !0 }, + { + no: 15, + name: 'prompt_combination_name', + kind: 'scalar', + T: 9, + opt: !0, + }, + { no: 16, name: 'conversation_history_config', kind: 'message', T: yo }, + { + no: 17, + name: 'override_workspace_dir_experimental_use_only', + kind: 'scalar', + T: 9, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ls = class e extends r { + mode; + content; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.SectionOverrideConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'mode', kind: 'enum', T: a.getEnumType(ms), opt: !0 }, + { no: 2, name: 'content', kind: 'scalar', T: 9, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zE = class e extends r { + mQueryConfig; + mQueryModel = f.UNSPECIFIED; + maxTokensPerMQuery = 0; + numItemsFullSource; + maxLinesPerSnippet = 0; + enableSearchInFileTool; + allowAccessGitignore; + disableSemanticCodebaseSearch; + forceDisable; + enterpriseConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.MqueryToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'm_query_config', kind: 'message', T: ee }, + { no: 2, name: 'm_query_model', kind: 'enum', T: a.getEnumType(f) }, + { no: 3, name: 'max_tokens_per_m_query', kind: 'scalar', T: 13 }, + { no: 4, name: 'num_items_full_source', kind: 'scalar', T: 5, opt: !0 }, + { no: 5, name: 'max_lines_per_snippet', kind: 'scalar', T: 5 }, + { + no: 6, + name: 'enable_search_in_file_tool', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 7, name: 'allow_access_gitignore', kind: 'scalar', T: 8, opt: !0 }, + { + no: 8, + name: 'disable_semantic_codebase_search', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 9, name: 'force_disable', kind: 'scalar', T: 8, opt: !0 }, + { no: 10, name: 'enterprise_config', kind: 'message', T: rn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jE = class e extends r { + artifactReviewMode = ln.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.NotifyUserConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'artifact_review_mode', + kind: 'enum', + T: a.getEnumType(ln), + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + QE = class e extends r { + maxGrepResults = 0; + includeCciInResult; + numFullSourceCcis = 0; + maxBytesPerCci = 0; + enterpriseConfig; + allowAccessGitignore; + useCodeSearch; + disableFallbackToLocalExecution; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.GrepToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_grep_results', kind: 'scalar', T: 13 }, + { no: 2, name: 'include_cci_in_result', kind: 'scalar', T: 8, opt: !0 }, + { no: 3, name: 'num_full_source_ccis', kind: 'scalar', T: 13 }, + { no: 4, name: 'max_bytes_per_cci', kind: 'scalar', T: 13 }, + { no: 5, name: 'enterprise_config', kind: 'message', T: rn }, + { no: 6, name: 'allow_access_gitignore', kind: 'scalar', T: 8, opt: !0 }, + { no: 7, name: 'use_code_search', kind: 'scalar', T: 8, opt: !0 }, + { + no: 8, + name: 'disable_fallback_to_local_execution', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ZE = class e extends r { + maxFindResults = 0; + fdPath = ''; + useCodeSearch; + disableFallbackToLocalExecution; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FindToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_find_results', kind: 'scalar', T: 13 }, + { no: 2, name: 'fd_path', kind: 'scalar', T: 9 }, + { no: 3, name: 'use_code_search', kind: 'scalar', T: 8, opt: !0 }, + { + no: 4, + name: 'disable_fallback_to_local_execution', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $E = class e extends r { + csPath = ''; + useEvalTag; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CodeSearchToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cs_path', kind: 'scalar', T: 9 }, + { no: 2, name: 'use_eval_tag', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + n_ = class e extends r { + maxResults = 0; + maxContentLength = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.InternalSearchToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_results', kind: 'scalar', T: 5 }, + { no: 2, name: 'max_content_length', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + DI = class e extends r { + maxClusterQueryResults = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ClusterQueryToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_cluster_query_results', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + kI = class e extends r { + maxTokensPerInspectCluster = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.InspectClusterToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_tokens_per_inspect_cluster', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + e_ = class e extends r { + enableModelAutoRun; + userAllowlist = []; + userDenylist = []; + systemAllowlist = []; + systemDenylist = []; + systemNooplist = []; + autoExecutionPolicy = un.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.AutoCommandConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enable_model_auto_run', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'user_allowlist', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'user_denylist', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'system_allowlist', kind: 'scalar', T: 9, repeated: !0 }, + { no: 5, name: 'system_denylist', kind: 'scalar', T: 9, repeated: !0 }, + { no: 7, name: 'system_nooplist', kind: 'scalar', T: 9, repeated: !0 }, + { + no: 6, + name: 'auto_execution_policy', + kind: 'enum', + T: a.getEnumType(un), + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + t_ = class e extends r { + enterpriseConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ListDirToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enterprise_config', kind: 'message', T: rn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + a_ = class e extends r { + maxCharsCommandStdout = 0; + forceDisable; + autoCommandConfig; + enableIdeTerminalExecution; + shellName = ''; + shellPath = ''; + maxTimeoutMs = 0; + enterpriseConfig; + shellSetupScript = ''; + forbidSearchCommands; + enableMidtermOutputProcessor; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.RunCommandToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_chars_command_stdout', kind: 'scalar', T: 13 }, + { no: 2, name: 'force_disable', kind: 'scalar', T: 8, opt: !0 }, + { no: 3, name: 'auto_command_config', kind: 'message', T: e_ }, + { + no: 4, + name: 'enable_ide_terminal_execution', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 5, name: 'shell_name', kind: 'scalar', T: 9 }, + { no: 6, name: 'shell_path', kind: 'scalar', T: 9 }, + { no: 7, name: 'max_timeout_ms', kind: 'scalar', T: 13 }, + { no: 9, name: 'enterprise_config', kind: 'message', T: rn }, + { no: 10, name: 'shell_setup_script', kind: 'scalar', T: 9 }, + { no: 11, name: 'forbid_search_commands', kind: 'scalar', T: 8, opt: !0 }, + { + no: 8, + name: 'enable_midterm_output_processor', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + r_ = class e extends r { + maxTokensPerKnowledgeBaseSearch = 0; + promptFraction; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.KnowledgeBaseSearchToolConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'max_tokens_per_knowledge_base_search', + kind: 'scalar', + T: 13, + }, + { no: 2, name: 'prompt_fraction', kind: 'scalar', T: 1, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + s_ = class e extends r { + enabled; + promptUnchangedThreshold = 0; + contentViewRadiusLines = 0; + contentEditRadiusLines = 0; + fastApplyModel = f.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FastApplyFallbackConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'prompt_unchanged_threshold', kind: 'scalar', T: 13 }, + { no: 3, name: 'content_view_radius_lines', kind: 'scalar', T: 13 }, + { no: 4, name: 'content_edit_radius_lines', kind: 'scalar', T: 13 }, + { no: 5, name: 'fast_apply_model', kind: 'enum', T: a.getEnumType(f) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + i_ = class e extends r { + maxFuzzyEditDistanceFraction = 0; + allowPartialReplacementSuccess = !1; + viewFileRecencyMaxDistance = 0; + enableFuzzySandwichMatch = !1; + fastApplyFallbackConfig; + toolVariant = da.UNSPECIFIED; + showTriggeredMemories; + disableAllowMultiple; + useLineRange; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ReplaceContentToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_fuzzy_edit_distance_fraction', kind: 'scalar', T: 2 }, + { + no: 2, + name: 'allow_partial_replacement_success', + kind: 'scalar', + T: 8, + }, + { no: 3, name: 'view_file_recency_max_distance', kind: 'scalar', T: 13 }, + { no: 4, name: 'enable_fuzzy_sandwich_match', kind: 'scalar', T: 8 }, + { no: 5, name: 'fast_apply_fallback_config', kind: 'message', T: s_ }, + { no: 6, name: 'tool_variant', kind: 'enum', T: a.getEnumType(da) }, + { no: 8, name: 'show_triggered_memories', kind: 'scalar', T: 8, opt: !0 }, + { no: 9, name: 'disable_allow_multiple', kind: 'scalar', T: 8, opt: !0 }, + { no: 10, name: 'use_line_range', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + o_ = class e extends r { + disableExtensions = []; + applyEdits; + useReplaceContentEditTool; + replaceContentToolConfig; + autoFixLintsConfig; + allowEditGitignore; + enterpriseConfig; + overrideAllowActionOnUnsavedFile; + skipReplaceContentValidation; + useReplaceContentProposeCode; + onlyShowIncrementalDiffZone; + fileAllowlist = []; + dirAllowlist = []; + classifyEdit; + runProposalExtensionVerifier; + skipAwaitLintErrors; + provideImportance; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CodeToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'disable_extensions', kind: 'scalar', T: 9, repeated: !0 }, + { no: 2, name: 'apply_edits', kind: 'scalar', T: 8, opt: !0 }, + { + no: 3, + name: 'use_replace_content_edit_tool', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 4, name: 'replace_content_tool_config', kind: 'message', T: i_ }, + { no: 5, name: 'auto_fix_lints_config', kind: 'message', T: T_ }, + { no: 6, name: 'allow_edit_gitignore', kind: 'scalar', T: 8, opt: !0 }, + { no: 7, name: 'enterprise_config', kind: 'message', T: rn }, + { + no: 8, + name: 'override_allow_action_on_unsaved_file', + kind: 'scalar', + T: 8, + opt: !0, + }, + { + no: 9, + name: 'skip_replace_content_validation', + kind: 'scalar', + T: 8, + opt: !0, + }, + { + no: 10, + name: 'use_replace_content_propose_code', + kind: 'scalar', + T: 8, + opt: !0, + }, + { + no: 11, + name: 'only_show_incremental_diff_zone', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 12, name: 'file_allowlist', kind: 'scalar', T: 9, repeated: !0 }, + { no: 17, name: 'dir_allowlist', kind: 'scalar', T: 9, repeated: !0 }, + { no: 13, name: 'classify_edit', kind: 'scalar', T: 8, opt: !0 }, + { + no: 14, + name: 'run_proposal_extension_verifier', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 15, name: 'skip_await_lint_errors', kind: 'scalar', T: 8, opt: !0 }, + { no: 16, name: 'provide_importance', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + m_ = class e extends r { + intentModel = f.UNSPECIFIED; + maxContextTokens = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.IntentToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'intent_model', kind: 'enum', T: a.getEnumType(f) }, + { no: 2, name: 'max_context_tokens', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + c_ = class e extends r { + allowViewGitignore; + splitOutlineTool; + showTriggeredMemories; + enterpriseConfig; + maxLinesPerView; + includeLineNumbers; + dirAllowlist = []; + maxTotalOutlineBytes = 0; + maxBytesPerOutlineItem = 0; + showFullFileBytes; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ViewFileToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 7, name: 'allow_view_gitignore', kind: 'scalar', T: 8, opt: !0 }, + { no: 8, name: 'split_outline_tool', kind: 'scalar', T: 8, opt: !0 }, + { + no: 13, + name: 'show_triggered_memories', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 12, name: 'enterprise_config', kind: 'message', T: rn }, + { no: 14, name: 'max_lines_per_view', kind: 'scalar', T: 13, opt: !0 }, + { no: 15, name: 'include_line_numbers', kind: 'scalar', T: 8, opt: !0 }, + { no: 16, name: 'dir_allowlist', kind: 'scalar', T: 9, repeated: !0 }, + { no: 9, name: 'max_total_outline_bytes', kind: 'scalar', T: 13 }, + { no: 11, name: 'max_bytes_per_outline_item', kind: 'scalar', T: 13 }, + { no: 10, name: 'show_full_file_bytes', kind: 'scalar', T: 13, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + u_ = class e extends r { + forceDisable; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.SuggestedResponseConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'force_disable', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + l_ = class e extends r { + forceDisable; + thirdPartyConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.SearchWebToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'force_disable', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'third_party_config', kind: 'message', T: Ht, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + E_ = class e extends r { + forceDisable; + disableAutoGenerateMemories; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.MemoryToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'force_disable', kind: 'scalar', T: 8, opt: !0 }, + { + no: 2, + name: 'disable_auto_generate_memories', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + __ = class e extends r { + forceDisable; + maxOutputBytes = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.McpToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'force_disable', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'max_output_bytes', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + d_ = class e extends r { + enabled; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.InvokeSubagentToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + T_ = class e extends r { + enabled; + notifyingPrompt; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.AutoFixLintsConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'notifying_prompt', kind: 'scalar', T: 9, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + f_ = class e extends r { + enableSaving; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CaptureBrowserScreenshotToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enable_saving', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ps = class e extends r { + includeCoordinates; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.DOMExtractionConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'include_coordinates', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + N_ = class e extends r { + type; + maxChars; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserSubagentContextConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'enum', T: a.getEnumType(Ds), opt: !0 }, + { no: 2, name: 'max_chars', kind: 'scalar', T: 5, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ds; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.WITH_MARKDOWN_TRAJECTORY_SUMMARY = 1)] = + 'WITH_MARKDOWN_TRAJECTORY_SUMMARY'), + (e[(e.TASK_ONLY = 2)] = 'TASK_ONLY')); +})(Ds || (Ds = {})); +a.util.setEnumType( + Ds, + 'exa.cortex_pb.BrowserSubagentContextConfig.ContextType', + [ + { no: 0, name: 'CONTEXT_TYPE_UNSPECIFIED' }, + { no: 1, name: 'CONTEXT_TYPE_WITH_MARKDOWN_TRAJECTORY_SUMMARY' }, + { no: 2, name: 'CONTEXT_TYPE_TASK_ONLY' }, + ], +); +var ks = class e extends r { + mode; + browserSubagentModel = f.UNSPECIFIED; + useDetailedConverter; + suggestedMaxToolCalls = 0; + disableOnboarding; + subagentReminderMode; + maxContextTokens; + contextConfig; + domExtractionConfig; + disableScreenshot; + lowLevelToolsConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserSubagentToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'mode', kind: 'enum', T: a.getEnumType(cs), opt: !0 }, + { + no: 2, + name: 'browser_subagent_model', + kind: 'enum', + T: a.getEnumType(f), + }, + { no: 3, name: 'use_detailed_converter', kind: 'scalar', T: 8, opt: !0 }, + { no: 4, name: 'suggested_max_tool_calls', kind: 'scalar', T: 5 }, + { no: 5, name: 'disable_onboarding', kind: 'scalar', T: 8, opt: !0 }, + { no: 6, name: 'subagent_reminder_mode', kind: 'message', T: S_ }, + { no: 7, name: 'max_context_tokens', kind: 'scalar', T: 5, opt: !0 }, + { no: 8, name: 'context_config', kind: 'message', T: N_, opt: !0 }, + { no: 9, name: 'dom_extraction_config', kind: 'message', T: Ps, opt: !0 }, + { no: 10, name: 'disable_screenshot', kind: 'scalar', T: 8, opt: !0 }, + { + no: 11, + name: 'low_level_tools_config', + kind: 'message', + T: P_, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + S_ = class e extends r { + mode = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.SubagentReminderMode'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'verify_screenshots', + kind: 'message', + T: I_, + oneof: 'mode', + }, + { + no: 2, + name: 'verify_completeness', + kind: 'message', + T: p_, + oneof: 'mode', + }, + { no: 3, name: 'custom', kind: 'message', T: O_, oneof: 'mode' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + I_ = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserVerifyScreenshotsMode'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + p_ = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserVerifyCompletenessMode'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + O_ = class e extends r { + reminder = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserCustomReminderMode'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'reminder', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + A_ = class e extends r { + enabled; + red; + green; + blue; + alpha; + displayColor = ''; + radius; + feedbackType; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ClickFeedbackConfig'; + static fields = a.util.newFieldList(() => [ + { no: 12, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 7, name: 'red', kind: 'scalar', T: 5, opt: !0 }, + { no: 8, name: 'green', kind: 'scalar', T: 5, opt: !0 }, + { no: 9, name: 'blue', kind: 'scalar', T: 5, opt: !0 }, + { no: 10, name: 'alpha', kind: 'scalar', T: 5, opt: !0 }, + { no: 5, name: 'display_color', kind: 'scalar', T: 9 }, + { no: 11, name: 'radius', kind: 'scalar', T: 5, opt: !0 }, + { + no: 13, + name: 'feedback_type', + kind: 'enum', + T: a.getEnumType(gs), + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gs; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.DOT = 1)] = 'DOT'), + (e[(e.MOUSE_POINTER = 2)] = 'MOUSE_POINTER')); +})(gs || (gs = {})); +a.util.setEnumType(gs, 'exa.cortex_pb.ClickFeedbackConfig.FeedbackType', [ + { no: 0, name: 'FEEDBACK_TYPE_UNSPECIFIED' }, + { no: 1, name: 'FEEDBACK_TYPE_DOT' }, + { no: 2, name: 'FEEDBACK_TYPE_MOUSE_POINTER' }, +]); +var C_ = class e extends r { + clickFeedback; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ClickBrowserPixelToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'click_feedback', kind: 'message', T: A_ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + R_ = class e extends r { + captureAgentActionDiffs; + includeDomTreeInDiffs; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserStateDiffingConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'capture_agent_action_diffs', + kind: 'scalar', + T: 8, + opt: !0, + }, + { + no: 2, + name: 'include_dom_tree_in_diffs', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + L_ = class e extends r { + enabled; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserGetNetworkRequestToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + P_ = class e extends r { + enableLowLevelToolsInstructions; + enableMouseTools; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.LowLevelToolsConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'enable_low_level_tools_instructions', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 2, name: 'enable_mouse_tools', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + D_ = class e extends r { + widthPx = 0; + heightPx = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserWindowSize'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'width_px', kind: 'scalar', T: 5 }, + { no: 2, name: 'height_px', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + k_ = class e extends r { + enabled; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserListNetworkRequestsToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + g_ = class e extends r { + enabled; + autoRunDecision = U.UNSPECIFIED; + captureBrowserScreenshot; + browserSubagent; + clickBrowserPixel; + browserStateDiffingConfig; + browserListNetworkRequestsToolConfig; + browserGetNetworkRequestToolConfig; + toolSetMode; + disableOpenUrl; + isEvalMode; + browserJsExecutionPolicy = En.UNSPECIFIED; + disableActuationOverlay; + variableWaitTool; + browserJsAutoRunPolicy = Qn.UNSPECIFIED; + initialBrowserWindowSize; + domExtractionConfig; + disableWorkspaceApi; + openPageInBackground; + useAntigravityAsBrowserPrompting; + enableRefreshTool; + disableReadBrowserPage; + useExtendedTimeout; + logTimeoutErrorsInsteadOfSentry; + skipPermissionChecks; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.AntigravityBrowserToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'auto_run_decision', kind: 'enum', T: a.getEnumType(U) }, + { no: 3, name: 'capture_browser_screenshot', kind: 'message', T: f_ }, + { no: 4, name: 'browser_subagent', kind: 'message', T: ks }, + { no: 5, name: 'click_browser_pixel', kind: 'message', T: C_ }, + { no: 10, name: 'browser_state_diffing_config', kind: 'message', T: R_ }, + { + no: 18, + name: 'browser_list_network_requests_tool_config', + kind: 'message', + T: k_, + }, + { + no: 19, + name: 'browser_get_network_request_tool_config', + kind: 'message', + T: L_, + }, + { + no: 6, + name: 'tool_set_mode', + kind: 'enum', + T: a.getEnumType(us), + opt: !0, + }, + { no: 7, name: 'disable_open_url', kind: 'scalar', T: 8, opt: !0 }, + { no: 9, name: 'is_eval_mode', kind: 'scalar', T: 8, opt: !0 }, + { + no: 11, + name: 'browser_js_execution_policy', + kind: 'enum', + T: a.getEnumType(En), + }, + { + no: 12, + name: 'disable_actuation_overlay', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 13, name: 'variable_wait_tool', kind: 'scalar', T: 8, opt: !0 }, + { + no: 8, + name: 'browser_js_auto_run_policy', + kind: 'enum', + T: a.getEnumType(Qn), + }, + { + no: 14, + name: 'initial_browser_window_size', + kind: 'message', + T: D_, + opt: !0, + }, + { + no: 15, + name: 'dom_extraction_config', + kind: 'message', + T: Ps, + opt: !0, + }, + { no: 16, name: 'disable_workspace_api', kind: 'scalar', T: 8, opt: !0 }, + { + no: 17, + name: 'open_page_in_background', + kind: 'scalar', + T: 8, + opt: !0, + }, + { + no: 20, + name: 'use_antigravity_as_browser_prompting', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 21, name: 'enable_refresh_tool', kind: 'scalar', T: 8, opt: !0 }, + { + no: 22, + name: 'disable_read_browser_page', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 23, name: 'use_extended_timeout', kind: 'scalar', T: 8, opt: !0 }, + { + no: 24, + name: 'log_timeout_errors_instead_of_sentry', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 25, name: 'skip_permission_checks', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + w_ = class e extends r { + forceDisable; + conversationsEnabled; + userActivitiesEnabled; + maxScoredChunks = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TrajectorySearchToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'force_disable', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'conversations_enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 3, name: 'user_activities_enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 4, name: 'max_scored_chunks', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rn = class e extends r { + enforceWorkspaceValidation; + customWorkspace = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.EnterpriseToolConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'enforce_workspace_validation', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 2, name: 'custom_workspace', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + J_ = class e extends r { + maxNumItems; + maxBytesPerItem; + allowAccessGitignore; + enterpriseConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ViewCodeItemToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_num_items', kind: 'scalar', T: 13, opt: !0 }, + { no: 2, name: 'max_bytes_per_item', kind: 'scalar', T: 13, opt: !0 }, + { no: 3, name: 'allow_access_gitignore', kind: 'scalar', T: 8, opt: !0 }, + { no: 4, name: 'enterprise_config', kind: 'message', T: rn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + x_ = class e extends r { + useDelta; + maxOutputCharacters; + minOutputCharacters; + maxWaitDurationSeconds; + outputStabilizationDurationSeconds; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CommandStatusToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'use_delta', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'max_output_characters', kind: 'scalar', T: 5, opt: !0 }, + { no: 3, name: 'min_output_characters', kind: 'scalar', T: 5, opt: !0 }, + { + no: 4, + name: 'max_wait_duration_seconds', + kind: 'scalar', + T: 5, + opt: !0, + }, + { + no: 5, + name: 'output_stabilization_duration_seconds', + kind: 'scalar', + T: 5, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + U_ = class e extends r { + enabled; + knowledgeBaseItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ReadKnowledgeBaseItemToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { + no: 2, + name: 'knowledge_base_items', + kind: 'message', + T: G, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + B_ = class e extends r { + nameOverride; + argumentNameOverrides = {}; + descriptionOverride; + argumentDescriptionOverrides = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ToolOverrideConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name_override', kind: 'scalar', T: 9, opt: !0 }, + { + no: 2, + name: 'argument_name_overrides', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + { no: 3, name: 'description_override', kind: 'message', T: Ls }, + { + no: 4, + name: 'argument_description_overrides', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + F_ = class e extends r { + descriptions = {}; + toolOverrides = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ToolDescriptionOverrideMap'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'descriptions', + kind: 'map', + K: 9, + V: { kind: 'message', T: Ls }, + }, + { + no: 2, + name: 'tool_overrides', + kind: 'map', + K: 9, + V: { kind: 'message', T: B_ }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + M_ = class e extends r { + minimumPredictedTaskSize = 0; + targetStatusUpdateFrequency = 0; + noActiveTaskSoftReminderToolThreshold = 0; + noActiveTaskStrictReminderToolThreshold = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TaskBoundaryToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'minimum_predicted_task_size', kind: 'scalar', T: 5 }, + { no: 2, name: 'target_status_update_frequency', kind: 'scalar', T: 5 }, + { + no: 3, + name: 'no_active_task_soft_reminder_tool_threshold', + kind: 'scalar', + T: 5, + }, + { + no: 4, + name: 'no_active_task_strict_reminder_tool_threshold', + kind: 'scalar', + T: 5, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + y_ = class e extends r { + resultJsonSchemaString = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FinishToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'result_json_schema_string', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + h_ = class e extends r { + readOnly; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.WorkspaceAPIToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'read_only', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + G_ = class e extends r { + enabled; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.NotebookEditToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + b_ = class e extends r { + mquery; + code; + intent; + grep; + find; + runCommand; + knowledgeBaseSearch; + viewFile; + suggestedResponse; + searchWeb; + memory; + mcp; + listDir; + viewCodeItem; + readKnowledgeBaseItem; + commandStatus; + antigravityBrowser; + trajectorySearch; + codeSearch; + internalSearch; + notifyUser; + browserSubagent; + taskBoundary; + finish; + workspaceApi; + notebookEdit; + invokeSubagent; + descriptionOverrideMap; + disableSimpleResearchTools; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeToolConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'mquery', kind: 'message', T: zE }, + { no: 2, name: 'code', kind: 'message', T: o_ }, + { no: 3, name: 'intent', kind: 'message', T: m_ }, + { no: 4, name: 'grep', kind: 'message', T: QE }, + { no: 5, name: 'find', kind: 'message', T: ZE }, + { no: 8, name: 'run_command', kind: 'message', T: a_ }, + { no: 9, name: 'knowledge_base_search', kind: 'message', T: r_ }, + { no: 10, name: 'view_file', kind: 'message', T: c_ }, + { no: 11, name: 'suggested_response', kind: 'message', T: u_ }, + { no: 13, name: 'search_web', kind: 'message', T: l_ }, + { no: 14, name: 'memory', kind: 'message', T: E_ }, + { no: 16, name: 'mcp', kind: 'message', T: __ }, + { no: 19, name: 'list_dir', kind: 'message', T: t_ }, + { no: 20, name: 'view_code_item', kind: 'message', T: J_ }, + { no: 21, name: 'read_knowledge_base_item', kind: 'message', T: U_ }, + { no: 23, name: 'command_status', kind: 'message', T: x_ }, + { no: 25, name: 'antigravity_browser', kind: 'message', T: g_ }, + { no: 28, name: 'trajectory_search', kind: 'message', T: w_ }, + { no: 31, name: 'code_search', kind: 'message', T: $E }, + { no: 32, name: 'internal_search', kind: 'message', T: n_ }, + { no: 33, name: 'notify_user', kind: 'message', T: jE }, + { no: 34, name: 'browser_subagent', kind: 'message', T: ks }, + { no: 35, name: 'task_boundary', kind: 'message', T: M_ }, + { no: 36, name: 'finish', kind: 'message', T: y_ }, + { no: 37, name: 'workspace_api', kind: 'message', T: h_ }, + { no: 38, name: 'notebook_edit', kind: 'message', T: G_ }, + { no: 39, name: 'invoke_subagent', kind: 'message', T: d_ }, + { no: 22, name: 'description_override_map', kind: 'message', T: F_ }, + { + no: 29, + name: 'disable_simple_research_tools', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + q_ = class e extends r { + maxRetries = 0; + lastRetryOption = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ModelOutputRetryConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_retries', kind: 'scalar', T: 13 }, + { + no: 3, + name: 'forbid_tool_use', + kind: 'scalar', + T: 8, + oneof: 'last_retry_option', + }, + { + no: 4, + name: 'force_tool_name', + kind: 'scalar', + T: 9, + oneof: 'last_retry_option', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ws = class e extends r { + maxRetries = 0; + initialSleepDurationMs = 0; + exponentialMultiplier = 0; + includeErrorFeedback; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ModelAPIRetryConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_retries', kind: 'scalar', T: 13 }, + { no: 2, name: 'initial_sleep_duration_ms', kind: 'scalar', T: 13 }, + { no: 3, name: 'exponential_multiplier', kind: 'scalar', T: 1 }, + { no: 4, name: 'include_error_feedback', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + H_ = class e extends r { + modelOutputRetry; + apiRetry; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.PlannerRetryConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model_output_retry', kind: 'message', T: q_ }, + { no: 2, name: 'api_retry', kind: 'message', T: ws }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Y_ = class e extends r { + showToModelOnWrittenFeedback = !1; + showToModelOnRejection = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CodeAcknowledgementConverterConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'show_to_model_on_written_feedback', + kind: 'scalar', + T: 8, + }, + { no: 2, name: 'show_to_model_on_rejection', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + W_ = class e extends r { + codeAcknowledgement; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.StepStringConverterConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'code_acknowledgement', kind: 'message', T: Y_ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + V_ = class e extends r { + injectArtifactReminderThresholdMap = {}; + disableArtifactReminders; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.AgenticModeConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'inject_artifact_reminder_threshold_map', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 5 }, + }, + { + no: 2, + name: 'disable_artifact_reminders', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + X_ = class e extends r { + includeWorkspacePrompt = !1; + includeMcpServerPrompt = !1; + includeArtifactInstructions = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CustomAgentSystemPromptConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'include_workspace_prompt', kind: 'scalar', T: 8 }, + { no: 2, name: 'include_mcp_server_prompt', kind: 'scalar', T: 8 }, + { no: 3, name: 'include_artifact_instructions', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Js = class e extends r { + systemPromptSections = []; + toolNames = []; + systemPromptConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CustomAgentConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'system_prompt_sections', + kind: 'message', + T: Yn, + repeated: !0, + }, + { no: 2, name: 'tool_names', kind: 'scalar', T: 9, repeated: !0 }, + { no: 6, name: 'system_prompt_config', kind: 'message', T: X_ }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + K_ = class e extends r { + googleMode = !1; + agenticMode = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CodingAgentConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'google_mode', kind: 'scalar', T: 8 }, + { no: 2, name: 'agentic_mode', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gI = class e extends r { + config = { case: void 0 }; + mcpServers = []; + promptSectionCustomization; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CustomAgentSpec'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'custom_agent', kind: 'message', T: Js, oneof: 'config' }, + { no: 2, name: 'coding_agent', kind: 'message', T: K_, oneof: 'config' }, + { no: 4, name: 'mcp_servers', kind: 'message', T: Xa, repeated: !0 }, + { no: 9, name: 'prompt_section_customization', kind: 'message', T: xs }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + v_ = class e extends r { + promptSection; + placement = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CustomPromptSection'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'prompt_section', kind: 'message', T: Yn }, + { + no: 2, + name: 'insert_after_section', + kind: 'scalar', + T: 9, + oneof: 'placement', + }, + { + no: 3, + name: 'insert_before_section', + kind: 'scalar', + T: 9, + oneof: 'placement', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xs = class e extends r { + removePromptSections = []; + addPromptSections = []; + appendPromptSections = []; + replacePromptSections = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.PromptSectionCustomizationConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'remove_prompt_sections', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 2, + name: 'add_prompt_sections', + kind: 'message', + T: v_, + repeated: !0, + }, + { + no: 3, + name: 'append_prompt_sections', + kind: 'message', + T: Yn, + repeated: !0, + }, + { + no: 4, + name: 'replace_prompt_sections', + kind: 'message', + T: Yn, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + z_ = class e extends r { + absolutePaths = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.WorkspacePaths'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_paths', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + j_ = class e extends r { + customizationServerUrl = ''; + toolNames = []; + preInvocationHookNames = []; + postInvocationHookNames = []; + mcpServers = []; + trajectoryToChatMessageOverride = ''; + preToolHookNames = []; + postToolHookNames = []; + workspace = { case: void 0 }; + skipToolNamePrefix = !1; + skipToolDescriptionPrefix = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CustomizationConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'customization_server_url', kind: 'scalar', T: 9 }, + { no: 2, name: 'tool_names', kind: 'scalar', T: 9, repeated: !0 }, + { + no: 3, + name: 'pre_invocation_hook_names', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 4, + name: 'post_invocation_hook_names', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 5, name: 'mcp_servers', kind: 'message', T: Xa, repeated: !0 }, + { + no: 6, + name: 'trajectory_to_chat_message_override', + kind: 'scalar', + T: 9, + }, + { + no: 8, + name: 'pre_tool_hook_names', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 9, + name: 'post_tool_hook_names', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 10, + name: 'user_active_workspaces', + kind: 'scalar', + T: 8, + oneof: 'workspace', + }, + { + no: 11, + name: 'workspace_paths', + kind: 'message', + T: z_, + oneof: 'workspace', + }, + { no: 12, name: 'skip_tool_name_prefix', kind: 'scalar', T: 8 }, + { no: 13, name: 'skip_tool_description_prefix', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Us = class e extends r { + plannerTypeConfig = { case: void 0 }; + customizationConfig; + promptSectionCustomizationConfig; + toolConfig; + stepStringConverterConfig; + planModel = f.UNSPECIFIED; + requestedModel; + modelName = ''; + customModelInfoOverride; + maxOutputTokens = 0; + noToolExplanation; + noToolSummary; + truncationThresholdTokens = 0; + ephemeralMessagesConfig; + showAllErrors = !1; + retryConfig; + knowledgeConfig; + agenticModeConfig; + noWaitForPreviousTools; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadePlannerConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 2, + name: 'conversational', + kind: 'message', + T: sa, + oneof: 'planner_type_config', + }, + { + no: 26, + name: 'google', + kind: 'message', + T: sa, + oneof: 'planner_type_config', + }, + { + no: 36, + name: 'cider', + kind: 'message', + T: sa, + oneof: 'planner_type_config', + }, + { + no: 39, + name: 'custom_agent', + kind: 'message', + T: Js, + oneof: 'planner_type_config', + }, + { + no: 40, + name: 'custom_agent_config_absolute_uri', + kind: 'scalar', + T: 9, + oneof: 'planner_type_config', + }, + { no: 42, name: 'customization_config', kind: 'message', T: j_ }, + { + no: 41, + name: 'prompt_section_customization_config', + kind: 'message', + T: xs, + }, + { no: 13, name: 'tool_config', kind: 'message', T: b_ }, + { no: 31, name: 'step_string_converter_config', kind: 'message', T: W_ }, + { no: 1, name: 'plan_model', kind: 'enum', T: a.getEnumType(f) }, + { no: 15, name: 'requested_model', kind: 'message', T: nn }, + { no: 28, name: 'model_name', kind: 'scalar', T: 9 }, + { no: 27, name: 'custom_model_info_override', kind: 'message', T: tn }, + { no: 6, name: 'max_output_tokens', kind: 'scalar', T: 13 }, + { no: 7, name: 'no_tool_explanation', kind: 'scalar', T: 8, opt: !0 }, + { no: 33, name: 'no_tool_summary', kind: 'scalar', T: 8, opt: !0 }, + { no: 14, name: 'truncation_threshold_tokens', kind: 'scalar', T: 5 }, + { no: 21, name: 'ephemeral_messages_config', kind: 'message', T: Xd }, + { no: 25, name: 'show_all_errors', kind: 'scalar', T: 8 }, + { no: 30, name: 'retry_config', kind: 'message', T: H_ }, + { no: 32, name: 'knowledge_config', kind: 'message', T: wd }, + { no: 35, name: 'agentic_mode_config', kind: 'message', T: V_ }, + { + no: 37, + name: 'no_wait_for_previous_tools', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wI = class e extends r { + subdomain = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.DeploymentInteractionPayload'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'subdomain', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Q_ = class e extends r { + cancel = !1; + deployTarget; + subdomain = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeDeployInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'cancel', kind: 'scalar', T: 8 }, + { no: 2, name: 'deploy_target', kind: 'message', T: Nn }, + { no: 3, name: 'subdomain', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Z_ = class e extends r { + confirm = !1; + proposedCommandLine = ''; + submittedCommandLine = ''; + sandboxOverride = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeRunCommandInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + { no: 2, name: 'proposed_command_line', kind: 'scalar', T: 9 }, + { no: 3, name: 'submitted_command_line', kind: 'scalar', T: 9 }, + { no: 4, name: 'sandbox_override', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $_ = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeOpenBrowserUrlInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nd = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeRunExtensionCodeInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ed = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.cortex_pb.CascadeExecuteBrowserJavaScriptInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + td = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.cortex_pb.CascadeCaptureBrowserScreenshotInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ad = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeClickBrowserPixelInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + JI = class e extends r { + confirm = !1; + resolution; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeTaskResolutionInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + { no: 2, name: 'resolution', kind: 'message', T: _o }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bs = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeBrowserActionInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fs = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeOpenBrowserSetupInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ms = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeConfirmBrowserSetupInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + rd = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeSendCommandInputInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sd = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeReadUrlContentInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + id = class e extends r { + confirm = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeMcpInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'confirm', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + od = class e extends r { + allow = !1; + scope = bn.UNSPECIFIED; + absolutePathUri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FilePermissionInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'allow', kind: 'scalar', T: 8 }, + { no: 2, name: 'scope', kind: 'enum', T: a.getEnumType(bn) }, + { no: 3, name: 'absolute_path_uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + md = class e extends r { + deployTargetOptions = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeDeployInteractionSpec'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'deploy_target_options', + kind: 'message', + T: Nn, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + cd = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeRunCommandInteractionSpec'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ud = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeOpenBrowserUrlInteractionSpec'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ld = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeRunExtensionCodeInteractionSpec'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ed = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.cortex_pb.CascadeExecuteBrowserJavaScriptInteractionSpec'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _d = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = + 'exa.cortex_pb.CascadeCaptureBrowserScreenshotInteractionSpec'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + dd = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeClickBrowserPixelInteractionSpec'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xI = class e extends r { + title = ''; + description = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeTaskResolutionInteractionSpec'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'title', kind: 'scalar', T: 9 }, + { no: 2, name: 'description', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Td = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeSendCommandInputInteractionSpec'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fd = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeReadUrlContentInteractionSpec'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Nd = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeMcpInteractionSpec'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + sn = class e extends r { + absolutePathUri = ''; + isDirectory = !1; + blockReason = Ya.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FilePermissionInteractionSpec'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_path_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'is_directory', kind: 'scalar', T: 8 }, + { no: 3, name: 'block_reason', kind: 'enum', T: a.getEnumType(Ya) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ya; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.OUTSIDE_WORKSPACE = 1)] = 'OUTSIDE_WORKSPACE'), + (e[(e.GITIGNORED = 2)] = 'GITIGNORED')); +})(Ya || (Ya = {})); +a.util.setEnumType( + Ya, + 'exa.cortex_pb.FilePermissionInteractionSpec.BlockReason', + [ + { no: 0, name: 'BLOCK_REASON_UNSPECIFIED' }, + { no: 1, name: 'BLOCK_REASON_OUTSIDE_WORKSPACE' }, + { no: 2, name: 'BLOCK_REASON_GITIGNORED' }, + ], +); +var ys = class e extends r { + interaction = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.RequestedInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'deploy', kind: 'message', T: md, oneof: 'interaction' }, + { + no: 3, + name: 'run_command', + kind: 'message', + T: cd, + oneof: 'interaction', + }, + { + no: 4, + name: 'open_browser_url', + kind: 'message', + T: ud, + oneof: 'interaction', + }, + { + no: 5, + name: 'run_extension_code', + kind: 'message', + T: ld, + oneof: 'interaction', + }, + { + no: 7, + name: 'execute_browser_javascript', + kind: 'message', + T: Ed, + oneof: 'interaction', + }, + { + no: 8, + name: 'capture_browser_screenshot', + kind: 'message', + T: _d, + oneof: 'interaction', + }, + { + no: 9, + name: 'click_browser_pixel', + kind: 'message', + T: dd, + oneof: 'interaction', + }, + { + no: 13, + name: 'browser_action', + kind: 'message', + T: Bs, + oneof: 'interaction', + }, + { + no: 14, + name: 'open_browser_setup', + kind: 'message', + T: Fs, + oneof: 'interaction', + }, + { + no: 15, + name: 'confirm_browser_setup', + kind: 'message', + T: Ms, + oneof: 'interaction', + }, + { + no: 16, + name: 'send_command_input', + kind: 'message', + T: Td, + oneof: 'interaction', + }, + { + no: 17, + name: 'read_url_content', + kind: 'message', + T: fd, + oneof: 'interaction', + }, + { no: 18, name: 'mcp', kind: 'message', T: Nd, oneof: 'interaction' }, + { + no: 19, + name: 'file_permission', + kind: 'message', + T: sn, + oneof: 'interaction', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + UI = class e extends r { + trajectoryId = ''; + stepIndex = 0; + interaction = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadeUserInteraction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'trajectory_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'step_index', kind: 'scalar', T: 13 }, + { no: 4, name: 'deploy', kind: 'message', T: Q_, oneof: 'interaction' }, + { + no: 5, + name: 'run_command', + kind: 'message', + T: Z_, + oneof: 'interaction', + }, + { + no: 6, + name: 'open_browser_url', + kind: 'message', + T: $_, + oneof: 'interaction', + }, + { + no: 7, + name: 'run_extension_code', + kind: 'message', + T: nd, + oneof: 'interaction', + }, + { + no: 8, + name: 'execute_browser_javascript', + kind: 'message', + T: ed, + oneof: 'interaction', + }, + { + no: 9, + name: 'capture_browser_screenshot', + kind: 'message', + T: td, + oneof: 'interaction', + }, + { + no: 10, + name: 'click_browser_pixel', + kind: 'message', + T: ad, + oneof: 'interaction', + }, + { + no: 13, + name: 'browser_action', + kind: 'message', + T: Bs, + oneof: 'interaction', + }, + { + no: 14, + name: 'open_browser_setup', + kind: 'message', + T: Fs, + oneof: 'interaction', + }, + { + no: 15, + name: 'confirm_browser_setup', + kind: 'message', + T: Ms, + oneof: 'interaction', + }, + { + no: 16, + name: 'send_command_input', + kind: 'message', + T: rd, + oneof: 'interaction', + }, + { + no: 17, + name: 'read_url_content', + kind: 'message', + T: sd, + oneof: 'interaction', + }, + { no: 18, name: 'mcp', kind: 'message', T: id, oneof: 'interaction' }, + { + no: 19, + name: 'file_permission', + kind: 'message', + T: od, + oneof: 'interaction', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Sd = class e extends r { + reference = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.KnowledgeReference'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'file_path', kind: 'scalar', T: 9, oneof: 'reference' }, + { + no: 2, + name: 'conversation_id', + kind: 'scalar', + T: 9, + oneof: 'reference', + }, + { no: 3, name: 'url', kind: 'scalar', T: 9, oneof: 'reference' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Id = class e extends r { + references = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.KnowledgeReferences'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'references', kind: 'message', T: Sd, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hs = class e extends r { + kiReferences = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepKIInsertion'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'ki_references', + kind: 'map', + K: 9, + V: { kind: 'message', T: Id }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gs = class e extends r { + input = 0; + output = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepDummy'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'input', kind: 'scalar', T: 13 }, + { no: 2, name: 'output', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bs = class e extends r { + output = {}; + outputString = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepFinish'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'output', kind: 'map', K: 9, V: { kind: 'scalar', T: 9 } }, + { no: 2, name: 'output_string', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qs = class e extends r { + planInput; + userProvided = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepPlanInput'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'plan_input', kind: 'message', T: An }, + { no: 2, name: 'user_provided', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pd = class e extends r { + artifactName = ''; + content = ''; + artifactAbsoluteUri = ''; + lastEdited; + reviewState; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ArtifactSnapshot'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'artifact_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'content', kind: 'scalar', T: 9 }, + { no: 3, name: 'artifact_absolute_uri', kind: 'scalar', T: 9 }, + { no: 4, name: 'last_edited', kind: 'message', T: _ }, + { no: 5, name: 'review_state', kind: 'message', T: nT }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Hs = class e extends r { + checkpointIndex = 0; + intentOnly = !1; + includedStepIndexStart = 0; + includedStepIndexEnd = 0; + conversationTitle = ''; + userIntent = ''; + sessionSummary = ''; + codeChangeSummary = ''; + modelSummarizationFailed = !1; + usedFallbackSummary = !1; + artifactSnapshots = []; + conversationLogUris = []; + editedFileMap = {}; + includedStepIndices = []; + memorySummary = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCheckpoint'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'checkpoint_index', kind: 'scalar', T: 13 }, + { no: 9, name: 'intent_only', kind: 'scalar', T: 8 }, + { no: 11, name: 'included_step_index_start', kind: 'scalar', T: 13 }, + { no: 12, name: 'included_step_index_end', kind: 'scalar', T: 13 }, + { no: 10, name: 'conversation_title', kind: 'scalar', T: 9 }, + { no: 4, name: 'user_intent', kind: 'scalar', T: 9 }, + { no: 5, name: 'session_summary', kind: 'scalar', T: 9 }, + { no: 6, name: 'code_change_summary', kind: 'scalar', T: 9 }, + { no: 16, name: 'model_summarization_failed', kind: 'scalar', T: 8 }, + { no: 17, name: 'used_fallback_summary', kind: 'scalar', T: 8 }, + { + no: 14, + name: 'artifact_snapshots', + kind: 'message', + T: pd, + repeated: !0, + }, + { + no: 15, + name: 'conversation_log_uris', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { + no: 7, + name: 'edited_file_map', + kind: 'map', + K: 9, + V: { kind: 'message', T: es }, + }, + { + no: 3, + name: 'included_step_indices', + kind: 'scalar', + T: 13, + repeated: !0, + }, + { no: 8, name: 'memory_summary', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Od = class e extends r { + tokenThreshold = 0; + maxOverheadRatio = 0; + movingWindowSize = 0; + maxTokenLimit = 0; + maxOutputTokens = 0; + checkpointModel = f.UNSPECIFIED; + enabled; + fullAsync; + retryConfig; + enableFallback; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CheckpointConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'token_threshold', kind: 'scalar', T: 13 }, + { no: 3, name: 'max_overhead_ratio', kind: 'scalar', T: 2 }, + { no: 4, name: 'moving_window_size', kind: 'scalar', T: 13 }, + { no: 5, name: 'max_token_limit', kind: 'scalar', T: 13 }, + { no: 11, name: 'max_output_tokens', kind: 'scalar', T: 13 }, + { no: 7, name: 'checkpoint_model', kind: 'enum', T: a.getEnumType(f) }, + { no: 6, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 13, name: 'full_async', kind: 'scalar', T: 8, opt: !0 }, + { no: 14, name: 'retry_config', kind: 'message', T: ws }, + { no: 15, name: 'enable_fallback', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ys = class e extends r { + input; + ccis = []; + numTokensProcessed = 0; + numItemsScored = 0; + searchType = fa.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepMquery'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'input', kind: 'message', T: An }, + { no: 2, name: 'ccis', kind: 'message', T: Fn, repeated: !0 }, + { no: 3, name: 'num_tokens_processed', kind: 'scalar', T: 13 }, + { no: 4, name: 'num_items_scored', kind: 'scalar', T: 13 }, + { no: 5, name: 'search_type', kind: 'enum', T: a.getEnumType(fa) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ws = class e extends r { + originalChunk; + fuzzyMatch = ''; + editDistance = 0; + relEditDistance = 0; + numMatches = 0; + isNonExact = !1; + boundaryLinesMatch = !1; + error = !1; + errorStr = ''; + fastApplyFixable = !1; + useGlobalMatch = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ReplacementChunkInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'original_chunk', kind: 'message', T: Ne }, + { no: 2, name: 'fuzzy_match', kind: 'scalar', T: 9 }, + { no: 3, name: 'edit_distance', kind: 'scalar', T: 5 }, + { no: 4, name: 'rel_edit_distance', kind: 'scalar', T: 2 }, + { no: 5, name: 'num_matches', kind: 'scalar', T: 13 }, + { no: 7, name: 'is_non_exact', kind: 'scalar', T: 8 }, + { no: 8, name: 'boundary_lines_match', kind: 'scalar', T: 8 }, + { no: 6, name: 'error', kind: 'scalar', T: 8 }, + { no: 9, name: 'error_str', kind: 'scalar', T: 9 }, + { no: 10, name: 'fast_apply_fixable', kind: 'scalar', T: 8 }, + { no: 11, name: 'use_global_match', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Vs = class e extends r { + fallbackAttempted = !1; + fallbackError = ''; + fastApplyResult; + heuristicFailure = qn.UNSPECIFIED; + fastApplyPrompt = ''; + numFastApplyEditsMasked = 0; + fallbackMatchHadNoDiff = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.FastApplyFallbackInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'fallback_attempted', kind: 'scalar', T: 8 }, + { no: 2, name: 'fallback_error', kind: 'scalar', T: 9 }, + { no: 3, name: 'fast_apply_result', kind: 'message', T: Se }, + { no: 4, name: 'heuristic_failure', kind: 'enum', T: a.getEnumType(qn) }, + { no: 5, name: 'fast_apply_prompt', kind: 'scalar', T: 9 }, + { no: 6, name: 'num_fast_apply_edits_masked', kind: 'scalar', T: 13 }, + { no: 7, name: 'fallback_match_had_no_diff', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Xs = class e extends r { + actionSpec; + actionResult; + useFastApply = !1; + acknowledgementType = b.UNSPECIFIED; + heuristicFailure = qn.UNSPECIFIED; + codeInstruction = ''; + markdownLanguage = ''; + lintErrors = []; + persistentLintErrors = []; + replacementInfos = []; + lintErrorIdsAimingToFix = []; + fastApplyFallbackInfo; + targetFileHasCarriageReturns = !1; + targetFileHasAllCarriageReturns = !1; + introducedErrors = []; + triggeredMemories = ''; + isArtifactFile = !1; + artifactVersion = 0; + artifactMetadata; + isKnowledgeFile = !1; + filePermissionRequest; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCodeAction'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'action_spec', kind: 'message', T: ba }, + { no: 2, name: 'action_result', kind: 'message', T: Se }, + { no: 4, name: 'use_fast_apply', kind: 'scalar', T: 8 }, + { + no: 5, + name: 'acknowledgement_type', + kind: 'enum', + T: a.getEnumType(b), + }, + { no: 7, name: 'heuristic_failure', kind: 'enum', T: a.getEnumType(qn) }, + { no: 8, name: 'code_instruction', kind: 'scalar', T: 9 }, + { no: 9, name: 'markdown_language', kind: 'scalar', T: 9 }, + { no: 11, name: 'lint_errors', kind: 'message', T: ae, repeated: !0 }, + { + no: 12, + name: 'persistent_lint_errors', + kind: 'message', + T: ae, + repeated: !0, + }, + { + no: 13, + name: 'replacement_infos', + kind: 'message', + T: Ws, + repeated: !0, + }, + { + no: 14, + name: 'lint_error_ids_aiming_to_fix', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 15, name: 'fast_apply_fallback_info', kind: 'message', T: Vs }, + { + no: 16, + name: 'target_file_has_carriage_returns', + kind: 'scalar', + T: 8, + }, + { + no: 17, + name: 'target_file_has_all_carriage_returns', + kind: 'scalar', + T: 8, + }, + { + no: 18, + name: 'introduced_errors', + kind: 'message', + T: Wa, + repeated: !0, + }, + { no: 19, name: 'triggered_memories', kind: 'scalar', T: 9 }, + { no: 21, name: 'is_artifact_file', kind: 'scalar', T: 8 }, + { no: 22, name: 'artifact_version', kind: 'scalar', T: 5 }, + { no: 23, name: 'artifact_metadata', kind: 'message', T: jr }, + { no: 24, name: 'is_knowledge_file', kind: 'scalar', T: 8 }, + { no: 25, name: 'file_permission_request', kind: 'message', T: sn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ks = class e extends r { + absolutePathUri = ''; + fileChangeType = Na.UNSPECIFIED; + replacementChunks = []; + instruction = ''; + diff; + replacementInfos = []; + fastApplyFallbackInfo; + overwrite = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepFileChange'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_path_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'file_change_type', kind: 'enum', T: a.getEnumType(Na) }, + { + no: 3, + name: 'replacement_chunks', + kind: 'message', + T: Ne, + repeated: !0, + }, + { no: 5, name: 'instruction', kind: 'scalar', T: 9 }, + { no: 4, name: 'diff', kind: 'message', T: an }, + { + no: 6, + name: 'replacement_infos', + kind: 'message', + T: Ws, + repeated: !0, + }, + { no: 7, name: 'fast_apply_fallback_info', kind: 'message', T: Vs }, + { no: 8, name: 'overwrite', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vs = class e extends r { + srcAbsolutePathUri = ''; + dstAbsolutePathUri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepMove'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'src_absolute_path_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'dst_absolute_path_uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zs = class e extends r { + content = ''; + media = []; + triggeredHeuristics = []; + attachments = []; + domTreeUri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepEphemeralMessage'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'content', kind: 'scalar', T: 9 }, + { no: 2, name: 'media', kind: 'message', T: C, repeated: !0 }, + { + no: 3, + name: 'triggered_heuristics', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 4, name: 'attachments', kind: 'message', T: C, repeated: !0 }, + { no: 5, name: 'dom_tree_uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + js = class e extends r { + content = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepConversationHistory'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Qs = class e extends r { + content = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepKnowledgeArtifacts'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zs = class e extends r { + actionSpec; + actionResult; + codeInstruction = ''; + markdownLanguage = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepProposeCode'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'action_spec', kind: 'message', T: ba }, + { no: 2, name: 'action_result', kind: 'message', T: Se }, + { no: 3, name: 'code_instruction', kind: 'scalar', T: 9 }, + { no: 4, name: 'markdown_language', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $s = class e extends r { + input; + commitMessage = ''; + commitHash = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepGitCommit'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'input', kind: 'message', T: An }, + { no: 2, name: 'commit_message', kind: 'scalar', T: 9 }, + { no: 3, name: 'commit_hash', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ad = class e extends r { + relativePath = ''; + lineNumber = 0; + content = ''; + absolutePath = ''; + cci; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.GrepSearchResult'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'relative_path', kind: 'scalar', T: 9 }, + { no: 2, name: 'line_number', kind: 'scalar', T: 13 }, + { no: 3, name: 'content', kind: 'scalar', T: 9 }, + { no: 4, name: 'absolute_path', kind: 'scalar', T: 9 }, + { no: 5, name: 'cci', kind: 'message', T: I }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + BI = class e extends r { + numSamplesPerCommit = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.DiffBasedCommandEvalConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'num_samples_per_commit', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ni = class e extends r { + searchPathUri = ''; + query = ''; + matchPerLine = !1; + includes = []; + caseInsensitive = !1; + allowAccessGitignore = !1; + isRegex = !1; + results = []; + totalResults = 0; + rawOutput = ''; + commandRun = ''; + noFilesSearched = !1; + timedOut = !1; + filePermissionRequest; + grepError = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepGrepSearch'; + static fields = a.util.newFieldList(() => [ + { no: 11, name: 'search_path_uri', kind: 'scalar', T: 9 }, + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { no: 8, name: 'match_per_line', kind: 'scalar', T: 8 }, + { no: 2, name: 'includes', kind: 'scalar', T: 9, repeated: !0 }, + { no: 9, name: 'case_insensitive', kind: 'scalar', T: 8 }, + { no: 13, name: 'allow_access_gitignore', kind: 'scalar', T: 8 }, + { no: 14, name: 'is_regex', kind: 'scalar', T: 8 }, + { no: 4, name: 'results', kind: 'message', T: Ad, repeated: !0 }, + { no: 7, name: 'total_results', kind: 'scalar', T: 13 }, + { no: 3, name: 'raw_output', kind: 'scalar', T: 9 }, + { no: 10, name: 'command_run', kind: 'scalar', T: 9 }, + { no: 12, name: 'no_files_searched', kind: 'scalar', T: 8 }, + { no: 15, name: 'timed_out', kind: 'scalar', T: 8 }, + { no: 16, name: 'file_permission_request', kind: 'message', T: sn }, + { no: 5, name: 'grep_error', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ei = class e extends r { + searchDirectory = ''; + pattern = ''; + excludes = []; + type = Sa.UNSPECIFIED; + maxDepth = 0; + extensions = []; + fullPath = !1; + truncatedOutput = ''; + truncatedTotalResults = 0; + totalResults = 0; + rawOutput = ''; + commandRun = ''; + includes = []; + findError = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepFind'; + static fields = a.util.newFieldList(() => [ + { no: 10, name: 'search_directory', kind: 'scalar', T: 9 }, + { no: 1, name: 'pattern', kind: 'scalar', T: 9 }, + { no: 3, name: 'excludes', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'type', kind: 'enum', T: a.getEnumType(Sa) }, + { no: 5, name: 'max_depth', kind: 'scalar', T: 5 }, + { no: 12, name: 'extensions', kind: 'scalar', T: 9, repeated: !0 }, + { no: 13, name: 'full_path', kind: 'scalar', T: 8 }, + { no: 14, name: 'truncated_output', kind: 'scalar', T: 9 }, + { no: 15, name: 'truncated_total_results', kind: 'scalar', T: 13 }, + { no: 7, name: 'total_results', kind: 'scalar', T: 13 }, + { no: 11, name: 'raw_output', kind: 'scalar', T: 9 }, + { no: 9, name: 'command_run', kind: 'scalar', T: 9 }, + { no: 2, name: 'includes', kind: 'scalar', T: 9, repeated: !0 }, + { no: 8, name: 'find_error', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ti = class e extends r { + absolutePathUri = ''; + startLine = 0; + endLine = 0; + content = ''; + rawContent = ''; + binaryData; + mediaData; + triggeredMemories = ''; + numLines = 0; + numBytes = 0; + isInjectedReminder = !1; + filePermissionRequest; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepViewFile'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_path_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'start_line', kind: 'scalar', T: 13 }, + { no: 3, name: 'end_line', kind: 'scalar', T: 13 }, + { no: 4, name: 'content', kind: 'scalar', T: 9 }, + { no: 9, name: 'raw_content', kind: 'scalar', T: 9 }, + { no: 14, name: 'binary_data', kind: 'message', T: P }, + { no: 15, name: 'media_data', kind: 'message', T: C }, + { no: 10, name: 'triggered_memories', kind: 'scalar', T: 9 }, + { no: 11, name: 'num_lines', kind: 'scalar', T: 13 }, + { no: 12, name: 'num_bytes', kind: 'scalar', T: 13 }, + { no: 13, name: 'is_injected_reminder', kind: 'scalar', T: 8 }, + { no: 16, name: 'file_permission_request', kind: 'message', T: sn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Cd = class e extends r { + name = ''; + isDir = !1; + numChildren; + sizeBytes = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ListDirectoryResult'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'is_dir', kind: 'scalar', T: 8 }, + { no: 3, name: 'num_children', kind: 'scalar', T: 13, opt: !0 }, + { no: 4, name: 'size_bytes', kind: 'scalar', T: 4 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ai = class e extends r { + directoryPathUri = ''; + children = []; + results = []; + dirNotFound = !1; + filePermissionRequest; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepListDirectory'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'directory_path_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'children', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'results', kind: 'message', T: Cd, repeated: !0 }, + { no: 4, name: 'dir_not_found', kind: 'scalar', T: 8 }, + { no: 5, name: 'file_permission_request', kind: 'message', T: sn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ri = class e extends r { + directoryPathUri = ''; + force = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepDeleteDirectory'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'directory_path_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'force', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wa = class e extends r { + message = ''; + path = ''; + line = 0; + column = 0; + symbol = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCompileDiagnostic'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'message', kind: 'scalar', T: 9 }, + { no: 2, name: 'path', kind: 'scalar', T: 9 }, + { no: 3, name: 'line', kind: 'scalar', T: 13 }, + { no: 4, name: 'column', kind: 'scalar', T: 13 }, + { no: 5, name: 'symbol', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + si = class e extends r { + tool = Ia.UNSPECIFIED; + inputSpec = ''; + options = {}; + target = ''; + artifactPath = ''; + artifactIsExecutable = !1; + errors = []; + warnings = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCompile'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'tool', kind: 'enum', T: a.getEnumType(Ia) }, + { no: 2, name: 'input_spec', kind: 'scalar', T: 9 }, + { + no: 3, + name: 'options', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + { no: 4, name: 'target', kind: 'scalar', T: 9 }, + { no: 5, name: 'artifact_path', kind: 'scalar', T: 9 }, + { no: 6, name: 'artifact_is_executable', kind: 'scalar', T: 8 }, + { no: 7, name: 'errors', kind: 'message', T: Wa, repeated: !0 }, + { no: 8, name: 'warnings', kind: 'message', T: Wa, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ii = class e extends r { + errorMessage = ''; + logs = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCompileApplet'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'error_message', kind: 'scalar', T: 9 }, + { no: 3, name: 'logs', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + oi = class e extends r { + errorMessage = ''; + logs = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepInstallAppletDependencies'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'error_message', kind: 'scalar', T: 9 }, + { no: 2, name: 'logs', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mi = class e extends r { + packageName = ''; + errorMessage = ''; + logs = ''; + isDevDependency = !1; + packageNames = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepInstallAppletPackage'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'package_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'error_message', kind: 'scalar', T: 9 }, + { no: 3, name: 'logs', kind: 'scalar', T: 9 }, + { no: 4, name: 'is_dev_dependency', kind: 'scalar', T: 8 }, + { no: 5, name: 'package_names', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ci = class e extends r { + errorMessage = ''; + rpcErrorCode = pa.ERROR_CODE_OK; + firebaseProjectId; + request = Oa.UNSPECIFIED; + result = Aa.UNSPECIFIED; + appConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepSetUpFirebase'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'error_message', kind: 'scalar', T: 9 }, + { no: 6, name: 'rpc_error_code', kind: 'enum', T: a.getEnumType(pa) }, + { no: 7, name: 'firebase_project_id', kind: 'scalar', T: 9, opt: !0 }, + { no: 2, name: 'request', kind: 'enum', T: a.getEnumType(Oa) }, + { no: 3, name: 'result', kind: 'enum', T: a.getEnumType(Aa) }, + { no: 4, name: 'app_config', kind: 'message', T: Rd }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Rd = class e extends r { + firebaseProjectId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.SetUpFirebaseAppConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'firebase_project_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ui = class e extends r { + errorMessage = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepRestartDevServer'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'error_message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + li = class e extends r { + errorMessage = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepDeployFirebase'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'error_message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ei = class e extends r { + command = ''; + exitCode = 0; + output = ''; + errorMessage = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepShellExec'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'command', kind: 'scalar', T: 9 }, + { no: 2, name: 'exit_code', kind: 'scalar', T: 5 }, + { no: 3, name: 'output', kind: 'scalar', T: 9 }, + { no: 4, name: 'error_message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _i = class e extends r { + exitCode = 0; + output = ''; + errorMessage = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepLintApplet'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'exit_code', kind: 'scalar', T: 5 }, + { no: 2, name: 'output', kind: 'scalar', T: 9 }, + { no: 3, name: 'error_message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + di = class e extends r { + variableName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepDefineNewEnvVariable'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'variable_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ti = class e extends r { + blobId = ''; + targetPath = ''; + errorMessage = ''; + bytesWritten = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepWriteBlob'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'blob_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'target_path', kind: 'scalar', T: 9 }, + { no: 3, name: 'error_message', kind: 'scalar', T: 9 }, + { no: 4, name: 'bytes_written', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + FI = class e extends r { + promptFraction = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexTrajectoryToPromptConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'prompt_fraction', kind: 'scalar', T: 2 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fi = class e extends r { + items = []; + userResponse = ''; + activeUserState; + artifactComments = []; + fileDiffComments = []; + fileComments = []; + isQueuedMessage = !1; + clientType = Sn.UNSPECIFIED; + userConfig; + lastUserConfig; + query = ''; + images = []; + media = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepUserInput'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'items', kind: 'message', T: Tn, repeated: !0 }, + { no: 2, name: 'user_response', kind: 'scalar', T: 9 }, + { no: 4, name: 'active_user_state', kind: 'message', T: as }, + { + no: 7, + name: 'artifact_comments', + kind: 'message', + T: zr, + repeated: !0, + }, + { + no: 10, + name: 'file_diff_comments', + kind: 'message', + T: Qr, + repeated: !0, + }, + { no: 11, name: 'file_comments', kind: 'message', T: Zr, repeated: !0 }, + { no: 6, name: 'is_queued_message', kind: 'scalar', T: 8 }, + { no: 8, name: 'client_type', kind: 'enum', T: a.getEnumType(Sn) }, + { no: 12, name: 'user_config', kind: 'message', T: pe }, + { no: 13, name: 'last_user_config', kind: 'message', T: pe }, + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { no: 5, name: 'images', kind: 'message', T: P, repeated: !0 }, + { no: 9, name: 'media', kind: 'message', T: C, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + MI = class e extends r { + activeDocument; + openDocuments = []; + activeNode; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ActiveUserState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'active_document', kind: 'message', T: g }, + { no: 2, name: 'open_documents', kind: 'message', T: g, repeated: !0 }, + { no: 3, name: 'active_node', kind: 'message', T: I }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ni = class e extends r { + response = ''; + modifiedResponse = ''; + thinking = ''; + signature = ''; + thinkingSignature = new Uint8Array(0); + thinkingRedacted = !1; + messageId = ''; + toolCalls = []; + knowledgeBaseItems = []; + thinkingDuration; + stopReason = F.UNSPECIFIED; + recitationMetadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepPlannerResponse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'response', kind: 'scalar', T: 9 }, + { no: 8, name: 'modified_response', kind: 'scalar', T: 9 }, + { no: 3, name: 'thinking', kind: 'scalar', T: 9 }, + { no: 4, name: 'signature', kind: 'scalar', T: 9 }, + { no: 14, name: 'thinking_signature', kind: 'scalar', T: 12 }, + { no: 5, name: 'thinking_redacted', kind: 'scalar', T: 8 }, + { no: 6, name: 'message_id', kind: 'scalar', T: 9 }, + { no: 7, name: 'tool_calls', kind: 'message', T: x, repeated: !0 }, + { + no: 2, + name: 'knowledge_base_items', + kind: 'message', + T: K, + repeated: !0, + }, + { no: 11, name: 'thinking_duration', kind: 'message', T: k }, + { no: 12, name: 'stop_reason', kind: 'enum', T: a.getEnumType(F) }, + { no: 13, name: 'recitation_metadata', kind: 'message', T: Br }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Si = class e extends r { + absolutePath = ''; + documentOutline; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepFileBreakdown'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_path', kind: 'scalar', T: 9 }, + { no: 2, name: 'document_outline', kind: 'message', T: re }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ii = class e extends r { + absoluteUri = ''; + nodePaths = []; + ccis = []; + filePermissionRequest; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepViewCodeItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 4, name: 'node_paths', kind: 'scalar', T: 9, repeated: !0 }, + { no: 5, name: 'ccis', kind: 'message', T: I, repeated: !0 }, + { no: 6, name: 'file_permission_request', kind: 'message', T: sn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + pi = class e extends r { + targetFileUri = ''; + codeContent = []; + diff; + fileCreated = !1; + acknowledgementType = b.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepWriteToFile'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'target_file_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'code_content', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'diff', kind: 'message', T: an }, + { no: 4, name: 'file_created', kind: 'scalar', T: 8 }, + { + no: 5, + name: 'acknowledgement_type', + kind: 'enum', + T: a.getEnumType(b), + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Oi = class e extends r { + queries = []; + timeRange; + connectorTypes = []; + aggregateIds = []; + knowledgeBaseGroups = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepSearchKnowledgeBase'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'queries', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'time_range', kind: 'message', T: aa }, + { + no: 4, + name: 'connector_types', + kind: 'enum', + T: a.getEnumType(D), + repeated: !0, + }, + { no: 7, name: 'aggregate_ids', kind: 'scalar', T: 9, repeated: !0 }, + { + no: 2, + name: 'knowledge_base_groups', + kind: 'message', + T: se, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ai = class e extends r { + urls = []; + documentIds = []; + knowledgeBaseItems = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepLookupKnowledgeBase'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'urls', kind: 'scalar', T: 9, repeated: !0 }, + { no: 2, name: 'document_ids', kind: 'scalar', T: 9, repeated: !0 }, + { + no: 3, + name: 'knowledge_base_items', + kind: 'message', + T: K, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ci = class e extends r { + suggestions = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepSuggestedResponses'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'suggestions', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ri = class e extends r { + error; + shouldShowUser = !1; + shouldShowModel = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepErrorMessage'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'error', kind: 'message', T: Ie }, + { no: 5, name: 'should_show_user', kind: 'scalar', T: 8 }, + { no: 4, name: 'should_show_model', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yn = class e extends r { + full = ''; + truncated = ''; + numLinesAbove = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.RunCommandOutput'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'full', kind: 'scalar', T: 9 }, + { no: 2, name: 'truncated', kind: 'scalar', T: 9 }, + { no: 3, name: 'num_lines_above', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Li = class e extends r { + commandLine = ''; + proposedCommandLine = ''; + cwd = ''; + waitMsBeforeAsync = o.zero; + shouldAutoRun = !1; + requestedTerminalId = ''; + sandboxOverride = !1; + blocking = !1; + commandId = ''; + exitCode; + userRejected = !1; + autoRunDecision = U.UNSPECIFIED; + terminalId = ''; + combinedOutput; + combinedOutputSnapshot; + usedIdeTerminal = !1; + rawDebugOutput = ''; + command = ''; + args = []; + stdout = ''; + stderr = ''; + stdoutBuffer = ''; + stderrBuffer = ''; + stdoutLinesAbove = 0; + stderrLinesAbove = 0; + stdoutOutput; + stderrOutput; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepRunCommand'; + static fields = a.util.newFieldList(() => [ + { no: 23, name: 'command_line', kind: 'scalar', T: 9 }, + { no: 25, name: 'proposed_command_line', kind: 'scalar', T: 9 }, + { no: 2, name: 'cwd', kind: 'scalar', T: 9 }, + { no: 12, name: 'wait_ms_before_async', kind: 'scalar', T: 4 }, + { no: 15, name: 'should_auto_run', kind: 'scalar', T: 8 }, + { no: 17, name: 'requested_terminal_id', kind: 'scalar', T: 9 }, + { no: 27, name: 'sandbox_override', kind: 'scalar', T: 8 }, + { no: 11, name: 'blocking', kind: 'scalar', T: 8 }, + { no: 13, name: 'command_id', kind: 'scalar', T: 9 }, + { no: 6, name: 'exit_code', kind: 'scalar', T: 5, opt: !0 }, + { no: 14, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 16, name: 'auto_run_decision', kind: 'enum', T: a.getEnumType(U) }, + { no: 18, name: 'terminal_id', kind: 'scalar', T: 9 }, + { no: 21, name: 'combined_output', kind: 'message', T: yn }, + { no: 26, name: 'combined_output_snapshot', kind: 'message', T: yn }, + { no: 22, name: 'used_ide_terminal', kind: 'scalar', T: 8 }, + { no: 24, name: 'raw_debug_output', kind: 'scalar', T: 9 }, + { no: 1, name: 'command', kind: 'scalar', T: 9 }, + { no: 3, name: 'args', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'stdout', kind: 'scalar', T: 9 }, + { no: 5, name: 'stderr', kind: 'scalar', T: 9 }, + { no: 7, name: 'stdout_buffer', kind: 'scalar', T: 9 }, + { no: 8, name: 'stderr_buffer', kind: 'scalar', T: 9 }, + { no: 9, name: 'stdout_lines_above', kind: 'scalar', T: 13 }, + { no: 10, name: 'stderr_lines_above', kind: 'scalar', T: 13 }, + { no: 19, name: 'stdout_output', kind: 'message', T: yn }, + { no: 20, name: 'stderr_output', kind: 'message', T: yn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Pi = class e extends r { + url = ''; + webDocument; + resolvedUrl = ''; + latencyMs = 0; + userRejected = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepReadUrlContent'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'url', kind: 'scalar', T: 9 }, + { no: 2, name: 'web_document', kind: 'message', T: G }, + { no: 3, name: 'resolved_url', kind: 'scalar', T: 9 }, + { no: 4, name: 'latency_ms', kind: 'scalar', T: 13 }, + { no: 5, name: 'user_rejected', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yI = class e extends r { + identifier = ''; + knowledgeBaseItem; + connectorType = D.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepReadKnowledgeBaseItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'identifier', kind: 'scalar', T: 9 }, + { no: 2, name: 'knowledge_base_item', kind: 'message', T: G }, + { no: 3, name: 'connector_type', kind: 'enum', T: a.getEnumType(D) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Di = class e extends r { + commandId = ''; + input = ''; + shouldAutoRun = !1; + terminate = !1; + waitMs = o.zero; + userRejected = !1; + autoRunDecision = U.UNSPECIFIED; + output; + running = !1; + exitCode; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepSendCommandInput'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'command_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'input', kind: 'scalar', T: 9 }, + { no: 3, name: 'should_auto_run', kind: 'scalar', T: 8 }, + { no: 6, name: 'terminate', kind: 'scalar', T: 8 }, + { no: 7, name: 'wait_ms', kind: 'scalar', T: 3 }, + { no: 4, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 5, name: 'auto_run_decision', kind: 'enum', T: a.getEnumType(U) }, + { no: 8, name: 'output', kind: 'message', T: yn }, + { no: 9, name: 'running', kind: 'scalar', T: 8 }, + { no: 10, name: 'exit_code', kind: 'scalar', T: 5, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ki = class e extends r { + documentId = ''; + position = 0; + croppedItem; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepViewContentChunk'; + static fields = a.util.newFieldList(() => [ + { no: 5, name: 'document_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'position', kind: 'scalar', T: 5 }, + { no: 4, name: 'cropped_item', kind: 'message', T: G }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gi = class e extends r { + query = ''; + domain = ''; + webDocuments = []; + webSearchUrl = ''; + summary = ''; + thirdPartyConfig; + searchType = Ca.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepSearchWeb'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { no: 3, name: 'domain', kind: 'scalar', T: 9 }, + { no: 2, name: 'web_documents', kind: 'message', T: G, repeated: !0 }, + { no: 4, name: 'web_search_url', kind: 'scalar', T: 9 }, + { no: 5, name: 'summary', kind: 'scalar', T: 9 }, + { no: 6, name: 'third_party_config', kind: 'message', T: Ht }, + { no: 7, name: 'search_type', kind: 'enum', T: a.getEnumType(Ca) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hI = class e extends r { + projectPath = ''; + deploymentConfigUri = ''; + deploymentConfig; + missingFileUris = []; + willUploadNodeModules = !1; + willUploadDist = !1; + ignoreFileUris = []; + numFilesToUpload = 0; + envFileUris = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepReadDeploymentConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'project_path', kind: 'scalar', T: 9 }, + { no: 2, name: 'deployment_config_uri', kind: 'scalar', T: 9 }, + { no: 3, name: 'deployment_config', kind: 'message', T: bt }, + { no: 4, name: 'missing_file_uris', kind: 'scalar', T: 9, repeated: !0 }, + { no: 5, name: 'will_upload_node_modules', kind: 'scalar', T: 8 }, + { no: 6, name: 'will_upload_dist', kind: 'scalar', T: 8 }, + { no: 7, name: 'ignore_file_uris', kind: 'scalar', T: 9, repeated: !0 }, + { no: 8, name: 'num_files_to_upload', kind: 'scalar', T: 13 }, + { no: 9, name: 'env_file_uris', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + GI = class e extends r { + projectPath = ''; + subdomain = ''; + projectId = ''; + framework = ''; + userConfirmed = !1; + fileUploadStatus = {}; + deployment; + deploymentConfigUri = ''; + deploymentConfigOutput; + subdomainForProjectId = ''; + subdomainUserSpecified = ''; + subdomainUsed = ''; + deployTargetForProjectId; + deployTargetUserSpecified; + deployTargetUsed; + projectIdUsed = ''; + claimUrl = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepDeployWebApp'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'project_path', kind: 'scalar', T: 9 }, + { no: 2, name: 'subdomain', kind: 'scalar', T: 9 }, + { no: 11, name: 'project_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'framework', kind: 'scalar', T: 9 }, + { no: 4, name: 'user_confirmed', kind: 'scalar', T: 8 }, + { + no: 5, + name: 'file_upload_status', + kind: 'map', + K: 9, + V: { kind: 'enum', T: a.getEnumType(ls) }, + }, + { no: 6, name: 'deployment', kind: 'message', T: Gt }, + { no: 7, name: 'deployment_config_uri', kind: 'scalar', T: 9 }, + { no: 8, name: 'deployment_config_output', kind: 'message', T: bt }, + { no: 12, name: 'subdomain_for_project_id', kind: 'scalar', T: 9 }, + { no: 13, name: 'subdomain_user_specified', kind: 'scalar', T: 9 }, + { no: 9, name: 'subdomain_used', kind: 'scalar', T: 9 }, + { no: 15, name: 'deploy_target_for_project_id', kind: 'message', T: Nn }, + { no: 16, name: 'deploy_target_user_specified', kind: 'message', T: Nn }, + { no: 17, name: 'deploy_target_used', kind: 'message', T: Nn }, + { no: 14, name: 'project_id_used', kind: 'scalar', T: 9 }, + { no: 10, name: 'claim_url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wi = class e extends r { + antigravityDeploymentId = ''; + deployment; + buildStatus = zn.UNSPECIFIED; + buildError = ''; + buildLogs = ''; + isClaimed = !1; + claimUrl = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCheckDeployStatus'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'antigravity_deployment_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'deployment', kind: 'message', T: Gt }, + { no: 3, name: 'build_status', kind: 'enum', T: a.getEnumType(zn) }, + { no: 4, name: 'build_error', kind: 'scalar', T: 9 }, + { no: 5, name: 'build_logs', kind: 'scalar', T: 9 }, + { no: 6, name: 'is_claimed', kind: 'scalar', T: 8 }, + { no: 7, name: 'claim_url', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ji = class e extends r { + content = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepClipboard'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xi = class e extends r { + terminationReason = Ra.UNSPECIFIED; + numGeneratorInvocations = 0; + lastStepIdx = 0; + proceededWithAutoContinue = !1; + numForcedInvocations = 0; + segmentRecords = []; + trajectoryRecords = []; + executionId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ExecutorMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'termination_reason', kind: 'enum', T: a.getEnumType(Ra) }, + { no: 2, name: 'num_generator_invocations', kind: 'scalar', T: 5 }, + { no: 3, name: 'last_step_idx', kind: 'scalar', T: 5 }, + { no: 4, name: 'proceeded_with_auto_continue', kind: 'scalar', T: 8 }, + { no: 5, name: 'num_forced_invocations', kind: 'scalar', T: 5 }, + { no: 6, name: 'segment_records', kind: 'message', T: ie, repeated: !0 }, + { + no: 7, + name: 'trajectory_records', + kind: 'message', + T: ie, + repeated: !0, + }, + { no: 9, name: 'execution_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ui = class e extends r { + type = La.UNSPECIFIED; + lint; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepLintDiff'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'enum', T: a.getEnumType(La) }, + { no: 2, name: 'lint', kind: 'message', T: ae }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bi = class e extends r { + id = ''; + type = fe.UNSPECIFIED; + content = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrainEntry'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'type', kind: 'enum', T: a.getEnumType(fe) }, + { no: 3, name: 'content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ld = class e extends r { + itemsAdded = []; + itemsCompleted = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.PlanEntryDeltaSummary'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'items_added', kind: 'scalar', T: 9, repeated: !0 }, + { no: 2, name: 'items_completed', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Pd = class e extends r { + summary = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrainEntryDeltaSummary'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'plan', kind: 'message', T: Ld, oneof: 'summary' }, + { no: 2, name: 'task', kind: 'message', T: gd, oneof: 'summary' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Dd = class e extends r { + before; + after; + absolutePathUri = ''; + summary; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrainEntryDelta'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'before', kind: 'message', T: Bi }, + { no: 2, name: 'after', kind: 'message', T: Bi }, + { no: 3, name: 'absolute_path_uri', kind: 'scalar', T: 9 }, + { no: 4, name: 'summary', kind: 'message', T: Pd }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bI = class e extends r { + id = ''; + content = ''; + status = Hn.UNSPECIFIED; + parentId = ''; + prevSiblingId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TaskItem'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'content', kind: 'scalar', T: 9 }, + { no: 3, name: 'status', kind: 'enum', T: a.getEnumType(Hn) }, + { no: 4, name: 'parent_id', kind: 'scalar', T: 9 }, + { no: 5, name: 'prev_sibling_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + kd = class e extends r { + type = Pa.UNSPECIFIED; + id = ''; + content = ''; + status = Hn.UNSPECIFIED; + parentId = ''; + prevSiblingId = ''; + fromParent = ''; + fromPrevSibling = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TaskDelta'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'enum', T: a.getEnumType(Pa) }, + { no: 2, name: 'id', kind: 'scalar', T: 9 }, + { no: 3, name: 'content', kind: 'scalar', T: 9 }, + { no: 4, name: 'status', kind: 'enum', T: a.getEnumType(Hn) }, + { no: 5, name: 'parent_id', kind: 'scalar', T: 9 }, + { no: 6, name: 'prev_sibling_id', kind: 'scalar', T: 9 }, + { no: 7, name: 'from_parent', kind: 'scalar', T: 9 }, + { no: 8, name: 'from_prev_sibling', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + gd = class e extends r { + deltas = []; + itemsAdded = 0; + itemsPruned = 0; + itemsDeleted = 0; + itemsUpdated = 0; + itemsMoved = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TaskEntryDeltaSummary'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'deltas', kind: 'message', T: kd, repeated: !0 }, + { no: 2, name: 'items_added', kind: 'scalar', T: 5 }, + { no: 3, name: 'items_pruned', kind: 'scalar', T: 5 }, + { no: 4, name: 'items_deleted', kind: 'scalar', T: 5 }, + { no: 5, name: 'items_updated', kind: 'scalar', T: 5 }, + { no: 6, name: 'items_moved', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fi = class e extends r { + target = { case: void 0 }; + trigger = Da.UNSPECIFIED; + deltas = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrainUpdate'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'entry_type', + kind: 'enum', + T: a.getEnumType(fe), + oneof: 'target', + }, + { no: 3, name: 'trigger', kind: 'enum', T: a.getEnumType(Da) }, + { no: 2, name: 'deltas', kind: 'message', T: Dd, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Mi = class e extends r { + task = ''; + reusedSubagentId = ''; + recordingName = ''; + result = ''; + taskName = ''; + recordingPath = ''; + recordingGenerationStatus = ka.UNSPECIFIED; + subagentId = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserSubagent'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'task', kind: 'scalar', T: 9 }, + { no: 9, name: 'reused_subagent_id', kind: 'scalar', T: 9 }, + { no: 7, name: 'recording_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'result', kind: 'scalar', T: 9 }, + { no: 3, name: 'task_name', kind: 'scalar', T: 9 }, + { no: 4, name: 'recording_path', kind: 'scalar', T: 9 }, + { + no: 6, + name: 'recording_generation_status', + kind: 'enum', + T: a.getEnumType(ka), + }, + { no: 8, name: 'subagent_id', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wd = class e extends r { + enabled; + model = f.UNSPECIFIED; + maxContextTokens = 0; + maxInvocations = 0; + minTurnsBetweenKnowledgeGeneration = 0; + maxKnowledgeItems = 0; + maxArtifactsPerKi = 0; + maxTitleLength = 0; + maxSummaryLength = 0; + enableKiInsertion; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.KnowledgeConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + { no: 3, name: 'max_context_tokens', kind: 'scalar', T: 13 }, + { no: 4, name: 'max_invocations', kind: 'scalar', T: 13 }, + { + no: 5, + name: 'min_turns_between_knowledge_generation', + kind: 'scalar', + T: 13, + }, + { no: 6, name: 'max_knowledge_items', kind: 'scalar', T: 13 }, + { no: 7, name: 'max_artifacts_per_ki', kind: 'scalar', T: 13 }, + { no: 8, name: 'max_title_length', kind: 'scalar', T: 13 }, + { no: 9, name: 'max_summary_length', kind: 'scalar', T: 13 }, + { no: 10, name: 'enable_ki_insertion', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yi = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepKnowledgeGeneration'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hi = class e extends r { + url = ''; + pageIdToReplace = ''; + autoRunDecision = U.UNSPECIFIED; + userRejected = !1; + pageId = ''; + webDocument; + pageMetadata; + screenshot; + mediaScreenshot; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepOpenBrowserUrl'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'url', kind: 'scalar', T: 9 }, + { no: 8, name: 'page_id_to_replace', kind: 'scalar', T: 9 }, + { no: 2, name: 'auto_run_decision', kind: 'enum', T: a.getEnumType(U) }, + { no: 3, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 4, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 5, name: 'web_document', kind: 'message', T: G }, + { no: 6, name: 'page_metadata', kind: 'message', T: A }, + { no: 7, name: 'screenshot', kind: 'message', T: P }, + { no: 10, name: 'media_screenshot', kind: 'message', T: C }, + { no: 9, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gi = class e extends r { + title = ''; + pageId = ''; + javascriptSource = ''; + javascriptDescription = ''; + shouldAutoRun = !1; + waitingReason = Ta.UNSPECIFIED; + userRejected = !1; + screenshotEnd; + mediaScreenshotEnd; + pageMetadata; + executionDurationMs = o.zero; + javascriptResult = ''; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepExecuteBrowserJavaScript'; + static fields = a.util.newFieldList(() => [ + { no: 9, name: 'title', kind: 'scalar', T: 9 }, + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'javascript_source', kind: 'scalar', T: 9 }, + { no: 3, name: 'javascript_description', kind: 'scalar', T: 9 }, + { no: 10, name: 'should_auto_run', kind: 'scalar', T: 8 }, + { no: 13, name: 'waiting_reason', kind: 'enum', T: a.getEnumType(Ta) }, + { no: 4, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 5, name: 'screenshot_end', kind: 'message', T: P }, + { no: 12, name: 'media_screenshot_end', kind: 'message', T: C }, + { no: 6, name: 'page_metadata', kind: 'message', T: A }, + { no: 7, name: 'execution_duration_ms', kind: 'scalar', T: 4 }, + { no: 8, name: 'javascript_result', kind: 'scalar', T: 9 }, + { no: 11, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bi = class e extends r { + pageId = ''; + webDocument; + pageMetadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepReadBrowserPage'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'web_document', kind: 'message', T: G }, + { no: 3, name: 'page_metadata', kind: 'message', T: A }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qi = class e extends r { + pageId = ''; + domTree; + serializedDomTree = ''; + serializedDomTreeUri = ''; + pageMetadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserGetDom'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'dom_tree', kind: 'message', T: xn }, + { no: 3, name: 'serialized_dom_tree', kind: 'scalar', T: 9 }, + { no: 5, name: 'serialized_dom_tree_uri', kind: 'scalar', T: 9 }, + { no: 4, name: 'page_metadata', kind: 'message', T: A }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Hi = class e extends r { + pages = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepListBrowserPages'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'pages', kind: 'message', T: A, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Yi = class e extends r { + pageId = ''; + saveScreenshot = !1; + screenshotName = ''; + captureByElementIndex = !1; + elementIndex = 0; + captureBeyondViewport = !1; + userRejected = !1; + screenshot; + mediaScreenshot; + screenshotViewport; + pageMetadata; + autoRunDecision = U.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCaptureBrowserScreenshot'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 7, name: 'save_screenshot', kind: 'scalar', T: 8 }, + { no: 10, name: 'screenshot_name', kind: 'scalar', T: 9 }, + { no: 8, name: 'capture_by_element_index', kind: 'scalar', T: 8 }, + { no: 9, name: 'element_index', kind: 'scalar', T: 5 }, + { no: 12, name: 'capture_beyond_viewport', kind: 'scalar', T: 8 }, + { no: 2, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 3, name: 'screenshot', kind: 'message', T: P }, + { no: 11, name: 'media_screenshot', kind: 'message', T: C }, + { no: 13, name: 'screenshot_viewport', kind: 'message', T: Hr }, + { no: 4, name: 'page_metadata', kind: 'message', T: A }, + { no: 5, name: 'auto_run_decision', kind: 'enum', T: a.getEnumType(U) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wi = class e extends r { + pageId = ''; + x = 0; + y = 0; + clickType = pn.UNSPECIFIED; + userRejected = !1; + pageMetadata; + screenshotWithClickFeedback; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepClickBrowserPixel'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'x', kind: 'scalar', T: 5 }, + { no: 3, name: 'y', kind: 'scalar', T: 5 }, + { no: 7, name: 'click_type', kind: 'enum', T: a.getEnumType(pn) }, + { no: 4, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 5, name: 'page_metadata', kind: 'message', T: A }, + { + no: 6, + name: 'screenshot_with_click_feedback', + kind: 'message', + T: C, + opt: !0, + }, + { no: 8, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Vi = class e extends r { + annotation; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepAddAnnotation'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'annotation', kind: 'message', T: qt }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Xi = class e extends r { + pageId = ''; + pageMetadata; + consoleLogs; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCaptureBrowserConsoleLogs'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'page_metadata', kind: 'message', T: A }, + { no: 3, name: 'console_logs', kind: 'message', T: Jn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qI = class e extends r { + planStatus; + userSettings; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CascadePanelState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'plan_status', kind: 'message', T: Ut }, + { no: 2, name: 'user_settings', kind: 'message', T: qr }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ki = class e extends r { + commandId = ''; + outputCharacterCount = 0; + waitDurationSeconds = 0; + status = z.UNSPECIFIED; + combined = ''; + delta; + exitCode; + error; + waitedDurationSeconds = 0; + stdout = ''; + stderr = ''; + outputPriority = ga.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCommandStatus'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'command_id', kind: 'scalar', T: 9 }, + { no: 8, name: 'output_character_count', kind: 'scalar', T: 13 }, + { no: 10, name: 'wait_duration_seconds', kind: 'scalar', T: 13 }, + { no: 2, name: 'status', kind: 'enum', T: a.getEnumType(z) }, + { no: 9, name: 'combined', kind: 'scalar', T: 9 }, + { no: 12, name: 'delta', kind: 'scalar', T: 9, opt: !0 }, + { no: 5, name: 'exit_code', kind: 'scalar', T: 5, opt: !0 }, + { no: 6, name: 'error', kind: 'message', T: Ie }, + { no: 11, name: 'waited_duration_seconds', kind: 'scalar', T: 13 }, + { no: 3, name: 'stdout', kind: 'scalar', T: 9 }, + { no: 4, name: 'stderr', kind: 'scalar', T: 9 }, + { no: 7, name: 'output_priority', kind: 'enum', T: a.getEnumType(ga) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Va = class e extends r { + memoryId = ''; + title = ''; + metadata; + source = wa.UNSPECIFIED; + scope; + memory = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexMemory'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'memory_id', kind: 'scalar', T: 9 }, + { no: 6, name: 'title', kind: 'scalar', T: 9 }, + { no: 2, name: 'metadata', kind: 'message', T: Jd }, + { no: 3, name: 'source', kind: 'enum', T: a.getEnumType(wa) }, + { no: 4, name: 'scope', kind: 'message', T: vi }, + { no: 5, name: 'text_memory', kind: 'message', T: xd, oneof: 'memory' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Jd = class e extends r { + createdAt; + lastModified; + lastAccessed; + tags = []; + userTriggered = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexMemoryMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'created_at', kind: 'message', T: _ }, + { no: 2, name: 'last_modified', kind: 'message', T: _ }, + { no: 3, name: 'last_accessed', kind: 'message', T: _ }, + { no: 4, name: 'tags', kind: 'scalar', T: 9, repeated: !0 }, + { no: 5, name: 'user_triggered', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xd = class e extends r { + content = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexMemoryText'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vi = class e extends r { + scope = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexMemoryScope'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'global_scope', kind: 'message', T: Ud, oneof: 'scope' }, + { no: 2, name: 'local_scope', kind: 'message', T: Bd, oneof: 'scope' }, + { no: 3, name: 'all_scope', kind: 'message', T: Fd, oneof: 'scope' }, + { no: 4, name: 'project_scope', kind: 'message', T: Md, oneof: 'scope' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ud = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexMemoryGlobalScope'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bd = class e extends r { + corpusNames = []; + baseDirUris = []; + repoBaseDirUri = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexMemoryLocalScope'; + static fields = a.util.newFieldList(() => [ + { no: 2, name: 'corpus_names', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'base_dir_uris', kind: 'scalar', T: 9, repeated: !0 }, + { no: 1, name: 'repo_base_dir_uri', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fd = class e extends r { + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexMemoryAllScope'; + static fields = a.util.newFieldList(() => []); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Md = class e extends r { + filePath = ''; + absoluteFilePath = ''; + baseDirUris = []; + corpusNames = []; + trigger = Ja.UNSPECIFIED; + description = ''; + globs = []; + priority = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexMemoryProjectScope'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'file_path', kind: 'scalar', T: 9 }, + { no: 7, name: 'absolute_file_path', kind: 'scalar', T: 9 }, + { no: 2, name: 'base_dir_uris', kind: 'scalar', T: 9, repeated: !0 }, + { no: 3, name: 'corpus_names', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'trigger', kind: 'enum', T: a.getEnumType(Ja) }, + { no: 5, name: 'description', kind: 'scalar', T: 9 }, + { no: 6, name: 'globs', kind: 'scalar', T: 9, repeated: !0 }, + { no: 8, name: 'priority', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zi = class e extends r { + memoryId = ''; + memory; + prevMemory; + action = xa.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepMemory'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'memory_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'memory', kind: 'message', T: Va }, + { no: 4, name: 'prev_memory', kind: 'message', T: Va }, + { no: 3, name: 'action', kind: 'enum', T: a.getEnumType(xa) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ji = class e extends r { + runSubagent = !1; + addUserMemories = !1; + cascadeMemorySummary = ''; + userMemorySummary = ''; + reason = ''; + showReason = !1; + retrievedMemories = []; + blocking = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepRetrieveMemory'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'run_subagent', kind: 'scalar', T: 8 }, + { no: 8, name: 'add_user_memories', kind: 'scalar', T: 8 }, + { no: 2, name: 'cascade_memory_summary', kind: 'scalar', T: 9 }, + { no: 3, name: 'user_memory_summary', kind: 'scalar', T: 9 }, + { no: 4, name: 'reason', kind: 'scalar', T: 9 }, + { no: 5, name: 'show_reason', kind: 'scalar', T: 8 }, + { + no: 6, + name: 'retrieved_memories', + kind: 'message', + T: Va, + repeated: !0, + }, + { no: 7, name: 'blocking', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + HI = class e extends r { + memoryModel = f.UNSPECIFIED; + numCheckpointsForContext = 0; + numMemoriesToConsider = 0; + maxGlobalCascadeMemories = 0; + condenseInputTrajectory; + addUserMemoriesToSystemPrompt; + enabled; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.MemoryConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'memory_model', kind: 'enum', T: a.getEnumType(f) }, + { no: 5, name: 'num_checkpoints_for_context', kind: 'scalar', T: 13 }, + { no: 3, name: 'num_memories_to_consider', kind: 'scalar', T: 5 }, + { no: 4, name: 'max_global_cascade_memories', kind: 'scalar', T: 5 }, + { + no: 6, + name: 'condense_input_trajectory', + kind: 'scalar', + T: 8, + opt: !0, + }, + { + no: 7, + name: 'add_user_memories_to_system_prompt', + kind: 'scalar', + T: 8, + opt: !0, + }, + { no: 2, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yd = class e extends r { + maxStepsPerCheckpoint; + maxFilesInPrompt = 0; + maxLinesPerFileInPrompt = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ViewedFileTrackerConfig'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'max_steps_per_checkpoint', + kind: 'scalar', + T: 13, + opt: !0, + }, + { no: 2, name: 'max_files_in_prompt', kind: 'scalar', T: 13 }, + { no: 3, name: 'max_lines_per_file_in_prompt', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + hd = class e extends r { + diffBlockSeparationThreshold = o.zero; + handleDeletions = !1; + handleCreations = !1; + includeOriginalContent; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CodeStepCreationOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'diff_block_separation_threshold', kind: 'scalar', T: 3 }, + { no: 2, name: 'handle_deletions', kind: 'scalar', T: 8 }, + { no: 3, name: 'handle_creations', kind: 'scalar', T: 8 }, + { + no: 4, + name: 'include_original_content', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + YI = class e extends r { + entryIdPrefix = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrainUpdateStepCreationOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'entry_id_prefix', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Gd = class e extends r { + conditionOnEditStep = !1; + includeRawContent; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ViewFileStepCreationOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'condition_on_edit_step', kind: 'scalar', T: 8 }, + { no: 2, name: 'include_raw_content', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bd = class e extends r { + numSearchEvents = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.UserGrepStepCreationOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'num_search_events', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qd = class e extends r { + maxCommands = 0; + maxCommandAge; + perCommandMaxBytesOutput = 0; + totalMaxBytesOutput = 0; + includeRunning; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.RunCommandStepCreationOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_commands', kind: 'scalar', T: 13 }, + { no: 2, name: 'max_command_age', kind: 'message', T: k }, + { no: 3, name: 'per_command_max_bytes_output', kind: 'scalar', T: 13 }, + { no: 4, name: 'total_max_bytes_output', kind: 'scalar', T: 13 }, + { no: 5, name: 'include_running', kind: 'scalar', T: 8, opt: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Hd = class e extends r { + maxLintInserts = 0; + minRequiredLintDuration = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.LintDiffStepCreationOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_lint_inserts', kind: 'scalar', T: 13 }, + { no: 2, name: 'min_required_lint_duration', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Yd = class e extends r { + maxBrowserInteractions = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.BrowserStepCreationOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_browser_interactions', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + WI = class e extends r { + codeStepCreationOptions; + viewFileStepCreationOptions; + viewedFileTrackerConfig; + stepTypeAllowList = []; + userGrepStepCreationOptions; + runCommandStepCreationOptions; + lintDiffStepCreationOptions; + browserStepCreationOptions; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.SnapshotToStepsOptions'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'code_step_creation_options', kind: 'message', T: hd }, + { + no: 2, + name: 'view_file_step_creation_options', + kind: 'message', + T: Gd, + }, + { no: 3, name: 'viewed_file_tracker_config', kind: 'message', T: yd }, + { + no: 4, + name: 'step_type_allow_list', + kind: 'enum', + T: a.getEnumType(j), + repeated: !0, + }, + { + no: 5, + name: 'user_grep_step_creation_options', + kind: 'message', + T: bd, + }, + { + no: 6, + name: 'run_command_step_creation_options', + kind: 'message', + T: qd, + }, + { + no: 7, + name: 'lint_diff_step_creation_options', + kind: 'message', + T: Hd, + }, + { no: 9, name: 'browser_step_creation_options', kind: 'message', T: Yd }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Qi = class e extends r { + body = ''; + commitId = ''; + path = ''; + side = ''; + startLine = 0; + endLine = 0; + category = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepPostPrReview'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'body', kind: 'scalar', T: 9 }, + { no: 2, name: 'commit_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'path', kind: 'scalar', T: 9 }, + { no: 4, name: 'side', kind: 'scalar', T: 9 }, + { no: 5, name: 'start_line', kind: 'scalar', T: 5 }, + { no: 6, name: 'end_line', kind: 'scalar', T: 5 }, + { no: 7, name: 'category', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Xa = class e extends r { + serverName = ''; + command = ''; + args = []; + env = {}; + serverUrl = ''; + disabled = !1; + disabledTools = []; + enabledTools = []; + headers = {}; + serverIndex = 0; + skipToolNamePrefix = !1; + skipToolDescriptionPrefix = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.McpServerSpec'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'server_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'command', kind: 'scalar', T: 9 }, + { no: 3, name: 'args', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'env', kind: 'map', K: 9, V: { kind: 'scalar', T: 9 } }, + { no: 6, name: 'server_url', kind: 'scalar', T: 9 }, + { no: 7, name: 'disabled', kind: 'scalar', T: 8 }, + { no: 8, name: 'disabled_tools', kind: 'scalar', T: 9, repeated: !0 }, + { no: 10, name: 'enabled_tools', kind: 'scalar', T: 9, repeated: !0 }, + { + no: 9, + name: 'headers', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + { no: 5, name: 'server_index', kind: 'scalar', T: 13 }, + { no: 11, name: 'skip_tool_name_prefix', kind: 'scalar', T: 8 }, + { no: 12, name: 'skip_tool_description_prefix', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zi = class e extends r { + name = ''; + version = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.McpServerInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 }, + { no: 2, name: 'version', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $i = class e extends r { + title = ''; + markdown = ''; + metadata = {}; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.StepRenderInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'title', kind: 'scalar', T: 9 }, + { no: 2, name: 'markdown', kind: 'scalar', T: 9 }, + { + no: 3, + name: 'metadata', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + no = class e extends r { + serverName = ''; + toolCall; + serverInfo; + result = { case: void 0 }; + images = []; + media = []; + userRejected = !1; + renderInfo; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepMcpTool'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'server_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'tool_call', kind: 'message', T: x }, + { no: 4, name: 'server_info', kind: 'message', T: Zi }, + { no: 3, name: 'result_string', kind: 'scalar', T: 9, oneof: 'result' }, + { no: 8, name: 'result_uri', kind: 'scalar', T: 9, oneof: 'result' }, + { no: 5, name: 'images', kind: 'message', T: P, repeated: !0 }, + { no: 6, name: 'media', kind: 'message', T: C, repeated: !0 }, + { no: 7, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 9, name: 'render_info', kind: 'message', T: $i }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wd = class e extends r { + uri = ''; + name = ''; + description = ''; + mimeType = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.McpResource'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 3, name: 'description', kind: 'scalar', T: 9 }, + { no: 4, name: 'mime_type', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Vd = class e extends r { + uri = ''; + data = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.McpResourceContent'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'text', kind: 'message', T: Wr, oneof: 'data' }, + { no: 3, name: 'image', kind: 'message', T: P, oneof: 'data' }, + { no: 4, name: 'media_content', kind: 'message', T: C, oneof: 'data' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + eo = class e extends r { + serverName = ''; + cursor; + resources = []; + nextCursor = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepListResources'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'server_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'cursor', kind: 'scalar', T: 9, opt: !0 }, + { no: 3, name: 'resources', kind: 'message', T: Wd, repeated: !0 }, + { no: 4, name: 'next_cursor', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + to = class e extends r { + serverName = ''; + uri = ''; + contents = []; + skippedNonImageBinaryContent = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepReadResource'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'server_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'uri', kind: 'scalar', T: 9 }, + { no: 3, name: 'contents', kind: 'message', T: Vd, repeated: !0 }, + { no: 4, name: 'skipped_non_image_binary_content', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + VI = class e extends r { + summary = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepArtifactSummary'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'summary', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ao = class e extends r { + status = Ua.UNSPECIFIED; + feedback = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepManagerFeedback'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'status', kind: 'enum', T: a.getEnumType(Ua) }, + { no: 2, name: 'feedback', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ro = class e extends r { + toolCall; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepToolCallProposal'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'tool_call', kind: 'message', T: x }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + so = class e extends r { + proposalToolCalls = []; + choice = 0; + reason = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepToolCallChoice'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'proposal_tool_calls', + kind: 'message', + T: x, + repeated: !0, + }, + { no: 2, name: 'choice', kind: 'scalar', T: 13 }, + { no: 3, name: 'reason', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + io = class e extends r { + proposalTrajectoryIds = []; + choice = 0; + reason = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepTrajectoryChoice'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'proposal_trajectory_ids', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 2, name: 'choice', kind: 'scalar', T: 5 }, + { no: 3, name: 'reason', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + XI = class e extends r { + spec; + status = Ba.UNSPECIFIED; + error = ''; + tools = []; + toolErrors = []; + serverInfo; + instructions = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.McpServerState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'spec', kind: 'message', T: Xa }, + { no: 2, name: 'status', kind: 'enum', T: a.getEnumType(Ba) }, + { no: 3, name: 'error', kind: 'scalar', T: 9 }, + { no: 4, name: 'tools', kind: 'message', T: ue, repeated: !0 }, + { no: 7, name: 'tool_errors', kind: 'scalar', T: 9, repeated: !0 }, + { no: 5, name: 'server_info', kind: 'message', T: Zi }, + { no: 6, name: 'instructions', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + KI = class e extends r { + maxStepsToJudge = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TrajectoryJudgeConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'max_steps_to_judge', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + oo = class e extends r { + absolutePathUri = ''; + cciOffset = 0; + ccis = []; + outlineItems = []; + numItemsScanned = 0; + totalCciCount = 0; + numLines = 0; + numBytes = 0; + contents = ''; + contentLinesTruncated = 0; + triggeredMemories = ''; + rawContent = ''; + filePermissionRequest; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepViewFileOutline'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_path_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'cci_offset', kind: 'scalar', T: 13 }, + { no: 3, name: 'ccis', kind: 'message', T: I, repeated: !0 }, + { no: 9, name: 'outline_items', kind: 'scalar', T: 9, repeated: !0 }, + { no: 10, name: 'num_items_scanned', kind: 'scalar', T: 13 }, + { no: 4, name: 'total_cci_count', kind: 'scalar', T: 13 }, + { no: 5, name: 'num_lines', kind: 'scalar', T: 13 }, + { no: 6, name: 'num_bytes', kind: 'scalar', T: 13 }, + { no: 7, name: 'contents', kind: 'scalar', T: 9 }, + { no: 8, name: 'content_lines_truncated', kind: 'scalar', T: 13 }, + { no: 11, name: 'triggered_memories', kind: 'scalar', T: 9 }, + { no: 12, name: 'raw_content', kind: 'scalar', T: 9 }, + { no: 13, name: 'file_permission_request', kind: 'message', T: sn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Xd = class e extends r { + enabled; + numSteps = 0; + heuristicPrompts = []; + persistenceLevel = Fa.UNSPECIFIED; + browserEphemeralOptions = []; + excludeUnleashBrowserEphemeralOptions; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.EphemeralMessagesConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'num_steps', kind: 'scalar', T: 13 }, + { + no: 3, + name: 'heuristic_prompts', + kind: 'message', + T: Kd, + repeated: !0, + }, + { no: 4, name: 'persistence_level', kind: 'enum', T: a.getEnumType(Fa) }, + { + no: 5, + name: 'browser_ephemeral_options', + kind: 'enum', + T: a.getEnumType(Es), + repeated: !0, + }, + { + no: 6, + name: 'exclude_unleash_browser_ephemeral_options', + kind: 'scalar', + T: 8, + opt: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Kd = class e extends r { + heuristic = ''; + prompt = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.HeuristicPrompt'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'heuristic', kind: 'scalar', T: 9 }, + { no: 2, name: 'prompt', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vI = class e extends r { + revertedUris = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.RevertMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 4, name: 'reverted_uris', kind: 'scalar', T: 9, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zI = class e extends r { + length = 0; + tokens = 0; + numSkipped = 0; + numTruncated = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TrajectoryPrefixMetadata'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'length', kind: 'scalar', T: 13 }, + { no: 2, name: 'tokens', kind: 'scalar', T: 13 }, + { no: 3, name: 'num_skipped', kind: 'scalar', T: 13 }, + { no: 4, name: 'num_truncated', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + mo = class e extends r { + absoluteUri = ''; + symbol = ''; + line = 0; + occurrenceIndex = 0; + references = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepFindAllReferences'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'symbol', kind: 'scalar', T: 9 }, + { no: 3, name: 'line', kind: 'scalar', T: 13 }, + { no: 4, name: 'occurrence_index', kind: 'scalar', T: 13 }, + { no: 5, name: 'references', kind: 'message', T: vr, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + co = class e extends r { + code = ''; + language = ''; + modelWantsAutoRun = !1; + userFacingExplanation = ''; + output = ''; + userRejected = !1; + autoRunDecision = Ma.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepRunExtensionCode'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'code', kind: 'scalar', T: 9 }, + { no: 2, name: 'language', kind: 'scalar', T: 9 }, + { no: 6, name: 'model_wants_auto_run', kind: 'scalar', T: 8 }, + { no: 7, name: 'user_facing_explanation', kind: 'scalar', T: 9 }, + { no: 3, name: 'output', kind: 'scalar', T: 9 }, + { no: 4, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 5, name: 'auto_run_decision', kind: 'enum', T: a.getEnumType(Ma) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + uo = class e extends r { + acknowledgementType = b.UNSPECIFIED; + targetStepIndex = 0; + target = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepProposalFeedback'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'acknowledgement_type', + kind: 'enum', + T: a.getEnumType(b), + }, + { no: 2, name: 'target_step_index', kind: 'scalar', T: 13 }, + { + no: 3, + name: 'replacement_chunk', + kind: 'message', + T: Ne, + oneof: 'target', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + vd = class e extends r { + description = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TrajectoryDescription'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'cascade_conversation_title', + kind: 'scalar', + T: 9, + oneof: 'description', + }, + { + no: 2, + name: 'mainline_branch_name', + kind: 'scalar', + T: 9, + oneof: 'description', + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + lo = class e extends r { + id = ''; + query = ''; + idType = ya.UNSPECIFIED; + chunks = []; + trajectoryDescription; + totalChunks = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepTrajectorySearch'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 }, + { no: 2, name: 'query', kind: 'scalar', T: 9 }, + { no: 3, name: 'id_type', kind: 'enum', T: a.getEnumType(ya) }, + { no: 4, name: 'chunks', kind: 'message', T: Fn, repeated: !0 }, + { no: 5, name: 'trajectory_description', kind: 'message', T: vd }, + { no: 6, name: 'total_chunks', kind: 'scalar', T: 13 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Eo = class e extends r { + processId = ''; + name = ''; + contents = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepReadTerminal'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'process_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'name', kind: 'scalar', T: 9 }, + { no: 3, name: 'contents', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + zd = class e extends r { + prTitle = ''; + prBody = ''; + prUrl = ''; + existedPreviously = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TaskResolutionOpenPr'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'pr_title', kind: 'scalar', T: 9 }, + { no: 2, name: 'pr_body', kind: 'scalar', T: 9 }, + { no: 3, name: 'pr_url', kind: 'scalar', T: 9 }, + { no: 4, name: 'existed_previously', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + _o = class e extends r { + resolution = { case: void 0 }; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.TaskResolution'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'open_pr', kind: 'message', T: zd, oneof: 'resolution' }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jI = class e extends r { + absoluteUri = ''; + title = ''; + description = ''; + userRejected = !1; + resolution; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepResolveTask'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'absolute_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'title', kind: 'scalar', T: 9 }, + { no: 3, name: 'description', kind: 'scalar', T: 9 }, + { no: 4, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 5, name: 'resolution', kind: 'message', T: _o }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + jd = class e extends r { + snippet = ''; + lineNumber = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CodeSearchMatch'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'snippet', kind: 'scalar', T: 9 }, + { no: 2, name: 'line_number', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Qd = class e extends r { + path = ''; + matches = []; + changelist = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CodeSearchResults'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'path', kind: 'scalar', T: 9 }, + { no: 4, name: 'matches', kind: 'message', T: jd, repeated: !0 }, + { no: 5, name: 'changelist', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + To = class e extends r { + query = ''; + onlyPaths = !1; + allowDirs = !1; + results = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCodeSearch'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { no: 6, name: 'only_paths', kind: 'scalar', T: 8 }, + { no: 7, name: 'allow_dirs', kind: 'scalar', T: 8 }, + { no: 5, name: 'results', kind: 'message', T: Qd, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + fo = class e extends r { + pageId = ''; + index = 0; + text = ''; + pressEnter = !1; + clearText = !1; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserInput'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'index', kind: 'scalar', T: 5 }, + { no: 3, name: 'text', kind: 'scalar', T: 9 }, + { no: 4, name: 'press_enter', kind: 'scalar', T: 8 }, + { no: 5, name: 'clear_text', kind: 'scalar', T: 8 }, + { no: 6, name: 'page_metadata', kind: 'message', T: A }, + { no: 7, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + No = class e extends r { + pageId = ''; + x = 0; + y = 0; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserMoveMouse'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'x', kind: 'scalar', T: 5 }, + { no: 3, name: 'y', kind: 'scalar', T: 5 }, + { no: 6, name: 'page_metadata', kind: 'message', T: A }, + { no: 7, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + So = class e extends r { + pageId = ''; + index = 0; + value = ''; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserSelectOption'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'index', kind: 'scalar', T: 5 }, + { no: 3, name: 'value', kind: 'scalar', T: 9 }, + { no: 6, name: 'page_metadata', kind: 'message', T: A }, + { no: 7, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Io = class e extends r { + pageId = ''; + direction = _e.UNSPECIFIED; + scrollToEnd = !1; + scrollByElementIndex = !1; + elementIndex = 0; + pixelsScrolledX = 0; + pixelsScrolledY = 0; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserScroll'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'direction', kind: 'enum', T: a.getEnumType(_e) }, + { no: 3, name: 'scroll_to_end', kind: 'scalar', T: 8 }, + { no: 4, name: 'scroll_by_element_index', kind: 'scalar', T: 8 }, + { no: 5, name: 'element_index', kind: 'scalar', T: 5 }, + { no: 6, name: 'pixels_scrolled_x', kind: 'scalar', T: 5 }, + { no: 7, name: 'pixels_scrolled_y', kind: 'scalar', T: 5 }, + { no: 8, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + po = class e extends r { + pageId = ''; + scrollToEnd = !1; + scrollByElementIndex = !1; + elementIndex = 0; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserScrollUp'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'scroll_to_end', kind: 'scalar', T: 8 }, + { no: 3, name: 'scroll_by_element_index', kind: 'scalar', T: 8 }, + { no: 4, name: 'element_index', kind: 'scalar', T: 5 }, + { no: 5, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Oo = class e extends r { + pageId = ''; + scrollToEnd = !1; + scrollByElementIndex = !1; + elementIndex = 0; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserScrollDown'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'scroll_to_end', kind: 'scalar', T: 8 }, + { no: 3, name: 'scroll_by_element_index', kind: 'scalar', T: 8 }, + { no: 4, name: 'element_index', kind: 'scalar', T: 5 }, + { no: 5, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ao = class e extends r { + pageId = ''; + index = 0; + description = ''; + clickType = pn.UNSPECIFIED; + userRejected = !1; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserClickElement'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'index', kind: 'scalar', T: 5 }, + { no: 3, name: 'description', kind: 'scalar', T: 9 }, + { no: 5, name: 'click_type', kind: 'enum', T: a.getEnumType(pn) }, + { no: 4, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 6, name: 'page_metadata', kind: 'message', T: A }, + { no: 7, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Co = class e extends r { + pageId = ''; + includePreservedRequests = !1; + resourceTypes = []; + pageMetadata; + networkRequests = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserListNetworkRequests'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'include_preserved_requests', kind: 'scalar', T: 8 }, + { no: 3, name: 'resource_types', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'page_metadata', kind: 'message', T: A }, + { no: 5, name: 'network_requests', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ro = class e extends r { + pageId = ''; + requestId = ''; + pageMetadata; + networkRequestDetails = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserGetNetworkRequest'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'request_id', kind: 'scalar', T: 9 }, + { no: 3, name: 'page_metadata', kind: 'message', T: A }, + { no: 4, name: 'network_request_details', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + QI = class e extends r { + model = f.UNSPECIFIED; + modelInfoOverride; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ModelAliasResolutionPayload'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'model', kind: 'enum', T: a.getEnumType(f) }, + { no: 2, name: 'model_info_override', kind: 'message', T: tn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Lo = class e extends r { + pageId = ''; + x = 0; + y = 0; + dx = 0; + dy = 0; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserMouseWheel'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'x', kind: 'scalar', T: 5 }, + { no: 3, name: 'y', kind: 'scalar', T: 5 }, + { no: 4, name: 'dx', kind: 'scalar', T: 5 }, + { no: 5, name: 'dy', kind: 'scalar', T: 5 }, + { no: 6, name: 'page_metadata', kind: 'message', T: A }, + { no: 7, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Po = class e extends r { + pageId = ''; + button = ''; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserMouseUp'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'button', kind: 'scalar', T: 9 }, + { no: 3, name: 'page_metadata', kind: 'message', T: A }, + { no: 4, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Do = class e extends r { + pageId = ''; + button = ''; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserMouseDown'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'button', kind: 'scalar', T: 9 }, + { no: 3, name: 'page_metadata', kind: 'message', T: A }, + { no: 4, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ko = class e extends r { + pageId = ''; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserRefreshPage'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'page_metadata', kind: 'message', T: A }, + { no: 3, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + go = class e extends r { + pageId = ''; + key = ''; + text = ''; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserPressKey'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'key', kind: 'scalar', T: 9 }, + { no: 3, name: 'text', kind: 'scalar', T: 9 }, + { no: 5, name: 'page_metadata', kind: 'message', T: A }, + { no: 4, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + wo = class e extends r { + prompt = ''; + imagePaths = []; + imageName = ''; + generatedImage; + modelName = ''; + generatedMedia; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepGenerateImage'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'prompt', kind: 'scalar', T: 9 }, + { no: 2, name: 'image_paths', kind: 'scalar', T: 9, repeated: !0 }, + { no: 4, name: 'image_name', kind: 'scalar', T: 9 }, + { no: 3, name: 'generated_image', kind: 'message', T: P }, + { no: 5, name: 'model_name', kind: 'scalar', T: 9 }, + { no: 6, name: 'generated_media', kind: 'message', T: C }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Jo = class e extends r { + pageId = ''; + width = 0; + height = 0; + windowState = de.UNSPECIFIED; + userRejected = !1; + pageMetadata; + browserStateDiff = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserResizeWindow'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'width', kind: 'scalar', T: 5 }, + { no: 3, name: 'height', kind: 'scalar', T: 5 }, + { no: 6, name: 'window_state', kind: 'enum', T: a.getEnumType(de) }, + { no: 4, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 5, name: 'page_metadata', kind: 'message', T: A }, + { no: 7, name: 'browser_state_diff', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + xo = class e extends r { + pageId = ''; + waypoints = []; + userRejected = !1; + pageMetadata; + screenshotsWithDragFeedback = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepBrowserDragPixelToPixel'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'page_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'waypoints', kind: 'message', T: $r, repeated: !0 }, + { no: 6, name: 'user_rejected', kind: 'scalar', T: 8 }, + { no: 7, name: 'page_metadata', kind: 'message', T: A }, + { + no: 8, + name: 'screenshots_with_drag_feedback', + kind: 'message', + T: C, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Uo = class e extends r { + taskName = ''; + taskStatus = ''; + taskSummary = ''; + taskSummaryWithCitations = ''; + deltaSummary = ''; + deltaSummaryWithCitations = ''; + mode = _a.UNSPECIFIED; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepTaskBoundary'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'task_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'task_status', kind: 'scalar', T: 9 }, + { no: 3, name: 'task_summary', kind: 'scalar', T: 9 }, + { no: 4, name: 'task_summary_with_citations', kind: 'scalar', T: 9 }, + { no: 6, name: 'delta_summary', kind: 'scalar', T: 9 }, + { no: 7, name: 'delta_summary_with_citations', kind: 'scalar', T: 9 }, + { no: 5, name: 'mode', kind: 'enum', T: a.getEnumType(_a) }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Bo = class e extends r { + reviewAbsoluteUris = []; + notificationContent = ''; + isBlocking = !1; + confidenceScore = 0; + confidenceJustification = ''; + shouldAutoProceed = !1; + diffsUri = ''; + askForUserFeedback = !1; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepNotifyUser'; + static fields = a.util.newFieldList(() => [ + { + no: 1, + name: 'review_absolute_uris', + kind: 'scalar', + T: 9, + repeated: !0, + }, + { no: 2, name: 'notification_content', kind: 'scalar', T: 9 }, + { no: 3, name: 'is_blocking', kind: 'scalar', T: 8 }, + { no: 4, name: 'confidence_score', kind: 'scalar', T: 2 }, + { no: 5, name: 'confidence_justification', kind: 'scalar', T: 9 }, + { no: 8, name: 'should_auto_proceed', kind: 'scalar', T: 8 }, + { no: 6, name: 'diffs_uri', kind: 'scalar', T: 9 }, + { no: 7, name: 'ask_for_user_feedback', kind: 'scalar', T: 8 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Zd = class e extends r { + uriPath = ''; + stepIndices = []; + diff; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CodeAcknowledgementInfo'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'uri_path', kind: 'scalar', T: 9 }, + { no: 2, name: 'step_indices', kind: 'scalar', T: 13, repeated: !0 }, + { no: 3, name: 'diff', kind: 'message', T: me }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Fo = class e extends r { + isAccept = !1; + writtenFeedback = ''; + acknowledgementScope = ha.UNSPECIFIED; + codeAcknowledgementInfos = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepCodeAcknowledgement'; + static fields = a.util.newFieldList(() => [ + { no: 3, name: 'is_accept', kind: 'scalar', T: 8 }, + { no: 4, name: 'written_feedback', kind: 'scalar', T: 9 }, + { + no: 5, + name: 'acknowledgement_scope', + kind: 'enum', + T: a.getEnumType(ha), + }, + { + no: 7, + name: 'code_acknowledgement_infos', + kind: 'message', + T: Zd, + repeated: !0, + }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + $d = class e extends r { + url = ''; + title = ''; + content = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.InternalSearchResults'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'url', kind: 'scalar', T: 9 }, + { no: 2, name: 'title', kind: 'scalar', T: 9 }, + { no: 3, name: 'content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Mo = class e extends r { + query = ''; + results = []; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepInternalSearch'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'query', kind: 'scalar', T: 9 }, + { no: 2, name: 'results', kind: 'message', T: $d, repeated: !0 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + nT = class e extends r { + artifactUri = ''; + status = Ga.UNSPECIFIED; + lastReviewedTime; + lastReviewedContent = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ArtifactReviewState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'artifact_uri', kind: 'scalar', T: 9 }, + { no: 2, name: 'status', kind: 'enum', T: a.getEnumType(Ga) }, + { no: 3, name: 'last_reviewed_time', kind: 'message', T: _ }, + { no: 4, name: 'last_reviewed_content', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + yo = class e extends r { + enabled; + maxConversations = 0; + maxTitleChars = 0; + maxUserIntentChars = 0; + maxConversationLogsChars = 0; + maxArtifactSummaryChars = 0; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.ConversationHistoryConfig'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'enabled', kind: 'scalar', T: 8, opt: !0 }, + { no: 2, name: 'max_conversations', kind: 'scalar', T: 5 }, + { no: 3, name: 'max_title_chars', kind: 'scalar', T: 5 }, + { no: 4, name: 'max_user_intent_chars', kind: 'scalar', T: 5 }, + { no: 5, name: 'max_conversation_logs_chars', kind: 'scalar', T: 5 }, + { no: 6, name: 'max_artifact_summary_chars', kind: 'scalar', T: 5 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + ho = class e extends r { + message = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepSystemMessage'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'message', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Go = class e extends r { + durationMs = o.zero; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepWait'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'duration_ms', kind: 'scalar', T: 3 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + bo = class e extends r { + agentName = ''; + functionName = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepAgencyToolCall'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'agent_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'function_name', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + qo = class e extends r { + url = ''; + httpMethod = ''; + body = ''; + description = ''; + statusCode = 0; + response = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepWorkspaceAPI'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'url', kind: 'scalar', T: 9 }, + { no: 2, name: 'http_method', kind: 'scalar', T: 9 }, + { no: 3, name: 'body', kind: 'scalar', T: 9 }, + { no: 4, name: 'description', kind: 'scalar', T: 9 }, + { no: 5, name: 'status_code', kind: 'scalar', T: 5 }, + { no: 6, name: 'response', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + eT = class e extends r { + result = ''; + metadata = {}; + stepRenderInfo; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.GenericStepResult'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'result', kind: 'scalar', T: 9 }, + { + no: 2, + name: 'metadata', + kind: 'map', + K: 9, + V: { kind: 'scalar', T: 9 }, + }, + { no: 3, name: 'step_render_info', kind: 'message', T: $i }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Ho = class e extends r { + subagentName = ''; + prompt = ''; + result = ''; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepInvokeSubagent'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'subagent_name', kind: 'scalar', T: 9 }, + { no: 2, name: 'prompt', kind: 'scalar', T: 9 }, + { no: 3, name: 'result', kind: 'scalar', T: 9 }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Yo = class e extends r { + args = {}; + result; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'exa.cortex_pb.CortexStepGeneric'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'args', kind: 'map', K: 9, V: { kind: 'scalar', T: 9 } }, + { no: 2, name: 'result', kind: 'message', T: eT }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var Ka; +(function (e) { + ((e[(e.UNSPECIFIED = 0)] = 'UNSPECIFIED'), + (e[(e.IDLE = 1)] = 'IDLE'), + (e[(e.RUNNING = 2)] = 'RUNNING'), + (e[(e.CANCELING = 3)] = 'CANCELING')); +})(Ka || (Ka = {})); +a.util.setEnumType(Ka, 'gemini_coder.ExecutionStatus', [ + { no: 0, name: 'EXECUTION_STATUS_UNSPECIFIED' }, + { no: 1, name: 'EXECUTION_STATUS_IDLE' }, + { no: 2, name: 'EXECUTION_STATUS_RUNNING' }, + { no: 3, name: 'EXECUTION_STATUS_CANCELING' }, +]); +var ZI = class e extends r { + conversationId = ''; + trajectory; + state; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'gemini_coder.Conversation'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'conversation_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'trajectory', kind: 'message', T: Wn }, + { no: 3, name: 'state', kind: 'message', T: tT }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + tT = class e extends r { + trajectoryId = ''; + status = Ka.UNSPECIFIED; + stagedSteps = []; + executeConfig; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'gemini_coder.ConversationState'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'trajectory_id', kind: 'scalar', T: 9 }, + { no: 2, name: 'status', kind: 'enum', T: a.getEnumType(Ka) }, + { no: 3, name: 'staged_steps', kind: 'message', T: Wo, repeated: !0 }, + { no: 4, name: 'execute_config', kind: 'message', T: pe }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wn = class e extends r { + trajectoryId = ''; + cascadeId = ''; + trajectoryType = On.UNSPECIFIED; + steps = []; + parentReferences = []; + generatorMetadata = []; + executorMetadatas = []; + source = Te.UNSPECIFIED; + metadata; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'gemini_coder.Trajectory'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'trajectory_id', kind: 'scalar', T: 9 }, + { no: 6, name: 'cascade_id', kind: 'scalar', T: 9 }, + { no: 4, name: 'trajectory_type', kind: 'enum', T: a.getEnumType(On) }, + { no: 2, name: 'steps', kind: 'message', T: Wo, repeated: !0 }, + { + no: 5, + name: 'parent_references', + kind: 'message', + T: Ss, + repeated: !0, + }, + { + no: 3, + name: 'generator_metadata', + kind: 'message', + T: Is, + repeated: !0, + }, + { + no: 9, + name: 'executor_metadatas', + kind: 'message', + T: xi, + repeated: !0, + }, + { no: 8, name: 'source', kind: 'enum', T: a.getEnumType(Te) }, + { no: 7, name: 'metadata', kind: 'message', T: Ns }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }, + Wo = class e extends r { + type = j.UNSPECIFIED; + status = z.UNSPECIFIED; + metadata; + error; + permissions; + step = { case: void 0 }; + requestedInteraction; + userAnnotations; + subtrajectory; + constructor(n) { + (super(), a.util.initPartial(n, this)); + } + static runtime = a; + static typeName = 'gemini_coder.Step'; + static fields = a.util.newFieldList(() => [ + { no: 1, name: 'type', kind: 'enum', T: a.getEnumType(j) }, + { no: 4, name: 'status', kind: 'enum', T: a.getEnumType(z) }, + { no: 5, name: 'metadata', kind: 'message', T: As }, + { no: 31, name: 'error', kind: 'message', T: Ie }, + { no: 133, name: 'permissions', kind: 'message', T: Cs }, + { no: 140, name: 'generic', kind: 'message', T: Yo, oneof: 'step' }, + { no: 12, name: 'finish', kind: 'message', T: bs, oneof: 'step' }, + { no: 9, name: 'mquery', kind: 'message', T: Ys, oneof: 'step' }, + { no: 10, name: 'code_action', kind: 'message', T: Xs, oneof: 'step' }, + { no: 11, name: 'git_commit', kind: 'message', T: $s, oneof: 'step' }, + { no: 13, name: 'grep_search', kind: 'message', T: ni, oneof: 'step' }, + { no: 16, name: 'compile', kind: 'message', T: si, oneof: 'step' }, + { no: 22, name: 'view_code_item', kind: 'message', T: Ii, oneof: 'step' }, + { no: 24, name: 'error_message', kind: 'message', T: Ri, oneof: 'step' }, + { no: 28, name: 'run_command', kind: 'message', T: Li, oneof: 'step' }, + { no: 34, name: 'find', kind: 'message', T: ei, oneof: 'step' }, + { + no: 36, + name: 'suggested_responses', + kind: 'message', + T: Ci, + oneof: 'step', + }, + { no: 37, name: 'command_status', kind: 'message', T: Ki, oneof: 'step' }, + { + no: 40, + name: 'read_url_content', + kind: 'message', + T: Pi, + oneof: 'step', + }, + { + no: 41, + name: 'view_content_chunk', + kind: 'message', + T: ki, + oneof: 'step', + }, + { no: 42, name: 'search_web', kind: 'message', T: gi, oneof: 'step' }, + { no: 47, name: 'mcp_tool', kind: 'message', T: no, oneof: 'step' }, + { no: 55, name: 'clipboard', kind: 'message', T: Ji, oneof: 'step' }, + { + no: 58, + name: 'view_file_outline', + kind: 'message', + T: oo, + oneof: 'step', + }, + { no: 62, name: 'list_resources', kind: 'message', T: eo, oneof: 'step' }, + { no: 63, name: 'read_resource', kind: 'message', T: to, oneof: 'step' }, + { no: 64, name: 'lint_diff', kind: 'message', T: Ui, oneof: 'step' }, + { + no: 67, + name: 'open_browser_url', + kind: 'message', + T: hi, + oneof: 'step', + }, + { + no: 72, + name: 'trajectory_search', + kind: 'message', + T: lo, + oneof: 'step', + }, + { + no: 73, + name: 'execute_browser_javascript', + kind: 'message', + T: Gi, + oneof: 'step', + }, + { + no: 74, + name: 'list_browser_pages', + kind: 'message', + T: Hi, + oneof: 'step', + }, + { + no: 75, + name: 'capture_browser_screenshot', + kind: 'message', + T: Yi, + oneof: 'step', + }, + { + no: 76, + name: 'click_browser_pixel', + kind: 'message', + T: Wi, + oneof: 'step', + }, + { no: 77, name: 'read_terminal', kind: 'message', T: Eo, oneof: 'step' }, + { + no: 78, + name: 'capture_browser_console_logs', + kind: 'message', + T: Xi, + oneof: 'step', + }, + { + no: 79, + name: 'read_browser_page', + kind: 'message', + T: bi, + oneof: 'step', + }, + { + no: 80, + name: 'browser_get_dom', + kind: 'message', + T: qi, + oneof: 'step', + }, + { no: 85, name: 'code_search', kind: 'message', T: To, oneof: 'step' }, + { no: 86, name: 'browser_input', kind: 'message', T: fo, oneof: 'step' }, + { + no: 87, + name: 'browser_move_mouse', + kind: 'message', + T: No, + oneof: 'step', + }, + { + no: 88, + name: 'browser_select_option', + kind: 'message', + T: So, + oneof: 'step', + }, + { + no: 89, + name: 'browser_scroll_up', + kind: 'message', + T: po, + oneof: 'step', + }, + { + no: 90, + name: 'browser_scroll_down', + kind: 'message', + T: Oo, + oneof: 'step', + }, + { + no: 91, + name: 'browser_click_element', + kind: 'message', + T: Ao, + oneof: 'step', + }, + { + no: 137, + name: 'browser_list_network_requests', + kind: 'message', + T: Co, + oneof: 'step', + }, + { + no: 138, + name: 'browser_get_network_request', + kind: 'message', + T: Ro, + oneof: 'step', + }, + { + no: 92, + name: 'browser_press_key', + kind: 'message', + T: go, + oneof: 'step', + }, + { no: 93, name: 'task_boundary', kind: 'message', T: Uo, oneof: 'step' }, + { no: 94, name: 'notify_user', kind: 'message', T: Bo, oneof: 'step' }, + { + no: 95, + name: 'code_acknowledgement', + kind: 'message', + T: Fo, + oneof: 'step', + }, + { + no: 96, + name: 'internal_search', + kind: 'message', + T: Mo, + oneof: 'step', + }, + { + no: 97, + name: 'browser_subagent', + kind: 'message', + T: Mi, + oneof: 'step', + }, + { + no: 102, + name: 'knowledge_generation', + kind: 'message', + T: yi, + oneof: 'step', + }, + { + no: 104, + name: 'generate_image', + kind: 'message', + T: wo, + oneof: 'step', + }, + { + no: 101, + name: 'browser_scroll', + kind: 'message', + T: Io, + oneof: 'step', + }, + { + no: 109, + name: 'browser_resize_window', + kind: 'message', + T: Jo, + oneof: 'step', + }, + { + no: 110, + name: 'browser_drag_pixel_to_pixel', + kind: 'message', + T: xo, + oneof: 'step', + }, + { + no: 125, + name: 'browser_mouse_wheel', + kind: 'message', + T: Lo, + oneof: 'step', + }, + { + no: 134, + name: 'browser_mouse_up', + kind: 'message', + T: Po, + oneof: 'step', + }, + { + no: 135, + name: 'browser_mouse_down', + kind: 'message', + T: Do, + oneof: 'step', + }, + { + no: 139, + name: 'browser_refresh_page', + kind: 'message', + T: ko, + oneof: 'step', + }, + { + no: 111, + name: 'conversation_history', + kind: 'message', + T: js, + oneof: 'step', + }, + { + no: 112, + name: 'knowledge_artifacts', + kind: 'message', + T: Qs, + oneof: 'step', + }, + { + no: 113, + name: 'send_command_input', + kind: 'message', + T: Di, + oneof: 'step', + }, + { + no: 114, + name: 'system_message', + kind: 'message', + T: ho, + oneof: 'step', + }, + { no: 115, name: 'wait', kind: 'message', T: Go, oneof: 'step' }, + { no: 129, name: 'ki_insertion', kind: 'message', T: hs, oneof: 'step' }, + { no: 136, name: 'workspace_api', kind: 'message', T: qo, oneof: 'step' }, + { + no: 143, + name: 'invoke_subagent', + kind: 'message', + T: Ho, + oneof: 'step', + }, + { + no: 106, + name: 'compile_applet', + kind: 'message', + T: ii, + oneof: 'step', + }, + { + no: 107, + name: 'install_applet_dependencies', + kind: 'message', + T: oi, + oneof: 'step', + }, + { + no: 108, + name: 'install_applet_package', + kind: 'message', + T: mi, + oneof: 'step', + }, + { + no: 121, + name: 'set_up_firebase', + kind: 'message', + T: ci, + oneof: 'step', + }, + { + no: 123, + name: 'restart_dev_server', + kind: 'message', + T: ui, + oneof: 'step', + }, + { + no: 124, + name: 'deploy_firebase', + kind: 'message', + T: li, + oneof: 'step', + }, + { no: 126, name: 'lint_applet', kind: 'message', T: _i, oneof: 'step' }, + { no: 127, name: 'shell_exec', kind: 'message', T: Ei, oneof: 'step' }, + { + no: 128, + name: 'define_new_env_variable', + kind: 'message', + T: di, + oneof: 'step', + }, + { no: 142, name: 'write_blob', kind: 'message', T: Ti, oneof: 'step' }, + { + no: 116, + name: 'agency_tool_call', + kind: 'message', + T: bo, + oneof: 'step', + }, + { no: 19, name: 'user_input', kind: 'message', T: fi, oneof: 'step' }, + { + no: 20, + name: 'planner_response', + kind: 'message', + T: Ni, + oneof: 'step', + }, + { no: 14, name: 'view_file', kind: 'message', T: ti, oneof: 'step' }, + { no: 15, name: 'list_directory', kind: 'message', T: ai, oneof: 'step' }, + { + no: 105, + name: 'delete_directory', + kind: 'message', + T: ri, + oneof: 'step', + }, + { no: 30, name: 'checkpoint', kind: 'message', T: Hs, oneof: 'step' }, + { no: 98, name: 'file_change', kind: 'message', T: Ks, oneof: 'step' }, + { no: 100, name: 'move', kind: 'message', T: vs, oneof: 'step' }, + { + no: 103, + name: 'ephemeral_message', + kind: 'message', + T: zs, + oneof: 'step', + }, + { no: 7, name: 'dummy', kind: 'message', T: Gs, oneof: 'step' }, + { no: 8, name: 'plan_input', kind: 'message', T: qs, oneof: 'step' }, + { no: 21, name: 'file_breakdown', kind: 'message', T: Si, oneof: 'step' }, + { no: 23, name: 'write_to_file', kind: 'message', T: pi, oneof: 'step' }, + { no: 32, name: 'propose_code', kind: 'message', T: Zs, oneof: 'step' }, + { + no: 35, + name: 'search_knowledge_base', + kind: 'message', + T: Oi, + oneof: 'step', + }, + { + no: 39, + name: 'lookup_knowledge_base', + kind: 'message', + T: Ai, + oneof: 'step', + }, + { + no: 48, + name: 'manager_feedback', + kind: 'message', + T: ao, + oneof: 'step', + }, + { + no: 49, + name: 'tool_call_proposal', + kind: 'message', + T: ro, + oneof: 'step', + }, + { + no: 50, + name: 'tool_call_choice', + kind: 'message', + T: so, + oneof: 'step', + }, + { + no: 52, + name: 'trajectory_choice', + kind: 'message', + T: io, + oneof: 'step', + }, + { + no: 59, + name: 'check_deploy_status', + kind: 'message', + T: wi, + oneof: 'step', + }, + { no: 60, name: 'post_pr_review', kind: 'message', T: Qi, oneof: 'step' }, + { + no: 65, + name: 'find_all_references', + kind: 'message', + T: mo, + oneof: 'step', + }, + { no: 66, name: 'brain_update', kind: 'message', T: Fi, oneof: 'step' }, + { + no: 68, + name: 'run_extension_code', + kind: 'message', + T: co, + oneof: 'step', + }, + { no: 70, name: 'add_annotation', kind: 'message', T: Vi, oneof: 'step' }, + { + no: 71, + name: 'proposal_feedback', + kind: 'message', + T: uo, + oneof: 'step', + }, + { + no: 43, + name: 'retrieve_memory', + kind: 'message', + T: ji, + oneof: 'step', + }, + { no: 38, name: 'memory', kind: 'message', T: zi, oneof: 'step' }, + { no: 56, name: 'requested_interaction', kind: 'message', T: ys }, + { no: 69, name: 'user_annotations', kind: 'message', T: Rs }, + { no: 6, name: 'subtrajectory', kind: 'message', T: Wn }, + ]); + static fromBinary(n, t) { + return new e().fromBinary(n, t); + } + static fromJson(n, t) { + return new e().fromJson(n, t); + } + static fromJsonString(n, t) { + return new e().fromJsonString(n, t); + } + static equals(n, t) { + return a.util.equals(e, n, t); + } + }; +var $I = Buffer.from('safeCodeiumworldKeYsecretBalloon'), + Vo = 12, + aT = 16; +function Ap(e, n = $I) { + if (e.length < Vo + aT) throw new Error('Data too short'); + let t = e.subarray(0, Vo), + i = e.subarray(e.length - aT), + s = e.subarray(Vo, e.length - aT), + m = Oe.createDecipheriv('aes-256-gcm', n, t); + return (m.setAuthTag(i), Buffer.concat([m.update(s), m.final()])); +} +function Cp(e, n = $I) { + let t = Oe.randomBytes(Vo), + i = Oe.createCipheriv('aes-256-gcm', n, t), + s = Buffer.concat([i.update(e), i.final()]), + m = i.getAuthTag(); + return Buffer.concat([t, s, m]); +} +function _C(e) { + let n; + try { + n = Ap(e); + } catch { + n = e; + } + return Wn.fromBinary(n).toJson(); +} +function dC(e) { + let n = Wn.fromJson(e, { ignoreUnknownFields: !0 }), + t = Buffer.from(n.toBinary()); + return Cp(t); +} +export { + Ap as decrypt, + Cp as encrypt, + dC as jsonToTrajectory, + _C as trajectoryToJson, +};