Skip to content

ai-patch

Enterprise Part of the commercial Kumiko Enterprise offering — not in the open framework.

Query handler (ai-patch:query:suggest) that takes the current source of a feature.ts and a natural-language change request, then returns suggested edits (PatternChange[]) the Designer-UI can review before applying. This is the AI-assist layer for editing existing features; for generating a new feature from scratch use ai-generate instead. The system prompt, model, effort and token budget live in the prompt-store under ai-patch:suggest-patch, with the shipped text as default.

This Enterprise implementation is optional. If you need a narrower or domain-specific version, you can build an app-owned feature, handler, or job with Kumiko’s public extension points.

Use this package when you want the maintained implementation, its existing contracts, and the surrounding operational behavior. A custom implementation is not drop-in compatible automatically: your app owns its authorization, validation, integrations, tests, security review, and production operations.

Start with Features and composition and Custom write handlers.

What this feature needs to run (Requires).

flowchart TB
  n_ai_patch["ai-patch"]
  subgraph how_reqs["Requires"]
    n_ai_foundation["ai-foundation"]
    n_prompt_store["prompt-store"]
  end
  n_ai_foundation --> n_ai_patch
  n_prompt_store --> n_ai_patch
  • Registers extension: promptTemplate → ai-patch:suggest-patch