mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-06 22:57:12 +00:00
* feat(studio): hosts can run Studio's agent tools on their own edit session Exports buildStudioTools, collectStudioLookScene and their types from the package index. EditorShell keeps using the same builder; no behaviour change. * style(studio): format the agent tools export and keep its comment share
9 lines
419 B
TypeScript
9 lines
419 B
TypeScript
import { expect, it } from "vitest";
|
|
import { buildStudioTools, collectStudioLookScene } from "@hyperframes/studio";
|
|
|
|
it("exports Studio's agent tools for a host's own edit session", () => {
|
|
const names = buildStudioTools({ current: {} as never }).map((tool) => tool.name);
|
|
expect(names).toEqual(expect.arrayContaining(["studio_look", "studio_seek"]));
|
|
expect(typeof collectStudioLookScene).toBe("function");
|
|
});
|