Skip to content

feat(workspace): support Markdown and text attachments#175

Closed
tlysanhuo wants to merge 1 commit into
synthetic-sciences:mainfrom
tlysanhuo:tlysanhuo/text-file-attachments
Closed

feat(workspace): support Markdown and text attachments#175
tlysanhuo wants to merge 1 commit into
synthetic-sciences:mainfrom
tlysanhuo:tlysanhuo/text-file-attachments

Conversation

@tlysanhuo

Copy link
Copy Markdown

Closes #170

Summary

  • accept .md, .markdown, and .txt files from the composer picker, paste, and drag-and-drop paths
  • infer Markdown/text MIME types from file extensions and render them as file attachment cards
  • decode text/* data URLs into message text so every model can consume the contents without native file support

Verification

  • bun test test/session/message-v2.test.ts test/session/prompt-attachments.test.ts (25 pass)
  • bun typecheck (7 workspace packages pass)
  • playwright test e2e/prompt-attachments.spec.ts --project=chromium (1 pass)
  • prettier --check on changed files

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the InkVell Team on Vercel.

A member of the Team first needs to authorize it.

@tlysanhuo tlysanhuo closed this by deleting the head repository Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The website only supports uploading images and PDFs. Can I upload Markdown documents or TXT files?

1 participant