mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
8cb904de0d
Ship the Cathedral Cut on the 3.x line with the intentional semver deviation documented for v3.3.0. Includes the complete release rebadge, release-gate artifacts, removed-command tombstones, and a legacy config read fallback that preserves existing settings when saving the new canonical path.\n\nValidated by the full local Go/release suite and all required GitHub checks on head 78027b009c.
26 lines
692 B
Bash
Executable File
26 lines
692 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# refresh-codex-local.sh — thin compatibility wrapper.
|
|
# AgentOps 3.3 uses source links, not a Codex plugin cache refresh.
|
|
# Prefer: ao skills link
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
cd "$REPO_ROOT"
|
|
|
|
if ! command -v ao >/dev/null 2>&1; then
|
|
if [[ -x "$REPO_ROOT/cli/bin/ao" ]]; then
|
|
AO="$REPO_ROOT/cli/bin/ao"
|
|
else
|
|
echo "ao not found on PATH. Build with: cd cli && make build" >&2
|
|
echo "Then run: ao skills link" >&2
|
|
exit 1
|
|
fi
|
|
else
|
|
AO="$(command -v ao)"
|
|
fi
|
|
|
|
echo "Linking AgentOps skills into detected runtimes (ao skills link)..."
|
|
exec "$AO" skills link "$@"
|