Merge pull request #421 from Randalix/fix/remote-file-access

fix(files): read remote-case previews, downloads and attachments over ssh
This commit is contained in:
Codeman maintainer
2026-09-14 23:42:06 +02:00
15 changed files with 2003 additions and 131 deletions
+2
View File
@@ -1719,10 +1719,12 @@ export class WebServer extends EventEmitter {
sessionId,
filePath,
sessionWorkingDir: session.workingDir,
remote: session.remote,
})
: await registerExternalAttachment(sessionId, filePath, {
sessionWorkingDir: session.workingDir,
forceWorkspaceConfinement: true,
remote: session.remote,
});
const record = attachmentRegistry.get(sessionId, event.attachmentId);
if (record) {