refactor(core): simplify plugin entrypoint resolution

This commit is contained in:
Dax Raad
2026-07-13 22:45:15 -04:00
parent 5cf24bf185
commit 2a08cd3b96
5 changed files with 35 additions and 72 deletions
+1 -5
View File
@@ -134,7 +134,7 @@ describe("PluginSupervisor config", () => {
),
)
it.live("loads auto-discovered plugin files and packages", () =>
it.live("loads auto-discovered plugin files", () =>
withLocation(
undefined,
Effect.gen(function* () {
@@ -143,9 +143,6 @@ describe("PluginSupervisor config", () => {
expect(yield* agents.get(AgentV2.ID.make("directory"))).toMatchObject({
description: "Loaded from plugin directory",
})
expect(yield* agents.get(AgentV2.ID.make("folder"))).toMatchObject({
description: "Loaded from plugin folder",
})
}),
true,
),
@@ -195,7 +192,6 @@ describe("PluginSupervisor config", () => {
yield* ready()
const agents = yield* AgentV2.Service
expect(yield* agents.get(AgentV2.ID.make("directory"))).toBeUndefined()
expect(yield* agents.get(AgentV2.ID.make("folder"))).toBeUndefined()
}),
true,
),