Files
LocalAI/addons/studio/manifest.json
T
Ettore Di Giacinto 1834d4fd72 refactor(addons): make manifest api 2 the only version
No release ever shipped add-ons, so there is no installed base on api 1.
The manifest must now declare api {"min": 2, "max": 2}; a manifest with
api 1, no api or a wider range is refused with a message that names the
range.

Every field that was gated on api 2 is now part of the contract, so the
Min*API constants and their gates are gone, and so are HostAPIMin and
the apiMin host field. Three older-manifest shims go with them: the
resource listing the host implied for one add-on, the legacyArgs hint
for arguments an older version of a tool took, and the tests that
checked the gates. All shipped manifests and the test fixtures declare
api 2.

Assisted-by: Claude:claude-sonnet-5-5 go test
2026-11-03 16:15:07 +00:00

28 lines
1.1 KiB
JSON

{
"schemaVersion": 1,
"id": "studio",
"version": "0.1.0",
"executable": "studio",
"os": "linux",
"arch": "amd64",
"host": { "min": 1, "max": 1 },
"api": {"min": 2, "max": 2},
"protocol": { "min": 1, "max": 1 },
"dataFormat": { "min": 1, "max": 1 },
"capabilities": {
"ui": {
"entry": "ui/studio.js",
"css": ["ui/studio.css"],
"sdk": { "min": 2, "max": 2 },
"pages": ["studio"],
"navigation": ["studio"],
"modelActions": [{"capability": "FLAG_IMAGE", "page": "studio", "path": "images"}, {"capability": "FLAG_VIDEO", "page": "studio", "path": "video"}, {"capability": "FLAG_TTS", "page": "studio", "path": "tts"}, {"capability": "FLAG_SOUND_GENERATION", "page": "studio", "path": "sound"}],
"mainPage": "studio",
"homeCommands": [{ "id": "open", "alias": "studio", "icon": "palette" }],
"icon": "ui/icon.png",
"title": "Studio",
"description": "Make images, video, 3D models, speech, sound and transformed audio with the models you have installed, and keep what you make."
}
}
}