railmux 0.4.2.dev13__tar.gz → 0.4.2.dev15__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. {railmux-0.4.2.dev13/src/railmux.egg-info → railmux-0.4.2.dev15}/PKG-INFO +27 -9
  2. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/README.md +25 -7
  3. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/pyproject.toml +1 -1
  4. railmux-0.4.2.dev15/src/railmux/__init__.py +1 -0
  5. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/cli.py +1 -1
  6. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/config.py +3 -0
  7. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/config_cli.py +3 -1
  8. railmux-0.4.2.dev15/src/railmux/devin_index.py +185 -0
  9. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/diagnostics.py +4 -0
  10. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/modes.py +11 -1
  11. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/session_lease.py +2 -2
  12. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/settings.py +2 -1
  13. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/terminal_screen.py +15 -1
  14. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/app.py +217 -68
  15. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/keymap.py +1 -1
  16. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/modals.py +29 -27
  17. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15/src/railmux.egg-info}/PKG-INFO +27 -9
  18. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux.egg-info/SOURCES.txt +2 -0
  19. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_app_codex_placeholder.py +1 -1
  20. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_app_quit.py +1 -1
  21. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_app_running_recovery.py +1 -1
  22. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_codex_delete.py +1 -1
  23. railmux-0.4.2.dev15/tests/test_devin_index.py +104 -0
  24. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_fast_display_server.py +41 -0
  25. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_keymap.py +1 -1
  26. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_mode_selection.py +28 -0
  27. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_orphan_recovery.py +3 -3
  28. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_release_workflow.py +5 -1
  29. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_tmux_integration.py +16 -2
  30. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_synchronized_screen.py +2 -3
  31. railmux-0.4.2.dev13/src/railmux/__init__.py +0 -1
  32. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/LICENSE +0 -0
  33. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/MANIFEST.in +0 -0
  34. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/setup.cfg +0 -0
  35. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/__main__.py +0 -0
  36. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/atomic_file.py +0 -0
  37. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/background_index.py +0 -0
  38. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/codex_index.py +0 -0
  39. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/codex_transcript.py +0 -0
  40. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/diagnostic_contract.py +0 -0
  41. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/discovery.py +0 -0
  42. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/display_transport.py +0 -0
  43. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/entrypoint.py +0 -0
  44. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/fast_display_client.py +0 -0
  45. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/fast_display_history.py +0 -0
  46. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/fast_display_input.py +0 -0
  47. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/fast_display_protocol.py +0 -0
  48. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/fast_display_server.py +0 -0
  49. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/favorites.py +0 -0
  50. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/fuzzy.py +0 -0
  51. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/help_workspace.py +0 -0
  52. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/image_paste.py +0 -0
  53. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/launcher.py +0 -0
  54. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/legacy_sessions.py +0 -0
  55. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/local_clipboard.py +0 -0
  56. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/local_open.py +0 -0
  57. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/models.py +0 -0
  58. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/mouse_manager.py +0 -0
  59. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/orphan_marker.py +0 -0
  60. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/pane_surface.py +0 -0
  61. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/path_codec.py +0 -0
  62. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/preview_pager.py +0 -0
  63. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/project_favorites.py +0 -0
  64. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/provider_paths.py +0 -0
  65. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/release_version.py +0 -0
  66. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/remote_config.py +0 -0
  67. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/renames.py +0 -0
  68. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/restart_state.py +0 -0
  69. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/runtime_config.py +0 -0
  70. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/scroll_agent.py +0 -0
  71. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/scroll_manager.py +0 -0
  72. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/selection_isolation.py +0 -0
  73. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/self_update.py +0 -0
  74. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/session_cache.py +0 -0
  75. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/session_index.py +0 -0
  76. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/setting_contracts.py +0 -0
  77. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ssh_args.py +0 -0
  78. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ssh_compat.py +0 -0
  79. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ssh_display_diagnostics.py +0 -0
  80. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ssh_doctor.py +0 -0
  81. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ssh_preflight.py +0 -0
  82. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/system_deps.py +0 -0
  83. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/terminal_status.py +0 -0
  84. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/tmux_binding_manager.py +0 -0
  85. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/tmux_capabilities.py +0 -0
  86. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/tmux_ctl.py +0 -0
  87. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/tmux_health.py +0 -0
  88. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/tmux_server.py +0 -0
  89. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/tool_panes.py +0 -0
  90. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/transcript.py +0 -0
  91. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/__init__.py +0 -0
  92. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/_widgets.py +0 -0
  93. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/projects_pane.py +0 -0
  94. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/running_pane.py +0 -0
  95. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/sessions_pane.py +0 -0
  96. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/sidebar.py +0 -0
  97. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/statusbar.py +0 -0
  98. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/ui/workspace.py +0 -0
  99. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/windows_attach_relay.py +0 -0
  100. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/windows_bootstrap.py +0 -0
  101. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/windows_install_log.py +0 -0
  102. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/windows_msys2.py +0 -0
  103. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/windows_pacman.py +0 -0
  104. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/windows_paths.py +0 -0
  105. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/windows_tmux_lifecycle.py +0 -0
  106. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux/windows_ui_transition.py +0 -0
  107. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux.egg-info/dependency_links.txt +0 -0
  108. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux.egg-info/entry_points.txt +0 -0
  109. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux.egg-info/requires.txt +0 -0
  110. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/src/railmux.egg-info/top_level.txt +0 -0
  111. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/app_test_harness.py +0 -0
  112. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_agent_workspace.py +0 -0
  113. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_app_restart_restore.py +0 -0
  114. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_atomic_file.py +0 -0
  115. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_background_index.py +0 -0
  116. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_claude_continuation.py +0 -0
  117. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_cli.py +0 -0
  118. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_code_map.py +0 -0
  119. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_codex_index.py +0 -0
  120. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_codex_lineage.py +0 -0
  121. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_codex_native_history.py +0 -0
  122. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_codex_transcript.py +0 -0
  123. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_config.py +0 -0
  124. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_config_cli.py +0 -0
  125. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_denested_transport_benchmark.py +0 -0
  126. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_diagnostics.py +0 -0
  127. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_discovery.py +0 -0
  128. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_display_transport.py +0 -0
  129. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_fast_display_bootstrap.py +0 -0
  130. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_fast_display_history.py +0 -0
  131. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_fast_display_protocol.py +0 -0
  132. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_fast_display_selection.py +0 -0
  133. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_fast_display_terminal.py +0 -0
  134. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_focus_highlight.py +0 -0
  135. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_fullscreen_binding.py +0 -0
  136. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_fuzzy.py +0 -0
  137. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_help_agent.py +0 -0
  138. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_help_workspace.py +0 -0
  139. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_history_cleanup.py +0 -0
  140. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_image_paste.py +0 -0
  141. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_launcher.py +0 -0
  142. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_layout_profile.py +0 -0
  143. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_legacy_sessions.py +0 -0
  144. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_local_clipboard.py +0 -0
  145. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_local_open.py +0 -0
  146. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_modals.py +0 -0
  147. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_modes.py +0 -0
  148. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_mouse_manager.py +0 -0
  149. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_new_project.py +0 -0
  150. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_options.py +0 -0
  151. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_pane_surface.py +0 -0
  152. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_path_codec.py +0 -0
  153. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_preview_pager.py +0 -0
  154. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_project_favorites.py +0 -0
  155. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_projects_pane.py +0 -0
  156. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_provider_paths.py +0 -0
  157. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_release_notes.py +0 -0
  158. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_release_version.py +0 -0
  159. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_remote_config.py +0 -0
  160. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_renames.py +0 -0
  161. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_restart_state.py +0 -0
  162. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_running_pane.py +0 -0
  163. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_running_sort.py +0 -0
  164. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_runtime_config.py +0 -0
  165. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_scroll_agent.py +0 -0
  166. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_scroll_manager.py +0 -0
  167. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_selection_isolation.py +0 -0
  168. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_self_update.py +0 -0
  169. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_session_cache.py +0 -0
  170. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_session_index.py +0 -0
  171. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_session_lease.py +0 -0
  172. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_sessions_pane.py +0 -0
  173. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_setting_contracts.py +0 -0
  174. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_settings.py +0 -0
  175. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_sidebar.py +0 -0
  176. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_ssh_args.py +0 -0
  177. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_ssh_compat.py +0 -0
  178. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_ssh_display_benchmark.py +0 -0
  179. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_ssh_display_diagnostics.py +0 -0
  180. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_ssh_doctor.py +0 -0
  181. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_status.py +0 -0
  182. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_statusbar.py +0 -0
  183. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_system_deps.py +0 -0
  184. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_terminal_size.py +0 -0
  185. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_terminal_status.py +0 -0
  186. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_termux_local_touch.py +0 -0
  187. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_tmux_binding_manager.py +0 -0
  188. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_tmux_capabilities.py +0 -0
  189. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_tmux_ctl.py +0 -0
  190. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_tmux_health.py +0 -0
  191. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_tmux_server.py +0 -0
  192. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_tmux_status.py +0 -0
  193. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_tool_panes.py +0 -0
  194. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_transcript.py +0 -0
  195. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_utf8_state.py +0 -0
  196. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_web_demo_recorder.py +0 -0
  197. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_wheel_smoke.py +0 -0
  198. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_widgets.py +0 -0
  199. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_attach_relay.py +0 -0
  200. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_bootstrap.py +0 -0
  201. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_install_log.py +0 -0
  202. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_msys2.py +0 -0
  203. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_pacman.py +0 -0
  204. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_paths.py +0 -0
  205. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_tmux_lifecycle.py +0 -0
  206. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_ui_transition.py +0 -0
  207. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_windows_wrapper_contract.py +0 -0
  208. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tests/test_yolo_prompt.py +0 -0
  209. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tools/denested_transport_benchmark.py +0 -0
  210. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tools/release_notes.py +0 -0
  211. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tools/wheel_smoke.py +0 -0
  212. {railmux-0.4.2.dev13 → railmux-0.4.2.dev15}/tools/windows_archive_smoke.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: railmux
