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
- Sync: src/syncManager.ts – schedules by promptitude.frequency; per-repo (url or url|branch, default main) select provider via GitProviderFactory, authenticate, fetch tree, filter, download files. Filters agents/ (and legacy chatmodes/), instructions/, prompts/ and .md/.txt; writes files to repository storage then creates symlinks (or copies on Windows without admin/dev mode) to active prompts directory using unique names when conflicts exist across repos.
- Providers: src/utils/github.ts (VS Code GitHub auth with scope repo; REST branches→sha→git/trees; contents for files). src/utils/azureDevOps.ts (PATs in SecretStorage; per-organization PAT index cached in globalState; supports dev.azure.com and legacy visualstudio.com; owner encoded as organization|project|baseUrl).
- Storage: Repository files stored in {globalStorageUri}/repos/{encoded_url}/; active prompts symlinked (or copied on Windows) to {globalStorageUri}/prompts/. Cross-platform path handling normalizes separators (/ vs \).
17
18
18
19
Developer workflows
19
20
- Build/package: npm install → npm run compile (or npm run watch) → npm run package (VSIX). Lint: npm run lint. Tests: npm run test.
- Always use FileSystemManager for IO and NotificationManager for UX/auth prompts; do not duplicate provider auth logic.
25
26
- Settings drive behavior; avoid hard-coded paths/branches; use ConfigManager.repositoryConfigs for url|branch parsing.
26
27
- Provider code lives in GitApiManager implementations; select via GitProviderFactory.createFromUrl().
27
-
- Duplicate filenames across repos overwrite by last processed repo (flat output). Allowed file types: .md, .txt.
28
+
- Duplicate filenames across repos resolved with unique workspace names using repository identifiers.
29
+
- Allowed file types: .md, .txt.
30
+
- Cross-platform: Normalize path separators (replace \\ with / for comparisons); on Windows, symlink creation falls back to file copy if admin/dev mode unavailable; both symlinks and file copies tracked as "active" prompts.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,19 @@ All notable changes to the "promptitude" extension will be documented in this fi
7
7
### Changed
8
8
9
9
- Renamed "chatmodes" to "agents" throughout the UI to align with VS Code's current terminology
10
+
- Improved "Activate All" and "Deactivate All" operations to show progress notifications with individual prompt status.
10
11
11
12
### Fixed
12
13
13
-
- Improved prompt management UI with bug fixes and stability improvements
14
-
- Fixed duplicate filename handling across multiple repositories
15
-
- Enhanced cross-platform compatibility
16
-
- Code quality improvements
14
+
- Fixed UI bugs including Windows path handling, activate/deactivate button behavior, and cross-platform compatibility issues
15
+
- Fixed prompt details view not opening for inactive prompts on Windows by correctly resolving repository storage paths
16
+
- Fixed "Activate All" to properly create symlinks for all prompts instead of just updating state.
17
+
- Fixed "Deactivate All" to efficiently remove all symlinks directly instead of looping through individual toggles, eliminating unnecessary counting behavior.
18
+
- Fixed issue where prompts that were active before "Activate All" would be in a broken state after "Deactivate All".
19
+
- Fixed prompt details view not refreshing when "Deactivate All" is clicked while viewing an active prompt.
20
+
- Fixed duplicate repositories persisting in configuration by automatically removing them and updating settings when detected.
21
+
- Fixed 'All Sources' dropdown preventing users from deselecting the only repository source by implementing sentinel value pattern to distinguish between "all sources" and "no sources selected" states.
22
+
- Fixed Activity Bar icon not displaying by converting SVG to monochrome format with currentColor support for proper theme adaptation.
@@ -80,6 +81,23 @@ You can override this by setting a custom path in `promptitude.customPath`.
80
81
81
82
The extension will adapt this path automatically to function with non-default VS Code profiles.
82
83
84
+
### Platform-Specific Behavior
85
+
86
+
#### Windows Symlink Handling
87
+
88
+
On Windows, the extension intelligently handles file synchronization:
89
+
90
+
-**With Developer Mode or Admin Rights**: Creates symlinks for optimal performance (files stay in sync automatically)
91
+
-**Without Special Permissions**: Automatically falls back to copying files (no admin rights required)
92
+
- Both approaches work seamlessly - the extension detects and manages active prompts correctly
93
+
94
+
To enable symlinks on Windows 10/11 without admin rights:
95
+
1. Go to Settings → Update & Security → For developers
96
+
2. Enable "Developer Mode"
97
+
3. Restart VS Code
98
+
99
+
**Note**: File copy mode works perfectly fine for most users and requires no special setup.
100
+
83
101
### Multiple Repository Configuration
84
102
85
103
The extension supports syncing from multiple Git repositories simultaneously. This is useful for organizations that maintain prompt collections across multiple repositories or for users who want to combine prompts from different sources.
@@ -133,7 +151,8 @@ The extension adds a status bar item showing:
133
151
The extension syncs all prompt files from the repository subdirectories into a flattened structure:
0 commit comments