aipeek 0.1.1 → 0.1.2
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.
|
@@ -455,12 +455,18 @@ var clientPath = _path.resolve.call(void 0, __dirname, "client.ts");
|
|
|
455
455
|
var AIPEEK_SNIPPET = `
|
|
456
456
|
# aipeek \u2014 Runtime Browser Inspector
|
|
457
457
|
|
|
458
|
-
|
|
458
|
+
IMPORTANT: Before debugging any UI issue, visual bug, or runtime error, ALWAYS fetch the live app state first. Do NOT guess \u2014 look at the actual browser state.
|
|
459
459
|
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
460
|
+
\`\`\`bash
|
|
461
|
+
curl http://localhost:5195/__aipeek # full summary: UI tree + console + network + errors + state
|
|
462
|
+
curl http://localhost:5195/__aipeek/ui # React component tree with props and DOM semantics
|
|
463
|
+
curl http://localhost:5195/__aipeek/console # console logs (errors, warnings, info)
|
|
464
|
+
curl http://localhost:5195/__aipeek/network # fetch/XHR requests with status and timing
|
|
465
|
+
curl http://localhost:5195/__aipeek/errors # uncaught errors and unhandled rejections
|
|
466
|
+
curl http://localhost:5195/__aipeek/state # registered store snapshots
|
|
467
|
+
\`\`\`
|
|
468
|
+
|
|
469
|
+
Append \`?full\` for untruncated output. Append \`/{index}\` for a specific item's detail.
|
|
464
470
|
`;
|
|
465
471
|
function injectClaudeMd(root) {
|
|
466
472
|
const path = _path.resolve.call(void 0, root, "CLAUDE.md");
|
|
@@ -455,12 +455,18 @@ var clientPath = resolve(__dirname, "client.ts");
|
|
|
455
455
|
var AIPEEK_SNIPPET = `
|
|
456
456
|
# aipeek \u2014 Runtime Browser Inspector
|
|
457
457
|
|
|
458
|
-
|
|
458
|
+
IMPORTANT: Before debugging any UI issue, visual bug, or runtime error, ALWAYS fetch the live app state first. Do NOT guess \u2014 look at the actual browser state.
|
|
459
459
|
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
460
|
+
\`\`\`bash
|
|
461
|
+
curl http://localhost:5195/__aipeek # full summary: UI tree + console + network + errors + state
|
|
462
|
+
curl http://localhost:5195/__aipeek/ui # React component tree with props and DOM semantics
|
|
463
|
+
curl http://localhost:5195/__aipeek/console # console logs (errors, warnings, info)
|
|
464
|
+
curl http://localhost:5195/__aipeek/network # fetch/XHR requests with status and timing
|
|
465
|
+
curl http://localhost:5195/__aipeek/errors # uncaught errors and unhandled rejections
|
|
466
|
+
curl http://localhost:5195/__aipeek/state # registered store snapshots
|
|
467
|
+
\`\`\`
|
|
468
|
+
|
|
469
|
+
Append \`?full\` for untruncated output. Append \`/{index}\` for a specific item's detail.
|
|
464
470
|
`;
|
|
465
471
|
function injectClaudeMd(root) {
|
|
466
472
|
const path = resolve(root, "CLAUDE.md");
|
package/dist/index.cjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkFT6I36X4cjs = require('./chunk-FT6I36X4.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -19,4 +19,4 @@ var _chunkQXCVA2LUcjs = require('./chunk-QXCVA2LU.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.aipeekPlugin =
|
|
22
|
+
exports.aipeekPlugin = _chunkFT6I36X4cjs.aipeekPlugin; exports.compact = _chunkFT6I36X4cjs.compact; exports.compactConsole = _chunkFT6I36X4cjs.compactConsole; exports.compactErrors = _chunkFT6I36X4cjs.compactErrors; exports.compactNetwork = _chunkFT6I36X4cjs.compactNetwork; exports.compactState = _chunkFT6I36X4cjs.compactState; exports.compactUI = _chunkFT6I36X4cjs.compactUI; exports.detail = _chunkFT6I36X4cjs.detail; exports.emit = _chunkFT6I36X4cjs.emit;
|
package/dist/index.js
CHANGED
package/dist/plugin.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFT6I36X4cjs = require('./chunk-FT6I36X4.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.aipeekPlugin =
|
|
6
|
+
exports.aipeekPlugin = _chunkFT6I36X4cjs.aipeekPlugin;
|
package/dist/plugin.js
CHANGED