oc-box 1.7.249.dev0__tar.gz → 1.7.313.dev0__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 (366) hide show
  1. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/.github/workflows/ci.yml +17 -1
  2. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/.github/workflows/distros.yml +1 -0
  3. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/.github/workflows/linkedin.yml +2 -2
  4. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/.github/workflows/publish.yml +100 -8
  5. oc_box-1.7.313.dev0/.github/workflows/security-codeql.yml +97 -0
  6. oc_box-1.7.313.dev0/.github/workflows/security.yml +107 -0
  7. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/AGENTS.md +92 -10
  8. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/CONTRIBUTING.md +3 -0
  9. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/MANIFEST.in +1 -1
  10. {oc_box-1.7.249.dev0/src/oc_box.egg-info → oc_box-1.7.313.dev0}/PKG-INFO +6 -1
  11. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/README.md +5 -0
  12. oc_box-1.7.313.dev0/build-info.json +7 -0
  13. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/completions/oc-box +37 -18
  14. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/cli.md +716 -139
  15. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/guides/backups.md +44 -3
  16. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/guides/clients.md +6 -5
  17. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/guides/host-files.md +3 -0
  18. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/host-clipboard-testing.md +30 -1
  19. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/oc-box.1 +274 -63
  20. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/oc-box.info +928 -316
  21. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/oc-box.texi +277 -63
  22. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/plans/README.md +2 -0
  23. oc_box-1.7.313.dev0/docs/plans/trusted-terminal-input.md +41 -0
  24. oc_box-1.7.313.dev0/docs/release-security.md +77 -0
  25. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/releases/1.7.md +86 -5
  26. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/releases/tui-v1.md +33 -0
  27. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/testing.md +217 -7
  28. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/tui.md +140 -45
  29. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/pyproject.toml +1 -0
  30. oc_box-1.7.313.dev0/src/oc_box/activity_log.py +1049 -0
  31. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/attachments.py +24 -4
  32. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/backup_archive.py +11 -3
  33. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/backup_crypto.py +161 -21
  34. oc_box-1.7.313.dev0/src/oc_box/backups.py +1929 -0
  35. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/bootstrap.py +3 -1
  36. oc_box-1.7.313.dev0/src/oc_box/cli_help.py +349 -0
  37. oc_box-1.7.313.dev0/src/oc_box/cli_table.py +129 -0
  38. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/dependencies.py +74 -3
  39. oc_box-1.7.313.dev0/src/oc_box/file_open_formats.py +180 -0
  40. oc_box-1.7.313.dev0/src/oc_box/file_preview.py +317 -0
  41. oc_box-1.7.313.dev0/src/oc_box/file_preview_host.py +750 -0
  42. oc_box-1.7.313.dev0/src/oc_box/file_preview_io.py +403 -0
  43. oc_box-1.7.313.dev0/src/oc_box/file_preview_png.py +377 -0
  44. oc_box-1.7.313.dev0/src/oc_box/file_preview_tui.tsx +226 -0
  45. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/history_reader.py +18 -6
  46. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/history_recovery.py +132 -37
  47. oc_box-1.7.313.dev0/src/oc_box/host_backup_auth.py +670 -0
  48. oc_box-1.7.313.dev0/src/oc_box/host_backup_payload.py +509 -0
  49. oc_box-1.7.313.dev0/src/oc_box/host_backup_restore.py +668 -0
  50. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/host_clipboard.py +13 -5
  51. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/host_drop.py +105 -21
  52. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/host_drop_input.py +297 -27
  53. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/installation.py +15 -0
  54. oc_box-1.7.313.dev0/src/oc_box/journal_output.py +301 -0
  55. oc_box-1.7.313.dev0/src/oc_box/lifecycle_output.py +184 -0
  56. oc_box-1.7.313.dev0/src/oc_box/log_config.py +734 -0
  57. oc_box-1.7.313.dev0/src/oc_box/logs_cli.py +398 -0
  58. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/oc_box.py +889 -282
  59. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/opencode_v2_io.py +34 -3
  60. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/sharing.py +10 -2
  61. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/status_report.py +24 -0
  62. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/terminal_ui.py +78 -0
  63. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui.py +14 -5
  64. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_app.py +834 -91
  65. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_backend.py +41 -5
  66. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_backup_workflow.py +150 -35
  67. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_clipboard.py +49 -9
  68. oc_box-1.7.313.dev0/src/oc_box/tui_logs.py +520 -0
  69. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_management.py +319 -80
  70. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_notifications.py +6 -3
  71. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_operation_io.py +175 -11
  72. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_operations.py +210 -82
  73. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_settings.py +205 -15
  74. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/ui_state.py +3 -0
  75. oc_box-1.7.313.dev0/src/oc_box/ui_state_tui.js +105 -0
  76. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/vault.py +27 -8
  77. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/workspace_identity.py +21 -16
  78. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/workspace_preferences.py +114 -25
  79. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/workspace_service.py +165 -14
  80. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0/src/oc_box.egg-info}/PKG-INFO +6 -1
  81. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/SOURCES.txt +42 -0
  82. oc_box-1.7.313.dev0/tests/smoke_file_preview_v2.py +506 -0
  83. oc_box-1.7.313.dev0/tests/smoke_host_backup_auth_v2.py +86 -0
  84. oc_box-1.7.313.dev0/tests/test_activity_log.py +1454 -0
  85. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_backup_crypto.py +145 -2
  86. oc_box-1.7.313.dev0/tests/test_backup_info_table.py +442 -0
  87. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_backups.py +823 -24
  88. oc_box-1.7.313.dev0/tests/test_cli_help.py +371 -0
  89. oc_box-1.7.313.dev0/tests/test_cli_table.py +61 -0
  90. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_completion.py +69 -0
  91. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_dependencies.py +63 -7
  92. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_documentation.py +31 -1
  93. oc_box-1.7.313.dev0/tests/test_file_open_formats.py +279 -0
  94. oc_box-1.7.313.dev0/tests/test_file_open_relay.py +188 -0
  95. oc_box-1.7.313.dev0/tests/test_file_preview.py +414 -0
  96. oc_box-1.7.313.dev0/tests/test_file_preview_host.py +886 -0
  97. oc_box-1.7.313.dev0/tests/test_file_preview_io.py +351 -0
  98. oc_box-1.7.313.dev0/tests/test_file_preview_png.py +441 -0
  99. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_global_vault_edges_host_fixture.py +37 -20
  100. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_history_exports.py +39 -1
  101. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_history_recovery.py +415 -2
  102. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_history_source_lease.py +7 -0
  103. oc_box-1.7.313.dev0/tests/test_host_backup.py +652 -0
  104. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_host_clipboard.py +251 -3
  105. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_host_clipboard_preferences.py +2 -1
  106. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_host_drop.py +154 -0
  107. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_host_drop_input.py +319 -9
  108. oc_box-1.7.313.dev0/tests/test_journal_output.py +455 -0
  109. oc_box-1.7.313.dev0/tests/test_lifecycle_output.py +568 -0
  110. oc_box-1.7.313.dev0/tests/test_log_config.py +824 -0
  111. oc_box-1.7.313.dev0/tests/test_logs_cli.py +659 -0
  112. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_packaging.py +68 -3
  113. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_release_artifacts.py +66 -1
  114. oc_box-1.7.313.dev0/tests/test_security_scan.py +364 -0
  115. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_session_sync.py +315 -1
  116. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_host_oracles.py +261 -0
  117. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_startup.py +289 -1
  118. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_status.py +54 -0
  119. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_app.py +54 -6
  120. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_backend.py +70 -1
  121. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_backup_integration.py +96 -9
  122. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_backup_workflow.py +118 -3
  123. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_cli.py +9 -7
  124. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_display_performance.py +2 -0
  125. oc_box-1.7.313.dev0/tests/test_tui_host_backup_switches.py +429 -0
  126. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_log_feedback.py +7 -3
  127. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_logs.py +205 -1
  128. oc_box-1.7.313.dev0/tests/test_tui_logs_copy_scope.py +107 -0
  129. oc_box-1.7.313.dev0/tests/test_tui_logs_view.py +743 -0
  130. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_management.py +4 -2
  131. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_management_cards.py +21 -8
  132. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_operation_io.py +206 -1
  133. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_operations.py +443 -49
  134. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_selection.py +13 -0
  135. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_settings.py +291 -13
  136. oc_box-1.7.313.dev0/tests/test_v2_control_pipe.py +59 -0
  137. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_vault.py +29 -0
  138. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_preferences.py +286 -1
  139. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_service.py +63 -12
  140. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/benchmark_tui_display.py +7 -4
  141. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/check_package.py +89 -8
  142. oc_box-1.7.313.dev0/tools/check_security_scan.py +364 -0
  143. oc_box-1.7.313.dev0/tools/release_python_deps.py +47 -0
  144. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/test_sharing_podman.py +128 -11
  145. oc_box-1.7.249.dev0/build-info.json +0 -7
  146. oc_box-1.7.249.dev0/src/oc_box/activity_log.py +0 -372
  147. oc_box-1.7.249.dev0/src/oc_box/backups.py +0 -986
  148. oc_box-1.7.249.dev0/src/oc_box/tui_logs.py +0 -317
  149. oc_box-1.7.249.dev0/src/oc_box/ui_state_tui.js +0 -83
  150. oc_box-1.7.249.dev0/tests/test_activity_log.py +0 -386
  151. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/LICENSE +0 -0
  152. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/NOTICE +0 -0
  153. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/SECURITY.md +0 -0
  154. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/README.md +0 -0
  155. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/readme-hero.png +0 -0
  156. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/README.md +0 -0
  157. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/backups.png +0 -0
  158. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/logs.png +0 -0
  159. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/manifest.json +0 -0
  160. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/sessions.png +0 -0
  161. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/settings.png +0 -0
  162. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/status.png +0 -0
  163. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/storage.png +0 -0
  164. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/terminals.png +0 -0
  165. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/concepts.md +0 -0
  166. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/getting-started.md +0 -0
  167. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/guides/credentials.md +0 -0
  168. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/guides/workspaces.md +0 -0
  169. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/host-plugins.md +0 -0
  170. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/installation.md +0 -0
  171. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/legacy/README.md +0 -0
  172. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/opencode-2.md +0 -0
  173. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/plans/exit-sync-activity-timeout.md +0 -0
  174. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/project-status.md +0 -0
  175. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/release-announcements.md +0 -0
  176. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/releases/README.md +0 -0
  177. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/sharing-handoff.md +0 -0
  178. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/sharing-host-acceptance.md +0 -0
  179. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/ui-state.md +0 -0
  180. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/update-channels.md +0 -0
  181. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/docs/web-shell.md +0 -0
  182. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/install.py +0 -0
  183. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/install.sh +0 -0
  184. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/setup.cfg +0 -0
  185. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/setup.py +0 -0
  186. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/_oc_box_build.py +0 -0
  187. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/__init__.py +0 -0
  188. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/__main__.py +0 -0
  189. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/attachment_io.py +0 -0
  190. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/credentials.py +0 -0
  191. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/host_drop_io.py +0 -0
  192. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/install.py +0 -0
  193. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/native_tabs.py +0 -0
  194. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/opencode_compat.py +0 -0
  195. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/package_updates.py +0 -0
  196. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/paths.py +0 -0
  197. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/plugin_bridge.js +0 -0
  198. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/plugin_compat.py +0 -0
  199. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/private_memory.py +0 -0
  200. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/secret_prompt.py +0 -0
  201. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/session_backups.py +0 -0
  202. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/session_terminal.py +0 -0
  203. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/sync_config.py +0 -0
  204. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_sessions.py +0 -0
  205. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_status.py +0 -0
  206. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_storage.py +0 -0
  207. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_terminal.py +0 -0
  208. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/ui_state_memory.js +0 -0
  209. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/ui_state_rpc.js +0 -0
  210. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/ui_state_server.js +0 -0
  211. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/update_channels.py +0 -0
  212. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/updater.py +0 -0
  213. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/version_info.py +0 -0
  214. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_attachments.js +0 -0
  215. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_attachments.py +0 -0
  216. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_sessions.css +0 -0
  217. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_sessions.js +0 -0
  218. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_sessions.py +0 -0
  219. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box/workspace_control.py +0 -0
  220. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/dependency_links.txt +0 -0
  221. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/entry_points.txt +0 -0
  222. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/requires.txt +0 -0
  223. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/top_level.txt +0 -0
  224. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/copied_plugin_bytes.mjs +0 -0
  225. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/fixture_services.py +0 -0
  226. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/host_sandbox_fixture.mjs +0 -0
  227. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/interrupted_v1_fixture.py +0 -0
  228. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/native_plugin_fixture.mjs +0 -0
  229. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/plugin_bridge_fixture.mjs +0 -0
  230. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_attachments_v2.py +0 -0
  231. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_build_permissions_v2.py +0 -0
  232. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_global_vault.py +0 -0
  233. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_global_vault_host_helpers.py +0 -0
  234. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_history_recovery_v2.py +0 -0
  235. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_history_subagent_recovery_v2.py +0 -0
  236. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_host_drop_v2.py +0 -0
  237. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_host_plugins.py +0 -0
  238. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_image_preview_preferences_v2.py +0 -0
  239. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_mainline.py +0 -0
  240. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_native_host_port.py +0 -0
  241. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_native_preferences_v2.py +0 -0
  242. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_native_tabs_v2.py +0 -0
  243. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_session_backup_transport_v2.py +0 -0
  244. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_session_backups_v2.py +0 -0
  245. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_session_sync_v2.py +0 -0
  246. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_sharing_host_helpers.py +0 -0
  247. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_sharing_v2.py +0 -0
  248. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_tui_v2.py +0 -0
  249. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_ui_state_v2.py +0 -0
  250. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_v2.py +0 -0
  251. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_web_attachments_v2.py +0 -0
  252. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/smoke_web_sessions_v2.py +0 -0
  253. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_attachment_io.py +0 -0
  254. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_attachments.py +0 -0
  255. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_backup_archive.py +0 -0
  256. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_channel_bootstrap.py +0 -0
  257. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_channel_installer.py +0 -0
  258. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_channel_updater.py +0 -0
  259. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_ci_ubuntu_apt.py +0 -0
  260. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_global_vault.py +0 -0
  261. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_global_vault_host_fixture.py +0 -0
  262. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_global_vault_launch.py +0 -0
  263. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_history_reader.py +0 -0
  264. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_home_ownership_host_fixture.py +0 -0
  265. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_host_drop_io.py +0 -0
  266. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_host_drop_preferences.py +0 -0
  267. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_host_plugin_migration.py +0 -0
  268. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_image_preview.py +0 -0
  269. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_interactive_host_fixture.py +0 -0
  270. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_interactive_host_service_port.py +0 -0
  271. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_native_host_port.py +0 -0
  272. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_native_recovery_process.py +0 -0
  273. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_native_tab_routing.py +0 -0
  274. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_native_tabs.py +0 -0
  275. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_oc_box.py +0 -0
  276. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_opencode_compat.py +0 -0
  277. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_package_updates.py +0 -0
  278. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_plugin_compat.py +0 -0
  279. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_podman_options.py +0 -0
  280. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_private_memory.py +0 -0
  281. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_private_output.py +0 -0
  282. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_process_io.py +0 -0
  283. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_release_announcement_workflows.py +0 -0
  284. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_release_announcements.py +0 -0
  285. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_release_card.py +0 -0
  286. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_release_channels.py +0 -0
  287. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_secret_prompt.py +0 -0
  288. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_session_backups.py +0 -0
  289. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_session_import.py +0 -0
  290. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_session_sync_host_fixture.py +0 -0
  291. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_session_terminal.py +0 -0
  292. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing.py +0 -0
  293. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_archive_scan.py +0 -0
  294. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_backup_diagnostic.py +0 -0
  295. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_backup_probe.py +0 -0
  296. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_fixture_provider.py +0 -0
  297. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_host_fixture.py +0 -0
  298. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_owner_control.py +0 -0
  299. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_pax_metadata.py +0 -0
  300. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_pax_reason.py +0 -0
  301. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_session_payload.py +0 -0
  302. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_transport.py +0 -0
  303. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_src_layout.py +0 -0
  304. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_stale_workspaces.py +0 -0
  305. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_sync_config_preferences.py +0 -0
  306. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_terminal.py +0 -0
  307. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_card_layout.py +0 -0
  308. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_card_metrics.py +0 -0
  309. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_clipboard.py +0 -0
  310. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_clipboard_privacy.py +0 -0
  311. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_delete_notifications.py +0 -0
  312. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_global_interactions.py +0 -0
  313. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_input_controls.py +0 -0
  314. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_installation.py +0 -0
  315. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_loading.py +0 -0
  316. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_notifications.py +0 -0
  317. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_operation_results.py +0 -0
  318. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_sessions.py +0 -0
  319. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_status.py +0 -0
  320. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_storage.py +0 -0
  321. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_terminal.py +0 -0
  322. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_ui_state.py +0 -0
  323. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_update_channels.py +0 -0
  324. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_updater.py +0 -0
  325. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_upgrade_cli.py +0 -0
  326. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_v2_host_fixture.py +0 -0
  327. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_version.py +0 -0
  328. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_web_attachments.py +0 -0
  329. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_web_sessions.py +0 -0
  330. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_control.py +0 -0
  331. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_identity.py +0 -0
  332. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_repair.py +0 -0
  333. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/ui_state_fixture.mjs +0 -0
  334. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/web_attachments_browser.mjs +0 -0
  335. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/web_attachments_shell_dom.mjs +0 -0
  336. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tests/web_sessions_dom.mjs +0 -0
  337. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/announce_release.py +0 -0
  338. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/build_docs.py +0 -0
  339. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/capture_tui_docs.py +0 -0
  340. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/check_release.py +0 -0
  341. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/check_release_artifacts.py +0 -0
  342. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/ci_ubuntu_apt.py +0 -0
  343. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/diagnose_import.py +0 -0
  344. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/diagnose_sharing_backup.py +0 -0
  345. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/host_sandbox.js +0 -0
  346. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/migrate_host_plugins.py +0 -0
  347. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/lemonade-models/index.js +0 -0
  348. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/no-nested-sandbox/index.js +0 -0
  349. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/output-clamp/index.js +0 -0
  350. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/pdf-to-text/index.js +0 -0
  351. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/python-isolation/index.js +0 -0
  352. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/port_host_plugins.py +0 -0
  353. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/release_card.py +0 -0
  354. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/sharing_archive_scan.py +0 -0
  355. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/sharing_archive_scan_original.py +0 -0
  356. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/sharing_backup_probe.py +0 -0
  357. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/sharing_fixture_provider.py +0 -0
  358. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/sharing_pax_reason.py +0 -0
  359. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/test_backup_podman.py +0 -0
  360. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/test_dependency_distro.py +0 -0
  361. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/test_global_vault_edges_podman.py +0 -0
  362. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/test_global_vault_podman.py +0 -0
  363. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/test_home_ownership_podman.py +0 -0
  364. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/test_interactive_podman.py +0 -0
  365. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/test_session_sync_podman.py +0 -0
  366. {oc_box-1.7.249.dev0 → oc_box-1.7.313.dev0}/tools/test_v2_podman.py +0 -0
