ai-generate
Enterprise Part of the commercial Kumiko Enterprise offering — not in the open framework.
Query handler (ai-generate:query:generate) that takes a natural-language description of a feature and returns a new feature.ts source file for use in the Designer. Unlike ai-patch (which modifies an existing file), ai-generate starts from scratch; you optionally supply a package-name hint and a list of existing helper files (userHelpers) so the LLM can reference shared types rather than inventing duplicates. The Designer applies the result via pattern-file:create (the pattern-storage write handler) after a human review step. The system prompt, model, effort and token budget live in the prompt-store under ai-generate:generate-feature, with the shipped text and an 8000-token budget as defaults.
Build it yourself
Section titled “Build it yourself”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.
How it fits
Section titled “How it fits”What this feature needs to run (Requires).
flowchart TB
n_ai_generate["ai-generate"]
subgraph how_reqs["Requires"]
n_ai_foundation["ai-foundation"]
n_prompt_store["prompt-store"]
end
n_ai_foundation --> n_ai_generate
n_prompt_store --> n_ai_generate
Dependencies
Section titled “Dependencies”- Requires:
ai-foundation,prompt-store - Activation: always on (not toggleable)
Extensions & cross-feature APIs
Section titled “Extensions & cross-feature APIs”- Registers extension:
promptTemplate→ai-generate:generate-feature