5483e1553d
- setup-vm.sh: bump RELEASE_TAG default to v0.8.57, add gh CLI install step (official APT repo) and 4G swapfile creation (idempotent) - agent-session.sh: new sourceable helper that exports the provider key from /etc/codewhale/runtime.env for interactive agent sessions - README.md: update version refs, add agent-session.sh to layout, add Autonomous agent loop section with full pick->PR commands The droplet ops (binary upgrade, PAT setup, first end-to-end issue run) are documented as the next steps for the operator.
16 lines
614 B
Bash
Executable File
16 lines
614 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Source into an interactive agent shell (tmux, ssh) to export the provider
|
|
# key and set defaults that systemd normally handles via EnvironmentFile=.
|
|
#
|
|
# Usage (as the codewhale user):
|
|
# . /opt/whalebro/codewhale/scripts/remote-smoke/agent-session.sh
|
|
# codewhale models # should list deepseek-v4-pro
|
|
# gh auth status # should show the fine-grained PAT
|
|
#
|
|
# The runtime.env file is 0640 root:codewhale, readable by the codewhale user.
|
|
set -a
|
|
# shellcheck disable=SC1091
|
|
. /etc/codewhale/runtime.env
|
|
set +a
|
|
export CODEWHALE_MODEL="${CODEWHALE_MODEL:-deepseek-v4-pro}"
|