open-swarm 0.1.1745274976__py3-none-any.whl → 0.1.1748636259__py3-none-any.whl

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 (295) hide show
  1. open_swarm-0.1.1748636259.dist-info/METADATA +188 -0
  2. open_swarm-0.1.1748636259.dist-info/RECORD +82 -0
  3. {open_swarm-0.1.1745274976.dist-info → open_swarm-0.1.1748636259.dist-info}/WHEEL +2 -1
  4. open_swarm-0.1.1748636259.dist-info/entry_points.txt +3 -0
  5. open_swarm-0.1.1748636259.dist-info/top_level.txt +1 -0
  6. swarm/agent/agent.py +49 -0
  7. swarm/auth.py +48 -113
  8. swarm/consumers.py +0 -19
  9. swarm/extensions/blueprint/__init__.py +16 -30
  10. swarm/{core → extensions/blueprint}/agent_utils.py +1 -1
  11. swarm/extensions/blueprint/blueprint_base.py +458 -0
  12. swarm/extensions/blueprint/blueprint_discovery.py +112 -0
  13. swarm/extensions/blueprint/output_utils.py +95 -0
  14. swarm/{core → extensions/blueprint}/spinner.py +21 -30
  15. swarm/extensions/cli/cli_args.py +0 -6
  16. swarm/extensions/cli/commands/blueprint_management.py +9 -47
  17. swarm/extensions/cli/commands/config_management.py +6 -5
  18. swarm/extensions/cli/commands/edit_config.py +7 -16
  19. swarm/extensions/cli/commands/list_blueprints.py +1 -1
  20. swarm/extensions/cli/commands/validate_env.py +4 -11
  21. swarm/extensions/cli/commands/validate_envvars.py +6 -6
  22. swarm/extensions/cli/interactive_shell.py +2 -16
  23. swarm/extensions/config/config_loader.py +201 -107
  24. swarm/{core → extensions/config}/config_manager.py +38 -50
  25. swarm/{core → extensions/config}/server_config.py +0 -32
  26. swarm/extensions/launchers/build_launchers.py +14 -0
  27. swarm/{core → extensions/launchers}/build_swarm_wrapper.py +0 -0
  28. swarm/extensions/launchers/swarm_api.py +64 -8
  29. swarm/extensions/launchers/swarm_cli.py +300 -8
  30. swarm/llm/chat_completion.py +195 -0
  31. swarm/serializers.py +5 -96
  32. swarm/settings.py +111 -99
  33. swarm/urls.py +74 -57
  34. swarm/utils/context_utils.py +4 -10
  35. swarm/utils/general_utils.py +0 -21
  36. swarm/utils/redact.py +36 -23
  37. swarm/views/api_views.py +39 -48
  38. swarm/views/chat_views.py +70 -237
  39. swarm/views/core_views.py +87 -80
  40. swarm/views/model_views.py +121 -64
  41. swarm/views/utils.py +441 -65
  42. swarm/views/web_views.py +2 -2
  43. open_swarm-0.1.1745274976.dist-info/METADATA +0 -874
  44. open_swarm-0.1.1745274976.dist-info/RECORD +0 -318
  45. open_swarm-0.1.1745274976.dist-info/entry_points.txt +0 -4
  46. swarm/blueprints/README.md +0 -68
  47. swarm/blueprints/blueprint_audit_status.json +0 -27
  48. swarm/blueprints/chatbot/README.md +0 -40
  49. swarm/blueprints/chatbot/blueprint_chatbot.py +0 -471
  50. swarm/blueprints/chatbot/metadata.json +0 -23
  51. swarm/blueprints/chatbot/templates/chatbot/chatbot.html +0 -33
  52. swarm/blueprints/chucks_angels/README.md +0 -11
  53. swarm/blueprints/chucks_angels/blueprint_chucks_angels.py +0 -7
  54. swarm/blueprints/chucks_angels/test_basic.py +0 -3
  55. swarm/blueprints/codey/CODEY.md +0 -15
  56. swarm/blueprints/codey/README.md +0 -115
  57. swarm/blueprints/codey/blueprint_codey.py +0 -1072
  58. swarm/blueprints/codey/codey_cli.py +0 -373
  59. swarm/blueprints/codey/instructions.md +0 -17
  60. swarm/blueprints/codey/metadata.json +0 -23
  61. swarm/blueprints/common/operation_box_utils.py +0 -83
  62. swarm/blueprints/digitalbutlers/README.md +0 -11
  63. swarm/blueprints/digitalbutlers/__init__.py +0 -1
  64. swarm/blueprints/digitalbutlers/blueprint_digitalbutlers.py +0 -7
  65. swarm/blueprints/digitalbutlers/test_basic.py +0 -3
  66. swarm/blueprints/divine_code/README.md +0 -3
  67. swarm/blueprints/divine_code/__init__.py +0 -10
  68. swarm/blueprints/divine_code/apps.py +0 -11
  69. swarm/blueprints/divine_code/blueprint_divine_code.py +0 -270
  70. swarm/blueprints/django_chat/apps.py +0 -6
  71. swarm/blueprints/django_chat/blueprint_django_chat.py +0 -268
  72. swarm/blueprints/django_chat/templates/django_chat/django_chat_webpage.html +0 -37
  73. swarm/blueprints/django_chat/urls.py +0 -8
  74. swarm/blueprints/django_chat/views.py +0 -32
  75. swarm/blueprints/echocraft/blueprint_echocraft.py +0 -384
  76. swarm/blueprints/flock/README.md +0 -11
  77. swarm/blueprints/flock/__init__.py +0 -8
  78. swarm/blueprints/flock/blueprint_flock.py +0 -7
  79. swarm/blueprints/flock/test_basic.py +0 -3
  80. swarm/blueprints/geese/README.md +0 -97
  81. swarm/blueprints/geese/blueprint_geese.py +0 -803
  82. swarm/blueprints/geese/geese_cli.py +0 -102
  83. swarm/blueprints/jeeves/README.md +0 -41
  84. swarm/blueprints/jeeves/blueprint_jeeves.py +0 -722
  85. swarm/blueprints/jeeves/jeeves_cli.py +0 -55
  86. swarm/blueprints/jeeves/metadata.json +0 -24
  87. swarm/blueprints/mcp_demo/blueprint_mcp_demo.py +0 -473
  88. swarm/blueprints/messenger/templates/messenger/messenger.html +0 -46
  89. swarm/blueprints/mission_improbable/blueprint_mission_improbable.py +0 -423
  90. swarm/blueprints/monkai_magic/blueprint_monkai_magic.py +0 -340
  91. swarm/blueprints/nebula_shellz/blueprint_nebula_shellz.py +0 -265
  92. swarm/blueprints/omniplex/blueprint_omniplex.py +0 -298
  93. swarm/blueprints/poets/blueprint_poets.py +0 -546
  94. swarm/blueprints/poets/poets_cli.py +0 -23
  95. swarm/blueprints/rue_code/README.md +0 -8
  96. swarm/blueprints/rue_code/blueprint_rue_code.py +0 -448
  97. swarm/blueprints/rue_code/rue_code_cli.py +0 -43
  98. swarm/blueprints/stewie/apps.py +0 -12
  99. swarm/blueprints/stewie/blueprint_family_ties.py +0 -349
  100. swarm/blueprints/stewie/models.py +0 -19
  101. swarm/blueprints/stewie/serializers.py +0 -10
  102. swarm/blueprints/stewie/settings.py +0 -17
  103. swarm/blueprints/stewie/urls.py +0 -11
  104. swarm/blueprints/stewie/views.py +0 -26
  105. swarm/blueprints/suggestion/blueprint_suggestion.py +0 -222
  106. swarm/blueprints/whinge_surf/README.md +0 -22
  107. swarm/blueprints/whinge_surf/__init__.py +0 -1
  108. swarm/blueprints/whinge_surf/blueprint_whinge_surf.py +0 -565
  109. swarm/blueprints/whinge_surf/whinge_surf_cli.py +0 -99
  110. swarm/blueprints/whiskeytango_foxtrot/__init__.py +0 -0
  111. swarm/blueprints/whiskeytango_foxtrot/apps.py +0 -11
  112. swarm/blueprints/whiskeytango_foxtrot/blueprint_whiskeytango_foxtrot.py +0 -339
  113. swarm/blueprints/zeus/__init__.py +0 -2
  114. swarm/blueprints/zeus/apps.py +0 -4
  115. swarm/blueprints/zeus/blueprint_zeus.py +0 -270
  116. swarm/blueprints/zeus/zeus_cli.py +0 -13
  117. swarm/cli/async_input.py +0 -65
  118. swarm/cli/async_input_demo.py +0 -32
  119. swarm/core/blueprint_base.py +0 -769
  120. swarm/core/blueprint_discovery.py +0 -125
  121. swarm/core/blueprint_runner.py +0 -59
  122. swarm/core/blueprint_ux.py +0 -109
  123. swarm/core/build_launchers.py +0 -15
  124. swarm/core/cli/__init__.py +0 -1
  125. swarm/core/cli/commands/__init__.py +0 -1
  126. swarm/core/cli/commands/blueprint_management.py +0 -7
  127. swarm/core/cli/interactive_shell.py +0 -14
  128. swarm/core/cli/main.py +0 -50
  129. swarm/core/cli/utils/__init__.py +0 -1
  130. swarm/core/cli/utils/discover_commands.py +0 -18
  131. swarm/core/config_loader.py +0 -122
  132. swarm/core/output_utils.py +0 -193
  133. swarm/core/session_logger.py +0 -42
  134. swarm/core/slash_commands.py +0 -89
  135. swarm/core/swarm_api.py +0 -68
  136. swarm/core/swarm_cli.py +0 -216
  137. swarm/core/utils/__init__.py +0 -0
  138. swarm/extensions/blueprint/cli_handler.py +0 -197
  139. swarm/extensions/blueprint/runnable_blueprint.py +0 -42
  140. swarm/extensions/cli/utils/__init__.py +0 -1
  141. swarm/extensions/cli/utils/async_input.py +0 -46
  142. swarm/extensions/cli/utils/prompt_user.py +0 -3
  143. swarm/management/__init__.py +0 -0
  144. swarm/management/commands/__init__.py +0 -0
  145. swarm/management/commands/runserver.py +0 -58
  146. swarm/middleware.py +0 -65
  147. swarm/permissions.py +0 -38
  148. swarm/static/contrib/fonts/fontawesome-webfont.ttf +0 -7
  149. swarm/static/contrib/fonts/fontawesome-webfont.woff +0 -7
  150. swarm/static/contrib/fonts/fontawesome-webfont.woff2 +0 -7
  151. swarm/static/contrib/markedjs/marked.min.js +0 -6
  152. swarm/static/contrib/tabler-icons/adjustments-horizontal.svg +0 -27
  153. swarm/static/contrib/tabler-icons/alert-triangle.svg +0 -21
  154. swarm/static/contrib/tabler-icons/archive.svg +0 -21
  155. swarm/static/contrib/tabler-icons/artboard.svg +0 -27
  156. swarm/static/contrib/tabler-icons/automatic-gearbox.svg +0 -23
  157. swarm/static/contrib/tabler-icons/box-multiple.svg +0 -19
  158. swarm/static/contrib/tabler-icons/carambola.svg +0 -19
  159. swarm/static/contrib/tabler-icons/copy.svg +0 -20
  160. swarm/static/contrib/tabler-icons/download.svg +0 -21
  161. swarm/static/contrib/tabler-icons/edit.svg +0 -21
  162. swarm/static/contrib/tabler-icons/filled/carambola.svg +0 -13
  163. swarm/static/contrib/tabler-icons/filled/paint.svg +0 -13
  164. swarm/static/contrib/tabler-icons/headset.svg +0 -22
  165. swarm/static/contrib/tabler-icons/layout-sidebar-left-collapse.svg +0 -21
  166. swarm/static/contrib/tabler-icons/layout-sidebar-left-expand.svg +0 -21
  167. swarm/static/contrib/tabler-icons/layout-sidebar-right-collapse.svg +0 -21
  168. swarm/static/contrib/tabler-icons/layout-sidebar-right-expand.svg +0 -21
  169. swarm/static/contrib/tabler-icons/message-chatbot.svg +0 -22
  170. swarm/static/contrib/tabler-icons/message-star.svg +0 -22
  171. swarm/static/contrib/tabler-icons/message-x.svg +0 -23
  172. swarm/static/contrib/tabler-icons/message.svg +0 -21
  173. swarm/static/contrib/tabler-icons/paperclip.svg +0 -18
  174. swarm/static/contrib/tabler-icons/playlist-add.svg +0 -22
  175. swarm/static/contrib/tabler-icons/robot.svg +0 -26
  176. swarm/static/contrib/tabler-icons/search.svg +0 -19
  177. swarm/static/contrib/tabler-icons/settings.svg +0 -20
  178. swarm/static/contrib/tabler-icons/thumb-down.svg +0 -19
  179. swarm/static/contrib/tabler-icons/thumb-up.svg +0 -19
  180. swarm/static/css/dropdown.css +0 -22
  181. swarm/static/htmx/htmx.min.js +0 -0
  182. swarm/static/js/dropdown.js +0 -23
  183. swarm/static/rest_mode/css/base.css +0 -470
  184. swarm/static/rest_mode/css/chat-history.css +0 -286
  185. swarm/static/rest_mode/css/chat.css +0 -251
  186. swarm/static/rest_mode/css/chatbot.css +0 -74
  187. swarm/static/rest_mode/css/chatgpt.css +0 -62
  188. swarm/static/rest_mode/css/colors/corporate.css +0 -74
  189. swarm/static/rest_mode/css/colors/pastel.css +0 -81
  190. swarm/static/rest_mode/css/colors/tropical.css +0 -82
  191. swarm/static/rest_mode/css/general.css +0 -142
  192. swarm/static/rest_mode/css/layout.css +0 -167
  193. swarm/static/rest_mode/css/layouts/messenger-layout.css +0 -17
  194. swarm/static/rest_mode/css/layouts/minimalist-layout.css +0 -57
  195. swarm/static/rest_mode/css/layouts/mobile-layout.css +0 -8
  196. swarm/static/rest_mode/css/messages.css +0 -84
  197. swarm/static/rest_mode/css/messenger.css +0 -135
  198. swarm/static/rest_mode/css/settings.css +0 -91
  199. swarm/static/rest_mode/css/simple.css +0 -44
  200. swarm/static/rest_mode/css/slack.css +0 -58
  201. swarm/static/rest_mode/css/style.css +0 -156
  202. swarm/static/rest_mode/css/theme.css +0 -30
  203. swarm/static/rest_mode/css/toast.css +0 -40
  204. swarm/static/rest_mode/js/auth.js +0 -9
  205. swarm/static/rest_mode/js/blueprint.js +0 -41
  206. swarm/static/rest_mode/js/blueprintUtils.js +0 -12
  207. swarm/static/rest_mode/js/chatLogic.js +0 -79
  208. swarm/static/rest_mode/js/debug.js +0 -63
  209. swarm/static/rest_mode/js/events.js +0 -98
  210. swarm/static/rest_mode/js/main.js +0 -19
  211. swarm/static/rest_mode/js/messages.js +0 -264
  212. swarm/static/rest_mode/js/messengerLogic.js +0 -355
  213. swarm/static/rest_mode/js/modules/apiService.js +0 -84
  214. swarm/static/rest_mode/js/modules/blueprintManager.js +0 -162
  215. swarm/static/rest_mode/js/modules/chatHistory.js +0 -110
  216. swarm/static/rest_mode/js/modules/debugLogger.js +0 -14
  217. swarm/static/rest_mode/js/modules/eventHandlers.js +0 -107
  218. swarm/static/rest_mode/js/modules/messageProcessor.js +0 -120
  219. swarm/static/rest_mode/js/modules/state.js +0 -7
  220. swarm/static/rest_mode/js/modules/userInteractions.js +0 -29
  221. swarm/static/rest_mode/js/modules/validation.js +0 -23
  222. swarm/static/rest_mode/js/rendering.js +0 -119
  223. swarm/static/rest_mode/js/settings.js +0 -130
  224. swarm/static/rest_mode/js/sidebar.js +0 -94
  225. swarm/static/rest_mode/js/simpleLogic.js +0 -37
  226. swarm/static/rest_mode/js/slackLogic.js +0 -66
  227. swarm/static/rest_mode/js/splash.js +0 -76
  228. swarm/static/rest_mode/js/theme.js +0 -111
  229. swarm/static/rest_mode/js/toast.js +0 -36
  230. swarm/static/rest_mode/js/ui.js +0 -265
  231. swarm/static/rest_mode/js/validation.js +0 -57
  232. swarm/static/rest_mode/svg/animated_spinner.svg +0 -12
  233. swarm/static/rest_mode/svg/arrow_down.svg +0 -5
  234. swarm/static/rest_mode/svg/arrow_left.svg +0 -5
  235. swarm/static/rest_mode/svg/arrow_right.svg +0 -5
  236. swarm/static/rest_mode/svg/arrow_up.svg +0 -5
  237. swarm/static/rest_mode/svg/attach.svg +0 -8
  238. swarm/static/rest_mode/svg/avatar.svg +0 -7
  239. swarm/static/rest_mode/svg/canvas.svg +0 -6
  240. swarm/static/rest_mode/svg/chat_history.svg +0 -4
  241. swarm/static/rest_mode/svg/close.svg +0 -5
  242. swarm/static/rest_mode/svg/copy.svg +0 -4
  243. swarm/static/rest_mode/svg/dark_mode.svg +0 -3
  244. swarm/static/rest_mode/svg/edit.svg +0 -5
  245. swarm/static/rest_mode/svg/layout.svg +0 -9
  246. swarm/static/rest_mode/svg/logo.svg +0 -29
  247. swarm/static/rest_mode/svg/logout.svg +0 -5
  248. swarm/static/rest_mode/svg/mobile.svg +0 -5
  249. swarm/static/rest_mode/svg/new_chat.svg +0 -4
  250. swarm/static/rest_mode/svg/not_visible.svg +0 -5
  251. swarm/static/rest_mode/svg/plus.svg +0 -7
  252. swarm/static/rest_mode/svg/run_code.svg +0 -6
  253. swarm/static/rest_mode/svg/save.svg +0 -4
  254. swarm/static/rest_mode/svg/search.svg +0 -6
  255. swarm/static/rest_mode/svg/settings.svg +0 -4
  256. swarm/static/rest_mode/svg/speaker.svg +0 -5
  257. swarm/static/rest_mode/svg/stop.svg +0 -6
  258. swarm/static/rest_mode/svg/thumbs_down.svg +0 -3
  259. swarm/static/rest_mode/svg/thumbs_up.svg +0 -3
  260. swarm/static/rest_mode/svg/toggle_off.svg +0 -6
  261. swarm/static/rest_mode/svg/toggle_on.svg +0 -6
  262. swarm/static/rest_mode/svg/trash.svg +0 -10
  263. swarm/static/rest_mode/svg/undo.svg +0 -3
  264. swarm/static/rest_mode/svg/visible.svg +0 -8
  265. swarm/static/rest_mode/svg/voice.svg +0 -10
  266. swarm/templates/account/login.html +0 -22
  267. swarm/templates/account/signup.html +0 -32
  268. swarm/templates/base.html +0 -30
  269. swarm/templates/chat.html +0 -43
  270. swarm/templates/index.html +0 -35
  271. swarm/templates/rest_mode/components/chat_sidebar.html +0 -55
  272. swarm/templates/rest_mode/components/header.html +0 -45
  273. swarm/templates/rest_mode/components/main_chat_pane.html +0 -41
  274. swarm/templates/rest_mode/components/settings_dialog.html +0 -97
  275. swarm/templates/rest_mode/components/splash_screen.html +0 -7
  276. swarm/templates/rest_mode/components/top_bar.html +0 -28
  277. swarm/templates/rest_mode/message_ui.html +0 -50
  278. swarm/templates/rest_mode/slackbot.html +0 -30
  279. swarm/templates/simple_blueprint_page.html +0 -24
  280. swarm/templates/websocket_partials/final_system_message.html +0 -3
  281. swarm/templates/websocket_partials/system_message.html +0 -4
  282. swarm/templates/websocket_partials/user_message.html +0 -5
  283. swarm/utils/ansi_box.py +0 -34
  284. swarm/utils/disable_tracing.py +0 -38
  285. swarm/utils/log_utils.py +0 -63
  286. swarm/utils/openai_patch.py +0 -33
  287. swarm/ux/ansi_box.py +0 -43
  288. swarm/ux/spinner.py +0 -53
  289. {open_swarm-0.1.1745274976.dist-info → open_swarm-0.1.1748636259.dist-info}/licenses/LICENSE +0 -0
  290. /swarm/{core → extensions/blueprint}/blueprint_utils.py +0 -0
  291. /swarm/{core → extensions/blueprint}/common_utils.py +0 -0
  292. /swarm/{core → extensions/config}/setup_wizard.py +0 -0
  293. /swarm/{blueprints/rue_code → extensions/config/utils}/__init__.py +0 -0
  294. /swarm/{core → extensions/config}/utils/logger.py +0 -0
  295. /swarm/{core → extensions/launchers}/swarm_wrapper.py +0 -0
