aKode 0.5.0: riepilogo della memoria a inizio sessione, sollecito alle azioni annunciate, daemon allineato al CLI
- ext/memoria: legge una volta per sessione la risorsa memoria://briefing (file di git status, budget di token, timeout breve), accetta solo un blocco <memoria_briefing> chiuso e limitato, lo inserisce dopo le istruzioni del plugin e lo tiene in cache per il thread (prefisso del prompt stabile). Impostazioni [memoria] briefing, briefing_timeout_ms, briefing_max_tokens. - Turno: se il modello chiude con un messaggio che annuncia un'azione senza chiamare strumenti, un solo sollecito per turno ([agent] announce_nudges, predefinito 1, 0 lo disattiva), con avviso visibile e test sui messaggi osservati con Qwen. - Daemon: sync_with_cli confronta l'eseguibile del CLI con il pacchetto del daemon e, se diverso, lo seleziona e riavvia solo quando non ci sono sessioni caricate; altrimenti avviso. Usato all'avvio della TUI, da `akode update`, da install.sh e da `akode app-server daemon update --from-cli --if-idle`. Prima un daemon preparato una volta restava alla versione vecchia (CLI 0.4.0 con app server 0.3.1). - Test: snapshot del doctor indipendenti dalla versione; snapshot della TUI aggiornati alla 0.5.0 e allo schema dei tool appiattiti della 0.4.0. - Versione 0.5.0 e sezione Novità nel README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,6 +35,12 @@
|
||||
"additionalProperties": false,
|
||||
"description": "`[agent]` table: settings for the main agent loop.",
|
||||
"properties": {
|
||||
"announce_nudges": {
|
||||
"description": "When the model ends a turn with a message that only announces an action (\"Now I'll run the tests\") without calling any tool, send it one short reminder and let it continue, at most this many times per turn. Default: 1. `0` disables the reminder.",
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"max_repeated_failures": {
|
||||
"description": "Stop the turn when the model repeats the same tool call and gets the same failure this many times in a row. Default: 3. `0` disables the check.",
|
||||
"format": "uint32",
|
||||
@@ -2874,6 +2880,29 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"MemoriaToml": {
|
||||
"additionalProperties": false,
|
||||
"description": "`[memoria]` table: session-start briefing of the imeAI `memoria` plugin.",
|
||||
"properties": {
|
||||
"briefing": {
|
||||
"description": "Add the memory briefing (preferences, project memories, memories linked to the files in `git status`) to the prompt at session start. Default: true. Only used while the `memoria` plugin is enabled and its MCP server is ready.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"briefing_max_tokens": {
|
||||
"description": "Token budget requested from the server for the briefing. Default: 1500 (300-3000).",
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"briefing_timeout_ms": {
|
||||
"description": "Maximum wait for the briefing, in milliseconds; on timeout the session starts without it. Default: 3000.",
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"MemoriesToml": {
|
||||
"additionalProperties": false,
|
||||
"description": "Memories settings loaded from config.toml.",
|
||||
@@ -8601,6 +8630,14 @@
|
||||
"description": "Definition for MCP servers that Codex can reach out to for tool calls.",
|
||||
"type": "object"
|
||||
},
|
||||
"memoria": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/MemoriaToml"
|
||||
}
|
||||
],
|
||||
"description": "Settings for the imeAI `memoria` plugin (session-start briefing)."
|
||||
},
|
||||
"memories": {
|
||||
"allOf": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user