UNPKG

@kddd/artinet-sdk

Version:

TypeScript SDK for the Agent2Agent (A2A) Protocol

93 lines (92 loc) 2.42 kB
{ "name": "@kddd/artinet-sdk", "version": "0.5.2", "description": "TypeScript SDK for the Agent2Agent (A2A) Protocol", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/types/index.d.ts", "exports": { ".": { "import": { "types": "./dist/esm/types/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/cjs/types/index.d.ts", "default": "./dist/cjs/index.js" } } }, "rootDir": ".", "files": [ "dist", "README.md", "CHANGELOG.md", "LICENSE" ], "scripts": { "build": "npm run build:esm && npm run build:cjs", "build:esm": "tsc", "build:cjs": "tsc -p tsconfig.cjs.json", "clean": "rimraf dist", "lint": "eslint src --ext .ts", "prepublishOnly": "npm run clean && npm run build", "test": "NODE_OPTIONS=--experimental-vm-modules jest", "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch", "test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage" }, "keywords": [ "agent2agent", "a2a", "artinet", "ai", "agent", "sdk", "protocol" ], "author": "Artinet Team", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/the-artinet-project/artinet-sdk" }, "bugs": { "url": "https://github.com/the-artinet-project/artinet-sdk/issues" }, "homepage": "https://github.com/the-artinet-project/artinet-sdk#readme", "dependencies": { "@artinet/metadata-validator": "^0.0.3", "@types/cors": "^2.8.17", "@types/express": "^5.0.1", "@types/pino": "^7.0.4", "cors": "^2.8.5", "esbuild": "^0.25.4", "eventsource-parser": "^3.0.1", "express": "^5.1.0", "jayson": "^4.2.0", "pino": "^9.6.0", "pino-pretty": "^10.2.0", "uuid": "^11.1.0" }, "devDependencies": { "@eslint/js": "^9.25.1", "@types/jest": "^29.5.14", "@types/node": "^20.8.10", "@types/supertest": "^6.0.2", "@types/uuid": "^9.0.6", "eslint": "^9.25.1", "globals": "^16.0.0", "jest": "^29.7.0", "json-schema-to-typescript": "^15.0.4", "msw": "^2.7.5", "rimraf": "^5.0.5", "supertest": "^7.1.0", "ts-jest": "^29.3.2", "ts-node": "^10.9.1", "typescript": "^5.2.2", "typescript-eslint": "^8.31.0" }, "engines": { "node": ">=22.0.0" } }