@lmzhen/dsh-tool-skill-manage 0.30.38 → 0.30.39
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 +2 -2
- package/package.json +8 -8
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_ARCHIVE_RETENTION_POLICY, DEFAULT_CITATION_POLICY, DEFAULT_HEALTH_THRESHOLDS, 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, anchorVerdict, authoringFeedback, authorityFrom, buildExtractPlanFromLibrary, callingScope, clampOnce, computeDedupGroups, contentHash, createSubagentChannel, evolutionIoAdapter, fuzzyPatch, isPresent, isUnknown, liveBool, nearDuplicateSummaries, newSkillLibrary, normalizeFrontmatter, ownerCandidatesFromSummaries, paramRowId, parseFrontmatter, policyStageLimits, probePresent, probeUnknown, projectExtractBodies, proposalFromPlan, protectedSkillNamesOf, resolveExecOrigins, sessionReadSkillNames, skillWriteGateContext, unwrapLive, userSetKeys, writeProposalReport } from "@lmzhen/dsh-evolution-core";
|
|
1
|
+
import { DEFAULT_ARCHIVE_RETENTION_POLICY, DEFAULT_CITATION_POLICY, DEFAULT_HEALTH_THRESHOLDS, 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, anchorVerdict, authoringFeedback, authorityFrom, buildExtractPlanFromLibrary, callingScope, clampOnce, computeDedupGroups, contentHash, createSubagentChannel, evolutionIoAdapter, fuzzyPatch, isPresent, isUnknown, liveBool, nearDuplicateSummaries, newSkillLibrary, normalizeFrontmatter, ownerCandidatesFromSummaries, ownerDecisionText, paramRowId, parseFrontmatter, policyStageLimits, probePresent, probeUnknown, projectExtractBodies, proposalFromPlan, protectedSkillNamesOf, resolveExecOrigins, sessionReadSkillNames, 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 } from "@deepseek-ai/dsh-tools";
|
|
@@ -740,7 +740,7 @@ function apply(ctx, rawConfig = {}) {
|
|
|
740
740
|
};
|
|
741
741
|
else {
|
|
742
742
|
proposal = JSON.stringify(proposalFromPlan(built.plan, { runId: "tool-" + Date.now().toString(36) }));
|
|
743
|
-
const ownerText = built.plan.owner
|
|
743
|
+
const ownerText = ownerDecisionText(built.plan.owner);
|
|
744
744
|
const decisionLine = `提取判定:outcome=${built.plan.outcome};target=${built.plan.target.name};owner=${ownerText}`;
|
|
745
745
|
const candidateLines = built.candidates.slice(0, 8).map((candidate) => "- " + candidate.name + ":" + candidate.description + (candidate.whenToUse === void 0 ? "" : ";whenToUse: " + candidate.whenToUse) + (candidate.headings.length === 0 ? "" : ";headings: " + candidate.headings.join(" / ")));
|
|
746
746
|
result = args.dry_run === true ? {
|
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.30.
|
|
4
|
+
"version": "0.30.39",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@deepseek-ai/schemastery": "^3.18.5",
|
|
30
|
-
"@lmzhen/dsh-evolution-approval": "^0.30.
|
|
31
|
-
"@lmzhen/dsh-evolution-core": "^0.30.
|
|
30
|
+
"@lmzhen/dsh-evolution-approval": "^0.30.39",
|
|
31
|
+
"@lmzhen/dsh-evolution-core": "^0.30.39"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@deepseek-ai/cordis": "^4.0.5",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"@deepseek-ai/dsh-system-prompt": "^0.2.1-rc.2",
|
|
37
37
|
"@deepseek-ai/dsh-tools": "^0.2.1-rc.2",
|
|
38
38
|
"@deepseek-ai/dsh-agent": "^0.2.1-rc.2",
|
|
39
|
-
"@lmzhen/dsh-evolution-io": "^0.30.
|
|
40
|
-
"@lmzhen/dsh-skill-usage": "^0.30.
|
|
39
|
+
"@lmzhen/dsh-evolution-io": "^0.30.39",
|
|
40
|
+
"@lmzhen/dsh-skill-usage": "^0.30.39"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@deepseek-ai/dsh-agent-loop-testkit": "^0.2.1-rc.2",
|
|
44
44
|
"@deepseek-ai/dsh-skill": "^0.2.1-rc.2",
|
|
45
45
|
"@deepseek-ai/dsh-system-prompt": "^0.2.1-rc.2",
|
|
46
46
|
"@deepseek-ai/dsh-tools": "^0.2.1-rc.2",
|
|
47
|
-
"@lmzhen/dsh-evolution-core": "^0.30.
|
|
48
|
-
"@lmzhen/dsh-evolution-io": "^0.30.
|
|
49
|
-
"@lmzhen/dsh-skill-usage": "^0.30.
|
|
47
|
+
"@lmzhen/dsh-evolution-core": "^0.30.39",
|
|
48
|
+
"@lmzhen/dsh-evolution-io": "^0.30.39",
|
|
49
|
+
"@lmzhen/dsh-skill-usage": "^0.30.39"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"dsh": ">=0.2.1-rc.2 <0.2.2-0"
|