@kvasar/google-stitch 0.1.23 → 0.1.24

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "openclaw-google-stitch",
3
3
  "name": "Google Stitch MCP",
4
- "version": "0.1.23",
4
+ "version": "0.1.24",
5
5
  "description": "Integrates Google Stitch MCP services into OpenClaw",
6
6
  "skills": ["skills"],
7
7
  "configSchema": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kvasar/google-stitch",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "OpenClaw plugin for Google Stitch UI generation, screen design, variants, and design systems",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -45,16 +45,7 @@ export class StitchMCPClient {
45
45
  this.connected = true;
46
46
  }
47
47
  }
48
- async createProject(name: string) {
49
- await this.connect();
50
-
51
- return this.client.callTool({
52
- name: "create_project",
53
- arguments: {
54
- name: name,
55
- },
56
- });
57
- }
48
+
58
49
 
59
50
  async generateScreen(params: {
60
51
  projectId: string;
@@ -20,7 +20,7 @@ export function createProjectTool(client: StitchMCPClient) {
20
20
  ),
21
21
  }),
22
22
  async execute(_id: string, params: CreateProjectParams) {
23
- const result = await client.createProject(params.title);
23
+ const result = await client.request("create_project",params);
24
24
  return {
25
25
  content: [{ type: "text" as const, text: JSON.stringify(result, null, 2) }],
26
26
  };