fix(targets): nest colon-separated command names into directories#251
fix(targets): nest colon-separated command names into directories#251mvanhorn wants to merge 1 commit intoEveryInc:mainfrom
Conversation
|
Good question! #251 is still relevant - it fixes the install targets (opencode, droid, gemini), not the source layout. After #241, the skill |
Got it. I think this approach works. Take a look at the failing test? |
On Windows/NTFS, colons are reserved for alternate data streams, so filenames like "ce:plan.md" are invalid. Split colon-separated command names into nested directories (e.g. "ce:plan" -> "ce/plan.md"), matching the approach already used by the Qwen target. Applied to opencode, droid, and gemini targets. Fixes EveryInc#226 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40a55b6 to
a84682c
Compare
|
Rebased on main - the test failures were from the pre-existing json-config.ts merge order fix that landed after this branch was created. All 314 tests passing now. |
Summary
ce:plan) into nested directories (e.g.ce/plan.md) instead of using colons in filenamessrc/targets/qwen.ts:35-41)Fixes #226
Changes
src/targets/opencode.ts: SplitcommandFile.nameon:and create nested directoriessrc/targets/droid.ts: Same fixsrc/targets/gemini.ts: Same fix (uses.tomlextension)Before
After
Commands without colons (e.g.
deepen-plan,triage) are unaffected.Test plan
bun testpasses (312/312 existing tests pass)ce:*commands appearThis contribution was developed with AI assistance (Claude Code).