Fix system prompt leakage into chat history; polish content cards
Backend:
- websocket.py + agent.py: separate user-visible display_message from
  LLM user_message. System hints (image/file attachments) no longer leak
  into session.messages and appear after page reload.
- main.py: add ensure_tables() on startup so session_content table is
  created before first publish.
- profiles: add kimi-k2.6:cloud to all model lists as fallback.

Frontend:
- ContentCard.vue: remove border-radius, add scrollbar styles, fix
  metadata fallback parsing so cards survive page reload.
- content-viewers/*.html: add matching scrollbar styles.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent b88b7c0 commit cabfce8423934af417007ee648ecf9bee90a62b1
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 28 Apr
Showing 22 changed files
View
navi/api/websocket.py
View
navi/core/agent.py
View
navi/main.py
View
navi/profiles/developer/config.json
View
navi/profiles/discuss/config.json
View
navi/profiles/secretary/config.json
View
navi/profiles/server_admin/config.json
View
navi/profiles/tool_developer/config.json
View
webclient/dist/assets/index-2iU8ea7y.css 0 → 100644
View
webclient/dist/assets/index-CBVdrFtz.css 100644 → 0
View
webclient/dist/assets/index-DSatphWI.js 100644 → 0
Not supported
View
webclient/dist/assets/index-P1GIOxAT.js 0 → 100644
Not supported
View
webclient/dist/content-viewers/html.html
View
webclient/dist/content-viewers/pdf.html
View
webclient/dist/content-viewers/stl.html
View
webclient/dist/content-viewers/svg.html
View
webclient/dist/index.html
View
webclient/public/content-viewers/html.html
View
webclient/public/content-viewers/pdf.html
View
webclient/public/content-viewers/stl.html
View
webclient/public/content-viewers/svg.html
View
webclient/src/components/messages/ContentCard.vue