oc-box 1.7.117.dev0__tar.gz → 1.7.223.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.117.dev0 → oc_box-1.7.223.dev0}/.github/workflows/ci.yml +26 -3
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/.github/workflows/distros.yml +1 -1
- oc_box-1.7.223.dev0/.github/workflows/linkedin.yml +220 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/.github/workflows/publish.yml +19 -2
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/AGENTS.md +82 -5
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/CONTRIBUTING.md +11 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/MANIFEST.in +1 -1
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/PKG-INFO +140 -13
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/README.md +139 -12
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/SECURITY.md +129 -0
- oc_box-1.7.223.dev0/build-info.json +7 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/completions/oc-box +23 -8
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/cli.md +663 -49
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/oc-box.1 +211 -20
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/oc-box.info +908 -221
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/oc-box.texi +213 -20
- oc_box-1.7.223.dev0/docs/release-announcements.md +305 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/releases/1.7.md +162 -5
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/releases/tui-v1.md +51 -12
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/testing.md +608 -23
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/tui.md +142 -40
- oc_box-1.7.223.dev0/docs/ui-state.md +114 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/update-channels.md +9 -0
- oc_box-1.7.223.dev0/docs/web-shell.md +94 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/pyproject.toml +7 -0
- oc_box-1.7.223.dev0/src/oc_box/attachment_io.py +247 -0
- oc_box-1.7.223.dev0/src/oc_box/attachments.py +636 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/backup_crypto.py +49 -12
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/backups.py +93 -8
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/history_reader.py +229 -8
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/history_recovery.py +91 -10
- oc_box-1.7.223.dev0/src/oc_box/host_drop.py +694 -0
- oc_box-1.7.223.dev0/src/oc_box/host_drop_input.py +832 -0
- oc_box-1.7.223.dev0/src/oc_box/host_drop_io.py +356 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/installation.py +21 -0
- oc_box-1.7.223.dev0/src/oc_box/native_tabs.py +404 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/oc_box.py +677 -56
- oc_box-1.7.223.dev0/src/oc_box/opencode_v2_io.py +942 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/secret_prompt.py +67 -5
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/session_backups.py +10 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/sharing.py +31 -23
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/sync_config.py +57 -11
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/terminal_ui.py +35 -2
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_app.py +831 -204
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_backend.py +1 -1
- oc_box-1.7.223.dev0/src/oc_box/tui_backup_workflow.py +524 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_clipboard.py +199 -84
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_management.py +311 -84
- oc_box-1.7.223.dev0/src/oc_box/tui_operation_io.py +838 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_operations.py +156 -33
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_settings.py +134 -61
- oc_box-1.7.223.dev0/src/oc_box/tui_status.py +596 -0
- oc_box-1.7.223.dev0/src/oc_box/ui_state.py +486 -0
- oc_box-1.7.223.dev0/src/oc_box/ui_state_memory.js +172 -0
- oc_box-1.7.223.dev0/src/oc_box/ui_state_rpc.js +45 -0
- oc_box-1.7.223.dev0/src/oc_box/ui_state_server.js +21 -0
- oc_box-1.7.223.dev0/src/oc_box/ui_state_tui.js +83 -0
- oc_box-1.7.223.dev0/src/oc_box/web_attachments.js +248 -0
- oc_box-1.7.223.dev0/src/oc_box/web_attachments.py +144 -0
- oc_box-1.7.223.dev0/src/oc_box/web_sessions.css +12 -0
- oc_box-1.7.223.dev0/src/oc_box/web_sessions.js +240 -0
- oc_box-1.7.223.dev0/src/oc_box/web_sessions.py +623 -0
- oc_box-1.7.223.dev0/src/oc_box/workspace_preferences.py +577 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/workspace_service.py +745 -44
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box.egg-info/PKG-INFO +140 -13
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box.egg-info/SOURCES.txt +69 -0
- oc_box-1.7.223.dev0/tests/smoke_attachments_v2.py +716 -0
- oc_box-1.7.223.dev0/tests/smoke_history_subagent_recovery_v2.py +942 -0
- oc_box-1.7.223.dev0/tests/smoke_host_drop_v2.py +1063 -0
- oc_box-1.7.223.dev0/tests/smoke_image_preview_preferences_v2.py +204 -0
- oc_box-1.7.223.dev0/tests/smoke_native_preferences_v2.py +399 -0
- oc_box-1.7.223.dev0/tests/smoke_native_tabs_v2.py +316 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_session_backup_transport_v2.py +5 -3
- oc_box-1.7.223.dev0/tests/smoke_ui_state_v2.py +922 -0
- oc_box-1.7.223.dev0/tests/smoke_web_attachments_v2.py +382 -0
- oc_box-1.7.223.dev0/tests/smoke_web_sessions_v2.py +477 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_activity_log.py +13 -8
- oc_box-1.7.223.dev0/tests/test_attachment_io.py +869 -0
- oc_box-1.7.223.dev0/tests/test_attachments.py +753 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_backups.py +38 -2
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_completion.py +135 -1
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_documentation.py +9 -1
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_history_reader.py +400 -3
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_history_recovery.py +273 -16
- oc_box-1.7.223.dev0/tests/test_history_source_lease.py +1045 -0
- oc_box-1.7.223.dev0/tests/test_host_drop.py +460 -0
- oc_box-1.7.223.dev0/tests/test_host_drop_input.py +1523 -0
- oc_box-1.7.223.dev0/tests/test_host_drop_io.py +648 -0
- oc_box-1.7.223.dev0/tests/test_host_drop_preferences.py +265 -0
- oc_box-1.7.223.dev0/tests/test_image_preview.py +728 -0
- oc_box-1.7.223.dev0/tests/test_native_tab_routing.py +274 -0
- oc_box-1.7.223.dev0/tests/test_native_tabs.py +397 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_packaging.py +58 -0
- oc_box-1.7.223.dev0/tests/test_release_announcement_workflows.py +472 -0
- oc_box-1.7.223.dev0/tests/test_release_announcements.py +918 -0
- oc_box-1.7.223.dev0/tests/test_release_card.py +184 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_release_channels.py +39 -3
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_session_backups.py +77 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_startup.py +293 -11
- oc_box-1.7.223.dev0/tests/test_sync_config_preferences.py +369 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_app.py +335 -58
- oc_box-1.7.223.dev0/tests/test_tui_backup_integration.py +259 -0
- oc_box-1.7.223.dev0/tests/test_tui_backup_workflow.py +395 -0
- oc_box-1.7.223.dev0/tests/test_tui_card_layout.py +368 -0
- oc_box-1.7.223.dev0/tests/test_tui_card_metrics.py +389 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_clipboard.py +42 -44
- oc_box-1.7.223.dev0/tests/test_tui_clipboard_privacy.py +382 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_delete_notifications.py +1 -1
- oc_box-1.7.223.dev0/tests/test_tui_display_performance.py +715 -0
- oc_box-1.7.223.dev0/tests/test_tui_global_interactions.py +210 -0
- oc_box-1.7.223.dev0/tests/test_tui_input_controls.py +241 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_loading.py +9 -4
- oc_box-1.7.223.dev0/tests/test_tui_log_feedback.py +131 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_management.py +40 -11
- oc_box-1.7.223.dev0/tests/test_tui_management_cards.py +217 -0
- oc_box-1.7.223.dev0/tests/test_tui_operation_io.py +571 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_operations.py +93 -33
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_selection.py +60 -30
- oc_box-1.7.223.dev0/tests/test_tui_settings.py +500 -0
- oc_box-1.7.223.dev0/tests/test_ui_state.py +508 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_updater.py +3 -0
- oc_box-1.7.223.dev0/tests/test_web_attachments.py +504 -0
- oc_box-1.7.223.dev0/tests/test_web_sessions.py +1012 -0
- oc_box-1.7.223.dev0/tests/test_workspace_preferences.py +1155 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_workspace_service.py +773 -13
- oc_box-1.7.223.dev0/tests/ui_state_fixture.mjs +117 -0
- oc_box-1.7.223.dev0/tests/web_attachments_browser.mjs +257 -0
- oc_box-1.7.223.dev0/tests/web_attachments_shell_dom.mjs +244 -0
- oc_box-1.7.223.dev0/tests/web_sessions_dom.mjs +215 -0
- oc_box-1.7.223.dev0/tools/announce_release.py +732 -0
- oc_box-1.7.223.dev0/tools/benchmark_tui_display.py +168 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/check_package.py +61 -2
- oc_box-1.7.223.dev0/tools/release_card.py +224 -0
- oc_box-1.7.117.dev0/build-info.json +0 -7
- oc_box-1.7.117.dev0/src/oc_box/opencode_v2_io.py +0 -442
- oc_box-1.7.117.dev0/src/oc_box/tui_status.py +0 -284
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/LICENSE +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/NOTICE +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/host-plugins.md +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/opencode-2.md +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/plans/exit-sync-activity-timeout.md +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/sharing-handoff.md +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/docs/sharing-host-acceptance.md +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/install.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/install.sh +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/setup.cfg +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/setup.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/_oc_box_build.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/__init__.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/__main__.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/activity_log.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/backup_archive.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/bootstrap.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/credentials.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/dependencies.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/install.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/opencode_compat.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/package_updates.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/paths.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/plugin_bridge.js +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/plugin_compat.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/private_memory.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/session_terminal.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/status_report.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_logs.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_notifications.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_sessions.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_storage.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/tui_terminal.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/update_channels.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/updater.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/vault.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/version_info.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/workspace_control.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box/workspace_identity.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box.egg-info/dependency_links.txt +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box.egg-info/entry_points.txt +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box.egg-info/requires.txt +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/src/oc_box.egg-info/top_level.txt +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/copied_plugin_bytes.mjs +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/fixture_services.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/host_sandbox_fixture.mjs +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/interrupted_v1_fixture.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/native_plugin_fixture.mjs +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/plugin_bridge_fixture.mjs +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_build_permissions_v2.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_global_vault.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_global_vault_host_helpers.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_history_recovery_v2.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_host_plugins.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_mainline.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_native_host_port.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_session_backups_v2.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_session_sync_v2.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_sharing_host_helpers.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_sharing_v2.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_tui_v2.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/smoke_v2.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_backup_archive.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_backup_crypto.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_channel_bootstrap.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_channel_installer.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_channel_updater.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_dependencies.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_global_vault.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_global_vault_edges_host_fixture.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_global_vault_host_fixture.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_global_vault_launch.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_home_ownership_host_fixture.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_host_plugin_migration.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_interactive_host_fixture.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_interactive_host_service_port.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_native_host_port.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_native_recovery_process.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_oc_box.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_opencode_compat.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_package_updates.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_plugin_compat.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_podman_options.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_private_memory.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_private_output.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_process_io.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_release_artifacts.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_secret_prompt.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_session_import.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_session_sync.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_session_sync_host_fixture.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_session_terminal.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_archive_scan.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_backup_diagnostic.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_backup_probe.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_fixture_provider.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_host_fixture.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_host_oracles.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_owner_control.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_pax_metadata.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_pax_reason.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_session_payload.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_sharing_transport.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_src_layout.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_stale_workspaces.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_status.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_terminal.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_backend.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_cli.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_installation.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_logs.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_notifications.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_operation_results.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_sessions.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_status.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_storage.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_tui_terminal.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_update_channels.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_upgrade_cli.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_v2_host_fixture.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_vault.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_version.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_workspace_control.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_workspace_identity.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tests/test_workspace_repair.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/build_docs.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/check_release.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/check_release_artifacts.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/diagnose_import.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/diagnose_sharing_backup.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/host_sandbox.js +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/migrate_host_plugins.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/native_plugins/lemonade-models/index.js +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/native_plugins/no-nested-sandbox/index.js +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/native_plugins/output-clamp/index.js +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/native_plugins/pdf-to-text/index.js +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/native_plugins/python-isolation/index.js +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/port_host_plugins.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/sharing_archive_scan.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/sharing_archive_scan_original.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/sharing_backup_probe.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/sharing_fixture_provider.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/sharing_pax_reason.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/test_backup_podman.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/test_dependency_distro.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/test_global_vault_edges_podman.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/test_global_vault_podman.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/test_home_ownership_podman.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/test_interactive_podman.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/test_session_sync_podman.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/test_sharing_podman.py +0 -0
- {oc_box-1.7.117.dev0 → oc_box-1.7.223.dev0}/tools/test_v2_podman.py +0 -0
|
@@ -2,7 +2,7 @@ name: Package and source checks
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches: [master, devel, 'feature/**']
|
|
5
|
+
branches: [master, devel, 'feature/**', 'fix/**']
|
|
6
6
|
pull_request:
|
|
7
7
|
|
|
8
8
|
permissions:
|
|
@@ -14,7 +14,7 @@ env:
|
|
|
14
14
|
jobs:
|
|
15
15
|
test:
|
|
16
16
|
runs-on: ubuntu-latest
|
|
17
|
-
timeout-minutes:
|
|
17
|
+
timeout-minutes: 25
|
|
18
18
|
strategy:
|
|
19
19
|
fail-fast: false
|
|
20
20
|
matrix:
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
bash -n completions/oc-box
|
|
38
38
|
shellcheck --shell=bash completions/oc-box
|
|
39
39
|
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'
|
|
40
|
+
"$RUNNER_TEMP/tests/bin/python" -m pip install 'cryptography>=44' 'textual>=8.2.8,<9' 'pyte>=0.8.2,<0.9' 'Pillow>=11,<13'
|
|
41
41
|
"$RUNNER_TEMP/tests/bin/python" -B -m unittest discover -s tests -v
|
|
42
42
|
python tools/build_docs.py --check
|
|
43
43
|
git diff --check
|
|
@@ -75,6 +75,11 @@ jobs:
|
|
|
75
75
|
python3 -B tests/smoke_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
76
76
|
python3 -B tests/smoke_tui_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
77
77
|
python3 -B tests/smoke_sharing_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
78
|
+
python3 -B tests/smoke_attachments_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
79
|
+
python3 -B tests/smoke_host_drop_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
80
|
+
python3 -B tests/smoke_web_sessions_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
81
|
+
python3 -B tests/smoke_web_attachments_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
82
|
+
python3 -B tests/smoke_ui_state_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
78
83
|
python3 -B tests/smoke_session_backups_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
79
84
|
python3 -B tests/smoke_session_backup_transport_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
80
85
|
python3 -B tests/smoke_sharing_host_helpers.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
@@ -85,3 +90,21 @@ jobs:
|
|
|
85
90
|
"$RUNNER_TEMP/global-vault-tests/bin/python" -B tests/smoke_global_vault.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
86
91
|
"$RUNNER_TEMP/global-vault-tests/bin/python" -B tests/smoke_build_permissions_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
87
92
|
"$RUNNER_TEMP/global-vault-tests/bin/python" -B tests/smoke_global_vault_host_helpers.py --opencode-v2 "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
93
|
+
|
|
94
|
+
opencode-v230-history:
|
|
95
|
+
runs-on: ubuntu-latest
|
|
96
|
+
timeout-minutes: 10
|
|
97
|
+
steps:
|
|
98
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
99
|
+
with:
|
|
100
|
+
fetch-depth: 0
|
|
101
|
+
persist-credentials: false
|
|
102
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
103
|
+
with:
|
|
104
|
+
python-version: '3.13'
|
|
105
|
+
- name: Install unmodified OpenCode 2.3.0 in temporary storage
|
|
106
|
+
run: npm install --prefix "$RUNNER_TEMP/opencode-v230" --no-audit --no-fund @opencode/cli@2.3.0
|
|
107
|
+
- name: Native retained-subagent history snapshot regression
|
|
108
|
+
run: >-
|
|
109
|
+
python3 -B tests/smoke_history_subagent_recovery_v2.py
|
|
110
|
+
--opencode "$RUNNER_TEMP/opencode-v230/node_modules/.bin/opencode"
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
name: LinkedIn release announcement
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
inputs:
|
|
6
|
+
action:
|
|
7
|
+
description: Preview never posts; stable callers default to announce
|
|
8
|
+
type: string
|
|
9
|
+
default: announce
|
|
10
|
+
release_tag:
|
|
11
|
+
required: true
|
|
12
|
+
type: string
|
|
13
|
+
secrets:
|
|
14
|
+
BUFFER_API_KEY:
|
|
15
|
+
required: false # Preview needs no Buffer credential.
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
inputs:
|
|
18
|
+
action:
|
|
19
|
+
description: Channels/preview never post; announce verifies public PyPI first
|
|
20
|
+
type: choice
|
|
21
|
+
options: [channels, preview, announce, reconcile]
|
|
22
|
+
default: channels
|
|
23
|
+
release_tag:
|
|
24
|
+
description: Published immutable release tag (not needed for channels)
|
|
25
|
+
type: string
|
|
26
|
+
default: ''
|
|
27
|
+
post_id:
|
|
28
|
+
description: Existing Buffer post ID for read-only reconciliation only
|
|
29
|
+
type: string
|
|
30
|
+
default: ''
|
|
31
|
+
expected_text_sha256:
|
|
32
|
+
description: Reviewed linkedin-post.txt SHA-256 (required for a new devel post)
|
|
33
|
+
type: string
|
|
34
|
+
default: ''
|
|
35
|
+
expected_image_sha256:
|
|
36
|
+
description: Reviewed linkedin-card.png SHA-256 (required for a new devel post)
|
|
37
|
+
type: string
|
|
38
|
+
default: ''
|
|
39
|
+
|
|
40
|
+
permissions:
|
|
41
|
+
contents: read
|
|
42
|
+
|
|
43
|
+
concurrency:
|
|
44
|
+
group: linkedin-${{ inputs.release_tag || github.ref }}
|
|
45
|
+
cancel-in-progress: false
|
|
46
|
+
|
|
47
|
+
jobs:
|
|
48
|
+
inspect:
|
|
49
|
+
if: >-
|
|
50
|
+
github.repository == 'groopcd/oc-box' &&
|
|
51
|
+
(inputs.action == 'channels' || inputs.action == 'preview')
|
|
52
|
+
runs-on: ubuntu-latest
|
|
53
|
+
timeout-minutes: 5
|
|
54
|
+
permissions:
|
|
55
|
+
contents: read
|
|
56
|
+
steps:
|
|
57
|
+
- name: Validate read-only inputs
|
|
58
|
+
env:
|
|
59
|
+
ACTION: ${{ inputs.action }}
|
|
60
|
+
RELEASE_TAG: ${{ inputs.release_tag }}
|
|
61
|
+
run: |
|
|
62
|
+
python - <<'PY'
|
|
63
|
+
import os, re
|
|
64
|
+
action, tag = os.environ["ACTION"], os.environ["RELEASE_TAG"]
|
|
65
|
+
assert action in {"channels", "preview"}
|
|
66
|
+
assert (not tag) if action == "channels" else re.fullmatch(r"v\d+\.\d+\.\d+(?:\.dev0)?", tag)
|
|
67
|
+
PY
|
|
68
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
69
|
+
with:
|
|
70
|
+
fetch-depth: 0
|
|
71
|
+
persist-credentials: false
|
|
72
|
+
ref: ${{ inputs.release_tag || github.ref }}
|
|
73
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
74
|
+
with:
|
|
75
|
+
python-version: '3.13'
|
|
76
|
+
- name: Install isolated card renderer
|
|
77
|
+
if: inputs.action == 'preview'
|
|
78
|
+
run: |
|
|
79
|
+
python -m venv "$RUNNER_TEMP/linkedin-tools"
|
|
80
|
+
"$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=11,<13'
|
|
81
|
+
- name: Discover profiles without posting
|
|
82
|
+
if: inputs.action == 'channels'
|
|
83
|
+
env:
|
|
84
|
+
BUFFER_API_KEY: ${{ secrets.BUFFER_API_KEY }}
|
|
85
|
+
run: python -B tools/announce_release.py channels
|
|
86
|
+
- name: Generate preview without posting
|
|
87
|
+
if: inputs.action == 'preview'
|
|
88
|
+
env:
|
|
89
|
+
RELEASE_TAG: ${{ inputs.release_tag }}
|
|
90
|
+
ANNOUNCEMENT_GITHUB_TOKEN: ${{ github.token }}
|
|
91
|
+
run: >-
|
|
92
|
+
"$RUNNER_TEMP/linkedin-tools/bin/python" -B tools/announce_release.py preview
|
|
93
|
+
--tag "$RELEASE_TAG" --output "$RUNNER_TEMP/linkedin-preview"
|
|
94
|
+
- name: Save preview for review
|
|
95
|
+
if: inputs.action == 'preview'
|
|
96
|
+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
97
|
+
with:
|
|
98
|
+
name: linkedin-preview
|
|
99
|
+
path: ${{ runner.temp }}/linkedin-preview/
|
|
100
|
+
if-no-files-found: error
|
|
101
|
+
retention-days: 7
|
|
102
|
+
|
|
103
|
+
announcement:
|
|
104
|
+
if: >-
|
|
105
|
+
github.repository == 'groopcd/oc-box' &&
|
|
106
|
+
vars.LINKEDIN_ANNOUNCEMENTS == 'true' &&
|
|
107
|
+
(inputs.action == 'announce' || inputs.action == 'reconcile')
|
|
108
|
+
runs-on: ubuntu-latest
|
|
109
|
+
timeout-minutes: 10
|
|
110
|
+
permissions:
|
|
111
|
+
contents: write # Add card + immutable claim/receipt assets; never change tags.
|
|
112
|
+
steps:
|
|
113
|
+
- name: Validate tag and approval before selecting source
|
|
114
|
+
env:
|
|
115
|
+
ACTION: ${{ inputs.action }}
|
|
116
|
+
RELEASE_TAG: ${{ inputs.release_tag }}
|
|
117
|
+
POST_ID: ${{ inputs.post_id }}
|
|
118
|
+
EXPECTED_TEXT_SHA256: ${{ inputs.expected_text_sha256 }}
|
|
119
|
+
EXPECTED_IMAGE_SHA256: ${{ inputs.expected_image_sha256 }}
|
|
120
|
+
run: |
|
|
121
|
+
python -I - <<'PY'
|
|
122
|
+
import os, re
|
|
123
|
+
action, tag = os.environ["ACTION"], os.environ["RELEASE_TAG"]
|
|
124
|
+
post = os.environ.get("POST_ID", "")
|
|
125
|
+
hashes = [os.environ.get(name, "") for name in
|
|
126
|
+
("EXPECTED_TEXT_SHA256", "EXPECTED_IMAGE_SHA256")]
|
|
127
|
+
valid = (
|
|
128
|
+
action in {"announce", "reconcile"}
|
|
129
|
+
and re.fullmatch(r"v\d+\.\d+\.\d+(?:\.dev0)?", tag)
|
|
130
|
+
and (bool(post) == (action == "reconcile"))
|
|
131
|
+
and (not post or re.fullmatch(r"[A-Za-z0-9_-]{1,128}", post))
|
|
132
|
+
)
|
|
133
|
+
if action == "announce" and (tag.endswith(".dev0") or any(hashes)):
|
|
134
|
+
valid = valid and all(re.fullmatch(r"[a-f0-9]{64}", v) for v in hashes)
|
|
135
|
+
elif any(hashes):
|
|
136
|
+
valid = False
|
|
137
|
+
if not valid:
|
|
138
|
+
raise SystemExit("Release announcement refused: invalid-input-or-approval")
|
|
139
|
+
PY
|
|
140
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
141
|
+
with:
|
|
142
|
+
fetch-depth: 0
|
|
143
|
+
persist-credentials: false
|
|
144
|
+
ref: refs/tags/${{ inputs.release_tag }}
|
|
145
|
+
- name: Verify selected devel tool approval fence without executing it
|
|
146
|
+
if: endsWith(inputs.release_tag, '.dev0')
|
|
147
|
+
env:
|
|
148
|
+
RELEASE_TAG: ${{ inputs.release_tag }}
|
|
149
|
+
run: |
|
|
150
|
+
python -I - <<'PY'
|
|
151
|
+
import ast, hashlib, os, re, subprocess
|
|
152
|
+
from pathlib import Path
|
|
153
|
+
|
|
154
|
+
def require(value):
|
|
155
|
+
if not value:
|
|
156
|
+
raise ValueError
|
|
157
|
+
|
|
158
|
+
def git(*args):
|
|
159
|
+
return subprocess.run(
|
|
160
|
+
["git", *args], check=True, stdout=subprocess.PIPE,
|
|
161
|
+
stderr=subprocess.DEVNULL, timeout=10,
|
|
162
|
+
).stdout
|
|
163
|
+
|
|
164
|
+
try:
|
|
165
|
+
tag = os.environ["RELEASE_TAG"]
|
|
166
|
+
require(re.fullmatch(r"v\d+\.\d+\.\d+\.dev0", tag))
|
|
167
|
+
commit = git("rev-parse", "--verify", "refs/tags/" + tag + "^{commit}").strip()
|
|
168
|
+
require(re.fullmatch(rb"[0-9a-f]{40}", commit))
|
|
169
|
+
require(git("rev-parse", "HEAD").strip() == commit)
|
|
170
|
+
path = "tools/announce_release.py"
|
|
171
|
+
selector = commit.decode("ascii") + ":" + path
|
|
172
|
+
require(0 < int(git("cat-file", "-s", selector)) <= 128 * 1024)
|
|
173
|
+
canonical = git("show", selector)
|
|
174
|
+
checked = Path(path)
|
|
175
|
+
require(not checked.is_symlink() and checked.is_file())
|
|
176
|
+
require(checked.stat().st_size == len(canonical))
|
|
177
|
+
require(hashlib.sha256(checked.read_bytes()).digest()
|
|
178
|
+
== hashlib.sha256(canonical).digest())
|
|
179
|
+
tree = ast.parse(canonical)
|
|
180
|
+
policy = "DEVEL_ANNOUNCEMENT_APPROVAL_POLICY"
|
|
181
|
+
stores = [node for node in ast.walk(tree)
|
|
182
|
+
if isinstance(node, ast.Name) and isinstance(node.ctx, ast.Store)
|
|
183
|
+
and node.id == policy]
|
|
184
|
+
declarations = [node for node in tree.body
|
|
185
|
+
if isinstance(node, ast.Assign) and len(node.targets) == 1
|
|
186
|
+
and isinstance(node.targets[0], ast.Name)
|
|
187
|
+
and node.targets[0].id == policy]
|
|
188
|
+
require(len(stores) == len(declarations) == 1)
|
|
189
|
+
value = declarations[0].value
|
|
190
|
+
require(isinstance(value, ast.Constant)
|
|
191
|
+
and type(value.value) is int and value.value == 1)
|
|
192
|
+
except Exception:
|
|
193
|
+
raise SystemExit("Release announcement refused: unverified-devel-approval-tool") from None
|
|
194
|
+
print("Selected devel approval policy and canonical source bytes verified.")
|
|
195
|
+
PY
|
|
196
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
197
|
+
with:
|
|
198
|
+
python-version: '3.13'
|
|
199
|
+
- name: Install isolated card renderer
|
|
200
|
+
run: |
|
|
201
|
+
python -m venv "$RUNNER_TEMP/linkedin-tools"
|
|
202
|
+
"$RUNNER_TEMP/linkedin-tools/bin/python" -m pip install 'Pillow>=11,<13'
|
|
203
|
+
- name: Announce or reconcile the existing post
|
|
204
|
+
env:
|
|
205
|
+
ACTION: ${{ inputs.action }}
|
|
206
|
+
RELEASE_TAG: ${{ inputs.release_tag }}
|
|
207
|
+
POST_ID: ${{ inputs.post_id }}
|
|
208
|
+
EXPECTED_TEXT_SHA256: ${{ inputs.expected_text_sha256 }}
|
|
209
|
+
EXPECTED_IMAGE_SHA256: ${{ inputs.expected_image_sha256 }}
|
|
210
|
+
BUFFER_API_KEY: ${{ secrets.BUFFER_API_KEY }}
|
|
211
|
+
BUFFER_LINKEDIN_CHANNEL_ID: ${{ vars.BUFFER_LINKEDIN_CHANNEL_ID }}
|
|
212
|
+
LINKEDIN_ANNOUNCEMENTS: ${{ vars.LINKEDIN_ANNOUNCEMENTS }}
|
|
213
|
+
ANNOUNCEMENT_GITHUB_TOKEN: ${{ github.token }}
|
|
214
|
+
run: |
|
|
215
|
+
args=("$ACTION")
|
|
216
|
+
if [[ -n "$RELEASE_TAG" ]]; then args+=(--tag "$RELEASE_TAG"); fi
|
|
217
|
+
if [[ -n "$POST_ID" ]]; then args+=(--post-id "$POST_ID"); fi
|
|
218
|
+
if [[ -n "$EXPECTED_TEXT_SHA256" ]]; then args+=(--expected-text-sha256 "$EXPECTED_TEXT_SHA256"); fi
|
|
219
|
+
if [[ -n "$EXPECTED_IMAGE_SHA256" ]]; then args+=(--expected-image-sha256 "$EXPECTED_IMAGE_SHA256"); fi
|
|
220
|
+
"$RUNNER_TEMP/linkedin-tools/bin/python" -B tools/announce_release.py "${args[@]}"
|
|
@@ -27,7 +27,7 @@ concurrency:
|
|
|
27
27
|
jobs:
|
|
28
28
|
build:
|
|
29
29
|
runs-on: ubuntu-latest
|
|
30
|
-
timeout-minutes:
|
|
30
|
+
timeout-minutes: 25
|
|
31
31
|
outputs:
|
|
32
32
|
publish_validated: ${{ steps.artifacts.outputs.publish_validated }}
|
|
33
33
|
steps:
|
|
@@ -47,7 +47,7 @@ jobs:
|
|
|
47
47
|
sudo apt-get -c "$apt_config" update
|
|
48
48
|
sudo apt-get -c "$apt_config" install -y --no-install-recommends age
|
|
49
49
|
python -m venv "$RUNNER_TEMP/oc-box-build"
|
|
50
|
-
"$RUNNER_TEMP/oc-box-build/bin/python" -m pip install build twine 'cryptography>=44' 'textual>=8.2.8,<9' 'pyte>=0.8.2,<0.9'
|
|
50
|
+
"$RUNNER_TEMP/oc-box-build/bin/python" -m pip install build twine 'cryptography>=44' 'textual>=8.2.8,<9' 'pyte>=0.8.2,<0.9' 'Pillow>=11,<13'
|
|
51
51
|
- name: Validate source and release version
|
|
52
52
|
id: release
|
|
53
53
|
env:
|
|
@@ -159,3 +159,20 @@ jobs:
|
|
|
159
159
|
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
|
|
160
160
|
with:
|
|
161
161
|
packages-dir: dist/
|
|
162
|
+
|
|
163
|
+
linkedin:
|
|
164
|
+
needs: [build, publish]
|
|
165
|
+
if: >-
|
|
166
|
+
(endsWith(github.event.release.tag_name || inputs.release_tag, '.dev0') ||
|
|
167
|
+
vars.LINKEDIN_ANNOUNCEMENTS == 'true') &&
|
|
168
|
+
needs.publish.result == 'success' &&
|
|
169
|
+
needs.build.outputs.publish_validated == 'true'
|
|
170
|
+
permissions:
|
|
171
|
+
contents: write
|
|
172
|
+
uses: ./.github/workflows/linkedin.yml
|
|
173
|
+
with:
|
|
174
|
+
release_tag: ${{ github.event.release.tag_name || inputs.release_tag }}
|
|
175
|
+
# Both release events and manual PyPI publication MUST only preview devel.
|
|
176
|
+
action: ${{ endsWith(github.event.release.tag_name || inputs.release_tag, '.dev0') && 'preview' || 'announce' }}
|
|
177
|
+
secrets:
|
|
178
|
+
BUFFER_API_KEY: ${{ !endsWith(github.event.release.tag_name || inputs.release_tag, '.dev0') && secrets.BUFFER_API_KEY || '' }}
|
|
@@ -88,12 +88,34 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
88
88
|
redaction is best-effort, not a guarantee of arbitrary-secret removal.
|
|
89
89
|
- `tui_storage.py` / `tui_operations.py` / `tui_management.py`: three distinct
|
|
90
90
|
host/selected/all-workspace scopes, canonical bounded registry reads and explicit
|
|
91
|
-
typed
|
|
92
|
-
a whole database. Workspace removal retains
|
|
93
|
-
locks/validators; no bulk wipe, shared-cache
|
|
91
|
+
operation reviews, typed only for destructive actions. Host operations target
|
|
92
|
+
individual session trees, never a whole database. Workspace removal retains
|
|
93
|
+
project/history and uses normal locks/validators; no bulk wipe, shared-cache
|
|
94
|
+
pruning or resource-limit edits.
|
|
94
95
|
Hand secrets to existing masked foreground TTY prompts in the same pinned runtime,
|
|
95
96
|
not selectable dashboard inputs or recorded output. Recheck review bindings in
|
|
96
97
|
the child; ordinary CLI imports remain stdlib-only.
|
|
98
|
+
- `tui_operation_io.py` / `tui_backup_workflow.py`: the explicitly approved
|
|
99
|
+
backup-only in-dashboard exception to foreground prompt presentation. Use a
|
|
100
|
+
separate private controlling PTY and the existing child `secret_prompt` reader,
|
|
101
|
+
explicit bounded readiness/review/result channels, and a nonselectable custom
|
|
102
|
+
`PRIVATE_INPUT` editor/screen, never an ordinary Textual/ClipboardInput field.
|
|
103
|
+
The manager's transient private editor is now inside the secret-memory trust
|
|
104
|
+
boundary; do not claim guaranteed erasure or an unchanged memory boundary.
|
|
105
|
+
Passwords cross only the echo-disabled child PTY on completed submission, not
|
|
106
|
+
protocol metadata, widget values/reactives/messages, argv/env/files, clipboard
|
|
107
|
+
caches or logs. Hold an app-wide private-input shield through prompt closure.
|
|
108
|
+
Keep ordinary CLI controlling-TTY behavior unchanged, all production host
|
|
109
|
+
guards, native verification, archive formats and lifecycle safety authoritative.
|
|
110
|
+
Parent loss/cancel requests one interrupt and waits for real cleanup/exit;
|
|
111
|
+
no automatic retry, blind process-group kill or unacknowledged success.
|
|
112
|
+
Session cancellation retains attempted versus verified/observed fresh IDs,
|
|
113
|
+
never deletes them or imports more history to manufacture rollback. Core dumps
|
|
114
|
+
are disabled in manager/children before private input; this is not protection
|
|
115
|
+
against a same-user debugger, swap, terminal recording or all memory copies.
|
|
116
|
+
Refuse private dashboard operations when Textual debug, developer tools or
|
|
117
|
+
event-file logging are configured: framework input logging precedes widget
|
|
118
|
+
handlers, so selection exclusion alone is not a sufficient privacy boundary.
|
|
97
119
|
- `session_backups.py`: encrypted bounded native V2 history, separate from full/
|
|
98
120
|
portable workspace archives. Plaintext/key material stays in memory; no-overwrite
|
|
99
121
|
age envelopes, quiet source checks, fresh IDs and cleared privileges on restore.
|
|
@@ -123,8 +145,12 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
123
145
|
Owners wait for attached clients before sync/stop, and lifecycle locks remain
|
|
124
146
|
exclusive against reset/purge/backup. Attach never refreshes credentials.
|
|
125
147
|
- `history_recovery.py` / `history_reader.py` / `workspace_control.py`: one bounded
|
|
126
|
-
persisted-history snapshot after
|
|
127
|
-
|
|
148
|
+
persisted-history snapshot after audited live timeouts: shell-only on native
|
|
149
|
+
2.2.6/2.2.7; shell/subagent on exact 2.3.0. Never a live readiness waiver or
|
|
150
|
+
native job cleanup. The 2.3.0 profile checks durable job/recovery metadata before
|
|
151
|
+
source/destination native history processing; image/unknown jobs, unknown forms,
|
|
152
|
+
legacy background rows and incompatible schemas refuse. Never substitute normal
|
|
153
|
+
manual-sync preparation or managed restart continuity. Require actual verified whole-container stop,
|
|
128
154
|
immutable same-resource restart, stop intent/admission and persistent uncertainty
|
|
129
155
|
fences. Readers are unregistered/non-executing, with source/destination scheduler
|
|
130
156
|
metadata and system-config refusals, one endpoint, unchanged checked exports and
|
|
@@ -144,6 +170,57 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
144
170
|
fixed errors. Disconnect is not recall of disclosed data. Native/offline checks
|
|
145
171
|
are not host acceptance; defer publication until TUI/regression and focused host
|
|
146
172
|
sharing checks are complete.
|
|
173
|
+
- `attachments.py` / `attachment_io.py`: explicit host image snapshots and
|
|
174
|
+
session-bound, expiring, one-use native client-MCP grants, or direct native
|
|
175
|
+
image input through stdin-only private admission. Remote path proposals are
|
|
176
|
+
never authorization: broker mode requires independent per-image host TTY
|
|
177
|
+
consent, including uniform denial for missing/protected/special paths. Preserve
|
|
178
|
+
pre-consent descriptor pinning, response backpressure and no automatic regrant.
|
|
179
|
+
Keep the native TUI/container boundary unchanged; there is no public transparent
|
|
180
|
+
host-drop interceptor. Native queued input is not a composer draft or an
|
|
181
|
+
inactivity guarantee. Refuse observed staged reverts and document the residual
|
|
182
|
+
native check/admission race; no host acceptance follows from offline probes.
|
|
183
|
+
- `host_drop.py` / `host_drop_input.py` / `host_drop_io.py`: native TUI input
|
|
184
|
+
bridge, enabled by default per workspace on supported clients.
|
|
185
|
+
`workspace_preferences.py` stores private host-only future-client policy beside
|
|
186
|
+
workspace metadata under a separate lock; never mutate owner metadata, unlock,
|
|
187
|
+
launch or live-toggle a client from `preferences`. Explicit startup overrides
|
|
188
|
+
persist; automatic unsupported-client mode skips importing, explicit enable
|
|
189
|
+
remains strict, and corrupt/unsafe preferences refuse. Qualifying pathname pastes authorize
|
|
190
|
+
imports anywhere in that connection, not proof of a physical drag/composer
|
|
191
|
+
focus. Only host stdin or terminal-offered structured drops select sources;
|
|
192
|
+
never add model/MCP/prompt-text triggers. Keep opaque terminal replies,
|
|
193
|
+
UTF-8/C1 boundaries and fail-closed framing. Konsole is pathname-paste-only,
|
|
194
|
+
with no OSC 72 probes/registration and unchanged child output. Only the known
|
|
195
|
+
Kitty profile reserves its audited C0 OSC 72 wire traffic; do not claim a
|
|
196
|
+
generic C1-output sandbox. Unknown/ambiguous host compatibility markers refuse,
|
|
197
|
+
but markers are not authentication. Preserve valid graphics/keyboard traffic;
|
|
198
|
+
unsupported output framing limits fail closed. Graphics support is not DnD
|
|
199
|
+
support. Stream only bounded whitelisted snapshots into a
|
|
200
|
+
pinned private container temp root; never synthesize Enter or native prompt
|
|
201
|
+
admission. Native TUI/server/plugins stay container-side. Cleanup is bounded
|
|
202
|
+
best-effort, not recall or isolation from other workspace tools, and crashes
|
|
203
|
+
can retain staging/history/provider/backup copies. Default relay behavior and
|
|
204
|
+
the independent-confirmation broker remain unchanged. No host acceptance is
|
|
205
|
+
established by synthetic parser/process/native checks.
|
|
206
|
+
- `ui_state.py` / `ui_state_*.js`: public-SDK container TUI/server/RPC reports,
|
|
207
|
+
installed only during normal supported V2 owning preparation, never on attach.
|
|
208
|
+
Keep exact routed children separate from active root membership and verify all
|
|
209
|
+
IDs through the same private service. Custom client IDs are cooperative
|
|
210
|
+
metadata, not attestation or host authority. Prefer the fresh owner even when
|
|
211
|
+
blurred; missing/expired/ambiguous reports never justify focus guesses.
|
|
212
|
+
Bound receipt freshness, retain sequence/release high-water history through
|
|
213
|
+
expiry, and fail closed at capacity without evicting replay protection.
|
|
214
|
+
- `web_sessions.py` / `web_sessions.js` / `web_attachments.py` /
|
|
215
|
+
`web_attachments.js`: one first-party tabstrip around one unmodified native
|
|
216
|
+
iframe, never private native-store seeding, asset patches or nested wrappers.
|
|
217
|
+
Preserve authenticated `/auth/` routing and native cookie/Origin checks.
|
|
218
|
+
Explicit session selection wins; fresh reports supply ordered membership and
|
|
219
|
+
exact selection, with saved membership only a non-focus fallback.
|
|
220
|
+
Browser attachments remain explicitly enabled, trusted File-only and manually
|
|
221
|
+
sent. Recheck exact live URL, document, original target and selection generation
|
|
222
|
+
after asynchronous reads, including explicit away/back changes. Silent SPA
|
|
223
|
+
excursions between public observations remain a documented residual race.
|
|
147
224
|
- `tools/test_sharing_podman.py` and its provider/archive helpers are a separate
|
|
148
225
|
source-pinned host harness, not a change to an already frozen release candidate.
|
|
149
226
|
Keep host guards, verified fresh private stores, controlling-PTY consent,
|
|
@@ -411,6 +411,11 @@ update errors for both hosted runners and the Ubuntu distro container; see
|
|
|
411
411
|
|
|
412
412
|
### Release gate and publication checklist
|
|
413
413
|
|
|
414
|
+
Optional LinkedIn feature announcements are configured separately through
|
|
415
|
+
[Buffer](docs/release-announcements.md). They are disabled by default and run
|
|
416
|
+
only after successful package publication, never as publication approval or a
|
|
417
|
+
substitute for the acceptance/checksum checklist below.
|
|
418
|
+
|
|
414
419
|
Stable/devel are release channels; GitHub/curl and PyPI are installation methods.
|
|
415
420
|
The channel-aware bootstrap/updater selects immutable published releases and
|
|
416
421
|
verifies their tag/source/version/branch, not arbitrary moving HEAD. See
|
|
@@ -423,6 +428,12 @@ The owner approved a channel-integrated successor of the separately tested
|
|
|
423
428
|
`master`, its tag and its PyPI files remain unchanged. Preserve unrelated source
|
|
424
429
|
worktrees, private evidence and prior unfinished integrations.
|
|
425
430
|
|
|
431
|
+
The channel-only boundary in step 1 records the original port. The owner later
|
|
432
|
+
approved the combined card-dashboard, retained-subagent recovery and native/web
|
|
433
|
+
attachment updates documented in `docs/releases/1.7.md`. Keep those runtime
|
|
434
|
+
changes explicit and source-qualified; this does not authorize unrelated stable
|
|
435
|
+
changes or remove any validation, disclosure or publication safeguards below.
|
|
436
|
+
|
|
426
437
|
1. Keep the successor limited to channel/install/update/version/publication
|
|
427
438
|
paths and documentation, without importing unrelated stable workspace,
|
|
428
439
|
credential, history, sharing or dashboard changes. Review unchanged core
|
|
@@ -3,7 +3,7 @@ include AGENTS.md pyproject.toml setup.py MANIFEST.in install.py install.sh
|
|
|
3
3
|
recursive-include .github/workflows *.yml
|
|
4
4
|
recursive-include docs *.md *.1 *.texi *.info
|
|
5
5
|
include completions/oc-box
|
|
6
|
-
recursive-include src *.py *.js
|
|
6
|
+
recursive-include src *.py *.js *.css
|
|
7
7
|
recursive-include tests *.py *.mjs
|
|
8
8
|
include tools/host_sandbox.js
|
|
9
9
|
recursive-include tools/native_plugins *.js
|