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
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,11 @@
2
2
3
3
All notable changes to the "promptitude" extension will be documented in this file.
4
4
5
-
## [Unreleased]
5
+
## [1.5.5] - 2026-03-18
6
+
7
+
### Improved
8
+
9
+
- Sync failure messages now distinguish **invalid repository URLs** (e.g. sub-paths like `/tree/main/...`) from **incompatible repository structures** (repo is reachable but has no supported prompt folders). The summary toast shows a categorised count, and "Show Details" lists the specific reason per repository.
return`Invalid URL – expected https://github.com/owner/repo but got extra sub-path segments in "${parsed.pathname}". Remove extra path segments like /tree/…`;
return`Invalid URL – expected https://dev.azure.com/org/project/_git/repo but the path "${parsed.pathname}" does not match the expected format`;
350
+
}
351
+
if(segments.length>4){
352
+
return`Invalid URL – expected https://dev.azure.com/org/project/_git/repo but got extra sub-path segments in "${parsed.pathname}". Remove extra path segments`;
return`Invalid URL – expected https://org.visualstudio.com/project/_git/repo but the path "${parsed.pathname}" does not match the expected format`;
360
+
}
361
+
if(segments.length>3){
362
+
return`Invalid URL – expected https://org.visualstudio.com/project/_git/repo but got extra sub-path segments in "${parsed.pathname}". Remove extra path segments`;
363
+
}
364
+
}
365
+
366
+
returnundefined;
367
+
}catch{
368
+
return`Invalid URL format – could not parse "${repoUrl}" as a repository URL`;
? `Incompatible repository – no .md/.txt files found under ${enabledTypes.join(', ')} on branch "${branch}". Check that the repo uses a supported folder layout.`
446
+
: `No sync types enabled – enable at least one of syncChatmode, syncInstructions, or syncPrompt in settings.`;
383
447
results.push({
384
448
repository: repoUrl,
385
449
success: false,
386
450
itemsUpdated: 0,
387
-
error: `No relevant files found, make sure prompts are in valid directories: ${promptLocation}`
451
+
error: structureError
388
452
});
389
-
errors.push(`${repoUrl}: No relevant files found`);
453
+
errors.push(`${repoUrl}: ${structureError}`);
390
454
continue;
391
455
}
392
456
this.logger.debug(`Found ${relevantFiles.length} relevant files to sync for ${repoUrl}`);
0 commit comments