@agentuity/runtime 0.0.66 → 0.0.68
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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ logger.info('Server running on http://localhost:3500');
|
|
|
29
29
|
### Defining an Agent
|
|
30
30
|
|
|
31
31
|
```typescript
|
|
32
|
-
import {
|
|
32
|
+
import { createAgent } from '@agentuity/runtime';
|
|
33
33
|
import { z } from 'zod';
|
|
34
34
|
|
|
35
35
|
const agent = createAgent({
|
|
@@ -41,7 +41,7 @@ const agent = createAgent({
|
|
|
41
41
|
response: z.string(),
|
|
42
42
|
}),
|
|
43
43
|
},
|
|
44
|
-
handler: async (ctx
|
|
44
|
+
handler: async (ctx, input) => {
|
|
45
45
|
ctx.logger.info('Processing message:', input.message);
|
|
46
46
|
return { response: `You said: ${input.message}` };
|
|
47
47
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentuity/runtime",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.68",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Agentuity employees and contributors",
|
|
6
6
|
"type": "module",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"prepublishOnly": "bun run clean && bun run build"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@agentuity/core": "0.0.
|
|
29
|
-
"@agentuity/server": "0.0.
|
|
28
|
+
"@agentuity/core": "0.0.68",
|
|
29
|
+
"@agentuity/server": "0.0.68",
|
|
30
30
|
"@opentelemetry/api": "^1.9.0",
|
|
31
31
|
"@opentelemetry/api-logs": "^0.207.0",
|
|
32
32
|
"@opentelemetry/auto-instrumentations-node": "^0.66.0",
|