@becrafter/prompt-manager-core
AMCP server package @becrafter/prompt-manager-core
Install
agr install @becrafter/prompt-manager-core --target claudeThis artifact does not publish files for Claude.
Document
{ "name": "@becrafter/prompt-manager-core", "version": "0.2.5", "description": "Core library for managing prompts with MCP protocol", "main": "index.js", "module": "index.js", "type": "module", "scripts": { "build": "esbuild ./index.js --bundle --outdir=dist --format=esm --platform=node --target=node18 --external:fsevents --external:node-pty", "dev": "node --watch ./server.js", "dev:clean": "node ./dev-server.js", "fix:pty": "npm rebuild node-pty", "postinstall": "npm run fix:pty", "start": "node ./server.js", "example": "node --experimental-specifier-resolution=node ./example.js", "test": "vitest run tests/unit", "test:watch": "vitest tests/unit", "test:coverage": "vitest --coverage tests/unit", "test:integration": "vitest run tests/integration", "lint": "eslint . --ext .js,.mjs --fix", "format": "prettier --write .", "lint:check": "eslint . --ext .js,.mjs", "format:check": "prettier --check .", "docs": "jsdoc -c jsdoc.conf.json" }, "lint-staged": { ".js": [ "eslint --fix", "prettier --write" ], ".{json,md,yml,yaml}": [ "prettier --write" ] }, "keywords": [ "mcp", "prompt", "prompt-mcp", "prompt-manager", "library" ], "author": "BeCrafter", "license": "MIT", "dependencies": { "@electron/asar": "^4.0.1", "@modelcontextprotocol/sdk": "^1.20.2", "@npmcli/arborist": "^9.0.0", "adm-zip": "^0.5.16", "chokidar": "^5.0.0", "cors": "^2.8.5", "dotenv": "^17.2.3", "express": "^5.1.0", "fs-extra": "^11.2.0", "glob": "^13.0.0", "http-proxy-middleware": "^3.0.5", "js-yaml": "^4.1.0", "multer": "^2.0.2", "node-pty": "^1.0.0", "sync-hub": "^0.0.3", "ws": "^8.18.0", "yaml": "^2.4.1", "zod": "^3.23.8" }, "overrides": { "form-data": "^4.0.1", "lodash": "^4.17.21", "minimist": "^1.2.8", "qs": "^6.14.1", "tar": "^7.5.4", "tough-cookie": "^4.1.4", "jpeg-js": "^0.4.4", "url-regex": "^5.0.0" }, "devDependencies": { "@electron/rebuild": "^4.0.2", "@playwright/test": "^1.48.0", "@vitest/ui": "^1.6.0", "esbuild": "^0.27.0", "eslint": "^8.57.1", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "husky": "^9.1.6", "jsdoc": "^4.0.3", "lint-staged": "^15.2.10", "playwright": "^1.48.0", "prettier": "^3.3.3", "vitest": "^1.6.0" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/BeCrafter/prompt-manager.git" }, "homepage": "https://github.com/BeCrafter/prompt-manager#readme", "bugs": { "url": "https://github.com/BeCrafter/prompt-manager/issues" } }
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- warnType matchbest-effort: server code not analyzed
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-b3f79a2c66942026-08-06