@hasna/skills 0.1.57 → 0.1.59
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/README.md +53 -50
- package/bin/index.js +3640 -3188
- package/bin/mcp.js +2621 -2428
- package/bin/migrate.js +70 -0
- package/bin/server.js +33666 -0
- package/bin/worker.js +30939 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3725 -3388
- package/dist/lib/config.d.ts +2 -2
- package/dist/lib/content-scan.d.ts +69 -0
- package/dist/lib/discovery.d.ts +1 -0
- package/dist/lib/hosted-availability.d.ts +2 -0
- package/dist/lib/packlist.d.ts +13 -0
- package/dist/lib/portable-skills.d.ts +46 -1
- package/dist/lib/project-state.d.ts +4 -1
- package/dist/lib/public-boundary.d.ts +31 -0
- package/dist/lib/registry-types.d.ts +20 -1
- package/dist/lib/remote-registry.d.ts +2 -2
- package/dist/lib/skill-validation.d.ts +5 -1
- package/dist/lib/skillinfo.d.ts +15 -0
- package/dist/storage.js +18 -6
- package/docs/skill-standard.md +34 -4
- package/migrations/0001_open_skills_self_hosted.sql +129 -0
- package/package.json +11 -3
- package/skills/browse/README.md +1 -1
- package/skills/browse/SKILL.md +1 -1
- package/skills/deepresearch/README.md +1 -1
- package/skills/deepresearch/SKILL.md +1 -1
- package/skills/image/README.md +1 -1
- package/skills/tmux-session/SKILL.md +2 -2
- package/skills/transcript/SKILL.md +1 -1
- package/skills/webcrawling/README.md +1 -1
- package/skills/apidocs/.claude/settings.json +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Hasna Skills - Open source skill library for AI coding agents
|
|
3
3
|
*
|
|
4
4
|
* Pin AI agent skills with a single command:
|
|
5
5
|
* skills pin image deepresearch
|
|
@@ -21,7 +21,7 @@ export { RemoteSkillsClient, createRemoteSkillsClient, } from "./lib/remote-clie
|
|
|
21
21
|
export { REMOTE_SKILL_RUN_CONTRACT_VERSION, normalizeRemoteSkillRunContract, type RemoteSkillRunContract, } from "./lib/remote-run-contract.js";
|
|
22
22
|
export { addSchedule, listSchedules, removeSchedule, setScheduleEnabled, getDueSchedules, recordScheduleRun, validateCron, getNextRun, type SkillSchedule, } from "./lib/scheduler.js";
|
|
23
23
|
export { parseSkillFrontmatter, validateRegistryConsistency, validateSkillDirectory, type RegistryConsistencyResult, type SkillFrontmatter, type SkillValidationMessage, type SkillValidationResult, } from "./lib/skill-validation.js";
|
|
24
|
-
export { PORTABLE_SKILL_DEFAULT_VERSION, PORTABLE_SKILL_SCHEMA, PORTABLE_SKILL_STANDARD, findPortableSkill, getPortableSkillPath, getPortableSkillsRoot, listPortableSkillMetas, listPortableSkills, normalizePortableSkillName, portPortableSkill, readPortableSkillManifest, runPortableSkill, scaffoldPortableSkill, validatePortableSkillDirectory, type PortableSkillCommand, type PortableSkillInput, type PortableSkillManifest, type PortableSkillRunOptions, type PortableSkillRunResult, type PortableSkillSummary, } from "./lib/portable-skills.js";
|
|
24
|
+
export { PORTABLE_SKILL_DEFAULT_VERSION, PORTABLE_SKILL_SCHEMA, PORTABLE_SKILL_STANDARD, findPortableSkill, getPortableSkillPath, getPortableSkillsRoot, listPortableSkillMetas, listPortableSkills, normalizePortableSkillName, portPortableSkill, portPortableSkillDirectory, readPortableSkillManifest, runPortableSkill, scaffoldPortableSkill, validatePortableSkillDirectory, type BulkPortImportedEntry, type BulkPortPortableSkillOptions, type BulkPortResult, type BulkPortSkippedEntry, type PortableSkillCommand, type PortableSkillInput, type PortableSkillManifest, type PortableSkillRunOptions, type PortableSkillRunResult, type PortableSkillSummary, type SkillKind, } from "./lib/portable-skills.js";
|
|
25
25
|
export { SKILLS_CLI_MCP_PARITY, findSkillsParityForCliCommand, findSkillsParityForMcpTool, validateSkillsCliMcpParity, type SkillsCliMcpParityDomain, type SkillsCliMcpParityEntry, } from "./lib/cli-mcp-parity.js";
|
|
26
26
|
export { createRegistrySyncArtifact, writeRegistrySyncArtifact, type RegistrySyncArtifact, type RegistrySyncOptions, type RegistrySyncSkill, } from "./lib/registry-sync.js";
|
|
27
27
|
export { MCP_CONTRACT_SCHEMA_VERSION, createMcpContractManifest, createSkillMcpMetadata, describeMcpToolContracts, getMcpResourceContracts, getMcpToolDescriptions, listMcpToolContracts, summarizeMcpToolContract, type DescribedMcpToolContract, type JsonSchemaObject, type McpContractManifest, type McpResourceContract, type McpToolCategory, type McpToolContract, type McpToolSideEffect, type SkillMcpMetadata, type SkillMcpSchemaContract, type UnknownMcpToolContract, } from "./lib/mcp-contracts.js";
|