Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@forwardimpact/libtype

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forwardimpact/libtype - npm Package Compare versions

Comparing version
0.1.69
to
0.1.70
+1
-1
package.json
{
"name": "@forwardimpact/libtype",
"version": "0.1.69",
"version": "0.1.70",
"description": "Shared type definitions and data models for Guide",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -16,7 +16,4 @@ import { generateUUID } from "@forwardimpact/libsecret";

resource = {},
agent = {},
llm = {},
vector = {},
graph = {},
memory = {},
tool = {},

@@ -80,3 +77,2 @@ trace = {},

common.Agent.prototype.withIdentifier = withIdentifier;
common.Conversation.prototype.withIdentifier = withIdentifier;

@@ -142,15 +138,2 @@ common.Message.prototype.withIdentifier = withIdentifier;

/**
* Monkey-patches for common.Agent
*/
const AgentCtor = common.Agent;
const AgentfromObject = AgentCtor.fromObject;
// Monkey-patch Agent.fromObject to apply identifier
common.Agent.fromObject = function (object) {
const typed = AgentfromObject(object);
typed.withIdentifier();
return typed;
};
/**
* Monkey-patches for tool.ToolFunction

@@ -196,9 +179,6 @@ */

resource,
agent,
llm,
vector,
graph,
memory,
tool,
trace,
};