diff --git a/src/agent/tools/git/blame.ts b/src/agent/tools/git/blame.ts index 35ba695c3bcb268eb6a6c3147d9465524b70bed8..90768f01e5d7c612a1c2cd19f5b03ed9d6ced1ce 100644 --- a/src/agent/tools/git/blame.ts +++ b/src/agent/tools/git/blame.ts @@ -6,7 +6,7 @@ import { Type } from "@sinclair/typebox"; import type { AgentTool } from "@mariozechner/pi-agent-core"; import simpleGit from "simple-git"; import { ToolInputError } from "../../../util/errors.js"; -import { formatSize, truncateHead } from "../../../util/truncate.js"; +import { DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, formatSize, truncateHead } from "../../../util/truncate.js"; // Trust boundary: refs and paths are passed directly to simple-git, which is // scoped to the workspace. The user chose to clone this repo, so its contents diff --git a/src/agent/tools/git/diff.ts b/src/agent/tools/git/diff.ts index b69a7744df77044467bf29796c688ce2fad5a0b5..d7ce739170de6ea830128742fa44f87f9336322b 100644 --- a/src/agent/tools/git/diff.ts +++ b/src/agent/tools/git/diff.ts @@ -6,7 +6,7 @@ import { Type } from "@sinclair/typebox"; import type { AgentTool } from "@mariozechner/pi-agent-core"; import simpleGit from "simple-git"; import { ToolInputError } from "../../../util/errors.js"; -import { formatSize, truncateHead } from "../../../util/truncate.js"; +import { DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, formatSize, truncateHead } from "../../../util/truncate.js"; // Trust boundary: refs and paths are passed directly to simple-git, which is // scoped to the workspace. The user chose to clone this repo, so its contents diff --git a/src/agent/tools/git/show.ts b/src/agent/tools/git/show.ts index 888020ccf84dddfe75e66e50acb6be6822e67adc..a9960232bf2293f6b23106c37bc7dd066b1850ea 100644 --- a/src/agent/tools/git/show.ts +++ b/src/agent/tools/git/show.ts @@ -6,7 +6,7 @@ import { Type } from "@sinclair/typebox"; import type { AgentTool } from "@mariozechner/pi-agent-core"; import simpleGit from "simple-git"; import { ToolInputError } from "../../../util/errors.js"; -import { formatSize, truncateHead } from "../../../util/truncate.js"; +import { DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, formatSize, truncateHead } from "../../../util/truncate.js"; // Trust boundary: refs and paths are passed directly to simple-git, which is // scoped to the workspace. The user chose to clone this repo, so its contents