ZeroOne 繁體中文技術部落格

Cloudflare Workers 上傳 npm 依賴資料:部署前先決定要不要關閉
Cloudflare Workers 的 Wrangler 會在部署或上傳版本時傳送 npm 套件名稱與版本中繼資料。本文用可執行的盤點流程,確認受影響的 Worker、CI 部署入口、帳號存取與資料揭露範圍,再決定是否關閉這個預設啟用的設定。
755 字
|
4 分鐘
Cover Image of the Post
GitHub Models 退休前怎麼盤點?從 endpoint、BYOK 到 brownout 的 repository 檢查表
GitHub Models 將在 2026 年 7 月 30 日全面退休,連 playground、推論 API 與 BYOK 都會停止。本文提供 repository 盤點流程,找出 endpoint、金鑰、CI 與文件依賴,並把 brownout 當作驗證失敗路徑的演練。
780 字
|
4 分鐘
Cover Image of the Post
Cloudflare Agents 接 MCP elicitation 時:把使用者輸入留在可確認的邊界內
Cloudflare Agents 支援回應 MCP elicitation 後,MCP server 可在 tool call 中要求使用者補資料。本文整理表單輸入、敏感資訊與確認動作的設計邊界。
1325 字
|
7 分鐘
Cover Image of the Post
讓 AI agent 暫時部署 Cloudflare Worker 前:帳號認領與交接檢查表
Cloudflare Temporary Accounts API 讓平台在使用者登入前部署預覽 Worker。本文整理 temporary deployment 的認領、資源邊界與交接檢查,避免測試環境被誤當成正式環境。
1476 字
|
7 分鐘
Cover Image of the Post
SQLite 搭配 Litestream:先驗證還原,再把 S3 複寫接進部署流程
SQLite 搭配 Litestream 做 S3 複寫時,重點不是只啟動 replicate,而是先驗證可還原、讓應用程式與資料庫共用正確路徑,保留不覆寫正式檔案的演練流程,並確認復原時所需的權限與資料範圍。
1428 字
|
7 分鐘
Cover Image of the Post
Claude Code 要讀取敏感檔案前:用 PreToolUse hook 多加一道阻擋規則
Claude Code 能讀取專案脈絡,但不該把 .env、私鑰或部署憑證當成一般檔案處理。本文用官方 PreToolUse hook 格式建立可檢查的阻擋規則與測試方式,並說明它與權限設定各自負責的邊界。
1450 字
|
7 分鐘
Cover Image of the Post
Claude Code 出現模型錯誤時:先判斷官方事故,還是自己的環境問題
Claude Code 突然出現模型錯誤、OAuth 登入失敗或請求逾時時,先別急著重裝。本文依官方狀態頁與 troubleshooting 文件整理判斷順序,保留可交接的錯誤證據,避免重複重裝與遺失線索。
1625 字
|
8 分鐘
Cover Image of the Post
RunCat Neo 顯示 Claude Code 與 Codex 用量:Desktop 排錯與設定
想在 macOS 選單列查看 Claude Code、Codex 的 Context 與額度?本文記錄 RunCat Neo Custom Metrics 設定,並處理 Desktop 不觸發 hook、資料不更新與 Full reset 顯示問題。
2927 字
|
15 分鐘
Cover Image of the Post