Expand description
Core types and error definitions for the kdo workspace manager.
This crate provides the foundational data structures used across all kdo crates:
Project, Dependency, Language, and the unified KdoError type.
Structs§
- Dependency
- A single dependency edge between projects.
- Project
- A discovered project within the workspace.
- Project
Config - Per-project overrides declared under
[projects.<name>]inkdo.toml. - TaskDef
- Full task definition with pipeline semantics.
- Workspace
Config - Workspace configuration parsed from
kdo.toml. - Workspace
Meta - Workspace metadata section of
kdo.toml.
Enums§
- DepKind
- Dependency relationship kind.
- KdoError
- Unified error type for all kdo operations.
- Language
- Programming language / framework detected for a project.
- Task
Spec - A single task definition. Can be declared either as a bare command string
(
build = "cargo build") or as a full spec ([tasks.build] command = "...").
Functions§
- estimate_
tokens - Rough token estimator: ~4 characters per token for English/code.