main.js · part 45
Full reference60 text occurrences from desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, part 45. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
use strict
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1772653–1772665, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
use strict · byte 1773058
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1773058–1773070, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
use strict · byte 1774269
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1774269–1774281, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
configureRipgrepPath: path must not be empty
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1776027–1776073, SHA-256 3db2f969efd39414.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: configureRipgrepPath: path must not be empty
configureRipgrepPath: path must not be empty
Ripgrep path not configured. Call configureRipgrepPath() at startup.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1776765–1776835, SHA-256 e829328736291900.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Ripgrep path not configured. Call configureRipgrepPath() at startup.
Ripgrep path not configured. Call configureRipgrepPath() at startup.
builtin eval "${ CURSOR SANDBOX TEMP RESTORE:-}" 2 /dev/null;
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1777442–1777507, SHA-256 1854ef7a3008a367.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin eval "${__CURSOR_SANDBOX_TEMP_RESTORE:-}" 2>/dev/null;
builtin eval "${__CURSOR_SANDBOX_TEMP_RESTORE:-}" 2>/dev/null;
Process timed out after ${o}ms
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1779178–1779210, SHA-256 a2f1417020d59bf7.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Process timed out after ${o}ms
Process timed out after ${o}ms
String sent back was too long
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1779345–1779382, SHA-256 e9061bd56cffddb4.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: << String sent back was too long >>
<< String sent back was too long >>
Lost chunk of process output for ${e} - length was ${o.length}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1779451–1779520, SHA-256 c58398422cd1ad47.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: << Lost chunk of process output for ${e} - length was ${o.length}>>
<< Lost chunk of process output for ${e} - length was ${o.length}>>
opts.stdio conflicts with provided spawn opts.stdin observable, 'pipe' is requir
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1779709–1779793, SHA-256 96cf255b445fcdf7.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: opts.stdio conflicts with provided spawn opts.stdin observable, 'pipe' is required
opts.stdio conflicts with provided spawn opts.stdin observable, 'pipe' is required
Process failed with exit code: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1780298–1780335, SHA-256 44d055f9c7ce75bf.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Process failed with exit code: ${e}
Process failed with exit code: ${e}
${r} ${e.message}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1780851–1780871, SHA-256 2b473006c53d7566.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${r} ${e.message}
${r}
${e.message}
${r} ${e instanceof Error?e.message:String(e)}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1780933–1780982, SHA-256 7b52b5d339c73408.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${r} ${e instanceof Error?e.message:String(e)}
${r}
${e instanceof Error?e.message:String(e)}
${n} ${e.message}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1781137–1781157, SHA-256 79098176b2922a21.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${n} ${e.message}
${n}
${e.message}
${n} ${e instanceof Error?e.message:String(e)}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1781226–1781275, SHA-256 83c6987949ad078f.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${n} ${e instanceof Error?e.message:String(e)}
${n}
${e instanceof Error?e.message:String(e)}
Unknown entry type: ${t}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1790471–1790497, SHA-256 c238346a6bb92bf3.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown entry type: ${t}
Unknown entry type: ${t}
process=="kernel" AND eventMessage CONTAINS "Sandbox:" AND eventMessage contains
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1792564–1792653, SHA-256 ed26ce7573e7fdc4.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: process=="kernel" AND eventMessage CONTAINS "Sandbox:" AND eventMessage contains "deny"
process=="kernel" AND eventMessage CONTAINS "Sandbox:" AND eventMessage contains "deny"
No sandbox metadata found on child process
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1793813–1793857, SHA-256 0e1b94ae3e490e8c.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: No sandbox metadata found on child process
No sandbox metadata found on child process
checkBinaryAvailable Resolved binary path: ${t}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1797981–1798032, SHA-256 adf9f507ebbca5c1.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [checkBinaryAvailable] Resolved binary path: ${t}
[checkBinaryAvailable] Resolved binary path: ${t}
checkBinaryAvailable Binary path exists: ${Ue}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798069–1798119, SHA-256 e96a44d963731f8e.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [checkBinaryAvailable] Binary path exists: ${Ue}
[checkBinaryAvailable] Binary path exists: ${Ue}
Sandbox binary not found at ${t}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798135–1798169, SHA-256 66e8859d018bc324.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Sandbox binary not found at ${t}
Sandbox binary not found at ${t}
checkBinaryAvailable Binary not found at: ${t}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798181–1798231, SHA-256 15398b941855cef5.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [checkBinaryAvailable] Binary not found at: ${t}
[checkBinaryAvailable] Binary not found at: ${t}
Sandbox binary path was not configured
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798254–1798294, SHA-256 418a77184a19e7f8.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Sandbox binary path was not configured
Sandbox binary path was not configured
checkBinaryAvailable Binary path not set, returning false
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798312–1798373, SHA-256 d0c3037bc4935236.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [checkBinaryAvailable] Binary path not set, returning false
[checkBinaryAvailable] Binary path not set, returning false
checkBinaryAvailable Exception checking binary: ${t}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798416–1798472, SHA-256 906097c66e65ccb3.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [checkBinaryAvailable] Exception checking binary: ${t}
[checkBinaryAvailable] Exception checking binary: ${t}
isSandboxHelperSupported Starting sandbox support check...
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798551–1798613, SHA-256 831cd7ecd1f9b5a9.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [isSandboxHelperSupported] Starting sandbox support check...
[isSandboxHelperSupported] Starting sandbox support check...
Binary check failed
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798644–1798665, SHA-256 6af2468eb1989c50.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Binary check failed
Binary check failed
isSandboxHelperSupported Binary not available, returning false. Reason: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798688–1798768, SHA-256 040f88bafe3a8f23.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [isSandboxHelperSupported] Binary not available, returning false. Reason: ${e}
[isSandboxHelperSupported] Binary not available, returning false. Reason: ${e}
Windows sandbox helper only provides network proxy, not filesystem isolation
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798819–1798897, SHA-256 da1eba30558445df.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Windows sandbox helper only provides network proxy, not filesystem isolation
Windows sandbox helper only provides network proxy, not filesystem isolation
isSandboxHelperSupported win32: returning false (proxy-only, no filesystem san
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1798908–1798995, SHA-256 ffaacaa305d3c83b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [isSandboxHelperSupported] win32: returning false (proxy-only, no filesystem sandbox)
[isSandboxHelperSupported] win32: returning false (proxy-only, no filesystem sandbox)
isSandboxHelperSupported ${process.platform} platform, binary available, sandb
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1799062–1799157, SHA-256 35954c919f675568.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [isSandboxHelperSupported] ${process.platform} platform, binary available, sandbox supported!
[isSandboxHelperSupported] ${process.platform} platform, binary available, sandbox supported!
isSandboxHelperSupported Preflight succeeded in ${o}ms, sandbox supported
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1799380–1799458, SHA-256 0d994d88bf92140a.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [isSandboxHelperSupported] Preflight succeeded in ${o}ms, sandbox supported!
[isSandboxHelperSupported] Preflight succeeded in ${o}ms, sandbox supported!
sandboxPreflight Running preflight with binary: ${n}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1799689–1799745, SHA-256 75fa2de35df92b45.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [sandboxPreflight] Running preflight with binary: ${n}
[sandboxPreflight] Running preflight with binary: ${n}
sandboxPreflight CWD: ${t}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1799757–1799787, SHA-256 0de3551b50325d27.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [sandboxPreflight] CWD: ${t}
[sandboxPreflight] CWD: ${t}
sandboxPreflight Preflight failed: ${r}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1799999–1800042, SHA-256 c72e99575a3f68b4.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [sandboxPreflight] Preflight failed: ${r}
[sandboxPreflight] Preflight failed: ${r}
sandboxPreflight Exit status: ${n}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1800055–1800093, SHA-256 23a99d6c2bc43602.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [sandboxPreflight] Exit status: ${n}
[sandboxPreflight] Exit status: ${n}
sandboxPreflight Stderr: ${s}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1800109–1800142, SHA-256 8a0d36c096da7649.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [sandboxPreflight] Stderr: ${s}
[sandboxPreflight] Stderr: ${s}
Linux preflight failed with exit code 2 (unsupported kernel features). stderr: $
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1800153–1800246, SHA-256 638e57bbd00d0826.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Linux preflight failed with exit code 2 (unsupported kernel features). stderr: ${s||"none"}
Linux preflight failed with exit code 2 (unsupported kernel features). stderr: ${s||"none"}
Linux preflight failed: ${r "unknown error"}. Exit status: ${n}. stderr: ${s "
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1800247–1800335, SHA-256 d10820150176c97c.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Linux preflight failed: ${r||"unknown error"}. Exit status: ${n}. stderr: ${s||"none"}
Linux preflight failed: ${r||"unknown error"}. Exit status: ${n}. stderr: ${s||"none"}
unknown error
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1800277–1800292, SHA-256 bca45daa794e5072.
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
Sandbox binary not available: ${Fe?.message "binary not configured"}. Please bu
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1800432–1800559, SHA-256 0b2045ccc2ff0bd0.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Sandbox binary not available: ${Fe?.message||"binary not configured"}. Please build the binary or use 'insecure_none' policy.
Sandbox binary not available: ${Fe?.message||"binary not configured"}. Please build the binary or use 'insecure_none' policy.
binary not configured
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1800478–1800501, SHA-256 b89f004eca50b654.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: binary not configured
binary not configured
Expected workspace readwrite or workspace readonly policy
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1800810–1800869, SHA-256 b32ab1fc1a2eb3d4.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Expected workspace_readwrite or workspace_readonly policy
Expected workspace_readwrite or workspace_readonly policy
${e} ${t.join(" ")}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1801043–1801064, SHA-256 ff56f7fb5ae94a6b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${e} ${t.join(" ")}
${e} ${t.join(" ")}
${e} ${t.join(" ")} · byte 1801124
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1801124–1801145, SHA-256 ff56f7fb5ae94a6b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${e} ${t.join(" ")}
${e} ${t.join(" ")}
builtin export ${e}='${t.replace(/'/g,"' ''")}'
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1801950–1802000, SHA-256 f6a9c2df11fc9aa1.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin export ${e}='${t.replace(/'/g,"'\\''")}'
builtin export ${e}='${t.replace(/'/g,"'\\''")}'
Failed to spawn sandboxed process: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1802272–1802313, SHA-256 742ab22bf318cae2.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Failed to spawn sandboxed process: ${e}
Failed to spawn sandboxed process: ${e}
Unsupported sandbox policy: ${String(n)}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1802342–1802384, SHA-256 40b045ad4dbbbea0.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported sandbox policy: ${String(n)}
Unsupported sandbox policy: ${String(n)}
Sandbox policy '${n.type}' is not supported on this system. Ensure the sandbox h
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1803192–1803348, SHA-256 8c63ee52fb8d88e3.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Sandbox policy '${n.type}' is not supported on this system. Ensure the sandbox helper binary is available, or use 'insecure_none'. Reason: ${s||"unknown"}
Sandbox policy '${n.type}' is not supported on this system. Ensure the sandbox helper binary is available, or use 'insecure_none'. Reason: ${s||"unknown"}
Unknown process tree kill mode: ${String(t)}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1804044–1804090, SHA-256 8f256504f9bc88da.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown process tree kill mode: ${String(t)}
Unknown process tree kill mode: ${String(t)}
/usr/bin/env bash Usage: source dump bash state.bash dump bash state OUT
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1804995–1809886, SHA-256 3e8735b028f76698.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: #!/usr/bin/env bash # Usage: # source dump_bash_state.bash # dump_bash_state OUTPUT_FILE # Or execute directly (captures a subshell's state): # ./dump_bash_state.bash OUTPUT_FILE dump_bash_state() { set -euo pipefail # Require …
#!/usr/bin/env bash
# Usage:
# source dump_bash_state.bash
# dump_bash_state OUTPUT_FILE
# Or execute directly (captures a subshell's state):
# ./dump_bash_state.bash OUTPUT_FILE
dump_bash_state() {
set -euo pipefail
# Require base64 for safe encoding of emitted sections
if ! command -v base64 >/dev/null 2>&1; then
echo "Error: base64 command is required" >&2
return 1
fi
# Helper to log timing, only if DUMP_BASH_STATE_TIMING is set
if [[ -n "${DUMP_BASH_STATE_TIMING:-}" ]]; then
# Timing setup
if [[ "${BASH_VERSION%%.*}" -ge 5 ]]; then
# Use EPOCHREALTIME if available (bash 5+)
local start_time=${EPOCHREALTIME}
local step_start=${EPOCHREALTIME}
_log_timing() {
local step_name="$1"
local now=${EPOCHREALTIME}
local step_duration=$(command awk "BEGIN {printf "%.3f", $now - $step_start}")
local total_duration=$(command awk "BEGIN {printf "%.3f", $now - $start_time}")
builtin printf "[TIMING] %-20s: %6.3fs (total: %6.3fs)
" "$step_name" "$step_duration" "$total_duration" >&2
step_start=$now
}
else
# Fallback for older bash versions
local start_time=$(command date +%s.%N)
local step_start=$(command date +%s.%N)
_log_timing() {
local step_name="$1"
local now=$(command date +%s.%N)
local step_duration=$(command awk "BEGIN {printf "%.3f", $now - $step_start}")
local total_duration=$(command awk "BEGIN {printf "%.3f", $now - $start_time}")
builtin printf "[TIMING] %-20s: %6.3fs (total: %6.3fs)
" "$step_name" "$step_duration" "$total_duration" >&2
step_start=$now
}
fi
else
_log_timing() { :; }
fi
# Helper to append a line to output file
_emit() {
builtin printf '%s
' "$1"
}
# Helper to safely encode and emit unsafe values
_emit_encoded() {
local content="$1"
local var_name="$2"
if [[ -n "$content" ]]; then
# Builtin printf, not a here-document: no argument length limit, and no temp file
builtin printf 'cursor_snap_%s=$(builtin printf %%s '"'"'%s'"'"' | command base64 -d)
' "$var_name" "$(command base64 <<<"$content" | command tr -d '
')"
builtin printf 'eval "$cursor_snap_%s"
' "$var_name"
fi
}
# Start fresh
_log_timing "file_init"
# Emit start marker at the very beginning of the output
_emit "__CURSOR_BASH_STATE_START__"
# Working directory
_emit "$PWD"
_log_timing "working_dir"
# Drop ELECTRON_RUN_AS_NODE by exact name so one command exporting it can't
# bake it into the snapshot that every later command re-evals (IDE-2911:
# Cypress boots as plain Node until a new chat). Exact unset rather than the
# line-based grep below, which would also eat vars whose name or multiline
# value merely contains the token. The shell exits right after the dump.
builtin unset ELECTRON_RUN_AS_NODE 2>/dev/null || true
# Environment variables (export statements)
# Filter out: proxy settings plus request/session-scoped vars that must not
# leak across shell executions.
local env_vars
env_vars=$(builtin export -p 2>/dev/null | command grep -viE '_proxy=|CURSOR_SANDBOX|SUDO_ASKPASS|CURSOR_ASKPASS|CURSOR_CONVERSATION_ID|CURSOR_REQUEST_ID|CURSOR_AGENT_STORE' || true)
if [[ -n "${__CURSOR_SANDBOX_OWNED_ENV:-}" ]]; then
env_vars=$(builtin printf '%s
' "$env_vars" | command grep -vE "^(export|declare|typeset)( -[a-zA-Z]+)* (${__CURSOR_SANDBOX_OWNED_ENV// /|})=" || true)
fi
_emit_encoded "$env_vars" "ENV_VARS_B64"
_log_timing "environment"
# POSIX shell options (replayable as set +/-o lines). Exclude the errexit/nounset/
# pipefail this function force-enables above, so they are not baked into the restored
# snapshot and leaked onto every subsequent command (a stray pipefail makes a
# successful 'cmd | head' report exit 141).
local posix_opts
posix_opts=$(builtin shopt -po 2>/dev/null | command grep -vE '^set [-+]o (errexit|nounset|pipefail)$' || true)
_emit_encoded "$posix_opts" "POSIX_OPTS_B64"
_log_timing "posix_options"
# Bash shopt options (replayable as shopt -s/-u lines)
local bash_opts
bash_opts=$(builtin shopt -p 2>/dev/null || true)
_emit_encoded "$bash_opts" "BASH_OPTS_B64"
_log_timing "bash_options"
# Functions: capture all functions
local all_functions
all_functions=$(builtin declare -f 2>/dev/null || true)
_emit_encoded "$all_functions" "FUNCTIONS_B64"
_log_timing "functions"
# Aliases
local aliases
aliases=$(builtin alias -p 2>/dev/null || true)
_emit_encoded "$aliases" "ALIASES_B64"
_log_timing "aliases"
# Done
_emit "# end of bash state dump"
_emit "__CURSOR_BASH_STATE_END__"
_log_timing "finalize"
}
Cannot merge policies of different types: found "${o}" and "${e.type}". All poli
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1814927–1815111, SHA-256 99e929da9e8d3d48.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Cannot merge policies of different types: found "${o}" and "${e.type}". All policies must be of the same type (all workspace_readwrite, all workspace_readonly, or all insecure_none).
Cannot merge policies of different types: found "${o}" and "${e.type}". All policies must be of the same type (all workspace_readwrite, all workspace_readonly, or all insecure_none).
Unknown policy type: ${r}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1816485–1816512, SHA-256 d89579f93bfaabe8.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown policy type: ${r}
Unknown policy type: ${r}
teamAdmin (replace)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1817605–1817626, SHA-256 a6d8bb2480be4098.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: teamAdmin (replace)
teamAdmin (replace)
alias sudo='sudo -A';
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1819397–1819421, SHA-256 d629f9b4a536dff9.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: alias sudo='sudo -A';
alias sudo='sudo -A';
sudo -A
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1819981–1819990, SHA-256 d8ace24380571592.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: sudo -A
sudo -A
Object expected.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 1820141–1820159, 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 1820219–1820256, 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 1820337–1820369, 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 1820444–1820468, SHA-256 2fc540c51c4f1811.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object not disposable.
Object not disposable.