@mcpc-tech/unplugin-dev-inspector-mcp 0.0.3 → 0.0.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.
- package/README.md +13 -3
- package/client/dist/inspector.iife.js +326 -326
- package/dist/index.cjs +127 -21
- package/dist/index.js +127 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,11 +64,11 @@ Switch between agents (Claude Code, Goose) and track their debugging progress vi
|
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
# npm
|
|
67
|
-
npm i -D @mcpc-tech/unplugin-dev-inspector-mcp
|
|
67
|
+
npm i -D @mcpc-tech/unplugin-dev-inspector-mcp@beta
|
|
68
68
|
# pnpm
|
|
69
|
-
pnpm add -D @mcpc-tech/unplugin-dev-inspector-mcp
|
|
69
|
+
pnpm add -D @mcpc-tech/unplugin-dev-inspector-mcp@beta
|
|
70
70
|
# yarn
|
|
71
|
-
yarn add -D @mcpc-tech/unplugin-dev-inspector-mcp
|
|
71
|
+
yarn add -D @mcpc-tech/unplugin-dev-inspector-mcp@beta
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
```typescript
|
|
@@ -274,6 +274,16 @@ List console messages or get details of a specific one. Always refreshes the lis
|
|
|
274
274
|
|
|
275
275
|
**Parameter:** `msgid` (optional) - If provided, get details for that message. If omitted, just list all messages.
|
|
276
276
|
|
|
277
|
+
## Architecture
|
|
278
|
+
|
|
279
|
+
For a deep dive into how the MCP context, CMCP library, and Puppet binding mechanism work together, see the [Architecture Documentation](./docs/architecture/mcp-cmcp-puppet-architecture.md).
|
|
280
|
+
|
|
281
|
+
**Key concepts:**
|
|
282
|
+
- **Hub-and-spoke model**: Vite dev server acts as central hub managing multiple client connections
|
|
283
|
+
- **CMCP bidirectional execution**: Server defines tool schemas, browser client provides implementations
|
|
284
|
+
- **Puppet binding**: Enables Chrome DevTools ↔ Inspector message passthrough
|
|
285
|
+
- **Dynamic rebinding**: Automatic connection recovery after browser refresh
|
|
286
|
+
|
|
277
287
|
## License
|
|
278
288
|
|
|
279
289
|
MIT
|