A collection of tools and plugins to complement OpenCode.
An OpenCode plugin that enables private session sharing and ingestion. This allows you to:
- Create private shares: Save your OpenCode sessions locally for later reference or sharing
- Ingest sessions: Restore previously saved sessions, even on different machines with automatic path remapping
npm install @madisonbullard/opencode-private-shareAdd the plugin to your OpenCode configuration:
{
"plugins": {
"private-share": "@madisonbullard/opencode-private-share"
}
}The plugin provides two tools:
Creates a private share of your current session. The session data is saved locally to ~/.opencode/private-shares/.
Restores a previously saved session. Use list as the shareId to see available sessions.
ingest-session shareId="list" # List available sessions
ingest-session shareId="2025-01-15-my-session" # Ingest a specific session
If the session was created on a different machine, the plugin will attempt to auto-detect the repository location. If it cannot be found automatically, you can specify the path:
ingest-session shareId="2025-01-15-my-session" projectPath="/path/to/repo"
This is a monorepo managed with Bun workspaces and Turborepo.
- Bun v1.3.5 or later
# Install dependencies
bun install
# Run type checking
bun typecheck
# Run linting
bun check| Command | Description |
|---|---|
bun check |
Run Biome linter |
bun fix |
Auto-fix linting issues |
bun typecheck |
Run TypeScript type checking |
bun publish |
Publish packages (maintainers only) |
opencode-tools/
├── packages/
│ └── plugins/
│ └── private-share/ # OpenCode plugin for private session sharing
├── scripts/
│ └── publish.ts # Publishing automation
├── biome.json # Linter configuration
├── turbo.json # Turborepo configuration
└── package.json # Root package configuration
MIT - see LICENSE for details.