@imenam/mcp-dependabot-tracker 1.0.30 → 1.0.32
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/README.md +41 -28
- package/dist/shared/schemas/model.schema.d.ts +64 -8
- package/dist/shared/schemas/model.schema.js +23 -8
- package/dist/src/core/commands.d.ts +5 -7
- package/dist/src/core/commands.js +7 -11
- package/dist/src/core/containers.d.ts +82 -0
- package/dist/src/core/containers.js +144 -0
- package/dist/src/core/managers/composer.d.ts +15 -0
- package/dist/src/core/managers/composer.js +234 -0
- package/dist/src/core/managers/index.d.ts +14 -0
- package/dist/src/core/managers/index.js +46 -0
- package/dist/src/core/managers/npm.d.ts +25 -0
- package/dist/src/core/managers/npm.js +203 -0
- package/dist/src/core/managers/php-version.d.ts +18 -0
- package/dist/src/core/managers/php-version.js +113 -0
- package/dist/src/core/managers/pnpm.d.ts +28 -0
- package/dist/src/core/managers/pnpm.js +249 -0
- package/dist/src/core/managers/tool-args.d.ts +17 -0
- package/dist/src/core/managers/tool-args.js +26 -0
- package/dist/src/core/managers/types.d.ts +61 -0
- package/dist/src/core/managers/types.js +11 -0
- package/dist/src/core/operations.d.ts +8 -5
- package/dist/src/core/operations.js +106 -77
- package/dist/src/core/repair.d.ts +20 -13
- package/dist/src/core/repair.js +110 -84
- package/dist/src/core/repos.d.ts +1 -1
- package/dist/src/core/repos.js +1 -1
- package/dist/src/core/sandbox.d.ts +7 -0
- package/dist/src/core/sandbox.js +31 -0
- package/dist/src/core/settings.d.ts +1 -1
- package/dist/src/core/settings.js +2 -2
- package/dist/src/core/store.js +3 -0
- package/dist/src/mcp.js +6 -5
- package/dist/src/package-tools.d.ts +13 -0
- package/dist/src/package-tools.js +92 -0
- package/dist/src/server/serve.js +2 -0
- package/dist/src/tools/format.js +11 -11
- package/dist/src/tools/tools.js +4 -4
- package/gui/dist/assets/index-DrVmedqf.js +71 -0
- package/gui/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/src/core/npm-audit.d.ts +0 -26
- package/dist/src/core/npm-audit.js +0 -76
- package/dist/src/core/npm-sandbox.d.ts +0 -33
- package/dist/src/core/npm-sandbox.js +0 -159
- package/dist/src/npm-tools.d.ts +0 -10
- package/dist/src/npm-tools.js +0 -136
- package/gui/dist/assets/index-CAOy2g1q.js +0 -71
package/dist/src/tools/tools.js
CHANGED
|
@@ -6,7 +6,7 @@ const OPERATION_PROPERTY = { type: "string", description: "Id of the operation,
|
|
|
6
6
|
const SCOPE_PROPERTY = {
|
|
7
7
|
type: "string",
|
|
8
8
|
enum: [...AUDIT_SCOPES],
|
|
9
|
-
description: "production (default):
|
|
9
|
+
description: "production (default): the audit and its fixes leave the development dependencies out (npm --omit=dev, pnpm --prod, composer --no-dev). all: every dependency, development ones included.",
|
|
10
10
|
};
|
|
11
11
|
/** Outils du mode MCP. */
|
|
12
12
|
export const TOOLS = [
|
|
@@ -25,19 +25,19 @@ export const TOOLS = [
|
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
name: "run_audit",
|
|
28
|
-
description: "Start
|
|
28
|
+
description: "Start the audit of a temporary clone of the analysed branch, in every folder that tracks a lockfile: npm audit (package-lock.json), pnpm audit (pnpm-lock.yaml), composer audit (composer.lock). Nothing is changed; the clone is deleted at the end. Returns at once with the id of the operation: follow it with get_operation.",
|
|
29
29
|
inputSchema: { type: "object", properties: { repository: REPOSITORY_PROPERTY, scope: SCOPE_PROPERTY }, required: ["repository"] },
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
name: "fix_vulnerabilities",
|
|
33
|
-
description: "Start the fix of the
|
|
33
|
+
description: "Start the fix of the vulnerable dependencies of a tracked repository, the same as the user's Fix button: in a temporary clone of the analysed branch, the audit of every project, then the automatic fixes of its package manager on the lockfiles only (npm audit fix --package-lock-only --ignore-scripts, pnpm audit --fix=update --lockfile-only --ignore-scripts, composer update of the vulnerable packages --no-install --no-scripts --no-plugins), then, when vulnerabilities remain, the fixes by Claude (Claude Code analyses and fixes them in the code, runs the tests and reports in an organizer task), then a commit on a new branch fix/deps-audit-<date>-<time>, its push and a pull request to the analysed branch. " +
|
|
34
34
|
"Returns at once with the id of the operation: follow it with get_operation. A fix with Claude can take several minutes.",
|
|
35
35
|
inputSchema: {
|
|
36
36
|
type: "object",
|
|
37
37
|
properties: {
|
|
38
38
|
repository: REPOSITORY_PROPERTY,
|
|
39
39
|
scope: SCOPE_PROPERTY,
|
|
40
|
-
claude: { type: "boolean", description: "Let Claude fix what
|
|
40
|
+
claude: { type: "boolean", description: "Let Claude fix what the automatic fixes leave (default true). false: only the automatic fixes are pushed." },
|
|
41
41
|
},
|
|
42
42
|
required: ["repository"],
|
|
43
43
|
},
|