railmux 0.4.2.dev10__tar.gz → 0.4.2.dev12__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 (208) hide show
  1. {railmux-0.4.2.dev10/src/railmux.egg-info → railmux-0.4.2.dev12}/PKG-INFO +1 -1
  2. railmux-0.4.2.dev12/src/railmux/__init__.py +1 -0
  3. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/discovery.py +10 -2
  4. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/fast_display_server.py +12 -1
  5. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/path_codec.py +15 -3
  6. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/transcript.py +31 -5
  7. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12/src/railmux.egg-info}/PKG-INFO +1 -1
  8. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_fast_display_server.py +43 -0
  9. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_path_codec.py +14 -0
  10. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_transcript.py +35 -0
  11. railmux-0.4.2.dev10/src/railmux/__init__.py +0 -1
  12. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/LICENSE +0 -0
  13. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/MANIFEST.in +0 -0
  14. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/README.md +0 -0
  15. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/pyproject.toml +0 -0
  16. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/setup.cfg +0 -0
  17. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/__main__.py +0 -0
  18. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/atomic_file.py +0 -0
  19. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/background_index.py +0 -0
  20. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/cli.py +0 -0
  21. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/codex_index.py +0 -0
  22. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/config.py +0 -0
  23. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/config_cli.py +0 -0
  24. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/diagnostic_contract.py +0 -0
  25. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/diagnostics.py +0 -0
  26. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/display_transport.py +0 -0
  27. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/entrypoint.py +0 -0
  28. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/fast_display_client.py +0 -0
  29. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/fast_display_history.py +0 -0
  30. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/fast_display_input.py +0 -0
  31. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/fast_display_protocol.py +0 -0
  32. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/favorites.py +0 -0
  33. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/fuzzy.py +0 -0
  34. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/help_workspace.py +0 -0
  35. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/image_paste.py +0 -0
  36. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/launcher.py +0 -0
  37. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/legacy_sessions.py +0 -0
  38. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/local_clipboard.py +0 -0
  39. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/local_open.py +0 -0
  40. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/models.py +0 -0
  41. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/modes.py +0 -0
  42. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/mouse_manager.py +0 -0
  43. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/orphan_marker.py +0 -0
  44. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/pane_surface.py +0 -0
  45. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/preview_pager.py +0 -0
  46. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/project_favorites.py +0 -0
  47. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/provider_paths.py +0 -0
  48. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/release_version.py +0 -0
  49. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/remote_config.py +0 -0
  50. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/renames.py +0 -0
  51. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/restart_state.py +0 -0
  52. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/runtime_config.py +0 -0
  53. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/scroll_agent.py +0 -0
  54. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/scroll_manager.py +0 -0
  55. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/selection_isolation.py +0 -0
  56. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/self_update.py +0 -0
  57. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/session_cache.py +0 -0
  58. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/session_index.py +0 -0
  59. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/session_lease.py +0 -0
  60. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/setting_contracts.py +0 -0
  61. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/settings.py +0 -0
  62. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ssh_args.py +0 -0
  63. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ssh_compat.py +0 -0
  64. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ssh_display_diagnostics.py +0 -0
  65. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ssh_doctor.py +0 -0
  66. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ssh_preflight.py +0 -0
  67. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/system_deps.py +0 -0
  68. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/terminal_screen.py +0 -0
  69. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/terminal_status.py +0 -0
  70. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/tmux_binding_manager.py +0 -0
  71. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/tmux_capabilities.py +0 -0
  72. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/tmux_ctl.py +0 -0
  73. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/tmux_health.py +0 -0
  74. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/tmux_server.py +0 -0
  75. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/tool_panes.py +0 -0
  76. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/__init__.py +0 -0
  77. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/_widgets.py +0 -0
  78. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/app.py +0 -0
  79. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/keymap.py +0 -0
  80. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/modals.py +0 -0
  81. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/projects_pane.py +0 -0
  82. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/running_pane.py +0 -0
  83. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/sessions_pane.py +0 -0
  84. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/sidebar.py +0 -0
  85. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/statusbar.py +0 -0
  86. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/ui/workspace.py +0 -0
  87. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/windows_attach_relay.py +0 -0
  88. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/windows_bootstrap.py +0 -0
  89. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/windows_install_log.py +0 -0
  90. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/windows_msys2.py +0 -0
  91. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/windows_pacman.py +0 -0
  92. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/windows_paths.py +0 -0
  93. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/windows_tmux_lifecycle.py +0 -0
  94. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux/windows_ui_transition.py +0 -0
  95. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux.egg-info/SOURCES.txt +0 -0
  96. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux.egg-info/dependency_links.txt +0 -0
  97. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux.egg-info/entry_points.txt +0 -0
  98. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux.egg-info/requires.txt +0 -0
  99. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/src/railmux.egg-info/top_level.txt +0 -0
  100. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/app_test_harness.py +0 -0
  101. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_agent_workspace.py +0 -0
  102. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_app_codex_placeholder.py +0 -0
  103. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_app_quit.py +0 -0
  104. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_app_restart_restore.py +0 -0
  105. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_app_running_recovery.py +0 -0
  106. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_atomic_file.py +0 -0
  107. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_background_index.py +0 -0
  108. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_claude_continuation.py +0 -0
  109. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_cli.py +0 -0
  110. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_code_map.py +0 -0
  111. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_codex_delete.py +0 -0
  112. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_codex_index.py +0 -0
  113. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_codex_lineage.py +0 -0
  114. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_codex_transcript.py +0 -0
  115. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_config.py +0 -0
  116. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_config_cli.py +0 -0
  117. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_denested_transport_benchmark.py +0 -0
  118. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_diagnostics.py +0 -0
  119. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_discovery.py +0 -0
  120. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_display_transport.py +0 -0
  121. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_fast_display_bootstrap.py +0 -0
  122. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_fast_display_history.py +0 -0
  123. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_fast_display_protocol.py +0 -0
  124. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_fast_display_selection.py +0 -0
  125. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_fast_display_terminal.py +0 -0
  126. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_focus_highlight.py +0 -0
  127. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_fullscreen_binding.py +0 -0
  128. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_fuzzy.py +0 -0
  129. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_help_agent.py +0 -0
  130. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_help_workspace.py +0 -0
  131. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_history_cleanup.py +0 -0
  132. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_image_paste.py +0 -0
  133. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_keymap.py +0 -0
  134. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_launcher.py +0 -0
  135. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_layout_profile.py +0 -0
  136. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_legacy_sessions.py +0 -0
  137. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_local_clipboard.py +0 -0
  138. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_local_open.py +0 -0
  139. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_modals.py +0 -0
  140. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_mode_selection.py +0 -0
  141. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_modes.py +0 -0
  142. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_mouse_manager.py +0 -0
  143. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_new_project.py +0 -0
  144. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_options.py +0 -0
  145. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_orphan_recovery.py +0 -0
  146. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_pane_surface.py +0 -0
  147. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_preview_pager.py +0 -0
  148. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_project_favorites.py +0 -0
  149. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_projects_pane.py +0 -0
  150. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_provider_paths.py +0 -0
  151. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_release_notes.py +0 -0
  152. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_release_version.py +0 -0
  153. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_release_workflow.py +0 -0
  154. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_remote_config.py +0 -0
  155. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_renames.py +0 -0
  156. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_restart_state.py +0 -0
  157. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_running_pane.py +0 -0
  158. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_running_sort.py +0 -0
  159. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_runtime_config.py +0 -0
  160. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_scroll_agent.py +0 -0
  161. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_scroll_manager.py +0 -0
  162. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_selection_isolation.py +0 -0
  163. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_self_update.py +0 -0
  164. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_session_cache.py +0 -0
  165. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_session_index.py +0 -0
  166. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_session_lease.py +0 -0
  167. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_sessions_pane.py +0 -0
  168. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_setting_contracts.py +0 -0
  169. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_settings.py +0 -0
  170. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_sidebar.py +0 -0
  171. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_ssh_args.py +0 -0
  172. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_ssh_compat.py +0 -0
  173. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_ssh_display_benchmark.py +0 -0
  174. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_ssh_display_diagnostics.py +0 -0
  175. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_ssh_doctor.py +0 -0
  176. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_status.py +0 -0
  177. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_statusbar.py +0 -0
  178. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_system_deps.py +0 -0
  179. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_terminal_size.py +0 -0
  180. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_terminal_status.py +0 -0
  181. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_termux_local_touch.py +0 -0
  182. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_tmux_binding_manager.py +0 -0
  183. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_tmux_capabilities.py +0 -0
  184. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_tmux_ctl.py +0 -0
  185. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_tmux_health.py +0 -0
  186. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_tmux_integration.py +0 -0
  187. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_tmux_server.py +0 -0
  188. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_tmux_status.py +0 -0
  189. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_tool_panes.py +0 -0
  190. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_utf8_state.py +0 -0
  191. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_web_demo_recorder.py +0 -0
  192. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_wheel_smoke.py +0 -0
  193. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_widgets.py +0 -0
  194. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_attach_relay.py +0 -0
  195. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_bootstrap.py +0 -0
  196. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_install_log.py +0 -0
  197. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_msys2.py +0 -0
  198. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_pacman.py +0 -0
  199. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_paths.py +0 -0
  200. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_synchronized_screen.py +0 -0
  201. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_tmux_lifecycle.py +0 -0
  202. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_ui_transition.py +0 -0
  203. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_windows_wrapper_contract.py +0 -0
  204. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tests/test_yolo_prompt.py +0 -0
  205. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tools/denested_transport_benchmark.py +0 -0
  206. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tools/release_notes.py +0 -0
  207. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tools/wheel_smoke.py +0 -0
  208. {railmux-0.4.2.dev10 → railmux-0.4.2.dev12}/tools/windows_archive_smoke.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: railmux