@@ -4,6 +4,7 @@ on:
4
4
  push:
5
5
  branches: [master, devel, 'feature/**', 'fix/**']
6
6
  pull_request:
7
+ workflow_call:
7
8
 
8
9
  permissions:
9
10
  contents: read
@@ -37,7 +38,11 @@ jobs:
37
38
  bash -n completions/oc-box
38
39
  shellcheck --shell=bash completions/oc-box
39
40
  python -m venv "$RUNNER_TEMP/tests"
40
- "$RUNNER_TEMP/tests/bin/python" -m pip install 'cryptography>=44' 'textual>=8.2.8,<9' 'pyte>=0.8.2,<0.9' 'Pillow>=11,<13'
41
+ "$RUNNER_TEMP/tests/bin/python" -m pip install 'cryptography>=44' 'textual>=8.2.8,<9' 'pyte>=0.8.2,<0.9'
42
+ # Release-card rendering uses Pillow 13 (Python 3.11+), not a runtime dependency.
43
+ if [[ "${{ matrix.python }}" == '3.13' ]]; then
44
+ "$RUNNER_TEMP/tests/bin/python" -m pip install 'Pillow>=13,<14'
45
+ fi
41
46
  "$RUNNER_TEMP/tests/bin/python" -B -m unittest discover -s tests -v
