@codeguide/core 0.0.40 → 0.0.42

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.
@@ -13,20 +13,20 @@ class MCPServersService extends base_service_1.BaseService {
13
13
  queryParams.append('limit', params.limit.toString());
14
14
  if (params?.offset !== undefined)
15
15
  queryParams.append('offset', params.offset.toString());
16
- const url = `/mcp-servers/${queryParams.toString() ? `?${queryParams.toString()}` : ''}`;
16
+ const url = `/mcp-servers-directory/${queryParams.toString() ? `?${queryParams.toString()}` : ''}`;
17
17
  return this.get(url);
18
18
  }
19
19
  async getMCPServer(id) {
20
- return this.get(`/mcp-servers/${id}`);
20
+ return this.get(`/mcp-servers-directory/${id}`);
21
21
  }
22
22
  async createMCPServer(request) {
23
- return this.post('/mcp-servers/', request);
23
+ return this.post('/mcp-servers-directory/', request);
24
24
  }
25
25
  async updateMCPServer(id, request) {
26
- return this.put(`/mcp-servers/${id}`, request);
26
+ return this.put(`/mcp-servers-directory/${id}`, request);
27
27
  }
28
28
  async deleteMCPServer(id) {
29
- return this.delete(`/mcp-servers/${id}`);
29
+ return this.delete(`/mcp-servers-directory/${id}`);
30
30
  }
31
31
  }
32
32
  exports.MCPServersService = MCPServersService;
@@ -135,7 +135,7 @@ export interface CreateProjectRequest {
135
135
  }>;
136
136
  document_types?: string[];
137
137
  is_generated?: boolean;
138
- project_mode?: 'prd_only' | 'full_application' | 'prototype' | 'mvp' | 'task_only';
138
+ project_mode?: 'prd_only' | 'full_application' | 'prototype' | 'mvp' | 'task_only' | 'wireframe_only';
139
139
  };
140
140
  codie_tool_id?: string;
141
141
  existing_project_repo_url?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeguide/core",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "description": "Core package for code guidance with programmatic API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,23 +17,23 @@ export class MCPServersService extends BaseService {
17
17
  if (params?.limit !== undefined) queryParams.append('limit', params.limit.toString())
18
18
  if (params?.offset !== undefined) queryParams.append('offset', params.offset.toString())
19
19
 
20
- const url = `/mcp-servers/${queryParams.toString() ? `?${queryParams.toString()}` : ''}`
20
+ const url = `/mcp-servers-directory/${queryParams.toString() ? `?${queryParams.toString()}` : ''}`
21
21
  return this.get<MCPServerListResponse>(url)
22
22
  }
23
23
 
24
24
  async getMCPServer(id: string): Promise<MCPServerResponse> {
25
- return this.get<MCPServerResponse>(`/mcp-servers/${id}`)
25
+ return this.get<MCPServerResponse>(`/mcp-servers-directory/${id}`)
26
26
  }
27
27
 
28
28
  async createMCPServer(request: CreateMCPServerRequest): Promise<MCPServerResponse> {
29
- return this.post<MCPServerResponse>('/mcp-servers/', request)
29
+ return this.post<MCPServerResponse>('/mcp-servers-directory/', request)
30
30
  }
31
31
 
32
32
  async updateMCPServer(id: string, request: UpdateMCPServerRequest): Promise<MCPServerResponse> {
33
- return this.put<MCPServerResponse>(`/mcp-servers/${id}`, request)
33
+ return this.put<MCPServerResponse>(`/mcp-servers-directory/${id}`, request)
34
34
  }
35
35
 
36
36
  async deleteMCPServer(id: string): Promise<{ status: string; message: string }> {
37
- return this.delete<{ status: string; message: string }>(`/mcp-servers/${id}`)
37
+ return this.delete<{ status: string; message: string }>(`/mcp-servers-directory/${id}`)
38
38
  }
39
39
  }
@@ -149,7 +149,13 @@ export interface CreateProjectRequest {
149
149
  }>
150
150
  document_types?: string[]
151
151
  is_generated?: boolean
152
- project_mode?: 'prd_only' | 'full_application' | 'prototype' | 'mvp' | 'task_only'
152
+ project_mode?:
153
+ | 'prd_only'
154
+ | 'full_application'
155
+ | 'prototype'
156
+ | 'mvp'
157
+ | 'task_only'
158
+ | 'wireframe_only'
153
159
  }
154
160
  codie_tool_id?: string
155
161
  existing_project_repo_url?: string