refactor: complete server-first item schema wiring and plugin contract checks

This commit is contained in:
Jage9
2026-02-24 18:48:08 -05:00
parent 7776676e2d
commit fcb5e85b13
20 changed files with 132 additions and 69 deletions

View File

@@ -153,7 +153,7 @@ export function createItemPropertyPresentation(deps: PresentationDeps): {
const stepText = metadata.range.step !== undefined ? ` step ${metadata.range.step}` : '';
parts.push(`Range: ${metadata.range.min} to ${metadata.range.max}${stepText}.`);
} else {
const options = getItemPropertyOptionValues(key);
const options = getItemPropertyOptionValues(item.type, key);
if (options && options.length > 0) {
parts.push(`Options: ${options.join(', ')}.`);
}
@@ -205,4 +205,3 @@ export function createItemPropertyPresentation(deps: PresentationDeps): {
validateNumericItemPropertyInput,
};
}