Skip to content

opencode-swarm-plugin@0.45.2

Choose a tag to compare

@github-actions github-actions released this 28 Dec 04:14
· 249 commits to main since this release
cb3291f

Patch Changes

  • 70e62c9 Thanks @joelhooks! - ## πŸ”¬ Smart Operations: From Eval Purgatory to Integration Paradise

         BEFORE                          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 Handbook

    Migrated smart-operations.eval.ts from evalite to bun:test integration tests.

    Why? The sqlite-vec (vec0) extension loads fine in bun's native test runner but throws SQLITE_CORRUPT_VTAB in 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