aKode: integrazione della memoria di imeAI (plugin memoria)
- nuovo crate ext/memoria: aggiunge le istruzioni del plugin (instructions.md) come developer policy solo se il plugin memoria è abilitato e il suo server MCP è pronto; nessuna modifica alle istruzioni di base, [features] memories resta spento - pollutes_memory configurabile per server MCP (predefinito true) - project_header per i server HTTP: progetto ricavato dalla cartella della sessione (origin come host/owner/repo, altrimenti la cartella), connessioni separate per progetto - token Bearer dei server MCP anche dal portachiavi di aKode, solo sotto mcp:<server> (mai le chiavi dei provider dei modelli) - tool namespace (MCP, multi-agente) appiattiti in <namespace>__<tool> per i server compatibili OpenAI che accettano solo function tool (llama.cpp, ik_llama.cpp, vLLM li scartavano); capacità del provider tool_namespaces - prove: parsing e propagazione, intestazione del progetto, iniezione solo se attivo e connesso, appiattimento e mappatura delle chiamate, chiavi dei provider mai consegnate ai server MCP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3057,6 +3057,10 @@
|
||||
}
|
||||
],
|
||||
"description": "Remote context-compaction protocol; omission preserves provider defaults."
|
||||
},
|
||||
"tool_namespaces": {
|
||||
"description": "Whether the server accepts Responses API `namespace` tools (off by default: llama.cpp, ik_llama.cpp and vLLM accept only function tools and silently drop namespaces, so MCP and multi-agent tools are sent flattened as `<namespace>__<tool>`).",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -4185,6 +4189,16 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"pollutes_memory": {
|
||||
"default": null,
|
||||
"description": "When `false`, calls to this server do not mark the thread as polluted for memory generation. Defaults to `true`.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"project_header": {
|
||||
"default": null,
|
||||
"description": "HTTP header (streamable HTTP only) that carries the project id derived from the session's working directory: git `origin` as `host/owner/repo`, else the repository or folder name.",
|
||||
"type": "string"
|
||||
},
|
||||
"required": {
|
||||
"default": null,
|
||||
"type": "boolean"
|
||||
|
||||
Reference in New Issue
Block a user