main.js · part 124
Full reference60 text occurrences from desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, part 124. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
Read rejected for ${r}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4140710–4140734, SHA-256 a4ad2049ab8018a4.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Read rejected for ${r}
Read rejected for ${r}
Invalid file: ${r}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4140793–4140813, SHA-256 dcef0bca4fdac82b.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid file: ${r}
Invalid file: ${r}
Read failed for ${r}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4140865–4140887, SHA-256 c0ec347fbfcf2428.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Read failed for ${r}
Read failed for ${r}
Unknown read result for ${r}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4140917–4140947, SHA-256 86ef137268e3bcf4.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown read result for ${r}
Unknown read result for ${r}
Unhandled read result case: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4140991–4141025, SHA-256 8a71c1f69c0bdcb6.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unhandled read result case: ${e}
Unhandled read result case: ${e}
shell or subagent
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4141139–4141158, SHA-256 047c1414a1575dd8.
Jev judged not model-facing (confidence 0.24; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: shell or subagent
shell or subagent
task id
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4141171–4141180, SHA-256 cd04750ff4782737.
Jev judged not model-facing (confidence 0.24; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: task id
task id
shell id
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4141181–4141191, SHA-256 909ed84d878c2598.
Jev judged not model-facing (confidence 0.24; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: shell id
shell id
When waiting further, avoid round 5-minute waits: prefer slices of 60–270s (keep
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4141230–4141379, SHA-256 827d03b9f4cfbb2c.
Jev judged not model-facing (confidence 0.55; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: When waiting further, avoid round 5-minute waits: prefer slices of 60–270s (keeps prompt cache warm) or 1200s+ (one cache miss buys a long wait).
When waiting further, avoid round 5-minute waits: prefer slices of 60–270s (keeps prompt cache warm) or 1200s+ (one cache miss buys a long wait).
When waiting further, avoid round 1-minute waits: prefer slices of up to ${t-30}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4141452–4141608, SHA-256 e4065b2f534f03a0.
Jev judged not model-facing (confidence 0.48; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: When waiting further, avoid round 1-minute waits: prefer slices of up to ${t-30}s (keeps prompt cache warm) or ${4*t}s+ (one cache miss buys a long wait).
When waiting further, avoid round 1-minute waits: prefer slices of up to ${t-30}s (keeps prompt cache warm) or ${4*t}s+ (one cache miss buys a long wait).
When waiting further, avoid round ${r}-minute waits: prefer slices of 60–${t-30}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4141630–4141788, SHA-256 f99e358880ce61bf.
Jev judged not model-facing (confidence 0.41; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: When waiting further, avoid round ${r}-minute waits: prefer slices of 60–${t-30}s (keeps prompt cache warm) or ${4*t}s+ (one cache miss buys a long wait).
When waiting further, avoid round ${r}-minute waits: prefer slices of 60–${t-30}s (keeps prompt cache warm) or ${4*t}s+ (one cache miss buys a long wait).
When waiting further, avoid waiting ${function(e){const t=e/60;return Number.isI
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4141805–4142084, SHA-256 9fe45be06f1d62e4.
Jev judged not model-facing (confidence 0.54; role code_data). This is a classifier judgment, not proof of delivery.
Readable form: a shipped code or data literal beginning “When waiting further, avoid waiting ${function(e){const t=e/60;return Number.isI”. The exact literal is preserved below; its runtime purpose requires the surrounding source.
When waiting further, avoid waiting ${function(e){const t=e/60;return Number.isInteger(t)?`${t}`:t.toFixed(1)}(r)}h or more: prefer slices of 60s-${r-1}m (keeps prompt cache warm). Size slices based on expected progress; when progress is unclear, exponential backoff is useful.
When waiting further, size slices based on expected progress. When progress is u
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4142091–4142211, SHA-256 37d5bd0d4bd9a135.
Jev judged not model-facing (confidence 0.6; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: When waiting further, size slices based on expected progress. When progress is unclear, exponential backoff is useful.
When waiting further, size slices based on expected progress. When progress is unclear, exponential backoff is useful.
Check or poll a backgrounded ${i} job. For work that does not have a ${a}, you c
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4142222–4145922, SHA-256 d2d5e247df008389.
Jev judged model-facing (confidence 0.87; role tool). This is a classifier judgment, not proof of delivery.
Readable text: Check or poll a backgrounded ${i} job. For work that does not have a ${a}, you can omit the ${l} arg to sleep for the full 'block_until_ms' duration (prefer this over sleeping in the shell, because it renders nicely to the user). At the end…
Check or poll a backgrounded ${i} job. For work that does not have a ${a}, you can omit the ${l} arg to sleep for the full `block_until_ms` duration (prefer this over sleeping in the shell, because it renders nicely to the user). At the end of your turn, you will be notified about any unawaited jobs that completed. If you think a job completed (e.g. because you killed it), observe it with ${n} to skip the notification, because stale notifications can confuse the user.${r?`\n\nPrefer NOT to poll reflexively with ${n}. Multitask on independent work while backgrounded jobs run, or finish your turn and rely on the end-of-turn completion notification. Poll with ${n} only when one of the following is true:\n- Your very next step is blocked on this specific job's result and you have no other productive work to do${t?" (shell jobs only — never wait on a subagent)":""}, OR\n- The task requires close monitoring (see shell guidance below).${t?" Subagents are never a candidate for close monitoring.":""}`:`\n\nPrefer NOT to poll reflexively with ${n}. Multitask on independent work while backgrounded jobs run, or finish your turn and rely on the end-of-turn completion notification.`}
- Never poll a task whose tool result says it was "manually backgrounded by the user".${void 0===o||t?"":`\n- NEVER USE THIS TO POLL OR WAIT VACUOUSLY FOR A SUBAGENT LAUNCHED WITH THE ${o} TOOL — rely on the end-of-turn completion notification instead (it is delivered as soon as the subagent finishes; guessing a wait time is inefficient).`}${t?`\n- Subagents: never wait on a subagent with ${n}. Subagents are always notify-on-completion — multitask on independent work (or respond to the user if there is nothing else productive to do) and wait to be woken up. The only valid use of ${n} on a subagent is a non-blocking status check (\`block_until_ms: 0\`); never use it to block on the subagent finishing.`:""}${r?`\n- Shell: only poll with ${n} when the command requires close monitoring. Close monitoring means a long-running job that can silently hang, degrade, or need a course correction before it completes — e.g. training runs, eval runs, deployments, long builds, datagen pipelines, DB migrations, large data transfers. For fire-and-forget commands (tests, installs, dev servers/watchers, short scripts, etc.) the completion notification is enough — start them, keep working, and only poll with ${n} later if you end up blocked on the result.\n- Shell sanity check (regardless of close monitoring): when you spawn a command directly into the background (\`block_until_ms: 0\`), do a single status check by reading the output file to confirm the command didn't fail to start. This is a one-shot smoke check, not a polling loop.\n- Shell close-monitoring guidance (only applies in the close-monitoring case above):\n - HARD STOPPING CONSTRAINT: once you've decided to actively poll, don't stop until (a) the job terminates, (b) the command reaches a healthy steady state (only for non-terminating commands, e.g. dev server/watcher), or (c) the command is hung — follow the hang guidance below.\n - Waiting until a regex matches the output can be useful for e.g. known startup/status/error logs.\n - Size \`block_until_ms\` to the command's expected runtime. ${c}\n - Output file header has \`pid\` and \`running_for_ms\` (updated every 5000ms).\n - When finished, footer with \`exit_code\` and \`elapsed_ms\` appears (regex only matches the body, not header/footer).\n - If the command is taking longer than expected and appears hung (use judgment based on command type), kill the process if safe to do so using the pid in the header. If possible, fix the hang and proceed.`:""}
Prefer NOT to poll reflexively with ${n}. Multitask on independent work while ba
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4142701–4143234, SHA-256 31e30ad3c42e1ec4.
Jev judged not model-facing (confidence 0.79; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Prefer NOT to poll reflexively with ${n}. Multitask on independent work while backgrounded jobs run, or finish your turn and rely on the end-of-turn completion notification. Poll with ${n} only when one of the following is true: - Your ve…
Prefer NOT to poll reflexively with ${n}. Multitask on independent work while backgrounded jobs run, or finish your turn and rely on the end-of-turn completion notification. Poll with ${n} only when one of the following is true:
- Your very next step is blocked on this specific job's result and you have no other productive work to do${t?" (shell jobs only — never wait on a subagent)":""}, OR
- The task requires close monitoring (see shell guidance below).${t?" Subagents are never a candidate for close monitoring.":""}
(shell jobs only — never wait on a subagent)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4143046–4143095, SHA-256 e9087217924e7739.
Jev judged not model-facing (confidence 0.73; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: (shell jobs only — never wait on a subagent)
(shell jobs only — never wait on a subagent)
Subagents are never a candidate for close monitoring.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4143173–4143229, SHA-256 40a2471a244f668c.
Jev judged not model-facing (confidence 0.73; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Subagents are never a candidate for close monitoring.
Subagents are never a candidate for close monitoring.
Prefer NOT to poll reflexively with ${n}. Multitask on independent work while ba · byte 4143235
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4143235–4143414, SHA-256 78875ba49ec5eb06.
Jev judged model-facing (confidence 0.81; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: Prefer NOT to poll reflexively with ${n}. Multitask on independent work while backgrounded jobs run, or finish your turn and rely on the end-of-turn completion notification.
Prefer NOT to poll reflexively with ${n}. Multitask on independent work while backgrounded jobs run, or finish your turn and rely on the end-of-turn completion notification.
- NEVER USE THIS TO POLL OR WAIT VACUOUSLY FOR A SUBAGENT LAUNCHED WITH THE ${o}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4143522–4143760, SHA-256 77cc10de2ad95f1b.
Jev judged model-facing (confidence 0.82; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: - NEVER USE THIS TO POLL OR WAIT VACUOUSLY FOR A SUBAGENT LAUNCHED WITH THE ${o} TOOL — rely on the end-of-turn completion notification instead (it is delivered as soon as the subagent finishes; guessing a wait time is inefficient).
- NEVER USE THIS TO POLL OR WAIT VACUOUSLY FOR A SUBAGENT LAUNCHED WITH THE ${o} TOOL — rely on the end-of-turn completion notification instead (it is delivered as soon as the subagent finishes; guessing a wait time is inefficient).
- Subagents: never wait on a subagent with ${n}. Subagents are always notify-on-
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4143765–4144131, SHA-256 53dab389ea91ff37.
Jev judged model-facing (confidence 0.83; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: - Subagents: never wait on a subagent with ${n}. Subagents are always notify-on-completion — multitask on independent work (or respond to the user if there is nothing else productive to do) and wait to be woken up. The only valid use of ${…
- Subagents: never wait on a subagent with ${n}. Subagents are always notify-on-completion — multitask on independent work (or respond to the user if there is nothing else productive to do) and wait to be woken up. The only valid use of ${n} on a subagent is a non-blocking status check (`block_until_ms: 0`); never use it to block on the subagent finishing.
- Shell: only poll with ${n} when the command requires close monitoring. Close m
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4144139–4145917, SHA-256 49d7daf6a5fa0ba1.
Jev judged model-facing (confidence 0.82; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: - Shell: only poll with ${n} when the command requires close monitoring. Close monitoring means a long-running job that can silently hang, degrade, or need a course correction before it completes — e.g. training runs, eval runs, deployment…
- Shell: only poll with ${n} when the command requires close monitoring. Close monitoring means a long-running job that can silently hang, degrade, or need a course correction before it completes — e.g. training runs, eval runs, deployments, long builds, datagen pipelines, DB migrations, large data transfers. For fire-and-forget commands (tests, installs, dev servers/watchers, short scripts, etc.) the completion notification is enough — start them, keep working, and only poll with ${n} later if you end up blocked on the result.
- Shell sanity check (regardless of close monitoring): when you spawn a command directly into the background (`block_until_ms: 0`), do a single status check by reading the output file to confirm the command didn't fail to start. This is a one-shot smoke check, not a polling loop.
- Shell close-monitoring guidance (only applies in the close-monitoring case above):
- HARD STOPPING CONSTRAINT: once you've decided to actively poll, don't stop until (a) the job terminates, (b) the command reaches a healthy steady state (only for non-terminating commands, e.g. dev server/watcher), or (c) the command is hung — follow the hang guidance below.
- Waiting until a regex matches the output can be useful for e.g. known startup/status/error logs.
- Size `block_until_ms` to the command's expected runtime. ${c}
- Output file header has `pid` and `running_for_ms` (updated every 5000ms).
- When finished, footer with `exit_code` and `elapsed_ms` appears (regex only matches the body, not header/footer).
- If the command is taking longer than expected and appears hung (use judgment based on command type), kill the process if safe to do so using the pid in the header. If possible, fix the hang and proceed.
Max sleep time to block before returning (in milliseconds). Required. Set to 0 f
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4146508–4146659, SHA-256 1dfe554de3b4ef87.
Jev judged not model-facing (confidence 0.5; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: Max sleep time to block before returning (in milliseconds). Required. Set to 0 for non-blocking status check. Must not exceed 7140000 (${i} minutes).
Max sleep time to block before returning (in milliseconds). Required. Set to 0 for non-blocking status check. Must not exceed 7140000 (${i} minutes).
Max sleep time to block before returning (in milliseconds). Defaults to ${r}ms.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4146660–4146821, SHA-256 e59d493dc9e9a71e.
Jev judged not model-facing (confidence 0.7; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: Max sleep time to block before returning (in milliseconds). Defaults to ${r}ms. Set to 0 for non-blocking status check. Must not exceed 7140000 (${i} minutes).
Max sleep time to block before returning (in milliseconds). Defaults to ${r}ms. Set to 0 for non-blocking status check. Must not exceed 7140000 (${i} minutes).
block until ms must be at most 7140000 (${i} minutes)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4146843–4146898, SHA-256 4463962b5953c067.
Jev judged not model-facing (confidence 0.54; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: block_until_ms must be at most 7140000 (${i} minutes)
block_until_ms must be at most 7140000 (${i} minutes)
Optional shell id to poll. If omitted, this tool sleeps for the full block until
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4147017–4147164, SHA-256 c172d57eb571d580.
Jev judged model-facing (confidence 0.84; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: Optional shell id to poll. If omitted, this tool sleeps for the full block_until_ms duration and then returns. Required when block_until_ms is 0.
Optional shell id to poll. If omitted, this tool sleeps for the full block_until_ms duration and then returns. Required when block_until_ms is 0.
Optional shell or subagent id to poll. If omitted, this tool sleeps for the full
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4147167–4147326, SHA-256 ca004e915ff2da48.
Jev judged not model-facing (confidence 0.79; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: Optional shell or subagent id to poll. If omitted, this tool sleeps for the full block_until_ms duration and then returns. Required when block_until_ms is 0.
Optional shell or subagent id to poll. If omitted, this tool sleeps for the full block_until_ms duration and then returns. Required when block_until_ms is 0.
Optional shell id to poll. If omitted, this tool sleeps for the full block until · byte 4147327
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4147327–4147474, SHA-256 c172d57eb571d580.
Jev judged not model-facing (confidence 0.77; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: Optional shell id to poll. If omitted, this tool sleeps for the full block_until_ms duration and then returns. Required when block_until_ms is 0.
Optional shell id to poll. If omitted, this tool sleeps for the full block_until_ms duration and then returns. Required when block_until_ms is 0.
Block until the regex matches stdout/stderr stream (or task completes). Matches
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4147508–4147853, SHA-256 459b5718013812ef.
Jev judged model-facing (confidence 0.82; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: Block until the regex matches stdout/stderr stream (or task completes). Matches anywhere in the shell output, not just new output. Will not match terminal file headers or footers, e.g. exit_code. Accepts JavaScript regex patterns (compiled …
Block until the regex matches stdout/stderr stream (or task completes). Matches anywhere in the shell output, not just new output. Will not match terminal file headers or footers, e.g. exit_code. Accepts JavaScript regex patterns (compiled with the multiline `m` flag). Not supported for awaiting subagents: you MUST leave this argument unset.
Block until the regex matches stdout/stderr stream (or task completes). Matches · byte 4147854
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4147854–4148125, SHA-256 d21fef9f44a173d2.
Jev judged not model-facing (confidence 0.75; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: Block until the regex matches stdout/stderr stream (or task completes). Matches anywhere in the shell output, not just new output. Will not match terminal file headers or footers, e.g. exit_code. Accepts JavaScript regex patterns (compiled …
Block until the regex matches stdout/stderr stream (or task completes). Matches anywhere in the shell output, not just new output. Will not match terminal file headers or footers, e.g. exit_code. Accepts JavaScript regex patterns (compiled with the multiline `m` flag).
Set this to true if you are waiting for subagent(s) to complete. Remember you sh
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4148249–4148400, SHA-256 e92af211c9a3f0c4.
Jev judged not model-facing (confidence 0.78; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: Set this to true if you are waiting for subagent(s) to complete. Remember you should NOT be doing this and instead end your turn or do parallel work.
Set this to true if you are waiting for subagent(s) to complete. Remember you should NOT be doing this and instead end your turn or do parallel work.
path must be a path to a terminal file
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4149418–4149458, SHA-256 febe4656b239cdd0.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: path must be a path to a terminal file
path must be a path to a terminal file
path must be a path to a terminal file · byte 4149514
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4149514–4149554, SHA-256 febe4656b239cdd0.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: path must be a path to a terminal file
path must be a path to a terminal file
Use to sleep and check shell progress. Never sleep using shell.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4149704–4149769, SHA-256 8685ca3f124d69df.
Jev judged model-facing (confidence 0.86; role tool). This is a classifier judgment, not proof of delivery.
Readable text: Use to sleep and check shell progress. Never sleep using shell.
Use to sleep and check shell progress. Never sleep using shell.
Poll a background shell.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4150000–4150026, SHA-256 f981516d52836b5c.
Jev judged not model-facing (confidence 0.55; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Poll a background shell.
Poll a background shell.
Poll a background ${t?"shell or subagent":"shell"} job. For work that does not h
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4150307–4152231, SHA-256 2d435afd2d6cae74.
Jev judged model-facing (confidence 0.87; role tool). This is a classifier judgment, not proof of delivery.
Readable text: Poll a background ${t?"shell or subagent":"shell"} job. For work that does not have a ${t?"task id":"shell id"}, you can omit the ${t?"task_id":"shell_id"} arg to sleep for the full 'block_until_ms' duration (prefer this over sleeping in th…
Poll a background ${t?"shell or subagent":"shell"} job. For work that does not have a ${t?"task id":"shell id"}, you can omit the ${t?"task_id":"shell_id"} arg to sleep for the full `block_until_ms` duration (prefer this over sleeping in the shell, because it renders nicely to the user).
Monitor backgrounded jobs as follows:
- Never poll a task whose tool result says it was "manually backgrounded by the user".
- When you spawn a command directly into the background (`block_until_ms: 0`), check status immediately by reading the output file to confirm the command didn't fail to start.
- Poll repeatedly to monitor by using this tool between checks (set `block_until_ms` to control how long to wait). If the file gets large, read from the end of the file to capture the latest content.
- Pick your polling intervals using best guess/judgment based on any knowledge you have about the command and its expected runtime, and any output from monitoring the job. When no new output, exponential backoff is a good strategy (e.g. 2000ms, 4000ms, 8000ms, 16000ms...), using educated guess for min and max wait.${r?"\n- Shell only guidance:\n - Waiting until a regex matches the output can be useful for e.g. known startup/status/error logs.\n - HARD STOPPING CONSTRAINT: Don't stop polling until (a) job terminates, (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 below.\n - Output file header has `pid` and `running_for_ms` (updated every 5000ms).\n - When finished, footer with `exit_code` and `elapsed_ms` appears (regex only matches the body, not header/footer).\n - If taking longer than expected and the command seems like it is hung (use judgment based on type of command), 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.":""}
shell or subagent · byte 4150330
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4150330–4150349, SHA-256 047c1414a1575dd8.
Jev judged not model-facing (confidence 0.48; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: shell or subagent
shell or subagent
task id · byte 4150398
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4150398–4150407, SHA-256 cd04750ff4782737.
Jev judged not model-facing (confidence 0.49; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: task id
task id
shell id · byte 4150408
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4150408–4150418, SHA-256 909ed84d878c2598.
Jev judged not model-facing (confidence 0.51; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: shell id
shell id
- Shell only guidance: - Waiting until a regex matches the output can be useful
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4151431–4152226, SHA-256 c5d220a4b09ecb15.
Jev judged model-facing (confidence 0.8; role instructions). This is a classifier judgment, not proof of delivery.
Readable text: - Shell only guidance: - Waiting until a regex matches the output can be useful for e.g. known startup/status/error logs. - HARD STOPPING CONSTRAINT: Don't stop polling until (a) job terminates, (b) the command reaches a healthy steady…
- Shell only guidance:
- Waiting until a regex matches the output can be useful for e.g. known startup/status/error logs.
- HARD STOPPING CONSTRAINT: Don't stop polling until (a) job terminates, (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 below.
- Output file header has `pid` and `running_for_ms` (updated every 5000ms).
- When finished, footer with `exit_code` and `elapsed_ms` appears (regex only matches the body, not header/footer).
- If taking longer than expected and the command seems like it is hung (use judgment based on type of command), 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.
Unhandled version: ${t}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4152296–4152321, SHA-256 385cb6947347ea2c.
Jev judged not model-facing (confidence 0.11; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unhandled version: ${t}
Unhandled version: ${t}
Must pass a task id or wait for a nonzero duration.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4153121–4153174, SHA-256 3935adf38c14b131.
Jev judged not model-facing (confidence 0.2; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Must pass a task id or wait for a nonzero duration.
Must pass a task id or wait for a nonzero duration.
Regex awaiting is not available for subagents. Run Await without regex, or await
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4154040–4154147, SHA-256 5dacceb55a2e32ed.
Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Regex awaiting is not available for subagents. Run Await without regex, or await a shell task id instead.
Regex awaiting is not available for subagents. Run Await without regex, or await a shell task id instead.
Awaiting subagent tasks requires a non-empty conversationId in the agent context
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4154208–4154290, SHA-256 534ef376c0ef4e5e.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Awaiting subagent tasks requires a non-empty conversationId in the agent context
Awaiting subagent tasks requires a non-empty conversationId in the agent context
Awaiting subagent ids is not available in this environment (subagent executor re
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4155368–4155476, SHA-256 6d6abc45e955c2dc.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Awaiting subagent ids is not available in this environment (subagent executor resource is not registered).
Awaiting subagent ids is not available in this environment (subagent executor resource is not registered).
Unknown legacy subagent await result
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4156558–4156596, SHA-256 da2f8f755b1c5157.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown legacy subagent await result
Unknown legacy subagent await result
Unhandled legacy subagent result case: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4156644–4156689, SHA-256 f0a8da1d55b81286.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unhandled legacy subagent result case: ${e}
Unhandled legacy subagent result case: ${e}
Subagent not found
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4158093–4158113, SHA-256 d3fdf7b004744f35.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Subagent not found
Subagent not found
Failed to await subagent task
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4158204–4158235, SHA-256 08de506f44799d11.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Failed to await subagent task
Failed to await subagent task
Unknown subagent await result
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4158265–4158296, SHA-256 eb4266f5269c7882.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown subagent await result
Unknown subagent await result
Unhandled subagent await result case: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4158340–4158384, SHA-256 0be4264f2f42998c.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unhandled subagent await result case: ${e}
Unhandled subagent await result case: ${e}
Cannot await shell task: terminals folder is unavailable
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4158495–4158553, SHA-256 66cf447ac4fa61ff.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Cannot await shell task: terminals folder is unavailable
Cannot await shell task: terminals folder is unavailable
Failed to read shell output
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4158674–4158703, SHA-256 5496617622203a0b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Failed to read shell output
Failed to read shell output
No shell found for id ${f}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4158736–4158764, SHA-256 b76d0ef55799c624.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: No shell found for id ${f}
No shell found for id ${f}
Pattern matched: ${e.regexMatch??""}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4160267–4160305, SHA-256 7bbd3ddd05f9d10d.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Pattern matched: ${e.regexMatch??""}
Pattern matched: ${e.regexMatch??""}
Pattern did NOT match.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4160316–4160340, SHA-256 11a78048744586ff.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Pattern did NOT match.
Pattern did NOT match.
Slept briefly.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4161001–4161017, SHA-256 6f8be29639e6c473.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Slept briefly.
Slept briefly.
Slept for ${Math.max(1,Math.ceil(t/1e3))}s.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4161018–4161063, SHA-256 5a8ada456f1c3ffa.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Slept for ${Math.max(1,Math.ceil(t/1e3))}s.
Slept for ${Math.max(1,Math.ceil(t/1e3))}s.
${t} Sleep released early: a new user message is arriving.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4161108–4161168, SHA-256 15c82cfb70f81e68.
Jev judged not model-facing (confidence 0.14; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${t} Sleep released early: a new user message is arriving.
${t} Sleep released early: a new user message is arriving.
Task completed in ${(e.runtimeMs??BigInt(0)).toString()}ms with exit code: ${voi
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4161245–4161356, SHA-256 6384229dac604289.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Task completed in ${(e.runtimeMs??BigInt(0)).toString()}ms with exit code: ${void 0!==r?String(r):"unknown"}.
Task completed in ${(e.runtimeMs??BigInt(0)).toString()}ms with exit code: ${void 0!==r?String(r):"unknown"}.
Task complete.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4161364–4161380, SHA-256 a757102857a0b248.
Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Task complete.
Task complete.