From 39ebd2a77d753d98dc5f79eca649df56e8be1399 Mon Sep 17 00:00:00 2001 From: Sergey Androsov Date: Sun, 22 Jun 2025 13:03:00 +0300 Subject: [PATCH 1/4] FR-1674 - Add UI for stacking AI Tools in the AI Agent Block --- src/automation.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/automation.js b/src/automation.js index 1427a82..800cd03 100644 --- a/src/automation.js +++ b/src/automation.js @@ -28,6 +28,9 @@ const routes = prepareRoutes({ // eslint-disable-next-line max-len errorHandlerAnalytics: '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/error-handler/:errorHandlerId/recorded-errors', customElements : '/api/node-server/manage/app/:appId/flowrunner/custom-elements', + + flowrunnerAiAgentsProviders: '/api/node-server/manage/flowrunner/ai-agents/providers', + startDebugSession : '/api/app/:appId/automation/flow/:flowId/version/:versionId/debug/test-monitor/start-session', stopDebugSession : '/api/app/:appId/automation/flow/:flowId/version/:versionId/debug/test-monitor/stop-session', testMonitorHistory : '/api/app/:appId/automation/flow/:flowId/version/:versionId/debug/test-monitor/history', @@ -160,6 +163,10 @@ export default req => ({ return req.automation.get(routes.customElements(appId)) }, + getAiAgentsProviders() { + return req.nodeAPI.get(routes.flowrunnerAiAgentsProviders()) + }, + getRealtimeTriggerCallbackUrl(appId, scope, hostType, serviceName, modelName, lang) { return req.automation.get(routes.realtimeTriggerCallbackUrl(appId)) .query({ scope, hostType, serviceName, modelName, lang }) From 63d2553d517f3c210f36697522d4913bcb154320 Mon Sep 17 00:00:00 2001 From: Vladimir Upirov <4648606+Valodya@users.noreply.github.com> Date: Mon, 23 Jun 2025 11:44:04 +0300 Subject: [PATCH 2/4] - fix ESLint warnings --- src/automation.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/automation.js b/src/automation.js index 800cd03..d63537d 100644 --- a/src/automation.js +++ b/src/automation.js @@ -1,3 +1,4 @@ +/* eslint-disable max-len */ import { prepareRoutes } from './utils/routes' const routes = prepareRoutes({ @@ -19,13 +20,13 @@ const routes = prepareRoutes({ flowInstances : '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/instances/find', countInstances : '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/instances/count', flowInstance : '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/instances/:executionId', - // eslint-disable-next-line max-len + elementExecutionInfo: '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/instances/:executionId/element/:elementId', flowSlA : '/api/app/:appId/automation/flow/:flowId/version/:versionId/sla/goals', flowSlAGoal : '/api/app/:appId/automation/flow/:flowId/version/:versionId/sla/goals/:id', SLACalendars : '/api/app/:appId/automation/flow/sla/calendar', SLACalendar : '/api/app/:appId/automation/flow/sla/calendar/:id', - // eslint-disable-next-line max-len + errorHandlerAnalytics: '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/error-handler/:errorHandlerId/recorded-errors', customElements : '/api/node-server/manage/app/:appId/flowrunner/custom-elements', @@ -34,7 +35,6 @@ const routes = prepareRoutes({ startDebugSession : '/api/app/:appId/automation/flow/:flowId/version/:versionId/debug/test-monitor/start-session', stopDebugSession : '/api/app/:appId/automation/flow/:flowId/version/:versionId/debug/test-monitor/stop-session', testMonitorHistory : '/api/app/:appId/automation/flow/:flowId/version/:versionId/debug/test-monitor/history', - // eslint-disable-next-line max-len debugExecutionContext: '/api/app/:appId/automation/flow/:flowId/version/:versionId/debug/test-monitor/execution-context', runElementInDebugMode: '/api/app/:appId/automation/flow/:flowId/version/:versionId/debug/run/element/:elementId', From 5381ebd02a756a9fdf7f572b1cea208cafb29823 Mon Sep 17 00:00:00 2001 From: karyna Date: Tue, 24 Jun 2025 19:32:39 +0300 Subject: [PATCH 3/4] FR-1485 - Do not store raw pictures in the metadata --- src/community.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/community.js b/src/community.js index da5d9ec..ac99848 100644 --- a/src/community.js +++ b/src/community.js @@ -16,12 +16,6 @@ const routes = prepareRoutes({ onProductInstall: '/console/community/activity/products/install', reportUserActivity: '/console/community/activity/report', - - devSuicide: '/console/community/dev/suicide', -}) - -const activeCampaignRoutes = prepareRoutes({ - registerDeveloper: '/console/community/active-campaign/registration' }) export const community = req => ({ @@ -93,14 +87,4 @@ export const community = req => ({ reportUserActivity() { return req.community.post(routes.reportUserActivity()) }, - - //---- ACTIVE CAMPAIGN ----// - - onRegisterDeveloper(dev) { - return req.community.post(activeCampaignRoutes.registerDeveloper(), { dev }) - }, - - onDeveloperSuicide() { - return req.community.delete(routes.devSuicide()) - } }) From 642d6d1dbcc0ed392893e95f92eac5cfd21de567 Mon Sep 17 00:00:00 2001 From: karyna Date: Tue, 24 Jun 2025 21:09:05 +0300 Subject: [PATCH 4/4] FR-1541 - rolled back devSuicide route --- src/community.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/community.js b/src/community.js index ac99848..8d96f78 100644 --- a/src/community.js +++ b/src/community.js @@ -16,6 +16,8 @@ const routes = prepareRoutes({ onProductInstall: '/console/community/activity/products/install', reportUserActivity: '/console/community/activity/report', + + devSuicide: '/console/community/dev/suicide', }) export const community = req => ({ @@ -87,4 +89,8 @@ export const community = req => ({ reportUserActivity() { return req.community.post(routes.reportUserActivity()) }, + + onDeveloperSuicide() { + return req.community.delete(routes.devSuicide()) + } })