Files

113 lines
3.1 KiB
JSON

{
"schema": 1,
"id": "memories",
"name": "Memories",
"version": "1.3.0",
"description": "Claude's persistent memory for the hub's repo (one fact per file) — browse every memory, its [[links]], projects and services, and the conversations that created and read it; the memories a conversation or a service touched",
"category": "agents",
"icon": "icon.svg",
"color": "#a47c40",
"author": "gabrielvidal",
"capabilities": [
"memories.read",
"conversations.read"
],
"provides": {
"memories.index": "index"
},
"exports": [
"for_service"
],
"actions": {
"index": {
"script": "actions/index.py",
"timeoutSec": 15,
"description": "Every memory's summary, newest-updated first (graph, CLI, MCP, the list page)",
"readOnly": true
},
"get": {
"script": "actions/get.py",
"timeoutSec": 20,
"description": "One memory: body, links, projects, services, the conversations that created and read it",
"readOnly": true
},
"for_session": {
"script": "actions/for_session.py",
"timeoutSec": 15,
"description": "The memories a conversation read and created",
"readOnly": true
},
"for_service": {
"script": "actions/for_service.py",
"timeoutSec": 15,
"description": "The memories that mention a service (the Services plugin's page reads it)",
"readOnly": true
}
},
"commands": {
"ls": {
"action": "index",
"summary": "The assistant's memories, newest-updated first: slug, type, description",
"description": "Every memory's slug, type (user, feedback, project, reference) and one-line description, newest-updated first — the slug is what `show` takes.",
"output": {
"rows": "memories",
"columns": [
"slug",
"type",
"description"
]
},
"mcp": true
},
"show": {
"action": "get",
"summary": "One memory's markdown",
"description": "The full markdown of one of the assistant's memories, by the slug `ls` lists.",
"args": [
{
"name": "slug",
"positional": true,
"required": true,
"help": "The memory's slug, as `ls` lists it."
},
{
"name": "conversations",
"type": "boolean",
"default": false,
"help": "Also the conversations that created and read it (slower; see --json)."
}
],
"output": {
"text": "content"
},
"mcp": true
}
},
"settings": {
"subtitle": "Claude's memory for the hub's repo, one fact per file"
},
"ui": {
"pages": [
{
"id": "memories",
"label": "Memories",
"nav": "files",
"icon": "brain",
"html": "ui/memories.html",
"subpath": true,
"feature": "page.memories"
}
],
"slots": [
{
"id": "conv-memories",
"where": "conversation.details",
"html": "ui/conv-slot.html",
"query": {"action": "for_session", "payload": {"sessionId": "$sessionId"}},
"reuseFrame": true,
"height": 120
}
]
}
}