@openserv-labs/sdk 1.8.2 → 2.0.1
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/README.md +217 -5
- package/dist/agent.d.ts +10 -3
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +54 -10
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/logger.d.ts.map +1 -1
- package/dist/logger.js +18 -4
- package/dist/run.d.ts +58 -0
- package/dist/run.d.ts.map +1 -0
- package/dist/run.js +111 -0
- package/dist/tunnel.d.ts +189 -0
- package/dist/tunnel.d.ts.map +1 -0
- package/dist/tunnel.js +803 -0
- package/package.json +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openserv-labs/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "OpenServ Agent SDK - Create AI agents easily",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"dev:example": "ts-node-dev --respawn --transpile-only examples/marketing-agent.ts",
|
|
11
11
|
"dev:twitter": "ts-node-dev --respawn --transpile-only examples/twitter-agent.ts",
|
|
12
12
|
"dev:custom-agent": "ts-node-dev --respawn --transpile-only examples/custom-agent.ts",
|
|
13
|
+
"dev:haiku": "ts-node-dev --respawn --transpile-only examples/haiku-agent.ts",
|
|
13
14
|
"check-types": "tsc --noEmit",
|
|
14
15
|
"prepublishOnly": "npm run build && npm run lint && npm run check-types && npm run test",
|
|
15
16
|
"prepare": "npm run build",
|
|
@@ -54,6 +55,8 @@
|
|
|
54
55
|
"hpp": "^0.2.3",
|
|
55
56
|
"http-errors": "^2.0.0",
|
|
56
57
|
"pino": "^9.6.0",
|
|
58
|
+
"pino-pretty": "^13.1.3",
|
|
59
|
+
"ws": "^8.18.0",
|
|
57
60
|
"zod": "^3.22.4",
|
|
58
61
|
"zod-to-json-schema": "^3.22.4"
|
|
59
62
|
},
|
|
@@ -64,6 +67,7 @@
|
|
|
64
67
|
"@types/helmet": "^0.0.48",
|
|
65
68
|
"@types/hpp": "^0.2.6",
|
|
66
69
|
"@types/node": "^22.10.2",
|
|
70
|
+
"@types/ws": "^8.5.13",
|
|
67
71
|
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
68
72
|
"@typescript-eslint/parser": "^7.3.1",
|
|
69
73
|
"dotenv": "^16.4.5",
|