Commit Graph

556 Commits

Author SHA1 Message Date
Baptiste Arnaud
8771fd3c53
️ Add "Device type" set variable option 2025-03-27 10:42:05 +01:00
Alexis Falaise
e8c2f1746f
🚸 Add internal values option in choice inputs (#2098)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
This adds a value field for Button and Picture choice blocks. If a value
is defined, it will take precedence over the button content or the image
title for variable evaluation.

<img width="396" alt="Capture d’écran 2025-03-25 à 15 14 20"
src="https://github.com/user-attachments/assets/5dcc4acc-7881-4044-b81b-275b07e8e80e"
/>
<img width="396" alt="Capture d’écran 2025-03-25 à 15 13 47"
src="https://github.com/user-attachments/assets/ca6b54fb-0a5c-4b1e-8494-122618866f02"
/>

Closes #1713

---------

Co-authored-by: Alexis Falaise <alexis.falaise@external.engie.com>
Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2025-03-26 18:11:32 +01:00
Baptiste Arnaud
54612a2d5e
🐛 Add check for empty allowed origins in origin validation logic 2025-03-26 13:44:52 +01:00
Baptiste Arnaud
7f44ca4410
🐛 Make allowed origins stricter and prevent the bot being consumable from public URL as mentioned in the docs
Closes #1812
2025-03-26 13:38:07 +01:00
Baptiste Arnaud
0c531aff66
🐛 (cards) Fix dynamic cards duplication 2025-03-24 17:02:35 +01:00
Baptiste Arnaud
9153337924
🚑️ Fix number validation when equals to 0 2025-03-19 16:51:05 +01:00
Baptiste Arnaud
e10d448bf8
🚑️ Avoid formatting number on reply parsing 2025-03-19 16:27:11 +01:00
Alexis Falaise
f515ef108e
Add format options in number input block (#2080) 2025-03-19 12:29:18 +01:00
Alexis Falaise
9a7624bf48
️ Add prompt and completion tokens to the save dropdown (#2070)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
This adds **Prompt tokens** and **Completion tokens** options to the
save dropdown for AI blocks, based on the available token counts of the
CompletionUsage response.


<img width="322" alt="Capture d’écran 2025-03-14 à 16 37 55"
src="https://github.com/user-attachments/assets/e5cce02d-7f61-4cfa-8f84-a50f718335ed"
/>
2025-03-15 08:23:35 +01:00
Baptiste Arnaud
42d974f200
🐛 Tie globals object for each session
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Closes #2029
2025-03-13 09:06:24 +01:00
Baptiste Arnaud
b61b5f5e4e
Add Cards Input
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Closes #1987
2025-03-10 16:05:10 +01:00
Baptiste Arnaud
8d86535e42
🔥 Remove workspaceId optionnality in chat session state 2025-03-03 10:53:50 +01:00
Baptiste Arnaud
1b281c6b54
🔒️ (typebotLink) Make sure fetched linked bot has matching workspaceId 2025-02-22 10:40:24 +01:00
Baptiste Arnaud
bd3dc6e3a7
🐛 Adjust schema validation for optional number and variable types 2025-02-21 10:00:37 +01:00
Baptiste Arnaud
ccd794a82f
🐛 Preprocess number or variable type to avoid unwanted validation crash 2025-02-19 18:38:08 +01:00
Baptiste Arnaud
0a75534cce
Add missing deps 2025-02-19 11:02:21 +01:00
Baptiste Arnaud
61e401cedc
🔧 Add Sentry typebotId tagging in chat API 2025-02-18 16:21:08 +01:00
Baptiste Arnaud
84f20ff2ed
🐛 Fix potential crash on empty action in forged block 2025-02-18 16:14:41 +01:00
Baptiste Arnaud
f45f565081
🐛 Fix HTTP error parsing when json body is empty 2025-02-18 16:13:26 +01:00
Baptiste Arnaud
2597742521
🚸 (googleSheets) Properly catch updateRow errors 2025-02-18 16:03:40 +01:00
Baptiste Arnaud
748252b19e
🔒️ Respond 404 for suspended bots 2025-02-18 13:13:45 +01:00
Baptiste Arnaud
37c7669245
🚑️ Fix typebot link not resuming
Did not pass in the right edge id into queue
2025-02-18 08:36:53 +01:00
Baptiste Arnaud
a6714ef1ab
🚸 Improve error handling with AI streaming 2025-02-17 11:03:14 +01:00
Baptiste Arnaud
f07cf79aba
🚸 Add error logging for unconfigured forged blocks 2025-02-15 11:40:42 +01:00
Baptiste Arnaud
d6b55781b3
🚸 Gracefully handle google doc authentication with missing credId or spreadsheetId 2025-02-15 11:23:42 +01:00
Baptiste Arnaud
6e81f1d038
⬆️ Upgrade trpc 2025-02-14 17:35:24 +01:00
Baptiste Arnaud
d9df90c9b1
🚸 Unify captured logs for better error reporting 2025-02-14 16:03:51 +01:00
Baptiste Arnaud
c93b4f4ce7
Add Command event (#2017)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Closes #1102
2025-02-14 09:40:42 +01:00
Baptiste Arnaud
b7a8a9ed5a
🐛 Enable dynamic theme for bot background
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Closes #2001
2025-02-08 16:07:21 +01:00
Baptiste Arnaud
ff0732ef2a
🐛 Fix Pop and shift variable side effect not working for string 2025-02-07 11:24:41 +01:00
Baptiste Arnaud
27366dde5a
💚 Add missing packages and clean up unused packages 2025-02-04 11:39:17 +01:00
Baptiste Arnaud
b4901fa04a
♻️ Upgrade ai SDK and refacto shared functions 2025-01-31 16:36:21 +01:00
Baptiste Arnaud
806158541f
Add error variable saving for Set Variable block with code expression
Closes #1659
2025-01-30 18:32:12 +01:00
Baptiste Arnaud
789b38ea3f
Add option to customize system messages
invalid message, bot closed, popup blocked... Closes #913, #1526
2025-01-30 17:07:23 +01:00
Baptiste Arnaud
4e075af50d
Add WhatsApp Referral predefined values in Set variable block
Closes #1906
2025-01-30 11:02:23 +01:00
John Walsh
b565a63bf3
Add Time input block (#1978)
Closes #1941

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2025-01-30 10:34:45 +01:00
Baptiste Arnaud
aae6caaa0a
Revert "build: add ts references for better DX"
This reverts commit b8ffad0159.
2025-01-29 17:44:06 +01:00
Baptiste Arnaud
a03f26b7fc
🔊 improve remove workspaceId log specificity 2025-01-26 09:53:24 +01:00
Baptiste Arnaud
0acb655f33
feat: add workspaceId in session state for credentialsId check 2025-01-25 17:42:10 +01:00
Baptiste Arnaud
61615d8bd6
refactor: centralize credentials in credentials package 2025-01-25 17:32:26 +01:00
Baptiste Arnaud
846b8bcc0b
refactor: add chat-session package and migrate related files from bot-engine 2025-01-25 16:49:25 +01:00
Baptiste Arnaud
7bbb7fb661
refactor: move computeTypingDuration to settings package 2025-01-25 16:22:15 +01:00
Baptiste Arnaud
d97913ac15
refactor: move encryption functions to credentials package 2025-01-25 16:01:48 +01:00
Baptiste Arnaud
b8ffad0159
build: add ts references for better DX 2025-01-25 14:57:01 +01:00
Baptiste Arnaud
cccd8a9209
fix(bot-engine): reduce variable value to empty array when shifting or popping a string
Closes #1965
2025-01-24 18:00:33 +01:00
Baptiste Arnaud
06e6faa9d5
feat: integrate new brand (#1935) 2025-01-23 13:25:47 +01:00
abab-dev
ec7b2215f9
🧑‍💻 Add ignoreTLS option to SMTP configuration (#1943)
Fixes #1340
2025-01-06 10:27:38 +01:00
Anonymus2000
b409c962be
️ (buttons) filter unique items from dynamic buttons variable (#1926)
Fixes: #1483
2025-01-03 18:33:10 +01:00
Baptiste Arnaud
11503dc3e6
🐛 Make BottomSpacer height's dynamic to fix auto scroll with small containers
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Closes #1912
2024-12-12 14:13:21 +01:00
Baptiste Arnaud
16b7776283
♻️ Include autoContinueChat function in startBotFlow 2024-12-12 08:18:25 +01:00