We could theoretically support direct import of kicad_mod files for people who have local kicad libraries. Figure out how to make bun have a custom import handler for a kicad_mod file Modify tscirc...
RE: Your approach with converting the kicad_mod to circuit json inside eval. This would work but I'd like to not build in too much kicad-specific functionality especially at that stage where it's hard to catch errors (you're doing it at a sort of import resolution stage)
Instead, i think your should introduce something to props/eval's platformConfig like footprintFileParserMap: { kicad_mod: { parserFn: ... } } }
Inside core, we can then call the when we get a URL (all static file imports are converted to URLs)