整個過程大約一分鐘,不需要安裝任何軟體,也不需要懂技術。裝好之後,這套系統完全屬於你,資料只存在你自己的帳號裡。
授權方式:OAuth 2.0 authorization_code + PKCE (S256),public client 無 secret
授權範圍:workers-scripts.write / workers-kv-storage.write / d1.write /
vectorize.write / account-settings.read / offline_access
安裝內容:KV namespace ×1、D1 database ×1(含 migration)、Workers script ×1
bindings: RAG_CACHE (kv_namespace) / RAG_DB (d1)
辨識碼閘:/auth/start 先向 landing /api/verify-code 驗 {email, code},通過才進 OAuth
資源命名:arcrun-rag-<email 推導 8 碼>(可重現),重裝取用同一組=斷點續傳
token 保存:access_token 存在本安裝器的 KV,隨 session 過期自動清除;
refresh_token 為 rotation 制,每次更新都會寫回新的一把