mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-17 12:11:20 +00:00
refactor(cli): remove stale cli provider leftovers
This commit is contained in:
@@ -583,7 +583,6 @@ function describeCronSeamKinds(relativePath, source) {
|
||||
|
||||
const seamKinds = [];
|
||||
const importsAgentRunner = hasAnyImportSource(source, [
|
||||
"../../agents/cli-runner.js",
|
||||
"../../agents/pi-embedded.js",
|
||||
"../../agents/model-fallback.js",
|
||||
"../../agents/subagent-registry.js",
|
||||
@@ -625,9 +624,7 @@ function describeCronSeamKinds(relativePath, source) {
|
||||
|
||||
if (
|
||||
importsAgentRunner &&
|
||||
/\brunCliAgent\b|\brunEmbeddedPiAgent\b|\brunWithModelFallback\b|\bregisterAgentRunContext\b/.test(
|
||||
source,
|
||||
)
|
||||
/\brunEmbeddedPiAgent\b|\brunWithModelFallback\b|\bregisterAgentRunContext\b/.test(source)
|
||||
) {
|
||||
seamKinds.push("cron-agent-handoff");
|
||||
}
|
||||
|
||||
@@ -908,8 +908,6 @@ if (!inspect.gatewayMethods.includes("demo.marketplace.shortcut.v2")) {
|
||||
console.log("ok");
|
||||
NODE
|
||||
|
||||
echo "Running bundle MCP CLI-agent e2e..."
|
||||
pnpm exec vitest run --config vitest.e2e.config.ts src/agents/cli-runner.bundle-mcp.e2e.test.ts
|
||||
EOF
|
||||
|
||||
echo "OK"
|
||||
|
||||
Reference in New Issue
Block a user