agent-swarm-kit 1.0.4 → 1.0.6
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,9 +103,9 @@ app.get("/api/v1/session/:clientId", upgradeWebSocket((ctx) => {
|
|
|
103
103
|
const { complete, dispose } = session(clientId, TEST_SWARM)
|
|
104
104
|
|
|
105
105
|
return {
|
|
106
|
-
onMessage(event) {
|
|
106
|
+
onMessage(event, ws) {
|
|
107
107
|
const message = event.data.toString();
|
|
108
|
-
|
|
108
|
+
ws.send(await complete(message));
|
|
109
109
|
},
|
|
110
110
|
onClose: () => {
|
|
111
111
|
await dispose();
|
|
@@ -154,7 +154,7 @@ Agent Swarm Kit lets you build intelligent multi-agent systems where different a
|
|
|
154
154
|
**Core Components:**
|
|
155
155
|
- Agent Management: Create, validate, and connect agents
|
|
156
156
|
- Session Handling: Execute commands across agent networks
|
|
157
|
-
- Tool Validation: Ensure agent tools meet
|
|
157
|
+
- Tool Validation: Ensure agent tools calls meet argument requirements
|
|
158
158
|
- History Tracking: Log and retrieve agent interactions
|
|
159
159
|
|
|
160
160
|
**Use Cases:**
|