index.js · part 186
Full reference60 text occurrences from agent-cli/package/index.js, part 186. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
Can't find Bash
Source: agent-cli/package/index.js, bytes 7864511–7864528, 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: agent-cli/package/index.js, bytes 7864787–7864832, 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: agent-cli/package/index.js, bytes 7866133–7866306, SHA-256 28e3bb3c9e593500.
Jev judged not model-facing (confidence 0.06; 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.
An error was suppressed during disposal.
Source: agent-cli/package/index.js, bytes 7866578–7866620, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.05; 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.
Object expected.
Source: agent-cli/package/index.js, bytes 7867608–7867626, SHA-256 d588320af15c8b9c.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object expected.
Object expected.
Symbol.asyncDispose is not defined.
Source: agent-cli/package/index.js, bytes 7867686–7867723, 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: agent-cli/package/index.js, bytes 7867804–7867836, 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: agent-cli/package/index.js, bytes 7867911–7867935, 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.
An error was suppressed during disposal. · byte 7868358
Source: agent-cli/package/index.js, bytes 7868358–7868400, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.05; 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.
Object expected. · byte 7869251
Source: agent-cli/package/index.js, bytes 7869251–7869269, SHA-256 d588320af15c8b9c.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object expected.
Object expected.
Symbol.asyncDispose is not defined. · byte 7869329
Source: agent-cli/package/index.js, bytes 7869329–7869366, 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 7869447
Source: agent-cli/package/index.js, bytes 7869447–7869479, 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 7869554
Source: agent-cli/package/index.js, bytes 7869554–7869578, 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.
${t} Set-Location '${e}' Execute user command ${r} $COMMAND EXIT CODE = $LASTE
Source: agent-cli/package/index.js, bytes 7869985–7872281, SHA-256 d89b76c3426ef12c.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${t} Set-Location '${e}' # Execute user command ${r} $COMMAND_EXIT_CODE = $LASTEXITCODE function Dump-PowerShellState { param( [Parameter(Mandatory = $true)] [string]$OutputFile ) function Emit { pa…
${t}
Set-Location '${e}'
# 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
Neither 'pwsh' (PowerShell Core) nor 'powershell' (Windows PowerShell) found in
Source: agent-cli/package/index.js, bytes 7872751–7872837, SHA-256 42a4067789bb86d5.
Jev judged not model-facing (confidence 0.03; 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 7873940
Source: agent-cli/package/index.js, bytes 7873940–7874113, 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.
An error was suppressed during disposal. · byte 7874365
Source: agent-cli/package/index.js, bytes 7874365–7874407, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.05; 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.
Object expected. · byte 7875264
Source: agent-cli/package/index.js, bytes 7875264–7875282, SHA-256 d588320af15c8b9c.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object expected.
Object expected.
Symbol.asyncDispose is not defined. · byte 7875342
Source: agent-cli/package/index.js, bytes 7875342–7875379, 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 7875460
Source: agent-cli/package/index.js, bytes 7875460–7875492, 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 7875567
Source: agent-cli/package/index.js, bytes 7875567–7875591, 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.
An error was suppressed during disposal. · byte 7877103
Source: agent-cli/package/index.js, bytes 7877103–7877145, 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.
Object expected. · byte 7878086
Source: agent-cli/package/index.js, bytes 7878086–7878104, SHA-256 d588320af15c8b9c.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object expected.
Object expected.
Symbol.asyncDispose is not defined. · byte 7878164
Source: agent-cli/package/index.js, bytes 7878164–7878201, 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 7878282
Source: agent-cli/package/index.js, bytes 7878282–7878314, 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 7878389
Source: agent-cli/package/index.js, bytes 7878389–7878413, 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.
builtin eval "$1"
Source: agent-cli/package/index.js, bytes 7878723–7878742, 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
Source: agent-cli/package/index.js, bytes 7878750–7878764, 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
Source: agent-cli/package/index.js, bytes 7878788–7879101, SHA-256 1081901bea874bbc.
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”. 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; ${m}${d
Source: agent-cli/package/index.js, bytes 7879104–7879265, SHA-256 8620341fcd823b88.
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; ${m}${d}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state >&4; builtin exit $COMMAND_EXIT_CODE
builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2>/dev/null; ${m}${d}; }; 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 7880549
Source: agent-cli/package/index.js, bytes 7880549–7880719, 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: agent-cli/package/index.js, bytes 7881021–7885709, SHA-256 489118884092bf65.
Jev judged not model-facing (confidence 0.02; 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"
}
An error was suppressed during disposal. · byte 7885803
Source: agent-cli/package/index.js, bytes 7885803–7885845, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.05; 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.
Object expected. · byte 7886786
Source: agent-cli/package/index.js, bytes 7886786–7886804, SHA-256 d588320af15c8b9c.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object expected.
Object expected.
Symbol.asyncDispose is not defined. · byte 7886864
Source: agent-cli/package/index.js, bytes 7886864–7886901, SHA-256 daa66daf4a2ce51d.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Symbol.asyncDispose is not defined.
Symbol.asyncDispose is not defined.
Symbol.dispose is not defined. · byte 7886982
Source: agent-cli/package/index.js, bytes 7886982–7887014, 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 7887089
Source: agent-cli/package/index.js, bytes 7887089–7887113, 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.
builtin eval "$1" · byte 7887428
Source: agent-cli/package/index.js, bytes 7887428–7887447, 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 7887455
Source: agent-cli/package/index.js, bytes 7887455–7887469, 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 7887493
Source: agent-cli/package/index.js, bytes 7887493–7887812, SHA-256 c5cca02e2305600b.
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 7887493”. 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; ${Ce} 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; ${m}${d · byte 7887815
Source: agent-cli/package/index.js, bytes 7887815–7887982, SHA-256 8e9a5e75ef0def6e.
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; ${m}${d}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state_light >&4; builtin exit $COMMAND_EXIT_CODE
builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2>/dev/null; ${m}${d}; }; 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 7889215
Source: agent-cli/package/index.js, bytes 7889215–7889388, SHA-256 28e3bb3c9e593500.
Jev judged not model-facing (confidence 0.04; 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: agent-cli/package/index.js, bytes 7889997–7890083, SHA-256 082500323f0ef054.
Jev judged not model-facing (confidence 0.08; 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.]
Expected an object
Source: agent-cli/package/index.js, bytes 7891575–7891595, SHA-256 07ea75668e4dd369.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Expected an object
Expected an object
Invalid type: expected one of ${t.join(", ")}
Source: agent-cli/package/index.js, bytes 7891749–7891796, SHA-256 bf194fc00c1d8125.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid type: expected one of ${t.join(", ")}
Invalid type: expected one of ${t.join(", ")}
Invalid ${t}: expected boolean
Source: agent-cli/package/index.js, bytes 7891968–7892000, SHA-256 6206081e4be8fd6f.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid ${t}: expected boolean
Invalid ${t}: expected boolean
Invalid ${t}: expected string
Source: agent-cli/package/index.js, bytes 7892091–7892122, SHA-256 2df3431b4934fa21.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid ${t}: expected string
Invalid ${t}: expected string
Invalid ${t}: expected array
Source: agent-cli/package/index.js, bytes 7892273–7892303, SHA-256 17d0f894fc176371.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid ${t}: expected array
Invalid ${t}: expected array
Invalid ${t}: expected array of strings
Source: agent-cli/package/index.js, bytes 7892350–7892391, SHA-256 4ce31cf3b9d812f8.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid ${t}: expected array of strings
Invalid ${t}: expected array of strings
Invalid readBoundary: expected "system" or "workspace"
Source: agent-cli/package/index.js, bytes 7892482–7892538, SHA-256 eca06d43fc2025db.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid readBoundary: expected "system" or "workspace"
Invalid readBoundary: expected "system" or "workspace"
Invalid networkPolicy: expected object
Source: agent-cli/package/index.js, bytes 7892634–7892674, SHA-256 8c259c03c6b9e539.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid networkPolicy: expected object
Invalid networkPolicy: expected object
Invalid networkPolicy.default: expected "allow" or "deny"
Source: agent-cli/package/index.js, bytes 7892768–7892827, SHA-256 a98be9906f4e9371.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid networkPolicy.default: expected "allow" or "deny"
Invalid networkPolicy.default: expected "allow" or "deny"
Invalid networkPolicy.allow: expected array
Source: agent-cli/package/index.js, bytes 7892879–7892924, SHA-256 2fe518446ad7e131.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid networkPolicy.allow: expected array
Invalid networkPolicy.allow: expected array
Invalid networkPolicy.deny: expected array
Source: agent-cli/package/index.js, bytes 7892974–7893018, SHA-256 bcba3daa850344ef.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid networkPolicy.deny: expected array
Invalid networkPolicy.deny: expected array
Invalid sandbox policy: ${s}
Source: agent-cli/package/index.js, bytes 7893053–7893083, SHA-256 92d532f36ed0b376.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid sandbox policy: ${s}
Invalid sandbox policy: ${s}
File not found
Source: agent-cli/package/index.js, bytes 7893224–7893240, SHA-256 885e22f8cc9d1667.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: File not found
File not found
Invalid JSON: ${t.message}
Source: agent-cli/package/index.js, bytes 7893285–7893313, SHA-256 8fc7767643325b6b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid JSON: ${t.message}
Invalid JSON: ${t.message}
Unknown error
Source: agent-cli/package/index.js, bytes 7893362–7893377, SHA-256 70e280a3cf0ea5f5.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown error
Unknown error
/usr/bin/env zsh Usage: source dump zsh state.zsh dump zsh state Or ex
Source: agent-cli/package/index.js, bytes 7894528–7899314, SHA-256 57cb378c5b5cec13.
Jev judged not model-facing (confidence 0.04; 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"
}
builtin printf '${r}\n'; dump_zsh_state
shell-exec zsh state init spawn failed; falling back to empty state: ${t insta
Source: agent-cli/package/index.js, bytes 7899497–7899611, SHA-256 0d79b620f4fdf94d.
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: ${t instanceof Error?t.message:String(t)}
[shell-exec] zsh state init spawn failed; falling back to empty state: ${t instanceof Error?t.message:String(t)}