-
Notifications
You must be signed in to change notification settings - Fork 0
confirm to send on page open #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements a clipboard confirmation feature that prompts users to confirm before auto-filling clipboard content into the input box on page load. The changes include dependency updates, extensive LLM agent documentation, and modifications to the clipboard reading behavior.
Key changes:
- Adds a confirmation dialog when clipboard content is detected on page open
- Updates multiple dependencies (Calcit packages, npm packages)
- Introduces comprehensive LLM agent documentation for Calcit and Respo development
- Changes clipboard reading to use component listeners instead of sessionStorage
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| compact.cirru | Implements clipboard confirmation dialog using use-confirm plugin and RespoListener, changes timing of clipboard read to 500ms after init |
| package.json | Updates dependencies: @calcit/procs (0.10.4), axios (1.13.2), mime (4.1.0), copy-text-to-clipboard (3.2.2), vite (7.3.0) |
| yarn.lock | Updates all dependency lock entries to match package.json version bumps |
| deps.cirru | Updates Calcit dependencies including respo.calcit (0.16.24), calcit.std (0.2.6), memof (0.0.17), and pins several dependencies to specific versions |
| llms/Respo.md | Adds comprehensive 920-line guide for LLM agents developing with Respo framework |
| llms/Calcit.md | Adds 454-line guide for LLM agents working with Calcit projects |
| Agents.md | Adds 452-line Calcit programming agent guide (appears to be duplicate of llms/Calcit.md) |
| .gitattributes | Marks agent documentation files as linguist-generated to exclude from diff stats |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
compact.cirru
Outdated
| <> "\"Clear" | ||
| d! cursor $ assoc state :content | | ||
| confirm-plugin $ use-confirm (>> states :clipboard-confirm) | ||
| {} $ :text "|检测到剪切板内容,是否填充到输入框?" |
Copilot
AI
Jan 6, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The confirmation dialog text is in Chinese while the rest of the UI appears to be in English. Consider using English for consistency, or implementing i18n if multilingual support is intended. Suggested text: "Clipboard content detected. Fill it into the input box?"
| {} $ :text "|检测到剪切板内容,是否填充到输入框?" | |
| {} $ :text "|Clipboard content detected. Fill it into the input box?" |
No description provided.