mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 03:56:55 +03:00
fix(core): drop early guarded plugin activation (#53819)
This commit is contained in:
committed by
GitHub
Unverified
parent
162bc6922b
commit
be19c7612f
@@ -159,8 +159,6 @@ export const layer = Layer.effectDiscard(
|
||||
revision: "internal",
|
||||
source: { type: "builtin" as const },
|
||||
}))
|
||||
// Load the Console connection and its organization policies before importing external modules.
|
||||
if (current === 1) yield* registry.activate(pre.filter((plugin) => PluginInternal.guarded.has(plugin.id)))
|
||||
const operations = yield* sources.operations()
|
||||
// Activate everything available locally before waiting on missing package installs.
|
||||
const immediate = yield* resolve(modules, pre, post, operations, false, running)
|
||||
|
||||
Reference in New Issue
Block a user