cmcts-c-agent-embedding 1.0.6-kyocera → 1.0.6-tchckt

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.
Files changed (84) hide show
  1. package/.env.example +34 -34
  2. package/.eslintrc.cjs +14 -14
  3. package/.idea/AugmentWebviewStateStore.xml +10 -0
  4. package/.idea/codeStyles/Project.xml +60 -0
  5. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  6. package/.idea/copilot.data.migration.agent.xml +6 -0
  7. package/.idea/copilot.data.migration.ask.xml +6 -0
  8. package/.idea/copilot.data.migration.ask2agent.xml +6 -0
  9. package/.idea/copilot.data.migration.edit.xml +6 -0
  10. package/.idea/flowise-chatbox.iml +9 -0
  11. package/.idea/inspectionProfiles/Project_Default.xml +16 -0
  12. package/.idea/misc.xml +6 -0
  13. package/.idea/modules.xml +8 -0
  14. package/.idea/prettier.xml +6 -0
  15. package/.idea/vcs.xml +6 -0
  16. package/.prettierignore +3 -3
  17. package/.prettierrc +8 -8
  18. package/README.md +349 -349
  19. package/base.json +21 -21
  20. package/dist/components/Bot.d.ts +1 -3
  21. package/dist/components/Bot.d.ts.map +1 -1
  22. package/dist/components/FeedbackContentDialog.d.ts +0 -3
  23. package/dist/components/FeedbackContentDialog.d.ts.map +1 -1
  24. package/dist/components/bubbles/BotBubble.d.ts +0 -3
  25. package/dist/components/bubbles/BotBubble.d.ts.map +1 -1
  26. package/dist/components/bubbles/OcrFile.d.ts +3 -0
  27. package/dist/components/bubbles/OcrFile.d.ts.map +1 -0
  28. package/dist/components/bubbles/SourceBubble.d.ts.map +1 -1
  29. package/dist/components/bubbles/StarterPromptBubble.d.ts.map +1 -1
  30. package/dist/components/buttons/CopyMessageButton.d.ts +10 -0
  31. package/dist/components/buttons/CopyMessageButton.d.ts.map +1 -0
  32. package/dist/components/buttons/EditMessageButton.d.ts +8 -0
  33. package/dist/components/buttons/EditMessageButton.d.ts.map +1 -0
  34. package/dist/components/buttons/PopupToast.d.ts +7 -0
  35. package/dist/components/buttons/PopupToast.d.ts.map +1 -0
  36. package/dist/components/dialogs/EditMessageDialog.d.ts +9 -0
  37. package/dist/components/dialogs/EditMessageDialog.d.ts.map +1 -0
  38. package/dist/components/icons/CheckIcon.d.ts +3 -0
  39. package/dist/components/icons/CheckIcon.d.ts.map +1 -0
  40. package/dist/components/icons/CopyIcon.d.ts +5 -0
  41. package/dist/components/icons/CopyIcon.d.ts.map +1 -0
  42. package/dist/components/icons/EditIcon.d.ts +5 -0
  43. package/dist/components/icons/EditIcon.d.ts.map +1 -0
  44. package/dist/components/icons/index.d.ts +3 -0
  45. package/dist/components/icons/index.d.ts.map +1 -1
  46. package/dist/components/inputs/textInput/components/ShortTextInput.d.ts.map +1 -1
  47. package/dist/components/inputs/textInput/components/TextInput.d.ts +1 -1
  48. package/dist/components/inputs/textInput/components/TextInput.d.ts.map +1 -1
  49. package/dist/features/bubble/components/Bubble.d.ts.map +1 -1
  50. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
  51. package/dist/features/bubble/components/Tooltip.d.ts +2 -0
  52. package/dist/features/bubble/components/Tooltip.d.ts.map +1 -1
  53. package/dist/features/bubble/types.d.ts +0 -3
  54. package/dist/features/bubble/types.d.ts.map +1 -1
  55. package/dist/features/full/components/Full.d.ts.map +1 -1
  56. package/dist/features/popup/components/Popup.d.ts.map +1 -1
  57. package/dist/index.js +1 -1
  58. package/dist/queries/sendMessageQuery.d.ts +10 -0
  59. package/dist/queries/sendMessageQuery.d.ts.map +1 -1
  60. package/dist/utils/index.d.ts +0 -73
  61. package/dist/utils/index.d.ts.map +1 -1
  62. package/dist/utils/transcriptApi.d.ts +8 -0
  63. package/dist/utils/transcriptApi.d.ts.map +1 -0
  64. package/dist/web.js +1 -1
  65. package/package.json +82 -79
  66. package/public/index.html +53 -152
  67. package/server.js +401 -401
  68. package/.env +0 -2
  69. package/dist/components/icons/CmcIcon.d.ts +0 -3
  70. package/dist/components/icons/CmcIcon.d.ts.map +0 -1
  71. package/dist/components/icons/ResetBtn.d.ts +0 -3
  72. package/dist/components/icons/ResetBtn.d.ts.map +0 -1
  73. package/dist/components/icons/SendIconOff.d.ts +0 -3
  74. package/dist/components/icons/SendIconOff.d.ts.map +0 -1
  75. package/dist/components/icons/SendIconOn.d.ts +0 -3
  76. package/dist/components/icons/SendIconOn.d.ts.map +0 -1
  77. package/dist/components/mobile/MobileWelcomeScreen.d.ts +0 -13
  78. package/dist/components/mobile/MobileWelcomeScreen.d.ts.map +0 -1
  79. package/dist/hooks/useMobileDetection.d.ts +0 -52
  80. package/dist/hooks/useMobileDetection.d.ts.map +0 -1
  81. package/dist/test-markdown-component.d.ts +0 -2
  82. package/dist/test-markdown-component.d.ts.map +0 -1
  83. package/dist/utils/mobileUtils.d.ts +0 -32
  84. package/dist/utils/mobileUtils.d.ts.map +0 -1
