mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 02:29:33 +01:00
fix: image watcher now uses relative path for subdirectory images
- Added relativePath field to ImageDetectedEvent - Compute relative path from working directory in image-watcher - Use relativePath in frontend URL (fixes 'Failed to load image' for subdirs) - Minor CLAUDE.md improvements chore: bump version to 0.1461
This commit is contained in:
1 parent
c7488c4a56
commit
b655d2e29e
13 files changed
+278
-18
No files matched your search
@@ -1511,6 +1511,8 @@ export interface ImageDetectedEvent {
|
||||
sessionId: string;
|
||||
/** Full path to the detected image file */
|
||||
filePath: string;
|
||||
/** Path relative to the session's working directory (for file-raw endpoint) */
|
||||
relativePath: string;
|
||||
/** Image file name (basename) */
|
||||
fileName: string;
|
||||
/** Timestamp when the image was detected */
|
||||
|
||||
Reference in new issue
Block a user