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-19 00:14:28 -04:00
2026-10-08 11:44:07 +09:00
2026-10-29 12:36:47 +08:00
2026-09-12 04:35:38 -04:00
2026-10-12 01:25:09 +08:00
2026-11-03 18:59:18 +03:30
2026-10-29 17:02:31 -07:00
2026-08-25 12:17:21 -04:00
2026-10-03 20:20:40 +05:30
2026-10-10 20:38:40 -04:00
2026-10-25 19:16:34 -04:00
2026-04-01 16:09:54 -07:00
2026-10-29 12:36:36 +08:00
2026-06-07 13:00:08 +08:00
2026-07-26 03:20:15 -07:00
2026-10-10 17:35:45 -04:00
2026-10-10 17:43:18 -04:00
2026-10-10 17:43:18 -04:00
2026-10-10 17:43:18 -04:00
2026-10-29 21:37:41 +05:00
2026-10-11 13:47:57 -04:00
2026-08-12 00:43:58 -04:00
2026-08-30 18:54:00 -04:00
2026-10-01 17:50:41 -05:00
2026-10-11 15:36:49 -04:00
2026-09-14 13:49:18 +05:30
2026-08-06 15:39:49 -04:00
2026-07-23 19:28:55 -07:00
2026-09-27 16:46:07 -04:00
2026-09-27 16:46:07 -04:00
2026-10-10 17:44:29 -04:00
2026-10-07 17:13:59 +00:00
2026-10-07 17:13:59 +00:00
2026-09-27 16:46:07 -04:00
2026-10-07 17:13:59 +00:00
2026-10-08 16:46:41 +00:00
2026-09-27 16:46:07 -04:00
2026-09-27 16:46:07 -04:00
2026-09-27 16:46:07 -04:00
2026-10-07 17:19:46 +00:00
2026-10-11 11:10:53 -04:00
2026-10-07 17:19:46 +00:00
2026-10-10 17:48:20 -04:00
2026-10-11 11:10:53 -04:00
2026-09-10 14:11:51 +03:00
2026-04-30 02:19:57 -04:00
2026-05-11 02:53:28 -04:00
2026-08-04 21:42:25 -04:00
2026-10-21 14:58:50 +08:00
2026-09-30 00:23:08 -04:00
2026-10-19 23:39:18 -04:00
2026-10-19 22:18:32 -04:00
2026-09-29 21:50:26 -04:00
2026-09-29 21:50:26 -04:00
2026-10-19 23:39:18 -04:00
2026-10-11 05:35:14 -04:00
2026-09-30 11:35:49 -04:00
2026-10-25 17:47:30 -04:00
2026-09-30 12:13:10 -04:00
2026-06-11 14:05:42 -04:00
2026-05-17 20:32:09 -04:00
2026-08-06 15:39:49 -04:00
2026-10-10 17:49:37 -04:00
2026-10-09 18:54:39 -04:00
2026-09-04 20:58:17 +01:00
2026-10-15 23:22:53 +05:30
2026-10-08 23:46:56 +02:00
2026-09-12 02:59:02 -04:00
2026-10-20 18:41:32 -04:00
2026-10-29 11:26:56 -07:00
2026-10-19 22:18:32 -04:00
2026-10-10 17:38:04 -04:00
2026-08-25 12:17:21 -04:00
2026-10-10 19:54:44 -04:00
2026-10-01 17:50:41 -05:00
2026-08-25 12:37:53 -04:00
2026-08-07 14:53:13 -04:00
2026-10-29 17:37:52 -07:00
2026-07-27 11:11:29 -07:00
2026-04-05 14:37:28 -07:00
2026-07-26 02:46:59 -07:00
2026-09-12 07:45:40 -04:00
2026-09-07 16:26:10 -04:00
2026-09-07 17:57:26 -04:00
2026-10-19 23:39:18 -04:00
2026-10-29 12:57:39 -07:00
2026-08-25 12:17:21 -04:00
2026-03-14 12:55:25 -07:00
2026-02-12 15:57:20 -08:00
2026-07-19 19:39:23 +02:00
2026-08-06 15:39:49 -04:00
2026-09-28 00:57:22 -04:00
2026-10-19 22:18:32 -04:00
2026-10-15 16:38:43 +05:00
2026-10-26 18:39:04 +00:00
2026-10-22 23:51:32 +02:00
2026-10-01 14:59:29 +08:00
2026-10-20 17:40:59 -04:00
2026-05-19 04:57:10 -04:00
2026-09-13 05:14:26 +08:00
2026-03-24 23:08:27 -04:00
2026-07-03 21:10:45 -07:00
2026-03-07 14:47:49 -08:00
2026-10-29 18:58:18 +00:00
2026-10-11 09:42:05 -04:00
2026-08-06 15:39:49 -04:00
2026-08-06 15:39:49 -04:00
2026-03-18 03:03:31 -07:00
2026-10-29 19:42:27 -07:00
2026-10-25 19:43:37 -04:00
2026-10-25 19:32:16 -04:00
2026-10-09 15:56:14 -04:00