Skip to content

Instantly share code, notes, and snippets.

View glassdimly's full-sized avatar

Jeremy John glassdimly

View GitHub Profile
@glassdimly
glassdimly / README.md
Last active May 21, 2026 14:31
oh-my-openagent lean setup: Copilot+Gemini, no Claude/OpenAI/Zen — config cleanup, broken-model fixes, plain build/plan modes

oh-my-openagent: lean setup notes (Copilot + Gemini, no Claude/OpenAI/Zen)

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
@glassdimly
glassdimly / kitty-opencode-tmux-restore.md
Created May 18, 2026 14:50
Kitty + tmux + opencode: session restore plan and options

Kitty + tmux + opencode: Session Restore Plan

The Problem

After reboot (or just opening a fresh kitty window), you want to restore your workspace:

  • One kitty tab per tmux session
  • Each tmux session named for the task/ticket it was working on
  • Each tmux session had opencode running inside it
  • You want to resume the right opencode session (conversation history) in each tab
@glassdimly
glassdimly / broken-session-fix.md
Last active April 1, 2026 16:20
OpenCode: fix broken sessions (whitespace text parts) — DB nuke + build from source with PR #17742

Fixing Broken Sessions

Error: messages: text content blocks must contain non-whitespace text

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.

Symptoms

  • opencode --session <id> or opencode run --session <id> --fork "..." fails immediately with:
@glassdimly
glassdimly / Homebrew.md
Last active December 21, 2015 18:39 — forked from alanivey/Homebrew.md

Prerequisites

Xcode

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.

XQuartz

Install XQuarts to satisfy a library dependency for PHP.