oc-box 1.7.225.dev0__tar.gz → 1.7.248.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 (322) hide show
  1. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/.github/workflows/ci.yml +10 -0
  2. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/.github/workflows/publish.yml +6 -0
  3. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/AGENTS.md +53 -1
  4. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/CONTRIBUTING.md +32 -0
  5. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/MANIFEST.in +2 -0
  6. oc_box-1.7.248.dev0/PKG-INFO +285 -0
  7. oc_box-1.7.248.dev0/README.md +252 -0
  8. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/SECURITY.md +74 -1
  9. oc_box-1.7.248.dev0/build-info.json +7 -0
  10. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/completions/oc-box +7 -7
  11. oc_box-1.7.248.dev0/docs/README.md +124 -0
  12. oc_box-1.7.248.dev0/docs/assets/readme-hero.png +0 -0
  13. oc_box-1.7.248.dev0/docs/assets/tui/README.md +60 -0
  14. oc_box-1.7.248.dev0/docs/assets/tui/backups.png +0 -0
  15. oc_box-1.7.248.dev0/docs/assets/tui/logs.png +0 -0
  16. oc_box-1.7.248.dev0/docs/assets/tui/manifest.json +127 -0
  17. oc_box-1.7.248.dev0/docs/assets/tui/sessions.png +0 -0
  18. oc_box-1.7.248.dev0/docs/assets/tui/settings.png +0 -0
  19. oc_box-1.7.248.dev0/docs/assets/tui/status.png +0 -0
  20. oc_box-1.7.248.dev0/docs/assets/tui/storage.png +0 -0
  21. oc_box-1.7.248.dev0/docs/assets/tui/terminals.png +0 -0
  22. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/cli.md +425 -77
  23. oc_box-1.7.248.dev0/docs/concepts.md +119 -0
  24. oc_box-1.7.248.dev0/docs/getting-started.md +144 -0
  25. oc_box-1.7.248.dev0/docs/guides/backups.md +85 -0
  26. oc_box-1.7.248.dev0/docs/guides/clients.md +192 -0
  27. oc_box-1.7.248.dev0/docs/guides/credentials.md +221 -0
  28. oc_box-1.7.248.dev0/docs/guides/host-files.md +232 -0
  29. oc_box-1.7.248.dev0/docs/guides/workspaces.md +235 -0
  30. oc_box-1.7.248.dev0/docs/host-clipboard-testing.md +226 -0
  31. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/host-plugins.md +6 -0
  32. oc_box-1.7.248.dev0/docs/installation.md +332 -0
  33. oc_box-1.7.248.dev0/docs/legacy/README.md +232 -0
  34. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/oc-box.1 +136 -27
  35. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/oc-box.info +538 -159
  36. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/oc-box.texi +141 -27
  37. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/opencode-2.md +51 -12
  38. oc_box-1.7.248.dev0/docs/plans/README.md +14 -0
  39. oc_box-1.7.248.dev0/docs/project-status.md +92 -0
  40. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/release-announcements.md +25 -0
  41. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/releases/1.7.md +22 -0
  42. oc_box-1.7.248.dev0/docs/releases/README.md +16 -0
  43. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/sharing-handoff.md +5 -0
  44. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/sharing-host-acceptance.md +5 -0
  45. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/testing.md +249 -0
  46. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/tui.md +114 -18
  47. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/ui-state.md +3 -0
  48. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/update-channels.md +77 -30
  49. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/web-shell.md +4 -0
  50. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/dependencies.py +1 -1
  51. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/history_reader.py +314 -6
  52. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/history_recovery.py +34 -0
  53. oc_box-1.7.248.dev0/src/oc_box/host_clipboard.py +204 -0
  54. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/host_drop.py +203 -15
  55. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/host_drop_input.py +69 -2
  56. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/installation.py +2 -0
  57. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/oc_box.py +328 -42
  58. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/opencode_v2_io.py +135 -1
  59. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/package_updates.py +67 -11
  60. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/sharing.py +28 -21
  61. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui.py +2 -2
  62. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/updater.py +92 -26
  63. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/workspace_preferences.py +88 -13
  64. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/workspace_service.py +94 -10
  65. oc_box-1.7.248.dev0/src/oc_box.egg-info/PKG-INFO +285 -0
  66. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/SOURCES.txt +29 -0
  67. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_history_subagent_recovery_v2.py +345 -19
  68. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_backups.py +22 -1
  69. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_channel_updater.py +106 -0
  70. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_completion.py +24 -0
  71. oc_box-1.7.248.dev0/tests/test_history_exports.py +305 -0
  72. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_history_recovery.py +105 -20
  73. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_history_source_lease.py +6 -1
  74. oc_box-1.7.248.dev0/tests/test_host_clipboard.py +674 -0
  75. oc_box-1.7.248.dev0/tests/test_host_clipboard_preferences.py +451 -0
  76. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_host_drop.py +20 -6
  77. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_package_updates.py +363 -16
  78. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_release_announcement_workflows.py +54 -3
  79. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_release_announcements.py +69 -0
  80. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_session_sync.py +60 -1
  81. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_updater.py +125 -2
  82. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_upgrade_cli.py +7 -2
  83. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_preferences.py +159 -5
  84. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_service.py +431 -5
  85. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/announce_release.py +32 -11
  86. oc_box-1.7.248.dev0/tools/capture_tui_docs.py +499 -0
  87. oc_box-1.7.225.dev0/PKG-INFO +0 -1156
  88. oc_box-1.7.225.dev0/README.md +0 -1123
  89. oc_box-1.7.225.dev0/build-info.json +0 -7
  90. oc_box-1.7.225.dev0/src/oc_box.egg-info/PKG-INFO +0 -1156
  91. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/.github/workflows/distros.yml +0 -0
  92. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/.github/workflows/linkedin.yml +0 -0
  93. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/LICENSE +0 -0
  94. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/NOTICE +0 -0
  95. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/plans/exit-sync-activity-timeout.md +0 -0
  96. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/docs/releases/tui-v1.md +0 -0
  97. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/install.py +0 -0
  98. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/install.sh +0 -0
  99. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/pyproject.toml +0 -0
  100. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/setup.cfg +0 -0
  101. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/setup.py +0 -0
  102. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/_oc_box_build.py +0 -0
  103. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/__init__.py +0 -0
  104. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/__main__.py +0 -0
  105. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/activity_log.py +0 -0
  106. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/attachment_io.py +0 -0
  107. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/attachments.py +0 -0
  108. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/backup_archive.py +0 -0
  109. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/backup_crypto.py +0 -0
  110. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/backups.py +0 -0
  111. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/bootstrap.py +0 -0
  112. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/credentials.py +0 -0
  113. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/host_drop_io.py +0 -0
  114. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/install.py +0 -0
  115. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/native_tabs.py +0 -0
  116. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/opencode_compat.py +0 -0
  117. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/paths.py +0 -0
  118. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/plugin_bridge.js +0 -0
  119. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/plugin_compat.py +0 -0
  120. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/private_memory.py +0 -0
  121. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/secret_prompt.py +0 -0
  122. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/session_backups.py +0 -0
  123. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/session_terminal.py +0 -0
  124. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/status_report.py +0 -0
  125. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/sync_config.py +0 -0
  126. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/terminal_ui.py +0 -0
  127. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_app.py +0 -0
  128. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_backend.py +0 -0
  129. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_backup_workflow.py +0 -0
  130. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_clipboard.py +0 -0
  131. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_logs.py +0 -0
  132. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_management.py +0 -0
  133. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_notifications.py +0 -0
  134. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_operation_io.py +0 -0
  135. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_operations.py +0 -0
  136. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_sessions.py +0 -0
  137. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_settings.py +0 -0
  138. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_status.py +0 -0
  139. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_storage.py +0 -0
  140. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_terminal.py +0 -0
  141. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state.py +0 -0
  142. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state_memory.js +0 -0
  143. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state_rpc.js +0 -0
  144. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state_server.js +0 -0
  145. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state_tui.js +0 -0
  146. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/update_channels.py +0 -0
  147. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/vault.py +0 -0
  148. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/version_info.py +0 -0
  149. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_attachments.js +0 -0
  150. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_attachments.py +0 -0
  151. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_sessions.css +0 -0
  152. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_sessions.js +0 -0
  153. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_sessions.py +0 -0
  154. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/workspace_control.py +0 -0
  155. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box/workspace_identity.py +0 -0
  156. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/dependency_links.txt +0 -0
  157. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/entry_points.txt +0 -0
  158. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/requires.txt +0 -0
  159. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/top_level.txt +0 -0
  160. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/copied_plugin_bytes.mjs +0 -0
  161. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/fixture_services.py +0 -0
  162. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/host_sandbox_fixture.mjs +0 -0
  163. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/interrupted_v1_fixture.py +0 -0
  164. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/native_plugin_fixture.mjs +0 -0
  165. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/plugin_bridge_fixture.mjs +0 -0
  166. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_attachments_v2.py +0 -0
  167. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_build_permissions_v2.py +0 -0
  168. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_global_vault.py +0 -0
  169. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_global_vault_host_helpers.py +0 -0
  170. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_history_recovery_v2.py +0 -0
  171. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_host_drop_v2.py +0 -0
  172. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_host_plugins.py +0 -0
  173. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_image_preview_preferences_v2.py +0 -0
  174. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_mainline.py +0 -0
  175. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_native_host_port.py +0 -0
  176. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_native_preferences_v2.py +0 -0
  177. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_native_tabs_v2.py +0 -0
  178. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_session_backup_transport_v2.py +0 -0
  179. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_session_backups_v2.py +0 -0
  180. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_session_sync_v2.py +0 -0
  181. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_sharing_host_helpers.py +0 -0
  182. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_sharing_v2.py +0 -0
  183. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_tui_v2.py +0 -0
  184. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_ui_state_v2.py +0 -0
  185. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_v2.py +0 -0
  186. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_web_attachments_v2.py +0 -0
  187. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/smoke_web_sessions_v2.py +0 -0
  188. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_activity_log.py +0 -0
  189. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_attachment_io.py +0 -0
  190. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_attachments.py +0 -0
  191. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_backup_archive.py +0 -0
  192. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_backup_crypto.py +0 -0
  193. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_channel_bootstrap.py +0 -0
  194. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_channel_installer.py +0 -0
  195. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_ci_ubuntu_apt.py +0 -0
  196. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_dependencies.py +0 -0
  197. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_documentation.py +0 -0
  198. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_global_vault.py +0 -0
  199. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_global_vault_edges_host_fixture.py +0 -0
  200. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_global_vault_host_fixture.py +0 -0
  201. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_global_vault_launch.py +0 -0
  202. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_history_reader.py +0 -0
  203. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_home_ownership_host_fixture.py +0 -0
  204. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_host_drop_input.py +0 -0
  205. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_host_drop_io.py +0 -0
  206. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_host_drop_preferences.py +0 -0
  207. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_host_plugin_migration.py +0 -0
  208. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_image_preview.py +0 -0
  209. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_interactive_host_fixture.py +0 -0
  210. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_interactive_host_service_port.py +0 -0
  211. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_native_host_port.py +0 -0
  212. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_native_recovery_process.py +0 -0
  213. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_native_tab_routing.py +0 -0
  214. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_native_tabs.py +0 -0
  215. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_oc_box.py +0 -0
  216. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_opencode_compat.py +0 -0
  217. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_packaging.py +0 -0
  218. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_plugin_compat.py +0 -0
  219. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_podman_options.py +0 -0
  220. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_private_memory.py +0 -0
  221. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_private_output.py +0 -0
  222. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_process_io.py +0 -0
  223. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_release_artifacts.py +0 -0
  224. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_release_card.py +0 -0
  225. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_release_channels.py +0 -0
  226. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_secret_prompt.py +0 -0
  227. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_session_backups.py +0 -0
  228. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_session_import.py +0 -0
  229. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_session_sync_host_fixture.py +0 -0
  230. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_session_terminal.py +0 -0
  231. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing.py +0 -0
  232. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_archive_scan.py +0 -0
  233. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_backup_diagnostic.py +0 -0
  234. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_backup_probe.py +0 -0
  235. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_fixture_provider.py +0 -0
  236. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_host_fixture.py +0 -0
  237. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_host_oracles.py +0 -0
  238. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_owner_control.py +0 -0
  239. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_pax_metadata.py +0 -0
  240. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_pax_reason.py +0 -0
  241. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_session_payload.py +0 -0
  242. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_transport.py +0 -0
  243. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_src_layout.py +0 -0
  244. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_stale_workspaces.py +0 -0
  245. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_startup.py +0 -0
  246. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_status.py +0 -0
  247. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_sync_config_preferences.py +0 -0
  248. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_terminal.py +0 -0
  249. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_app.py +0 -0
  250. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_backend.py +0 -0
  251. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_backup_integration.py +0 -0
  252. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_backup_workflow.py +0 -0
  253. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_card_layout.py +0 -0
  254. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_card_metrics.py +0 -0
  255. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_cli.py +0 -0
  256. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_clipboard.py +0 -0
  257. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_clipboard_privacy.py +0 -0
  258. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_delete_notifications.py +0 -0
  259. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_display_performance.py +0 -0
  260. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_global_interactions.py +0 -0
  261. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_input_controls.py +0 -0
  262. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_installation.py +0 -0
  263. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_loading.py +0 -0
  264. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_log_feedback.py +0 -0
  265. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_logs.py +0 -0
  266. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_management.py +0 -0
  267. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_management_cards.py +0 -0
  268. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_notifications.py +0 -0
  269. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_operation_io.py +0 -0
  270. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_operation_results.py +0 -0
  271. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_operations.py +0 -0
  272. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_selection.py +0 -0
  273. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_sessions.py +0 -0
  274. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_settings.py +0 -0
  275. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_status.py +0 -0
  276. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_storage.py +0 -0
  277. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_terminal.py +0 -0
  278. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_ui_state.py +0 -0
  279. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_update_channels.py +0 -0
  280. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_v2_host_fixture.py +0 -0
  281. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_vault.py +0 -0
  282. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_version.py +0 -0
  283. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_web_attachments.py +0 -0
  284. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_web_sessions.py +0 -0
  285. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_control.py +0 -0
  286. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_identity.py +0 -0
  287. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_repair.py +0 -0
  288. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/ui_state_fixture.mjs +0 -0
  289. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/web_attachments_browser.mjs +0 -0
  290. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/web_attachments_shell_dom.mjs +0 -0
  291. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tests/web_sessions_dom.mjs +0 -0
  292. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/benchmark_tui_display.py +0 -0
  293. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/build_docs.py +0 -0
  294. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/check_package.py +0 -0
  295. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/check_release.py +0 -0
  296. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/check_release_artifacts.py +0 -0
  297. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/ci_ubuntu_apt.py +0 -0
  298. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/diagnose_import.py +0 -0
  299. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/diagnose_sharing_backup.py +0 -0
  300. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/host_sandbox.js +0 -0
  301. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/migrate_host_plugins.py +0 -0
  302. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/lemonade-models/index.js +0 -0
  303. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/no-nested-sandbox/index.js +0 -0
  304. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/output-clamp/index.js +0 -0
  305. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/pdf-to-text/index.js +0 -0
  306. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/python-isolation/index.js +0 -0
  307. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/port_host_plugins.py +0 -0
  308. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/release_card.py +0 -0
  309. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/sharing_archive_scan.py +0 -0
  310. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/sharing_archive_scan_original.py +0 -0
  311. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/sharing_backup_probe.py +0 -0
  312. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/sharing_fixture_provider.py +0 -0
  313. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/sharing_pax_reason.py +0 -0
  314. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/test_backup_podman.py +0 -0
  315. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/test_dependency_distro.py +0 -0
  316. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/test_global_vault_edges_podman.py +0 -0
  317. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/test_global_vault_podman.py +0 -0
  318. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/test_home_ownership_podman.py +0 -0
  319. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/test_interactive_podman.py +0 -0
  320. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/test_session_sync_podman.py +0 -0
  321. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/test_sharing_podman.py +0 -0
  322. {oc_box-1.7.225.dev0 → oc_box-1.7.248.dev0}/tools/test_v2_podman.py +0 -0
