feat(web-ui): add pinned sessions and live monitor in Chat (#118)

* feat: add single-page live session monitor and chat pinning

* fix: restore full test green after main merge

* fix: use Array.from instead of Set spread for ts-node compatibility

[...new Set()] requires downlevelIteration which isn't enabled in
ts-node dev mode, causing sonic-boom crash on startup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: ekko <fqsy1416@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Zhicheng Han
2026-04-22 02:09:58 +02:00
committed by GitHub
parent 83ad9642e2
commit 3f88553765
34 changed files with 2497 additions and 278 deletions
+15
View File
@@ -73,6 +73,17 @@ export default {
deleteSession: 'このセッションを削除しますか?',
sessionDeleted: 'セッションを削除しました',
rename: '名前変更',
pin: 'ピン留め',
unpin: 'ピン留め解除',
pinned: 'ピン留め',
chatMode: 'チャット',
liveMode: 'ライブ',
liveSessions: 'ライブセッション',
recentBadge: '最近',
linkedSessions: '{count} 件の関連',
noVisibleMessages: '人間向けに表示できるメッセージはありません。',
monitorRoleUser: 'ユーザー',
monitorRoleAssistant: 'アシスタント',
copySessionId: 'セッション ID をコピー',
renamed: '名前を変更しました',
renameFailed: '名前の変更に失敗しました',
@@ -338,6 +349,10 @@ export default {
idleMinutes: 'アイドルタイムアウト',
idleMinutesHint: '自動リセットまでの待機時間(分)',
atHour: 'スケジュールリセット時刻',
humanOnly: '人間のセッションのみ表示',
humanOnlyHint: 'サブエージェントやセッション監視ノイズを既定で隠します',
liveMonitorHumanOnly: 'ライブモニター: 人間のセッションのみ表示',
liveMonitorHumanOnlyHint: 'ライブモニターでサブエージェントやセッション監視ノイズを既定で隠します',
atHourHint: '毎日指定時刻にセッションをリセット',
},
privacy: {