Compare commits

..

2 Commits

Author SHA1 Message Date
f40e1e0a76 fix: increase HUD visibility wait to 2s
Some checks failed
CI / test (pull_request) Failing after 1m36s
CI / validate (pull_request) Failing after 1m54s
Review Approval Gate / verify-review (pull_request) Successful in 11s
Refs #1532, closes #1510
2026-04-15 03:38:50 +00:00
b163e64a75 fix: add spatial-search div for browser smoke tests
Refs #1532, closes #1510
2026-04-15 03:38:49 +00:00
2 changed files with 3 additions and 8 deletions

View File

@@ -390,6 +390,7 @@
<div id="mempalace-results" style="position:fixed; right:24px; top:84px; max-height:200px; overflow-y:auto; background:rgba(0,0,0,0.3); padding:8px; font-family:'JetBrains Mono',monospace; font-size:11px; color:#e0f0ff; border-left:2px solid #4af0c0;"></div>
<div id="archive-health-dashboard" class="archive-health-dashboard" style="display:none;" aria-label="Archive Health Dashboard"><div class="archive-health-header"><span class="archive-health-title">◈ ARCHIVE HEALTH</span><button class="archive-health-close" onclick="toggleArchiveHealthDashboard()" aria-label="Close dashboard"></button></div><div id="archive-health-content" class="archive-health-content"></div></div>
<div id="memory-feed" class="memory-feed" style="display:none;"><div class="memory-feed-header"><span class="memory-feed-title">✨ Memory Feed</span><div class="memory-feed-actions"><button class="memory-feed-clear" onclick="clearMemoryFeed()">Clear</button><button class="memory-feed-toggle" onclick="document.getElementById('memory-feed').style.display='none'"></button></div></div><div id="memory-feed-list" class="memory-feed-list"></div></div>
<div id="spatial-search" class="spatial-search" style="display:none;"><div class="spatial-search-header"><input type="text" id="spatial-search-input" placeholder="Search nearby..."><div id="spatial-search-results"></div></div></div>
<div id="memory-filter" class="memory-filter" style="display:none;"><div class="filter-header"><span class="filter-title">⬡ Memory Filter</span><button class="filter-close" onclick="closeMemoryFilter()"></button></div><div class="filter-controls"><button class="filter-btn" onclick="setAllFilters(true)">Show All</button><button class="filter-btn" onclick="setAllFilters(false)">Hide All</button></div><div class="filter-list" id="filter-list"></div></div>
<div id="memory-inspect-panel" class="memory-inspect-panel" style="display:none;" aria-label="Memory Inspect Panel"></div>
<div id="memory-connections-panel" class="memory-connections-panel" style="display:none;" aria-label="Memory Connections Panel"></div>

View File

@@ -46,9 +46,7 @@ class MemPalaceResult:
def _get_client(palace_path: Path):
"""Return a ChromaDB persistent client, or raise MemPalaceUnavailable."""
try:
import os
os.environ["ANONYMIZED_TELEMETRY"] = "false"
import chromadb # type: ignore
import chromadb # type: ignore
except ImportError as exc:
raise MemPalaceUnavailable(
"ChromaDB is not installed. "
@@ -61,11 +59,7 @@ import chromadb # type: ignore
"Run 'mempalace mine' to initialise the palace."
)
import chromadb.config
return chromadb.PersistentClient(
path=str(palace_path),
settings=chromadb.config.Settings(anonymized_telemetry=False),
)
return chromadb.PersistentClient(path=str(palace_path))
def search_memories(