@mailmodo/a2a 0.3.3
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/LICENSE +202 -0
- package/README.md +544 -0
- package/dist/index.d.mts +2774 -0
- package/dist/index.d.ts +2774 -0
- package/dist/index.js +1680 -0
- package/dist/index.mjs +1631 -0
- package/package.json +65 -0
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mailmodo/a2a",
|
|
3
|
+
"version": "0.3.3",
|
|
4
|
+
"description": "Server & Client SDK for Agent2Agent protocol com customized for Mailmodo",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/a2aproject/a2a-js.git"
|
|
8
|
+
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=18"
|
|
11
|
+
},
|
|
12
|
+
"main": "dist/index.js",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"!dist/**/*.map",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@genkit-ai/googleai": "^1.8.0",
|
|
23
|
+
"@genkit-ai/vertexai": "^1.8.0",
|
|
24
|
+
"@types/chai": "^5.2.2",
|
|
25
|
+
"@types/express": "^5.0.3",
|
|
26
|
+
"@types/mocha": "^10.0.10",
|
|
27
|
+
"@types/node": "^22.13.14",
|
|
28
|
+
"@types/sinon": "^17.0.4",
|
|
29
|
+
"c8": "^10.1.3",
|
|
30
|
+
"chai": "^5.2.0",
|
|
31
|
+
"express": "^5.1.0",
|
|
32
|
+
"genkit": "^1.8.0",
|
|
33
|
+
"gts": "^6.0.2",
|
|
34
|
+
"json-schema-to-typescript": "^15.0.4",
|
|
35
|
+
"mocha": "^11.6.0",
|
|
36
|
+
"sinon": "^20.0.0",
|
|
37
|
+
"tsup": "^8.5.0",
|
|
38
|
+
"tsx": "^4.19.3",
|
|
39
|
+
"typescript": "^5.8.2"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"clean": "gts clean",
|
|
43
|
+
"build": "tsup",
|
|
44
|
+
"pretest": "npm run build",
|
|
45
|
+
"test": "mocha test/**/*.spec.ts",
|
|
46
|
+
"coverage": "c8 npm run test",
|
|
47
|
+
"generate": "curl https://raw.githubusercontent.com/google-a2a/A2A/refs/heads/main/specification/json/a2a.json > spec.json && node scripts/generateTypes.js && rm spec.json",
|
|
48
|
+
"sample:cli": "tsx src/samples/cli.ts",
|
|
49
|
+
"sample:movie-agent": "tsx src/samples/agents/movie-agent/index.ts"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"uuid": "^11.1.0"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"express": "^4.21.2 || ^5.1.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependenciesMeta": {
|
|
58
|
+
"express": {
|
|
59
|
+
"optional": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"mocha": {
|
|
63
|
+
"require": "tsx"
|
|
64
|
+
}
|
|
65
|
+
}
|