3
- Version: 0.4.2.dev10
3
+ Version: 0.4.2.dev12
4
4
  Summary: Terminal UI to navigate, resume, and start Claude Code and Codex sessions
5
5
  Author-email: Rightglow <zhang.taian@foxmail.com>
6
6
  License-Expression: MIT
@@ -0,0 +1 @@
1
+ __version__ = "0.4.2.dev12"
@@ -189,6 +189,14 @@ def _save_path_cache(cache: dict[str, str]) -> None:
189
189
  pass
190
190
 
191
191
 
192
+ def _is_dir(path: Path) -> bool:
193
+ """``Path.is_dir`` that treats an unreadable parent as a missing path."""
194
+ try:
195
+ return path.is_dir()
196
+ except OSError:
197
+ return False
198
+
199
+
192
200
  def list_projects(claude_home: Path) -> list[Project]:
193
201
  """Return every project directory under <claude_home>/projects/, sorted by recency.
194
202
 
@@ -238,7 +246,7 @@ def list_projects(claude_home: Path) -> list[Project]:
238
246
  # decode() when the cache misses or is stale.
239
247
  real_path: Path | None = None
240
248
  cached = path_cache.get(entry.name)
241
- if cached is not None and Path(cached).is_dir():
249
+ if cached is not None and _is_dir(Path(cached)):
242
250
  real_path = Path(cached)
243
251
  else:
244
252
  try:
@@ -249,7 +257,7 @@ def list_projects(claude_home: Path) -> list[Project]:
249
257
  # this machine (deleted or moved). They can't be launched —
250
258
  # `cd` into a missing dir fails — so don't list them, and drop
251
259
  # any stale cache entry for them.
252
- if decoded is not None and decoded.is_dir():
260
+ if decoded is not None and _is_dir(decoded):
253
261
  real_path = decoded
254
262
  path_cache[entry.name] = str(decoded)
255
263
  else:
@@ -363,6 +363,7 @@ class _TranscriptCacheEntry:
363
363
  more_available: bool
364
364
  total_rows: int = 0
365
365
  timeline_stable: bool = True
366
+ built_at: float = 0.0
366
367
 
367
368
 
368
369
  @dataclass(frozen=True)
@@ -374,6 +375,10 @@ class _TranscriptFormatCacheEntry:
374
375
 
375
376
  _TRANSCRIPT_CACHE: OrderedDict[tuple[str, int], _TranscriptCacheEntry] = OrderedDict()
376
377
  _TRANSCRIPT_CACHE_LIMIT = 4
378
+ # Routing prefetches may reuse rows from a transcript that has since grown,
379
+ # but only briefly: the first wheel tick paints that prefetch, and a reply
380
+ # taller than the screen would otherwise lose its rows above the viewport.
381
+ _TRANSCRIPT_STALE_SECONDS = 2.0
377
382
  _TRANSCRIPT_FORMAT_CACHE: OrderedDict[
378
383
  tuple[str, str, int | None], _TranscriptFormatCacheEntry
379
384
  ] = OrderedDict()
@@ -1718,7 +1723,12 @@ def _transcript_rows(
1718
1723
  key = (str(source.path), width)
1719
1724
  cached = _TRANSCRIPT_CACHE.get(key)
1720
1725
  if cached is not None and (
1721
- cached.identity == identity or (allow_stale and bool(cached.rows))
1726
+ cached.identity == identity
1727
+ or (
1728
+ allow_stale
1729
+ and bool(cached.rows)
1730
+ and time.monotonic() - cached.built_at < _TRANSCRIPT_STALE_SECONDS
1731
+ )
1722
1732
  ):
1723
1733
  _TRANSCRIPT_CACHE.move_to_end(key)
1724
1734
  return cached
@@ -1763,6 +1773,7 @@ def _transcript_rows(
1763
1773
  truncated or dropped,
1764
1774
  total_rows,
1765
1775
  not truncated,
1776
+ time.monotonic(),
1766
1777
  )
1767
1778
  _TRANSCRIPT_CACHE[key] = entry
1768
1779
  _TRANSCRIPT_CACHE.move_to_end(key)
@@ -38,24 +38,36 @@ def normalize_encoded_project_name(name: str) -> str:
38
38
  return f"-{match.group(1).lower()}-{name[3:]}"
39
39
 
40
40
 
41
+ def _probe(check, p: Path) -> bool:
42
+ # A directory another user keeps private (for example a shared /tmp
43
+ # parent with mode 0700) raises instead of answering; it is not ours.
44
+ try:
45
+ return check(p)
46
+ except OSError:
47
+ return False
48
+
49
+
41
50
  def _m_exists(p: Path) -> bool:
42
51
  k = str(p)
43
52
  if k not in _exists_memo:
44
- _exists_memo[k] = p.exists()
53
+ _exists_memo[k] = _probe(Path.exists, p)
45
54
  return _exists_memo[k]
46
55
 
47
56
 
48
57
  def _m_is_dir(p: Path) -> bool:
49
58
  k = str(p)
50
59
  if k not in _is_dir_memo:
51
- _is_dir_memo[k] = p.is_dir()
60
+ _is_dir_memo[k] = _probe(Path.is_dir, p)
52
61
  return _is_dir_memo[k]
53
62
 
54
63
 
55
64
  def _m_iterdir(p: Path) -> list[Path]:
56
65
  k = str(p)
57
66
  if k not in _iterdir_memo:
58
- _iterdir_memo[k] = list(p.iterdir())
67
+ try:
68
+ _iterdir_memo[k] = list(p.iterdir())
69
+ except OSError:
70
+ _iterdir_memo[k] = []
59
71
  return _iterdir_memo[k]
60
72
 
61
73
 
@@ -308,7 +308,10 @@ def _wrap_styled(line: str, width: int, hang: int) -> list[str]:
308
308
  row.append(token)
309
309
  column += token_width
310
310
  else:
311
+ # Like wrap-ansi without trimming: after an exactly full row
312
+ # the separator space still takes the next row's first cell.
311
313
  newline()
314
+ column += 1
312
315
  continue
313
316
  capacity = width - hang
314
317
  if column + token_width > width and column > hang:
@@ -775,8 +778,10 @@ def _claude_current_branch(records: list[dict]) -> list[dict]:
775
778
  UUID is the active tip; walking its parents retains the shared prefix and
776
779
  the replacement suffix while excluding abandoned and sub-agent branches.
777
780
 
778
- UUID-less metadata is retained for the normal renderer filters. If the
779
- input is a bounded tail, walking stops safely at the first missing parent.
781
+ A compaction boundary starts a new chain; its ``logicalParentUuid`` leads
782
+ back to the messages before it. UUID-less metadata is retained for the
783
+ normal renderer filters. If the input is a bounded tail, walking stops
784
+ safely at the first missing parent.
780
785
  """
