@lmzhen/dsh-evolution-skill-catalog 0.1.0-rc.9 → 0.2.0-rc.1

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/lib/index.js CHANGED
@@ -42,7 +42,7 @@ function apply(ctx, rawConfig = {}) {
42
42
  invocation,
43
43
  source: "user-dsh",
44
44
  provider: "dsh-evolution",
45
- rank: 390,
45
+ rank: EVOLUTION_SKILL_RANK,
46
46
  locator: { name: summary.name },
47
47
  path: join(summary.path, "SKILL.md"),
48
48
  resourceBase: {
@@ -54,10 +54,10 @@ function apply(ctx, rawConfig = {}) {
54
54
  async get(candidate) {
55
55
  const name = candidate.name;
56
56
  if (!visible(name)) return void 0;
57
- const content = await library.read(name);
58
- if (content === null) return void 0;
59
57
  const summary = (await library.list()).find((item) => item.name === name);
60
58
  if (!summary) return void 0;
59
+ const content = await library.read(name);
60
+ if (content === null) return void 0;
61
61
  return {
62
62
  name,
63
63
  description: summary.description,
@@ -89,4 +89,4 @@ function apply(ctx, rawConfig = {}) {
89
89
  }, "evolution-skill-catalog.provider");
90
90
  }
91
91
  //#endregion
92
- export { Config, EVOLUTION_SKILL_RANK, apply, inject, name };
92
+ export { Config, apply, inject, name };
@@ -23,7 +23,5 @@ export interface Config {
23
23
  excludeSkillNames?: string[];
24
24
  }
25
25
  export declare const Config: z<Config>;
26
- /** Below filesystem's user rank so the evolution-owned tree wins duplicates. */
27
- export declare const EVOLUTION_SKILL_RANK = 390;
28
26
  export declare function apply(ctx: Context, rawConfig?: Config): void;
29
27
  //# sourceMappingURL=index.d.ts.map
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.1.0-rc.9",
4
+ "version": "0.2.0-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -33,18 +33,18 @@
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
35
  "@deepseek-ai/schemastery": "^3.18.1",
36
- "@lmzhen/dsh-evolution-core": "^0.1.0-rc.9"
36
+ "@lmzhen/dsh-evolution-core": "^0.2.0-rc.1"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@deepseek-ai/cordis": "^4.0.1",
40
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
41
- "@deepseek-ai/dsh-skill": "^0.1.0-rc.6",
42
- "@lmzhen/dsh-evolution-io": "^0.1.0-rc.9"
40
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
41
+ "@deepseek-ai/dsh-skill": "^0.1.1-rc.2",
42
+ "@lmzhen/dsh-evolution-io": "^0.2.0-rc.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
46
- "@deepseek-ai/dsh-skill": "^0.1.0-rc.6",
47
- "@lmzhen/dsh-evolution-core": "^0.1.0-rc.9",
48
- "@lmzhen/dsh-evolution-io": "^0.1.0-rc.9"
45
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
46
+ "@deepseek-ai/dsh-skill": "^0.1.1-rc.2",
47
+ "@lmzhen/dsh-evolution-core": "^0.2.0-rc.1",
48
+ "@lmzhen/dsh-evolution-io": "^0.2.0-rc.1"
49
49
  }
50
50
  }