mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 20:43:27 -05:00
The add-on declares the three index files of the person's notes (capabilities.contextFiles, manifest API 2), so the host loads them into the prompt and serves their topics with context_read. It ships two skills: memory, whose description asks the model to read the matching topic before it answers almost anything and to save a note only as a proposal the person confirms, and memory-check-own-files, which says what the model can and cannot read. Its executable serves no tool, and its page explains the notes and opens the Memory tab of the account. The add-on joins the packaging matrix, the release workflow, the library index and the case inventory. The declared capabilities the host hands to an add-on now include the context files. Assisted-by: Claude:claude-sonnet-5-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
34 lines
1000 B
JSON
34 lines
1000 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."
|
|
}
|
|
}
|
|
}
|