781
786
  by_uuid: dict[str, dict] = {}
782
787
  tip: str | None = None
@@ -798,6 +803,9 @@ def _claude_current_branch(records: list[dict]) -> list[dict]:
798
803
  break
799
804
  current.add(cursor)
800
805
  parent = record.get("parentUuid")
806
+ if not parent and record.get("subtype") == "compact_boundary":
807
+ # A live session keeps showing the messages before a compaction.
808
+ parent = record.get("logicalParentUuid")
801
809
  cursor = parent if isinstance(parent, str) and parent else None
802
810
 
803
811
  return [
@@ -818,7 +826,9 @@ def _render_claude_records(
818
826
  calls: dict[str, str] = {}
819
827
  for record in _claude_current_branch(records):
820
828
  rtype = record.get("type", "")
821
- if rtype in _SKIP_TYPES:
829
+ if rtype in _SKIP_TYPES and not (
830
+ claude_native and record.get("subtype") == "compact_boundary"
831
+ ):
822
832
  continue
823
833
  if not claude_native:
824
834
  if _is_real_user(record):
@@ -830,8 +840,24 @@ def _render_claude_records(
830
840
  elif rtype == "assistant":
831
841
  yield from _render_assistant_blocks(record, calls)
832
842
  continue
833
- # Claude hides meta prompts such as a loaded skill's instructions.
834
- if _is_real_user(record) and record.get("isMeta") is not True:
843
+ if (
844
+ rtype == "system"
845
+ and record.get("subtype") == "compact_boundary"
846
+ ):
847
+ # Claude marks a compaction with one dim line, not the summary.
848
+ yield (
849
+ f"\n{DIM}✻ Conversation compacted"
850
+ f"{RESET}\n"
851
+ )
852
+ continue
853
+ # Claude hides meta prompts such as a loaded skill's instructions,
854
+ # and the compaction summary it only shows in the ctrl+o transcript.
855
+ if (
856
+ _is_real_user(record)
857
+ and record.get("isMeta") is not True
858
+ and record.get("isCompactSummary") is not True
859
+ and record.get("isVisibleInTranscriptOnly") is not True
860
+ ):
835
861
  rendered = _render_claude_native_user(record, width)
836
862
  if rendered:
837
863
  yield rendered
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: railmux
3
- Version: 0.4.2.dev10
3
+ Version: 0.4.2.dev12
4
4
  Summary: Terminal UI to navigate, resume, and start Claude Code and Codex sessions
5
5
  Author-email: Rightglow <zhang.taian@foxmail.com>
6
6
  License-Expression: MIT
@@ -1865,6 +1865,49 @@ def test_transcript_cache_evicts_least_recent_file_width(monkeypatch, tmp_path):
1865
1865
  fast_display_server._TRANSCRIPT_CACHE.clear()
1866
1866
 
1867
1867
 
1868
+ def test_prefetch_reuses_a_grown_transcript_only_briefly(
1869
+ monkeypatch, tmp_path,
1870
+ ):
1871
+ pyte = fast_display_server._extended_pyte(__import__("pyte"))
1872
+ session_id = "47fca075-9cb8-44fb-a314-d57ef2256ada"
1873
+ path = tmp_path / f"{session_id}.jsonl"
1874
+ path.write_text('{"type":"user"}\n')
1875
+ marker = fast_display_server.tmux_server.encode_transcript_source(
1876
+ "claude", session_id, path
1877
+ )
1878
+ assert marker is not None
1879
+ now = [100.0]
1880
+ monkeypatch.setattr(fast_display_server.time, "monotonic", lambda: now[0])
1881
+ monkeypatch.setattr(
1882
+ fast_display_server.transcript_renderer,
1883
+ "format_transcript",
1884
+ lambda stream, *_args, **_kwargs: iter((stream.getvalue(),)),
1885
+ )
1886
+ fast_display_server._TRANSCRIPT_CACHE.clear()
1887
+ fast_display_server._TRANSCRIPT_FORMAT_CACHE.clear()
1888
+ try:
1889
+ first = fast_display_server._transcript_rows(
1890
+ pyte, marker, 40, allow_stale=True
1891
+ )
1892
+ assert first is not None
1893
+ path.write_text('{"type":"user","reply":"new"}\n')
1894
+ now[0] += 1.0
1895
+ assert fast_display_server._transcript_rows(
1896
+ pyte, marker, 40, allow_stale=True
1897
+ ) is first
1898
+ # A new reply must reach the routing prefetch, which the first
1899
+ # wheel tick paints, once the short reuse window has passed.
1900
+ now[0] += 5.0
1901
+ fresh = fast_display_server._transcript_rows(
1902
+ pyte, marker, 40, allow_stale=True
1903
+ )
1904
+ assert fresh is not None and fresh is not first
1905
+ assert b"new" in b"".join(fresh.rows)
1906
+ finally:
1907
+ fast_display_server._TRANSCRIPT_CACHE.clear()
1908
+ fast_display_server._TRANSCRIPT_FORMAT_CACHE.clear()
1909
+
1910
+
1868
1911
  def test_transcript_format_cache_reuses_exact_identity_per_width(
1869
1912
  monkeypatch, tmp_path,
1870
1913
  ):
@@ -54,6 +54,20 @@ def test_decode_nonexistent_splits_every_dash(tmp_path, monkeypatch):
54
54
  assert result == Path("/zzz/foo/bar"), result
55
55
 
56
56
 
57
+ def test_decode_skips_directories_other_users_keep_private(tmp_path):
58
+ # Another user's 0700 /tmp/claude made probing /tmp/claude/<uid> raise
59
+ # while decoding a project in /tmp/claude-<uid>.
60
+ private = tmp_path / "claude"
61
+ private.mkdir()
62
+ real = tmp_path / "claude-49028" / "work"
63
+ real.mkdir(parents=True)
64
+ private.chmod(0)
65
+ try:
66
+ assert decode(encode(real)) == real
67
+ finally:
68
+ private.chmod(0o700)
69
+
70
+
57
71
  def test_decode_with_dashes_in_intermediate_segment(tmp_path):
58
72
  real = tmp_path / "claude-chat" / "src"
59
73
  real.mkdir(parents=True)
@@ -1020,6 +1020,41 @@ def test_claude_native_history_lists_tall_tables_vertically():
1020
1020
  assert all(len(row) <= 60 for row in rows)
1021
1021
 
1022
1022
 
1023
+ def test_claude_native_wrap_counts_the_space_after_a_full_row():
1024
+ # Width 20 leaves 18 cells per body row; "aaa…" fills its row exactly,
1025
+ # so the separator space takes the next row's first cell and the
1026
+ # 15-cell word no longer fits beside "bb".
1027
+ rendered = _native([_assistant(
1028
+ "a" * 18 + " bb " + "c" * 15)], width=20)
1029
+
1030
+ assert _plain_rows(rendered)[1:-1] == [
1031
+ "● " + "a" * 18, " bb", " " + "c" * 15,
1032
+ ]
1033
+
1034
+
1035
+ def test_claude_native_history_crosses_compaction_without_summary():
1036
+ records = [
1037
+ {"type": "user", "uuid": "u1", "parentUuid": None,
1038
+ "message": {"role": "user", "content": "before"}},
1039
+ {"type": "assistant", "uuid": "a1", "parentUuid": "u1",
1040
+ "message": {"role": "assistant",
1041
+ "content": [{"type": "text", "text": "old answer"}]}},
1042
+ {"type": "system", "subtype": "compact_boundary", "uuid": "b1",
1043
+ "parentUuid": None, "logicalParentUuid": "a1",
1044
+ "content": "Conversation compacted"},
1045
+ {"type": "user", "uuid": "s1", "parentUuid": "b1",
1046
+ "isCompactSummary": True, "isVisibleInTranscriptOnly": True,
1047
+ "message": {"role": "user", "content": "This session is being..."}},
1048
+ {"type": "user", "uuid": "u2", "parentUuid": "s1",
1049
+ "message": {"role": "user", "content": "after"}},
1050
+ ]
1051
+ rows = [row for row in _plain_rows(_native(records)) if row]
1052
+
1053
+ assert rows == [
1054
+ "❯ before", "● old answer", "✻ Conversation compacted", "❯ after",
1055
+ ]
1056
+
1057
+
1023
1058
  def test_claude_native_wrap_moves_long_word_when_that_saves_a_break():
1024
1059
  moved = _native([_assistant("intro " + "x" * 36)], width=20)
1025
1060
  kept = _native([_assistant("intro " + "x" * 30)], width=20)
@@ -1 +0,0 @@
1
- __version__ = "0.4.2.dev10"
File without changes
File without changes
File without changes
File without changes