v0.13.1-beta.4
Pre-releaseDelta since previous beta (v0.13.1-beta.3) — 1 new changeset.
Patch Changes
-
fix(open-knowledge): honor nested .gitignore/.okignore depth when filtering content for sync
Patterns from a nested ignore file (for example
.blob-storage/declared inpublic/agents/.gitignore) are flattened into the project-root ignore matcher by prefixing each with the file's directory. The prefix used to inject an embedded slash unconditionally, which theignorelibrary reads as root-anchored — silently collapsing a "match at any depth" basename rule down to "this exact level only." A.blob-storage/rule then matched<dir>/.blob-storagebut missed<dir>/agents-api/.blob-storageone level deeper, so the sync walker gathered a git-ignored path and handed it togit add, which rejected it with theaddIgnoredFileadvice surfaced in the sync panel.Non-anchored nested patterns now keep matching at any depth below their directory, while anchored patterns (leading or embedded slash) stay scoped to their own level. This restores parity between the content walker and
git add(precedent #55) so gitignored paths are no longer offered for staging.- @inkeep/open-knowledge-core@0.13.1-beta.0