From 1c12b43a674ae51a39c430ed8cfa138dbdf4dc71 Mon Sep 17 00:00:00 2001 From: amankumarsingh77 Date: Wed, 8 Jul 2026 21:41:47 +0530 Subject: feat: add deep-research skill, /deep-research command, fix web-search-researcher deep-research skill fans out to isolated web-search-researcher subagents (now using browser_web_search + browser_read_page instead of the non-existent web_search/web_fetch), coverage-driven loop with a hard ceiling, synthesizes a cited Markdown report. /deep-research command as explicit entry point. Docs updated. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index 7265263..0991c5d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,6 +14,7 @@ * /browser-setup — guided setup wizard * /browser-status — show client status and current page * /browser-reload-daemon — restart the browser client + * /deep-research — research a question on the web, write a cited report * * Flags: * --browser-namespace — override namespace (default: auto) @@ -24,6 +25,7 @@ import type { ExtensionAPI } from "@mariozechner/pi-coding-agent"; import { type BrowserClient, createBrowserClient } from "./client"; import { getBrowserSystemPrompt } from "./prompt"; import { registerSetupCommand } from "./setup"; +import { registerDeepResearchCommand } from "./deep-research"; import { type BrowserState, defaultState, persistState, restoreState } from "./state"; import { registerAllTools } from "./registry"; import { cleanupTempDirs } from "./util/truncate"; @@ -141,6 +143,7 @@ export default function browserHarnessExtension(pi: ExtensionAPI): void { toolsRegistered = true; } registerSetupCommand(pi, client); + registerDeepResearchCommand(pi); ctx.ui.setStatus( "browser", client.status().alive ? "🟢 Browser connected" : "🔴 Browser — run /browser-setup", -- cgit v1.2.3