10 Commits

Author SHA1 Message Date
ac2ff432ed fix: remove RC4 decrypt from cockpit_chat, use plaintext api_key 2026-08-01 16:57:16 +08:00
328798f5a7 fix: tolerate plaintext api_keys on decrypt failure 2026-08-01 16:42:32 +08:00
13c466069f fix: decrypt api_key before calling LLM in cockpit_chat 2026-08-01 16:32:46 +08:00
5c80ad3948 feat: model config popup button in cockpit, my_bugs API, task_tree_popup 2026-08-01 10:43:43 +08:00
72cd262cdb feat(cockpit): product-grade LLM integration with context + model mgmt
Backend:
- cockpit_chat.dspy: real LLM calls via llm table config, Hermes-style
  context (system prompt + project/iteration + history), auto model
  selection (multimodal if files, text otherwise)
- cockpit_model_options.dspy: returns active models with capabilities
- llm table: added capabilities column (text/vision/multimodal)

Frontend:
- inputed script: no page reload, updates agent bubble with LLM reply
- stats_row refreshed on success, error shown in bubble

DB:
- sd_agent_settings table for per-user agent preferences
2026-07-31 18:06:27 +08:00
a4ac438c49 fix: sor.I→sor.C for insert (I is inspect, C is create) 2026-07-31 15:01:03 +08:00
6831697edc refactor(cockpit): single-page chat layout, compact stats cards (cheight:4), file attachment UI 2026-07-31 11:49:30 +08:00
bd0890a394 feat(sdlc): cockpit driving mode — conversation timeline + agent chat 2026-07-30 15:53:18 +08:00
b012f97154 fix: CRUD endpoint return format - remove json.dumps, use widgettype format 2026-07-03 14:50:43 +08:00
Hermes Agent
f69870e96a feat: add 40 dspy APIs, 7 UI pages, CSS, pipeline definition SQL 2026-06-16 13:16:24 +08:00