diff options
| author | astarring <zouzhigang85@gmail.com> | 2026-09-09 02:35:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-09 00:05:42 +0530 |
| commit | 8d7a067c8d82a592bfb3dcacf05305c39550cbc6 (patch) | |
| tree | cf6641e0d8ab749542adc4e605787e4e525b24b6 /src/registry.ts | |
| parent | 6f455ed015b1b39324c45813a42b33ddb63e4bc9 (diff) | |
feat: add per-tab request headers (#30)
Expose explicit set and clear tools so environment-routed pages can be opened without leaking header values or carrying headers across unrelated browsing.
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Co-authored-by: zouzhigang <zouzhigang@bytedance.com>
Diffstat (limited to 'src/registry.ts')
| -rw-r--r-- | src/registry.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/registry.ts b/src/registry.ts index 69a1845..eaa60cd 100644 --- a/src/registry.ts +++ b/src/registry.ts @@ -16,6 +16,7 @@ import { uploadFileTool, downloadTool, printToPdfTool } from "./domains/files"; import { viewportResizeTool } from "./domains/viewport"; import { dragAndDropTool } from "./domains/drag"; import { httpGetTool, networkRequestsTool } from "./domains/network"; +import { clearHeadersTool, setHeadersTool } from "./domains/headers"; import { consoleTool } from "./domains/console"; import { snapshotTool } from "./domains/snapshot"; import { executeJsTool, runScriptTool } from "./domains/js"; @@ -58,6 +59,8 @@ export const ALL_TOOLS: ReadonlyArray<AnyBrowserToolDefinition> = [ dragAndDropTool, httpGetTool, networkRequestsTool, + setHeadersTool, + clearHeadersTool, consoleTool, snapshotTool, executeJsTool, |
