@dsh-cc/skill-loader 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 (49) hide show
  1. package/LICENSE +201 -0
  2. package/README.i18n.yaml +6 -0
  3. package/README.md +75 -0
  4. package/README.zh.md +75 -0
  5. package/lib/bundled/batch.d.ts +15 -0
  6. package/lib/bundled/batch.d.ts.map +1 -0
  7. package/lib/bundled/batch.js +97 -0
  8. package/lib/bundled/batch.js.map +1 -0
  9. package/lib/bundled/debug.d.ts +14 -0
  10. package/lib/bundled/debug.d.ts.map +1 -0
  11. package/lib/bundled/debug.js +51 -0
  12. package/lib/bundled/debug.js.map +1 -0
  13. package/lib/bundled/index.d.ts +36 -0
  14. package/lib/bundled/index.d.ts.map +1 -0
  15. package/lib/bundled/index.js +47 -0
  16. package/lib/bundled/index.js.map +1 -0
  17. package/lib/bundled/simplify.d.ts +12 -0
  18. package/lib/bundled/simplify.d.ts.map +1 -0
  19. package/lib/bundled/simplify.js +67 -0
  20. package/lib/bundled/simplify.js.map +1 -0
  21. package/lib/discovery.d.ts +70 -0
  22. package/lib/discovery.d.ts.map +1 -0
  23. package/lib/discovery.js +165 -0
  24. package/lib/discovery.js.map +1 -0
  25. package/lib/frontmatter.d.ts +72 -0
  26. package/lib/frontmatter.d.ts.map +1 -0
  27. package/lib/frontmatter.js +200 -0
  28. package/lib/frontmatter.js.map +1 -0
  29. package/lib/index.d.ts +100 -0
  30. package/lib/index.d.ts.map +1 -0
  31. package/lib/index.js +343 -0
  32. package/lib/index.js.map +1 -0
  33. package/lib/invariant.d.ts +16 -0
  34. package/lib/invariant.d.ts.map +1 -0
  35. package/lib/invariant.js +22 -0
  36. package/lib/invariant.js.map +1 -0
  37. package/lib/render.d.ts +111 -0
  38. package/lib/render.d.ts.map +1 -0
  39. package/lib/render.js +179 -0
  40. package/lib/render.js.map +1 -0
  41. package/lib/translate.d.ts +66 -0
  42. package/lib/translate.d.ts.map +1 -0
  43. package/lib/translate.js +134 -0
  44. package/lib/translate.js.map +1 -0
  45. package/lib/types.d.ts +46 -0
  46. package/lib/types.d.ts.map +1 -0
  47. package/lib/types.js +8 -0
  48. package/lib/types.js.map +1 -0
  49. package/package.json +59 -0
package/lib/types.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Provider metadata carried on Claude Code skill candidates and definitions.
3
+ * Consumers translate these into harness seams at activation time.
4
+ *
5
+ * @module
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@dsh-cc/skill-loader",
3
+ "description": "Claude Code skill-format compatible provider for the DeepSeek Harness",
4
+ "version": "0.5.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/dsh-cc/dsh-cc.git",
8
+ "directory": "packages/skill/skill-claude-code"
9
+ },
10
+ "type": "module",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./lib/index.d.ts",
14
+ "default": "./lib/index.js"
15
+ },
16
+ "./invariant": {
17
+ "types": "./lib/invariant.d.ts",
18
+ "default": "./lib/invariant.js"
19
+ },
20
+ "./frontmatter": {
21
+ "types": "./lib/frontmatter.d.ts",
22
+ "default": "./lib/frontmatter.js"
23
+ },
24
+ "./render": {
25
+ "types": "./lib/render.d.ts",
26
+ "default": "./lib/render.js"
27
+ },
28
+ "./src/*": "./src/*",
29
+ "./package.json": "./package.json"
30
+ },
31
+ "files": [
32
+ "lib"
33
+ ],
34
+ "license": "Apache-2.0",
35
+ "peerDependencies": {
36
+ "@deepseek-ai/dsh-fs": ">=0.1.1-rc.2",
37
+ "@deepseek-ai/dsh-home-paths": ">=0.1.1-rc.2",
38
+ "@deepseek-ai/dsh-invariants": ">=0.1.1-rc.2",
39
+ "@deepseek-ai/dsh-skill": ">=0.1.1-rc.2",
40
+ "@deepseek-ai/cordis": ">=0.1.1-rc.2",
41
+ "@deepseek-ai/schemastery": "^3.18.1",
42
+ "@dsh-cc/tools": "^0.5.0"
43
+ },
44
+ "dependencies": {
45
+ "yaml": "^2.4.2"
46
+ },
47
+ "devDependencies": {
48
+ "@deepseek-ai/dsh-fs": "link:../../../../deepseek-harness/packages/fs/fs",
49
+ "@deepseek-ai/dsh-home-paths": "link:../../../../deepseek-harness/packages/util/home-paths",
50
+ "@deepseek-ai/dsh-invariants": "link:../../../../deepseek-harness/packages/runtime-diagnostics/invariants",
51
+ "@deepseek-ai/dsh-skill": "link:../../../../deepseek-harness/packages/skill/skill",
52
+ "@deepseek-ai/cordis": "link:../../../../deepseek-harness/vendor/cordis",
53
+ "@deepseek-ai/schemastery": "link:../../../../deepseek-harness/vendor/schemastery",
54
+ "@dsh-cc/tools": "^0.5.0"
55
+ },
56
+ "publishConfig": {
57
+ "access": "public"
58
+ }
59
+ }