MohammadAminDHM
6286b7c2f1
fix(opencode): address review findings T01-T15 on the V2 plugin surface
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.
2026-11-03 18:59:18 +03:30
..
2026-10-29 19:14:07 -07:00
2026-10-29 15:22:45 -07:00
2026-10-20 10:47:58 -04:00
2026-10-29 11:30:27 -07:00
2026-10-29 17:25:42 -07:00
2026-10-29 19:42:27 -07:00
2026-10-28 12:20:21 +05:00
2026-11-03 18:59:18 +03:30
2026-10-28 12:20:21 +05:00
2026-11-03 18:59:18 +03:30
2026-10-29 17:25:42 -07:00
2026-04-12 12:34:45 +05:30
2026-10-11 01:55:54 -04:00
2026-08-06 15:39:49 -04:00
2026-05-11 05:31:12 -04:00
2026-09-28 00:38:00 -04:00
2026-10-11 14:21:25 -04:00
2026-10-01 17:50:41 -05:00
2026-11-03 18:59:18 +03:30
2026-10-28 22:32:41 +05:00
2026-07-28 21:37:41 -04:00
2026-10-10 20:11:00 +08:00
2026-10-10 21:02:19 +08:00
2026-10-20 10:47:58 -04:00
2026-10-11 19:59:01 -04:00
2026-08-11 14:15:57 -04:00
2026-08-11 14:15:57 -04:00
2026-08-28 15:59:31 -04:00
2026-10-11 14:05:46 +08:00
2026-10-25 17:51:30 -04:00
2026-09-14 13:49:18 +05:30
2026-10-29 12:57:39 -07:00
2026-10-11 05:33:44 -04:00
2026-10-11 03:53:41 -04:00
2026-10-11 02:26:58 -04:00
2026-10-11 08:56:29 -04:00
2026-10-26 10:48:53 +01:00
2026-10-26 08:36:24 +01:00
2026-09-10 15:31:36 +01:00
2026-09-10 15:31:36 +01:00
2026-09-10 15:31:36 +01:00
2026-09-10 15:31:36 +01:00
2026-09-10 15:31:36 +01:00
2026-09-10 15:31:36 +01:00
2026-09-10 15:31:36 +01:00
2026-09-10 15:31:36 +01:00
2026-05-11 05:31:12 -04:00
2026-08-11 14:15:57 -04:00
2026-10-27 16:52:35 -03:00