fix: harden runtime skill registration

This commit is contained in:
Yichen Jiang
2026-07-06 10:21:00 +08:00
parent 545b2775db
commit b95595f0c7
4 changed files with 62 additions and 11 deletions

View File

@@ -71,7 +71,7 @@ interface SkillLookupOptions {
}
```
The service can be pointed at alternate user roots in tests or deployments. `installSystemSkills` controls whether bundled system skills are materialized under `<dshHome>/skills/.system` on startup.
The service can be pointed at alternate user roots in tests or deployments. `installSystemSkills` controls whether bundled system skills are materialized under `<dshHome>/skills/.system` on startup. `promptFieldMaxLength` must be at least `3`, matching the `...` truncation suffix reserved in rendered prompt fields.
```ts type-equiv
interface Config {