Skip to content

Kuriko 0.16.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 09:13
· 48 commits to main since this release
2660fa5

What's new in 0.16.0

  • Kuriko's UI kit for tools. Tool pages can import React, the shadcn/ui components, shadcn's
    charts (Recharts), every Lucide icon and Tailwind from their own address
    (./_kuriko/ui/1/kit.js, charts.js, icons.js), themed as Kuriko in light and dark, with no
    build step. Claude builds new tools with it. It's how tools get charts and components back now
    that pages can't load from CDNs (0.15.0). Version 1 never changes once released.

  • Archiving tools, and removing them for good. A tool's owner or an admin can archive it, from
    the tool's page, Admin → Tools or Claude (archive_tool): it's closed to everyone, and everything
    stays until it's restored. Whoever runs the install removes archived tools for good with
    kuriko tools remove, which lists them least used first and removes the ones picked: their Cloud
    Run service, images and sources (with your own Google sign-in) and then their records. Admins can
    export a tool's records first. Removed tools' ids are never reused.

  • npm run try sends an anonymous usage report. How far each session of trying Kuriko locally
    got (signed in, connected an MCP client and which known one, deployed, published, opened a tool) as counts and yes/no, with a
    random ID per machine and per session. No names, tool contents or data. It says so when it starts;
    KURIKO_TELEMETRY=off or DO_NOT_TRACK=1 turns it off. Installs are unchanged. Field by field:
    telemetry.md.

  • API sources: nested fields, and changing and removing rows. A resource in policy.yaml can
    give nested values plain names (fields: { email: properties.email }), and only those fields
    reach tools, row rules and masks. add can place single values with $row.<field>. A resource
    can declare update and remove, which tools call as kuriko.data(c, r).update(id, patch) and
    .remove(id). When every write grant has a row rule, the row is read first (through item) and
    must be allowed as it is and as it would be after the change.

  • Admin → Analytics. How every tool is used: people this week, tools in use, reach, idle tools,
    and who owns what. It shows counts only, never who used what.

  • Admin pages have a sidebar instead of tabs, grouped into Access, Tools and Install. Run from
    source, they show the checkout's commit instead of "version unknown".

  • Tool pages list past 500 records. collection.list() returns every matching record, up to
    10,000, and the new collection.page() pages through more.

  • Fewer database connections. One web and one gateway instance could take every connection a
    small Cloud SQL tier allows (db-f1-micro), so sign-ins failed with 53300. The pools are smaller
    now and close idle connections after 20 seconds. 0.16.0-canary.3 shipped this fix on its own.

  • Security fixes. The CLI sends identity tokens only to Kuriko's own provisioner, not to the
    address in kuriko.json. Paths and admin parameters can't reach Object.prototype. Files are read
    and written without a separate check first. Project ID suffixes come from crypto.randomInt.

Before you upgrade

  • A database migration (0026_tool_lifecycle) adds a tool's archived state and keeps removed
    tools' ids and addresses retired. kuriko upgrade runs it; nothing to do by hand.
  • Upgrade the CLI first (npm i -g kuriko): kuriko tools remove is new in this release.
  • Existing tools are unchanged; tools that used a CDN for a chart or icon library
    can be rebuilt with the kit (ask Claude to "rebuild this with Kuriko's UI kit").
  • When records are ordered by a field, records with no value for it now come last in both
    directions; descending used to put them first. Page cursors handed out before the upgrade are
    refused once, and Claude starts again from the first page.

Images (Kuriko's registry, immutable tags):

  • gateway:0.16.0: sha256:591be16f5aa62c572e26c3ce995213ebba21e10a6b44c7dca63672a7ffaee906
  • web:0.16.0: sha256:560bd281b24d6e4c1dd10300122401c0347e910543b0ef6b800abf80b80f8a21
  • web-migrate:0.16.0: sha256:cc43f9be74025fd1ecd865d3481eb0f3c53bd37468f89309bb662a8f78aff295

What's Changed

  • Threat model: revoked keys checked on Google Cloud by @nikhilol in #8
  • Local: tools open inside Kuriko's page, kuriko-local, a better first tool by @nikhilol in #9
  • UI kit for tools: React, shadcn/ui, charts, icons and Tailwind by @nikhilol in #10
  • Local: stop pages flashing when the gateway writes; try checks the install by @nikhilol in #13
  • Guide: write each tool file once, and send only what changed by @nikhilol in #14
  • Docs: say what the code does today by @nikhilol in #15
  • README: stars, contributors and last-commit badges by @nikhilol in #115
  • UI kit render test: give Chrome 30 seconds to start by @nikhilol in #116
  • README: new tagline and remove repo-stats badges by @TomKidner in #117
  • Browsers that Block Third Party Cookies cause the embedded page to say in an SSO loop by @LokiIntegral338 in #114
  • ci: stop publishing release images to ghcr.io by @SotosTz in #122
  • Archive tools; operators remove archived ones for good by @nikhilol in #123
  • Kuriko 0.16.0-canary.1 by @nikhilol in #125
  • Kuriko 0.16.0-canary.2: the npm package names its repository by @nikhilol in #126
  • npm run try sends an anonymous report of how far each session got by @nikhilol in #128
  • Paths and admin parameters can't reach Object.prototype by @nikhilol in #129
  • CLI: project ID suffixes from crypto.randomInt, not Math.random by @nikhilol in #130
  • Files: read and write without checking first, then acting later by @nikhilol in #131
  • Tests: replace every * in client patterns, and escape addresses fully in regexes by @nikhilol in #132
  • CLI: send identity tokens only to Kuriko's own provisioner, not where kuriko.json says by @nikhilol in #133
  • Tool pages list past 500 records by @nikhilol in #136
  • Add CODEOWNERS: both maintainers own everything by @nikhilol in #138
  • Admin → Analytics: how every tool is used by @nikhilol in #146
  • Admin pages: a sidebar instead of tabs by @nikhilol in #149
  • Admin pages: a sidebar instead of tabs (into demo-readiness) by @nikhilol in #150
  • Admin pages show the commit when run from source by @nikhilol in #151
  • Demo readiness by @nikhilol in #137
  • api sources: plain names for nested fields, and $row. in add by @nikhilol in #152
  • api sources: change and remove rows, checked against row rules by @nikhilol in #153
  • api sources: nested fields, and changing and removing rows (from demo-readiness) by @nikhilol in #154
  • Merge pull request #149 from UseKuriko/demo/admin-sidebar by @nikhilol in #155
  • Hotfix: keep database pools small and close idle connections by @nikhilol in #160
  • Kuriko 0.16.0 by @nikhilol in #161

New Contributors

Full Changelog: v0.15.1...v0.16.0