mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
3de555f5e5
* fix(opencode): add host-compatible runtime bridge * fix(opencode): preserve parity in cli bridge * test(opencode): add isolated sandbox launcher * test(opencode): keep reusable sandbox launchers * test(opencode): export local plugin default * test(opencode): install OpenChamber deps when needed * test(opencode): avoid OpenChamber default port collision * fix(opencode): harden cli bridge fallback * test(opencode): clean isolated sandbox helpers
26 lines
690 B
Bash
Executable File
26 lines
690 B
Bash
Executable File
#!/bin/bash
|
|
# One-command isolated OpenCode sandbox for Plannotator local development.
|
|
#
|
|
# Usage:
|
|
# ./tests/manual/local/sandbox-opencode-isolated.sh [sandbox-opencode.sh options]
|
|
#
|
|
# Defaults:
|
|
# - isolated HOME/XDG/Bun cache dirs
|
|
# - forced Plannotator CLI bridge runtime
|
|
# - OpenCode sharing disabled
|
|
#
|
|
# Examples:
|
|
# ./tests/manual/local/sandbox-opencode-isolated.sh
|
|
# ./tests/manual/local/sandbox-opencode-isolated.sh --runtime auto
|
|
# ./tests/manual/local/sandbox-opencode-isolated.sh --runtime embedded --no-launch
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
exec "$SCRIPT_DIR/sandbox-opencode.sh" \
|
|
--isolated \
|
|
--runtime cli \
|
|
--disable-sharing \
|
|
"$@"
|