You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,11 @@ All notable changes to the "promptitude" extension will be documented in this fi
4
4
5
5
## [Unreleased]
6
6
7
+
### Added
8
+
9
+
- Prompt size safeguard: warns when active prompts may overwhelm GitHub Copilot's context window. Checks total file size (>500 KB), active prompt count (>50), and repository count (>10) after each sync. Shows actionable warning with "Manage Prompts" and "Open Settings" buttons.
10
+
- Disabled (inactive) prompts are now cleaned up from the active prompts directory during sync, preventing them from being loaded by Copilot.
constmessage=`⚠️ Promptitude: Your active prompts may be too large for GitHub Copilot (${details.totalSizeKB.toFixed(0)} KB across ${details.activeCount} prompts from ${details.repoCount} repos). ${reasonText}. Consider disabling unused prompts, reducing synced repositories, or switching to manual sync.`;
173
+
174
+
// Always show this warning regardless of notification settings — it's a safeguard
0 commit comments