railmux 0.4.2.dev13__tar.gz → 0.4.2.dev16__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.
- {railmux-0.4.2.dev13/src/railmux.egg-info → railmux-0.4.2.dev16}/PKG-INFO +54 -21
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/README.md +52 -19
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/pyproject.toml +1 -1
- railmux-0.4.2.dev16/src/railmux/__init__.py +1 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/background_index.py +68 -36
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/cli.py +1 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/codex_index.py +6 -3
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/config.py +22 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/config_cli.py +66 -4
- railmux-0.4.2.dev16/src/railmux/devin_index.py +185 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/diagnostics.py +4 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/display_transport.py +6 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/fast_display_server.py +50 -24
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/modes.py +11 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/session_lease.py +2 -2
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/setting_contracts.py +7 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/settings.py +37 -9
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/terminal_screen.py +15 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/tmux_server.py +1 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/_widgets.py +21 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/app.py +559 -249
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/keymap.py +1 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/modals.py +63 -31
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16/src/railmux.egg-info}/PKG-INFO +54 -21
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux.egg-info/SOURCES.txt +2 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_app_codex_placeholder.py +1 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_app_quit.py +1 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_app_restart_restore.py +5 -2
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_app_running_recovery.py +1 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_codex_delete.py +3 -4
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_config_cli.py +15 -0
- railmux-0.4.2.dev16/tests/test_devin_index.py +104 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_fast_display_server.py +169 -36
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_focus_highlight.py +12 -5
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_keymap.py +1 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_mode_selection.py +145 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_modes.py +2 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_options.py +13 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_orphan_recovery.py +3 -3
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_release_workflow.py +5 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_tmux_integration.py +16 -2
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_synchronized_screen.py +2 -3
- railmux-0.4.2.dev13/src/railmux/__init__.py +0 -1
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/LICENSE +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/MANIFEST.in +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/setup.cfg +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/__main__.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/atomic_file.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/codex_transcript.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/diagnostic_contract.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/discovery.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/entrypoint.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/fast_display_client.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/fast_display_history.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/fast_display_input.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/fast_display_protocol.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/favorites.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/fuzzy.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/help_workspace.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/image_paste.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/launcher.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/legacy_sessions.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/local_clipboard.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/local_open.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/models.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/mouse_manager.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/orphan_marker.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/pane_surface.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/path_codec.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/preview_pager.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/project_favorites.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/provider_paths.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/release_version.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/remote_config.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/renames.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/restart_state.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/runtime_config.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/scroll_agent.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/scroll_manager.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/selection_isolation.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/self_update.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/session_cache.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/session_index.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ssh_args.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ssh_compat.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ssh_display_diagnostics.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ssh_doctor.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ssh_preflight.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/system_deps.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/terminal_status.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/tmux_binding_manager.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/tmux_capabilities.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/tmux_ctl.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/tmux_health.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/tool_panes.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/transcript.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/__init__.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/projects_pane.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/running_pane.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/sessions_pane.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/sidebar.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/statusbar.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/ui/workspace.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/windows_attach_relay.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/windows_bootstrap.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/windows_install_log.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/windows_msys2.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/windows_pacman.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/windows_paths.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/windows_tmux_lifecycle.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux/windows_ui_transition.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux.egg-info/dependency_links.txt +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux.egg-info/entry_points.txt +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux.egg-info/requires.txt +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/src/railmux.egg-info/top_level.txt +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/app_test_harness.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_agent_workspace.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_atomic_file.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_background_index.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_claude_continuation.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_cli.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_code_map.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_codex_index.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_codex_lineage.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_codex_native_history.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_codex_transcript.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_config.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_denested_transport_benchmark.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_diagnostics.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_discovery.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_display_transport.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_fast_display_bootstrap.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_fast_display_history.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_fast_display_protocol.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_fast_display_selection.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_fast_display_terminal.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_fullscreen_binding.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_fuzzy.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_help_agent.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_help_workspace.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_history_cleanup.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_image_paste.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_launcher.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_layout_profile.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_legacy_sessions.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_local_clipboard.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_local_open.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_modals.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_mouse_manager.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_new_project.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_pane_surface.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_path_codec.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_preview_pager.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_project_favorites.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_projects_pane.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_provider_paths.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_release_notes.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_release_version.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_remote_config.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_renames.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_restart_state.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_running_pane.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_running_sort.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_runtime_config.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_scroll_agent.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_scroll_manager.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_selection_isolation.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_self_update.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_session_cache.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_session_index.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_session_lease.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_sessions_pane.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_setting_contracts.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_settings.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_sidebar.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_ssh_args.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_ssh_compat.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_ssh_display_benchmark.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_ssh_display_diagnostics.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_ssh_doctor.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_status.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_statusbar.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_system_deps.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_terminal_size.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_terminal_status.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_termux_local_touch.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_tmux_binding_manager.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_tmux_capabilities.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_tmux_ctl.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_tmux_health.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_tmux_server.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_tmux_status.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_tool_panes.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_transcript.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_utf8_state.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_web_demo_recorder.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_wheel_smoke.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_widgets.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_attach_relay.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_bootstrap.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_install_log.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_msys2.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_pacman.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_paths.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_tmux_lifecycle.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_ui_transition.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_windows_wrapper_contract.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tests/test_yolo_prompt.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tools/denested_transport_benchmark.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tools/release_notes.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/tools/wheel_smoke.py +0 -0
- {railmux-0.4.2.dev13 → railmux-0.4.2.dev16}/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.
|
|
4
|
-
Summary: Terminal UI to navigate, resume, and start Claude Code and
|
|
3
|
+
Version: 0.4.2.dev16
|
|
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
|
|
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` |
|
|
240
|
+
| `m` | Cycle installed, visible agent modes |
|
|
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
|
|
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,15 +313,32 @@ 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
|
|
316
|
+
### Switching agent modes
|
|
317
317
|
|
|
318
|
-
Press `m
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
318
|
+
Press `m` to cycle the installed, visible agent CLIs on the machine running
|
|
319
|
+
Railmux. A single installed CLI opens directly and `m` stays in that mode.
|
|
320
|
+
With Codex and Devin, `m` switches between the two. Use **More → Mode** to
|
|
321
|
+
pick a provider directly. Railmux starts in your last mode if it is still
|
|
322
|
+
available.
|
|
323
|
+
|
|
324
|
+
Each mode remembers its project, filters, sidebar cursor, and scroll position
|
|
325
|
+
when you switch. Other agents keep running. Set agent visibility in
|
|
326
|
+
`railmux config` under **Program paths → Agent visibility**. The Mode menu
|
|
327
|
+
can still show Running sessions for a hidden or unavailable CLI.
|
|
328
|
+
|
|
329
|
+
### Devin preview
|
|
330
|
+
|
|
331
|
+
Install and sign in to Devin CLI on the machine where the agent runs.
|
|
332
|
+
Use Devin CLI 3000.14.30821 or newer. In Railmux, choose **More → Mode → Devin**. Use **+ New project** for a new directory, `n` for a
|
|
333
|
+
new conversation, or `Enter` on an existing session to reopen it. Use **Running**
|
|
334
|
+
to return to a live Devin pane, and keep your usual `/model` and permission
|
|
335
|
+
controls inside Devin.
|
|
336
|
+
|
|
337
|
+
Railmux owns the live pane through tmux, so ordinary detach and SSH reconnect
|
|
338
|
+
preserve it. Devin sessions appear in **Sessions** after the first prompt.
|
|
339
|
+
Use Devin to inspect or delete saved history. Railmux saved-history Preview,
|
|
340
|
+
history deletion, and Ask Railmux are unavailable in this mode. The preview
|
|
341
|
+
runs on POSIX and WSL. Native Windows Devin is unavailable.
|
|
325
342
|
|
|
326
343
|
### Dual-agent layouts
|
|
327
344
|
|
|
@@ -539,6 +556,10 @@ home = "~/.codex"
|
|
|
539
556
|
# New Codex launches: "always", "ask", or "never" (default: "ask")
|
|
540
557
|
auto_run = "ask"
|
|
541
558
|
|
|
559
|
+
[devin]
|
|
560
|
+
# Command name or path to the Devin CLI (default: "devin")
|
|
561
|
+
binary = "devin"
|
|
562
|
+
|
|
542
563
|
[environment]
|
|
543
564
|
# "inherit", or an installed UTF-8 locale such as C.UTF-8 / en_US.UTF-8
|
|
544
565
|
locale = "inherit"
|
|
@@ -563,6 +584,10 @@ poll_interval_ms = 1000
|
|
|
563
584
|
# Set "nested" only when troubleshooting an unusual tmux environment.
|
|
564
585
|
agent_transport = "swap" # or "nested"
|
|
565
586
|
|
|
587
|
+
[providers]
|
|
588
|
+
# Optional providers to skip in the mode cycle
|
|
589
|
+
hidden = []
|
|
590
|
+
|
|
566
591
|
[interaction]
|
|
567
592
|
# Clicked paths in native Windows and railmux ssh: "ask", "internal", or "external"
|
|
568
593
|
path_open = "ask"
|
|
@@ -572,6 +597,8 @@ history_lines = 10000
|
|
|
572
597
|
claude_history = "ask"
|
|
573
598
|
# Codex history on managed displays: "native" (default) or "local"
|
|
574
599
|
codex_history = "native"
|
|
600
|
+
# Devin history in railmux ssh: "local" (default) or "native"
|
|
601
|
+
devin_history = "local"
|
|
575
602
|
```
|
|
576
603
|
|
|
577
604
|
Most users should leave `agent_transport` unchanged. Railmux automatically
|
|
@@ -582,14 +609,20 @@ This is Railmux's only user settings file. Manual edits, `railmux config`, and
|
|
|
582
609
|
the in-app Options screen share the same authority and preserve comments,
|
|
583
610
|
formatting, order, and unknown keys. `interaction.history_lines` belongs to
|
|
584
611
|
the display client: the native Windows machine for local Railmux, or the
|
|
585
|
-
machine that starts `railmux ssh`.
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
keeps
|
|
592
|
-
|
|
612
|
+
machine that starts `railmux ssh`. The per-agent history settings belong to
|
|
613
|
+
the machine running the agent. Change them in **Options** (`o`) or
|
|
614
|
+
`railmux config` → **Behavior / Options**. Managed displays adopt the changes
|
|
615
|
+
on their next history refresh.
|
|
616
|
+
|
|
617
|
+
- **Codex** defaults to `native`. Choose `local` for Railmux-managed scrolling.
|
|
618
|
+
When tmux has scrollback, Railmux keeps the original terminal styling. When
|
|
619
|
+
Codex uses the alternate screen without tmux scrollback, Railmux renders
|
|
620
|
+
earlier turns from the Codex session file and keeps live viewport colors.
|
|
621
|
+
- **Devin** defaults to `local` in `railmux ssh`, using Devin's styled tmux
|
|
622
|
+
scrollback. Select `native` to send scroll input through tmux to Devin's
|
|
623
|
+
terminal. Direct POSIX and WSL attaches use tmux and provider scrolling.
|
|
624
|
+
|
|
625
|
+
The released `ssh.history_lines`, `ssh.claude_history`, and `ssh.path_open`
|
|
593
626
|
spellings are still read during upgrade, while new writes use `[interaction]`.
|
|
594
627
|
The shared `interaction.path_open` preference controls recognized paths in
|
|
595
628
|
native Windows and `railmux ssh`. Current interactive preferences are also
|
|
@@ -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
|
|
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` |
|
|
197
|
+
| `m` | Cycle installed, visible agent modes |
|
|
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
|
|
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,15 +270,32 @@ 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
|
|
273
|
+
### Switching agent modes
|
|
274
274
|
|
|
275
|
-
Press `m
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
275
|
+
Press `m` to cycle the installed, visible agent CLIs on the machine running
|
|
276
|
+
Railmux. A single installed CLI opens directly and `m` stays in that mode.
|
|
277
|
+
With Codex and Devin, `m` switches between the two. Use **More → Mode** to
|
|
278
|
+
pick a provider directly. Railmux starts in your last mode if it is still
|
|
279
|
+
available.
|
|
280
|
+
|
|
281
|
+
Each mode remembers its project, filters, sidebar cursor, and scroll position
|
|
282
|
+
when you switch. Other agents keep running. Set agent visibility in
|
|
283
|
+
`railmux config` under **Program paths → Agent visibility**. The Mode menu
|
|
284
|
+
can still show Running sessions for a hidden or unavailable CLI.
|
|
285
|
+
|
|
286
|
+
### Devin preview
|
|
287
|
+
|
|
288
|
+
Install and sign in to Devin CLI on the machine where the agent runs.
|
|
289
|
+
Use Devin CLI 3000.14.30821 or newer. In Railmux, choose **More → Mode → Devin**. Use **+ New project** for a new directory, `n` for a
|
|
290
|
+
new conversation, or `Enter` on an existing session to reopen it. Use **Running**
|
|
291
|
+
to return to a live Devin pane, and keep your usual `/model` and permission
|
|
292
|
+
controls inside Devin.
|
|
293
|
+
|
|
294
|
+
Railmux owns the live pane through tmux, so ordinary detach and SSH reconnect
|
|
295
|
+
preserve it. Devin sessions appear in **Sessions** after the first prompt.
|
|
296
|
+
Use Devin to inspect or delete saved history. Railmux saved-history Preview,
|
|
297
|
+
history deletion, and Ask Railmux are unavailable in this mode. The preview
|
|
298
|
+
runs on POSIX and WSL. Native Windows Devin is unavailable.
|
|
282
299
|
|
|
283
300
|
### Dual-agent layouts
|
|
284
301
|
|
|
@@ -496,6 +513,10 @@ home = "~/.codex"
|
|
|
496
513
|
# New Codex launches: "always", "ask", or "never" (default: "ask")
|
|
497
514
|
auto_run = "ask"
|
|
498
515
|
|
|
516
|
+
[devin]
|
|
517
|
+
# Command name or path to the Devin CLI (default: "devin")
|
|
518
|
+
binary = "devin"
|
|
519
|
+
|
|
499
520
|
[environment]
|
|
500
521
|
# "inherit", or an installed UTF-8 locale such as C.UTF-8 / en_US.UTF-8
|
|
501
522
|
locale = "inherit"
|
|
@@ -520,6 +541,10 @@ poll_interval_ms = 1000
|
|
|
520
541
|
# Set "nested" only when troubleshooting an unusual tmux environment.
|
|
521
542
|
agent_transport = "swap" # or "nested"
|
|
522
543
|
|
|
544
|
+
[providers]
|
|
545
|
+
# Optional providers to skip in the mode cycle
|
|
546
|
+
hidden = []
|
|
547
|
+
|
|
523
548
|
[interaction]
|
|
524
549
|
# Clicked paths in native Windows and railmux ssh: "ask", "internal", or "external"
|
|
525
550
|
path_open = "ask"
|
|
@@ -529,6 +554,8 @@ history_lines = 10000
|
|
|
529
554
|
claude_history = "ask"
|
|
530
555
|
# Codex history on managed displays: "native" (default) or "local"
|
|
531
556
|
codex_history = "native"
|
|
557
|
+
# Devin history in railmux ssh: "local" (default) or "native"
|
|
558
|
+
devin_history = "local"
|
|
532
559
|
```
|
|
533
560
|
|
|
534
561
|
Most users should leave `agent_transport` unchanged. Railmux automatically
|
|
@@ -539,14 +566,20 @@ This is Railmux's only user settings file. Manual edits, `railmux config`, and
|
|
|
539
566
|
the in-app Options screen share the same authority and preserve comments,
|
|
540
567
|
formatting, order, and unknown keys. `interaction.history_lines` belongs to
|
|
541
568
|
the display client: the native Windows machine for local Railmux, or the
|
|
542
|
-
machine that starts `railmux ssh`.
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
keeps
|
|
549
|
-
|
|
569
|
+
machine that starts `railmux ssh`. The per-agent history settings belong to
|
|
570
|
+
the machine running the agent. Change them in **Options** (`o`) or
|
|
571
|
+
`railmux config` → **Behavior / Options**. Managed displays adopt the changes
|
|
572
|
+
on their next history refresh.
|
|
573
|
+
|
|
574
|
+
- **Codex** defaults to `native`. Choose `local` for Railmux-managed scrolling.
|
|
575
|
+
When tmux has scrollback, Railmux keeps the original terminal styling. When
|
|
576
|
+
Codex uses the alternate screen without tmux scrollback, Railmux renders
|
|
577
|
+
earlier turns from the Codex session file and keeps live viewport colors.
|
|
578
|
+
- **Devin** defaults to `local` in `railmux ssh`, using Devin's styled tmux
|
|
579
|
+
scrollback. Select `native` to send scroll input through tmux to Devin's
|
|
580
|
+
terminal. Direct POSIX and WSL attaches use tmux and provider scrolling.
|
|
581
|
+
|
|
582
|
+
The released `ssh.history_lines`, `ssh.claude_history`, and `ssh.path_open`
|
|
550
583
|
spellings are still read during upgrade, while new writes use `[interaction]`.
|
|
551
584
|
The shared `interaction.path_open` preference controls recognized paths in
|
|
552
585
|
native Windows and `railmux ssh`. Current interactive preferences are also
|
|
@@ -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
|
|
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.dev16"
|
|
@@ -12,7 +12,7 @@ from railmux.codex_index import (
|
|
|
12
12
|
CodexIndex,
|
|
13
13
|
ScanReport,
|
|
14
14
|
_lineage_members,
|
|
15
|
-
|
|
15
|
+
_path_key,
|
|
16
16
|
persistent_cache_path,
|
|
17
17
|
)
|
|
18
18
|
from railmux.models import SessionMeta
|
|
@@ -22,6 +22,47 @@ from railmux.renames import Renames
|
|
|
22
22
|
_MAX_WARNING = 180
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
@dataclass(frozen=True)
|
|
26
|
+
class _SessionView:
|
|
27
|
+
by_id: Mapping[str, SessionMeta]
|
|
28
|
+
lineages: Mapping[str, tuple[SessionMeta, ...]]
|
|
29
|
+
projects: Mapping[Path, tuple[SessionMeta, ...]]
|
|
30
|
+
resolved_paths: Mapping[Path, Path]
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
def build(
|
|
34
|
+
cls,
|
|
35
|
+
sessions: tuple[SessionMeta, ...],
|
|
36
|
+
resolved_paths: Mapping[Path, Path] | None = None,
|
|
37
|
+
) -> _SessionView:
|
|
38
|
+
if resolved_paths is None:
|
|
39
|
+
resolved_paths = MappingProxyType({
|
|
40
|
+
path: _path_key(path)
|
|
41
|
+
for path in {meta.project.real_path for meta in sessions}
|
|
42
|
+
})
|
|
43
|
+
lineages = _lineage_members(sessions, path_key=resolved_paths.__getitem__)
|
|
44
|
+
projects: dict[Path, list[SessionMeta]] = {}
|
|
45
|
+
by_id = {meta.session_id: meta for meta in sessions}
|
|
46
|
+
for session_id, members in lineages.items():
|
|
47
|
+
newest = members[0]
|
|
48
|
+
if session_id == newest.session_id:
|
|
49
|
+
cwd = resolved_paths[newest.project.real_path]
|
|
50
|
+
projects.setdefault(cwd, []).append(newest)
|
|
51
|
+
return cls(
|
|
52
|
+
MappingProxyType(by_id),
|
|
53
|
+
MappingProxyType(lineages),
|
|
54
|
+
MappingProxyType({
|
|
55
|
+
cwd: tuple(sorted(
|
|
56
|
+
records,
|
|
57
|
+
key=lambda meta: (meta.last_mtime, str(meta.jsonl_path), meta.session_id),
|
|
58
|
+
reverse=True,
|
|
59
|
+
))
|
|
60
|
+
for cwd, records in projects.items()
|
|
61
|
+
}),
|
|
62
|
+
resolved_paths,
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
25
66
|
@dataclass(frozen=True)
|
|
26
67
|
class IndexSnapshot:
|
|
27
68
|
"""One atomically published, immutable index generation."""
|
|
@@ -31,6 +72,7 @@ class IndexSnapshot:
|
|
|
31
72
|
published_at: float
|
|
32
73
|
report: ScanReport | None
|
|
33
74
|
hidden_statuses: Mapping[str, str]
|
|
75
|
+
view: _SessionView
|
|
34
76
|
|
|
35
77
|
|
|
36
78
|
class BackgroundCodexIndex:
|
|
@@ -63,7 +105,7 @@ class BackgroundCodexIndex:
|
|
|
63
105
|
self._condition = threading.Condition()
|
|
64
106
|
self._reader = threading.local()
|
|
65
107
|
self._snapshot = IndexSnapshot(
|
|
66
|
-
0, (), 0.0, None, MappingProxyType({}))
|
|
108
|
+
0, (), 0.0, None, MappingProxyType({}), _SessionView.build(()))
|
|
67
109
|
self._requested = False
|
|
68
110
|
self._force_requested = False
|
|
69
111
|
self._invalidate_requested = False
|
|
@@ -194,27 +236,21 @@ class BackgroundCodexIndex:
|
|
|
194
236
|
def all_cwds(self, *, refresh: bool = True) -> dict[Path, int]:
|
|
195
237
|
if refresh:
|
|
196
238
|
self.refresh()
|
|
197
|
-
|
|
198
|
-
for meta in _lineage_representatives(self._visible_sessions()):
|
|
199
|
-
cwd = meta.project.real_path
|
|
200
|
-
counts[cwd] = counts.get(cwd, 0) + 1
|
|
201
|
-
return counts
|
|
239
|
+
return {cwd: len(rows) for cwd, rows in self._visible_view().projects.items()}
|
|
202
240
|
|
|
203
241
|
def sessions_for_cwd(
|
|
204
242
|
self, cwd: Path, *, refresh: bool = True,
|
|
205
243
|
) -> list[SessionMeta]:
|
|
206
244
|
if refresh:
|
|
207
245
|
self.refresh()
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
246
|
+
view = self._visible_view()
|
|
247
|
+
target = view.resolved_paths.get(cwd, cwd)
|
|
248
|
+
if target not in view.projects:
|
|
249
|
+
target = _path_key(cwd)
|
|
250
|
+
return [
|
|
251
|
+
self._with_override(meta, view.lineages[meta.session_id])
|
|
252
|
+
for meta in view.projects.get(target, ())
|
|
215
253
|
]
|
|
216
|
-
results.sort(key=lambda meta: meta.last_mtime, reverse=True)
|
|
217
|
-
return results
|
|
218
254
|
|
|
219
255
|
def lineage_ids(
|
|
220
256
|
self, session_id: str, *, refresh: bool = True,
|
|
@@ -222,8 +258,7 @@ class BackgroundCodexIndex:
|
|
|
222
258
|
"""UUID aliases belonging to *session_id*'s logical conversation."""
|
|
223
259
|
if refresh:
|
|
224
260
|
self.refresh()
|
|
225
|
-
members =
|
|
226
|
-
self._visible_sessions()).get(session_id, ())
|
|
261
|
+
members = self._visible_view().lineages.get(session_id, ())
|
|
227
262
|
return frozenset(meta.session_id for meta in members)
|
|
228
263
|
|
|
229
264
|
def representative_for(
|
|
@@ -232,8 +267,7 @@ class BackgroundCodexIndex:
|
|
|
232
267
|
"""Newest UI representative for the lineage containing *session_id*."""
|
|
233
268
|
if refresh:
|
|
234
269
|
self.refresh()
|
|
235
|
-
|
|
236
|
-
members = _lineage_members(visible).get(session_id)
|
|
270
|
+
members = self._visible_view().lineages.get(session_id)
|
|
237
271
|
if not members:
|
|
238
272
|
return None
|
|
239
273
|
return self._with_override(members[0], members)
|
|
@@ -241,10 +275,8 @@ class BackgroundCodexIndex:
|
|
|
241
275
|
def get(self, session_id: str, *, refresh: bool = True) -> SessionMeta | None:
|
|
242
276
|
if refresh:
|
|
243
277
|
self.refresh()
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
return self._with_override(meta)
|
|
247
|
-
return None
|
|
278
|
+
meta = self._visible_view().by_id.get(session_id)
|
|
279
|
+
return self._with_override(meta) if meta is not None else None
|
|
248
280
|
|
|
249
281
|
def hidden_status(
|
|
250
282
|
self, session_id: str, *, refresh: bool = True,
|
|
@@ -263,7 +295,7 @@ class BackgroundCodexIndex:
|
|
|
263
295
|
self._thread.join(max(0.0, timeout_s))
|
|
264
296
|
return not self._thread.is_alive()
|
|
265
297
|
|
|
266
|
-
def
|
|
298
|
+
def _visible_view(self) -> _SessionView:
|
|
267
299
|
pinned = getattr(self._reader, "view", None)
|
|
268
300
|
if pinned is None:
|
|
269
301
|
with self._condition:
|
|
@@ -272,11 +304,16 @@ class BackgroundCodexIndex:
|
|
|
272
304
|
else:
|
|
273
305
|
snapshot, tombstones = pinned
|
|
274
306
|
if not tombstones:
|
|
275
|
-
return snapshot.
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
307
|
+
return snapshot.view
|
|
308
|
+
cached = getattr(self._reader, "tombstone_view", None)
|
|
309
|
+
if cached is not None and cached[:2] == (snapshot.generation, tombstones):
|
|
310
|
+
return cached[2]
|
|
311
|
+
view = _SessionView.build(
|
|
312
|
+
tuple(meta for meta in snapshot.sessions if meta.session_id not in tombstones),
|
|
313
|
+
snapshot.view.resolved_paths,
|
|
279
314
|
)
|
|
315
|
+
self._reader.tombstone_view = (snapshot.generation, tombstones, view)
|
|
316
|
+
return view
|
|
280
317
|
|
|
281
318
|
def _with_override(
|
|
282
319
|
self,
|
|
@@ -291,13 +328,6 @@ class BackgroundCodexIndex:
|
|
|
291
328
|
return replace(meta, title=title)
|
|
292
329
|
return meta
|
|
293
330
|
|
|
294
|
-
@staticmethod
|
|
295
|
-
def _path_key(path: Path) -> Path:
|
|
296
|
-
try:
|
|
297
|
-
return path.resolve()
|
|
298
|
-
except OSError:
|
|
299
|
-
return path
|
|
300
|
-
|
|
301
331
|
def _run(self) -> None:
|
|
302
332
|
while True:
|
|
303
333
|
with self._condition:
|
|
@@ -331,6 +361,7 @@ class BackgroundCodexIndex:
|
|
|
331
361
|
self._scanner.invalidate()
|
|
332
362
|
report = self._scanner.refresh()
|
|
333
363
|
sessions = self._scanner.snapshot()
|
|
364
|
+
view = _SessionView.build(sessions)
|
|
334
365
|
hidden_statuses = getattr(
|
|
335
366
|
self._scanner, "hidden_statuses", lambda: {})()
|
|
336
367
|
error: str | None = None
|
|
@@ -367,6 +398,7 @@ class BackgroundCodexIndex:
|
|
|
367
398
|
report=report,
|
|
368
399
|
hidden_statuses=MappingProxyType(
|
|
369
400
|
dict(hidden_statuses)),
|
|
401
|
+
view=view,
|
|
370
402
|
)
|
|
371
403
|
live_ids = {meta.session_id for meta in sessions}
|
|
372
404
|
self._tombstones.intersection_update(live_ids)
|
|
@@ -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
|
|
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"
|
|
@@ -17,6 +17,7 @@ import stat
|
|
|
17
17
|
import time
|
|
18
18
|
from dataclasses import dataclass, replace
|
|
19
19
|
from pathlib import Path
|
|
20
|
+
from typing import Callable
|
|
20
21
|
|
|
21
22
|
from railmux.atomic_file import atomic_write_text
|
|
22
23
|
from railmux.models import (
|
|
@@ -310,6 +311,8 @@ def _path_key(path: Path) -> Path:
|
|
|
310
311
|
|
|
311
312
|
def _lineage_members(
|
|
312
313
|
sessions: tuple[SessionMeta, ...] | list[SessionMeta],
|
|
314
|
+
*,
|
|
315
|
+
path_key: Callable[[Path], Path] = _path_key,
|
|
313
316
|
) -> dict[str, tuple[SessionMeta, ...]]:
|
|
314
317
|
"""Map every Codex UUID to its same-project fork lineage.
|
|
315
318
|
|
|
@@ -349,8 +352,8 @@ def _lineage_members(
|
|
|
349
352
|
parent_id = meta.forked_from_id
|
|
350
353
|
ancestor = by_id.get(parent_id) if parent_id else None
|
|
351
354
|
if (ancestor is not None
|
|
352
|
-
and
|
|
353
|
-
==
|
|
355
|
+
and path_key(ancestor.project.real_path)
|
|
356
|
+
== path_key(meta.project.real_path)):
|
|
354
357
|
union(meta.session_id, ancestor.session_id)
|
|
355
358
|
|
|
356
359
|
grouped: dict[str, list[SessionMeta]] = {}
|
|
@@ -1328,7 +1331,7 @@ def _is_codex_synthetic_message(text: str) -> bool:
|
|
|
1328
1331
|
def _safe_encoded_name(cwd: Path) -> str:
|
|
1329
1332
|
"""Stable encoded name for a cwd — used as a synthetic Project key."""
|
|
1330
1333
|
# Use a simple scheme: replace separators and special chars with hyphens.
|
|
1331
|
-
s = str(cwd
|
|
1334
|
+
s = str(cwd)
|
|
1332
1335
|
out = "".join(c if c.isalnum() or c in "/." else "-" for c in s)
|
|
1333
1336
|
# Prefix with "-" so it doesn't collide with Claude's path-encoded names
|
|
1334
1337
|
# (which also start with "-").
|
|
@@ -18,6 +18,7 @@ from railmux.setting_contracts import (
|
|
|
18
18
|
bounds_for,
|
|
19
19
|
choices_for,
|
|
20
20
|
)
|
|
21
|
+
from railmux.modes import DEFAULT_MODE_REGISTRY
|
|
21
22
|
from railmux.provider_paths import provider_path
|
|
22
23
|
|
|
23
24
|
|
|
@@ -30,6 +31,7 @@ class Config:
|
|
|
30
31
|
tmux_binary: str = "tmux"
|
|
31
32
|
claude_binary: str = "claude"
|
|
32
33
|
codex_binary: str = "codex"
|
|
34
|
+
devin_binary: str = "devin"
|
|
33
35
|
locale: str = "inherit"
|
|
34
36
|
codex_home: str = "~/.codex"
|
|
35
37
|
poll_interval_ms: int = 1000
|
|
@@ -39,6 +41,8 @@ class Config:
|
|
|
39
41
|
claude_history: str = "ask"
|
|
40
42
|
codex_history: str = "native"
|
|
41
43
|
interaction_path_open: str = "ask"
|
|
44
|
+
devin_history: str = "local"
|
|
45
|
+
hidden_modes: tuple[str, ...] = ()
|
|
42
46
|
|
|
43
47
|
@property
|
|
44
48
|
def ssh_history_lines(self) -> int:
|
|
@@ -137,11 +141,19 @@ def load_config(config_path: Path | None = None) -> Config:
|
|
|
137
141
|
tmux = _table(data, "tmux")
|
|
138
142
|
claude = _table(data, "claude")
|
|
139
143
|
codex = _table(data, "codex")
|
|
144
|
+
devin = _table(data, "devin")
|
|
140
145
|
environment = _table(data, "environment")
|
|
141
146
|
live = _table(data, "live")
|
|
142
147
|
projects = _table(data, "projects")
|
|
143
148
|
ssh = _table(data, "ssh")
|
|
144
149
|
interaction = _table(data, "interaction")
|
|
150
|
+
providers = _table(data, "providers")
|
|
151
|
+
hidden_modes = providers.get("hidden", [])
|
|
152
|
+
mode_keys = tuple(mode.key for mode in DEFAULT_MODE_REGISTRY.modes)
|
|
153
|
+
if not isinstance(hidden_modes, list) or any(
|
|
154
|
+
key not in mode_keys for key in hidden_modes
|
|
155
|
+
):
|
|
156
|
+
raise ConfigError('providers.hidden must be a list of Claude, Codex, or Devin mode keys')
|
|
145
157
|
|
|
146
158
|
poll_value = live.get("poll_interval_ms", 1000)
|
|
147
159
|
if isinstance(poll_value, bool):
|
|
@@ -203,6 +215,13 @@ def load_config(config_path: Path | None = None) -> Config:
|
|
|
203
215
|
):
|
|
204
216
|
raise ConfigError(
|
|
205
217
|
'interaction.codex_history must be "local" or "native"')
|
|
218
|
+
devin_history = interaction.get("devin_history", "local")
|
|
219
|
+
if (
|
|
220
|
+
not isinstance(devin_history, str)
|
|
221
|
+
or devin_history not in choices_for("interaction.devin_history")
|
|
222
|
+
):
|
|
223
|
+
raise ConfigError(
|
|
224
|
+
'interaction.devin_history must be "local" or "native"')
|
|
206
225
|
# The transport-neutral key wins. The released SSH-only spelling remains
|
|
207
226
|
# a read alias so an upgrade never silently forgets the user's choice.
|
|
208
227
|
canonical_path_open = "path_open" in interaction
|
|
@@ -219,6 +238,7 @@ def load_config(config_path: Path | None = None) -> Config:
|
|
|
219
238
|
claude_binary=_command(
|
|
220
239
|
claude, "binary", "claude", "claude.binary"),
|
|
221
240
|
codex_binary=_command(codex, "binary", "codex", "codex.binary"),
|
|
241
|
+
devin_binary=_command(devin, "binary", "devin", "devin.binary"),
|
|
222
242
|
locale=_locale(environment),
|
|
223
243
|
codex_home=_string(codex, "home", "~/.codex", "codex.home"),
|
|
224
244
|
poll_interval_ms=poll_interval_ms,
|
|
@@ -228,4 +248,6 @@ def load_config(config_path: Path | None = None) -> Config:
|
|
|
228
248
|
claude_history=claude_history,
|
|
229
249
|
codex_history=codex_history,
|
|
230
250
|
interaction_path_open=path_open,
|
|
251
|
+
devin_history=devin_history,
|
|
252
|
+
hidden_modes=tuple(key for key in mode_keys if key in hidden_modes),
|
|
231
253
|
)
|