MCPcopy
hub / github.com/ZToolsCenter/ZTools / getWaiterKey

Method getWaiterKey

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

* 为单个 WebContents + toolName 生成稳定的 waiter 键。

(webContentsId: number, toolName: string)

Source from the content-addressed store, hash-verified

311 * 为单个 WebContents + toolName 生成稳定的 waiter 键。
312 */
313 private getWaiterKey(webContentsId: number, toolName: string): string {
314 return `${webContentsId}:${toolName}`
315 }
316
317 /**
318 * 读取被用户禁用 MCP 工具暴露的插件路径集合。

Callers 2

resolveWaitersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected