@squadrules/mcp 5.1.0 → 5.2.0
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 +19 -12
- package/dist/.tsbuildinfo +1 -1
- package/dist/config/embedding-fastembed.d.ts +1 -1
- package/dist/config/embedding-fastembed.d.ts.map +1 -1
- package/dist/config/embedding-fastembed.js +2 -2
- package/dist/config/embedding-fastembed.js.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/embed-docs/mem/adapter-migration.md +1 -1
- package/dist/embed-docs/mem/bulk-insert-adapters-via-cli.md +1 -1
- package/dist/embed-docs/mem/challenge-type-guide.md +1 -1
- package/dist/embed-docs/mem/create-new-protocol.md +1 -1
- package/dist/embed-docs/mem/phase-critic-guide.md +1 -1
- package/dist/embed-docs/mem/phase-critic.md +1 -1
- package/dist/embed-docs/mem/protocol-linking-guide.md +1 -1
- package/dist/embed-docs/mem/refine-search.md +1 -1
- package/dist/embed-docs/mem/skill-format-guide.md +1 -1
- package/dist/http/http-auth-callback.js +1 -1
- package/dist/http/http-auth-callback.js.map +1 -1
- package/dist/resources/embedded-mcp-resources.js +9 -9
- package/dist/ui/assets/{AccountPage-BqJYrqYP.js → AccountPage-Ci29Zidn.js} +1 -1
- package/dist/ui/assets/{index-CXDgvzCM.js → index-BD4O80zW.js} +2 -2
- package/dist/ui/index.html +1 -1
- package/package.json +11 -66
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squadrules/mcp",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "SquadRules MCP server for agent automation: persistent memory and deterministic workflow execution for AI agents and chats",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,61 +38,11 @@
|
|
|
38
38
|
],
|
|
39
39
|
"scripts": {
|
|
40
40
|
"cli": "node dist/cli/index.js",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"test": "npm run dev:deploy && npm run dev:test",
|
|
44
|
-
"dev:build": "npm run lint && npm run knip && ENV=dev ./scripts/deploy-run-env.sh build",
|
|
45
|
-
"dev:deploy": "npm run dev:build && npm run dev:restart",
|
|
46
|
-
"dev:logs": "ENV=dev ./scripts/deploy-run-env.sh logs",
|
|
47
|
-
"dev:qdrant-curl": "ENV=dev ./scripts/deploy-run-env.sh qdrant-curl",
|
|
48
|
-
"dev:redis-cli": "ENV=dev ./scripts/deploy-run-env.sh redis-cli",
|
|
49
|
-
"dev:restart": "ENV=dev ./scripts/deploy-run-env.sh restart",
|
|
41
|
+
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --forceExit --testTimeout=30000",
|
|
42
|
+
"start": "node dist/cli/index.js serve",
|
|
50
43
|
"dev:node": "./scripts/dev-node-use.sh",
|
|
51
|
-
"dev:start": "ENV=dev ./scripts/deploy-run-env.sh start",
|
|
52
|
-
"dev:start:installed": "DOTENV_CONFIG_PATH=.env node -r dotenv/config node_modules/@squadrules/mcp/dist/index.js",
|
|
53
|
-
"dev:status": "ENV=dev ./scripts/deploy-run-env.sh status",
|
|
54
|
-
"dev:stop": "ENV=dev ./scripts/deploy-run-env.sh stop",
|
|
55
|
-
"dev:test": "ENV=dev ./scripts/deploy-run-env.sh test",
|
|
56
|
-
"dev:stdio": "sh -c 'set -a && [ -f .env ] && . ./.env; [ -f .env.dev_stdio ] && . ./.env.dev_stdio; set +a; exec node dist/bootstrap.js'",
|
|
57
|
-
"dev_simple:deploy": "npm run dev:build && npm run dev_simple:restart",
|
|
58
|
-
"dev_simple:logs": "ENV=dev_simple ./scripts/deploy-run-env.sh logs",
|
|
59
|
-
"dev_simple:qdrant-curl": "ENV=dev_simple ./scripts/deploy-run-env.sh qdrant-curl",
|
|
60
|
-
"dev_simple:restart": "ENV=dev_simple ./scripts/deploy-run-env.sh restart",
|
|
61
|
-
"dev_simple:start": "ENV=dev_simple ./scripts/deploy-run-env.sh start",
|
|
62
|
-
"dev_simple:status": "ENV=dev_simple ./scripts/deploy-run-env.sh status",
|
|
63
|
-
"dev_simple:stop": "ENV=dev_simple ./scripts/deploy-run-env.sh stop",
|
|
64
|
-
"dev_simple:test": "ENV=dev_simple ./scripts/deploy-run-env.sh test",
|
|
65
|
-
"dev_stdio:deploy": "npm run dev:build && npm run dev_stdio:restart",
|
|
66
|
-
"dev_stdio:logs": "ENV=dev_stdio ./scripts/deploy-run-env.sh logs",
|
|
67
|
-
"dev_stdio:qdrant-curl": "ENV=dev_stdio ./scripts/deploy-run-env.sh qdrant-curl",
|
|
68
|
-
"dev_stdio:restart": "ENV=dev_stdio ./scripts/deploy-run-env.sh restart",
|
|
69
|
-
"dev_stdio:start": "ENV=dev_stdio ./scripts/deploy-run-env.sh start",
|
|
70
|
-
"dev_stdio:status": "ENV=dev_stdio ./scripts/deploy-run-env.sh status",
|
|
71
|
-
"dev_stdio:stop": "ENV=dev_stdio ./scripts/deploy-run-env.sh stop",
|
|
72
|
-
"dev_stdio:test": "ENV=dev_stdio ./scripts/deploy-run-env.sh test",
|
|
73
|
-
"test:integration:contracts:http-auth": "ENV=dev ./scripts/deploy-run-env.sh test -- tests/integration/scenarios/spaces-tool.http-auth.test.ts",
|
|
74
|
-
"test:integration:contracts:http-simple": "ENV=dev_simple ./scripts/deploy-run-env.sh test -- tests/integration/scenarios/spaces-tool.http-simple.test.ts",
|
|
75
|
-
"test:integration:contracts:stdio-simple": "ENV=dev_stdio ./scripts/deploy-run-env.sh test -- tests/integration/scenarios/spaces-tool.stdio-simple.test.ts",
|
|
76
|
-
"test:seed-snapshot": "bash ./scripts/seed-test-snapshot.sh",
|
|
77
|
-
"test:restore-snapshot": "node -r dotenv/config -e \"import('./tests/utils/restore-qdrant-snapshot.js').then(m => m.restoreTestSnapshot().then(r => { console.log(JSON.stringify(r, null, 2)); process.exit(r.success ? 0 : 1); }))\"",
|
|
78
|
-
"qdrant:binary:install": "bash ./scripts/qdrant-binary.sh install",
|
|
79
|
-
"qdrant:binary:start": "npm run qdrant:binary:install && bash ./scripts/qdrant-binary.sh start",
|
|
80
|
-
"qdrant:binary:stop": "bash ./scripts/qdrant-binary.sh stop",
|
|
81
|
-
"test:load": "ENV=dev ./scripts/deploy-run-env.sh test -- tests/load/mcp-concurrency-limit.test.ts",
|
|
82
44
|
"dev:test-embedding-key": "node scripts/test-embedding-key.mjs",
|
|
83
|
-
"dev:google-idp": "python3 scripts/deploy-configure-keycloak-google-idp.py",
|
|
84
|
-
"dev:ai-mcp-integration": "node scripts/test-ai-mcp-integration.mjs",
|
|
85
|
-
"prod:health": "ENV=prod ./scripts/deploy-run-env.sh health",
|
|
86
|
-
"prod:status": "ENV=prod ./scripts/deploy-run-env.sh status",
|
|
87
|
-
"prod:qdrant-curl": "ENV=prod ./scripts/deploy-run-env.sh qdrant-curl",
|
|
88
|
-
"prod:raw-qdrant-search": "node -r dotenv/config scripts/deploy-raw-qdrant-search.mjs",
|
|
89
|
-
"prod:redis-cli": "ENV=prod ./scripts/deploy-run-env.sh redis-cli",
|
|
90
|
-
"prod:logs": "ENV=prod ./scripts/deploy-run-env.sh logs",
|
|
91
45
|
"build": "npm run ui:build && tsc && chmod +x dist/cli/index.js",
|
|
92
|
-
"docker:build": "docker build --target runtime --build-arg PACKAGE_VERSION=$(node -p \"require('./package.json').version\") -t quay.io/squadrules/mcp:latest -t quay.io/squadrules/mcp:$(node -p \"require('./package.json').version\") .",
|
|
93
|
-
"docker:build:dev": "docker build -f Dockerfile.dev -t quay.io/squadrules/mcp:dev .",
|
|
94
|
-
"docker:push": "docker push quay.io/squadrules/mcp:latest && docker push quay.io/squadrules/mcp:$(node -p \"require('./package.json').version\")",
|
|
95
|
-
"docker:publish": "npm run docker:build && npm run docker:push",
|
|
96
46
|
"ui:build": "vite build",
|
|
97
47
|
"design:viewports": "node scripts/test-capture-viewports.mjs",
|
|
98
48
|
"test:ui": "vitest run --config vitest.config.ts",
|
|
@@ -107,10 +57,7 @@
|
|
|
107
57
|
"test:spec-parity": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --testPathPatterns tests/unit/spec-parity.test.ts",
|
|
108
58
|
"test:ui:watch": "vitest --config vitest.config.ts",
|
|
109
59
|
"pack": "npm run build:tgz",
|
|
110
|
-
"ensure-coding-rules": "./scripts/deploy-run-env.sh ensure-coding-rules",
|
|
111
60
|
"knip": "node -e \"if(process.env.DOCKER_BUILD)process.exit(0); const r=require('child_process').spawnSync('npx',['knip','--no-config-hints'],{stdio:'inherit'});process.exit(r.status!=null?r.status:1)\"",
|
|
112
|
-
"handoff": "npm run dev:deploy && npm run dev:test && npm run ensure-coding-rules && npm run knip && npm run lint:markdown && npm run lint:mermaid",
|
|
113
|
-
"infra:up": "docker compose -p squadrules-mcp --env-file .env --profile fullstack up -d --remove-orphans && python3 scripts/deploy-configure-keycloak-realms.py",
|
|
114
61
|
"lint": "eslint . && npm run lint:skills && npm run lint:markdown && npm run lint:docs",
|
|
115
62
|
"lint:fix": "eslint . --ext .ts,.tsx,.js,.jsx,.mjs,.cjs --fix && npm run lint:markdown:fix",
|
|
116
63
|
"lint:skills": "python3 scripts/lint-agent-skills.py",
|
|
@@ -118,8 +65,7 @@
|
|
|
118
65
|
"lint:markdown": "markdownlint-cli2 'docs/**/*.md' 'README.md' 'CONTRIBUTING.md' 'SECURITY.md' --config .markdownlint.jsonc --no-progress",
|
|
119
66
|
"lint:markdown:fix": "markdownlint-cli2 'docs/**/*.md' 'README.md' 'CONTRIBUTING.md' 'SECURITY.md' --config .markdownlint.jsonc --no-progress --fix",
|
|
120
67
|
"lint:mermaid": "./scripts/validate-mermaid.sh docs/**/*.md",
|
|
121
|
-
"
|
|
122
|
-
"version:sync": "npm run version:sync-skills && npm run compose:sync-app-tag",
|
|
68
|
+
"version:sync": "npm run version:sync-skills",
|
|
123
69
|
"version:sync-skills": "node scripts/build-sync-skill-versions.mjs",
|
|
124
70
|
"version:check-skills": "node scripts/build-sync-skill-versions.mjs --check",
|
|
125
71
|
"prebuild": "node -e \"require('node:fs').rmSync('dist', {recursive:true, force:true})\" && npm run verify:clean && npm run version:sync-skills && ts-node scripts/build-embed-docs.ts",
|
|
@@ -130,7 +76,7 @@
|
|
|
130
76
|
"test:package-local": "npm run build:tgz && npm run test:tgz",
|
|
131
77
|
"prepack": "npm run build",
|
|
132
78
|
"typecheck": "tsc --noEmit && tsc --project tsconfig.ui.json",
|
|
133
|
-
"release": "
|
|
79
|
+
"release:verify-version": "node scripts/ci-verify-release-version.mjs"
|
|
134
80
|
},
|
|
135
81
|
"dependencies": {
|
|
136
82
|
"@exodus/bytes": "^1.15.0",
|
|
@@ -174,9 +120,6 @@
|
|
|
174
120
|
"@jest/globals": "^30.2.0",
|
|
175
121
|
"@jest/test-sequencer": "^30.2.0",
|
|
176
122
|
"@mermaid-js/mermaid-cli": "^11.15.0",
|
|
177
|
-
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
178
|
-
"@semantic-release/exec": "^7.1.0",
|
|
179
|
-
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
180
123
|
"@tailwindcss/postcss": "^4.0.0",
|
|
181
124
|
"@testing-library/dom": "^10.4.1",
|
|
182
125
|
"@testing-library/jest-dom": "7.0.1",
|
|
@@ -192,7 +135,6 @@
|
|
|
192
135
|
"@vitejs/plugin-react": "6.1.1",
|
|
193
136
|
"autoprefixer": "^10.4.20",
|
|
194
137
|
"concurrently": "10.0.5",
|
|
195
|
-
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
196
138
|
"dotenv-cli": "^11.0.0",
|
|
197
139
|
"eslint": "10.11.0",
|
|
198
140
|
"husky": "^9.1.7",
|
|
@@ -203,7 +145,6 @@
|
|
|
203
145
|
"markdownlint-cli2": "0.23.3",
|
|
204
146
|
"pino-pretty": "^13.1.3",
|
|
205
147
|
"playwright": "1.63.0",
|
|
206
|
-
"semantic-release": "^25.0.9",
|
|
207
148
|
"tailwindcss": "^4.0.0",
|
|
208
149
|
"testcontainers": "^12.0.0",
|
|
209
150
|
"ts-jest": "29.4.13",
|
|
@@ -225,13 +166,17 @@
|
|
|
225
166
|
"qs": "^6.16.0",
|
|
226
167
|
"js-yaml": "^4.2.0",
|
|
227
168
|
"markdown-it": "^14.2.0",
|
|
228
|
-
"shell-quote": "^1.
|
|
169
|
+
"shell-quote": "^1.12.0",
|
|
229
170
|
"react-router": "^8.3.0",
|
|
230
171
|
"typescript": "^5.9.3",
|
|
231
172
|
"brace-expansion": "^5.0.12",
|
|
232
173
|
"undici": "8.10.2",
|
|
174
|
+
"katex": "^0.18.2",
|
|
175
|
+
"source-map-js": "^1.2.2",
|
|
176
|
+
"fast-copy": "^4.1.2",
|
|
177
|
+
"global-agent": "^4.1.3",
|
|
233
178
|
"markdownlint-cli2": {
|
|
234
|
-
"smol-toml": "1.
|
|
179
|
+
"smol-toml": "^1.9.0"
|
|
235
180
|
}
|
|
236
181
|
},
|
|
237
182
|
"allowScripts": {
|