Implement appearance and current outfit services (#65)
Some checks failed
Native code generation / deterministic (push) Failing after 2m19s
Imaging and meshing gate / native (push) Failing after 1m26s
Native Rust workspace compile / compile (push) Failing after 2m11s

This commit is contained in:
2026-08-10 08:58:29 +00:00
parent 52f62d8c39
commit a9927fcfcb
13 changed files with 2900 additions and 242 deletions

View File

@@ -989,6 +989,7 @@ def validate_generated_shims() -> None:
"crate::asset_manager::",
"crate::asset_material::",
"crate::asset_models::",
"crate::appearance_manager::",
"crate::byte_order::",
"crate::attention_catalog::",
"crate::binary::",
@@ -1000,8 +1001,10 @@ def validate_generated_shims() -> None:
"crate::inventory::",
"crate::inventory_ais::",
"crate::inventory_manager::",
"crate::current_outfit::",
"crate::message_codec::",
"crate::message_decoder::",
"crate::NameValue {",
"crate::object_material::",
"crate::notation::",
"crate::packet_catalog::",
@@ -1020,8 +1023,16 @@ def validate_generated_shims() -> None:
if uses_standardized_or_native_path:
continue
if FAKE_BODY.search(body):
raise ValueError(f"generated shim returns a plausible fallback: {path.relative_to(ROOT)}")
raise ValueError(f"generated shim function does not use the standardized failure: {path.relative_to(ROOT)}")
excerpt = " ".join(body.strip().split())[:160]
raise ValueError(
"generated shim returns a plausible fallback: "
f"{path.relative_to(ROOT)}: {excerpt}"
)
excerpt = " ".join(body.strip().split())[:160]
raise ValueError(
"generated shim function does not use the standardized failure: "
f"{path.relative_to(ROOT)}: {excerpt}"
)
def build_type_rows(catalog: dict) -> tuple[list[dict[str, str]], dict[str, str]]: