# opencode-anarchy

An OpenCode plugin that adds an anarchy-inspired command and tool.

## Features

- Custom tool: `anarchy_manifest`
- Slash command: `/manifesto`
- Custom tool: `pijul_manager`
- Slash commands: `/pijul-init`, `/pijul-spawn`, `/pijul-direct`, `/pijul-sync`, `/pijul-record`, `/pijul-push`, `/pijul-status`

## Installation

1. Install dependencies:

   ```bash
   bun install
   ```

2. Build the plugin:

   ```bash
   bun run build
   ```

3. Add to your OpenCode config (`~/.config/opencode/config.json`):

   ```json
   {
     "plugins": ["opencode-anarchy"]
   }
   ```

## Usage

- Tool: `anarchy_manifest`
- Command: `/manifesto`
- Tool: `pijul_manager`
- Commands: `/pijul-init`, `/pijul-spawn`, `/pijul-direct`, `/pijul-sync`, `/pijul-record`, `/pijul-push`, `/pijul-status`
- Direct `pijul` shell usage is blocked; use the tool commands instead.

## Repository

- `fitzgibbon@nest.pijul.com/fitzgibbon/opencode-anarchy`