opencode-doom-loop-detector 0.1.0 → 0.1.1
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/README.md +7 -1
- package/package.json +42 -40
package/README.md
CHANGED
|
@@ -17,7 +17,13 @@ Every stop goes through the existing `doom_loop` permission ask, so intentional
|
|
|
17
17
|
|
|
18
18
|
## Install
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Either use the CLI:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
opencode plugin add opencode-doom-loop-detector
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Or add the package to your `opencode.jsonc` directly (opencode installs missing npm plugins automatically at startup):
|
|
21
27
|
|
|
22
28
|
```jsonc
|
|
23
29
|
{
|
package/package.json
CHANGED
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "opencode-doom-loop-detector",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Doom-loop detection for opencode v2: catches repeated tool-call loops (consecutive, periodic rotation, failure streaks) and stops them through the existing doom_loop permission ask.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"@opencode/
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"@opencode/
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "opencode-doom-loop-detector",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Doom-loop detection for opencode v2: catches repeated tool-call loops (consecutive, periodic rotation, failure streaks) and stops them through the existing doom_loop permission ask.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": "github:metal-huang/opencode-doom-loop-detector",
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"src",
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "bun build src/index.ts --outfile dist/index.js --external @opencode/plugin --external @opencode/schema --external effect",
|
|
20
|
+
"typecheck": "tsc --noEmit",
|
|
21
|
+
"test": "bun test"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@opencode/plugin": "^2.2.5",
|
|
25
|
+
"@opencode/schema": "^2.2.5",
|
|
26
|
+
"effect": "4.0.6"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@opencode/plugin": "^2.2.5",
|
|
30
|
+
"@opencode/schema": "^2.2.5",
|
|
31
|
+
"effect": "4.0.6",
|
|
32
|
+
"typescript": "^5.9.0"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"opencode",
|
|
36
|
+
"opencode-plugin",
|
|
37
|
+
"plugin",
|
|
38
|
+
"doom-loop",
|
|
39
|
+
"loop-detection",
|
|
40
|
+
"agent"
|
|
41
|
+
]
|
|
42
|
+
}
|