@securityreviewai/security-review-mcp 0.2.11 → 0.2.12
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/api/client.js +1 -1
- package/dist/tools/projectTools.js +4 -4
- package/package.json +1 -1
package/dist/api/client.js
CHANGED
|
@@ -174,7 +174,7 @@ export class SraiApiClient {
|
|
|
174
174
|
return this.request("GET", `/api/projects/${projectId}/profile/compliance-requirements/${requirementId}`);
|
|
175
175
|
}
|
|
176
176
|
async updateVibeProjectProfile(projectId, payload) {
|
|
177
|
-
return this.request("
|
|
177
|
+
return this.request("POST", `/api/projects/${projectId}/ai-ide/profile`, {
|
|
178
178
|
jsonBody: payload,
|
|
179
179
|
});
|
|
180
180
|
}
|
|
@@ -109,7 +109,7 @@ export function registerProjectTools(server) {
|
|
|
109
109
|
.array(z.string())
|
|
110
110
|
.optional()
|
|
111
111
|
.describe("List of architecture note strings describing the system design."),
|
|
112
|
-
|
|
112
|
+
technology_categories: z
|
|
113
113
|
.array(z.object({
|
|
114
114
|
name: z.string().describe("Technology category name (e.g. 'Frontend', 'Database')."),
|
|
115
115
|
tools: z.array(z.string()).optional().describe("Tools or technologies within this category."),
|
|
@@ -135,12 +135,12 @@ export function registerProjectTools(server) {
|
|
|
135
135
|
.optional()
|
|
136
136
|
.describe("Programming languages and frameworks used (e.g. 'Python/Django', 'TypeScript/React')."),
|
|
137
137
|
},
|
|
138
|
-
}, async ({ project_id, architecture_notes,
|
|
138
|
+
}, async ({ project_id, architecture_notes, technology_categories, user_groups, compliance_requirements, description, language_stacks }) => {
|
|
139
139
|
const payload = {};
|
|
140
140
|
if (architecture_notes !== undefined)
|
|
141
141
|
payload.architecture_notes = architecture_notes;
|
|
142
|
-
if (
|
|
143
|
-
payload.
|
|
142
|
+
if (technology_categories !== undefined)
|
|
143
|
+
payload.technology_categories = technology_categories;
|
|
144
144
|
if (user_groups !== undefined)
|
|
145
145
|
payload.user_groups = user_groups;
|
|
146
146
|
if (compliance_requirements !== undefined)
|