threenative-animation-mcp 0.1.18 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ import { IncomingMessage, ServerResponse } from 'node:http';
2
+
3
+ /** A Node request handler for one project's Pose Lab, mountable under any prefix. */
4
+ type PoseLabHandler = (request: IncomingMessage, response: ServerResponse,
5
+ /** The path below the mount (`/`, `/app.js`, `/api/models`). */
6
+ pathname: string) => Promise<void>;
7
+ /**
8
+ * Pose Lab's routes for `project`. `startPoseLab` serves it on its own port; the Asset Library mounts
9
+ * the same handler at `/__assets/pose/` (PRD-915), so both views share one op log and one client.
10
+ */
11
+ declare function createPoseLabHandler(projectDirectory: string): PoseLabHandler;
12
+
13
+ export { type PoseLabHandler, createPoseLabHandler };