parseRoadmap, parsePlan, parseSummary, and parseContinue are pure functions that get called repeatedly with the same content during deriveState dispatch cycles. A module-scoped Map keyed by a fast composite key (length + first 100 chars + last 100 chars) avoids redundant parsing. Cache caps at 50 entries and clears when full. Exports clearParseCache() for explicit invalidation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| resources | ||
| tests | ||
| app-paths.ts | ||
| bundled-extension-paths.ts | ||
| cli.ts | ||
| loader.ts | ||
| logo.ts | ||
| onboarding.ts | ||
| pi-migration.ts | ||
| resource-loader.ts | ||
| tool-bootstrap.ts | ||
| update-check.ts | ||
| update-cmd.ts | ||
| wizard.ts | ||