package/.env.example CHANGED
@@ -1,34 +1,34 @@
1
- # ==============================================
2
- # REQUIRED CONFIGURATION
3
- # ==============================================
4
-
5
- # API Host URL (required)
6
- # This should be the URL where your Flowise instance is running
7
- # Example: https://your-flowise-instance.com
8
- API_HOST=
9
-
10
- # Flowise API Key (required)
11
- # Generate this from your Flowise instance settings page
12
- # Example: OxxGE-h_LaH7ZYorStjTOik1XY999RxxoHpCSYl8BXxc
13
- FLOWISE_API_KEY=
14
-
15
- # ==============================================
16
- # CHATFLOWS CONFIGURATION (required)
17
- # ==============================================
18
-
19
- # Format: [identifier]=[chatflowId],[allowedDomain1],[allowedDomain2],...
20
- #
21
- # Each entry consists of:
22
- # - identifier: Any name you choose (e.g., agent1, support, salesbot)
23
- # - chatflowId: The UUID of your Flowise chatflow
24
- # - allowedDomains: Comma-separated list of domains where this chat can be embedded
25
- # Note: Wildcard domains (*) are not supported for security reasons
26
- #
27
- # Examples:
28
- # agent1=20db97c6-64c9-4411-bab4-7d6202171600,https://example1.com
29
- # support=1c28f529-a70f-5001-9bc5-4f4c5d03d8c0,https://example2.com,https://another-example2.com
30
- # salesbot=3db97c6-64c9-4411-bab4-7d620217160a,https://sales.example.com
31
-
32
- # Add your chatflows below:
33
- chatflow_1=
34
- chatflow_2=
1
+ # ==============================================
2
+ # REQUIRED CONFIGURATION
3
+ # ==============================================
4
+
5
+ # API Host URL (required)
6
+ # This should be the URL where your Flowise instance is running
7
+ # Example: https://your-flowise-instance.com
8
+ API_HOST=
9
+
10
+ # Flowise API Key (required)
11
+ # Generate this from your Flowise instance settings page
12
+ # Example: OxxGE-h_LaH7ZYorStjTOik1XY999RxxoHpCSYl8BXxc
13
+ FLOWISE_API_KEY=
14
+
15
+ # ==============================================
16
+ # CHATFLOWS CONFIGURATION (required)
17
+ # ==============================================
18
+
19
+ # Format: [identifier]=[chatflowId],[allowedDomain1],[allowedDomain2],...
20
+ #
21
+ # Each entry consists of:
22
+ # - identifier: Any name you choose (e.g., agent1, support, salesbot)
23
+ # - chatflowId: The UUID of your Flowise chatflow
24
+ # - allowedDomains: Comma-separated list of domains where this chat can be embedded
25
+ # Note: Wildcard domains (*) are not supported for security reasons
26
+ #
27
+ # Examples:
28
+ # agent1=20db97c6-64c9-4411-bab4-7d6202171600,https://example1.com
29
+ # support=1c28f529-a70f-5001-9bc5-4f4c5d03d8c0,https://example2.com,https://another-example2.com
30
+ # salesbot=3db97c6-64c9-4411-bab4-7d620217160a,https://sales.example.com
31
+
32
+ # Add your chatflows below:
33
+ chatflow_1=
34
+ chatflow_2=
package/.eslintrc.cjs CHANGED
@@ -1,14 +1,14 @@
1
- module.exports = {
2
- root: true,
3
- extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier', 'plugin:solid/typescript'],
4
- plugins: ['@typescript-eslint', 'solid'],
5
- parser: '@typescript-eslint/parser',
6
- ignorePatterns: ['**/*.md'],
7
- rules: {
8
- '@next/next/no-img-element': 'off',
9
- '@next/next/no-html-link-for-pages': 'off',
10
- 'solid/no-innerhtml': 'off',
11
- '@typescript-eslint/no-namespace': 'off',
12
- '@typescript-eslint/no-explicit-any': 'off'
13
- }
14
- }
1
+ module.exports = {
2
+ root: true,
3
+ extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier', 'plugin:solid/typescript'],
4
+ plugins: ['@typescript-eslint', 'solid'],
5
+ parser: '@typescript-eslint/parser',
6
+ ignorePatterns: ['**/*.md'],
7
+ rules: {
8
+ '@next/next/no-img-element': 'off',
9
+ '@next/next/no-html-link-for-pages': 'off',
10
+ 'solid/no-innerhtml': 'off',
11
+ '@typescript-eslint/no-namespace': 'off',
12
+ '@typescript-eslint/no-explicit-any': 'off'
13
+ }
14
+ }
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AugmentWebviewStateStore">
4
+ <option name="stateMap">
5
+ <map>
6
+ <entry key="CHAT_STATE" value="{&quot;currentConversationId&quot;:&quot;__NEW_AGENT__&quot;,&quot;agentExecutionMode&quot;:&quot;manual&quot;,&quot;isPanelCollapsed&quot;:true,&quot;displayedAnnouncements&quot;:[],&quot;conversations&quot;:{&quot;__NEW_AGENT__&quot;:{&quot;id&quot;:&quot;__NEW_AGENT__&quot;,&quot;createdAtIso&quot;:&quot;2025-10-08T02:30:09.095Z&quot;,&quot;lastInteractedAtIso&quot;:&quot;2025-10-08T02:30:09.095Z&quot;,&quot;chatHistory&quot;:[{&quot;request_id&quot;:&quot;77792496-aa58-4d3a-b7b5-4a2b1be2fefe&quot;,&quot;uuid&quot;:&quot;11231763-8f61-4fa8-a3b2-ed3d4a820b9f&quot;,&quot;chatItemType&quot;:&quot;agentic-checkpoint-delimiter&quot;,&quot;status&quot;:&quot;success&quot;,&quot;fromTimestamp&quot;:0,&quot;toTimestamp&quot;:1759890609096,&quot;seen_state&quot;:&quot;unseen&quot;}],&quot;feedbackStates&quot;:{},&quot;toolUseStates&quot;:{},&quot;draftExchange&quot;:{&quot;request_message&quot;:&quot;&quot;,&quot;rich_text_json_repr&quot;:{&quot;type&quot;:&quot;doc&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;paragraph&quot;}]},&quot;mentioned_items&quot;:[],&quot;status&quot;:&quot;draft&quot;},&quot;requestIds&quot;:[],&quot;isPinned&quot;:false,&quot;isShareable&quot;:false,&quot;extraData&quot;:{&quot;isAgentConversation&quot;:true,&quot;hasDirtyEdits&quot;:false},&quot;personaType&quot;:0,&quot;rootTaskUuid&quot;:&quot;54ed0f4a-44b5-4715-8c32-e2a6b765da5e&quot;}}}" />
7
+ </map>
8
+ </option>
9
+ </component>
10
+ </project>
@@ -0,0 +1,60 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <code_scheme name="Project" version="173">
3
+ <option name="LINE_SEPARATOR" value="&#10;" />
4
+ <HTMLCodeStyleSettings>
5
+ <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
6
+ </HTMLCodeStyleSettings>
7
+ <JSCodeStyleSettings version="0">
8
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
9
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
10
+ <option name="USE_DOUBLE_QUOTES" value="false" />
11
+ <option name="FORCE_QUOTE_STYlE" value="true" />
12
+ <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
13
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
14
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
15
+ </JSCodeStyleSettings>
16
+ <TypeScriptCodeStyleSettings version="0">
17
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
18
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
19
+ <option name="USE_DOUBLE_QUOTES" value="false" />
20
+ <option name="FORCE_QUOTE_STYlE" value="true" />
21
+ <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
22
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
23
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
24
+ </TypeScriptCodeStyleSettings>
25
+ <VueCodeStyleSettings>
26
+ <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
27
+ <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
28
+ </VueCodeStyleSettings>
29
+ <codeStyleSettings language="HTML">
30
+ <option name="SOFT_MARGINS" value="150" />
31
+ <indentOptions>
32
+ <option name="INDENT_SIZE" value="2" />
33
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
34
+ <option name="TAB_SIZE" value="2" />
35
+ </indentOptions>
36
+ </codeStyleSettings>
37
+ <codeStyleSettings language="JavaScript">
38
+ <option name="SOFT_MARGINS" value="150" />
39
+ <indentOptions>
40
+ <option name="INDENT_SIZE" value="2" />
41
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
42
+ <option name="TAB_SIZE" value="2" />
43
+ </indentOptions>
44
+ </codeStyleSettings>
45
+ <codeStyleSettings language="TypeScript">
46
+ <option name="SOFT_MARGINS" value="150" />
47
+ <indentOptions>
48
+ <option name="INDENT_SIZE" value="2" />
49
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
50
+ <option name="TAB_SIZE" value="2" />
51
+ </indentOptions>
52
+ </codeStyleSettings>
53
+ <codeStyleSettings language="Vue">
54
+ <option name="SOFT_MARGINS" value="150" />
55
+ <indentOptions>
56
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
57
+ </indentOptions>
58
+ </codeStyleSettings>
59
+ </code_scheme>
60
+ </component>
@@ -0,0 +1,5 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <state>
3
+ <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
+ </state>
5
+ </component>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AskMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Ask2AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EditMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="JAVA_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
+ </module>
@@ -0,0 +1,16 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ <inspection_tool class="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true">
6
+ <option name="myValues">
7
+ <value>
8
+ <list size="1">
9
+ <item index="0" class="java.lang.String" itemvalue="dangerouslySetInnerHTML" />
10
+ </list>
11
+ </value>
12
+ </option>
13
+ <option name="myCustomValuesEnabled" value="true" />
14
+ </inspection_tool>
15
+ </profile>
16
+ </component>
package/.idea/misc.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager">
4
+ <output url="file://$PROJECT_DIR$/out" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/flowise-chatbox.iml" filepath="$PROJECT_DIR$/.idea/flowise-chatbox.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PrettierConfiguration">
4
+ <option name="myConfigurationMode" value="AUTOMATIC" />
5
+ </component>
6
+ </project>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
package/.prettierignore CHANGED
@@ -1,3 +1,3 @@
1
- node_modules
2
- build
3
- dist
1
+ node_modules
2
+ build
3
+ dist
package/.prettierrc CHANGED
@@ -1,8 +1,8 @@
1
- {
2
- "semi": true,
3
- "singleQuote": true,
4
- "tabWidth": 2,
5
- "trailingComma": "all",
6
- "printWidth": 150,
7
- "endOfLine": "lf"
8
- }
1
+ {
2
+ "semi": true,
3
+ "singleQuote": true,
4
+ "tabWidth": 2,
5
+ "trailingComma": "all",
6
+ "printWidth": 150,
7
+ "endOfLine": "lf"
8
+ }