v0.24.9 -> v0.24.10
Summary
Brings native document RAG into the runtime via a daemon-managed KuraDB child process; three retrieval tools join the agent toolkit and vanish per-turn when the endpoint is absent. Fixes a long-standing compat-provider URL bug that silently routed traffic to localhost regardless of the TUI-entered host. Adds an OpenAI-compatible chat completions endpoint for external clients, and refreshes README plus wiki around the new RAG-first positioning.
翻譯
透過 daemon 管理的 KuraDB child process 把原生文件 RAG 帶進 runtime;三個檢索工具加入 agent toolkit,endpoint 缺失時 per-turn 自動隱形。修掉 compat provider 長期 URL bug——不論 TUI 填什麼 host,流量永遠被靜默送往 localhost。新增 OpenAI 相容 chat completions endpoint 供外部 client 接入,README 與 wiki 全面圍繞新 RAG-first 定位重寫。
Changes
FEAT
- Add chat completions endpoint and update runtime defaults [66b141a]
- Add KuraDB lifecycle management with TUI enable/disable and healthcheck [b7cd15b]
- Add KuraDB RAG tools and enforce RAG-first retrieval flow [a5170e7]
翻譯
- 新增 OpenAI 相容
chat completionsendpoint 與 runtime 預設更新 - 新增 KuraDB 生命週期管理(TUI
/kuradbenable/disable wizard、3-strike healthcheck、5s crash backoff) - 新增 KuraDB RAG 三工具(
rag_list_db/rag_search_keyword/rag_search_semantic)並在 system prompt 強制 RAG-first 檢索流程
FIX
- Fix compat provider add flow to use the correct base URL [5d0d57a]
翻譯
- 修正 compat provider 新增流程的 base URL —— TUI 寫入 config.json 但 runtime 讀 keychain 的不對盤 bug,URL 改走
session.GetCompatURL並對齊 Zed/v1慣例
UPDATE
- Refresh positioning copy and expand KuraDB RAG documentation [c4fca1d]
翻譯
- 重寫 README hero(「讓 AI 真正為你工作」定位)與 index.html SEO 文案;wiki 新增
KuraDB-RAG.md雙語頁、修補 8 個既有頁的 RAG/timeout/compat URL gap,移除過時的 wiki/* 連結改指 repowiki/*.md
Scope
-
internal/runtime/kuradb/— FEAT (kuradb.go,run.go,tool/{list,keyword,semantic,register}.go) -
cmd/app/— FEAT, FIX (cmdDeamon.goreload + spawn,addProvider.goURL fix,main.go+newTUI.gotool register) -
internal/runtime/tui/— FEAT (commandKuradb.go,/kuradbwizard, last-model guard) -
internal/agents/provider/compat/— FIX (new.go,send.go; URL viasession.GetCompatURL,/v1Zed convention) -
internal/agents/exec/— FEAT, UPDATE (per-turnrag_*exclusion when endpoint missing, retry-silent send loop) -
internal/routes/handler/chatCompletions/— FEAT (new OpenAI-compatible endpoint + SSE stream handler) -
internal/session/— FEAT (KuradbEnabledconfig field,GetCompatURLreader) -
internal/filesystem/path.go— FEAT (KuraDB path constants) -
configs/prompts/system_prompt.md— FEAT (RAG-first first-wave rule) -
README.md,doc/README.zh.md,index.html,static/index.js— UPDATE (positioning copy, hero + meta refresh) -
wiki/— UPDATE (KuraDB-RAG.{md,zh.md}new; Home / Tools / Memory-System / Architecture / Configuration / CLI-Reference / Providers updated; stale wiki URLs replaced with sibling.mdlinks)
Generated by SKILL
Top comments (0)