@@ -1,286 +0,0 @@
1
- /* Chat History Component Styles */
2
- .chat-history-pane {
3
- background-color: var(--bg-chat-history-pane);
4
- padding: 0;
5
- margin: 0;
6
- display: flex;
7
- flex-direction: column;
8
- height: 100%;
9
- overflow: hidden;
10
- flex: 0 1 auto;
11
- border-top-left-radius: 0 !important;
12
- }
13
-
14
- /* Chat History Header */
15
- .chat-history-header {
16
- display: block;
17
- align-items: center;
18
- justify-content: space-between;
19
- padding: 10px 15px;
20
- background-color: var(--bg-chat-history-header);
21
- border-bottom: 1px solid var(--border-color);
22
- position: sticky;
23
- top: 0;
24
- z-index: 10;
25
- }
26
-
27
- .chat-history-header > div {
28
- display: flex;
29
- align-items: center;
30
- justify-content: flex-start; /* Align buttons to the left */
31
- gap: 10px; /* Space between buttons */
32
- flex-wrap: nowrap; /* Prevent wrapping */
33
- width: 100%; /* Ensure full width for horizontal layout */
34
- }
35
-
36
- .new-chat-button {
37
- margin-left: auto;
38
- font-size: 1rem;
39
- }
40
-
41
- /* Style for Header Buttons */
42
- .chat-history-header .input-button {
43
- background: none;
44
- border: none;
45
- cursor: pointer;
46
- padding: 8px;
47
- display: flex;
48
- align-items: center;
49
- justify-content: center;
50
- transition: background-color 0.3s, transform 0.2s;
51
- }
52
-
53
- .chat-history-header .input-button:hover {
54
- background-color: rgba(0, 0, 0, 0.2);
55
- transform: scale(1.05);
56
- }
57
-
58
- .chat-history-header .input-button .icon {
59
- width: 20px;
60
- height: 20px;
61
- filter: var(--icon-filter);
62
- transition: filter 0.3s ease;
63
- }
64
-
65
- /* Chat History List */
66
- .chat-history-list {
67
- list-style: none;
68
- padding: 10px 15px;
69
- margin: 0;
70
- overflow-y: auto;
71
- flex: 1;
72
- }
73
-
74
- /* Chat History Items */
75
- .chat-history-item {
76
- position: relative;
77
- padding: 5px 8px;
78
- margin-bottom: 5px;
79
- border: none;
80
- font-size: 0.9rem;
81
- font-weight: normal;
82
- transition: background-color var(--transition-duration);
83
- }
84
-
85
- .chat-history-item:hover {
86
- background-color: rgba(255, 255, 255, 0.1);
87
- cursor: pointer;
88
- }
89
-
90
- /* Details and Summaries */
91
- .chat-history-pane details {
92
- padding: 5px 8px;
93
- cursor: pointer;
94
- transition: background-color var(--transition-duration);
95
- background-color: var(--bg-chat-history-pane);
96
- }
97
-
98
- .chat-history-pane details[open] {
99
- background-color: var(--bg-message-other);
100
- }
101
-
102
- .chat-history-pane summary {
103
- font-weight: normal;
104
- font-size: 0.95rem;
105
- cursor: pointer;
106
- list-style: none;
107
- display: block;
108
- position: relative;
109
- }
110
-
111
- /* Hide Default Disclosure Triangle */
112
- .chat-history-pane summary::-webkit-details-marker {
113
- display: none;
114
- }
115
-
116
- .chat-history-pane summary::marker {
117
- display: none;
118
- }
119
-
120
- /* Custom Indicator (Down/Up Arrow) */
121
- .chat-history-pane summary::after {
122
- content: '▼';
123
- position: absolute;
124
- right: 0;
125
- top: 50%;
126
- transform: translateY(-50%);
127
- transition: transform 0.3s ease;
128
- font-size: 0.8rem;
129
- color: var(--text-secondary);
130
- }
131
-
132
- .chat-history-pane details[open] summary::after {
133
- content: '▲';
134
- }
135
-
136
- /* Default State: Hide Details Content */
137
- .chat-history-pane details:not([open]) > *:not(summary) {
138
- display: none;
139
- }
140
-
141
- /* Open State: Show Details Content */
142
- .chat-history-pane details[open] > *:not(summary) {
143
- display: block;
144
- }
145
-
146
- .chat-history-pane details {
147
- overflow: hidden;
148
- transition: max-height 0.3s ease;
149
- }
150
-
151
- /* Chat History Text */
152
- .chat-history-pane p {
153
- margin: 10px 0 0;
154
- color: var(--text-secondary);
155
- font-size: 0.85rem;
156
- }
157
-
158
- /* Chat Item Time and Tools */
159
- .chat-item-time {
160
- font-size: 12px;
161
- color: #888;
162
- }
163
-
164
- /* Updated: Chat Item Tools */
165
- .chat-item-tools {
166
- display: flex;
167
- align-items: center;
168
- gap: 10px;
169
- margin-top: 5px;
170
- }
171
-
172
- /* Updated: Container for Tag Buttons and Delete Button */
173
- .chat-item-tags {
174
- display: flex;
175
- gap: 8px;
176
- width: 100%;
177
- align-items: center;
178
- }
179
-
180
- /* New Addition: Push Delete Button to the Right */
181
- .chat-item-tags .delete-chat-btn {
182
- margin-left: auto;
183
- }
184
-
185
- /* Style for Each Tag Button */
186
- .tag-button {
187
- background-color: #e0e0e0;
188
- border: none;
189
- border-radius: 999px;
190
- padding: 4px 12px;
191
- font-size: 0.85rem;
192
- cursor: pointer;
193
- transition: background-color 0.3s, transform 0.2s;
194
- color: #333;
195
- }
196
-
197
- .tag-button:hover {
198
- background-color: #c0c0c0;
199
- transform: translateY(-2px);
200
- }
201
-
202
- /* Style for Add Tag Button */
203
- .add-tag-btn {
204
- background-color: #d0d0d0;
205
- }
206
-
207
- /* Ensure the delete button remains on the right */
208
- .toolbar-btn.delete-chat-btn {
209
- background: none;
210
- border: none;
211
- cursor: pointer;
212
- padding: 5px;
213
- display: flex;
214
- align-items: center;
215
- justify-content: center;
216
- transition: opacity 0.3s ease, transform 0.3s ease;
217
- }
218
-
219
- .toolbar-btn.delete-chat-btn .trash-icon {
220
- filter: var(--icon-filter);
221
- transition: filter 0.3s ease;
222
- }
223
-
224
- .toolbar-btn.delete-chat-btn:hover {
225
- opacity: 1;
226
- transform: scale(1.1);
227
- }
228
-
229
- /* Read More Link */
230
- .read-more {
231
- color: var(--button-primary);
232
- text-decoration: underline;
233
- cursor: pointer;
234
- }
235
-
236
- /* Responsive Design for Small Screens */
237
- @media (max-width: 600px) {
238
- .chat-history-pane {
239
- flex: 1;
240
- width: 100%;
241
- }
242
-
243
- .side-panes {
244
- flex-direction: column;
245
- max-width: 100%;
246
- gap: 10px;
247
- }
248
-
249
- .chat-item-tags {
250
- flex-wrap: wrap;
251
- }
252
-
253
- .chat-item-tools {
254
- flex-direction: column;
255
- align-items: flex-start;
256
- }
257
-
258
- .toolbar-btn.delete-chat-btn {
259
- margin-top: 5px;
260
- }
261
-
262
- .chat-history-pane summary::after {
263
- font-size: 0.7rem;
264
- }
265
-
266
- .chat-history-header .input-button {
267
- padding: 6px;
268
- }
269
-
270
- .chat-history-header .input-button .icon {
271
- width: 18px;
272
- height: 18px;
273
- }
274
- }
275
-
276
- /* CSS Variables for Theming */
277
- :root {
278
- --bg-chat-history-pane: #050505;
279
- --border-color: #888888;
280
- --text-secondary: #555555;
281
- --bg-message-other: #999999;
282
- --icon-color: #007bff;
283
- --button-primary: #007bff;
284
- --transition-duration: 0.3s;
285
- --icon-filter: none;
286
- }
@@ -1,251 +0,0 @@
1
- /* General Form Container Styling */
2
- .form-container {
3
- display: flex;
4
- flex-direction: column; /* Stack rows vertically */
5
- align-items: stretch; /* Full-width rows */
6
- gap: 5px; /* Space between rows */
7
- width: 100%; /* Full width of parent */
8
- padding: 10px;
9
- border-radius: 8px;
10
- box-sizing: border-box;
11
- }
12
-
13
- /* Input and Submit Button Row */
14
- .send-container {
15
- display: flex;
16
- align-items: stretch; /* Ensure button matches input height */
17
- width: 100%;
18
- margin-bottom: 5px; /* Space below this row */
19
- position: relative; /* Allow absolute positioning for dropdown */
20
- border-radius: 20px; /* Match rounded corners */
21
- overflow: hidden; /* Ensure elements visually align with rounded corners */
22
- }
23
-
24
- /* Input Field Styling */
25
- .rounded-input {
26
- flex-grow: 1; /* Take available space */
27
- /* padding: 10px 15px; */
28
- border: none; /* Remove internal border */
29
- border-radius: 0; /* Reset radius to align with container */
30
- outline: none;
31
- box-sizing: border-box;
32
- font-size: 18px;
33
- margin: 0;
34
- width: 100%;
35
- color: var(--text-primary); /* Match app theme */
36
- background-color: var(--bg-secondary); /* Match app theme */
37
- }
38
-
39
- /* Submit Button Styling */
40
- .half-cut-button {
41
- padding: 0 20px;
42
- background-color: #707070;
43
- color: white;
44
- border: none;
45
- border-radius: 0; /* Reset radius */
46
- cursor: pointer;
47
- font-size: 16px;
48
- font-weight: bold;
49
- white-space: nowrap;
50
- display: flex;
51
- align-items: center;
52
- justify-content: center;
53
- height: auto;
54
- transition: background-color 0.3s ease;
55
- margin: 0;
56
- }
57
-
58
- /* Adjusted Rounded Corners */
59
- .send-container .rounded-input {
60
- border-radius: 20px 0 0 20px; /* Rounded corners only on the left */
61
- }
62
-
63
- .send-container .half-cut-button {
64
- border-radius: 0 20px 20px 0; /* Rounded corners only on the right */
65
- }
66
-
67
- .half-cut-button:hover {
68
- background-color: #505050;
69
- }
70
-
71
- /* Dropdown and Buttons Group */
72
- .dropdown-buttons-container {
73
- display: flex;
74
- align-items: stretch; /* Ensure items are vertically aligned */
75
- gap: 10px; /* Space between dropdown and buttons */
76
- border: 2px solid var(--border-color);
77
- border-radius: 20px; /* Rounded corners for entire group */
78
- padding: 5px; /* Internal spacing */
79
- box-sizing: border-box;
80
- width: 99%;
81
- margin-left: 10px; /* Adjust value to control the shift */
82
- }
83
-
84
- /* Dropdown Styling */
85
- .blueprint-dropdown {
86
- flex-grow: 1; /* Take available space */
87
- border: none; /* Remove internal border */
88
- background-color: var(--border-color);
89
- border-radius: 20px; /* Match group corners */
90
- outline: none;
91
- padding: 10px;
92
- font-size: 14px;
93
- color: var(--text-primary);
94
- background-color: transparent; /* Match container background */
95
- appearance: none; /* Remove default dropdown arrow styling */
96
- }
97
-
98
- /* Buttons in Dropdown Group */
99
- .input-button {
100
- background-color: var(--button-primary);
101
- border: none;
102
- padding: 10px;
103
- border-radius: 4px;
104
- cursor: pointer;
105
- display: flex;
106
- align-items: center;
107
- justify-content: center;
108
- transition: background-color 0.3s ease;
109
- margin-top: 2px;
110
- margin-right: 6px;
111
- }
112
-
113
- .button-row {
114
- display: flex; /* Use flexbox layout */
115
- gap: 3px; /* Add space between buttons */
116
- border-radius: 2;
117
- align-items: center; /* Center vertically */
118
- justify-content: start; /* Align buttons to the left (or use center/end as needed) */
119
- flex-wrap: wrap; /* Allow buttons to wrap if the container width is too small */
120
- }
121
-
122
- .input-button-subtle {
123
- padding: 8px 12px; /* Add padding */
124
- font-size: 1rem; /* Ensure consistent size */
125
- cursor: pointer; /* Pointer on hover */
126
- transition: background-color 0.3s ease; /* Smooth hover effect */
127
- background-color: #6c757d; /* Grey background */
128
- border: none;
129
- /* border-radius: 4px; */
130
- cursor: pointer;
131
- display: flex;
132
- align-items: center;
133
- justify-content: center;
134
- transition: background-color 0.3s ease;
135
- /* margin-top: 2px; */
136
- /* margin-right: 6px; */
137
- }
138
-
139
- .input-button-subtle:hover {
140
- background-color: #007bff; /* Blue on hover */
141
- }
142
-
143
- .input-button-subtle img {
144
- width: 1.3em;
145
- height: 1.3em;
146
- }
147
-
148
- .input-button img {
149
- width: 1.5em;
150
- height: 1.5em;
151
- }
152
-
153
- .input-button:hover {
154
- background-color: var(--button-hover-bg);
155
- }
156
-
157
- /* Hover Effects */
158
- .half-cut-button:hover,
159
- .input-button:hover {
160
- background-color: #505050;
161
- color: #fff;
162
- }
163
-
164
- /* Quick Prompts Styling */
165
- .quick-prompts-container {
166
- display: flex;
167
- flex-wrap: wrap; /* Allow wrapping */
168
- gap: 10px; /* Space between quick prompts */
169
- margin: 10px 0; /* Vertical spacing */
170
- justify-content: start; /* Align prompts to the left */
171
- }
172
-
173
- .quick-prompt-button {
174
- background-color: var(--button-primary);
175
- color: white;
176
- border: none;
177
- border-radius: 5px;
178
- padding: 5px 10px;
179
- font-size: 0.85rem;
180
- cursor: pointer;
181
- transition: background-color 0.2s ease;
182
- }
183
-
184
- .quick-prompt-button:hover {
185
- background-color: var(--button-hover-bg);
186
- }
187
-
188
- .message {
189
- position: relative;
190
- padding: 10px;
191
- margin: 5px 0;
192
- background-color: #f9f9f9;
193
- border-radius: 5px;
194
- transition: background-color 0.2s, height 0.3s ease;
195
- overflow: hidden; /* Ensure toolbar doesn’t overflow the container */
196
- }
197
-
198
- .message-toolbar {
199
- position: relative; /* Allow the toolbar to expand the container */
200
- height: 0; /* Hidden initially */
201
- overflow: hidden; /* Hide contents when collapsed */
202
- display: flex;
203
- gap: 5px;
204
- opacity: 0;
205
- transition: height 0.3s ease, opacity 0.3s ease;
206
- }
207
-
208
- .message:hover .message-toolbar {
209
- height: 50px; /* Adjust to the desired toolbar height */
210
- opacity: 1;
211
- }
212
-
213
- .message-toolbar .toolbar-btn {
214
- flex: 1;
215
- opacity: 0.3; /* Slightly visible by default */
216
- visibility: visible; /* Ensure buttons remain interactable */
217
- background: none;
218
- border: none;
219
- padding: 5px;
220
- cursor: pointer;
221
- display: flex;
222
- align-items: center;
223
- justify-content: center;
224
- transition: opacity 0.3s ease, transform 0.3s ease;
225
- }
226
- .toggle-chat-button {
227
- background-color: #6c757d; /* Grey */
228
- color: #fff;
229
- border: none;
230
- border-radius: 4px;
231
- cursor: pointer;
232
- display: flex;
233
- align-items: center;
234
- justify-content: center;
235
- transition: background-color 0.3s ease;
236
- margin-top: 2px;
237
- margin-right: 6px;
238
- }
239
-
240
- .toggle-chat-button:hover {
241
- background-color: #007bff; /* Blue on hover */
242
- }
243
-
244
- .message-toolbar .toolbar-btn:hover {
245
- opacity: 1; /* Fully visible on hover */
246
- transform: scale(1.1); /* Slight zoom-in effect */
247
- }
248
-
249
- .message-toolbar .toolbar-gap {
250
- width: 14px; /* Gap size between button groups */
251
- }
@@ -1,74 +0,0 @@
1
- .chatbot-input-container {
2
- display: flex;
3
- flex-direction: column;
4
- padding: 10px;
5
- background: #2F2F2F;
6
- border-radius: 10px;
7
- margin: 10px;
8
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
9
- }
10
- .chatbot-input {
11
- width: 100%;
12
- padding: 12px 15px;
13
- font-size: 16px;
14
- border: none;
15
- border-radius: 5px;
16
- background: #3F3F3F;
17
- color: #D3D3D3;
18
- margin-bottom: 8px;
19
- outline: none;
20
- }
21
- .chatbot-input::placeholder {
22
- color: #A0A0A0;
23
- }
24
- .input-actions {
25
- display: flex;
26
- justify-content: space-between;
27
- align-items: center;
28
- flex-wrap: wrap;
29
- gap: 5px;
30
- }
31
- .blueprint-dropdown {
32
- padding: 8px;
33
- border-radius: 5px;
34
- background: #3F3F3F;
35
- color: #D3D3D3;
36
- border: none;
37
- margin-right: 5px;
38
- max-width: 150px;
39
- }
40
- .mode-button {
41
- background: none;
42
- border: none;
43
- padding: 8px;
44
- cursor: pointer;
45
- color: #A0A0A0;
46
- transition: color 0.2s;
47
- }
48
- .mode-button img {
49
- width: 20px;
50
- height: 20px;
51
- filter: invert(70%) sepia(10%) hue-rotate(180deg);
52
- }
53
- .mode-button:hover {
54
- color: #D3D3D3;
55
- }
56
- .mode-button:hover img {
57
- filter: invert(90%) sepia(20%) hue-rotate(180deg);
58
- }
59
- @media (max-width: 600px) {
60
- .input-actions {
61
- flex-direction: column;
62
- align-items: flex-start;
63
- }
64
- .blueprint-dropdown {
65
- width: 100%;
66
- margin-bottom: 5px;
67
- }
68
- .mode-button {
69
- padding: 5px;
70
- }
71
- }
72
- .chat-history-pane {
73
- border-top-left-radius: 0 !important;
74
- }
@@ -1,62 +0,0 @@
1
- .container[data-theme-layout="chatgpt-layout"] {
2
- display: flex;
3
- height: 100vh;
4
- }
5
- .blueprint-sidebar {
6
- width: 250px;
7
- background: #f4f4f4;
8
- padding: 10px;
9
- border-right: 1px solid #ddd;
10
- }
11
- .sidebar-header {
12
- display: flex;
13
- justify-content: space-between;
14
- }
15
- .blueprint-list {
16
- list-style: none;
17
- padding: 0;
18
- }
19
- .blueprint-list li {
20
- padding: 10px;
21
- cursor: pointer;
22
- }
23
- .blueprint-list li:hover {
24
- background: #e0e0e0;
25
- }
26
- .main-pane {
27
- flex-grow: 1;
28
- display: flex;
29
- flex-direction: column;
30
- }
31
- .message-container {
32
- flex-grow: 1;
33
- overflow-y: auto;
34
- padding: 20px;
35
- }
36
- .user-message {
37
- background: #DCF8C6;
38
- padding: 10px;
39
- margin: 5px 0;
40
- border-radius: 5px;
41
- align-self: flex-end;
42
- max-width: 70%;
43
- }
44
- .assistant-message {
45
- background: #E6E6E6;
46
- padding: 10px;
47
- margin: 5px 0;
48
- border-radius: 5px;
49
- align-self: flex-start;
50
- max-width: 70%;
51
- }
52
- .error-message {
53
- background: #F8D7DA;
54
- color: #721C24;
55
- padding: 10px;
56
- margin: 5px 0;
57
- border-radius: 5px;
58
- }
59
- .send-container {
60
- padding: 10px;
61
- border-top: 1px solid #ddd;
62
- }