mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
Squashed salvage of #45744 (@harjothkhara), rebased onto current main and resolved against #58241 (which swapped the new-session cwd fallback to the project-aware resolveNewSessionCwd). An explicitly clicked sidebar workspace stays authoritative until session.create: a one-shot $newChatWorkspaceTarget (null → detached, string → that folder) plus a generation counter so a stale async `config.get project` normalization can't overwrite a newer draft target. The start-workspace-session action is extracted out of desktop-controller.tsx into a testable workspace-session-target module. Integrated with #58241: the no-explicit-target branch now falls through to the project-aware resolveNewSessionCwd() instead of the old workspaceCwdForNewSession. Co-authored-by: harjoth <harjoth.khara@gmail.com> |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||