refactor(plugin-runtime): remove plugin-specific core seams

This commit is contained in:
Peter Steinberger
2026-04-03 13:07:04 +01:00
parent 4846ebce12
commit f59d0eac68
79 changed files with 1062 additions and 2628 deletions

View File

@@ -333,12 +333,7 @@ export function createPluginRuntimeMock(overrides: DeepPartial<PluginRuntime> =
setMaxAgeBySessionKey:
vi.fn() as unknown as PluginRuntime["channel"]["threadBindings"]["setMaxAgeBySessionKey"],
},
discord: {} as PluginRuntime["channel"]["discord"],
activity: {} as PluginRuntime["channel"]["activity"],
line: {} as PluginRuntime["channel"]["line"],
slack: {} as PluginRuntime["channel"]["slack"],
matrix: {} as PluginRuntime["channel"]["matrix"],
signal: {} as PluginRuntime["channel"]["signal"],
},
events: {
onAgentEvent: vi.fn(() => () => {}) as unknown as PluginRuntime["events"]["onAgentEvent"],