distribution.artifact
Název archivu, který odvozuje cíl a tag, adresář, do něhož se rozbalí, a kde jej release publikuje. Odpovídá jediná pojmenovávací funkce; pipeline release se jí ptá, místo aby název skládala v souboru workflow.
Název archivu, který odvozuje cíl a tag, adresář, do něhož se rozbalí, a kde jej release publikuje. Odpovídá jediná pojmenovávací funkce; pipeline release se jí ptá, místo aby název skládala v souboru workflow.
- query
- behaviorally_verified
- module distribution
- #distribution
- #release
Zpřístupnění
Kde je tato jedna definice dosažitelná. Absence je explicitní: povrch, který není uveden, ji nenese.
| povrch | jako |
|---|---|
| MCP | nástroj majordomus_artifact |
| HTTP | GET /api/v1/distribution/artifact operationId distribution.artifact |
| příkazová řádka | majordomus distribution artifact |
Schémata
Kanonický vstup a výstup z typů Rustu; schéma nástroje MCP a parametry a odpovědi OpenAPI se odvozují z nich.
vstup · ReleaseArtifactInput
| vlastnost | typ | povinné | popis |
|---|---|---|---|
| štítek | string | ano | Tag, v a verze. {tag} žádá o název se zástupným symbolem ponechaným na místě. |
| cíl | string | ano | Id cíle nebo jeho Rust target triple. |
JSON Schema
{
"additionalProperties": false,
"description": "Which artifact a target and a tag name.",
"properties": {
"tag": {
"description": "The tag, `v` and a version. `{tag}` asks for the name with the placeholder left in.",
"type": "string"
},
"target": {
"description": "A target's id or its Rust target triple.",
"type": "string"
}
},
"required": [
"target",
"tag"
],
"title": "ReleaseArtifactInput",
"type": "object"
}výstup · ReleaseArtifactView
| vlastnost | typ | povinné | popis |
|---|---|---|---|
| název | string | ano | Název souboru archivu. |
| root | string | ano | Adresář, do kterého se archiv rozbalí. |
| rust_target | string | ano | Cílový triple Rustu. |
| štítek | string | ano | Tag, pro který bylo jméno odvozeno. |
| cíl | string | ano | Id cíle v modelu. |
| url | string | ano | Kde jej release publikuje, když je tag skutečný. |
JSON Schema
{
"description": "The artifact a target and a tag name, and the directory it unpacks into.",
"properties": {
"name": {
"description": "The archive's file name.",
"type": "string"
},
"root": {
"description": "The directory the archive unpacks into.",
"type": "string"
},
"rust_target": {
"description": "The Rust target triple.",
"type": "string"
},
"tag": {
"description": "The tag the name was derived for.",
"type": "string"
},
"target": {
"description": "The target's id in the model.",
"type": "string"
},
"url": {
"description": "Where a release publishes it, when the tag is a real one.",
"type": "string"
}
},
"required": [
"target",
"rust_target",
"tag",
"name",
"root",
"url"
],
"title": "ReleaseArtifactView",
"type": "object"
}Politiky
- benchmark
- povinné — cíl na každém transportu, který expozice deklaruje; případy jsou ty ze vstupního typu
- cache
- vypnuto — každé volání spustí handler
Cíle benchmarku
Odvozeno z registru pro tento repozitář: jeden požadavek na transport a případy, které poskytuje typ vstupu. Celá matice je na stránce měření výkonu.
| transport | state | případy | targets |
|---|---|---|---|
| direct | pokryto | 1 | first-published-target |
| mcp | pokryto | 1 | first-published-target |
| http | pokryto | 1 | first-published-target |