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,1171 @@
|
|
|
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
|
+
$border-color: rgba(0, 0, 0, 0.08);
|
|
18
|
+
$text-primary: #1f1f1f;
|
|
19
|
+
$text-secondary: #71717a;
|
|
20
|
+
$text-muted: #a1a1aa;
|
|
21
|
+
|
|
22
|
+
:host {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
height: 100%;
|
|
26
|
+
width: 100%;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.chat-interface-container {
|
|
31
|
+
container-type: inline-size;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
height: 100%;
|
|
35
|
+
background: #ffffff;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
|
|
38
|
+
.chat-header {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: space-between;
|
|
42
|
+
gap: 16px;
|
|
43
|
+
height: 60px;
|
|
44
|
+
padding: 0 20px;
|
|
45
|
+
border-bottom: 1px solid $border-color;
|
|
46
|
+
background: #ffffff;
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
|
|
49
|
+
.tab-selector-bar {
|
|
50
|
+
display: flex;
|
|
51
|
+
height: 36px;
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
background: rgba(241, 245, 249, 0.72);
|
|
54
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
55
|
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
56
|
+
border: 1px solid rgba(226, 232, 240, 0.85);
|
|
57
|
+
border-radius: 18px;
|
|
58
|
+
padding: 3px;
|
|
59
|
+
gap: 3px;
|
|
60
|
+
align-items: center;
|
|
61
|
+
flex-shrink: 0;
|
|
62
|
+
box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.8);
|
|
63
|
+
|
|
64
|
+
.tab-selector-btn {
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
gap: 6px;
|
|
69
|
+
height: 30px;
|
|
70
|
+
padding: 0 14px;
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
border: none;
|
|
73
|
+
background: transparent;
|
|
74
|
+
border-radius: 15px;
|
|
75
|
+
font-size: 13px;
|
|
76
|
+
font-weight: 600;
|
|
77
|
+
color: #64748b;
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
line-height: 1;
|
|
80
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
81
|
+
white-space: nowrap;
|
|
82
|
+
|
|
83
|
+
.tab-icon {
|
|
84
|
+
font-size: 16px;
|
|
85
|
+
width: 16px;
|
|
86
|
+
height: 16px;
|
|
87
|
+
display: inline-flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:hover:not(.active) {
|
|
93
|
+
color: #0f172a;
|
|
94
|
+
background: rgba(255, 255, 255, 0.7);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.active {
|
|
98
|
+
background: #ffffff;
|
|
99
|
+
color: #2563eb;
|
|
100
|
+
font-weight: 700;
|
|
101
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.02);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.header-right {
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
justify-content: flex-end;
|
|
110
|
+
flex: 1 1 0;
|
|
111
|
+
min-width: max-content;
|
|
112
|
+
flex-shrink: 0;
|
|
113
|
+
|
|
114
|
+
.btn-resume-task {
|
|
115
|
+
padding: 6px 14px;
|
|
116
|
+
background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(26, 115, 232, 0.85));
|
|
117
|
+
backdrop-filter: blur(14px) saturate(180%);
|
|
118
|
+
-webkit-backdrop-filter: blur(14px) saturate(180%);
|
|
119
|
+
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
120
|
+
border-radius: 16px;
|
|
121
|
+
font-size: 13.5px;
|
|
122
|
+
font-weight: 600;
|
|
123
|
+
color: #ffffff;
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
gap: 5px;
|
|
128
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
129
|
+
margin-right: 8px;
|
|
130
|
+
box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.45);
|
|
131
|
+
|
|
132
|
+
.material-symbols-outlined {
|
|
133
|
+
font-size: 16px;
|
|
134
|
+
color: inherit;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&:hover {
|
|
138
|
+
background: linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(26, 115, 232, 0.95));
|
|
139
|
+
border-color: rgba(255, 255, 255, 0.6);
|
|
140
|
+
box-shadow: 0 6px 18px rgba(37, 99, 235, 0.42), inset 0 1px 1px rgba(255, 255, 255, 0.6);
|
|
141
|
+
transform: translateY(-0.5px);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:active {
|
|
145
|
+
transform: scale(0.97);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.btn-clear-history {
|
|
150
|
+
width: 32px;
|
|
151
|
+
height: 32px;
|
|
152
|
+
padding: 0;
|
|
153
|
+
box-sizing: border-box;
|
|
154
|
+
background: rgba(255, 255, 255, 0.72);
|
|
155
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
156
|
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
157
|
+
border: 1px solid rgba(203, 213, 225, 0.85);
|
|
158
|
+
border-radius: 50%;
|
|
159
|
+
color: #64748b;
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
display: flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
justify-content: center;
|
|
164
|
+
box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.9);
|
|
165
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
166
|
+
|
|
167
|
+
.material-symbols-outlined {
|
|
168
|
+
font-size: 16px;
|
|
169
|
+
color: inherit;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&:hover:not(:disabled) {
|
|
173
|
+
background: #fef2f2;
|
|
174
|
+
color: #ef4444;
|
|
175
|
+
border-color: #fca5a5;
|
|
176
|
+
box-shadow: 0 3px 10px rgba(239, 68, 68, 0.15);
|
|
177
|
+
transform: scale(1.05);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&:disabled {
|
|
181
|
+
opacity: 0.5;
|
|
182
|
+
cursor: not-allowed;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.chat-messages {
|
|
189
|
+
flex: 1;
|
|
190
|
+
overflow-y: auto;
|
|
191
|
+
padding: 12px 12px 100px 12px;
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-direction: column;
|
|
194
|
+
gap: 8px;
|
|
195
|
+
background: #ffffff;
|
|
196
|
+
|
|
197
|
+
&::-webkit-scrollbar {
|
|
198
|
+
width: 5px;
|
|
199
|
+
}
|
|
200
|
+
&::-webkit-scrollbar-thumb {
|
|
201
|
+
background: rgba(148, 163, 184, 0.3);
|
|
202
|
+
border-radius: 4px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.queue-section-header {
|
|
206
|
+
font-size: 11.5px;
|
|
207
|
+
font-weight: 700;
|
|
208
|
+
color: #475569;
|
|
209
|
+
margin: 6px 0 2px;
|
|
210
|
+
display: flex;
|
|
211
|
+
align-items: center;
|
|
212
|
+
gap: 6px;
|
|
213
|
+
|
|
214
|
+
.section-icon {
|
|
215
|
+
font-size: 14px;
|
|
216
|
+
color: inherit;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.empty-section-placeholder {
|
|
221
|
+
display: flex;
|
|
222
|
+
align-items: center;
|
|
223
|
+
justify-content: center;
|
|
224
|
+
background: #f1f5f9;
|
|
225
|
+
border: 1px dashed #cbd5e1;
|
|
226
|
+
border-radius: 8px;
|
|
227
|
+
padding: 12px;
|
|
228
|
+
color: #64748b;
|
|
229
|
+
font-size: 12px;
|
|
230
|
+
text-align: center;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.history-section {
|
|
234
|
+
margin-top: 12px;
|
|
235
|
+
border-top: 1px solid rgba(226, 232, 240, 0.8);
|
|
236
|
+
padding-top: 12px;
|
|
237
|
+
|
|
238
|
+
&[open] .history-summary {
|
|
239
|
+
margin-bottom: 8px;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.history-summary {
|
|
243
|
+
font-size: 11.5px;
|
|
244
|
+
font-weight: 700;
|
|
245
|
+
color: #475569;
|
|
246
|
+
cursor: pointer;
|
|
247
|
+
outline: none;
|
|
248
|
+
user-select: none;
|
|
249
|
+
list-style: none;
|
|
250
|
+
display: flex;
|
|
251
|
+
align-items: center;
|
|
252
|
+
gap: 6px;
|
|
253
|
+
padding: 4px 6px;
|
|
254
|
+
margin-left: -6px;
|
|
255
|
+
border-radius: 6px;
|
|
256
|
+
transition: background 0.2s;
|
|
257
|
+
|
|
258
|
+
.section-icon {
|
|
259
|
+
font-size: 14px;
|
|
260
|
+
color: inherit;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&::-webkit-details-marker {
|
|
264
|
+
display: none;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
&:hover {
|
|
268
|
+
background: #f1f5f9;
|
|
269
|
+
color: #1e293b;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.history-list-wrapper {
|
|
274
|
+
display: flex;
|
|
275
|
+
flex-direction: column;
|
|
276
|
+
gap: 8px;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.task-card {
|
|
281
|
+
background: #ffffff;
|
|
282
|
+
border: 1px solid rgba(226, 232, 240, 0.8);
|
|
283
|
+
border-radius: 10px;
|
|
284
|
+
padding: 10px 12px;
|
|
285
|
+
display: flex;
|
|
286
|
+
flex-direction: column;
|
|
287
|
+
gap: 6px;
|
|
288
|
+
cursor: pointer;
|
|
289
|
+
position: relative;
|
|
290
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
291
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
|
|
292
|
+
|
|
293
|
+
&:hover {
|
|
294
|
+
transform: translateY(-1px);
|
|
295
|
+
border-color: rgba(203, 213, 225, 1);
|
|
296
|
+
box-shadow: 0 3px 8px rgba(148, 163, 184, 0.08);
|
|
297
|
+
|
|
298
|
+
.task-card-header .task-card-header-actions {
|
|
299
|
+
&:has(.btn-delete-card) .task-time,
|
|
300
|
+
&:has(.btn-delete-card) .task-time-divider,
|
|
301
|
+
&:has(.btn-stop-card) .task-time,
|
|
302
|
+
&:has(.btn-stop-card) .task-time-divider {
|
|
303
|
+
opacity: 0;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.btn-delete-card,
|
|
307
|
+
.btn-stop-card {
|
|
308
|
+
opacity: 1;
|
|
309
|
+
pointer-events: auto;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
&.selected {
|
|
315
|
+
border-color: #3b82f6;
|
|
316
|
+
box-shadow: 0 0 0 1px #3b82f6, 0 4px 12px rgba(59, 130, 246, 0.08);
|
|
317
|
+
background: #ffffff;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
&.running {
|
|
321
|
+
border-color: #10b981;
|
|
322
|
+
box-shadow: 0 0 0 1px #10b981, 0 4px 12px rgba(16, 185, 129, 0.08);
|
|
323
|
+
|
|
324
|
+
&.selected {
|
|
325
|
+
border-color: #3b82f6;
|
|
326
|
+
box-shadow: 0 0 0 1px #3b82f6, 0 4px 12px rgba(59, 130, 246, 0.08);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.task-card-header {
|
|
331
|
+
display: flex;
|
|
332
|
+
justify-content: space-between;
|
|
333
|
+
align-items: center;
|
|
334
|
+
gap: 8px;
|
|
335
|
+
min-width: 0;
|
|
336
|
+
|
|
337
|
+
.task-badge {
|
|
338
|
+
flex-shrink: 0;
|
|
339
|
+
display: inline-flex;
|
|
340
|
+
align-items: center;
|
|
341
|
+
font-size: 10.5px;
|
|
342
|
+
font-weight: 700;
|
|
343
|
+
padding: 2px 5px;
|
|
344
|
+
border-radius: 4px;
|
|
345
|
+
letter-spacing: 0.05em;
|
|
346
|
+
border: 1px solid #e2e8f0;
|
|
347
|
+
background: #fafafa;
|
|
348
|
+
color: #64748b;
|
|
349
|
+
|
|
350
|
+
&::before {
|
|
351
|
+
content: '';
|
|
352
|
+
width: 4px;
|
|
353
|
+
height: 4px;
|
|
354
|
+
border-radius: 50%;
|
|
355
|
+
display: inline-block;
|
|
356
|
+
margin-right: 4px;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
&.running {
|
|
360
|
+
background: #fafafa;
|
|
361
|
+
color: #1f1f1f;
|
|
362
|
+
border-color: #1f1f1f;
|
|
363
|
+
&::before {
|
|
364
|
+
background-color: #1f1f1f;
|
|
365
|
+
animation: pulse-black-dot-small 1.5s infinite ease-in-out;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
&.paused {
|
|
369
|
+
background: #fff7ed;
|
|
370
|
+
color: #c2410c;
|
|
371
|
+
border-color: #fdba74;
|
|
372
|
+
&::before { background-color: #f97316; }
|
|
373
|
+
}
|
|
374
|
+
&.completed {
|
|
375
|
+
background: #fafafa;
|
|
376
|
+
color: #1f1f1f;
|
|
377
|
+
border-color: #e2e8f0;
|
|
378
|
+
&::before {
|
|
379
|
+
background-color: #1f1f1f;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
&.pending {
|
|
383
|
+
background: #fafafa;
|
|
384
|
+
color: #64748b;
|
|
385
|
+
border-color: #e2e8f0;
|
|
386
|
+
&::before {
|
|
387
|
+
background-color: #94a3b8;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
&.failed {
|
|
391
|
+
background: #fafafa;
|
|
392
|
+
color: #ef4444;
|
|
393
|
+
border-color: #fee2e2;
|
|
394
|
+
&::before {
|
|
395
|
+
background-color: #ef4444;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
&.cancelled {
|
|
399
|
+
background: #fafafa;
|
|
400
|
+
color: #d97706;
|
|
401
|
+
border-color: #fef3c7;
|
|
402
|
+
&::before {
|
|
403
|
+
background-color: #f59e0b;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.status-dot {
|
|
408
|
+
display: none;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.task-card-header-actions {
|
|
413
|
+
display: flex;
|
|
414
|
+
align-items: center;
|
|
415
|
+
gap: 4px;
|
|
416
|
+
position: relative;
|
|
417
|
+
min-width: 0;
|
|
418
|
+
flex-shrink: 1;
|
|
419
|
+
justify-content: flex-end;
|
|
420
|
+
|
|
421
|
+
.task-device {
|
|
422
|
+
display: inline-flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
gap: 2.5px;
|
|
425
|
+
min-width: 0;
|
|
426
|
+
flex-shrink: 1;
|
|
427
|
+
font-size: 11px;
|
|
428
|
+
color: #94a3b8;
|
|
429
|
+
line-height: 1;
|
|
430
|
+
cursor: default;
|
|
431
|
+
transition: color 0.15s ease, opacity 0.15s ease;
|
|
432
|
+
|
|
433
|
+
.device-icon {
|
|
434
|
+
font-size: 12.5px;
|
|
435
|
+
width: 12.5px;
|
|
436
|
+
height: 12.5px;
|
|
437
|
+
line-height: 12.5px;
|
|
438
|
+
color: #94a3b8;
|
|
439
|
+
opacity: 0.75;
|
|
440
|
+
flex-shrink: 0;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.device-name {
|
|
444
|
+
overflow: hidden;
|
|
445
|
+
text-overflow: ellipsis;
|
|
446
|
+
white-space: nowrap;
|
|
447
|
+
min-width: 0;
|
|
448
|
+
font-family: inherit;
|
|
449
|
+
letter-spacing: -0.15px;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
&:hover {
|
|
453
|
+
color: #64748b;
|
|
454
|
+
.device-icon {
|
|
455
|
+
color: #64748b;
|
|
456
|
+
opacity: 1;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.task-time-divider {
|
|
462
|
+
font-size: 10px;
|
|
463
|
+
color: #cbd5e1;
|
|
464
|
+
line-height: 1;
|
|
465
|
+
user-select: none;
|
|
466
|
+
flex-shrink: 0;
|
|
467
|
+
transition: opacity 0.15s ease;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.task-time {
|
|
471
|
+
font-size: 11.5px;
|
|
472
|
+
color: #94a3b8;
|
|
473
|
+
white-space: nowrap;
|
|
474
|
+
flex-shrink: 0;
|
|
475
|
+
line-height: 1;
|
|
476
|
+
transition: opacity 0.15s ease;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.btn-delete-card {
|
|
480
|
+
position: absolute;
|
|
481
|
+
right: 0;
|
|
482
|
+
top: 50%;
|
|
483
|
+
transform: translateY(-50%);
|
|
484
|
+
width: 20px;
|
|
485
|
+
height: 20px;
|
|
486
|
+
padding: 0;
|
|
487
|
+
border: none;
|
|
488
|
+
background: transparent;
|
|
489
|
+
border-radius: 4px;
|
|
490
|
+
color: #94a3b8;
|
|
491
|
+
cursor: pointer;
|
|
492
|
+
display: inline-flex;
|
|
493
|
+
align-items: center;
|
|
494
|
+
justify-content: center;
|
|
495
|
+
opacity: 0;
|
|
496
|
+
pointer-events: none;
|
|
497
|
+
transition: all 0.15s ease;
|
|
498
|
+
|
|
499
|
+
.material-symbols-outlined {
|
|
500
|
+
font-size: 14px;
|
|
501
|
+
line-height: 1;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
&:hover:not(:disabled) {
|
|
505
|
+
color: #ef4444;
|
|
506
|
+
background: #fee2e2;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
&:disabled {
|
|
510
|
+
opacity: 0.3;
|
|
511
|
+
cursor: not-allowed;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.btn-stop-card {
|
|
516
|
+
position: absolute;
|
|
517
|
+
right: 0;
|
|
518
|
+
top: 50%;
|
|
519
|
+
transform: translateY(-50%);
|
|
520
|
+
width: 20px;
|
|
521
|
+
height: 20px;
|
|
522
|
+
padding: 0;
|
|
523
|
+
border: none;
|
|
524
|
+
background: transparent;
|
|
525
|
+
border-radius: 4px;
|
|
526
|
+
color: #ef4444;
|
|
527
|
+
cursor: pointer;
|
|
528
|
+
display: inline-flex;
|
|
529
|
+
align-items: center;
|
|
530
|
+
justify-content: center;
|
|
531
|
+
opacity: 0;
|
|
532
|
+
pointer-events: none;
|
|
533
|
+
transition: all 0.15s ease;
|
|
534
|
+
|
|
535
|
+
.material-symbols-outlined {
|
|
536
|
+
font-size: 15px;
|
|
537
|
+
line-height: 1;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
&:hover:not(:disabled) {
|
|
541
|
+
color: #dc2626;
|
|
542
|
+
background: #fee2e2;
|
|
543
|
+
transform: translateY(-50%) scale(1.1);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
&:disabled {
|
|
547
|
+
opacity: 0.3;
|
|
548
|
+
cursor: not-allowed;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.task-goal {
|
|
555
|
+
font-size: 12.5px;
|
|
556
|
+
font-weight: 500;
|
|
557
|
+
color: #1e293b;
|
|
558
|
+
line-height: 1.4;
|
|
559
|
+
word-break: break-word;
|
|
560
|
+
display: -webkit-box;
|
|
561
|
+
-webkit-line-clamp: 2;
|
|
562
|
+
line-clamp: 2;
|
|
563
|
+
-webkit-box-orient: vertical;
|
|
564
|
+
overflow: hidden;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.task-card-footer {
|
|
568
|
+
display: flex;
|
|
569
|
+
justify-content: space-between;
|
|
570
|
+
align-items: center;
|
|
571
|
+
gap: 12px;
|
|
572
|
+
border-top: 1px solid rgba(241, 245, 249, 0.8);
|
|
573
|
+
padding-top: 6px;
|
|
574
|
+
font-size: 11.5px;
|
|
575
|
+
color: #94a3b8;
|
|
576
|
+
|
|
577
|
+
.task-id {
|
|
578
|
+
font-family: 'Fira Code', 'Roboto Mono', Consolas, monospace;
|
|
579
|
+
font-size: 11px;
|
|
580
|
+
color: #94a3b8;
|
|
581
|
+
white-space: nowrap;
|
|
582
|
+
overflow: hidden;
|
|
583
|
+
text-overflow: ellipsis;
|
|
584
|
+
min-width: 0;
|
|
585
|
+
flex: 1;
|
|
586
|
+
transition: color 0.15s ease;
|
|
587
|
+
|
|
588
|
+
&:hover {
|
|
589
|
+
color: #475569;
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.task-date {
|
|
594
|
+
flex-shrink: 0;
|
|
595
|
+
font-size: 11px;
|
|
596
|
+
color: #94a3b8;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
// Notes tab content
|
|
606
|
+
.notes-tab-content {
|
|
607
|
+
display: flex;
|
|
608
|
+
flex-direction: column;
|
|
609
|
+
gap: 16px;
|
|
610
|
+
height: 100%;
|
|
611
|
+
|
|
612
|
+
.notes-selector-container {
|
|
613
|
+
display: flex;
|
|
614
|
+
flex-direction: column;
|
|
615
|
+
gap: 8px;
|
|
616
|
+
|
|
617
|
+
.selector-title {
|
|
618
|
+
font-size: 11px;
|
|
619
|
+
font-weight: 700;
|
|
620
|
+
color: #94a3b8;
|
|
621
|
+
letter-spacing: 0.05em;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.notes-selector-list {
|
|
625
|
+
display: flex;
|
|
626
|
+
flex-wrap: wrap;
|
|
627
|
+
gap: 8px;
|
|
628
|
+
|
|
629
|
+
.note-selector-pill {
|
|
630
|
+
display: inline-flex;
|
|
631
|
+
align-items: center;
|
|
632
|
+
gap: 6px;
|
|
633
|
+
padding: 6px 12px;
|
|
634
|
+
border: 1px solid #e2e8f0;
|
|
635
|
+
background: #ffffff;
|
|
636
|
+
border-radius: 20px;
|
|
637
|
+
font-size: 13px;
|
|
638
|
+
font-weight: 500;
|
|
639
|
+
color: #475569;
|
|
640
|
+
cursor: pointer;
|
|
641
|
+
transition: all 0.15s ease;
|
|
642
|
+
|
|
643
|
+
.pill-icon {
|
|
644
|
+
font-size: 15px;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
&:hover {
|
|
648
|
+
background: #f8fafc;
|
|
649
|
+
border-color: #cbd5e1;
|
|
650
|
+
color: #1e293b;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
&.active {
|
|
654
|
+
background: #eff6ff;
|
|
655
|
+
border-color: #bfdbfe;
|
|
656
|
+
color: #1d4ed8;
|
|
657
|
+
font-weight: 600;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.empty-notes-container {
|
|
664
|
+
flex: 1;
|
|
665
|
+
display: flex;
|
|
666
|
+
flex-direction: column;
|
|
667
|
+
align-items: center;
|
|
668
|
+
justify-content: center;
|
|
669
|
+
padding: 48px 24px;
|
|
670
|
+
margin: auto 0;
|
|
671
|
+
text-align: center;
|
|
672
|
+
user-select: none;
|
|
673
|
+
animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
674
|
+
|
|
675
|
+
.empty-notes-icon {
|
|
676
|
+
width: 52px;
|
|
677
|
+
height: 52px;
|
|
678
|
+
border-radius: 50%;
|
|
679
|
+
background: #f1f5f9;
|
|
680
|
+
border: 1px solid #e2e8f0;
|
|
681
|
+
display: flex;
|
|
682
|
+
align-items: center;
|
|
683
|
+
justify-content: center;
|
|
684
|
+
margin-bottom: 14px;
|
|
685
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
|
|
686
|
+
|
|
687
|
+
.material-symbols-outlined {
|
|
688
|
+
font-size: 26px;
|
|
689
|
+
color: #94a3b8;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.empty-notes-title {
|
|
694
|
+
font-family: 'Google Sans', 'Google Sans Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
695
|
+
font-size: 14px;
|
|
696
|
+
font-weight: 600;
|
|
697
|
+
color: #1e293b;
|
|
698
|
+
margin: 0 0 6px 0;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.empty-notes-subtitle {
|
|
702
|
+
font-family: 'Google Sans', 'Google Sans Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
703
|
+
font-size: 12.5px;
|
|
704
|
+
color: #64748b;
|
|
705
|
+
line-height: 1.5;
|
|
706
|
+
max-width: 240px;
|
|
707
|
+
margin: 0;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.note-viewer-cards {
|
|
712
|
+
display: flex;
|
|
713
|
+
flex-direction: column;
|
|
714
|
+
flex: 1;
|
|
715
|
+
padding: 16px 8px;
|
|
716
|
+
overflow-y: auto;
|
|
717
|
+
|
|
718
|
+
.note-title {
|
|
719
|
+
font-size: 14px;
|
|
720
|
+
font-weight: 700;
|
|
721
|
+
color: #1f1f1f;
|
|
722
|
+
margin-top: 0;
|
|
723
|
+
margin-bottom: 20px;
|
|
724
|
+
font-family: 'Google Sans', 'Google Sans Text', 'Inter', sans-serif;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.code-segment {
|
|
728
|
+
font-family: 'Fira Code', 'Roboto Mono', Consolas, monospace;
|
|
729
|
+
background-color: #f1f3f4;
|
|
730
|
+
color: #1967d2;
|
|
731
|
+
padding: 2px 6px;
|
|
732
|
+
border-radius: 4px;
|
|
733
|
+
font-size: 14px;
|
|
734
|
+
margin: 0 2px;
|
|
735
|
+
word-break: break-all;
|
|
736
|
+
font-weight: normal;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.checked {
|
|
740
|
+
.code-segment {
|
|
741
|
+
color: #a1a1aa;
|
|
742
|
+
background-color: #f8f9fa;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.milestones-container {
|
|
747
|
+
display: flex;
|
|
748
|
+
flex-direction: column;
|
|
749
|
+
gap: 6px;
|
|
750
|
+
margin-bottom: 24px;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.milestone-block {
|
|
754
|
+
display: flex;
|
|
755
|
+
flex-direction: column;
|
|
756
|
+
|
|
757
|
+
&.checked {
|
|
758
|
+
.milestone-title-row {
|
|
759
|
+
.milestone-status-icon.checked {
|
|
760
|
+
opacity: 0.7;
|
|
761
|
+
}
|
|
762
|
+
.milestone-text {
|
|
763
|
+
color: #a1a1aa;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.milestone-title-row {
|
|
769
|
+
display: flex;
|
|
770
|
+
align-items: flex-start;
|
|
771
|
+
gap: 10px;
|
|
772
|
+
|
|
773
|
+
.milestone-status-icon {
|
|
774
|
+
font-size: 20px;
|
|
775
|
+
user-select: none;
|
|
776
|
+
margin-top: 3px;
|
|
777
|
+
font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
778
|
+
|
|
779
|
+
&.checked {
|
|
780
|
+
color: #1a73e8;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
&.progress {
|
|
784
|
+
color: #1a73e8;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
&.unchecked {
|
|
788
|
+
color: #cbd5e1;
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.milestone-text {
|
|
793
|
+
font-family: 'Google Sans', 'Google Sans Text', 'Inter', sans-serif;
|
|
794
|
+
color: #1f1f1f;
|
|
795
|
+
font-size: 14px;
|
|
796
|
+
line-height: 1.8;
|
|
797
|
+
font-weight: 400;
|
|
798
|
+
word-break: break-word;
|
|
799
|
+
flex: 1;
|
|
800
|
+
|
|
801
|
+
span {
|
|
802
|
+
color: inherit;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
.bold-segment {
|
|
806
|
+
font-weight: inherit;
|
|
807
|
+
color: inherit;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.milestone-substeps {
|
|
813
|
+
margin-top: 8px;
|
|
814
|
+
display: flex;
|
|
815
|
+
flex-direction: column;
|
|
816
|
+
gap: 10px;
|
|
817
|
+
padding-left: 28px;
|
|
818
|
+
|
|
819
|
+
.substep-row {
|
|
820
|
+
display: flex;
|
|
821
|
+
align-items: flex-start;
|
|
822
|
+
gap: 10px;
|
|
823
|
+
font-family: 'Google Sans', 'Google Sans Text', 'Inter', sans-serif;
|
|
824
|
+
color: #1f1f1f;
|
|
825
|
+
font-size: 14px;
|
|
826
|
+
line-height: 1.8;
|
|
827
|
+
|
|
828
|
+
span {
|
|
829
|
+
color: inherit;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
&.checked {
|
|
833
|
+
color: #a1a1aa;
|
|
834
|
+
|
|
835
|
+
.check-icon.checked {
|
|
836
|
+
opacity: 0.7;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
.check-icon {
|
|
841
|
+
font-size: 20px;
|
|
842
|
+
user-select: none;
|
|
843
|
+
margin-top: 3px;
|
|
844
|
+
font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
845
|
+
|
|
846
|
+
&.checked {
|
|
847
|
+
color: #1a73e8;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
&.progress {
|
|
851
|
+
color: #1a73e8;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
&.unchecked {
|
|
855
|
+
color: #cbd5e1;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.bullet {
|
|
860
|
+
color: #9ca3af;
|
|
861
|
+
font-weight: bold;
|
|
862
|
+
user-select: none;
|
|
863
|
+
padding-left: 2px;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.line-text {
|
|
867
|
+
word-break: break-word;
|
|
868
|
+
color: inherit;
|
|
869
|
+
|
|
870
|
+
span {
|
|
871
|
+
color: inherit;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.bold-segment {
|
|
875
|
+
font-weight: inherit;
|
|
876
|
+
color: inherit;
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.milestone-checks-container {
|
|
883
|
+
margin-top: 8px;
|
|
884
|
+
padding-left: 28px;
|
|
885
|
+
display: flex;
|
|
886
|
+
flex-direction: column;
|
|
887
|
+
gap: 8px;
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.verification-card {
|
|
892
|
+
background: #f8fafc;
|
|
893
|
+
border: 1px solid #e2e8f0;
|
|
894
|
+
border-radius: 6px;
|
|
895
|
+
padding: 8px 12px;
|
|
896
|
+
display: flex;
|
|
897
|
+
flex-direction: column;
|
|
898
|
+
gap: 4px;
|
|
899
|
+
|
|
900
|
+
&.standalone {
|
|
901
|
+
margin-top: 8px;
|
|
902
|
+
margin-bottom: 8px;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.card-header {
|
|
906
|
+
display: flex;
|
|
907
|
+
align-items: center;
|
|
908
|
+
|
|
909
|
+
.card-tag {
|
|
910
|
+
font-family: 'Google Sans Text', 'Inter', -apple-system, sans-serif;
|
|
911
|
+
font-size: 10.5px;
|
|
912
|
+
font-weight: 600;
|
|
913
|
+
line-height: 1;
|
|
914
|
+
letter-spacing: 0.6px;
|
|
915
|
+
text-transform: uppercase;
|
|
916
|
+
color: #64748b;
|
|
917
|
+
|
|
918
|
+
&.assert {
|
|
919
|
+
color: #0284c7;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
.card-body {
|
|
925
|
+
font-family: inherit;
|
|
926
|
+
font-size: 13.5px;
|
|
927
|
+
line-height: 1.6;
|
|
928
|
+
color: #334155;
|
|
929
|
+
word-break: break-word;
|
|
930
|
+
|
|
931
|
+
.bold-segment {
|
|
932
|
+
font-weight: 600;
|
|
933
|
+
color: #1e293b;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
.code-segment {
|
|
937
|
+
font-family: 'Fira Code', 'Roboto Mono', Consolas, monospace;
|
|
938
|
+
font-size: 12px;
|
|
939
|
+
background: #f1f5f9;
|
|
940
|
+
color: #0f172a;
|
|
941
|
+
padding: 1.5px 6px;
|
|
942
|
+
border-radius: 4px;
|
|
943
|
+
border: 1px solid #e2e8f0;
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
&.finding {
|
|
948
|
+
background: #fffbeb;
|
|
949
|
+
border-color: #fef3c7;
|
|
950
|
+
|
|
951
|
+
.card-header .card-tag {
|
|
952
|
+
color: #b45309;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.card-body {
|
|
956
|
+
color: #92400e;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.other-lines-container {
|
|
962
|
+
display: flex;
|
|
963
|
+
flex-direction: column;
|
|
964
|
+
padding: 8px 4px;
|
|
965
|
+
|
|
966
|
+
.md-line {
|
|
967
|
+
display: flex;
|
|
968
|
+
align-items: flex-start;
|
|
969
|
+
gap: 10px;
|
|
970
|
+
margin-bottom: 14px;
|
|
971
|
+
min-height: 22px;
|
|
972
|
+
font-family: 'Google Sans', 'Google Sans Text', 'Inter', sans-serif;
|
|
973
|
+
color: #1f1f1f;
|
|
974
|
+
font-size: 14px;
|
|
975
|
+
line-height: 1.6;
|
|
976
|
+
|
|
977
|
+
&.empty {
|
|
978
|
+
height: 12px;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
&.h1 {
|
|
982
|
+
font-size: 14px;
|
|
983
|
+
font-weight: 700;
|
|
984
|
+
margin-top: 24px;
|
|
985
|
+
margin-bottom: 12px;
|
|
986
|
+
border-bottom: 1px solid #e5e7eb;
|
|
987
|
+
padding-bottom: 6px;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
&.h2 {
|
|
991
|
+
font-size: 14px;
|
|
992
|
+
font-weight: 700;
|
|
993
|
+
margin-top: 20px;
|
|
994
|
+
margin-bottom: 10px;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
&.h3 {
|
|
998
|
+
font-size: 14px;
|
|
999
|
+
font-weight: 700;
|
|
1000
|
+
margin-top: 14px;
|
|
1001
|
+
margin-bottom: 8px;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
&.checked {
|
|
1005
|
+
color: #a1a1aa;
|
|
1006
|
+
|
|
1007
|
+
.check-icon {
|
|
1008
|
+
color: #1a73e8;
|
|
1009
|
+
opacity: 0.7;
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
&.progress {
|
|
1014
|
+
.check-icon {
|
|
1015
|
+
color: #1a73e8;
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
&.unchecked {
|
|
1020
|
+
.check-icon {
|
|
1021
|
+
color: #cbd5e1;
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
&.list-item {
|
|
1026
|
+
.bullet {
|
|
1027
|
+
color: #9ca3af;
|
|
1028
|
+
font-weight: bold;
|
|
1029
|
+
user-select: none;
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
span {
|
|
1034
|
+
color: inherit;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
.check-icon {
|
|
1038
|
+
font-size: 20px;
|
|
1039
|
+
user-select: none;
|
|
1040
|
+
margin-top: 1px;
|
|
1041
|
+
font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.line-text {
|
|
1045
|
+
word-break: break-word;
|
|
1046
|
+
color: inherit;
|
|
1047
|
+
|
|
1048
|
+
span {
|
|
1049
|
+
color: inherit;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.bold-segment {
|
|
1053
|
+
font-weight: inherit;
|
|
1054
|
+
color: inherit;
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
@keyframes pulse {
|
|
1064
|
+
0% { transform: scale(0.85); opacity: 0.6; }
|
|
1065
|
+
50% { transform: scale(1.15); opacity: 1; }
|
|
1066
|
+
100% { transform: scale(0.85); opacity: 0.6; }
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
@keyframes bannerSlideIn {
|
|
1070
|
+
from { transform: translateY(5px); opacity: 0; }
|
|
1071
|
+
to { transform: translateY(0); opacity: 1; }
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
@keyframes fadeIn {
|
|
1075
|
+
from { opacity: 0; transform: translateY(4px); }
|
|
1076
|
+
to { opacity: 1; transform: translateY(0); }
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
@keyframes pulse-black-dot-small {
|
|
1080
|
+
0% {
|
|
1081
|
+
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
|
|
1082
|
+
}
|
|
1083
|
+
70% {
|
|
1084
|
+
box-shadow: 0 0 0 4px rgba(0, 0, 0, 0);
|
|
1085
|
+
}
|
|
1086
|
+
100% {
|
|
1087
|
+
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
@keyframes pulse-blue-dot {
|
|
1092
|
+
0% {
|
|
1093
|
+
box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
|
|
1094
|
+
}
|
|
1095
|
+
70% {
|
|
1096
|
+
box-shadow: 0 0 0 5px rgba(37, 99, 235, 0);
|
|
1097
|
+
}
|
|
1098
|
+
100% {
|
|
1099
|
+
box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
@container (max-width: 380px) {
|
|
1104
|
+
.chat-header {
|
|
1105
|
+
padding: 0 8px;
|
|
1106
|
+
gap: 6px;
|
|
1107
|
+
height: 36px;
|
|
1108
|
+
|
|
1109
|
+
.header-left {
|
|
1110
|
+
display: none;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
.tab-selector-bar {
|
|
1114
|
+
padding: 2px;
|
|
1115
|
+
gap: 1px;
|
|
1116
|
+
|
|
1117
|
+
.tab-selector-btn {
|
|
1118
|
+
padding: 5px 8px;
|
|
1119
|
+
font-size: 12px;
|
|
1120
|
+
gap: 4px;
|
|
1121
|
+
|
|
1122
|
+
.tab-icon {
|
|
1123
|
+
font-size: 14px;
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.header-right {
|
|
1129
|
+
.btn-clear-history {
|
|
1130
|
+
height: 24px;
|
|
1131
|
+
width: 30px;
|
|
1132
|
+
padding: 0;
|
|
1133
|
+
font-size: 12px;
|
|
1134
|
+
gap: 0;
|
|
1135
|
+
border-radius: 16px;
|
|
1136
|
+
box-sizing: border-box;
|
|
1137
|
+
display: inline-flex;
|
|
1138
|
+
align-items: center;
|
|
1139
|
+
justify-content: center;
|
|
1140
|
+
|
|
1141
|
+
.material-symbols-outlined {
|
|
1142
|
+
font-size: 14px;
|
|
1143
|
+
line-height: 1;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.btn-text {
|
|
1147
|
+
display: none;
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
@container (max-width: 340px) {
|
|
1155
|
+
.chat-header {
|
|
1156
|
+
.tab-selector-bar {
|
|
1157
|
+
.tab-selector-btn {
|
|
1158
|
+
padding: 5px 6px;
|
|
1159
|
+
.tab-text {
|
|
1160
|
+
display: none;
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.header-right {
|
|
1166
|
+
.btn-clear-history {
|
|
1167
|
+
width: 26px;
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
}
|