# v0.24.2 Release Notes

> v0.24.1 -> v0.24.2

## Summary

Reshuffles internal package boundaries so skill loading, scanner orchestration, and allow-list gating each land in the layer that consumes them. Adds a per-skill allow-list with a TUI scope picker that lets trusted skills bypass per-tool confirmation. Trims daemon log noise and refreshes the underlying bot dependency.

<details>
<summary>翻譯</summary>

重新整理內部 package 邊界，讓 skill 載入、scanner orchestration 與 allow-list gating 各自落在被消費的層級。新增 per-skill allow-list 與 TUI scope picker，受信任的 skill 可跳過 per-tool 確認。降低 daemon log 雜訊並升級底層 bot 套件。

</details>

## Changes

### FEAT
- Add allow-skill whitelist flow and TUI toggle command (@pardnchiu) [cead0be]

<details>
<summary>翻譯</summary>

- 新增 allow-skill 白名單流程與 TUI toggle 指令

</details>

### REFACTOR
- Split skill and allowlist logic into runtime and exec modules (@pardnchiu) [b3692ef]
- Flatten agent host into agents package (@pardnchiu) [c00f9b0]
- Reduce runtime log noise and update go-bot dependency (@pardnchiu) [bb757ca]

<details>
<summary>翻譯</summary>

- 拆分 skill 與 allowlist 邏輯到 runtime 與 exec 模組
- 將 agent host 攤平併入 agents package
- 降低 runtime log 雜訊並升級 go-bot 相依

</details>

## Scope

- `internal/agents/exec/allow/skill/` — FEAT (`list.go`, `match.go`, `toggle.go`)
- `internal/agents/exec/` — REFACTOR (`execute.go`, `run.go`, `allowList.go`, `toolCall.go`, `getSession.go`)
- `internal/agents/` — REFACTOR (`host.go` flattened from `host/host.go`)
- `internal/agents/provider/` — REFACTOR (multiple `send.go` files)
- `internal/agents/types/` — REFACTOR (`agent.go`)
- `internal/filesystem/` — REFACTOR (`skill.go`, `allowSkill.go`)
- `internal/runtime/` — REFACTOR (`skill.go` consolidates scanner and match)
- `internal/runtime/discord/`, `internal/runtime/telegram/` — REFACTOR (`run.go`, `session.go`, `attachments.go`)
- `internal/runtime/tui/` — FEAT (`commandAllowSkill.go`), REFACTOR (`update.go`, `handlerCommand.go`, `cmdSelector.go`)
- `internal/tools/` — REFACTOR (`executor.go`, `searcher/activateSkill.go`, `types/executor.go`)
- `internal/skill/` — REMOVE (package dissolved into `filesystem` and `runtime`)
- `cmd/app/` — REFACTOR (`cmdAgent.go`, `cmdDeamon.go`, `newTUI.go`, `main.go`)
- `go.mod`, `go.sum` — CHORE

***

Generated by [SKILL](https://github.com/pardnchiu/skill-version-generate)
