Commit Graph

9 Commits

Author SHA1 Message Date
jessikitty df6671d729 fix: add AssemblyResolve handler for reflection diagnostics
Previous version failed GetExportedTypes() because Assembly.Load(bytes)
couldn't resolve Disco.Services.dll from the PowerShell process. Now
uses LoadFrom() with an AssemblyResolve handler that probes both the
build output and Disco bin directories. Also adds ReflectionTypeLoad
exception detail logging and proper handler cleanup in finally block.
2026-04-29 09:36:17 +10:00
jessikitty 7cf07b50d2 feat: add comprehensive build diagnostics for UIExtension debugging
- Disco assembly version reporting at build start
- Reflection-based feature verification:
  - Discovers UIExtensionFeature<T> implementations in compiled DLL
  - Validates [PluginFeature] attribute presence on each feature
  - Confirms ExecuteAction and Initialize are overridden
  - Checks model types implement BaseUIModel interface
  - Reports generic type definition FullName for manifest comparison
- ManifestGenerator output capture (stdout + stderr with labels)
- Manifest validation after generation:
  - Verifies Features array is present and non-empty
  - Char-by-char CategoryTypeName comparison with hex dump on mismatch
  - Dumps raw manifest.json for manual inspection
- Package verification (zip content listing)
- Final summary with actionable next-step checklist when issues found
2026-04-28 15:25:16 +10:00
jessikitty bb5a7ae54e v1.3.0 - Fix manifest: use correct CategoryTypeName for UIExtension features 2026-04-27 16:27:37 +10:00
jessikitty 878a16987d v1.2.0 - Remove Features from manual manifest to fix install error 2026-04-27 15:56:23 +10:00
jessikitty 721fba684a v1.1.0 - Update author, include UIExtension features in manual manifest 2026-04-27 10:44:28 +10:00
jessikitty b7359a6857 Fix packaging: zip first then rename, whitelist only plugin files 2026-04-22 10:15:41 +10:00
jessikitty 655c79cc7c Simplify HintPath resolution - regex replaces ALL paths to Disco bin 2026-04-22 09:56:20 +10:00
jessikitty 3f9bac6191 Fix build script to accept DiscoBinPath instead of solution path 2026-04-22 09:46:09 +10:00
jessikitty 07bce90bb3 Add build and packaging script for .discoPlugin import 2026-04-21 21:34:14 +10:00