opencode-swarm-plugin@0.45.2
·
249 commits
to main
since this release
Patch Changes
-
70e62c9Thanks @joelhooks! - ## π¬ Smart Operations: From Eval Purgatory to Integration ParadiseBEFORE AFTER βββββββββββ βββββββββββ β evalite β ββCORRUPTβββΊ β bun:testβ β vitest β VTAB! β vec0 β β vec0? β β β β ββββββ³βββββ βββββββββββ β β β "database disk image β 5 pass, 2 skip β is malformed" β (libSQL bug, not us) βΌ βΌ π RIP π ALIVE"They test implementation detail and hurt migrations."
β The Coding Career HandbookMigrated
smart-operations.eval.tsfrom evalite to bun:test integration tests.Why? The sqlite-vec (vec0) extension loads fine in bun's native test runner but throws
SQLITE_CORRUPT_VTABin vitest/evalite. Rather than mock the unmockable, we moved where the tests can breathe.What moved:
evals/smart-operations.eval.tsβswarm-mail/src/memory/__tests__/smart-operations.integration.test.ts- Deleted:
evals/fixtures/smart-operations-fixtures.ts - Deleted:
evals/scorers/smart-operations-scorer.ts
Test results: 5 pass, 2 skip (UPDATE/DELETE have a separate libSQL corruption bug being tracked)
The eval tested: ADD/UPDATE/DELETE/NOOP smart memory operations with LLM-powered decision making. Now it actually runs.
-
Updated dependencies [
70e62c9]:- swarm-mail@1.6.2