@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
18 lines • 1.01 kB
TypeScript
import type { ResourceDiagnostic } from "./diagnostics.ts";
import type { Skill } from "./skills.ts";
export declare const COMPACT_SKILL_CATALOG_COUNT = 100;
export declare const COMPACT_SKILL_CATALOG_DESCRIPTION_BYTES: number;
export declare const MAX_SKILL_CATALOG_BYTES: number;
/** A catalog this large is listed by name plus a one-line description, since it rides on every request. */
export declare function isLargeSkillCatalog(skills: readonly Skill[]): boolean;
export declare function warnIfLargeSkillCatalog(skills: readonly Skill[]): ResourceDiagnostic[];
/**
* Format skills for inclusion in a system prompt.
* Uses XML format per Agent Skills standard.
* See: https://agentskills.io/integrate-skills
*
* Skills with disableModelInvocation=true are excluded from the prompt
* (they can only be invoked explicitly via /skill:name commands).
*/
export declare function formatSkillsForPrompt(skills: Skill[], fileReadTool?: "read" | "bash"): string;
//# sourceMappingURL=skills-prompt.d.ts.map