@@ -116,3 +116,13 @@ jobs:
116
116
  run: >-
117
117
  python3 -B tests/smoke_history_subagent_recovery_v2.py
118
118
  --opencode "$RUNNER_TEMP/opencode-v23/node_modules/.bin/opencode"
119
+ - name: Native foreground interruption and queued-input preservation
120
+ run: >-
121
+ python3 -B tests/smoke_history_subagent_recovery_v2.py
122
+ --opencode "$RUNNER_TEMP/opencode-v23/node_modules/.bin/opencode"
123
+ --foreground
124
+ - name: Native abrupt foreground loss and partial archival preservation
125
+ run: >-
126
+ python3 -B tests/smoke_history_subagent_recovery_v2.py
127
+ --opencode "$RUNNER_TEMP/opencode-v23/node_modules/.bin/opencode"
128
+ --foreground --producer-close abrupt
@@ -13,6 +13,10 @@ on:
13
13
  description: Existing published release tag (required when publishing)
14
14
  type: string
15
15
  default: ''
16
+ skip_linkedin:
17
+ description: Skip the LinkedIn preview or announcement for this publication
18
+ type: boolean
19
+ default: false
16
20
 
17
21
  permissions:
18
22
  contents: read
@@ -163,6 +167,8 @@ jobs:
163
167
  linkedin:
