open-swarm 0.1.1745275181__py3-none-any.whl → 0.1.1748636295__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 (307) hide show
  1. open_swarm-0.1.1748636295.dist-info/METADATA +257 -0
  2. open_swarm-0.1.1748636295.dist-info/RECORD +89 -0
  3. {open_swarm-0.1.1745275181.dist-info → open_swarm-0.1.1748636295.dist-info}/WHEEL +2 -1
  4. open_swarm-0.1.1748636295.dist-info/entry_points.txt +3 -0
  5. open_swarm-0.1.1748636295.dist-info/top_level.txt +1 -0
  6. swarm/__init__.py +2 -0
  7. swarm/agent/agent.py +49 -0
  8. swarm/auth.py +48 -113
  9. swarm/consumers.py +0 -19
  10. swarm/core.py +411 -0
  11. swarm/extensions/blueprint/__init__.py +16 -30
  12. swarm/extensions/blueprint/agent_utils.py +45 -0
  13. swarm/extensions/blueprint/blueprint_base.py +562 -0
  14. swarm/extensions/blueprint/blueprint_discovery.py +112 -0
  15. swarm/extensions/blueprint/django_utils.py +79 -181
  16. swarm/extensions/blueprint/interactive_mode.py +72 -67
  17. swarm/extensions/blueprint/output_utils.py +82 -0
  18. swarm/{core → extensions/blueprint}/spinner.py +21 -30
  19. swarm/extensions/cli/cli_args.py +0 -6
  20. swarm/extensions/cli/commands/blueprint_management.py +9 -47
  21. swarm/extensions/cli/commands/config_management.py +6 -5
  22. swarm/extensions/cli/commands/edit_config.py +7 -16
  23. swarm/extensions/cli/commands/list_blueprints.py +1 -1
  24. swarm/extensions/cli/commands/validate_env.py +4 -11
  25. swarm/extensions/cli/commands/validate_envvars.py +6 -6
  26. swarm/extensions/cli/interactive_shell.py +2 -16
  27. swarm/extensions/config/config_loader.py +345 -107
  28. swarm/{core → extensions/config}/config_manager.py +38 -50
  29. swarm/{core → extensions/config}/server_config.py +0 -32
  30. swarm/extensions/launchers/build_launchers.py +14 -0
  31. swarm/{core → extensions/launchers}/build_swarm_wrapper.py +0 -0
  32. swarm/extensions/launchers/swarm_api.py +64 -8
  33. swarm/extensions/launchers/swarm_cli.py +300 -8
  34. swarm/extensions/mcp/__init__.py +1 -0
  35. swarm/extensions/mcp/cache_utils.py +32 -0
  36. swarm/extensions/mcp/mcp_client.py +233 -0
  37. swarm/extensions/mcp/mcp_tool_provider.py +135 -0
  38. swarm/extensions/mcp/mcp_utils.py +260 -0
  39. swarm/llm/chat_completion.py +166 -0
  40. swarm/serializers.py +5 -96
  41. swarm/settings.py +133 -85
  42. swarm/types.py +91 -0
  43. swarm/urls.py +74 -57
  44. swarm/utils/context_utils.py +4 -10
  45. swarm/utils/general_utils.py +0 -21
  46. swarm/utils/redact.py +36 -23
  47. swarm/views/api_views.py +39 -48
  48. swarm/views/chat_views.py +76 -236
  49. swarm/views/core_views.py +87 -80
  50. swarm/views/model_views.py +121 -64
  51. swarm/views/utils.py +439 -65
  52. swarm/views/web_views.py +2 -2
  53. open_swarm-0.1.1745275181.dist-info/METADATA +0 -874
  54. open_swarm-0.1.1745275181.dist-info/RECORD +0 -319
  55. open_swarm-0.1.1745275181.dist-info/entry_points.txt +0 -4
  56. swarm/blueprints/README.md +0 -68
  57. swarm/blueprints/blueprint_audit_status.json +0 -27
  58. swarm/blueprints/chatbot/README.md +0 -40
  59. swarm/blueprints/chatbot/blueprint_chatbot.py +0 -471
  60. swarm/blueprints/chatbot/metadata.json +0 -23
  61. swarm/blueprints/chatbot/templates/chatbot/chatbot.html +0 -33
  62. swarm/blueprints/chucks_angels/README.md +0 -11
  63. swarm/blueprints/chucks_angels/blueprint_chucks_angels.py +0 -7
  64. swarm/blueprints/chucks_angels/test_basic.py +0 -3
  65. swarm/blueprints/codey/CODEY.md +0 -15
  66. swarm/blueprints/codey/README.md +0 -115
  67. swarm/blueprints/codey/blueprint_codey.py +0 -1072
  68. swarm/blueprints/codey/codey_cli.py +0 -373
  69. swarm/blueprints/codey/instructions.md +0 -17
  70. swarm/blueprints/codey/metadata.json +0 -23
  71. swarm/blueprints/common/operation_box_utils.py +0 -83
  72. swarm/blueprints/digitalbutlers/README.md +0 -11
  73. swarm/blueprints/digitalbutlers/__init__.py +0 -1
  74. swarm/blueprints/digitalbutlers/blueprint_digitalbutlers.py +0 -7
  75. swarm/blueprints/digitalbutlers/test_basic.py +0 -3
  76. swarm/blueprints/divine_code/README.md +0 -3
  77. swarm/blueprints/divine_code/__init__.py +0 -10
  78. swarm/blueprints/divine_code/apps.py +0 -11
  79. swarm/blueprints/divine_code/blueprint_divine_code.py +0 -270
  80. swarm/blueprints/django_chat/apps.py +0 -6
  81. swarm/blueprints/django_chat/blueprint_django_chat.py +0 -268
  82. swarm/blueprints/django_chat/templates/django_chat/django_chat_webpage.html +0 -37
  83. swarm/blueprints/django_chat/urls.py +0 -8
  84. swarm/blueprints/django_chat/views.py +0 -32
  85. swarm/blueprints/echocraft/blueprint_echocraft.py +0 -384
  86. swarm/blueprints/flock/README.md +0 -11
  87. swarm/blueprints/flock/__init__.py +0 -8
  88. swarm/blueprints/flock/blueprint_flock.py +0 -7
  89. swarm/blueprints/flock/test_basic.py +0 -3
  90. swarm/blueprints/geese/README.md +0 -10
  91. swarm/blueprints/geese/__init__.py +0 -8
  92. swarm/blueprints/geese/blueprint_geese.py +0 -384
  93. swarm/blueprints/geese/geese_cli.py +0 -102
  94. swarm/blueprints/jeeves/README.md +0 -41
  95. swarm/blueprints/jeeves/blueprint_jeeves.py +0 -722
  96. swarm/blueprints/jeeves/jeeves_cli.py +0 -55
  97. swarm/blueprints/jeeves/metadata.json +0 -24
  98. swarm/blueprints/mcp_demo/blueprint_mcp_demo.py +0 -473
  99. swarm/blueprints/messenger/templates/messenger/messenger.html +0 -46
  100. swarm/blueprints/mission_improbable/blueprint_mission_improbable.py +0 -423
  101. swarm/blueprints/monkai_magic/blueprint_monkai_magic.py +0 -340
  102. swarm/blueprints/nebula_shellz/blueprint_nebula_shellz.py +0 -265
  103. swarm/blueprints/omniplex/blueprint_omniplex.py +0 -298
  104. swarm/blueprints/poets/blueprint_poets.py +0 -546
  105. swarm/blueprints/poets/poets_cli.py +0 -23
  106. swarm/blueprints/rue_code/README.md +0 -8
  107. swarm/blueprints/rue_code/blueprint_rue_code.py +0 -448
  108. swarm/blueprints/rue_code/rue_code_cli.py +0 -43
  109. swarm/blueprints/stewie/apps.py +0 -12
  110. swarm/blueprints/stewie/blueprint_family_ties.py +0 -349
  111. swarm/blueprints/stewie/models.py +0 -19
  112. swarm/blueprints/stewie/serializers.py +0 -10
  113. swarm/blueprints/stewie/settings.py +0 -17
  114. swarm/blueprints/stewie/urls.py +0 -11
  115. swarm/blueprints/stewie/views.py +0 -26
  116. swarm/blueprints/suggestion/blueprint_suggestion.py +0 -222
  117. swarm/blueprints/whinge_surf/README.md +0 -22
  118. swarm/blueprints/whinge_surf/__init__.py +0 -1
  119. swarm/blueprints/whinge_surf/blueprint_whinge_surf.py +0 -565
  120. swarm/blueprints/whinge_surf/whinge_surf_cli.py +0 -99
  121. swarm/blueprints/whiskeytango_foxtrot/__init__.py +0 -0
  122. swarm/blueprints/whiskeytango_foxtrot/apps.py +0 -11
  123. swarm/blueprints/whiskeytango_foxtrot/blueprint_whiskeytango_foxtrot.py +0 -339
  124. swarm/blueprints/zeus/__init__.py +0 -2
  125. swarm/blueprints/zeus/apps.py +0 -4
  126. swarm/blueprints/zeus/blueprint_zeus.py +0 -270
  127. swarm/blueprints/zeus/zeus_cli.py +0 -13
  128. swarm/cli/async_input.py +0 -65
  129. swarm/cli/async_input_demo.py +0 -32
  130. swarm/core/agent_utils.py +0 -21
  131. swarm/core/blueprint_base.py +0 -769
  132. swarm/core/blueprint_discovery.py +0 -125
  133. swarm/core/blueprint_runner.py +0 -59
  134. swarm/core/blueprint_ux.py +0 -109
  135. swarm/core/build_launchers.py +0 -15
  136. swarm/core/cli/__init__.py +0 -1
  137. swarm/core/cli/commands/__init__.py +0 -1
  138. swarm/core/cli/commands/blueprint_management.py +0 -7
  139. swarm/core/cli/interactive_shell.py +0 -14
  140. swarm/core/cli/main.py +0 -50
  141. swarm/core/cli/utils/__init__.py +0 -1
  142. swarm/core/cli/utils/discover_commands.py +0 -18
  143. swarm/core/config_loader.py +0 -122
  144. swarm/core/output_utils.py +0 -193
  145. swarm/core/session_logger.py +0 -42
  146. swarm/core/slash_commands.py +0 -89
  147. swarm/core/swarm_api.py +0 -68
  148. swarm/core/swarm_cli.py +0 -216
  149. swarm/core/utils/__init__.py +0 -0
  150. swarm/extensions/blueprint/cli_handler.py +0 -197
  151. swarm/extensions/blueprint/runnable_blueprint.py +0 -42
  152. swarm/extensions/cli/utils/__init__.py +0 -1
  153. swarm/extensions/cli/utils/async_input.py +0 -46
  154. swarm/extensions/cli/utils/prompt_user.py +0 -3
  155. swarm/management/__init__.py +0 -0
  156. swarm/management/commands/__init__.py +0 -0
  157. swarm/management/commands/runserver.py +0 -58
  158. swarm/middleware.py +0 -65
  159. swarm/permissions.py +0 -38
  160. swarm/static/contrib/fonts/fontawesome-webfont.ttf +0 -7
  161. swarm/static/contrib/fonts/fontawesome-webfont.woff +0 -7
  162. swarm/static/contrib/fonts/fontawesome-webfont.woff2 +0 -7
  163. swarm/static/contrib/markedjs/marked.min.js +0 -6
  164. swarm/static/contrib/tabler-icons/adjustments-horizontal.svg +0 -27
  165. swarm/static/contrib/tabler-icons/alert-triangle.svg +0 -21
  166. swarm/static/contrib/tabler-icons/archive.svg +0 -21
  167. swarm/static/contrib/tabler-icons/artboard.svg +0 -27
  168. swarm/static/contrib/tabler-icons/automatic-gearbox.svg +0 -23
  169. swarm/static/contrib/tabler-icons/box-multiple.svg +0 -19
  170. swarm/static/contrib/tabler-icons/carambola.svg +0 -19
  171. swarm/static/contrib/tabler-icons/copy.svg +0 -20
  172. swarm/static/contrib/tabler-icons/download.svg +0 -21
  173. swarm/static/contrib/tabler-icons/edit.svg +0 -21
  174. swarm/static/contrib/tabler-icons/filled/carambola.svg +0 -13
  175. swarm/static/contrib/tabler-icons/filled/paint.svg +0 -13
  176. swarm/static/contrib/tabler-icons/headset.svg +0 -22
  177. swarm/static/contrib/tabler-icons/layout-sidebar-left-collapse.svg +0 -21
  178. swarm/static/contrib/tabler-icons/layout-sidebar-left-expand.svg +0 -21
  179. swarm/static/contrib/tabler-icons/layout-sidebar-right-collapse.svg +0 -21
  180. swarm/static/contrib/tabler-icons/layout-sidebar-right-expand.svg +0 -21
  181. swarm/static/contrib/tabler-icons/message-chatbot.svg +0 -22
  182. swarm/static/contrib/tabler-icons/message-star.svg +0 -22
  183. swarm/static/contrib/tabler-icons/message-x.svg +0 -23
  184. swarm/static/contrib/tabler-icons/message.svg +0 -21
  185. swarm/static/contrib/tabler-icons/paperclip.svg +0 -18
  186. swarm/static/contrib/tabler-icons/playlist-add.svg +0 -22
  187. swarm/static/contrib/tabler-icons/robot.svg +0 -26
  188. swarm/static/contrib/tabler-icons/search.svg +0 -19
  189. swarm/static/contrib/tabler-icons/settings.svg +0 -20
  190. swarm/static/contrib/tabler-icons/thumb-down.svg +0 -19
  191. swarm/static/contrib/tabler-icons/thumb-up.svg +0 -19
  192. swarm/static/css/dropdown.css +0 -22
  193. swarm/static/htmx/htmx.min.js +0 -0
  194. swarm/static/js/dropdown.js +0 -23
  195. swarm/static/rest_mode/css/base.css +0 -470
  196. swarm/static/rest_mode/css/chat-history.css +0 -286
  197. swarm/static/rest_mode/css/chat.css +0 -251
  198. swarm/static/rest_mode/css/chatbot.css +0 -74
  199. swarm/static/rest_mode/css/chatgpt.css +0 -62
  200. swarm/static/rest_mode/css/colors/corporate.css +0 -74
  201. swarm/static/rest_mode/css/colors/pastel.css +0 -81
  202. swarm/static/rest_mode/css/colors/tropical.css +0 -82
  203. swarm/static/rest_mode/css/general.css +0 -142
  204. swarm/static/rest_mode/css/layout.css +0 -167
  205. swarm/static/rest_mode/css/layouts/messenger-layout.css +0 -17
  206. swarm/static/rest_mode/css/layouts/minimalist-layout.css +0 -57
  207. swarm/static/rest_mode/css/layouts/mobile-layout.css +0 -8
  208. swarm/static/rest_mode/css/messages.css +0 -84
  209. swarm/static/rest_mode/css/messenger.css +0 -135
  210. swarm/static/rest_mode/css/settings.css +0 -91
  211. swarm/static/rest_mode/css/simple.css +0 -44
  212. swarm/static/rest_mode/css/slack.css +0 -58
  213. swarm/static/rest_mode/css/style.css +0 -156
  214. swarm/static/rest_mode/css/theme.css +0 -30
  215. swarm/static/rest_mode/css/toast.css +0 -40
  216. swarm/static/rest_mode/js/auth.js +0 -9
  217. swarm/static/rest_mode/js/blueprint.js +0 -41
  218. swarm/static/rest_mode/js/blueprintUtils.js +0 -12
  219. swarm/static/rest_mode/js/chatLogic.js +0 -79
  220. swarm/static/rest_mode/js/debug.js +0 -63
  221. swarm/static/rest_mode/js/events.js +0 -98
  222. swarm/static/rest_mode/js/main.js +0 -19
  223. swarm/static/rest_mode/js/messages.js +0 -264
  224. swarm/static/rest_mode/js/messengerLogic.js +0 -355
  225. swarm/static/rest_mode/js/modules/apiService.js +0 -84
  226. swarm/static/rest_mode/js/modules/blueprintManager.js +0 -162
  227. swarm/static/rest_mode/js/modules/chatHistory.js +0 -110
  228. swarm/static/rest_mode/js/modules/debugLogger.js +0 -14
  229. swarm/static/rest_mode/js/modules/eventHandlers.js +0 -107
  230. swarm/static/rest_mode/js/modules/messageProcessor.js +0 -120
  231. swarm/static/rest_mode/js/modules/state.js +0 -7
  232. swarm/static/rest_mode/js/modules/userInteractions.js +0 -29
  233. swarm/static/rest_mode/js/modules/validation.js +0 -23
  234. swarm/static/rest_mode/js/rendering.js +0 -119
  235. swarm/static/rest_mode/js/settings.js +0 -130
  236. swarm/static/rest_mode/js/sidebar.js +0 -94
  237. swarm/static/rest_mode/js/simpleLogic.js +0 -37
  238. swarm/static/rest_mode/js/slackLogic.js +0 -66
  239. swarm/static/rest_mode/js/splash.js +0 -76
  240. swarm/static/rest_mode/js/theme.js +0 -111
  241. swarm/static/rest_mode/js/toast.js +0 -36
  242. swarm/static/rest_mode/js/ui.js +0 -265
  243. swarm/static/rest_mode/js/validation.js +0 -57
  244. swarm/static/rest_mode/svg/animated_spinner.svg +0 -12
  245. swarm/static/rest_mode/svg/arrow_down.svg +0 -5
  246. swarm/static/rest_mode/svg/arrow_left.svg +0 -5
  247. swarm/static/rest_mode/svg/arrow_right.svg +0 -5
  248. swarm/static/rest_mode/svg/arrow_up.svg +0 -5
  249. swarm/static/rest_mode/svg/attach.svg +0 -8
  250. swarm/static/rest_mode/svg/avatar.svg +0 -7
  251. swarm/static/rest_mode/svg/canvas.svg +0 -6
  252. swarm/static/rest_mode/svg/chat_history.svg +0 -4
  253. swarm/static/rest_mode/svg/close.svg +0 -5
  254. swarm/static/rest_mode/svg/copy.svg +0 -4
  255. swarm/static/rest_mode/svg/dark_mode.svg +0 -3
  256. swarm/static/rest_mode/svg/edit.svg +0 -5
  257. swarm/static/rest_mode/svg/layout.svg +0 -9
  258. swarm/static/rest_mode/svg/logo.svg +0 -29
  259. swarm/static/rest_mode/svg/logout.svg +0 -5
  260. swarm/static/rest_mode/svg/mobile.svg +0 -5
  261. swarm/static/rest_mode/svg/new_chat.svg +0 -4
  262. swarm/static/rest_mode/svg/not_visible.svg +0 -5
  263. swarm/static/rest_mode/svg/plus.svg +0 -7
  264. swarm/static/rest_mode/svg/run_code.svg +0 -6
  265. swarm/static/rest_mode/svg/save.svg +0 -4
  266. swarm/static/rest_mode/svg/search.svg +0 -6
  267. swarm/static/rest_mode/svg/settings.svg +0 -4
  268. swarm/static/rest_mode/svg/speaker.svg +0 -5
  269. swarm/static/rest_mode/svg/stop.svg +0 -6
  270. swarm/static/rest_mode/svg/thumbs_down.svg +0 -3
  271. swarm/static/rest_mode/svg/thumbs_up.svg +0 -3
  272. swarm/static/rest_mode/svg/toggle_off.svg +0 -6
  273. swarm/static/rest_mode/svg/toggle_on.svg +0 -6
  274. swarm/static/rest_mode/svg/trash.svg +0 -10
  275. swarm/static/rest_mode/svg/undo.svg +0 -3
  276. swarm/static/rest_mode/svg/visible.svg +0 -8
  277. swarm/static/rest_mode/svg/voice.svg +0 -10
  278. swarm/templates/account/login.html +0 -22
  279. swarm/templates/account/signup.html +0 -32
  280. swarm/templates/base.html +0 -30
  281. swarm/templates/chat.html +0 -43
  282. swarm/templates/index.html +0 -35
  283. swarm/templates/rest_mode/components/chat_sidebar.html +0 -55
  284. swarm/templates/rest_mode/components/header.html +0 -45
  285. swarm/templates/rest_mode/components/main_chat_pane.html +0 -41
  286. swarm/templates/rest_mode/components/settings_dialog.html +0 -97
  287. swarm/templates/rest_mode/components/splash_screen.html +0 -7
  288. swarm/templates/rest_mode/components/top_bar.html +0 -28
  289. swarm/templates/rest_mode/message_ui.html +0 -50
  290. swarm/templates/rest_mode/slackbot.html +0 -30
  291. swarm/templates/simple_blueprint_page.html +0 -24
  292. swarm/templates/websocket_partials/final_system_message.html +0 -3
  293. swarm/templates/websocket_partials/system_message.html +0 -4
  294. swarm/templates/websocket_partials/user_message.html +0 -5
  295. swarm/utils/ansi_box.py +0 -34
  296. swarm/utils/disable_tracing.py +0 -38
  297. swarm/utils/log_utils.py +0 -63
  298. swarm/utils/openai_patch.py +0 -33
  299. swarm/ux/ansi_box.py +0 -43
  300. swarm/ux/spinner.py +0 -53
  301. {open_swarm-0.1.1745275181.dist-info → open_swarm-0.1.1748636295.dist-info}/licenses/LICENSE +0 -0
  302. /swarm/{core → extensions/blueprint}/blueprint_utils.py +0 -0
  303. /swarm/{core → extensions/blueprint}/common_utils.py +0 -0
  304. /swarm/{core → extensions/config}/setup_wizard.py +0 -0
  305. /swarm/{blueprints/rue_code → extensions/config/utils}/__init__.py +0 -0
  306. /swarm/{core → extensions/config}/utils/logger.py +0 -0
  307. /swarm/{core → extensions/launchers}/swarm_wrapper.py +0 -0
