MCPcopy Index your code
hub / github.com/ZToolsCenter/ZTools / init

Method init

src/main/api/plugin/tools.ts:52–55  ·  view source on GitHub ↗

* 初始化工具 API,并注册插件工具相关 IPC。

(pluginManager: PluginManager)

Source from the content-addressed store, hash-verified

50 * 初始化工具 API,并注册插件工具相关 IPC。
51 */
52 public init(pluginManager: PluginManager): void {
53 this.pluginManager = pluginManager
54 this.setupIPC()
55 }
56
57 /**
58 * 接收 preload 中的工具注册请求,并同步记录到主进程状态。

Callers

nothing calls this directly

Calls 1

setupIPCMethod · 0.95

Tested by

no test coverage detected