Files
Trevin Chow 637c942125 fix(ce-worktree): preserve cross-platform fallback for non-Claude targets
ce-worktree has no `ce_platforms` restriction, so filterSkillsByPlatform
exports it to Codex/Gemini/Pi/Kiro/Droid/Copilot/Opencode. None of
those converters substitute `${CLAUDE_SKILL_DIR}`, so the previous
unguarded form expanded to `/scripts/worktree-manager.sh` and failed.

Switch to `${CLAUDE_SKILL_DIR:-.}` so:
- Claude Code (var set) -> absolute path to bundled script (works)
- Non-Claude targets (var unset) -> `./scripts/worktree-manager.sh`,
  matching the prior bare-relative behavior on those harnesses.

Adds a regression guard requiring the `:-` fallback so this concern
cannot regress, and loosens the `${CLAUDE_SKILL_DIR}` guard's regex
to accept the fallback form.

Addresses PR #772 review feedback from chatgpt-codex-connector.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 15:34:38 -07:00
..
2026-04-22 14:21:19 -07:00