@xmtp/agent-sdk 1.1.15 → 1.1.16

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +61 -62
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # XMTP Agent SDK
2
2
 
3
- Build event‑driven, middleware‑powered messaging agents on the XMTP network. 🚀
3
+ Build powerful conversational AI agents that can interact with users across web3 apps like [Base](https://www.base.org/).
4
+
5
+ The XMTP Agent SDK brings familiar Node.js patterns (event listeners, middleware, filters, and more) to web3 messaging, making it easy for developers to create sophisticated chatbots and agenic experiences.
4
6
 
5
7
  ## Documentation
6
8
 
package/package.json CHANGED
@@ -1,8 +1,66 @@
1
1
  {
2
- "author": "XMTP Labs <eng@xmtp.com>",
2
+ "name": "@xmtp/agent-sdk",
3
+ "version": "1.1.16",
4
+ "description": "XMTP Agent SDK for interacting with XMTP networks",
5
+ "keywords": [
6
+ "agents",
7
+ "javascript",
8
+ "js",
9
+ "messaging",
10
+ "node",
11
+ "nodejs",
12
+ "typescript",
13
+ "web3",
14
+ "xmtp"
15
+ ],
16
+ "homepage": "https://github.com/xmtp/xmtp-js",
3
17
  "bugs": {
4
18
  "url": "https://github.com/xmtp/xmtp-js/issues"
5
19
  },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://git@github.com/xmtp/xmtp-js.git",
23
+ "directory": "sdks/agent-sdk"
24
+ },
25
+ "license": "MIT",
26
+ "author": "XMTP Labs <eng@xmtp.com>",
27
+ "type": "module",
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js"
32
+ },
33
+ "./debug": {
34
+ "types": "./dist/debug.d.ts",
35
+ "import": "./dist/debug.js"
36
+ },
37
+ "./middleware": {
38
+ "types": "./dist/middleware.d.ts",
39
+ "import": "./dist/middleware.js"
40
+ },
41
+ "./user": {
42
+ "types": "./dist/user.d.ts",
43
+ "import": "./dist/user.js"
44
+ }
45
+ },
46
+ "main": "dist/index.js",
47
+ "files": [
48
+ "dist",
49
+ "!dist/**/*.test.*"
50
+ ],
51
+ "scripts": {
52
+ "build": "yarn clean:dist && tsc -p tsconfig.build.json && tsc-alias && attw --pack --profile node16 . --ignore-rules cjs-resolves-to-esm",
53
+ "clean": "rm -rf .turbo && rm -rf node_modules && yarn clean:dist",
54
+ "clean:dist": "rm -rf dist",
55
+ "demo": "tsx src/demo.ts",
56
+ "dev": "tsx --watch src/main.ts",
57
+ "fix": "npx prettier --log-level error -w . && npx eslint . --fix",
58
+ "gen:keys": "tsx src/bin/generateKeys.ts",
59
+ "start": "yarn demo",
60
+ "test": "yarn typecheck && vitest run --typecheck",
61
+ "test:cov": "vitest run --coverage",
62
+ "typecheck": "tsc --noEmit"
63
+ },
6
64
  "dependencies": {
7
65
  "@xmtp/content-type-markdown": "^1.0.0",
8
66
  "@xmtp/content-type-reaction": "^2.0.2",
@@ -15,7 +73,6 @@
15
73
  "@xmtp/node-sdk": "4.3.1",
16
74
  "viem": "^2.37.6"
17
75
  },
18
- "description": "XMTP Agent SDK for interacting with XMTP networks",
19
76
  "devDependencies": {
20
77
  "@arethetypeswrong/cli": "^0.18.2",
21
78
  "@types/node": "^24.9.1",
@@ -28,69 +85,11 @@
28
85
  "vitest": "^4.0.3"
29
86
  },
30
87
  "engines": {
31
- "node": ">=20"
32
- },
33
- "exports": {
34
- ".": {
35
- "import": "./dist/index.js",
36
- "types": "./dist/index.d.ts"
37
- },
38
- "./debug": {
39
- "import": "./dist/debug.js",
40
- "types": "./dist/debug.d.ts"
41
- },
42
- "./middleware": {
43
- "import": "./dist/middleware.js",
44
- "types": "./dist/middleware.d.ts"
45
- },
46
- "./user": {
47
- "import": "./dist/user.js",
48
- "types": "./dist/user.d.ts"
49
- }
88
+ "node": ">=22"
50
89
  },
51
- "files": [
52
- "dist",
53
- "!dist/**/*.test.*"
54
- ],
55
- "homepage": "https://github.com/xmtp/xmtp-js",
56
- "keywords": [
57
- "agents",
58
- "javascript",
59
- "js",
60
- "messaging",
61
- "node",
62
- "nodejs",
63
- "typescript",
64
- "web3",
65
- "xmtp"
66
- ],
67
- "license": "MIT",
68
- "main": "dist/index.js",
69
- "name": "@xmtp/agent-sdk",
70
- "packageManager": "yarn@4.5.0",
71
90
  "publishConfig": {
72
91
  "access": "public",
73
92
  "provenance": true,
74
93
  "registry": "https://registry.npmjs.org/"
75
- },
76
- "repository": {
77
- "directory": "sdks/agent-sdk",
78
- "type": "git",
79
- "url": "git+https://git@github.com/xmtp/xmtp-js.git"
80
- },
81
- "scripts": {
82
- "build": "yarn clean:dist && tsc -p tsconfig.build.json && tsc-alias && attw --pack --profile node16 . --ignore-rules cjs-resolves-to-esm",
83
- "clean": "rm -rf .turbo && rm -rf node_modules && yarn clean:dist",
84
- "clean:dist": "rm -rf dist",
85
- "demo": "tsx src/demo.ts",
86
- "dev": "tsx --watch src/main.ts",
87
- "fix": "npx prettier --log-level error -w . && npx eslint . --fix",
88
- "gen:keys": "tsx src/bin/generateKeys.ts",
89
- "start": "yarn demo",
90
- "test": "yarn typecheck && vitest run --typecheck",
91
- "test:cov": "vitest run --coverage",
92
- "typecheck": "tsc --noEmit"
93
- },
94
- "type": "module",
95
- "version": "1.1.15"
94
+ }
96
95
  }