Skip to main content

Module derive

Module derive 

Source
Expand description

Derive Toolpath documents from Gemini CLI conversation logs.

The conversation is modeled as an artifact at gemini://<session-id>. Each turn appends to that artifact via a conversation.append structural change. File mutations from write_file and replace tool calls appear as sibling artifacts in the same step’s change map.

Sub-agent chats are linearized into the path as additional steps parented to the main assistant step whose task tool invocation spawned them (document order, matching crate::provider).

Structs§

DeriveConfig
Configuration for deriving Toolpath documents from Gemini conversations.

Functions§

derive_path
Derive a single Toolpath Path from a Gemini conversation.
derive_project
Derive Toolpath Paths from multiple conversations.