oc-box 1.7.223.dev0__tar.gz → 1.7.224.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.
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/AGENTS.md +5 -1
- {oc_box-1.7.223.dev0/src/oc_box.egg-info → oc_box-1.7.224.dev0}/PKG-INFO +1 -1
- oc_box-1.7.224.dev0/build-info.json +7 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/cli.md +53 -13
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/oc-box.1 +18 -6
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/oc-box.info +96 -51
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/oc-box.texi +21 -6
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/releases/1.7.md +79 -28
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/testing.md +41 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/history_recovery.py +3 -3
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/oc_box.py +75 -11
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0/src/oc_box.egg-info}/PKG-INFO +1 -1
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_history_recovery.py +144 -5
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_session_sync.py +44 -2
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_workspace_service.py +66 -20
- oc_box-1.7.223.dev0/build-info.json +0 -7
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/.github/workflows/ci.yml +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/.github/workflows/distros.yml +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/.github/workflows/linkedin.yml +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/.github/workflows/publish.yml +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/CONTRIBUTING.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/LICENSE +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/MANIFEST.in +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/NOTICE +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/README.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/SECURITY.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/completions/oc-box +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/host-plugins.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/opencode-2.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/plans/exit-sync-activity-timeout.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/release-announcements.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/releases/tui-v1.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/sharing-handoff.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/sharing-host-acceptance.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/tui.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/ui-state.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/update-channels.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/docs/web-shell.md +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/install.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/install.sh +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/pyproject.toml +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/setup.cfg +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/setup.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/_oc_box_build.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/__init__.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/__main__.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/activity_log.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/attachment_io.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/attachments.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/backup_archive.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/backup_crypto.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/backups.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/bootstrap.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/credentials.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/dependencies.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/history_reader.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/host_drop.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/host_drop_input.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/host_drop_io.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/install.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/installation.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/native_tabs.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/opencode_compat.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/opencode_v2_io.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/package_updates.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/paths.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/plugin_bridge.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/plugin_compat.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/private_memory.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/secret_prompt.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/session_backups.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/session_terminal.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/sharing.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/status_report.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/sync_config.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/terminal_ui.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_app.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_backend.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_backup_workflow.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_clipboard.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_logs.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_management.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_notifications.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_operation_io.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_operations.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_sessions.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_settings.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_status.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_storage.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/tui_terminal.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/ui_state.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/ui_state_memory.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/ui_state_rpc.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/ui_state_server.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/ui_state_tui.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/update_channels.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/updater.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/vault.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/version_info.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/web_attachments.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/web_attachments.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/web_sessions.css +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/web_sessions.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/web_sessions.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/workspace_control.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/workspace_identity.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/workspace_preferences.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box/workspace_service.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box.egg-info/SOURCES.txt +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box.egg-info/dependency_links.txt +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box.egg-info/entry_points.txt +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box.egg-info/requires.txt +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/src/oc_box.egg-info/top_level.txt +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/copied_plugin_bytes.mjs +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/fixture_services.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/host_sandbox_fixture.mjs +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/interrupted_v1_fixture.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/native_plugin_fixture.mjs +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/plugin_bridge_fixture.mjs +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_attachments_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_build_permissions_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_global_vault.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_global_vault_host_helpers.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_history_recovery_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_history_subagent_recovery_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_host_drop_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_host_plugins.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_image_preview_preferences_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_mainline.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_native_host_port.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_native_preferences_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_native_tabs_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_session_backup_transport_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_session_backups_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_session_sync_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_sharing_host_helpers.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_sharing_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_tui_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_ui_state_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_web_attachments_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/smoke_web_sessions_v2.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_activity_log.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_attachment_io.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_attachments.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_backup_archive.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_backup_crypto.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_backups.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_channel_bootstrap.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_channel_installer.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_channel_updater.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_completion.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_dependencies.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_documentation.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_global_vault.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_global_vault_edges_host_fixture.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_global_vault_host_fixture.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_global_vault_launch.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_history_reader.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_history_source_lease.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_home_ownership_host_fixture.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_host_drop.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_host_drop_input.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_host_drop_io.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_host_drop_preferences.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_host_plugin_migration.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_image_preview.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_interactive_host_fixture.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_interactive_host_service_port.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_native_host_port.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_native_recovery_process.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_native_tab_routing.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_native_tabs.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_oc_box.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_opencode_compat.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_package_updates.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_packaging.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_plugin_compat.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_podman_options.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_private_memory.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_private_output.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_process_io.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_release_announcement_workflows.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_release_announcements.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_release_artifacts.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_release_card.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_release_channels.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_secret_prompt.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_session_backups.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_session_import.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_session_sync_host_fixture.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_session_terminal.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_archive_scan.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_backup_diagnostic.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_backup_probe.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_fixture_provider.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_host_fixture.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_host_oracles.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_owner_control.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_pax_metadata.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_pax_reason.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_session_payload.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sharing_transport.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_src_layout.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_stale_workspaces.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_startup.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_status.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_sync_config_preferences.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_terminal.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_app.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_backend.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_backup_integration.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_backup_workflow.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_card_layout.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_card_metrics.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_cli.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_clipboard.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_clipboard_privacy.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_delete_notifications.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_display_performance.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_global_interactions.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_input_controls.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_installation.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_loading.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_log_feedback.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_logs.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_management.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_management_cards.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_notifications.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_operation_io.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_operation_results.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_operations.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_selection.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_sessions.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_settings.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_status.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_storage.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_tui_terminal.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_ui_state.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_update_channels.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_updater.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_upgrade_cli.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_v2_host_fixture.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_vault.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_version.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_web_attachments.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_web_sessions.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_workspace_control.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_workspace_identity.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_workspace_preferences.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/test_workspace_repair.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/ui_state_fixture.mjs +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/web_attachments_browser.mjs +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/web_attachments_shell_dom.mjs +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tests/web_sessions_dom.mjs +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/announce_release.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/benchmark_tui_display.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/build_docs.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/check_package.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/check_release.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/check_release_artifacts.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/diagnose_import.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/diagnose_sharing_backup.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/host_sandbox.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/migrate_host_plugins.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/native_plugins/lemonade-models/index.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/native_plugins/no-nested-sandbox/index.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/native_plugins/output-clamp/index.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/native_plugins/pdf-to-text/index.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/native_plugins/python-isolation/index.js +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/port_host_plugins.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/release_card.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/sharing_archive_scan.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/sharing_archive_scan_original.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/sharing_backup_probe.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/sharing_fixture_provider.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/sharing_pax_reason.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/test_backup_podman.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/test_dependency_distro.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/test_global_vault_edges_podman.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/test_global_vault_podman.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/test_home_ownership_podman.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/test_interactive_podman.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/test_session_sync_podman.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/test_sharing_podman.py +0 -0
- {oc_box-1.7.223.dev0 → oc_box-1.7.224.dev0}/tools/test_v2_podman.py +0 -0
|
@@ -154,7 +154,11 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
154
154
|
immutable same-resource restart, stop intent/admission and persistent uncertainty
|
|
155
155
|
fences. Readers are unregistered/non-executing, with source/destination scheduler
|
|
156
156
|
metadata and system-config refusals, one endpoint, unchanged checked exports and
|
|
157
|
-
host verification
|
|
157
|
+
host verification and separate cleanup. Preserve original client nonzero results
|
|
158
|
+
and interruption/unconfirmed-completion warnings; only raw client exit 0 plus
|
|
159
|
+
complete verified archival, recovery cleanup and final stop may return 0 after a
|
|
160
|
+
live timeout. Unknown client status, partial/failure or uncertain cleanup remains
|
|
161
|
+
nonzero with retry-sync guidance; historical accepted exit records stay unchanged.
|
|
158
162
|
Never clear an uncertain start without verified transition completion, resume
|
|
159
163
|
work, refresh credentials, create replacement resources or infer host acceptance
|
|
160
164
|
from local native/process fixtures. The focused host recovery gate is additional
|
|
@@ -203,6 +203,8 @@ Cold startup includes image/package/plugin downloads. Interactive stage feedback
|
|
|
203
203
|
including history sync, uses one width-bounded spinning line with elapsed time;
|
|
204
204
|
completion or failure replaces that line with one final result. Noninteractive
|
|
205
205
|
or `TERM=dumb` output stays plain, with start/final lines and no periodic repeats.
|
|
206
|
+
The live-readiness wait is labeled separately from actual history archive copying;
|
|
207
|
+
a successful checked post-stop copy is not reported as an overall sync failure.
|
|
206
208
|
A separate loading line covers blank TUI startup frames and disappears when
|
|
207
209
|
OpenCode draws text. Warm launches retain compatible caches.
|
|
208
210
|
The container OpenCode version is verified against the host on every launch;
|
|
@@ -437,6 +439,8 @@ host database. It stops the container afterward, even if it had been running.
|
|
|
437
439
|
Manual `sync` retains ordinary runtime preparation and native service startup,
|
|
438
440
|
including configured integrations and native scheduling behavior. It is not the
|
|
439
441
|
isolated, non-executing post-stop reader used by automatic timeout recovery.
|
|
442
|
+
Both use the same checked `sync_sessions` archival implementation; automatic
|
|
443
|
+
recovery does not recursively launch this command or repeat its preparation.
|
|
440
444
|
|
|
441
445
|
On V2, discovery reads every native API page at the workspace's internal project
|
|
442
446
|
directory, including archived conversations, forks, and linked child/subagent
|
|
@@ -481,6 +485,12 @@ replacement, child guards and fresh-native verification remain serialized and
|
|
|
481
485
|
unchanged. No metadata timestamp shortcut or parallel database mutation is used.
|
|
482
486
|
Overall success is announced only after the private source lease closes cleanly.
|
|
483
487
|
|
|
488
|
+
The sync summary reports only aggregate session, exported, unchanged, updated and
|
|
489
|
+
pending counts, elapsed time and a fixed source mode (`post-stop-reader`,
|
|
490
|
+
`private-endpoint` or `standalone`). It does not include session IDs, titles,
|
|
491
|
+
commands/argv, environment values, native errors or model values. This feedback
|
|
492
|
+
does not speed up source exports or archive writes; further optimization is deferred.
|
|
493
|
+
|
|
484
494
|
V2 exports are checked against the paginated projected transcript. An unfinished
|
|
485
495
|
tail assistant, running user shell/compaction, or changing transcript leaves that
|
|
486
496
|
session pending, while other sessions can still synchronize. In an inactive
|
|
@@ -682,9 +692,11 @@ rootless-Podman acceptance claim.
|
|
|
682
692
|
After the last client exits, V2 final sync waits up to 30 seconds for the same
|
|
683
693
|
private server's foreground sessions and unconsumed background jobs to settle.
|
|
684
694
|
An idle persistent shell terminal does not block this wait. Timeout or an invalid
|
|
685
|
-
activity response
|
|
686
|
-
|
|
687
|
-
|
|
695
|
+
activity response refuses live history export. Unless the guarded post-stop path
|
|
696
|
+
below completes in full, history remains pending and the command returns nonzero.
|
|
697
|
+
Normal cleanup still stops the container, so running work is not promised to
|
|
698
|
+
continue. This is bounded checking, not an atomic freeze of every possible
|
|
699
|
+
history producer.
|
|
688
700
|
On timeout, a separate diagnostic reports the wait phase (`foreground-query`,
|
|
689
701
|
`background-query` or `poll-delay`) and counts from the last complete, validated
|
|
690
702
|
activity/job observation. Job counts distinguish running, completed, error and
|
|
@@ -708,10 +720,19 @@ unverified-owner-close refusals are also distinguished. These labels do not waiv
|
|
|
708
720
|
any guard or establish that a job completed. Do not clear control markers, remove
|
|
709
721
|
job rows or reset a workspace merely to bypass a refusal.
|
|
710
722
|
|
|
711
|
-
The 30-
|
|
712
|
-
duration limit for the entire synchronization.
|
|
713
|
-
|
|
714
|
-
|
|
723
|
+
The 30 seconds are oc-box's live-readiness grace, not a native export/import
|
|
724
|
+
timeout or a duration limit for the entire synchronization. This grace remains
|
|
725
|
+
unchanged. The two paths differ:
|
|
726
|
+
|
|
727
|
+
* Automatic owner exit waits up to 30 seconds before live export; an eligible
|
|
728
|
+
timeout may then use the guarded post-stop reader. Checked exports, host
|
|
729
|
+
imports and native verification take additional time.
|
|
730
|
+
* Explicit `oc-box sync` has no original owner's live-readiness wait. It uses
|
|
731
|
+
the same checked archival implementation, with ordinary manual-sync
|
|
732
|
+
preparation and cleanup.
|
|
733
|
+
|
|
734
|
+
A later successful manual sync does not prove that earlier running work was safe
|
|
735
|
+
to ignore.
|
|
715
736
|
|
|
716
737
|
Native OpenCode 2.2.6/2.2.7 can retain a cancelled background-shell job after a
|
|
717
738
|
location reload, even with no foreground activity. Such a row still blocks the
|
|
@@ -768,12 +789,24 @@ the normal pending-history/manual-sync behavior.
|
|
|
768
789
|
Snapshots retain the existing complete-inventory, checked-export, pending-session
|
|
769
790
|
and verified-host-import safeguards. Native startup/projection can maintain its
|
|
770
791
|
database; this is not a byte-read-only database backup. No native job is deleted,
|
|
771
|
-
rewritten or declared completed
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
792
|
+
rewritten or declared completed, and no queued input is acknowledged.
|
|
793
|
+
|
|
794
|
+
**A raw client exit of `0` can return CLI status `0` after a live timeout only
|
|
795
|
+
when the existing guarded reader completes every checked export, import and native
|
|
796
|
+
verification, recovery cleanup succeeds, and the final container stop is
|
|
797
|
+
verified.** The warning still states that execution was interrupted and background
|
|
798
|
+
completion is unconfirmed: completion notices or final results may be missing.
|
|
799
|
+
This policy is the same for owning native TUI and web launches. Actual raw client
|
|
800
|
+
failures, including exit `7` or cancellation, are never converted to success.
|
|
801
|
+
Unknown raw client status, pending/partial history, any sync/recovery failure or
|
|
802
|
+
failed/uncertain cleanup remains nonzero. Whenever history sync, recovery or
|
|
803
|
+
cleanup fails, the guidance to retry `oc-box sync` remains; resolve the refusal
|
|
804
|
+
before retrying, without resetting or purging the workspace.
|
|
805
|
+
|
|
806
|
+
Historical job rows can remain running-looking on the next owner; the same
|
|
807
|
+
bounded post-stop path may save another snapshot, but does not make the underlying
|
|
808
|
+
native owner healthy. Neither job age nor a terminal-looking status is a recovery
|
|
809
|
+
exemption. Recovery evidence and release-validation requirements are documented in the
|
|
777
810
|
[test strategy](testing.md#reviewed-focused-recovery-host-acceptance).
|
|
778
811
|
|
|
779
812
|
`--no-vault` is accepted only when web becomes a new V2 owner; an attached web
|
|
@@ -3032,6 +3065,13 @@ a successful native TUI followed by failed history
|
|
|
3032
3065
|
sync also returns `1` and retains container data. Argument syntax errors return
|
|
3033
3066
|
`2`. A Python KeyboardInterrupt handled by the launcher returns `130`.
|
|
3034
3067
|
An exception during final cleanup can also cause a nonzero result.
|
|
3068
|
+
For owning V2 TUI/web launches, a live-readiness timeout alone does not force
|
|
3069
|
+
failure if the raw client exited `0` and guarded post-stop archival, native
|
|
3070
|
+
verification, recovery cleanup and final stop all complete. The interruption and
|
|
3071
|
+
unconfirmed-background-completion warning remains. Raw client failures and
|
|
3072
|
+
cancellation remain nonzero even if archives were saved; unknown client status,
|
|
3073
|
+
pending/partial history or failed/uncertain cleanup cannot become success.
|
|
3074
|
+
Failed sync, recovery or cleanup retains the guidance to retry `oc-box sync`.
|
|
3035
3075
|
|
|
3036
3076
|
Warnings about host devices/SELinux do not themselves make creation fail.
|
|
3037
3077
|
Podman/driver errors still propagate. A nonzero status is not permission to
|
|
@@ -104,7 +104,7 @@ oc\-box \-\-project ~/devel/demo \-\-host\-drop
|
|
|
104
104
|
.PP
|
|
105
105
|
For V2, initialize and populate the host vault **before the first project launch** to use the global default immediately; see secrets below for installation and masked input. No per\-project credential registration is needed. Each new owner unlocks once and delivers all current entries unless an explicit env/selected policy overrides it. Changes to vault values/names apply on the next new owner, not to attached clients. With no vault, env\-file fallback remains available with concise setup guidance. Native OpenCode saved/OAuth credential refresh/copy remains independent in every mode. \fB\-\-no\-vault\fR opts out for one owning V2 launch without saving policy. Configured vault failures abort before setup; they do not silently fall back to the environment.
|
|
106
106
|
.PP
|
|
107
|
-
Cold startup includes image/package/plugin downloads. Interactive stage feedback, including history sync, uses one width\-bounded spinning line with elapsed time; completion or failure replaces that line with one final result. Noninteractive or \fBTERM=dumb\fR output stays plain, with start/final lines and no periodic repeats. A separate loading line covers blank TUI startup frames and disappears when OpenCode draws text. Warm launches retain compatible caches. The container OpenCode version is verified against the host on every launch; exact upgrades and downgrades are supported, with no fallback to another release. With a V2 release supporting image previews, \fB\-\-image\-preview\fR enables prompt and transcript image previews through an ephemeral native\-CLI overlay for this owning TUI generation, without replacing saved private preferences. See the option below for compatibility and lifetime.
|
|
107
|
+
Cold startup includes image/package/plugin downloads. Interactive stage feedback, including history sync, uses one width\-bounded spinning line with elapsed time; completion or failure replaces that line with one final result. Noninteractive or \fBTERM=dumb\fR output stays plain, with start/final lines and no periodic repeats. The live\-readiness wait is labeled separately from actual history archive copying; a successful checked post\-stop copy is not reported as an overall sync failure. A separate loading line covers blank TUI startup frames and disappears when OpenCode draws text. Warm launches retain compatible caches. The container OpenCode version is verified against the host on every launch; exact upgrades and downgrades are supported, with no fallback to another release. With a V2 release supporting image previews, \fB\-\-image\-preview\fR enables prompt and transcript image previews through an ephemeral native\-CLI overlay for this owning TUI generation, without replacing saved private preferences. See the option below for compatibility and lifetime.
|
|
108
108
|
.PP
|
|
109
109
|
Native V2 terminal preferences are container\-local. Host \fBcli.json\fR seeds an absent private file, but later config refreshes preserve the container's existing file, including explicit permission, notification, theme and tab\-scope choices. Use Ctrl+P → Open settings inside that container to change them. Normal server configuration, authentication and plugin refreshes remain separate. oc\-box does not force autoaccept or copy the container's preferences back to the host.
|
|
110
110
|
.PP
|
|
@@ -199,7 +199,7 @@ The foreground broker holds an explicit existing\-workspace client lease. Ctrl\-
|
|
|
199
199
|
.PP
|
|
200
200
|
Refresh host conversation archives without opening the TUI. Requires an existing workspace and an intact project directory. It starts or recreates the container if needed, prepares its runtime/configuration, discovers saved sessions, exports them, and imports separate namespaced archive copies into the host database. It stops the container afterward, even if it had been running.
|
|
201
201
|
.PP
|
|
202
|
-
Manual \fBsync\fR retains ordinary runtime preparation and native service startup, including configured integrations and native scheduling behavior. It is not the isolated, non\-executing post\-stop reader used by automatic timeout recovery.
|
|
202
|
+
Manual \fBsync\fR retains ordinary runtime preparation and native service startup, including configured integrations and native scheduling behavior. It is not the isolated, non\-executing post\-stop reader used by automatic timeout recovery. Both use the same checked \fBsync_sessions\fR archival implementation; automatic recovery does not recursively launch this command or repeat its preparation.
|
|
203
203
|
.PP
|
|
204
204
|
On V2, discovery reads every native API page at the workspace's internal project directory, including archived conversations, forks, and linked child/subagent sessions. Separate conversations are never merged. Sessions at other locations, including nested directories, are outside this exact\-directory scope. Automatic resume still selects a top\-level conversation, not a recently active child. A successful complete inventory removes missing/deleted or moved\-away sources from active export tracking while retaining their last private and host archives. An unavailable or invalid inventory is an error, never evidence of deletion.
|
|
205
205
|
.PP
|
|
@@ -209,6 +209,8 @@ An active oc\-box launcher holds a workspace lock, so exit it before syncing. Us
|
|
|
209
209
|
.PP
|
|
210
210
|
This optimization does not apply to existing owners or post\-stop recovery readers, and does not change their readiness/stop guarantees. Destination replacement, child guards and fresh\-native verification remain serialized and unchanged. No metadata timestamp shortcut or parallel database mutation is used. Overall success is announced only after the private source lease closes cleanly.
|
|
211
211
|
.PP
|
|
212
|
+
The sync summary reports only aggregate session, exported, unchanged, updated and pending counts, elapsed time and a fixed source mode (\fBpost\-stop\-reader\fR, \fBprivate\-endpoint\fR or \fBstandalone\fR). It does not include session IDs, titles, commands/argv, environment values, native errors or model values. This feedback does not speed up source exports or archive writes; further optimization is deferred.
|
|
213
|
+
.PP
|
|
212
214
|
V2 exports are checked against the paginated projected transcript. An unfinished tail assistant, running user shell/compaction, or changing transcript leaves that session pending, while other sessions can still synchronize. In an inactive session, an unfinished assistant followed by settled messages is superseded: sync mirrors native's export and annotates the omitted count. The exception is refused while that session is active. See the Sessions and recovery section. History archives are not full backups of pending input, execution state, or persistent shell terminals; use encrypted workspace backup for full private state.
|
|
213
215
|
.PP
|
|
214
216
|
.nf
|
|
@@ -263,11 +265,17 @@ Spectacle/browser/Wayland/X11/portal combinations can expose a temporary file as
|
|
|
263
265
|
.PP
|
|
264
266
|
Native browser draft storage, including **IndexedDB**, still stores attachment data. Sending can retain it in container history and disclose it to the selected provider; ordinary history synchronization still applies. Removal/detach is not guaranteed erasure or recall. Pairing/session cookies remain governed by native authentication; the adapter does not put the controller password into a URL, HTML, JavaScript, files or browser storage. Standard browser file authorization or desktop portal UI may still be required by the browser/desktop itself. Synthetic DOM/API checks are not an interactive Spectacle/browser or live rootless\-Podman acceptance claim.
|
|
265
267
|
.PP
|
|
266
|
-
After the last client exits, V2 final sync waits up to 30 seconds for the same private server's foreground sessions and unconsumed background jobs to settle. An idle persistent shell terminal does not block this wait. Timeout or an invalid activity response
|
|
268
|
+
After the last client exits, V2 final sync waits up to 30 seconds for the same private server's foreground sessions and unconsumed background jobs to settle. An idle persistent shell terminal does not block this wait. Timeout or an invalid activity response refuses live history export. Unless the guarded post\-stop path below completes in full, history remains pending and the command returns nonzero. Normal cleanup still stops the container, so running work is not promised to continue. This is bounded checking, not an atomic freeze of every possible history producer. On timeout, a separate diagnostic reports the wait phase (\fBforeground\-query\fR, \fBbackground\-query\fR or \fBpoll\-delay\fR) and counts from the last complete, validated activity/job observation. Job counts distinguish running, completed, error and cancelled entries, with separate allowlisted shell/subagent/image kind counts; counts above 9999 appear as \fB9999+\fR\&. If no complete pair was validated, the observation is \fBunavailable\fR, not zero. These are previous observations, not proof of the current state or that a native request succeeded: a request failure at the deadline also retains the \fBactivity\-timeout\fR category. No session/job identifiers, commands, transcript text or native errors are printed.
|
|
267
269
|
.PP
|
|
268
270
|
If automatic post\-stop recovery is not attempted, a separate fixed\-category line explains its routing guards. For example, \fBcustom\-podman\-options\fR means the container baseline is outside this conservative path; \fBnon\-shell\-jobs\fR is the legacy fixed label for jobs outside that native version's audited snapshot profile, including image jobs on 2.3.0. \fBinsufficient\-shell\-observations\fR or the 2.3.0 counterpart \fBinsufficient\-job\-observations\fR means fewer than two qualifying pairs were retained. Native 2.3.0 has a separately audited retained\-subagent profile; unsupported job kinds still refuse automatic recovery. Control\-state, attached\-client and unverified\-owner\-close refusals are also distinguished. These labels do not waive any guard or establish that a job completed. Do not clear control markers, remove job rows or reset a workspace merely to bypass a refusal.
|
|
269
271
|
.PP
|
|
270
|
-
The 30\-
|
|
272
|
+
The 30 seconds are oc\-box's live\-readiness grace, not a native export/import timeout or a duration limit for the entire synchronization. This grace remains unchanged. The two paths differ:
|
|
273
|
+
.IP "\(bu" 2
|
|
274
|
+
Automatic owner exit waits up to 30 seconds before live export; an eligible timeout may then use the guarded post\-stop reader. Checked exports, host imports and native verification take additional time.
|
|
275
|
+
.IP "\(bu" 2
|
|
276
|
+
Explicit \fBoc\-box sync\fR has no original owner's live\-readiness wait. It uses the same checked archival implementation, with ordinary manual\-sync preparation and cleanup.
|
|
277
|
+
.PP
|
|
278
|
+
A later successful manual sync does not prove that earlier running work was safe to ignore.
|
|
271
279
|
.PP
|
|
272
280
|
Native OpenCode 2.2.6/2.2.7 can retain a cancelled background\-shell job after a location reload, even with no foreground activity. Such a row still blocks the wait; it is not safe to ignore terminal\-status jobs generally because their completion notices can restart foreground work. A successful later \fBoc\-box sync\fR checks native exports without the original owner's activity wait and does not prove that its retained job disappeared. The native job\-cleanup issue is not repaired by the diagnostic or by the persisted\-history snapshot described below. Native 2.3.0 drains the reload case, but can retain a running shell after its producer terminates. It can also retain durable running subagent jobs after the old producer closes, while a new unregistered process reports no foreground activity. Foreground activity describes that process, not proof that durable jobs finished. Retained work still blocks the ordinary live wait.
|
|
273
281
|
.PP
|
|
@@ -283,7 +291,11 @@ After the owner closes normally and all clients detach, oc\-box verifies and sto
|
|
|
283
291
|
.PP
|
|
284
292
|
This conservative path requires a passive container entrypoint, no custom Podman arguments or automatic health/restart/shell\-loader hooks, and validated identity/home mounts. It also refuses native scheduler rows (including paused/completed rows), unknown scheduler schemas, unsafe stores and nonempty system OpenCode configuration. Read\-only executable\-version probes must match the captured supported release on both sides; a binary changed during the session does not inherit that proof. Source and destination helpers use isolated configuration, execution denials and disabled scheduling/warming; disabling scheduling alone is insufficient because native restart notification handling can still wake work. Other failures retain the normal pending\-history/manual\-sync behavior.
|
|
285
293
|
.PP
|
|
286
|
-
Snapshots retain the existing complete\-inventory, checked\-export, pending\-session and verified\-host\-import safeguards. Native startup/projection can maintain its database; this is not a byte\-read\-only database backup. No native job is deleted, rewritten or declared completed
|
|
294
|
+
Snapshots retain the existing complete\-inventory, checked\-export, pending\-session and verified\-host\-import safeguards. Native startup/projection can maintain its database; this is not a byte\-read\-only database backup. No native job is deleted, rewritten or declared completed, and no queued input is acknowledged.
|
|
295
|
+
.PP
|
|
296
|
+
**A raw client exit of \fB0\fR can return CLI status \fB0\fR after a live timeout only when the existing guarded reader completes every checked export, import and native verification, recovery cleanup succeeds, and the final container stop is verified.** The warning still states that execution was interrupted and background completion is unconfirmed: completion notices or final results may be missing. This policy is the same for owning native TUI and web launches. Actual raw client failures, including exit \fB7\fR or cancellation, are never converted to success. Unknown raw client status, pending/partial history, any sync/recovery failure or failed/uncertain cleanup remains nonzero. Whenever history sync, recovery or cleanup fails, the guidance to retry \fBoc\-box sync\fR remains; resolve the refusal before retrying, without resetting or purging the workspace.
|
|
297
|
+
.PP
|
|
298
|
+
Historical job rows can remain running\-looking on the next owner; the same bounded post\-stop path may save another snapshot, but does not make the underlying native owner healthy. Neither job age nor a terminal\-looking status is a recovery exemption. Recovery evidence and release\-validation requirements are documented in the [test strategy](testing.md#reviewed\-focused\-recovery\-host\-acceptance).
|
|
287
299
|
.PP
|
|
288
300
|
\fB\-\-no\-vault\fR is accepted only when web becomes a new V2 owner; an attached web client rejects it and never changes the owner's credential snapshot.
|
|
289
301
|
.SS tui — experimental workspace manager
|
|
@@ -1262,7 +1274,7 @@ The experimental dashboard keeps favorites as private UI state, not native OpenC
|
|
|
1262
1274
|
The home volume is \fBoc\-box\-home\-ID\fR, mounted at the host user's home pathname. OpenCode data lives under its \fB\&.local/\:share/\:opencode/\:\fR\&. Copied configuration and generated \fBoc\-box\-profile.json\fR live under \fB\&.config/\:opencode/\:\fR\&. The matching OpenCode executable is \fB/\:opt/\:oc\-box/\:runtime/\:bin/\:opencode\fR; Node/npm, Python/uv, Bash, Git, ripgrep, curl, archive tools, and PDF tools are provided by baseline setup. Additional system tools belong to the container OS layer.
|
|
1263
1275
|
.SH EXIT STATUS
|
|
1264
1276
|
.PP
|
|
1265
|
-
\fB0\fR means successful informational/lifecycle work or normal dashboard exit. A native OpenCode conversation TUI launch normally returns OpenCode/Podman's exit code. oc\-box validation, backend, setup, and sync failures return \fB1\fR; a successful native TUI followed by failed history sync also returns \fB1\fR and retains container data. Argument syntax errors return \fB2\fR\&. A Python KeyboardInterrupt handled by the launcher returns \fB130\fR\&. An exception during final cleanup can also cause a nonzero result.
|
|
1277
|
+
\fB0\fR means successful informational/lifecycle work or normal dashboard exit. A native OpenCode conversation TUI launch normally returns OpenCode/Podman's exit code. oc\-box validation, backend, setup, and sync failures return \fB1\fR; a successful native TUI followed by failed history sync also returns \fB1\fR and retains container data. Argument syntax errors return \fB2\fR\&. A Python KeyboardInterrupt handled by the launcher returns \fB130\fR\&. An exception during final cleanup can also cause a nonzero result. For owning V2 TUI/web launches, a live\-readiness timeout alone does not force failure if the raw client exited \fB0\fR and guarded post\-stop archival, native verification, recovery cleanup and final stop all complete. The interruption and unconfirmed\-background\-completion warning remains. Raw client failures and cancellation remain nonzero even if archives were saved; unknown client status, pending/partial history or failed/uncertain cleanup cannot become success. Failed sync, recovery or cleanup retains the guidance to retry \fBoc\-box sync\fR\&.
|
|
1266
1278
|
.PP
|
|
1267
1279
|
Warnings about host devices/SELinux do not themselves make creation fail. Podman/driver errors still propagate. A nonzero status is not permission to purge data; recover or inspect the existing environment first.
|
|
1268
1280
|
.SH EXAMPLES
|
|
@@ -270,15 +270,18 @@ Cold startup includes image/package/plugin downloads. Interactive stage
|
|
|
270
270
|
feedback, including history sync, uses one width-bounded spinning line
|
|
271
271
|
with elapsed time; completion or failure replaces that line with one
|
|
272
272
|
final result. Noninteractive or ‘TERM=dumb’ output stays plain, with
|
|
273
|
-
start/final lines and no periodic repeats.
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
and
|
|
280
|
-
|
|
281
|
-
|
|
273
|
+
start/final lines and no periodic repeats. The live-readiness wait is
|
|
274
|
+
labeled separately from actual history archive copying; a successful
|
|
275
|
+
checked post-stop copy is not reported as an overall sync failure. A
|
|
276
|
+
separate loading line covers blank TUI startup frames and disappears
|
|
277
|
+
when OpenCode draws text. Warm launches retain compatible caches. The
|
|
278
|
+
container OpenCode version is verified against the host on every launch;
|
|
279
|
+
exact upgrades and downgrades are supported, with no fallback to another
|
|
280
|
+
release. With a V2 release supporting image previews, ‘--image-preview’
|
|
281
|
+
enables prompt and transcript image previews through an ephemeral
|
|
282
|
+
native-CLI overlay for this owning TUI generation, without replacing
|
|
283
|
+
saved private preferences. See the option below for compatibility and
|
|
284
|
+
lifetime.
|
|
282
285
|
|
|
283
286
|
Native V2 terminal preferences are container-local. Host ‘cli.json’
|
|
284
287
|
seeds an absent private file, but later config refreshes preserve the
|
|
@@ -526,7 +529,9 @@ afterward, even if it had been running.
|
|
|
526
529
|
Manual ‘sync’ retains ordinary runtime preparation and native service
|
|
527
530
|
startup, including configured integrations and native scheduling
|
|
528
531
|
behavior. It is not the isolated, non-executing post-stop reader used
|
|
529
|
-
by automatic timeout recovery.
|
|
532
|
+
by automatic timeout recovery. Both use the same checked
|
|
533
|
+
‘sync_sessions’ archival implementation; automatic recovery does not
|
|
534
|
+
recursively launch this command or repeat its preparation.
|
|
530
535
|
|
|
531
536
|
On V2, discovery reads every native API page at the workspace's internal
|
|
532
537
|
project directory, including archived conversations, forks, and linked
|
|
@@ -579,6 +584,13 @@ remain serialized and unchanged. No metadata timestamp shortcut or
|
|
|
579
584
|
parallel database mutation is used. Overall success is announced only
|
|
580
585
|
after the private source lease closes cleanly.
|
|
581
586
|
|
|
587
|
+
The sync summary reports only aggregate session, exported, unchanged,
|
|
588
|
+
updated and pending counts, elapsed time and a fixed source mode
|
|
589
|
+
(‘post-stop-reader’, ‘private-endpoint’ or ‘standalone’). It does not
|
|
590
|
+
include session IDs, titles, commands/argv, environment values, native
|
|
591
|
+
errors or model values. This feedback does not speed up source exports
|
|
592
|
+
or archive writes; further optimization is deferred.
|
|
593
|
+
|
|
582
594
|
V2 exports are checked against the paginated projected transcript. An
|
|
583
595
|
unfinished tail assistant, running user shell/compaction, or changing
|
|
584
596
|
transcript leaves that session pending, while other sessions can still
|
|
@@ -800,20 +812,22 @@ Spectacle/browser or live rootless-Podman acceptance claim.
|
|
|
800
812
|
After the last client exits, V2 final sync waits up to 30 seconds for
|
|
801
813
|
the same private server's foreground sessions and unconsumed background
|
|
802
814
|
jobs to settle. An idle persistent shell terminal does not block this
|
|
803
|
-
wait. Timeout or an invalid activity response
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
815
|
+
wait. Timeout or an invalid activity response refuses live history
|
|
816
|
+
export. Unless the guarded post-stop path below completes in full,
|
|
817
|
+
history remains pending and the command returns nonzero. Normal cleanup
|
|
818
|
+
still stops the container, so running work is not promised to continue.
|
|
819
|
+
This is bounded checking, not an atomic freeze of every possible history
|
|
820
|
+
producer. On timeout, a separate diagnostic reports the wait phase
|
|
821
|
+
(‘foreground-query’, ‘background-query’ or ‘poll-delay’) and counts from
|
|
822
|
+
the last complete, validated activity/job observation. Job counts
|
|
823
|
+
distinguish running, completed, error and cancelled entries, with
|
|
824
|
+
separate allowlisted shell/subagent/image kind counts; counts above 9999
|
|
825
|
+
appear as ‘9999+’. If no complete pair was validated, the observation
|
|
826
|
+
is ‘unavailable’, not zero. These are previous observations, not proof
|
|
827
|
+
of the current state or that a native request succeeded: a request
|
|
828
|
+
failure at the deadline also retains the ‘activity-timeout’ category.
|
|
829
|
+
No session/job identifiers, commands, transcript text or native errors
|
|
830
|
+
are printed.
|
|
817
831
|
|
|
818
832
|
If automatic post-stop recovery is not attempted, a separate
|
|
819
833
|
fixed-category line explains its routing guards. For example,
|
|
@@ -829,11 +843,20 @@ refusals are also distinguished. These labels do not waive any guard or
|
|
|
829
843
|
establish that a job completed. Do not clear control markers, remove
|
|
830
844
|
job rows or reset a workspace merely to bypass a refusal.
|
|
831
845
|
|
|
832
|
-
The 30
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
846
|
+
The 30 seconds are oc-box's live-readiness grace, not a native
|
|
847
|
+
export/import timeout or a duration limit for the entire
|
|
848
|
+
synchronization. This grace remains unchanged. The two paths differ:
|
|
849
|
+
|
|
850
|
+
• Automatic owner exit waits up to 30 seconds before live export; an
|
|
851
|
+
eligible timeout may then use the guarded post-stop reader.
|
|
852
|
+
Checked exports, host imports and native verification take
|
|
853
|
+
additional time.
|
|
854
|
+
• Explicit ‘oc-box sync’ has no original owner's live-readiness wait.
|
|
855
|
+
It uses the same checked archival implementation, with ordinary
|
|
856
|
+
manual-sync preparation and cleanup.
|
|
857
|
+
|
|
858
|
+
A later successful manual sync does not prove that earlier running work
|
|
859
|
+
was safe to ignore.
|
|
837
860
|
|
|
838
861
|
Native OpenCode 2.2.6/2.2.7 can retain a cancelled background-shell job
|
|
839
862
|
after a location reload, even with no foreground activity. Such a row
|
|
@@ -899,13 +922,27 @@ Snapshots retain the existing complete-inventory, checked-export,
|
|
|
899
922
|
pending-session and verified-host-import safeguards. Native
|
|
900
923
|
startup/projection can maintain its database; this is not a
|
|
901
924
|
byte-read-only database backup. No native job is deleted, rewritten or
|
|
902
|
-
declared completed
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
925
|
+
declared completed, and no queued input is acknowledged.
|
|
926
|
+
|
|
927
|
+
**A raw client exit of ‘0’ can return CLI status ‘0’ after a live
|
|
928
|
+
timeout only when the existing guarded reader completes every checked
|
|
929
|
+
export, import and native verification, recovery cleanup succeeds, and
|
|
930
|
+
the final container stop is verified.** The warning still states that
|
|
931
|
+
execution was interrupted and background completion is unconfirmed:
|
|
932
|
+
completion notices or final results may be missing. This policy is the
|
|
933
|
+
same for owning native TUI and web launches. Actual raw client
|
|
934
|
+
failures, including exit ‘7’ or cancellation, are never converted to
|
|
935
|
+
success. Unknown raw client status, pending/partial history, any
|
|
936
|
+
sync/recovery failure or failed/uncertain cleanup remains nonzero.
|
|
937
|
+
Whenever history sync, recovery or cleanup fails, the guidance to retry
|
|
938
|
+
‘oc-box sync’ remains; resolve the refusal before retrying, without
|
|
939
|
+
resetting or purging the workspace.
|
|
940
|
+
|
|
941
|
+
Historical job rows can remain running-looking on the next owner; the
|
|
942
|
+
same bounded post-stop path may save another snapshot, but does not make
|
|
943
|
+
the underlying native owner healthy. Neither job age nor a
|
|
944
|
+
terminal-looking status is a recovery exemption. Recovery evidence and
|
|
945
|
+
release-validation requirements are documented in the [test
|
|
909
946
|
strategy](testing.md#reviewed-focused-recovery-host-acceptance).
|
|
910
947
|
|
|
911
948
|
‘--no-vault’ is accepted only when web becomes a new V2 owner; an
|
|
@@ -3416,7 +3453,15 @@ sync failures return ‘1’; a successful native TUI followed by failed
|
|
|
3416
3453
|
history sync also returns ‘1’ and retains container data. Argument
|
|
3417
3454
|
syntax errors return ‘2’. A Python KeyboardInterrupt handled by the
|
|
3418
3455
|
launcher returns ‘130’. An exception during final cleanup can also
|
|
3419
|
-
cause a nonzero result.
|
|
3456
|
+
cause a nonzero result. For owning V2 TUI/web launches, a
|
|
3457
|
+
live-readiness timeout alone does not force failure if the raw client
|
|
3458
|
+
exited ‘0’ and guarded post-stop archival, native verification, recovery
|
|
3459
|
+
cleanup and final stop all complete. The interruption and
|
|
3460
|
+
unconfirmed-background-completion warning remains. Raw client failures
|
|
3461
|
+
and cancellation remain nonzero even if archives were saved; unknown
|
|
3462
|
+
client status, pending/partial history or failed/uncertain cleanup
|
|
3463
|
+
cannot become success. Failed sync, recovery or cleanup retains the
|
|
3464
|
+
guidance to retry ‘oc-box sync’.
|
|
3420
3465
|
|
|
3421
3466
|
Warnings about host devices/SELinux do not themselves make creation
|
|
3422
3467
|
fail. Podman/driver errors still propagate. A nonzero status is not
|
|
@@ -3948,20 +3993,20 @@ Node: Name769
|
|
|
3948
3993
|
Node: Synopsis930
|
|
3949
3994
|
Node: Description3039
|
|
3950
3995
|
Node: Commands6637
|
|
3951
|
-
Node: Options
|
|
3952
|
-
Node: Lifecycle and persistence
|
|
3953
|
-
Node: Distribution images
|
|
3954
|
-
Node: Sessions and recovery
|
|
3955
|
-
Node: Devices and host permissions
|
|
3956
|
-
Node: Resource reports
|
|
3957
|
-
Node: Configuration and environment
|
|
3958
|
-
Node: Files
|
|
3959
|
-
Node: Exit status
|
|
3960
|
-
Node: Examples
|
|
3961
|
-
Node: Troubleshooting
|
|
3962
|
-
Node: Installation and manuals
|
|
3963
|
-
Node: Authors and license
|
|
3964
|
-
Node: See also
|
|
3996
|
+
Node: Options114185
|
|
3997
|
+
Node: Lifecycle and persistence146285
|
|
3998
|
+
Node: Distribution images148585
|
|
3999
|
+
Node: Sessions and recovery153460
|
|
4000
|
+
Node: Devices and host permissions160045
|
|
4001
|
+
Node: Resource reports162391
|
|
4002
|
+
Node: Configuration and environment164502
|
|
4003
|
+
Node: Files175883
|
|
4004
|
+
Node: Exit status181827
|
|
4005
|
+
Node: Examples183235
|
|
4006
|
+
Node: Troubleshooting185321
|
|
4007
|
+
Node: Installation and manuals196673
|
|
4008
|
+
Node: Authors and license206269
|
|
4009
|
+
Node: See also206876
|
|
3965
4010
|
|
|
3966
4011
|
End Tag Table
|
|
3967
4012
|
|
|
@@ -141,7 +141,7 @@ oc-box --project ~/devel/demo --host-drop
|
|
|
141
141
|
|
|
142
142
|
For V2, initialize and populate the host vault **before the first project launch** to use the global default immediately; see secrets below for installation and masked input. No per-project credential registration is needed. Each new owner unlocks once and delivers all current entries unless an explicit env/selected policy overrides it. Changes to vault values/names apply on the next new owner, not to attached clients. With no vault, env-file fallback remains available with concise setup guidance. Native OpenCode saved/OAuth credential refresh/copy remains independent in every mode. @code{--no-vault} opts out for one owning V2 launch without saving policy. Configured vault failures abort before setup; they do not silently fall back to the environment.
|
|
143
143
|
|
|
144
|
-
Cold startup includes image/package/plugin downloads. Interactive stage feedback, including history sync, uses one width-bounded spinning line with elapsed time; completion or failure replaces that line with one final result. Noninteractive or @code{TERM=dumb} output stays plain, with start/final lines and no periodic repeats. A separate loading line covers blank TUI startup frames and disappears when OpenCode draws text. Warm launches retain compatible caches. The container OpenCode version is verified against the host on every launch; exact upgrades and downgrades are supported, with no fallback to another release. With a V2 release supporting image previews, @code{--image-preview} enables prompt and transcript image previews through an ephemeral native-CLI overlay for this owning TUI generation, without replacing saved private preferences. See the option below for compatibility and lifetime.
|
|
144
|
+
Cold startup includes image/package/plugin downloads. Interactive stage feedback, including history sync, uses one width-bounded spinning line with elapsed time; completion or failure replaces that line with one final result. Noninteractive or @code{TERM=dumb} output stays plain, with start/final lines and no periodic repeats. The live-readiness wait is labeled separately from actual history archive copying; a successful checked post-stop copy is not reported as an overall sync failure. A separate loading line covers blank TUI startup frames and disappears when OpenCode draws text. Warm launches retain compatible caches. The container OpenCode version is verified against the host on every launch; exact upgrades and downgrades are supported, with no fallback to another release. With a V2 release supporting image previews, @code{--image-preview} enables prompt and transcript image previews through an ephemeral native-CLI overlay for this owning TUI generation, without replacing saved private preferences. See the option below for compatibility and lifetime.
|
|
145
145
|
|
|
146
146
|
Native V2 terminal preferences are container-local. Host @code{cli.json} seeds an absent private file, but later config refreshes preserve the container's existing file, including explicit permission, notification, theme and tab-scope choices. Use Ctrl+P → Open settings inside that container to change them. Normal server configuration, authentication and plugin refreshes remain separate. oc-box does not force autoaccept or copy the container's preferences back to the host.
|
|
147
147
|
|
|
@@ -231,7 +231,7 @@ The foreground broker holds an explicit existing-workspace client lease. Ctrl-C,
|
|
|
231
231
|
|
|
232
232
|
Refresh host conversation archives without opening the TUI. Requires an existing workspace and an intact project directory. It starts or recreates the container if needed, prepares its runtime/configuration, discovers saved sessions, exports them, and imports separate namespaced archive copies into the host database. It stops the container afterward, even if it had been running.
|
|
233
233
|
|
|
234
|
-
Manual @code{sync} retains ordinary runtime preparation and native service startup, including configured integrations and native scheduling behavior. It is not the isolated, non-executing post-stop reader used by automatic timeout recovery.
|
|
234
|
+
Manual @code{sync} retains ordinary runtime preparation and native service startup, including configured integrations and native scheduling behavior. It is not the isolated, non-executing post-stop reader used by automatic timeout recovery. Both use the same checked @code{sync_sessions} archival implementation; automatic recovery does not recursively launch this command or repeat its preparation.
|
|
235
235
|
|
|
236
236
|
On V2, discovery reads every native API page at the workspace's internal project directory, including archived conversations, forks, and linked child/subagent sessions. Separate conversations are never merged. Sessions at other locations, including nested directories, are outside this exact-directory scope. Automatic resume still selects a top-level conversation, not a recently active child. A successful complete inventory removes missing/deleted or moved-away sources from active export tracking while retaining their last private and host archives. An unavailable or invalid inventory is an error, never evidence of deletion.
|
|
237
237
|
|
|
@@ -241,6 +241,8 @@ An active oc-box launcher holds a workspace lock, so exit it before syncing. Use
|
|
|
241
241
|
|
|
242
242
|
This optimization does not apply to existing owners or post-stop recovery readers, and does not change their readiness/stop guarantees. Destination replacement, child guards and fresh-native verification remain serialized and unchanged. No metadata timestamp shortcut or parallel database mutation is used. Overall success is announced only after the private source lease closes cleanly.
|
|
243
243
|
|
|
244
|
+
The sync summary reports only aggregate session, exported, unchanged, updated and pending counts, elapsed time and a fixed source mode (@code{post-stop-reader}, @code{private-endpoint} or @code{standalone}). It does not include session IDs, titles, commands/argv, environment values, native errors or model values. This feedback does not speed up source exports or archive writes; further optimization is deferred.
|
|
245
|
+
|
|
244
246
|
V2 exports are checked against the paginated projected transcript. An unfinished tail assistant, running user shell/compaction, or changing transcript leaves that session pending, while other sessions can still synchronize. In an inactive session, an unfinished assistant followed by settled messages is superseded: sync mirrors native's export and annotates the omitted count. The exception is refused while that session is active. See the Sessions and recovery section. History archives are not full backups of pending input, execution state, or persistent shell terminals; use encrypted workspace backup for full private state.
|
|
245
247
|
|
|
246
248
|
@example
|
|
@@ -290,11 +292,20 @@ Spectacle/browser/Wayland/X11/portal combinations can expose a temporary file as
|
|
|
290
292
|
|
|
291
293
|
Native browser draft storage, including **IndexedDB**, still stores attachment data. Sending can retain it in container history and disclose it to the selected provider; ordinary history synchronization still applies. Removal/detach is not guaranteed erasure or recall. Pairing/session cookies remain governed by native authentication; the adapter does not put the controller password into a URL, HTML, JavaScript, files or browser storage. Standard browser file authorization or desktop portal UI may still be required by the browser/desktop itself. Synthetic DOM/API checks are not an interactive Spectacle/browser or live rootless-Podman acceptance claim.
|
|
292
294
|
|
|
293
|
-
After the last client exits, V2 final sync waits up to 30 seconds for the same private server's foreground sessions and unconsumed background jobs to settle. An idle persistent shell terminal does not block this wait. Timeout or an invalid activity response
|
|
295
|
+
After the last client exits, V2 final sync waits up to 30 seconds for the same private server's foreground sessions and unconsumed background jobs to settle. An idle persistent shell terminal does not block this wait. Timeout or an invalid activity response refuses live history export. Unless the guarded post-stop path below completes in full, history remains pending and the command returns nonzero. Normal cleanup still stops the container, so running work is not promised to continue. This is bounded checking, not an atomic freeze of every possible history producer. On timeout, a separate diagnostic reports the wait phase (@code{foreground-query}, @code{background-query} or @code{poll-delay}) and counts from the last complete, validated activity/job observation. Job counts distinguish running, completed, error and cancelled entries, with separate allowlisted shell/subagent/image kind counts; counts above 9999 appear as @code{9999+}. If no complete pair was validated, the observation is @code{unavailable}, not zero. These are previous observations, not proof of the current state or that a native request succeeded: a request failure at the deadline also retains the @code{activity-timeout} category. No session/job identifiers, commands, transcript text or native errors are printed.
|
|
294
296
|
|
|
295
297
|
If automatic post-stop recovery is not attempted, a separate fixed-category line explains its routing guards. For example, @code{custom-podman-options} means the container baseline is outside this conservative path; @code{non-shell-jobs} is the legacy fixed label for jobs outside that native version's audited snapshot profile, including image jobs on 2.3.0. @code{insufficient-shell-observations} or the 2.3.0 counterpart @code{insufficient-job-observations} means fewer than two qualifying pairs were retained. Native 2.3.0 has a separately audited retained-subagent profile; unsupported job kinds still refuse automatic recovery. Control-state, attached-client and unverified-owner-close refusals are also distinguished. These labels do not waive any guard or establish that a job completed. Do not clear control markers, remove job rows or reset a workspace merely to bypass a refusal.
|
|
296
298
|
|
|
297
|
-
The 30-
|
|
299
|
+
The 30 seconds are oc-box's live-readiness grace, not a native export/import timeout or a duration limit for the entire synchronization. This grace remains unchanged. The two paths differ:
|
|
300
|
+
|
|
301
|
+
@itemize @bullet
|
|
302
|
+
@item
|
|
303
|
+
Automatic owner exit waits up to 30 seconds before live export; an eligible timeout may then use the guarded post-stop reader. Checked exports, host imports and native verification take additional time.
|
|
304
|
+
@item
|
|
305
|
+
Explicit @code{oc-box sync} has no original owner's live-readiness wait. It uses the same checked archival implementation, with ordinary manual-sync preparation and cleanup.
|
|
306
|
+
@end itemize
|
|
307
|
+
|
|
308
|
+
A later successful manual sync does not prove that earlier running work was safe to ignore.
|
|
298
309
|
|
|
299
310
|
Native OpenCode 2.2.6/2.2.7 can retain a cancelled background-shell job after a location reload, even with no foreground activity. Such a row still blocks the wait; it is not safe to ignore terminal-status jobs generally because their completion notices can restart foreground work. A successful later @code{oc-box sync} checks native exports without the original owner's activity wait and does not prove that its retained job disappeared. The native job-cleanup issue is not repaired by the diagnostic or by the persisted-history snapshot described below. Native 2.3.0 drains the reload case, but can retain a running shell after its producer terminates. It can also retain durable running subagent jobs after the old producer closes, while a new unregistered process reports no foreground activity. Foreground activity describes that process, not proof that durable jobs finished. Retained work still blocks the ordinary live wait.
|
|
300
311
|
|
|
@@ -313,7 +324,11 @@ After the owner closes normally and all clients detach, oc-box verifies and stop
|
|
|
313
324
|
|
|
314
325
|
This conservative path requires a passive container entrypoint, no custom Podman arguments or automatic health/restart/shell-loader hooks, and validated identity/home mounts. It also refuses native scheduler rows (including paused/completed rows), unknown scheduler schemas, unsafe stores and nonempty system OpenCode configuration. Read-only executable-version probes must match the captured supported release on both sides; a binary changed during the session does not inherit that proof. Source and destination helpers use isolated configuration, execution denials and disabled scheduling/warming; disabling scheduling alone is insufficient because native restart notification handling can still wake work. Other failures retain the normal pending-history/manual-sync behavior.
|
|
315
326
|
|
|
316
|
-
Snapshots retain the existing complete-inventory, checked-export, pending-session and verified-host-import safeguards. Native startup/projection can maintain its database; this is not a byte-read-only database backup. No native job is deleted, rewritten or declared completed
|
|
327
|
+
Snapshots retain the existing complete-inventory, checked-export, pending-session and verified-host-import safeguards. Native startup/projection can maintain its database; this is not a byte-read-only database backup. No native job is deleted, rewritten or declared completed, and no queued input is acknowledged.
|
|
328
|
+
|
|
329
|
+
**A raw client exit of @code{0} can return CLI status @code{0} after a live timeout only when the existing guarded reader completes every checked export, import and native verification, recovery cleanup succeeds, and the final container stop is verified.** The warning still states that execution was interrupted and background completion is unconfirmed: completion notices or final results may be missing. This policy is the same for owning native TUI and web launches. Actual raw client failures, including exit @code{7} or cancellation, are never converted to success. Unknown raw client status, pending/partial history, any sync/recovery failure or failed/uncertain cleanup remains nonzero. Whenever history sync, recovery or cleanup fails, the guidance to retry @code{oc-box sync} remains; resolve the refusal before retrying, without resetting or purging the workspace.
|
|
330
|
+
|
|
331
|
+
Historical job rows can remain running-looking on the next owner; the same bounded post-stop path may save another snapshot, but does not make the underlying native owner healthy. Neither job age nor a terminal-looking status is a recovery exemption. Recovery evidence and release-validation requirements are documented in the [test strategy](testing.md#reviewed-focused-recovery-host-acceptance).
|
|
317
332
|
|
|
318
333
|
@code{--no-vault} is accepted only when web becomes a new V2 owner; an attached web client rejects it and never changes the owner's credential snapshot.
|
|
319
334
|
|
|
@@ -1278,7 +1293,7 @@ The home volume is @code{oc-box-home-ID}, mounted at the host user's home pathna
|
|
|
1278
1293
|
@node Exit status
|
|
1279
1294
|
@chapter Exit status
|
|
1280
1295
|
|
|
1281
|
-
@code{0} means successful informational/lifecycle work or normal dashboard exit. A native OpenCode conversation TUI launch normally returns OpenCode/Podman's exit code. oc-box validation, backend, setup, and sync failures return @code{1}; a successful native TUI followed by failed history sync also returns @code{1} and retains container data. Argument syntax errors return @code{2}. A Python KeyboardInterrupt handled by the launcher returns @code{130}. An exception during final cleanup can also cause a nonzero result.
|
|
1296
|
+
@code{0} means successful informational/lifecycle work or normal dashboard exit. A native OpenCode conversation TUI launch normally returns OpenCode/Podman's exit code. oc-box validation, backend, setup, and sync failures return @code{1}; a successful native TUI followed by failed history sync also returns @code{1} and retains container data. Argument syntax errors return @code{2}. A Python KeyboardInterrupt handled by the launcher returns @code{130}. An exception during final cleanup can also cause a nonzero result. For owning V2 TUI/web launches, a live-readiness timeout alone does not force failure if the raw client exited @code{0} and guarded post-stop archival, native verification, recovery cleanup and final stop all complete. The interruption and unconfirmed-background-completion warning remains. Raw client failures and cancellation remain nonzero even if archives were saved; unknown client status, pending/partial history or failed/uncertain cleanup cannot become success. Failed sync, recovery or cleanup retains the guidance to retry @code{oc-box sync}.
|
|
1282
1297
|
|
|
1283
1298
|
Warnings about host devices/SELinux do not themselves make creation fail. Podman/driver errors still propagate. A nonzero status is not permission to purge data; recover or inspect the existing environment first.
|
|
1284
1299
|
|