Skip to main content

Module derive

Module derive 

Source
Expand description

Derive Toolpath documents from opencode sessions.

Thin wrapper around the shared toolpath_convo::derive_path. All opencode-specific work (snapshot git2 tree↔tree diffs, tool-input fallback for gitignored paths, producer/base population) happens in crate::provider::to_view_with_resolver; nothing provider-specific lives in this module.

Structs§

DeriveConfig
Configuration for deriving a Toolpath Path from an opencode session.

Functions§

derive_path
Derive a Path from an opencode Session.
derive_path_with_resolver
Like derive_path but with a custom PathResolver (useful for tests with a temp data directory).
derive_project
Derive a Path from multiple sessions.