İçeriğe geç

Changelog

Bu içerik henüz dilinizde mevcut değil.

Records, event feeds, settings, batches and documents (October 2026)

Section titled “Records, event feeds, settings, batches and documents (October 2026)”

What a Kit can do for the people who use it, all additive to manifest schemaVersion 1. SDK and CLI 0.2.2.

  • Event feeds. A manifest feeds array and the feeds:publish scope: publish an event once with POST /feeds/{type}/events; people connect the feed to the rooms they want, and Ketvia posts the Kit bot’s message into each (idempotent per event and room, 202 with subscriptions: 0 when nobody connected it). Members get an inbox entry and, under their own notification settings, a push.
  • Installation settings. A manifest settings form (channel, time, weekday, toggle, select) saved by admins, owner-only fields, versioned and append-only. Read with GET /installation/settings; the kit.settings_changed event names the changed keys, never values.
  • External token. POST /installation/external-token (scope external-token:read) gives a Kit with tools.auth signature+externalToken the installation’s current external access token for scheduled and webhook-driven work. 30 calls per minute, audited without the token, no-store; 409 external_auth_required means reconnect, 503 external_auth_unavailable (Retry-After: 30) means retry later.
  • Records and notes. A manifest records array links notes to your records (kit:<slug>:<type>), assistant-records:read and assistant-records:write let a Kit read and add notes about them (a Kit’s notes cannot be edited by anyone and are never given to the model), and an optional balance declaration lets a member compare your figure with their notes.
  • Ketvia actions and link buttons in result cards. A card button with ketviaAction (note.create, followup.create, reminder.create) and a prefill opens Ketvia’s own dialog; link buttons open hosts listed in the new manifest linkDomains. Kit tools can return the records a result contains in _meta.ketvia.records.
  • Batch approvals. A write preview may return 1 to 25 items, applied together or not at all, each with an optional follow-up Ketvia creates for the person who approved. The create call carries itemCount; item keys are operationId:n.
  • Notices, confirmations and inputs on an approval card, and a call context with the workspace’s today and timezone on every tool call.
  • Documents. A tool may declare attachments: the assistant reads a photo or PDF the requester posted and fills the tool. Only with the owner’s acknowledgement in the model data policy, only on the EU provider, in memory only.
  • toolAccess in slash_command and block_action payloads says which of your read tools the invoker may use in that conversation (Tool access).
  • Model data policy. After a result entered the model, the assistant may save a note or ledger entry for the person (note_add, ledger_add), but only for a record that a result of the same run carried. See Model data policy.
  • Official Kits keep the version an admin accepted. A newer version is an upgrade offer, and every upgrade needs the consent hash of the version shown to the admin.
  • Planner. The reply to a clarify is a follow-up whose previous.question is the question you clarified; Ketvia does not add answers together (Planner hook).

Result cards as interaction containers (October 2026)

Section titled “Result cards as interaction containers (October 2026)”
  • container.kind: "card". A Kit action (a button without url) in an assistant result card body reaches your interactivity.url as a signed block_action with container.kind: "card", container.cardId and container.runId (messageId and ephemeralId are null). Only the member who asked the assistant gets live controls; values come from the stored card. Answer with an ephemeral or inChannel response (there is no original message to replace). Link buttons stay limited to the manifest’s linkDomains.
  • Planner hook (tools.planner.endpoint): a Kit can choose the tool for a question itself, with a signed request, four answers (plan, clarify, unsupported, defer), a 1.5 second budget and a safe fallback to Ketvia’s planner. The consent screen lists that the Kit receives the questions asked to the assistant. See Planner hook.
  • selection on a tool: marks the input that answers “which record?”, so the hook receives previous.choice for a short follow-up reply.
  • SDK onPlan, plan.tool/clarify/unsupported/defer, parsePlanRequest.
  • Private Kits can declare tools (documentation corrected).

Personal and sensitive data in the model data policy (October 2026)

Section titled “Personal and sensitive data in the model data policy (October 2026)”
  • Owner opt-in for personal and sensitive data. A workspace owner (not an admin) can now allow, per installed Kit and per tool, personal and sensitive (health) fields to enter the model, after a prominent warning and a separate acknowledgement of each class. Still off by default and off at any time; the acknowledged classes and the warning version are audited. Identifiers (national id, IBAN, card, phone, email) stay masked; the field classes you declare decide what is sent. See Model data policy.
  • Model data policy. Workspace admins can allow, per installed Kit and per tool, generated answers built from a tool’s result. Off by default; only the aggregate and standard data classes can enter the model, personal is off and sensitive never. Output fields can declare x-ketvia-dataClass. Answers are grounded (every number traced to a tool result), run on AWS Bedrock inside the EU (cross-region within the EU) and are disclosed to the admin. See Model data policy.
  • Runs expose modelTextGrounded and, for answers that read more than one tool, moreCards.