164
168
  needs: [build, publish]
165
169
  if: >-
170
+ !inputs.skip_linkedin &&
171
+ !contains(github.event.release.body || '', '<!-- linkedin:skip -->') &&
166
172
  (endsWith(github.event.release.tag_name || inputs.release_tag, '.dev0') ||
167
173
  vars.LINKEDIN_ANNOUNCEMENTS == 'true') &&
168
174
  needs.publish.result == 'success' &&
@@ -161,11 +161,24 @@ their checkout ownership distinct from unrelated source and flat installations.
161
161
  immutable same-resource restart, stop intent/admission and persistent uncertainty
162
162
  fences. Readers are unregistered/non-executing, with source/destination scheduler
163
163
  metadata and system-config refusals, one endpoint, unchanged checked exports and
164
- host verification and separate cleanup. Preserve original client nonzero results
164
+ host verification and separate cleanup. Pass-local export helpers require
165
+ admission per request, bounded private framing, no restart/replay, and
166
+ reaping/strict EOF before success. Transport reuse is
167
+ post-stop only, never bulk work admission or destination writer reuse.
168
+ Preserve original client nonzero results
165
169
  and interruption/unconfirmed-completion warnings; only raw client exit 0 plus
166
170
  complete verified archival, recovery cleanup and final stop may return 0 after a
