Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 3.07 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "@argszero/cordis-plugin-thinking-loop-guard",
"description": "Thinking-loop guard for dsh: observes the llm/stream waterfall and breaks a model that degrades into a loop. Detects three per-call shapes (reasoning-only calls, restated-material calls, self-repeating low-entropy reasoning) and re-fires instead of latching; plus three mid-stream breakers that end a single call repeating itself — maxRepeatedText for identical visible deltas, maxRepeatedCycleChars for a cycled visible bleed, and maxRepeatedReasoningCycleChars for a cycled bleed in the REASONING channel, which no other shipped rule can reach (the visible breaker never sees a reasoning delta, and the per-call judgement reads reasoning only after the call has ended). Ships an offline session analyzer that replays a session jsonl through the same decision rules and reports its own parse coverage, so a zero over an unreadable file cannot be mistaken for health. Compatible with every published dsh line from 0.1.2-rc.1 through 0.2.1-rc.2 (each one run, with the stream-grammar transcription frozen where upstream deleted the module it was checked against); writes its reactions under a producer-owned message source, because session format v4 refuses the retired bare `plugin` kind.",
"version": "0.3.3",
"type": "module",
"main": "lib/index.js",
"types": "lib/types/index.d.ts",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"default": "./lib/index.js"
},
"./src/*": "./src/*",
"./tools/*": "./tools/*",
"./package.json": "./package.json"
},
"files": [
"lib/index.js",
"lib/types/**/*.d.ts",
"tools/analyze-session.mjs",
"cordis.patch.yml",
"README.md",
"LICENSE"
],
"license": "MIT",
"keywords": [
"cordis",
"deepseek-harness",
"dsh",
"plugin",
"guard",
"thinking-loop",
"reasoning",
"repetition",
"circuit-breaker",
"output-guard"
],
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
}
},
"peerDependencies": {
"@deepseek-ai/cordis": "^4.0.2",
"@deepseek-ai/dsh-agent": ">=0.1.2-rc.1 <0.1.3 || >=0.1.3-alpha.2 <0.1.4 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0 || >=0.1.7-alpha.1 <0.2.0 || >=0.2.0-rc.1 <0.2.1 || >=0.2.1-alpha.1 <0.3.0-0",
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.1.3 || >=0.1.3-alpha.2 <0.1.4 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0 || >=0.1.7-alpha.1 <0.2.0 || >=0.2.0-rc.1 <0.2.1 || >=0.2.1-alpha.1 <0.3.0-0"
},
"dependencies": {
"@deepseek-ai/schemastery": "^3.18.1"
},
"devDependencies": {
"@deepseek-ai/cordis": "^4.0.2",
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
"semver": "^7.8.5",
"typescript": "^5.5.0"
},
"scripts": {
"build": "tsc",
"prepublishOnly": "tsc",
"test": "node --test \"test/*.spec.mjs\"",
"analyze": "node tools/analyze-session.mjs",
"test:probe-lines": "node scripts/probe-lines.mjs"
},
"peerDependenciesMeta": {
"@deepseek-ai/dsh-agent": {
"optional": false
},
"@deepseek-ai/dsh-llm": {
"optional": false
}
}
}