Q28: agents list, read, and update company documents

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 05:56:55 -04:00
1 parent ec9d74d128
commit 84fed8e2f2
7 files changed
+177 -4

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
import { optionalText } from "./agent-tool-args";
import type { JsonRecord } from "./provider-http";
const PAGE_CHAR_LIMIT = 24_000;
@@ -18,7 +19,7 @@ export const PAGE_TOOL_PROPERTIES = {
} as const;
export function readPageArgs(args: JsonRecord): PageRequest {
const search = typeof args.search === "string" && args.search.trim() ? args.search.trim() : null;
const search = optionalText(args.search, "search");
return {
startLine: positiveInteger(args.start_line, "start_line") ?? 1,
startColumn: positiveInteger(args.start_column, "start_column") ?? 1,