You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,22 @@
1
1
# Changelog
2
2
3
+
## 0.2.0 (2026-02-17)
4
+
5
+
### Features
6
+
7
+
-**Page navigation re-discovery**: Tools are now automatically re-discovered after top-level `Page.frameNavigated` events — old tools are cleared immediately and the discovery script is re-injected into the new page context
8
+
-**Extracted discovery script**: Discovery logic factored into a static `DISCOVERY_SCRIPT` constant, eliminating duplication between initial attach and navigation re-discovery
9
+
-**Re-export `ToolCallResultContent`**: Convenience re-export from `@tech-sumit/ai-inspector-types`
10
+
11
+
### Breaking changes
12
+
13
+
-**`callTool()` return type**: Changed from `Promise<string | null>` to `Promise<ToolCallResultContent[]>` to align with updated `ToolSource` interface — text results are now wrapped in `[{ type: "text", text: value }]`
14
+
15
+
### Bug fixes
16
+
17
+
-**Stale tools after navigation**: Previously tools persisted from the old page context after navigating to a new URL; now `Page.frameNavigated` clears old tools and re-runs discovery
18
+
-**Lost bindings after navigation**: `__webmcpToolsChanged` binding is re-added after frame navigation since the old JS context (and its bindings) are destroyed
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# @tech-sumit/webmcp-cdp
2
2
3
-
A standalone Node.js library for discovering and executing [WebMCP](https://github.com/nicholasgasior/nicholasgasior.github.io) tools in Chrome via the Chrome DevTools Protocol. Think "Playwright for WebMCP" — without Playwright.
3
+
A standalone Node.js library for discovering and executing WebMCP tools in Chrome via the Chrome DevTools Protocol. Think "Playwright for WebMCP" — without Playwright.
0 commit comments