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
+75 -6
View File
@@ -39,8 +39,31 @@ export default {
[`${P}.memory.saved`]: 'Saved.',
[`${P}.memory.loading`]: 'Loading…',
[`${P}.memory.unavailable`]: 'Long-term memory is not available to you yet. Ask your administrator to grant access.',
[`${P}.memory.soon_title`]: 'Coming soon',
[`${P}.memory.soon_body`]: 'Soon you will be able to ask Honcho what it remembers about you, and manage it, right from this page.',
// "What does it remember?" panel (shown once opted in)
[`${P}.panel.title`]: 'What Honcho remembers about you',
[`${P}.panel.guide_title`]: 'How to use this page',
[`${P}.panel.guide_overview`]: 'Overview shows everything Honcho has derived about you so far: your card (key facts), the facts it concluded, and a summary. Nothing to type.',
[`${P}.panel.guide_search`]: 'Search finds the stored facts most relevant to the words you type. Fast and exact — no AI rewrite, you see the raw facts.',
[`${P}.panel.guide_ask`]: 'Ask sends your question to Honchos AI, which reads your memory and writes an answer in its own words. Slower, but it can connect the dots.',
[`${P}.panel.status_title`]: 'Service status',
[`${P}.panel.status_ok`]: 'Connected',
[`${P}.panel.status_queue`]: 'Processing: {wip} in progress, {pending} pending, {done} completed',
[`${P}.panel.status_down`]: 'Unreachable',
[`${P}.panel.refresh`]: 'Refresh',
[`${P}.panel.overview_title`]: 'Overview',
[`${P}.panel.card_title`]: 'Your card',
[`${P}.panel.facts_title`]: 'Facts',
[`${P}.panel.summary_title`]: 'Summary',
[`${P}.panel.no_memory`]: 'Honcho has no memory about you yet — it builds up as you chat.',
[`${P}.panel.query_title`]: 'Search or ask',
[`${P}.panel.query_hint`]: 'Words to find facts, or a full question for the AI.',
[`${P}.panel.search_btn`]: 'Search',
[`${P}.panel.ask_btn`]: 'Ask',
[`${P}.panel.searching`]: 'Searching…',
[`${P}.panel.asking`]: 'Asking Honcho…',
[`${P}.panel.search_empty`]: 'No facts match those words.',
[`${P}.panel.answer_title`]: 'Answer',
},
it: {
@@ -71,8 +94,31 @@ export default {
[`${P}.memory.saved`]: 'Salvato.',
[`${P}.memory.loading`]: 'Caricamento…',
[`${P}.memory.unavailable`]: 'La memoria a lungo termine non è ancora disponibile per te. Chiedi allamministratore di darti laccesso.',
[`${P}.memory.soon_title`]: 'In arrivo',
[`${P}.memory.soon_body`]: 'Presto potrai chiedere a Honcho cosa ricorda di te e gestirlo, direttamente da questa pagina.',
// Pannello "cosa ricorda di te?" (visibile dopo il consenso)
[`${P}.panel.title`]: 'Cosa ricorda Honcho di te',
[`${P}.panel.guide_title`]: 'Come usare questa pagina',
[`${P}.panel.guide_overview`]: 'La panoramica mostra tutto ciò che Honcho ha ricavato su di te finora: la tua scheda (fatti chiave), i fatti dedotti e un riassunto. Non serve scrivere nulla.',
[`${P}.panel.guide_search`]: 'Cerca trova i fatti memorizzati più rilevanti per le parole che scrivi. Veloce ed esatto — niente riscritture dellAI, vedi i fatti grezzi.',
[`${P}.panel.guide_ask`]: 'Chiedi invia la tua domanda allAI di Honcho, che legge la tua memoria e scrive una risposta con parole sue. Più lento, ma sa collegare i puntini.',
[`${P}.panel.status_title`]: 'Stato del servizio',
[`${P}.panel.status_ok`]: 'Connesso',
[`${P}.panel.status_queue`]: 'Elaborazione: {wip} in corso, {pending} in attesa, {done} completati',
[`${P}.panel.status_down`]: 'Irraggiungibile',
[`${P}.panel.refresh`]: 'Aggiorna',
[`${P}.panel.overview_title`]: 'Panoramica',
[`${P}.panel.card_title`]: 'La tua scheda',
[`${P}.panel.facts_title`]: 'Fatti',
[`${P}.panel.summary_title`]: 'Riassunto',
[`${P}.panel.no_memory`]: 'Honcho non ha ancora nessun ricordo di te — si costruisce chiacchierando.',
[`${P}.panel.query_title`]: 'Cerca o chiedi',
[`${P}.panel.query_hint`]: 'Parole per trovare fatti, oppure una domanda completa per lAI.',
[`${P}.panel.search_btn`]: 'Cerca',
[`${P}.panel.ask_btn`]: 'Chiedi',
[`${P}.panel.searching`]: 'Ricerca…',
[`${P}.panel.asking`]: 'Chiedo a Honcho…',
[`${P}.panel.search_empty`]: 'Nessun fatto corrisponde a quelle parole.',
[`${P}.panel.answer_title`]: 'Risposta',
},
fr: {
@@ -103,7 +149,30 @@ export default {
[`${P}.memory.saved`]: 'Enregistré.',
[`${P}.memory.loading`]: 'Chargement…',
[`${P}.memory.unavailable`]: 'La mémoire à long terme ne vous est pas encore accessible. Demandez laccès à votre administrateur.',
[`${P}.memory.soon_title`]: 'Bientôt disponible',
[`${P}.memory.soon_body`]: 'Bientôt, vous pourrez demander à Honcho ce quil retient de vous et le gérer, directement depuis cette page.',
// Panneau « que retient-il de vous ? » (visible après le consentement)
[`${P}.panel.title`]: 'Ce que Honcho retient de vous',
[`${P}.panel.guide_title`]: 'Comment utiliser cette page',
[`${P}.panel.guide_overview`]: 'Laperçu montre tout ce que Honcho a déduit de vous jusquici : votre fiche (faits clés), les faits conclus et un résumé. Rien à saisir.',
[`${P}.panel.guide_search`]: 'Rechercher trouve les faits stockés les plus pertinents pour les mots saisis. Rapide et exact — pas de réécriture par lIA, vous voyez les faits bruts.',
[`${P}.panel.guide_ask`]: 'Demander envoie votre question à lIA de Honcho, qui lit votre mémoire et rédige une réponse avec ses mots. Plus lent, mais elle relie les points.',
[`${P}.panel.status_title`]: 'État du service',
[`${P}.panel.status_ok`]: 'Connecté',
[`${P}.panel.status_queue`]: 'Traitement : {wip} en cours, {pending} en attente, {done} terminés',
[`${P}.panel.status_down`]: 'Injoignable',
[`${P}.panel.refresh`]: 'Actualiser',
[`${P}.panel.overview_title`]: 'Aperçu',
[`${P}.panel.card_title`]: 'Votre fiche',
[`${P}.panel.facts_title`]: 'Faits',
[`${P}.panel.summary_title`]: 'Résumé',
[`${P}.panel.no_memory`]: 'Honcho na pas encore de mémoire vous concernant — elle se construit au fil des conversations.',
[`${P}.panel.query_title`]: 'Rechercher ou demander',
[`${P}.panel.query_hint`]: 'Des mots pour trouver des faits, ou une question complète pour lIA.',
[`${P}.panel.search_btn`]: 'Rechercher',
[`${P}.panel.ask_btn`]: 'Demander',
[`${P}.panel.searching`]: 'Recherche…',
[`${P}.panel.asking`]: 'Interrogation de Honcho…',
[`${P}.panel.search_empty`]: 'Aucun fait ne correspond à ces mots.',
[`${P}.panel.answer_title`]: 'Réponse',
},
};