mobbdev 1.0.85 → 1.0.86

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 (2) hide show
  1. package/dist/index.mjs +1470 -45
  2. package/package.json +17 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "1.0.85",
3
+ "version": "1.0.86",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "git+https://github.com/mobb-dev/bugsy.git",
6
6
  "main": "dist/index.js",
@@ -11,17 +11,27 @@
11
11
  "postinstall": "node ./src/post_install/cx_install.mjs",
12
12
  "build": "tsc && tsup-node --env.NODE_ENV production",
13
13
  "build:dev": "tsup-node --env.NODE_ENV development",
14
- "test": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run",
14
+ "test:mcp:unit": "vitest run __tests__/mcp/mcp.unit.test.ts",
15
+ "test:mcp:integration": "vitest run __tests__/mcp/mcp.integration.test.ts --reporter=verbose",
16
+ "test:mcp": "pnpm run build && pnpm run test:mcp:unit && pnpm run test:mcp:integration",
17
+ "test:mcp:verbose": "pnpm run build && NODE_ENV=test VERBOSE=true vitest run __tests__/mcp/",
18
+ "test:unit": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run --exclude='**/__tests__/integration.test.ts' --exclude='**/__tests__/mcp/**'",
19
+ "test:integration": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run __tests__/integration.test.ts",
20
+ "test": "pnpm run test:unit && pnpm run test:mcp && pnpm run test:integration",
15
21
  "test:ado": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run ado.test",
16
22
  "test:github": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run github.test",
23
+ "test:gitlab": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run gitlab.test",
24
+ "test:github:repo": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run github-repo.test",
25
+ "test:cli:main": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run cli-main.test",
17
26
  "test:coverage": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run --coverage",
18
27
  "test:watch": "TOKEN=$(../../scripts/login_auth0.sh) vitest",
19
- "test:integration": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest watch integration.test",
20
28
  "test:integration:proxy": "GIT_PROXY_HOST=http://tinyproxy:8888 HTTP_PROXY=http://localhost:8888 API_URL=http://app-api:8080/v1/graphql TOKEN=$(../../scripts/login_auth0.sh) vitest run integration.test.ts",
21
29
  "lint": "eslint --cache --max-warnings 0 --ignore-path .eslintignore --ext .ts,.tsx,.jsx .",
22
30
  "lint:fix": "eslint --fix --cache --max-warnings 0 --ignore-path .eslintignore --ext .js,.ts,.tsx,.jsx .",
23
31
  "lint:fix:files": "eslint --fix --cache --max-warnings 0 --ignore-path .eslintignore --ext .js,.ts,.tsx,.jsx",
24
32
  "prepack": "dotenv-vault pull production .env && pnpm build",
33
+ "dev:mcp": "pnpm run build && node dist/index.mjs mcp",
34
+ "debug:mcp": "pnpm run build && node dist/index.mjs mcp --debug",
25
35
  "generate": "pnpm run env -- graphql-codegen -r dotenv/config --config client_codegen.ts",
26
36
  "test:e2e": "cd ./__e2e__ && npm i && npm run test"
27
37
  },
@@ -31,12 +41,10 @@
31
41
  "author": "",
32
42
  "license": "MIT",
33
43
  "dependencies": {
34
- "@gitbeaker/core": "42.5.0",
35
44
  "@gitbeaker/requester-utils": "42.5.0",
36
45
  "@gitbeaker/rest": "42.5.0",
46
+ "@modelcontextprotocol/sdk": "1.6.0",
37
47
  "@octokit/core": "5.2.0",
38
- "@octokit/graphql": "5.0.6",
39
- "@octokit/plugin-rest-endpoint-methods": "7.2.3",
40
48
  "@octokit/request-error": "5.1.1",
41
49
  "@types/libsodium-wrappers": "0.7.14",
42
50
  "adm-zip": "0.5.16",
@@ -53,7 +61,6 @@
53
61
  "globby": "14.1.0",
54
62
  "graphql": "16.11.0",
55
63
  "graphql-request": "6.1.0",
56
- "graphql-tag": "2.12.6",
57
64
  "graphql-ws": "5.16.2",
58
65
  "http-proxy-agent": "7.0.2",
59
66
  "https-proxy-agent": "7.0.6",
@@ -62,6 +69,7 @@
62
69
  "istextorbinary": "6.0.0",
63
70
  "libsodium-wrappers": "0.7.15",
64
71
  "multimatch": "7.0.0",
72
+ "msw": "2.7.6",
65
73
  "nanospinner": "1.1.0",
66
74
  "node-fetch": "3.3.2",
67
75
  "octokit": "3.2.1",
@@ -84,6 +92,7 @@
84
92
  "@graphql-codegen/cli": "5.0.6",
85
93
  "@graphql-codegen/typescript": "4.1.6",
86
94
  "@graphql-codegen/typescript-graphql-request": "6.2.0",
95
+ "@graphql-codegen/typescript-msw": "3.0.0",
87
96
  "@graphql-codegen/typescript-operations": "4.6.1",
88
97
  "@octokit/types": "13.10.0",
89
98
  "@types/adm-zip": "0.5.7",
@@ -107,6 +116,7 @@
107
116
  "eslint-plugin-import": "2.31.0",
108
117
  "eslint-plugin-prettier": "5.4.0",
109
118
  "eslint-plugin-simple-import-sort": "10.0.0",
119
+ "eslint-plugin-unicorn": "48.0.0",
110
120
  "nock": "14.0.4",
111
121
  "prettier": "3.5.3",
112
122
  "tsup": "8.4.0",