"use strict";
var import_vitest = require("vitest");
var import_generator = require("./generator.cjs");
(0, import_vitest.describe)("generator", () => {
  (0, import_vitest.it)("marks definitions created with defineAgent as agents", () => {
    const agent = (0, import_generator.defineAgent)({
      entry: async () => {
      }
    });
    (0, import_vitest.expect)((0, import_generator.isAgent)(agent)).toBe(true);
  });
  (0, import_vitest.it)("does not treat unmarked structural objects as agents", () => {
    (0, import_vitest.expect)((0, import_generator.isAgent)({ entry: async () => {
    } })).toBe(false);
  });
});
//# sourceMappingURL=generator.test.cjs.map