mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 03:40:21 +00:00
refactor(deadcode): remove agent command shims
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
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 { ReplyPayload } from "../auto-reply/types.js";
|
||||||
import type { CliDeps } from "../cli/deps.js";
|
import type { CliDeps } from "../cli/deps.js";
|
||||||
import type { OpenClawConfig } from "../config/config.js";
|
import type { OpenClawConfig } from "../config/config.js";
|
||||||
import type { SessionEntry } from "../config/sessions.js";
|
import type { SessionEntry } from "../config/sessions.js";
|
||||||
import type { RuntimeEnv } from "../runtime.js";
|
import type { RuntimeEnv } from "../runtime.js";
|
||||||
import { deliverAgentCommandResult } from "./agent/delivery.js";
|
|
||||||
|
|
||||||
const mocks = vi.hoisted(() => ({
|
const mocks = vi.hoisted(() => ({
|
||||||
deliverOutboundPayloads: vi.fn(async () => []),
|
deliverOutboundPayloads: vi.fn(async () => []),
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
export * from "../../agents/command/delivery.js";
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
export * from "../../agents/command/run-context.js";
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
export * from "../../agents/command/session-store.js";
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
export * from "../../agents/command/types.js";
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
export {
|
|
||||||
formatApiKeyPreview,
|
|
||||||
normalizeApiKeyInput,
|
|
||||||
validateApiKeyInput,
|
|
||||||
} from "../plugins/provider-auth-input.js";
|
|
||||||
Reference in New Issue
Block a user