Skip to content

@W-22169638: Rename ToolName -> WebToolName#323

Open
anyoung-tableau wants to merge 7 commits intoanyoung/abstract-serverfrom
anyoung/web-tool-name
Open

@W-22169638: Rename ToolName -> WebToolName#323
anyoung-tableau wants to merge 7 commits intoanyoung/abstract-serverfrom
anyoung/web-tool-name

Conversation

@anyoung-tableau
Copy link
Copy Markdown
Collaborator

@anyoung-tableau anyoung-tableau commented Apr 21, 2026

These changes rename the ToolName type (and its associated helpers) to WebToolName. The motivation here is to support the later introduction of DesktopToolName. See #328

@anyoung-tableau anyoung-tableau marked this pull request as ready for review April 23, 2026 21:21
Comment thread src/tools/tool.ts

// The name of the tool
name: ToolName;
name: WebToolName;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Down for the rename where the concept is truly web-specific, but I think this may be pulling shared runtime types in that direction too

Tool and related types here now depend on WebMcpServer / WebToolName, and the same pattern shows up in TableauToolContext and notification.ts

Could make the eventual desktop split more expensive by forcing shared contracts through web-shaped types

Should these stay variant-agnostic here? (with the web-specific narrowing pushed to the registration boundary instead?)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants