@stellisoft/stellify-mcp 0.1.7 → 0.1.8

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/index.js CHANGED
@@ -361,7 +361,7 @@ Example:
361
361
  inputSchema: {
362
362
  type: 'object',
363
363
  properties: {
364
- name: {
364
+ query: {
365
365
  type: 'string',
366
366
  description: 'File name pattern to search for',
367
367
  },
@@ -92,7 +92,7 @@ export declare class StellifyClient {
92
92
  updateElement(element: string, data: any): Promise<any>;
93
93
  getElement(element: string): Promise<any>;
94
94
  getElementTree(element: string): Promise<any>;
95
- deleteElement(route: string, current?: string, element?: string): Promise<any>;
95
+ deleteElement(uuid: string): Promise<any>;
96
96
  searchElements(params: {
97
97
  search?: string;
98
98
  type?: string;
@@ -91,10 +91,8 @@ export class StellifyClient {
91
91
  const response = await this.client.get(`/element/${element}/tree`);
92
92
  return response.data;
93
93
  }
94
- async deleteElement(route, current, element) {
95
- const routeParam = route || 'null';
96
- const currentParam = current || 'null';
97
- const response = await this.client.delete(`/element/${routeParam}/${currentParam}/${element}`);
94
+ async deleteElement(uuid) {
95
+ const response = await this.client.delete(`/element/${uuid}`);
98
96
  return response.data;
99
97
  }
100
98
  async searchElements(params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stellisoft/stellify-mcp",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "mcpName": "io.github.MattStellisoft/stellify-mcp",
5
5
  "description": "MCP server for Stellify - AI-native code generation platform",
6
6
  "main": "dist/index.js",