Skip to content

feat(chat): file upload support for web chat #364

Description

@vybe

Context

Client feedback (Paradigm Life, April 2026) noted inability to share files for agent analysis via the web interface.

Current State

Requested

Enable file drag-and-drop and/or file picker in the web chat input.

Acceptance Criteria

  • File picker button or drag-drop zone in ChatInput
  • Validate file type and size before upload
  • Upload to agent workspace (reuse Telegram pattern)
  • Pass file reference to agent in chat context
  • Visual feedback during upload
  • Works in both authenticated and public chat views

Validation Required

  • Confirm security model for file uploads (size limits, allowed types)
  • Decide: inline in message vs separate upload endpoint
  • Consider: how does agent access uploaded files?

Prior Art

  • Telegram adapter: _extract_files(), download_file(), magic-byte validation
  • Claude.ai: drag-and-drop file attachment

References

  • Client feedback: "No file upload or snippet support"
  • Effort: Medium (backend pattern exists from Telegram)
  • Priority: Medium

/label enhancement,ui,P2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions