Support directory selection in "Link File" attachment action#466
Draft
Support directory selection in "Link File" attachment action#466
Conversation
Agent-Logs-Url: https://github.com/purocean/yn/sessions/29b85dce-b64c-4ca3-8372-0fc35ba50143 Co-authored-by: purocean <7115690+purocean@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
purocean
April 4, 2026 02:45
View session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Agent-Logs-Url: https://github.com/purocean/yn/sessions/215ceed2-5022-4177-aa6b-d1fa070e8ccc Co-authored-by: purocean <7115690+purocean@users.noreply.github.com>
Agent-Logs-Url: https://github.com/purocean/yn/sessions/6cf22cb1-5d7e-4fb4-a935-3d2c44463408 Co-authored-by: purocean <7115690+purocean@users.noreply.github.com>
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.
open-pathaction registration inapp.ts(Electronshell.openPath)POST /api/open-pathendpoint inserver/index.ts: doesfs.stat, opens if dir, returns{ isDirectory }openPathInOS(path)torenderer/support/api.tsisDirectory()inrenderer/services/base.tswithopenPathInOS()wrapping the new APImarkdown-link/index.tsto callopenPathInOS()(single API call), handle errors with.catch()isDirectory()RPC helper entirely