diff options
| author | amankumarsingh77 <amankumarsingh7702@gmal.com> | 2026-04-30 17:52:26 +0530 |
|---|---|---|
| committer | amankumarsingh77 <amankumarsingh7702@gmal.com> | 2026-04-30 17:52:26 +0530 |
| commit | 28578d1d6237cdec3f613a3ed9fa6e888dd71a6b (patch) | |
| tree | c7f69ac2fb286a4551c5f7ecc0e67225b674f945 /src/index.ts | |
| parent | b6d752222947229112132ac0fbd87f355fc78974 (diff) | |
Replace dynamic tool registration with browser_run_script
Remove register_tool/remove_tool/list_dynamic_tools and the entire
dynamic-tools.ts module. Replace with a single browser_run_script tool
that executes temporary scripts from disk with daemon access.
Scripts are now written to disk before execution, making them auditable
and re-runnable. Same bindings (daemon, require, params, etc.) as before
via the same AsyncFunction mechanism.
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts index 31a7c28..7a3464c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,7 +26,6 @@ import { registerRenderers } from "./renderers"; import { registerSetupCommand } from "./setup"; import { type BrowserState, defaultState, persistState, restoreState } from "./state"; import { cleanupTempDirs, registerTools } from "./tools"; -import { registerDynamicTools } from "./dynamic-tools"; export default function browserHarnessExtension(pi: ExtensionAPI) { // ── Resolve namespace ────────────────────────────────────────────────────── @@ -137,7 +136,6 @@ export default function browserHarnessExtension(pi: ExtensionAPI) { // Register tools (once) if (!toolsRegistered && daemon) { registerTools(pi, daemon); - registerDynamicTools(pi, daemon); toolsRegistered = true; } |
