@lmzhen/dsh-evolution-skill-catalog 0.21.0 → 0.23.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 (2) hide show
  1. package/lib/index.js +2 -1
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import z from "@deepseek-ai/schemastery";
2
+ import { preferProvider } from "@lmzhen/dsh-evolution-io";
2
3
  import { SKILL_NAME_RE, evolutionIoAdapter, isAbsent, isUnknown, newSkillLibrary, parseFrontmatter, probeList } from "@lmzhen/dsh-evolution-core";
3
4
  import { join } from "node:path";
4
5
  //#region lib/types/index.js
@@ -60,7 +61,7 @@ function apply(ctx, rawConfig = {}) {
60
61
  modelInvocable: rawConfig.modelInvocable ?? true,
61
62
  userInvocable: rawConfig.userInvocable ?? true
62
63
  };
63
- const io = evolutionIoAdapter(() => ctx.evolutionIo.provider());
64
+ const io = evolutionIoAdapter(() => preferProvider(ctx.evolutionIo, ["fs"]));
64
65
  const library = newSkillLibrary({
65
66
  config: rawConfig,
66
67
  io
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-skill-catalog",
3
3
  "description": "Native ctx.skills provider for the evolution-managed skill tree (community build)",
4
- "version": "0.21.0",
4
+ "version": "0.23.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,16 +27,16 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@deepseek-ai/schemastery": "^3.18.4",
30
- "@lmzhen/dsh-evolution-core": "^0.21.0"
30
+ "@lmzhen/dsh-evolution-core": "^0.23.0"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@deepseek-ai/cordis": "^4.0.1",
34
34
  "@deepseek-ai/dsh-skill": "^0.2.0-rc.1",
35
- "@lmzhen/dsh-evolution-io": "^0.21.0"
35
+ "@lmzhen/dsh-evolution-io": "^0.23.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@deepseek-ai/dsh-skill": "^0.2.0-rc.1",
39
- "@lmzhen/dsh-evolution-core": "^0.21.0",
40
- "@lmzhen/dsh-evolution-io": "^0.21.0"
39
+ "@lmzhen/dsh-evolution-core": "^0.23.0",
40
+ "@lmzhen/dsh-evolution-io": "^0.23.0"
41
41
  }
42
42
  }