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
+8
View File
@@ -101,6 +101,14 @@ describe("browser observation contracts", () => {
max_total_websocket_shape_bytes: 1_048_576,
},
});
expect(
inspectWebPageInputSchema.safeParse({
cdp_endpoint: "http://127.0.0.1:9222",
allowed_origins: ["https://app.example.test"],
target_id: "page-1",
limits: {},
}).success,
).toBe(false);
});
});