Files
NomadArch/tasks/done/022-long-paste-handling.md
Gemini AI 1d427f4cf5
Some checks failed
Release Binaries / release (push) Has been cancelled
v0.5.0: NomadArch - Binary-Free Mode Release
Features:
- Binary-Free Mode: No OpenCode binary required
- NomadArch Native mode with free Zen models
- Native session management
- Provider routing (Zen, Qwen, Z.AI)
- Fixed MCP connection with explicit connectAll()
- Updated installers and launchers for all platforms
- UI binary selector with Native option

Free Models Available:
- GPT-5 Nano (400K context)
- Grok Code Fast 1 (256K context)
- GLM-4.7 (205K context)
- Doubao Seed Code (256K context)
- Big Pickle (200K context)
2025-12-26 11:27:03 +04:00

853 B

title, description
title description
Long Paste Handling Summarize large pasted text into attachments.

Implement Long Paste Handling


Detect Long Pastes

Monitor clipboard paste events for text content. Identify if the pasted text exceeds a defined length (e.g., >150 characters or >3 lines).


Create Summarized Attachments

If a paste is identified as "long", prevent direct insertion into the input field. Instead, create a new text attachment containing the full content.

Display a summarized chip for the attachment, such as [pasted #1 10+ lines].


Acceptance Criteria

  • Pasting short text directly inserts it into the input.
  • Pasting long text creates a summarized attachment chip.
  • The full content of the long paste is retained within the attachment for submission.
  • Multiple long pastes create distinct numbered chips.