Fix 5 issues: .mjs imports, cache path, installer idempotency, Windows docs, Windsurf#417
Open
rupivbluegreen wants to merge 1 commit intosafishamsi:v4from
Open
Conversation
…fishamsi#410), installer idempotency (safishamsi#401), Windows PATH docs (safishamsi#413), Windsurf support (safishamsi#353) - Add .mjs to _EXTENSIONS so .mjs files are discovered and imports_from edges resolve (safishamsi#414) - Use Path(".") as cache root for single-file extraction instead of file parent dir (safishamsi#410) - Make installer idempotent: check before filtering hooks in Claude/Codex installers (safishamsi#401) - Respect core.hooksPath (Husky) in hooks install/uninstall/status (safishamsi#401) - Skip skill copy when destination already matches source (safishamsi#401) - Add Windows PATH troubleshooting note to README (safishamsi#413) - Add Windsurf platform support to _PLATFORM_CONFIG and subcommand dispatch (safishamsi#353) Co-Authored-By: Claude, Codex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes five open issues in a single PR:
imports_fromedges for some source files #414 —.mjsfiles missing from_EXTENSIONScausedimports_fromedges to be silently dropped. Added.mjsto file discovery.paths[0].parentas cache root, creating nestedgraphify-out/cache/inside source directories (e.g.src/main/java/.../graphify-out/). Changed toPath(".")and passed explicitcache_rootfrom watch mode.core.hooksPath(Husky) support tohooks.pyinstall/uninstall/status, and skill file content comparison to skip redundant copies.graphify) not recognized after install – missing PATH instruction in docs #413 — Added Windows PATH troubleshooting note to README (pipx recommendation,python -m graphifyalternative, temporary PATH fix)._PLATFORM_CONFIG, subcommand dispatch, help text, README).Changes
graphify/extract.py.mjsto_EXTENSIONS; changed single-file cache root toPath(".")graphify/__main__.pygraphify/hooks.py_hooks_dir()helper respectingcore.hooksPath; used in install/uninstall/statusgraphify/watch.pycache_root=Path(".")in_rebuild_code()README.mdtests/test_extract.py.mjscollection andimports_fromedgestests/test_cache.pyTest plan
graphify installtwice — verify no duplicate hooks in.claude/settings.jsongraphify install --platform windsurf— verify skill copied to~/.windsurf/skills/graphify/.mjsfiles with relative imports — verifyimports_fromedges./graphify-out/cache/, not in source dirCloses #414, #410, #401, #413, #353
Thanks Claude & Codex