Expand description
Asset management types for file attachments and content analysis.
These types are shared across the provider layer and the devboy-assets
crate, providing a unified abstraction for working with attached files
(screenshots, logs, configs, etc.) across different providers.
See ADR-010 for the full design rationale.
Structs§
- Asset
Analysis - Result of analyzing an asset through the processor pipeline.
- Asset
Capabilities - Per-provider capability matrix for asset operations.
- Asset
Input - Input data for uploading a new asset.
- Asset
Meta - Metadata describing an asset — used for listings and enriched responses.
- Context
Capabilities - CRUD capabilities for a single context kind.
- Markdown
Attachment - A single attachment reference found in a markdown document.
- Semantic
Analysis - Result of a Level 3 semantic (LLM-based) analysis.
Enums§
- Asset
Context - Context to which an asset is attached.
- Asset
Context Kind - Category of an
AssetContext— used for capability lookup. - Content
Kind - High-level kind of content stored in an asset.
Functions§
- filename_
from_ url - Derive a filename from the final path segment of a URL. Query strings
and fragments are stripped. Returns
"attachment"if nothing sensible can be extracted (e.g. the URL has no path beyond the host). - parse_
markdown_ attachments - Extract attachments embedded in a markdown string.