Skip to content

feat(types): add WebSocket API type definitions#139

Open
muzi131313 wants to merge 6 commits into
masterfrom
feat_add_ws
Open

feat(types): add WebSocket API type definitions#139
muzi131313 wants to merge 6 commits into
masterfrom
feat_add_ws

Conversation

@muzi131313

Copy link
Copy Markdown
Contributor

变更摘要

为 plugin-typings 新增 mg.WebSocket API 类型定义,支持插件与本地 MCP 服务间的 WebSocket 通信。

提交历史

  • 9f7ee75 feat(types): add WebSocket API type definitions

文件变更

文件 变更
plugin.d.ts +25 -0

🤖 Generated with Claude Code

add global WebSocketAPI and WebSocketHandle interfaces to the plugin type definitions, exposing the typed WebSocket client API for the application
add the getComponentListVal method to the global plugin namespace and define the matching ComponentItemVal type structure
赵德升 and others added 4 commits June 12, 2026 17:35
move the getComponentListVal method declaration out of the nested interface scope to the global global declaration block
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.

3 participants