Evidence and archive

daemon.cjs · part 172

Full reference
Topics
Status
Showing all 60

60 text occurrences from desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, part 172. Every entry preserves the shipped literal and its saved verdict or selection reason.

File contents and all parts · All files

Shipped text

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 13865237–13865274, 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 13865422–13865454, 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 13865614–13865638, 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 13866180–13866222, 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.

ps-state-out-${(0, import node crypto4.randomUUID)()}.txt

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13868352–13868411, SHA-256 6d50e6cce7a13795.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ps-state-out-${(0, import_node_crypto4.randomUUID)()}.txt

ps-state-out-${(0, import_node_crypto4.randomUUID)()}.txt

ps-script-${(0, import node crypto4.randomUUID)()}.ps1

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13868578–13868634, SHA-256 4f4ae8661d86dbdb.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ps-script-${(0, import_node_crypto4.randomUUID)()}.ps1

ps-script-${(0, import_node_crypto4.randomUUID)()}.ps1

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 13872604–13872784, SHA-256 efd77ad63c3f9b60.

Jev judged not model-facing (confidence 0.03; 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

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13873811–13873823, 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 13874209–13874227, 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. · byte 13874336

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13874336–13874373, 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 13874521

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13874521–13874553, 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 13874713

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13874713–13874737, 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. · byte 13875279

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13875279–13875321, 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 13880254

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13880254–13880266, 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 zsh Usage: source dump zsh state.zsh dump zsh state Or ex

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13880398–13885023, SHA-256 dde6d2be830d2461.

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"
}

${dump zsh state default} builtin printf '${STATE MARKER} n'; dump zsh state

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13885507–13885586, SHA-256 0ac51c4f4edbe759.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${dump_zsh_state_default} builtin printf '${STATE_MARKER}\n'; dump_zsh_state

${dump_zsh_state_default} builtin printf '${STATE_MARKER}\n'; dump_zsh_state

shell-exec zsh 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 13886061–13886194, SHA-256 4246373f2add510e.

