Skip to content

Fix: copy .claude/scripts/ root files during install#3

Merged
Lisztos merged 1 commit intomainfrom
fix/install-dotfile-scripts
Mar 25, 2026
Merged

Fix: copy .claude/scripts/ root files during install#3
Lisztos merged 1 commit intomainfrom
fix/install-dotfile-scripts

Conversation

@Lisztos
Copy link
Copy Markdown
Owner

@Lisztos Lisztos commented Mar 24, 2026

Ported from parcadei/Continuous-Claude-v3#155 by @udhaya10


Summary

.claude/scripts/ root files (e.g. status.py, status.sh, tldr_stats.py) are never copied to ~/.claude/scripts/ during fresh install, breaking statusLine which references status.py.

Changes

  • New _copy_dotfile_scripts() — copies root-level .py/.sh files from .claude/scripts/ to target
  • Called in both install_opc_integration() and install_opc_integration_symlink()
  • Added missing "Installed N scripts" print line in wizard

Test plan

  • Fresh install: verify ~/.claude/scripts/status.py exists
  • Wizard output now shows OK Installed N scripts
  • Status line works: echo '{}' | python3 ~/.claude/scripts/status.py

_copy_scripts() copies from opc/scripts/ but .claude/scripts/ root
files (status.py, status.sh, tldr_stats.py, etc.) live in a different
source tree and were never deployed. This breaks statusLine which
references ~/.claude/scripts/status.py.

Add _copy_dotfile_scripts() to copy root-level .py/.sh files from
.claude/scripts/ during both copy and symlink installs. Also add
the missing "Installed N scripts" output to the wizard.

Fixes parcadei#154
@Lisztos Lisztos force-pushed the fix/install-dotfile-scripts branch from 1edd02a to 6e37c3e Compare March 25, 2026 01:56
@Lisztos Lisztos merged commit babad27 into main Mar 25, 2026
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.

2 participants