167
171
  live timeout. Unknown client status, partial/failure or uncertain cleanup remains
168
172
  nonzero with retry-sync guidance; historical accepted exit records stay unchanged.
173
+ The new 2.3 foreground-interruption hint requires two complete validated busy
174
+ pairs and only supported job kinds; it authorizes post-stop archival, never live
175
+ export or job completion. Observed foreground interruption stays nonzero even
176
+ when its persisted history saves. Ordinary expected 2.3 live-sync failures may
177
+ route one guarded Reader attempt, not a second unrestricted manual launch.
178
+ Preserve explicit compatibility/cleanup refusals and legacy routing. Require
179
+ native queued-input/execution-claim non-consumption evidence and fresh focused
180
+ external-host validation before publishing this extension; earlier idle-owner
181
+ recovery evidence does not establish that acceptance.
169
182
  Never clear an uncertain start without verified transition completion, resume
170
183
  work, refresh credentials, create replacement resources or infer host acceptance
171
184
  from local native/process fixtures. The focused host recovery gate is additional
@@ -214,6 +227,45 @@ their checkout ownership distinct from unrelated source and flat installations.
214
227
  can retain staging/history/provider/backup copies. Default relay behavior and
215
228
  the independent-confirmation broker remain unchanged. No host acceptance is
216
229
  established by synthetic parser/process/native checks.
