mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
import.meta.url resolves through symlinks but pathToFileURL(process.argv[1]) preserves them, so extract-structure.mjs silently exited 0 without writing output when invoked via the plugin's symlinked install path — the documented Claude Code / Copilot CLI layout. Compare both sides via realpathSync and add a post-write existence assertion plus caller-side guidance in the agent. Closes #162