main.js · part 13
Full reference60 text occurrences from desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, part 13. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
/dev/null
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 662571–662585, SHA-256 a890d3a1c90d65b0.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: < /dev/null
< /dev/null
${g?'snap=$(command cat "$CURSOR STATE INPUT FILE")':"snap=$(command cat 3)"}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 662967–663208, SHA-256 7b60440dad8c3b90.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${g?'snap=$(command cat "$CURSOR_STATE_INPUT_FILE")':"snap=$(command cat <&3)"} && builtin shopt -s extglob && builtin eval -- "$snap" && { builtin set +u 2>/dev/null || true; builtin eval "${__CURSOR_SANDBOX_ENV_RESTORE:-}" 2>/dev/null;
${g?'snap=$(command cat "$CURSOR_STATE_INPUT_FILE")':"snap=$(command cat <&3)"} && builtin shopt -s extglob && builtin eval -- "$snap" && { builtin set +u 2>/dev/null || true; builtin eval "${__CURSOR_SANDBOX_ENV_RESTORE:-}" 2>/dev/null;
snap=$(command cat "$CURSOR STATE INPUT FILE")
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 662972–663020, SHA-256 9baab481d34f752e.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: snap=$(command cat "$CURSOR_STATE_INPUT_FILE")
snap=$(command cat "$CURSOR_STATE_INPUT_FILE")
snap=$(command cat 3)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 663021–663046, SHA-256 f2eae17f438404ae.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: snap=$(command cat <&3)
snap=$(command cat <&3)
builtin export PWD="$(builtin pwd)"; builtin shopt -s expand aliases 2 /dev/null
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 663211–663308, SHA-256 02ece169a4570cd0.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin export PWD="$(builtin pwd)"; builtin shopt -s expand_aliases 2>/dev/null; ${f}${u}; };
builtin export PWD="$(builtin pwd)"; builtin shopt -s expand_aliases 2>/dev/null; ${f}${u}; };
COMMAND EXIT CODE=$?; ${g?'mkdir -p "$(dirname "$CURSOR STATE OUTPUT FILE")" 2 /
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 663309–663503, SHA-256 534f4d95227919eb.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: COMMAND_EXIT_CODE=$?; ${g?'mkdir -p "$(dirname "$CURSOR_STATE_OUTPUT_FILE")" 2>/dev/null; dump_bash_state > "$CURSOR_STATE_OUTPUT_FILE"':"dump_bash_state >&4"}; builtin exit $COMMAND_EXIT_CODE
COMMAND_EXIT_CODE=$?; ${g?'mkdir -p "$(dirname "$CURSOR_STATE_OUTPUT_FILE")" 2>/dev/null; dump_bash_state > "$CURSOR_STATE_OUTPUT_FILE"':"dump_bash_state >&4"}; builtin exit $COMMAND_EXIT_CODE
mkdir -p "$(dirname "$CURSOR STATE OUTPUT FILE")" 2 /dev/null; dump bash state
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 663336–663446, SHA-256 f408235fae852e92.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: mkdir -p "$(dirname "$CURSOR_STATE_OUTPUT_FILE")" 2>/dev/null; dump_bash_state > "$CURSOR_STATE_OUTPUT_FILE"
mkdir -p "$(dirname "$CURSOR_STATE_OUTPUT_FILE")" 2>/dev/null; dump_bash_state > "$CURSOR_STATE_OUTPUT_FILE"
dump bash state 4
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 663447–663468, SHA-256 10b7368ab1ef1dfb.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: dump_bash_state >&4
dump_bash_state >&4
Can't find Bash
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 663562–663579, SHA-256 2b6abce4521ac0cc.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Can't find Bash
Can't find Bash
shell-exec Failed to read bash state file
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 663838–663883, SHA-256 e94fa6606b5b5ab6.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [shell-exec] Failed to read bash state file
[shell-exec] Failed to read bash state file
shell-exec Close event did not fire within ${n}ms after exit. This may indicat
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 665217–665390, SHA-256 28e3bb3c9e593500.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [shell-exec] Close event did not fire within ${n}ms after exit. This may indicate a background process is holding file descriptors open. Proceeding anyway to prevent hang.
[shell-exec] Close event did not fire within ${n}ms after exit. This may indicate a background process is holding file descriptors open. Proceeding anyway to prevent hang.
Object expected.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 665668–665686, 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-local-agent-runtime/dist/main.js, bytes 665746–665783, 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-local-agent-runtime/dist/main.js, bytes 665864–665896, 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-local-agent-runtime/dist/main.js, bytes 665971–665995, SHA-256 2fc540c51c4f1811.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object not disposable.
Object not disposable.
An error was suppressed during disposal.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 666236–666278, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: An error was suppressed during disposal.
An error was suppressed during disposal.
${e} Set-Location '${t}' Execute user command ${r} $COMMAND EXIT CODE = $LASTE
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 667379–669675, SHA-256 743f480d9f65dfa8.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${e} Set-Location '${t}' # Execute user command ${r} $COMMAND_EXIT_CODE = $LASTEXITCODE function Dump-PowerShellState { param( [Parameter(Mandatory = $true)] [string]$OutputFile ) function Emit { pa…
${e}
Set-Location '${t}'
# Execute user command
${r}
$COMMAND_EXIT_CODE = $LASTEXITCODE
function Dump-PowerShellState {
param(
[Parameter(Mandatory = $true)]
[string]$OutputFile
)
function Emit {
param([string]$Content)
Add-Content -Path $OutputFile -Value $Content -Encoding UTF8
}
if (Test-Path $OutputFile) {
Remove-Item $OutputFile -Force
}
New-Item -Path $OutputFile -ItemType File -Force | Out-Null
#Log-Timing "file_init"
Emit $PWD.Path
#Log-Timing "working_dir"
function ShouldPersistEnvVar {
param([string]$Name)
if ($Name -eq 'CURSOR_CONVERSATION_ID') {
return $false
}
if ($Name -eq 'CURSOR_REQUEST_ID') {
return $false
}
if ($Name -like 'CURSOR_AGENT_STORE*') {
return $false
}
if ($Name -like '*CURSOR_SANDBOX*') {
return $false
}
if ($Name -eq 'ELECTRON_RUN_AS_NODE') {
return $false
}
return $true
}
$envVars = Get-ChildItem Env: | Sort-Object Name
foreach ($var in $envVars) {
if (-not (ShouldPersistEnvVar -Name $var.Name)) {
continue
}
$encoded = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes([string]$var.Value))
Emit ('Set-Item -LiteralPath ''Env:{0}'' -Value ([System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String(''{1}'')))' -f $var.Name, $encoded)
}
#Log-Timing "environment"
$aliases = Get-Alias | Sort-Object Name
foreach ($alias in $aliases) {
$definition = $alias.Definition
if ($alias.Options -band [System.Management.Automation.ScopedItemOptions]::ReadOnly) {
}
elseif ($alias.Options -band [System.Management.Automation.ScopedItemOptions]::Constant) {
}
elseif ($alias.Options -band [System.Management.Automation.ScopedItemOptions]::AllScope) {
}
else {
Emit ('Set-Alias -Name "{0}" -Value "{1}"' -f $alias.Name, $definition)
}
}
#Log-Timing "finalize"
}
Dump-PowerShellState -OutputFile "${n}"
exit $COMMAND_EXIT_CODE
Object expected. · byte 669775
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 669775–669793, 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. · byte 669853
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 669853–669890, 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. · byte 669971
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 669971–670003, SHA-256 4f970f848ba76c6c.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Symbol.dispose is not defined.
Symbol.dispose is not defined.
Object not disposable. · byte 670078
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 670078–670102, SHA-256 2fc540c51c4f1811.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object not disposable.
Object not disposable.
An error was suppressed during disposal. · byte 670343
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 670343–670385, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: An error was suppressed during disposal.
An error was suppressed during disposal.
Neither 'pwsh' (PowerShell Core) nor 'powershell' (Windows PowerShell) found in
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 671323–671409, SHA-256 42a4067789bb86d5.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Neither 'pwsh' (PowerShell Core) nor 'powershell' (Windows PowerShell) found in PATH
Neither 'pwsh' (PowerShell Core) nor 'powershell' (Windows PowerShell) found in PATH
shell-exec Close event did not fire within ${n}ms after exit. This may indicat · byte 673225
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 673225–673398, SHA-256 28e3bb3c9e593500.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [shell-exec] Close event did not fire within ${n}ms after exit. This may indicate a background process is holding file descriptors open. Proceeding anyway to prevent hang.
[shell-exec] Close event did not fire within ${n}ms after exit. This may indicate a background process is holding file descriptors open. Proceeding anyway to prevent hang.
Object expected. · byte 673672
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 673672–673690, 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. · byte 673750
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 673750–673787, 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. · byte 673868
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 673868–673900, SHA-256 4f970f848ba76c6c.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Symbol.dispose is not defined.
Symbol.dispose is not defined.
Object not disposable. · byte 673975
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 673975–673999, SHA-256 2fc540c51c4f1811.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object not disposable.
Object not disposable.
An error was suppressed during disposal. · byte 674240
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 674240–674282, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: An error was suppressed during disposal.
An error was suppressed during disposal.
/usr/bin/env zsh Usage: source dump zsh state.zsh dump zsh state Or ex
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 676248–681021, SHA-256 46f4476780e132ab.
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 zsh # Usage: # source dump_zsh_state.zsh # dump_zsh_state # Or execute directly (captures a subshell's state): # ./dump_zsh_state.zsh # Define a function so sourcing won't alter caller state; emulate locally inside fu…
#!/usr/bin/env zsh
# Usage:
# source dump_zsh_state.zsh
# dump_zsh_state
# Or execute directly (captures a subshell's state):
# ./dump_zsh_state.zsh
# Define a function so sourcing won't alter caller state; emulate locally inside
function dump_zsh_state() {
emulate -L zsh -o errreturn -o pipefail
set -u
# Helper to log timing, only if DUMP_ZSH_STATE_TIMING is set
if [[ -n "${DUMP_ZSH_STATE_TIMING:-}" ]]; then
# Timing setup
typeset start_time=${EPOCHREALTIME}
typeset step_start=${EPOCHREALTIME}
_log_timing() {
typeset step_name="$1"
typeset now=${EPOCHREALTIME}
typeset step_duration=$((now - step_start))
typeset total_duration=$((now - start_time))
builtin printf "[TIMING] %-20s: %6.3fs (total: %6.3fs)
" "$step_name" "$step_duration" "$total_duration" >&2
step_start=$now
}
else
_log_timing() { :; }
fi
# Ensure parameter arrays are available
builtin zmodload -F zsh/parameter p:parameters p:options p:functions p:aliases p:galiases p:saliases 2>/dev/null || true
_log_timing "zmodload"
# Helper to print a line to stdout
_emit() {
builtin print -r -- "$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
}
_log_timing "init"
# Emit start marker at the very beginning of the output
_emit "__CURSOR_ZSH_STATE_START__"
# Header
_emit "$PWD"
_emit "# zsh state dump generated on $(command date +'%Y-%m-%d %H:%M:%S %z')"
_log_timing "header"
# Working directory
_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 (exported)
# Filter out: proxy settings plus request/session-scoped vars that must not
# leak across shell executions.
# Under a non-UTF-8 locale zsh writes byte 0xa7 inside $'...' as M-', which
# its own parser reads as the closing quote (zsh 5.9 Src/utils.c quotestring,
# https://github.com/zsh-users/zsh/blob/zsh-5.9/Src/utils.c); the sed rewrites
# that one escape to the § form so the restore eval can parse it. It runs
# only on scalar $'...' lines: a plain-quoted value can hold the same four
# characters literally, and there they must stay.
local env_vars
env_vars=$(builtin typeset -xp 2>/dev/null | command grep -viE '_proxy=|CURSOR_SANDBOX|SUDO_ASKPASS|CURSOR_ASKPASS|CURSOR_CONVERSATION_ID|CURSOR_REQUEST_ID|CURSOR_AGENT_STORE' | command sed "/^export[^=]*=[\$]'/ s/\\\\M-'/\\\\xa7/g" || 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 "env_variables"
# Options (replayable as setopt lines). Exclude the errreturn/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 zsh_opts
zsh_opts=$(setopt 2>/dev/null | command grep -vE '^(errreturn|nounset|pipefail)$' | command awk '{printf "builtin setopt %s 2>/dev/null || true\n", $0}' || true)
_emit_encoded "$zsh_opts" "ZSH_OPTS_B64"
_log_timing "options"
# Functions: dump all functions at once (much faster than individual processing)
local all_functions
all_functions=$(builtin typeset -f 2>/dev/null || true)
_emit_encoded "$all_functions" "FUNCTIONS_B64"
_log_timing "functions"
# Aliases (regular, global, and suffix)
{
builtin alias -L 2>/dev/null || true
builtin alias -gL 2>/dev/null || true
builtin alias -sL 2>/dev/null || true
}
_log_timing "aliases"
# Done
_emit "# end of zsh state dump"
_emit "__CURSOR_ZSH_STATE_END__"
_log_timing "finalize"
}
Object expected. · byte 681121
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 681121–681139, 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. · byte 681199
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 681199–681236, 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. · byte 681317
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 681317–681349, SHA-256 4f970f848ba76c6c.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Symbol.dispose is not defined.
Symbol.dispose is not defined.
Object not disposable. · byte 681424
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 681424–681448, SHA-256 2fc540c51c4f1811.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object not disposable.
Object not disposable.
An error was suppressed during disposal. · byte 681689
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 681689–681731, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: An error was suppressed during disposal.
An error was suppressed during disposal.
builtin eval "$1"
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 682727–682746, SHA-256 8faaf39c014f229f.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin eval "$1"
builtin eval "$1"
/dev/null · byte 682754
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 682754–682768, SHA-256 a890d3a1c90d65b0.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: < /dev/null
< /dev/null
builtin export PATH="/usr/bin:/bin:/usr/sbin:/sbin${PATH:+:$PATH}"; snap=$(comma
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 682792–683105, SHA-256 1081901bea874bbc.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable form: a shipped code or data literal beginning “builtin export PATH="/usr/bin:/bin:/usr/sbin:/sbin${PATH:+:$PATH}"; snap=$(comma”. The exact literal is preserved below; its runtime purpose requires the surrounding source.
builtin export PATH="/usr/bin:/bin:/usr/sbin:/sbin${PATH:+:$PATH}"; snap=$(command cat <&3); builtin unsetopt aliases 2>/dev/null; builtin unalias -m '*' 2>/dev/null || true; builtin eval "$snap" && { builtin unsetopt nounset 2>/dev/null || true; builtin eval "${__CURSOR_SANDBOX_ENV_RESTORE:-}" 2>/dev/null;
builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2 /dev/null; ${u}${c
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 683108–683269, SHA-256 4930d81bdef8ed25.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2>/dev/null; ${u}${c}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state >&4; builtin exit $COMMAND_EXIT_CODE
builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2>/dev/null; ${u}${c}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state >&4; builtin exit $COMMAND_EXIT_CODE
shell-exec Close event did not fire within ${n}ms after exit. This may indicat · byte 684558
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 684558–684728, SHA-256 920291cda5e918b5.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [shell-exec] Close event did not fire within ${n}ms after exit. This may indicate a background process is holding file descriptors open. Killing detached process group.
[shell-exec] Close event did not fire within ${n}ms after exit. This may indicate a background process is holding file descriptors open. Killing detached process group.
/usr/bin/env zsh Usage: source dump zsh state light.zsh dump zsh state l
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 685118–689806, SHA-256 489118884092bf65.
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 zsh # Usage: # source dump_zsh_state_light.zsh # dump_zsh_state_light # Or execute directly (captures a subshell's state): # ./dump_zsh_state_light.zsh # Lightweight version that skips function tracking for better per…
#!/usr/bin/env zsh
# Usage:
# source dump_zsh_state_light.zsh
# dump_zsh_state_light
# Or execute directly (captures a subshell's state):
# ./dump_zsh_state_light.zsh
# Lightweight version that skips function tracking for better performance
# Define a function so sourcing won't alter caller state; emulate locally inside
function dump_zsh_state_light() {
emulate -L zsh -o errreturn -o pipefail
set -u
# Helper to log timing, only if DUMP_ZSH_STATE_TIMING is set
if [[ -n "${DUMP_ZSH_STATE_TIMING:-}" ]]; then
# Timing setup
typeset start_time=${EPOCHREALTIME}
typeset step_start=${EPOCHREALTIME}
_log_timing() {
typeset step_name="$1"
typeset now=${EPOCHREALTIME}
typeset step_duration=$((now - step_start))
typeset total_duration=$((now - start_time))
builtin printf "[TIMING] %-20s: %6.3fs (total: %6.3fs)
" "$step_name" "$step_duration" "$total_duration" >&2
step_start=$now
}
else
_log_timing() { :; }
fi
# Ensure parameter arrays are available
builtin zmodload -F zsh/parameter p:parameters p:options p:aliases p:galiases p:saliases 2>/dev/null || true
_log_timing "zmodload"
# Helper to print a line to stdout
_emit() {
builtin print -r -- "$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
}
_log_timing "init"
# Emit validity marker so we can detect if dump_zsh_state_light completed
_emit "__CURSOR_ZSH_STATE_LIGHT_VALID__"
# Header
_emit "$PWD"
_emit "# zsh state dump (light) generated on $(command date +'%Y-%m-%d %H:%M:%S %z')"
_log_timing "header"
# Working directory
_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 (exported)
# Filter out: proxy settings plus request/session-scoped vars that must not
# leak across shell executions.
# Under a non-UTF-8 locale zsh writes byte 0xa7 inside $'...' as M-', which
# its own parser reads as the closing quote (zsh 5.9 Src/utils.c quotestring,
# https://github.com/zsh-users/zsh/blob/zsh-5.9/Src/utils.c); the sed rewrites
# that one escape to the § form so the restore eval can parse it. It runs
# only on scalar $'...' lines: a plain-quoted value can hold the same four
# characters literally, and there they must stay.
local env_vars
env_vars=$(builtin typeset -xp 2>/dev/null | command grep -viE '_proxy=|CURSOR_SANDBOX|SUDO_ASKPASS|CURSOR_ASKPASS|CURSOR_CONVERSATION_ID|CURSOR_REQUEST_ID|CURSOR_AGENT_STORE' | command sed "/^export[^=]*=[\$]'/ s/\\\\M-'/\\\\xa7/g" || 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 "env_variables"
# Options (replayable as setopt lines). Exclude the errreturn/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 zsh_opts
zsh_opts=$(setopt 2>/dev/null | command grep -vE '^(errreturn|nounset|pipefail)$' | command awk '{printf "builtin setopt %s 2>/dev/null || true\n", $0}' || true)
_emit_encoded "$zsh_opts" "ZSH_OPTS_B64"
_log_timing "options"
# SKIP FUNCTIONS - this is the key difference for performance
# Aliases (regular, global, and suffix)
{
builtin alias -L 2>/dev/null || true
builtin alias -gL 2>/dev/null || true
builtin alias -sL 2>/dev/null || true
}
_log_timing "aliases"
# Done
_emit "# end of zsh state dump (light)"
_log_timing "finalize"
}
Object expected. · byte 689906
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 689906–689924, 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. · byte 689984
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 689984–690021, 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. · byte 690102
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 690102–690134, SHA-256 4f970f848ba76c6c.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Symbol.dispose is not defined.
Symbol.dispose is not defined.
Object not disposable. · byte 690209
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 690209–690233, SHA-256 2fc540c51c4f1811.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object not disposable.
Object not disposable.
An error was suppressed during disposal. · byte 690474
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 690474–690516, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: An error was suppressed during disposal.
An error was suppressed during disposal.
builtin eval "$1" · byte 691517
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 691517–691536, SHA-256 8faaf39c014f229f.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin eval "$1"
builtin eval "$1"
/dev/null · byte 691544
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 691544–691558, SHA-256 a890d3a1c90d65b0.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: < /dev/null
< /dev/null
builtin export PATH="/usr/bin:/bin:/usr/sbin:/sbin${PATH:+:$PATH}"; snap=$(comma · byte 691582
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 691582–691901, SHA-256 f4e88a29e5dfc7bf.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable form: a shipped code or data literal beginning “builtin export PATH="/usr/bin:/bin:/usr/sbin:/sbin${PATH:+:$PATH}"; snap=$(comma · byte 691582”. The exact literal is preserved below; its runtime purpose requires the surrounding source.
builtin export PATH="/usr/bin:/bin:/usr/sbin:/sbin${PATH:+:$PATH}"; snap=$(command cat <&3); builtin unsetopt aliases 2>/dev/null; builtin unalias -m '*' 2>/dev/null || true; ${zt} builtin eval "$snap" && { builtin unsetopt nounset 2>/dev/null || true; builtin eval "${__CURSOR_SANDBOX_ENV_RESTORE:-}" 2>/dev/null;
builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2 /dev/null; ${u}${c · byte 691904
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 691904–692071, SHA-256 46f9f096f4f3dd77.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2>/dev/null; ${u}${c}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state_light >&4; builtin exit $COMMAND_EXIT_CODE
builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2>/dev/null; ${u}${c}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state_light >&4; builtin exit $COMMAND_EXIT_CODE
shell-exec Close event did not fire within ${n}ms after exit. This may indicat · byte 693298
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 693298–693471, SHA-256 28e3bb3c9e593500.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [shell-exec] Close event did not fire within ${n}ms after exit. This may indicate a background process is holding file descriptors open. Proceeding anyway to prevent hang.
[shell-exec] Close event did not fire within ${n}ms after exit. This may indicate a background process is holding file descriptors open. Proceeding anyway to prevent hang.
This shell is producing too much output to stream. The command will still run.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 693925–694011, SHA-256 082500323f0ef054.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [This shell is producing too much output to stream. The command will still run.]
[This shell is producing too much output to stream. The command will still run.]
C: Program Files Git bin bash.exe
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 696088–696127, SHA-256 34d2904f0bc2d23d.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: C:\Program Files\Git\bin\bash.exe
C:\Program Files\Git\bin\bash.exe
C: Program Files (x86) Git bin bash.exe
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 696128–696173, SHA-256 5dbf3a10acc731b4.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: C:\Program Files (x86)\Git\bin\bash.exe
C:\Program Files (x86)\Git\bin\bash.exe
C: Program Files Git bin bash.exe · byte 696237
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 696237–696276, SHA-256 34d2904f0bc2d23d.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: C:\Program Files\Git\bin\bash.exe
C:\Program Files\Git\bin\bash.exe
${Ut} builtin printf '${r} n'; dump zsh state
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 697050–697098, SHA-256 0a2066de29689e61.
Jev judged not model-facing (confidence 0.13; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${Ut} builtin printf '${r}\n'; dump_zsh_state
${Ut} builtin printf '${r}\n'; dump_zsh_state
shell-exec zsh state init spawn failed; falling back to empty state: ${e insta
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 697278–697392, SHA-256 a8361caebf241ea6.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [shell-exec] zsh state init spawn failed; falling back to empty state: ${e instanceof Error?e.message:String(e)}
[shell-exec] zsh state init spawn failed; falling back to empty state: ${e instanceof Error?e.message:String(e)}
${process.cwd()}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 697579–697599, SHA-256 fd352a60aa9fb16b.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${process.cwd()}
${process.cwd()}
builtin printf '${r} n'; dump bash state
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 697800–697843, SHA-256 45617e061e561960.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin printf '${r}\n'; dump_bash_state
builtin printf '${r}\n'; dump_bash_state
Can't find Bash · byte 697893
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 697893–697910, SHA-256 2b6abce4521ac0cc.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Can't find Bash
Can't find Bash