Files
nanobot/nanobot/channels/qq/webui/locales/fr.json
T
AlfredChaos 24c41a6af0 fix(channels): drop compaction notices on channels without an in-place affordance (#5799)
* fix(channels): drop compaction notices on channels without an in-place affordance

QQ's C2C/group message API has no edit or recall endpoint, so the
compaction lifecycle reached the chat as two permanent standalone
messages. Add a show_compaction_notices capability that defaults to
true (Telegram/Discord/WebSocket keep their in-place lifecycle) and
opt QQ out, with a per-channel showCompactionNotices config override.

Fixes #5784

* fix(qq): keep compaction-notice suppression inside the QQ channel

Per review on #5799: drop ContextCompactionEvent in QQChannel.send()
based on a QQ-local QQConfig.show_compaction_notices (default false,
camel alias showCompactionNotices) instead of a cross-channel
BaseChannel capability plus manager-level configuration and dispatch
policy. BaseChannel, ChannelManager and the manager compaction test
return to their upstream shape.

Also adds the missing zh-TW locale copy (plus es/id/ko/vi so all ten
QQ locales carry the new setup field) and QQ-level tests covering the
default drop, the enabled path, ordinary-message passthrough, and the
camelCase config override.
2026-09-18 00:45:58 +08:00

47 lines
1.1 KiB
JSON

{
"setup": {
"docsLabel": "Ouvrir le guide QQ",
"officialLabel": "Ouvrir la console du bot QQ",
"fields": {
"appId": {
"label": "App ID",
"placeholder": "App ID du bot QQ"
},
"secret": {
"label": "Secret",
"placeholder": "••••••"
},
"allowFrom": {
"label": "Utilisateurs autorisés",
"placeholder": "Open ID séparés par des virgules"
},
"msgFormat": {
"label": "Format des messages",
"choices": {
"plain": "Texte brut",
"markdown": "Markdown"
}
},
"ackMessage": {
"label": "Message d'accusé de réception"
},
"mediaDir": {
"label": "Répertoire des médias"
},
"downloadChunkSize": {
"label": "Taille du morceau de téléchargement"
},
"downloadMaxBytes": {
"label": "Taille maximale de téléchargement"
},
"showCompactionNotices": {
"label": "Avis de compactage du contexte",
"choices": {
"true": "Activé",
"false": "Désactivé"
}
}
}
}
}