@lmzhen/dsh-tool-skill-manage 0.43.2-rc.1 → 0.45.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.
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { DEFAULT_ARCHIVE_RETENTION_POLICY, DEFAULT_CITATION_POLICY, DEFAULT_REFERENCE_REWRITE_POLICY, DEFAULT_SKILL_LIMITS, DEFAULT_SKILL_VERSION_KEEP, DEFAULT_SUPPORT_FILE_CHAR_POLICY, DSH_AUTHORING_STANDARDS, EXTRACT_PROMPT_V1, SKILLS_GUIDANCE, SKILLS_GUIDANCE_SECTION_ORDER, authorityFrom, buildExtractPlanFromLibrary, callingScope, clampOnce, computeDedupGroups, contentHash, createSubagentChannel, evolutionIoAdapter, fuzzyPatch, isPresent, isUnknown, liveBool, nearDuplicateSummaries, ownerCandidatesFromSummaries, ownerDecisionText, paramRowId, policyStageLimits, probePresent, probeUnknown, projectExtractBodies, proposalFromPlan, protectedSkillNamesOf, readProposalReport, registerOwnerSettings, skillWriteGateContext, unwrapLive, userSetKeys, writeProposalReport } from "@lmzhen/dsh-evolution-core";
1
+ import { DEFAULT_ARCHIVE_RETENTION_POLICY, DEFAULT_CITATION_POLICY, DEFAULT_REFERENCE_REWRITE_POLICY, DEFAULT_SKILL_LIMITS, DEFAULT_SKILL_VERSION_KEEP, DEFAULT_SUPPORT_FILE_CHAR_POLICY, DSH_AUTHORING_STANDARDS, EXTRACT_PROMPT_V1, SKILLS_GUIDANCE, SKILLS_GUIDANCE_SECTION_ORDER, authorityFrom, buildExtractPlanFromLibrary, callingScope, clampOnce, computeDedupGroups, contentHash, createSubagentChannel, evolutionIoAdapter, fuzzyPatch, isPresent, isUnknown, liveBool, nearDuplicateSummaries, ownerCandidatesFromSummaries, ownerDecisionText, paramRowId, policyStageLimits, probePresent, probeUnknown, projectExtractBodies, proposalFromPlan, protectedSkillNamesOf, readProposalReport, skillWriteGateContext, unwrapLive, userSetKeys, writeProposalReport } from "@lmzhen/dsh-evolution-core";
2
2
  import { effectiveSessionPolicy } from "@lmzhen/dsh-evolution-approval";
3
3
  import z from "@deepseek-ai/schemastery";
4
4
  import { defineTool, registerEvolutionTool } from "@lmzhen/dsh-evolution-core/platform";
@@ -422,7 +422,6 @@ function confirmedBy(answer, questionId, confirmLabel) {
422
422
  return (answer.answers.find((entry) => entry.id === questionId)?.selected ?? []).includes(confirmLabel);
423
423
  }
424
424
  function apply(ctx, rawConfig = {}) {
425
- registerOwnerSettings(ctx, "tool-skill-manage", Config);
426
425
  ctx.inject(["settings"], (injected) => {
427
426
  const settings = injected.settings;
428
427
  if (typeof settings?.configure !== "function") return;
package/locale/de.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Skills bearbeiten",
4
+ "description": "Lässt den Agenten eigene Skills anlegen, ändern und archivieren."
5
+ }
6
+ }
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Skill editing",
4
+ "description": "Lets the agent create, update and archive its own skills."
5
+ }
6
+ }
package/locale/es.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Edición de skills",
4
+ "description": "El agente crea, actualiza y archiva sus propios skills."
5
+ }
6
+ }
package/locale/fr.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Édition des skills",
4
+ "description": "Permet à l’agent de créer, mettre à jour et archiver ses propres skills."
5
+ }
6
+ }
package/locale/ja.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "スキルの編集",
4
+ "description": "エージェントが自分のスキルを作り、直し、アーカイブできる。"
5
+ }
6
+ }
package/locale/pt.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Edição de skills",
4
+ "description": "Deixa o agente criar, atualizar e arquivar as próprias skills."
5
+ }
6
+ }
package/locale/ru.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Правка навыков",
4
+ "description": "Агент может создавать, обновлять и отправлять в архив свои навыки."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "技能编辑",
4
+ "description": "让智能体自己新建、更新和归档技能。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-tool-skill-manage",
3
3
  "description": "Model-facing skill_manage tool (community build)",
4
- "version": "0.43.2-rc.1",
4
+ "version": "0.45.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,33 +18,34 @@
18
18
  "types": "./lib/types/index.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
- "./package.json": "./package.json"
21
+ "./package.json": "./package.json",
22
+ "./locale/*.json": "./locale/*.json"
22
23
  },
23
24
  "files": [
25
+ "locale/*.json",
24
26
  "lib/*.js",
25
27
  "lib/types/**/*.d.ts"
26
28
  ],
27
29
  "license": "MIT",
28
30
  "dependencies": {
29
31
  "@deepseek-ai/schemastery": "^3.18.5",
30
- "@lmzhen/dsh-evolution-approval": "^0.43.2-rc.1",
31
- "@lmzhen/dsh-evolution-core": "^0.43.2-rc.1"
32
+ "@lmzhen/dsh-evolution-approval": "^0.45.0",
33
+ "@lmzhen/dsh-evolution-core": "^0.45.0",
34
+ "@lmzhen/dsh-evolution-skill-discovery": "^0.45.0"
32
35
  },
33
36
  "peerDependencies": {
34
37
  "@deepseek-ai/cordis": "^4.0.5",
35
38
  "@deepseek-ai/dsh-skill": "^0.2.2-rc.0",
36
39
  "@deepseek-ai/dsh-system-prompt": "^0.2.2-rc.0",
37
40
  "@deepseek-ai/dsh-agent": "^0.2.2-rc.0",
38
- "@lmzhen/dsh-evolution-io": "^0.43.2-rc.1",
39
- "@lmzhen/dsh-skill-usage": "^0.43.2-rc.1"
41
+ "@lmzhen/dsh-evolution-skill-discovery": "^0.45.0"
40
42
  },
41
43
  "devDependencies": {
42
44
  "@deepseek-ai/dsh-agent-loop-testkit": "^0.2.2-rc.0",
43
45
  "@deepseek-ai/dsh-skill": "^0.2.2-rc.0",
44
46
  "@deepseek-ai/dsh-system-prompt": "^0.2.2-rc.0",
45
- "@lmzhen/dsh-evolution-core": "^0.43.2-rc.1",
46
- "@lmzhen/dsh-evolution-io": "^0.43.2-rc.1",
47
- "@lmzhen/dsh-skill-usage": "^0.43.2-rc.1"
47
+ "@lmzhen/dsh-evolution-core": "^0.45.0",
48
+ "@lmzhen/dsh-evolution-skill-discovery": "^0.45.0"
48
49
  },
49
50
  "engines": {
50
51
  "dsh": ">=0.2.2-rc.0 <0.2.3-0"