@adcp/client
Version:
AdCP client library with protocol support for MCP and A2A, includes testing framework
123 lines (122 loc) • 4.57 kB
JSON
{
"name": "@adcp/client",
"version": "0.4.0",
"description": "AdCP client library with protocol support for MCP and A2A, includes testing framework",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"type": "commonjs",
"exports": {
".": {
"import": "./dist/lib/index.js",
"require": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts"
},
"./types": {
"types": "./dist/lib/types/index.d.ts"
}
},
"files": [
"dist/lib/**/*",
"README.md",
"LICENSE"
],
"scripts": {
"dev": "tsx src/server/server.ts",
"build": "npm run build:lib && tsc && cp -r src/public dist/",
"build:lib": "tsc --project tsconfig.lib.json",
"start": "node dist/server/server.js",
"test": "node --test test/*.test.js test/lib/*.test.js",
"test:lib": "node --test test/lib/*.test.js",
"test:e2e": "node test/e2e/adcp-e2e.test.js",
"test:protocols": "node test/run-protocol-tests.js",
"test:protocol-compliance": "node test/run-protocol-tests.js --only compliance",
"test:protocol-schema": "node test/run-protocol-tests.js --only schema",
"test:protocol-integration": "node test/run-protocol-tests.js --only integration",
"test:all": "npm run test:server-config && npm run test:lib && npm run test:protocols",
"test:protocol-comparison": "node test/utils/comprehensive-protocol-comparison.js",
"test:status-report": "node test/utils/final-status-report.js",
"test:production-hitl": "node test-production-hitl-agents.js",
"test:server-config": "node --test test/server-config.test.js",
"sync-schemas": "tsx scripts/sync-schemas.ts",
"generate-types": "tsx scripts/generate-types.ts",
"sync-version": "tsx scripts/sync-version.ts",
"validate-schemas": "tsx scripts/validate-schemas.ts",
"lint": "echo 'Linting not yet configured'",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist/",
"prepublishOnly": "npm run clean && (test -f src/lib/types/tools.generated.ts || npm run sync-schemas) && (test -f src/lib/types/tools.generated.ts || npm run generate-types) && npm run build:lib && node --test test/lib/adcp-client.test.js test/lib/validation.test.js",
"docs": "typedoc",
"docs:watch": "typedoc --watch",
"docs:serve": "cd docs && make serve",
"docs:serve-simple": "echo '📚 Docs available at: file://'$(pwd)'/docs/index.html' && echo '🐳 For live preview: npm run docs:serve (Docker)' && echo '📦 Alternative: npx http-server docs -p 4000'",
"docs:build": "npm run docs && cd docs && make build",
"docs:install": "cd docs && make install",
"ci:validate": "node scripts/ci-validate.js",
"ci:quick": "npm run typecheck && npm run build:lib && npm test",
"ci:schema-check": "npm run sync-schemas && npm run generate-types && git diff --exit-code src/lib/types/ src/lib/agents/",
"ci:pre-push": "npm run ci:schema-check && npm run ci:quick",
"hooks:install": "node scripts/install-hooks.js",
"hooks:uninstall": "rm -f .git/hooks/pre-push"
},
"keywords": [
"adcp",
"mcp",
"a2a",
"protocol",
"client",
"library",
"advertising",
"testing"
],
"author": {
"name": "AdCP Community",
"email": "maintainers@adcontextprotocol.org",
"url": "https://adcontextprotocol.org"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/adcontextprotocol/adcp-client.git"
},
"homepage": "https://github.com/adcontextprotocol/adcp-client#readme",
"bugs": {
"url": "https://github.com/adcontextprotocol/adcp-client/issues",
"email": "bugs@adcontextprotocol.org"
},
"dependencies": {
"dotenv": "^17.2.2"
},
"peerDependencies": {
"@a2a-js/sdk": "^0.3.4",
"@modelcontextprotocol/sdk": "^1.17.5"
},
"devDependencies": {
"@a2a-js/sdk": "^0.3.4",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@fastify/cors": "^9.0.1",
"@fastify/static": "^7.0.0",
"@modelcontextprotocol/sdk": "^1.17.5",
"@types/node": "^20.19.13",
"axios": "^1.12.0",
"cors": "^2.8.5",
"express": "^5.1.0",
"fastify": "^4.24.3",
"json-schema-to-typescript": "^13.1.0",
"markdown-it": "^14.1.0",
"node-fetch": "^3.3.2",
"pino-pretty": "^13.1.1",
"tsx": "^4.6.0",
"typedoc": "^0.28.13",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.3.0",
"zod": "^3.22.4"
},
"engines": {
"node": ">=18.0.0"
},
"overrides": {
"@types/glob": "^8.1.0"
},
"adcp_version": "1.6.0"
}