android-midscene-automation 0.2.4 → 1.1.1
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.
- package/CHANGELOG.md +10 -0
- package/README.md +159 -29
- package/artemis-main/.dockerignore +15 -0
- package/artemis-main/.env.example +34 -0
- package/artemis-main/CONTRIBUTING.md +35 -0
- package/artemis-main/Dockerfile +68 -0
- package/artemis-main/LICENSE +202 -0
- package/artemis-main/Makefile +115 -0
- package/artemis-main/README.md +322 -0
- package/artemis-main/README_CN.md +320 -0
- package/artemis-main/apps/__init__.py +15 -0
- package/artemis-main/apps/admin_console/__init__.py +19 -0
- package/artemis-main/apps/admin_console/core/__init__.py +13 -0
- package/artemis-main/apps/admin_console/core/config.py +43 -0
- package/artemis-main/apps/admin_console/core/security.py +178 -0
- package/artemis-main/apps/admin_console/core/state.py +243 -0
- package/artemis-main/apps/admin_console/database/__init__.py +13 -0
- package/artemis-main/apps/admin_console/database/connection.py +60 -0
- package/artemis-main/apps/admin_console/database/repositories/__init__.py +13 -0
- package/artemis-main/apps/admin_console/database/repositories/session_repository.py +564 -0
- package/artemis-main/apps/admin_console/database/repositories/step_repository.py +512 -0
- package/artemis-main/apps/admin_console/database/repositories/trace_repository.py +133 -0
- package/artemis-main/apps/admin_console/index.html +3787 -0
- package/artemis-main/apps/admin_console/replay_manager.py +2585 -0
- package/artemis-main/apps/admin_console/routers/__init__.py +13 -0
- package/artemis-main/apps/admin_console/routers/media.py +198 -0
- package/artemis-main/apps/admin_console/routers/replay.py +91 -0
- package/artemis-main/apps/admin_console/routers/sessions.py +239 -0
- package/artemis-main/apps/admin_console/routers/steps.py +109 -0
- package/artemis-main/apps/admin_console/routers/stream.py +56 -0
- package/artemis-main/apps/admin_console/routers/system.py +761 -0
- package/artemis-main/apps/admin_console/routers/tasks.py +517 -0
- package/artemis-main/apps/admin_console/schemas/__init__.py +13 -0
- package/artemis-main/apps/admin_console/schemas/task_schema.py +47 -0
- package/artemis-main/apps/admin_console/server.py +508 -0
- package/artemis-main/apps/admin_console/services/__init__.py +13 -0
- package/artemis-main/apps/admin_console/services/device_stream_service.py +137 -0
- package/artemis-main/apps/admin_console/services/ipc_service.py +262 -0
- package/artemis-main/apps/admin_console/services/media_service.py +623 -0
- package/artemis-main/apps/admin_console/services/model_service.py +148 -0
- package/artemis-main/apps/admin_console/services/task_preset_catalog.py +514 -0
- package/artemis-main/apps/admin_console/services/task_queue_service.py +1719 -0
- package/artemis-main/apps/admin_console/services/worker_process_io.py +144 -0
- package/artemis-main/apps/showcase_ui/README.md +31 -0
- package/artemis-main/apps/showcase_ui/angular.json +132 -0
- package/artemis-main/apps/showcase_ui/package-lock.json +9472 -0
- package/artemis-main/apps/showcase_ui/package.json +39 -0
- package/artemis-main/apps/showcase_ui/proxy.conf.json +23 -0
- package/artemis-main/apps/showcase_ui/public/favicon.ico +0 -0
- package/artemis-main/apps/showcase_ui/public/logo.png +0 -0
- package/artemis-main/apps/showcase_ui/public/logo.svg +56 -0
- package/artemis-main/apps/showcase_ui/src/app/app.component.html +24 -0
- package/artemis-main/apps/showcase_ui/src/app/app.component.scss +49 -0
- package/artemis-main/apps/showcase_ui/src/app/app.component.spec.ts +42 -0
- package/artemis-main/apps/showcase_ui/src/app/app.component.ts +32 -0
- package/artemis-main/apps/showcase_ui/src/app/app.config.ts +29 -0
- package/artemis-main/apps/showcase_ui/src/app/app.routes.ts +27 -0
- package/artemis-main/apps/showcase_ui/src/app/components/agent-stream/agent-stream-startup.spec.ts +108 -0
- package/artemis-main/apps/showcase_ui/src/app/components/agent-stream/agent-stream.component.html +1436 -0
- package/artemis-main/apps/showcase_ui/src/app/components/agent-stream/agent-stream.component.scss +3973 -0
- package/artemis-main/apps/showcase_ui/src/app/components/agent-stream/agent-stream.component.ts +2235 -0
- package/artemis-main/apps/showcase_ui/src/app/components/chat-interface/chat-interface.component.html +380 -0
- package/artemis-main/apps/showcase_ui/src/app/components/chat-interface/chat-interface.component.scss +1171 -0
- package/artemis-main/apps/showcase_ui/src/app/components/chat-interface/chat-interface.component.ts +270 -0
- package/artemis-main/apps/showcase_ui/src/app/components/floating-video-player/floating-video-player.component.html +433 -0
- package/artemis-main/apps/showcase_ui/src/app/components/floating-video-player/floating-video-player.component.scss +987 -0
- package/artemis-main/apps/showcase_ui/src/app/components/floating-video-player/floating-video-player.component.ts +632 -0
- package/artemis-main/apps/showcase_ui/src/app/components/legacy-agent-stream/legacy-agent-stream.component.html +130 -0
- package/artemis-main/apps/showcase_ui/src/app/components/legacy-agent-stream/legacy-agent-stream.component.scss +406 -0
- package/artemis-main/apps/showcase_ui/src/app/components/legacy-agent-stream/legacy-agent-stream.component.ts +74 -0
- package/artemis-main/apps/showcase_ui/src/app/components/nav-switcher/nav-switcher.component.scss +115 -0
- package/artemis-main/apps/showcase_ui/src/app/components/nav-switcher/nav-switcher.component.ts +52 -0
- package/artemis-main/apps/showcase_ui/src/app/core/data/smart-tasks.data.ts +334 -0
- package/artemis-main/apps/showcase_ui/src/app/core/i18n/language.service.spec.ts +55 -0
- package/artemis-main/apps/showcase_ui/src/app/core/i18n/language.service.ts +61 -0
- package/artemis-main/apps/showcase_ui/src/app/core/i18n/translate.pipe.ts +11 -0
- package/artemis-main/apps/showcase_ui/src/app/core/i18n/zh-cn.ts +651 -0
- package/artemis-main/apps/showcase_ui/src/app/core/models/markdown.model.ts +43 -0
- package/artemis-main/apps/showcase_ui/src/app/core/models/pro-tuning.model.spec.ts +47 -0
- package/artemis-main/apps/showcase_ui/src/app/core/models/pro-tuning.model.ts +165 -0
- package/artemis-main/apps/showcase_ui/src/app/core/models/session.model.ts +85 -0
- package/artemis-main/apps/showcase_ui/src/app/core/models/stream.model.ts +246 -0
- package/artemis-main/apps/showcase_ui/src/app/core/models/system.model.ts +118 -0
- package/artemis-main/apps/showcase_ui/src/app/core/services/task-recommendation.service.ts +111 -0
- package/artemis-main/apps/showcase_ui/src/app/pages/home/home.component.html +2130 -0
- package/artemis-main/apps/showcase_ui/src/app/pages/home/home.component.scss +5204 -0
- package/artemis-main/apps/showcase_ui/src/app/pages/home/home.component.ts +1189 -0
- package/artemis-main/apps/showcase_ui/src/app/pages/legacy-workspace/legacy-workspace.component.html +39 -0
- package/artemis-main/apps/showcase_ui/src/app/pages/legacy-workspace/legacy-workspace.component.scss +151 -0
- package/artemis-main/apps/showcase_ui/src/app/pages/legacy-workspace/legacy-workspace.component.ts +58 -0
- package/artemis-main/apps/showcase_ui/src/app/pages/workspace/workspace.component.html +201 -0
- package/artemis-main/apps/showcase_ui/src/app/pages/workspace/workspace.component.scss +886 -0
- package/artemis-main/apps/showcase_ui/src/app/pages/workspace/workspace.component.ts +324 -0
- package/artemis-main/apps/showcase_ui/src/app/services/agent.service.spec.ts +418 -0
- package/artemis-main/apps/showcase_ui/src/app/services/agent.service.ts +2012 -0
- package/artemis-main/apps/showcase_ui/src/app/services/system.service.spec.ts +173 -0
- package/artemis-main/apps/showcase_ui/src/app/services/system.service.ts +620 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/action-formatter.util.spec.ts +513 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/action-formatter.util.ts +1015 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/image-overlay.util.spec.ts +85 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/image-overlay.util.ts +662 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/markdown-parser.util.spec.ts +70 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/markdown-parser.util.ts +383 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/recording-timeline.util.spec.ts +107 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/recording-timeline.util.ts +123 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/run-info.util.spec.ts +92 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/run-info.util.ts +116 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/stream-aggregator.util.spec.ts +640 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/stream-aggregator.util.ts +1021 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/tool-formatter.util.spec.ts +375 -0
- package/artemis-main/apps/showcase_ui/src/app/utils/tool-formatter.util.ts +1419 -0
- package/artemis-main/apps/showcase_ui/src/index.html +37 -0
- package/artemis-main/apps/showcase_ui/src/main.ts +22 -0
- package/artemis-main/apps/showcase_ui/src/styles.scss +60 -0
- package/artemis-main/apps/showcase_ui/tsconfig.app.json +23 -0
- package/artemis-main/apps/showcase_ui/tsconfig.json +27 -0
- package/artemis-main/apps/showcase_ui/tsconfig.spec.json +23 -0
- package/artemis-main/artemis/__init__.py +44 -0
- package/artemis-main/artemis/__main__.py +18 -0
- package/artemis-main/artemis/_legacy_imports.py +94 -0
- package/artemis-main/artemis/_version.py +30 -0
- package/artemis-main/artemis/agents/__init__.py +17 -0
- package/artemis-main/artemis/agents/checker/checker.json +9 -0
- package/artemis-main/artemis/agents/checker/checker.py +859 -0
- package/artemis-main/artemis/agents/diagnoser/diagnoser.json +23 -0
- package/artemis-main/artemis/agents/diagnoser/diagnoser.py +608 -0
- package/artemis-main/artemis/agents/explorer/constants.py +52 -0
- package/artemis-main/artemis/agents/explorer/explorer.json +57 -0
- package/artemis-main/artemis/agents/explorer/explorer.py +473 -0
- package/artemis-main/artemis/agents/explorer/geometry.py +73 -0
- package/artemis-main/artemis/agents/explorer/native_runner.py +878 -0
- package/artemis-main/artemis/agents/explorer/perception_tools.py +632 -0
- package/artemis-main/artemis/agents/explorer/run_setup.py +403 -0
- package/artemis-main/artemis/agents/explorer/screen_index.py +266 -0
- package/artemis-main/artemis/agents/explorer/tiers.py +110 -0
- package/artemis-main/artemis/agents/explorer/tool_declarations.py +394 -0
- package/artemis-main/artemis/agents/explorer/universal_runner.py +317 -0
- package/artemis-main/artemis/agents/flash/context_compressor.py +452 -0
- package/artemis-main/artemis/agents/flash/flash_runner.md +51 -0
- package/artemis-main/artemis/agents/flash/flash_summarizer.md +53 -0
- package/artemis-main/artemis/agents/flash/flash_summarizer_single.md +54 -0
- package/artemis-main/artemis/agents/flash/runner.py +1167 -0
- package/artemis-main/artemis/agents/flash/summarizer.py +511 -0
- package/artemis-main/artemis/agents/history_analyzer/history_analyzer.md +8 -0
- package/artemis-main/artemis/agents/history_analyzer/history_analyzer.py +182 -0
- package/artemis-main/artemis/agents/image_processor/image_processor.md +74 -0
- package/artemis-main/artemis/agents/image_processor/image_processor.py +322 -0
- package/artemis-main/artemis/agents/log_analyzer/log_analyzer.md +15 -0
- package/artemis-main/artemis/agents/log_analyzer/log_analyzer.py +403 -0
- package/artemis-main/artemis/agents/log_analyzer/log_reader_sub_agent.md +8 -0
- package/artemis-main/artemis/agents/log_analyzer/output_analyzer.md +11 -0
- package/artemis-main/artemis/agents/log_analyzer/output_analyzer.py +163 -0
- package/artemis-main/artemis/agents/object_detector/object_detector.json +9 -0
- package/artemis-main/artemis/agents/object_detector/object_detector.py +211 -0
- package/artemis-main/artemis/agents/operator/operator.json +3 -0
- package/artemis-main/artemis/agents/operator/operator.py +1394 -0
- package/artemis-main/artemis/agents/operator/prompts.py +1064 -0
- package/artemis-main/artemis/agents/outputter/outputter.md +36 -0
- package/artemis-main/artemis/agents/outputter/outputter.py +552 -0
- package/artemis-main/artemis/agents/planner/planner.json +32 -0
- package/artemis-main/artemis/agents/planner/planner.py +436 -0
- package/artemis-main/artemis/agents/prompt_assembly.py +79 -0
- package/artemis-main/artemis/agents/summarizer/summarizer.py +190 -0
- package/artemis-main/artemis/agents/validator/action_execution.py +98 -0
- package/artemis-main/artemis/agents/validator/categories.py +33 -0
- package/artemis-main/artemis/agents/validator/execution_loop.py +488 -0
- package/artemis-main/artemis/agents/validator/incidents.py +120 -0
- package/artemis-main/artemis/agents/validator/pixel_safety_net.md +15 -0
- package/artemis-main/artemis/agents/validator/precondition_pixel.py +320 -0
- package/artemis-main/artemis/agents/validator/precondition_xml.py +672 -0
- package/artemis-main/artemis/agents/validator/tool_declarations.py +332 -0
- package/artemis-main/artemis/agents/validator/validator.py +188 -0
- package/artemis-main/artemis/agents/video_analyzer/__init__.py +15 -0
- package/artemis-main/artemis/agents/video_analyzer/audio_native.py +543 -0
- package/artemis-main/artemis/agents/video_analyzer/blackboard.py +821 -0
- package/artemis-main/artemis/agents/video_analyzer/chunk_agentic.py +455 -0
- package/artemis-main/artemis/agents/video_analyzer/chunk_conversation.py +491 -0
- package/artemis-main/artemis/agents/video_analyzer/chunk_native.py +437 -0
- package/artemis-main/artemis/agents/video_analyzer/conflict_resolution.py +137 -0
- package/artemis-main/artemis/agents/video_analyzer/gemini_files.py +162 -0
- package/artemis-main/artemis/agents/video_analyzer/native_coordinator.py +541 -0
- package/artemis-main/artemis/agents/video_analyzer/reliability.py +128 -0
- package/artemis-main/artemis/agents/video_analyzer/universal_engine.py +487 -0
- package/artemis-main/artemis/agents/video_analyzer/universal_tools.py +323 -0
- package/artemis-main/artemis/agents/video_analyzer/video_analyzer.md +51 -0
- package/artemis-main/artemis/agents/video_analyzer/video_analyzer.py +875 -0
- package/artemis-main/artemis/agents/video_analyzer/video_sub_agent.md +15 -0
- package/artemis-main/artemis/agents/video_analyzer/video_sub_agent_audio.md +12 -0
- package/artemis-main/artemis/clients/accessibility_client.py +438 -0
- package/artemis-main/artemis/clients/screen_client_factory.py +403 -0
- package/artemis-main/artemis/config/__init__.py +309 -0
- package/artemis-main/artemis/config/agent.py +1098 -0
- package/artemis-main/artemis/config/constants.py +151 -0
- package/artemis-main/artemis/config/core/__init__.py +24 -0
- package/artemis-main/artemis/config/core/engine.py +118 -0
- package/artemis-main/artemis/config/core/interpolator.py +78 -0
- package/artemis-main/artemis/config/llm.py +267 -0
- package/artemis-main/artemis/config/paths.py +244 -0
- package/artemis-main/artemis/config/runtime.py +197 -0
- package/artemis-main/artemis/config/settings.py +315 -0
- package/artemis-main/artemis/constants.py +47 -0
- package/artemis-main/artemis/context.py +289 -0
- package/artemis-main/artemis/controllers/__init__.py +41 -0
- package/artemis-main/artemis/controllers/controller_factory.py +41 -0
- package/artemis-main/artemis/controllers/device_controller.py +29 -0
- package/artemis-main/artemis/controllers/types.py +37 -0
- package/artemis-main/artemis/controllers/unified_controller.py +649 -0
- package/artemis-main/artemis/core/__init__.py +21 -0
- package/artemis-main/artemis/core/diagnostics/__init__.py +90 -0
- package/artemis-main/artemis/core/diagnostics/adb_keys.py +270 -0
- package/artemis-main/artemis/core/diagnostics/adb_server_connection.py +330 -0
- package/artemis-main/artemis/core/diagnostics/device_smoke.py +364 -0
- package/artemis-main/artemis/core/diagnostics/emulator_manager.py +501 -0
- package/artemis-main/artemis/core/diagnostics/engine.py +438 -0
- package/artemis-main/artemis/core/diagnostics/hierarchy_parity.py +216 -0
- package/artemis-main/artemis/core/diagnostics/probes/adb_probe.py +887 -0
- package/artemis-main/artemis/core/diagnostics/probes/base.py +45 -0
- package/artemis-main/artemis/core/diagnostics/probes/credentials_probe.py +296 -0
- package/artemis-main/artemis/core/diagnostics/probes/host_probe.py +427 -0
- package/artemis-main/artemis/core/diagnostics/probes/runtime_probe.py +169 -0
- package/artemis-main/artemis/core/diagnostics/probes/toolchain_probe.py +139 -0
- package/artemis-main/artemis/core/diagnostics/readiness.py +83 -0
- package/artemis-main/artemis/core/diagnostics/schema.py +118 -0
- package/artemis-main/artemis/core/tool_declaration.py +43 -0
- package/artemis-main/artemis/core/tool_failure.py +56 -0
- package/artemis-main/artemis/data_engine/context_vars.py +24 -0
- package/artemis-main/artemis/data_engine/engine.py +1615 -0
- package/artemis-main/artemis/data_engine/history_reader.py +142 -0
- package/artemis-main/artemis/data_engine/models.py +131 -0
- package/artemis-main/artemis/data_engine/storage.py +1245 -0
- package/artemis-main/artemis/data_engine/trace.py +727 -0
- package/artemis-main/artemis/drivers/__init__.py +48 -0
- package/artemis-main/artemis/drivers/android/adb_driver.py +507 -0
- package/artemis-main/artemis/drivers/android/hierarchy.py +64 -0
- package/artemis-main/artemis/drivers/android/input_ime.py +120 -0
- package/artemis-main/artemis/drivers/android/recorder.py +57 -0
- package/artemis-main/artemis/drivers/base.py +290 -0
- package/artemis-main/artemis/drivers/cloud/cloud_driver.py +117 -0
- package/artemis-main/artemis/drivers/factory.py +80 -0
- package/artemis-main/artemis/drivers/mock/mock_driver.py +198 -0
- package/artemis-main/artemis/drivers/types.py +67 -0
- package/artemis-main/artemis/graph/checkpoints.py +1243 -0
- package/artemis-main/artemis/graph/graph.py +1055 -0
- package/artemis-main/artemis/graph/perception.py +234 -0
- package/artemis-main/artemis/graph/state.py +151 -0
- package/artemis-main/artemis/graph/visibility.py +238 -0
- package/artemis-main/artemis/interfaces/cli/__init__.py +19 -0
- package/artemis-main/artemis/interfaces/cli/commands/__init__.py +15 -0
- package/artemis-main/artemis/interfaces/cli/commands/batch.py +278 -0
- package/artemis-main/artemis/interfaces/cli/commands/doctor.py +468 -0
- package/artemis-main/artemis/interfaces/cli/commands/helper.py +226 -0
- package/artemis-main/artemis/interfaces/cli/commands/init.py +193 -0
- package/artemis-main/artemis/interfaces/cli/commands/mcp.py +862 -0
- package/artemis-main/artemis/interfaces/cli/commands/run.py +463 -0
- package/artemis-main/artemis/interfaces/cli/commands/server.py +151 -0
- package/artemis-main/artemis/interfaces/cli/commands/server_lifecycle.py +328 -0
- package/artemis-main/artemis/interfaces/cli/commands/trace.py +111 -0
- package/artemis-main/artemis/interfaces/cli/commands/ui.py +404 -0
- package/artemis-main/artemis/interfaces/cli/main.py +109 -0
- package/artemis-main/artemis/interfaces/sdk/__init__.py +31 -0
- package/artemis-main/artemis/interfaces/sdk/client.py +19 -0
- package/artemis-main/artemis/interfaces/sdk/task.py +72 -0
- package/artemis-main/artemis/llm/__init__.py +25 -0
- package/artemis-main/artemis/llm/fake_model.py +179 -0
- package/artemis-main/artemis/llm/google/__init__.py +57 -0
- package/artemis-main/artemis/llm/google/provider.py +185 -0
- package/artemis-main/artemis/llm/google/usage.py +148 -0
- package/artemis-main/artemis/llm/parser.py +32 -0
- package/artemis-main/artemis/llm/reliability.py +267 -0
- package/artemis-main/artemis/llm/router.py +389 -0
- package/artemis-main/artemis/llm/schemas.py +36 -0
- package/artemis-main/artemis/llm/structured.py +196 -0
- package/artemis-main/artemis/main.py +58 -0
- package/artemis-main/artemis/mcp/__init__.py +20 -0
- package/artemis-main/artemis/mcp/action_executor.py +760 -0
- package/artemis-main/artemis/mcp/action_manifest.py +320 -0
- package/artemis-main/artemis/mcp/action_names.py +172 -0
- package/artemis-main/artemis/mcp/action_server.py +202 -0
- package/artemis-main/artemis/mcp/action_session.py +245 -0
- package/artemis-main/artemis/mcp/action_specs.py +868 -0
- package/artemis-main/artemis/mcp/action_types.py +86 -0
- package/artemis-main/artemis/mcp/actuators/__init__.py +21 -0
- package/artemis-main/artemis/mcp/actuators/adb.py +414 -0
- package/artemis-main/artemis/mcp/actuators/base.py +113 -0
- package/artemis-main/artemis/mcp/actuators/mock.py +70 -0
- package/artemis-main/artemis/mcp/adb_server.py +490 -0
- package/artemis-main/artemis/mcp/observation.py +133 -0
- package/artemis-main/artemis/mcp/xml_search_server.py +297 -0
- package/artemis-main/artemis/memory/__init__.py +90 -0
- package/artemis-main/artemis/memory/chunking.py +1843 -0
- package/artemis-main/artemis/memory/context_policy.py +226 -0
- package/artemis-main/artemis/memory/step_capsule.md +73 -0
- package/artemis-main/artemis/memory/step_memory.py +281 -0
- package/artemis-main/artemis/memory/transcript.py +798 -0
- package/artemis-main/artemis/platform/__init__.py +61 -0
- package/artemis-main/artemis/platform/base.py +104 -0
- package/artemis-main/artemis/platform/darwin.py +184 -0
- package/artemis-main/artemis/platform/linux.py +207 -0
- package/artemis-main/artemis/platform/windows.py +193 -0
- package/artemis-main/artemis/resources/__init__.py +46 -0
- package/artemis-main/artemis/runtime/__init__.py +108 -0
- package/artemis-main/artemis/runtime/adb_endpoint.py +173 -0
- package/artemis-main/artemis/runtime/awake_lease.py +283 -0
- package/artemis-main/artemis/runtime/awake_service.py +343 -0
- package/artemis-main/artemis/runtime/cancel_requests.py +254 -0
- package/artemis-main/artemis/runtime/daemon_client.py +422 -0
- package/artemis-main/artemis/runtime/device_lock.py +1013 -0
- package/artemis-main/artemis/runtime/device_pool.py +478 -0
- package/artemis-main/artemis/runtime/helper_manager.py +1030 -0
- package/artemis-main/artemis/runtime/process_probe.py +98 -0
- package/artemis-main/artemis/runtime/server_lifecycle.py +435 -0
- package/artemis-main/artemis/runtime/supervisor.py +121 -0
- package/artemis-main/artemis/runtime/trace_store.py +375 -0
- package/artemis-main/artemis/sdk/__init__.py +26 -0
- package/artemis-main/artemis/sdk/agent.py +485 -0
- package/artemis-main/artemis/sdk/builders/__init__.py +29 -0
- package/artemis-main/artemis/sdk/builders/agent_config_builder.py +474 -0
- package/artemis-main/artemis/sdk/constants.py +15 -0
- package/artemis-main/artemis/sdk/run_outcome.py +58 -0
- package/artemis-main/artemis/sdk/types/__init__.py +61 -0
- package/artemis-main/artemis/sdk/types/agent.py +89 -0
- package/artemis-main/artemis/sdk/utils.py +28 -0
- package/artemis-main/artemis/services/llm.py +1040 -0
- package/artemis-main/artemis/services/token_meter.py +267 -0
- package/artemis-main/artemis/telemetry/__init__.py +35 -0
- package/artemis-main/artemis/telemetry/models.py +64 -0
- package/artemis-main/artemis/telemetry/replay.py +34 -0
- package/artemis-main/artemis/telemetry/storage/json_storage.py +47 -0
- package/artemis-main/artemis/telemetry/tracer.py +85 -0
- package/artemis-main/artemis/toolchain/__init__.py +52 -0
- package/artemis-main/artemis/toolchain/descriptors.py +92 -0
- package/artemis-main/artemis/toolchain/resolver.py +185 -0
- package/artemis-main/artemis/tools/base.py +232 -0
- package/artemis-main/artemis/tools/command_tool.py +1240 -0
- package/artemis-main/artemis/tools/committee_prompts.json +5 -0
- package/artemis-main/artemis/tools/committee_tool.py +422 -0
- package/artemis-main/artemis/tools/diagnoser_submit_answer_tool.py +87 -0
- package/artemis-main/artemis/tools/diagnostic_tool.py +120 -0
- package/artemis-main/artemis/tools/explorer_tool.py +581 -0
- package/artemis-main/artemis/tools/history/__init__.py +398 -0
- package/artemis-main/artemis/tools/history/replay.py +120 -0
- package/artemis-main/artemis/tools/history/screenshot.py +139 -0
- package/artemis-main/artemis/tools/history/search.py +563 -0
- package/artemis-main/artemis/tools/image_processor_tool.py +124 -0
- package/artemis-main/artemis/tools/index.py +47 -0
- package/artemis-main/artemis/tools/log_tool.py +108 -0
- package/artemis-main/artemis/tools/mobile/launch_app.py +132 -0
- package/artemis-main/artemis/tools/mobile/log_utils.py +138 -0
- package/artemis-main/artemis/tools/mobile/ocr.py +202 -0
- package/artemis-main/artemis/tools/mobile/read_hierarchy.py +108 -0
- package/artemis-main/artemis/tools/mobile/read_logs.py +116 -0
- package/artemis-main/artemis/tools/mobile/search_logs.py +260 -0
- package/artemis-main/artemis/tools/object_detection_tool.py +244 -0
- package/artemis-main/artemis/tools/scratchpad.py +819 -0
- package/artemis-main/artemis/tools/system/adb_shell.py +31 -0
- package/artemis-main/artemis/tools/tool_wrapper.py +270 -0
- package/artemis-main/artemis/tools/video_tool.py +261 -0
- package/artemis-main/artemis/tools/wait_tool.py +97 -0
- package/artemis-main/artemis/utils/app_launch_utils.py +207 -0
- package/artemis-main/artemis/utils/coordinates.py +606 -0
- package/artemis-main/artemis/utils/credentials_validator.py +201 -0
- package/artemis-main/artemis/utils/cv_canvas.py +189 -0
- package/artemis-main/artemis/utils/cython_compat.py +45 -0
- package/artemis-main/artemis/utils/element_hit_test.py +80 -0
- package/artemis-main/artemis/utils/image_diff.py +335 -0
- package/artemis-main/artemis/utils/image_hash.py +80 -0
- package/artemis-main/artemis/utils/notes.py +470 -0
- package/artemis-main/artemis/utils/ocr_api.py +105 -0
- package/artemis-main/artemis/utils/ocr_xml_fusion.py +318 -0
- package/artemis-main/artemis/utils/plan_grammar.py +513 -0
- package/artemis-main/artemis/utils/python_executor.py +213 -0
- package/artemis-main/artemis/utils/startup_progress.py +60 -0
- package/artemis-main/artemis/utils/task_tree.py +1174 -0
- package/artemis-main/artemis/utils/text.py +37 -0
- package/artemis-main/artemis/utils/ui_filter.py +651 -0
- package/artemis-main/artemis/utils/video.py +685 -0
- package/artemis-main/artemis/utils/visualization.py +802 -0
- package/artemis-main/config/artemis.example.jsonc +12 -0
- package/artemis-main/mcp_server/README.md +111 -0
- package/artemis-main/mcp_server/__init__.py +21 -0
- package/artemis-main/mcp_server/__main__.py +20 -0
- package/artemis-main/mcp_server/background/__init__.py +15 -0
- package/artemis-main/mcp_server/background/task_runner.py +453 -0
- package/artemis-main/mcp_server/base.py +49 -0
- package/artemis-main/mcp_server/notifiers/__init__.py +74 -0
- package/artemis-main/mcp_server/notifiers/agentapi.py +289 -0
- package/artemis-main/mcp_server/notifiers/base.py +45 -0
- package/artemis-main/mcp_server/notifiers/composite.py +87 -0
- package/artemis-main/mcp_server/notifiers/desktop.py +108 -0
- package/artemis-main/mcp_server/notifiers/file.py +69 -0
- package/artemis-main/mcp_server/notifiers/script.py +90 -0
- package/artemis-main/mcp_server/notifiers/webhook.py +87 -0
- package/artemis-main/mcp_server/rules.md +68 -0
- package/artemis-main/mcp_server/server.py +106 -0
- package/artemis-main/mcp_server/tools/__init__.py +29 -0
- package/artemis-main/mcp_server/tools/device_state.py +107 -0
- package/artemis-main/mcp_server/tools/diagnose.py +1249 -0
- package/artemis-main/mcp_server/tools/inspect_trace.py +394 -0
- package/artemis-main/mcp_server/tools/task_manager.py +627 -0
- package/artemis-main/mcp_server/tools/task_runner.py +548 -0
- package/artemis-main/mcp_server/utils/__init__.py +15 -0
- package/artemis-main/mcp_server/utils/device_utils.py +180 -0
- package/artemis-main/mcp_server/utils/env_utils.py +65 -0
- package/artemis-main/packages/artemis-accessibility-helper/ArtemisAccessibilityHelper.apk +0 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/build.gradle.kts +35 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/AndroidManifest.xml +49 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/A11yNode.java +274 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/ArtemisAccessibilityService.java +227 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/CommandServer.java +463 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/DisplayUtils.java +111 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/GestureController.java +232 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/HierarchyDumper.java +832 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/TokenReceiver.java +36 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/TokenStore.java +38 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/XmlUtils.java +102 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/res/values/strings.xml +4 -0
- package/artemis-main/packages/artemis-accessibility-helper/app/src/main/res/xml/accessibility_service_config.xml +10 -0
- package/artemis-main/packages/artemis-accessibility-helper/build.gradle.kts +3 -0
- package/artemis-main/packages/artemis-accessibility-helper/build_apk.sh +215 -0
- package/artemis-main/packages/artemis-accessibility-helper/debug.keystore +0 -0
- package/artemis-main/packages/artemis-accessibility-helper/gradle.properties +2 -0
- package/artemis-main/packages/artemis-accessibility-helper/helper_manifest.json +7 -0
- package/artemis-main/packages/artemis-accessibility-helper/settings.gradle.kts +17 -0
- package/artemis-main/packages/artemis-client/DESIGN.md +89 -0
- package/artemis-main/packages/artemis-client/README.md +112 -0
- package/artemis-main/packages/artemis-client/examples/basic.py +30 -0
- package/artemis-main/packages/artemis-client/pyproject.toml +36 -0
- package/artemis-main/packages/artemis-client/src/artemis_client/__init__.py +45 -0
- package/artemis-main/packages/artemis-client/src/artemis_client/client.py +401 -0
- package/artemis-main/packages/artemis-client/src/artemis_client/errors.py +66 -0
- package/artemis-main/packages/artemis-client/src/artemis_client/models.py +212 -0
- package/artemis-main/packages/artemis-client/src/artemis_client/py.typed +1 -0
- package/artemis-main/packages/artemis-client/src/artemis_client/transport.py +134 -0
- package/artemis-main/packages/artemis-client/tests/test_client.py +289 -0
- package/artemis-main/packages/artemis-client/tests/test_transport.py +85 -0
- package/artemis-main/pyproject.toml +259 -0
- package/artemis-main/pyright-core.json +17 -0
- package/artemis-main/scripts/check_dependency_sources.py +68 -0
- package/artemis-main/scripts/install_deps.ps1 +520 -0
- package/artemis-main/scripts/install_deps.sh +533 -0
- package/artemis-main/scripts/quality_ratchet.py +97 -0
- package/artemis-main/scripts/real_device_video_acceptance.py +483 -0
- package/artemis-main/scripts/run_edge_case_part.py +327 -0
- package/artemis-main/scripts/run_ui.py +242 -0
- package/artemis-main/scripts/start.ps1 +500 -0
- package/artemis-main/scripts/test_all_edge_cases.py +269 -0
- package/artemis-main/scripts/verify_concurrency_and_devices.py +385 -0
- package/artemis-main/setup.py +164 -0
- package/artemis-main/start.bat +35 -0
- package/artemis-main/start.sh +423 -0
- package/artemis-main/third_party/mobile_use/LICENSE +190 -0
- package/artemis-main/third_party/mobile_use/METADATA +27 -0
- package/artemis-main/third_party/mobile_use/NOTICE +12 -0
- package/artemis-main/third_party/mobile_use/__init__.py +19 -0
- package/artemis-main/third_party/mobile_use/agents/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/agents/hopper/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/agents/hopper/hopper.md +22 -0
- package/artemis-main/third_party/mobile_use/agents/hopper/hopper.py +80 -0
- package/artemis-main/third_party/mobile_use/clients/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/clients/ui_automator_client.py +482 -0
- package/artemis-main/third_party/mobile_use/config/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/config/llm.py +183 -0
- package/artemis-main/third_party/mobile_use/config/output.py +184 -0
- package/artemis-main/third_party/mobile_use/context.py +119 -0
- package/artemis-main/third_party/mobile_use/controllers/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/controllers/platform_specific_commands_controller.py +151 -0
- package/artemis-main/third_party/mobile_use/controllers/types.py +92 -0
- package/artemis-main/third_party/mobile_use/controllers/unified_controller.py +183 -0
- package/artemis-main/third_party/mobile_use/graph.py +54 -0
- package/artemis-main/third_party/mobile_use/llm_service.py +193 -0
- package/artemis-main/third_party/mobile_use/main.py +130 -0
- package/artemis-main/third_party/mobile_use/sdk/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/sdk/agent.py +1060 -0
- package/artemis-main/third_party/mobile_use/sdk/builders/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/sdk/builders/agent_config_builder.py +225 -0
- package/artemis-main/third_party/mobile_use/sdk/builders/index.py +33 -0
- package/artemis-main/third_party/mobile_use/sdk/builders/task_request_builder.py +243 -0
- package/artemis-main/third_party/mobile_use/sdk/types/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/sdk/types/agent.py +98 -0
- package/artemis-main/third_party/mobile_use/sdk/types/exceptions.py +109 -0
- package/artemis-main/third_party/mobile_use/sdk/types/task.py +234 -0
- package/artemis-main/third_party/mobile_use/testing.py +59 -0
- package/artemis-main/third_party/mobile_use/tools/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/tools/index.py +44 -0
- package/artemis-main/third_party/mobile_use/tools/mobile/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/tools/mobile/launch_app.py +89 -0
- package/artemis-main/third_party/mobile_use/tools/tool_wrapper.py +52 -0
- package/artemis-main/third_party/mobile_use/utils/__init__.py +13 -0
- package/artemis-main/third_party/mobile_use/utils/app_launch_utils.py +217 -0
- package/artemis-main/third_party/mobile_use/utils/cli_helpers.py +60 -0
- package/artemis-main/third_party/mobile_use/utils/decorators.py +158 -0
- package/artemis-main/third_party/mobile_use/utils/file.py +31 -0
- package/artemis-main/third_party/mobile_use/utils/logger.py +216 -0
- package/artemis-main/third_party/mobile_use/utils/media.py +213 -0
- package/artemis-main/third_party/mobile_use/utils/shell_utils.py +39 -0
- package/artemis-main/third_party/mobile_use/utils/video.py +398 -0
- package/artemis-main/uv.lock +4908 -0
- package/bin/android-midscene-automation.js +1 -5
- package/bin/artemis-config.mjs +15 -0
- package/bin/artemis-embedded.py +56 -0
- package/bin/start-artemis.mjs +30 -0
- package/bin/start-dev.mjs +112 -0
- package/bin/test_artemis_embedded.py +44 -0
- package/package.json +4 -2
- package/server/artemis.ts +34 -0
- package/server/http-api.ts +12 -0
- package/src/App.vue +10 -5
- package/src/api.ts +5 -0
- package/src/appium-recorder/AppiumPage.vue +1 -1
- package/src/appium-recorder/components/ComponentInspector.vue +1 -1
- package/src/appium-recorder/components/FlowNodeSearch.vue +3 -3
- package/src/appium-recorder/components/ImageCheckDialog.vue +3 -3
- package/src/appium-recorder/components/RecorderWorkspace.vue +4 -4
- package/src/appium-recorder/flow-appearance.ts +4 -4
- package/src/components/AppSidebar.vue +8 -7
- package/src/components/MidsceneMaintenanceNotice.vue +17 -0
- package/src/components/analytics/AnalysisCharts.vue +4 -4
- package/src/components/analytics/ReportAnalysis.vue +1 -1
- package/src/components/generator/TestCaseFileUpload.vue +1 -1
- package/src/components/help/HelpCenter.vue +56 -37
- package/src/pages/AiGeneratorPage.vue +1 -1
- package/src/pages/ArtemisPage.vue +72 -0
- package/src/pages/ConfigPage.vue +18 -19
- package/src/style.css +340 -121
- package/src/types.ts +1 -1
|
@@ -0,0 +1,886 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
$bg-base: #e2e5ea;
|
|
18
|
+
$font-sans: 'Google Sans Text', 'Google Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
19
|
+
$primary: #0f172a;
|
|
20
|
+
$primary-hover: #1e293b;
|
|
21
|
+
$rose: #ef4444;
|
|
22
|
+
$rose-dark: #dc2626;
|
|
23
|
+
|
|
24
|
+
:host {
|
|
25
|
+
display: block;
|
|
26
|
+
height: 100vh;
|
|
27
|
+
width: 100vw;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
font-family: $font-sans;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.workspace-container {
|
|
33
|
+
position: relative;
|
|
34
|
+
display: flex;
|
|
35
|
+
height: 100vh;
|
|
36
|
+
width: 100vw;
|
|
37
|
+
background-color: $bg-base;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
|
|
40
|
+
&.is-resizing {
|
|
41
|
+
cursor: col-resize;
|
|
42
|
+
user-select: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* --- Glassmorphism Panel --- */
|
|
46
|
+
.glass-panel {
|
|
47
|
+
position: relative;
|
|
48
|
+
z-index: 1;
|
|
49
|
+
background: #f4fafb;
|
|
50
|
+
border: none;
|
|
51
|
+
box-shadow: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.left-panel {
|
|
55
|
+
flex: 1 0 500px;
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
background: #f4fafb;
|
|
60
|
+
border-right: 1px solid #e2e8f0;
|
|
61
|
+
border-left: none;
|
|
62
|
+
border-top: none;
|
|
63
|
+
border-bottom: none;
|
|
64
|
+
min-width: 450px;
|
|
65
|
+
height: 100%;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.right-panel {
|
|
69
|
+
flex: 0 1 auto;
|
|
70
|
+
min-width: 250px;
|
|
71
|
+
max-width: 100%;
|
|
72
|
+
padding: 60px 0 0;
|
|
73
|
+
border: none;
|
|
74
|
+
background-color: #ffffff;
|
|
75
|
+
box-shadow: -6px 0 24px rgba(0, 0, 0, 0.03);
|
|
76
|
+
height: 100%;
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
z-index: 2;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.resizer {
|
|
84
|
+
width: 12px;
|
|
85
|
+
cursor: col-resize;
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
z-index: 10;
|
|
90
|
+
transition: background 0.2s ease;
|
|
91
|
+
margin: 0 -6px;
|
|
92
|
+
|
|
93
|
+
&:hover, .workspace-container.is-resizing & {
|
|
94
|
+
background: rgba(255, 255, 255, 0.15);
|
|
95
|
+
|
|
96
|
+
.resizer-handle {
|
|
97
|
+
background: rgba(94, 114, 228, 0.8);
|
|
98
|
+
height: 60px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.resizer-handle {
|
|
103
|
+
width: 4px;
|
|
104
|
+
height: 40px;
|
|
105
|
+
background: rgba(0, 0, 0, 0.15);
|
|
106
|
+
border-radius: 4px;
|
|
107
|
+
transition: background 0.2s ease, height 0.2s ease;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* ========================================================================= */
|
|
112
|
+
/* BOTTOM FLOATING COMMAND BAR (Proximity Reveal & Minimalist Glassmorphism) */
|
|
113
|
+
/* ========================================================================= */
|
|
114
|
+
.workspace-floating-bar-wrapper {
|
|
115
|
+
position: absolute;
|
|
116
|
+
bottom: 18px;
|
|
117
|
+
left: 50%;
|
|
118
|
+
transform: translateX(-50%);
|
|
119
|
+
width: 100%;
|
|
120
|
+
max-width: min(680px, calc(100% - 36px));
|
|
121
|
+
z-index: 50;
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
align-items: center;
|
|
125
|
+
pointer-events: none;
|
|
126
|
+
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
127
|
+
|
|
128
|
+
/* Floating Toast / Error Notification */
|
|
129
|
+
.floating-dock-toast {
|
|
130
|
+
pointer-events: auto;
|
|
131
|
+
margin-bottom: 8px;
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
gap: 8px;
|
|
135
|
+
padding: 7px 14px;
|
|
136
|
+
border-radius: 12px;
|
|
137
|
+
font-size: 12.5px;
|
|
138
|
+
font-weight: 500;
|
|
139
|
+
box-shadow: 0 8px 24px -4px rgba(239, 68, 68, 0.15);
|
|
140
|
+
animation: slideUpFade 0.2s ease-out;
|
|
141
|
+
max-width: 90%;
|
|
142
|
+
|
|
143
|
+
&.error {
|
|
144
|
+
background: rgba(254, 242, 242, 0.88);
|
|
145
|
+
backdrop-filter: blur(20px) saturate(180%);
|
|
146
|
+
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
147
|
+
border: 1px solid rgba(254, 202, 202, 0.9);
|
|
148
|
+
color: #991b1b;
|
|
149
|
+
|
|
150
|
+
.toast-icon {
|
|
151
|
+
font-size: 16px;
|
|
152
|
+
color: #ef4444;
|
|
153
|
+
flex-shrink: 0;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.toast-text {
|
|
157
|
+
flex: 1;
|
|
158
|
+
line-height: 1.4;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.btn-toast-close {
|
|
162
|
+
background: transparent;
|
|
163
|
+
border: none;
|
|
164
|
+
padding: 2px;
|
|
165
|
+
cursor: pointer;
|
|
166
|
+
color: #991b1b;
|
|
167
|
+
display: flex;
|
|
168
|
+
align-items: center;
|
|
169
|
+
justify-content: center;
|
|
170
|
+
border-radius: 4px;
|
|
171
|
+
opacity: 0.7;
|
|
172
|
+
transition: opacity 0.15s ease;
|
|
173
|
+
|
|
174
|
+
&:hover {
|
|
175
|
+
opacity: 1;
|
|
176
|
+
background: rgba(0, 0, 0, 0.05);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.material-symbols-outlined {
|
|
180
|
+
font-size: 15px;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* Dock Row: Flex container holding Main Card + Standalone Stop Button */
|
|
187
|
+
.floating-dock-row {
|
|
188
|
+
display: flex;
|
|
189
|
+
align-items: center;
|
|
190
|
+
justify-content: center;
|
|
191
|
+
gap: 10px;
|
|
192
|
+
width: 100%;
|
|
193
|
+
pointer-events: none;
|
|
194
|
+
transition: gap 0.32s cubic-bezier(0.16, 1, 0.3, 1);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* Standalone Floating Stop Button (Separated from Capsule) */
|
|
198
|
+
.standalone-stop-btn {
|
|
199
|
+
pointer-events: auto;
|
|
200
|
+
display: flex;
|
|
201
|
+
align-items: center;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
width: 34px;
|
|
204
|
+
height: 34px;
|
|
205
|
+
min-width: 34px;
|
|
206
|
+
border-radius: 50%;
|
|
207
|
+
border: 1px solid rgba(255, 255, 255, 0.85);
|
|
208
|
+
background: rgba(239, 68, 68, 0.9);
|
|
209
|
+
backdrop-filter: blur(24px) saturate(190%) brightness(105%);
|
|
210
|
+
-webkit-backdrop-filter: blur(24px) saturate(190%) brightness(105%);
|
|
211
|
+
color: #ffffff;
|
|
212
|
+
box-shadow: 0 6px 18px -2px rgba(239, 68, 68, 0.4), inset 0 1px 1.5px rgba(255, 255, 255, 0.7);
|
|
213
|
+
cursor: pointer;
|
|
214
|
+
outline: none;
|
|
215
|
+
flex-shrink: 0;
|
|
216
|
+
transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
|
|
217
|
+
transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
|
|
218
|
+
width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
|
|
219
|
+
min-width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
|
|
220
|
+
margin 0.28s cubic-bezier(0.16, 1, 0.3, 1),
|
|
221
|
+
background 0.2s ease,
|
|
222
|
+
box-shadow 0.2s ease;
|
|
223
|
+
animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
224
|
+
|
|
225
|
+
.material-symbols-outlined {
|
|
226
|
+
font-size: 17px;
|
|
227
|
+
line-height: 1;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&:hover:not(:disabled) {
|
|
231
|
+
background: #dc2626;
|
|
232
|
+
transform: scale(1.1);
|
|
233
|
+
box-shadow: 0 8px 22px rgba(239, 68, 68, 0.55), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&:active:not(:disabled) {
|
|
237
|
+
transform: scale(0.93);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&:disabled {
|
|
241
|
+
opacity: 0.6;
|
|
242
|
+
cursor: not-allowed;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/* Floating Dock Card Container */
|
|
247
|
+
.floating-dock-card {
|
|
248
|
+
pointer-events: auto;
|
|
249
|
+
position: relative;
|
|
250
|
+
width: 100%;
|
|
251
|
+
border-radius: 18px;
|
|
252
|
+
box-sizing: border-box;
|
|
253
|
+
overflow: hidden;
|
|
254
|
+
transition: max-width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
|
|
255
|
+
width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
|
|
256
|
+
border-radius 0.28s cubic-bezier(0.16, 1, 0.3, 1),
|
|
257
|
+
box-shadow 0.28s ease,
|
|
258
|
+
background 0.28s ease,
|
|
259
|
+
transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
|
|
260
|
+
border-color 0.28s ease;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/* ========================================================================= */
|
|
264
|
+
/* AMBIENT LIQUID WAVE COLOR BLOCKS (Soft Diffused Aurora Glow Waves) */
|
|
265
|
+
/* ========================================================================= */
|
|
266
|
+
.dock-wave-container {
|
|
267
|
+
position: absolute;
|
|
268
|
+
bottom: 0;
|
|
269
|
+
left: 0;
|
|
270
|
+
right: 0;
|
|
271
|
+
height: 100%;
|
|
272
|
+
pointer-events: none;
|
|
273
|
+
border-radius: inherit;
|
|
274
|
+
overflow: hidden;
|
|
275
|
+
z-index: 0;
|
|
276
|
+
opacity: 0.78;
|
|
277
|
+
transition: opacity 0.35s ease, filter 0.35s ease;
|
|
278
|
+
|
|
279
|
+
/* Flash Mode Color Stops (Soft Electric Blue, Violet, Amber, Cyan) */
|
|
280
|
+
.wave-stop-1 { stop-color: #3b82f6; stop-opacity: 0.65; }
|
|
281
|
+
.wave-stop-2 { stop-color: #8b5cf6; stop-opacity: 0.7; }
|
|
282
|
+
.wave-stop-3 { stop-color: #f59e0b; stop-opacity: 0.65; }
|
|
283
|
+
.wave-stop-4 { stop-color: #06b6d4; stop-opacity: 0.6; }
|
|
284
|
+
|
|
285
|
+
/* Pro Mode Color Stops (Soft Cosmic Nebula / Amethyst / Fuchsia) */
|
|
286
|
+
&.is-pro {
|
|
287
|
+
.wave-stop-1 { stop-color: #7c3aed; stop-opacity: 0.7; }
|
|
288
|
+
.wave-stop-2 { stop-color: #ec4899; stop-opacity: 0.75; }
|
|
289
|
+
.wave-stop-3 { stop-color: #6366f1; stop-opacity: 0.65; }
|
|
290
|
+
.wave-stop-4 { stop-color: #a855f7; stop-opacity: 0.7; }
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Deep Ambient Aurora Glow Diffusion */
|
|
294
|
+
.wave-glow-ambient {
|
|
295
|
+
position: absolute;
|
|
296
|
+
bottom: -8px;
|
|
297
|
+
left: 5%;
|
|
298
|
+
right: 5%;
|
|
299
|
+
height: 30px;
|
|
300
|
+
border-radius: 50%;
|
|
301
|
+
background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.4) 0%, rgba(245, 158, 11, 0.2) 50%, transparent 80%);
|
|
302
|
+
filter: blur(16px);
|
|
303
|
+
opacity: 0.7;
|
|
304
|
+
animation: glowBreathe 5s ease-in-out infinite alternate;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
&.is-pro .wave-glow-ambient {
|
|
308
|
+
background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.45) 0%, rgba(236, 72, 153, 0.25) 50%, transparent 80%);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* Wave Tracks Wrapper. The soft-liquid look comes from blurring each
|
|
312
|
+
wave individually: blurring the WRAPPER forced the GPU to re-run the
|
|
313
|
+
gaussian pass every animation frame (child transforms invalidate the
|
|
314
|
+
parent's filtered layer), while per-wave blur over transform-only
|
|
315
|
+
animations is rasterized once and then just composited. */
|
|
316
|
+
.wave-tracks-wrapper {
|
|
317
|
+
position: absolute;
|
|
318
|
+
bottom: 0;
|
|
319
|
+
left: 0;
|
|
320
|
+
width: 100%;
|
|
321
|
+
height: 22px;
|
|
322
|
+
overflow: hidden;
|
|
323
|
+
mask-image: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
|
|
324
|
+
-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
|
|
325
|
+
|
|
326
|
+
.liquid-wave {
|
|
327
|
+
position: absolute;
|
|
328
|
+
bottom: 0;
|
|
329
|
+
left: 0;
|
|
330
|
+
width: 200%;
|
|
331
|
+
height: 100%;
|
|
332
|
+
will-change: transform;
|
|
333
|
+
filter: blur(8px); /* Silky liquid softness, applied per cached wave layer */
|
|
334
|
+
|
|
335
|
+
&.wave-back {
|
|
336
|
+
opacity: 0.45;
|
|
337
|
+
animation: waveSlide 12s ease-in-out infinite alternate;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
&.wave-mid {
|
|
341
|
+
opacity: 0.6;
|
|
342
|
+
animation: waveSlideReverse 9s ease-in-out infinite alternate;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
&.wave-front {
|
|
346
|
+
opacity: 0.75;
|
|
347
|
+
animation: waveSlide 6.5s ease-in-out infinite alternate;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* ======================================================================= */
|
|
354
|
+
/* 1. DORMANT / RESTING CAPSULE STATE (Subtle Frosted Peek) */
|
|
355
|
+
/* ======================================================================= */
|
|
356
|
+
&.is-dormant {
|
|
357
|
+
.floating-dock-card {
|
|
358
|
+
max-width: 160px;
|
|
359
|
+
width: 160px;
|
|
360
|
+
margin: 0;
|
|
361
|
+
background: rgba(255, 255, 255, 0.65);
|
|
362
|
+
backdrop-filter: blur(26px) saturate(190%) brightness(104%);
|
|
363
|
+
-webkit-backdrop-filter: blur(26px) saturate(190%) brightness(104%);
|
|
364
|
+
border: 1px solid rgba(255, 255, 255, 0.85);
|
|
365
|
+
border-radius: 17px;
|
|
366
|
+
box-shadow: 0 6px 18px -2px rgba(15, 23, 42, 0.07), inset 0 1px 1.5px rgba(255, 255, 255, 0.95), inset 0 -1px 1px rgba(255, 255, 255, 0.3);
|
|
367
|
+
cursor: pointer;
|
|
368
|
+
opacity: 0.92;
|
|
369
|
+
transform: translateY(2px);
|
|
370
|
+
|
|
371
|
+
.dock-wave-container {
|
|
372
|
+
opacity: 0.78;
|
|
373
|
+
.wave-tracks-wrapper {
|
|
374
|
+
height: 12px;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
&:hover {
|
|
379
|
+
opacity: 1;
|
|
380
|
+
transform: translateY(0);
|
|
381
|
+
background: rgba(255, 255, 255, 0.82);
|
|
382
|
+
border-color: rgba(255, 255, 255, 1);
|
|
383
|
+
box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.12), inset 0 1px 1.5px rgba(255, 255, 255, 1);
|
|
384
|
+
|
|
385
|
+
.dock-wave-container {
|
|
386
|
+
opacity: 0.95;
|
|
387
|
+
filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.35));
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.capsule-peek-view {
|
|
392
|
+
display: flex;
|
|
393
|
+
opacity: 1;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.expanded-card-content {
|
|
397
|
+
display: none;
|
|
398
|
+
opacity: 0;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/* Capsule Peek View Layout */
|
|
404
|
+
.capsule-peek-view {
|
|
405
|
+
position: relative;
|
|
406
|
+
z-index: 1;
|
|
407
|
+
display: flex;
|
|
408
|
+
align-items: center;
|
|
409
|
+
justify-content: center;
|
|
410
|
+
padding: 6px 14px;
|
|
411
|
+
min-height: 34px;
|
|
412
|
+
box-sizing: border-box;
|
|
413
|
+
user-select: none;
|
|
414
|
+
|
|
415
|
+
.capsule-placeholder {
|
|
416
|
+
color: #475569;
|
|
417
|
+
font-size: 12px;
|
|
418
|
+
font-weight: 500;
|
|
419
|
+
letter-spacing: 0.1px;
|
|
420
|
+
white-space: nowrap;
|
|
421
|
+
text-align: center;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/* ======================================================================= */
|
|
426
|
+
/* 2. EXPANDED / ACTIVE STATE (Rich Frosted Command Box) */
|
|
427
|
+
/* ======================================================================= */
|
|
428
|
+
&.is-expanded {
|
|
429
|
+
.floating-dock-row {
|
|
430
|
+
gap: 0;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.standalone-stop-btn {
|
|
434
|
+
opacity: 0;
|
|
435
|
+
width: 0;
|
|
436
|
+
min-width: 0;
|
|
437
|
+
margin: 0;
|
|
438
|
+
padding: 0;
|
|
439
|
+
border-width: 0;
|
|
440
|
+
transform: scale(0.5);
|
|
441
|
+
pointer-events: none;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.floating-dock-card {
|
|
445
|
+
max-width: 100%;
|
|
446
|
+
width: 100%;
|
|
447
|
+
background: rgba(255, 255, 255, 0.68);
|
|
448
|
+
backdrop-filter: blur(32px) saturate(210%) brightness(105%);
|
|
449
|
+
-webkit-backdrop-filter: blur(32px) saturate(210%) brightness(105%);
|
|
450
|
+
border: 1px solid rgba(255, 255, 255, 0.82);
|
|
451
|
+
box-shadow: 0 16px 44px -8px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.02), inset 0 1.5px 2px rgba(255, 255, 255, 0.95), inset 0 -1px 2px rgba(255, 255, 255, 0.3);
|
|
452
|
+
opacity: 1;
|
|
453
|
+
transform: translateY(0);
|
|
454
|
+
|
|
455
|
+
.dock-wave-container {
|
|
456
|
+
opacity: 0.88;
|
|
457
|
+
.wave-tracks-wrapper {
|
|
458
|
+
height: 22px;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.capsule-peek-view {
|
|
463
|
+
display: none;
|
|
464
|
+
opacity: 0;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.expanded-card-content {
|
|
468
|
+
display: block;
|
|
469
|
+
opacity: 1;
|
|
470
|
+
animation: cardFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/* Focused State Glow */
|
|
476
|
+
&.is-focused .floating-dock-card {
|
|
477
|
+
background: rgba(255, 255, 255, 0.78);
|
|
478
|
+
backdrop-filter: blur(36px) saturate(220%) brightness(106%);
|
|
479
|
+
-webkit-backdrop-filter: blur(36px) saturate(220%) brightness(106%);
|
|
480
|
+
border-color: rgba(59, 130, 246, 0.55);
|
|
481
|
+
box-shadow: 0 20px 48px -6px rgba(37, 99, 235, 0.16), 0 0 0 2.5px rgba(59, 130, 246, 0.18), inset 0 1.5px 2px rgba(255, 255, 255, 1);
|
|
482
|
+
|
|
483
|
+
.dock-wave-container {
|
|
484
|
+
opacity: 1;
|
|
485
|
+
filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.35));
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* Expanded Content Rows */
|
|
490
|
+
.expanded-card-content {
|
|
491
|
+
position: relative;
|
|
492
|
+
z-index: 1;
|
|
493
|
+
display: flex;
|
|
494
|
+
flex-direction: column;
|
|
495
|
+
width: 100%;
|
|
496
|
+
|
|
497
|
+
.card-main-input-row {
|
|
498
|
+
display: flex;
|
|
499
|
+
align-items: center;
|
|
500
|
+
gap: 10px;
|
|
501
|
+
padding: 8px 10px 3px 14px;
|
|
502
|
+
min-height: 48px;
|
|
503
|
+
box-sizing: border-box;
|
|
504
|
+
|
|
505
|
+
.leading-status-icon {
|
|
506
|
+
width: 14px;
|
|
507
|
+
height: 14px;
|
|
508
|
+
display: flex;
|
|
509
|
+
align-items: center;
|
|
510
|
+
justify-content: center;
|
|
511
|
+
flex-shrink: 0;
|
|
512
|
+
|
|
513
|
+
.pulse-indicator-dot {
|
|
514
|
+
width: 8px;
|
|
515
|
+
height: 8px;
|
|
516
|
+
border-radius: 50%;
|
|
517
|
+
background: #ef4444;
|
|
518
|
+
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
|
|
519
|
+
animation: pulseDot 1.4s infinite;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.input-content-area {
|
|
524
|
+
flex: 1;
|
|
525
|
+
min-width: 0;
|
|
526
|
+
display: flex;
|
|
527
|
+
align-items: center;
|
|
528
|
+
|
|
529
|
+
.dock-textarea {
|
|
530
|
+
width: 100%;
|
|
531
|
+
border: none;
|
|
532
|
+
outline: none;
|
|
533
|
+
background: transparent;
|
|
534
|
+
resize: none;
|
|
535
|
+
font-family: inherit;
|
|
536
|
+
font-size: 13.5px;
|
|
537
|
+
font-weight: 450;
|
|
538
|
+
line-height: 1.5;
|
|
539
|
+
color: #0f172a;
|
|
540
|
+
padding: 3px 0;
|
|
541
|
+
max-height: 120px;
|
|
542
|
+
box-sizing: border-box;
|
|
543
|
+
display: block;
|
|
544
|
+
|
|
545
|
+
&::placeholder {
|
|
546
|
+
color: #64748b;
|
|
547
|
+
font-size: 12.5px;
|
|
548
|
+
font-weight: 400;
|
|
549
|
+
transition: color 0.15s ease;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
&:disabled {
|
|
553
|
+
opacity: 0.6;
|
|
554
|
+
cursor: not-allowed;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.dock-circle-btn {
|
|
560
|
+
border-radius: 50%;
|
|
561
|
+
display: flex;
|
|
562
|
+
align-items: center;
|
|
563
|
+
justify-content: center;
|
|
564
|
+
border: none;
|
|
565
|
+
cursor: pointer;
|
|
566
|
+
outline: none;
|
|
567
|
+
flex-shrink: 0;
|
|
568
|
+
transition: background 0.18s cubic-bezier(0.16, 1, 0.3, 1),
|
|
569
|
+
color 0.18s cubic-bezier(0.16, 1, 0.3, 1),
|
|
570
|
+
transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
|
|
571
|
+
box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1),
|
|
572
|
+
border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1);
|
|
573
|
+
|
|
574
|
+
.material-symbols-outlined {
|
|
575
|
+
font-size: 18px;
|
|
576
|
+
line-height: 1;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.spinning-icon {
|
|
580
|
+
font-size: 17px;
|
|
581
|
+
animation: spin 1s linear infinite;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/* Clear Button */
|
|
585
|
+
&.btn-clear {
|
|
586
|
+
width: 26px;
|
|
587
|
+
height: 26px;
|
|
588
|
+
background: rgba(255, 255, 255, 0.45);
|
|
589
|
+
backdrop-filter: blur(8px);
|
|
590
|
+
border: 1px solid rgba(255, 255, 255, 0.6);
|
|
591
|
+
color: #64748b;
|
|
592
|
+
|
|
593
|
+
&:hover {
|
|
594
|
+
background: rgba(255, 255, 255, 0.75);
|
|
595
|
+
color: #0f172a;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/* Stop Button (Frosted Red) */
|
|
600
|
+
&.btn-stop {
|
|
601
|
+
width: 36px;
|
|
602
|
+
height: 36px;
|
|
603
|
+
background: rgba(239, 68, 68, 0.9);
|
|
604
|
+
backdrop-filter: blur(8px);
|
|
605
|
+
color: #ffffff;
|
|
606
|
+
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
607
|
+
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
|
|
608
|
+
animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
609
|
+
|
|
610
|
+
&:hover:not(:disabled) {
|
|
611
|
+
background: #dc2626;
|
|
612
|
+
transform: scale(1.05);
|
|
613
|
+
box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
&:active:not(:disabled) {
|
|
617
|
+
transform: scale(0.95);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
&:disabled {
|
|
621
|
+
opacity: 0.6;
|
|
622
|
+
cursor: not-allowed;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/* Send Button */
|
|
627
|
+
&.btn-send {
|
|
628
|
+
width: 36px;
|
|
629
|
+
height: 36px;
|
|
630
|
+
background: rgba(15, 23, 42, 0.88);
|
|
631
|
+
backdrop-filter: blur(12px);
|
|
632
|
+
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
633
|
+
color: #ffffff;
|
|
634
|
+
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.25);
|
|
635
|
+
|
|
636
|
+
&:disabled {
|
|
637
|
+
background: rgba(226, 232, 240, 0.6);
|
|
638
|
+
color: #94a3b8;
|
|
639
|
+
cursor: not-allowed;
|
|
640
|
+
box-shadow: none;
|
|
641
|
+
border-color: rgba(255, 255, 255, 0.5);
|
|
642
|
+
transform: none;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
&.has-content:not(:disabled) {
|
|
646
|
+
background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
|
|
647
|
+
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
|
|
648
|
+
|
|
649
|
+
&:hover {
|
|
650
|
+
background: linear-gradient(135deg, #2563eb, #1d4ed8);
|
|
651
|
+
transform: scale(1.05);
|
|
652
|
+
box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
&:active:not(:disabled) {
|
|
657
|
+
transform: scale(0.95);
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
/* Model Profile Selector & Status Footer Row */
|
|
664
|
+
.card-footer-row {
|
|
665
|
+
display: flex;
|
|
666
|
+
align-items: center;
|
|
667
|
+
justify-content: space-between;
|
|
668
|
+
padding: 3px 14px 8px 14px;
|
|
669
|
+
box-sizing: border-box;
|
|
670
|
+
|
|
671
|
+
.footer-left-group {
|
|
672
|
+
display: flex;
|
|
673
|
+
align-items: center;
|
|
674
|
+
gap: 8px;
|
|
675
|
+
|
|
676
|
+
/* Segmented Model Toggle with Frosted Glass */
|
|
677
|
+
.model-profile-toggle {
|
|
678
|
+
display: inline-flex;
|
|
679
|
+
align-items: center;
|
|
680
|
+
background: rgba(255, 255, 255, 0.45);
|
|
681
|
+
backdrop-filter: blur(14px);
|
|
682
|
+
-webkit-backdrop-filter: blur(14px);
|
|
683
|
+
border: 1px solid rgba(255, 255, 255, 0.65);
|
|
684
|
+
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 1px 3px rgba(0, 0, 0, 0.03);
|
|
685
|
+
border-radius: 8px;
|
|
686
|
+
padding: 2px;
|
|
687
|
+
gap: 2px;
|
|
688
|
+
|
|
689
|
+
.profile-toggle-pill {
|
|
690
|
+
display: inline-flex;
|
|
691
|
+
align-items: center;
|
|
692
|
+
justify-content: center;
|
|
693
|
+
gap: 3.5px;
|
|
694
|
+
width: 62px;
|
|
695
|
+
min-width: 62px;
|
|
696
|
+
height: 22px;
|
|
697
|
+
border-radius: 6px;
|
|
698
|
+
border: none;
|
|
699
|
+
background: transparent;
|
|
700
|
+
color: #64748b;
|
|
701
|
+
font-family: inherit;
|
|
702
|
+
font-size: 11px;
|
|
703
|
+
font-weight: 550;
|
|
704
|
+
cursor: pointer;
|
|
705
|
+
transition: color 0.16s cubic-bezier(0.16, 1, 0.3, 1),
|
|
706
|
+
background 0.16s cubic-bezier(0.16, 1, 0.3, 1),
|
|
707
|
+
box-shadow 0.16s cubic-bezier(0.16, 1, 0.3, 1);
|
|
708
|
+
outline: none;
|
|
709
|
+
user-select: none;
|
|
710
|
+
box-sizing: border-box;
|
|
711
|
+
|
|
712
|
+
.pill-icon {
|
|
713
|
+
font-size: 13px;
|
|
714
|
+
line-height: 1;
|
|
715
|
+
flex-shrink: 0;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.pill-label {
|
|
719
|
+
line-height: 1;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
&:hover:not(.active) {
|
|
723
|
+
color: #1e293b;
|
|
724
|
+
background: rgba(255, 255, 255, 0.65);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
&.active {
|
|
728
|
+
background: rgba(255, 255, 255, 0.92);
|
|
729
|
+
backdrop-filter: blur(8px);
|
|
730
|
+
color: #0f172a;
|
|
731
|
+
font-weight: 700;
|
|
732
|
+
box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.08), inset 0 1px 1.5px rgba(255, 255, 255, 1);
|
|
733
|
+
|
|
734
|
+
.icon-flash {
|
|
735
|
+
color: #d97706;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.icon-pro {
|
|
739
|
+
color: #7c3aed;
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.footer-right-status {
|
|
747
|
+
.running-status-pill {
|
|
748
|
+
display: inline-flex;
|
|
749
|
+
align-items: center;
|
|
750
|
+
gap: 4.5px;
|
|
751
|
+
font-size: 10.5px;
|
|
752
|
+
font-weight: 600;
|
|
753
|
+
color: #dc2626;
|
|
754
|
+
background: rgba(254, 226, 226, 0.7);
|
|
755
|
+
padding: 2px 7px;
|
|
756
|
+
border-radius: 10px;
|
|
757
|
+
|
|
758
|
+
.running-pulse-dot {
|
|
759
|
+
width: 5.5px;
|
|
760
|
+
height: 5.5px;
|
|
761
|
+
border-radius: 50%;
|
|
762
|
+
background: #ef4444;
|
|
763
|
+
animation: pulseDot 1.2s infinite;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/* When viewport shrinks to approximately 2/3 of standard desktop width (<= 1150px), hide right panel and leave only agent-stream */
|
|
772
|
+
@media (max-width: 1150px) {
|
|
773
|
+
.right-panel, .resizer {
|
|
774
|
+
display: none !important;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.left-panel {
|
|
778
|
+
border-right: none !important;
|
|
779
|
+
width: 100% !important;
|
|
780
|
+
flex: 1 1 100% !important;
|
|
781
|
+
min-width: 0 !important;
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/* Animations */
|
|
787
|
+
@keyframes popIn {
|
|
788
|
+
0% {
|
|
789
|
+
opacity: 0;
|
|
790
|
+
transform: scale(0.8);
|
|
791
|
+
}
|
|
792
|
+
100% {
|
|
793
|
+
opacity: 1;
|
|
794
|
+
transform: scale(1);
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
@keyframes spin {
|
|
799
|
+
from { transform: rotate(0deg); }
|
|
800
|
+
to { transform: rotate(360deg); }
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
@keyframes slideUpFade {
|
|
804
|
+
from {
|
|
805
|
+
opacity: 0;
|
|
806
|
+
transform: translateY(8px);
|
|
807
|
+
}
|
|
808
|
+
to {
|
|
809
|
+
opacity: 1;
|
|
810
|
+
transform: translateY(0);
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
@keyframes cardFadeIn {
|
|
815
|
+
from {
|
|
816
|
+
opacity: 0;
|
|
817
|
+
transform: translateY(4px);
|
|
818
|
+
}
|
|
819
|
+
to {
|
|
820
|
+
opacity: 1;
|
|
821
|
+
transform: translateY(0);
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
@keyframes fadeIn {
|
|
826
|
+
from { opacity: 0; }
|
|
827
|
+
to { opacity: 1; }
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
@keyframes pulseDot {
|
|
831
|
+
0% {
|
|
832
|
+
transform: scale(0.95);
|
|
833
|
+
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
|
|
834
|
+
}
|
|
835
|
+
70% {
|
|
836
|
+
transform: scale(1);
|
|
837
|
+
box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
|
|
838
|
+
}
|
|
839
|
+
100% {
|
|
840
|
+
transform: scale(0.95);
|
|
841
|
+
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/* Fluid Wave Horizontal Slide (Seamless loop) */
|
|
846
|
+
@keyframes waveSlide {
|
|
847
|
+
0% {
|
|
848
|
+
transform: translate3d(0, 0, 0);
|
|
849
|
+
}
|
|
850
|
+
100% {
|
|
851
|
+
transform: translate3d(-50%, 0, 0);
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
@keyframes waveSlideReverse {
|
|
856
|
+
0% {
|
|
857
|
+
transform: translate3d(-50%, 0, 0);
|
|
858
|
+
}
|
|
859
|
+
100% {
|
|
860
|
+
transform: translate3d(0, 0, 0);
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
/* Ambient Radial Glow Breathing */
|
|
865
|
+
@keyframes glowBreathe {
|
|
866
|
+
0% {
|
|
867
|
+
opacity: 0.55;
|
|
868
|
+
transform: scaleX(0.92);
|
|
869
|
+
}
|
|
870
|
+
100% {
|
|
871
|
+
opacity: 0.95;
|
|
872
|
+
transform: scaleX(1.08);
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/* Respect the user's motion preference: freeze the decorative liquid waves
|
|
877
|
+
and pulses while keeping the frosted dock visuals intact. */
|
|
878
|
+
@media (prefers-reduced-motion: reduce) {
|
|
879
|
+
.liquid-wave,
|
|
880
|
+
.wave-glow-ambient,
|
|
881
|
+
.pulse-indicator-dot,
|
|
882
|
+
.running-pulse-dot {
|
|
883
|
+
animation: none !important;
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
|