New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

agents-sdk

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agents-sdk - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

dist/chunk-W5RYZQM4.js

2

dist/ai-chat-agent.js
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");

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc