Evidence and archive

main.js · part 236

Full reference
Topics
Status
Showing all 60

60 text occurrences from desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, part 236. Every entry preserves the shipped literal and its saved verdict or selection reason.

File contents and all parts · All files

Shipped text

Optional cross-check summary when multiple checks were investigated in one turn.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7679024–7679106, SHA-256 3acc2e16763b93af.

Jev judged not model-facing (confidence 0.52; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: Optional cross-check summary when multiple checks were investigated in one turn.

Optional cross-check summary when multiple checks were investigated in one turn.

Record structured CI investigation results for the Checks panel after subagent i

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7679820–7680112, SHA-256 66c35d99d141bb22.

Jev judged model-facing (confidence 0.83; role tool). This is a classifier judgment, not proof of delivery.

Readable form: a shipped code or data literal beginning “Record structured CI investigation results for the Checks panel after subagent i”. The exact literal is preserved below; its runtime purpose requires the surrounding source.

Record structured CI investigation results for the Checks panel after subagent investigation completes. Call once per investigation turn with one finding per failing check and an optional overall summary. Does not modify the repo or storage; findings are read from this tool call by the UI.

Recorded CI investigation findings for the Checks panel.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7680713–7680771, SHA-256 c4a6fe71eb1c53a0.

Jev judged not model-facing (confidence 0.19; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Recorded CI investigation findings for the Checks panel.

Recorded CI investigation findings for the Checks panel.

Error recording CI findings: ${e.result.value.error}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7681007–7681061, SHA-256 a0261f958b712835.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Error recording CI findings: ${e.result.value.error}

Error recording CI findings: ${e.result.value.error}

Unknown CI investigation findings result

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7681080–7681122, SHA-256 a86104d5c5c9c2fb.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Unknown CI investigation findings result

Unknown CI investigation findings result

Unhandled result case: ${String(t)}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7681165–7681202, SHA-256 67dbb063d7dd5fdb.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Unhandled result case: ${String(t)}

Unhandled result case: ${String(t)}

Object expected.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7681496–7681514, SHA-256 d588320af15c8b9c.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Object expected.

Object expected.

Symbol.asyncDispose is not defined.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7681574–7681611, SHA-256 daa66daf4a2ce51d.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Symbol.asyncDispose is not defined.

Symbol.asyncDispose is not defined.

Symbol.dispose is not defined.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7681692–7681724, SHA-256 4f970f848ba76c6c.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Symbol.dispose is not defined.

Symbol.dispose is not defined.

Object not disposable.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7681799–7681823, SHA-256 2fc540c51c4f1811.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Object not disposable.

Object not disposable.

An error was suppressed during disposal.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7682064–7682106, SHA-256 f5185cbeab3cd14b.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: An error was suppressed during disposal.

An error was suppressed during disposal.

One or two keywords, or a short exact phrase in quotes, to search for in convers

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7682780–7683019, SHA-256 8ae8fbd82939a1db.

Jev judged not model-facing (confidence 0.65; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: One or two keywords, or a short exact phrase in quotes, to search for in conversation titles and visible user/assistant message text. Every unquoted keyword must match the same conversation; use separate searches for additional keywords.

One or two keywords, or a short exact phrase in quotes, to search for in conversation titles and visible user/assistant message text. Every unquoted keyword must match the same conversation; use separate searches for additional keywords.

Maximum number of conversation results to return (1-100). Defaults to 20.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7683077–7683152, SHA-256 113a8be9e12ed27c.

Jev judged not model-facing (confidence 0.61; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: Maximum number of conversation results to return (1-100). Defaults to 20.

Maximum number of conversation results to return (1-100). Defaults to 20.

No matching conversations found.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7683289–7683323, SHA-256 aa0d5cae99519146.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: No matching conversations found.

No matching conversations found.

Found ${e.hits.length} conversation${1===e.hits.length?"":"s"}:

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7683326–7683391, SHA-256 c2b19fcfcfc3d152.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Found ${e.hits.length} conversation${1===e.hits.length?"":"s"}:

Found ${e.hits.length} conversation${1===e.hits.length?"":"s"}:

${t+1}. ${kF e.source ??"unknown"} "${e.title}" (id: ${e.conversationId}, upda

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7683520–7683612, SHA-256 ed30f96a35a5e1ef.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${t+1}. [${kF[e.source]??"unknown"}] "${e.title}" (id: ${e.conversationId}, updated: ${r})

${t+1}. [${kF[e.source]??"unknown"}] "${e.title}" (id: ${e.conversationId}, updated: ${r})

snippet: ${e.snippet}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7683668–7683694, SHA-256 776d08dd141f6d19.

Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: snippet: ${e.snippet}

   snippet: ${e.snippet}

Additional matches were omitted because the result limit was reached.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7683744–7683815, SHA-256 e487127c24bef885.

Jev judged not model-facing (confidence 0.05; role human). This is a classifier judgment, not proof of delivery.

Readable text: Additional matches were omitted because the result limit was reached.

Additional matches were omitted because the result limit was reached.

The conversation search index is rebuilding; results may be incomplete.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7683838–7683911, SHA-256 d67e503413e46328.

Jev judged not model-facing (confidence 0.05; role human). This is a classifier judgment, not proof of delivery.

Readable text: The conversation search index is rebuilding; results may be incomplete.

The conversation search index is rebuilding; results may be incomplete.

Search stopped early; partial results were returned.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7683931–7683985, SHA-256 df4246f4b458a8f2.

Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Search stopped early; partial results were returned.

Search stopped early; partial results were returned.

Search a fast local index of the user's local conversations and cached cloud age

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7684120–7684559, SHA-256 43031e72fe571518.

Jev judged model-facing (confidence 0.85; role tool). This is a classifier judgment, not proof of delivery.

Readable form: a shipped code or data literal beginning “Search a fast local index of the user's local conversations and cached cloud age”. The exact literal is preserved below; its runtime purpose requires the surrounding source.

Search a fast local index of the user's local conversations and cached cloud agent conversations. Every unquoted keyword must match the same conversation, so queries with many keywords often return no results; run several searches with 1–2 keywords each instead. Use quotes only for a short exact phrase. Returns conversation IDs, titles, and short snippets—not full transcripts. Some cloud agent conversations may not be searchable.

Unexpected result case: ${n.result.case}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7685168–7685210, SHA-256 0f8d49b352ea6cd5.

Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Unexpected result case: ${n.result.case}

Unexpected result case: ${n.result.case}

Conversation search failed: ${e.result.value.error}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7685456–7685509, SHA-256 ceedb94fd1828f4e.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Conversation search failed: ${e.result.value.error}

Conversation search failed: ${e.result.value.error}

Conversation search returned no result.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7685528–7685569, SHA-256 e2955efc7ac8769d.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Conversation search returned no result.

Conversation search returned no result.

Unhandled result case: ${t}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7685612–7685641, SHA-256 45ab3ee1fe83d8d6.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Unhandled result case: ${t}

Unhandled result case: ${t}

Conversation search failed

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7685720–7685748, SHA-256 b0780ff3663a582c.

Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.

Readable text: Conversation search failed

Conversation search failed

... (line ${i} omitted)

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7691388–7691413, SHA-256 8b5a17577f232a43.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ... (line ${i} omitted)

... (line ${i} omitted)

... (lines ${i}-${a} omitted)

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7691414–7691445, SHA-256 82c3873d7adba43b.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ... (lines ${i}-${a} omitted)

... (lines ${i}-${a} omitted)

${function(e,t){const r={};for(const t of e){const e=t.relativeWorkspacePath??""

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7692237–7692439, SHA-256 65136c00e0423806.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${function(e,t){const r={};for(const t of e){const e=t.relativeWorkspacePath??"";r[e]||(r[e]=[]),r[e].push(t)}let n="";for(const[e,s]of Object.entries(r))n+='${QF(e,s,t)}\n';return n}(n,r).trim()}

${function(e,t){const r={};for(const t of e){const e=t.relativeWorkspacePath??"";r[e]||(r[e]=[]),r[e].push(t)}let n="";for(const[e,s]of Object.entries(r))n+=`${QF(e,s,t)}\n`;return n}(n,r).trim()}

${QF(e,s,t)}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7692395–7692411, SHA-256 9d07c9140bef75fb.

Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${QF(e,s,t)}

${QF(e,s,t)}

${i}${o.map(e= function(e){const t=e.relativeWorkspacePath??"",r=e.range?.startP

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7692449–7693099, SHA-256 580046f9d859b4e5.

Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.

Readable form: a shipped code or data literal beginning “${i}${o.map(e= function(e){const t=e.relativeWorkspacePath??"",r=e.range?.startP”. The exact literal is preserved below; its runtime purpose requires the surrounding source.

${i}${o.map(e=>function(e){const t=e.relativeWorkspacePath??"",r=e.range?.startPosition?.line??0,n=e.range?.endPosition?.line??0,s=e.detailedLines??[],o=[];for(const e of s.slice(0,10)){if(!e.isSignature)break;{const t=e.text.trim();if(""===t||"..."===t)continue;Number.isInteger(e.lineNumber)?o.push(`${String(e.lineNumber).padStart(5," ")}|${e.text}`):o.push(e.text)}}const i=[`path="${t}"`];o.length>0&&i.push('showSignaturesOnly="true"');r>0&&i.push(`startLine="${r}"`);n>0&&n!==r&&i.push(`endLine="${n}"`);const a=`<search_result ${i.join(" ")}>`,c="</search_result>";return o.length>0?`${a}\n${o.join("\n")}\n${c}`:`${a}${c}`}(e)).join("\n")}

${String(e.lineNumber).padStart(5," ")} ${e.text}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7692751–7692802, SHA-256 0d8abc1b4558ba92.

Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${String(e.lineNumber).padStart(5," ")}|${e.text}

${String(e.lineNumber).padStart(5," ")}|${e.text}

search result ${i.join(" ")}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7692969–7693001, SHA-256 6f18a8b3a5f4b706.

Jev judged not model-facing (confidence 0.16; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: <search_result ${i.join(" ")}>

<search_result ${i.join(" ")}>

${a} ${o.join(" n")} ${c}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7693041–7693070, SHA-256 993de77d30b8ab4f.

Jev judged not model-facing (confidence 0.21; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${a} ${o.join("\n")} ${c}

${a}
${o.join("\n")}
${c}

One sentence explanation as to why this tool is being used, and how it contribut

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7693116–7693213, SHA-256 2e7809ad836c7513.

Jev judged not model-facing (confidence 0.74; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: One sentence explanation as to why this tool is being used, and how it contributes to the goal.

One sentence explanation as to why this tool is being used, and how it contributes to the goal.

A complete question about what you want to understand. Ask as if talking to a co

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7693346–7693502, SHA-256 78dd314c8ae87622.

Jev judged not model-facing (confidence 0.36; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: A complete question about what you want to understand. Ask as if talking to a colleague: 'How does X work?', 'What happens when Y?', 'Where is Z handled?'

A complete question about what you want to understand. Ask as if talking to a colleague: 'How does X work?', 'What happens when Y?', 'Where is Z handled?'

Prefix directory paths to limit search scope (single directory only, no glob pat

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7693547–7693635, SHA-256 cfbe9a3359b77e67.

Jev judged not model-facing (confidence 0.71; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: Prefix directory paths to limit search scope (single directory only, no glob patterns)

Prefix directory paths to limit search scope (single directory only, no glob patterns)

If true, only search pull requests and return no code results.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7693681–7693745, SHA-256 e6d1c55317aa527f.

Jev judged not model-facing (confidence 0.78; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: If true, only search pull requests and return no code results.

If true, only search pull requests and return no code results.

The number of results to return. Must be between 1 and ${r}.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7693880–7693942, SHA-256 e6fced4083daa708.

Jev judged not model-facing (confidence 0.77; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: The number of results to return. Must be between 1 and ${r}.

The number of results to return. Must be between 1 and ${r}.

The number of results to return. Defaults to ${r}. Do not specify a value larger

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7693943–7694036, SHA-256 361dc565b347de21.

Jev judged model-facing (confidence 0.8; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: The number of results to return. Defaults to ${r}. Do not specify a value larger than ${r}.

The number of results to return. Defaults to ${r}. Do not specify a value larger than ${r}.

A complete question about what you want to understand. Ask as if talking to a co · byte 7694291

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7694291–7694447, SHA-256 78dd314c8ae87622.

Jev judged not model-facing (confidence 0.29; role user_template). This is a classifier judgment, not proof of delivery.

Readable text: A complete question about what you want to understand. Ask as if talking to a colleague: 'How does X work?', 'What happens when Y?', 'Where is Z handled?'

A complete question about what you want to understand. Ask as if talking to a colleague: 'How does X work?', 'What happens when Y?', 'Where is Z handled?'

Prefix directory paths to limit search scope (single directory only, no glob pat · byte 7694492

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7694492–7694580, SHA-256 cfbe9a3359b77e67.

Jev judged not model-facing (confidence 0.72; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: Prefix directory paths to limit search scope (single directory only, no glob patterns)

Prefix directory paths to limit search scope (single directory only, no glob patterns)

The number of results to return. Must be between 1 and ${r}. · byte 7694664

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7694664–7694726, SHA-256 e6fced4083daa708.

Jev judged not model-facing (confidence 0.76; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: The number of results to return. Must be between 1 and ${r}.

The number of results to return. Must be between 1 and ${r}.

The number of results to return. Defaults to ${r}. Do not specify a value larger · byte 7694727

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7694727–7694820, SHA-256 361dc565b347de21.

Jev judged not model-facing (confidence 0.79; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: The number of results to return. Defaults to ${r}. Do not specify a value larger than ${r}.

The number of results to return. Defaults to ${r}. Do not specify a value larger than ${r}.

Object expected. · byte 7694993

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7694993–7695011, SHA-256 d588320af15c8b9c.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Object expected.

Object expected.

Symbol.asyncDispose is not defined. · byte 7695071

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7695071–7695108, SHA-256 daa66daf4a2ce51d.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Symbol.asyncDispose is not defined.

Symbol.asyncDispose is not defined.

Symbol.dispose is not defined. · byte 7695189

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7695189–7695221, SHA-256 4f970f848ba76c6c.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Symbol.dispose is not defined.

Symbol.dispose is not defined.

Object not disposable. · byte 7695296

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7695296–7695320, SHA-256 2fc540c51c4f1811.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Object not disposable.

Object not disposable.

An error was suppressed during disposal. · byte 7695561

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7695561–7695603, SHA-256 f5185cbeab3cd14b.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: An error was suppressed during disposal.

An error was suppressed during disposal.

SemanticSearch : semantic search that finds code by meaning, not exact text

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7696196–7696274, SHA-256 80ebe9d922adb3eb.

Jev judged not model-facing (confidence 0.65; role tool). This is a classifier judgment, not proof of delivery.

Readable text: 'SemanticSearch': semantic search that finds code by meaning, not exact text

`SemanticSearch`: semantic search that finds code by meaning, not exact text

Find snippets of code from the codebase most relevant to the search query. This

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7696297–7696797, SHA-256 86b37569840b0f2a.

Jev judged model-facing (confidence 0.87; role tool). This is a classifier judgment, not proof of delivery.

Readable text: Find snippets of code from the codebase most relevant to the search query. This is a semantic search tool, so the query should ask for something semantically matching what is needed. Ask a complete question about what you want to understand…

Find snippets of code from the codebase most relevant to the search query.
This is a semantic search tool, so the query should ask for something semantically matching what is needed.
Ask a complete question about what you want to understand. Ask as if talking to a colleague: 'How does X work?', 'What happens when Y?', 'Where is Z handled?
If it makes sense to only search in particular directories, please specify them in the target_directories field (single directory only, no glob patterns).

${t} : semantic search that finds code by meaning, not exact text When to U

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7696961–7700989, SHA-256 8b4f577f6c42e32b.

Jev judged model-facing (confidence 0.89; role tool). This is a classifier judgment, not proof of delivery.

Readable text: '${t}': semantic search that finds code by meaning, not exact text ### When to Use This Tool Use '${t}' when you need to: - Explore unfamiliar codebases - Ask "how / where / what" questions to understand behavior - Find code by meaning r…


`${t}`: semantic search that finds code by meaning, not exact text

### When to Use This Tool

Use `${t}` when you need to:
- Explore unfamiliar codebases
- Ask "how / where / what" questions to understand behavior
- Find code by meaning rather than exact text

### When NOT to Use

Skip `${t}` for:
1. Exact text matches (use `${r}`)
2. Reading known files (use `${n}`)
3. Simple symbol lookups (use `${r}`)
4. Find file by name (use `${yt(e,"GLOB")}`)

### Examples

<example>
  Query: "Where is interface MyInterface implemented in the frontend?"
<reasoning>
  Good: Complete question asking about implementation location with specific context (frontend).
</reasoning>
</example>

<example>
  Query: "Where do we encrypt user passwords before saving?"
<reasoning>
  Good: Clear question about a specific process with context about when it happens.
</reasoning>
</example>

<example>
  Query: "MyInterface frontend"
<reasoning>
  BAD: Too vague; use a specific question instead. This would be better as "Where is MyInterface used in the frontend?"
</reasoning>
</example>

<example>
  Query: "AuthService"
<reasoning>
  BAD: Single word searches should use `${r}` for exact text matching instead.
</reasoning>
</example>

<example>
  Query: "What is AuthService? How does AuthService work?"
<reasoning>
  BAD: Combines two separate queries. A single semantic search is not good at looking for multiple things in parallel. Split into separate parallel searches: like "What is AuthService?" and "How does AuthService work?"
</reasoning>
</example>

### Target Directories

- Provide ONE directory or file path; [] searches the whole repo. No globs or wildcards.
  Good:
  - ["backend/api/"]   - focus directory
  - ["src/components/Button.tsx"] - single file
  - [] - search everywhere when unsure
  BAD:
  - ["frontend/", "backend/"] - multiple paths
  - ["src/**/utils/**"] - globs
  - ["*.ts"] or ["**/*"] - wildcard paths

### Search Strategy

1. Start with exploratory queries - semantic search is powerful and often finds relevant context in one go. Begin broad with [] if you're not sure where relevant code is.
2. Review results; if a directory or file stands out, rerun with that as the target.
3. Break large questions into smaller ones (e.g. auth roles vs session storage).
4. For big files (>1K lines) run `${t}`, or `${r}` if you know the exact symbols you're looking for, scoped to that file instead of reading the entire file.

<example>
  Step 1: { "query": "How does user authentication work?", "target_directories": [], "explanation": "Find auth flow" }
  Step 2: Suppose results point to backend/auth/ → rerun:
          { "query": "Where are user roles checked?", "target_directories": ["backend/auth/"], "explanation": "Find role logic" }
<reasoning>
  Good strategy: Start broad to understand overall system, then narrow down to specific areas based on initial results.
</reasoning>
</example>

<example>
  Query: "How are websocket connections handled?"
  Target: ["backend/services/realtime.ts"]
<reasoning>
  Good: We know the answer is in this specific file, but the file is too large to read entirely, so we use semantic search to find the relevant parts.
</reasoning>
</example>

### Usage
- When full chunk contents are provided, avoid re-reading the exact same chunk contents using the ${n} tool.
- Sometimes, just the chunk signatures and not the full chunks will be shown. Chunk signatures are usually Class or Function signatures that chunks are contained in. Use the ${n} or ${r} tools to explore these chunks or files if you think they might be relevant.
- When reading chunks that weren't provided as full chunks (e.g. only as line ranges or signatures), you'll sometimes want to expand the chunk ranges to include the start of the file to see imports, expand the range to include lines from the signature, or expand the range to read multiple chunks from a file at once.

Unhandled version: ${e}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7701025–7701050, SHA-256 bd19ee66999226d4.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Unhandled version: ${e}

Unhandled version: ${e}

Unhandled version: ${e} · byte 7701553

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7701553–7701578, SHA-256 bd19ee66999226d4.

Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Unhandled version: ${e}

Unhandled version: ${e}

No codebase index found. Use other search tools.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7701930–7701980, SHA-256 cc4755ff566e9b26.

Jev judged not model-facing (confidence 0.24; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: No codebase index found. Use other search tools.

No codebase index found. Use other search tools.

Index invalid. Use other search tools.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7702049–7702089, SHA-256 aa6dad5a8ca3ec41.

Jev judged not model-facing (confidence 0.15; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Index invalid. Use other search tools.

Index invalid. Use other search tools.

Codebase search is unavailable for this conversation because the codebase index

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7703495–7703709, SHA-256 f1cea01be8ab93ca.

Jev judged not model-facing (confidence 0.57; role human). This is a classifier judgment, not proof of delivery.

Readable text: Codebase search is unavailable for this conversation because the codebase index could not be found. Do not retry ${e}. Use ${t?.GREP?.name??"Grep"}, ${t?.GLOB?.name??"Glob"}, and ${t?.READ?.name??"Read"} instead.

Codebase search is unavailable for this conversation because the codebase index could not be found. Do not retry ${e}. Use ${t?.GREP?.name??"Grep"}, ${t?.GLOB?.name??"Glob"}, and ${t?.READ?.name??"Read"} instead.

The semantic search results are empty. Consider using a different search query o

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7705048–7705183, SHA-256 8093382de6578713.

Jev judged not model-facing (confidence 0.1; role human). This is a classifier judgment, not proof of delivery.

Readable text: The semantic search results are empty. Consider using a different search query or using grep search instead to find relevant results.

The semantic search results are empty. Consider using a different search query or using grep search instead to find relevant results.

Error: ${t.value.errorMessage}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7705807–7705839, SHA-256 98c13a2dd4a8f69f.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Error: ${t.value.errorMessage}

Error: ${t.value.errorMessage}

Unknown error

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7705864–7705879, SHA-256 70e280a3cf0ea5f5.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Unknown error

Unknown error