feat(chat): view context — tell the assistant what you're looking at
Nightly Build / build (push) Successful in 7m51s
Nightly Build / build (push) Successful in 7m51s
An eye next to the paperclip shares what the user has open with their next
message: the page, the folder being browsed, the file open in the viewer and
any highlighted passage (line numbers where a source view exists), plus which
entity a detail page is about. The bag is client-authored {label, value} pairs
in English — the backend only clamps (chars, never bytes), neutralizes the
harness tag and renders one <system-extra> block per message, deduped
consecutively so it appears exactly when the view changed. On by default,
per-device toggle, hover/tap to preview, a chip on every sent message;
docs/view-context.md for users, an updated harness.md clause for the model.
This commit is contained in:
@@ -73,6 +73,13 @@ export default {
|
||||
'chat.new_session': 'Nouvelle conversation',
|
||||
'chat.scroll_to_latest': 'Aller aux derniers messages',
|
||||
'chat.security_group': 'Groupe de sécurité',
|
||||
'chat.view_context.on': 'Vous partagez ce que vous avez ouvert — cliquez pour arrêter',
|
||||
'chat.view_context.off': 'Vous ne partagez pas ce que vous avez ouvert — cliquez pour le partager',
|
||||
'chat.view_context.title': 'Envoyé avec votre prochain message',
|
||||
'chat.view_context.off_title': 'Non partagé',
|
||||
'chat.view_context.off_hint': 'L\'assistant ne sait pas quelle page, quel dossier ou quel fichier vous avez ouvert. Activez l\'œil pour le lui dire.',
|
||||
'chat.view_context.empty': 'Rien à partager depuis cette page pour l\'instant.',
|
||||
'chat.view_context.chip': 'Ce que vous aviez ouvert ({n})',
|
||||
'chat.collapse': 'Masquer la discussion',
|
||||
'chat.close_tab': 'Fermer l\'onglet',
|
||||
'chat.new_tab': 'Nouvelle discussion',
|
||||
|
||||
Reference in New Issue
Block a user