42
47
  python tools/build_docs.py --check
43
48
  git diff --check
@@ -81,6 +86,7 @@ jobs:
81
86
  python3 -B tests/smoke_web_attachments_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
82
87
  python3 -B tests/smoke_ui_state_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
83
88
  python3 -B tests/smoke_session_backups_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
89
+ python3 -B tests/smoke_host_backup_auth_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/@opencode/cli-linux-x64/bin/opencode"
84
90
  python3 -B tests/smoke_session_backup_transport_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
85
91
  python3 -B tests/smoke_sharing_host_helpers.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
86
92
  python3 -B tests/smoke_host_plugins.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
@@ -126,6 +132,12 @@ jobs:
126
132
  python3 -B tests/smoke_history_subagent_recovery_v2.py
127
133
  --opencode "$RUNNER_TEMP/opencode-v23/node_modules/.bin/opencode"
128
134
  --foreground --producer-close abrupt
135
+ - name: Native host-file click and input recovery smoke
136
+ run: |
137
+ python3 -m venv "$RUNNER_TEMP/host-file-open-tests"
138
+ "$RUNNER_TEMP/host-file-open-tests/bin/python" -m pip install 'pyte>=0.8.2,<0.9'
139
+ "$RUNNER_TEMP/host-file-open-tests/bin/python" -B tests/smoke_file_preview_v2.py \
140
+ --opencode "$RUNNER_TEMP/opencode-v23/node_modules/.bin/opencode"
129
141
 
