2026.3.2 更新:Skill 開發者等了很久的東西終於來了
Reddit 上有人整理了 2026.3.2 的完整 changelog,作者 u/EstablishmentSea4024 親自跑過整個 release notes 幫大家篩了一遍。我看完之後馬上去確認——有兩個更新對我影響很大,一個等很久了,一個是意外驚喜。
Skill builder hooks 大升級(這個我等太久了)
session_start 和 session_end 現在會帶 sessionKey,這個細節乍看不起眼,但對我來說解決了一個長期痛點。我之前寫的幾個 skill 都需要識別同一 session 的連續請求,以前只能用 workaround——現在可以直接拿 sessionKey 做 session-level 狀態管理,乾淨很多。
新增的 hook events 也很有用:message:transcribed 和 message:preprocessed 讓你能在訊息進入主流程之前插一腳。加上 api.runtime.stt.transcribeAudioFile(...) 直接在 skill 裡呼叫語音轉文字,以前要自己串外部 API,現在一行搞定。channelRuntime 暴露在 ChannelGatewayContext 也讓 channel-specific 的邏輯好寫多了。
Secrets 終於是 production-grade 了
這個說真的,之前 secrets 管理是我推薦朋友用 OpenClaw 的時候最難開口的部分——credential 設定錯了,要等到 mid-run 才炸給你看,debug 超痛。現在改成 fail fast,unresolved refs 直接在啟動時擋下來。
整個 operator loop 也變清楚了:
openclaw secrets audit --check # 掃 plaintext 和 unresolved refs
openclaw secrets configure # 互動式設定 provider
openclaw secrets apply # 把 secrets 遷出 config file
openclaw secrets audit --check # 再確認一次
openclaw secrets reload # 熱載入,不用重啟 gateway
這個流程對有在維護多個 integration 的人差很多。我現在串了 GitHub、Slack、幾個第三方 API,以前每次更新 credential 都很怕踩到邊界情況。secrets reload 熱載入這點特別好,zero downtime 換 credential。
PDF tool 是意外驚喜
老實說這個不在我的預期更新列表裡,但想了一下,可以應用的場景其實不少。合約摘要、研究論文比較、RFP 分析——這些以前都要另外串工具,現在 native 就支援了。Anthropic 和 Google 模型有 native support,其他的走 extraction fallback。
整體來說這個 release 對 skill 開發者很友善,值得馬上更新跟著做 secrets migration。
作者:Jesse