File size: 1,298 Bytes
4692a30
765fe0a
 
 
 
 
4692a30
 
 
 
765fe0a
 
 
 
4692a30
 
765fe0a
 
 
 
 
 
 
 
4692a30
 
765fe0a
4692a30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Agent Web (/etc/profile.d/agentweb.sh): login shells (the Terminal tab) get
# the same setup as the chat's Claude. The Storage Bucket keeps plain files
# but not symlinks or execute permissions, so runnable copies, caches and uv
# tools live on local disk ($AGENTWEB_LOCAL) and are rebuilt at every start;
# `agentweb-install help` explains how to install things that last.
export AGENTWEB_LOCAL="${AGENTWEB_LOCAL:-/home/node/.agentweb-local}"
case ":$PATH:" in
  *":$HOME/.local/bin:"*) ;;
  *) PATH="$HOME/.local/bin:$PATH" ;;
esac
case ":$PATH:" in
  *":$AGENTWEB_LOCAL/bin:"*) ;;
  *) PATH="$AGENTWEB_LOCAL/bin:$PATH" ;;
esac
export PATH
export NPM_CONFIG_PREFIX="$HOME/.local"
export npm_config_cache="$AGENTWEB_LOCAL/cache/npm"
export UV_CACHE_DIR="$AGENTWEB_LOCAL/cache/uv"
export UV_PYTHON_INSTALL_DIR="$AGENTWEB_LOCAL/uv-python"
export UV_TOOL_DIR="$AGENTWEB_LOCAL/uv-tools"
export UV_TOOL_BIN_DIR="$AGENTWEB_LOCAL/bin"
export PIP_CACHE_DIR="$AGENTWEB_LOCAL/cache/pip"
export COREPACK_HOME="$AGENTWEB_LOCAL/corepack"
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
# The terminal's `claude` (npm, image) does not update itself: with npm
# writing to ~/.local it would put a few hundred MB on the bucket each
# release. Rebuilding the Space installs the pinned one.
export DISABLE_AUTOUPDATER=1