@lmzhen/dsh-evolution-maintenance 0.37.1 → 0.38.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/tools.js +3 -2
- package/package.json +5 -7
package/lib/tools.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as snapshotFromLibrary, i as enrichmentSnapshotOptions, n as computeProbe, r as buildEnrichment, t as PROBE_SIGNALS } from "./probe-Bojb0piw.js";
|
|
2
2
|
import { DEFAULT_PROBE_TIMEOUT_MS, MAX_TIMER_DELAY_MS, assertSkillsRootAliasRetired, authorityFrom, clampedNumber, newSkillLibrary, redactSecrets, resolveRootConfig } from "@lmzhen/dsh-evolution-core";
|
|
3
3
|
import z from "@deepseek-ai/schemastery";
|
|
4
|
-
import { defineTool } from "@
|
|
4
|
+
import { defineTool, toolsPort } from "@lmzhen/dsh-evolution-core/platform";
|
|
5
5
|
//#region lib/types/tools.js
|
|
6
6
|
/**
|
|
7
7
|
* `maintenance_probe` tool (011 Phase 3).
|
|
@@ -24,7 +24,8 @@ function apply(ctx, rawConfig = {}) {
|
|
|
24
24
|
const rootConfig = resolveRootConfig(rawConfig);
|
|
25
25
|
const probeTimeoutMs = clampedNumber(rawConfig.probeTimeoutMs, DEFAULT_PROBE_TIMEOUT_MS, { min: 1 });
|
|
26
26
|
ctx.inject(["tools"], (toolCtx) => {
|
|
27
|
-
const tools = toolCtx
|
|
27
|
+
const tools = toolsPort(toolCtx);
|
|
28
|
+
if (tools === void 0) return;
|
|
28
29
|
toolCtx.effect(() => tools.register(defineTool({
|
|
29
30
|
name: "maintenance_probe",
|
|
30
31
|
timeoutMs: probeTimeoutMs,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-maintenance",
|
|
3
3
|
"description": "Deterministic maintenance-scan surface: skill-library snapshot assembly, drift signals and mechanical-facts rendering (design 011) (community build)",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.38.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -31,18 +31,16 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@deepseek-ai/schemastery": "^3.18.5",
|
|
34
|
-
"@lmzhen/dsh-evolution-core": "^0.
|
|
34
|
+
"@lmzhen/dsh-evolution-core": "^0.38.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@deepseek-ai/cordis": "^4.0.5",
|
|
38
|
-
"@deepseek-ai/dsh-agent": "^0.2.
|
|
39
|
-
"@deepseek-ai/dsh-tools": "^0.2.1-rc.2"
|
|
38
|
+
"@deepseek-ai/dsh-agent": "^0.2.2-rc.0"
|
|
40
39
|
},
|
|
41
40
|
"devDependencies": {
|
|
42
|
-
"@deepseek-ai/dsh-agent": "^0.2.
|
|
43
|
-
"@deepseek-ai/dsh-tools": "^0.2.1-rc.2"
|
|
41
|
+
"@deepseek-ai/dsh-agent": "^0.2.2-rc.0"
|
|
44
42
|
},
|
|
45
43
|
"engines": {
|
|
46
|
-
"dsh": ">=0.2.
|
|
44
|
+
"dsh": ">=0.2.2-rc.0 <0.2.3-0"
|
|
47
45
|
}
|
|
48
46
|
}
|