Phase 3 (outbound): events, interactivity and slash commands (October 2026)

Section titled “Phase 3 (outbound): events, interactivity and slash commands (October 2026)”

Everything Ketvia sends to a Kit. Private Kits can now declare events, interactivity and commands.

  • Events API. Signed, at-least-once deliveries with a stable eventId, retries with backoff, a circuit breaker per installation and a delivery log. Private run content is never an event.
  • Signing secrets (kss_…) with a 7-day overlap on rotation.
  • Interactivity. Buttons, selects and overflow menus in Kit-authored messages (web and mobile), a signed block_action payload and the one-time responseUrl.
  • Ephemeral messages. POST /messages/ephemeral (scope messages:write.ephemeral).
  • Slash commands. A per-workspace registry with conflict aliases, composer suggestions on the web and a signed slash_command payload.
  • SDK. createKitServer, typed events and payloads, respond, Node and Express adapters.

Kit bots posting through the Web API keep interactive elements only when the manifest declares interactivity.

Phase 4: Kit Directory, review and suspension (October 2026)

Section titled “Phase 4: Kit Directory, review and suspension (October 2026)”
  • Kit Directory. Browse and search reviewed Kits; install through the same consent screen and admin approval as install links. Official Kits carry the Official badge.
  • Review pipeline. Submit a version with a security questionnaire; Ketvia reviews least privilege, the privacy policy, verified domains, the questionnaire and a functional test, within a five business day SLA.
  • Suspension. Ketvia can suspend a Kit: it leaves the Directory and every call to it stops at once.
  • Manifests with "distribution": "directory" now validate and upload as drafts.

Phase 3: developer portal, distribution and CLI (October 2026)

Section titled “Phase 3: developer portal, distribution and CLI (October 2026)”
  • Developer portal. Create Kits from a manifest, register immutable draft and published versions, verify domains (DNS TXT or /.well-known/ketvia-kit.json), rotate client and signing secrets, manage developer tokens (kdev_…) and read the delivery and error log.
  • Unlisted distribution. Install links (kil_…), a consent screen, member install requests with admin approval, and version upgrades that stay pending until an admin reviews anything wider.
  • CLI ketvia (not yet on npm): login, kits create, validate, deploy, publish, logs and kits dev over a public HTTPS tunnel you provide. Ketvia does not operate a relay.
  • Developer sandbox. A free workspace per account: 5 members, 20 assistant runs per day, deleted after 90 days of inactivity (7-day recovery window).
  • Developer API at /api/v1/dev with OpenAPI (JSON, YAML).

Phase 2: Web API, tokens and incoming webhooks (October 2026)

Section titled “Phase 2: Web API, tokens and incoming webhooks (October 2026)”

First public developer release.

  • Private Kits. Workspace admins create a Kit from a manifest (Admin → Connections → Create a private Kit) and install it. Private Kits can request bot scopes, user scopes, incoming webhooks and OAuth redirect URLs. Uploading the same slug with a higher version updates the Kit and its installation.
  • Web API v1 at https://api.ketvia.com/api/v1: auth, conversations, messages (with Blocks and Idempotency-Key), reactions, files, users, runs and installation. See the reference.
  • Bot tokens (kbot_…) created on the Kit’s API access page, with rotation (POST /auth/rotate) and immediate revocation.
  • User tokens (kusr_…) through the kit.access flow with PKCE, one-hour lifetime and single-use refresh tokens with reuse detection.
  • Client secrets (kcs_…) with a 24-hour overlap on rotation.
  • Incoming webhooks at https://hooks.ketvia.com/v1/….
  • Cluster-wide rate limits for reads, writes, files and webhooks.
  • OpenAPI 3.1 (JSON, YAML) and the manifest JSON Schema, generated from the same contracts the API uses.
  • SDK @ketvia/kit v0 and the ci-webhook sample.

Known limits in v1: Kit bots cannot add reactions or upload files (use a user token); interactive Blocks elements are removed from messages.

Link-only buttons on assistant result cards and Official Kits for Google Drive, GitHub and Jira.