🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@agentskit/runtime

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentskit/runtime - npm Package Compare versions

Comparing version
0.10.13
to
0.10.14
+15
-3
dist/index.cjs

@@ -248,10 +248,22 @@ 'use strict';

toolCall.result = execResult.result;
messages.push(core.buildMessage({ role: "tool", content: execResult.result ?? "" }));
messages.push(core.buildMessage({
role: "tool",
content: execResult.result ?? "",
toolCallId: toolCall.id
}));
} else if (execResult.status === "skipped") {
toolCall.status = "error";
toolCall.error = execResult.result;
messages.push(core.buildMessage({ role: "tool", content: execResult.result ?? "Tool execution skipped" }));
messages.push(core.buildMessage({
role: "tool",
content: execResult.result ?? "Tool execution skipped",
toolCallId: toolCall.id
}));
} else {
toolCall.error = execResult.error;
messages.push(core.buildMessage({ role: "tool", content: `Error: ${execResult.error}` }));
messages.push(core.buildMessage({
role: "tool",
content: `Error: ${execResult.error}`,
toolCallId: toolCall.id
}));
}

@@ -258,0 +270,0 @@ }

@@ -245,10 +245,22 @@ export { createSharedContext } from './chunk-KGE5E45K.js';

toolCall.result = execResult.result;
messages.push(buildMessage({ role: "tool", content: execResult.result ?? "" }));
messages.push(buildMessage({
role: "tool",
content: execResult.result ?? "",
toolCallId: toolCall.id
}));
} else if (execResult.status === "skipped") {
toolCall.status = "error";
toolCall.error = execResult.result;
messages.push(buildMessage({ role: "tool", content: execResult.result ?? "Tool execution skipped" }));
messages.push(buildMessage({
role: "tool",
content: execResult.result ?? "Tool execution skipped",
toolCallId: toolCall.id
}));
} else {
toolCall.error = execResult.error;
messages.push(buildMessage({ role: "tool", content: `Error: ${execResult.error}` }));
messages.push(buildMessage({
role: "tool",
content: `Error: ${execResult.error}`,
toolCallId: toolCall.id
}));
}

@@ -255,0 +267,0 @@ }

+2
-2
{
"name": "@agentskit/runtime",
"version": "0.10.13",
"version": "0.10.14",
"description": "Standalone agent runtime with ReAct loop for AgentsKit.",

@@ -46,3 +46,3 @@ "keywords": [

"dependencies": {
"@agentskit/core": "1.12.6"
"@agentskit/core": "1.12.7"
},

@@ -49,0 +49,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display