Jev judged not model-facing (confidence 0.03; 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: ${error3 instanceof Error ? error3.message : String(error3)}

[shell-exec] zsh state init spawn failed; falling back to empty state: ${error3 instanceof Error ? error3.message : String(error3)}

${ZSH STATE START MARKER}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13886403–13886431, SHA-256 43e53b3d9255a3b8.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${ZSH_STATE_START_MARKER}

${ZSH_STATE_START_MARKER}

${ZSH STATE END MARKER}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13886457–13886483, SHA-256 682776d2b1821d41.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${ZSH_STATE_END_MARKER}

${ZSH_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 13886789–13886808, SHA-256 612d28b4ef144acd.

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()}

use strict · byte 13887037

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13887037–13887049, 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 13887461

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13887461–13887479, 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. · byte 13887588

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13887588–13887625, 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 13887773

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13887773–13887805, 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 13887965

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13887965–13887989, 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 13888531

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13888531–13888573, 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 13890496–13890515, 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 13890566–13890580, 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

builtin export PATH="/usr/bin:/bin:/usr/sbin:/sbin${PATH:+:$PATH}"; snap=$(comma

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13890821–13891134, SHA-256 4563edd0665b2275.

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; ${sudoA

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13891165–13891347, SHA-256 0eba76b6e5f9bff4.

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; ${sudoAliasInjection}${core2}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state >&4; builtin exit $COMMAND_EXIT_CODE

builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2>/dev/null; ${sudoAliasInjection}${core2}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state >&4; builtin exit $COMMAND_EXIT_CODE

${ZSH STATE START MARKER} · byte 13894046

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13894046–13894074, SHA-256 43e53b3d9255a3b8.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${ZSH_STATE_START_MARKER}

${ZSH_STATE_START_MARKER}

${ZSH STATE END MARKER} · byte 13894112

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13894112–13894138, SHA-256 682776d2b1821d41.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${ZSH_STATE_END_MARKER}

${ZSH_STATE_END_MARKER}

shell-exec Close event did not fire within ${timeout2}ms after exit. This may · byte 13895774

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13895774–13895951, SHA-256 bbd39bb1b0579af8.

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. Killing detached process group.

[shell-exec] Close event did not fire within ${timeout2}ms after exit. This may indicate a background process is holding file descriptors open. Killing detached process group.

use strict · byte 13896856

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13896856–13896868, 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

/usr/bin/env zsh Usage: source dump zsh state light.zsh dump zsh state l

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13896952–13901495, SHA-256 0368c63da3f2eab0.

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"
}

${dump zsh state light default} builtin printf '${STATE MARKER} n'; dump zsh sta

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13901998–13902089, SHA-256 d40de982a618cd74.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${dump_zsh_state_light_default} builtin printf '${STATE_MARKER}\n'; dump_zsh_state_light

${dump_zsh_state_light_default} builtin printf '${STATE_MARKER}\n'; dump_zsh_state_light

shell-exec zsh-light state init spawn failed; falling back to empty state: ${e

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13902565–13902704, SHA-256 386825c0315645f0.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: [shell-exec] zsh-light state init spawn failed; falling back to empty state: ${error3 instanceof Error ? error3.message : String(error3)}

[shell-exec] zsh-light state init spawn failed; falling back to empty state: ${error3 instanceof Error ? error3.message : String(error3)}

${ZSH STATE LIGHT MARKER}

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13902908–13902936, SHA-256 c28d17b734357d5e.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${ZSH_STATE_LIGHT_MARKER}

${ZSH_STATE_LIGHT_MARKER}

${process.cwd()} · byte 13903037

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13903037–13903056, 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 13903302

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13903302–13903314, 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 13903732

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13903732–13903750, 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. · byte 13903859

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13903859–13903896, 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 13904044

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13904044–13904076, 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 13904236

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13904236–13904260, 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 13904802

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13904802–13904844, 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 13906787

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13906787–13906806, 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 · byte 13906857

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13906857–13906871, 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 13907112

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13907112–13907457, SHA-256 a8b18310fe10b4e0.

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 13907112”. 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; ${dump_zsh_state_light_default} 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; ${sudoA · byte 13907488

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13907488–13907676, SHA-256 5e2554397a8c7057.

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; ${sudoAliasInjection}${core2}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state_light >&4; builtin exit $COMMAND_EXIT_CODE

builtin export PWD="$(builtin pwd)"; builtin setopt aliases 2>/dev/null; ${sudoAliasInjection}${core2}; }; COMMAND_EXIT_CODE=$?; dump_zsh_state_light >&4; builtin exit $COMMAND_EXIT_CODE

${ZSH STATE LIGHT MARKER} · byte 13910371

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13910371–13910399, SHA-256 c28d17b734357d5e.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${ZSH_STATE_LIGHT_MARKER}

${ZSH_STATE_LIGHT_MARKER}

shell-exec Close event did not fire within ${timeout2}ms after exit. This may · byte 13911803

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13911803–13911983, SHA-256 efd77ad63c3f9b60.

Jev judged not model-facing (confidence 0.03; 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 13913082

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13913082–13913094, 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 13914134

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13914134–13914146, 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

event loop delay p95 ${snapshot.eventLoopDelayP95Ms.toFixed(1)}ms (threshold ${E

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13916575–13916713, SHA-256 9d3df268d560ed49.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: event loop delay p95 ${snapshot.eventLoopDelayP95Ms.toFixed(1)}ms (threshold ${EventLoopPressureThresholdDefault.EventLoopDelayP95Ms}ms)

event loop delay p95 ${snapshot.eventLoopDelayP95Ms.toFixed(1)}ms (threshold ${EventLoopPressureThresholdDefault.EventLoopDelayP95Ms}ms)

event loop utilization ${(snapshot.eventLoopUtilization 100).toFixed(1)}% (thr

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13916725–13916892, SHA-256 680a46aa27d049d3.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: event loop utilization ${(snapshot.eventLoopUtilization * 100).toFixed(1)}% (threshold ${(EventLoopPressureThresholdDefault.EventLoopUtilization * 100).toFixed(1)}%)

event loop utilization ${(snapshot.eventLoopUtilization * 100).toFixed(1)}% (threshold ${(EventLoopPressureThresholdDefault.EventLoopUtilization * 100).toFixed(1)}%)

event loop under pressure (${pressureReasons.join(", ")})

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13917048–13917107, SHA-256 be923c8549787a0b.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: event loop under pressure (${pressureReasons.join(", ")})

event loop under pressure (${pressureReasons.join(", ")})

event loop not under pressure

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13917110–13917141, SHA-256 f9f46de49eec9582.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: event loop not under pressure

event loop not under pressure

event loop pressure gate enabled; ${pressureState}; event loop metrics: ${metric

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13917158–13917242, SHA-256 33064a3e24171422.

Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: event loop pressure gate enabled; ${pressureState}; event loop metrics: ${metrics}

event loop pressure gate enabled; ${pressureState}; event loop metrics: ${metrics}

event loop delay p95 ${snapshot.eventLoopDelayP95Ms.toFixed(1)}ms = ${EventLoop

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13917448–13917577, SHA-256 da605befb058d763.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: event loop delay p95 ${snapshot.eventLoopDelayP95Ms.toFixed(1)}ms >= ${EventLoopPressureThresholdDefault.EventLoopDelayP95Ms}ms

event loop delay p95 ${snapshot.eventLoopDelayP95Ms.toFixed(1)}ms >= ${EventLoopPressureThresholdDefault.EventLoopDelayP95Ms}ms

event loop utilization ${(snapshot.eventLoopUtilization 100).toFixed(1)}% = $

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/agent-host-daemon/dist/bin/daemon.cjs, bytes 13917716–13917874, SHA-256 979ecec84087a8ab.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: event loop utilization ${(snapshot.eventLoopUtilization * 100).toFixed(1)}% >= ${(EventLoopPressureThresholdDefault.EventLoopUtilization * 100).toFixed(1)}%

event loop utilization ${(snapshot.eventLoopUtilization * 100).toFixed(1)}% >= ${(EventLoopPressureThresholdDefault.EventLoopUtilization * 100).toFixed(1)}%