@imenam/mcp-dependabot-tracker 1.0.31 → 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.
Files changed (48) hide show
  1. package/README.md +41 -28
  2. package/dist/shared/schemas/model.schema.d.ts +64 -8
  3. package/dist/shared/schemas/model.schema.js +23 -8
  4. package/dist/src/core/commands.d.ts +5 -7
  5. package/dist/src/core/commands.js +7 -11
  6. package/dist/src/core/containers.d.ts +82 -0
  7. package/dist/src/core/containers.js +144 -0
  8. package/dist/src/core/managers/composer.d.ts +15 -0
  9. package/dist/src/core/managers/composer.js +234 -0
  10. package/dist/src/core/managers/index.d.ts +14 -0
  11. package/dist/src/core/managers/index.js +46 -0
  12. package/dist/src/core/managers/npm.d.ts +25 -0
  13. package/dist/src/core/managers/npm.js +203 -0
  14. package/dist/src/core/managers/php-version.d.ts +18 -0
  15. package/dist/src/core/managers/php-version.js +113 -0
  16. package/dist/src/core/managers/pnpm.d.ts +28 -0
  17. package/dist/src/core/managers/pnpm.js +249 -0
  18. package/dist/src/core/managers/tool-args.d.ts +17 -0
  19. package/dist/src/core/managers/tool-args.js +26 -0
  20. package/dist/src/core/managers/types.d.ts +61 -0
  21. package/dist/src/core/managers/types.js +11 -0
  22. package/dist/src/core/operations.d.ts +8 -5
  23. package/dist/src/core/operations.js +106 -77
  24. package/dist/src/core/repair.d.ts +20 -13
  25. package/dist/src/core/repair.js +110 -84
  26. package/dist/src/core/repos.d.ts +1 -1
  27. package/dist/src/core/repos.js +1 -1
  28. package/dist/src/core/sandbox.d.ts +7 -0
  29. package/dist/src/core/sandbox.js +31 -0
  30. package/dist/src/core/settings.d.ts +1 -1
  31. package/dist/src/core/settings.js +2 -2
  32. package/dist/src/core/store.js +3 -0
  33. package/dist/src/mcp.js +6 -5
  34. package/dist/src/package-tools.d.ts +13 -0
  35. package/dist/src/package-tools.js +92 -0
  36. package/dist/src/server/serve.js +2 -0
  37. package/dist/src/tools/format.js +11 -11
  38. package/dist/src/tools/tools.js +4 -4
  39. package/gui/dist/assets/index-DrVmedqf.js +71 -0
  40. package/gui/dist/index.html +1 -1
  41. package/package.json +2 -2
  42. package/dist/src/core/npm-audit.d.ts +0 -26
  43. package/dist/src/core/npm-audit.js +0 -76
  44. package/dist/src/core/npm-sandbox.d.ts +0 -33
  45. package/dist/src/core/npm-sandbox.js +0 -159
  46. package/dist/src/npm-tools.d.ts +0 -10
  47. package/dist/src/npm-tools.js +0 -136
  48. package/gui/dist/assets/index-CAOy2g1q.js +0 -71
@@ -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): npm audit and its fixes run with --omit=dev and leave the devDependencies out. all: every dependency, devDependencies included.",
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 npm audit on a temporary clone of the analysed branch, in every directory that holds a package-lock.json. Nothing is changed; the clone is deleted at the end. Returns at once with the id of the operation: follow it with get_operation.",
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 npm vulnerabilities of a tracked repository, the same as the user's Fix button: in a temporary clone of the analysed branch, npm audit, then npm audit fix --package-lock-only --ignore-scripts, 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/npm-audit-<date>-<time>, its push and a pull request to the analysed branch. " +
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 npm audit fix leaves (default true). false: only the fixes of npm audit fix are pushed." },
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
  },