chin
f24039d2a0
fix(tabs): base workspace tab label on stable host identity, not dynamic title
...
Review feedback (Codex P2 + Copilot): resolveWorkspaceTabLabel derived
its label and its distinct-host "+N" count from resolveSessionTabTitle,
which folds in the dynamic shell/agent title. Two problems:
- those live titles are published only to the session presentation store,
not the plain session records passed to the tab, so the label went stale
under dynamicTabTitleMode 'agent'/'all';
- per-pane dynamic titles differ on a single host, so the "+N" suffix
fired even when every pane was on the same host.
Use getSessionConnectionLabel (rename / host label) — the stable host
identity — for both the primary label and the distinct-host set. This is
also what the tab is meant to convey (which host), and it needs no
presentation-store subscription. Drops the now-unused dynamicTabTitleMode
argument from resolveWorkspaceTabLabel.
2026-08-01 18:37:16 +08:00
..
2026-07-30 15:46:53 +08:00
2026-07-30 15:46:53 +08:00
2026-07-17 09:41:28 +08:00
2026-07-31 14:21:05 +08:00
2026-07-21 16:51:03 +08:00
2026-07-29 17:52:50 +08:00
2026-07-24 02:52:39 +00:00
2026-07-31 14:21:05 +08:00
2026-07-26 02:10:37 +08:00
2026-07-17 17:33:23 +08:00
2026-07-31 14:21:05 +08:00
2026-07-31 02:47:52 +00:00
2026-07-30 20:00:02 +08:00
2026-07-17 11:06:24 +08:00
2026-07-29 03:33:00 +08:00
2026-07-31 18:01:02 +08:00
2026-07-31 14:21:05 +08:00
2026-08-01 18:37:16 +08:00
2026-07-31 14:21:05 +08:00
2026-07-31 14:21:05 +08:00
2026-07-28 11:48:01 +08:00
2026-07-21 19:35:31 +08:00
2026-07-15 23:19:34 +08:00
2026-07-30 19:30:41 +08:00
2026-07-30 21:50:50 +08:00
2026-06-29 00:40:54 +08:00
2026-07-29 03:33:00 +08:00
2026-07-29 03:33:00 +08:00
2026-07-18 15:43:36 +08:00
2026-07-18 15:43:36 +08:00
2026-07-06 22:20:39 +08:00
2026-07-25 18:40:01 +08:00
2026-07-25 18:40:01 +08:00
2026-07-27 19:26:20 +08:00
2026-07-07 10:25:35 +08:00
2026-07-28 11:48:01 +08:00
2026-07-30 10:55:11 +08:00
2026-07-21 13:27:20 +08:00
2026-07-21 13:27:20 +08:00
2026-07-26 21:27:01 +08:00
2026-07-28 18:57:15 +08:00
2026-07-12 10:54:55 +08:00
2026-07-27 19:01:50 +08:00
2026-07-22 00:49:06 +08:00
2026-07-13 18:52:39 +08:00
2026-07-22 00:49:06 +08:00
2026-07-29 08:59:45 +00:00
2026-07-29 08:59:45 +00:00
2026-06-29 23:48:41 +08:00
2026-06-29 23:48:41 +08:00
2026-07-13 22:23:35 +08:00
2026-07-26 00:39:28 +08:00
2026-06-28 23:48:12 +08:00
2026-07-03 10:47:59 +08:00
2026-07-28 11:48:01 +08:00
2026-07-28 00:54:03 +08:00
2026-07-31 14:21:05 +08:00
2026-07-21 11:41:46 +08:00
2026-07-21 04:29:26 +00:00
2026-07-24 11:40:16 +08:00
2026-07-20 20:08:00 +08:00
2026-07-20 20:08:00 +08:00
2026-07-24 11:40:16 +08:00
2026-07-30 08:57:46 +00:00
2026-07-24 22:58:38 +08:00
2026-07-31 14:21:05 +08:00
2026-07-09 02:56:23 +08:00
2026-07-09 02:56:23 +08:00
2026-07-26 00:44:13 +08:00
2026-07-17 17:33:23 +08:00
2026-07-17 17:33:23 +08:00
2026-07-27 15:41:08 +08:00
2026-07-27 15:41:08 +08:00
2026-07-22 00:41:32 +08:00
2026-06-29 23:26:53 +08:00
2026-06-29 23:26:53 +08:00
2026-06-29 23:26:53 +08:00
2026-07-28 01:39:02 +08:00
2026-07-28 01:39:02 +08:00
2026-07-22 00:41:32 +08:00
2026-07-22 00:41:32 +08:00
2026-07-28 11:48:01 +08:00
2026-07-28 11:48:01 +08:00
2026-06-29 11:17:54 +08:00
2026-07-27 14:12:31 +08:00
2026-07-27 14:12:31 +08:00
2026-06-28 23:48:12 +08:00
2026-07-24 13:22:58 +00:00
2026-07-28 11:48:01 +08:00
2026-07-15 14:05:08 +08:00
2026-07-21 16:51:03 +08:00
2026-07-18 15:43:36 +08:00
2026-07-24 21:12:47 +08:00
2026-07-25 21:54:04 +08:00
2026-07-31 16:38:01 +08:00
2026-07-26 22:47:36 +08:00
2026-07-25 23:40:20 +08:00
2026-07-29 12:47:23 +08:00
2026-07-30 13:51:37 +08:00
2026-07-30 17:28:16 +08:00
2026-07-31 14:21:05 +08:00
2026-07-24 13:22:58 +00:00
2026-06-29 00:12:03 +08:00
2026-07-31 11:12:16 +08:00
2026-07-12 10:54:55 +08:00
2026-07-12 10:54:55 +08:00
2026-07-28 00:20:02 +08:00
2026-07-30 16:32:42 +08:00
2026-07-30 16:32:42 +08:00
2026-07-30 16:32:42 +08:00
2026-07-16 17:51:21 +08:00
2026-07-16 17:51:21 +08:00
2026-07-26 01:11:41 +08:00
2026-07-26 01:11:41 +08:00
2026-07-12 23:54:38 +08:00
2026-06-29 01:41:03 +08:00
2026-07-30 22:58:08 +08:00
2026-07-31 10:50:00 +08:00
2026-07-27 17:25:47 +08:00
2026-07-21 16:30:50 +08:00
2026-07-21 16:30:50 +08:00
2026-07-30 17:28:16 +08:00
2026-07-30 17:28:16 +08:00
2026-07-28 00:54:03 +08:00