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.
- open_swarm-0.1.1748636295.dist-info/METADATA +257 -0
- open_swarm-0.1.1748636295.dist-info/RECORD +89 -0
- {open_swarm-0.1.1745275181.dist-info → open_swarm-0.1.1748636295.dist-info}/WHEEL +2 -1
- open_swarm-0.1.1748636295.dist-info/entry_points.txt +3 -0
- open_swarm-0.1.1748636295.dist-info/top_level.txt +1 -0
- swarm/__init__.py +2 -0
- swarm/agent/agent.py +49 -0
- swarm/auth.py +48 -113
- swarm/consumers.py +0 -19
- swarm/core.py +411 -0
- swarm/extensions/blueprint/__init__.py +16 -30
- swarm/extensions/blueprint/agent_utils.py +45 -0
- swarm/extensions/blueprint/blueprint_base.py +562 -0
- swarm/extensions/blueprint/blueprint_discovery.py +112 -0
- swarm/extensions/blueprint/django_utils.py +79 -181
- swarm/extensions/blueprint/interactive_mode.py +72 -67
- swarm/extensions/blueprint/output_utils.py +82 -0
- swarm/{core → extensions/blueprint}/spinner.py +21 -30
- swarm/extensions/cli/cli_args.py +0 -6
- swarm/extensions/cli/commands/blueprint_management.py +9 -47
- swarm/extensions/cli/commands/config_management.py +6 -5
- swarm/extensions/cli/commands/edit_config.py +7 -16
- swarm/extensions/cli/commands/list_blueprints.py +1 -1
- swarm/extensions/cli/commands/validate_env.py +4 -11
- swarm/extensions/cli/commands/validate_envvars.py +6 -6
- swarm/extensions/cli/interactive_shell.py +2 -16
- swarm/extensions/config/config_loader.py +345 -107
- swarm/{core → extensions/config}/config_manager.py +38 -50
- swarm/{core → extensions/config}/server_config.py +0 -32
- swarm/extensions/launchers/build_launchers.py +14 -0
- swarm/{core → extensions/launchers}/build_swarm_wrapper.py +0 -0
- swarm/extensions/launchers/swarm_api.py +64 -8
- swarm/extensions/launchers/swarm_cli.py +300 -8
- swarm/extensions/mcp/__init__.py +1 -0
- swarm/extensions/mcp/cache_utils.py +32 -0
- swarm/extensions/mcp/mcp_client.py +233 -0
- swarm/extensions/mcp/mcp_tool_provider.py +135 -0
- swarm/extensions/mcp/mcp_utils.py +260 -0
- swarm/llm/chat_completion.py +166 -0
- swarm/serializers.py +5 -96
- swarm/settings.py +133 -85
- swarm/types.py +91 -0
- swarm/urls.py +74 -57
- swarm/utils/context_utils.py +4 -10
- swarm/utils/general_utils.py +0 -21
- swarm/utils/redact.py +36 -23
- swarm/views/api_views.py +39 -48
- swarm/views/chat_views.py +76 -236
- swarm/views/core_views.py +87 -80
- swarm/views/model_views.py +121 -64
- swarm/views/utils.py +439 -65
- swarm/views/web_views.py +2 -2
- open_swarm-0.1.1745275181.dist-info/METADATA +0 -874
- open_swarm-0.1.1745275181.dist-info/RECORD +0 -319
- open_swarm-0.1.1745275181.dist-info/entry_points.txt +0 -4
- swarm/blueprints/README.md +0 -68
- swarm/blueprints/blueprint_audit_status.json +0 -27
- swarm/blueprints/chatbot/README.md +0 -40
- swarm/blueprints/chatbot/blueprint_chatbot.py +0 -471
- swarm/blueprints/chatbot/metadata.json +0 -23
- swarm/blueprints/chatbot/templates/chatbot/chatbot.html +0 -33
- swarm/blueprints/chucks_angels/README.md +0 -11
- swarm/blueprints/chucks_angels/blueprint_chucks_angels.py +0 -7
- swarm/blueprints/chucks_angels/test_basic.py +0 -3
- swarm/blueprints/codey/CODEY.md +0 -15
- swarm/blueprints/codey/README.md +0 -115
- swarm/blueprints/codey/blueprint_codey.py +0 -1072
- swarm/blueprints/codey/codey_cli.py +0 -373
- swarm/blueprints/codey/instructions.md +0 -17
- swarm/blueprints/codey/metadata.json +0 -23
- swarm/blueprints/common/operation_box_utils.py +0 -83
- swarm/blueprints/digitalbutlers/README.md +0 -11
- swarm/blueprints/digitalbutlers/__init__.py +0 -1
- swarm/blueprints/digitalbutlers/blueprint_digitalbutlers.py +0 -7
- swarm/blueprints/digitalbutlers/test_basic.py +0 -3
- swarm/blueprints/divine_code/README.md +0 -3
- swarm/blueprints/divine_code/__init__.py +0 -10
- swarm/blueprints/divine_code/apps.py +0 -11
- swarm/blueprints/divine_code/blueprint_divine_code.py +0 -270
- swarm/blueprints/django_chat/apps.py +0 -6
- swarm/blueprints/django_chat/blueprint_django_chat.py +0 -268
- swarm/blueprints/django_chat/templates/django_chat/django_chat_webpage.html +0 -37
- swarm/blueprints/django_chat/urls.py +0 -8
- swarm/blueprints/django_chat/views.py +0 -32
- swarm/blueprints/echocraft/blueprint_echocraft.py +0 -384
- swarm/blueprints/flock/README.md +0 -11
- swarm/blueprints/flock/__init__.py +0 -8
- swarm/blueprints/flock/blueprint_flock.py +0 -7
- swarm/blueprints/flock/test_basic.py +0 -3
- swarm/blueprints/geese/README.md +0 -10
- swarm/blueprints/geese/__init__.py +0 -8
- swarm/blueprints/geese/blueprint_geese.py +0 -384
- swarm/blueprints/geese/geese_cli.py +0 -102
- swarm/blueprints/jeeves/README.md +0 -41
- swarm/blueprints/jeeves/blueprint_jeeves.py +0 -722
- swarm/blueprints/jeeves/jeeves_cli.py +0 -55
- swarm/blueprints/jeeves/metadata.json +0 -24
- swarm/blueprints/mcp_demo/blueprint_mcp_demo.py +0 -473
- swarm/blueprints/messenger/templates/messenger/messenger.html +0 -46
- swarm/blueprints/mission_improbable/blueprint_mission_improbable.py +0 -423
- swarm/blueprints/monkai_magic/blueprint_monkai_magic.py +0 -340
- swarm/blueprints/nebula_shellz/blueprint_nebula_shellz.py +0 -265
- swarm/blueprints/omniplex/blueprint_omniplex.py +0 -298
- swarm/blueprints/poets/blueprint_poets.py +0 -546
- swarm/blueprints/poets/poets_cli.py +0 -23
- swarm/blueprints/rue_code/README.md +0 -8
- swarm/blueprints/rue_code/blueprint_rue_code.py +0 -448
- swarm/blueprints/rue_code/rue_code_cli.py +0 -43
- swarm/blueprints/stewie/apps.py +0 -12
- swarm/blueprints/stewie/blueprint_family_ties.py +0 -349
- swarm/blueprints/stewie/models.py +0 -19
- swarm/blueprints/stewie/serializers.py +0 -10
- swarm/blueprints/stewie/settings.py +0 -17
- swarm/blueprints/stewie/urls.py +0 -11
- swarm/blueprints/stewie/views.py +0 -26
- swarm/blueprints/suggestion/blueprint_suggestion.py +0 -222
- swarm/blueprints/whinge_surf/README.md +0 -22
- swarm/blueprints/whinge_surf/__init__.py +0 -1
- swarm/blueprints/whinge_surf/blueprint_whinge_surf.py +0 -565
- swarm/blueprints/whinge_surf/whinge_surf_cli.py +0 -99
- swarm/blueprints/whiskeytango_foxtrot/__init__.py +0 -0
- swarm/blueprints/whiskeytango_foxtrot/apps.py +0 -11
- swarm/blueprints/whiskeytango_foxtrot/blueprint_whiskeytango_foxtrot.py +0 -339
- swarm/blueprints/zeus/__init__.py +0 -2
- swarm/blueprints/zeus/apps.py +0 -4
- swarm/blueprints/zeus/blueprint_zeus.py +0 -270
- swarm/blueprints/zeus/zeus_cli.py +0 -13
- swarm/cli/async_input.py +0 -65
- swarm/cli/async_input_demo.py +0 -32
- swarm/core/agent_utils.py +0 -21
- swarm/core/blueprint_base.py +0 -769
- swarm/core/blueprint_discovery.py +0 -125
- swarm/core/blueprint_runner.py +0 -59
- swarm/core/blueprint_ux.py +0 -109
- swarm/core/build_launchers.py +0 -15
- swarm/core/cli/__init__.py +0 -1
- swarm/core/cli/commands/__init__.py +0 -1
- swarm/core/cli/commands/blueprint_management.py +0 -7
- swarm/core/cli/interactive_shell.py +0 -14
- swarm/core/cli/main.py +0 -50
- swarm/core/cli/utils/__init__.py +0 -1
- swarm/core/cli/utils/discover_commands.py +0 -18
- swarm/core/config_loader.py +0 -122
- swarm/core/output_utils.py +0 -193
- swarm/core/session_logger.py +0 -42
- swarm/core/slash_commands.py +0 -89
- swarm/core/swarm_api.py +0 -68
- swarm/core/swarm_cli.py +0 -216
- swarm/core/utils/__init__.py +0 -0
- swarm/extensions/blueprint/cli_handler.py +0 -197
- swarm/extensions/blueprint/runnable_blueprint.py +0 -42
- swarm/extensions/cli/utils/__init__.py +0 -1
- swarm/extensions/cli/utils/async_input.py +0 -46
- swarm/extensions/cli/utils/prompt_user.py +0 -3
- swarm/management/__init__.py +0 -0
- swarm/management/commands/__init__.py +0 -0
- swarm/management/commands/runserver.py +0 -58
- swarm/middleware.py +0 -65
- swarm/permissions.py +0 -38
- swarm/static/contrib/fonts/fontawesome-webfont.ttf +0 -7
- swarm/static/contrib/fonts/fontawesome-webfont.woff +0 -7
- swarm/static/contrib/fonts/fontawesome-webfont.woff2 +0 -7
- swarm/static/contrib/markedjs/marked.min.js +0 -6
- swarm/static/contrib/tabler-icons/adjustments-horizontal.svg +0 -27
- swarm/static/contrib/tabler-icons/alert-triangle.svg +0 -21
- swarm/static/contrib/tabler-icons/archive.svg +0 -21
- swarm/static/contrib/tabler-icons/artboard.svg +0 -27
- swarm/static/contrib/tabler-icons/automatic-gearbox.svg +0 -23
- swarm/static/contrib/tabler-icons/box-multiple.svg +0 -19
- swarm/static/contrib/tabler-icons/carambola.svg +0 -19
- swarm/static/contrib/tabler-icons/copy.svg +0 -20
- swarm/static/contrib/tabler-icons/download.svg +0 -21
- swarm/static/contrib/tabler-icons/edit.svg +0 -21
- swarm/static/contrib/tabler-icons/filled/carambola.svg +0 -13
- swarm/static/contrib/tabler-icons/filled/paint.svg +0 -13
- swarm/static/contrib/tabler-icons/headset.svg +0 -22
- swarm/static/contrib/tabler-icons/layout-sidebar-left-collapse.svg +0 -21
- swarm/static/contrib/tabler-icons/layout-sidebar-left-expand.svg +0 -21
- swarm/static/contrib/tabler-icons/layout-sidebar-right-collapse.svg +0 -21
- swarm/static/contrib/tabler-icons/layout-sidebar-right-expand.svg +0 -21
- swarm/static/contrib/tabler-icons/message-chatbot.svg +0 -22
- swarm/static/contrib/tabler-icons/message-star.svg +0 -22
- swarm/static/contrib/tabler-icons/message-x.svg +0 -23
- swarm/static/contrib/tabler-icons/message.svg +0 -21
- swarm/static/contrib/tabler-icons/paperclip.svg +0 -18
- swarm/static/contrib/tabler-icons/playlist-add.svg +0 -22
- swarm/static/contrib/tabler-icons/robot.svg +0 -26
- swarm/static/contrib/tabler-icons/search.svg +0 -19
- swarm/static/contrib/tabler-icons/settings.svg +0 -20
- swarm/static/contrib/tabler-icons/thumb-down.svg +0 -19
- swarm/static/contrib/tabler-icons/thumb-up.svg +0 -19
- swarm/static/css/dropdown.css +0 -22
- swarm/static/htmx/htmx.min.js +0 -0
- swarm/static/js/dropdown.js +0 -23
- swarm/static/rest_mode/css/base.css +0 -470
- swarm/static/rest_mode/css/chat-history.css +0 -286
- swarm/static/rest_mode/css/chat.css +0 -251
- swarm/static/rest_mode/css/chatbot.css +0 -74
- swarm/static/rest_mode/css/chatgpt.css +0 -62
- swarm/static/rest_mode/css/colors/corporate.css +0 -74
- swarm/static/rest_mode/css/colors/pastel.css +0 -81
- swarm/static/rest_mode/css/colors/tropical.css +0 -82
- swarm/static/rest_mode/css/general.css +0 -142
- swarm/static/rest_mode/css/layout.css +0 -167
- swarm/static/rest_mode/css/layouts/messenger-layout.css +0 -17
- swarm/static/rest_mode/css/layouts/minimalist-layout.css +0 -57
- swarm/static/rest_mode/css/layouts/mobile-layout.css +0 -8
- swarm/static/rest_mode/css/messages.css +0 -84
- swarm/static/rest_mode/css/messenger.css +0 -135
- swarm/static/rest_mode/css/settings.css +0 -91
- swarm/static/rest_mode/css/simple.css +0 -44
- swarm/static/rest_mode/css/slack.css +0 -58
- swarm/static/rest_mode/css/style.css +0 -156
- swarm/static/rest_mode/css/theme.css +0 -30
- swarm/static/rest_mode/css/toast.css +0 -40
- swarm/static/rest_mode/js/auth.js +0 -9
- swarm/static/rest_mode/js/blueprint.js +0 -41
- swarm/static/rest_mode/js/blueprintUtils.js +0 -12
- swarm/static/rest_mode/js/chatLogic.js +0 -79
- swarm/static/rest_mode/js/debug.js +0 -63
- swarm/static/rest_mode/js/events.js +0 -98
- swarm/static/rest_mode/js/main.js +0 -19
- swarm/static/rest_mode/js/messages.js +0 -264
- swarm/static/rest_mode/js/messengerLogic.js +0 -355
- swarm/static/rest_mode/js/modules/apiService.js +0 -84
- swarm/static/rest_mode/js/modules/blueprintManager.js +0 -162
- swarm/static/rest_mode/js/modules/chatHistory.js +0 -110
- swarm/static/rest_mode/js/modules/debugLogger.js +0 -14
- swarm/static/rest_mode/js/modules/eventHandlers.js +0 -107
- swarm/static/rest_mode/js/modules/messageProcessor.js +0 -120
- swarm/static/rest_mode/js/modules/state.js +0 -7
- swarm/static/rest_mode/js/modules/userInteractions.js +0 -29
- swarm/static/rest_mode/js/modules/validation.js +0 -23
- swarm/static/rest_mode/js/rendering.js +0 -119
- swarm/static/rest_mode/js/settings.js +0 -130
- swarm/static/rest_mode/js/sidebar.js +0 -94
- swarm/static/rest_mode/js/simpleLogic.js +0 -37
- swarm/static/rest_mode/js/slackLogic.js +0 -66
- swarm/static/rest_mode/js/splash.js +0 -76
- swarm/static/rest_mode/js/theme.js +0 -111
- swarm/static/rest_mode/js/toast.js +0 -36
- swarm/static/rest_mode/js/ui.js +0 -265
- swarm/static/rest_mode/js/validation.js +0 -57
- swarm/static/rest_mode/svg/animated_spinner.svg +0 -12
- swarm/static/rest_mode/svg/arrow_down.svg +0 -5
- swarm/static/rest_mode/svg/arrow_left.svg +0 -5
- swarm/static/rest_mode/svg/arrow_right.svg +0 -5
- swarm/static/rest_mode/svg/arrow_up.svg +0 -5
- swarm/static/rest_mode/svg/attach.svg +0 -8
- swarm/static/rest_mode/svg/avatar.svg +0 -7
- swarm/static/rest_mode/svg/canvas.svg +0 -6
- swarm/static/rest_mode/svg/chat_history.svg +0 -4
- swarm/static/rest_mode/svg/close.svg +0 -5
- swarm/static/rest_mode/svg/copy.svg +0 -4
- swarm/static/rest_mode/svg/dark_mode.svg +0 -3
- swarm/static/rest_mode/svg/edit.svg +0 -5
- swarm/static/rest_mode/svg/layout.svg +0 -9
- swarm/static/rest_mode/svg/logo.svg +0 -29
- swarm/static/rest_mode/svg/logout.svg +0 -5
- swarm/static/rest_mode/svg/mobile.svg +0 -5
- swarm/static/rest_mode/svg/new_chat.svg +0 -4
- swarm/static/rest_mode/svg/not_visible.svg +0 -5
- swarm/static/rest_mode/svg/plus.svg +0 -7
- swarm/static/rest_mode/svg/run_code.svg +0 -6
- swarm/static/rest_mode/svg/save.svg +0 -4
- swarm/static/rest_mode/svg/search.svg +0 -6
- swarm/static/rest_mode/svg/settings.svg +0 -4
- swarm/static/rest_mode/svg/speaker.svg +0 -5
- swarm/static/rest_mode/svg/stop.svg +0 -6
- swarm/static/rest_mode/svg/thumbs_down.svg +0 -3
- swarm/static/rest_mode/svg/thumbs_up.svg +0 -3
- swarm/static/rest_mode/svg/toggle_off.svg +0 -6
- swarm/static/rest_mode/svg/toggle_on.svg +0 -6
- swarm/static/rest_mode/svg/trash.svg +0 -10
- swarm/static/rest_mode/svg/undo.svg +0 -3
- swarm/static/rest_mode/svg/visible.svg +0 -8
- swarm/static/rest_mode/svg/voice.svg +0 -10
- swarm/templates/account/login.html +0 -22
- swarm/templates/account/signup.html +0 -32
- swarm/templates/base.html +0 -30
- swarm/templates/chat.html +0 -43
- swarm/templates/index.html +0 -35
- swarm/templates/rest_mode/components/chat_sidebar.html +0 -55
- swarm/templates/rest_mode/components/header.html +0 -45
- swarm/templates/rest_mode/components/main_chat_pane.html +0 -41
- swarm/templates/rest_mode/components/settings_dialog.html +0 -97
- swarm/templates/rest_mode/components/splash_screen.html +0 -7
- swarm/templates/rest_mode/components/top_bar.html +0 -28
- swarm/templates/rest_mode/message_ui.html +0 -50
- swarm/templates/rest_mode/slackbot.html +0 -30
- swarm/templates/simple_blueprint_page.html +0 -24
- swarm/templates/websocket_partials/final_system_message.html +0 -3
- swarm/templates/websocket_partials/system_message.html +0 -4
- swarm/templates/websocket_partials/user_message.html +0 -5
- swarm/utils/ansi_box.py +0 -34
- swarm/utils/disable_tracing.py +0 -38
- swarm/utils/log_utils.py +0 -63
- swarm/utils/openai_patch.py +0 -33
- swarm/ux/ansi_box.py +0 -43
- swarm/ux/spinner.py +0 -53
- {open_swarm-0.1.1745275181.dist-info → open_swarm-0.1.1748636295.dist-info}/licenses/LICENSE +0 -0
- /swarm/{core → extensions/blueprint}/blueprint_utils.py +0 -0
- /swarm/{core → extensions/blueprint}/common_utils.py +0 -0
- /swarm/{core → extensions/config}/setup_wizard.py +0 -0
- /swarm/{blueprints/rue_code → extensions/config/utils}/__init__.py +0 -0
- /swarm/{core → extensions/config}/utils/logger.py +0 -0
- /swarm/{core → extensions/launchers}/swarm_wrapper.py +0 -0
@@ -1,470 +0,0 @@
|
|
1
|
-
/* base.css - Base Styles and Variables */
|
2
|
-
|
3
|
-
/* Root Variables */
|
4
|
-
:root {
|
5
|
-
/* Light theme variables */
|
6
|
-
--bg-primary: #ffffff;
|
7
|
-
--bg-container: #f0f8ff; /* Updated to Alice Blue for pastel theme */
|
8
|
-
--bg-message-user: #add8e6; /* Light Blue */
|
9
|
-
--bg-message-assistant: #e6ffe6; /* Light Green */
|
10
|
-
--bg-message-tool: #ffe6e6; /* Light Red */
|
11
|
-
--bg-message-other: #f4f4f4;
|
12
|
-
--bg-blueprint: #fffaf0;
|
13
|
-
--bg-debug: #f5f5f5;
|
14
|
-
--text-primary: #333333; /* Dark Gray */
|
15
|
-
--text-secondary: #666666; /* Medium Gray */
|
16
|
-
--border-color: #d3d3d3; /* Light Gray */
|
17
|
-
--button-primary: #87cefa; /* Light Sky Blue */
|
18
|
-
--button-hover: #00bfff; /* Deep Sky Blue */
|
19
|
-
--logout-button-bg: #87cefa; /* Light Sky Blue */
|
20
|
-
--logout-button-hover: #00bfff; /* Deep Sky Blue */
|
21
|
-
--logo-color: #87cefa; /* Light Sky Blue */
|
22
|
-
--transition-duration: 0.3s;
|
23
|
-
}
|
24
|
-
|
25
|
-
/* Dark theme variables */
|
26
|
-
[data-theme-dark="true"] {
|
27
|
-
--bg-primary: #1a1a1a;
|
28
|
-
--bg-container: #2a2a2a;
|
29
|
-
--bg-message-user: #333333;
|
30
|
-
--bg-message-assistant: #3a3a3a;
|
31
|
-
--bg-message-tool: #2f2f2f;
|
32
|
-
--bg-message-other: #3a3a3a;
|
33
|
-
--bg-blueprint: #2a2a2a;
|
34
|
-
--bg-debug: #2a2a2a;
|
35
|
-
--text-primary: #e4e4e4;
|
36
|
-
--text-secondary: #bbbbbb;
|
37
|
-
--border-color: #444444;
|
38
|
-
--button-primary: #88c0d0;
|
39
|
-
--button-hover: #81a1c1;
|
40
|
-
--logout-button-bg: #88c0d0;
|
41
|
-
--logout-button-hover: #81a1c1;
|
42
|
-
--logo-color: #88c0d0;
|
43
|
-
}
|
44
|
-
|
45
|
-
/* Corporate theme variables */
|
46
|
-
[data-theme-color="corporate"] {
|
47
|
-
--bg-primary: #2e2e2e;
|
48
|
-
--bg-container: #3a3a3a;
|
49
|
-
--bg-message-user: #4a4a4a;
|
50
|
-
--bg-message-assistant: #555555;
|
51
|
-
--bg-message-tool: #3a3a3a;
|
52
|
-
--bg-message-other: #4a4a4a;
|
53
|
-
--bg-blueprint: #3a3a3a;
|
54
|
-
--bg-debug: #2e2e2e;
|
55
|
-
--text-primary: #f0f0f0;
|
56
|
-
--text-secondary: #cccccc;
|
57
|
-
--border-color: #555555;
|
58
|
-
--button-primary: #6c757d;
|
59
|
-
--button-hover: #5a6268;
|
60
|
-
--logout-button-bg: #6c757d;
|
61
|
-
--logout-button-hover: #5a6268;
|
62
|
-
--logo-color: #6c757d;
|
63
|
-
}
|
64
|
-
|
65
|
-
/* Reset and base styles */
|
66
|
-
* {
|
67
|
-
box-sizing: border-box;
|
68
|
-
margin: 0;
|
69
|
-
padding: 0;
|
70
|
-
}
|
71
|
-
|
72
|
-
body {
|
73
|
-
margin: 0;
|
74
|
-
padding: 0;
|
75
|
-
overflow: hidden;
|
76
|
-
}
|
77
|
-
|
78
|
-
.container {
|
79
|
-
position: relative;
|
80
|
-
display: flex;
|
81
|
-
flex-direction: row;
|
82
|
-
width: 100%;
|
83
|
-
height: 100%;
|
84
|
-
background-color: var(--bg-container);
|
85
|
-
border-radius: 8px;
|
86
|
-
overflow: hidden;
|
87
|
-
transition: all var(--transition-duration) ease;
|
88
|
-
}
|
89
|
-
|
90
|
-
/* Sidebar Reveal Buttons */
|
91
|
-
.sidebar-reveal-btn {
|
92
|
-
position: absolute;
|
93
|
-
top: 20px;
|
94
|
-
z-index: 1000;
|
95
|
-
background-color: var(--button-primary);
|
96
|
-
color: #fff;
|
97
|
-
border: none;
|
98
|
-
border-radius: 50%;
|
99
|
-
width: 40px; /* Adjusted size */
|
100
|
-
height: 40px; /* Adjusted size */
|
101
|
-
cursor: pointer;
|
102
|
-
transition: background-color var(--transition-duration) ease;
|
103
|
-
font-size: 1em; /* Adjusted font size */
|
104
|
-
display: flex;
|
105
|
-
align-items: center;
|
106
|
-
justify-content: center;
|
107
|
-
}
|
108
|
-
|
109
|
-
.sidebar-hide-btn {
|
110
|
-
position: absolute;
|
111
|
-
top: 10px;
|
112
|
-
right: 10px;
|
113
|
-
background-color: var(--button-primary);
|
114
|
-
color: #fff;
|
115
|
-
border: none;
|
116
|
-
border-radius: 50%;
|
117
|
-
width: 30px; /* Adjusted size */
|
118
|
-
height: 30px; /* Adjusted size */
|
119
|
-
cursor: pointer;
|
120
|
-
transition: background-color var(--transition-duration) ease;
|
121
|
-
font-size: 0.75em; /* Adjusted font size */
|
122
|
-
display: flex;
|
123
|
-
align-items: center;
|
124
|
-
justify-content: center;
|
125
|
-
}
|
126
|
-
|
127
|
-
|
128
|
-
/* Settings Sidebar (Right) */
|
129
|
-
.options-pane {
|
130
|
-
background-color: var(--bg-debug);
|
131
|
-
border: 2px solid var(--border-color); /* Thicker border */
|
132
|
-
border-radius: 8px;
|
133
|
-
padding: 15px;
|
134
|
-
overflow-y: auto;
|
135
|
-
flex: 1;
|
136
|
-
position: relative;
|
137
|
-
}
|
138
|
-
|
139
|
-
/* Resizable Divider */
|
140
|
-
.resizable-divider {
|
141
|
-
width: 5px;
|
142
|
-
cursor: col-resize;
|
143
|
-
background-color: transparent;
|
144
|
-
position: absolute;
|
145
|
-
top: 0;
|
146
|
-
bottom: 0;
|
147
|
-
z-index: 1001;
|
148
|
-
}
|
149
|
-
|
150
|
-
/* Ensure that the arrows inside the sidebar toggle buttons are centered */
|
151
|
-
.sidebar-reveal-btn::before,
|
152
|
-
.sidebar-hide-btn::before {
|
153
|
-
content: attr(aria-label);
|
154
|
-
display: flex;
|
155
|
-
align-items: center;
|
156
|
-
justify-content: center;
|
157
|
-
}
|
158
|
-
|
159
|
-
/* New Chat Button Styles (if applicable) */
|
160
|
-
/*.new-chat-button {
|
161
|
-
background-color: var(--button-primary);
|
162
|
-
color: #fff;
|
163
|
-
border: none;
|
164
|
-
border-radius: 50%;
|
165
|
-
width: 40px;
|
166
|
-
height: 40px;
|
167
|
-
cursor: pointer;
|
168
|
-
transition: background-color var(--transition-duration) ease;
|
169
|
-
font-size: 1.2em;
|
170
|
-
display: flex;
|
171
|
-
align-items: center;
|
172
|
-
justify-content: center;
|
173
|
-
}
|
174
|
-
|
175
|
-
.new-chat-button:hover {
|
176
|
-
background-color: var(--button-hover);
|
177
|
-
}*/
|
178
|
-
|
179
|
-
/* Ensure the splash screen doesn't persist */
|
180
|
-
.splash-screen {
|
181
|
-
position: fixed;
|
182
|
-
top: 0;
|
183
|
-
left: 0;
|
184
|
-
right: 0;
|
185
|
-
bottom: 0;
|
186
|
-
background-color: var(--bg-primary);
|
187
|
-
display: flex;
|
188
|
-
justify-content: center;
|
189
|
-
align-items: center;
|
190
|
-
z-index: 10000;
|
191
|
-
transition: opacity var(--transition-duration) ease, visibility var(--transition-duration) ease;
|
192
|
-
}
|
193
|
-
|
194
|
-
.splash-screen.fade-out {
|
195
|
-
opacity: 0;
|
196
|
-
visibility: hidden;
|
197
|
-
}
|
198
|
-
|
199
|
-
/* Additional Styles for Buttons and Inputs */
|
200
|
-
.form-container {
|
201
|
-
display: flex;
|
202
|
-
align-items: center;
|
203
|
-
padding: 10px;
|
204
|
-
border-top: 2px solid var(--border-color); /* Thicker border */
|
205
|
-
position: relative;
|
206
|
-
}
|
207
|
-
|
208
|
-
.input-button.upload-button {
|
209
|
-
background-color: var(--button-primary);
|
210
|
-
color: #fff;
|
211
|
-
border: none;
|
212
|
-
border-radius: 50%;
|
213
|
-
width: 30px;
|
214
|
-
height: 30px;
|
215
|
-
cursor: pointer;
|
216
|
-
transition: background-color var(--transition-duration) ease;
|
217
|
-
font-size: 1em;
|
218
|
-
display: flex;
|
219
|
-
align-items: center;
|
220
|
-
justify-content: center;
|
221
|
-
}
|
222
|
-
|
223
|
-
.input-button.upload-button:hover {
|
224
|
-
background-color: var(--button-hover);
|
225
|
-
}
|
226
|
-
|
227
|
-
/* Adjust input field and buttons */
|
228
|
-
#userInput {
|
229
|
-
flex: 1;
|
230
|
-
padding: 10px;
|
231
|
-
border: 2px solid var(--border-color);
|
232
|
-
border-radius: 4px;
|
233
|
-
font-size: 1em;
|
234
|
-
margin: 0 10px;
|
235
|
-
}
|
236
|
-
|
237
|
-
#voiceRecordButton {
|
238
|
-
background-color: var(--button-primary);
|
239
|
-
color: #fff;
|
240
|
-
border: none;
|
241
|
-
border-radius: 50%;
|
242
|
-
width: 30px;
|
243
|
-
height: 30px;
|
244
|
-
cursor: pointer;
|
245
|
-
transition: background-color var(--transition-duration) ease;
|
246
|
-
font-size: 1em;
|
247
|
-
display: flex;
|
248
|
-
align-items: center;
|
249
|
-
justify-content: center;
|
250
|
-
}
|
251
|
-
|
252
|
-
#voiceRecordButton:hover {
|
253
|
-
background-color: var(--button-hover);
|
254
|
-
}
|
255
|
-
|
256
|
-
#submitButton {
|
257
|
-
padding: 10px 20px;
|
258
|
-
background-color: var(--button-primary);
|
259
|
-
color: #fff;
|
260
|
-
border: none;
|
261
|
-
border-radius: 6px;
|
262
|
-
cursor: pointer;
|
263
|
-
transition: background-color var(--transition-duration) ease;
|
264
|
-
font-size: 1em;
|
265
|
-
}
|
266
|
-
|
267
|
-
#submitButton:hover {
|
268
|
-
background-color: var(--button-hover);
|
269
|
-
}
|
270
|
-
|
271
|
-
/* Debug Pane Styles */
|
272
|
-
.debug-pane {
|
273
|
-
flex: 1;
|
274
|
-
background-color: var(--bg-debug);
|
275
|
-
border: 2px solid var(--border-color);
|
276
|
-
border-radius: 8px;
|
277
|
-
padding: 15px;
|
278
|
-
overflow-y: auto;
|
279
|
-
display: none; /* Hidden by default */
|
280
|
-
position: relative;
|
281
|
-
}
|
282
|
-
|
283
|
-
.debug-active-agent {
|
284
|
-
margin-top: 10px;
|
285
|
-
padding: 10px;
|
286
|
-
background-color: var(--bg-container);
|
287
|
-
border: 2px solid var(--border-color);
|
288
|
-
border-radius: 6px;
|
289
|
-
font-weight: bold;
|
290
|
-
}
|
291
|
-
|
292
|
-
/* Toggle Container */
|
293
|
-
.toggle-container {
|
294
|
-
margin-bottom: 15px;
|
295
|
-
display: flex;
|
296
|
-
flex-direction: column;
|
297
|
-
gap: 15px;
|
298
|
-
}
|
299
|
-
|
300
|
-
/* Toggle Section */
|
301
|
-
.toggle-section {
|
302
|
-
background-color: var(--bg-container);
|
303
|
-
border: 2px solid var(--border-color);
|
304
|
-
border-radius: 8px;
|
305
|
-
padding: 10px;
|
306
|
-
cursor: pointer;
|
307
|
-
user-select: none;
|
308
|
-
transition: background-color var(--transition-duration) ease;
|
309
|
-
display: flex;
|
310
|
-
align-items: center;
|
311
|
-
justify-content: space-between;
|
312
|
-
}
|
313
|
-
|
314
|
-
.toggle-section:hover {
|
315
|
-
background-color: var(--bg-message-other);
|
316
|
-
}
|
317
|
-
|
318
|
-
.toggle-section .toggle-title {
|
319
|
-
font-size: 1.1em;
|
320
|
-
font-weight: bold;
|
321
|
-
display: flex;
|
322
|
-
align-items: center;
|
323
|
-
gap: 8px;
|
324
|
-
}
|
325
|
-
|
326
|
-
.toggle-section .toggle-content {
|
327
|
-
display: none;
|
328
|
-
flex-direction: column;
|
329
|
-
gap: 10px;
|
330
|
-
}
|
331
|
-
|
332
|
-
.toggle-section.active .toggle-content {
|
333
|
-
display: flex;
|
334
|
-
}
|
335
|
-
|
336
|
-
/* Theme Dropdown */
|
337
|
-
.theme-dropdown {
|
338
|
-
background-color: var(--bg-container);
|
339
|
-
border: 2px solid var(--border-color);
|
340
|
-
border-radius: 8px;
|
341
|
-
padding: 10px;
|
342
|
-
display: flex;
|
343
|
-
align-items: center;
|
344
|
-
gap: 8px;
|
345
|
-
}
|
346
|
-
|
347
|
-
.theme-dropdown label {
|
348
|
-
font-size: 1.1em;
|
349
|
-
font-weight: bold;
|
350
|
-
display: flex;
|
351
|
-
align-items: center;
|
352
|
-
gap: 5px;
|
353
|
-
}
|
354
|
-
|
355
|
-
.theme-dropdown select {
|
356
|
-
width: 100%;
|
357
|
-
padding: 8px;
|
358
|
-
border: 2px solid var(--border-color);
|
359
|
-
border-radius: 4px;
|
360
|
-
background-color: var(--bg-primary);
|
361
|
-
color: var(--text-primary);
|
362
|
-
font-size: 1em;
|
363
|
-
cursor: pointer;
|
364
|
-
}
|
365
|
-
|
366
|
-
/* Advanced Section */
|
367
|
-
.advanced-section {
|
368
|
-
background-color: var(--bg-container);
|
369
|
-
border: 2px solid var(--border-color);
|
370
|
-
border-radius: 8px;
|
371
|
-
padding: 10px;
|
372
|
-
display: flex;
|
373
|
-
flex-direction: column;
|
374
|
-
gap: 8px;
|
375
|
-
}
|
376
|
-
|
377
|
-
.advanced-section h3 {
|
378
|
-
font-size: 1em;
|
379
|
-
font-weight: bold;
|
380
|
-
display: flex;
|
381
|
-
align-items: center;
|
382
|
-
gap: 5px;
|
383
|
-
}
|
384
|
-
|
385
|
-
/* Logout Container */
|
386
|
-
.logout-container {
|
387
|
-
padding-top: 10px;
|
388
|
-
border-top: 2px solid var(--border-color);
|
389
|
-
text-align: center;
|
390
|
-
position: absolute;
|
391
|
-
bottom: 20px;
|
392
|
-
width: 90%;
|
393
|
-
}
|
394
|
-
|
395
|
-
/* Responsive Design for Very Small Screens */
|
396
|
-
@media (max-width: 600px) {
|
397
|
-
.container {
|
398
|
-
flex-direction: column;
|
399
|
-
height: auto;
|
400
|
-
}
|
401
|
-
|
402
|
-
.chat-pane {
|
403
|
-
/* margin: 0 0 20px 0; */
|
404
|
-
flex: 2;
|
405
|
-
}
|
406
|
-
|
407
|
-
.side-panes {
|
408
|
-
flex-direction: row;
|
409
|
-
max-width: 100%;
|
410
|
-
/* gap: 10px; */
|
411
|
-
}
|
412
|
-
|
413
|
-
/* Adjust toggle buttons position */
|
414
|
-
.sidebar-reveal-btn {
|
415
|
-
/* top: 20px;
|
416
|
-
left: 20px; */
|
417
|
-
right: auto;
|
418
|
-
}
|
419
|
-
|
420
|
-
/* Adjust theme toggle button for small screens */
|
421
|
-
.theme-toggle {
|
422
|
-
margin-bottom: 15px;
|
423
|
-
}
|
424
|
-
|
425
|
-
/* Adjust input buttons for small screens */
|
426
|
-
.input-button.upload-button {
|
427
|
-
width: 30px;
|
428
|
-
height: 30px;
|
429
|
-
position: absolute;
|
430
|
-
left: 5px;
|
431
|
-
}
|
432
|
-
|
433
|
-
#voiceRecordButton {
|
434
|
-
margin-left: 5px;
|
435
|
-
}
|
436
|
-
|
437
|
-
#submitButton {
|
438
|
-
margin-left: 5px;
|
439
|
-
}
|
440
|
-
|
441
|
-
/* Hide pulsating loader and show text in mobile */
|
442
|
-
#loadingIndicator .loader {
|
443
|
-
display: none;
|
444
|
-
}
|
445
|
-
|
446
|
-
#loadingIndicator p {
|
447
|
-
display: block;
|
448
|
-
font-size: 1em;
|
449
|
-
color: var(--text-primary);
|
450
|
-
}
|
451
|
-
|
452
|
-
/* Adjust Logout Container */
|
453
|
-
.logout-container {
|
454
|
-
bottom: 10px;
|
455
|
-
width: 80%;
|
456
|
-
}
|
457
|
-
}
|
458
|
-
|
459
|
-
/* Icon Styles */
|
460
|
-
.icon {
|
461
|
-
font-size: 1.2em;
|
462
|
-
}
|
463
|
-
|
464
|
-
.message.tool {
|
465
|
-
display: none !important;
|
466
|
-
}
|
467
|
-
|
468
|
-
.message.assistant:has(.message-text p:contains("No content")) {
|
469
|
-
display: none !important;
|
470
|
-
}
|