feat(chat): persist more composer input history with global or session scope; recallable with up/down arrow keys (#3035)

* feat(chat): persist input history

* feat(settings): configure input history scope

* fix(web): keep input history validation packaged

* fix(chat): preserve input history across tabs

* fix(settings): restore prompt history limit

* fix(settings): keep history deletion warning visible

* fix(i18n): restore Turkish Git empty state translations

---------

Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
This commit is contained in:
Matt Visnovsky
2026-09-05 19:19:03 +03:00
committed by GitHub
co-authored by Bohdan Triapitsyn
parent 29480383cc
commit 1d6b15bc04
49 changed files with 3353 additions and 458 deletions
@@ -2138,6 +2138,15 @@ export const settingsDict = {
'settings.openchamber.visual.field.followUpBehaviorDescription': 'Wählen Sie aus, was passiert, wenn Sie Enter auf einer Follow-up-Nachricht drücken, während der Agent noch antwortet.',
'settings.openchamber.visual.option.followUpBehavior.steer.label': 'Steuerung',
'settings.openchamber.visual.option.followUpBehavior.queue.label': 'Warteschlange',
'settings.openchamber.visual.field.inputHistoryScope': 'Bereich des Eingabeverlaufs',
'settings.openchamber.visual.field.inputHistoryScopeDescription': 'Wählen Sie aus, ob gesendete Prompts projektübergreifend in allen mit dieser Laufzeit verbundenen Projekten oder nur in der aktuellen Sitzung wieder abgerufen werden können.',
'settings.openchamber.visual.section.inputHistoryScopeAria': 'Bereich des Eingabeverlaufs',
'settings.openchamber.visual.option.inputHistoryScope.global.label': 'Alle Projekte',
'settings.openchamber.visual.option.inputHistoryScope.session.label': 'Aktuelle Sitzung',
'settings.openchamber.visual.field.inputHistoryLimit': 'Zu merkende Prompts',
'settings.openchamber.visual.field.inputHistoryLimitDescription': 'Wenn Sie diese Zahl verringern, werden ältere Prompts sofort aus Ihrem Verlauf entfernt.',
'settings.openchamber.visual.field.inputHistoryLimitAria': 'Zu merkende Prompts',
'settings.openchamber.visual.field.inputHistoryLimitUnit': 'Prompts',
'settings.providers.page.quotaCredentials.accessToken': 'Zugriffstoken',
'settings.providers.page.quotaCredentials.usageToken': 'Nutzungs-API-Token',
@@ -2227,6 +2227,15 @@ export const settingsDict = {
'settings.openchamber.visual.field.followUpBehaviorDescription': 'Choose what happens when you press Enter on a follow-up message while the agent is still responding.',
'settings.openchamber.visual.option.followUpBehavior.steer.label': 'Steer',
'settings.openchamber.visual.option.followUpBehavior.queue.label': 'Queue',
'settings.openchamber.visual.field.inputHistoryScope': 'Input history scope',
'settings.openchamber.visual.field.inputHistoryScopeDescription': 'Choose whether submitted prompts are recalled across all projects connected to this runtime or only in the current session.',
'settings.openchamber.visual.section.inputHistoryScopeAria': 'Input history scope',
'settings.openchamber.visual.option.inputHistoryScope.global.label': 'All projects',
'settings.openchamber.visual.option.inputHistoryScope.session.label': 'Current session',
'settings.openchamber.visual.field.inputHistoryLimit': 'Prompts to remember',
'settings.openchamber.visual.field.inputHistoryLimitDescription': 'Lowering this number removes older prompts from your history.',
'settings.openchamber.visual.field.inputHistoryLimitAria': 'Prompts to remember',
'settings.openchamber.visual.field.inputHistoryLimitUnit': 'prompts',
...linearIntegrationI18n.en,
'settings.page.integrations.title': 'Integrations',
'settings.page.integrations.description': 'Connect GitHub and Linear so OpenChamber can work with your issues and pull requests.',
@@ -2237,6 +2237,15 @@ export const settingsDict = {
"settings.openchamber.visual.field.followUpBehaviorDescription": "Choose what happens when you press Enter on a follow-up message while the agent is still responding.",
"settings.openchamber.visual.option.followUpBehavior.steer.label": "Steer",
"settings.openchamber.visual.option.followUpBehavior.queue.label": "Queue",
"settings.openchamber.visual.field.inputHistoryScope": "Alcance del historial de entrada",
"settings.openchamber.visual.field.inputHistoryScopeDescription": "Elige si los prompts enviados se recuperan en todos los proyectos conectados a este runtime o solo en la sesión actual.",
"settings.openchamber.visual.section.inputHistoryScopeAria": "Alcance del historial de entrada",
"settings.openchamber.visual.option.inputHistoryScope.global.label": "Todos los proyectos",
"settings.openchamber.visual.option.inputHistoryScope.session.label": "Sesión actual",
"settings.openchamber.visual.field.inputHistoryLimit": "Prompts que recordar",
"settings.openchamber.visual.field.inputHistoryLimitDescription": "Bajar este número elimina de inmediato los prompts más antiguos de tu historial.",
"settings.openchamber.visual.field.inputHistoryLimitAria": "Prompts que recordar",
"settings.openchamber.visual.field.inputHistoryLimitUnit": "prompts",
...linearIntegrationI18n.es,
'settings.page.integrations.title': 'Integraciones',
'settings.page.integrations.description': 'Conecta GitHub y Linear para que OpenChamber pueda trabajar con tus issues y pull requests.',
@@ -2237,6 +2237,15 @@ export const settingsDict = {
'settings.openchamber.visual.field.followUpBehaviorDescription': 'Choose what happens when you press Enter on a follow-up message while the agent is still responding.',
'settings.openchamber.visual.option.followUpBehavior.steer.label': 'Steer',
'settings.openchamber.visual.option.followUpBehavior.queue.label': 'Queue',
'settings.openchamber.visual.field.inputHistoryScope': 'Portée de l\'historique de saisie',
'settings.openchamber.visual.field.inputHistoryScopeDescription': 'Choisissez si les prompts envoyés sont rappelés dans tous les projets reliés à ce runtime ou seulement dans la session en cours.',
'settings.openchamber.visual.section.inputHistoryScopeAria': 'Portée de l\'historique de saisie',
'settings.openchamber.visual.option.inputHistoryScope.global.label': 'Tous les projets',
'settings.openchamber.visual.option.inputHistoryScope.session.label': 'Session actuelle',
'settings.openchamber.visual.field.inputHistoryLimit': 'Prompts à mémoriser',
'settings.openchamber.visual.field.inputHistoryLimitDescription': 'Réduire ce nombre supprime aussitôt les prompts les plus anciens de votre historique.',
'settings.openchamber.visual.field.inputHistoryLimitAria': 'Prompts à mémoriser',
'settings.openchamber.visual.field.inputHistoryLimitUnit': 'prompts',
...linearIntegrationI18n.fr,
'settings.page.integrations.title': 'Intégrations',
'settings.page.integrations.description': 'Connectez GitHub et Linear pour qu’OpenChamber puisse travailler avec vos issues et pull requests.',
@@ -2237,6 +2237,15 @@ export const settingsDict = {
'settings.openchamber.visual.field.followUpBehaviorDescription': 'エージェントが応答している間にフォローアップメッセージで Enter を押したときの動作を選択します。',
'settings.openchamber.visual.option.followUpBehavior.steer.label': 'ステア',
'settings.openchamber.visual.option.followUpBehavior.queue.label': 'キュー',
'settings.openchamber.visual.field.inputHistoryScope': '入力履歴の範囲',
'settings.openchamber.visual.field.inputHistoryScopeDescription': '送信したプロンプトを、このランタイムに接続されたすべてのプロジェクトで呼び出せるようにするか、現在のセッションだけにするかを選びます。',
'settings.openchamber.visual.section.inputHistoryScopeAria': '入力履歴の範囲',
'settings.openchamber.visual.option.inputHistoryScope.global.label': 'すべてのプロジェクト',
'settings.openchamber.visual.option.inputHistoryScope.session.label': '現在のセッション',
'settings.openchamber.visual.field.inputHistoryLimit': '記憶するプロンプト数',
'settings.openchamber.visual.field.inputHistoryLimitDescription': 'この数を減らすと、履歴内の古いプロンプトはすぐに削除されます。',
'settings.openchamber.visual.field.inputHistoryLimitAria': '記憶するプロンプト数',
'settings.openchamber.visual.field.inputHistoryLimitUnit': '件',
...linearIntegrationI18n.ja,
'settings.page.integrations.title': '連携',
'settings.page.integrations.description': 'GitHub と Linear を接続すると、OpenChamber が Issue やプルリクエストを扱えるようになります。',
@@ -2237,6 +2237,15 @@ export const settingsDict = {
'settings.openchamber.visual.field.followUpBehaviorDescription': 'Choose what happens when you press Enter on a follow-up message while the agent is still responding.',
'settings.openchamber.visual.option.followUpBehavior.steer.label': 'Steer',
'settings.openchamber.visual.option.followUpBehavior.queue.label': 'Queue',
'settings.openchamber.visual.field.inputHistoryScope': '입력 기록 범위',
'settings.openchamber.visual.field.inputHistoryScopeDescription': '보낸 프롬프트를 이 런타임에 연결된 모든 프로젝트에서 다시 불러올지, 현재 세션에서만 다시 불러올지 선택합니다.',
'settings.openchamber.visual.section.inputHistoryScopeAria': '입력 기록 범위',
'settings.openchamber.visual.option.inputHistoryScope.global.label': '모든 프로젝트',
'settings.openchamber.visual.option.inputHistoryScope.session.label': '현재 세션',
'settings.openchamber.visual.field.inputHistoryLimit': '기억할 프롬프트 수',
'settings.openchamber.visual.field.inputHistoryLimitDescription': '이 숫자를 낮추면 기록에서 오래된 프롬프트가 바로 삭제됩니다.',
'settings.openchamber.visual.field.inputHistoryLimitAria': '기억할 프롬프트 수',
'settings.openchamber.visual.field.inputHistoryLimitUnit': '개',
...linearIntegrationI18n.ko,
'settings.page.integrations.title': '통합',
'settings.page.integrations.description': 'GitHub와 Linear를 연결하면 OpenChamber가 이슈와 풀 리퀘스트를 다룰 수 있습니다.',
@@ -2230,6 +2230,15 @@ export const settingsDict = {
'settings.openchamber.visual.field.followUpBehaviorDescription': 'Choose what happens when you press Enter on a follow-up message while the agent is still responding.',
'settings.openchamber.visual.option.followUpBehavior.steer.label': 'Steer',
'settings.openchamber.visual.option.followUpBehavior.queue.label': 'Queue',
'settings.openchamber.visual.field.inputHistoryScope': 'Zakres historii wpisów',
'settings.openchamber.visual.field.inputHistoryScopeDescription': 'Wybierz, czy wysłane prompty mają być przywoływane we wszystkich projektach podłączonych do tego środowiska uruchomieniowego, czy tylko w bieżącej sesji.',
'settings.openchamber.visual.section.inputHistoryScopeAria': 'Zakres historii wpisów',
'settings.openchamber.visual.option.inputHistoryScope.global.label': 'Wszystkie projekty',
'settings.openchamber.visual.option.inputHistoryScope.session.label': 'Bieżąca sesja',
'settings.openchamber.visual.field.inputHistoryLimit': 'Liczba zapamiętywanych promptów',
'settings.openchamber.visual.field.inputHistoryLimitDescription': 'Zmniejszenie tej liczby od razu usuwa starsze prompty z historii.',
'settings.openchamber.visual.field.inputHistoryLimitAria': 'Liczba zapamiętywanych promptów',
'settings.openchamber.visual.field.inputHistoryLimitUnit': 'promptów',
...linearIntegrationI18n.pl,
'settings.page.integrations.title': 'Integracje',
'settings.page.integrations.description': 'Połącz GitHub i Linear, aby OpenChamber mógł pracować z Twoimi issue i pull requestami.',
@@ -2237,6 +2237,15 @@ export const settingsDict = {
"settings.openchamber.visual.field.followUpBehaviorDescription": "Choose what happens when you press Enter on a follow-up message while the agent is still responding.",
"settings.openchamber.visual.option.followUpBehavior.steer.label": "Steer",
"settings.openchamber.visual.option.followUpBehavior.queue.label": "Queue",
"settings.openchamber.visual.field.inputHistoryScope": "Escopo do histórico de entrada",
"settings.openchamber.visual.field.inputHistoryScopeDescription": "Escolha se os prompts enviados podem ser recuperados em todos os projetos conectados a este runtime ou apenas na sessão atual.",
"settings.openchamber.visual.section.inputHistoryScopeAria": "Escopo do histórico de entrada",
"settings.openchamber.visual.option.inputHistoryScope.global.label": "Todos os projetos",
"settings.openchamber.visual.option.inputHistoryScope.session.label": "Sessão atual",
"settings.openchamber.visual.field.inputHistoryLimit": "Prompts para lembrar",
"settings.openchamber.visual.field.inputHistoryLimitDescription": "Reduzir esse número remove na hora os prompts mais antigos do seu histórico.",
"settings.openchamber.visual.field.inputHistoryLimitAria": "Prompts para lembrar",
"settings.openchamber.visual.field.inputHistoryLimitUnit": "prompts",
...linearIntegrationI18n['pt-BR'],
'settings.page.integrations.title': 'Integrações',
'settings.page.integrations.description': 'Conecte o GitHub e o Linear para que o OpenChamber possa trabalhar com suas issues e pull requests.',
@@ -1950,6 +1950,15 @@ export const settingsDict = {
'settings.openchamber.visual.actions.resetSpacingAria': 'Aralığı sıfırla',
'settings.openchamber.visual.field.inputBarOffset': 'Giriş Çubuğu Ofseti',
'settings.openchamber.visual.field.inputBarOffsetTooltip': 'Ana ekran çubuğu gibi işletim sistemi düzeyindeki ekran engellerinden kaçınmak için giriş çubuğunu yukarı kaldırır.',
'settings.openchamber.visual.field.inputHistoryScope': 'Girdi geçmişi kapsamı',
'settings.openchamber.visual.field.inputHistoryScopeDescription': 'Gönderilen istemlerin bu çalışma zamanına bağlı tüm projelerde mi yoksa yalnızca geçerli oturumda mı geri çağrılacağını seçin.',
'settings.openchamber.visual.section.inputHistoryScopeAria': 'Girdi geçmişi kapsamı',
'settings.openchamber.visual.option.inputHistoryScope.global.label': 'Tüm projeler',
'settings.openchamber.visual.option.inputHistoryScope.session.label': 'Geçerli oturum',
'settings.openchamber.visual.field.inputHistoryLimit': 'Hatırlanacak prompt sayısı',
'settings.openchamber.visual.field.inputHistoryLimitDescription': 'Bu sayıyı azaltmak, eski prompt\'ları geçmişinizden hemen siler.',
'settings.openchamber.visual.field.inputHistoryLimitAria': 'Hatırlanacak prompt sayısı',
'settings.openchamber.visual.field.inputHistoryLimitUnit': 'prompt',
'settings.openchamber.visual.actions.resetInputBarOffsetAria': 'Giriş çubuğu ofsetini sıfırla',
'settings.openchamber.visual.field.terminalQuickKeysAria': 'Terminal hızlı tuşları',
'settings.openchamber.visual.field.terminalQuickKeys': 'Terminal Hızlı Tuşları',
@@ -2237,6 +2237,15 @@ export const settingsDict = {
"settings.openchamber.visual.field.followUpBehaviorDescription": "Choose what happens when you press Enter on a follow-up message while the agent is still responding.",
"settings.openchamber.visual.option.followUpBehavior.steer.label": "Steer",
"settings.openchamber.visual.option.followUpBehavior.queue.label": "Queue",
"settings.openchamber.visual.field.inputHistoryScope": "Обсяг історії введення",
"settings.openchamber.visual.field.inputHistoryScopeDescription": "Виберіть, чи згадувати надіслані промпти в усіх проєктах, підключених до цього рантайму, чи лише в поточній сесії.",
"settings.openchamber.visual.section.inputHistoryScopeAria": "Обсяг історії введення",
"settings.openchamber.visual.option.inputHistoryScope.global.label": "Усі проєкти",
"settings.openchamber.visual.option.inputHistoryScope.session.label": "Поточна сесія",
"settings.openchamber.visual.field.inputHistoryLimit": "Скільки промптів пам’ятати",
"settings.openchamber.visual.field.inputHistoryLimitDescription": "Якщо зменшити це число, старіші промпти одразу буде видалено з історії.",
"settings.openchamber.visual.field.inputHistoryLimitAria": "Скільки промптів пам’ятати",
"settings.openchamber.visual.field.inputHistoryLimitUnit": "промптів",
...linearIntegrationI18n.uk,
'settings.page.integrations.title': 'Інтеграції',
'settings.page.integrations.description': 'Підключіть GitHub і Linear, щоб OpenChamber міг працювати з вашими задачами та pull request-ами.',
@@ -2237,6 +2237,15 @@ export const settingsDict = {
'settings.openchamber.visual.field.followUpBehaviorDescription': 'Choose what happens when you press Enter on a follow-up message while the agent is still responding.',
'settings.openchamber.visual.option.followUpBehavior.steer.label': 'Steer',
'settings.openchamber.visual.option.followUpBehavior.queue.label': 'Queue',
'settings.openchamber.visual.field.inputHistoryScope': '输入历史范围',
'settings.openchamber.visual.field.inputHistoryScopeDescription': '选择已提交的提示词是要在此运行时连接的所有项目中都可回忆,还是仅限当前会话。',
'settings.openchamber.visual.section.inputHistoryScopeAria': '输入历史范围',
'settings.openchamber.visual.option.inputHistoryScope.global.label': '所有项目',
'settings.openchamber.visual.option.inputHistoryScope.session.label': '当前会话',
'settings.openchamber.visual.field.inputHistoryLimit': '要记住的提示词数量',
'settings.openchamber.visual.field.inputHistoryLimitDescription': '调低这个数字会立即从历史记录中删除较早的提示词。',
'settings.openchamber.visual.field.inputHistoryLimitAria': '要记住的提示词数量',
'settings.openchamber.visual.field.inputHistoryLimitUnit': '条',
...linearIntegrationI18n['zh-CN'],
'settings.page.integrations.title': '集成',
'settings.page.integrations.description': '连接 GitHub 和 Linear,让 OpenChamber 可以处理你的 issue 和拉取请求。',
@@ -2237,6 +2237,15 @@ export const settingsDict = {
'settings.openchamber.visual.field.followUpBehaviorDescription': 'Choose what happens when you press Enter on a follow-up message while the agent is still responding.',
'settings.openchamber.visual.option.followUpBehavior.steer.label': 'Steer',
'settings.openchamber.visual.option.followUpBehavior.queue.label': 'Queue',
'settings.openchamber.visual.field.inputHistoryScope': '輸入歷史範圍',
'settings.openchamber.visual.field.inputHistoryScopeDescription': '選擇已送出的提示詞要在連接到這個執行環境的所有專案中都能回叫,還是只限目前工作階段。',
'settings.openchamber.visual.section.inputHistoryScopeAria': '輸入歷史範圍',
'settings.openchamber.visual.option.inputHistoryScope.global.label': '所有專案',
'settings.openchamber.visual.option.inputHistoryScope.session.label': '目前工作階段',
'settings.openchamber.visual.field.inputHistoryLimit': '要記住的提示詞數量',
'settings.openchamber.visual.field.inputHistoryLimitDescription': '調低這個數字會立刻從歷史記錄移除較早的提示詞。',
'settings.openchamber.visual.field.inputHistoryLimitAria': '要記住的提示詞數量',
'settings.openchamber.visual.field.inputHistoryLimitUnit': '則',
...linearIntegrationI18n['zh-TW'],
'settings.page.integrations.title': '整合',
'settings.page.integrations.description': '連接 GitHub 和 Linear,讓 OpenChamber 可以處理你的 issue 和 pull request。',