distribution.build
Čím tento spustitelný soubor je: verze crate, z něhož byl sestaven, Rust target triple, profil a commit — vše zkompilováno při buildu, takže nainstalovaný binární soubor odpoví bez repozitáře, toolchainu nebo gitu.
Čím tento spustitelný soubor je: verze crate, z něhož byl sestaven, Rust target triple, profil a commit — vše zkompilováno při buildu, takže nainstalovaný binární soubor odpoví bez repozitáře, toolchainu nebo gitu.
- query
- behaviorally_verified
- module distribution
- #distribution
- #introspection
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_build |
| HTTP | GET /api/v1/distribution/build operationId distribution.build |
| příkazová řádka | majordomus distribution build |
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 · Prázdné
Žádné vlastnosti: schopnost nebere žádný vstup.
JSON Schema
{
"additionalProperties": false,
"description": "No input.",
"title": "Empty",
"type": "object"
}output · BuildReport
| vlastnost | typ | povinné | popis |
|---|---|---|---|
| commit | string | ano | Commit, nebo unknown, když byl sestaven mimo pracovní strom. |
| distribution_target | string | null | ne | Cíl modelu, kterému toto sestavení odpovídá, když model pro daný triple nějaký deklaruje. |
| profil | string | ano | Profil cargo. |
| cíl | string | ano | Rust target triple, pro který byl sestaven; model pojmenovává cíl stejným řetězcem. |
| verze | string | ano | Verze crate, ze kterého byl tento spustitelný soubor sestaven. |
JSON Schema
{
"description": "What this executable is: enough to tell two builds apart without asking a repository.",
"properties": {
"commit": {
"description": "The commit, or `unknown` when it was built outside a work tree.",
"type": "string"
},
"distribution_target": {
"description": "The target of the model this build matches, when the model declares one for the triple.",
"type": [
"string",
"null"
]
},
"profile": {
"description": "The cargo profile.",
"type": "string"
},
"target": {
"description": "The Rust target triple it was built for; the model names a target by the same string.",
"type": "string"
},
"version": {
"description": "The version of the crate this executable was built from.",
"type": "string"
}
},
"required": [
"version",
"target",
"profile",
"commit"
],
"title": "BuildReport",
"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.