Skip to content

feat: Enhance updater and wizard with mode switch and verification - #17

Merged
gray584321 merged 1 commit into
mainfrom
feat/wizard-updater-enhancements
Jan 14, 2026
Merged

feat: Enhance updater and wizard with mode switch and verification#17
gray584321 merged 1 commit into
mainfrom
feat/wizard-updater-enhancements

Conversation

@gray584321

Copy link
Copy Markdown
Owner

Summary

Enhancements to make the updater and wizard more robust and user-friendly.

Changes

opc/scripts/setup/update.py

  • Added --mode copy|symlink to switch between installation modes
  • Added --verify to check installation integrity
  • Added verification logic that checks all components (hooks, skills, rules, agents, servers, runtime, plugins, scripts, settings.json)

opc/scripts/setup/wizard.py

  • Added --yes/-y alias for --force (non-interactive mode)
  • Added --mode copy|symlink for mode switching
  • Added --verify for installation verification
  • Updated help examples with new options

New Commands

# Switch to symlink mode
uv run python -m scripts.setup.wizard --mode symlink

# Verify installation
uv run python -m scripts.setup.wizard --verify

# Preview what update would do
uv run python -m scripts.setup.update --dry-run

# Switch mode during update
uv run python -m scripts.setup.update --mode copy

# Verify after update
uv run python -m scripts.setup.update --verify

# Non-interactive install
uv run python -m scripts.setup.wizard --yes

Test Plan

  • Mode switching works for both copy and symlink
  • Verification reports all components correctly
  • Non-interactive mode uses defaults
  • Help text shows new options

Updates:
- Add --mode copy|symlink to switch installation modes
- Add --verify flag to check installation integrity
- Add --yes/-y alias for non-interactive mode
- Update examples in help text
- Add verification logic to update.py
- Add mode switch logic to both update.py and wizard.py
@gray584321
gray584321 merged commit 814fc83 into main Jan 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant