agents-sdk
Advanced tools
Comparing version 0.0.17 to 0.0.18
import { | ||
Agent | ||
} from "./chunk-X57WSUMB.js"; | ||
} from "./chunk-W5RYZQM4.js"; | ||
@@ -5,0 +5,0 @@ // src/ai-chat-agent.ts |
@@ -7,3 +7,3 @@ import { | ||
routeAgentRequest | ||
} from "./chunk-X57WSUMB.js"; | ||
} from "./chunk-W5RYZQM4.js"; | ||
export { | ||
@@ -10,0 +10,0 @@ Agent, |
{ | ||
"name": "agents-sdk", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"main": "src/index.ts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -176,16 +176,6 @@ import { | ||
#warnedToImplementOnStateUpdate = false; | ||
onStateUpdate(state: State | undefined, source: Connection | "server") { | ||
if (!this.#warnedToImplementOnStateUpdate) { | ||
console.log( | ||
"state updated, implement onStateUpdate in your agent to handle this change" | ||
); | ||
this.#warnedToImplementOnStateUpdate = true; | ||
} | ||
// override this to handle state updates | ||
} | ||
// onMessage(connection: Connection, message: WSMessage) {} | ||
// onConnect(connection: Connection, ctx: ConnectionContext) {} | ||
onEmail(email: ForwardableEmailMessage) { | ||
@@ -192,0 +182,0 @@ throw new Error("Not implemented"); |
85788
1321