refactor(observation): internalize capture budgets

This commit is contained in:
morluto
2026-09-29 12:16:10 +08:00
parent 8c24272ee7
commit 7b3c797237
24 changed files with 202 additions and 466 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { describe, expect, it } from "vitest";
import {
inspectWebPageInputSchema,
inspectWebPageToolInputSchema,
webPageInspectionSchema,
} from "./browserObservation.js";
import { analyzeCapturedWebBundle } from "./webBundleAnalyzer.js";
@@ -142,7 +142,7 @@ describe("web bundle analyzer", () => {
const input = (overrides: Record<string, unknown> = {}) =>
analyzeWebBundleInputSchema.parse({
...inspectWebPageInputSchema.parse({
...inspectWebPageToolInputSchema.parse({
cdp_endpoint: "http://127.0.0.1:9222",
allowed_origins: [origin],
target_id: "page-1",