feat(m0.6-r1): package-aware module identity and resolver
- replace path-only ModuleId with {instance, relative_path} and canonical
<instance>::<path> encoding
- add PackageResolver/ResolvedPackage in marqdo-package for path sources;
hash package trees deterministically for content-addressed instance ids
- move import resolution out of the CLI loader; reject package escapes
- emit lock_version 2 with instance ids and migrate v1 lockfiles
- update references/package-format specs and the function-ref golden
- add package resolver tests for stable identity across path moves
This commit is contained in:
1 parent
66476fbbfb
commit
5877d9aa5e
16 files changed
+665
-155
No files matched your search
@@ -66,7 +66,7 @@ pub fn diagnostic_json(item: &FileDiagnostic) -> Json {
|
||||
.unwrap_or((Json::Null, Json::Null));
|
||||
json!({
|
||||
"file": item.path.display().to_string(),
|
||||
"module": item.module_id.0,
|
||||
"module": item.module_id.to_string(),
|
||||
"line": line,
|
||||
"column": column,
|
||||
"severity": severity_name(diagnostic),
|
||||
|
||||
Reference in new issue
Block a user