Notes from configuring oh-my-openagent on a setup with:
- ✅ GitHub Copilot subscription
- ✅ Google (Gemini OAuth via opencode-gemini-auth)
- ❌ No Claude Pro/Max
- ❌ No ChatGPT Plus
- ❌ No OpenCode Zen
- ❌ No Z.ai, Kimi for Coding, OpenCode Go, Vercel AI Gateway
Notes from configuring oh-my-openagent on a setup with:
After reboot (or just opening a fresh kitty window), you want to restore your workspace:
When resuming or forking a session fails with this error, it means a whitespace-only text part (e.g. "\n\n") was saved to the session history. The Claude API rejects whitespace-only text content blocks, so the session cannot be replayed.
opencode --session <id> or opencode run --session <id> --fork "..." fails immediately with:
##Mac GitWatch
Based heavily on: https://gist.github.com/kbdluv/0ad7effe175e5f52d79078f422eab463#file-git-watch-sh
This watches the list of dirs in $repos. Remove mine and add your own. It will watch for changes and then commit and push the result.
To make this run and stay alive, you have to use automator to make an Application script.
Source: https://stackoverflow.com/questions/6442364/running-script-upon-login-mac
Go to http://developer.apple.com/downloads, log in with your Apple ID (free) and download the newest version of either Command Line Tools (OS X Lion) for Xcode or Command Line Tools (OS X Mountain Lion) for Xcode. Run the installer in the dmg and you'll have the LLVM compiler, make, and other build tools.
Install XQuarts to satisfy a library dependency for PHP.