From 2d2858cf85dd952e4984912fc3195eb746382588 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Tue, 10 Mar 2026 22:49:26 -0600 Subject: [PATCH] fix: remove worktree and plan-mode from loader and README (not bundled) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These extensions were removed from the repo but the loader still referenced them and the README still listed them. Removed from: - src/loader.ts extension entry points (11 → 9) - README bundled extensions table - app-smoke test assertions --- README.md | 4 +--- src/loader.ts | 2 -- src/resources/extensions/search-the-web/index.ts | 6 ++++-- src/tests/app-smoke.test.ts | 2 -- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index df0165150..f136ebffb 100644 --- a/README.md +++ b/README.md @@ -271,7 +271,7 @@ budget_ceiling: 50.00 ### Bundled Tools -GSD ships with 11 extensions, all loaded automatically: +GSD ships with 9 extensions, all loaded automatically: | Extension | What it provides | |-----------|-----------------| @@ -281,9 +281,7 @@ GSD ships with 11 extensions, all loaded automatically: | **Context7** | Up-to-date library/framework documentation | | **Background Shell** | Long-running process management with readiness detection | | **Subagent** | Delegated tasks with isolated context windows | -| **Plan Mode** | Structured planning before execution | | **Slash Commands** | Custom command creation | -| **Worktree** | Git worktree management | | **Ask User Questions** | Structured user input with single/multi-select | | **Secure Env Collect** | Masked secret collection without manual .env editing | diff --git a/src/loader.ts b/src/loader.ts index f630a5a08..70a5871e9 100644 --- a/src/loader.ts +++ b/src/loader.ts @@ -67,8 +67,6 @@ process.env.GSD_BUNDLED_EXTENSION_PATHS = [ join(agentDir, 'extensions', 'search-the-web', 'index.ts'), join(agentDir, 'extensions', 'slash-commands', 'index.ts'), join(agentDir, 'extensions', 'subagent', 'index.ts'), - join(agentDir, 'extensions', 'worktree', 'index.ts'), - join(agentDir, 'extensions', 'plan-mode', 'index.ts'), join(agentDir, 'extensions', 'ask-user-questions.ts'), join(agentDir, 'extensions', 'get-secrets-from-user.ts'), ].join(':') diff --git a/src/resources/extensions/search-the-web/index.ts b/src/resources/extensions/search-the-web/index.ts index d19d181ea..3e4aab94a 100644 --- a/src/resources/extensions/search-the-web/index.ts +++ b/src/resources/extensions/search-the-web/index.ts @@ -49,16 +49,18 @@ export default function (pi: ExtensionAPI) { pi.on("session_start", async (_event, ctx) => { const hasBrave = !!process.env.BRAVE_API_KEY; const hasJina = !!process.env.JINA_API_KEY; + const hasAnswers = !!process.env.BRAVE_ANSWERS_KEY; if (!hasBrave) { ctx.ui.notify( - "Web search: Set BRAVE_API_KEY for web search capability", + "Web search: Set BRAVE_API_KEY for web search + LLM context capability", "warning" ); } const parts: string[] = ["Web search v3 loaded"]; - if (hasBrave) parts.push("Brave ✓"); + if (hasBrave) parts.push("Search ✓"); + if (hasAnswers) parts.push("Answers ✓"); if (hasJina) parts.push("Jina ✓"); ctx.ui.notify(parts.join(" · "), "info"); diff --git a/src/tests/app-smoke.test.ts b/src/tests/app-smoke.test.ts index 5c82c7b67..a54301cff 100644 --- a/src/tests/app-smoke.test.ts +++ b/src/tests/app-smoke.test.ts @@ -103,8 +103,6 @@ test("loader sets all 4 GSD_ env vars and PI_PACKAGE_DIR", async () => { "'search-the-web'", "'slash-commands'", "'subagent'", - "'worktree'", - "'plan-mode'", "'ask-user-questions.ts'", "'get-secrets-from-user.ts'", ];