From 2f38bc86dc33ad39654ecbabc25f5233b02613a1 Mon Sep 17 00:00:00 2001 From: sergeikofman444 Date: Mon, 20 Jul 2026 10:54:14 -0400 Subject: [PATCH 1/3] fixed validation on livechat groups to allow for 0 as an ID --- integrations/livechat-hitl/src/actions/hitl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/livechat-hitl/src/actions/hitl.ts b/integrations/livechat-hitl/src/actions/hitl.ts index c6406355..40379108 100644 --- a/integrations/livechat-hitl/src/actions/hitl.ts +++ b/integrations/livechat-hitl/src/actions/hitl.ts @@ -31,7 +31,7 @@ export const startHitl: bp.IntegrationProps['actions']['startHitl'] = async ({ c const { email } = payload - if (!ctx.configuration.agentToken || !ctx.configuration.groupId) { + if (!ctx.configuration.agentToken || ctx.configuration.groupId == null) { throw new RuntimeError('Agent token and group ID are required for HITL conversations') } From d9bf33349485983e4e008b9b6f03b4f6b071a47a Mon Sep 17 00:00:00 2001 From: sergeikofman444 Date: Mon, 20 Jul 2026 11:01:22 -0400 Subject: [PATCH 2/3] bump --- integrations/livechat-hitl/integration.definition.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/livechat-hitl/integration.definition.ts b/integrations/livechat-hitl/integration.definition.ts index 9e211852..6cf60622 100644 --- a/integrations/livechat-hitl/integration.definition.ts +++ b/integrations/livechat-hitl/integration.definition.ts @@ -5,7 +5,7 @@ import { events, configuration, states, channels, user } from './src/definitions export default new IntegrationDefinition({ name: 'plus/livechat-hitl', title: 'LiveChat HITL', - version: '3.0.2', + version: '3.0.3', icon: 'icon.svg', description: 'This integration allows your bot to use LiveChat as a HITL provider. Messages will appear in LiveChat.', readme: 'hub.md', From 5298096666bf2ccd71763a490a62df5a71257566 Mon Sep 17 00:00:00 2001 From: sergeikofman444 Date: Mon, 20 Jul 2026 11:22:42 -0400 Subject: [PATCH 3/3] use strict equality --- integrations/livechat-hitl/src/actions/hitl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/livechat-hitl/src/actions/hitl.ts b/integrations/livechat-hitl/src/actions/hitl.ts index 40379108..cbecaa10 100644 --- a/integrations/livechat-hitl/src/actions/hitl.ts +++ b/integrations/livechat-hitl/src/actions/hitl.ts @@ -31,7 +31,7 @@ export const startHitl: bp.IntegrationProps['actions']['startHitl'] = async ({ c const { email } = payload - if (!ctx.configuration.agentToken || ctx.configuration.groupId == null) { + if (!ctx.configuration.agentToken || ctx.configuration.groupId === null) { throw new RuntimeError('Agent token and group ID are required for HITL conversations') }