fix: remove worktree and plan-mode from loader and README (not bundled)
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
This commit is contained in:
parent
7d4e09572d
commit
2d2858cf85
4 changed files with 5 additions and 9 deletions
|
|
@ -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 |
|
||||
|
||||
|
|
|
|||
|
|
@ -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(':')
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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'",
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue