/** * Node-only skill seeding: directory loading and the memory-repo git push. * * `skill-loading.ts` owns the portable core (types, validation, SKILL.md * parsing, block mapping). This module owns everything that touches the * filesystem or spawns git, and stays behind the package root so the * portable `/client` entry never pulls in Node builtins. */ import { type AgentSkill } from "./skill-loading.js"; /** Load one skill directory from disk. */ export declare function loadSkillDirectory(dirPath: string): Promise; export interface SkillFilesPushTarget { apiBaseUrl: string; apiKey: string; agentId: string; } /** * Push skill support files into a new agent's memory git repo. * * SKILL.md rides the create-agent request as a memory block; everything else * in a skill directory (scripts/, references/, ...) has no block * representation and exactly one write channel: the agent's memory git * remote at `{apiBaseUrl}/v1/git/{agentId}/state.git`. This function owns * that one commit: shallow clone, write files, commit, push (with one * pull --rebase retry in case the server committed between clone and push). */ export declare function pushSkillSupportFiles(target: SkillFilesPushTarget, skills: AgentSkill[]): Promise; //# sourceMappingURL=skill-node.d.ts.map