mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-01 12:02:05 +00:00
style(desktop): tighten pickProjectFolder comment
This commit is contained in:
parent
4526fccdbe
commit
304f0650c4
1 changed files with 3 additions and 6 deletions
|
|
@ -733,12 +733,9 @@ export async function copyPath(path: null | string): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
// Pick a folder for a project. Routes through the remote-aware folder picker
|
||||
// (selectDesktopPaths): a remote gateway browses the BACKEND filesystem via the
|
||||
// in-app RemoteFolderPicker — where sessions actually run — while local mode
|
||||
// uses the native directory dialog. Returns the chosen absolute path, or null
|
||||
// when cancelled. Seeded with the backend's default cwd on remote so the picker
|
||||
// opens somewhere useful instead of "/".
|
||||
// Pick a project folder via the remote-aware picker: a remote gateway browses
|
||||
// the backend filesystem (seeded at its default cwd) where sessions run; local
|
||||
// mode opens the native dialog. Returns the absolute path, or null if cancelled.
|
||||
export async function pickProjectFolder(): Promise<null | string> {
|
||||
try {
|
||||
const defaultPath = isDesktopFsRemoteMode() ? (await desktopDefaultCwd())?.cwd : undefined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue