From 6cde4d9fe46830c88a94059cbe79c5cefbccff3e Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Wed, 6 May 2026 01:34:04 -0400 Subject: [PATCH] graccesscli: scripts-get now uses direct read; bypass anon-type reflection Two follow-on fixes after the MxValueDetails reader correction: 1. AttributeValueDetails was falling through to the package-binary fallback even when MxValueDetails returned Supported=true. Cause: `ReadString(direct, "Supported")` reflects on an anonymous type via InvokeMember, which returned an empty string under `BindingFlags.IgnoreCase`, making the StringEquals check fail. Replace with a typed `Type.GetProperty("Supported").GetValue(direct)` bool check via the new IsDirectSupported helper. 2. ObjectScript (the `scripts get` body retrieval) skipped the live attribute path entirely and went straight to the package-binary parser. The parser truncates strings at certain delimiters (e.g. marker text containing `\n` or `=` came back as just the prefix). Now ObjectScript tries `obj.ConfigurableAttributes[