fix: skip auto-open memory palace in tmux on macOS (#1069)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user