32 Commits

Author SHA1 Message Date
f7faed4b83 fix(cockpit_chat): 修复f-string引号转义导致的500语法错误,统一\n换行join 2026-08-04 16:44:38 +08:00
8a23cb0c14 feat: skill import/list — _import_skill from external path, cockpit intents 2026-08-03 19:20:15 +08:00
4bef8305d4 feat: new_task auto-executes with role-based skills — no start_agent needed 2026-08-03 19:01:38 +08:00
0261edcf1d feat: role-based skill loading — guess role from task title, load common/{role} skills 2026-08-03 18:03:06 +08:00
ba9a611c66 feat: enterprise skill loading — scan skills_dir, inject into LLM system prompt 2026-08-03 18:00:43 +08:00
f86cce02f4 feat: multi-repo workspace — org settings, project repos, deliverable types
- sd_projects: add workspace_dir field
- sd_project_repos: new table for multi-repo per project
- sd_org_settings: org-level workspace_root + skills_dir
- pipeline_deliverables: add repo_name, target_path, deliverable_type enum
- cockpit_chat.dspy: load repos+org settings, pass to LLM prompt
2026-08-03 17:13:01 +08:00
eb62d12c23 feat: workspace_dir support — project workspace, agent deliverable paths 2026-08-03 08:34:06 +08:00
085d6154d3 fix: restore pipeline_submit in cockpit, fix _get_db/executor db config loading 2026-08-03 00:04:29 +08:00
fff34b04b3 fix: whiteSpace pre-wrap for agent messages, content preview in deliverables 2026-08-02 23:37:14 +08:00
a117d2ffd7 fix: define msg_id and agent_reply before async block to prevent UnboundLocalError 2026-08-02 23:31:46 +08:00
73935ae652 fix: start_agent query by org_id, auto-execute tasks, link creation+execution 2026-08-02 23:17:49 +08:00
28820a0b29 fix: bypass pipeline_submit, create tasks directly in cockpit 2026-08-02 17:56:06 +08:00
8e0a45abca fix: remove org_id from sd_iterations query (column doesnt exist) 2026-08-02 16:15:44 +08:00
ccc0755a82 feat: 4 dynamic cards with popups on cockpit dashboard 2026-08-02 16:07:48 +08:00
fd3f59a9f6 fix: use inline task query instead of run_agent_loop in start_agent handler 2026-08-02 16:06:45 +08:00
4ba5d84cf7 feat: add start_agent + agent_status intent handlers 2026-08-02 16:00:16 +08:00
0d0c8299e8 fix: LIMIT $ → direct interpolation to avoid MySQL variable error 2026-08-02 15:46:37 +08:00
ee8005644f feat: Phase 3 — cockpit_agent.dspy (start/status/deliverables/review) 2026-08-02 14:59:33 +08:00
bb09bd36a0 refactor: use pipeline_conversations + pipeline_agent_settings (shared tables) 2026-08-02 00:00:21 +08:00
97e2c6b2f4 feat: Phase 1 — intent recognition, guided conversation, context bar 2026-08-01 23:36:29 +08:00
84df91d9eb fix: model_id form reading fallback to select element 2026-08-01 21:57:04 +08:00
a45b4503eb debug: add _call_llm logging for api_key/base/model tracing 2026-08-01 17:32:23 +08:00
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