main.js · part 238
Full reference60 text occurrences from desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, part 238. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
Before executing the command, please follow these steps:
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7717228–7717286, SHA-256 18a4066a5f2b99ae.
Jev judged not model-facing (confidence 0.5; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Before executing the command, please follow these steps:
Before executing the command, please follow these steps:
Check for Running Processes:
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7717347–7717377, SHA-256 e55ff419a2fe1e98.
Jev judged not model-facing (confidence 0.42; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Check for Running Processes:
Check for Running Processes:
Before starting dev servers or long-running processes that should not be duplica
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7717417–7717591, SHA-256 a5ecd492aafaabd4.
Jev judged not model-facing (confidence 0.36; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Before starting dev servers or long-running processes that should not be duplicated, search the terminals folder to check if they are already running in existing terminals.
Before starting dev servers or long-running processes that should not be duplicated, search the terminals folder to check if they are already running in existing terminals.
You can use this information to determine which terminal, if any, matches the co
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7717612–7717815, SHA-256 24f3857ef13bdc6c.
Jev judged not model-facing (confidence 0.35; role documentation). This is a classifier judgment, not proof of delivery.
Readable text: You can use this information to determine which terminal, if any, matches the command you want to run, contains the output from the command you want to inspect, or has changed since you last read them.
You can use this information to determine which terminal, if any, matches the command you want to run, contains the output from the command you want to inspect, or has changed since you last read them.
Since these are text files, you can read any terminal's contents simply by readi
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7717837–7717930, SHA-256 40d28d3c8f3cf408.
Jev judged not model-facing (confidence 0.3; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Since these are text files, you can read any terminal's contents simply by reading the file
Since these are text files, you can read any terminal's contents simply by reading the file
, search using
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7717950–7717967, SHA-256 7bb1116732dcab57.
Jev judged not model-facing (confidence 0.26; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: , search using
, search using
Directory Verification:
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718031–7718056, SHA-256 ac471f5f46f3383f.
Jev judged not model-facing (confidence 0.15; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Directory Verification:
Directory Verification:
If the command will create new directories or files, first run ls to verify the
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718096–7718229, SHA-256 b2a6c6c4f9760371.
Jev judged not model-facing (confidence 0.25; role human). This is a classifier judgment, not proof of delivery.
Readable text: If the command will create new directories or files, first run ls to verify the parent directory exists and is the correct location
If the command will create new directories or files, first run ls to verify the parent directory exists and is the correct location
For example, before running "mkdir foo/bar", first run 'ls' to check that "foo"
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718250–7718377, SHA-256 7e1c21a61cfd7e8c.
Jev judged not model-facing (confidence 0.29; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: For example, before running "mkdir foo/bar", first run 'ls' to check that "foo" exists and is the intended parent directory
For example, before running "mkdir foo/bar", first run 'ls' to check that "foo" exists and is the intended parent directory
Command Execution:
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718422–7718442, SHA-256 ec41b589dfde30e9.
Jev judged not model-facing (confidence 0.42; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Command Execution:
Command Execution:
Always quote file paths that contain spaces with double quotes (e.g., cd "path w
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718482–7718585, SHA-256 983979a1f8e5517a.
Jev judged not model-facing (confidence 0.63; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Always quote file paths that contain spaces with double quotes (e.g., cd "path with spaces/file.txt")
Always quote file paths that contain spaces with double quotes (e.g., cd "path with spaces/file.txt")
Examples of proper quoting:
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718607–7718636, SHA-256 238d4d67c1b7d3bd.
Jev judged not model-facing (confidence 0.22; role documentation). This is a classifier judgment, not proof of delivery.
Readable text: Examples of proper quoting:
Examples of proper quoting:
cd "/Users/name/My Documents" (correct)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718674–7718715, SHA-256 161a022d150eb4e5.
Not classified: Source failed the privacy boundary.
Readable text: cd "/Users/name/My Documents" (correct)
cd "/Users/name/My Documents" (correct)
cd /Users/name/My Documents (incorrect - will fail)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718736–7718789, SHA-256 e537ddb34d6d8204.
Not classified: Source failed the privacy boundary.
Readable text: cd /Users/name/My Documents (incorrect - will fail)
cd /Users/name/My Documents (incorrect - will fail)
python "/path/with spaces/script.py" (correct)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718810–7718858, SHA-256 81e5976eebc453aa.
Jev judged not model-facing (confidence 0.18; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: python "/path/with spaces/script.py" (correct)
python "/path/with spaces/script.py" (correct)
python /path/with spaces/script.py (incorrect - will fail)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718879–7718939, SHA-256 194cabcf814059fc.
Jev judged not model-facing (confidence 0.14; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: python /path/with spaces/script.py (incorrect - will fail)
python /path/with spaces/script.py (incorrect - will fail)
Treat the command argument as executable shell text: backticks and $() perform
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7718969–7719162, SHA-256 ca7f842285721345.
Jev judged not model-facing (confidence 0.64; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Treat the command argument as executable shell text: backticks and '$()' perform command substitution. Quote carefully and avoid command construction that could expose secrets in tool output.
Treat the command argument as executable shell text: backticks and `$()` perform command substitution. Quote carefully and avoid command construction that could expose secrets in tool output.
After ensuring proper quoting, execute the command.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7719183–7719236, SHA-256 d14a1fc35650bf2f.
Jev judged not model-facing (confidence 0.67; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: After ensuring proper quoting, execute the command.
After ensuring proper quoting, execute the command.
Capture the output of the command.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7719257–7719293, SHA-256 6b799ac7499d5ce7.
Jev judged not model-facing (confidence 0.71; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Capture the output of the command.
Capture the output of the command.
IMPORTANT: Do not run any long-lived processes such as watch commands, dev comma
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7719326–7719633, SHA-256 7db573311a80bb4a.
Jev judged model-facing (confidence 0.82; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: IMPORTANT: Do not run any long-lived processes such as watch commands, dev commands that run forever (like npm run dev for react apps), or anything that is a background process. This makes the conversation hang forever for the user. It is e…
IMPORTANT: Do not run any long-lived processes such as watch commands, dev commands that run forever (like npm run dev for react apps), or anything that is a background process. This makes the conversation hang forever for the user. It is essential to avoid this, and refuse if the user asks you to do so.
Usage notes:
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7719653–7719667, SHA-256 3eb476b6ce7e753d.
Jev judged not model-facing (confidence 0.44; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Usage notes:
Usage notes:
The command argument is required.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7719707–7719742, SHA-256 f173885596f2da34.
Jev judged not model-facing (confidence 0.37; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: The command argument is required.
The command argument is required.
The shell starts in the workspace root and is stateful across sequential calls.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7719763–7720139, SHA-256 16a1a779b6864ea6.
Jev judged model-facing (confidence 0.86; role tool). This is a classifier judgment, not proof of delivery.
Readable text: The shell starts in the workspace root and is stateful across sequential calls. Current working directory and environment variables persist between calls. Use the 'working_directory' parameter to run commands in different directories. Examp…
The shell starts in the workspace root and is stateful across sequential calls. Current working directory and environment variables persist between calls. Use the `working_directory` parameter to run commands in different directories. Example: to run `npm install` in the `frontend` folder, set `working_directory: "frontend"` rather than using `cd frontend && npm install`.
You can specify an optional timeout in milliseconds (up to 600000ms / 10 minutes
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7720164–7720316, SHA-256 d5f3f8c7be5d02c8.
Jev judged not model-facing (confidence 0.48; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: You can specify an optional timeout in milliseconds (up to 600000ms / 10 minutes). If not specified, commands will timeout after 30000ms (30 seconds).
You can specify an optional timeout in milliseconds (up to 600000ms / 10 minutes). If not specified, commands will timeout after 30000ms (30 seconds).
It is very helpful if you write a clear, concise description of what this comman
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7720337–7720440, SHA-256 ad6027ebeda4fc59.
Jev judged not model-facing (confidence 0.37; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: It is very helpful if you write a clear, concise description of what this command does in 5-10 words.
It is very helpful if you write a clear, concise description of what this command does in 5-10 words.
Avoid using search commands like find and grep .
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7720462–7720515, SHA-256 9aa40f44245a1a3e.
Jev judged not model-facing (confidence 0.53; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Avoid using search commands like 'find' and 'grep'.
Avoid using search commands like `find` and `grep`.
Instead prefer
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7720541–7720558, SHA-256 e21ab8a106f6a20b.
Jev judged not model-facing (confidence 0.29; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Instead prefer
Instead prefer
to search.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7720592–7720605, SHA-256 f233c61d86be8872.
Jev judged not model-facing (confidence 0.22; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: to search.
to search.
Avoid read tools like cat , head , and tail , and prefer
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7720633–7720695, SHA-256 d48d1bb77224311a.
Jev judged not model-facing (confidence 0.52; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Avoid read tools like 'cat', 'head', and 'tail', and prefer
Avoid read tools like `cat`, `head`, and `tail`, and prefer
to read files.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7720698–7720715, SHA-256 46fb9d6a7a3dca69.
Jev judged not model-facing (confidence 0.39; role tool). This is a classifier judgment, not proof of delivery.
Readable text: to read files.
to read files.
Avoid editing files with tools like sed and awk , use
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7720739–7720799, SHA-256 6ba814433bc9710a.
Jev judged not model-facing (confidence 0.45; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Avoid editing files with tools like 'sed' and 'awk', use
Avoid editing files with tools like `sed` and `awk`, use
Don't pipe a command's output through head , tail , or sed -n (or similar) j
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7720841–7721131, SHA-256 1e341e5f9a7cebe7.
Jev judged not model-facing (confidence 0.69; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Don't pipe a command's output through 'head', 'tail', or 'sed -n' (or similar) just to limit its length — large output is automatically written to a terminal file that you can read in full, so truncating only risks discarding information yo…
Don't pipe a command's output through `head`, `tail`, or `sed -n` (or similar) just to limit its length — large output is automatically written to a terminal file that you can read in full, so truncating only risks discarding information you need (especially for long-running commands).
If you still need to run grep , STOP. ALWAYS USE ripgrep at rg first, which
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7721152–7721264, SHA-256 772745c6b8247c06.
Jev judged not model-facing (confidence 0.68; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: If you _still_ need to run 'grep', STOP. ALWAYS USE ripgrep at 'rg' first, which all users have pre-installed.
If you _still_ need to run `grep`, STOP. ALWAYS USE ripgrep at `rg` first, which all users have pre-installed.
You do not need to use ' ' at the end of commands when setting is background: t
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7721289–7721376, SHA-256 595213d1392986bf.
Jev judged not model-facing (confidence 0.71; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: You do not need to use '&' at the end of commands when setting 'is_background: true'.
You do not need to use '&' at the end of commands when setting `is_background: true`.
When issuing multiple commands:
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7721398–7721431, SHA-256 6ec7e8a6d13b2512.
Jev judged not model-facing (confidence 0.57; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: When issuing multiple commands:
When issuing multiple commands:
If the commands are independent and can run in parallel, make multiple
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7721470–7721543, SHA-256 c435a976fe6c6cc4.
Jev judged not model-facing (confidence 0.72; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: If the commands are independent and can run in parallel, make multiple
If the commands are independent and can run in parallel, make multiple
tool calls in a single message. For example, if you need to run "git status" and
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7721550–7721676, SHA-256 566299bc6848d505.
Jev judged not model-facing (confidence 0.55; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: tool calls in a single message. For example, if you need to run "git status" and "git diff", send a single message with two
tool calls in a single message. For example, if you need to run "git status" and "git diff", send a single message with two
tool calls in parallel.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7721679–7721705, SHA-256 ba850a5d12302528.
Jev judged not model-facing (confidence 0.53; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: tool calls in parallel.
tool calls in parallel.
If the commands depend on each other and must run sequentially, use a single
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7721728–7721806, SHA-256 9e60f939a6950437.
Jev judged not model-facing (confidence 0.7; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: If the commands depend on each other and must run sequentially, use a single
If the commands depend on each other and must run sequentially, use a single
call with ' ' to chain them together (e.g., git add . git commit -m "messag
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7721813–7722005, SHA-256 bab60f03a2022c01.
Jev judged not model-facing (confidence 0.38; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: call with '&&' to chain them together (e.g., 'git add . && git commit -m "message" && git push'). For instance, if one operation must complete before another starts (like mkdir before cp,
call with '&&' to chain them together (e.g., `git add . && git commit -m "message" && git push`). For instance, if one operation must complete before another starts (like mkdir before cp,
for git operations,
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7722045–7722067, SHA-256 d330f222d138b26c.
Jev judged not model-facing (confidence 0.46; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: for git operations,
for git operations,
or git add before git commit), run these operations sequentially instead.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7722075–7722150, SHA-256 0e10813a601682ef.
Jev judged not model-facing (confidence 0.19; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: or git add before git commit), run these operations sequentially instead.
or git add before git commit), run these operations sequentially instead.
Use ';' only when you need to run commands sequentially but don't care if earlie
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7722172–7722269, SHA-256 2b23462497f2339a.
Jev judged not model-facing (confidence 0.56; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Use ';' only when you need to run commands sequentially but don't care if earlier commands fail
Use ';' only when you need to run commands sequentially but don't care if earlier commands fail
DO NOT use newlines to separate commands (newlines are ok in quoted strings)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7722290–7722368, SHA-256 6be4f24cbab87540.
Jev judged not model-facing (confidence 0.5; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: DO NOT use newlines to separate commands (newlines are ok in quoted strings)
DO NOT use newlines to separate commands (newlines are ok in quoted strings)
When adding new dependencies, prefer using the package manager (e.g. npm, pip) t
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7722432–7722575, SHA-256 0853c387798b799d.
Jev judged not model-facing (confidence 0.55; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: When adding new dependencies, prefer using the package manager (e.g. npm, pip) to add the latest version. Do not make up dependency versions.
When adding new dependencies, prefer using the package manager (e.g. npm, pip) to add the latest version. Do not make up dependency versions.
Managing long-running commands
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7722601–7722633, SHA-256 ddf6bb519f110f8e.
Jev judged not model-facing (confidence 0.19; role documentation). This is a classifier judgment, not proof of delivery.
Readable text: Managing long-running commands
Managing long-running commands
Commands that don't complete within block until ms (default
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7722698–7722761, SHA-256 79ce2401461298b4.
Jev judged not model-facing (confidence 0.23; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Commands that don't complete within 'block_until_ms' (default
Commands that don't complete within `block_until_ms` (default
${hL(c)}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7722762–7722773, SHA-256 8e7b76f23662d4c6.
Jev judged not model-facing (confidence 0.14; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${hL(c)}
${hL(c)}
) are moved to background. The command keeps running and output streams to a ter
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7722774–7722979, SHA-256 6e2d802af80043b5.
Jev judged not model-facing (confidence 0.15; role documentation). This is a classifier judgment, not proof of delivery.
Readable text: ) are moved to background. The command keeps running and output streams to a terminal file. Set 'block_until_ms: 0' to immediately background (use for dev servers, watchers, or any long-running process).
) are moved to background. The command keeps running and output streams to a terminal file. Set `block_until_ms: 0` to immediately background (use for dev servers, watchers, or any long-running process).
You do not need to use ' ' at the end of commands.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7723020–7723072, SHA-256 c75ea03b5b109a04.
Jev judged not model-facing (confidence 0.37; role documentation). This is a classifier judgment, not proof of delivery.
Readable text: You do not need to use '&' at the end of commands.
You do not need to use '&' at the end of commands.
Make sure to set block until ms to higher than the command's expected runtime.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7723112–7723394, SHA-256 00409e709289ca39.
Jev judged not model-facing (confidence 0.35; role documentation). This is a classifier judgment, not proof of delivery.
Readable form: a shipped code or data literal beginning “Make sure to set block until ms to higher than the command's expected runtime.”. The exact literal is preserved below; its runtime purpose requires the surrounding source.
Make sure to set `block_until_ms` to higher than the command's expected runtime. Add some buffer since block_until_ms includes shell startup time; increase buffer next time based on `elapsed_ms` if you chose too low. E.g. if you sleep for 40s, recommended `block_until_ms` is 45s.
Monitoring backgrounded commands:
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7723446–7723481, SHA-256 6d0b2d1ce486e91a.
Jev judged not model-facing (confidence 0.2; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Monitoring backgrounded commands:
Monitoring backgrounded commands:
When command moves to background, check status immediately by reading the termin
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7723521–7723611, SHA-256 1d48ecdc5f99de80.
Jev judged not model-facing (confidence 0.36; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: When command moves to background, check status immediately by reading the terminal file.
When command moves to background, check status immediately by reading the terminal file.
Header has pid and running for ms (updated every 5000ms)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7723632–7723694, SHA-256 1b8c6de5e402350f.
Jev judged not model-facing (confidence 0.38; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Header has 'pid' and 'running_for_ms' (updated every 5000ms)
Header has `pid` and `running_for_ms` (updated every 5000ms)
When finished, footer with exit code and elapsed ms appears.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7723715–7723781, SHA-256 68711626b035439e.
Jev judged not model-facing (confidence 0.36; role context). This is a classifier judgment, not proof of delivery.
Readable text: When finished, footer with 'exit_code' and 'elapsed_ms' appears.
When finished, footer with `exit_code` and `elapsed_ms` appears.
Poll repeatedly to monitor by sleeping between checks. If the file gets large, r
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7723802–7723943, SHA-256 7316c91c9a963e53.
Jev judged not model-facing (confidence 0.54; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Poll repeatedly to monitor by sleeping between checks. If the file gets large, read from the end of the file to capture the latest content.
Poll repeatedly to monitor by sleeping between checks. If the file gets large, read from the end of the file to capture the latest content.
Pick your sleep intervals using best guess/judgment based on any knowledge you h
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7723964–7724288, SHA-256 4611964af0c1411e.
Jev judged not model-facing (confidence 0.64; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Pick your sleep intervals using best guess/judgment based on any knowledge you have about the command and its expected runtime, and any output from monitoring the command. When no new output, exponential backoff is a good strategy (e.g. sle…
Pick your sleep intervals using best guess/judgment based on any knowledge you have about the command and its expected runtime, and any output from monitoring the command. When no new output, exponential backoff is a good strategy (e.g. sleep 2000ms, 4000ms, 8000ms, 16000ms...), using educated guess for min and max wait.
If it's longer than expected and the command seems like it is hung, kill the pro
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7724309–7724500, SHA-256 aa41adff2ea2479b.
Jev judged not model-facing (confidence 0.78; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: If it's longer than expected and the command seems like it is hung, kill the process if safe to do so using the pid that appears in the header. If possible, try to fix the hang and proceed.
If it's longer than expected and the command seems like it is hung, kill the process if safe to do so using the pid that appears in the header. If possible, try to fix the hang and proceed.
Don't stop polling until: (a) exit code footer appears (terminating command),
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7724521–7724758, SHA-256 aad734d766aba946.
Jev judged not model-facing (confidence 0.39; role human). This is a classifier judgment, not proof of delivery.
Readable text: Don't stop polling until: (a) 'exit_code' footer appears (terminating command), (b) the command reaches a healthy steady state (only for non-terminating command, e.g. dev server/watcher), or (c) command is hung - follow guidance above.
Don't stop polling until: (a) `exit_code` footer appears (terminating command), (b) the command reaches a healthy steady state (only for non-terminating command, e.g. dev server/watcher), or (c) command is hung - follow guidance above.
You'll be notified when the backgrounded command completes.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 7724793–7724854, SHA-256 73a548b791a55946.
Jev judged not model-facing (confidence 0.18; role human). This is a classifier judgment, not proof of delivery.
Readable text: You'll be notified when the backgrounded command completes.
You'll be notified when the backgrounded command completes.