@hasna/skills 0.1.25 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/mcp.js CHANGED
@@ -38745,7 +38745,7 @@ init_adapter();
38745
38745
  // package.json
38746
38746
  var package_default = {
38747
38747
  name: "@hasna/skills",
38748
- version: "0.1.25",
38748
+ version: "0.1.27",
38749
38749
  description: "Skills library for AI coding agents",
38750
38750
  type: "module",
38751
38751
  bin: {
@@ -38765,6 +38765,8 @@ var package_default = {
38765
38765
  "skills/",
38766
38766
  "!skills/**/node_modules",
38767
38767
  "!skills/**/.skills",
38768
+ "!skills/**/exports",
38769
+ "!skills/scaffold-project/my-app",
38768
38770
  "LICENSE",
38769
38771
  "README.md"
38770
38772
  ],
@@ -0,0 +1,2 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerRegistry(parent: Command): void;
package/dist/index.d.ts CHANGED
@@ -11,5 +11,8 @@ export { SKILLS, BASIC_SKILL_NAMES, CATEGORIES, getSkill, getSkillsByCategory, s
11
11
  export { installSkill, installSkills, installSkillForAgent, removeSkillForAgent, getInstalledSkills, removeSkill, skillExists, getSkillPath, getAgentSkillsDir, getAgentSkillPath, AGENT_TARGETS, type InstallResult, type InstallOptions, type AgentTarget, type AgentScope, type AgentInstallOptions, getInstallMeta, disableSkill, enableSkill, getDisabledSkills, } from "./lib/installer.js";
12
12
  export { getSkillDocs, getSkillBestDoc, getSkillRequirements, runSkill, generateEnvExample, generateSkillMd, type SkillDocs, type SkillRequirements, } from "./lib/skillinfo.js";
13
13
  export { loadConfig, saveConfig, getConfigPath, type SkillsConfig, type ConfigScope, } from "./lib/config.js";
14
+ export { buildSkillsApiUrl, getConfiguredApiUrl, loadRemoteRegistry, parseRemoteRegistryPayload, type RemoteRegistryOptions, } from "./lib/remote-registry.js";
14
15
  export { addSchedule, listSchedules, removeSchedule, setScheduleEnabled, getDueSchedules, recordScheduleRun, validateCron, getNextRun, type SkillSchedule, } from "./lib/scheduler.js";
16
+ export { parseSkillFrontmatter, validateRegistryConsistency, validateSkillDirectory, type RegistryConsistencyResult, type SkillFrontmatter, type SkillValidationMessage, type SkillValidationResult, } from "./lib/skill-validation.js";
17
+ export { createRegistrySyncArtifact, writeRegistrySyncArtifact, type RegistrySyncArtifact, type RegistrySyncOptions, type RegistrySyncSkill, } from "./lib/registry-sync.js";
15
18
  export type { SkillResponse, SkillDetailResponse, CategoryResponse, TagResponse, InstallResponse, RemoveResponse, VersionResponse, ExportResponse, ImportResponse, SearchResponse, CategoryInstallResponse, ErrorResponse, } from "./types/api.js";