3
- Version: 0.4.2.dev13
4
- Summary: Terminal UI to navigate, resume, and start Claude Code and Codex sessions
3
+ Version: 0.4.2.dev15
4
+ Summary: Terminal UI to navigate, resume, and start Claude Code, Codex, and Devin sessions
5
5
  Author-email: Rightglow <zhang.taian@foxmail.com>
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://rightglow.github.io/Railmux/
@@ -85,7 +85,7 @@ One-off non-resumable invocations such as `codex exec` are intentionally
85
85
  filtered from the sidebar.
86
86
 
87
87
  **Quick answers:** [use the mouse](#mouse) ·
88
- [switch Claude Code and Codex](#switching-between-claude-code-and-codex) ·
88
+ [switch agent modes](#switching-agent-modes) ·
89
89
  [start or resume a session](#starting-and-resuming) ·
90
90
  [copy text from an agent pane](#1-how-do-i-copy-text-from-the-agent-pane)
91
91
 
@@ -237,7 +237,7 @@ see [FAQ 1](#1-how-do-i-copy-text-from-the-agent-pane).
237
237
  | `d` | Delete the focused session (confirms, then finishes in background) |
238
238
  | `t` | Open or return to the managed terminal below the Target agent |
239
239
  | `T` | Return to that agent's managed Vim viewer, when open |
240
- | `m` | Switch agent mode (Claude Code ⇄ Codex) |
240
+ | `m` | Cycle Claude Code, Codex, and Devin |
241
241
  | `o` | Open persistent Railmux options |
242
242
  | `␣` | Preview canonical history for the selected stopped or running session |
243
243
  | `F8` | Cycle agent layout: single → side-by-side → stacked |
@@ -262,7 +262,7 @@ empty launch surface without collapsing or reordering the other agent pane.
262
262
  After a soft restart the help session is not restored automatically—open Help
263
263
  and choose Ask again to reconnect to it.
264
264
 
265
- `+ New project` works in both Claude Code and Codex modes. Browse to an
265
+ `+ New project` works in each available agent mode. Browse to an
266
266
  existing directory and choose `. (use this path)`, or type a new relative,
267
267
  absolute, or `~`-based path. When no existing entry matches, select the
268
268
  explicit `+ create …` row (it is focused automatically) and press `Enter`;
@@ -313,16 +313,30 @@ selected choice confirms and closes the screen; `Esc` or `o` also closes it.
313
313
  Layout changes do not resize the current workspace; Codex auto-run changes
314
314
  affect new launches, not agents that are already running.
315
315
 
316
- ### Switching between Claude Code and Codex
316
+ ### Switching agent modes
317
317
 
318
- Press `m`, or select **More → Mode**, to switch the sidebar between Claude Code
319
- and Codex. The current mode controls which provider's Projects, Sessions, and
318
+ Press `m` or select **More → Mode** to cycle Claude Code, Codex, and Devin. The current mode controls which provider's Projects, Sessions, and
320
319
  Running lists are shown, while each mode remembers its selected project and
321
320
  Running filter. Agents running in the other mode keep running and reappear when
322
- you switch back; changing modes never stops them. Either CLI alone is enough to
321
+ you switch back; changing modes never stops them. One CLI is enough to
323
322
  use Railmux; selecting a mode whose CLI is not installed shows a warning rather
324
323
  than stopping the workspace.
325
324
 
325
+ ### Devin preview
326
+
327
+ In `0.4.2.dev15`, install and sign in to Devin CLI on the machine where the
328
+ agent runs. Use Devin CLI 3000.14.30821 or newer. In Railmux, press `m` until the
329
+ status bar says **Devin**. Use **+ New project** for a new directory, `n` for a
330
+ new conversation, or `Enter` on an existing session to reopen it. Use **Running**
331
+ to return to a live Devin pane, and keep your usual `/model` and permission
332
+ controls inside Devin.
333
+
334
+ Railmux owns the live pane through tmux, so ordinary detach and SSH reconnect
335
+ preserve it. Devin sessions appear in **Sessions** after the first prompt.
336
+ Use Devin to inspect or delete saved history. Railmux saved-history Preview,
337
+ history deletion, and Ask Railmux are unavailable in this mode. The preview
338
+ runs on POSIX and WSL. Native Windows Devin is unavailable.
339
+
326
340
  ### Dual-agent layouts
327
341
 
328
342
  Railmux distinguishes the **Focused pane** from the **Target pane**. The Focused
@@ -539,6 +553,10 @@ home = "~/.codex"
539
553
  # New Codex launches: "always", "ask", or "never" (default: "ask")
540
554
  auto_run = "ask"
541
555
 
556
+ [devin]
557
+ # Command name or path to the Devin CLI (default: "devin")
558
+ binary = "devin"
559
+
542
560
  [environment]
543
561
  # "inherit", or an installed UTF-8 locale such as C.UTF-8 / en_US.UTF-8
544
562
  locale = "inherit"
@@ -42,7 +42,7 @@ One-off non-resumable invocations such as `codex exec` are intentionally
42
42
  filtered from the sidebar.
43
43
 
44
44
  **Quick answers:** [use the mouse](#mouse) ·
45
- [switch Claude Code and Codex](#switching-between-claude-code-and-codex) ·
45
+ [switch agent modes](#switching-agent-modes) ·
46
46
  [start or resume a session](#starting-and-resuming) ·
47
47
  [copy text from an agent pane](#1-how-do-i-copy-text-from-the-agent-pane)
48
48
 
@@ -194,7 +194,7 @@ see [FAQ 1](#1-how-do-i-copy-text-from-the-agent-pane).
194
194
  | `d` | Delete the focused session (confirms, then finishes in background) |
195
195
  | `t` | Open or return to the managed terminal below the Target agent |
196
196
  | `T` | Return to that agent's managed Vim viewer, when open |
197
- | `m` | Switch agent mode (Claude Code ⇄ Codex) |
197
+ | `m` | Cycle Claude Code, Codex, and Devin |
198
198
  | `o` | Open persistent Railmux options |
199
199
  | `␣` | Preview canonical history for the selected stopped or running session |
200
200
  | `F8` | Cycle agent layout: single → side-by-side → stacked |
@@ -219,7 +219,7 @@ empty launch surface without collapsing or reordering the other agent pane.
219
219
  After a soft restart the help session is not restored automatically—open Help
220
220
  and choose Ask again to reconnect to it.
221
221
 
222
- `+ New project` works in both Claude Code and Codex modes. Browse to an
222
+ `+ New project` works in each available agent mode. Browse to an
223
223
  existing directory and choose `. (use this path)`, or type a new relative,
224
224
  absolute, or `~`-based path. When no existing entry matches, select the
225
225
  explicit `+ create …` row (it is focused automatically) and press `Enter`;
@@ -270,16 +270,30 @@ selected choice confirms and closes the screen; `Esc` or `o` also closes it.
270
270
  Layout changes do not resize the current workspace; Codex auto-run changes
271
271
  affect new launches, not agents that are already running.
272
272
 
273
- ### Switching between Claude Code and Codex
273
+ ### Switching agent modes
274
274
 
275
- Press `m`, or select **More → Mode**, to switch the sidebar between Claude Code
276
- and Codex. The current mode controls which provider's Projects, Sessions, and
275
+ Press `m` or select **More → Mode** to cycle Claude Code, Codex, and Devin. The current mode controls which provider's Projects, Sessions, and
277
276
  Running lists are shown, while each mode remembers its selected project and
278
277
  Running filter. Agents running in the other mode keep running and reappear when
279
- you switch back; changing modes never stops them. Either CLI alone is enough to
278
+ you switch back; changing modes never stops them. One CLI is enough to
280
279
  use Railmux; selecting a mode whose CLI is not installed shows a warning rather
281
280
  than stopping the workspace.
282
281
 
282
+ ### Devin preview
283
+
284
+ In `0.4.2.dev15`, install and sign in to Devin CLI on the machine where the
285
+ agent runs. Use Devin CLI 3000.14.30821 or newer. In Railmux, press `m` until the
286
+ status bar says **Devin**. Use **+ New project** for a new directory, `n` for a
287
+ new conversation, or `Enter` on an existing session to reopen it. Use **Running**
288
+ to return to a live Devin pane, and keep your usual `/model` and permission
289
+ controls inside Devin.
290
+
291
+ Railmux owns the live pane through tmux, so ordinary detach and SSH reconnect
292
+ preserve it. Devin sessions appear in **Sessions** after the first prompt.
293
+ Use Devin to inspect or delete saved history. Railmux saved-history Preview,
294
+ history deletion, and Ask Railmux are unavailable in this mode. The preview
295
+ runs on POSIX and WSL. Native Windows Devin is unavailable.
296
+
283
297
  ### Dual-agent layouts
284
298
 
285
299
  Railmux distinguishes the **Focused pane** from the **Target pane**. The Focused
@@ -496,6 +510,10 @@ home = "~/.codex"
496
510
  # New Codex launches: "always", "ask", or "never" (default: "ask")
497
511
  auto_run = "ask"
498
512
 
513
+ [devin]
514
+ # Command name or path to the Devin CLI (default: "devin")
515
+ binary = "devin"
516
+
499
517
  [environment]
500
518
  # "inherit", or an installed UTF-8 locale such as C.UTF-8 / en_US.UTF-8
501
519
  locale = "inherit"
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  name = "railmux"
7
7
  dynamic = ["version"]
8
- description = "Terminal UI to navigate, resume, and start Claude Code and Codex sessions"
8
+ description = "Terminal UI to navigate, resume, and start Claude Code, Codex, and Devin sessions"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
11
11
  license = "MIT"
@@ -0,0 +1 @@
1
+ __version__ = "0.4.2.dev15"
@@ -588,7 +588,7 @@ def main(argv: list[str] | None = None) -> int:
588
588
  " railmux config [--remote HOST] [OPTIONS]\n"
589
589
  " railmux doctor [--remote HOST] [OPTIONS]"
590
590
  ),
591
- description="Terminal workspace for Claude Code and Codex sessions",
591
+ description="Terminal workspace for Claude Code, Codex, and Devin sessions",
592
592
  epilog=(
593
593
  "Commands:\n"
594
594
  " railmux ssh HOST responsive remote workspace\n"
@@ -30,6 +30,7 @@ class Config:
30
30
  tmux_binary: str = "tmux"
31
31
  claude_binary: str = "claude"
32
32
  codex_binary: str = "codex"
33
+ devin_binary: str = "devin"
33
34
  locale: str = "inherit"
34
35
  codex_home: str = "~/.codex"
35
36
  poll_interval_ms: int = 1000
@@ -137,6 +138,7 @@ def load_config(config_path: Path | None = None) -> Config:
137
138
  tmux = _table(data, "tmux")
138
139
  claude = _table(data, "claude")
139
140
  codex = _table(data, "codex")
141
+ devin = _table(data, "devin")
140
142
  environment = _table(data, "environment")
141
143
  live = _table(data, "live")
142
144
  projects = _table(data, "projects")
@@ -219,6 +221,7 @@ def load_config(config_path: Path | None = None) -> Config:
219
221
  claude_binary=_command(
220
222
  claude, "binary", "claude", "claude.binary"),
221
223
  codex_binary=_command(codex, "binary", "codex", "codex.binary"),
224
+ devin_binary=_command(devin, "binary", "devin", "devin.binary"),
222
225
  locale=_locale(environment),
223
226
  codex_home=_string(codex, "home", "~/.codex", "codex.home"),
224
227
  poll_interval_ms=poll_interval_ms,
@@ -137,6 +137,7 @@ _BEHAVIOR_KEYS = {
137
137
  _PROGRAM_KEYS = {
138
138
  "tmux": ("binary",),
139
139
  "claude": ("binary",),
140
+ "devin": ("binary",),
140
141
  "codex": ("binary",),
141
142
  }
142
143
  _ENVIRONMENT_KEYS = {"environment": ("locale",)}
@@ -569,7 +570,8 @@ def _program_menu(
569
570
  *,
570
571
  remote_context: bool,
571
572
  ) -> object | None:
572
- programs = (("tmux", "tmux"), ("claude", "Claude Code"), ("codex", "Codex"))
573
+ programs = (("tmux", "tmux"), ("claude", "Claude Code"), ("codex", "Codex"),
574
+ ("devin", "Devin"))
573
575
  while True:
574
576
  config = load_config()
575
577
  _render_category_header(
@@ -0,0 +1,185 @@
1
+ """Read Devin session metadata through ACP without opening its session store."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import hashlib
6
+ import json
7
+ import os
8
+ import re
9
+ import shutil
10
+ import subprocess
11
+ import threading
12
+ import time
13
+ from collections import defaultdict
14
+ from dataclasses import dataclass
15
+ from datetime import datetime
16
+ from pathlib import Path
17
+
18
+ from railmux.models import Project, SessionMeta
19
+
20
+ _ID = re.compile(r"[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}\Z")
21
+ _TIMEOUT = 10
22
+ _MAX_LINE = 1024 * 1024
23
+
24
+
25
+ def project_for(cwd: Path, count: int = 0, activity: float = 0) -> Project:
26
+ key = hashlib.sha256(os.fsencode(cwd)).hexdigest()[:24]
27
+ return Project(cwd, f"-dv-{key}", Path(), count, activity)
28
+
29
+
30
+ def command(binary: str, session_id: str | None = None) -> list[str]:
31
+ # tmux owns the lifetime of the interactive agent. In-process mode also
32
+ # gives discovery an exact lock owner in the pane's process tree.
33
+ argv = [binary, "--process-model", "in-process"]
34
+ if session_id is not None:
35
+ if not _ID.fullmatch(session_id):
36
+ raise ValueError("Invalid Devin session ID")
37
+ argv.extend(("--resume", session_id))
38
+ return argv
39
+
40
+
41
+ def lease_root() -> Path:
42
+ data = Path(os.environ.get("XDG_DATA_HOME") or Path.home() / ".local/share")
43
+ override = os.environ.get("DEVIN_SESSIONS_DIR")
44
+ return Path(override).expanduser().absolute() if override else data / "devin/cli"
45
+
46
+
47
+ @dataclass(frozen=True)
48
+ class DevinSession:
49
+ meta: SessionMeta
50
+ locked: bool
51
+ holder_pid: int | None
52
+
53
+
54
+ def _parse_session(row: object) -> DevinSession | None:
55
+ if not isinstance(row, dict):
56
+ return None
57
+ session_id, cwd = row.get("sessionId"), row.get("cwd")
58
+ extra = row.get("_meta")
59
+ if not isinstance(extra, dict):
60
+ extra = {}
61
+ if (not isinstance(session_id, str) or not _ID.fullmatch(session_id)
62
+ or not isinstance(cwd, str) or not cwd or "\x00" in cwd
63
+ or not Path(cwd).is_absolute()
64
+ or extra.get("cognition.ai/hasUserMessages") is False):
65
+ return None
66
+ try:
67
+ stamp = datetime.fromisoformat(row["updatedAt"].replace("Z", "+00:00"))
68
+ updated = stamp.timestamp() if stamp.tzinfo else 0
69
+ except (KeyError, AttributeError, ValueError, OverflowError, OSError):
70
+ updated = 0
71
+ title = row.get("title")
72
+ # Strip terminal controls and flatten multiline titles before displaying.
73
+ if isinstance(title, str):
74
+ title = " ".join("".join(c for c in title if c.isprintable() or c.isspace()).split())
75
+ else:
76
+ title = None
77
+ locked = extra.get("cognition.ai/isLocked") is True
78
+ pid = extra.get("cognition.ai/lockHolderPid")
79
+ return DevinSession(
80
+ SessionMeta(project_for(Path(cwd)), session_id, Path(), title,
81
+ 0, 0, updated, session_type="devin"),
82
+ locked, pid if locked and type(pid) is int and pid > 0 else None,
83
+ )
84
+
85
+
86
+ def scan(binary: str) -> dict[str, DevinSession]:
87
+ """Collect a complete paginated generation, bounded even for a stalled CLI."""
88
+ with subprocess.Popen(
89
+ [binary, "acp", "--process-model", "in-process"], cwd=Path.home(),
90
+ stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL,
91
+ ) as process:
92
+ assert process.stdin is not None and process.stdout is not None
93
+ timer = threading.Timer(_TIMEOUT, process.kill)
94
+ timer.daemon = True
95
+ timer.start()
96
+ try:
97
+ def request(number: int, method: str, params: dict) -> dict:
98
+ payload = dict(jsonrpc="2.0", id=number, method=method, params=params)
99
+ process.stdin.write(json.dumps(payload).encode() + b"\n")
100
+ process.stdin.flush()
101
+ while True:
102
+ line = process.stdout.readline(_MAX_LINE)
103
+ if not line.endswith(b"\n"):
104
+ raise ValueError("Incomplete ACP response")
105
+ message = json.loads(line)
106
+ if isinstance(message, dict) and message.get("id") == number:
107
+ result = message.get("result")
108
+ if isinstance(result, dict):
109
+ return result
110
+ raise ValueError("ACP request failed")
111
+
112
+ hello = request(1, "initialize", {"protocolVersion": 1, "clientCapabilities": {}})
113
+ if hello.get("protocolVersion") != 1:
114
+ raise ValueError("Unsupported ACP protocol")
115
+ records = {}
116
+ cursor = None
117
+ seen = set()
118
+ for number in range(2, 202):
119
+ page = request(number, "session/list", {"cursor": cursor} if cursor else {})
120
+ rows = page.get("sessions")
121
+ if not isinstance(rows, list):
122
+ raise ValueError("Invalid ACP session inventory")
123
+ for row in rows:
124
+ record = _parse_session(row)
125
+ if record is not None:
126
+ records.setdefault(record.meta.session_id, record)
127
+ cursor = page.get("nextCursor")
128
+ if cursor is None:
129
+ return records
130
+ if not isinstance(cursor, str) or not cursor or cursor in seen:
131
+ raise ValueError("Invalid ACP pagination cursor")
132
+ seen.add(cursor)
133
+ raise ValueError("ACP page limit exceeded")
134
+ finally:
135
+ timer.cancel()
136
+ process.kill()
137
+
138
+
139
+ class DevinIndex:
140
+ """One worker publishes complete snapshots and retains the last good view."""
141
+
142
+ def __init__(self, binary: str) -> None:
143
+ self.binary = binary
144
+ self.snapshot: dict[str, DevinSession] | None = None
145
+ self.failed = False
146
+ self._reported_failure = False
147
+ self._thread: threading.Thread | None = None
148
+ self._last_requested = float("-inf")
149
+
150
+ def refresh(self) -> None:
151
+ now = time.monotonic()
152
+ if ((self._thread is not None and self._thread.is_alive())
153
+ or now - self._last_requested < 5 or not shutil.which(self.binary)):
154
+ return
155
+ self._last_requested = now
156
+ self._thread = threading.Thread(target=self._refresh, daemon=True,
157
+ name="railmux-devin-index")
158
+ self._thread.start()
159
+
160
+ def _refresh(self) -> None:
161
+ try:
162
+ self.snapshot = scan(self.binary)
163
+ except (OSError, ValueError):
164
+ self.failed = True
165
+ else:
166
+ self.failed = False
167
+
168
+ def take_warning(self) -> bool:
169
+ if self.failed == self._reported_failure:
170
+ return False
171
+ self._reported_failure = self.failed
172
+ return self.failed
173
+
174
+ def get(self, session_id: str) -> DevinSession | None:
175
+ return (self.snapshot or {}).get(session_id)
176
+
177
+ def projects(self) -> list[Project]:
178
+ by_cwd: dict[Path, list[SessionMeta]] = defaultdict(list)
179
+ for record in (self.snapshot or {}).values():
180
+ by_cwd[record.meta.project.real_path].append(record.meta)
181
+ return sorted(
182
+ (project_for(cwd, len(rows), max(s.last_mtime for s in rows))
183
+ for cwd, rows in by_cwd.items()),
184
+ key=lambda project: (-project.last_activity_ts, str(project.real_path)),
185
+ )
@@ -339,6 +339,9 @@ def collect_doctor_snapshot(
339
339
  "codex": _tool_diagnostic(
340
340
  config.codex_binary, environ=effective_env,
341
341
  configured=config.codex_binary != "codex"),
342
+ "devin": _tool_diagnostic(
343
+ config.devin_binary, environ=effective_env,
344
+ configured=config.devin_binary != "devin"),
342
345
  }
343
346
  configured_tmux_missing = (
344
347
  config.tmux_binary != "tmux"
@@ -528,6 +531,7 @@ def render_doctor_text(snapshot: DoctorSnapshot) -> str:
528
531
  f"Last tmux incident: {_incident_text(snapshot.last_tmux_incident)}",
529
532
  f"Claude Code: {_tool_text(snapshot.tools['claude_code'])}",
530
533
  f"Codex: {_tool_text(snapshot.tools['codex'])}",
534
+ f"Devin: {_tool_text(snapshot.tools['devin'])}",
531
535
  f"Inside tmux: {_yes_no(snapshot.inside_tmux)}",
532
536
  f"SSH transport: {_yes_no(snapshot.ssh_transport)}",
533
537
  (
@@ -18,6 +18,7 @@ class ProjectSource(str, Enum):
18
18
 
19
19
  CLAUDE = "claude"
20
20
  CODEX = "codex"
21
+ DEVIN = "devin"
21
22
 
22
23
 
23
24
  @dataclass(frozen=True)
@@ -100,5 +101,14 @@ CODEX_MODE = AgentMode(
100
101
  prompt_for_auto_run=True,
101
102
  )
102
103
 
104
+ DEVIN_MODE = AgentMode(
105
+ key="devin",
106
+ label="Devin",
107
+ tmux_prefix="dv-",
108
+ session_type="devin",
109
+ project_source=ProjectSource.DEVIN,
110
+ binary_config_attr="devin_binary",
111
+ )
112
+
103
113
  DEFAULT_MODE_REGISTRY = ModeRegistry(
104
- (CLAUDE_MODE, CODEX_MODE), default_key=CLAUDE_MODE.key)
114
+ (CLAUDE_MODE, CODEX_MODE, DEVIN_MODE), default_key=CLAUDE_MODE.key)
@@ -368,7 +368,7 @@ def acquire(
368
368
  needed for its independent holder to observe process exit.
369
369
  """
370
370
  ids = tuple(sorted(set(session_ids)))
371
- if provider not in {"claude", "codex"} or not ids:
371
+ if provider not in {"claude", "codex", "devin"} or not ids:
372
372
  raise LeaseError("invalid provider session lease identity")
373
373
  if any(not session_id or len(session_id) > 128 for session_id in ids):
374
374
  raise LeaseError("invalid provider session id for lease")
@@ -624,7 +624,7 @@ def parse_args(argv: Sequence[str] | None = None) -> argparse.Namespace:
624
624
  parser = argparse.ArgumentParser(add_help=False)
625
625
  sub = parser.add_subparsers(dest="command", required=True)
626
626
  hold = sub.add_parser("hold", add_help=False)
627
- hold.add_argument("--provider", choices=("claude", "codex"), required=True)
627
+ hold.add_argument("--provider", choices=("claude", "codex", "devin"), required=True)
628
628
  hold.add_argument("--instance", required=True)
629
629
  hold.add_argument("--pane-id", required=True)
630
630
  hold.add_argument("--pane-pid", type=int, required=True)
@@ -23,6 +23,7 @@ from railmux.setting_contracts import bounds_for, choices_for
23
23
  MANAGED_CONFIG_KEYS: dict[str, tuple[str, ...]] = {
24
24
  "tmux": ("binary",),
25
25
  "claude": ("binary",),
26
+ "devin": ("binary",),
26
27
  "codex": ("binary", "home", "auto_run"),
27
28
  "environment": ("locale",),
28
29
  "ui": ("layout_retention", "layout_profile"),
@@ -195,7 +196,7 @@ class Settings:
195
196
 
196
197
  # -- Program paths and locale --------------------------------------
197
198
  def set_program_binary(self, section: str, value: str) -> bool:
198
- if section not in {"tmux", "claude", "codex"} or not value.strip():
199
+ if section not in {"tmux", "claude", "codex", "devin"} or not value.strip():
199
200
  return False
200
201
  return self._update_section(section, {"binary": value})
201
202
 
@@ -85,6 +85,7 @@ class _HyperlinkChar(NamedTuple):
85
85
  reverse: bool = False
86
86
  blink: bool = False
87
87
  hyperlink: str | None = None
88
+ dim: bool = False
88
89
 
89
90
 
90
91
  def _hyperlink_char(char: object, hyperlink: str | None) -> _HyperlinkChar:
@@ -99,6 +100,7 @@ def _hyperlink_char(char: object, hyperlink: str | None) -> _HyperlinkChar:
99
100
  reverse=char.reverse,
100
101
  blink=char.blink,
101
102
  hyperlink=hyperlink,
103
+ dim=getattr(char, "dim", False),
102
104
  )
103
105
 
104
106
 
@@ -309,7 +311,8 @@ class _ExtendedScreenMixin:
309
311
  super().report_device_status(mode)
310
312
 
311
313
  def select_graphic_rendition(self, *attrs: int) -> None:
312
- """Retain 256-colour indices instead of baking in pyte's palette."""
314
+ """Retain faint intensity and palette indices omitted by stock pyte."""
315
+ dim = getattr(self.cursor.attrs, "dim", False) if attrs else False
313
316
  super().select_graphic_rendition(*attrs)
314
317
  self.cursor.attrs = _hyperlink_char(
315
318
  self.cursor.attrs,
@@ -323,6 +326,13 @@ class _ExtendedScreenMixin:
323
326
  index += 1
324
327
  if attr == 0:
325
328
  indexed.clear()
329
+ dim = False
330
+ continue
331
+ elif attr == 2:
332
+ dim = True
333
+ continue
334
+ elif attr == 22:
335
+ dim = False
326
336
  continue
327
337
  if 30 <= attr <= 37 or attr == 39 or 90 <= attr <= 97:
328
338
  indexed.pop("fg", None)
@@ -349,6 +359,7 @@ class _ExtendedScreenMixin:
349
359
  self.cursor.attrs = self.cursor.attrs._replace(
350
360
  **{key: f"ansi256:{colour}" for key, colour in indexed.items()}
351
361
  )
362
+ self.cursor.attrs = self.cursor.attrs._replace(dim=dim)
352
363
 
353
364
  def restore_cursor(self) -> None:
354
365
  super().restore_cursor()
@@ -417,6 +428,7 @@ def _style(char: object) -> bytes:
417
428
  codes: list[str] = ["0"]
418
429
  for enabled, code in (
419
430
  (char.bold, "1"),
431
+ (getattr(char, "dim", False), "2"),
420
432
  (char.italics, "3"),
421
433
  (char.underscore, "4"),
422
434
  (char.blink, "5"),
@@ -440,6 +452,7 @@ def _style_key(char: object) -> tuple[object, ...]:
440
452
  char.strikethrough,
441
453
  char.reverse,
442
454
  char.blink,
455
+ getattr(char, "dim", False),
443
456
  )
444
457
 
445
458
 
@@ -452,6 +465,7 @@ _DEFAULT_STYLE_KEY = (
452
465
  False,
453
466
  False,
454
467
  False,
468
+ False,
455
469
  )
456
470
 
457
471