Make general settings discoverable (drawer entry + segmented scope switch); suspend vector memory as important TODO
This commit is contained in:
1 parent
bc8dc54337
commit
22967ef60e
6 files changed
+21
-9
No files matched your search
@@ -262,12 +262,15 @@ routing, images via Vision) work. Per-tool host/container sandboxing was
|
|||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
**Next headline feature — semantic vector memory (scheduled, not built).** A
|
**Important TODO (suspended) — semantic vector memory.** A Qoder-style vector
|
||||||
Qoder-style vector database giving the agent long-term, cross-session semantic
|
database giving the agent long-term, cross-session semantic recall, useful well
|
||||||
recall, useful well beyond coding: embed and index conversation chunks, session
|
beyond coding: embed and index conversation chunks, session notes, uploaded
|
||||||
notes, uploaded documents and learned facts, then retrieve by similarity to inject
|
documents and learned facts, then retrieve by similarity to inject the relevant
|
||||||
the relevant context into a turn, plus explicit *remember* / *semantic search*
|
context into a turn, plus explicit *remember* / *semantic search* tools.
|
||||||
tools.
|
**Suspended on purpose** while we refine what already ships: the embedder/store
|
||||||
|
choice is costly to reverse, the leading candidate (vetta / BGE-M3) emits extra
|
||||||
|
modalities this application may not use and its suitability is unverified — so
|
||||||
|
the decision stays open rather than rushed.
|
||||||
|
|
||||||
Decided so far — requirements, not products:
|
Decided so far — requirements, not products:
|
||||||
|
|
||||||
|
|||||||
+8
-3
@@ -101,7 +101,7 @@ body.resizing { cursor: col-resize; user-select: none; }
|
|||||||
.sess-btn:hover { background: var(--border); }
|
.sess-btn:hover { background: var(--border); }
|
||||||
.sess-btn.danger:hover { background: var(--danger); }
|
.sess-btn.danger:hover { background: var(--danger); }
|
||||||
@media (hover: none) { .session-actions { opacity: 1; } }
|
@media (hover: none) { .session-actions { opacity: 1; } }
|
||||||
.drawer-foot { padding: 12px; border-top: 1px solid var(--border); }
|
.drawer-foot { padding: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
|
||||||
|
|
||||||
/* ---- Main column ---- */
|
/* ---- Main column ---- */
|
||||||
#main { flex: 1; display: flex; flex-direction: column; min-width: 0; height: 100dvh; }
|
#main { flex: 1; display: flex; flex-direction: column; min-width: 0; height: 100dvh; }
|
||||||
@@ -298,8 +298,13 @@ details.thinking .reasoning {
|
|||||||
|
|
||||||
/* ---- Settings modal ---- */
|
/* ---- Settings modal ---- */
|
||||||
.settings-card { width: min(560px, 100%); max-height: 85vh; overflow-y: auto; }
|
.settings-card { width: min(560px, 100%); max-height: 85vh; overflow-y: auto; }
|
||||||
.scope-toggle { display: flex; gap: 8px; margin: 0 0 12px; }
|
/* Scope switch reads as a segmented control so the two scopes are unmistakable. */
|
||||||
.scope-toggle .btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
|
.scope-toggle {
|
||||||
|
display: flex; gap: 3px; margin: 0 0 12px; padding: 3px;
|
||||||
|
background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px;
|
||||||
|
}
|
||||||
|
.scope-toggle .btn { flex: 1; border: none; background: transparent; min-height: 38px; border-radius: 8px; }
|
||||||
|
.scope-toggle .btn.active { background: var(--accent); color: #fff; }
|
||||||
#set-hint { margin: 0 0 12px; }
|
#set-hint { margin: 0 0 12px; }
|
||||||
#set-name-hint { margin: -8px 0 12px; }
|
#set-name-hint { margin: -8px 0 12px; }
|
||||||
.small { font-size: 0.8rem; }
|
.small { font-size: 0.8rem; }
|
||||||
|
|||||||
@@ -874,6 +874,7 @@ function wire() {
|
|||||||
$("#stats-modal").addEventListener("click", (e) => { if (e.target.id === "stats-modal") closeStats(); });
|
$("#stats-modal").addEventListener("click", (e) => { if (e.target.id === "stats-modal") closeStats(); });
|
||||||
document.addEventListener("keydown", (e) => { if (e.key === "Escape" && !$("#stats-modal").hidden) closeStats(); });
|
document.addEventListener("keydown", (e) => { if (e.key === "Escape" && !$("#stats-modal").hidden) closeStats(); });
|
||||||
$("#show-settings").addEventListener("click", () => openSettings("session"));
|
$("#show-settings").addEventListener("click", () => openSettings("session"));
|
||||||
|
$("#show-general-settings").addEventListener("click", () => { openSettings("general"); closeDrawer(); });
|
||||||
$("#set-scope-session").addEventListener("click", () => openSettings("session"));
|
$("#set-scope-session").addEventListener("click", () => openSettings("session"));
|
||||||
$("#set-scope-general").addEventListener("click", () => openSettings("general"));
|
$("#set-scope-general").addEventListener("click", () => openSettings("general"));
|
||||||
$("#set-save").addEventListener("click", saveSettings);
|
$("#set-save").addEventListener("click", saveSettings);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"settings.title.general": "General settings",
|
"settings.title.general": "General settings",
|
||||||
"settings.scope.session": "Session",
|
"settings.scope.session": "Session",
|
||||||
"settings.scope.general": "General",
|
"settings.scope.general": "General",
|
||||||
|
"settings.general.entry": "General settings",
|
||||||
"settings.name": "Name",
|
"settings.name": "Name",
|
||||||
"settings.notes": "Notes (chat purpose)",
|
"settings.notes": "Notes (chat purpose)",
|
||||||
"settings.sp": "System Prompt",
|
"settings.sp": "System Prompt",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"settings.title.general": "Impostazioni generali",
|
"settings.title.general": "Impostazioni generali",
|
||||||
"settings.scope.session": "Sessione",
|
"settings.scope.session": "Sessione",
|
||||||
"settings.scope.general": "Generali",
|
"settings.scope.general": "Generali",
|
||||||
|
"settings.general.entry": "Impostazioni generali",
|
||||||
"settings.name": "Nome",
|
"settings.name": "Nome",
|
||||||
"settings.notes": "Note (scopo della chat)",
|
"settings.notes": "Note (scopo della chat)",
|
||||||
"settings.sp": "System Prompt",
|
"settings.sp": "System Prompt",
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<ul id="session-list"></ul>
|
<ul id="session-list"></ul>
|
||||||
<div class="drawer-foot">
|
<div class="drawer-foot">
|
||||||
|
<button id="show-general-settings" class="btn ghost" data-i18n="settings.general.entry">Impostazioni generali</button>
|
||||||
<button id="show-stats" class="btn ghost" data-i18n="stats.title">Statistiche</button>
|
<button id="show-stats" class="btn ghost" data-i18n="stats.title">Statistiche</button>
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
|
|||||||
Reference in new issue
Block a user