-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.36 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.36 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "opencode-fireman",
"version": "0.0.1",
"description": "Lightweight OpenCode plugin that warns agents about structurally asymmetric code regions before refactoring",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./detector": {
"types": "./dist/detector.d.ts",
"import": "./dist/detector.js"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist *.tgz",
"build": "bun run clean && tsc -p tsconfig.build.json",
"typecheck": "tsc --noEmit",
"bench": "bun bench/harness/run.ts",
"sim": "bun src/similarity/test.ts",
"characterize": "bun src/similarity/characterize-test.ts",
"smoke": "bun scripts/smoke.mjs",
"consumer-test": "bash scripts/consumer-test.sh",
"test": "bun run typecheck && bun run bench",
"pack:check": "bun run build && bun pm pack --dry-run",
"prepublishOnly": "bun run typecheck && bun run bench && bun run build && bun run smoke",
"llm-resolve": "bun src/similarity/llm-resolve-test.ts",
"plugin-smoke": "bun src/plugin-smoke.ts",
"metrics": "bun src/similarity/metric-comparison.ts",
"metric-sweep": "bun src/similarity/metric-sweep.ts",
"plugin-compat": "bun src/plugin-compat-test.ts"
},
"peerDependencies": {
"@opencode-ai/plugin": "*"
},
"peerDependenciesMeta": {
"@opencode-ai/plugin": {
"optional": true
}
},
"devDependencies": {
"@opencode-ai/plugin": "*",
"@types/node": "^22.0.0"
},
"engines": {
"bun": ">=1.1.0"
},
"keywords": [
"opencode",
"opencode-plugin",
"agent",
"refactor-safety",
"static-analysis"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/your-org/opencode-fireman.git"
},
"publishConfig": {
"access": "public",
"provenance": false
},
"dependencies": {
"tree-sitter-c": "^0.24.1",
"tree-sitter-cpp": "^0.23.4",
"tree-sitter-java": "^0.23.5",
"tree-sitter-php": "^0.24.2",
"tree-sitter-python": "^0.25.0",
"tree-sitter-scala": "^0.24.0",
"typescript": "^5.7.0",
"web-tree-sitter": "^0.26.8"
}
}