Skip to content

v0.2.3 - Architecture Simplification & Vision Auto-Routing

Latest

Choose a tag to compare

@0xSero 0xSero released this 23 Dec 17:11
· 23 commits to main since this release
c0e1b6b

🎉 v0.2.3 Release

Major architecture simplification release that removes ~3,700 lines of code while adding powerful new capabilities.


✨ New Features

Vision Auto-Routing

  • Automatic image detection and routing to vision-capable workers
  • Supports clipboard images, file URLs, data URLs, and base64 formats
  • Global lock prevents concurrent processing race conditions
  • Debug toast notifications for tracing the vision pipeline

Worker Pool Architecture

  • New centralized worker pool management (worker-pool.ts)
  • Replaces fragmented device-registry + profile-lock + registry trio
  • Single source of truth for worker lifecycle
  • Cleaner spawn/stop semantics

Additional Features

  • Progress Tracking - Real-time progress reporting for long-running operations
  • Stream Formatter - Structured output formatting for worker responses
  • Memory Injection - Automatic context injection from Neo4j knowledge graph
  • Vision Analyzer - Dedicated image analysis module
  • Passthrough Mode - Direct model passthrough without worker overhead
  • OpenCode Config Integration - Read OpenCode's native configuration

🔧 Architecture Changes

User Message → Orchestrator
                    ↓
              Vision Router → detects images → routes to vision worker
                    ↓
              Worker Pool → manages worker lifecycle
                    ↓
              Spawner → creates OpenCode subprocess workers
                    ↓
              Bridge Server → handles worker↔orchestrator IPC
  • Consolidated device-registry.ts, profile-lock.ts, and registry.ts → single worker-pool.ts
  • Simplified bridge server for cleaner IPC
  • Streamlined spawner with cleaner spawn logic

🗑️ Removed

  • Device registry system (replaced by worker pool)
  • Profile lock mechanism (simplified spawn coordination)
  • Message bus complexity (streamlined to essential messaging)
  • ~1,800 lines of flaky/brittle tests

🐛 Fixed

  • Instance tracking issue causing sessions not to terminate properly with orchestrator
  • CodeRabbit review comments (biome config, CODEOWNERS, markdown code blocks)

📊 Stats

  • +7,205 additions / -4,182 deletions
  • Net reduction of ~3,700 lines while adding features

📦 Installation

# npm
npm install opencode-orchestrator@0.2.3

# Or add to your OpenCode plugins

Full Changelog: v0.0.1...v0.2.3