Skip to content

v0.3.0

Choose a tag to compare

@Alexkuva Alexkuva released this 02 Nov 20:31
· 3 commits to main since this release
13303a5

Added

  • Ten billing tools, for an organization where billing is on: kaiten_get_billing, kaiten_get_prices
    (with the invoice a subscription would issue), kaiten_get_invoices, kaiten_save_prices,
    kaiten_subscribe_instance, kaiten_cancel_subscription, kaiten_set_instance_addon, kaiten_save_voucher,
    kaiten_redeem_voucher and kaiten_mark_invoice_paid. Where billing is off, they say why, from Kaiten's
    billing capabilities. A voucher's code shows by its last four characters, except in the answer that creates it.
  • Three webhook tools for Kaiten Cloud: kaiten_get_webhooks, which also searches the catalogue of the events
    Kaiten publishes, kaiten_save_webhook and kaiten_delete_webhook. The catalogue is read from the SDK's
    generated event models. A webhook URL shows by its scheme and host only, and a new endpoint's signing secret
    only in the answer that creates it.
  • The server goes from 31 to 44 tools, and read-only mode from 15 to 19.

Changed

  • The server requires kaitencloud 1.1.0, whose models follow Kaiten 26.10.8: use it with Kaiten 26.10.8 or
    later. The scopes kaiten_issue_token takes come from the SDK's Scope, which now lists billing's.

Security

  • Over Streamable HTTP, each request must bring its own Authorization: Bearer ksh_... header.
    KAITEN_API_TOKEN is never an HTTP fallback, even on a single-user server: a client that sent no
    header is now refused, and must send its own token or use stdio. stdio is unchanged.
  • Critical TLS and JWT dependencies are updated.

Fixed

  • Usage is set against the limit Kaiten enforces on the instance: the License's grant with its
    add-ons, voucher boosts and entitlement exception applied, rather than the License's grant alone.
    kaiten_get_usage, kaiten_get_instance and the views built on them read it, and
    kaiten_report_usage no longer refuses a report on an entitlement held through an add-on or an
    exception.
  • Kaiten's refusals reach the agent whole (status, code, detail, error id and each field at fault),
    and the server logs them on one line instead of a traceback.
  • kaiten_list_instances finds a lifecycle stage whatever its case.