fix(sdk): point checkAgentsInstalled at ~/.claude/agents (#2401)
This commit is contained in:
@@ -33,11 +33,12 @@ import type { GSDEventStream } from './event-stream.js';
|
||||
import { loadConfig } from './config.js';
|
||||
import { runPhaseStepSession } from './session-runner.js';
|
||||
import { sanitizePrompt } from './prompt-sanitizer.js';
|
||||
import { resolveAgentsDir } from './query/helpers.js';
|
||||
|
||||
// ─── Constants ───────────────────────────────────────────────────────────────
|
||||
|
||||
const GSD_TEMPLATES_DIR = join(homedir(), '.claude', 'get-shit-done', 'templates');
|
||||
const GSD_AGENTS_DIR = join(homedir(), '.claude', 'agents');
|
||||
const GSD_AGENTS_DIR = resolveAgentsDir();
|
||||
|
||||
const RESEARCH_TYPES = ['STACK', 'FEATURES', 'ARCHITECTURE', 'PITFALLS'] as const;
|
||||
type ResearchType = (typeof RESEARCH_TYPES)[number];
|
||||
|
||||
Reference in New Issue
Block a user