refactor: return complete tool results inline

This commit is contained in:
morluto
2026-09-29 07:08:46 +08:00
parent 2160d4fae5
commit 0d96275b68
535 changed files with 4084 additions and 13537 deletions
+1 -4
View File
@@ -1,15 +1,12 @@
import { z } from "zod";
/** Shared bounded provider search input fields. */
/** Shared provider search input fields. */
export const analysisSearchInput = {
pattern: z
.string()
.min(1)
.max(256)
.describe("The literal text or bounded regex pattern to search for"),
mode: z.enum(["literal", "regex"]).default("literal"),
case_sensitive: z.boolean().default(false).describe("Whether to match case"),
offset: z.number().int().min(0).default(0),
limit: z.number().int().min(1).max(100).default(100),
document: z.string().optional().describe("The document name"),
};