Repository navigation
feat(lan-webui): add trusted tool approvals and chat attachments - #2651
Merged
Merged
Conversation
Keep device files in the draft until the user sends them. Validate and snapshot bounded uploads in the owning session, then reuse Desktop turn admission and attachment handling without exposing host paths or changing tool permissions.
Let users resolve individual tool requests on the browser that started the work, without granting a broader permission mode. Keep the authority in Desktop and bind each decision to the verified device, live turn, and Host-owned request.
Keep both the signed-in attachment flow and the per-device approval gate over the same LAN listener. Preserve payload-aware replay checks for JSON and multipart, and exercise an attached turn through approval.
Deploying pi-desktop with
|
| Latest commit: |
3b7136f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://39114572.pi-desktop.pages.dev |
| Branch Preview URL: | https://feat-lan-webui-tool-approval.pi-desktop.pages.dev |
Allow the HTTP layer to discard a bounded unread body after an early rejection. Closing the connection immediately can hide authentication errors behind EPIPE while a client is still writing. Continue closing unbounded or over-limit requests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
askceiling and keep Plan/Goal approvals on Desktop.EPIPE).Validation
c145522be45596d98942a8e4ccdcf9e9f74d8ea7; base:16b863e7776b00102f80936514259c97664bbebb.pnpm test:e2e:lan-webui(9 passed);pnpm test:e2e(23 passed; 2 live-provider checks skipped without credentials).