feat(plugin-honcho): show what Honcho remembers about you
Nightly Build / build (push) Successful in 2m24s

The opt-in page gains a debug panel, once the user's saved flag is on:
service status (reachability, latency, the caller's own processing
queue, with the specific Honcho error when something is wrong), a full
overview (peer card, derived facts with ids, summary) and one text
field with two actions — search (raw ranked facts) and ask (Honcho's
server-side LLM answers), plus an in-page mini-guide.

Every endpoint gates on the per-user opt-in server-side, fail closed,
and derives the peer from the authenticated Caller — never from the
request body — since the workspace is shared. Honcho 404s are
translated per-endpoint as 'no memory yet' rather than failures.
This commit is contained in:
Daniele
2026-08-24 21:47:36 +01:00
parent 5c2bec043e
commit 9feaaaff29
10 changed files with 749 additions and 49 deletions
+6 -1
View File
@@ -1,5 +1,10 @@
{
"plugin.honcho.err.admin_only": "Solo amministratore.",
"plugin.honcho.err.base_url_empty": "Inserisci prima l'URL del server Honcho.",
"plugin.honcho.err.test_failed": "Impossibile raggiungere Honcho: {detail}"
"plugin.honcho.err.test_failed": "Impossibile raggiungere Honcho: {detail}",
"plugin.honcho.err.not_opted_in": "La memoria a lungo termine è spenta per il tuo account — attivala qui sopra prima di usarla.",
"plugin.honcho.err.query_required": "Inserisci prima un testo.",
"plugin.honcho.err.honcho_unreachable": "Impossibile contattare il server Honcho: {detail}",
"plugin.honcho.err.honcho_error": "Honcho ha restituito un errore (HTTP {status}): {detail}",
"plugin.honcho.err.no_data": "Honcho non ha ancora nessun ricordo di te — si costruisce chiacchierando."
}