Skip to content

feat(desktop): /journey opens the memory graph overlay instead of printing text - #57267

Merged
OutThisLife merged 2 commits into
mainfrom
bb/desktop-journey-memory-graph
Jul 2, 2026
Merged

feat(desktop): /journey opens the memory graph overlay instead of printing text#57267
OutThisLife merged 2 commits into
mainfrom
bb/desktop-journey-memory-graph

Conversation

@OutThisLife

Copy link
Copy Markdown
Collaborator

Summary

  • /journey (and its aliases /learning, /memory-graph) in the desktop app used to fall through to slash.exec and dump the CLI's text timeline into the transcript. It now opens the desktop's memory graph overlay (the starmap at /starmap) — the same surface the command palette's "Memory Graph" entry opens, and the desktop counterpart of the TUI's /journey overlay (ui-tui/src/app/slash/commands/ops.ts).
  • Wiring follows the registry pattern: a new journey DesktopActionId row in desktop-slash-commands.ts plus an actionHandlers entry in use-prompt-actions/slash.ts that calls an injected openMemoryGraph(). desktop-controller.tsx supplies openStarmap from useOverlayRouting(). Args are ignored, matching the TUI overlay behavior.
  • /journey now also appears in the slash popover/completions (it previously surfaced only as an unfiltered extension row with the CLI description).
  • The second commit fixes two pre-existing perfectionist import-order lint errors in use-prompt-actions/index.ts + submit.ts (present on main before this branch).

Test plan

  • vitest run --environment jsdom src/lib/desktop-slash-commands.test.ts src/app/session/hooks/use-prompt-actions/index.test.tsx — 53 passed, including new coverage: /journey + aliases resolve to the journey action, and the dispatcher opens the overlay without hitting slash.exec / command.dispatch
  • tsc -p . --noEmit clean
  • eslint clean on all touched files

@OutThisLife
OutThisLife enabled auto-merge July 2, 2026 17:29
@OutThisLife
OutThisLife merged commit eb506e6 into main Jul 2, 2026
20 checks passed
@OutThisLife
OutThisLife deleted the bb/desktop-journey-memory-graph branch July 2, 2026 17:30
@alt-glitch alt-glitch added type/feature New feature or request comp/desktop Electron desktop app (apps/desktop/*) tool/memory Memory tool and memory providers P3 Low — cosmetic, nice to have labels Jul 2, 2026
habarmc1223-sudo pushed a commit to habarmc1223-sudo/hermes-agent-fluxmem that referenced this pull request Jul 8, 2026
…urney-memory-graph

feat(desktop): /journey opens the memory graph overlay instead of printing text
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
…urney-memory-graph

feat(desktop): /journey opens the memory graph overlay instead of printing text
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
…urney-memory-graph

feat(desktop): /journey opens the memory graph overlay instead of printing text
leewenjie pushed a commit to leewenjie/hermes-agent that referenced this pull request Aug 7, 2026
…urney-memory-graph

feat(desktop): /journey opens the memory graph overlay instead of printing text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/desktop Electron desktop app (apps/desktop/*) P3 Low — cosmetic, nice to have tool/memory Memory tool and memory providers type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants