mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-17 21:42:11 +00:00
P0: spawnCommand() replaces shell:true (cmd-shim routing with /d /s /c, quoted argv, windowsVerbatimArguments); permission.ask no longer auto-approves formatter/test shell prefixes; detached spawns register the error listener before resolving. P1: loadToolModule probes .js then .ts for dist and source layouts; V2 setup() tests via mock ctx; installer recognizes every historical plugin registration (./plugins and plugins/ecc-hooks.*) via shared isOpenCodeHookConfigRegistration(); ecc-universal ./plugins export repointed to the live dist/plugins/ecc-hooks.js; opencode.json drops the file-path plugin entry OpenCode 2.x ignores, docs updated. P2: setup() rolls back registrations and releases the directory guard on mid-setup failure; prettier non-zero exits reported as warn; subscription errors discriminated against abort; disposals awaited without unhandled rejections; windowsHide on all spawns; TROUBLESHOOTING curl passes location[directory]. Tests: opencode-plugin-hooks 22/22 (new T01/T02/T03/T05/T10/T11/T13/T14 coverage), build-opencode 11/11 (new T08 export test), hook-consent 12/12, install-executor 26/26, install-lifecycle 73/73, plugin-manifest 71/71.
77 lines
1.5 KiB
JSON
77 lines
1.5 KiB
JSON
{
|
|
"name": "ecc-universal",
|
|
"version": "2.2.3",
|
|
"description": "ECC plugin for OpenCode - agents, commands, hooks, and skills",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./plugins": {
|
|
"types": "./dist/plugins/ecc-hooks.d.ts",
|
|
"import": "./dist/plugins/ecc-hooks.js"
|
|
},
|
|
"./tools": {
|
|
"types": "./dist/tools/index.d.ts",
|
|
"import": "./dist/tools/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"commands",
|
|
"prompts",
|
|
"instructions",
|
|
"opencode.json",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "rm -rf dist",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"opencode",
|
|
"plugin",
|
|
"claude-code",
|
|
"agents",
|
|
"ecc",
|
|
"ai-coding",
|
|
"developer-tools",
|
|
"hooks",
|
|
"automation"
|
|
],
|
|
"author": "affaan-m",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/affaan-m/ECC.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/affaan-m/ECC/issues"
|
|
},
|
|
"homepage": "https://github.com/affaan-m/ECC#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"dependencies": {
|
|
"zod": "4.6.7"
|
|
},
|
|
"peerDependencies": {
|
|
"@opencode-ai/plugin": ">=1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@opencode-ai/plugin": "^1.4.3",
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"overrides": {
|
|
"zod": "4.6.7"
|
|
}
|
|
}
|