0agent 1.0.20 → 1.0.21

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/bin/0agent.js +1 -1
  2. package/package.json +1 -1
package/bin/0agent.js CHANGED
@@ -518,7 +518,7 @@ async function streamSession(sessionId) {
518
518
  ws.send(JSON.stringify({ type: 'subscribe', topics: ['sessions'] }));
519
519
  });
520
520
 
521
- ws.on('message', (data) => {
521
+ ws.on('message', async (data) => {
522
522
  try {
523
523
  const event = JSON.parse(data.toString());
524
524
  if (event.session_id !== sessionId) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "0agent",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "A persistent, learning AI agent that runs on your machine. An agent that learns.",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",