UNPKG

@workflow-manager/runner

Version:

CLI runner for in-memory and markdown workflow orchestration using ATEP-like envelopes

22 lines (21 loc) 835 B
#!/usr/bin/env node import type { BundledSkillFile } from "./generated/bundledSkills.js"; type PackagedSkillSource = { kind: "disk"; dir: string; } | { kind: "bundled"; files: BundledSkillFile[]; }; export interface PackagedSkill { name: string; description: string; source: PackagedSkillSource; } export declare function packagedSkillsDir(): string; export declare function parseSkillDescription(skillMarkdown: string): string; export declare function listPackagedSkillsFromDisk(root: string): PackagedSkill[]; export declare function listPackagedSkillsFromBundle(bundle?: Record<string, BundledSkillFile[]>): PackagedSkill[]; export declare function listPackagedSkills(root?: string): PackagedSkill[]; export declare function materializeSkillFiles(skill: PackagedSkill, destDir: string): void; export {};