oc-box 1.7.243.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.
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/.github/workflows/ci.yml +10 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/.github/workflows/publish.yml +6 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/AGENTS.md +29 -3
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/PKG-INFO +6 -2
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/README.md +5 -1
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/SECURITY.md +24 -6
- oc_box-1.7.248.dev0/build-info.json +7 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/completions/oc-box +5 -5
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/cli.md +188 -61
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/guides/host-files.md +28 -9
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/host-clipboard-testing.md +52 -11
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/oc-box.1 +56 -14
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/oc-box.info +255 -118
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/oc-box.texi +61 -14
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/release-announcements.md +9 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/testing.md +124 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/history_recovery.py +34 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/oc_box.py +198 -49
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/workspace_preferences.py +88 -13
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/workspace_service.py +94 -10
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/PKG-INFO +6 -2
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/SOURCES.txt +1 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_history_subagent_recovery_v2.py +345 -19
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_backups.py +22 -1
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_completion.py +16 -2
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_history_recovery.py +105 -20
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_host_clipboard.py +5 -3
- oc_box-1.7.248.dev0/tests/test_host_clipboard_preferences.py +451 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_release_announcement_workflows.py +54 -3
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_session_sync.py +60 -1
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_preferences.py +159 -5
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_service.py +431 -5
- oc_box-1.7.243.dev0/build-info.json +0 -7
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/.github/workflows/distros.yml +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/.github/workflows/linkedin.yml +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/CONTRIBUTING.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/LICENSE +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/MANIFEST.in +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/NOTICE +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/README.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/readme-hero.png +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/tui/README.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/tui/backups.png +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/tui/logs.png +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/tui/manifest.json +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/tui/sessions.png +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/tui/settings.png +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/tui/status.png +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/tui/storage.png +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/assets/tui/terminals.png +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/concepts.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/getting-started.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/guides/backups.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/guides/clients.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/guides/credentials.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/guides/workspaces.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/host-plugins.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/installation.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/legacy/README.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/opencode-2.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/plans/README.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/plans/exit-sync-activity-timeout.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/project-status.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/releases/1.7.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/releases/README.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/releases/tui-v1.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/sharing-handoff.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/sharing-host-acceptance.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/tui.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/ui-state.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/update-channels.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/docs/web-shell.md +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/install.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/install.sh +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/pyproject.toml +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/setup.cfg +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/setup.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/_oc_box_build.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/__init__.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/__main__.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/activity_log.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/attachment_io.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/attachments.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/backup_archive.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/backup_crypto.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/backups.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/bootstrap.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/credentials.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/dependencies.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/history_reader.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/host_clipboard.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/host_drop.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/host_drop_input.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/host_drop_io.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/install.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/installation.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/native_tabs.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/opencode_compat.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/opencode_v2_io.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/package_updates.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/paths.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/plugin_bridge.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/plugin_compat.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/private_memory.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/secret_prompt.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/session_backups.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/session_terminal.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/sharing.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/status_report.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/sync_config.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/terminal_ui.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_app.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_backend.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_backup_workflow.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_clipboard.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_logs.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_management.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_notifications.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_operation_io.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_operations.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_sessions.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_settings.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_status.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_storage.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/tui_terminal.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state_memory.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state_rpc.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state_server.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/ui_state_tui.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/update_channels.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/updater.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/vault.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/version_info.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_attachments.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_attachments.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_sessions.css +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_sessions.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/web_sessions.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/workspace_control.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box/workspace_identity.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/dependency_links.txt +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/entry_points.txt +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/requires.txt +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/src/oc_box.egg-info/top_level.txt +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/copied_plugin_bytes.mjs +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/fixture_services.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/host_sandbox_fixture.mjs +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/interrupted_v1_fixture.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/native_plugin_fixture.mjs +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/plugin_bridge_fixture.mjs +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_attachments_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_build_permissions_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_global_vault.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_global_vault_host_helpers.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_history_recovery_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_host_drop_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_host_plugins.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_image_preview_preferences_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_mainline.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_native_host_port.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_native_preferences_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_native_tabs_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_session_backup_transport_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_session_backups_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_session_sync_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_sharing_host_helpers.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_sharing_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_tui_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_ui_state_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_web_attachments_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/smoke_web_sessions_v2.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_activity_log.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_attachment_io.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_attachments.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_backup_archive.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_backup_crypto.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_channel_bootstrap.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_channel_installer.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_channel_updater.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_dependencies.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_documentation.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_global_vault.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_global_vault_edges_host_fixture.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_global_vault_host_fixture.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_global_vault_launch.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_history_exports.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_history_reader.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_history_source_lease.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_home_ownership_host_fixture.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_host_drop.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_host_drop_input.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_host_drop_io.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_host_drop_preferences.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_host_plugin_migration.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_image_preview.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_interactive_host_fixture.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_interactive_host_service_port.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_native_host_port.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_native_recovery_process.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_native_tab_routing.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_native_tabs.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_oc_box.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_opencode_compat.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_package_updates.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_packaging.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_plugin_compat.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_podman_options.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_private_memory.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_private_output.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_process_io.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_release_announcements.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_release_artifacts.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_release_card.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_release_channels.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_secret_prompt.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_session_backups.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_session_import.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_session_sync_host_fixture.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_session_terminal.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_archive_scan.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_backup_diagnostic.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_backup_probe.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_fixture_provider.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_host_fixture.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_host_oracles.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_owner_control.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_pax_metadata.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_pax_reason.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_session_payload.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sharing_transport.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_src_layout.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_stale_workspaces.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_startup.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_status.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_sync_config_preferences.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_terminal.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_app.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_backend.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_backup_integration.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_backup_workflow.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_card_layout.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_card_metrics.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_cli.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_clipboard.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_clipboard_privacy.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_delete_notifications.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_display_performance.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_global_interactions.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_input_controls.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_installation.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_loading.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_log_feedback.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_logs.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_management.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_management_cards.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_notifications.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_operation_io.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_operation_results.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_operations.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_selection.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_sessions.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_settings.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_status.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_storage.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_tui_terminal.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_ui_state.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_update_channels.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_updater.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_upgrade_cli.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_v2_host_fixture.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_vault.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_version.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_web_attachments.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_web_sessions.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_control.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_identity.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/test_workspace_repair.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/ui_state_fixture.mjs +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/web_attachments_browser.mjs +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/web_attachments_shell_dom.mjs +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tests/web_sessions_dom.mjs +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/announce_release.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/benchmark_tui_display.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/build_docs.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/capture_tui_docs.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/check_package.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/check_release.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/check_release_artifacts.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/diagnose_import.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/diagnose_sharing_backup.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/host_sandbox.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/migrate_host_plugins.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/lemonade-models/index.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/no-nested-sandbox/index.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/output-clamp/index.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/pdf-to-text/index.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/native_plugins/python-isolation/index.js +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/port_host_plugins.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/release_card.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/sharing_archive_scan.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/sharing_archive_scan_original.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/sharing_backup_probe.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/sharing_fixture_provider.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/sharing_pax_reason.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/test_backup_podman.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/test_dependency_distro.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/test_global_vault_edges_podman.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/test_global_vault_podman.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/test_home_ownership_podman.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/test_interactive_podman.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/test_session_sync_podman.py +0 -0
- {oc_box-1.7.243.dev0 → oc_box-1.7.248.dev0}/tools/test_sharing_podman.py +0 -0
- {oc_box-1.7.243.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' &&
|
|
@@ -170,6 +170,15 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
170
170
|
complete verified archival, recovery cleanup and final stop may return 0 after a
|
|
171
171
|
live timeout. Unknown client status, partial/failure or uncertain cleanup remains
|
|
172
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.
|
|
173
182
|
Never clear an uncertain start without verified transition completion, resume
|
|
174
183
|
work, refresh credentials, create replacement resources or infer host acceptance
|
|
175
184
|
from local native/process fixtures. The focused host recovery gate is additional
|
|
@@ -218,12 +227,29 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
218
227
|
can retain staging/history/provider/backup copies. Default relay behavior and
|
|
219
228
|
the independent-confirmation broker remain unchanged. No host acceptance is
|
|
220
229
|
established by synthetic parser/process/native checks.
|
|
221
|
-
- `host_clipboard.py`: opt-in
|
|
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
|
|
222
243
|
never reads; only the dedicated top-level host shortcut may call the bounded
|
|
223
244
|
desktop helper. Typed local URI lists reuse the existing pinned host-drop
|
|
224
245
|
source guards; type discovery is not proof of file-manager provenance.
|
|
225
|
-
Clipboard file sources follow ordinary symlinks by default;
|
|
226
|
-
--no-host-clipboard-symlinks
|
|
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
|
|
227
253
|
out of normal drops and live sharing. Validate selected and canonical protected
|
|
228
254
|
paths; use kernel NO_MAGICLINKS O_PATH selection and match the strict export
|
|
229
255
|
against its still-pinned descriptor before reading. Never use Path.resolve
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oc-box
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.248.dev0
|
|
4
4
|
Summary: Persistent rootless Podman development environments for mainline OpenCode
|
|
5
5
|
Author-email: Paulo Dias <paulo.miguel.dias@gmail.com>
|
|
6
6
|
License-Expression: GPL-3.0-or-later
|
|
@@ -213,7 +213,11 @@ all included in stable installations.
|
|
|
213
213
|
> **Disclosure matters:** on supported development TUI clients, host importing is
|
|
214
214
|
> enabled by default. A qualifying path paste authorizes an image/PDF copy
|
|
215
215
|
> without per-file confirmation; disable it with the saved host-drop preference
|
|
216
|
-
> if that is not wanted.
|
|
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
|
|
217
221
|
> model providers or history. [Compare the workflows and consent rules](docs/guides/host-files.md).
|
|
218
222
|
|
|
219
223
|
<a id="integrations-and-permissions"></a>
|
|
@@ -180,7 +180,11 @@ all included in stable installations.
|
|
|
180
180
|
> **Disclosure matters:** on supported development TUI clients, host importing is
|
|
181
181
|
> enabled by default. A qualifying path paste authorizes an image/PDF copy
|
|
182
182
|
> without per-file confirmation; disable it with the saved host-drop preference
|
|
183
|
-
> if that is not wanted.
|
|
183
|
+
> if that is not wanted. Clipboard imports are separately off by default:
|
|
184
|
+
> `--host-clipboard` saves the Ctrl+Y shortcut enabled for future workspace TUI
|
|
185
|
+
> clients; `--no-host-clipboard` or `preferences --host-clipboard off` saves disabled.
|
|
186
|
+
> Existing clients do not live-toggle, and only the shortcut reads the clipboard.
|
|
187
|
+
> Sharing, importing and attachments can disclose data to
|
|
184
188
|
> model providers or history. [Compare the workflows and consent rules](docs/guides/host-files.md).
|
|
185
189
|
|
|
186
190
|
<a id="integrations-and-permissions"></a>
|
|
@@ -265,12 +265,24 @@ security certification.
|
|
|
265
265
|
|
|
266
266
|
## Opt-in native TUI host clipboard
|
|
267
267
|
|
|
268
|
-
`--host-clipboard` separately enables a host clipboard reader for
|
|
269
|
-
native TUI
|
|
270
|
-
|
|
268
|
+
`--host-clipboard` separately enables a host clipboard reader for this and future
|
|
269
|
+
supported native TUI clients of the workspace. With no saved choice it is off;
|
|
270
|
+
`--no-host-clipboard` saves disabled. Existing clients do not live-toggle.
|
|
271
|
+
`oc-box preferences --host-clipboard on|off` changes only host policy without a
|
|
272
|
+
TTY, client launch, unlock, configuration refresh or helper discovery. Private
|
|
273
|
+
host `ui-preferences.json` stores only booleans, never clipboard contents or a
|
|
274
|
+
helper path. Choices survive stop/start and reset, but are not restore authority
|
|
275
|
+
for a fresh workspace.
|
|
276
|
+
|
|
277
|
+
Only the top-level host Ctrl+Y shortcut authorizes a bounded read; startup
|
|
278
|
+
discovers a helper without reading the clipboard. There is no
|
|
271
279
|
background polling, model/output/MCP trigger or desktop socket mount. Ctrl+Y is
|
|
272
280
|
reserved throughout the opted-in client, including shell panes; ordinary Ctrl+V
|
|
273
|
-
and clients without
|
|
281
|
+
and clients without effective clipboard importing retain their native behavior.
|
|
282
|
+
Explicit enable requires strict preflight. A saved enable skips unsupported
|
|
283
|
+
terminals, native V1 or missing desktop helpers without clearing the preference.
|
|
284
|
+
Web, terminal, manager, sync and informational commands ignore saved policy and
|
|
285
|
+
reject explicit clipboard startup flags.
|
|
274
286
|
|
|
275
287
|
Imports accept PNG pixels or typed local URI lists selecting supported image/PDF
|
|
276
288
|
files, not arbitrary clipboard text or remote URLs. File-list MIME types are
|
|
@@ -286,8 +298,14 @@ Selected aliases and actual targets retain protected-path checks. Kernel magic
|
|
|
286
298
|
links, special files and hard links remain refused. The strict export must match
|
|
287
299
|
the still-pinned kernel-selected descriptor before reading; later link retargeting
|
|
288
300
|
cannot redirect that read, but this does not freeze file contents or prevent all
|
|
289
|
-
same-user filesystem races. `--no-host-clipboard-symlinks`
|
|
290
|
-
no-symlink clipboard sources for this
|
|
301
|
+
same-user filesystem races. `--no-host-clipboard-symlinks` saves strict
|
|
302
|
+
no-symlink clipboard sources for this and future workspace TUI clients;
|
|
303
|
+
`--host-clipboard-symlinks` saves link following again. Either requires effective
|
|
304
|
+
clipboard enable on native start/reset.
|
|
305
|
+
`preferences --host-clipboard-symlinks on|off` can instead save that policy
|
|
306
|
+
independently while clipboard is off, for a later enabled client.
|
|
307
|
+
Disabling clipboard importing retains a saved strict choice, so later re-enable
|
|
308
|
+
does not silently follow links. Normal host drops and live sharing
|
|
291
309
|
remain strict. Fixed refusal markers never include paths, raw errors or clipboard
|
|
292
310
|
contents. The owner has reported a successful PDF import through a linked folder
|
|
293
311
|
with Ctrl+Y on the merged devel source. That scoped manual observation is not
|
|
@@ -30,7 +30,7 @@ _oc_box()
|
|
|
30
30
|
local command='' action='' word skip=0 positional=0 ended=0 broker=0 i
|
|
31
31
|
local commands='start stop sync reset repair terminal web tui share attach preferences upgrade secrets credentials backup backup-info restore purge list distros status doctor completion'
|
|
32
32
|
local selectors='--project --workspace'
|
|
33
|
-
local launch='--distro --new --resume --import-session --model --cpus --memory --pids-limit --device --podman-arg --clear-devices --clear-podman-args --no-vault --image-preview --host-drop --no-host-drop --host-clipboard --no-host-clipboard-symlinks'
|
|
33
|
+
local launch='--distro --new --resume --import-session --model --cpus --memory --pids-limit --device --podman-arg --clear-devices --clear-podman-args --no-vault --image-preview --host-drop --no-host-drop --host-clipboard --no-host-clipboard --host-clipboard-symlinks --no-host-clipboard-symlinks'
|
|
34
34
|
local help='-h --help' options
|
|
35
35
|
COMPREPLY=()
|
|
36
36
|
(( COMP_CWORD > 0 )) && prev=${COMP_WORDS[COMP_CWORD-1]}
|
|
@@ -54,7 +54,7 @@ _oc_box()
|
|
|
54
54
|
--project|--workspace|--distro|--auto-update|--import-session|--model|--credential-mode|--env-secret|--vault-secret|--cpus|--memory|--pids-limit|--device|--podman-arg|--output|--recipient|--identity|--min-passphrase-length|--feature|--port|--session|--text)
|
|
55
55
|
skip=1; continue ;;
|
|
56
56
|
--broker) broker=1; continue ;;
|
|
57
|
-
--host-drop)
|
|
57
|
+
--host-drop|--host-clipboard|--host-clipboard-symlinks)
|
|
58
58
|
[[ $command == preferences ]] && skip=1
|
|
59
59
|
continue ;;
|
|
60
60
|
--status) command=status; continue ;;
|
|
@@ -95,7 +95,7 @@ _oc_box()
|
|
|
95
95
|
--feature)
|
|
96
96
|
_oc_box_words 'launch private-output maintenance history backup backup-info restore vault github-upgrade bootstrap storage overlay manuals docs-build'; return 0 ;;
|
|
97
97
|
--auto-update) _oc_box_words 'on off'; return 0 ;;
|
|
98
|
-
--host-drop)
|
|
98
|
+
--host-drop|--host-clipboard|--host-clipboard-symlinks)
|
|
99
99
|
if [[ $command == preferences ]]; then
|
|
100
100
|
_oc_box_words 'on off'; return 0
|
|
101
101
|
fi ;;
|
|
@@ -107,7 +107,7 @@ _oc_box()
|
|
|
107
107
|
|
|
108
108
|
case $command in
|
|
109
109
|
start) options="$help $selectors $launch" ;;
|
|
110
|
-
reset) options="$help $selectors --distro --model --cpus --memory --pids-limit --device --podman-arg --clear-devices --clear-podman-args --no-vault --image-preview --host-drop --no-host-drop --host-clipboard --no-host-clipboard-symlinks" ;;
|
|
110
|
+
reset) options="$help $selectors --distro --model --cpus --memory --pids-limit --device --podman-arg --clear-devices --clear-podman-args --no-vault --image-preview --host-drop --no-host-drop --host-clipboard --no-host-clipboard --host-clipboard-symlinks --no-host-clipboard-symlinks" ;;
|
|
111
111
|
sync) options="$help $selectors" ;;
|
|
112
112
|
stop|repair) options="$help $selectors" ;;
|
|
113
113
|
terminal) options="$help $selectors --maintenance" ;;
|
|
@@ -120,7 +120,7 @@ _oc_box()
|
|
|
120
120
|
status) options="$help $selectors --json" ;;
|
|
121
121
|
purge) options="$help $selectors --delete-sessions --all -y --yes" ;;
|
|
122
122
|
credentials) options="$help $selectors --credential-mode --env-secret --vault-secret --clear-credentials" ;;
|
|
123
|
-
preferences) options="$help $selectors --host-drop --json" ;;
|
|
123
|
+
preferences) options="$help $selectors --host-drop --host-clipboard --host-clipboard-symlinks --json" ;;
|
|
124
124
|
upgrade) options="$help --check --stable --devel --vault --tui --auto-update" ;;
|
|
125
125
|
doctor) options="$help --json --feature" ;;
|
|
126
126
|
backup) options="$help $selectors --output --portable --recipient --min-passphrase-length" ;;
|
|
@@ -241,6 +241,11 @@ existing clients do not live-toggle. This is separate from
|
|
|
241
241
|
the `attach` confirmation broker and from browser uploads; see the option below
|
|
242
242
|
for the host-input authorization boundary and terminal requirements.
|
|
243
243
|
|
|
244
|
+
Host clipboard imports are separately **off by default**. Save `--host-clipboard`
|
|
245
|
+
to enable the Ctrl+Y import shortcut for this and future workspace TUI clients,
|
|
246
|
+
or `--no-host-clipboard` to disable it. Only that shortcut reads the clipboard;
|
|
247
|
+
enabling the preference or starting a client does not read it.
|
|
248
|
+
|
|
244
249
|
### preferences
|
|
245
250
|
|
|
246
251
|
Read or change host-only UI preferences for an **existing registered workspace**
|
|
@@ -251,18 +256,39 @@ configuration or unlocking credentials:
|
|
|
251
256
|
oc-box preferences --project ~/devel/demo
|
|
252
257
|
oc-box preferences --project ~/devel/demo --host-drop off
|
|
253
258
|
oc-box preferences --workspace WORKSPACE_ID --host-drop on
|
|
259
|
+
oc-box preferences --project ~/devel/demo --host-clipboard on
|
|
260
|
+
oc-box preferences --project ~/devel/demo --host-clipboard-symlinks off
|
|
261
|
+
oc-box preferences --project ~/devel/demo --host-clipboard off
|
|
254
262
|
oc-box preferences --project ~/devel/demo --json
|
|
255
263
|
```
|
|
256
264
|
|
|
257
265
|
`--project` and `--workspace` are mutually exclusive. With no change option this
|
|
258
|
-
is read-only.
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
266
|
+
is read-only. The independent settings accept `on`/`off`:
|
|
267
|
+
|
|
268
|
+
| Setting | Default when no choice is saved |
|
|
269
|
+
| --- | --- |
|
|
270
|
+
| `--host-drop` | `on`: pathname/file-drop imports on supported clients |
|
|
271
|
+
| `--host-clipboard` | `off`: no clipboard shortcut |
|
|
272
|
+
| `--host-clipboard-symlinks` | `on`: follow ordinary links for clipboard file imports |
|
|
273
|
+
|
|
274
|
+
The symlink preference can be saved independently, even while clipboard
|
|
275
|
+
importing is off; it takes effect on a later enabled client. The strict symlink
|
|
276
|
+
choice remains saved when clipboard importing is later disabled, so re-enabling
|
|
277
|
+
does not silently restore link following.
|
|
278
|
+
This command also works without a TTY. It does not discover desktop helpers or
|
|
279
|
+
read the clipboard, even when saving an enable choice.
|
|
280
|
+
JSON output includes the effective `host_clipboard` and
|
|
281
|
+
`host_clipboard_symlinks` booleans; `source` still indicates whether a preference
|
|
282
|
+
file is saved or defaults are in use, not the origin of each individual field.
|
|
283
|
+
|
|
284
|
+
Corrupt, unsafe or mismatched preferences refuse rather than silently granting
|
|
285
|
+
access. Changes apply to future clients only. Preferences survive ordinary
|
|
286
|
+
stop/start and reset in a private host `ui-preferences.json` beside workspace metadata,
|
|
262
287
|
with an independent lock so an active owning launcher need not exit.
|
|
288
|
+
Only policy booleans are saved, never clipboard contents or a helper path.
|
|
263
289
|
They are not native CLI settings, credential policy or archived authority:
|
|
264
|
-
backup/restore into a fresh workspace does not reactivate
|
|
265
|
-
The new workspace uses the
|
|
290
|
+
backup/restore into a fresh workspace does not reactivate these host preferences.
|
|
291
|
+
The new workspace uses the defaults above until explicitly changed.
|
|
266
292
|
|
|
267
293
|
### stop
|
|
268
294
|
|
|
@@ -703,15 +729,42 @@ below completes in full, history remains pending and the command returns nonzero
|
|
|
703
729
|
Normal cleanup still stops the container, so running work is not promised to
|
|
704
730
|
continue. This is bounded checking, not an atomic freeze of every possible
|
|
705
731
|
history producer.
|
|
706
|
-
On timeout,
|
|
707
|
-
`background-query` or `poll-delay`) and counts from the
|
|
708
|
-
activity/job observation. Job counts distinguish
|
|
709
|
-
cancelled entries, with separate allowlisted
|
|
710
|
-
counts above 9999 appear as `9999+`. If no
|
|
711
|
-
validated, the observation is `unavailable`, not zero. These
|
|
712
|
-
observations, not proof of the current state or that a native
|
|
713
|
-
a request failure at the deadline also retains the
|
|
714
|
-
|
|
732
|
+
On timeout, the existing `History wait timeout:` diagnostic reports the wait
|
|
733
|
+
phase (`foreground-query`, `background-query` or `poll-delay`) and counts from the
|
|
734
|
+
last complete, validated activity/job observation. Job counts distinguish
|
|
735
|
+
running, completed, error and cancelled entries, with separate allowlisted
|
|
736
|
+
shell/subagent/image kind counts; counts above 9999 appear as `9999+`. If no
|
|
737
|
+
complete pair was validated, the observation is `unavailable`, not zero. These
|
|
738
|
+
are previous observations, not proof of the current state or that a native
|
|
739
|
+
request succeeded: a request failure at the deadline also retains the
|
|
740
|
+
`activity-timeout` category.
|
|
741
|
+
Its output remains byte-compatible. A separate `History wait timing:` line is
|
|
742
|
+
emitted only for `activity-timeout`, not on normal success:
|
|
743
|
+
|
|
744
|
+
* `complete-pairs=N` counts all fully validated foreground/background pairs,
|
|
745
|
+
not just quiet or recovery-eligible pairs.
|
|
746
|
+
* `foreground-queries=N,total=X.XXXs,max=X.XXXs` and
|
|
747
|
+
`background-queries=N,total=X.XXXs,max=X.XXXs` count and time API attempts,
|
|
748
|
+
including failed and timed-out attempts.
|
|
749
|
+
* `last-query=foreground-query` or `background-query` identifies the last API
|
|
750
|
+
attempt. `remaining-at-start=X.XXXs` is the remaining whole live-readiness grace
|
|
751
|
+
when that attempt began, not that query's individual timeout cap.
|
|
752
|
+
* `outcome=returned`, `subprocess-timeout` or `failed` describes that attempt.
|
|
753
|
+
`returned` means the transport/API helper returned, not that its inventory
|
|
754
|
+
passed validation.
|
|
755
|
+
* `last-complete-age=X.XXXs` is the age of the last fully validated pair.
|
|
756
|
+
Missing last-attempt fields or observation age are `unavailable`; with zero
|
|
757
|
+
query budget, query counts are zero and those fields remain `unavailable`.
|
|
758
|
+
|
|
759
|
+
Counts are capped at `9999+` and durations at `9999+s`. Query times are wall-clock
|
|
760
|
+
measurements around the existing native API helper, including Podman, Python and
|
|
761
|
+
native CLI startup and JSON decoding; they are not pure server latency. Late or
|
|
762
|
+
partial responses do not manufacture a complete pair. Neither diagnostic emits
|
|
763
|
+
session/job identifiers, paths, commands, payloads, native errors, environment
|
|
764
|
+
values or credentials. Timing does not track job identity, distinguish live from
|
|
765
|
+
durable jobs, or prove that a job is stuck or orphaned. Timing itself adds no
|
|
766
|
+
probes or job cleanup and changes neither validation, the 30-second grace,
|
|
767
|
+
polling interval, 60-second request cap, recovery guards nor exit policy.
|
|
715
768
|
|
|
716
769
|
If automatic post-stop recovery is not attempted, a separate fixed-category line
|
|
717
770
|
explains its routing guards. For example, `custom-podman-options` means the
|
|
@@ -730,9 +783,10 @@ The 30 seconds are oc-box's live-readiness grace, not a native export/import
|
|
|
730
783
|
timeout or a duration limit for the entire synchronization. This grace remains
|
|
731
784
|
unchanged. The two paths differ:
|
|
732
785
|
|
|
733
|
-
* Automatic owner exit waits up to 30 seconds before live export
|
|
734
|
-
timeout
|
|
735
|
-
|
|
786
|
+
* Automatic owner exit waits up to 30 seconds before live export. An eligible
|
|
787
|
+
timeout, or a supported 2.3.x live-sync failure described below, can then use
|
|
788
|
+
one guarded post-stop reader attempt. Checked exports, host imports and native
|
|
789
|
+
verification take additional time.
|
|
736
790
|
* Explicit `oc-box sync` has no original owner's live-readiness wait. It uses
|
|
737
791
|
the same checked archival implementation, with ordinary manual-sync
|
|
738
792
|
preparation and cleanup.
|
|
@@ -753,8 +807,8 @@ old producer closes, while a new unregistered process reports no foreground
|
|
|
753
807
|
activity. Foreground activity describes that process, not proof that durable
|
|
754
808
|
jobs finished. Retained work still blocks the ordinary live wait.
|
|
755
809
|
|
|
756
|
-
For supported native owners,
|
|
757
|
-
persisted-history snapshot** automatically:
|
|
810
|
+
For supported native owners, an eligible live-sync failure can trigger **one
|
|
811
|
+
post-stop persisted-history snapshot** automatically:
|
|
758
812
|
|
|
759
813
|
* Native **2.2.6/2.2.7** retains the original shell-only profile.
|
|
760
814
|
* Stable native **2.3.x** also permits retained subagent jobs, including mixtures
|
|
@@ -774,11 +828,26 @@ Subagent recovery may include a bounded `outstanding` list of known shell or
|
|
|
774
828
|
subagent metadata. Image, Code Mode, nested/unknown forms and invalid bindings
|
|
775
829
|
remain unsupported; these references are not completed, acknowledged or resumed.
|
|
776
830
|
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
831
|
+
The original timeout route requires two consecutive complete validated
|
|
832
|
+
foreground/background pairs with no foreground activity and at least one job,
|
|
833
|
+
all allowed by that storage profile. Native 2.2.6/2.2.7 keeps this rule: foreground
|
|
834
|
+
activity still refuses its automatic snapshot route.
|
|
835
|
+
|
|
836
|
+
On supported 2.3.x, two consecutive complete validated pairs with nonempty
|
|
837
|
+
foreground activity and only supported shell/subagent jobs can instead request
|
|
838
|
+
post-stop archival, including when there are no jobs. A later empty foreground
|
|
839
|
+
response resets this foreground-interruption hint; malformed responses or
|
|
840
|
+
unsupported job kinds invalidate it. Known non-timeout API errors invalidate
|
|
841
|
+
the observation hints; an actual query timeout may retain prior qualifying
|
|
842
|
+
pairs, but cannot manufacture another pair. **Neither hint permits live export
|
|
843
|
+
or establishes that work finished.**
|
|
844
|
+
|
|
845
|
+
Supported 2.3.x can also route positively classified transport or unsettled-history
|
|
846
|
+
failures during live wait/sync through this same one-shot reader when a safe source
|
|
847
|
+
was captured. Unclassified failures do not enable a retry. Explicit
|
|
848
|
+
compatibility or Reader refusals and failed/uncertain source cleanup are not
|
|
849
|
+
retried automatically; unexpected programming/data-shape errors do not enable
|
|
850
|
+
this route. It does not broaden legacy or unsupported-version recovery.
|
|
782
851
|
|
|
783
852
|
After the owner closes normally and all clients detach, oc-box verifies and stops
|
|
784
853
|
the same existing, ready container. If stop intent is unchanged, it starts that
|
|
@@ -794,6 +863,11 @@ starting managed job recovery. Retained jobs, execution claims and queued input
|
|
|
794
863
|
are not acknowledged, cleared or replayed.
|
|
795
864
|
The transition budget is 35 seconds and the snapshot budget 180 seconds, with
|
|
796
865
|
separate bounded cleanup. The container is stopped again before exit.
|
|
866
|
+
This is **one automatic attempt only**, not a fast reader followed by a second,
|
|
867
|
+
unrestricted manual sync. If the reader refuses or cannot finish, oc-box does
|
|
868
|
+
not perform ordinary manual preparation, restart native work or replay requests
|
|
869
|
+
to try again. Manual `oc-box sync` guidance remains for incomplete or unsafe
|
|
870
|
+
automatic recovery, after resolving its refusal.
|
|
797
871
|
|
|
798
872
|
The guarded post-stop copy reuses one private, pass-local Python export helper
|
|
799
873
|
against the Reader's existing endpoint instead of starting a container/Python
|
|
@@ -836,21 +910,30 @@ native restart notification handling can still wake work. Other failures retain
|
|
|
836
910
|
the normal pending-history/manual-sync behavior.
|
|
837
911
|
|
|
838
912
|
Snapshots retain the existing complete-inventory, checked-export, pending-session
|
|
839
|
-
and verified-host-import safeguards.
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
913
|
+
and verified-host-import safeguards. Pending sessions do not prevent checked
|
|
914
|
+
progress on other sessions; their prior archives/checkpoints remain intact.
|
|
915
|
+
If any remain unsettled, `snapshot-incomplete` reports the partial result with
|
|
916
|
+
an interruption warning, never an all-history success. Native startup/projection
|
|
917
|
+
can maintain its database; this is not a byte-read-only database backup. No native
|
|
918
|
+
job is deleted, rewritten or declared completed, and no queued input is
|
|
919
|
+
acknowledged.
|
|
920
|
+
|
|
921
|
+
**A raw client exit of `0` can return CLI status `0` after an eligible live-sync
|
|
922
|
+
failure only when the existing guarded reader completes every checked export,
|
|
923
|
+
import and native verification, recovery cleanup succeeds, the final stop is
|
|
924
|
+
verified, and the foreground-interruption hint was not used.** Saving history
|
|
925
|
+
after a foreground-interruption timeout still returns nonzero, even if all
|
|
926
|
+
archives were saved and the raw client exited `0`. Archive-sync success is
|
|
927
|
+
reported only after clean stops; it is not work-completion success.
|
|
928
|
+
The warning still states that execution was interrupted and background
|
|
847
929
|
completion is unconfirmed: completion notices or final results may be missing.
|
|
848
930
|
This policy is the same for owning native TUI and web launches. Actual raw client
|
|
849
931
|
failures, including exit `7` or cancellation, are never converted to success.
|
|
850
932
|
Unknown raw client status, pending/partial history, any sync/recovery failure or
|
|
851
|
-
failed/uncertain cleanup remains nonzero.
|
|
852
|
-
|
|
853
|
-
before retrying, without resetting
|
|
933
|
+
failed/uncertain cleanup remains nonzero. Guidance to retry `oc-box sync` remains
|
|
934
|
+
when automatic archival cannot safely finish, not as the first response to an
|
|
935
|
+
eligible live failure. Resolve the refusal before retrying, without resetting
|
|
936
|
+
or purging the workspace.
|
|
854
937
|
|
|
855
938
|
Historical job rows can remain running-looking on the next owner; the same
|
|
856
939
|
bounded post-stop path may save another snapshot, but does not make the underlying
|
|
@@ -2355,12 +2438,21 @@ TUI, use `oc-box preferences --host-drop off`.
|
|
|
2355
2438
|
|
|
2356
2439
|
### --host-clipboard
|
|
2357
2440
|
|
|
2358
|
-
Experimental, **off by default
|
|
2359
|
-
direct Konsole or Kitty terminal,
|
|
2360
|
-
`reset`, then press **Ctrl+Y** to import a PNG clipboard image
|
|
2361
|
-
local PNG/JPEG/GIF/WebP/PDF files. Ordinary Ctrl+V, terminal text paste,
|
|
2362
|
-
host OpenCode settings are unchanged. The native TUI still
|
|
2363
|
-
container; there is no Wayland/X11 socket mount or host clipboard
|
|
2441
|
+
Experimental, **off by default, with a saved per-workspace host preference**.
|
|
2442
|
+
On a supported direct Konsole or Kitty terminal, enable with `start` (the
|
|
2443
|
+
default command) or `reset`, then press **Ctrl+Y** to import a PNG clipboard image
|
|
2444
|
+
or copied local PNG/JPEG/GIF/WebP/PDF files. Ordinary Ctrl+V, terminal text paste,
|
|
2445
|
+
clipboard contents and host OpenCode settings are unchanged. The native TUI still
|
|
2446
|
+
runs inside the container; there is no Wayland/X11 socket mount or host clipboard
|
|
2447
|
+
MCP endpoint.
|
|
2448
|
+
|
|
2449
|
+
`--host-clipboard` saves enabled for future native TUI clients;
|
|
2450
|
+
`--no-host-clipboard` saves disabled. Omit both to use the saved choice, or off
|
|
2451
|
+
when none exists. Existing clients retain their original setting. To save policy
|
|
2452
|
+
without opening a client, use `oc-box preferences --host-clipboard on|off`.
|
|
2453
|
+
The private host preferences survive stop/start and reset, but are not restore
|
|
2454
|
+
authority for a fresh workspace. They store only booleans, not clipboard data
|
|
2455
|
+
or a desktop helper path.
|
|
2364
2456
|
|
|
2365
2457
|
The host relay recognizes the legacy Ctrl+Y byte (0x19) and distinct ASCII CSI-u
|
|
2366
2458
|
or ModifyOtherKeys reports only at top-level host input, not inside bracketed
|
|
@@ -2371,12 +2463,16 @@ Ctrl+Y is unassigned in the documented OpenCode 2.x defaults checked on
|
|
|
2371
2463
|
the earlier experimental Ctrl+Alt+Shift+V binding, without editing native
|
|
2372
2464
|
keybindings or intercepting normal Ctrl+V. **Ctrl+Y is reserved throughout an
|
|
2373
2465
|
opted-in client, including shell panes, so its usual shell-yank action is not
|
|
2374
|
-
available there.** Clients without
|
|
2466
|
+
available there.** Clients without effective clipboard importing retain their
|
|
2467
|
+
native Ctrl+Y.
|
|
2375
2468
|
It inherits the direct-TTY, native-version and terminal-profile
|
|
2376
2469
|
requirements of `--host-drop`; SSH, tmux, screen, unknown/ambiguous profiles and
|
|
2377
|
-
unsupported clients refuse
|
|
2378
|
-
|
|
2379
|
-
|
|
2470
|
+
unsupported clients refuse explicit enable. A saved enable gracefully skips
|
|
2471
|
+
clipboard importing on unsupported terminals, native V1 or when the selected
|
|
2472
|
+
desktop helper is missing, without clearing the preference. Explicit enable
|
|
2473
|
+
still requires strict preflight; it does not read the clipboard.
|
|
2474
|
+
CSI-u repeat/release reports do not request another import; legacy
|
|
2475
|
+
control-byte/ModifyOtherKeys repeats cannot be distinguished from new presses.
|
|
2380
2476
|
|
|
2381
2477
|
Clipboard access occurs only in response to the opted-in host input shortcut,
|
|
2382
2478
|
never from model output, a plugin/MCP request or background polling. The keyboard
|
|
@@ -2399,8 +2495,10 @@ to 16 KiB, with at most 128 offered targets.
|
|
|
2399
2495
|
Only local `file:` references are accepted. **Clipboard file imports follow
|
|
2400
2496
|
ordinary symlinks by default**, including links in parent folders. No folder
|
|
2401
2497
|
approval or extra prompt is required. Add `--no-host-clipboard-symlinks` to reject
|
|
2402
|
-
linked sources for this
|
|
2403
|
-
|
|
2498
|
+
linked sources for this and future workspace TUI clients instead. That strict
|
|
2499
|
+
choice persists until `--host-clipboard-symlinks` saves link following again.
|
|
2500
|
+
Both require an effective enabled clipboard preference. This changes clipboard
|
|
2501
|
+
imports only: normal pathname/file drops and live sharing still refuse symlinks.
|
|
2404
2502
|
|
|
2405
2503
|
The selected alias and its actual target are checked against protected-path
|
|
2406
2504
|
rules. Kernel magic links, runtime/device paths, hard links, special/protected
|
|
@@ -2446,17 +2544,23 @@ synthesizes Enter or submits a prompt. Native attachment composition and sending
|
|
|
2446
2544
|
remain native behavior. `--image-preview` separately controls image visuals for
|
|
2447
2545
|
a qualifying owning launch.
|
|
2448
2546
|
|
|
2449
|
-
No clipboard setting or data is saved in workspace preferences or the registry.
|
|
2450
2547
|
An additional `start --host-clipboard` may attach to an existing private V2 owner
|
|
2451
|
-
without restart, credential refresh or unlock. It
|
|
2452
|
-
client; existing clients are unchanged.
|
|
2548
|
+
without restart, credential/configuration refresh or unlock. It saves the choice
|
|
2549
|
+
for future clients and enables that new TUI client; existing clients are unchanged.
|
|
2550
|
+
`--no-host-drop --host-clipboard` can
|
|
2453
2551
|
enable clipboard imports (including copied files) while retaining the explicit
|
|
2454
2552
|
drag/pathname-paste file-drop opt-out.
|
|
2455
|
-
V1,
|
|
2456
|
-
|
|
2553
|
+
Explicit enable refuses V1. Web, terminal/maintenance, the manager/embedded
|
|
2554
|
+
terminal, sync and informational commands ignore saved clipboard policy and
|
|
2555
|
+
reject explicit clipboard startup flags. Do not reset a workspace just to enable
|
|
2556
|
+
this feature.
|
|
2457
2557
|
|
|
2458
2558
|
```sh
|
|
2459
2559
|
oc-box --project ~/devel/demo --host-clipboard
|
|
2560
|
+
# Later clients inherit that choice:
|
|
2561
|
+
oc-box --project ~/devel/demo
|
|
2562
|
+
# Save disabled without opening a client:
|
|
2563
|
+
oc-box preferences --project ~/devel/demo --host-clipboard off
|
|
2460
2564
|
# For a new owning launch when image previews are also wanted:
|
|
2461
2565
|
oc-box --project ~/devel/demo --host-clipboard --image-preview
|
|
2462
2566
|
```
|
|
@@ -2464,18 +2568,39 @@ oc-box --project ~/devel/demo --host-clipboard --image-preview
|
|
|
2464
2568
|
See the short [host test guide](host-clipboard-testing.md). Focused mocked tests
|
|
2465
2569
|
are not acceptance of KDE/Wayland/X11 behavior or native image composition.
|
|
2466
2570
|
|
|
2571
|
+
### --no-host-clipboard
|
|
2572
|
+
|
|
2573
|
+
Save clipboard importing disabled for future workspace TUI clients and open
|
|
2574
|
+
this client without the clipboard shortcut. Mutually exclusive with
|
|
2575
|
+
`--host-clipboard`; neither flag live-toggles existing clients or changes the
|
|
2576
|
+
independent host-drop preference. A saved strict symlink choice is retained.
|
|
2577
|
+
To change only policy, use `oc-box preferences --host-clipboard off`.
|
|
2578
|
+
|
|
2579
|
+
### --host-clipboard-symlinks
|
|
2580
|
+
|
|
2581
|
+
Save ordinary symlink following for clipboard file imports for this and future
|
|
2582
|
+
workspace native TUI clients. This is also the default when no symlink choice
|
|
2583
|
+
is saved. Requires an effective enabled clipboard preference: a saved enable
|
|
2584
|
+
is enough, or combine with `--host-clipboard`. Accepted only on `start` or
|
|
2585
|
+
`reset`, and mutually exclusive with `--no-host-clipboard-symlinks`.
|
|
2586
|
+
|
|
2467
2587
|
### --no-host-clipboard-symlinks
|
|
2468
2588
|
|
|
2469
|
-
|
|
2470
|
-
Requires
|
|
2471
|
-
or
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
restarting the workspace owner
|
|
2475
|
-
live sharing.
|
|
2589
|
+
Save strict no-symlink clipboard sources for this and future workspace native
|
|
2590
|
+
TUI clients. Requires effective clipboard enable (saved or explicit) on `start`
|
|
2591
|
+
or `reset`. A symlink in the selected file or any parent folder produces the
|
|
2592
|
+
same fixed source refusal as other denied sources. PNG pixel imports are
|
|
2593
|
+
unchanged. An additional client can save/use the
|
|
2594
|
+
choice without restarting the workspace owner; existing clients are not
|
|
2595
|
+
live-toggled. Neither choice changes file-drop preferences or live sharing.
|
|
2596
|
+
Use `preferences --host-clipboard-symlinks on|off` to save without opening a client,
|
|
2597
|
+
even while clipboard importing is off.
|
|
2476
2598
|
|
|
2477
2599
|
```sh
|
|
2478
2600
|
oc-box --project ~/devel/demo --host-clipboard --no-host-clipboard-symlinks
|
|
2601
|
+
# Saved clipboard enable and strict capture now apply without flags:
|
|
2602
|
+
oc-box --project ~/devel/demo
|
|
2603
|
+
oc-box preferences --project ~/devel/demo --host-clipboard-symlinks on
|
|
2479
2604
|
```
|
|
2480
2605
|
|
|
2481
2606
|
### --credential-mode env|selected|vault
|
|
@@ -3646,7 +3771,9 @@ not inspect the OpenCode major version or whether a service is already active;
|
|
|
3646
3771
|
the command itself rejects V1 or attached-client use of `--no-vault`.
|
|
3647
3772
|
`--host-drop` and `--no-host-drop` startup flags are offered only for
|
|
3648
3773
|
default/start/reset TUI clients, not web, terminal or the separate dashboard.
|
|
3649
|
-
The
|
|
3774
|
+
The clipboard enable/disable and symlink startup flags use the same command
|
|
3775
|
+
scope. The separate `preferences --host-drop`, `--host-clipboard` and
|
|
3776
|
+
`--host-clipboard-symlinks` settings complete `on`/`off`.
|
|
3650
3777
|
Direct-TTY, native-version and
|
|
3651
3778
|
host-input requirements are checked by the command, not during completion.
|
|
3652
3779
|
`--project` completes directories; backup archive inputs, `--output`, and
|