@lmzhen/dsh-evolution-threat 0.31.0 → 0.32.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/types/index.d.ts +4 -1
- package/package.json +3 -3
package/lib/types/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* Write-time threat guard for evolution tools.
|
|
3
3
|
* @module @lmzhen/dsh-evolution-threat
|
|
4
4
|
*/
|
|
5
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
5
|
+
import type { Context as CordisContext } from '@deepseek-ai/cordis';
|
|
6
|
+
import type { Context as HostContext } from '@deepseek-ai/cordis/src/context.ts';
|
|
7
|
+
type Context = CordisContext & HostContext;
|
|
6
8
|
import z from '@deepseek-ai/schemastery';
|
|
7
9
|
import type { ScanOptions } from '@lmzhen/dsh-evolution-core';
|
|
8
10
|
export declare const name = "evolution-threat";
|
|
@@ -29,4 +31,5 @@ export declare function scanToolArgs(toolName: string, args: unknown, maxScanCha
|
|
|
29
31
|
* user-supplied value was corrected. */
|
|
30
32
|
export declare function resolveMaxScanChars(config: Config): number;
|
|
31
33
|
export declare function apply(ctx: Context, rawConfig?: Config): void;
|
|
34
|
+
export {};
|
|
32
35
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-threat",
|
|
3
3
|
"description": "Write-time threat guard for evolution tools (community build)",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.32.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@deepseek-ai/schemastery": "^3.18.5",
|
|
30
|
-
"@lmzhen/dsh-evolution-core": "^0.
|
|
30
|
+
"@lmzhen/dsh-evolution-core": "^0.32.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "^4.0.5",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@deepseek-ai/dsh-agent-loop-testkit": "^0.2.1-rc.2",
|
|
38
38
|
"@deepseek-ai/dsh-tools": "^0.2.1-rc.2",
|
|
39
|
-
"@lmzhen/dsh-evolution-core": "^0.
|
|
39
|
+
"@lmzhen/dsh-evolution-core": "^0.32.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"dsh": ">=0.2.1-rc.2 <0.2.2-0"
|