kustrun
94857fc913
fix(session): Auto-accept Claude bypass permissions warning dialog
...
When Claude starts with --dangerously-skip-permissions, it shows a warning
dialog requiring Down+Enter to accept. This blocked automated polecat and
agent startup.
Added AcceptBypassPermissionsWarning() to tmux package that:
- Checks if the warning dialog is present by capturing pane content
- Only sends Down+Enter if "Bypass Permissions mode" text is found
- Avoids interfering with sessions that don't show the warning
Updated all Claude startup locations:
- session/manager.go (polecat sessions)
- cmd/up.go (mayor, witness, crew, polecat cold starts)
- daemon/daemon.go (crashed polecat restarts)
- daemon/lifecycle.go (role session starts)
2026-01-02 22:44:58 +01:00
..
2025-12-30 20:52:23 -08:00
2025-12-30 18:03:06 -08:00
2026-01-01 18:58:56 -08:00
2026-01-01 18:58:56 -08:00
2026-01-01 11:10:52 -08:00
2025-12-30 16:43:39 -08:00
2025-12-30 18:03:06 -08:00
2025-12-31 11:47:10 -08:00
2025-12-30 18:03:06 -08:00
2025-12-30 22:16:47 -08:00
2026-01-01 18:53:39 -08:00
2026-01-02 00:21:23 -08:00
2026-01-02 13:38:38 -08:00
2026-01-02 01:32:45 -08:00
2025-12-30 23:48:34 -08:00
2025-12-28 16:40:39 -08:00
2026-01-02 13:11:08 -08:00
2026-01-02 13:11:08 -08:00
2025-12-30 18:03:06 -08:00
2025-12-30 20:52:23 -08:00
2026-01-01 18:52:42 -08:00
2026-01-01 18:54:36 -08:00
2026-01-01 18:54:36 -08:00
2026-01-02 12:54:34 -08:00
2025-12-30 22:39:22 -08:00
2026-01-02 13:43:32 -08:00
2025-12-30 22:12:10 -08:00
2025-12-30 10:54:29 -08:00
2025-12-30 09:58:14 -08:00
2026-01-01 11:10:52 -08:00
2026-01-01 19:16:06 -08:00
2026-01-02 11:52:23 -08:00
2026-01-02 13:43:32 -08:00
2026-01-01 18:24:37 -08:00
2026-01-02 12:31:20 -08:00
2025-12-30 18:03:06 -08:00
2026-01-02 00:22:17 -08:00
2026-01-02 22:44:58 +01:00
2026-01-01 18:52:42 -08:00
2025-12-30 22:10:08 -08:00
2025-12-30 00:19:12 -08:00
2026-01-01 18:58:56 -08:00
2026-01-01 18:58:56 -08:00
2026-01-02 01:27:35 -08:00
2025-12-30 22:02:45 -08:00
2025-12-29 23:58:06 -08:00
2026-01-01 15:46:34 -08:00
2026-01-01 18:56:35 -08:00
2026-01-01 18:54:36 -08:00
2026-01-01 17:44:37 -08:00
2026-01-01 18:54:36 -08:00
2025-12-30 00:52:02 -08:00
2026-01-01 19:16:06 -08:00
2025-12-30 18:03:06 -08:00
2025-12-30 18:03:06 -08:00
2025-12-30 16:47:28 -08:00
2026-01-01 18:50:32 -08:00
2026-01-01 20:07:39 -08:00
2026-01-01 18:15:37 -08:00
2026-01-02 01:05:16 -08:00
2026-01-01 18:51:44 -08:00
2026-01-01 19:11:04 -08:00
2026-01-02 22:44:58 +01:00
2025-12-30 22:13:14 -08:00
2025-12-31 00:27:59 -08:00
2025-12-30 20:52:23 -08:00
2026-01-02 22:44:58 +01:00
2026-01-01 18:52:42 -08:00
2026-01-01 18:15:37 -08:00
2026-01-02 12:28:42 -08:00
2025-12-29 14:54:37 -08:00
2026-01-02 12:40:54 -08:00
2025-12-30 10:43:34 -08:00
2026-01-01 23:24:26 -08:00
2026-01-01 16:01:28 -08:00
2026-01-01 18:20:50 -08:00
2025-12-29 14:54:37 -08:00
2026-01-01 10:58:33 -08:00
2026-01-02 22:44:58 +01:00
2026-01-02 01:48:29 -08:00
2025-12-29 18:02:49 -08:00
2026-01-01 18:52:42 -08:00
2025-12-30 21:16:43 -08:00