ZeroOne 技術文章第 22 頁

Astro Cloudflare 為什麼有 SESSION KV?用 session: false 關掉不需要的狀態
使用 @astrojs/cloudflare 部署 Astro 時,為什麼會看到 SESSION KV binding?本文說明 adapter 預設行為、Astro 7.2.0 的 session: false、sessionKVBindingName 與 Astro.session 的取捨,並整理部署驗證。
1333 字
|
7 分鐘
Cover Image of the Post
actions/checkout@v5 出現 Node 24 錯誤怎麼辦?先更新 GitHub Actions runner
GitHub Actions 使用 actions/checkout@v5 後若出現 Node 24 或 runner 版本錯誤,問題通常在 Actions runner,不是 setup-node。本文整理 hosted、self-hosted 與 act 的分流,並提供 runner 更新、暫時回退與驗證步驟。
1617 字
|
8 分鐘
Cover Image of the Post
npm Workspaces 入門:用 Vue 3 整理多專案共用程式碼
手上有多個 Vue 3 專案,卻反覆複製元件與設定?這篇用 npm Workspaces 建立 monorepo,示範共用套件、依賴管理、指定 app 指令,以及用 GitHub Actions 從根目錄安裝、建置並部署單一 Vue 系統。
3756 字
|
19 分鐘
Cover Image of the Post
Pagefind 怎麼排除不該搜尋的內容?data-pagefind-ignore 與 exclude_selectors
Pagefind 預設會從頁面 body 建立搜尋索引,但導覽列、分享工具、重複標題或輔助文字不一定適合被搜尋。本文整理 data-pagefind-body、data-pagefind-ignore、exclude_selectors 的差異,並用 Astro build 與 dist 檢查實際索引邊界。
1682 字
|
8 分鐘
Cover Image of the Post
pnpm 12 穩定嗎?從 RC lockfile 驗證到正式版升級
pnpm 12.0.0 已在 2026 年 8 月 26 日正式發布,帶來 Git 依賴 canonical HTTPS、workspace 設定錯誤檢查與 deterministic lockfile。本文整理從 RC 升級到正式版的相容性驗證、CI pin、回退與常見 lockfile 風險。
2051 字
|
10 分鐘
Cover Image of the Post
GitHub Agent Plugins 1.0 怎麼用?先看 plugin.json、Skills 與 MCP 邊界
GitHub Agent Plugins 1.0 可以把 Skills 與 MCP server 打包給多個 agent client 使用。本文從 plugin.json、Copilot CLI 安裝到權限與版本驗證,整理導入前要檢查的邊界。
1561 字
|
8 分鐘
Cover Image of the Post
GitHub Copilot MAI-Code-1-Flash 已退役:替代模型與遷移檢查
GitHub Copilot 已於 2026 年 9 月 10 日全面退役 MAI-Code-1-Flash。本文更新 MAI-Code-1.1-Flash 的 policy、固定模型依賴、入口驗證與回歸檢查,協助個人與團隊處理舊設定。
1915 字
|
10 分鐘
Cover Image of the Post
GitHub Copilot AI usage report 怎麼看?用逐模型 token 拆解查 AI credits
GitHub Copilot AI usage report 現在能依模型查看 input、output、cache read 與 cache write token。本文整理報表取得方式、UTC 日期、AI credits 對帳和成本判讀,避免把 token 數量當成品質排名。
1425 字
|
7 分鐘
Cover Image of the Post