mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-09 19:49:58 +00:00
feat: Add continue on Atlantic.Net (#896)
Agent: gap-filler Co-authored-by: B (Discovery Team) <6723574+louisgv@users.noreply.github.com>
This commit is contained in:
parent
7bb45975c7
commit
9eda867fd0
3 changed files with 56 additions and 1 deletions
|
|
@ -24,6 +24,12 @@ bash <(curl -fsSL https://openrouter.ai/labs/spawn/atlanticnet/aider.sh)
|
|||
bash <(curl -fsSL https://openrouter.ai/labs/spawn/atlanticnet/codex.sh)
|
||||
```
|
||||
|
||||
#### Continue
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/labs/spawn/atlanticnet/continue.sh)
|
||||
```
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/labs/spawn/atlanticnet/openclaw.sh)
|
||||
```
|
||||
|
|
|
|||
49
atlanticnet/continue.sh
Normal file
49
atlanticnet/continue.sh
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
#!/bin/bash
|
||||
set -eo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" 2>/dev/null && pwd)"
|
||||
if [[ -n "$SCRIPT_DIR" && -f "$SCRIPT_DIR/lib/common.sh" ]]; then
|
||||
source "$SCRIPT_DIR/lib/common.sh"
|
||||
else
|
||||
eval "$(curl -fsSL https://raw.githubusercontent.com/OpenRouterTeam/spawn/main/atlanticnet/lib/common.sh)"
|
||||
fi
|
||||
|
||||
log_info "Continue on Atlantic.Net Cloud"
|
||||
echo ""
|
||||
|
||||
ensure_atlanticnet_credentials
|
||||
ensure_ssh_key
|
||||
|
||||
SERVER_NAME=$(get_server_name)
|
||||
create_server "${SERVER_NAME}"
|
||||
|
||||
log_step "Waiting for server to be ready..."
|
||||
verify_server_connectivity "${ATLANTICNET_SERVER_IP}"
|
||||
|
||||
log_step "Installing Continue CLI..."
|
||||
run_server "${ATLANTICNET_SERVER_IP}" "npm install -g @continuedev/cli"
|
||||
|
||||
echo ""
|
||||
if [[ -n "${OPENROUTER_API_KEY:-}" ]]; then
|
||||
log_info "Using OpenRouter API key from environment"
|
||||
else
|
||||
OPENROUTER_API_KEY=$(get_openrouter_api_key_oauth 5180)
|
||||
fi
|
||||
|
||||
log_step "Setting up environment variables..."
|
||||
run_server "${ATLANTICNET_SERVER_IP}" "cat >> ~/.bashrc << 'EOF'
|
||||
export OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
|
||||
EOF"
|
||||
|
||||
setup_continue_config "${OPENROUTER_API_KEY}" \
|
||||
"upload_file ${ATLANTICNET_SERVER_IP}" \
|
||||
"run_server ${ATLANTICNET_SERVER_IP}"
|
||||
|
||||
echo ""
|
||||
log_info "Server setup completed successfully!"
|
||||
echo ""
|
||||
|
||||
log_step "Starting Continue CLI in TUI mode..."
|
||||
sleep 1
|
||||
clear
|
||||
interactive_session "${ATLANTICNET_SERVER_IP}" "source ~/.bashrc && cn"
|
||||
|
|
@ -1290,7 +1290,7 @@
|
|||
"atlanticnet/opencode": "implemented",
|
||||
"atlanticnet/plandex": "implemented",
|
||||
"atlanticnet/kilocode": "missing",
|
||||
"atlanticnet/continue": "missing",
|
||||
"atlanticnet/continue": "implemented",
|
||||
"hostkey/claude": "implemented",
|
||||
"hostkey/openclaw": "implemented",
|
||||
"hostkey/nanoclaw": "missing",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue