touchdesigner-mcp-server 0.4.0-alpha.2 → 0.4.0-alpha.3

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.
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import path, { resolve } from "node:path";
2
+ import { resolve } from "node:path";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
4
  import { config } from "dotenv";
5
5
  import { TouchDesignerServer } from "./server/touchDesignerServer.js";
@@ -29,10 +29,7 @@ export async function startServer() {
29
29
  }
30
30
  }
31
31
  // Start server if this file is executed directly
32
- import { fileURLToPath } from "node:url";
33
- const currentFilePath = path.normalize(fileURLToPath(import.meta.url));
34
- const argvFilePath = path.normalize(process.argv[1]);
35
- if (currentFilePath === argvFilePath) {
32
+ if (process.argv[1]) {
36
33
  startServer().catch((error) => {
37
34
  console.error("Failed to start server:", error);
38
35
  process.exit(1);
@@ -3,7 +3,7 @@
3
3
  * Do not edit manually.
4
4
  * TouchDesigner API
5
5
  * OpenAPI schema for generating TouchDesigner API client code
6
- * OpenAPI spec version: 0.4.0-alpha.2
6
+ * OpenAPI spec version: 0.4.0-alpha.3
7
7
  */
8
8
  import { customInstance } from '../../api/customInstance.js';
9
9
  // eslint-disable-next-line @typescript-eslint/no-redeclare
@@ -3,7 +3,7 @@
3
3
  * Do not edit manually.
4
4
  * TouchDesigner API
5
5
  * OpenAPI schema for generating TouchDesigner API client code
6
- * OpenAPI spec version: 0.4.0-alpha.2
6
+ * OpenAPI spec version: 0.4.0-alpha.3
7
7
  */
8
8
  import { z as zod } from 'zod';
9
9
  /**
@@ -18,7 +18,7 @@ export class TouchDesignerServer {
18
18
  constructor() {
19
19
  this.server = new McpServer({
20
20
  name: "TouchDesigner",
21
- version: "0.4.0-alpha.2",
21
+ version: "0.4.0-alpha.3",
22
22
  }, {
23
23
  capabilities: {
24
24
  prompts: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "touchdesigner-mcp-server",
3
- "version": "0.4.0-alpha.2",
3
+ "version": "0.4.0-alpha.3",
4
4
  "description": "MCP server for TouchDesigner",
5
5
  "repository": {
6
6
  "type": "git",