refactor(deadcode): remove agent command shims

This commit is contained in:
Peter Steinberger
2026-04-06 16:24:03 +01:00
parent d5bfc79112
commit cfb7779584
6 changed files with 1 additions and 10 deletions

View File

@@ -1,10 +1,10 @@
import { beforeEach, describe, expect, it, vi } from "vitest";
import { deliverAgentCommandResult } from "../agents/command/delivery.js";
import type { ReplyPayload } from "../auto-reply/types.js";
import type { CliDeps } from "../cli/deps.js";
import type { OpenClawConfig } from "../config/config.js";
import type { SessionEntry } from "../config/sessions.js";
import type { RuntimeEnv } from "../runtime.js";
import { deliverAgentCommandResult } from "./agent/delivery.js";
const mocks = vi.hoisted(() => ({
deliverOutboundPayloads: vi.fn(async () => []),

View File

@@ -1 +0,0 @@
export * from "../../agents/command/delivery.js";

View File

@@ -1 +0,0 @@
export * from "../../agents/command/run-context.js";

View File

@@ -1 +0,0 @@
export * from "../../agents/command/session-store.js";

View File

@@ -1 +0,0 @@
export * from "../../agents/command/types.js";

View File

@@ -1,5 +0,0 @@
export {
formatApiKeyPreview,
normalizeApiKeyInput,
validateApiKeyInput,
} from "../plugins/provider-auth-input.js";