PROMPT.md-based skill injection, scroll-on-image-load fix, skill availability UI

- SkillService: read PROMPT.md instead of SKILL.md for system prompt injection
- SkillInfo: add HasPromptMd field, skills without PROMPT.md are not injectable
- Agent form: disable checkbox + warning for skills missing PROMPT.md
- Thumbnail size: 320px (was 300px)
- Chat: _scrollOnImages() re-scrolls after lazy-loaded images finish loading
- CSS: skill-unavailable/warning styling, adjusted thumb dimensions
This commit is contained in:
Meleki committed 2026-03-01 20:38:18 +01:00
1 parent 8d86406037
commit 40e56acc30
6 files changed
+46 -15

No files matched your search

+2 -6
View File
@@ -627,17 +627,13 @@
.krea-thumb {
display: block;
max-width: 300px;
max-height: 200px;
max-width: 320px !important;
max-height: 240px;
object-fit: contain;
}
/* Krea Image Modal */
.krea-overlay {
backdrop-filter: blur(4px);
}
.krea-modal {
max-width: 90vw;
max-height: 90vh;