mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 01:01:23 +00:00
fix(agents): restore missing runtime helpers and sandbox types
This commit is contained in:
@@ -78,8 +78,7 @@ const applyPatchSchema = Type.Object({
|
||||
|
||||
export function createApplyPatchTool(
|
||||
options: { cwd?: string; sandbox?: SandboxApplyPatchConfig } = {},
|
||||
// biome-ignore lint/suspicious/noExplicitAny: TypeBox schema type from pi-agent-core uses a different module instance.
|
||||
): AgentTool<any, ApplyPatchToolDetails> {
|
||||
): AgentTool<typeof applyPatchSchema, ApplyPatchToolDetails> {
|
||||
const cwd = options.cwd ?? process.cwd();
|
||||
const sandbox = options.sandbox;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user