130
142
  opencode-v2-current-web-tabs:
131
143
  runs-on: ubuntu-latest
@@ -146,3 +158,7 @@ jobs:
146
158
  "$opencode" --version
147
159
  python3 -B tests/smoke_web_sessions_v2.py --opencode "$opencode"
148
160
  python3 -B tests/smoke_ui_state_v2.py --opencode "$opencode"
161
+ - name: Native host credential round trip on current stable OpenCode 2.x
162
+ run: >-
163
+ python3 -B tests/smoke_host_backup_auth_v2.py
164
+ --opencode "$RUNNER_TEMP/opencode-v2-web/node_modules/@opencode/cli-linux-x64/bin/opencode"
@@ -5,6 +5,7 @@ on:
5
5
  branches: [master, devel, 'feature/**', 'fix/**']
6
6
  pull_request:
7
7
  workflow_dispatch:
8
+ workflow_call:
8
9
 
9
10
  permissions:
10
11
  contents: read
@@ -77,7 +77,7 @@ jobs:
77
77
  if: inputs.action == 'preview'
78
78
  run: |
79
79
  python -m venv "$RUNNER_TEMP/linkedin-tools"
80
- "$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=11,<13'
80
+ "$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=13,<14'
81
81
  - name: Discover profiles without posting
82
82
  if: inputs.action == 'channels'
83
83
  env:
@@ -199,7 +199,7 @@ jobs:
199
199
  - name: Install isolated card renderer
200
200
  run: |
201
201
  python -m venv "$RUNNER_TEMP/linkedin-tools"
202
- "$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=11,<13'
202
+ "$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=13,<14'
203
203
  - name: Announce or reconcile the existing post
204
204
  env:
205
205
  ACTION: ${{ inputs.action }}
@@ -6,7 +6,7 @@ on:
6
6
  workflow_dispatch:
7
7
  inputs:
8
8
  publish:
9
- description: Publish an existing GitHub release to PyPI after checks (false builds only)
9
+ description: Publish an existing GitHub release to PyPI (false runs release preflight only)
10
10
  type: boolean
11
11
  default: false
12
12
  release_tag:
@@ -21,6 +21,10 @@ on:
21
21
  permissions:
22
22
  contents: read
23
23
 
24
+ defaults:
25
+ run:
26
+ shell: bash
27
+
24
28
  env:
25
29
  PYTHONPATH: ${{ github.workspace }}/src
26
30
 
@@ -29,9 +33,60 @@ concurrency:
29
33
  cancel-in-progress: false
30
34
 
31
35
  jobs:
