@graphorin/skills 0.5.0

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +169 -0
  4. package/anthropic-spec-snapshot.json +114 -0
  5. package/dist/activation/index.d.ts +30 -0
  6. package/dist/activation/index.d.ts.map +1 -0
  7. package/dist/activation/index.js +71 -0
  8. package/dist/activation/index.js.map +1 -0
  9. package/dist/errors/index.d.ts +110 -0
  10. package/dist/errors/index.d.ts.map +1 -0
  11. package/dist/errors/index.js +126 -0
  12. package/dist/errors/index.js.map +1 -0
  13. package/dist/frontmatter/index.d.ts +120 -0
  14. package/dist/frontmatter/index.d.ts.map +1 -0
  15. package/dist/frontmatter/index.js +451 -0
  16. package/dist/frontmatter/index.js.map +1 -0
  17. package/dist/index.d.ts +52 -0
  18. package/dist/index.d.ts.map +1 -0
  19. package/dist/index.js +51 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/loader/index.d.ts +55 -0
  22. package/dist/loader/index.d.ts.map +1 -0
  23. package/dist/loader/index.js +463 -0
  24. package/dist/loader/index.js.map +1 -0
  25. package/dist/migration/index.d.ts +62 -0
  26. package/dist/migration/index.d.ts.map +1 -0
  27. package/dist/migration/index.js +131 -0
  28. package/dist/migration/index.js.map +1 -0
  29. package/dist/registry/bridge.d.ts +47 -0
  30. package/dist/registry/bridge.d.ts.map +1 -0
  31. package/dist/registry/bridge.js +91 -0
  32. package/dist/registry/bridge.js.map +1 -0
  33. package/dist/registry/index.d.ts +140 -0
  34. package/dist/registry/index.d.ts.map +1 -0
  35. package/dist/registry/index.js +193 -0
  36. package/dist/registry/index.js.map +1 -0
  37. package/dist/spec/index.d.ts +92 -0
  38. package/dist/spec/index.d.ts.map +1 -0
  39. package/dist/spec/index.js +105 -0
  40. package/dist/spec/index.js.map +1 -0
  41. package/dist/types/index.d.ts +305 -0
  42. package/dist/types/index.d.ts.map +1 -0
  43. package/package.json +104 -0
package/package.json ADDED
@@ -0,0 +1,104 @@
1
+ {
2
+ "name": "@graphorin/skills",
3
+ "version": "0.5.0",
4
+ "description": "Skills surface for the Graphorin framework: loader for the SKILL.md packaging format with three-tier progressive disclosure (metadata / body / resources), frontmatter validator implementing the field-resolution algorithm and conflict policy from ADR-043, registry with auto-activation + slash-command activation, supply-chain hardening (signature verification + `--ignore-scripts` enforcement via @graphorin/security), sandbox-tier propagation for untrusted skills, handoff input-filter declaration recognition, and idempotent migrate-frontmatter library.",
5
+ "license": "MIT",
6
+ "author": "Oleksiy Stepurenko",
7
+ "homepage": "https://github.com/o-stepper/graphorin/tree/main/packages/skills",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/o-stepper/graphorin.git",
11
+ "directory": "packages/skills"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/o-stepper/graphorin/issues"
15
+ },
16
+ "keywords": [
17
+ "graphorin",
18
+ "ai",
19
+ "agents",
20
+ "framework",
21
+ "skills",
22
+ "skill-loader",
23
+ "skill-registry",
24
+ "frontmatter",
25
+ "yaml",
26
+ "progressive-disclosure",
27
+ "supply-chain",
28
+ "sandbox",
29
+ "ed25519",
30
+ "signature-verification",
31
+ "migration"
32
+ ],
33
+ "type": "module",
34
+ "engines": {
35
+ "node": ">=22.0.0"
36
+ },
37
+ "main": "./dist/index.js",
38
+ "module": "./dist/index.js",
39
+ "types": "./dist/index.d.ts",
40
+ "exports": {
41
+ ".": {
42
+ "types": "./dist/index.d.ts",
43
+ "import": "./dist/index.js"
44
+ },
45
+ "./loader": {
46
+ "types": "./dist/loader/index.d.ts",
47
+ "import": "./dist/loader/index.js"
48
+ },
49
+ "./registry": {
50
+ "types": "./dist/registry/index.d.ts",
51
+ "import": "./dist/registry/index.js"
52
+ },
53
+ "./frontmatter": {
54
+ "types": "./dist/frontmatter/index.d.ts",
55
+ "import": "./dist/frontmatter/index.js"
56
+ },
57
+ "./migration": {
58
+ "types": "./dist/migration/index.d.ts",
59
+ "import": "./dist/migration/index.js"
60
+ },
61
+ "./spec": {
62
+ "types": "./dist/spec/index.d.ts",
63
+ "import": "./dist/spec/index.js"
64
+ },
65
+ "./activation": {
66
+ "types": "./dist/activation/index.d.ts",
67
+ "import": "./dist/activation/index.js"
68
+ },
69
+ "./errors": {
70
+ "types": "./dist/errors/index.d.ts",
71
+ "import": "./dist/errors/index.js"
72
+ },
73
+ "./anthropic-spec-snapshot.json": "./anthropic-spec-snapshot.json",
74
+ "./package.json": "./package.json"
75
+ },
76
+ "files": [
77
+ "dist",
78
+ "anthropic-spec-snapshot.json",
79
+ "README.md",
80
+ "CHANGELOG.md",
81
+ "LICENSE"
82
+ ],
83
+ "dependencies": {
84
+ "yaml": "^2.8.0",
85
+ "@graphorin/core": "0.5.0",
86
+ "@graphorin/tools": "0.5.0",
87
+ "@graphorin/security": "0.5.0"
88
+ },
89
+ "publishConfig": {
90
+ "access": "public",
91
+ "provenance": true
92
+ },
93
+ "devDependencies": {
94
+ "fast-check": "^3.23.0",
95
+ "zod": "^3.25.0"
96
+ },
97
+ "scripts": {
98
+ "build": "tsdown",
99
+ "typecheck": "tsc --noEmit && tsc -p tsconfig.tests.json",
100
+ "test": "vitest run",
101
+ "lint": "biome check .",
102
+ "clean": "rimraf dist .turbo *.tsbuildinfo"
103
+ }
104
+ }