Skip to content

fix: correct command directory path from command/ to commands/#12

Merged
j4rviscmd merged 3 commits intomainfrom
fix/command-path
Mar 13, 2026
Merged

fix: correct command directory path from command/ to commands/#12
j4rviscmd merged 3 commits intomainfrom
fix/command-path

Conversation

@j4rviscmd
Copy link
Copy Markdown
Owner

Summary

Correct command directory path from command/ to commands/ throughout the codebase.

Changes

  • Documentation: Update path references in README.md from ~/.config/opencode/command/ to ~/.config/opencode/commands/
  • Code: Update COMMANDS_DEST constant path in src/config/command-installer.ts
  • Comments: Update JSDoc comments and inline documentation

Test Plan

  • Verify path references are consistent across the codebase
  • Code review completed

Related Issues

None


🤖 Generated with Claude Code

j4rviscmd and others added 2 commits March 13, 2026 20:50
Update path references throughout the codebase:
- Documentation: ~/.config/opencode/command/ → commands/
- Constant COMMANDS_DEST: command → commands
- JSDoc comments and inline documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@j4rviscmd j4rviscmd added the bug Something isn't working label Mar 13, 2026
Restore detailed documentation that was incorrectly removed:
- findCommandsDir(): detailed description and @example block
- copyCommandFiles(): detailed description and @example block
- Tool definitions: mode_switch, mode_status, mode_list JSDoc

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@j4rviscmd j4rviscmd merged commit bb5b876 into main Mar 13, 2026
1 check passed
@j4rviscmd j4rviscmd deleted the fix/command-path branch March 13, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] コマンドファイルの生成先ディレクトリ名を修正(command → commands)

1 participant