* fix(infra): relocate wizard password file under OCTOP_HOME with legacy fallback
Derive the wizard password location from PathLayout root (OCTOP_HOME)
instead of hardcoding Path.home(). When OCTOP_HOME is relocated, the
password file is created and resolved from <OCTOP_HOME>/octop-login.txt.
To preserve complete backward compatibility for existing installations,
resolve_password_path, ensure_password, and read_password maintain a
fallback to legacy ~/octop-login.txt, migrating and synchronizing the
secret on boot when upgrading so no duplicate secrets are generated.
Closes#2171
* docs(changelog): record octop-login.txt OCTOP_HOME relocation fix (#2171)
* feat(onnx): implement model download racing and enhance metadata handling
- Introduced a new module `onnx_download.py` to handle racing between Hugging Face and hf-mirror for model downloads, improving download efficiency.
- Added a helper function `_hf_repo_from_sources` to streamline Hugging Face repository ID extraction from model metadata.
- Updated `get_onnx_model_meta` and `list_onnx_catalog_models` to utilize the new helper function for cleaner code and better handling of source metadata.
- Added unit tests for the new download functionality and metadata handling to ensure reliability and correctness.
* feat(onnx): enhance model download logging and path management
- Introduced a logging mechanism for ONNX model downloads, redirecting progress output to a log file instead of stdout/stderr.
- Added a new method `ensure_log` in `PathLayout` to create and return the log file path.
- Updated unit tests to verify that download progress messages are correctly logged.
- Improved the `_download_hf_snapshot` function to utilize the new logging functionality, enhancing traceability during model downloads.
* feat(onnx): enhance download progress tracking and error handling
- Added a new `on_progress` callback to the `download_model_raced` function to report download progress.
- Implemented a `_ui_progress_from_bytes` function to calculate the fraction of downloaded bytes for better UI feedback.
- Updated the `OnnxDownloadManager` to utilize the new progress tracking during model downloads.
- Enhanced unit tests to verify the correct reporting of download progress and ensure that the new functionality works as intended.
* fix(onnx): remove unnecessary delay for Hugging Face probes
- Eliminated the 10-second sleep for URLs starting with the Hugging Face official endpoint, streamlining the probe process.
- This change enhances the efficiency of the `probe_source` function by reducing unnecessary wait times during model downloads.
Let owners publish an agent workspace as a reusable template, refresh/unpublish it, and let others install a private fork. Also adds expert color/emoji pickers used by subagents and publish UI.
Co-authored-by: Cursor <cursoragent@cursor.com>