Repository navigation
Ibarakov/xmlns per namespace - #15
Merged
onlyexeption merged 5 commits intoOct 20, 2026
Merged
onlyexeption merged 5 commits into
onlyexeption merged 5 commits into
Conversation
onlyexeption
requested review from
Marina-L-Stoyanova
and
a balanced review from Copilot
October 20, 2026 08:52
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The escaped-type-name regression guard accepts malformed data instead of failing the build.
1 open issue
What changed in this PR
Corrects generated API data so the WPF MCP server provides more accurate namespaces and public member references.
Changes:
- Resolves namespaces per type and inheritance by assembly-qualified name.
- Includes static styles, keys, and commands while excluding internal types.
- Updates runtime formatting, smoke checks, validation thresholds, and documentation.
| File | Description |
|---|---|
| server/Tools/ToolDescriptions.cs | Explains namespace and static-field usage. |
| server/Tools/ComponentTools.cs | Displays static fields and nested XAML names. |
| server/README.md | Updates public-type counts. |
| server/Data/Models.cs | Adds field and nested-type metadata. |
| scripts/validate-package.ts | Adjusts the minimum API file count. |
| scripts/type-extractor/Program.cs | Extracts namespaces, inheritance, fields, and visibility. |
| scripts/smoke-test.ts | Adds API-data regression checks. |
| scripts/build-api.ts | Consumes metadata and filters internal types. |
| README.md | Updates type and control counts. |
| DEVELOPMENT.md | Documents extraction behavior and measurements. |
| CLAUDE.md | Updates data-pipeline guidance. |
Review effort: Balanced
Marina-L-Stoyanova
approved these changes
Oct 20, 2026
…me-resource-paging feat(theme): page large theme files and find entries instead of cutting
Updated regex to correctly match escaped Unicode sequences in JSON strings. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Fixes the API data the MCP hands to agents: wrong xmlns, missing members, wrong inheritance, and internal classes listed as usable. Stacked on #13; merge #13 first.
Changes
XamlSchemaContextover the DLLs' ownXmlnsDefinition/XmlnsPrefixattributes, replacing the hand-typedASSEMBLY_XMLNStable. Falls back toclr-namespace:where no Infragistics xmlns applies; nested classes getOuter+Inner. Official prefixes (igOutlookBar,igReporting).DataPresenterRoyalDark.CellValuePresenteretc. appear (1 → 63 members).(static field):DataPresenterCommands0 → 71,DockManagerBrushKeys0 → 130.Axisshowed members of the ExcelChartObject).type-info.jsonstrings are decoded (Action\u003CToolCommand\u003E→Action<ToolCommand>), with a build guard against regressions.list_wpf_components191 → 189; 89 names an internal class used to win now document the public class.Results
list_wpf_componentsentries with a wrong xmlnsVerification
validate:package). New smoke checks fail on the old build and pass on the new one.Notes
validate:packageminimum lowered from 6,000 to 5,000 API files (5,343 now).CLAUDE.md/DEVELOPMENT.mddescribe the new extractor output (__xaml,__baseTypes,__nonPublicTypes).🤖 Generated with Claude Code