Crate ito_templates

Crate ito_templates 

Source
Expand description

Embedded templates and assets installed by ito init / ito update.

ito-templates packages the default project and home templates (plus shared skills/adapters/commands) as embedded assets.

The Rust CLI writes these files to disk, optionally rewriting .ito/ path prefixes when users configure a custom Ito directory name.

Modules§

agents
Embedded agent definitions. Agent template handling for Ito agent tiers
instructions
Embedded instruction artifacts. Embedded instruction template loading and rendering.
project_templates
Jinja2 rendering for project templates (AGENTS.md, skills). Jinja2 rendering for project templates (AGENTS.md, skills).

Structs§

EmbeddedFile
A file embedded in the ito-templates assets.

Constants§

ITO_END_MARKER
End marker for Ito-managed file blocks.
ITO_START_MARKER
Start marker for Ito-managed file blocks.

Functions§

adapters_files
Return all embedded harness adapter files.
commands_files
Lists embedded shared command files.
default_home_files
Return all embedded files for the default home template.
default_project_files
Return all embedded files for the default project template.
extract_managed_block
Extract the substring between ITO_START_MARKER and ITO_END_MARKER.
get_adapter_file
Retrieves an embedded adapter file by its relative path within the adapters assets.
get_command_file
Fetches the contents of an embedded command file by its path relative to the commands asset root.
get_schema_file
Returns the contents of an embedded schema file identified by its path relative to the schemas root.
get_skill_file
Retrieves an embedded skill file by its path within the skills assets.
normalize_ito_dir
Normalize an Ito directory name to the dotted form (e.g. .ito).
render_bytes
Rewrite file bytes for a custom Ito directory.
render_rel_path
Rewrite a relative template path for a custom Ito directory.
schema_files
Lists embedded workflow schema files.
skills_files
Return all embedded shared skill files.