From f49e0a8b36dc7fa017f319f10c89b09fe27835fc Mon Sep 17 00:00:00 2001 From: Warren Date: Fri, 19 Jun 2026 09:20:59 +0800 Subject: [PATCH] Update AGENTS.md: WebDAV and Download Center status --- AGENTS.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 7d28ac0..4748a20 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1627,8 +1627,8 @@ cargo test -p markbase-core --lib # 153 passed, 0 failed ## WebDAV VFS 整合(已完成)✅ -**狀態**:核心模組完成,路由待整合(避免影響 Download Center) -**Commit**: eb80c07 +**狀態**:核心模組完成,CLI 已測試成功 +**Commits**: eb80c07 (核心), a235be3 (路由修復) ### 已完成 - ✅ webdav.rs 模塊創建(VfsDavFs, VfsDavFile, VfsDavMetaData) @@ -1638,10 +1638,13 @@ cargo test -p markbase-core --lib # 153 passed, 0 failed - ✅ CLI webdav.rs 更新(使用 VFS) - ✅ Upload Hook 整合(flush時觸發) - ✅ bytes 依賴添加 +- ✅ Port 8002 CLI 測試成功(PROPFIND 返回文件列表) -### 待完成(需在 Port 11439 測試) -- ⏳ WebDAV 路由整合(避免影響 Port 11438) -- ⏳ DELETE/MKCOL/COPY/MOVE 操作 +### Download Center 修復(2026-06-19)✅ +- ✅ 移除重複路由 `/`(避免 panic) +- ✅ Port 11438 正常運行(`web-start` 命令) +- ✅ `/downloads` endpoint 正常返回 category_view.html +- ✅ 根路由 `/` 正常返回動態 markdown display ### WebDAV 功能 | 功能 | 狀態 | @@ -1653,7 +1656,7 @@ cargo test -p markbase-core --lib # 153 passed, 0 failed ### CLI 測試方式 ```bash -cargo run -- webdav-start --user demo --port 8002 +cargo run --bin markbase-core -- webdav-start --user demo --port 8002 # WebDAV endpoint: http://127.0.0.1:8002/webdav/ ```