@opentiny/next-remoter 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /**
2
- * 简化后的工具同步:
3
- * - 仅监听工具目录变化并触发 remoter refresh
2
+ * 监听 WebMCP 工具目录变化并触发 remoter 侧 refresh。
3
+ * 依赖标准 `modelContext` `toolchange` 事件(同源 iframe 读 parent.document.modelContext)。
4
4
  */
5
5
  export declare function useRouteBasedTools(options: {
6
6
  onToolCatalogChanged?: () => void | Promise<void>;