@@ -2,8 +2,8 @@ import { randomUUID } from "node:crypto";
|
2 | 2 | import path from "node:path"; |
3 | 3 | import { fileURLToPath, pathToFileURL } from "node:url"; |
4 | 4 | import { Worker } from "node:worker_threads"; |
5 | | -import type { AgentToolUpdateCallback } from "@mariozechner/pi-agent-core"; |
6 | | -import type { ToolDefinition } from "@mariozechner/pi-coding-agent"; |
| 5 | +import type { AgentToolUpdateCallback } from "@earendil-works/pi-agent-core"; |
| 6 | +import type { ToolDefinition } from "@earendil-works/pi-coding-agent"; |
7 | 7 | import { Type } from "typebox"; |
8 | 8 | import type { OpenClawConfig } from "../config/types.openclaw.js"; |
9 | 9 | import type { HookContext } from "./pi-tools.before-tool-call.js"; |
@@ -17,7 +17,6 @@ import {
|
17 | 17 | TOOL_SEARCH_RAW_TOOL_NAME, |
18 | 18 | ToolSearchRuntime, |
19 | 19 | type ToolSearchCatalogRef, |
20 | | -type ToolSearchCatalogToolExecutor, |
21 | 20 | type ToolSearchConfig, |
22 | 21 | type ToolSearchToolContext, |
23 | 22 | } from "./tool-search.js"; |
@@ -572,7 +571,6 @@ async function runExec(params: {
|
572 | 571 | throw new ToolInputError("code mode is disabled."); |
573 | 572 | } |
574 | 573 | const runtime = new ToolSearchRuntime(params.ctx, toToolSearchConfig(config)); |
575 | | -const pendingRequests: PendingBridgeRequest[] = []; |
576 | 574 | let source: string; |
577 | 575 | try { |
578 | 576 | source = await prepareSource({ code: params.code, language: params.language, config }); |
|