Skip to content

feat: add workspace component inspect command (#119) - #183

Open
zekelinAlex wants to merge 2 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/workspace-inspect-issue-119
Open

feat: add workspace component inspect command (#119)#183
zekelinAlex wants to merge 2 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/workspace-inspect-issue-119

Conversation

@zekelinAlex

Copy link
Copy Markdown
Contributor

Adds txc workspace component inspect (exposed over MCP as workspace_component_inspect), a read-only drill-down into a single component of the local workspace. Forms print the tab > section > control tree with datafieldname bindings, entities print their attributes with types and required levels, views print columns, sort order and the fetch query. Text mode renders a tree/table, JSON mode returns the structured result for agents.

The workspace is loaded with XmlWorkspaceReader from the nearest solution root (walks up to Other/Solution.xml). --id takes a GUID or a display name (for dialogs also the unique name), --entity narrows name matches when several entities share a form/view name, --depth truncates the form tree (1 = tabs, 2 = +sections). Name collisions fail with the list of matching GUIDs instead of picking one silently.

Closes #119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP tool: workspace_inspect — drill-down into component structure

1 participant