Skip to content

liminal 0.10.0

Choose a tag to compare

@kmgreiner3 kmgreiner3 released this 20 Nov 03:22
· 34 commits to main since this release
3c46384

Added

  • GET /admin/cards: every loaded handler's capability card (#232). The admin plane
    returns each handler's card under the name a grant's allowed_handlers and a tool name
    use. Fields a handler adds beside the schema's come back as written: the card's labels,
    and keys on a tool such as permissions and risk. A governing service can then work
    out what a grant opens from the handlers themselves. kobo uses it to derive which
    handlers and scopes each permission opens, instead of keeping a table of another
    install's handlers (docs/writing-a-handler.md, "Fields a room reads from your card"). An
    admin plane built without the registry answers 404, never an empty list, so a reader
    keeps what it knew. create_admin_app takes registry=, and serve --admin-port
    passes the registry it discovered.
  • cabal handler (#189). A person's own MCP agent (Claude Code, goose, pi) sends tasks to
    cabal's personas and collects them: cabal.agents, send, task, tasks, answer,
    cancel, made as A2A v1.0 calls to /agents/{agent}/a2a. The caller's grant is its credential
    set, one CABAL_TOKEN_<AGENT> dispatch token per persona. send returns at once; a send that
    may have reached cabal without a reply returns outcome: "uncertain" with its contextId, which
    tasks settles. Setup and revocation: docs/cabal-handler.md.
  • cabal.inbox (cabal#314). The tasks waiting on the caller (input-required) across every
    persona it holds a token for, newest first, each with the agent's question, a group task once.
    contrib/claude-code/cabal_inbox_hook.py prints them into a Claude Code session at start and
    when a new one arrives (docs/cabal-handler.md, "Inbox").
  • exchange_uri on a trust-registry issuer: liminal trades a standing token itself
    (#227; sovereign mode, off by default). A caller that is a team's own code had to write the
    trade of its issuer's standing token for a short aud-scoped one, and the refresh, by
    hand. With exchange_uri set on its [[issuer]], it presents the standing token and
    liminal makes the trade: only after the signature and issuer hold (AudienceError),
    POSTed as a bearer, the answer verified in full, the identity reused for five minutes at
    most. The trade hands a caller nothing it could not fetch with one request of its own.
    What changes is that the standing token reaches liminal, so it is opt-in per issuer and
    the guide says what it costs. A registry without the key behaves as before.

Changed

  • serve --cabal-url exports LIMINAL_CABAL_URL before handler discovery when the variable is
    unset, so handlers that read it (the cabal handler) get the flag's value.

Upgrading

  • An embedding that builds its admin listener with create_admin_app passes registry=
    (the data plane's) to serve GET /admin/cards; without it that route answers 404.
    liminal serve already does.
  • The cabal handler ships in liminal's own entry points, so every install now loads it. A
    persona whose grant allows every handler (allowed_handlers unset) also sees cabal.*.
    Those tools refuse every call until LIMINAL_CABAL_A2A_URL or LIMINAL_CABAL_URL is set
    and the caller holds a CABAL_TOKEN_<AGENT> credential.