Skip to content

v1.3.0 — Monolith split, config validation, 100+ new tests

Choose a tag to compare

@MrGray17 MrGray17 released this 26 May 18:51
· 72 commits to main since this release

What's new

Refactoring

  • Split index.ts into config/guards/wrappers modules
  • Split 702-line pipelines.ts into pipelines/{bash,read,grep,glob,shared}.ts (max 270 lines)
  • Decoupled progressive, rewind, skeleton, symbolindex modules

Bug fixes

  • MEMORY_DIR path: .config/opencode/token → .config/opentoken
  • suppressOversized: text.length → Buffer.byteLength (correct multibyte handling)
  • symbolindex regex: 42 patterns missing /gm flags — fixed infinite loop
  • autoescalate: hysteresis thresholds prevent oscillation
  • LTSC: overlap detection + safe ◆ delimiter

Features

  • Config schema validation: unknown key warnings + type mismatch checks
  • CI coverage flag (bun test --coverage)
  • Automated GitHub Releases on tag push
  • Install script errors on invalid tag (no main-branch fallback)

Tests (+100 new)

  • Unicode: 11 tests (emoji, CJK, RTL, ZWJ, null-byte, multibyte)
  • Concurrent sessions: isolated counters + eviction via Promise.all
  • 50MB stress: 3 tests (reject, accept, boundary)
  • E2E: before-hook rewrite, pipeline compression, session lifecycle
  • Benchmarks: 7 pipeline timing benchmarks
  • Smoke tests: 6 integration tests
  • Session store, symbol index, filters expanded

Performance

  • Bun.spawn([\"rm\",…]) → fs.unlinkSync in 3 modules
  • Bun.spawn([\"mkdir\",…]) → fs.mkdirSync with recursive

Docs & infra

  • README fully rewritten: demo-first, pipeline viz, comparison table
  • Issue/PR templates, funding.yml, Ko-fi
  • CHANGELOG.md removed from npm publish
  • Mirror synced: .opencode/plugins/opentoken/ clean