From ea11182a0e8cb62d208b5b53a60c98c8bdef9e9a Mon Sep 17 00:00:00 2001 From: amankumarsingh77 Date: Tue, 28 Jul 2026 21:17:13 +0530 Subject: feat!: remove the deep-research feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The harness ships browser tools; orchestrating a multi-agent research workflow on top of them is the agent's job, not this extension's. Drops the skill, the /deep-research command, and the web-search-researcher subagent config. browser_web_search and browser_read_page are untouched — the two tests that covered their pure parsers move to test/domains/, where the test glob still picks them up. Co-Authored-By: Claude Opus 5 (1M context) --- src/deep-research.ts | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/deep-research.ts (limited to 'src/deep-research.ts') diff --git a/src/deep-research.ts b/src/deep-research.ts deleted file mode 100644 index 9445cf8..0000000 --- a/src/deep-research.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { ExtensionAPI } from "@mariozechner/pi-coding-agent"; - -export function buildDeepResearchPrompt(question: string): string { - return ( - `Do deep research on the following question and produce a cited Markdown report. ` + - `Use the deep-research skill: decompose it into sub-questions, fan out web-search-researcher ` + - `subagents to research each against the live web, then synthesize a source-cited report file.\n\n` + - `Question: ${question}` - ); -} - -export function registerDeepResearchCommand(pi: ExtensionAPI): void { - pi.registerCommand("deep-research", { - description: "Research a question on the web and write a cited report", - handler: async (args, ctx) => { - const question = args.trim(); - if (question.length === 0) { - ctx.ui.notify('Usage: /deep-research . Example: /deep-research "compare CDP vs WebDriver"', "warning"); - return; - } - ctx.ui.notify(`Starting deep research: ${question}`, "info"); - pi.sendUserMessage(buildDeepResearchPrompt(question)); - }, - }); -} -- cgit v1.2.3