36
+ candidate:
37
+ if: github.repository == 'groopcd/oc-box'
38
+ runs-on: ubuntu-latest
39
+ timeout-minutes: 5
40
+ outputs:
41
+ commit: ${{ steps.resolve.outputs.commit }}
42
+ steps:
43
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
44
+ with:
45
+ fetch-depth: 0
46
+ persist-credentials: false
47
+ ref: ${{ github.sha }}
48
+ - id: resolve
49
+ name: Pin the release or preflight candidate
50
+ env:
51
+ EVENT_SHA: ${{ github.sha }}
52
+ EVENT_REF: ${{ github.ref }}
53
+ RELEASE_TAG: ${{ github.event.release.tag_name || inputs.release_tag }}
54
+ PUBLISH_REQUESTED: ${{ github.event_name == 'release' || inputs.publish }}
55
+ EVENT: ${{ github.event_name }}
56
+ run: |
57
+ if [[ "$EVENT" == workflow_dispatch && "$PUBLISH_REQUESTED" == true ]]; then
58
+ case "$EVENT_REF" in refs/heads/master|refs/heads/devel) ;; *) exit 1 ;; esac
59
+ fi
60
+ [[ "$EVENT_SHA" =~ ^[0-9a-f]{40}$ ]]
61
+ test "$(git rev-parse HEAD)" = "$EVENT_SHA"
62
+ if [[ -n "$RELEASE_TAG" || "$PUBLISH_REQUESTED" == true ]]; then
63
+ [[ "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(\.dev0)?$ ]]
64
+ test "$(git rev-parse --verify "refs/tags/$RELEASE_TAG^{commit}")" = "$EVENT_SHA"
65
+ if [[ "$EVENT" == workflow_dispatch ]]; then
66
+ branch=master
67
+ if [[ "$RELEASE_TAG" == *.dev0 ]]; then branch=devel; fi
68
+ test "$EVENT_REF" = "refs/heads/$branch"
69
+ fi
70
+ fi
71
+ printf 'commit=%s\n' "$EVENT_SHA" >> "$GITHUB_OUTPUT"
72
+ printf 'Candidate: `%s`\n' "$EVENT_SHA" >> "$GITHUB_STEP_SUMMARY"
73
+
74
+ source:
75
+ needs: candidate
76
+ uses: ./.github/workflows/ci.yml
77
+
78
+ distros:
79
+ needs: candidate
80
+ uses: ./.github/workflows/distros.yml
81
+
82
+ codeql:
83
+ needs: candidate
84
+ uses: ./.github/workflows/security-codeql.yml
85
+
32
86
  build:
87
+ needs: candidate
33
88
  runs-on: ubuntu-latest
34
- timeout-minutes: 25
89
+ timeout-minutes: 35
35
90
  outputs:
36
91
  publish_validated: ${{ steps.artifacts.outputs.publish_validated }}
37
92
  steps:
@@ -39,19 +94,30 @@ jobs:
39
94
  with:
40
95
  fetch-depth: 0
41
96
  persist-credentials: false
42
- ref: ${{ github.event.release.tag_name || inputs.release_tag || github.ref }}
97
+ ref: ${{ github.sha }}
43
98
  - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
44
99
  with:
45
- python-version: '3.10'
100
+ python-version: '3.13'
46
101
  - name: Create isolated build tools
102
+ env:
103
+ CANDIDATE: ${{ needs.candidate.outputs.commit }}
47
104
  run: |
105
+ test "$(git rev-parse HEAD)" = "$CANDIDATE"
48
106
  apt_root=$(mktemp -d /tmp/oc-box-ci-apt.XXXXXXXX)
49
107
  chmod 755 "$apt_root"
50
108
  apt_config=$(python3 tools/ci_ubuntu_apt.py --output "$apt_root/config" --mirror azure --force-ipv4)
51
109
  sudo apt-get -c "$apt_config" update
52
110
  sudo apt-get -c "$apt_config" install -y --no-install-recommends age
53
111
  python -m venv "$RUNNER_TEMP/oc-box-build"
54
- "$RUNNER_TEMP/oc-box-build/bin/python" -m pip install build twine 'cryptography>=44' 'textual>=8.2.8,<9' 'pyte>=0.8.2,<0.9' 'Pillow>=11,<13'
112
+ python tools/release_python_deps.py > "$RUNNER_TEMP/release-requirements.txt"
113
+ "$RUNNER_TEMP/oc-box-build/bin/python" -m pip install --only-binary=:all: \
114
+ --upgrade -r "$RUNNER_TEMP/release-requirements.txt"
115
+ - name: Gate the resolved Python release dependencies
116
+ env:
117
+ CANDIDATE: ${{ needs.candidate.outputs.commit }}
118
+ run: |
119
+ bash tools/audit_release_python.sh "$RUNNER_TEMP/oc-box-build" "$CANDIDATE" --gate \
120
+ | tee -a "$GITHUB_STEP_SUMMARY"
55
121
  - name: Validate source and release version
56
122
  id: release
57
123
  env:
@@ -81,7 +147,7 @@ jobs:
81
147
  run: '"$RUNNER_TEMP/oc-box-build/bin/python" -B -m unittest discover -s tests -v'
82
148
  - name: Build wheel and source distribution
83
149
  run: |
84
- "$RUNNER_TEMP/oc-box-build/bin/python" -m build
150
+ "$RUNNER_TEMP/oc-box-build/bin/python" -m build --no-isolation
85
151
  "$RUNNER_TEMP/oc-box-build/bin/python" -m twine check dist/*
86
152
  - name: Verify isolated package installation and resources
87
153
  run: python tools/check_package.py dist --with-vault --with-tui
@@ -114,8 +180,11 @@ jobs:
114
180
  retention-days: 7
115
181
 
116
182
  publish:
117
- if: (github.event_name == 'release' || inputs.publish) && needs.build.outputs.publish_validated == 'true'
118
- needs: build
183
+ if: >-
184
+ success() &&
185
+ (github.event_name == 'release' || inputs.publish) &&
186
+ needs.build.outputs.publish_validated == 'true'
187
+ needs: [candidate, source, distros, codeql, build]
119
188
  runs-on: ubuntu-latest
120
189
  timeout-minutes: 10
121
190
  environment:
@@ -129,10 +198,13 @@ jobs:
129
198
  name: python-distributions
130
199
  path: release-artifacts
131
200
  - name: Verify transferred identity and checksums; select only distributions
201
+ env:
202
+ VERIFIED_CANDIDATE: ${{ needs.candidate.outputs.commit }}
132
203
  run: |
133
204
  python - <<'PY'
134
205
  import hashlib
135
206
  import json
207
+ import os
136
208
  from pathlib import Path
137
209
  import re
138
210
  import shutil
@@ -141,6 +213,7 @@ jobs:
141
213
  version = identity["distribution_version"]
142
214
  assert isinstance(version, str) and re.fullmatch(r"\d+\.\d+\.\d+(?:\.dev0)?", version)
143
215
  assert identity["publish_validated"] is True and identity["dirty"] is False
216
+ assert identity["commit"] == os.environ["VERIFIED_CANDIDATE"]
144
217
  packages = {f"oc_box-{version}-py3-none-any.whl", f"oc_box-{version}.tar.gz"}
145
218
  expected = packages | {"validated-identity.json"}
146
219
  lines = (bundle / "SHA256SUMS").read_text().splitlines()
@@ -159,6 +232,25 @@ jobs:
159
232
  for name in sorted(packages):
160
233
  shutil.copyfile(bundle / name, destination / name)
161
234
  PY
235
+ - name: Recheck the live public tag before uploading
236
+ env:
237
+ RELEASE_TAG: ${{ github.event.release.tag_name || inputs.release_tag }}
238
+ VERIFIED_CANDIDATE: ${{ needs.candidate.outputs.commit }}
239
+ run: |
240
+ [[ "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(\.dev0)?$ ]]
241
+ [[ "$VERIFIED_CANDIDATE" =~ ^[0-9a-f]{40}$ ]]
242
+ ref="refs/tags/$RELEASE_TAG"
243
+ observed=$(timeout 30 git -c credential.helper= ls-remote --exit-code \
244
+ https://github.com/groopcd/oc-box.git "$ref" "$ref^{}")
245
+ peeled=$(awk -F '\t' -v ref="$ref" '
246
+ $2 == ref { tip=$1; count++ }
247
+ $2 == ref "^{}" { commit=$1; peeled_count++ }
248
+ END {
249
+ if (count != 1 || peeled_count > 1 || NR != count + peeled_count) exit 1
250
+ print (peeled_count == 1 ? commit : tip)
251
+ }
252
+ ' <<< "$observed")
253
+ test "$peeled" = "$VERIFIED_CANDIDATE"
162
254
  - name: Publish with PyPI Trusted Publishing
163
255
  uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
164
256
  with:
@@ -0,0 +1,97 @@
1
+ name: Candidate CodeQL scan
2
+
3
+ on:
4
+ workflow_call:
5
+ inputs:
6
+ commit:
7
+ description: Off-ref advisory snapshot; release scans use the workflow event SHA
8
+ required: false
9
+ type: string
10
+ default: ''
11
+ branch:
12
+ description: Retain advisory SARIF for this branch; empty means enforce the release gate without uploading
13
+ required: false
14
+ type: string
15
+ default: ''
16
+
17
+ defaults:
18
+ run:
19
+ shell: bash
20
+
21
+ permissions:
22
+ contents: read
23
+
24
+ jobs:
25
+ codeql:
26
+ runs-on: ubuntu-latest
27
+ timeout-minutes: 25
28
+ strategy:
29
+ fail-fast: false
30
+ matrix:
31
+ language: [actions, javascript, python]
32
+ steps:
33
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
34
+ with:
35
+ ref: ${{ inputs.commit || github.sha }}
36
+ persist-credentials: false
37
+ - name: Verify the exact scan source
38
+ env:
39
+ CANDIDATE: ${{ inputs.commit || github.sha }}
40
+ BRANCH: ${{ inputs.branch }}
41
+ LANGUAGE: ${{ matrix.language }}
42
+ run: |
43
+ [[ "$CANDIDATE" =~ ^[0-9a-f]{40}$ ]]
44
+ test "$(git rev-parse HEAD)" = "$CANDIDATE"
45
+ case "$BRANCH" in ''|master|devel) ;; *) exit 1 ;; esac
46
+ if [[ -z "$BRANCH" ]]; then test "$CANDIDATE" = "$GITHUB_SHA"; fi
47
+ # The Actions extractor discovers workflow files at the workspace
48
+ # root. Never run source scripts here; the evaluator is a fresh job.
49
+ if [[ "$LANGUAGE" == actions ]]; then test -d .github/workflows; fi
50
+ printf 'Candidate: `%s`\n' "$CANDIDATE" >> "$GITHUB_STEP_SUMMARY"
51
+ - uses: github/codeql-action/init@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4
52
+ with:
53
+ languages: ${{ matrix.language }}
54
+ build-mode: none
55
+ - uses: github/codeql-action/analyze@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4
56
+ with:
57
+ output: ${{ runner.temp }}/oc-box-codeql
58
+ upload: never
59
+ upload-database: false
60
+ category: /language:${{ matrix.language }}
61
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
62
+ with:
63
+ name: codeql-${{ inputs.branch || 'release' }}-${{ inputs.commit || github.sha }}-${{ matrix.language }}-attempt-${{ github.run_attempt }}
64
+ path: ${{ runner.temp }}/oc-box-codeql/${{ matrix.language }}.sarif
65
+ if-no-files-found: error
66
+ retention-days: 2
67
+
68
+ evaluate:
69
+ needs: codeql
70
+ runs-on: ubuntu-latest
71
+ timeout-minutes: 10
72
+ strategy:
73
+ fail-fast: false
74
+ matrix:
75
+ language: [actions, javascript, python]
76
+ steps:
77
+ # The analyzer treats off-ref source as data. Only the event's checker
78
+ # executes here, and downloaded SARIF stays outside the working tree.
79
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
80
+ with:
81
+ persist-credentials: false
82
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
83
+ with:
84
+ name: codeql-${{ inputs.branch || 'release' }}-${{ inputs.commit || github.sha }}-${{ matrix.language }}-attempt-${{ github.run_attempt }}
85
+ path: ${{ runner.temp }}/oc-box-codeql
86
+ - name: Evaluate findings (blocking only on release candidates)
87
+ env:
88
+ CANDIDATE: ${{ inputs.commit || github.sha }}
89
+ BRANCH: ${{ inputs.branch }}
90
+ LANGUAGE: ${{ matrix.language }}
91
+ run: |
92
+ args=()
93
+ if [[ -z "$BRANCH" ]]; then args+=(--gate); fi
94
+ printf 'Language: `%s`\n' "$LANGUAGE" >> "$GITHUB_STEP_SUMMARY"
95
+ python3 tools/check_security_scan.py codeql \
96
+ "$RUNNER_TEMP/oc-box-codeql/$LANGUAGE.sarif" \
97
+ --commit "$CANDIDATE" "${args[@]}" | tee -a "$GITHUB_STEP_SUMMARY"
@@ -0,0 +1,107 @@
1
+ name: Scheduled security reports
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '31 5 * * 2'
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ defaults:
12
+ run:
13
+ shell: bash
14
+
15
+ jobs:
16
+ source:
17
+ if: github.repository == 'groopcd/oc-box' && github.ref == 'refs/heads/master'
18
+ runs-on: ubuntu-latest
19
+ timeout-minutes: 5
20
+ outputs:
21
+ master: ${{ steps.branches.outputs.master }}
22
+ devel: ${{ steps.branches.outputs.devel }}
23
+ steps:
24
+ - id: branches
25
+ name: Resolve the two public branch tips once
26
+ run: |
27
+ for branch in master devel; do
28
+ result=$(git ls-remote --exit-code --refs \
29
+ https://github.com/groopcd/oc-box.git "refs/heads/$branch")
30
+ IFS=$'\t' read -r sha ref <<< "$result"
31
+ [[ "$sha" =~ ^[0-9a-f]{40}$ && "$ref" == "refs/heads/$branch" ]]
32
+ printf '%s=%s\n' "$branch" "$sha" >> "$GITHUB_OUTPUT"
33
+ done
34
+
35
+ codeql:
36
+ needs: source
37
+ strategy:
38
+ fail-fast: false
39
+ matrix:
40
+ branch: [master, devel]
41
+ uses: ./.github/workflows/security-codeql.yml
42
+ with:
43
+ commit: ${{ needs.source.outputs[matrix.branch] }}
44
+ branch: ${{ matrix.branch }}
45
+
46
+ upload-codeql:
47
+ needs: [source, codeql]
48
+ if: ${{ !cancelled() && needs.source.result == 'success' }}
49
+ runs-on: ubuntu-latest
50
+ timeout-minutes: 10
51
+ permissions:
52
+ contents: read
53
+ security-events: write
54
+ strategy:
55
+ fail-fast: false
56
+ matrix:
57
+ branch: [master, devel]
58
+ language: [actions, javascript, python]
59
+ steps:
60
+ # Matching checkout is for the pinned SARIF action's source fingerprints.
61
+ # No checked-out scripts or candidate-controlled actions run in this job.
62
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
63
+ with:
64
+ ref: ${{ needs.source.outputs[matrix.branch] }}
65
+ persist-credentials: false
66
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
67
+ with:
68
+ name: codeql-${{ matrix.branch }}-${{ needs.source.outputs[matrix.branch] }}-${{ matrix.language }}-attempt-${{ github.run_attempt }}
69
+ path: ${{ runner.temp }}/oc-box-sarif-upload
70
+ - uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4
71
+ with:
72
+ sarif_file: ${{ runner.temp }}/oc-box-sarif-upload/${{ matrix.language }}.sarif
73
+ ref: refs/heads/${{ matrix.branch }}
74
+ sha: ${{ needs.source.outputs[matrix.branch] }}
75
+
76
+ python:
77
+ needs: source
78
+ runs-on: ubuntu-latest
79
+ timeout-minutes: 15
80
+ strategy:
81
+ fail-fast: false
82
+ matrix:
83
+ branch: [master, devel]
84
+ steps:
85
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
86
+ with:
87
+ persist-credentials: false
88
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
89
+ with:
90
+ python-version: '3.13'
91
+ - name: Audit the resolved Python release dependencies (advisory)
92
+ env:
93
+ CANDIDATE: ${{ needs.source.outputs[matrix.branch] }}
94
+ run: |
95
+ [[ "$CANDIDATE" =~ ^[0-9a-f]{40}$ ]]
96
+ # Fetch only the repository's snapshotted Git object. Read its
97
+ # manifest as data; do not check it out or execute its scripts.
98
+ git fetch --no-tags --depth=1 origin "$CANDIDATE"
99
+ test "$(git rev-parse FETCH_HEAD)" = "$CANDIDATE"
100
+ git show "$CANDIDATE:pyproject.toml" > "$RUNNER_TEMP/candidate-pyproject.toml"
101
+ python -m venv "$RUNNER_TEMP/oc-box-build"
102
+ python tools/release_python_deps.py "$RUNNER_TEMP/candidate-pyproject.toml" \
103
+ > "$RUNNER_TEMP/release-requirements.txt"
104
+ "$RUNNER_TEMP/oc-box-build/bin/python" -m pip install --only-binary=:all: \
105
+ --upgrade -r "$RUNNER_TEMP/release-requirements.txt"
106
+ bash tools/audit_release_python.sh "$RUNNER_TEMP/oc-box-build" "$CANDIDATE" \
107
+ | tee -a "$GITHUB_STEP_SUMMARY"
@@ -39,9 +39,23 @@ Editable source installations must also refuse the GitHub self-updater; keep
39
39
  their checkout ownership distinct from unrelated source and flat installations.
40
40
 
41
41
  - `oc_box.py`: external rootless-Podman launcher and workspace lifecycle.
42
+ Keep top-level help a short grouped command index and launcher command pages
43
+ scoped to applicable options. Preserve dedicated command help, implicit
44
+ `start` and legacy selector-first parsing. Help must not resolve workspaces,
45
+ acquire locks, consult the vault, call Podman or touch launcher state.
42
46
  - `bootstrap.py`: baseline tools installed inside the container.
43
47
  - `sync_config.py`: container-only config refresh with dependency-cache reuse.
44
- - `terminal_ui.py`: native TUI relay and startup loading indicator.
48
+ - `terminal_ui.py`: native TUI relay and startup loading indicator. Keep native
49
+ OpenCode output/UI unchanged. Launcher stage progress is transient on a
50
+ capable TTY and has no default start/done lines in pipes or `TERM=dumb`.
51
+ Preserve actionable warnings/prompts and one final history result per attempt,
52
+ with interruption/unconfirmed-completion cautions on recovery. Report partial
53
+ or uncertain cleanup honestly; do not change lifecycle, eligibility or exits.
54
+ `--lifecycle-diagnostics` explicitly opts in to expanded launcher messages for
55
+ one invocation; no saved default beyond quiet. The sharing host fixture uses
56
+ it only for the owner expecting an explicit stop and checking the legacy
57
+ pending-history line. Keep historical reports intact; offline output checks
58
+ are not new host acceptance.
45
59
  - `status_report.py`: read-only host resource and storage reporting.
46
60
  - `tui.py` / `tui_app.py` / `tui_backend.py`: optional, host-side Textual manager.
47
61
  Keep ordinary CLI imports stdlib-only, demo strictly synthetic, browsing free
@@ -81,11 +95,55 @@ their checkout ownership distinct from unrelated source and flat installations.
81
95
  clipboard requests stay stripped.
82
96
  Paste copied is the in-app cache, not the current desktop clipboard. Preserve
83
97
  focused shell control keys, byte/queue bounds and CLI read-only fences.
84
- - `activity_log.py` / `tui_logs.py`: private bounded fixed-category activity
85
- journal plus explicit in-memory external log views. Never journal raw argv,
86
- env, errors, prompts or stdout/stderr. Preserve legitimate owned legacy state
87
- permissions while keeping log directories/files private. External-log
88
- redaction is best-effort, not a guarantee of arbitrary-secret removal.
98
+ - `activity_log.py` / `logs_cli.py` / `tui_logs.py`: private bounded
99
+ fixed-category activity journal plus explicit in-memory dashboard external
100
+ log views. `oc-box logs` is host-only and read-only, with a stdlib-only
101
+ private default. It must not write journal, workspace or history state or
102
+ read native OpenCode or container logs.
103
+ CLI and dashboard share validated severity and message formatting; only the
104
+ CLI defaults to `info` and higher. The dashboard includes `debug`. Valid
105
+ legacy rows remain readable. Missing or unsafe journal data fails closed to
106
+ empty; JSON Lines with no matches emits nothing. Preserve legitimate owned
107
+ legacy state permissions while keeping log directories/files private. Reason
108
+ codes and metric names use closed sets; metric values are bounded integers.
109
+ Never journal raw argv, errors, env, stdout/stderr, prompts, transcripts,
110
+ pairing links, authentication, clipboard data or other free-form text.
111
+ Dashboard external-log redaction remains best-effort, not a guarantee of
112
+ arbitrary-secret removal.
113
+ RAW dashboard output uses only validated/retained display data and follows
114
+ source/query filters without table formatting. Explicit bulk copy stays
115
+ clipboard-bounded and never exposes pre-redaction input. System-journal
116
+ browsing is explicit, never merged into the default source view.
117
+ `log_config.py` loads bounded host `logs` policy without writes or following
118
+ config symlinks. Only a separate, explicit Host logging save may persist
119
+ the private directory and mirror choice, preserving all other configuration.
120
+ Demo and read-only views cannot save; there is no log migration or setup
121
+ during config edits. Existing custom destinations are checked without
122
+ creation; custom writes verify reserved names and the records of every file
123
+ affected by rotation or retention before changing the ring. Never adopt
124
+ unrelated files or guess at corrupt custom records. Keep default-journal
125
+ crash recovery unchanged. Logger flags are invocation-local, never environment
126
+ switches or config edits; invalid saved policy fails closed even with
127
+ explicit overrides. Only default/start, reset, stop, sync, terminal and web
128
+ accept launcher `--log-dir PATH`, `--journald` / `--no-journald`, and
129
+ `--lifecycle-diagnostics`. `--log-dir PATH` overrides valid `logs.directory`
130
+ and also works for private `logs` reads, including `logs --path`; only an
131
+ append can create the directory. Journal location is independent of workspace
132
+ registration. Rotation and age/space retention apply only on appends, only
133
+ to the owner's validated managed files, and never modify the system journal
134
+ or move old logs.
135
+ `logs.journald` is a host boolean, default false. The launcher flags override
136
+ it for one invocation. Mirror only successfully appended, validated activity
137
+ events to existing local systemd-journald with native priorities. The private
138
+ file remains primary; sink errors cannot affect lifecycle results. Do not
139
+ start/configure daemons or add ordinary systemd dependencies. System journal
140
+ visibility and retention follow host policy. `oc-box logs --journald` is
141
+ read-only, independent of the writer setting, and incompatible with
142
+ `--log-dir`. It expressly selects the current user's mirror via local
143
+ `journalctl`, with the same severity and workspace filters, limit, follow and
144
+ JSON Lines support. On unavailability give fixed safe guidance to use the
145
+ private default, never fall back automatically or expose raw errors. Mock
146
+ backends are not host journal acceptance.
89
147
  - `tui_storage.py` / `tui_operations.py` / `tui_management.py`: three distinct
90
148
  host/selected/all-workspace scopes, canonical bounded registry reads and explicit
91
149
  operation reviews, typed only for destructive actions. Host operations target
@@ -266,6 +324,14 @@ their checkout ownership distinct from unrelated source and flat installations.
266
324
  an exact patch allowlist; retain private-client, transfer and terminal contract
267
325
  refusals. No public API proves future composer attachment behavior. Do not
268
326
  reuse this eligibility policy as a shortcut for unrelated compatibility guards.
327
+ - `file_preview*.py` / `file_preview_tui.tsx` / `file_open_formats.py`:
328
+ experimental host open, per native 2.3.x TUI opt-in. Require a fresh
329
+ matched Ctrl-click from host terminal input and native assistant link
330
+ hit-testing. Child output must not independently grant file opens. Validate
331
+ mount/descriptor boundaries, bound each read and transfer, and open only
332
+ verified private PNG/text/Markdown/static HTML copies. Avoid clipboard
333
+ coupling, active HTML, arbitrary protocol dispatch, and mainline patches.
334
+ Native PTY evidence is not physical Yakuake/Podman acceptance.
269
335
  - `ui_state.py` / `ui_state_*.js`: public-SDK container TUI/server/RPC reports,
270
336
  installed only during normal eligible V2 owning preparation, never on attach.
271
337
  Canonical stable native `2.x.y` is eligible, not proof of SDK compatibility.
@@ -318,6 +384,21 @@ their checkout ownership distinct from unrelated source and flat installations.
318
384
  - `backups.py` / `backup_crypto.py` / `backup_archive.py`: host-only encrypted
319
385
  backup/restore feature; use established age streaming encryption, no plaintext
320
386
  archive staging, fresh restore IDs, and no archived privilege reactivation.
387
+ - `host_backup_payload.py` / `host_backup_restore.py` / `host_backup_auth.py`:
388
+ explicit CLI and reviewed dashboard host migration component. Preserve bounded
389
+ exact file bytes, read-only no-follow capture, the already-encrypted vault and independent
390
+ native OpenCode consent. No host configuration writes from workspace-only
391
+ restore. Never restore registry identities, an archived host database,
392
+ external paths or plaintext archive staging. V2 credentials come from an
393
+ explicit native export and are verified in an isolated tmpfs-backed native
394
+ store before publication to a reviewed, absent host database. Stable native
395
+ 2.x uses the fresh-store behavior checks, not a patch allowlist or the live
396
+ history recovery policy. Refuse unexpected persisted work. No joins to the
397
+ live host service, silent overwrite or cross-filesystem transaction claims.
398
+ Dashboard switches select a plan only. Use the existing private backup PTY
399
+ and authenticated metadata review; native restore also needs the explicit
400
+ trust phrase. Review and recheck private export file identity without
401
+ carrying its contents on the dashboard protocol, stdout or clipboard.
321
402
  - `install.py` (under the package): copies the launcher to `~/.local/share/oc-box` and creates
322
403
  `~/.local/bin/oc-box`.
323
404
  - `installation.py`: staged immutable installed copies and launcher activation.
@@ -748,7 +829,8 @@ changes, isolated from real workspace state. This fixture does not test restored
748
829
  real-project model inference.
749
830
  Restores retain original internal project paths via `container_project`; host
750
831
  destinations/physical identities and resource IDs are fresh, not DB path edits.
751
- Backups retain workspace credential modes/policies, but exclude the global host
752
- vault and outside env files. Restored default/global V2 uses the restoring host's
753
- vault, not old host privileges; persisted workspace config/auth may still contain
754
- secrets. Protect encrypted host vault data separately.
832
+ Workspace-only backups retain credential modes/policies but exclude the global
833
+ host vault and outside env files. Restored default/global V2 uses the restoring
834
+ host's vault, not old host privileges; persisted workspace config/auth may
835
+ still contain secrets. The explicit `--host` component can carry the encrypted
836
+ vault unchanged, with the original passphrase still required after restore.
@@ -81,6 +81,9 @@ unrelated projects; see the [manager guide](docs/tui.md#launch-and-navigation).
81
81
 
82
82
  ## Checks
83
83
 
84
+ Use focused checks for ordinary changes; full release checks and scheduled
85
+ security reporting are described in [release security](docs/release-security.md).
86
+
84
87
  See [the test strategy and audit](docs/testing.md) before adding/removing tests.
85
88
  Keep distinct data-loss/security regressions; consolidate repeated cases and
86
89
  fixture/prose checks, not an arbitrary number of test methods.
@@ -5,7 +5,7 @@ recursive-include docs *.md *.1 *.texi *.info
5
5
  recursive-include docs/assets *.png
6
6
  include docs/assets/tui/manifest.json
7
7
  include completions/oc-box
8
- recursive-include src *.py *.js *.css
8
+ recursive-include src *.py *.js *.css *.tsx
9
9
  recursive-include tests *.py *.mjs
10
10
  include tools/host_sandbox.js
11
11
  recursive-include tools/native_plugins *.js
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oc-box
3
- Version: 1.7.249.dev0
3
+ Version: 1.7.313.dev0
4
4
  Summary: Persistent rootless Podman development environments for mainline OpenCode
5
5
  Author-email: Paulo Dias <paulo.miguel.dias@gmail.com>
6
6
  License-Expression: GPL-3.0-or-later
@@ -174,6 +174,11 @@ same command to return. Processes do not survive a stop.
174
174
 
175
175
  ## Everyday use
176
176
 
177
+ Use `oc-box --help` for a grouped command index and `oc-box COMMAND --help`
178
+ for a command's options. For example, `oc-box start --help` covers startup
179
+ options even when you normally omit `start`, while `oc-box logs --help` covers
180
+ reading activity logs. Help does not need or change a workspace.
181
+
177
182
  | I want to… | Command or guide |
178
183
  | --- | --- |
179
184
  | Resume the current project | `oc-box` |
@@ -141,6 +141,11 @@ same command to return. Processes do not survive a stop.
141
141
 
142
142
  ## Everyday use
143
143
 
144
+ Use `oc-box --help` for a grouped command index and `oc-box COMMAND --help`
145
+ for a command's options. For example, `oc-box start --help` covers startup
146
+ options even when you normally omit `start`, while `oc-box logs --help` covers
147
+ reading activity logs. Help does not need or change a workspace.
148
+
144
149
  | I want to… | Command or guide |
145
150
  | --- | --- |
146
151
  | Resume the current project | `oc-box` |