mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 12:50:42 +00:00
refactor: remove legacy agent dir resolver
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { resolveOpenClawAgentDir } from "openclaw/plugin-sdk/agent-runtime";
|
||||
import { resolveDefaultAgentDir } from "openclaw/plugin-sdk/agent-runtime";
|
||||
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-types";
|
||||
import { createTestPluginApi } from "openclaw/plugin-sdk/plugin-test-api";
|
||||
import { getRuntimeConfig } from "openclaw/plugin-sdk/runtime-config-snapshot";
|
||||
@@ -42,7 +42,7 @@ describeLive("comfy live", () => {
|
||||
|
||||
beforeAll(async () => {
|
||||
cfg = withPluginsEnabled(getRuntimeConfig());
|
||||
agentDir = resolveOpenClawAgentDir();
|
||||
agentDir = resolveDefaultAgentDir(cfg as never);
|
||||
plugin.register(
|
||||
createTestPluginApi({
|
||||
config: cfg as never,
|
||||
|
||||
Reference in New Issue
Block a user