Summary

Overview

This proposal upgrades the KinicDB backend to v0.2.1. Starting with the v0.2.x series, KinicDB introduces features for purchasing, copying, sharing databases between users, and a marketplace. Version v0.2.1 is an intermediate release intended to test and harden these capabilities; the features will be rolled out to end users through a series of subsequent proposals.

We also fixed a longstanding issue where parts of page bodies were not uploaded to the database. As a result, VectorDB semantic search and the accuracy of AskAI (LLM-based) have improved.

Changes

  • The launcher canister now verifies purchaser payments and grants purchasers copy permission on the target memory canister.

  • Introduced role-based access control with the roles: Installer, Admin, Writer, Reader, Purchaser.

  • Owners with Admin (or higher) privileges can grant copy permission to specific users.

  • Owners with Admin (or higher) privileges can grant Writer and Reader permissions to specific users.

    • Reader: can query/search the DB only.
    • Writer: can write to the DB.
    • These permissions are manageable only by Admin (or higher) users.
  • Added support for issuing Magic Links (temporary links) that grant permissions to anyone who opens the link.

  • Added an option to allow direct stable-memory access exclusively to users with the Purchaser role, enabling a full copy of the database state.

  • Included experimental VetKeys code.

Fixes

  • Updated for ic-cdk v0.18, which introduced substantial interface changes.
  • Fixed a Chrome extension issue where parts of a page body were not captured.
Payload

Proposal to Upgrade an SNS Controlled Canister

Target canister: xfug4-5qaaa-aaaak-afowa-cai

Wasm info

Embedded module with 1341933 bytes and SHA256 cc4301455c5e1ffd2f0028f597354d473fd422cea212614a51dd415855e8a37c.

Mode: Upgrade

Argument info

Upgrade argument with 16 bytes and SHA256 4449444c016b01c88ddcea0b7f010000.

Overview