Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions DEVELOPMENT_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ $PROJECT_DIR # Project directory (mounted at full host path)
/home/agent/.m2 # Maven cache
/home/agent/.gradle # Gradle cache
/home/agent/.shell_history # History directory (HISTFILE env var points to zsh_history inside)
/home/agent/.agents # Centralized agents directory (skills, prompts, etc.)
/home/agent/.claude # Claude config
/home/agent/.config/opencode # OpenCode config
/home/agent/.local/share/opencode # OpenCode auth
Expand Down
7 changes: 7 additions & 0 deletions agentbox
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,13 @@ run_container() {
log_info "Claude CLI configuration mounted"
fi

# Mount centralized agents directory (skills, prompts, etc.)
local agents_dir="${HOME}/.agents"
if [[ -d "$agents_dir" ]]; then
mount_opts+=(-v "${agents_dir}:/home/agent/.agents")
log_info "Agents directory mounted"
fi

# Set tool environment variable
mount_opts+=(--env "TOOL=$tool")

Expand Down
Loading