@@ -1,74 +0,0 @@
1
- /* corporate.css - Revised Corporate Color Theme */
2
- :root {
3
- /* Light Mode */
4
- --bg-primary: #f8f9fa;
5
- --bg-container: #ffffff;
6
- --bg-message-user: #e9ecef;
7
- --bg-message-assistant: #dee2e6;
8
- --bg-message-tool: #f1f3f5;
9
- --bg-message-other: #e9ecef;
10
- --bg-blueprint: #ffffff;
11
- --bg-debug: #f8f9fa;
12
- --bg-chat-history-header: #6c757d;
13
- --bg-chat-history-pane: #e9ecef;
14
- --text-primary: #212529;
15
- --text-secondary: #495057;
16
- --border-color: #ced4da;
17
- --button-primary: #2b8ce6; /* More vibrant primary color */
18
- --button-hover: #1a6eb8;
19
- --button-pane-bg: #e9ecef;
20
- --button-pane-hover-bg: #dee2e6;
21
- --button-header-bg: #ffffff;
22
- --button-header-hover-bg: #e9ecef;
23
- --logout-button-bg: #e9ecef;
24
- --logout-button-hover: #dee2e6;
25
- --logo-color: #2b8ce6;
26
- --transition-duration: 0.3s;
27
- }
28
-
29
- [data-theme-dark="true"] {
30
- /* Dark Mode */
31
- --bg-primary: #1a1a1a;
32
- --bg-container: #2d2d2d;
33
- --bg-message-user: #404040;
34
- --bg-message-assistant: #4d4d4d;
35
- --bg-message-tool: #333333;
36
- --bg-message-other: #404040;
37
- --bg-blueprint: #2d2d2d;
38
- --bg-debug: #1a1a1a;
39
- --bg-chat-history-pane: #262626;
40
- --text-primary: #f8f9fa;
41
- --text-secondary: #dee2e6;
42
- --border-color: #495057;
43
- --button-primary: #4a9eff; /* Brighter blue for better visibility */
44
- --button-hover: #357abd;
45
- --logout-button-bg: #404040;
46
- --logout-button-hover: #4d4d4d;
47
- --logo-color: #4a9eff;
48
- }
49
-
50
- /* Message Styling Updates */
51
- .message.user {
52
- background-color: var(--bg-message-user);
53
- color: var(--text-primary);
54
- border: 1px solid var(--border-color);
55
- }
56
-
57
- .message.assistant {
58
- background-color: var(--bg-message-assistant);
59
- color: var(--text-primary);
60
- border: 1px solid var(--border-color);
61
- }
62
-
63
- .pinned-message {
64
- border-color: var(--border-color);
65
- background-color: var(--bg-container);
66
- }
67
-
68
- .pinned-message .remove-pinned-button {
69
- color: #dc3545;
70
- }
71
-
72
- .pinned-message .remove-pinned-button:hover {
73
- color: #ff1a1a;
74
- }
@@ -1,81 +0,0 @@
1
- /* pastel.css - Revised Pastel Color Theme */
2
- :root {
3
- /* Light Mode */
4
- --bg-primary: #fafafa; /* Soft White */
5
- --bg-container: #f0f8ff; /* Alice Blue */
6
- --bg-message-user: #b3e0ff; /* Powder Blue */
7
- --bg-message-assistant: #e0ffe0; /* Mint Cream */
8
- --bg-message-tool: #ffe0e6; /* Misty Rose */
9
- --bg-message-other: #f5f5f5; /* White Smoke */
10
- --bg-blueprint: #fff8f0; /* Seashell */
11
- --bg-debug: #f8f8f8; /* Snow White */
12
- --text-primary: #2c3e50; /* Dark Slate */
13
- --text-secondary: #5a6a7f;
14
- --border-color: #d1e0e0; /* Pale Teal */
15
- --button-primary: #89c4f4; /* Soft Sky Blue */
16
- --button-hover: #6aa8d6;
17
- --button-pane-bg: #e0f0ff;
18
- --button-pane-hover-bg: #cce6ff;
19
- --button-header-bg: #a8d8ff;
20
- --button-header-hover-bg: #95c4eb;
21
- --logout-button-bg: #ffb3d9; /* Pastel Pink */
22
- --logout-button-hover: #ff99cc;
23
- --logo-color: #89c4f4;
24
- --transition-duration: 0.3s;
25
- }
26
-
27
- [data-theme-dark="true"] {
28
- /* Dark Mode */
29
- --bg-primary: #1a1f2b; /* Night Blue */
30
- --bg-container: #252d3d;
31
- --bg-message-user: #3a4b5f; /* Dusky Blue */
32
- --bg-message-assistant: #2d3d2d; /* Forest Night */
33
- --bg-message-tool: #3d2d2d; /* Maroon Night */
34
- --bg-message-other: #2d2d3d; /* Twilight */
35
- --bg-blueprint: #1f2833;
36
- --bg-debug: #1a212b;
37
- --text-primary: #e0f2fe; /* Moonlight */
38
- --text-secondary: #b3cde0;
39
- --border-color: #3d4b5f;
40
- --button-primary: #6d9ceb; /* Twilight Blue */
41
- --button-hover: #5b87c9;
42
- --logout-button-bg: #eb6d9c; /* Dusky Pink */
43
- --logout-button-hover: #d95b8a;
44
- --logo-color: #6d9ceb;
45
- }
46
-
47
- /* Enhanced Message Styling */
48
- .message {
49
- border-radius: 18px;
50
- padding: 12px 18px;
51
- margin-bottom: 12px;
52
- max-width: 75%;
53
- box-shadow: 0 2px 4px rgba(0,0,0,0.05);
54
- border: 1px solid var(--border-color);
55
- }
56
-
57
- .message.user {
58
- background-color: var(--bg-message-user);
59
- align-self: flex-end;
60
- }
61
-
62
- .message.assistant {
63
- background-color: var(--bg-message-assistant);
64
- align-self: flex-start;
65
- }
66
-
67
- /* Updated Pinned Messages */
68
- .pinned-message {
69
- background-color: var(--bg-container);
70
- border: 1px dashed var(--border-color);
71
- box-shadow: 0 2px 6px rgba(0,0,0,0.1);
72
- }
73
-
74
- .pinned-message .remove-pinned-button {
75
- color: #ff6b6b; /* Pastel Red */
76
- }
77
-
78
- .pinned-message .remove-pinned-button:hover {
79
- color: #ff5252;
80
- }
81
-
@@ -1,82 +0,0 @@
1
- /* tropical.css - Revised Tropical Color Theme */
2
- :root {
3
- /* Light Mode */
4
- --bg-primary: #fff7ed; /* Coconut Cream */
5
- --bg-container: #ffe4c4; /* Sandy Beach */
6
- --bg-message-user: #ffd8a8; /* Papaya Whip */
7
- --bg-message-assistant: #d4f1dd; /* Sea Foam */
8
- --bg-message-tool: #ffe0f0; /* Hibiscus Pink */
9
- --bg-message-other: #f0fff0; /* Palm Frond */
10
- --bg-blueprint: #fffaf0; /* White Sand */
11
- --bg-debug: #fff5ee; /* Seashell */
12
- --text-primary: #2d4738; /* Jungle Green */
13
- --text-secondary: #5a6d5a;
14
- --border-color: #c8a27a; /* Driftwood */
15
- --button-primary: #38a89d; /* Tropical Teal */
16
- --button-hover: #2e897f;
17
- --button-pane-bg: #ffe8d6;
18
- --button-pane-hover-bg: #ffd8b3;
19
- --button-header-bg: #ff9f4b; /* Mango */
20
- --button-header-hover-bg: #ff8c31;
21
- --logout-button-bg: #ff6b6b; /* Coral */
22
- --logout-button-hover: #ff5252;
23
- --logo-color: #38a89d;
24
- --transition-duration: 0.3s;
25
- }
26
-
27
- [data-theme-dark="true"] {
28
- /* Night Mode */
29
- --bg-primary: #0a1a2a; /* Midnight Ocean */
30
- --bg-container: #1a2b3a;
31
- --bg-message-user: #2a3b4a; /* Moonlit Wave */
32
- --bg-message-assistant: #1a3a2a; /* Palm Shadow */
33
- --bg-message-tool: #3a1a2a; /* Volcanic Soil */
34
- --bg-message-other: #2a2a3a; /* Twilight Lagoon */
35
- --bg-blueprint: #142a3a;
36
- --bg-debug: #0a1a1a;
37
- --text-primary: #e0f0ff; /* Moonlight */
38
- --text-secondary: #b0c4de;
39
- --border-color: #3a4b5a;
40
- --button-primary: #4ac6b5; /* Bioluminescent Teal */
41
- --button-hover: #38a89d;
42
- --logout-button-bg: #ff8c6b; /* Lava Glow */
43
- --logout-button-hover: #ff7a52;
44
- --logo-color: #4ac6b5;
45
- }
46
-
47
- /* Tropical Message Styling */
48
- .message {
49
- border-radius: 20px;
50
- padding: 12px 18px;
51
- margin-bottom: 15px;
52
- max-width: 75%;
53
- box-shadow: 0 3px 6px rgba(0,0,0,0.1);
54
- border: 2px solid var(--border-color);
55
- }
56
-
57
- .message.user {
58
- background-color: var(--bg-message-user);
59
- align-self: flex-end;
60
- }
61
-
62
- .message.assistant {
63
- background-color: var(--bg-message-assistant);
64
- align-self: flex-start;
65
- }
66
-
67
- /* Island-inspired Pinned Messages */
68
- .pinned-message {
69
- background-color: var(--bg-container);
70
- border: 2px dashed var(--border-color);
71
- border-radius: 20px;
72
- box-shadow: 0 4px 8px rgba(0,0,0,0.15);
73
- }
74
-
75
- .pinned-message .remove-pinned-button {
76
- color: #ff4757; /* Tropical Red */
77
- }
78
-
79
- .pinned-message .remove-pinned-button:hover {
80
- color: #ff2d42;
81
- }
82
-
@@ -1,142 +0,0 @@
1
- /* General Utility Classes */
2
- .hidden {
3
- display: none !important; /* Fully removes from layout and ensures priority */
4
- visibility: hidden;
5
- pointer-events: none; /* Prevent interaction when hidden */
6
- }
7
-
8
- .visible {
9
- display: block !important; /* Forces visibility when needed */
10
- }
11
-
12
- /* Flex Utilities */
13
- .flex {
14
- display: flex;
15
- }
16
-
17
- .flex-row {
18
- flex-direction: row;
19
- }
20
-
21
- .flex-column {
22
- flex-direction: column;
23
- }
24
-
25
- .justify-start {
26
- justify-content: flex-start;
27
- }
28
-
29
- .justify-center {
30
- justify-content: center;
31
- }
32
-
33
- .justify-end {
34
- justify-content: flex-end;
35
- }
36
-
37
- .align-start {
38
- align-items: flex-start;
39
- }
40
-
41
- .align-center {
42
- align-items: center;
43
- }
44
-
45
- .align-end {
46
- align-items: flex-end;
47
- }
48
-
49
- /* Text Utilities */
50
- .text-center {
51
- text-align: center;
52
- }
53
-
54
- .text-bold {
55
- font-weight: bold;
56
- }
57
-
58
- .text-italic {
59
- font-style: italic;
60
- }
61
-
62
- /* Margin and Padding Utilities */
63
- .margin-auto {
64
- margin: auto;
65
- }
66
-
67
- .padding-sm {
68
- padding: 5px;
69
- }
70
-
71
- .padding-md {
72
- padding: 10px;
73
- }
74
-
75
- .padding-lg {
76
- padding: 20px;
77
- }
78
-
79
- /* Border and Background */
80
- .border-rounded {
81
- border-radius: 8px;
82
- }
83
-
84
- .border-solid {
85
- border: 1px solid var(--border-color, #ccc);
86
- }
87
-
88
- .bg-primary {
89
- background-color: var(--bg-primary, #f5f5f5);
90
- }
91
-
92
- .bg-secondary {
93
- background-color: var(--bg-secondary, #e0e0e0);
94
- }
95
-
96
- .bg-dark {
97
- background-color: var(--bg-dark, #333333);
98
- }
99
-
100
- .bg-light {
101
- background-color: var(--bg-light, #ffffff);
102
- }
103
-
104
- /* Transition Effects */
105
- .transition {
106
- transition: all 0.3s ease;
107
- }
108
-
109
- .transition-opacity {
110
- transition: opacity 0.3s ease;
111
- }
112
-
113
- .transition-transform {
114
- transition: transform 0.3s ease;
115
- }
116
-
117
- /* Scrollbars */
118
- .scroll-y {
119
- overflow-y: auto;
120
- }
121
-
122
- .scroll-x {
123
- overflow-x: auto;
124
- }
125
-
126
- .no-scroll {
127
- overflow: hidden;
128
- }
129
-
130
- /* Fullscreen Overlay */
131
- .fullscreen-overlay {
132
- position: fixed;
133
- top: 0;
134
- left: 0;
135
- width: 100vw;
136
- height: 100vh;
137
- background-color: rgba(0, 0, 0, 0.5);
138
- z-index: 9999;
139
- display: flex;
140
- align-items: center;
141
- justify-content: center;
142
- }
@@ -1,167 +0,0 @@
1
- .chat-history-pane {
2
- flex: 0 0 33%;
3
- background-color: var(--bg-chat-history-pane);
4
- padding: 15px;
5
- overflow-y: auto;
6
- }
7
-
8
- .main-pane {
9
- flex: 1;
10
- background-color: var(--bg-primary);
11
- padding: 20px;
12
- overflow: hidden;
13
- }
14
-
15
- /* Top Bar Styling */
16
- .top-bar {
17
- position: fixed;
18
- top: 0;
19
- left: 0;
20
- width: 100%;
21
- height: 80%;
22
- background-color: var(--bg-container);
23
- border-bottom: 1px solid var(--border-color);
24
- align-items: center;
25
- padding: 0 10px;
26
- z-index: 1000;
27
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
28
- visibility: hidden;
29
- }
30
-
31
- /* Left Section: Logo and Buttons */
32
- .top-bar-left {
33
- display: flex;
34
- align-items: center;
35
- gap: 10px;
36
- }
37
-
38
- /* Blueprint Metadata Centered */
39
- .blueprint-metadata {
40
- flex: 1;
41
- text-align: center;
42
- font-size: 0.85rem;
43
- }
44
-
45
- /* Right Section: Settings Button */
46
- .top-bar-right {
47
- margin-left: auto;
48
- display: flex;
49
- align-items: center;
50
- }
51
-
52
- /* Buttons in the Top Bar */
53
- .top-bar-btn {
54
- background: none;
55
- border: none;
56
- display: flex;
57
- align-items: center;
58
- gap: 5px;
59
- padding: 5px 10px;
60
- font-size: 0.85rem;
61
- cursor: pointer;
62
- color: var(--text-color);
63
- text-decoration: none;
64
- white-space: nowrap;
65
- flex-shrink: 0;
66
- transition: background-color 0.2s ease, color 0.2s ease;
67
- }
68
-
69
- .top-bar-btn img {
70
- width: 24px;
71
- height: 24px;
72
- flex-shrink: 0;
73
- }
74
-
75
- .top-bar-btn:hover {
76
- background-color: var(--button-hover-bg);
77
- }
78
-
79
- .top-bar-btn .btn-label {
80
- display: inline-block;
81
- white-space: nowrap;
82
- visibility: visible;
83
- }
84
-
85
- /* Main Chat Pane */
86
- .main-pane {
87
- flex: 1;
88
- display: flex;
89
- flex-direction: column;
90
- overflow: hidden;
91
- box-sizing: border-box;
92
- }
93
-
94
- /* Message Input Area */
95
- .message-input-container {
96
- display: flex;
97
- align-items: center;
98
- gap: 10px;
99
- background-color: var(--bg-secondary);
100
- border-top: 1px solid var(--border-color);
101
- position: absolute;
102
- bottom: 0;
103
- width: 100%;
104
- }
105
-
106
- /* Vertical Divider for Resizing */
107
- .vertical-divider {
108
- width: 10px;
109
- cursor: col-resize;
110
- background-color: var(--border-color);
111
- opacity: 0;
112
- transition: opacity 0.2s ease, background-color 0.2s ease;
113
- }
114
-
115
- .vertical-divider:hover {
116
- opacity: 1;
117
- background-color: var(--button-hover-bg);
118
- }
119
-
120
- /* Sidebar Reveal Buttons */
121
- .sidebar-reveal-btn {
122
- position: absolute;
123
- top: 10px; /* Adjusted to be higher */
124
- z-index: 1000;
125
- background-color: var(--button-primary);
126
- color: #fff;
127
- border: none;
128
- border-radius: 50%;
129
- width: 40px;
130
- height: 40px;
131
- cursor: pointer;
132
- transition: background-color var(--transition-duration) ease;
133
- font-size: 1em;
134
- display: flex;
135
- align-items: center;
136
- justify-content: center;
137
- opacity: 0.6; /* Dimmed */
138
- }
139
-
140
- .sidebar-reveal-btn:hover {
141
- opacity: 1; /* Fully visible on hover */
142
- }
143
-
144
- .sidebar-reveal-btn + .sidebar-reveal-btn {
145
- top: 60px; /* Reduced gap */
146
- opacity: 0.6;
147
- }
148
-
149
- .sidebar-reveal-btn:hover + .sidebar-reveal-btn {
150
- opacity: 1;
151
- }
152
-
153
- /* Responsive Adjustments */
154
- @media (max-width: 768px) {
155
- .message-input-container {
156
- flex-direction: column;
157
- gap: 5px;
158
- }
159
- }
160
-
161
- .hidden {
162
- display: none !important;
163
- }
164
-
165
- .visible {
166
- display: block;
167
- }
@@ -1,17 +0,0 @@
1
- /* Updated messenger-layout.css */
2
-
3
- /* Chat Pane */
4
- .chat-pane {
5
- flex: 1;
6
- display: flex;
7
- flex-direction: row; /* Ensure horizontal layout */
8
- /* border: 2px dashed orange; */
9
- }
10
-
11
- /* Form Container */
12
- .form-container {
13
- display: flex;
14
- align-items: center;
15
- /* border-top: 2px dashed magenta; */
16
- }
17
-
@@ -1,57 +0,0 @@
1
- /* minimalist-layout.css - Minimalist layout-specific styles */
2
-
3
- /* General minimalist layout adjustments */
4
- .message.assistant {
5
- background: none; /* No box */
6
- color: var(--text-primary);
7
- align-self: flex-start;
8
- width: 100%;
9
- /* padding: 5px 10px; */
10
- font-size: 1em;
11
- }
12
-
13
- .message.user {
14
- background-color: var(--bg-message-user);
15
- align-self: flex-end;
16
- padding: 10px 15px;
17
- border-radius: 8px;
18
- max-width: 60%;
19
- }
20
-
21
- /* Markdown Support */
22
- .message.assistant {
23
- white-space: pre-wrap;
24
- word-wrap: break-word;
25
- }
26
-
27
- .message.assistant strong {
28
- font-weight: bold;
29
- }
30
-
31
- .message.assistant em {
32
- font-style: italic;
33
- }
34
-
35
- .message.assistant code {
36
- background-color: #f5f5f5;
37
- padding: 2px 4px;
38
- border-radius: 4px;
39
- }
40
-
41
- .message.assistant pre {
42
- background-color: #f5f5f5;
43
- padding: 10px;
44
- border-radius: 8px;
45
- overflow: auto;
46
- }
47
-
48
- /* Hide attach and voice buttons */
49
- [data-theme-layout="minimalist-layout"] .form-container #uploadButton,
50
- [data-theme-layout="minimalist-layout"] .form-container #voiceRecordButton {
51
- display: none !important;
52
- }
53
-
54
- /* Expand input field to fill the gap */
55
- [data-theme-layout="minimalist-layout"] .form-container #userInput {
56
- width: calc(100% - 60px) !important;
57
- }
@@ -1,8 +0,0 @@
1
- /* mobile-layout.css - Minimal or special mobile styling */
2
-
3
- .chat-pane {
4
- /* example */
5
- margin: 0;
6
- padding: 0;
7
- }
8
-
@@ -1,84 +0,0 @@
1
- .message-container {
2
- display: flex;
3
- flex-direction: column;
4
- gap: 15px;
5
- min-height: 0;
6
- overflow-y: auto;
7
- margin-bottom: 10px;
8
- padding: 10px;
9
- }
10
-
11
- /* Persistent Message */
12
- .persistent-message {
13
- background-color: var(--bg-message-assistant);
14
- /* border: 2px dashed var(--border-color); */
15
- border-radius: 8px;
16
- padding: 15px;
17
- margin-bottom: 15px;
18
- color: var(--text-primary);
19
- }
20
-
21
- /* Message Styling */
22
- .message {
23
- min-height: 0;
24
- overflow: auto;
25
- flex-shrink: 0;
26
- background-color: var(--bg-message-user);
27
- border-radius: 8px;
28
- padding: 10px;
29
- position: relative;
30
- display: block;
31
- }
32
-
33
- /* Assistant Message */
34
- .message.assistant {
35
- background-color: var(--bg-message-assistant);
36
- }
37
-
38
-
39
-
40
- /* Toolbar Button */
41
- .toolbar-btn {
42
- background: none;
43
- border: none;
44
- cursor: pointer;
45
- transition: transform 0.3s ease, opacity 0.3s ease;
46
- opacity: 0.7;
47
- }
48
-
49
- .toolbar-btn:hover {
50
- transform: scale(1.1);
51
- opacity: 1;
52
- }
53
-
54
- .icon-svg {
55
- width: 24px;
56
- height: 24px;
57
- fill: var(--text-secondary);
58
- transition: fill 0.3s ease;
59
- }
60
-
61
- .toolbar-btn:hover .icon-svg {
62
- fill: var(--button-hover);
63
- }
64
- .user-message {
65
- background: #DCF8C6;
66
- padding: 10px;
67
- margin: 5px 0;
68
- border-radius: 5px;
69
- align-self: flex-end;
70
- }
71
- .assistant-message {
72
- background: #E6E6E6;
73
- padding: 10px;
74
- margin: 5px 0;
75
- border-radius: 5px;
76
- align-self: flex-start;
77
- }
78
- .error-message {
79
- background: #F8D7DA;
80
- color: #721C24;
81
- padding: 10px;
82
- margin: 5px 0;
83
- border-radius: 5px;
84
- }