3241.index.js · part 1
Full reference39 text occurrences from agent-cli/package/3241.index.js, part 1. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
use strict
Source: agent-cli/package/3241.index.js, bytes 0–12, 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
set -eu
Source: agent-cli/package/3241.index.js, bytes 2194–2203, SHA-256 701ca97ab9276bb8.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: set -eu
set -eu
Find cursor executable in PATH, excluding the current shim
Source: agent-cli/package/3241.index.js, bytes 2207–2269, SHA-256 1c03aa11e2f80408.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: # Find cursor executable in PATH, excluding the current shim
# Find cursor executable in PATH, excluding the current shim
find cursor() {
Source: agent-cli/package/3241.index.js, bytes 2270–2287, SHA-256 115b7e7f9bc4e305.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: find_cursor() {
find_cursor() {
old IFS="$IFS"
Source: agent-cli/package/3241.index.js, bytes 2288–2306, SHA-256 c2df1ab8cb959540.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: old_IFS="$IFS"
old_IFS="$IFS"
for dir in $PATH; do
Source: agent-cli/package/3241.index.js, bytes 2317–2341, SHA-256 2dd329c9637249cb.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: for dir in $PATH; do
for dir in $PATH; do
-n "$dir" continue
Source: agent-cli/package/3241.index.js, bytes 2342–2373, SHA-256 66fe45a1c211468b.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: [ -n "$dir" ] || continue
[ -n "$dir" ] || continue
cursor path="$dir/cursor"
Source: agent-cli/package/3241.index.js, bytes 2374–2405, SHA-256 ee23c18449908641.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: cursor_path="$dir/cursor"
cursor_path="$dir/cursor"
if "$cursor path" = "$HOME/.local/bin/cursor" -x "$cursor path" ; the
Source: agent-cli/package/3241.index.js, bytes 2406–2493, SHA-256 ba599cebf37a3512.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: if [ "$cursor_path" != "$HOME/.local/bin/cursor" ] && [ -x "$cursor_path" ]; then
if [ "$cursor_path" != "$HOME/.local/bin/cursor" ] && [ -x "$cursor_path" ]; then
IFS="$old IFS"
Source: agent-cli/package/3241.index.js, bytes 2494–2516, SHA-256 29825427031aaa78.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: IFS="$old_IFS"
IFS="$old_IFS"
echo "$cursor path"
Source: agent-cli/package/3241.index.js, bytes 2517–2544, SHA-256 b65342d3b97ff616.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: echo "$cursor_path"
echo "$cursor_path"
IFS="$old IFS" · byte 2580
Source: agent-cli/package/3241.index.js, bytes 2580–2598, SHA-256 943f32e06ff1b9a7.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: IFS="$old_IFS"
IFS="$old_IFS"
OTHER CURSOR=$(find cursor true)
Source: agent-cli/package/3241.index.js, bytes 2619–2656, SHA-256 b9b4ba669ff79fa2.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: OTHER_CURSOR=$(find_cursor || true)
OTHER_CURSOR=$(find_cursor || true)
if -n "${OTHER CURSOR:-}" ; then
Source: agent-cli/package/3241.index.js, bytes 2660–2697, SHA-256 3a3efdc1bf310744.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: if [ -n "${OTHER_CURSOR:-}" ]; then
if [ -n "${OTHER_CURSOR:-}" ]; then
exec "$OTHER CURSOR" "$@"
Source: agent-cli/package/3241.index.js, bytes 2698–2727, SHA-256 795d5d3571efecdb.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: exec "$OTHER_CURSOR" "$@"
exec "$OTHER_CURSOR" "$@"
if "${1:-}" = "agent" ; then
Source: agent-cli/package/3241.index.js, bytes 2735–2771, SHA-256 193d1c61822ef86a.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: if [ "${1:-}" != "agent" ]; then
if [ "${1:-}" != "agent" ]; then
echo "Error: No Cursor IDE installation found. Use 'cursor agent' or 'agent' to
Source: agent-cli/package/3241.index.js, bytes 2772–2880, SHA-256 7975029f0ba5565d.
Jev judged not model-facing (confidence 0.02; role human). This is a classifier judgment, not proof of delivery.
Readable text: echo "Error: No Cursor IDE installation found. Use 'cursor agent' or 'agent' to run the agent." 1>&2
echo "Error: No Cursor IDE installation found. Use 'cursor agent' or 'agent' to run the agent." 1>&2
echo "Or, install Cursor at https://cursor.com/download" 1 2
Source: agent-cli/package/3241.index.js, bytes 2881–2948, SHA-256 77336a489813952a.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: echo "Or, install Cursor at https://cursor.com/download" 1>&2
echo "Or, install Cursor at https://cursor.com/download" 1>&2
exec "$HOME/.local/bin/agent" "$@"
Source: agent-cli/package/3241.index.js, bytes 2969–3007, SHA-256 5f84f258030d3f42.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: exec "$HOME/.local/bin/agent" "$@"
exec "$HOME/.local/bin/agent" "$@"
Another CLI update is already in progress. Wait for it to finish or remove /.lo
Source: agent-cli/package/3241.index.js, bytes 3609–3756, SHA-256 6d8dfdd92ecc95e6.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Another CLI update is already in progress. Wait for it to finish or remove ~/.local/share/${m.rootDirName}/.install.lock if no update is running.
Another CLI update is already in progress. Wait for it to finish or remove ~/.local/share/${m.rootDirName}/.install.lock if no update is running.
Unsupported operating system: ${t}
Source: agent-cli/package/3241.index.js, bytes 3954–3990, SHA-256 2abc215fd8727edc.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported operating system: ${t}
Unsupported operating system: ${t}
Unsupported architecture: ${r}
Source: agent-cli/package/3241.index.js, bytes 4078–4110, SHA-256 14cb1bc25cffc5d6.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported architecture: ${r}
Unsupported architecture: ${r}
Extraction failed (tar exit ${l})
Source: agent-cli/package/3241.index.js, bytes 4802–4837, SHA-256 8c6aaf868a0906d8.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Extraction failed (tar exit ${l})
Extraction failed (tar exit ${l})
Download failed (curl exit ${c})
Source: agent-cli/package/3241.index.js, bytes 4852–4886, SHA-256 e27cfc2b10b14729.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Download failed (curl exit ${c})
Download failed (curl exit ${c})
Download failed: ${e instanceof Error?e.message:String(e)}
Source: agent-cli/package/3241.index.js, bytes 5333–5393, SHA-256 412e0c17965417c0.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Download failed: ${e instanceof Error?e.message:String(e)}
Download failed: ${e instanceof Error?e.message:String(e)}
Invalid channel "${t}"
Source: agent-cli/package/3241.index.js, bytes 6208–6232, SHA-256 550c069533ecba24.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid channel "${t}"
Invalid channel "${t}"
Channel set to ${c}, but updating failed: ${e instanceof Error?e.message:String(
Source: agent-cli/package/3241.index.js, bytes 6506–6640, SHA-256 227e04fdaf1a8402.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Channel set to ${c}, but updating failed: ${e instanceof Error?e.message:String(e)}. Run 'cursor-agent set-channel ${c}' to retry.
Channel set to ${c}, but updating failed: ${e instanceof Error?e.message:String(e)}. Run `cursor-agent set-channel ${c}` to retry.
Failed to fetch update info from ${e}: ${t instanceof Error?t.message:String(t)}
Source: agent-cli/package/3241.index.js, bytes 7309–7391, SHA-256 907a152333edb955.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Failed to fetch update info from ${e}: ${t instanceof Error?t.message:String(t)}
Failed to fetch update info from ${e}: ${t instanceof Error?t.message:String(t)}
Failed to fetch update info from ${e}: HTTP ${t.status}
Source: agent-cli/package/3241.index.js, bytes 7418–7475, SHA-256 eac4eead1608b413.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Failed to fetch update info from ${e}: HTTP ${t.status}
Failed to fetch update info from ${e}: HTTP ${t.status}
Update info at ${e} is not valid JSON: ${t instanceof Error?t.message:String(t)}
Source: agent-cli/package/3241.index.js, bytes 7523–7605, SHA-256 714b3df11abd1fbc.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Update info at ${e} is not valid JSON: ${t instanceof Error?t.message:String(t)}
Update info at ${e} is not valid JSON: ${t instanceof Error?t.message:String(t)}
Update info at ${e} must contain non-empty "version" and "url" string fields
Source: agent-cli/package/3241.index.js, bytes 7791–7869, SHA-256 b501b307910d783b.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Update info at ${e} must contain non-empty "version" and "url" string fields
Update info at ${e} must contain non-empty "version" and "url" string fields
Invalid response from server: missing URL or version information
Source: agent-cli/package/3241.index.js, bytes 8065–8131, SHA-256 115c899e14c9e1f5.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid response from server: missing URL or version information
Invalid response from server: missing URL or version information
Invalid version format: ${e}
Source: agent-cli/package/3241.index.js, bytes 8251–8281, SHA-256 7158f6f6289d027d.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid version format: ${e}
Invalid version format: ${e}
Invalid version format: ${e} or ${t}
Source: agent-cli/package/3241.index.js, bytes 8509–8547, SHA-256 3fc16706df7b9463.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid version format: ${e} or ${t}
Invalid version format: ${e} or ${t}
Checking for updates...
Source: agent-cli/package/3241.index.js, bytes 8679–8704, SHA-256 c238e1c988581057.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Checking for updates...
Checking for updates...
Already up to date
Source: agent-cli/package/3241.index.js, bytes 8811–8831, SHA-256 c6728092b2f8e855.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Already up to date
Already up to date
Latest version available: ${u.version}
Source: agent-cli/package/3241.index.js, bytes 8846–8886, SHA-256 14288ea802026b68.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Latest version available: ${u.version}
Latest version available: ${u.version}
${e.latestVersion} (up to date)
Source: agent-cli/package/3241.index.js, bytes 9589–9622, SHA-256 69f5d0d841a1aa30.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${e.latestVersion} (up to date)
${e.latestVersion} (up to date)
${e.latestVersion} (update available — run ${(0,o.mf)()} update )
Source: agent-cli/package/3241.index.js, bytes 9652–9724, SHA-256 bd23237b4657d5fc.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: ${e.latestVersion} (update available — run '${(0,o.mf)()} update')
${e.latestVersion} (update available — run `${(0,o.mf)()} update`)