Skip to content
    ↑↓ select↵ openesc close
    English中文
    madisonbullard

    Private Share

    v0.2.1Other
    @madisonbullard/opencode-private-share

    OpenCode plugin that handles sharing to private AWS infra.

    GitHub stars

    0

    Monthly installs

    30

    9 in 7 days

    Composite scoreSCORE

    16.6

    Multi-signal model

    Last commit

    7 months ago

    2025-12-30

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@madisonbullard/opencode-private-share@0.2.1"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    A collection of tools and plugins to complement OpenCode.

    Packages

    @madisonbullard/opencode-private-share

    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

    Installation

    npm install @madisonbullard/opencode-private-share
    

    Configuration

    Add the plugin to your OpenCode configuration:

    {
      "plugins": {
        "private-share": "@madisonbullard/opencode-private-share"
      }
    }
    

    Usage

    The plugin provides two tools:

    private-share

    Creates a private share of your current session. The session data is saved locally to ~/.opencode/private-shares/.

    ingest-session

    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"
    

    Development

    This is a monorepo managed with Bun workspaces and Turborepo.

    Prerequisites

    • Bun v1.3.5 or later

    Setup

    # Install dependencies
    bun install
    
    # Run type checking
    bun typecheck
    
    # Run linting
    bun check
    

    Scripts

    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)

    Project Structure

    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
    

    License

    MIT - see LICENSE for details.