fix: skip auto-open memory palace in tmux on macOS (#1069)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Kevin Lin
2026-02-20 15:53:05 -08:00
committed by GitHub
parent 4f8690f98d
commit 6b085ba791
2 changed files with 19 additions and 10 deletions

View File

@@ -113,7 +113,13 @@ export function MemfsTreeViewer({
if ((input === "o" || input === "O") && hasGitRepo) {
showStatus("Opening in browser...", 10000);
generateAndOpenMemoryViewer(agentId, { agentName })
.then(() => showStatus("Opened in browser", 3000))
.then((result) => {
if (result.opened) {
showStatus("Opened in browser", 3000);
} else {
showStatus(`Run: open ${result.filePath}`, 15000);
}
})
.catch((err: unknown) =>
showStatus(
err instanceof Error ? err.message : "Failed to open viewer",