Codeman maintainer
89a93c871f
fix(files): list the git worktree an agent moved into ( #765 )
...
Claude Code's EnterWorktree moves the running process into
<repo>/.claude/worktrees/<name>, while Session.workingDir stays on the main
checkout. The Files panel kept walking workingDir, so it listed a tree the
agent had left.
paneCwd already follows the move, measured on Claude Code 2.1.318 in both
directions, so nothing new has to track the agent. It also follows every cd
in a shell, so a new SessionState.liveWorktree narrows it to a linked
worktree, read from the .git file without starting git.
Only a folder strictly below workingDir is ever an answer, and the listing
only starts there: returned paths stay relative to workingDir, so the
preview, raw and edit routes are unchanged and confinement does not widen.
A worktree outside the session folder stays unfollowed.
The panel asks with root=live, shows a strip naming the worktree with a
switch to the session folder, and follows the agent in and out while open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-05 23:47:38 +01:00
..
2026-11-04 17:31:48 +01:00
2026-10-21 08:03:55 +02:00
2026-06-10 18:06:45 +02:00
2026-10-14 05:16:00 +02:00
2026-10-09 23:28:55 +02:00
2026-10-24 14:45:34 +02:00
2026-11-05 23:47:38 +01:00
2026-10-22 19:32:17 +02:00
2026-11-05 23:47:38 +01:00
2026-09-07 19:09:24 +02:00
2026-10-25 09:22:35 -04:00
2026-10-26 09:04:53 -04:00
2026-10-25 09:22:35 -04:00
2026-08-09 23:05:11 +02:00
2026-04-23 11:57:00 +02:00
2026-05-31 05:17:07 +02:00
2026-07-12 17:50:21 +02:00
2026-10-10 21:54:37 +02:00
2026-04-23 11:57:00 +02:00
2026-10-24 16:57:20 +02:00
2026-08-10 11:19:51 +02:00
2026-10-18 13:58:09 +08:00
2026-10-27 09:11:19 +01:00
2026-10-25 09:08:54 -04:00
2026-10-30 10:33:34 +08:00
2026-08-22 14:13:58 +02:00
2026-10-29 21:46:06 +08:00
2026-10-09 12:59:48 +02:00
2026-10-24 23:00:49 -04:00
2026-10-24 23:00:49 -04:00
2026-10-29 21:04:18 +08:00
2026-11-04 17:31:48 +01:00
2026-11-04 17:31:48 +01:00
2026-11-04 17:31:48 +01:00
2026-10-26 03:13:25 -04:00
2026-10-07 19:27:45 +02:00
2026-08-25 19:01:29 +02:00
2026-10-27 09:11:19 +01:00
2026-08-25 19:01:29 +02:00
2026-11-04 17:29:08 +01:00
2026-09-05 16:22:54 +02:00
2026-10-27 02:58:37 +01:00
2026-06-14 08:43:57 +02:00
2026-06-14 08:43:57 +02:00
2026-07-12 17:50:21 +02:00
2026-11-03 09:46:23 +01:00
2026-11-04 17:31:48 +01:00
2026-11-04 17:31:48 +01:00
2026-06-09 20:02:17 +02:00
2026-10-11 14:03:20 +02:00
2026-09-14 17:06:42 +02:00
2026-11-04 16:50:44 +01:00
2026-10-27 09:11:19 +01:00
2026-10-27 09:11:19 +01:00
2026-10-27 09:11:19 +01:00
2026-10-16 01:36:45 +02:00
2026-10-27 02:53:08 +01:00
2026-10-24 16:46:31 +02:00
2026-10-13 17:09:00 +02:00
2026-11-04 17:29:08 +01:00
2026-07-09 11:47:38 -04:00
2026-10-22 19:54:40 +02:00
2026-11-05 23:47:38 +01:00
2026-10-25 09:08:54 -04:00
2026-10-24 22:39:58 -04:00
2026-10-18 00:47:47 +08:00
2026-10-13 18:28:34 +02:00
2026-10-07 19:41:56 +02:00
2026-02-18 12:51:35 +01:00
2026-10-28 09:38:06 -04:00
2026-08-28 11:32:30 -05:00
2026-04-23 11:57:00 +02:00
2026-03-21 07:20:18 +01:00
2026-03-27 01:43:59 +01:00
2026-09-24 22:18:07 +02:00
2026-08-16 20:27:38 +02:00
2026-08-07 01:34:47 +02:00
2026-10-27 01:24:15 +01:00
2026-07-20 12:33:12 +02:00
2026-04-23 11:57:00 +02:00
2026-10-28 09:34:05 +01:00
2026-08-20 12:58:17 -04:00
2026-03-01 04:04:35 +01:00
2026-03-07 07:33:44 +01:00
2026-03-26 22:50:25 +01:00
2026-10-28 09:25:50 +01:00
2026-08-09 23:05:11 +02:00
2026-08-09 23:05:11 +02:00
2026-08-09 23:05:11 +02:00
2026-09-24 22:18:07 +02:00
2026-10-12 14:06:19 +02:00
2026-10-24 14:52:26 +02:00
2026-10-24 14:52:26 +02:00
2026-08-29 17:43:07 -05:00
2026-10-10 23:28:25 -05:00
2026-09-19 12:18:40 +02:00
2026-03-01 17:26:31 +01:00
2026-10-21 05:06:42 +02:00
2026-03-01 04:04:35 +01:00
2026-03-01 04:04:35 +01:00
2026-08-09 15:31:02 +02:00
2026-03-07 07:33:44 +01:00
2026-08-10 03:15:13 +02:00
2026-08-09 01:34:55 +02:00
2026-10-14 05:53:58 +02:00
2026-06-14 09:05:17 +02:00
2026-09-15 17:59:16 +02:00
2026-10-21 08:03:53 +02:00
2026-10-04 19:05:43 +02:00
2026-10-29 21:27:23 +08:00
2026-10-07 21:16:53 +02:00
2026-09-19 18:05:51 +08:00
2026-06-06 03:53:54 +02:00
2026-09-14 23:46:28 +02:00
2026-07-17 16:21:16 -04:00
2026-07-09 11:49:23 -04:00
2026-10-19 19:58:14 -04:00
2026-03-01 04:04:35 +01:00
2026-09-01 02:31:26 +02:00
2026-11-05 23:47:38 +01:00
2026-10-22 03:42:42 -04:00
2026-10-10 04:20:46 +02:00
2026-10-09 20:34:37 -04:00
2026-08-23 14:46:10 -04:00
2026-10-22 19:31:21 +02:00
2026-10-10 13:43:20 -04:00
2026-04-23 11:57:00 +02:00
2026-04-23 11:57:00 +02:00
2026-01-24 04:36:18 +01:00
2026-03-12 15:50:40 +01:00
2026-10-24 22:37:06 -04:00
2026-11-04 16:59:16 +01:00
2026-10-23 09:08:48 +00:00
2026-08-09 23:05:11 +02:00
2026-08-05 01:53:43 +02:00
2026-03-03 22:40:18 +01:00
2026-06-10 20:41:34 +02:00
2026-10-22 19:32:17 +02:00
2026-07-20 12:33:12 +02:00
2026-10-04 23:52:41 +02:00
2026-09-04 15:21:13 +02:00
2026-07-27 17:06:36 +02:00
2026-06-18 10:00:04 +02:00