230
+ - `host_clipboard.py`: opt-in host PNG/copied-file clipboard reader. Workspace
231
+ `ui-preferences.json` saves future-client clipboard/symlink booleans under the
232
+ independent host preference lock; absent clipboard choice means OFF, absent
233
+ symlink choice means ordinary following. Explicit native start/reset
234
+ --host-clipboard / --no-host-clipboard choices persist, including on additional
235
+ clients without owner restart/unlock/config refresh; existing clients never
236
+ live-toggle. Saved enable skips unsupported terminals/native V1/missing desktop
237
+ helpers without clearing policy; explicit enable remains strict. Web, terminal,
238
+ manager, sync and informational commands ignore saved policy and reject startup
239
+ flags. `preferences --host-clipboard on|off` and
240
+ `--host-clipboard-symlinks on|off` never launch/unlock/discover helpers and work
241
+ without a TTY. Store only booleans, never helper paths or clipboard data;
242
+ host-only preferences are not restore authority. Discovery
243
+ never reads; only the dedicated top-level host shortcut may call the bounded
244
+ desktop helper. Typed local URI lists reuse the existing pinned host-drop
245
+ source guards; type discovery is not proof of file-manager provenance.
246
+ Clipboard file sources follow ordinary symlinks by default;
247
+ --host-clipboard-symlinks / --no-host-clipboard-symlinks save the future-client
248
+ choice and require effective clipboard enable on native start/reset.
249
+ `preferences --host-clipboard-symlinks on|off` is independent and can save the
250
+ future choice even while clipboard is OFF, without runtime checks.
251
+ Keep strict choices through clipboard disable/re-enable; never silently revert
252
+ to link following. Keep this link-following exception
253
+ out of normal drops and live sharing. Validate selected and canonical protected
254
+ paths; use kernel NO_MAGICLINKS O_PATH selection and match the strict export
255
+ against its still-pinned descriptor before reading. Never use Path.resolve
256
+ followed by an unbound reopen as source authority. Copy-to-shortcut link
257
+ retargeting is an accepted disclosed tradeoff, not immutable source consent.
258
+ Imports always copy, never move/cut or modify the source/clipboard. No
259
+ background polling, model/output/MCP triggers, arbitrary text/plain requests,
260
+ unsafe fallback, socket mounts, listeners or automatic Send. Preserve ordinary
261
+ Ctrl+V, file-drop opt-outs and the helper's desktop-only environment. Synthetic
262
+ tests are not desktop/native composition acceptance; keep host checks minimal.
263
+ Refusal markers may include closed fixed categories only, never raw errors,
264
+ clipboard data or host paths; missing/strict-linked/private denials stay uniform.
265
+ Host drop/clipboard eligibility covers valid native 2.x releases rather than
266
+ an exact patch allowlist; retain private-client, transfer and terminal contract
267
+ refusals. No public API proves future composer attachment behavior. Do not
268
+ broaden unrelated history/recovery/browser version guards as a shortcut.
217
269
  - `ui_state.py` / `ui_state_*.js`: public-SDK container TUI/server/RPC reports,
218
270
  installed only during normal supported V2 owning preparation, never on attach.
219
271
  Keep exact routed children separate from active root membership and verify all
@@ -1,5 +1,37 @@
1
1
  # Contributing
2
2
 
