-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 4.36 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 4.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
88
89
90
91
92
93
94
95
96
97
{
"name": "opencode-plusplus",
"version": "0.1.1",
"description": "OpenCode++ adds context, boundaries, evidence, verification gates, and repair loops to OpenCode.",
"type": "module",
"workspaces": [
"apps/desktop"
],
"bin": {
"opencode-plusplus": "./dist/cli/index.js",
"opencode-plusplus-mcp": "./dist/mcp/server.js"
},
"files": [
".env.example",
"dist/**/*.js",
"README.md",
"README.en.md",
"README.zh-CN.md",
"opencode-plusplus.config.example.yml",
"opencode-plusplus.local.example.yml"
],
"scripts": {
"package-info:generate": "node scripts/generate-package-info.mjs",
"package-info:check": "node scripts/generate-package-info.mjs --check",
"clean:build": "node scripts/clean-build.mjs",
"prebuild:core": "npm run package-info:generate",
"build": "npm run build:core && npm run build:desktop",
"build:core": "tsc -p tsconfig.json && node scripts/ensure-bin-executable.mjs",
"build:desktop": "npm run build --workspace @opencode-plusplus/desktop",
"predev": "npm run package-info:generate",
"dev": "tsx src/cli/index.ts",
"premcp": "npm run package-info:generate",
"mcp": "tsx src/mcp/server.ts",
"check": "npm run check:core && npm run check:desktop",
"precheck:core": "npm run package-info:generate",
"check:core": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json",
"check:desktop": "npm run check --workspace @opencode-plusplus/desktop",
"lint": "npm run lint:core && npm run lint:desktop",
"lint:core": "eslint \"src/**/*.ts\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\"",
"lint:desktop": "npm run lint --workspace @opencode-plusplus/desktop",
"format": "prettier --ignore-unknown --write \"src/**/*.ts\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"apps/desktop/**/*.{ts,tsx,js,jsx,json,css,html,md}\" \"README*.md\" \"docs/**/*.md\" \"*.{json,yml,yaml,cjs,js}\" \".github/**/*.yml\" \".env.example\" \"benchmarks/README.md\" \"benchmarks/expected/*.json\" \"benchmarks/tasks/*.json\" \"benchmarks/agent-runs/*.json\" \"benchmarks/fixtures/**/*.json\"",
"format:check": "prettier --ignore-unknown --check \"src/**/*.ts\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"apps/desktop/**/*.{ts,tsx,js,jsx,json,css,html,md}\" \"README*.md\" \"docs/**/*.md\" \"*.{json,yml,yaml,cjs,js}\" \".github/**/*.yml\" \".env.example\" \"benchmarks/README.md\" \"benchmarks/expected/*.json\" \"benchmarks/tasks/*.json\" \"benchmarks/agent-runs/*.json\" \"benchmarks/fixtures/**/*.json\"",
"docs:cli": "tsx scripts/generate-cli-docs.ts",
"docs:cli:check": "tsx scripts/generate-cli-docs.ts --check",
"test": "npm run test:core",
"pretest:core": "npm run package-info:generate",
"test:core": "tsx --test test/*.test.ts",
"test:windows": "tsx --test test/safe-command.test.ts test/task-args.test.ts test/opencode-launcher.test.ts",
"benchmark": "tsx src/cli/index.ts benchmark benchmarks --top-k 8",
"benchmark:agent": "tsx src/cli/index.ts benchmark-agent benchmarks --executor mock --dry-run",
"benchmark:agent:real": "tsx src/cli/index.ts benchmark-agent-real benchmarks",
"pack:dry-run": "npm pack --dry-run --ignore-scripts",
"pack:json": "npm pack --json --dry-run --ignore-scripts",
"release:verify": "node scripts/verify-release.mjs --all",
"prepublishOnly": "npm run clean:build && npm run check && npm run lint && npm run format:check && npm run docs:cli:check && npm test && npm run benchmark && npm run benchmark:agent && npm run build && npm run release:verify"
},
"engines": {
"node": ">=20"
},
"repository": {
"type": "git",
"url": "https://github.com/whut09/opencode-plusplus.git"
},
"keywords": [
"opencode",
"opencode-plugin",
"opencode-ai",
"opencode-plusplus",
"opencode-harness",
"coding-agent",
"agent-harness",
"mcp",
"verification",
"regression-guard",
"hallucination-guard"
],
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.18.0",
"commander": "^14.0.2",
"fast-glob": "^3.3.3",
"ignore": "^7.0.5",
"js-tiktoken": "^1.0.21",
"js-yaml": "^4.1.0",
"typescript": "^5.9.3",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^24.9.1",
"eslint": "^9.39.4",
"prettier": "^3.8.4",
"tsx": "^4.20.6",
"typescript-eslint": "^8.61.0"
}
}