twilio-agent-connect 1.0.0
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 +22 -0
- package/README.md +251 -0
- package/dist/index.d.ts +5695 -0
- package/dist/index.js +5629 -0
- package/dist/index.js.map +1 -0
- package/package.json +78 -0
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "twilio-agent-connect",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Twilio Agent Connect - A TypeScript framework for building intelligent agents",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsup",
|
|
21
|
+
"clean": "rimraf dist packages/*/dist",
|
|
22
|
+
"test": "vitest --run",
|
|
23
|
+
"test:watch": "vitest",
|
|
24
|
+
"test:coverage": "vitest --coverage",
|
|
25
|
+
"lint": "eslint packages/*/src/**/*.ts src/**/*.ts",
|
|
26
|
+
"lint:fix": "eslint packages/*/src/**/*.ts src/**/*.ts --fix",
|
|
27
|
+
"format": "prettier --write packages/*/src/**/*.ts src/**/*.ts getting_started/**/*.ts",
|
|
28
|
+
"format:check": "prettier --check packages/*/src/**/*.ts src/**/*.ts getting_started/**/*.ts",
|
|
29
|
+
"typecheck": "tsc --noEmit",
|
|
30
|
+
"example:getting-started": "cd getting_started/examples/openai && npm install && npm run dev",
|
|
31
|
+
"example:chat": "cd getting_started/examples/chat && npm install && npm run dev"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"twilio",
|
|
35
|
+
"ai",
|
|
36
|
+
"agents",
|
|
37
|
+
"framework",
|
|
38
|
+
"typescript"
|
|
39
|
+
],
|
|
40
|
+
"author": "Twilio",
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "https://github.com/twilio/twilio-agent-connect-typescript.git"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@eslint/js": "^9.0.0",
|
|
48
|
+
"@types/node": "^22.0.0",
|
|
49
|
+
"@types/ws": "^8.18.1",
|
|
50
|
+
"@vitest/coverage-v8": "^4.1.2",
|
|
51
|
+
"axios-mock-adapter": "^2.1.0",
|
|
52
|
+
"eslint": "^9.0.0",
|
|
53
|
+
"globals": "^15.0.0",
|
|
54
|
+
"prettier": "^3.0.0",
|
|
55
|
+
"rimraf": "^5.0.0",
|
|
56
|
+
"tsup": "^8.5.1",
|
|
57
|
+
"typescript": "^5.0.0",
|
|
58
|
+
"typescript-eslint": "^8.0.0",
|
|
59
|
+
"vitest": "^4.1.2"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@fastify/formbody": "^8.0.2",
|
|
63
|
+
"@fastify/websocket": "^11.2.0",
|
|
64
|
+
"axios": "^1.15.2",
|
|
65
|
+
"axios-retry": "^4.5.0",
|
|
66
|
+
"dotenv": "^16.4.7",
|
|
67
|
+
"fastify": "^5.8.5",
|
|
68
|
+
"fastify-graceful-shutdown": "^5.0.0",
|
|
69
|
+
"pino": "^9.0.0",
|
|
70
|
+
"twilio": "^5.10.7",
|
|
71
|
+
"ws": "^8.19.0",
|
|
72
|
+
"zod": "^3.22.0"
|
|
73
|
+
},
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=22.13.0",
|
|
76
|
+
"npm": ">=9.0.0"
|
|
77
|
+
}
|
|
78
|
+
}
|