• v0.4.0 3d5cc29217

    v0.4.0
    All checks were successful
    ci/woodpecker/push/compliance Pipeline was successful
    ci/woodpecker/push/quality Pipeline was successful
    ci/woodpecker/push/draft-notes Pipeline was successful
    ci/woodpecker/tag/deploy-docs Pipeline was successful
    ci/woodpecker/tag/release Pipeline was successful
    ci/woodpecker/tag/release-image Pipeline was successful
    Stable

    morten-olsen released this 2026-08-22 08:52:58 +02:00 | 1 commits to main since this release

    ⚠ BREAKING CHANGES

    • core: give NLP intents an execute and a typed entity lookup (a70dfb44)
      execute is required on defineNLPAction. Every NLP action must
      now say what it does when matched.
    • core: move persistence from SQLite to Postgres (29a5883f)
      createSqliteCreator and the @grundlag/core/sqlite subpath are
      replaced by createPgliteCreator (@grundlag/core/pglite) and
      createPostgresCreator (@grundlag/core/postgres). Existing SQLite data is not
      migrated — there is no upgrade path, which is why this lands before the first
      release. A provider's own SQL only needs revisiting where it used SQLite-specific
      syntax. A database creator is now expected to support vectors; providers/sources
      refuses to start without it rather than coming up half-working.
    • core: expose entity search and get as agent tools (fd991d20)
      EntityType.searchInput must now be a z.ZodObject rather than
      any z.ZodType. The search tool folds cursor and limit in alongside the
      caller's own fields — { query: 'x', limit: 5 } rather than a nested wrapper —
      and that flattening is only possible over an object. Every entity in this repo
      already used z.object(...). A consequence worth knowing: a cursor or limit
      field of your own is overwritten by the paging pair.

    Features

    • core: add invokeAction to reach an action from an intent (3d5cc292)
    • core: give NLP intents an execute and a typed entity lookup (a70dfb44)
    • server: expose NLP classification over HTTP (b635ddf8)
    • nlp: add an nlp.js intent classification engine (85156416)
    • core: declare NLP intents and slots on a provider (b4a55953)
    • core: move persistence from SQLite to Postgres (29a5883f)
    • sources: add a source library provider with hybrid search (84ba9c20)
    • core: expose entity search and get as agent tools (fd991d20)
    • core: group errors by semantics and map them onto HTTP (efaff8f4)
    • core: load SQLite extensions from the host's creator (75745719)

    Bug Fixes

    • sandbox: wait for actions a script started but never awaited (61ad0f18)

    Full changelog: v0.3.1...v0.4.0

    Downloads