v0.19.0 -> v0.19.1
Summary
Refactor skill activation into a lazy-loaded select_skill tool, migrate sandbox and utility primitives to go-utils, and upgrade persistence/search internals with semantic session-history retrieval.
翻譯
將 skill 啟用流程重構為延遲載入的 `select_skill` 工具,將 sandbox 與共用工具基礎遷移至 `go-utils`,並升級持久化與搜尋內部機制,加入語意化 session 歷史檢索。Changes
UPDATE
- Update session-history persistence to write vector-aware entries and extend
search_historywith merged keyword and semantic retrieval windows. - Update runtime skill handling to detect
/skill-nameprefixes as hints, pass scanner context through executors, and synthesize skill activation into tool history. - Update REST, Discord, and CLI execution paths to use the new skill-matching flow and refreshed system-prompt skill list.
- Update cache consumers for ToriiDB v0.5.1 entry accessors and refresh architecture/version documentation accordingly.
翻譯
- 更新 session 歷史持久化為可寫入向量的紀錄格式,並將
search_history擴充為關鍵字與語意檢索視窗合併輸出。 - 更新執行期 skill 流程,將
/skill-name前綴視為提示,於 executor 中傳遞 scanner context,並把 skill 啟用合成進 tool 歷史。 - 更新 REST、Discord 與 CLI 執行路徑,以採用新的 skill 比對流程與刷新後的 system prompt skill 清單。
- 更新 ToriiDB v0.5.1 快取讀取介面,並同步刷新架構與版本文件。
ADD
- Add the always-loaded
select_skilltool, dynamic## Skillsprompt block generation, and lazy-load architecture documentation. - Add
MatchSkillCallslash-prefix detection and session-history helper functions for direct user-input persistence.
翻譯
- 新增永遠載入的
select_skill工具、動態## Skillsprompt 區塊生成,以及 lazy-load 架構文件。 - 新增
MatchSkillCallslash 前綴偵測,以及直接持久化使用者輸入的 session history 輔助函式。
REMOVE
- Remove the legacy LLM-based skill selector prompt, selection event type, and bundled internal sandbox implementation.
- Remove obsolete system-prompt sections that embedded full skill bodies directly.
翻譯
- 移除舊版以 LLM 驅動的 skill selector prompt、對應 selection event type,以及專案內建的 sandbox 實作。
- 移除過去直接把完整 skill 內容嵌入 system prompt 的舊區段。
REFACTOR
- Refactor sandbox wrapping, UUID generation, keychain/http helpers, and script execution plumbing to depend on
go-utilspackages. - Refactor executor construction and system-prompt rendering to be scanner-aware and skill-tool centric.
翻譯
- 重構 sandbox 包裝、UUID 生成、keychain/http ��助與 script 執行管線,改為依賴
go-utils套件。 - 重構 executor 建構與 system prompt 產生流程,使其具備 scanner 感知並以 skill tool 為核心。
Files Changed
| File | Status | Tag |
|---|---|---|
README.md |
Modified | DOC |
cmd/app/main.go |
Modified | REFACTOR |
cmd/app/runEvents.go |
Modified | REMOVE |
configs/configs.go |
Modified | REMOVE |
configs/prompts/skill_selector.md |
Deleted | REMOVE |
configs/prompts/system_prompt.md |
Modified | UPDATE |
doc/README.zh.md |
Modified | DOC |
doc/architecture.md |
Modified | DOC |
doc/architecture.zh.md |
Modified | DOC |
go.mod |
Modified | CHORE |
go.sum |
Modified | CHORE |
internal/agents/exec/execute.go |
Modified | UPDATE |
internal/agents/exec/getSession.go |
Modified | UPDATE |
internal/agents/exec/run.go |
Modified | UPDATE |
internal/agents/exec/selectSkill.go |
Deleted | REMOVE |
internal/agents/subagent/subagent.go |
Modified | UPDATE |
internal/agents/types/event.go |
Modified | REMOVE |
internal/discord/run.go |
Modified | UPDATE |
internal/discord/session.go |
Modified | UPDATE |
internal/routes/handler/send.go |
Modified | UPDATE |
internal/routes/handler/tools.go |
Modified | REFACTOR |
internal/sandbox/darwin.go |
Deleted | REMOVE |
internal/sandbox/linux.go |
Deleted | REMOVE |
internal/sandbox/sandbox.go |
Deleted | REMOVE |
internal/scheduler/script/script.go |
Modified | REFACTOR |
internal/skill/scanner.go |
Modified | ADD |
internal/toolAdapter/script/ececute.go |
Modified | REFACTOR |
internal/tools/executor.go |
Modified | REFACTOR |
internal/tools/external/googleRSS/fetch.go |
Modified | UPDATE |
internal/tools/external/searchWeb/SearchWeb.go |
Modified | UPDATE |
internal/tools/external/yahooFinance/fetch.go |
Modified | UPDATE |
internal/tools/fetchPage/download.go |
Modified | UPDATE |
internal/tools/fetchPage/load.go |
Modified | UPDATE |
internal/tools/file/errorMemory.go |
Modified | UPDATE |
internal/tools/file/searchHistory.go |
Modified | UPDATE |
internal/tools/register.go |
Modified | ADD |
internal/tools/runCommand.go |
Modified | REFACTOR |
internal/tools/skillTool/register.go |
Added | ADD |
internal/tools/types/executor.go |
Modified | REFACTOR |
internal/utils/utils.go |
Modified | REFACTOR |
Generated by SKILL