daemon.cjs · part 171
Full reference60 text occurrences from desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, part 171. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
Expected workspace readwrite or workspace readonly policy
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13800818–13800877, SHA-256 b32ab1fc1a2eb3d4.
Jev judged not model-facing (confidence 0.05; 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
${command} ${args.join(" ")}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13801280–13801310, SHA-256 6575940cbee0b584.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${command} ${args.join(" ")}
${command} ${args.join(" ")}
${command} ${args.join(" ")} · byte 13801474
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13801474–13801504, SHA-256 6575940cbee0b584.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${command} ${args.join(" ")}
${command} ${args.join(" ")}
builtin export ${name17}='${value.replace(/'/g, "' ''")}'
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13802967–13803027, SHA-256 ee0a6a06ff4be20a.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin export ${name17}='${value.replace(/'/g, "'\\''")}'
builtin export ${name17}='${value.replace(/'/g, "'\\''")}'
Failed to spawn sandboxed process: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13803607–13803648, 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}
use strict
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13806195–13806207, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
Sandbox policy '${sandboxPolicy.type}' is not supported on this system. Ensure t
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13807829–13808011, SHA-256 2f214eb0e83687c7.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Sandbox policy '${sandboxPolicy.type}' is not supported on this system. Ensure the sandbox helper binary is available, or use 'insecure_none'. Reason: ${failureReason || "unknown"}
Sandbox policy '${sandboxPolicy.type}' is not supported on this system. Ensure the sandbox helper binary is available, or use 'insecure_none'. Reason: ${failureReason || "unknown"}
use strict · byte 13809096
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13809096–13809108, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
use strict · byte 13809736
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13809736–13809748, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
Unknown process tree kill mode: ${String(mode)}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13811214–13811263, SHA-256 54a719d6b198a435.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown process tree kill mode: ${String(mode)}
Unknown process tree kill mode: ${String(mode)}
use strict · byte 13813658
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13813658–13813670, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
use strict · byte 13814019
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13814019–13814031, 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
/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/agent-host-daemon/dist/bin/daemon.cjs, bytes 13814168–13818910, SHA-256 8700cb147aed5397.
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 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"
}
use strict · byte 13821117
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13821117–13821129, 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
Cannot merge policies of different types: found "${firstType}" and "${policy.typ
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13830279–13830476, SHA-256 e91d93bdf471d660.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Cannot merge policies of different types: found "${firstType}" and "${policy.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 "${firstType}" and "${policy.type}". All policies must be of the same type (all workspace_readwrite, all workspace_readonly, or all insecure_none).
Unknown policy type: ${policyType}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13831092–13831128, SHA-256 3029c4aa1e4e3906.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown policy type: ${policyType}
Unknown policy type: ${policyType}
teamAdmin (replace)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13833566–13833587, SHA-256 a6d8bb2480be4098.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: teamAdmin (replace)
teamAdmin (replace)
use strict · byte 13838812
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13838812–13838824, 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
${SUDO ALIAS};
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13839454–13839471, SHA-256 5680606d3dd824ab.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${SUDO_ALIAS};
${SUDO_ALIAS};
sudo -A
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13840757–13840766, SHA-256 d8ace24380571592.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: sudo -A
sudo -A
use strict · byte 13840997
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13840997–13841009, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
alias sudo='sudo -A'
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13841075–13841097, SHA-256 ca9b33b7262e4277.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: alias sudo='sudo -A'
alias sudo='sudo -A'
/${driveLetter}${normalized.slice(2).replace(/ /g, "/")}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13842072–13842131, SHA-256 b26d47f414582754.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: /${driveLetter}${normalized.slice(2).replace(/\\/g, "/")}
/${driveLetter}${normalized.slice(2).replace(/\\/g, "/")}
builtin printf '${STATE MARKER} n'; dump bash state
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13842466–13842521, SHA-256 04ee857aacde415d.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: builtin printf '${STATE_MARKER}\n'; dump_bash_state
builtin printf '${STATE_MARKER}\n'; dump_bash_state
Can't find Bash
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13842626–13842643, SHA-256 2b6abce4521ac0cc.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Can't find Bash
Can't find Bash
shell-exec bash state init spawn failed; falling back to empty state: ${error3
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13843179–13843313, SHA-256 793e359f8d811802.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [shell-exec] bash state init spawn failed; falling back to empty state: ${error3 instanceof Error ? error3.message : String(error3)}
[shell-exec] bash state init spawn failed; falling back to empty state: ${error3 instanceof Error ? error3.message : String(error3)}
${BASH STATE START MARKER}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13843522–13843551, SHA-256 7d43a946099b7824.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${BASH_STATE_START_MARKER}
${BASH_STATE_START_MARKER}
${BASH STATE END MARKER}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13843577–13843604, SHA-256 cd66bb04673802a2.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${BASH_STATE_END_MARKER}
${BASH_STATE_END_MARKER}
${process.cwd()}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13843911–13843930, SHA-256 612d28b4ef144acd.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${process.cwd()}
${process.cwd()}
use strict · byte 13844409
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13844409–13844421, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
Object expected.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13844998–13845016, SHA-256 d588320af15c8b9c.
Jev judged not model-facing (confidence 0.05; 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/agent-host-daemon/dist/bin/daemon.cjs, bytes 13845125–13845162, 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/agent-host-daemon/dist/bin/daemon.cjs, bytes 13845310–13845342, 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/agent-host-daemon/dist/bin/daemon.cjs, bytes 13845502–13845526, SHA-256 2fc540c51c4f1811.
Jev judged not model-facing (confidence 0.03; 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-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13846067–13846109, 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-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13848298–13848317, SHA-256 ff23c1489da5981c.
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
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13848368–13848382, SHA-256 a890d3a1c90d65b0.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: < /dev/null
< /dev/null
snap=$(command cat "$CURSOR STATE INPUT FILE")
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13849565–13849613, 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-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13849616–13849641, 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)
mkdir -p "$(dirname "$CURSOR STATE OUTPUT FILE")" 2 /dev/null; dump bash state
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13849692–13849802, 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-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13849805–13849826, 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
${stateLoader} builtin shopt -s extglob builtin eval -- "$snap" { built
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13849848–13850024, SHA-256 7893fc0c18a7c1b3.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${stateLoader} && builtin shopt -s extglob && builtin eval -- "$snap" && { builtin set +u 2>/dev/null || true; builtin eval "${__CURSOR_SANDBOX_ENV_RESTORE:-}" 2>/dev/null;
${stateLoader} && builtin shopt -s extglob && builtin eval -- "$snap" && { builtin set +u 2>/dev/null || true; builtin eval "${__CURSOR_SANDBOX_ENV_RESTORE:-}" 2>/dev/null;
builtin export PWD="$(builtin pwd)"; builtin shopt -s expand aliases 2 /dev/null
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13850055–13850242, SHA-256 1dae98875738da50.
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; ${sudoAliasInjection}${core2}; }; COMMAND_EXIT_CODE=$?; ${stateWriter}; builtin exit $COMMAND_EXIT_CODE
builtin export PWD="$(builtin pwd)"; builtin shopt -s expand_aliases 2>/dev/null; ${sudoAliasInjection}${core2}; }; COMMAND_EXIT_CODE=$?; ${stateWriter}; builtin exit $COMMAND_EXIT_CODE
Can't find Bash · byte 13850576
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13850576–13850593, SHA-256 2b6abce4521ac0cc.
Jev judged not model-facing (confidence 0.04; 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-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13851360–13851405, 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
${BASH STATE START MARKER} · byte 13854180
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13854180–13854209, SHA-256 7d43a946099b7824.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${BASH_STATE_START_MARKER}
${BASH_STATE_START_MARKER}
${BASH STATE END MARKER} · byte 13854247
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13854247–13854274, SHA-256 cd66bb04673802a2.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${BASH_STATE_END_MARKER}
${BASH_STATE_END_MARKER}
shell-exec Close event did not fire within ${timeout2}ms after exit. This may
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13855880–13856060, SHA-256 efd77ad63c3f9b60.
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 ${timeout2}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 ${timeout2}ms after exit. This may indicate a background process is holding file descriptors open. Proceeding anyway to prevent hang.
use strict · byte 13856912
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13856912–13856924, SHA-256 4ee188e1744c1981.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: use strict
use strict
Object expected. · byte 13857143
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13857143–13857161, 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 13857270
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13857270–13857307, 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 13857455
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13857455–13857487, 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 13857647
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13857647–13857671, 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 13858213
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13858213–13858255, 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.
use strict · byte 13860774
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13860774–13860786, 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
function Dump-PowerShellState { param( Parameter(Mandatory = $true) string $O
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13860811–13862868, SHA-256 6d6eddc346dae123.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: function Dump-PowerShellState { param( [Parameter(Mandatory = $true)] [string]$OutputFile ) function Emit { param([string]$Content) Add-Content -Path $OutputFile -Value $Content -Encoding UTF8 …
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"
}
${state} Set-Location '${cwd}' Execute user command ${cmd} $COMMAND EXIT CODE
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13862935–13863133, SHA-256 801eebd70a2fff61.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${state} Set-Location '${cwd}' # Execute user command ${cmd} $COMMAND_EXIT_CODE = $LASTEXITCODE ${powershellScript} Dump-PowerShellState -OutputFile "${stateOutFile}" exit $COMMAND_EXIT_CODE
${state}
Set-Location '${cwd}'
# Execute user command
${cmd}
$COMMAND_EXIT_CODE = $LASTEXITCODE
${powershellScript}
Dump-PowerShellState -OutputFile "${stateOutFile}"
exit $COMMAND_EXIT_CODE
Neither 'pwsh' (PowerShell Core) nor 'powershell' (Windows PowerShell) found in
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13863895–13863981, 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
use strict · byte 13864436
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13864436–13864448, 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
Object expected. · byte 13865110
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13865110–13865128, SHA-256 d588320af15c8b9c.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object expected.
Object expected.