Repository navigation
McpNet v1.1.4 — 插件功能擴充 / Plugin Extensibility
繁體中文
插件功能擴充
- 新增 ZIP/資料夾一鍵導入社群插件;套件需包含
main.go與一個 JSON 清單。導入後預設停用,重複 ID 不會覆蓋既有插件。 - 將「解碼與編碼」擴充為「插件功能」。Go hooks 可在 HTTP 請求/回應、WebSocket、UDP 等事件中自行組合協議、URL、字串、正則與位元組模式判斷,並依插件邏輯修改封包。
- 支援以
ui.title/ui.html建立 HTML/JavaScript 插件小視窗,並可透過OnPluginAction與 Go 插件互通。 - 更新 README、架構文件與範例插件,補上套件格式、導入步驟、hook API、自訂介面及安全說明。
安全提醒
插件 Go 程式碼會在本機執行,沒有安全沙箱隔離;只安裝並啟用可信來源的插件。HTML/JavaScript 小視窗使用受限 iframe sandbox。
平台:Windows x64。發布工作流程會自動建置並附上 EXE,完成後補充檔案大小與 SHA-256。
English
Plugin extensibility
- Added one-click community plugin import from a ZIP or folder containing
main.goand one JSON manifest. Imported plugins are disabled by default; duplicate IDs never overwrite installed plugins. - Expanded “Encoding & Decoding” into “Plugin Features.” Go hooks can combine protocol, URL, text, regexp, and byte-pattern checks across HTTP request/response, WebSocket, UDP, and other events, and modify packets according to plugin logic.
- Added optional
ui.title/ui.htmlsupport for custom HTML/JavaScript plugin windows that communicate with Go throughOnPluginAction. - Updated the README, architecture guide, and examples with package layout, import steps, hook APIs, custom UI, and security guidance.
Security note
Go plugin code runs locally without a security sandbox; install and enable trusted plugins only. The HTML/JavaScript UI runs in a restricted iframe sandbox.
Platform: Windows x64. The release workflow will build and attach the EXE automatically, then append its file size and SHA-256.
成品資訊 / Build artifact
-
平台:Windows x64
-
檔案:McpNet-v1.1.4-windows-x64.exe
-
大小:92498432 bytes
-
SHA-256:9110E1CD51EB333445463D71D0CA7F8E27B8686A3F19B980F158B20CE50013B5
-
Platform: Windows x64
-
File: McpNet-v1.1.4-windows-x64.exe
-
Size: 92498432 bytes
-
SHA-256: 9110E1CD51EB333445463D71D0CA7F8E27B8686A3F19B980F158B20CE50013B5