oc-box 1.7.278.dev0__tar.gz → 1.7.315.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.315.dev0}/.github/workflows/ci.yml +17 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/.github/workflows/distros.yml +1 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/.github/workflows/linkedin.yml +2 -2
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/.github/workflows/publish.yml +100 -8
- oc_box-1.7.315.dev0/.github/workflows/security-codeql.yml +97 -0
- oc_box-1.7.315.dev0/.github/workflows/security.yml +107 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/AGENTS.md +31 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/CONTRIBUTING.md +3 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/MANIFEST.in +1 -1
- {oc_box-1.7.278.dev0/src/oc_box.egg-info → oc_box-1.7.315.dev0}/PKG-INFO +5 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/README.md +4 -2
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/SECURITY.md +16 -0
- oc_box-1.7.315.dev0/build-info.json +7 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/completions/oc-box +25 -13
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/cli.md +393 -102
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/guides/backups.md +44 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/guides/host-files.md +5 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/host-clipboard-testing.md +13 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/installation.md +6 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/oc-box.1 +147 -50
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/oc-box.info +559 -247
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/oc-box.texi +149 -50
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/plans/README.md +2 -0
- oc_box-1.7.315.dev0/docs/plans/trusted-terminal-input.md +41 -0
- oc_box-1.7.315.dev0/docs/release-security.md +77 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/releases/1.7.md +32 -5
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/testing.md +120 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/tui.md +57 -19
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/update-channels.md +5 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/install.sh +24 -9
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/pyproject.toml +1 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/activity_log.py +24 -20
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/attachments.py +24 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/backup_archive.py +11 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/backup_crypto.py +161 -21
- oc_box-1.7.315.dev0/src/oc_box/backups.py +1929 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/cli_help.py +67 -8
- oc_box-1.7.315.dev0/src/oc_box/cli_table.py +129 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/dependencies.py +74 -3
- oc_box-1.7.315.dev0/src/oc_box/file_open_formats.py +180 -0
- oc_box-1.7.315.dev0/src/oc_box/file_preview.py +333 -0
- oc_box-1.7.315.dev0/src/oc_box/file_preview_host.py +750 -0
- oc_box-1.7.315.dev0/src/oc_box/file_preview_io.py +403 -0
- oc_box-1.7.315.dev0/src/oc_box/file_preview_png.py +377 -0
- oc_box-1.7.315.dev0/src/oc_box/file_preview_tui.tsx +226 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/history_reader.py +8 -6
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/history_recovery.py +22 -17
- oc_box-1.7.315.dev0/src/oc_box/host_backup_auth.py +670 -0
- oc_box-1.7.315.dev0/src/oc_box/host_backup_payload.py +509 -0
- oc_box-1.7.315.dev0/src/oc_box/host_backup_restore.py +668 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/host_drop.py +19 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/host_drop_input.py +265 -18
- oc_box-1.7.315.dev0/src/oc_box/host_file_open_policy.py +361 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/install.py +60 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/installation.py +109 -34
- oc_box-1.7.315.dev0/src/oc_box/lifecycle_output.py +184 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/log_config.py +26 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/logs_cli.py +60 -15
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/oc_box.py +222 -64
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/opencode_v2_io.py +34 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/sharing.py +10 -2
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/status_report.py +24 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/terminal_ui.py +78 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui.py +14 -5
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_backup_workflow.py +146 -31
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_clipboard.py +42 -4
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_management.py +315 -77
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_notifications.py +6 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_operation_io.py +175 -11
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_operations.py +210 -82
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/ui_state.py +3 -0
- oc_box-1.7.315.dev0/src/oc_box/ui_state_tui.js +105 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/vault.py +27 -8
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/workspace_preferences.py +114 -25
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/workspace_service.py +71 -7
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0/src/oc_box.egg-info}/PKG-INFO +5 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box.egg-info/SOURCES.txt +32 -0
- oc_box-1.7.315.dev0/tests/smoke_file_preview_v2.py +506 -0
- oc_box-1.7.315.dev0/tests/smoke_host_backup_auth_v2.py +86 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_backup_crypto.py +145 -2
- oc_box-1.7.315.dev0/tests/test_backup_info_table.py +442 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_backups.py +823 -24
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_channel_bootstrap.py +38 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_cli_help.py +18 -5
- oc_box-1.7.315.dev0/tests/test_cli_table.py +61 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_completion.py +37 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_dependencies.py +63 -7
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_documentation.py +29 -1
- oc_box-1.7.315.dev0/tests/test_file_open_formats.py +279 -0
- oc_box-1.7.315.dev0/tests/test_file_open_relay.py +188 -0
- oc_box-1.7.315.dev0/tests/test_file_preview.py +502 -0
- oc_box-1.7.315.dev0/tests/test_file_preview_host.py +886 -0
- oc_box-1.7.315.dev0/tests/test_file_preview_io.py +351 -0
- oc_box-1.7.315.dev0/tests/test_file_preview_png.py +441 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_global_vault_edges_host_fixture.py +37 -20
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_history_source_lease.py +6 -0
- oc_box-1.7.315.dev0/tests/test_host_backup.py +652 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_host_clipboard_preferences.py +4 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_host_drop.py +42 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_host_drop_input.py +232 -7
- oc_box-1.7.315.dev0/tests/test_host_file_open_policy.py +496 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_lifecycle_output.py +208 -7
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_log_config.py +9 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_logs_cli.py +62 -10
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_packaging.py +68 -3
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_release_artifacts.py +66 -1
- oc_box-1.7.315.dev0/tests/test_security_scan.py +364 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_status.py +54 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_backup_integration.py +96 -9
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_backup_workflow.py +118 -3
- oc_box-1.7.315.dev0/tests/test_tui_host_backup_switches.py +429 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_management.py +4 -2
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_management_cards.py +16 -8
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_operation_io.py +206 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_operations.py +443 -49
- oc_box-1.7.315.dev0/tests/test_v2_control_pipe.py +59 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_vault.py +29 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_workspace_preferences.py +286 -1
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_workspace_service.py +59 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/check_package.py +44 -3
- oc_box-1.7.315.dev0/tools/check_security_scan.py +364 -0
- oc_box-1.7.315.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.315.dev0}/LICENSE +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/NOTICE +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/README.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/readme-hero.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/tui/README.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/tui/backups.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/tui/logs.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/tui/manifest.json +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/tui/sessions.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/tui/settings.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/tui/status.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/tui/storage.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/assets/tui/terminals.png +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/concepts.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/getting-started.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/guides/clients.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/guides/credentials.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/guides/workspaces.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/host-plugins.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/legacy/README.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/opencode-2.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/plans/exit-sync-activity-timeout.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/project-status.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/release-announcements.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/releases/README.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/releases/tui-v1.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/sharing-handoff.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/sharing-host-acceptance.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/ui-state.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/docs/web-shell.md +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/install.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/setup.cfg +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/setup.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/_oc_box_build.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/__init__.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/__main__.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/attachment_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/bootstrap.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/credentials.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/host_clipboard.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/host_drop_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/journal_output.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/native_tabs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/opencode_compat.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/package_updates.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/paths.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/plugin_bridge.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/plugin_compat.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/private_memory.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/secret_prompt.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/session_backups.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/session_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/sync_config.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_app.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_backend.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_logs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_sessions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_settings.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_status.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_storage.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/tui_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/ui_state_memory.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/ui_state_rpc.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/ui_state_server.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/update_channels.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/updater.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/version_info.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/web_attachments.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/web_attachments.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/web_sessions.css +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/web_sessions.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/web_sessions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/workspace_control.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box/workspace_identity.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box.egg-info/dependency_links.txt +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box.egg-info/entry_points.txt +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box.egg-info/requires.txt +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/src/oc_box.egg-info/top_level.txt +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/copied_plugin_bytes.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/fixture_services.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/host_sandbox_fixture.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/interrupted_v1_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/native_plugin_fixture.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/plugin_bridge_fixture.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_attachments_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_build_permissions_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_global_vault.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_global_vault_host_helpers.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_history_recovery_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_history_subagent_recovery_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_host_drop_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_host_plugins.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_image_preview_preferences_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_mainline.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_native_host_port.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_native_preferences_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_native_tabs_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_session_backup_transport_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_session_backups_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_session_sync_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_sharing_host_helpers.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_sharing_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_tui_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_ui_state_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_web_attachments_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/smoke_web_sessions_v2.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_activity_log.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_attachment_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_attachments.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_backup_archive.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_channel_installer.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_channel_updater.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_global_vault.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_global_vault_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_global_vault_launch.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_history_exports.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_history_reader.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_history_recovery.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_home_ownership_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_host_clipboard.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_host_drop_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_host_drop_preferences.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_host_plugin_migration.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_image_preview.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_interactive_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_interactive_host_service_port.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_journal_output.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_native_host_port.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_native_recovery_process.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_native_tab_routing.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_native_tabs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_oc_box.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_opencode_compat.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_package_updates.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_plugin_compat.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_podman_options.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_private_memory.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_private_output.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_process_io.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_release_announcement_workflows.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_release_announcements.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_release_card.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_release_channels.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_secret_prompt.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_session_backups.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_session_import.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_session_sync.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_session_sync_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_session_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_archive_scan.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_backup_diagnostic.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_backup_probe.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_fixture_provider.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_host_oracles.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_owner_control.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_pax_metadata.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_pax_reason.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_session_payload.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sharing_transport.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_src_layout.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_stale_workspaces.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_startup.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_sync_config_preferences.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_app.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_backend.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_card_layout.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_card_metrics.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_cli.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_clipboard.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_clipboard_privacy.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_delete_notifications.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_display_performance.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_global_interactions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_input_controls.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_installation.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_loading.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_log_feedback.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_logs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_logs_copy_scope.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_logs_view.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_notifications.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_operation_results.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_selection.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_sessions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_settings.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_status.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_storage.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_tui_terminal.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_ui_state.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_update_channels.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_updater.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_upgrade_cli.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_v2_host_fixture.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_version.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_web_attachments.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_web_sessions.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_workspace_control.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_workspace_identity.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/test_workspace_repair.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/ui_state_fixture.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/web_attachments_browser.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/web_attachments_shell_dom.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tests/web_sessions_dom.mjs +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/announce_release.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/benchmark_tui_display.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/build_docs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/capture_tui_docs.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/check_release.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/check_release_artifacts.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/diagnose_import.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/diagnose_sharing_backup.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/host_sandbox.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/migrate_host_plugins.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/native_plugins/lemonade-models/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/native_plugins/no-nested-sandbox/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/native_plugins/output-clamp/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/native_plugins/pdf-to-text/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/native_plugins/python-isolation/index.js +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/port_host_plugins.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/release_card.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/sharing_archive_scan.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/sharing_archive_scan_original.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/sharing_backup_probe.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/sharing_fixture_provider.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/sharing_pax_reason.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/test_backup_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/test_dependency_distro.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/test_global_vault_edges_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/test_global_vault_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/test_home_ownership_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/test_interactive_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/test_session_sync_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.dev0}/tools/test_sharing_podman.py +0 -0
- {oc_box-1.7.278.dev0 → oc_box-1.7.315.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,17 @@ 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 CLI selection. Only verified
|
|
329
|
+
fresh GitHub installations get an automatic default, never a markerless
|
|
330
|
+
upgrade, wheel, source checkout or restored workspace. Keep the owner-bound
|
|
331
|
+
installation record out of archives. Require a fresh
|
|
332
|
+
matched Ctrl-click from host terminal input and native assistant link
|
|
333
|
+
hit-testing. Child output must not independently grant file opens. Validate
|
|
334
|
+
mount/descriptor boundaries, bound each read and transfer, and open only
|
|
335
|
+
verified private PNG/text/Markdown/static HTML copies. Avoid clipboard
|
|
336
|
+
coupling, active HTML, arbitrary protocol dispatch, and mainline patches.
|
|
337
|
+
Native PTY evidence is not physical Yakuake/Podman acceptance.
|
|
327
338
|
- `ui_state.py` / `ui_state_*.js`: public-SDK container TUI/server/RPC reports,
|
|
328
339
|
installed only during normal eligible V2 owning preparation, never on attach.
|
|
329
340
|
Canonical stable native `2.x.y` is eligible, not proof of SDK compatibility.
|
|
@@ -376,6 +387,21 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
376
387
|
- `backups.py` / `backup_crypto.py` / `backup_archive.py`: host-only encrypted
|
|
377
388
|
backup/restore feature; use established age streaming encryption, no plaintext
|
|
378
389
|
archive staging, fresh restore IDs, and no archived privilege reactivation.
|
|
390
|
+
- `host_backup_payload.py` / `host_backup_restore.py` / `host_backup_auth.py`:
|
|
391
|
+
explicit CLI and reviewed dashboard host migration component. Preserve bounded
|
|
392
|
+
exact file bytes, read-only no-follow capture, the already-encrypted vault and independent
|
|
393
|
+
native OpenCode consent. No host configuration writes from workspace-only
|
|
394
|
+
restore. Never restore registry identities, an archived host database,
|
|
395
|
+
external paths or plaintext archive staging. V2 credentials come from an
|
|
396
|
+
explicit native export and are verified in an isolated tmpfs-backed native
|
|
397
|
+
store before publication to a reviewed, absent host database. Stable native
|
|
398
|
+
2.x uses the fresh-store behavior checks, not a patch allowlist or the live
|
|
399
|
+
history recovery policy. Refuse unexpected persisted work. No joins to the
|
|
400
|
+
live host service, silent overwrite or cross-filesystem transaction claims.
|
|
401
|
+
Dashboard switches select a plan only. Use the existing private backup PTY
|
|
402
|
+
and authenticated metadata review; native restore also needs the explicit
|
|
403
|
+
trust phrase. Review and recheck private export file identity without
|
|
404
|
+
carrying its contents on the dashboard protocol, stdout or clipboard.
|
|
379
405
|
- `install.py` (under the package): copies the launcher to `~/.local/share/oc-box` and creates
|
|
380
406
|
`~/.local/bin/oc-box`.
|
|
381
407
|
- `installation.py`: staged immutable installed copies and launcher activation.
|
|
@@ -806,7 +832,8 @@ changes, isolated from real workspace state. This fixture does not test restored
|
|
|
806
832
|
real-project model inference.
|
|
807
833
|
Restores retain original internal project paths via `container_project`; host
|
|
808
834
|
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.
|
|
835
|
+
Workspace-only backups retain credential modes/policies but exclude the global
|
|
836
|
+
host vault and outside env files. Restored default/global V2 uses the restoring
|
|
837
|
+
host's vault, not old host privileges; persisted workspace config/auth may
|
|
838
|
+
still contain secrets. The explicit `--host` component can carry the encrypted
|
|
839
|
+
vault unchanged, with the original passphrase still required after restore.
|
|
@@ -81,6 +81,9 @@ unrelated projects; see the [manager guide](docs/tui.md#launch-and-navigation).
|
|
|
81
81
|
|
|
82
82
|
## Checks
|
|
83
83
|
|
|
84
|
+
Use focused checks for ordinary changes; full release checks and scheduled
|
|
85
|
+
security reporting are described in [release security](docs/release-security.md).
|
|
86
|
+
|
|
84
87
|
See [the test strategy and audit](docs/testing.md) before adding/removing tests.
|
|
85
88
|
Keep distinct data-loss/security regressions; consolidate repeated cases and
|
|
86
89
|
fixture/prose checks, not an arbitrary number of test methods.
|
|
@@ -5,7 +5,7 @@ recursive-include docs *.md *.1 *.texi *.info
|
|
|
5
5
|
recursive-include docs/assets *.png
|
|
6
6
|
include docs/assets/tui/manifest.json
|
|
7
7
|
include completions/oc-box
|
|
8
|
-
recursive-include src *.py *.js *.css
|
|
8
|
+
recursive-include src *.py *.js *.css *.tsx
|
|
9
9
|
recursive-include tests *.py *.mjs
|
|
10
10
|
include tools/host_sandbox.js
|
|
11
11
|
recursive-include tools/native_plugins *.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oc-box
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.315.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
|
|
@@ -98,7 +98,7 @@ for all methods.
|
|
|
98
98
|
**First installation — recommended GitHub path with vault and TUI:**
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
|
-
curl -fsSL --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/groopcd/oc-box/
|
|
101
|
+
curl -fsSL --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/groopcd/oc-box/devel/install.sh | sh -s -- --devel --with-vault --with-tui
|
|
102
102
|
oc-box --version
|
|
103
103
|
oc-box doctor
|
|
104
104
|
```
|
|
@@ -107,7 +107,9 @@ This explicitly selects a **published development release**, because stable
|
|
|
107
107
|
does not yet include the dashboard. Dependencies stay private to the GitHub
|
|
108
108
|
installation. This does not initialize or unlock a vault, change credential
|
|
109
109
|
policy, launch the dashboard or start a workspace. The command downloads and
|
|
110
|
-
runs the public installer; review it first if preferred.
|
|
110
|
+
runs the public installer; review it first if preferred. Only a verified fresh
|
|
111
|
+
install through this bootstrap turns on the
|
|
112
|
+
[Ctrl-click host opening default](docs/cli.md#experimental-ctrl-click-host-file-opening).
|
|
111
113
|
|
|
112
114
|
**Already installed?** Use the existing installation, without rerunning curl:
|
|
113
115
|
|
|
@@ -65,7 +65,7 @@ for all methods.
|
|
|
65
65
|
**First installation — recommended GitHub path with vault and TUI:**
|
|
66
66
|
|
|
67
67
|
```sh
|
|
68
|
-
curl -fsSL --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/groopcd/oc-box/
|
|
68
|
+
curl -fsSL --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/groopcd/oc-box/devel/install.sh | sh -s -- --devel --with-vault --with-tui
|
|
69
69
|
oc-box --version
|
|
70
70
|
oc-box doctor
|
|
71
71
|
```
|
|
@@ -74,7 +74,9 @@ This explicitly selects a **published development release**, because stable
|
|
|
74
74
|
does not yet include the dashboard. Dependencies stay private to the GitHub
|
|
75
75
|
installation. This does not initialize or unlock a vault, change credential
|
|
76
76
|
policy, launch the dashboard or start a workspace. The command downloads and
|
|
77
|
-
runs the public installer; review it first if preferred.
|
|
77
|
+
runs the public installer; review it first if preferred. Only a verified fresh
|
|
78
|
+
install through this bootstrap turns on the
|
|
79
|
+
[Ctrl-click host opening default](docs/cli.md#experimental-ctrl-click-host-file-opening).
|
|
78
80
|
|
|
79
81
|
**Already installed?** Use the existing installation, without rerunning curl:
|
|
80
82
|
|
|
@@ -263,6 +263,22 @@ See the separate [required checks](docs/testing.md#experimental-transparent-nati
|
|
|
263
263
|
unit/native fixtures are not new desktop/rootless-Podman acceptance or a blanket
|
|
264
264
|
security certification.
|
|
265
265
|
|
|
266
|
+
## Native TUI Ctrl-click host opening
|
|
267
|
+
|
|
268
|
+
Only a verified fresh GitHub installation gets an automatic host-opening
|
|
269
|
+
default. Existing installs and markerless package/source copies remain off
|
|
270
|
+
unless the caller requests `--host-file-open`. The owner-bound installation
|
|
271
|
+
record is not workspace, backup, or restore data. `--no-host-file-open` opts
|
|
272
|
+
out for the current client; neither command-line option affects other clients.
|
|
273
|
+
|
|
274
|
+
An eligible client still needs direct Konsole or Yakuake, native OpenCode
|
|
275
|
+
2.3.x, verified project/home mounts, and a private staging directory. Seeing an
|
|
276
|
+
assistant link or starting a client with host opening enabled does not authorize
|
|
277
|
+
a transfer. The host relay requires a fresh matched Ctrl-click and bounds the
|
|
278
|
+
one-use transfer. The result is a private copy, not a share or a write-back.
|
|
279
|
+
Use this feature only with a workspace you trust to honor the click. See the
|
|
280
|
+
[format, mount and lifetime limits](docs/cli.md#experimental-ctrl-click-host-file-opening).
|
|
281
|
+
|
|
266
282
|
## Opt-in native TUI host clipboard
|
|
267
283
|
|
|
268
284
|
`--host-clipboard` separately enables a host clipboard reader for this and future
|