@agentstep/gateway 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.
- package/dist/gateway.js +7 -5
- package/package.json +1 -1
package/dist/gateway.js
CHANGED
|
@@ -221751,7 +221751,7 @@ var init_sessions = __esm({
|
|
|
221751
221751
|
}
|
|
221752
221752
|
});
|
|
221753
221753
|
|
|
221754
|
-
// ../agent-sdk/dist/chunk-
|
|
221754
|
+
// ../agent-sdk/dist/chunk-B4COQYOI.js
|
|
221755
221755
|
function assertSessionTenant2(auth, sessionId) {
|
|
221756
221756
|
const row = getDb().prepare(`SELECT tenant_id FROM sessions WHERE id = ?`).get(sessionId);
|
|
221757
221757
|
if (row) {
|
|
@@ -222286,7 +222286,8 @@ function handlePostEvents(request2, sessionId) {
|
|
|
222286
222286
|
const row = getSessionRow(sessionId);
|
|
222287
222287
|
if (row) {
|
|
222288
222288
|
const env3 = getEnvironment(row.environment_id);
|
|
222289
|
-
|
|
222289
|
+
const canExecuteInline = !!getConfig().defaultProvider || !!env3?.config?.provider;
|
|
222290
|
+
if (env3?.config?.type === "self_hosted" && !canExecuteInline) {
|
|
222290
222291
|
const { createWorkItem: createWorkItem2 } = await Promise.resolve().then(() => (init_work(), work_exports));
|
|
222291
222292
|
const { updateSessionStatus: updateSessionStatus2 } = await Promise.resolve().then(() => (init_sessions(), sessions_exports));
|
|
222292
222293
|
const inputsJson = JSON.stringify(appended.pendingForTurn);
|
|
@@ -222336,8 +222337,8 @@ function handleListEvents(request2, sessionId) {
|
|
|
222336
222337
|
});
|
|
222337
222338
|
}
|
|
222338
222339
|
var teeLog, activeTees, MAX_TEE_REENTRIES, TextBlock2, UserMessage, UserInterrupt, UserToolConfirmation, UserCustomToolResult, UserDefineOutcome, UserEvent, BatchSchema;
|
|
222339
|
-
var
|
|
222340
|
-
"../agent-sdk/dist/chunk-
|
|
222340
|
+
var init_chunk_B4COQYOI = __esm({
|
|
222341
|
+
"../agent-sdk/dist/chunk-B4COQYOI.js"() {
|
|
222341
222342
|
"use strict";
|
|
222342
222343
|
init_chunk_HHS6EHSG();
|
|
222343
222344
|
init_chunk_LOWHDHDD();
|
|
@@ -222355,6 +222356,7 @@ var init_chunk_6X3G5SAS = __esm({
|
|
|
222355
222356
|
init_chunk_PRWWTLPR();
|
|
222356
222357
|
init_chunk_CFLMIJ2C();
|
|
222357
222358
|
init_chunk_WT3SEE34();
|
|
222359
|
+
init_chunk_WKGJQIRC();
|
|
222358
222360
|
init_chunk_HFDLUBWN();
|
|
222359
222361
|
init_chunk_U3QU5AVC();
|
|
222360
222362
|
init_chunk_EZYKRG4W();
|
|
@@ -224567,7 +224569,7 @@ var init_handlers3 = __esm({
|
|
|
224567
224569
|
init_chunk_PJTGQVKB();
|
|
224568
224570
|
init_chunk_3NNU7TQ4();
|
|
224569
224571
|
init_chunk_ONS32E65();
|
|
224570
|
-
|
|
224572
|
+
init_chunk_B4COQYOI();
|
|
224571
224573
|
init_chunk_HHS6EHSG();
|
|
224572
224574
|
init_chunk_KHICXOTH();
|
|
224573
224575
|
init_chunk_B5JUCPYW();
|
package/package.json
CHANGED