feat(opencode): add ocm install, schedule agent fallback, and session move guards

This commit is contained in:
Chris Scott committed 2026-09-26 13:11:20 -04:00
1 parent 53e3a0227e
commit eff10d7829
22 files changed
+845 -64

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cli="$root/dist/ocm.js"
if [ ! -f "$cli" ]; then
echo "ocm: $cli not found; build the package first (pnpm --filter @opencode-manager/ocm-cli build)" >&2
exit 1
fi
exec node "$cli" install "$@"