3
+ [Documentation hub](docs/README.md) · [Getting started](docs/getting-started.md) ·
4
+ [Test strategy](docs/testing.md)
5
+
6
+ **Documentation focus:** OpenCode 2.x is the primary reader path; 1.x has a
7
+ [separate legacy guide](docs/legacy/README.md). Legacy compatibility, data-loss,
8
+ permission and secret-lifetime regressions remain supported and required.
9
+ Do not remove 1.x checks merely because the user documentation is separated.
10
+
11
+ **Quick developer start**
12
+
13
+ Run from the repository root. These commands use an ephemeral editable
14
+ environment; see [Checks](#checks) for dependencies and additional smoke tests.
15
+ Offline checks do not replace host acceptance. Never run host lifecycle
16
+ fixtures inside oc-box or against real workspaces or credentials.
17
+
18
+ ```sh
19
+ uv run --no-project --with-editable . oc-box --version
20
+ uv run --no-project --with-editable . --with cryptography python -B -m unittest discover -s tests -v
21
+ ```
22
+
23
+ **On this page**
24
+
25
+ | Task | Start here |
26
+ | --- | --- |
27
+ | Find code and choose a development environment | [Source layout](#source-layout) |
28
+ | Choose checks and understand host-only safety requirements | [Checks](#checks) · [Live backup/restore validation](#live-backuprestore-validation) |
29
+ | Work on host plugins, completion or dependency catalogs | [Plain host plugin migration](#plain-host-plugin-migration) · [Bash completion](#bash-completion) · [Distro dependency checks](#distro-dependency-checks) |
30
+ | Update generated documentation | [Manuals](#manuals) |
31
+ | Review packaging and release requirements | [Source and release hygiene](#source-and-release-hygiene) · [Python packages and PyPI releases](#python-packages-and-pypi-releases) · [Release gate](#release-gate-and-publication-checklist) |
32
+
33
+ ---
34
+
3
35
  Use the full Git history: the development identity is `1.7.N.dev0+gHASH`, with N the
4
36
  commit count minus the 1.0.0 baseline (29). Keep the absolute `commit_count` in
5
37
  metadata for upgrade compatibility with 0.1/1.0/1.5/1.6 releases. The 1.7 manager
@@ -2,6 +2,8 @@ include README.md CONTRIBUTING.md SECURITY.md LICENSE NOTICE
2
2
  include AGENTS.md pyproject.toml setup.py MANIFEST.in install.py install.sh
3
3
  recursive-include .github/workflows *.yml
4
4
  recursive-include docs *.md *.1 *.texi *.info
5
+ recursive-include docs/assets *.png
6
+ include docs/assets/tui/manifest.json
5
7
  include completions/oc-box
6
8
  recursive-include src *.py *.js *.css
7
9
  recursive-include tests *.py *.mjs
@@ -0,0 +1,285 @@
1
+ Metadata-Version: 2.4
2
+ Name: oc-box
3
+ Version: 1.7.248.dev0
4
+ Summary: Persistent rootless Podman development environments for mainline OpenCode
5
+ Author-email: Paulo Dias <paulo.miguel.dias@gmail.com>
6
+ License-Expression: GPL-3.0-or-later
7
+ Project-URL: Homepage, https://github.com/groopcd/oc-box
8
+ Project-URL: Documentation, https://github.com/groopcd/oc-box/blob/devel/docs/cli.md
9
+ Project-URL: Repository, https://github.com/groopcd/oc-box.git
10
+ Project-URL: Issues, https://github.com/groopcd/oc-box/issues
11
+ Keywords: opencode,podman,containers,development,sandbox
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Software Development
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ License-File: NOTICE
27
+ Provides-Extra: vault
28
+ Requires-Dist: cryptography>=44; extra == "vault"
29
+ Provides-Extra: tui
30
+ Requires-Dist: textual<9,>=8.2.8; extra == "tui"
31
+ Requires-Dist: pyte<0.9,>=0.8.2; extra == "tui"
32
+ Dynamic: license-file
33
+
34
+ # oc-box
35
+
36
+ **Persistent rootless Podman development environments for unmodified OpenCode.**
37
+
38
+ Give OpenCode its own Linux environment for tools, packages and services while
39
+ mounting only your selected project by default. Keep the environment and
40
+ conversations between visits, without patching OpenCode or replacing its tools.
41
+
42
+ **The main documentation targets OpenCode 2.x.** OpenCode 1.x remains supported
43
+ as [legacy, with its own guide](docs/legacy/README.md).
44
+
45
+ [Get started](#quick-start) · [OpenCode 2.x docs](docs/README.md) ·
46
+ [Legacy 1.x](docs/legacy/README.md) ·
47
+ [Command reference](docs/cli.md) · [Security](SECURITY.md) ·
48
+ [Contributing](CONTRIBUTING.md)
49
+
50
+ > **Release channels:** stable is the default. The optional dashboard, host-file
51
+ > workflows and other 1.7 development features require explicit opt-in. A merged
52
+ > feature is not necessarily in a published package.
53
+ > [Choose a channel](docs/update-channels.md) ·
54
+ > [Development features and limitations](docs/releases/1.7.md)
55
+
56
+ <!-- readme-hero -->
57
+ ![oc-box OpenCode 2.x development dashboard with resource cards, workspace inventory and a selected-workspace inspector, using synthetic data](docs/assets/readme-hero.png)
58
+
59
+ *The experimental OpenCode 2.x dashboard, captured from the real interface with synthetic
60
+ read-only sample data. [Read the TUI guide](docs/tui.md#tui-guide).*
61
+
62
+ <!-- /readme-hero -->
63
+
64
+ ## Why oc-box?
65
+
66
+ - **A persistent development machine per project.** Install compilers, SDKs,
67
+ databases and distro packages inside the container.
68
+ - **Native OpenCode integrations.** MCP servers, formatters and plugins run
69
+ alongside OpenCode. See the [2.x capability reference](docs/opencode-2.md) for
70
+ version-specific limits.
71
+ - **Your choice of Linux.** Tumbleweed, Leap, Ubuntu, Debian, Fedora, Arch or Alpine.
72
+ - **Continuity without starting over.** Resume conversations, import host history
73
+ and rebuild the container OS while keeping the project and private home.
74
+ - **Explicit resource and hardware choices.** Set CPU/RAM/process ceilings and
75
+ opt in to device access.
76
+
77
+ Rootless containers are **not virtual machines**: they share the host kernel,
78
+ and your mounted project is writable. Read the [trust boundary](SECURITY.md)
79
+ before using oc-box with sensitive projects.
80
+
81
+ <a id="requirements-and-installation"></a>
82
+ <a id="install-from-pypi"></a>
83
+ <a id="install-from-github-or-source"></a>
84
+ <a id="github-installation-layout"></a>
85
+
86
+ ## Quick start
87
+
88
+ Run these commands on the **Linux host as your regular user**, not inside
89
+ oc-box and not with sudo.
90
+
91
+ ### 1. Install
92
+
93
+ You need Python 3.10+, host OpenCode **2.x**, Git, curl, rootless Podman with pasta
94
+ networking and delegated CPU/memory/process cgroup controllers. Initial setup
95
+ needs network access. See [installation and prerequisites](docs/installation.md)
96
+ for all methods.
97
+
98
+ **First installation — recommended GitHub path with vault and TUI:**
99
+
100
+ ```sh
101
+ curl -fsSL --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/groopcd/oc-box/master/install.sh | sh -s -- --devel --with-vault --with-tui
102
+ oc-box --version
103
+ oc-box doctor
104
+ ```
105
+
106
+ This explicitly selects a **published development release**, because stable
107
+ does not yet include the dashboard. Dependencies stay private to the GitHub
108
+ installation. This does not initialize or unlock a vault, change credential
109
+ policy, launch the dashboard or start a workspace. The command downloads and
110
+ runs the public installer; review it first if preferred.
111
+
112
+ **Already installed?** Use the existing installation, without rerunning curl:
113
+
114
+ ```sh
115
+ oc-box upgrade --devel --vault --tui # Add both extras and select development
116
+ # Or request either extra independently:
117
+ oc-box upgrade --devel --vault
118
+ oc-box upgrade --devel --tui
119
+ ```
120
+
121
+ These upgrade flags require a launcher release that supports them and a
122
+ published target supporting the requested extras. On an older channel-aware
123
+ launcher, upgrade normally first, then request extras. A source merge does not
124
+ make that release available. Requests are additive: omitted extras are not
125
+ removed, the same release can gain extras, and repeating a satisfied request is
126
+ a no-op. The command uses the verified existing installation owner; it does not
127
+ create a second copy.
128
+
129
+ Prefer stable without the dashboard, or a Python tool manager? See the
130
+ [installation alternatives](docs/installation.md). Do not install a second copy
131
+ just to enable optional features. Genuinely pre-channel launchers have a separate
132
+ [bootstrap compatibility route](docs/update-channels.md#bootstrap-and-older-installations).
133
+
134
+ ### 2. Choose how to supply credentials
135
+
136
+ Existing native OpenCode saved/OAuth authentication remains supported. If your
137
+ provider or MCP needs environment-variable credentials, initialize the encrypted
138
+ host vault **before the first project launch**:
139
+
140
+ ```sh
141
+ oc-box secrets init
142
+ oc-box secrets set ANTHROPIC_API_KEY
143
+ ```
144
+
145
+ Values are entered in masked host-terminal prompts, not command-line arguments.
146
+ Default V2 workspaces receive **all current vault entries** on each new owning
147
+ start; use an [explicit credential policy](docs/guides/credentials.md) when a
148
+ project should receive less. Native saved/OAuth auth is independent of the vault.
149
+
150
+ ### 3. Open a project
151
+
152
+ ```sh
153
+ mkdir -p ~/devel/demo
154
+ oc-box --project ~/devel/demo
155
+ ```
156
+
157
+ Initial setup installs the exact host OpenCode version and baseline development
158
+ tools. Later launches reuse the container, private home, caches and conversation
159
+ history. Your project stays at the same absolute path; the container home is a
160
+ private volume, **not your host home**.
161
+
162
+ Exit OpenCode normally to synchronize history and stop the environment. Run the
163
+ same command to return. Processes do not survive a stop.
164
+
165
+ [Complete first-workspace walkthrough →](docs/getting-started.md)
166
+
167
+ <a id="common-commands"></a>
168
+ <a id="persistence-and-deletion"></a>
169
+ <a id="maintenance-and-debugging"></a>
170
+ <a id="directory-recovery-and-duplicate-detection"></a>
171
+ <a id="continue-an-existing-host-session"></a>
172
+ <a id="select-a-distro-or-map-hardware"></a>
173
+ <a id="v2-conversation-archives"></a>
174
+
175
+ ## Everyday use
176
+
177
+ | I want to… | Command or guide |
178
+ | --- | --- |
179
+ | Resume the current project | `oc-box` |
180
+ | Start another conversation in the same environment | `oc-box --new` |
181
+ | List workspaces | `oc-box list` |
182
+ | Read resource and workspace status | `oc-box --status` |
183
+ | Stop a workspace | `oc-box stop --project ~/devel/demo` |
184
+ | Open the existing V2 session shell | `oc-box terminal --project ~/devel/demo` |
185
+ | Import history, repair identity or rebuild the OS | [Manage workspaces](docs/guides/workspaces.md) |
186
+ | Protect a workspace before changing it | [Back up and restore](docs/guides/backups.md) |
187
+
188
+ `--status` does not start or stop containers. Normal 2.x terminal attachment
189
+ requires an existing owner; `--maintenance` opens a restricted maintenance shell.
190
+ For 1.x behavior, use the [legacy terminal guide](docs/legacy/README.md#workspaces-and-terminal).
191
+ Reset/purge have different preservation rules—read the
192
+ [operation table](docs/guides/workspaces.md) before using destructive commands.
193
+
194
+ <a id="experimental-workspace-dashboard"></a>
195
+ <a id="opencode-2x-shared-clients"></a>
196
+ <a id="temporary-live-host-file-access-experimental"></a>
197
+ <a id="native-tui-host-imagepdf-drops-experimental"></a>
198
+ <a id="host-screenshots-for-one-session-experimental"></a>
199
+
200
+ ## Explore the development features
201
+
202
+ These features have separate prerequisites and validation scopes; they are not
203
+ all included in stable installations.
204
+
205
+ | Feature | Start here |
206
+ | --- | --- |
207
+ | Card-based workspace dashboard, sessions, logs and encrypted backups | [Dashboard and concurrent clients](docs/guides/clients.md) |
208
+ | Native TUI, browser and persistent session shell together | [Client workflows](docs/guides/clients.md) |
209
+ | Native TUI image/PDF imports, explicit image broker or live host-file tools | [Choose a host-file workflow](docs/guides/host-files.md) |
210
+ | Shared web tabs and optional browser-selected attachments | [Web interface reference](docs/cli.md#web--browser-interface) |
211
+ | Guarded history synchronization and recovery | [Workspace history](docs/guides/workspaces.md) |
212
+
213
+ > **Disclosure matters:** on supported development TUI clients, host importing is
214
+ > enabled by default. A qualifying path paste authorizes an image/PDF copy
215
+ > without per-file confirmation; disable it with the saved host-drop preference
216
+ > if that is not wanted. Clipboard imports are separately off by default:
217
+ > `--host-clipboard` saves the Ctrl+Y shortcut enabled for future workspace TUI
218
+ > clients; `--no-host-clipboard` or `preferences --host-clipboard off` saves disabled.
219
+ > Existing clients do not live-toggle, and only the shortcut reads the clipboard.
220
+ > Sharing, importing and attachments can disclose data to
221
+ > model providers or history. [Compare the workflows and consent rules](docs/guides/host-files.md).
222
+
223
+ <a id="integrations-and-permissions"></a>
224
+ <a id="global-v2-vault-and-explicit-workspace-credential-overrides"></a>
225
+ <a id="backup-and-restore"></a>
226
+
227
+ ## Understand the boundaries
228
+
229
+ - The agent can modify or delete the mounted project. Rootless isolation does
230
+ not remove network access or impose a disk quota.
231
+ - The container Build agent has broad tool permissions. Plan/child and explicit
232
+ mandatory-policy boundaries are distinct; see [configuration and permissions](docs/concepts.md).
233
+ - Delivered credentials are readable by the agent and its tools. The vault
234
+ protects storage before delivery, not against the recipient.
235
+ - The global host vault and outside env files are **not** included in workspace
236
+ backups. Preserve the encrypted vault and its passphrase separately.
237
+ - Reset, purge and restore are not interchangeable. Restoring a launcher or
238
+ selecting an older release does not roll back workspace/session state.
239
+
240
+ [Security and reporting](SECURITY.md) ·
241
+ [Credentials](docs/guides/credentials.md) · [Backup boundaries](docs/guides/backups.md)
242
+
243
+ <a id="upgrade-pypi-installations"></a>
244
+ <a id="upgrade-from-github"></a>
245
+ <a id="bash-completion"></a>
246
+
247
+ ## Documentation
248
+
249
+ The [documentation hub](docs/README.md) organizes the project by what you need
250
+ to do, rather than by development chronology.
251
+
252
+ | Learn or do | Read |
253
+ | --- | --- |
254
+ | Install, upgrade, enable extras or set up completion | [Installation](docs/installation.md) |
255
+ | Launch and return to your first workspace | [Getting started](docs/getting-started.md) |
256
+ | Manage environments, sessions, resources and recovery | [Workspace guide](docs/guides/workspaces.md) |
257
+ | Supply credentials and choose policies | [Credential guide](docs/guides/credentials.md) |
258
+ | Create, inspect and restore encrypted backups | [Backup guide](docs/guides/backups.md) |
259
+ | Find every command, option or troubleshooting entry | [CLI reference](docs/cli.md) |
260
+ | Understand storage, configuration and permissions | [Concepts](docs/concepts.md) |
261
+ | Check OpenCode version compatibility | [OpenCode 2.x guide](docs/opencode-2.md) |
262
+ | Operate an existing OpenCode 1.x installation | [Legacy 1.x documentation](docs/legacy/README.md) |
263
+ | Evaluate release readiness and historical evidence | [Project status](docs/project-status.md) |
264
+
265
+ Prebuilt `man oc-box` and `info oc-box` manuals are included in installations.
266
+ See [manual locations](docs/installation.md#read-the-manuals) if your reader does
267
+ not find them.
268
+
269
+ ## Development status
270
+
271
+ Development is active. The experimental manager's full restore returned zero
272
+ but its later integrity verifier refused `manifest`; portable UI/storage and
273
+ final preservation checks remain unaccepted. Publication does not declare those
274
+ gates passed. See [current limitations and source-scoped evidence](docs/project-status.md).
275
+
276
+ Want to contribute? Start with [CONTRIBUTING.md](CONTRIBUTING.md) and the
277
+ [test strategy](docs/testing.md). Ordinary offline tests are not live Podman
278
+ isolation or security acceptance.
279
+
280
+ ## License
281
+
282
+ Copyright (C) 2026 Paulo Dias <paulo.miguel.dias@gmail.com>.
283
+ Licensed [GPL-3.0-or-later](LICENSE), without warranty. See [NOTICE](NOTICE) for
284
+ attribution and acknowledgment of OpenAI coding-assistant contributions through
285
+ OpenCode. Other invoked programs retain their own licenses.