diff --git a/README.md b/README.md index c561f85..b1e9ba9 100644 --- a/README.md +++ b/README.md @@ -262,12 +262,15 @@ routing, images via Vision) work. Per-tool host/container sandboxing was ## Roadmap -**Next headline feature — semantic vector memory (scheduled, not built).** A -Qoder-style vector database giving the agent long-term, cross-session semantic -recall, useful well beyond coding: embed and index conversation chunks, session -notes, uploaded documents and learned facts, then retrieve by similarity to inject -the relevant context into a turn, plus explicit *remember* / *semantic search* -tools. +**Important TODO (suspended) — semantic vector memory.** A Qoder-style vector +database giving the agent long-term, cross-session semantic recall, useful well +beyond coding: embed and index conversation chunks, session notes, uploaded +documents and learned facts, then retrieve by similarity to inject the relevant +context into a turn, plus explicit *remember* / *semantic search* 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: diff --git a/web/assets/app.css b/web/assets/app.css index 88b6ba7..27960e9 100644 --- a/web/assets/app.css +++ b/web/assets/app.css @@ -101,7 +101,7 @@ body.resizing { cursor: col-resize; user-select: none; } .sess-btn:hover { background: var(--border); } .sess-btn.danger:hover { background: var(--danger); } @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 { flex: 1; display: flex; flex-direction: column; min-width: 0; height: 100dvh; } @@ -298,8 +298,13 @@ details.thinking .reasoning { /* ---- Settings modal ---- */ .settings-card { width: min(560px, 100%); max-height: 85vh; overflow-y: auto; } -.scope-toggle { display: flex; gap: 8px; margin: 0 0 12px; } -.scope-toggle .btn.active { background: var(--accent); color: #fff; border-color: var(--accent); } +/* Scope switch reads as a segmented control so the two scopes are unmistakable. */ +.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-name-hint { margin: -8px 0 12px; } .small { font-size: 0.8rem; } diff --git a/web/assets/app.js b/web/assets/app.js index 9f1e74e..e7ebdec 100644 --- a/web/assets/app.js +++ b/web/assets/app.js @@ -874,6 +874,7 @@ function wire() { $("#stats-modal").addEventListener("click", (e) => { if (e.target.id === "stats-modal") closeStats(); }); document.addEventListener("keydown", (e) => { if (e.key === "Escape" && !$("#stats-modal").hidden) closeStats(); }); $("#show-settings").addEventListener("click", () => openSettings("session")); + $("#show-general-settings").addEventListener("click", () => { openSettings("general"); closeDrawer(); }); $("#set-scope-session").addEventListener("click", () => openSettings("session")); $("#set-scope-general").addEventListener("click", () => openSettings("general")); $("#set-save").addEventListener("click", saveSettings); diff --git a/web/assets/locales/en.json b/web/assets/locales/en.json index ca00455..7c8b80b 100644 --- a/web/assets/locales/en.json +++ b/web/assets/locales/en.json @@ -3,6 +3,7 @@ "settings.title.general": "General settings", "settings.scope.session": "Session", "settings.scope.general": "General", + "settings.general.entry": "General settings", "settings.name": "Name", "settings.notes": "Notes (chat purpose)", "settings.sp": "System Prompt", diff --git a/web/assets/locales/it.json b/web/assets/locales/it.json index cffc767..f9dbb8d 100644 --- a/web/assets/locales/it.json +++ b/web/assets/locales/it.json @@ -3,6 +3,7 @@ "settings.title.general": "Impostazioni generali", "settings.scope.session": "Sessione", "settings.scope.general": "Generali", + "settings.general.entry": "Impostazioni generali", "settings.name": "Nome", "settings.notes": "Note (scopo della chat)", "settings.sp": "System Prompt", diff --git a/web/index.html b/web/index.html index a5d93fc..3602c97 100644 --- a/web/index.html +++ b/web/index.html @@ -18,6 +18,7 @@