"use strict";
var import_vitest = require("vitest");
var import_async_toolset = require("./async_toolset.cjs");
var import_tool_context = require("./tool_context.cjs");
(0, import_vitest.describe)("AsyncToolset", () => {
  const lookup = (0, import_tool_context.tool)({
    name: "lookup",
    description: "lookup",
    execute: async () => "ok"
  });
  (0, import_vitest.it)("is a scope container, not a separate async tool type", () => {
    const toolset = import_async_toolset.AsyncToolset.create({ id: "booking", tools: [lookup] });
    (0, import_vitest.expect)(toolset.id).toBe("booking");
    (0, import_vitest.expect)(toolset.tools).toEqual([lookup]);
    (0, import_vitest.expect)(toolset._executor).toBeDefined();
  });
});
//# sourceMappingURL=async_toolset.test.cjs.map