fix(11): default agentSkillsDir server-side — GROUP-03/GROUP-04 gap closure
This commit is contained in:
parent
974ce521db
commit
58d07637fa
1 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,11 @@ import { skillGroupService } from "../services/skill-registry-groups.js";
|
||||||
import { skillRegistryService } from "../services/skill-registry.js";
|
import { skillRegistryService } from "../services/skill-registry.js";
|
||||||
import { assertBoard } from "./authz.js";
|
import { assertBoard } from "./authz.js";
|
||||||
|
|
||||||
|
/** Default skills directory when client doesn't provide one */
|
||||||
|
function defaultSkillsDir(): string {
|
||||||
|
return path.join(os.homedir(), ".claude", "skills");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolves the agentSkillsDir for a given agentId by looking up the agent's
|
* Resolves the agentSkillsDir for a given agentId by looking up the agent's
|
||||||
* adapter type and calling resolveAdapterSkillConfig. Throws with a status
|
* adapter type and calling resolveAdapterSkillConfig. Throws with a status
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue