chrome-devtools-axi 0.1.21 → 0.1.22
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 +9 -9
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -212,24 +212,24 @@ export CHROME_DEVTOOLS_AXI_WS_HEADERS='{"Authorization":"Bearer token"}'
|
|
|
212
212
|
|
|
213
213
|
State is stored in `~/.chrome-devtools-axi/`:
|
|
214
214
|
|
|
215
|
-
| File | Purpose
|
|
216
|
-
| --------------------- |
|
|
217
|
-
| `bridge.pid` | PID and port of the running bridge
|
|
215
|
+
| File | Purpose |
|
|
216
|
+
| --------------------- | ------------------------------------- |
|
|
217
|
+
| `bridge.pid` | PID and port of the running bridge |
|
|
218
218
|
| `snapshot-generation` | Counter used to detect stale uid refs |
|
|
219
219
|
|
|
220
220
|
### Session Hooks
|
|
221
221
|
|
|
222
|
-
On supported agents, the packaged CLI also installs a `SessionStart` hook in `~/.claude/settings.json` and `~/.codex/hooks.json`, and enables `
|
|
222
|
+
On supported agents, the packaged CLI also installs a `SessionStart` hook in `~/.claude/settings.json` and `~/.codex/hooks.json`, and enables `hooks` in `~/.codex/config.toml`.
|
|
223
223
|
|
|
224
224
|
Set `CHROME_DEVTOOLS_AXI_DISABLE_HOOKS=1` to skip that auto-install behavior.
|
|
225
225
|
|
|
226
|
-
Development entrypoints such as `
|
|
226
|
+
Development entrypoints such as `pnpm run dev` and `bin/chrome-devtools-axi.ts` do not modify those hook files.
|
|
227
227
|
|
|
228
228
|
## Development
|
|
229
229
|
|
|
230
230
|
```sh
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
231
|
+
pnpm run build # Compile TypeScript to dist/
|
|
232
|
+
pnpm run dev # Run CLI directly with tsx
|
|
233
|
+
pnpm test # Run tests with vitest
|
|
234
|
+
pnpm run test:watch # Run tests in watch mode
|
|
235
235
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chrome-devtools-axi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
|
+
"packageManager": "pnpm@11.1.1",
|
|
4
5
|
"description": "AXI-compliant chrome-devtools-mcp wrapper — combined operations, TOON output, contextual suggestions",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"repository": {
|
|
@@ -42,10 +43,11 @@
|
|
|
42
43
|
"dependencies": {
|
|
43
44
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
44
45
|
"@toon-format/toon": "^2.1.0",
|
|
45
|
-
"axi-sdk-js": "^0.1.
|
|
46
|
+
"axi-sdk-js": "^0.1.6"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"@types/node": "^22.0.0",
|
|
50
|
+
"prettier": "^3.8.3",
|
|
49
51
|
"tsx": "^4.0.0",
|
|
50
52
|
"typescript": "^5.7.0",
|
|
51
53
|
"vitest": "^3.0.0"
|