Commit Graph

2 Commits (e80f5dfbc7996ea4e09f22255333bfff17941260)

Author SHA1 Message Date
wizardchen 18739bb1a3 feat(files): add message-scoped proxy for shared-agent chat images
Shared-agent replies can reference resources in the source workspace. Route
those images through a session/message file proxy that derives authorization
from the persisted message and active share, and align the chat renderer to
use the assistant message ID during streaming hydration.
2026-08-07 18:10:16 +08:00
wizardchen 0d58af8d82 fix(frontend): route embed protected images through channel file proxy
Embed visitors have no Bearer token, so resource:// images must be fetched
via /api/v1/embed/:channelId/files. Centralize proxy selection in a
protected-file access context and register the embed plane at EmbedPage so
deep renderers like AgentStreamDisplay no longer fall back to /files (401).
2026-07-31 13:29:34 +08:00