Skip to content

ai-conversation

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

Persisted multi-turn refinement dialog for the Designer chat. The ai-conversation:write:send write-handler loads a conversation’s prior turns, routes the prompt to the tenant’s configured LLM provider (suggestPatch on the first turn, refinePattern with history on follow-ups), and appends the user and assistant turns as immutable designer-conversation-turn events — provider errors are returned to the caller but never persisted. ai-conversation:query:history returns a conversation’s turns for rendering. Requires ai-foundation for the LLM provider wiring.

What this feature needs to run (Requires, top) and the write commands it provides (Provides, bottom).

flowchart TB
  n_ai_conversation["ai-conversation"]
  subgraph how_reqs["Requires"]
    n_ai_foundation["ai-foundation"]
    n_tenant["tenant"]
  end
  subgraph how_provides["Provides"]
    n_cmd_ai_conversation_write_send(["send"])
  end
  n_ai_foundation --> n_ai_conversation
  n_tenant --> n_ai_conversation
  n_ai_conversation --> n_cmd_ai_conversation_write_send

Provides — write commands this feature registers (dispatch them through the command bus):

  • ai-conversation:write:send