oc-box 1.7.278.dev0__tar.gz → 1.7.313.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/.github/workflows/ci.yml +17 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/.github/workflows/distros.yml +1 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/.github/workflows/linkedin.yml +2 -2
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/.github/workflows/publish.yml +100 -8
- oc_box-1.7.313.dev0/.github/workflows/security-codeql.yml +97 -0
- oc_box-1.7.313.dev0/.github/workflows/security.yml +107 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/AGENTS.md +28 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/CONTRIBUTING.md +3 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/MANIFEST.in +1 -1
- {oc_box-1.7.278.dev0/src/oc_box.egg-info → oc_box-1.7.313.dev0}/PKG-INFO +1 -1
- oc_box-1.7.313.dev0/build-info.json +7 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/completions/oc-box +23 -11
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/cli.md +368 -102
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/guides/backups.md +44 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/guides/host-files.md +3 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/host-clipboard-testing.md +13 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/oc-box.1 +138 -50
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/oc-box.info +531 -247
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/oc-box.texi +138 -50
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/plans/README.md +2 -0
- oc_box-1.7.313.dev0/docs/plans/trusted-terminal-input.md +41 -0
- oc_box-1.7.313.dev0/docs/release-security.md +77 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/releases/1.7.md +22 -5
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/testing.md +91 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/tui.md +57 -19
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/pyproject.toml +1 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/activity_log.py +24 -20
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/attachments.py +24 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/backup_archive.py +11 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/backup_crypto.py +161 -21
- oc_box-1.7.313.dev0/src/oc_box/backups.py +1929 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/cli_help.py +60 -7
- oc_box-1.7.313.dev0/src/oc_box/cli_table.py +129 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/dependencies.py +74 -3
- oc_box-1.7.313.dev0/src/oc_box/file_open_formats.py +180 -0
- oc_box-1.7.313.dev0/src/oc_box/file_preview.py +317 -0
- oc_box-1.7.313.dev0/src/oc_box/file_preview_host.py +750 -0
- oc_box-1.7.313.dev0/src/oc_box/file_preview_io.py +403 -0
- oc_box-1.7.313.dev0/src/oc_box/file_preview_png.py +377 -0
- oc_box-1.7.313.dev0/src/oc_box/file_preview_tui.tsx +226 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/history_reader.py +8 -6
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/history_recovery.py +22 -17
- oc_box-1.7.313.dev0/src/oc_box/host_backup_auth.py +670 -0
- oc_box-1.7.313.dev0/src/oc_box/host_backup_payload.py +509 -0
- oc_box-1.7.313.dev0/src/oc_box/host_backup_restore.py +668 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/host_drop.py +19 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/host_drop_input.py +265 -18
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/installation.py +10 -0
- oc_box-1.7.313.dev0/src/oc_box/lifecycle_output.py +184 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/log_config.py +26 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/logs_cli.py +60 -15
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/oc_box.py +149 -63
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/opencode_v2_io.py +34 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/sharing.py +10 -2
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/status_report.py +24 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/terminal_ui.py +78 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui.py +14 -5
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_backup_workflow.py +146 -31
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_clipboard.py +42 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_management.py +315 -77
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_notifications.py +6 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_operation_io.py +175 -11
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_operations.py +210 -82
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/ui_state.py +3 -0
- oc_box-1.7.313.dev0/src/oc_box/ui_state_tui.js +105 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/vault.py +27 -8
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/workspace_preferences.py +114 -25
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/workspace_service.py +84 -7
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0/src/oc_box.egg-info}/PKG-INFO +1 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/SOURCES.txt +30 -0
- oc_box-1.7.313.dev0/tests/smoke_file_preview_v2.py +506 -0
- oc_box-1.7.313.dev0/tests/smoke_host_backup_auth_v2.py +86 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_backup_crypto.py +145 -2
- oc_box-1.7.313.dev0/tests/test_backup_info_table.py +442 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_backups.py +823 -24
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_cli_help.py +13 -3
- oc_box-1.7.313.dev0/tests/test_cli_table.py +61 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_completion.py +26 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_dependencies.py +63 -7
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_documentation.py +29 -1
- oc_box-1.7.313.dev0/tests/test_file_open_formats.py +279 -0
- oc_box-1.7.313.dev0/tests/test_file_open_relay.py +188 -0
- oc_box-1.7.313.dev0/tests/test_file_preview.py +414 -0
- oc_box-1.7.313.dev0/tests/test_file_preview_host.py +886 -0
- oc_box-1.7.313.dev0/tests/test_file_preview_io.py +351 -0
- oc_box-1.7.313.dev0/tests/test_file_preview_png.py +441 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_global_vault_edges_host_fixture.py +37 -20
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_history_source_lease.py +6 -0
- oc_box-1.7.313.dev0/tests/test_host_backup.py +652 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_host_clipboard_preferences.py +2 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_host_drop.py +42 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_host_drop_input.py +232 -7
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_lifecycle_output.py +208 -7
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_log_config.py +9 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_logs_cli.py +62 -10
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_packaging.py +68 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_release_artifacts.py +66 -1
- oc_box-1.7.313.dev0/tests/test_security_scan.py +364 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_status.py +54 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_backup_integration.py +96 -9
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_backup_workflow.py +118 -3
- oc_box-1.7.313.dev0/tests/test_tui_host_backup_switches.py +429 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_management.py +4 -2
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_management_cards.py +16 -8
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_operation_io.py +206 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_operations.py +443 -49
- oc_box-1.7.313.dev0/tests/test_v2_control_pipe.py +59 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_vault.py +29 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_preferences.py +286 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_service.py +22 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/check_package.py +36 -3
- oc_box-1.7.313.dev0/tools/check_security_scan.py +364 -0
- oc_box-1.7.313.dev0/tools/release_python_deps.py +47 -0
- oc_box-1.7.278.dev0/build-info.json +0 -7
- oc_box-1.7.278.dev0/src/oc_box/backups.py +0 -986
- oc_box-1.7.278.dev0/src/oc_box/lifecycle_output.py +0 -126
- oc_box-1.7.278.dev0/src/oc_box/ui_state_tui.js +0 -83
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/LICENSE +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/NOTICE +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/README.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/SECURITY.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/README.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/readme-hero.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/README.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/backups.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/logs.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/manifest.json +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/sessions.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/settings.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/status.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/storage.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/assets/tui/terminals.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/concepts.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/getting-started.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/guides/clients.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/guides/credentials.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/guides/workspaces.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/host-plugins.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/installation.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/legacy/README.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/opencode-2.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/plans/exit-sync-activity-timeout.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/project-status.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/release-announcements.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/releases/README.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/releases/tui-v1.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/sharing-handoff.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/sharing-host-acceptance.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/ui-state.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/update-channels.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/docs/web-shell.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/install.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/install.sh +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/setup.cfg +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/setup.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/_oc_box_build.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/__init__.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/__main__.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/attachment_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/bootstrap.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/credentials.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/host_clipboard.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/host_drop_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/install.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/journal_output.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/native_tabs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/opencode_compat.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/package_updates.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/paths.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/plugin_bridge.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/plugin_compat.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/private_memory.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/secret_prompt.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/session_backups.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/session_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/sync_config.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_app.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_backend.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_logs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_sessions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_settings.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_status.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_storage.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/tui_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/ui_state_memory.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/ui_state_rpc.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/ui_state_server.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/update_channels.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/updater.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/version_info.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_attachments.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_attachments.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_sessions.css +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_sessions.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/web_sessions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/workspace_control.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box/workspace_identity.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/dependency_links.txt +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/entry_points.txt +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/requires.txt +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/src/oc_box.egg-info/top_level.txt +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/copied_plugin_bytes.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/fixture_services.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/host_sandbox_fixture.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/interrupted_v1_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/native_plugin_fixture.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/plugin_bridge_fixture.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_attachments_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_build_permissions_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_global_vault.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_global_vault_host_helpers.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_history_recovery_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_history_subagent_recovery_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_host_drop_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_host_plugins.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_image_preview_preferences_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_mainline.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_native_host_port.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_native_preferences_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_native_tabs_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_session_backup_transport_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_session_backups_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_session_sync_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_sharing_host_helpers.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_sharing_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_tui_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_ui_state_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_web_attachments_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/smoke_web_sessions_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_activity_log.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_attachment_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_attachments.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_backup_archive.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_channel_bootstrap.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_channel_installer.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_channel_updater.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_global_vault.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_global_vault_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_global_vault_launch.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_history_exports.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_history_reader.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_history_recovery.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_home_ownership_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_host_clipboard.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_host_drop_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_host_drop_preferences.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_host_plugin_migration.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_image_preview.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_interactive_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_interactive_host_service_port.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_journal_output.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_native_host_port.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_native_recovery_process.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_native_tab_routing.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_native_tabs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_oc_box.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_opencode_compat.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_package_updates.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_plugin_compat.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_podman_options.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_private_memory.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_private_output.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_process_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_release_announcement_workflows.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_release_announcements.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_release_card.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_release_channels.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_secret_prompt.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_session_backups.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_session_import.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_session_sync.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_session_sync_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_session_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_archive_scan.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_backup_diagnostic.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_backup_probe.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_fixture_provider.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_host_oracles.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_owner_control.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_pax_metadata.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_pax_reason.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_session_payload.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sharing_transport.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_src_layout.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_stale_workspaces.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_startup.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_sync_config_preferences.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_app.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_backend.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_card_layout.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_card_metrics.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_cli.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_clipboard.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_clipboard_privacy.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_delete_notifications.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_display_performance.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_global_interactions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_input_controls.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_installation.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_loading.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_log_feedback.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_logs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_logs_copy_scope.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_logs_view.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_notifications.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_operation_results.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_selection.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_sessions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_settings.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_status.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_storage.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_tui_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_ui_state.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_update_channels.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_updater.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_upgrade_cli.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_v2_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_version.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_web_attachments.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_web_sessions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_control.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_identity.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/test_workspace_repair.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/ui_state_fixture.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/web_attachments_browser.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/web_attachments_shell_dom.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tests/web_sessions_dom.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/announce_release.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/benchmark_tui_display.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/build_docs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/capture_tui_docs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/check_release.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/check_release_artifacts.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/diagnose_import.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/diagnose_sharing_backup.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/host_sandbox.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/migrate_host_plugins.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/lemonade-models/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/no-nested-sandbox/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/output-clamp/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/pdf-to-text/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/native_plugins/python-isolation/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/port_host_plugins.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/release_card.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/sharing_archive_scan.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/sharing_archive_scan_original.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/sharing_backup_probe.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/sharing_fixture_provider.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/sharing_pax_reason.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/test_backup_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/test_dependency_distro.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/test_global_vault_edges_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/test_global_vault_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/test_home_ownership_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/test_interactive_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/test_session_sync_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/test_sharing_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.313.dev0}/tools/test_v2_podman.py +0 -0
|
@@ -4,6 +4,7 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches: [master, devel, 'feature/**', 'fix/**']
|
|
6
6
|
pull_request:
|
|
7
|
+
workflow_call:
|
|
7
8
|
|
|
8
9
|
permissions:
|
|
9
10
|
contents: read
|
|
@@ -37,7 +38,11 @@ jobs:
|
|
|
37
38
|
bash -n completions/oc-box
|
|
38
39
|
shellcheck --shell=bash completions/oc-box
|
|
39
40
|
python -m venv "$RUNNER_TEMP/tests"
|
|
40
|
-
"$RUNNER_TEMP/tests/bin/python" -m pip install 'cryptography>=44' 'textual>=8.2.8,<9' 'pyte>=0.8.2,<0.9'
|
|
41
|
+
"$RUNNER_TEMP/tests/bin/python" -m pip install 'cryptography>=44' 'textual>=8.2.8,<9' 'pyte>=0.8.2,<0.9'
|
|
42
|
+
# Release-card rendering uses Pillow 13 (Python 3.11+), not a runtime dependency.
|
|
43
|
+
if [[ "${{ matrix.python }}" == '3.13' ]]; then
|
|
44
|
+
"$RUNNER_TEMP/tests/bin/python" -m pip install 'Pillow>=13,<14'
|
|
45
|
+
fi
|
|
41
46
|
"$RUNNER_TEMP/tests/bin/python" -B -m unittest discover -s tests -v
|
|
42
47
|
python tools/build_docs.py --check
|
|
43
48
|
git diff --check
|
|
@@ -81,6 +86,7 @@ jobs:
|
|
|
81
86
|
python3 -B tests/smoke_web_attachments_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
82
87
|
python3 -B tests/smoke_ui_state_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
83
88
|
python3 -B tests/smoke_session_backups_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
89
|
+
python3 -B tests/smoke_host_backup_auth_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/@opencode/cli-linux-x64/bin/opencode"
|
|
84
90
|
python3 -B tests/smoke_session_backup_transport_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
85
91
|
python3 -B tests/smoke_sharing_host_helpers.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
86
92
|
python3 -B tests/smoke_host_plugins.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
@@ -126,6 +132,12 @@ jobs:
|
|
|
126
132
|
python3 -B tests/smoke_history_subagent_recovery_v2.py
|
|
127
133
|
--opencode "$RUNNER_TEMP/opencode-v23/node_modules/.bin/opencode"
|
|
128
134
|
--foreground --producer-close abrupt
|
|
135
|
+
- name: Native host-file click and input recovery smoke
|
|
136
|
+
run: |
|
|
137
|
+
python3 -m venv "$RUNNER_TEMP/host-file-open-tests"
|
|
138
|
+
"$RUNNER_TEMP/host-file-open-tests/bin/python" -m pip install 'pyte>=0.8.2,<0.9'
|
|
139
|
+
"$RUNNER_TEMP/host-file-open-tests/bin/python" -B tests/smoke_file_preview_v2.py \
|
|
140
|
+
--opencode "$RUNNER_TEMP/opencode-v23/node_modules/.bin/opencode"
|
|
129
141
|
|
|
130
142
|
opencode-v2-current-web-tabs:
|
|
131
143
|
runs-on: ubuntu-latest
|
|
@@ -146,3 +158,7 @@ jobs:
|
|
|
146
158
|
"$opencode" --version
|
|
147
159
|
python3 -B tests/smoke_web_sessions_v2.py --opencode "$opencode"
|
|
148
160
|
python3 -B tests/smoke_ui_state_v2.py --opencode "$opencode"
|
|
161
|
+
- name: Native host credential round trip on current stable OpenCode 2.x
|
|
162
|
+
run: >-
|
|
163
|
+
python3 -B tests/smoke_host_backup_auth_v2.py
|
|
164
|
+
--opencode "$RUNNER_TEMP/opencode-v2-web/node_modules/@opencode/cli-linux-x64/bin/opencode"
|
|
@@ -77,7 +77,7 @@ jobs:
|
|
|
77
77
|
if: inputs.action == 'preview'
|
|
78
78
|
run: |
|
|
79
79
|
python -m venv "$RUNNER_TEMP/linkedin-tools"
|
|
80
|
-
"$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=
|
|
80
|
+
"$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=13,<14'
|
|
81
81
|
- name: Discover profiles without posting
|
|
82
82
|
if: inputs.action == 'channels'
|
|
83
83
|
env:
|
|
@@ -199,7 +199,7 @@ jobs:
|
|
|
199
199
|
- name: Install isolated card renderer
|
|
200
200
|
run: |
|
|
201
201
|
python -m venv "$RUNNER_TEMP/linkedin-tools"
|
|
202
|
-
"$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=
|
|
202
|
+
"$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=13,<14'
|
|
203
203
|
- name: Announce or reconcile the existing post
|
|
204
204
|
env:
|
|
205
205
|
ACTION: ${{ inputs.action }}
|
|
@@ -6,7 +6,7 @@ on:
|
|
|
6
6
|
workflow_dispatch:
|
|
7
7
|
inputs:
|
|
8
8
|
publish:
|
|
9
|
-
description: Publish an existing GitHub release to PyPI
|
|
9
|
+
description: Publish an existing GitHub release to PyPI (false runs release preflight only)
|
|
10
10
|
type: boolean
|
|
11
11
|
default: false
|
|
12
12
|
release_tag:
|
|
@@ -21,6 +21,10 @@ on:
|
|
|
21
21
|
permissions:
|
|
22
22
|
contents: read
|
|
23
23
|
|
|
24
|
+
defaults:
|
|
25
|
+
run:
|
|
26
|
+
shell: bash
|
|
27
|
+
|
|
24
28
|
env:
|
|
25
29
|
PYTHONPATH: ${{ github.workspace }}/src
|
|
26
30
|
|
|
@@ -29,9 +33,60 @@ concurrency:
|
|
|
29
33
|
cancel-in-progress: false
|
|
30
34
|
|
|
31
35
|
jobs:
|
|
36
|
+
candidate:
|
|
37
|
+
if: github.repository == 'groopcd/oc-box'
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
timeout-minutes: 5
|
|
40
|
+
outputs:
|
|
41
|
+
commit: ${{ steps.resolve.outputs.commit }}
|
|
42
|
+
steps:
|
|
43
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
44
|
+
with:
|
|
45
|
+
fetch-depth: 0
|
|
46
|
+
persist-credentials: false
|
|
47
|
+
ref: ${{ github.sha }}
|
|
48
|
+
- id: resolve
|
|
49
|
+
name: Pin the release or preflight candidate
|
|
50
|
+
env:
|
|
51
|
+
EVENT_SHA: ${{ github.sha }}
|
|
52
|
+
EVENT_REF: ${{ github.ref }}
|
|
53
|
+
RELEASE_TAG: ${{ github.event.release.tag_name || inputs.release_tag }}
|
|
54
|
+
PUBLISH_REQUESTED: ${{ github.event_name == 'release' || inputs.publish }}
|
|
55
|
+
EVENT: ${{ github.event_name }}
|
|
56
|
+
run: |
|
|
57
|
+
if [[ "$EVENT" == workflow_dispatch && "$PUBLISH_REQUESTED" == true ]]; then
|
|
58
|
+
case "$EVENT_REF" in refs/heads/master|refs/heads/devel) ;; *) exit 1 ;; esac
|
|
59
|
+
fi
|
|
60
|
+
[[ "$EVENT_SHA" =~ ^[0-9a-f]{40}$ ]]
|
|
61
|
+
test "$(git rev-parse HEAD)" = "$EVENT_SHA"
|
|
62
|
+
if [[ -n "$RELEASE_TAG" || "$PUBLISH_REQUESTED" == true ]]; then
|
|
63
|
+
[[ "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(\.dev0)?$ ]]
|
|
64
|
+
test "$(git rev-parse --verify "refs/tags/$RELEASE_TAG^{commit}")" = "$EVENT_SHA"
|
|
65
|
+
if [[ "$EVENT" == workflow_dispatch ]]; then
|
|
66
|
+
branch=master
|
|
67
|
+
if [[ "$RELEASE_TAG" == *.dev0 ]]; then branch=devel; fi
|
|
68
|
+
test "$EVENT_REF" = "refs/heads/$branch"
|
|
69
|
+
fi
|
|
70
|
+
fi
|
|
71
|
+
printf 'commit=%s\n' "$EVENT_SHA" >> "$GITHUB_OUTPUT"
|
|
72
|
+
printf 'Candidate: `%s`\n' "$EVENT_SHA" >> "$GITHUB_STEP_SUMMARY"
|
|
73
|
+
|
|
74
|
+
source:
|
|
75
|
+
needs: candidate
|
|
76
|
+
uses: ./.github/workflows/ci.yml
|
|
77
|
+
|
|
78
|
+
distros:
|
|
79
|
+
needs: candidate
|
|
80
|
+
uses: ./.github/workflows/distros.yml
|
|
81
|
+
|
|
82
|
+
codeql:
|
|
83
|
+
needs: candidate
|
|
84
|
+
uses: ./.github/workflows/security-codeql.yml
|
|
85
|
+
|
|
32
86
|
build:
|
|
87
|
+
needs: candidate
|
|
33
88
|
runs-on: ubuntu-latest
|
|
34
|
-
timeout-minutes:
|
|
89
|
+
timeout-minutes: 35
|
|
35
90
|
outputs:
|
|
36
91
|
publish_validated: ${{ steps.artifacts.outputs.publish_validated }}
|
|
37
92
|
steps:
|
|
@@ -39,19 +94,30 @@ jobs:
|
|
|
39
94
|
with:
|
|
40
95
|
fetch-depth: 0
|
|
41
96
|
persist-credentials: false
|
|
42
|
-
ref: ${{ github.
|
|
97
|
+
ref: ${{ github.sha }}
|
|
43
98
|
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
44
99
|
with:
|
|
45
|
-
python-version: '3.
|
|
100
|
+
python-version: '3.13'
|
|
46
101
|
- name: Create isolated build tools
|
|
102
|
+
env:
|
|
103
|
+
CANDIDATE: ${{ needs.candidate.outputs.commit }}
|
|
47
104
|
run: |
|
|
105
|
+
test "$(git rev-parse HEAD)" = "$CANDIDATE"
|
|
48
106
|
apt_root=$(mktemp -d /tmp/oc-box-ci-apt.XXXXXXXX)
|
|
49
107
|
chmod 755 "$apt_root"
|
|
50
108
|
apt_config=$(python3 tools/ci_ubuntu_apt.py --output "$apt_root/config" --mirror azure --force-ipv4)
|
|
51
109
|
sudo apt-get -c "$apt_config" update
|
|
52
110
|
sudo apt-get -c "$apt_config" install -y --no-install-recommends age
|
|
53
111
|
python -m venv "$RUNNER_TEMP/oc-box-build"
|
|
54
|
-
"$RUNNER_TEMP/
|
|
112
|
+
python tools/release_python_deps.py > "$RUNNER_TEMP/release-requirements.txt"
|
|
113
|
+
"$RUNNER_TEMP/oc-box-build/bin/python" -m pip install --only-binary=:all: \
|
|
114
|
+
--upgrade -r "$RUNNER_TEMP/release-requirements.txt"
|
|
115
|
+
- name: Gate the resolved Python release dependencies
|
|
116
|
+
env:
|
|
117
|
+
CANDIDATE: ${{ needs.candidate.outputs.commit }}
|
|
118
|
+
run: |
|
|
119
|
+
bash tools/audit_release_python.sh "$RUNNER_TEMP/oc-box-build" "$CANDIDATE" --gate \
|
|
120
|
+
| tee -a "$GITHUB_STEP_SUMMARY"
|
|
55
121
|
- name: Validate source and release version
|
|
56
122
|
id: release
|
|
57
123
|
env:
|
|
@@ -81,7 +147,7 @@ jobs:
|
|
|
81
147
|
run: '"$RUNNER_TEMP/oc-box-build/bin/python" -B -m unittest discover -s tests -v'
|
|
82
148
|
- name: Build wheel and source distribution
|
|
83
149
|
run: |
|
|
84
|
-
"$RUNNER_TEMP/oc-box-build/bin/python" -m build
|
|
150
|
+
"$RUNNER_TEMP/oc-box-build/bin/python" -m build --no-isolation
|
|
85
151
|
"$RUNNER_TEMP/oc-box-build/bin/python" -m twine check dist/*
|
|
86
152
|
- name: Verify isolated package installation and resources
|
|
87
153
|
run: python tools/check_package.py dist --with-vault --with-tui
|
|
@@ -114,8 +180,11 @@ jobs:
|
|
|
114
180
|
retention-days: 7
|
|
115
181
|
|
|
116
182
|
publish:
|
|
117
|
-
if:
|
|
118
|
-
|
|
183
|
+
if: >-
|
|
184
|
+
success() &&
|
|
185
|
+
(github.event_name == 'release' || inputs.publish) &&
|
|
186
|
+
needs.build.outputs.publish_validated == 'true'
|
|
187
|
+
needs: [candidate, source, distros, codeql, build]
|
|
119
188
|
runs-on: ubuntu-latest
|
|
120
189
|
timeout-minutes: 10
|
|
121
190
|
environment:
|
|
@@ -129,10 +198,13 @@ jobs:
|
|
|
129
198
|
name: python-distributions
|
|
130
199
|
path: release-artifacts
|
|
131
200
|
- name: Verify transferred identity and checksums; select only distributions
|
|
201
|
+
env:
|
|
202
|
+
VERIFIED_CANDIDATE: ${{ needs.candidate.outputs.commit }}
|
|
132
203
|
run: |
|
|
133
204
|
python - <<'PY'
|
|
134
205
|
import hashlib
|
|
135
206
|
import json
|
|
207
|
+
import os
|
|
136
208
|
from pathlib import Path
|
|
137
209
|
import re
|
|
138
210
|
import shutil
|
|
@@ -141,6 +213,7 @@ jobs:
|
|
|
141
213
|
version = identity["distribution_version"]
|
|
142
214
|
assert isinstance(version, str) and re.fullmatch(r"\d+\.\d+\.\d+(?:\.dev0)?", version)
|
|
143
215
|
assert identity["publish_validated"] is True and identity["dirty"] is False
|
|
216
|
+
assert identity["commit"] == os.environ["VERIFIED_CANDIDATE"]
|
|
144
217
|
packages = {f"oc_box-{version}-py3-none-any.whl", f"oc_box-{version}.tar.gz"}
|
|
145
218
|
expected = packages | {"validated-identity.json"}
|
|
146
219
|
lines = (bundle / "SHA256SUMS").read_text().splitlines()
|
|
@@ -159,6 +232,25 @@ jobs:
|
|
|
159
232
|
for name in sorted(packages):
|
|
160
233
|
shutil.copyfile(bundle / name, destination / name)
|
|
161
234
|
PY
|
|
235
|
+
- name: Recheck the live public tag before uploading
|
|
236
|
+
env:
|
|
237
|
+
RELEASE_TAG: ${{ github.event.release.tag_name || inputs.release_tag }}
|
|
238
|
+
VERIFIED_CANDIDATE: ${{ needs.candidate.outputs.commit }}
|
|
239
|
+
run: |
|
|
240
|
+
[[ "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(\.dev0)?$ ]]
|
|
241
|
+
[[ "$VERIFIED_CANDIDATE" =~ ^[0-9a-f]{40}$ ]]
|
|
242
|
+
ref="refs/tags/$RELEASE_TAG"
|
|
243
|
+
observed=$(timeout 30 git -c credential.helper= ls-remote --exit-code \
|
|
244
|
+
https://github.com/groopcd/oc-box.git "$ref" "$ref^{}")
|
|
245
|
+
peeled=$(awk -F '\t' -v ref="$ref" '
|
|
246
|
+
$2 == ref { tip=$1; count++ }
|
|
247
|
+
$2 == ref "^{}" { commit=$1; peeled_count++ }
|
|
248
|
+
END {
|
|
249
|
+
if (count != 1 || peeled_count > 1 || NR != count + peeled_count) exit 1
|
|
250
|
+
print (peeled_count == 1 ? commit : tip)
|
|
251
|
+
}
|
|
252
|
+
' <<< "$observed")
|
|
253
|
+
test "$peeled" = "$VERIFIED_CANDIDATE"
|
|
162
254
|
- name: Publish with PyPI Trusted Publishing
|
|
163
255
|
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
|
|
164
256
|
with:
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
name: Candidate CodeQL scan
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
inputs:
|
|
6
|
+
commit:
|
|
7
|
+
description: Off-ref advisory snapshot; release scans use the workflow event SHA
|
|
8
|
+
required: false
|
|
9
|
+
type: string
|
|
10
|
+
default: ''
|
|
11
|
+
branch:
|
|
12
|
+
description: Retain advisory SARIF for this branch; empty means enforce the release gate without uploading
|
|
13
|
+
required: false
|
|
14
|
+
type: string
|
|
15
|
+
default: ''
|
|
16
|
+
|
|
17
|
+
defaults:
|
|
18
|
+
run:
|
|
19
|
+
shell: bash
|
|
20
|
+
|
|
21
|
+
permissions:
|
|
22
|
+
contents: read
|
|
23
|
+
|
|
24
|
+
jobs:
|
|
25
|
+
codeql:
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
timeout-minutes: 25
|
|
28
|
+
strategy:
|
|
29
|
+
fail-fast: false
|
|
30
|
+
matrix:
|
|
31
|
+
language: [actions, javascript, python]
|
|
32
|
+
steps:
|
|
33
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
34
|
+
with:
|
|
35
|
+
ref: ${{ inputs.commit || github.sha }}
|
|
36
|
+
persist-credentials: false
|
|
37
|
+
- name: Verify the exact scan source
|
|
38
|
+
env:
|
|
39
|
+
CANDIDATE: ${{ inputs.commit || github.sha }}
|
|
40
|
+
BRANCH: ${{ inputs.branch }}
|
|
41
|
+
LANGUAGE: ${{ matrix.language }}
|
|
42
|
+
run: |
|
|
43
|
+
[[ "$CANDIDATE" =~ ^[0-9a-f]{40}$ ]]
|
|
44
|
+
test "$(git rev-parse HEAD)" = "$CANDIDATE"
|
|
45
|
+
case "$BRANCH" in ''|master|devel) ;; *) exit 1 ;; esac
|
|
46
|
+
if [[ -z "$BRANCH" ]]; then test "$CANDIDATE" = "$GITHUB_SHA"; fi
|
|
47
|
+
# The Actions extractor discovers workflow files at the workspace
|
|
48
|
+
# root. Never run source scripts here; the evaluator is a fresh job.
|
|
49
|
+
if [[ "$LANGUAGE" == actions ]]; then test -d .github/workflows; fi
|
|
50
|
+
printf 'Candidate: `%s`\n' "$CANDIDATE" >> "$GITHUB_STEP_SUMMARY"
|
|
51
|
+
- uses: github/codeql-action/init@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4
|
|
52
|
+
with:
|
|
53
|
+
languages: ${{ matrix.language }}
|
|
54
|
+
build-mode: none
|
|
55
|
+
- uses: github/codeql-action/analyze@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4
|
|
56
|
+
with:
|
|
57
|
+
output: ${{ runner.temp }}/oc-box-codeql
|
|
58
|
+
upload: never
|
|
59
|
+
upload-database: false
|
|
60
|
+
category: /language:${{ matrix.language }}
|
|
61
|
+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
62
|
+
with:
|
|
63
|
+
name: codeql-${{ inputs.branch || 'release' }}-${{ inputs.commit || github.sha }}-${{ matrix.language }}-attempt-${{ github.run_attempt }}
|
|
64
|
+
path: ${{ runner.temp }}/oc-box-codeql/${{ matrix.language }}.sarif
|
|
65
|
+
if-no-files-found: error
|
|
66
|
+
retention-days: 2
|
|
67
|
+
|
|
68
|
+
evaluate:
|
|
69
|
+
needs: codeql
|
|
70
|
+
runs-on: ubuntu-latest
|
|
71
|
+
timeout-minutes: 10
|
|
72
|
+
strategy:
|
|
73
|
+
fail-fast: false
|
|
74
|
+
matrix:
|
|
75
|
+
language: [actions, javascript, python]
|
|
76
|
+
steps:
|
|
77
|
+
# The analyzer treats off-ref source as data. Only the event's checker
|
|
78
|
+
# executes here, and downloaded SARIF stays outside the working tree.
|
|
79
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
80
|
+
with:
|
|
81
|
+
persist-credentials: false
|
|
82
|
+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
|
83
|
+
with:
|
|
84
|
+
name: codeql-${{ inputs.branch || 'release' }}-${{ inputs.commit || github.sha }}-${{ matrix.language }}-attempt-${{ github.run_attempt }}
|
|
85
|
+
path: ${{ runner.temp }}/oc-box-codeql
|
|
86
|
+
- name: Evaluate findings (blocking only on release candidates)
|
|
87
|
+
env:
|
|
88
|
+
CANDIDATE: ${{ inputs.commit || github.sha }}
|
|
89
|
+
BRANCH: ${{ inputs.branch }}
|
|
90
|
+
LANGUAGE: ${{ matrix.language }}
|
|
91
|
+
run: |
|
|
92
|
+
args=()
|
|
93
|
+
if [[ -z "$BRANCH" ]]; then args+=(--gate); fi
|
|
94
|
+
printf 'Language: `%s`\n' "$LANGUAGE" >> "$GITHUB_STEP_SUMMARY"
|
|
95
|
+
python3 tools/check_security_scan.py codeql \
|
|
96
|
+
"$RUNNER_TEMP/oc-box-codeql/$LANGUAGE.sarif" \
|
|
97
|
+
--commit "$CANDIDATE" "${args[@]}" | tee -a "$GITHUB_STEP_SUMMARY"
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
name: Scheduled security reports
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: '31 5 * * 2'
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
defaults:
|
|
12
|
+
run:
|
|
13
|
+
shell: bash
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
source:
|
|
17
|
+
if: github.repository == 'groopcd/oc-box' && github.ref == 'refs/heads/master'
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
timeout-minutes: 5
|
|
20
|
+
outputs:
|
|
21
|
+
master: ${{ steps.branches.outputs.master }}
|
|
22
|
+
devel: ${{ steps.branches.outputs.devel }}
|
|
23
|
+
steps:
|
|
24
|
+
- id: branches
|
|
25
|
+
name: Resolve the two public branch tips once
|
|
26
|
+
run: |
|
|
27
|
+
for branch in master devel; do
|
|
28
|
+
result=$(git ls-remote --exit-code --refs \
|
|
29
|
+
https://github.com/groopcd/oc-box.git "refs/heads/$branch")
|
|
30
|
+
IFS=$'\t' read -r sha ref <<< "$result"
|
|
31
|
+
[[ "$sha" =~ ^[0-9a-f]{40}$ && "$ref" == "refs/heads/$branch" ]]
|
|
32
|
+
printf '%s=%s\n' "$branch" "$sha" >> "$GITHUB_OUTPUT"
|
|
33
|
+
done
|
|
34
|
+
|
|
35
|
+
codeql:
|
|
36
|
+
needs: source
|
|
37
|
+
strategy:
|
|
38
|
+
fail-fast: false
|
|
39
|
+
matrix:
|
|
40
|
+
branch: [master, devel]
|
|
41
|
+
uses: ./.github/workflows/security-codeql.yml
|
|
42
|
+
with:
|
|
43
|
+
commit: ${{ needs.source.outputs[matrix.branch] }}
|
|
44
|
+
branch: ${{ matrix.branch }}
|
|
45
|
+
|
|
46
|
+
upload-codeql:
|
|
47
|
+
needs: [source, codeql]
|
|
48
|
+
if: ${{ !cancelled() && needs.source.result == 'success' }}
|
|
49
|
+
runs-on: ubuntu-latest
|
|
50
|
+
timeout-minutes: 10
|
|
51
|
+
permissions:
|
|
52
|
+
contents: read
|
|
53
|
+
security-events: write
|
|
54
|
+
strategy:
|
|
55
|
+
fail-fast: false
|
|
56
|
+
matrix:
|
|
57
|
+
branch: [master, devel]
|
|
58
|
+
language: [actions, javascript, python]
|
|
59
|
+
steps:
|
|
60
|
+
# Matching checkout is for the pinned SARIF action's source fingerprints.
|
|
61
|
+
# No checked-out scripts or candidate-controlled actions run in this job.
|
|
62
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
63
|
+
with:
|
|
64
|
+
ref: ${{ needs.source.outputs[matrix.branch] }}
|
|
65
|
+
persist-credentials: false
|
|
66
|
+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
|
67
|
+
with:
|
|
68
|
+
name: codeql-${{ matrix.branch }}-${{ needs.source.outputs[matrix.branch] }}-${{ matrix.language }}-attempt-${{ github.run_attempt }}
|
|
69
|
+
path: ${{ runner.temp }}/oc-box-sarif-upload
|
|
70
|
+
- uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4
|
|
71
|
+
with:
|
|
72
|
+
sarif_file: ${{ runner.temp }}/oc-box-sarif-upload/${{ matrix.language }}.sarif
|
|
73
|
+
ref: refs/heads/${{ matrix.branch }}
|
|
74
|
+
sha: ${{ needs.source.outputs[matrix.branch] }}
|
|
75
|
+
|
|
76
|
+
python:
|
|
77
|
+
needs: source
|
|
78
|
+
runs-on: ubuntu-latest
|
|
79
|
+
timeout-minutes: 15
|
|
80
|
+
strategy:
|
|
81
|
+
fail-fast: false
|
|
82
|
+
matrix:
|
|
83
|
+
branch: [master, devel]
|
|
84
|
+
steps:
|
|
85
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
86
|
+
with:
|
|
87
|
+
persist-credentials: false
|
|
88
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
89
|
+
with:
|
|
90
|
+
python-version: '3.13'
|
|
91
|
+
- name: Audit the resolved Python release dependencies (advisory)
|
|
92
|
+
env:
|
|
93
|
+
CANDIDATE: ${{ needs.source.outputs[matrix.branch] }}
|
|
94
|
+
run: |
|
|
95
|
+
[[ "$CANDIDATE" =~ ^[0-9a-f]{40}$ ]]
|
|
96
|
+
# Fetch only the repository's snapshotted Git object. Read its
|
|
97
|
+
# manifest as data; do not check it out or execute its scripts.
|
|
98
|
+
git fetch --no-tags --depth=1 origin "$CANDIDATE"
|
|
99
|
+
test "$(git rev-parse FETCH_HEAD)" = "$CANDIDATE"
|
|
100
|
+
git show "$CANDIDATE:pyproject.toml" > "$RUNNER_TEMP/candidate-pyproject.toml"
|
|
101
|
+
python -m venv "$RUNNER_TEMP/oc-box-build"
|
|
102
|
+
python tools/release_python_deps.py "$RUNNER_TEMP/candidate-pyproject.toml" \
|
|
103
|
+
> "$RUNNER_TEMP/release-requirements.txt"
|
|
104
|
+
"$RUNNER_TEMP/oc-box-build/bin/python" -m pip install --only-binary=:all: \
|
|
105
|
+
--upgrade -r "$RUNNER_TEMP/release-requirements.txt"
|
|
106
|
+
bash tools/audit_release_python.sh "$RUNNER_TEMP/oc-box-build" "$CANDIDATE" \
|
|
107
|
+
| tee -a "$GITHUB_STEP_SUMMARY"
|
|
@@ -324,6 +324,14 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
324
324
|
an exact patch allowlist; retain private-client, transfer and terminal contract
|
|
325
325
|
refusals. No public API proves future composer attachment behavior. Do not
|
|
326
326
|
reuse this eligibility policy as a shortcut for unrelated compatibility guards.
|
|
327
|
+
- `file_preview*.py` / `file_preview_tui.tsx` / `file_open_formats.py`:
|
|
328
|
+
experimental host open, per native 2.3.x TUI opt-in. Require a fresh
|
|
329
|
+
matched Ctrl-click from host terminal input and native assistant link
|
|
330
|
+
hit-testing. Child output must not independently grant file opens. Validate
|
|
331
|
+
mount/descriptor boundaries, bound each read and transfer, and open only
|
|
332
|
+
verified private PNG/text/Markdown/static HTML copies. Avoid clipboard
|
|
333
|
+
coupling, active HTML, arbitrary protocol dispatch, and mainline patches.
|
|
334
|
+
Native PTY evidence is not physical Yakuake/Podman acceptance.
|
|
327
335
|
- `ui_state.py` / `ui_state_*.js`: public-SDK container TUI/server/RPC reports,
|
|
328
336
|
installed only during normal eligible V2 owning preparation, never on attach.
|
|
329
337
|
Canonical stable native `2.x.y` is eligible, not proof of SDK compatibility.
|
|
@@ -376,6 +384,21 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
376
384
|
- `backups.py` / `backup_crypto.py` / `backup_archive.py`: host-only encrypted
|
|
377
385
|
backup/restore feature; use established age streaming encryption, no plaintext
|
|
378
386
|
archive staging, fresh restore IDs, and no archived privilege reactivation.
|
|
387
|
+
- `host_backup_payload.py` / `host_backup_restore.py` / `host_backup_auth.py`:
|
|
388
|
+
explicit CLI and reviewed dashboard host migration component. Preserve bounded
|
|
389
|
+
exact file bytes, read-only no-follow capture, the already-encrypted vault and independent
|
|
390
|
+
native OpenCode consent. No host configuration writes from workspace-only
|
|
391
|
+
restore. Never restore registry identities, an archived host database,
|
|
392
|
+
external paths or plaintext archive staging. V2 credentials come from an
|
|
393
|
+
explicit native export and are verified in an isolated tmpfs-backed native
|
|
394
|
+
store before publication to a reviewed, absent host database. Stable native
|
|
395
|
+
2.x uses the fresh-store behavior checks, not a patch allowlist or the live
|
|
396
|
+
history recovery policy. Refuse unexpected persisted work. No joins to the
|
|
397
|
+
live host service, silent overwrite or cross-filesystem transaction claims.
|
|
398
|
+
Dashboard switches select a plan only. Use the existing private backup PTY
|
|
399
|
+
and authenticated metadata review; native restore also needs the explicit
|
|
400
|
+
trust phrase. Review and recheck private export file identity without
|
|
401
|
+
carrying its contents on the dashboard protocol, stdout or clipboard.
|
|
379
402
|
- `install.py` (under the package): copies the launcher to `~/.local/share/oc-box` and creates
|
|
380
403
|
`~/.local/bin/oc-box`.
|
|
381
404
|
- `installation.py`: staged immutable installed copies and launcher activation.
|
|
@@ -806,7 +829,8 @@ changes, isolated from real workspace state. This fixture does not test restored
|
|
|
806
829
|
real-project model inference.
|
|
807
830
|
Restores retain original internal project paths via `container_project`; host
|
|
808
831
|
destinations/physical identities and resource IDs are fresh, not DB path edits.
|
|
809
|
-
|
|
810
|
-
vault and outside env files. Restored default/global V2 uses the restoring
|
|
811
|
-
vault, not old host privileges; persisted workspace config/auth may
|
|
812
|
-
secrets.
|
|
832
|
+
Workspace-only backups retain credential modes/policies but exclude the global
|
|
833
|
+
host vault and outside env files. Restored default/global V2 uses the restoring
|
|
834
|
+
host's vault, not old host privileges; persisted workspace config/auth may
|
|
835
|
+
still contain secrets. The explicit `--host` component can carry the encrypted
|
|
836
|
+
vault unchanged, with the original passphrase still required after restore.
|
|
@@ -81,6 +81,9 @@ unrelated projects; see the [manager guide](docs/tui.md#launch-and-navigation).
|
|
|
81
81
|
|
|
82
82
|
## Checks
|
|
83
83
|
|
|
84
|
+
Use focused checks for ordinary changes; full release checks and scheduled
|
|
85
|
+
security reporting are described in [release security](docs/release-security.md).
|
|
86
|
+
|
|
84
87
|
See [the test strategy and audit](docs/testing.md) before adding/removing tests.
|
|
85
88
|
Keep distinct data-loss/security regressions; consolidate repeated cases and
|
|
86
89
|
fixture/prose checks, not an arbitrary number of test methods.
|
|
@@ -5,7 +5,7 @@ recursive-include docs *.md *.1 *.texi *.info
|
|
|
5
5
|
recursive-include docs/assets *.png
|
|
6
6
|
include docs/assets/tui/manifest.json
|
|
7
7
|
include completions/oc-box
|
|
8
|
-
recursive-include src *.py *.js *.css
|
|
8
|
+
recursive-include src *.py *.js *.css *.tsx
|
|
9
9
|
recursive-include tests *.py *.mjs
|
|
10
10
|
include tools/host_sandbox.js
|
|
11
11
|
recursive-include tools/native_plugins *.js
|
|
@@ -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 logs doctor completion'
|
|
32
32
|
local selectors='--project --workspace'
|
|
33
|
-
local launch_logs='--journald --no-journald --log-dir --lifecycle-diagnostics'
|
|
33
|
+
local launch_logs='--journald --no-journald --log-dir --lifecycle-diagnostics --verbose'
|
|
34
34
|
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'
|
|
35
35
|
local help='-h --help' options
|
|
36
36
|
COMPREPLY=()
|
|
@@ -52,7 +52,12 @@ _oc_box()
|
|
|
52
52
|
if (( ! ended )); then
|
|
53
53
|
case $word in
|
|
54
54
|
--*=*) continue ;;
|
|
55
|
-
--
|
|
55
|
+
--verbose)
|
|
56
|
+
case ${COMP_WORDS[i+1],,} in
|
|
57
|
+
=|all|debug|info|warn|error) skip=1 ;;
|
|
58
|
+
esac
|
|
59
|
+
continue ;;
|
|
60
|
+
--project|--workspace|--distro|--auto-update|--import-session|--model|--credential-mode|--env-secret|--vault-secret|--cpus|--memory|--pids-limit|--device|--podman-arg|--output|--recipient|--identity|--opencode-auth-export|--min-passphrase-length|--feature|--port|--session|--text|--level|--limit|--log-dir)
|
|
56
61
|
skip=1; continue ;;
|
|
57
62
|
--broker) broker=1; continue ;;
|
|
58
63
|
--host-drop|--host-clipboard|--host-clipboard-symlinks)
|
|
@@ -90,7 +95,7 @@ _oc_box()
|
|
|
90
95
|
fi
|
|
91
96
|
case $option in
|
|
92
97
|
--project|--log-dir) _oc_box_paths -d; return 0 ;;
|
|
93
|
-
--output|--identity) _oc_box_paths -f; return 0 ;;
|
|
98
|
+
--output|--identity|--opencode-auth-export) _oc_box_paths -f; return 0 ;;
|
|
94
99
|
--distro)
|
|
95
100
|
_oc_box_words 'tumbleweed leap ubuntu debian fedora arch alpine opensuse opensuse-tumbleweed opensuse-leap archlinux'; return 0 ;;
|
|
96
101
|
--feature)
|
|
@@ -100,6 +105,13 @@ _oc_box()
|
|
|
100
105
|
if [[ $command == logs ]]; then
|
|
101
106
|
_oc_box_words 'debug info warn error'; return 0
|
|
102
107
|
fi ;;
|
|
108
|
+
--verbose)
|
|
109
|
+
if [[ $cur != -* ]]; then
|
|
110
|
+
case $command in
|
|
111
|
+
''|start|reset|stop|sync|terminal|web|logs)
|
|
112
|
+
_oc_box_words 'all debug info warn error'; return 0 ;;
|
|
113
|
+
esac
|
|
114
|
+
fi ;;
|
|
103
115
|
--host-drop|--host-clipboard|--host-clipboard-symlinks)
|
|
104
116
|
if [[ $command == preferences ]]; then
|
|
105
117
|
_oc_box_words 'on off'; return 0
|
|
@@ -123,16 +135,16 @@ _oc_box()
|
|
|
123
135
|
attach)
|
|
124
136
|
options="$help $selectors --session --broker"
|
|
125
137
|
(( broker )) || options+=' --text --send --acknowledge-risk' ;;
|
|
126
|
-
status) options="$help $selectors --json" ;;
|
|
127
|
-
logs) options="$help $selectors --level --limit --follow --json --journald --log-dir --path" ;;
|
|
138
|
+
status) options="$help $selectors --json --table" ;;
|
|
139
|
+
logs) options="$help $selectors --level --verbose --limit --follow --json --table --journald --log-dir --path" ;;
|
|
128
140
|
purge) options="$help $selectors --delete-sessions --all -y --yes" ;;
|
|
129
141
|
credentials) options="$help $selectors --credential-mode --env-secret --vault-secret --clear-credentials" ;;
|
|
130
|
-
preferences) options="$help $selectors --host-drop --host-clipboard --host-clipboard-symlinks --json" ;;
|
|
142
|
+
preferences) options="$help $selectors --host-drop --host-clipboard --host-clipboard-symlinks --json --table" ;;
|
|
131
143
|
upgrade) options="$help --check --stable --devel --vault --tui --auto-update" ;;
|
|
132
|
-
doctor) options="$help --json --feature" ;;
|
|
133
|
-
backup) options="$help $selectors --output --portable --recipient --min-passphrase-length" ;;
|
|
134
|
-
backup-info) options="$help --identity" ;;
|
|
135
|
-
restore) options="$help --project --identity" ;;
|
|
144
|
+
doctor) options="$help --json --table --feature" ;;
|
|
145
|
+
backup) options="$help $selectors --output --portable --host --opencode-auth-export --recipient --min-passphrase-length" ;;
|
|
146
|
+
backup-info) options="$help --identity --json --table" ;;
|
|
147
|
+
restore) options="$help --project --identity --host --include-opencode" ;;
|
|
136
148
|
secrets)
|
|
137
149
|
options=$help
|
|
138
150
|
if [[ -z $action ]]; then
|
|
@@ -144,7 +156,7 @@ _oc_box()
|
|
|
144
156
|
options=$help
|
|
145
157
|
(( positional == 0 )) && options+=' bash' ;;
|
|
146
158
|
list|distros) options=$help ;;
|
|
147
|
-
*) options="$commands $help $selectors $launch $launch_logs --status --about --version --json --check --stable --devel --vault --tui --auto-update --credential-mode --env-secret --vault-secret --clear-credentials --delete-sessions --all -y --yes --maintenance" ;;
|
|
159
|
+
*) options="$commands $help $selectors $launch $launch_logs --status --about --version --json --table --check --stable --devel --vault --tui --auto-update --credential-mode --env-secret --vault-secret --clear-credentials --delete-sessions --all -y --yes --maintenance" ;;
|
|
148
160
|
esac
|
|
149
161
|
if (( ! ended )); then
|
|
150
162
|
_oc_box_words "$options"
|