v0.19.8 -> v0.19.9
Summary
Filesystem layer consolidation: internal/filesystem/{absPath.go, isDenied.go, isExclude.go, writeFile.go, listDir.go, walkFiles.go} are removed in favor of go-utils v0.9.4's filesystem package — cmd/app/main.go init() injects policy via go_utils_filesystem.New(Policy{DeniedMap, ExcludeList}) (parallel to sandbox.New), and 20+ consumer sites switch to go_utils_filesystem.{AbsPath, IsDenied, IsExcluded, ListAll, WalkFiles}. Listing/walking calls pass ListOption{SkipExcluded:true, IgnoreWalkError:true, IncludeNonRegular:true} to preserve the original Agenvoy walker behavior (gitignore filtering, best-effort walk on permission errors, symlink/device/socket inclusion). README and architecture documentation are refreshed to describe the latest features.
翻譯
Filesystem 層整併:移除 `internal/filesystem/{absPath.go, isDenied.go, isExclude.go, writeFile.go, listDir.go, walkFiles.go}`,全面改用 go-utils v0.9.4 filesystem package — `cmd/app/main.go init()` 透過 `go_utils_filesystem.New(Policy{DeniedMap, ExcludeList})` 一次性注入 policy(與 `sandbox.New` 對稱),20+ 處 consumer 改呼叫 `go_utils_filesystem.{AbsPath, IsDenied, IsExcluded, ListAll, WalkFiles}`。Listing/walking 一律帶 `ListOption{SkipExcluded:true, IgnoreWalkError:true, IncludeNonRegular:true}` 三 option 以還原原 Agenvoy walker 行為(gitignore 過濾、權限錯誤 best-effort 繼續、symlink/device/socket 收錄)。同步更新 README 與 architecture 雙語文件至最新功能描述。Changes
REFACTOR
- Replace internal listDir/walkFiles with go-utils v0.9.4 (@pardnchiu) [d3b374e]
- Replace internal filesystem helpers with go-utils v0.9.4 (@pardnchiu) [bf7340f]
翻譯
- 移除
internal/filesystem/{listDir,walkFiles}.go,改用 go-utils v0.9.4 listing API(含SkipExcluded/IgnoreWalkError/IncludeNonRegular三 option 還原舊行為) - 移除
internal/filesystem/{absPath,isDenied,isExclude,writeFile}.go,全面改用 go-utils v0.9.4 filesystem 並於cmd/app/main.go init()注入Policy{DeniedMap, ExcludeList}
DOC
- Refresh README and documentation for latest features (@pardnchiu) [f6ad51d]
翻譯
- 更新 README、architecture、doc 雙語文件至最新功能(含截圖)
Generated by SKILL