mirror of
https://github.com/cline/cline.git
synced 2026-09-19 10:13:34 +08:00
The classic system-prompt builder (core/prompts/system-prompt/**), the deep-planning prompt variants, core/prompts/commands.ts, and the core/slash-commands handler are no longer reachable from any shipped entry point (extension host, standalone host, or webview) after the SDK migration: the SDK provides prompt construction (buildClineSystemPrompt) and slash-command handling. Removed them and their orphaned tests. Kept core/prompts/responses.ts (still live) and its tests. Dead-code reachability was computed with scripts/find-dead-src.mjs (esbuild metafile reachability from src/extension.ts + src/standalone/cline-core.ts, plus webview src/shared references), then gated on tsc --noEmit + vitest.