8286c8afec
arcrun-rag#99 止血修法(安裝精靈傳 OAuth token 給 cypher 建第一個帳號)只解一格, 之後的寫入(換密碼/加使用者/存金鑰)仍永久 writable:false,是留債。 查證(讀碼+讀本機重打的 .worker-builds/manifest.json,非猜測):D61 想解的病根 (重裝時 binding 被照名字重新指到新建空資源)已在 2026-08-13 被更通用的 shared/resource-rule(Arcrun#97)解掉——SESSIONS_KV、KBDB 的 D1 都在 cypher 的 requires 清單裡,且 runInstall:1762 每次安裝/更新都會走這條規則。技術前提成立。 提案:認證資料搬回 D1/KV(走 binding,零外部 CF token、零過期、零新 OAuth scope、 零手動步驟),保留 D61 加的三個明顯失敗機制。附影響分析、遷移考量、信心水位 (靜態推論,未動態實測)、D84 三段式驗法(③ uninstall 目前做不到,如實標記)。 ⏸ 等 leo/總管 confirm,本 commit 不動任何架構程式碼。 順手修:writeAuthStore 的錯誤訊息移除誤導的「/ CF_ACCOUNT_ID」(已查證全新實例 一定有這個 var,installer worker.js:1354 無條件注入,列兩項只會讓下一個人白工)。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
174 lines
4.8 KiB
JSON
174 lines
4.8 KiB
JSON
{
|
|
"schema": 1,
|
|
"built_for": "arcrun-tier2-worker-artifacts",
|
|
"generated_at": "2026-08-14T04:06:12.523Z",
|
|
"repo_head": "ca1ed2aaf6525df247e8bbac5277bb77dc78ba6b",
|
|
"repo_dirty": true,
|
|
"workers": [
|
|
{
|
|
"name": "arcrun-cypher-executor",
|
|
"source_dir": "cypher-executor",
|
|
"source_commit": "ca1ed2aaf6525df247e8bbac5277bb77dc78ba6b",
|
|
"main_module": "worker.mjs",
|
|
"main_file": "arcrun-cypher-executor/worker.mjs",
|
|
"js_bytes": 589408,
|
|
"content_sha256": "2c2fa5e2e0240ea27da424d543091b02d61b36ecc37310ca513220fe60c6096a",
|
|
"modules": [],
|
|
"compat_date": "2025-02-19",
|
|
"compat_flags": [
|
|
"nodejs_compat",
|
|
"global_fetch_strictly_public"
|
|
],
|
|
"requires": {
|
|
"kv": [
|
|
"EXEC_CONTEXT",
|
|
"WEBHOOKS",
|
|
"CREDENTIALS_KV",
|
|
"ANALYTICS_KV",
|
|
"RECIPES",
|
|
"USERS_KV",
|
|
"SESSIONS_KV"
|
|
],
|
|
"d1": [
|
|
{
|
|
"binding": "CREDENTIALS_DB",
|
|
"database_name": "arcrun-kbdb"
|
|
}
|
|
],
|
|
"vectorize": 0,
|
|
"ai": true,
|
|
"vars": {
|
|
"ENVIRONMENT": "production",
|
|
"CF_ACCOUNT_ID": "",
|
|
"WORKER_SUBDOMAIN": "uncle6-me",
|
|
"KBDB_BASE_URL": "https://arcrun-kbdb.uncle6-me.workers.dev",
|
|
"CONSOLE_TENANT": "leo",
|
|
"PORTAL_SESSION_TTL": "604800",
|
|
"PORTAL_SHOW_WORKFLOWS": "admin",
|
|
"GITEA_BASE_URL": "https://git.uncle6.me",
|
|
"GITEA_SPRINT_REPO": "Leo/InkStoneCo",
|
|
"GITEA_SPRINT_DIR": "system-dev/docs/3-specs/autonomy-dispatch"
|
|
}
|
|
},
|
|
"stripped": {
|
|
"services": 13
|
|
},
|
|
"warnings": []
|
|
},
|
|
{
|
|
"name": "arcrun-kbdb",
|
|
"source_dir": "kbdb",
|
|
"source_commit": "614fe448124dbd25d8228e37723473f1704f3a7a",
|
|
"main_module": "worker.mjs",
|
|
"main_file": "arcrun-kbdb/worker.mjs",
|
|
"js_bytes": 151412,
|
|
"content_sha256": "f15e16cca6cefb0d8631759c27fec58cd36262abf6aed7853f3b35c6e8e1e09b",
|
|
"modules": [],
|
|
"compat_date": "2025-02-19",
|
|
"compat_flags": [
|
|
"nodejs_compat"
|
|
],
|
|
"requires": {
|
|
"kv": [],
|
|
"d1": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "arcrun-kbdb"
|
|
}
|
|
],
|
|
"vectorize": 0,
|
|
"ai": false,
|
|
"vars": {
|
|
"ENVIRONMENT": "production"
|
|
}
|
|
},
|
|
"warnings": []
|
|
},
|
|
{
|
|
"name": "arcrun-http-request",
|
|
"source_dir": ".component-builds/http_request",
|
|
"source_commit": "1e85dfb49b0e8d81c0854781d93ee4e6a300c7b3",
|
|
"main_module": "worker.mjs",
|
|
"main_file": "arcrun-http-request/worker.mjs",
|
|
"js_bytes": 80079,
|
|
"content_sha256": "cdd97364f277587cbade69e09bb40812c68f26a1e8bc9aa632c65b1b962b0b85",
|
|
"modules": [
|
|
{
|
|
"name": "component.wasm",
|
|
"type": "application/wasm",
|
|
"file": "arcrun-http-request/component.wasm",
|
|
"sha256": "cc15cc785703e7bbb8dbff2d38dc84a4ac24e2f44316182730abae0f170ef133"
|
|
}
|
|
],
|
|
"compat_date": "2025-02-19",
|
|
"compat_flags": [
|
|
"nodejs_compat",
|
|
"global_fetch_strictly_public"
|
|
],
|
|
"requires": {
|
|
"kv": [],
|
|
"d1": [],
|
|
"vectorize": 0,
|
|
"ai": false,
|
|
"vars": {
|
|
"COMPONENT_ID": "http_request"
|
|
}
|
|
},
|
|
"warnings": []
|
|
},
|
|
{
|
|
"name": "arcrun-code",
|
|
"source_dir": "registry/components/code",
|
|
"source_commit": "621cb8d948d61be6202063fd02effb3f538437fe",
|
|
"main_module": "worker.mjs",
|
|
"main_file": "arcrun-code/worker.mjs",
|
|
"js_bytes": 153758,
|
|
"content_sha256": "751634a3fc9a99cc2da662026818d754c48f031d10bff3b3be2d3a8ee2311bd6",
|
|
"modules": [
|
|
{
|
|
"name": "quickjs.wasm",
|
|
"type": "application/wasm",
|
|
"file": "arcrun-code/quickjs.wasm",
|
|
"sha256": "105c3bed22d457e43e3d1c3c1c6959fda62a8fe06f0fc8a985303c3a2be72232"
|
|
}
|
|
],
|
|
"compat_date": "2025-02-19",
|
|
"compat_flags": [],
|
|
"requires": {
|
|
"kv": [],
|
|
"d1": [],
|
|
"vectorize": 0,
|
|
"ai": false,
|
|
"vars": {
|
|
"COMPONENT_ID": "code"
|
|
}
|
|
},
|
|
"warnings": []
|
|
},
|
|
{
|
|
"name": "arcrun-mcp",
|
|
"source_dir": "mcp",
|
|
"source_commit": "1ccee0055ebdb1f6d74094df3e807f56b849fa6f",
|
|
"main_module": "worker.mjs",
|
|
"main_file": "arcrun-mcp/worker.mjs",
|
|
"js_bytes": 1192612,
|
|
"content_sha256": "9bc8dffb34d0f36608a78b2cfeb8ee8b5c793f52b4497f5d4d5f69f70700972e",
|
|
"modules": [],
|
|
"compat_date": "2024-11-27",
|
|
"compat_flags": [
|
|
"nodejs_compat"
|
|
],
|
|
"requires": {
|
|
"kv": [
|
|
"OAUTH_KV"
|
|
],
|
|
"d1": [],
|
|
"vectorize": 0,
|
|
"ai": false,
|
|
"vars": {}
|
|
},
|
|
"warnings": []
|
|
}
|
|
],
|
|
"notes": []
|
|
} |