6996.index.js · part 1
Full reference25 text occurrences from agent-cli/package/6996.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/6996.index.js, bytes 0–12, 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
set -eu
Source: agent-cli/package/6996.index.js, bytes 2189–2198, 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/6996.index.js, bytes 2202–2264, 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/6996.index.js, bytes 2265–2282, 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/6996.index.js, bytes 2283–2301, SHA-256 c2df1ab8cb959540.
Jev judged not model-facing (confidence 0.02; 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/6996.index.js, bytes 2312–2336, 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/6996.index.js, bytes 2337–2368, SHA-256 66fe45a1c211468b.
Jev judged not model-facing (confidence 0.02; 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/6996.index.js, bytes 2369–2400, SHA-256 ee23c18449908641.
Jev judged not model-facing (confidence 0.03; 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/6996.index.js, bytes 2401–2488, 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/6996.index.js, bytes 2489–2511, 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/6996.index.js, bytes 2512–2539, 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 2575
Source: agent-cli/package/6996.index.js, bytes 2575–2593, 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/6996.index.js, bytes 2614–2651, 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/6996.index.js, bytes 2655–2692, 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/6996.index.js, bytes 2693–2722, SHA-256 795d5d3571efecdb.
Jev judged not model-facing (confidence 0.03; 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/6996.index.js, bytes 2730–2766, 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/6996.index.js, bytes 2767–2875, SHA-256 7975029f0ba5565d.
Jev judged not model-facing (confidence 0.03; 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/6996.index.js, bytes 2876–2943, 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/6996.index.js, bytes 2964–3002, 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/6996.index.js, bytes 3604–3751, SHA-256 d9dc5158733bd278.
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/${f.rootDirName}/.install.lock if no update is running.
Another CLI update is already in progress. Wait for it to finish or remove ~/.local/share/${f.rootDirName}/.install.lock if no update is running.
Unsupported operating system: ${e}
Source: agent-cli/package/6996.index.js, bytes 3949–3985, SHA-256 3fe53f11315027fe.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported operating system: ${e}
Unsupported operating system: ${e}
Unsupported architecture: ${n}
Source: agent-cli/package/6996.index.js, bytes 4073–4105, SHA-256 4f7ed44bf90423c2.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported architecture: ${n}
Unsupported architecture: ${n}
Extraction failed (tar exit ${l})
Source: agent-cli/package/6996.index.js, bytes 4797–4832, SHA-256 8c6aaf868a0906d8.
Jev judged not model-facing (confidence 0.03; 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 ${s})
Source: agent-cli/package/6996.index.js, bytes 4847–4881, SHA-256 ff5d6fb611dbe4ed.
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 ${s})
Download failed (curl exit ${s})
Download failed: ${r instanceof Error?r.message:String(r)}
Source: agent-cli/package/6996.index.js, bytes 5328–5388, SHA-256 7bb49b292aa7daf2.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Download failed: ${r instanceof Error?r.message:String(r)}
Download failed: ${r instanceof Error?r.message:String(r)}