@agentstep/agent-sdk 0.5.12 → 0.5.13
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.
|
@@ -64,6 +64,9 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
getAgent
|
|
66
66
|
} from "./chunk-WT3SEE34.js";
|
|
67
|
+
import {
|
|
68
|
+
getConfig
|
|
69
|
+
} from "./chunk-WKGJQIRC.js";
|
|
67
70
|
import {
|
|
68
71
|
init_clock,
|
|
69
72
|
nowMs
|
|
@@ -660,7 +663,8 @@ function handlePostEvents(request, sessionId) {
|
|
|
660
663
|
const row = getSessionRow(sessionId);
|
|
661
664
|
if (row) {
|
|
662
665
|
const env = getEnvironment(row.environment_id);
|
|
663
|
-
|
|
666
|
+
const canExecuteInline = !!getConfig().defaultProvider || !!env?.config?.provider;
|
|
667
|
+
if (env?.config?.type === "self_hosted" && !canExecuteInline) {
|
|
664
668
|
const { createWorkItem } = await import("./db/work.js");
|
|
665
669
|
const { updateSessionStatus } = await import("./db/sessions.js");
|
|
666
670
|
const inputsJson = JSON.stringify(appended.pendingForTurn);
|
package/dist/handlers/events.js
CHANGED
package/dist/handlers/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"license": "Apache-2.0",
|
|
3
3
|
"name": "@agentstep/agent-sdk",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.13",
|
|
5
5
|
"description": "Core engine for AgentStep Gateway \u2014 backends, sandbox providers, session orchestration, and vault encryption.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"anthropic",
|