Files
hyperframes/packages/studio/src/agentToolsExport.test.ts
Miguel Ángel 7a60b97bf8 feat(studio): hosts can run Studio's agent tools on their own edit session (#4882)
* 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
2026-10-01 16:57:15 -07:00

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");
});