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
-10
View File
@@ -195,20 +195,10 @@ export const electronPageInspectionOptions = z.object({
});
export const javascriptApplicationOptions = z.object({
approved: z
.boolean()
.default(false)
.describe("Approve reading the application artifact"),
artifactFormat: z
.enum(["auto", "asar", "directory"])
.default("auto")
.describe("Application artifact format"),
sourceMapReadApproved: z
.boolean()
.default(false)
.describe(
"Approve reading local source maps referenced by the application",
),
maxEntries: positiveCount("artifact entries to inspect", 8_000),
maxTotalArtifactBytes: positiveCount(
"total uncompressed artifact content to inspect",