feat: support GenAI datastore file uploads and fix paste image upload #32

Merged
sarman merged 3 commits from bug/image-upload-secure into master 2026-04-10 02:22:44 +00:00
Owner
  • Add use_datastore_upload field to ProviderConfig for enabling datastore uploads
  • Add upload_file_to_datastore and upload_file_to_datastore_any commands
  • Add upload_log_file_by_content and upload_image_attachment_by_content commands for drag-and-drop without file paths
  • Add multipart/form-data support for file uploads to GenAI datastore
  • Add support for image/bmp MIME type in image validation
  • Add x-generic-api-key header support for GenAI API authentication

This addresses:

  • Paste fails to attach screenshot (clipboard)
  • File upload fails with 500 error when using GenAI API
  • GenAI datastore upload endpoint support for non-text files
- Add use_datastore_upload field to ProviderConfig for enabling datastore uploads - Add upload_file_to_datastore and upload_file_to_datastore_any commands - Add upload_log_file_by_content and upload_image_attachment_by_content commands for drag-and-drop without file paths - Add multipart/form-data support for file uploads to GenAI datastore - Add support for image/bmp MIME type in image validation - Add x-generic-api-key header support for GenAI API authentication This addresses: - Paste fails to attach screenshot (clipboard) - File upload fails with 500 error when using GenAI API - GenAI datastore upload endpoint support for non-text files
sarman added 1 commit 2026-04-09 23:12:21 +00:00
feat: support GenAI datastore file uploads and fix paste image upload
Some checks failed
Test / frontend-tests (pull_request) Successful in 59s
Test / frontend-typecheck (pull_request) Successful in 1m5s
Test / rust-fmt-check (pull_request) Failing after 2m25s
Test / rust-clippy (pull_request) Failing after 18m25s
Test / rust-tests (pull_request) Successful in 19m42s
420411882e
- Add use_datastore_upload field to ProviderConfig for enabling datastore uploads
- Add upload_file_to_datastore and upload_file_to_datastore_any commands
- Add upload_log_file_by_content and upload_image_attachment_by_content commands for drag-and-drop without file paths
- Add multipart/form-data support for file uploads to GenAI datastore
- Add support for image/bmp MIME type in image validation
- Add x-generic-api-key header support for GenAI API authentication

This addresses:
- Paste fails to attach screenshot (clipboard)
- File upload fails with 500 error when using GenAI API
- GenAI datastore upload endpoint support for non-text files
sarman added 1 commit 2026-04-10 01:43:07 +00:00
fix: lint fixes and formatting cleanup
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m9s
Test / frontend-typecheck (pull_request) Successful in 1m15s
Test / rust-fmt-check (pull_request) Successful in 2m44s
Test / rust-clippy (pull_request) Successful in 24m22s
Test / rust-tests (pull_request) Successful in 25m43s
6ebe3612cd
- Fix TypeScript lint errors in setup.ts and LogUpload
- Remove unused imports and variables
- Fix duplicate Separator exports in ui/index.tsx
- Apply cargo fmt formatting to Rust code
- Update ESLint configuration
sarman added 1 commit 2026-04-10 01:47:00 +00:00
chore: remove gh binary from staging
All checks were successful
Test / frontend-typecheck (pull_request) Successful in 1m12s
Test / frontend-tests (pull_request) Successful in 1m1s
Test / rust-fmt-check (pull_request) Successful in 3m6s
Test / rust-clippy (pull_request) Successful in 25m23s
Test / rust-tests (pull_request) Successful in 26m39s
ed2af2a1cc
sarman merged commit 46c48fb4a3 into master 2026-04-10 02:22:44 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sarman/tftsr-devops_investigation#32
No description provided.