Files
Clawd BotandClaude Opus 4.6 ca9b510922 chore: align with upstream openclaw/openclaw and overlay local additions
- Reset master to upstream/main (16,697 commits)
- Overlay 2,271 local-only files (skills, tools, workspace, configs, apps)
- Restore IDENTITY.md and USER.md templates
- Build verified, gateway running, Discord working

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-03 07:40:46 +01:00

30 lines
576 B
Bash

#!/usr/bin/env bash
set -euo pipefail
PROMPT=${1:-}
shift || true
if [[ -z "${PROMPT}" ]]; then
echo "Usage: copilot_interactive.sh \"<prompt>\" [--model <model>] [--add-dir <dir>]" >&2
exit 2
fi
MODEL="claude-sonnet-4.5"
ADD_DIR="$(pwd)"
while [[ $# -gt 0 ]]; do
case "$1" in
--model)
MODEL="$2"; shift 2 ;;
--add-dir)
ADD_DIR="$2"; shift 2 ;;
*)
echo "Unknown arg: $1" >&2
exit 2 ;;
esac
done
ARGS=(-- --model "$MODEL" -i "$PROMPT" --no-color --stream on --allow-all-tools --add-dir "$ADD_DIR")
exec gh copilot "${ARGS[@]}"