@narumitw/pi-chrome-devtools 0.53.3 → 0.53.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/dist/chunks/{browser-settings-menu-SR7KLZT6.js → browser-settings-menu-FVMCCUPM.ts} +3 -3
- package/dist/chunks/{chunk-4KMN4SFF.js → chunk-4B3EQHOH.ts} +2 -2
- package/dist/chunks/{chunk-F5VG35UI.js → chunk-LSJSDY2M.ts} +1 -1
- package/dist/chunks/{chunk-MZCGM6D3.js → chunk-V7N3WI5B.ts} +2 -2
- package/dist/chunks/{menu-YR4VRT7D.js → menu-MTPSLDHZ.ts} +4 -4
- package/dist/chunks/{tools-6R7Z6HWJ.js → tools-OVNH45IJ.ts} +3 -3
- package/dist/index.ts +8 -8
- package/package.json +1 -1
- /package/dist/chunks/{browser-settings-menu-SR7KLZT6.js.map → browser-settings-menu-FVMCCUPM.ts.map} +0 -0
- /package/dist/chunks/{chunk-4KMN4SFF.js.map → chunk-4B3EQHOH.ts.map} +0 -0
- /package/dist/chunks/{chunk-F5VG35UI.js.map → chunk-LSJSDY2M.ts.map} +0 -0
- /package/dist/chunks/{chunk-MZCGM6D3.js.map → chunk-V7N3WI5B.ts.map} +0 -0
- /package/dist/chunks/{menu-YR4VRT7D.js.map → menu-MTPSLDHZ.ts.map} +0 -0
- /package/dist/chunks/{tools-6R7Z6HWJ.js.map → tools-OVNH45IJ.ts.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
configuredChromeDevtoolsTools,
|
|
6
6
|
sanitizeChromeDevtoolsDisplay,
|
|
7
7
|
setChromeDevtoolsSessionOwner
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V7N3WI5B.ts";
|
|
9
9
|
import {
|
|
10
10
|
applyRuntimeBrowserSettings,
|
|
11
11
|
applyRuntimeWebMcpSetting,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
state,
|
|
19
19
|
syncManagedBrowserSettings,
|
|
20
20
|
webMcpEnabled
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LSJSDY2M.ts";
|
|
22
22
|
|
|
23
23
|
// src/browser-settings-menu.ts
|
|
24
24
|
import { isAbsolute } from "node:path";
|
|
@@ -313,4 +313,4 @@ function formatError(error) {
|
|
|
313
313
|
export {
|
|
314
314
|
showChromeDevtoolsBrowserSettings
|
|
315
315
|
};
|
|
316
|
-
//# sourceMappingURL=browser-settings-menu-
|
|
316
|
+
//# sourceMappingURL=browser-settings-menu-FVMCCUPM.ts.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
launchHint,
|
|
11
11
|
state,
|
|
12
12
|
withEndpointRetry
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LSJSDY2M.ts";
|
|
14
14
|
|
|
15
15
|
// src/cdp-client.ts
|
|
16
16
|
var MAX_BUFFERED_EVENTS_PER_METHOD = 32;
|
|
@@ -381,4 +381,4 @@ export {
|
|
|
381
381
|
withCdp,
|
|
382
382
|
CdpClient
|
|
383
383
|
};
|
|
384
|
-
//# sourceMappingURL=chunk-
|
|
384
|
+
//# sourceMappingURL=chunk-4B3EQHOH.ts.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
settingsFilePath,
|
|
21
21
|
state,
|
|
22
22
|
webMcpEnabled
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LSJSDY2M.ts";
|
|
24
24
|
|
|
25
25
|
// src/lazy-tools.ts
|
|
26
26
|
import { defineTool } from "@earendil-works/pi-coding-agent";
|
|
@@ -461,4 +461,4 @@ export {
|
|
|
461
461
|
buildCommandGuide,
|
|
462
462
|
allChromeDevtoolsTools
|
|
463
463
|
};
|
|
464
|
-
//# sourceMappingURL=chunk-
|
|
464
|
+
//# sourceMappingURL=chunk-V7N3WI5B.ts.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
buildCommandGuide,
|
|
7
7
|
sanitizeChromeDevtoolsDisplay,
|
|
8
8
|
setSelectedChromeDevtoolsTools
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V7N3WI5B.ts";
|
|
10
10
|
import {
|
|
11
11
|
CHROME_DEVTOOLS_TOOL_NAMES,
|
|
12
12
|
CORE_CHROME_DEVTOOLS_TOOL_NAMES,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
loadSettings,
|
|
18
18
|
state,
|
|
19
19
|
webMcpEnabled
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LSJSDY2M.ts";
|
|
21
21
|
|
|
22
22
|
// src/menu.ts
|
|
23
23
|
import { defineMenu, runMenu, runTask } from "@narumitw/pi-tui-kit";
|
|
@@ -137,7 +137,7 @@ async function showChromeDevtoolsMenu(pi, ctx, generation) {
|
|
|
137
137
|
return result?.closeParent ? { kind: "close" } : { kind: "stay" };
|
|
138
138
|
},
|
|
139
139
|
settings: async ({ state: current }) => {
|
|
140
|
-
const { showChromeDevtoolsBrowserSettings } = await import("./browser-settings-menu-
|
|
140
|
+
const { showChromeDevtoolsBrowserSettings } = await import("./browser-settings-menu-FVMCCUPM.ts");
|
|
141
141
|
if (!isCurrent()) return { kind: "stay" };
|
|
142
142
|
const result = await showChromeDevtoolsBrowserSettings(pi, ctx, generation);
|
|
143
143
|
if (!isCurrent()) return { kind: "stay" };
|
|
@@ -415,4 +415,4 @@ export {
|
|
|
415
415
|
showChromeDevtoolsMenu,
|
|
416
416
|
showChromeDevtoolsToolWorkflow
|
|
417
417
|
};
|
|
418
|
-
//# sourceMappingURL=menu-
|
|
418
|
+
//# sourceMappingURL=menu-MTPSLDHZ.ts.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getPage,
|
|
6
6
|
resolvePage,
|
|
7
7
|
textResult
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4B3EQHOH.ts";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_TIMEOUT_MS,
|
|
11
11
|
beginWebMcpOperation,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
webMcpEnabled,
|
|
16
16
|
webMcpOperationIsCurrent,
|
|
17
17
|
webMcpSessionSignal
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LSJSDY2M.ts";
|
|
19
19
|
|
|
20
20
|
// src/webmcp/policy.ts
|
|
21
21
|
import { createHash } from "node:crypto";
|
|
@@ -919,4 +919,4 @@ export {
|
|
|
919
919
|
executeWebMcpCallTool,
|
|
920
920
|
executeWebMcpListTool
|
|
921
921
|
};
|
|
922
|
-
//# sourceMappingURL=tools-
|
|
922
|
+
//# sourceMappingURL=tools-OVNH45IJ.ts.map
|
package/dist/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
setActivePageId,
|
|
10
10
|
textResult,
|
|
11
11
|
withCdp
|
|
12
|
-
} from "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-4B3EQHOH.ts";
|
|
13
13
|
import {
|
|
14
14
|
allChromeDevtoolsTools,
|
|
15
15
|
availableChromeDevtoolsTools,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
supportsNativeDeferredToolLoading,
|
|
26
26
|
updateChromeDevtoolsTools,
|
|
27
27
|
waitForChromeDevtoolsSettings
|
|
28
|
-
} from "./chunks/chunk-
|
|
28
|
+
} from "./chunks/chunk-V7N3WI5B.ts";
|
|
29
29
|
import {
|
|
30
30
|
CHROME_DEVTOOLS_TOOL_NAMES,
|
|
31
31
|
WEBMCP_TOOL_NAMES,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
syncManagedBrowserSettings,
|
|
41
41
|
waitForSettingsWrites,
|
|
42
42
|
webMcpEnabled
|
|
43
|
-
} from "./chunks/chunk-
|
|
43
|
+
} from "./chunks/chunk-LSJSDY2M.ts";
|
|
44
44
|
|
|
45
45
|
// src/tools.ts
|
|
46
46
|
import { defineTool } from "@earendil-works/pi-coding-agent";
|
|
@@ -413,7 +413,7 @@ var webMcpListToolsTool = defineTool({
|
|
|
413
413
|
renderResult: renderTextResult,
|
|
414
414
|
async execute(_toolCallId, params, signal, _onUpdate, ctx) {
|
|
415
415
|
return withStatus(ctx, "list WebMCP tools", async () => {
|
|
416
|
-
const implementation = await import("./chunks/tools-
|
|
416
|
+
const implementation = await import("./chunks/tools-OVNH45IJ.ts");
|
|
417
417
|
return implementation.executeWebMcpListTool(params, signal, ctx);
|
|
418
418
|
});
|
|
419
419
|
}
|
|
@@ -455,7 +455,7 @@ var webMcpCallTool = defineTool({
|
|
|
455
455
|
renderResult: renderTextResult,
|
|
456
456
|
async execute(_toolCallId, params, signal, _onUpdate, ctx) {
|
|
457
457
|
return withStatus(ctx, "call WebMCP tool", async () => {
|
|
458
|
-
const implementation = await import("./chunks/tools-
|
|
458
|
+
const implementation = await import("./chunks/tools-OVNH45IJ.ts");
|
|
459
459
|
return implementation.executeWebMcpCallTool(params, signal, ctx);
|
|
460
460
|
});
|
|
461
461
|
}
|
|
@@ -639,7 +639,7 @@ async function handleChromeDevtoolsCommand(pi, args, ctx, generation) {
|
|
|
639
639
|
if (!ctx.hasUI || ctx.mode !== "tui" && ctx.mode !== "rpc") {
|
|
640
640
|
throw new Error("/chrome-devtools settings requires TUI or RPC mode");
|
|
641
641
|
}
|
|
642
|
-
const { showChromeDevtoolsBrowserSettings } = await import("./chunks/browser-settings-menu-
|
|
642
|
+
const { showChromeDevtoolsBrowserSettings } = await import("./chunks/browser-settings-menu-FVMCCUPM.ts");
|
|
643
643
|
if (generation !== state.sessionGeneration) return;
|
|
644
644
|
await showChromeDevtoolsBrowserSettings(pi, ctx, generation);
|
|
645
645
|
return;
|
|
@@ -648,7 +648,7 @@ async function handleChromeDevtoolsCommand(pi, args, ctx, generation) {
|
|
|
648
648
|
if (!ctx.hasUI || ctx.mode !== "tui" && ctx.mode !== "rpc") {
|
|
649
649
|
throw new Error("/chrome-devtools tools requires TUI or RPC mode");
|
|
650
650
|
}
|
|
651
|
-
const { showChromeDevtoolsToolWorkflow } = await import("./chunks/menu-
|
|
651
|
+
const { showChromeDevtoolsToolWorkflow } = await import("./chunks/menu-MTPSLDHZ.ts");
|
|
652
652
|
if (generation !== state.sessionGeneration) return;
|
|
653
653
|
await showChromeDevtoolsToolWorkflow(pi, ctx, generation);
|
|
654
654
|
return;
|
|
@@ -679,7 +679,7 @@ async function showMenu(pi, ctx, generation) {
|
|
|
679
679
|
if (!ctx.hasUI || ctx.mode !== "tui" && ctx.mode !== "rpc") {
|
|
680
680
|
throw new Error("/chrome-devtools menu requires TUI or RPC mode; use a direct subcommand");
|
|
681
681
|
}
|
|
682
|
-
const { showChromeDevtoolsMenu } = await import("./chunks/menu-
|
|
682
|
+
const { showChromeDevtoolsMenu } = await import("./chunks/menu-MTPSLDHZ.ts");
|
|
683
683
|
if (generation !== state.sessionGeneration) return;
|
|
684
684
|
await showChromeDevtoolsMenu(pi, ctx, generation);
|
|
685
685
|
}
|
package/package.json
CHANGED
/package/dist/chunks/{browser-settings-menu-SR7KLZT6.js.map → browser-settings-menu-FVMCCUPM.ts.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|