harbor run -t datacurve/abs-module-cache-flagsharbor download datacurve/abs-module-cache-flagsImprove ABS module loading so require() remains deterministic across larger dependency graphs, supports discovery through ABS_MODULE_PATH, reports cache state, and handles module-related CLI flags in script mode.
Expected outcomes
require target with no path separator and no file extension (for example demo); it resolves as demo/index.abs.ABS_MODULE_PATH entries in listed order.ABS_MODULE_PATH may contain quoted entries; normalize and deduplicate equivalent canonical directories while preserving first-seen order.require_cache_info() with numeric fields: hits, misses, size, and inflight.require_cache_keys() as sorted canonical absolute paths.reset_require_cache() to clear module cache and loader state.cyclic module import detected:.ABS_MODULE_DEBUG is truthy in the runtime environment, or when --module-debug is provided in CLI invocation.--module-path and --module-debug work when running scripts.BeginRepl(args []string, version string).Implementation notes
IMPORTANT: Please work on this in a new branch from main and commit everything when you are done.