Artifact
Information / clio.artifact.v1
Point to a file produced or used in the analysis, with a route to inspect it.
When to use it
Point to a file produced or used in the analysis, with a route to inspect it.
What the agent supplies
A reference card for one registered artifact.
The agent chooses the content and binds it to the component. CLIO then renders the view and its available controls.
What the agent receives
The exact output of load_skill, including resolved local definitions.
load_skill("a2ui-catalog-clio-workspace", file="catalog.json#/components/clio.artifact.v1"){
"allOf": [
{
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"
},
{
"properties": {
"weight": {
"description": "Relative flex weight of this component inside a Row or Column. Only meaningful as a direct child of one.",
"type": "number"
}
},
"type": "object"
},
{
"properties": {
"action": {
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"
},
"component": {
"const": "clio.artifact.v1"
},
"mediaType": {
"type": "string"
},
"name": {
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"
},
"size": {
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"
},
"uri": {
"type": "string"
}
},
"required": [
"component",
"name",
"uri",
"mediaType"
],
"type": "object"
}
],
"description": "A reference card for one registered artifact.",
"type": "object",
"unevaluatedProperties": false
}
Standard refs (not loadable here): https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action, https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon, https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber, https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString