fix: honor fs when locating skill project roots

This commit is contained in:
Yichen Jiang
2026-07-06 15:59:12 +08:00
parent 1934035d04
commit 426d65a2a2
5 files changed
+66 -10

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ type SkillRegistration = Omit<SkillDefinition, 'disableModelInvocation'> & {
## Lookup and configuration
Skill lookup is cwd-sensitive because project skill roots are relative to the current workspace. If no git root is found, the supplied cwd itself is the project root.
Skill lookup is cwd-sensitive because project skill roots are relative to the current workspace. If no git root is found, the supplied cwd itself is the project root. When `ctx.fs` is available, the git-root walk probes `.git` through the filesystem service so remote or sandboxed workspaces do not fall back to the host filesystem boundary.
```ts type-equiv
interface SkillLookupOptions {