oc-chats
v1.1.0
Published
Easy frictionless chats with your computer, powered by OpenCode.
Readme
OC Chats
Easy frictionless chats with your computer, powered by OpenCode.
Purpose
OpenCode is designed for agentic coding sessions tied to projects. OC Chats provides a sandbox for off-topic, quick conversations that don't pollute your project sessions.
Quick Start
# Install globally.
bun add -g oc-chats
# Set up OC Chats.
chats install
# Start new chat.
chats new
# List and select chat.
chats list
# Resume by ID or prefix.
chats resume abc123
chats resume "my chat"Features
- Isolated chat environment (~/.oc-chats).
- Full read access, but potentially destructive operations require confirmation.
- Fuzzy search session selection.
Directory Structure
~/.oc-chats/
├── identity-repository/ # Identity repo for session grouping.
│ └── .git/
│ └── opencode # Project ID marker.
└── config/
└── opencode/
└── opencode.json # OpenCode configuration,
# e.g., agents, permissions.Commands
| Command | Description |
| ----------------------- | ----------------------------------------------------- |
| install | Set up ~/.oc-chats directory and config. |
| new | Start a new chat session. |
| list | List and select chat sessions with fuzzy search. |
| resume <ID \| prefix> | Resume a chat by exact ID or prefix match. |
| debug opencode <cmd> | Debug tools for OpenCode configuration and internals. |
Development
# Install dependencies.
bun install
# Run in dev mode.
bun run dev
# Build.
bun run build