mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-07 04:53:24 -05:00
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
34 lines
998 B
JSON
34 lines
998 B
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "memory",
|
|
"version": "0.1.0",
|
|
"executable": "memory",
|
|
"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": {
|
|
"skillDefinitions": [
|
|
{ "name": "memory" },
|
|
{ "name": "memory-check-own-files" }
|
|
],
|
|
"contextFiles": [
|
|
{ "scope": "user", "path": "Memory/index.md" },
|
|
{ "scope": "agent", "path": "Memory/agents/{agent}/index.md" },
|
|
{ "scope": "channel", "path": "Memory/channels/{channel}/index.md" }
|
|
],
|
|
"ui": {
|
|
"entry": "ui/memory.js",
|
|
"css": ["ui/memory.css"],
|
|
"sdk": { "min": 2, "max": 2 },
|
|
"pages": ["memory"],
|
|
"mainPage": "memory",
|
|
"icon": "ui/icon.png",
|
|
"title": "Short memory",
|
|
"description": "Your chats keep short notes about you, read them before they answer, and save a new one only after you confirm it."
|
|
}
|
|
}
|
|
}
|