feat(console): 搜尋/控制台頁 v0(Arcrun#3,T-loop1d 雲端壓測)

cypher-executor 新 route GET /console:單檔 HTML+原生 JS 薄殼,三查詢區
(KBDB/workflows/components+recipes)全打既有端點,無新業務邏輯。
components 改打「同帳號」arcrun-registry worker(WORKER_SUBDOMAIN 現算),
不硬打官方 registry.arcrun.dev,避免自架用戶查到別人的零件庫。
vectorize 狀態直接讀 KBDB 既有 mode/capability_hint,不開新 config 端點。

已部署 leo21c 帳號驗證:/console 200、三查詢 curl 皆 200 真回資料
(public-recipes 命中 telegram_send 真實紀錄)。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-07-02 09:08:27 +00:00
parent f6c773a9b5
commit 981dc25086
2 changed files with 287 additions and 0 deletions
+2
View File
@@ -21,6 +21,7 @@ import { resumeRouter } from './routes/resume';
import { executionsRouter } from './routes/executions';
import { initSeedRouter } from './routes/init-seed';
import { kbdbProxyRouter } from './routes/kbdb-proxy';
import { consoleRouter } from './routes/console';
const app = new Hono<{ Bindings: Bindings }>();
@@ -50,6 +51,7 @@ app.route('/', resumeRouter);
app.route('/', executionsRouter); // LI SDD M2.1: /executions/* + /workflows/:name/executions
app.route('/', initSeedRouter); // 薄殼原則:seed recipe 是 API 行為(rule 07,壓測 §4.1
app.route('/', kbdbProxyRouter); // kbdb-base 9.5KBDB 資料層 proxy(讓 CLI 透過 cypher 達 KBDB,純轉發)
app.route('/', consoleRouter); // Arcrun#3:搜尋/控制台頁 v0(單檔 HTML+原生 JS,薄殼)
// Worker 導出(fetch + scheduled
// scheduled handler 對應 wrangler.toml [triggers].crons,每分鐘 tick