The open-source agent harness - the runtime layer that turns an LLM into a working agent.
import { boolean } from "../../../../src/core/schemas/builders";
import { itSchemaIdentity } from "../utils/itSchema";
import { itValidate } from "../utils/itValidate";
describe("boolean", () => {
itSchemaIdentity(boolean(), true);
itValidate("non-boolean", boolean(), {}, [
{
path: [],
message: "Expected boolean. Received object.",
},
]);
});