fix: clean up current main ci fallout

This commit is contained in:
Peter Steinberger
2026-05-02 05:41:47 +01:00
parent 4d801fadab
commit 40c8ce844c
3 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
import { beforeEach, describe, expect, it, vi } from "vitest";
import type { CallGatewayOptions } from "../gateway/call.js";
import { SUBAGENT_ENDED_REASON_COMPLETE } from "./subagent-lifecycle-events.js";
import { createSubagentRegistryLifecycleController } from "./subagent-registry-lifecycle.js";
import type { SubagentRunRecord } from "./subagent-registry.types.js";
@@ -121,7 +122,9 @@ function createLifecycleController({
emitSubagentEndedHookForRun: vi.fn(async () => {}),
notifyContextEngineSubagentEnded: vi.fn(async () => {}),
resumeSubagentRun: vi.fn(),
callGateway: gatewayMocks.callGateway,
callGateway: gatewayMocks.callGateway as <T = Record<string, unknown>>(
opts: CallGatewayOptions,
) => Promise<T>,
captureSubagentCompletionReply: vi.fn(async () => "final completion reply"),
runSubagentAnnounceFlow: vi.fn(async () => true),
warn: vi.fn(),

View File

@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { PluginLruCache } from "./plugin-lru-cache.js";
import { PluginLruCache } from "./plugin-cache-primitives.js";
describe("PluginLruCache", () => {
it("evicts the least recently used entry", () => {

View File

@@ -1 +0,0 @@
export { PluginLruCache, type PluginLruCacheResult } from "./plugin-cache-primitives.js";