@michengai/dsh-skills-manager 1.2.5 → 1.2.7
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/CHANGELOG.md +10 -0
- package/CHANGELOG.zh-CN.md +10 -0
- package/README.md +25 -25
- package/README.zh-CN.md +25 -25
- package/lib/client.js +4 -4
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/lib/core.js
CHANGED
|
@@ -2746,7 +2746,7 @@ async function listProviderCandidates(options = {}) {
|
|
|
2746
2746
|
const project = root.scope === "project";
|
|
2747
2747
|
const policyOnly = root.mutable && root.key !== "agents";
|
|
2748
2748
|
const overlayRank = group.length > 1 ? Math.min(...group.map((item) => Math.min(item.root.rank, item.entry.providerRank ?? item.root.rank))) - 1 : void 0;
|
|
2749
|
-
const needsOverlay = !policyOnly || group.length > 1 || policy.override !== void 0 || !entry.invocationPolicyValid || policyResult.writable === false;
|
|
2749
|
+
const needsOverlay = !policyOnly || group.length > 1 || policy.override !== void 0 || !entry.invocationPolicyValid || policyResult.writable === false || !policy.sourceEnabled;
|
|
2750
2750
|
if (!needsOverlay) continue;
|
|
2751
2751
|
candidates.push({
|
|
2752
2752
|
name: canonicalSkillName({ root, entry, policy }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-skills-manager",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "DSH Skills Manager — 在 DeepSeek Harness 中统一加载并安全管理本机 Agent Skills · Load and safely manage local Agent Skills in DSH",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|