Files
kilocode/packages
Matt Van Horn c0cc71489a fix: avoid unnecessary project plugin dependencies (#13300)
* fix: avoid unnecessary project plugin dependencies

Fixes #12778

* test: move config plugin-dependency tests onto the Effect 4 API

zipRight, Effect.fork and Fiber.poll are gone in effect 4.0.0-beta.83, so
typecheck failed on this file. Uses andThen, forkChild and a bounded join.

* refactor: move plugin dependency logic into kilo-owned helper

Per review, extract the local plugin dependency install out of the upstream
config.ts and into packages/opencode/src/kilocode/config/plugin-deps.ts so the
upstream file keeps a minimal call and future merges have less to conflict on.

needsLocalPluginDependency owns the file:// specifier test and
installLocalPluginDependency owns the npm install effect, taking the npm
service, dir, version and local flag as parameters. Behavior is unchanged: the
plugins accumulator still collects both the file-loaded specs and the
ConfigPlugin.load results before the check, and the resulting fiber is still
pushed onto deps.

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-08-24 13:02:52 +02:00
..
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00
2026-08-20 12:26:16 +00:00