android-midscene-automation 1.1.11 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (743) hide show
  1. package/README.md +11 -1776
  2. package/bin/android-midscene-automation.js +2 -104
  3. package/package.json +6 -76
  4. package/AI/350/257/206/345/210/253/346/223/215/344/275/234/350/257/264/346/230/216.md +0 -442
  5. package/CHANGELOG.md +0 -286
  6. package/FAQ.md +0 -105
  7. package/USAGE.md +0 -1085
  8. package/artemis-main/.dockerignore +0 -15
  9. package/artemis-main/.env.example +0 -34
  10. package/artemis-main/CONTRIBUTING.md +0 -35
  11. package/artemis-main/Dockerfile +0 -68
  12. package/artemis-main/LICENSE +0 -202
  13. package/artemis-main/Makefile +0 -115
  14. package/artemis-main/README.md +0 -322
  15. package/artemis-main/README_CN.md +0 -320
  16. package/artemis-main/apps/__init__.py +0 -15
  17. package/artemis-main/apps/admin_console/__init__.py +0 -19
  18. package/artemis-main/apps/admin_console/core/__init__.py +0 -13
  19. package/artemis-main/apps/admin_console/core/config.py +0 -43
  20. package/artemis-main/apps/admin_console/core/security.py +0 -178
  21. package/artemis-main/apps/admin_console/core/state.py +0 -243
  22. package/artemis-main/apps/admin_console/database/__init__.py +0 -13
  23. package/artemis-main/apps/admin_console/database/connection.py +0 -60
  24. package/artemis-main/apps/admin_console/database/repositories/__init__.py +0 -13
  25. package/artemis-main/apps/admin_console/database/repositories/session_repository.py +0 -564
  26. package/artemis-main/apps/admin_console/database/repositories/step_repository.py +0 -512
  27. package/artemis-main/apps/admin_console/database/repositories/trace_repository.py +0 -133
  28. package/artemis-main/apps/admin_console/index.html +0 -3787
  29. package/artemis-main/apps/admin_console/replay_manager.py +0 -2585
  30. package/artemis-main/apps/admin_console/routers/__init__.py +0 -13
  31. package/artemis-main/apps/admin_console/routers/media.py +0 -198
  32. package/artemis-main/apps/admin_console/routers/replay.py +0 -91
  33. package/artemis-main/apps/admin_console/routers/sessions.py +0 -239
  34. package/artemis-main/apps/admin_console/routers/steps.py +0 -109
  35. package/artemis-main/apps/admin_console/routers/stream.py +0 -56
  36. package/artemis-main/apps/admin_console/routers/system.py +0 -761
  37. package/artemis-main/apps/admin_console/routers/tasks.py +0 -517
  38. package/artemis-main/apps/admin_console/schemas/__init__.py +0 -13
  39. package/artemis-main/apps/admin_console/schemas/task_schema.py +0 -47
  40. package/artemis-main/apps/admin_console/server.py +0 -541
  41. package/artemis-main/apps/admin_console/services/__init__.py +0 -13
  42. package/artemis-main/apps/admin_console/services/device_stream_service.py +0 -137
  43. package/artemis-main/apps/admin_console/services/ipc_service.py +0 -262
  44. package/artemis-main/apps/admin_console/services/media_service.py +0 -623
  45. package/artemis-main/apps/admin_console/services/model_service.py +0 -148
  46. package/artemis-main/apps/admin_console/services/task_preset_catalog.py +0 -514
  47. package/artemis-main/apps/admin_console/services/task_queue_service.py +0 -1719
  48. package/artemis-main/apps/admin_console/services/worker_process_io.py +0 -144
  49. package/artemis-main/apps/showcase_ui/README.md +0 -31
  50. package/artemis-main/apps/showcase_ui/angular.json +0 -132
  51. package/artemis-main/apps/showcase_ui/package-lock.json +0 -9472
  52. package/artemis-main/apps/showcase_ui/package.json +0 -39
  53. package/artemis-main/apps/showcase_ui/proxy.conf.json +0 -23
  54. package/artemis-main/apps/showcase_ui/public/favicon.ico +0 -0
  55. package/artemis-main/apps/showcase_ui/public/logo.png +0 -0
  56. package/artemis-main/apps/showcase_ui/public/logo.svg +0 -56
  57. package/artemis-main/apps/showcase_ui/src/app/app.component.html +0 -24
  58. package/artemis-main/apps/showcase_ui/src/app/app.component.scss +0 -49
  59. package/artemis-main/apps/showcase_ui/src/app/app.component.spec.ts +0 -42
  60. package/artemis-main/apps/showcase_ui/src/app/app.component.ts +0 -32
  61. package/artemis-main/apps/showcase_ui/src/app/app.config.ts +0 -29
  62. package/artemis-main/apps/showcase_ui/src/app/app.routes.ts +0 -27
  63. package/artemis-main/apps/showcase_ui/src/app/components/agent-stream/agent-stream-startup.spec.ts +0 -108
  64. package/artemis-main/apps/showcase_ui/src/app/components/agent-stream/agent-stream.component.html +0 -1436
  65. package/artemis-main/apps/showcase_ui/src/app/components/agent-stream/agent-stream.component.scss +0 -3973
  66. package/artemis-main/apps/showcase_ui/src/app/components/agent-stream/agent-stream.component.ts +0 -2235
  67. package/artemis-main/apps/showcase_ui/src/app/components/chat-interface/chat-interface.component.html +0 -380
  68. package/artemis-main/apps/showcase_ui/src/app/components/chat-interface/chat-interface.component.scss +0 -1171
  69. package/artemis-main/apps/showcase_ui/src/app/components/chat-interface/chat-interface.component.ts +0 -270
  70. package/artemis-main/apps/showcase_ui/src/app/components/floating-video-player/floating-video-player.component.html +0 -433
  71. package/artemis-main/apps/showcase_ui/src/app/components/floating-video-player/floating-video-player.component.scss +0 -987
  72. package/artemis-main/apps/showcase_ui/src/app/components/floating-video-player/floating-video-player.component.ts +0 -632
  73. package/artemis-main/apps/showcase_ui/src/app/components/legacy-agent-stream/legacy-agent-stream.component.html +0 -130
  74. package/artemis-main/apps/showcase_ui/src/app/components/legacy-agent-stream/legacy-agent-stream.component.scss +0 -406
  75. package/artemis-main/apps/showcase_ui/src/app/components/legacy-agent-stream/legacy-agent-stream.component.ts +0 -74
  76. package/artemis-main/apps/showcase_ui/src/app/components/nav-switcher/nav-switcher.component.scss +0 -115
  77. package/artemis-main/apps/showcase_ui/src/app/components/nav-switcher/nav-switcher.component.ts +0 -52
  78. package/artemis-main/apps/showcase_ui/src/app/core/data/smart-tasks.data.ts +0 -334
  79. package/artemis-main/apps/showcase_ui/src/app/core/i18n/language.service.spec.ts +0 -55
  80. package/artemis-main/apps/showcase_ui/src/app/core/i18n/language.service.ts +0 -61
  81. package/artemis-main/apps/showcase_ui/src/app/core/i18n/translate.pipe.ts +0 -11
  82. package/artemis-main/apps/showcase_ui/src/app/core/i18n/zh-cn.ts +0 -651
  83. package/artemis-main/apps/showcase_ui/src/app/core/models/markdown.model.ts +0 -43
  84. package/artemis-main/apps/showcase_ui/src/app/core/models/pro-tuning.model.spec.ts +0 -47
  85. package/artemis-main/apps/showcase_ui/src/app/core/models/pro-tuning.model.ts +0 -165
  86. package/artemis-main/apps/showcase_ui/src/app/core/models/session.model.ts +0 -85
  87. package/artemis-main/apps/showcase_ui/src/app/core/models/stream.model.ts +0 -246
  88. package/artemis-main/apps/showcase_ui/src/app/core/models/system.model.ts +0 -118
  89. package/artemis-main/apps/showcase_ui/src/app/core/services/task-recommendation.service.ts +0 -111
  90. package/artemis-main/apps/showcase_ui/src/app/pages/home/home.component.html +0 -2130
  91. package/artemis-main/apps/showcase_ui/src/app/pages/home/home.component.scss +0 -5204
  92. package/artemis-main/apps/showcase_ui/src/app/pages/home/home.component.ts +0 -1189
  93. package/artemis-main/apps/showcase_ui/src/app/pages/legacy-workspace/legacy-workspace.component.html +0 -39
  94. package/artemis-main/apps/showcase_ui/src/app/pages/legacy-workspace/legacy-workspace.component.scss +0 -151
  95. package/artemis-main/apps/showcase_ui/src/app/pages/legacy-workspace/legacy-workspace.component.ts +0 -58
  96. package/artemis-main/apps/showcase_ui/src/app/pages/workspace/workspace.component.html +0 -201
  97. package/artemis-main/apps/showcase_ui/src/app/pages/workspace/workspace.component.scss +0 -886
  98. package/artemis-main/apps/showcase_ui/src/app/pages/workspace/workspace.component.ts +0 -324
  99. package/artemis-main/apps/showcase_ui/src/app/services/agent.service.spec.ts +0 -418
  100. package/artemis-main/apps/showcase_ui/src/app/services/agent.service.ts +0 -2012
  101. package/artemis-main/apps/showcase_ui/src/app/services/system.service.spec.ts +0 -173
  102. package/artemis-main/apps/showcase_ui/src/app/services/system.service.ts +0 -620
  103. package/artemis-main/apps/showcase_ui/src/app/utils/action-formatter.util.spec.ts +0 -513
  104. package/artemis-main/apps/showcase_ui/src/app/utils/action-formatter.util.ts +0 -1015
  105. package/artemis-main/apps/showcase_ui/src/app/utils/image-overlay.util.spec.ts +0 -85
  106. package/artemis-main/apps/showcase_ui/src/app/utils/image-overlay.util.ts +0 -662
  107. package/artemis-main/apps/showcase_ui/src/app/utils/markdown-parser.util.spec.ts +0 -70
  108. package/artemis-main/apps/showcase_ui/src/app/utils/markdown-parser.util.ts +0 -383
  109. package/artemis-main/apps/showcase_ui/src/app/utils/recording-timeline.util.spec.ts +0 -107
  110. package/artemis-main/apps/showcase_ui/src/app/utils/recording-timeline.util.ts +0 -123
  111. package/artemis-main/apps/showcase_ui/src/app/utils/run-info.util.spec.ts +0 -92
  112. package/artemis-main/apps/showcase_ui/src/app/utils/run-info.util.ts +0 -116
  113. package/artemis-main/apps/showcase_ui/src/app/utils/stream-aggregator.util.spec.ts +0 -640
  114. package/artemis-main/apps/showcase_ui/src/app/utils/stream-aggregator.util.ts +0 -1021
  115. package/artemis-main/apps/showcase_ui/src/app/utils/tool-formatter.util.spec.ts +0 -375
  116. package/artemis-main/apps/showcase_ui/src/app/utils/tool-formatter.util.ts +0 -1419
  117. package/artemis-main/apps/showcase_ui/src/index.html +0 -37
  118. package/artemis-main/apps/showcase_ui/src/main.ts +0 -22
  119. package/artemis-main/apps/showcase_ui/src/styles.scss +0 -60
  120. package/artemis-main/apps/showcase_ui/tsconfig.app.json +0 -23
  121. package/artemis-main/apps/showcase_ui/tsconfig.json +0 -27
  122. package/artemis-main/apps/showcase_ui/tsconfig.spec.json +0 -23
  123. package/artemis-main/artemis/__init__.py +0 -44
  124. package/artemis-main/artemis/__main__.py +0 -18
  125. package/artemis-main/artemis/_legacy_imports.py +0 -94
  126. package/artemis-main/artemis/_version.py +0 -30
  127. package/artemis-main/artemis/agents/__init__.py +0 -17
  128. package/artemis-main/artemis/agents/checker/checker.json +0 -9
  129. package/artemis-main/artemis/agents/checker/checker.py +0 -859
  130. package/artemis-main/artemis/agents/diagnoser/diagnoser.json +0 -23
  131. package/artemis-main/artemis/agents/diagnoser/diagnoser.py +0 -608
  132. package/artemis-main/artemis/agents/explorer/constants.py +0 -52
  133. package/artemis-main/artemis/agents/explorer/explorer.json +0 -57
  134. package/artemis-main/artemis/agents/explorer/explorer.py +0 -473
  135. package/artemis-main/artemis/agents/explorer/geometry.py +0 -73
  136. package/artemis-main/artemis/agents/explorer/native_runner.py +0 -878
  137. package/artemis-main/artemis/agents/explorer/perception_tools.py +0 -632
  138. package/artemis-main/artemis/agents/explorer/run_setup.py +0 -403
  139. package/artemis-main/artemis/agents/explorer/screen_index.py +0 -266
  140. package/artemis-main/artemis/agents/explorer/tiers.py +0 -110
  141. package/artemis-main/artemis/agents/explorer/tool_declarations.py +0 -394
  142. package/artemis-main/artemis/agents/explorer/universal_runner.py +0 -317
  143. package/artemis-main/artemis/agents/flash/context_compressor.py +0 -452
  144. package/artemis-main/artemis/agents/flash/flash_runner.md +0 -51
  145. package/artemis-main/artemis/agents/flash/flash_summarizer.md +0 -53
  146. package/artemis-main/artemis/agents/flash/flash_summarizer_single.md +0 -54
  147. package/artemis-main/artemis/agents/flash/runner.py +0 -1167
  148. package/artemis-main/artemis/agents/flash/summarizer.py +0 -511
  149. package/artemis-main/artemis/agents/history_analyzer/history_analyzer.md +0 -8
  150. package/artemis-main/artemis/agents/history_analyzer/history_analyzer.py +0 -182
  151. package/artemis-main/artemis/agents/image_processor/image_processor.md +0 -74
  152. package/artemis-main/artemis/agents/image_processor/image_processor.py +0 -322
  153. package/artemis-main/artemis/agents/log_analyzer/log_analyzer.md +0 -15
  154. package/artemis-main/artemis/agents/log_analyzer/log_analyzer.py +0 -403
  155. package/artemis-main/artemis/agents/log_analyzer/log_reader_sub_agent.md +0 -8
  156. package/artemis-main/artemis/agents/log_analyzer/output_analyzer.md +0 -11
  157. package/artemis-main/artemis/agents/log_analyzer/output_analyzer.py +0 -163
  158. package/artemis-main/artemis/agents/object_detector/object_detector.json +0 -9
  159. package/artemis-main/artemis/agents/object_detector/object_detector.py +0 -211
  160. package/artemis-main/artemis/agents/operator/operator.json +0 -3
  161. package/artemis-main/artemis/agents/operator/operator.py +0 -1394
  162. package/artemis-main/artemis/agents/operator/prompts.py +0 -1064
  163. package/artemis-main/artemis/agents/outputter/outputter.md +0 -36
  164. package/artemis-main/artemis/agents/outputter/outputter.py +0 -552
  165. package/artemis-main/artemis/agents/planner/planner.json +0 -32
  166. package/artemis-main/artemis/agents/planner/planner.py +0 -436
  167. package/artemis-main/artemis/agents/prompt_assembly.py +0 -79
  168. package/artemis-main/artemis/agents/summarizer/summarizer.py +0 -190
  169. package/artemis-main/artemis/agents/validator/action_execution.py +0 -98
  170. package/artemis-main/artemis/agents/validator/categories.py +0 -33
  171. package/artemis-main/artemis/agents/validator/execution_loop.py +0 -488
  172. package/artemis-main/artemis/agents/validator/incidents.py +0 -120
  173. package/artemis-main/artemis/agents/validator/pixel_safety_net.md +0 -15
  174. package/artemis-main/artemis/agents/validator/precondition_pixel.py +0 -320
  175. package/artemis-main/artemis/agents/validator/precondition_xml.py +0 -672
  176. package/artemis-main/artemis/agents/validator/tool_declarations.py +0 -332
  177. package/artemis-main/artemis/agents/validator/validator.py +0 -188
  178. package/artemis-main/artemis/agents/video_analyzer/__init__.py +0 -15
  179. package/artemis-main/artemis/agents/video_analyzer/audio_native.py +0 -543
  180. package/artemis-main/artemis/agents/video_analyzer/blackboard.py +0 -821
  181. package/artemis-main/artemis/agents/video_analyzer/chunk_agentic.py +0 -455
  182. package/artemis-main/artemis/agents/video_analyzer/chunk_conversation.py +0 -491
  183. package/artemis-main/artemis/agents/video_analyzer/chunk_native.py +0 -437
  184. package/artemis-main/artemis/agents/video_analyzer/conflict_resolution.py +0 -137
  185. package/artemis-main/artemis/agents/video_analyzer/gemini_files.py +0 -162
  186. package/artemis-main/artemis/agents/video_analyzer/native_coordinator.py +0 -541
  187. package/artemis-main/artemis/agents/video_analyzer/reliability.py +0 -128
  188. package/artemis-main/artemis/agents/video_analyzer/universal_engine.py +0 -487
  189. package/artemis-main/artemis/agents/video_analyzer/universal_tools.py +0 -323
  190. package/artemis-main/artemis/agents/video_analyzer/video_analyzer.md +0 -51
  191. package/artemis-main/artemis/agents/video_analyzer/video_analyzer.py +0 -875
  192. package/artemis-main/artemis/agents/video_analyzer/video_sub_agent.md +0 -15
  193. package/artemis-main/artemis/agents/video_analyzer/video_sub_agent_audio.md +0 -12
  194. package/artemis-main/artemis/clients/accessibility_client.py +0 -438
  195. package/artemis-main/artemis/clients/screen_client_factory.py +0 -403
  196. package/artemis-main/artemis/config/__init__.py +0 -309
  197. package/artemis-main/artemis/config/agent.py +0 -1098
  198. package/artemis-main/artemis/config/constants.py +0 -151
  199. package/artemis-main/artemis/config/core/__init__.py +0 -24
  200. package/artemis-main/artemis/config/core/engine.py +0 -118
  201. package/artemis-main/artemis/config/core/interpolator.py +0 -78
  202. package/artemis-main/artemis/config/llm.py +0 -267
  203. package/artemis-main/artemis/config/paths.py +0 -244
  204. package/artemis-main/artemis/config/runtime.py +0 -197
  205. package/artemis-main/artemis/config/settings.py +0 -315
  206. package/artemis-main/artemis/constants.py +0 -47
  207. package/artemis-main/artemis/context.py +0 -289
  208. package/artemis-main/artemis/controllers/__init__.py +0 -41
  209. package/artemis-main/artemis/controllers/controller_factory.py +0 -41
  210. package/artemis-main/artemis/controllers/device_controller.py +0 -29
  211. package/artemis-main/artemis/controllers/types.py +0 -37
  212. package/artemis-main/artemis/controllers/unified_controller.py +0 -649
  213. package/artemis-main/artemis/core/__init__.py +0 -21
  214. package/artemis-main/artemis/core/diagnostics/__init__.py +0 -90
  215. package/artemis-main/artemis/core/diagnostics/adb_keys.py +0 -270
  216. package/artemis-main/artemis/core/diagnostics/adb_server_connection.py +0 -330
  217. package/artemis-main/artemis/core/diagnostics/device_smoke.py +0 -364
  218. package/artemis-main/artemis/core/diagnostics/emulator_manager.py +0 -501
  219. package/artemis-main/artemis/core/diagnostics/engine.py +0 -438
  220. package/artemis-main/artemis/core/diagnostics/hierarchy_parity.py +0 -216
  221. package/artemis-main/artemis/core/diagnostics/probes/adb_probe.py +0 -887
  222. package/artemis-main/artemis/core/diagnostics/probes/base.py +0 -45
  223. package/artemis-main/artemis/core/diagnostics/probes/credentials_probe.py +0 -296
  224. package/artemis-main/artemis/core/diagnostics/probes/host_probe.py +0 -427
  225. package/artemis-main/artemis/core/diagnostics/probes/runtime_probe.py +0 -169
  226. package/artemis-main/artemis/core/diagnostics/probes/toolchain_probe.py +0 -139
  227. package/artemis-main/artemis/core/diagnostics/readiness.py +0 -83
  228. package/artemis-main/artemis/core/diagnostics/schema.py +0 -118
  229. package/artemis-main/artemis/core/tool_declaration.py +0 -43
  230. package/artemis-main/artemis/core/tool_failure.py +0 -56
  231. package/artemis-main/artemis/data_engine/context_vars.py +0 -24
  232. package/artemis-main/artemis/data_engine/engine.py +0 -1615
  233. package/artemis-main/artemis/data_engine/history_reader.py +0 -142
  234. package/artemis-main/artemis/data_engine/models.py +0 -131
  235. package/artemis-main/artemis/data_engine/storage.py +0 -1245
  236. package/artemis-main/artemis/data_engine/trace.py +0 -727
  237. package/artemis-main/artemis/drivers/__init__.py +0 -48
  238. package/artemis-main/artemis/drivers/android/adb_driver.py +0 -507
  239. package/artemis-main/artemis/drivers/android/hierarchy.py +0 -64
  240. package/artemis-main/artemis/drivers/android/input_ime.py +0 -120
  241. package/artemis-main/artemis/drivers/android/recorder.py +0 -57
  242. package/artemis-main/artemis/drivers/base.py +0 -290
  243. package/artemis-main/artemis/drivers/cloud/cloud_driver.py +0 -117
  244. package/artemis-main/artemis/drivers/factory.py +0 -80
  245. package/artemis-main/artemis/drivers/mock/mock_driver.py +0 -198
  246. package/artemis-main/artemis/drivers/types.py +0 -67
  247. package/artemis-main/artemis/graph/checkpoints.py +0 -1243
  248. package/artemis-main/artemis/graph/graph.py +0 -1055
  249. package/artemis-main/artemis/graph/perception.py +0 -234
  250. package/artemis-main/artemis/graph/state.py +0 -151
  251. package/artemis-main/artemis/graph/visibility.py +0 -238
  252. package/artemis-main/artemis/interfaces/cli/__init__.py +0 -19
  253. package/artemis-main/artemis/interfaces/cli/commands/__init__.py +0 -15
  254. package/artemis-main/artemis/interfaces/cli/commands/batch.py +0 -278
  255. package/artemis-main/artemis/interfaces/cli/commands/doctor.py +0 -468
  256. package/artemis-main/artemis/interfaces/cli/commands/helper.py +0 -226
  257. package/artemis-main/artemis/interfaces/cli/commands/init.py +0 -193
  258. package/artemis-main/artemis/interfaces/cli/commands/mcp.py +0 -862
  259. package/artemis-main/artemis/interfaces/cli/commands/run.py +0 -463
  260. package/artemis-main/artemis/interfaces/cli/commands/server.py +0 -151
  261. package/artemis-main/artemis/interfaces/cli/commands/server_lifecycle.py +0 -328
  262. package/artemis-main/artemis/interfaces/cli/commands/trace.py +0 -111
  263. package/artemis-main/artemis/interfaces/cli/commands/ui.py +0 -404
  264. package/artemis-main/artemis/interfaces/cli/main.py +0 -109
  265. package/artemis-main/artemis/interfaces/sdk/__init__.py +0 -31
  266. package/artemis-main/artemis/interfaces/sdk/client.py +0 -19
  267. package/artemis-main/artemis/interfaces/sdk/task.py +0 -72
  268. package/artemis-main/artemis/llm/__init__.py +0 -25
  269. package/artemis-main/artemis/llm/fake_model.py +0 -179
  270. package/artemis-main/artemis/llm/google/__init__.py +0 -57
  271. package/artemis-main/artemis/llm/google/provider.py +0 -185
  272. package/artemis-main/artemis/llm/google/usage.py +0 -148
  273. package/artemis-main/artemis/llm/parser.py +0 -32
  274. package/artemis-main/artemis/llm/reliability.py +0 -267
  275. package/artemis-main/artemis/llm/router.py +0 -389
  276. package/artemis-main/artemis/llm/schemas.py +0 -36
  277. package/artemis-main/artemis/llm/structured.py +0 -196
  278. package/artemis-main/artemis/main.py +0 -58
  279. package/artemis-main/artemis/mcp/__init__.py +0 -20
  280. package/artemis-main/artemis/mcp/action_executor.py +0 -760
  281. package/artemis-main/artemis/mcp/action_manifest.py +0 -320
  282. package/artemis-main/artemis/mcp/action_names.py +0 -172
  283. package/artemis-main/artemis/mcp/action_server.py +0 -202
  284. package/artemis-main/artemis/mcp/action_session.py +0 -245
  285. package/artemis-main/artemis/mcp/action_specs.py +0 -868
  286. package/artemis-main/artemis/mcp/action_types.py +0 -86
  287. package/artemis-main/artemis/mcp/actuators/__init__.py +0 -21
  288. package/artemis-main/artemis/mcp/actuators/adb.py +0 -414
  289. package/artemis-main/artemis/mcp/actuators/base.py +0 -113
  290. package/artemis-main/artemis/mcp/actuators/mock.py +0 -70
  291. package/artemis-main/artemis/mcp/adb_server.py +0 -490
  292. package/artemis-main/artemis/mcp/observation.py +0 -133
  293. package/artemis-main/artemis/mcp/xml_search_server.py +0 -297
  294. package/artemis-main/artemis/memory/__init__.py +0 -90
  295. package/artemis-main/artemis/memory/chunking.py +0 -1843
  296. package/artemis-main/artemis/memory/context_policy.py +0 -226
  297. package/artemis-main/artemis/memory/step_capsule.md +0 -73
  298. package/artemis-main/artemis/memory/step_memory.py +0 -281
  299. package/artemis-main/artemis/memory/transcript.py +0 -798
  300. package/artemis-main/artemis/platform/__init__.py +0 -61
  301. package/artemis-main/artemis/platform/base.py +0 -104
  302. package/artemis-main/artemis/platform/darwin.py +0 -184
  303. package/artemis-main/artemis/platform/linux.py +0 -207
  304. package/artemis-main/artemis/platform/windows.py +0 -193
  305. package/artemis-main/artemis/resources/__init__.py +0 -46
  306. package/artemis-main/artemis/runtime/__init__.py +0 -108
  307. package/artemis-main/artemis/runtime/adb_endpoint.py +0 -173
  308. package/artemis-main/artemis/runtime/awake_lease.py +0 -283
  309. package/artemis-main/artemis/runtime/awake_service.py +0 -343
  310. package/artemis-main/artemis/runtime/cancel_requests.py +0 -254
  311. package/artemis-main/artemis/runtime/daemon_client.py +0 -422
  312. package/artemis-main/artemis/runtime/device_lock.py +0 -1013
  313. package/artemis-main/artemis/runtime/device_pool.py +0 -478
  314. package/artemis-main/artemis/runtime/helper_manager.py +0 -1030
  315. package/artemis-main/artemis/runtime/process_probe.py +0 -98
  316. package/artemis-main/artemis/runtime/server_lifecycle.py +0 -435
  317. package/artemis-main/artemis/runtime/supervisor.py +0 -121
  318. package/artemis-main/artemis/runtime/trace_store.py +0 -375
  319. package/artemis-main/artemis/sdk/__init__.py +0 -26
  320. package/artemis-main/artemis/sdk/agent.py +0 -485
  321. package/artemis-main/artemis/sdk/builders/__init__.py +0 -29
  322. package/artemis-main/artemis/sdk/builders/agent_config_builder.py +0 -474
  323. package/artemis-main/artemis/sdk/constants.py +0 -15
  324. package/artemis-main/artemis/sdk/run_outcome.py +0 -58
  325. package/artemis-main/artemis/sdk/types/__init__.py +0 -61
  326. package/artemis-main/artemis/sdk/types/agent.py +0 -89
  327. package/artemis-main/artemis/sdk/utils.py +0 -28
  328. package/artemis-main/artemis/services/llm.py +0 -1040
  329. package/artemis-main/artemis/services/token_meter.py +0 -267
  330. package/artemis-main/artemis/telemetry/__init__.py +0 -35
  331. package/artemis-main/artemis/telemetry/models.py +0 -64
  332. package/artemis-main/artemis/telemetry/replay.py +0 -34
  333. package/artemis-main/artemis/telemetry/storage/json_storage.py +0 -47
  334. package/artemis-main/artemis/telemetry/tracer.py +0 -85
  335. package/artemis-main/artemis/toolchain/__init__.py +0 -52
  336. package/artemis-main/artemis/toolchain/descriptors.py +0 -92
  337. package/artemis-main/artemis/toolchain/resolver.py +0 -185
  338. package/artemis-main/artemis/tools/base.py +0 -232
  339. package/artemis-main/artemis/tools/command_tool.py +0 -1240
  340. package/artemis-main/artemis/tools/committee_prompts.json +0 -5
  341. package/artemis-main/artemis/tools/committee_tool.py +0 -422
  342. package/artemis-main/artemis/tools/diagnoser_submit_answer_tool.py +0 -87
  343. package/artemis-main/artemis/tools/diagnostic_tool.py +0 -120
  344. package/artemis-main/artemis/tools/explorer_tool.py +0 -581
  345. package/artemis-main/artemis/tools/history/__init__.py +0 -398
  346. package/artemis-main/artemis/tools/history/replay.py +0 -120
  347. package/artemis-main/artemis/tools/history/screenshot.py +0 -139
  348. package/artemis-main/artemis/tools/history/search.py +0 -563
  349. package/artemis-main/artemis/tools/image_processor_tool.py +0 -124
  350. package/artemis-main/artemis/tools/index.py +0 -47
  351. package/artemis-main/artemis/tools/log_tool.py +0 -108
  352. package/artemis-main/artemis/tools/mobile/launch_app.py +0 -132
  353. package/artemis-main/artemis/tools/mobile/log_utils.py +0 -138
  354. package/artemis-main/artemis/tools/mobile/ocr.py +0 -202
  355. package/artemis-main/artemis/tools/mobile/read_hierarchy.py +0 -108
  356. package/artemis-main/artemis/tools/mobile/read_logs.py +0 -116
  357. package/artemis-main/artemis/tools/mobile/search_logs.py +0 -260
  358. package/artemis-main/artemis/tools/object_detection_tool.py +0 -244
  359. package/artemis-main/artemis/tools/scratchpad.py +0 -819
  360. package/artemis-main/artemis/tools/system/adb_shell.py +0 -31
  361. package/artemis-main/artemis/tools/tool_wrapper.py +0 -270
  362. package/artemis-main/artemis/tools/video_tool.py +0 -261
  363. package/artemis-main/artemis/tools/wait_tool.py +0 -97
  364. package/artemis-main/artemis/utils/app_launch_utils.py +0 -207
  365. package/artemis-main/artemis/utils/coordinates.py +0 -606
  366. package/artemis-main/artemis/utils/credentials_validator.py +0 -201
  367. package/artemis-main/artemis/utils/cv_canvas.py +0 -189
  368. package/artemis-main/artemis/utils/cython_compat.py +0 -45
  369. package/artemis-main/artemis/utils/element_hit_test.py +0 -80
  370. package/artemis-main/artemis/utils/image_diff.py +0 -335
  371. package/artemis-main/artemis/utils/image_hash.py +0 -80
  372. package/artemis-main/artemis/utils/notes.py +0 -470
  373. package/artemis-main/artemis/utils/ocr_api.py +0 -105
  374. package/artemis-main/artemis/utils/ocr_xml_fusion.py +0 -318
  375. package/artemis-main/artemis/utils/plan_grammar.py +0 -513
  376. package/artemis-main/artemis/utils/python_executor.py +0 -213
  377. package/artemis-main/artemis/utils/startup_progress.py +0 -60
  378. package/artemis-main/artemis/utils/task_tree.py +0 -1174
  379. package/artemis-main/artemis/utils/text.py +0 -37
  380. package/artemis-main/artemis/utils/ui_filter.py +0 -651
  381. package/artemis-main/artemis/utils/video.py +0 -685
  382. package/artemis-main/artemis/utils/visualization.py +0 -802
  383. package/artemis-main/config/artemis.example.jsonc +0 -12
  384. package/artemis-main/mcp_server/README.md +0 -111
  385. package/artemis-main/mcp_server/__init__.py +0 -21
  386. package/artemis-main/mcp_server/__main__.py +0 -20
  387. package/artemis-main/mcp_server/background/__init__.py +0 -15
  388. package/artemis-main/mcp_server/background/task_runner.py +0 -453
  389. package/artemis-main/mcp_server/base.py +0 -49
  390. package/artemis-main/mcp_server/notifiers/__init__.py +0 -74
  391. package/artemis-main/mcp_server/notifiers/agentapi.py +0 -289
  392. package/artemis-main/mcp_server/notifiers/base.py +0 -45
  393. package/artemis-main/mcp_server/notifiers/composite.py +0 -87
  394. package/artemis-main/mcp_server/notifiers/desktop.py +0 -108
  395. package/artemis-main/mcp_server/notifiers/file.py +0 -69
  396. package/artemis-main/mcp_server/notifiers/script.py +0 -90
  397. package/artemis-main/mcp_server/notifiers/webhook.py +0 -87
  398. package/artemis-main/mcp_server/rules.md +0 -68
  399. package/artemis-main/mcp_server/server.py +0 -106
  400. package/artemis-main/mcp_server/tools/__init__.py +0 -29
  401. package/artemis-main/mcp_server/tools/device_state.py +0 -107
  402. package/artemis-main/mcp_server/tools/diagnose.py +0 -1249
  403. package/artemis-main/mcp_server/tools/inspect_trace.py +0 -394
  404. package/artemis-main/mcp_server/tools/task_manager.py +0 -627
  405. package/artemis-main/mcp_server/tools/task_runner.py +0 -548
  406. package/artemis-main/mcp_server/utils/__init__.py +0 -15
  407. package/artemis-main/mcp_server/utils/device_utils.py +0 -180
  408. package/artemis-main/mcp_server/utils/env_utils.py +0 -65
  409. package/artemis-main/packages/artemis-accessibility-helper/ArtemisAccessibilityHelper.apk +0 -0
  410. package/artemis-main/packages/artemis-accessibility-helper/app/build.gradle.kts +0 -35
  411. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/AndroidManifest.xml +0 -49
  412. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/A11yNode.java +0 -274
  413. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/ArtemisAccessibilityService.java +0 -227
  414. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/CommandServer.java +0 -463
  415. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/DisplayUtils.java +0 -111
  416. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/GestureController.java +0 -232
  417. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/HierarchyDumper.java +0 -832
  418. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/TokenReceiver.java +0 -36
  419. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/TokenStore.java +0 -38
  420. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/java/com/artemis/helper/XmlUtils.java +0 -102
  421. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/res/values/strings.xml +0 -4
  422. package/artemis-main/packages/artemis-accessibility-helper/app/src/main/res/xml/accessibility_service_config.xml +0 -10
  423. package/artemis-main/packages/artemis-accessibility-helper/build.gradle.kts +0 -3
  424. package/artemis-main/packages/artemis-accessibility-helper/build_apk.sh +0 -215
  425. package/artemis-main/packages/artemis-accessibility-helper/debug.keystore +0 -0
  426. package/artemis-main/packages/artemis-accessibility-helper/gradle.properties +0 -2
  427. package/artemis-main/packages/artemis-accessibility-helper/helper_manifest.json +0 -7
  428. package/artemis-main/packages/artemis-accessibility-helper/settings.gradle.kts +0 -17
  429. package/artemis-main/packages/artemis-client/DESIGN.md +0 -89
  430. package/artemis-main/packages/artemis-client/README.md +0 -112
  431. package/artemis-main/packages/artemis-client/examples/basic.py +0 -30
  432. package/artemis-main/packages/artemis-client/pyproject.toml +0 -36
  433. package/artemis-main/packages/artemis-client/src/artemis_client/__init__.py +0 -45
  434. package/artemis-main/packages/artemis-client/src/artemis_client/client.py +0 -401
  435. package/artemis-main/packages/artemis-client/src/artemis_client/errors.py +0 -66
  436. package/artemis-main/packages/artemis-client/src/artemis_client/models.py +0 -212
  437. package/artemis-main/packages/artemis-client/src/artemis_client/py.typed +0 -1
  438. package/artemis-main/packages/artemis-client/src/artemis_client/transport.py +0 -134
  439. package/artemis-main/packages/artemis-client/tests/test_client.py +0 -289
  440. package/artemis-main/packages/artemis-client/tests/test_transport.py +0 -85
  441. package/artemis-main/pyproject.toml +0 -259
  442. package/artemis-main/pyright-core.json +0 -17
  443. package/artemis-main/scripts/check_dependency_sources.py +0 -68
  444. package/artemis-main/scripts/install_deps.ps1 +0 -520
  445. package/artemis-main/scripts/install_deps.sh +0 -533
  446. package/artemis-main/scripts/quality_ratchet.py +0 -97
  447. package/artemis-main/scripts/real_device_video_acceptance.py +0 -483
  448. package/artemis-main/scripts/run_edge_case_part.py +0 -327
  449. package/artemis-main/scripts/run_ui.py +0 -242
  450. package/artemis-main/scripts/start.ps1 +0 -500
  451. package/artemis-main/scripts/test_all_edge_cases.py +0 -269
  452. package/artemis-main/scripts/verify_concurrency_and_devices.py +0 -385
  453. package/artemis-main/setup.py +0 -164
  454. package/artemis-main/start.bat +0 -35
  455. package/artemis-main/start.sh +0 -423
  456. package/artemis-main/third_party/mobile_use/LICENSE +0 -190
  457. package/artemis-main/third_party/mobile_use/METADATA +0 -27
  458. package/artemis-main/third_party/mobile_use/NOTICE +0 -12
  459. package/artemis-main/third_party/mobile_use/__init__.py +0 -19
  460. package/artemis-main/third_party/mobile_use/agents/__init__.py +0 -13
  461. package/artemis-main/third_party/mobile_use/agents/hopper/__init__.py +0 -13
  462. package/artemis-main/third_party/mobile_use/agents/hopper/hopper.md +0 -22
  463. package/artemis-main/third_party/mobile_use/agents/hopper/hopper.py +0 -80
  464. package/artemis-main/third_party/mobile_use/clients/__init__.py +0 -13
  465. package/artemis-main/third_party/mobile_use/clients/ui_automator_client.py +0 -482
  466. package/artemis-main/third_party/mobile_use/config/__init__.py +0 -13
  467. package/artemis-main/third_party/mobile_use/config/llm.py +0 -183
  468. package/artemis-main/third_party/mobile_use/config/output.py +0 -184
  469. package/artemis-main/third_party/mobile_use/context.py +0 -119
  470. package/artemis-main/third_party/mobile_use/controllers/__init__.py +0 -13
  471. package/artemis-main/third_party/mobile_use/controllers/platform_specific_commands_controller.py +0 -151
  472. package/artemis-main/third_party/mobile_use/controllers/types.py +0 -92
  473. package/artemis-main/third_party/mobile_use/controllers/unified_controller.py +0 -183
  474. package/artemis-main/third_party/mobile_use/graph.py +0 -54
  475. package/artemis-main/third_party/mobile_use/llm_service.py +0 -193
  476. package/artemis-main/third_party/mobile_use/main.py +0 -130
  477. package/artemis-main/third_party/mobile_use/sdk/__init__.py +0 -13
  478. package/artemis-main/third_party/mobile_use/sdk/agent.py +0 -1060
  479. package/artemis-main/third_party/mobile_use/sdk/builders/__init__.py +0 -13
  480. package/artemis-main/third_party/mobile_use/sdk/builders/agent_config_builder.py +0 -225
  481. package/artemis-main/third_party/mobile_use/sdk/builders/index.py +0 -33
  482. package/artemis-main/third_party/mobile_use/sdk/builders/task_request_builder.py +0 -243
  483. package/artemis-main/third_party/mobile_use/sdk/types/__init__.py +0 -13
  484. package/artemis-main/third_party/mobile_use/sdk/types/agent.py +0 -98
  485. package/artemis-main/third_party/mobile_use/sdk/types/exceptions.py +0 -109
  486. package/artemis-main/third_party/mobile_use/sdk/types/task.py +0 -234
  487. package/artemis-main/third_party/mobile_use/testing.py +0 -59
  488. package/artemis-main/third_party/mobile_use/tools/__init__.py +0 -13
  489. package/artemis-main/third_party/mobile_use/tools/index.py +0 -44
  490. package/artemis-main/third_party/mobile_use/tools/mobile/__init__.py +0 -13
  491. package/artemis-main/third_party/mobile_use/tools/mobile/launch_app.py +0 -89
  492. package/artemis-main/third_party/mobile_use/tools/tool_wrapper.py +0 -52
  493. package/artemis-main/third_party/mobile_use/utils/__init__.py +0 -13
  494. package/artemis-main/third_party/mobile_use/utils/app_launch_utils.py +0 -217
  495. package/artemis-main/third_party/mobile_use/utils/cli_helpers.py +0 -60
  496. package/artemis-main/third_party/mobile_use/utils/decorators.py +0 -158
  497. package/artemis-main/third_party/mobile_use/utils/file.py +0 -31
  498. package/artemis-main/third_party/mobile_use/utils/logger.py +0 -216
  499. package/artemis-main/third_party/mobile_use/utils/media.py +0 -213
  500. package/artemis-main/third_party/mobile_use/utils/shell_utils.py +0 -39
  501. package/artemis-main/third_party/mobile_use/utils/video.py +0 -398
  502. package/artemis-main/uv.lock +0 -4908
  503. package/bin/artemis-config.mjs +0 -15
  504. package/bin/artemis-embedded.py +0 -56
  505. package/bin/start-artemis.mjs +0 -30
  506. package/bin/start-dev.mjs +0 -112
  507. package/bin/sync-readme-docs.mjs +0 -49
  508. package/bin/test_artemis_embedded.py +0 -44
  509. package/index.html +0 -12
  510. package/remote-agent/index.ts +0 -232
  511. package/server/analytics.test.ts +0 -46
  512. package/server/analytics.ts +0 -24
  513. package/server/android-device-info.ts +0 -28
  514. package/server/android-sdk.ts +0 -104
  515. package/server/api-safety-analytics.test.ts +0 -57
  516. package/server/appium-auto-save.test.ts +0 -79
  517. package/server/appium-config.test.ts +0 -182
  518. package/server/appium-recorder/ai-deduplication.test.ts +0 -80
  519. package/server/appium-recorder/ai-deduplication.ts +0 -74
  520. package/server/appium-recorder/ai-observation.test.ts +0 -125
  521. package/server/appium-recorder/ai-observation.ts +0 -125
  522. package/server/appium-recorder/ai-recognition.test.ts +0 -27
  523. package/server/appium-recorder/ai-recognition.ts +0 -186
  524. package/server/appium-recorder/appium-runner.ts +0 -1993
  525. package/server/appium-recorder/appium-version.test.ts +0 -55
  526. package/server/appium-recorder/bounded-loop.test.ts +0 -55
  527. package/server/appium-recorder/bounded-loop.ts +0 -129
  528. package/server/appium-recorder/condition-timeout.ts +0 -4
  529. package/server/appium-recorder/element-tap.test.ts +0 -312
  530. package/server/appium-recorder/flow-layout.test.ts +0 -52
  531. package/server/appium-recorder/history-capture.ts +0 -35
  532. package/server/appium-recorder/image-check.ts +0 -174
  533. package/server/appium-recorder/managed-appium.ts +0 -198
  534. package/server/appium-recorder/managed-cleanup.test.ts +0 -113
  535. package/server/appium-recorder/open-gallery.ts +0 -61
  536. package/server/appium-recorder/prompt-optimizer.ts +0 -57
  537. package/server/appium-recorder/random-value-replay.test.ts +0 -101
  538. package/server/appium-recorder/random-value.test.ts +0 -114
  539. package/server/appium-recorder/random-value.ts +0 -34
  540. package/server/appium-recorder/replay-lifecycle.test.ts +0 -123
  541. package/server/appium-recorder/replay-log.ts +0 -13
  542. package/server/appium-recorder/replay-mp4.ts +0 -72
  543. package/server/appium-recorder/replay-video-segments.ts +0 -77
  544. package/server/appium-recorder/replay-video.ts +0 -125
  545. package/server/appium-recorder/report-summary.test.ts +0 -78
  546. package/server/appium-recorder/report-summary.ts +0 -60
  547. package/server/appium-recorder/report.ts +0 -935
  548. package/server/appium-recorder/repository.ts +0 -567
  549. package/server/appium-recorder/request-timeout.test.ts +0 -34
  550. package/server/appium-recorder/request-timeout.ts +0 -34
  551. package/server/appium-recorder/routes.ts +0 -524
  552. package/server/appium-recorder/run-history.ts +0 -53
  553. package/server/appium-recorder/scrcpy-recording-source.ts +0 -85
  554. package/server/appium-recorder/screenshot.ts +0 -22
  555. package/server/appium-recorder/script-export.ts +0 -80
  556. package/server/appium-recorder/script-import.test.ts +0 -45
  557. package/server/appium-recorder/stop-app.ts +0 -18
  558. package/server/appium-recorder/stopwatch.test.ts +0 -74
  559. package/server/appium-recorder/stopwatch.ts +0 -24
  560. package/server/appium-recorder/tree-dump.ts +0 -66
  561. package/server/appium-recorder/variable-store.ts +0 -22
  562. package/server/appium-recorder/variables.ts +0 -89
  563. package/server/appium-recorder/video-response.ts +0 -36
  564. package/server/appium-recorder/visual-change.ts +0 -184
  565. package/server/artemis.ts +0 -34
  566. package/server/config-access.test.ts +0 -27
  567. package/server/config-access.ts +0 -27
  568. package/server/config-store.ts +0 -137
  569. package/server/config.ts +0 -272
  570. package/server/device-locks/repository.ts +0 -147
  571. package/server/device-locks/service.ts +0 -72
  572. package/server/device-locks/types.ts +0 -22
  573. package/server/device-sessions/repository.ts +0 -169
  574. package/server/device-sessions/service.ts +0 -59
  575. package/server/device-sessions/types.ts +0 -24
  576. package/server/http-api.ts +0 -1505
  577. package/server/model-tester.ts +0 -121
  578. package/server/operations/repository.ts +0 -226
  579. package/server/operations/service.ts +0 -84
  580. package/server/operations/types.ts +0 -27
  581. package/server/paths.ts +0 -36
  582. package/server/remote-agents/protocol.ts +0 -40
  583. package/server/remote-agents/registry.test.ts +0 -65
  584. package/server/remote-agents/registry.ts +0 -191
  585. package/server/remote-agents/replay-integration.test.ts +0 -79
  586. package/server/remote-agents/routes.ts +0 -86
  587. package/server/request-body.test.ts +0 -40
  588. package/server/request-body.ts +0 -48
  589. package/server/script-agent.ts +0 -289
  590. package/server/script-db.ts +0 -255
  591. package/server/script-runner.ts +0 -554
  592. package/server/storage/sqlite.ts +0 -112
  593. package/server/test-case-import/formatter.ts +0 -28
  594. package/server/test-case-import/parsers/excel.ts +0 -69
  595. package/server/test-case-import/parsers/txt.ts +0 -11
  596. package/server/test-case-import/parsers/word.ts +0 -9
  597. package/server/test-case-import/service.ts +0 -58
  598. package/server/test-case-import/text-normalizer.ts +0 -98
  599. package/server/test-case-import/types.ts +0 -24
  600. package/server/test-case-import/validator.ts +0 -34
  601. package/src/App.vue +0 -1035
  602. package/src/analytics/summary.ts +0 -75
  603. package/src/api.ts +0 -320
  604. package/src/appium-recorder/AppiumPage.vue +0 -2861
  605. package/src/appium-recorder/RunHistoryDialog.vue +0 -203
  606. package/src/appium-recorder/action-descriptions.ts +0 -50
  607. package/src/appium-recorder/ai-deduplication.ts +0 -34
  608. package/src/appium-recorder/ai-prompt-presets.ts +0 -34
  609. package/src/appium-recorder/ai-recognition.ts +0 -48
  610. package/src/appium-recorder/api.ts +0 -209
  611. package/src/appium-recorder/bounded-loop.ts +0 -74
  612. package/src/appium-recorder/components/AiRecognitionPromptInput.vue +0 -41
  613. package/src/appium-recorder/components/AiRecognitionSettings.vue +0 -251
  614. package/src/appium-recorder/components/AiRecognitionTestDialog.vue +0 -86
  615. package/src/appium-recorder/components/BranchTimeoutSettings.vue +0 -23
  616. package/src/appium-recorder/components/BreakLoopSettings.vue +0 -45
  617. package/src/appium-recorder/components/ComponentInspector.vue +0 -33
  618. package/src/appium-recorder/components/ComponentTree.vue +0 -139
  619. package/src/appium-recorder/components/CoordinatePointPicker.vue +0 -23
  620. package/src/appium-recorder/components/FlowActionMenu.vue +0 -257
  621. package/src/appium-recorder/components/FlowCanvas.vue +0 -391
  622. package/src/appium-recorder/components/FlowNodeCard.vue +0 -318
  623. package/src/appium-recorder/components/FlowNodeSearch.vue +0 -62
  624. package/src/appium-recorder/components/FlowRoundedEdge.vue +0 -58
  625. package/src/appium-recorder/components/FlowStepEditor.vue +0 -543
  626. package/src/appium-recorder/components/ImageCheckDialog.vue +0 -172
  627. package/src/appium-recorder/components/LongPressSettings.vue +0 -58
  628. package/src/appium-recorder/components/LoopSettings.vue +0 -39
  629. package/src/appium-recorder/components/MergeBranchesDialog.vue +0 -102
  630. package/src/appium-recorder/components/NestedConditionBranches.vue +0 -403
  631. package/src/appium-recorder/components/NewScriptDialog.vue +0 -27
  632. package/src/appium-recorder/components/NodeDetail.vue +0 -179
  633. package/src/appium-recorder/components/PresetVariables.vue +0 -110
  634. package/src/appium-recorder/components/RandomValueSettings.vue +0 -139
  635. package/src/appium-recorder/components/RecordedSteps.vue +0 -469
  636. package/src/appium-recorder/components/RecorderWorkspace.vue +0 -132
  637. package/src/appium-recorder/components/ScriptParameterSettings.vue +0 -65
  638. package/src/appium-recorder/components/StageLogSettings.vue +0 -17
  639. package/src/appium-recorder/components/StopwatchSettings.vue +0 -40
  640. package/src/appium-recorder/components/TextClickSettings.vue +0 -19
  641. package/src/appium-recorder/components/VariableExtractionSettings.vue +0 -19
  642. package/src/appium-recorder/components/VariableTable.vue +0 -82
  643. package/src/appium-recorder/components/VisualChangeDialog.vue +0 -151
  644. package/src/appium-recorder/components/VisualChangeEndPicker.vue +0 -21
  645. package/src/appium-recorder/coordinate-preview.ts +0 -37
  646. package/src/appium-recorder/flow-appearance.ts +0 -70
  647. package/src/appium-recorder/flow-copy.ts +0 -279
  648. package/src/appium-recorder/flow-graph.ts +0 -869
  649. package/src/appium-recorder/flow-insert.ts +0 -27
  650. package/src/appium-recorder/flow-labels.ts +0 -141
  651. package/src/appium-recorder/flow-layout.ts +0 -88
  652. package/src/appium-recorder/flow-merge.ts +0 -123
  653. package/src/appium-recorder/flow-normalize.ts +0 -77
  654. package/src/appium-recorder/flow-remove.ts +0 -75
  655. package/src/appium-recorder/flow-search.ts +0 -29
  656. package/src/appium-recorder/flow-unmerge.ts +0 -145
  657. package/src/appium-recorder/image-check.ts +0 -121
  658. package/src/appium-recorder/long-press.ts +0 -27
  659. package/src/appium-recorder/native-control-state.ts +0 -33
  660. package/src/appium-recorder/node-locators.ts +0 -25
  661. package/src/appium-recorder/node-timeout.ts +0 -1
  662. package/src/appium-recorder/random-value.ts +0 -60
  663. package/src/appium-recorder/report-summary.ts +0 -60
  664. package/src/appium-recorder/run-history.ts +0 -53
  665. package/src/appium-recorder/stage-log.ts +0 -21
  666. package/src/appium-recorder/stopwatch.ts +0 -27
  667. package/src/appium-recorder/text-click.ts +0 -9
  668. package/src/appium-recorder/tree.ts +0 -176
  669. package/src/appium-recorder/types.ts +0 -201
  670. package/src/appium-recorder/variable-presets.ts +0 -24
  671. package/src/appium-recorder/variables.ts +0 -34
  672. package/src/appium-recorder/visual-change-pairs.ts +0 -155
  673. package/src/appium-recorder/visual-change.ts +0 -87
  674. package/src/assets/appium-actions/add.svg +0 -7
  675. package/src/assets/appium-actions/android.svg +0 -6
  676. package/src/assets/appium-actions/back.svg +0 -6
  677. package/src/assets/appium-actions/bidirection.svg +0 -6
  678. package/src/assets/appium-actions/browser.svg +0 -6
  679. package/src/assets/appium-actions/clear.svg +0 -3
  680. package/src/assets/appium-actions/crosshair.svg +0 -6
  681. package/src/assets/appium-actions/eye.svg +0 -3
  682. package/src/assets/appium-actions/pause.svg +0 -7
  683. package/src/assets/appium-actions/phone.svg +0 -9
  684. package/src/assets/appium-actions/pin.svg +0 -6
  685. package/src/assets/appium-actions/power.svg +0 -6
  686. package/src/assets/appium-actions/select.svg +0 -3
  687. package/src/assets/appium-actions/sidebar.svg +0 -6
  688. package/src/assets/appium-actions/text.svg +0 -6
  689. package/src/assets/appium-actions/zoom.svg +0 -6
  690. package/src/assets/device-actions/back.svg +0 -5
  691. package/src/assets/device-actions/home.svg +0 -3
  692. package/src/assets/device-actions/power.svg +0 -5
  693. package/src/assets/device-actions/tasks.svg +0 -3
  694. package/src/assets/device-actions/volume-down.svg +0 -3
  695. package/src/assets/device-actions/volume-up.svg +0 -3
  696. package/src/components/AppSidebar.vue +0 -62
  697. package/src/components/MidsceneMaintenanceNotice.vue +0 -17
  698. package/src/components/analytics/AnalysisCharts.vue +0 -189
  699. package/src/components/analytics/ReportAnalysis.vue +0 -78
  700. package/src/components/config/AiDeduplicationSettings.vue +0 -70
  701. package/src/components/config/AiPromptPresetsSettings.vue +0 -113
  702. package/src/components/config/AppiumConfigPanel.vue +0 -118
  703. package/src/components/config/AppiumModelSettings.vue +0 -45
  704. package/src/components/config/BaseConfigPanel.vue +0 -127
  705. package/src/components/config/FlowAppearanceSettings.vue +0 -150
  706. package/src/components/config/MidsceneConfigPanel.vue +0 -220
  707. package/src/components/config/ReplayReportSummarySettings.vue +0 -118
  708. package/src/components/device/DeviceInfoTooltip.vue +0 -55
  709. package/src/components/device/DevicePreviewPanel.vue +0 -482
  710. package/src/components/generator/GeneratedCodePanel.vue +0 -70
  711. package/src/components/generator/TestCaseFileUpload.vue +0 -97
  712. package/src/components/help/HelpCenter.vue +0 -204
  713. package/src/components/help/MarkdownDocument.vue +0 -139
  714. package/src/composables/use-device-preview.ts +0 -279
  715. package/src/composables/use-initial-resource.ts +0 -17
  716. package/src/composables/use-script-execution.ts +0 -277
  717. package/src/config/credentials.ts +0 -2
  718. package/src/config/midscene-model-presets.ts +0 -103
  719. package/src/config/prompt-example.ts +0 -10
  720. package/src/config/prompt-presets.ts +0 -172
  721. package/src/config/use-appium-auto-save.ts +0 -75
  722. package/src/config/use-model-config.ts +0 -161
  723. package/src/main.ts +0 -10
  724. package/src/pages/AiGeneratorPage.vue +0 -273
  725. package/src/pages/AnalysisPage.vue +0 -60
  726. package/src/pages/ArtemisPage.vue +0 -72
  727. package/src/pages/AutomationPage.vue +0 -161
  728. package/src/pages/ConfigPage.vue +0 -146
  729. package/src/pages/GeneratorPage.vue +0 -104
  730. package/src/pages/ManualStepsPage.vue +0 -179
  731. package/src/script-generator/codegen.ts +0 -126
  732. package/src/script-generator/index.ts +0 -4
  733. package/src/script-generator/presets.ts +0 -37
  734. package/src/script-generator/step-options.ts +0 -52
  735. package/src/script-generator/types.ts +0 -27
  736. package/src/style.css +0 -4188
  737. package/src/types.ts +0 -167
  738. package/src/vite-env.d.ts +0 -1
  739. package/tsconfig.app.json +0 -8
  740. package/tsconfig.json +0 -11
  741. package/tsconfig.node.json +0 -16
  742. package/vite.config.ts +0 -28
  743. package//346/265/201/347/250/213/350/212/202/347/202/271/346/223/215/344/275/234/350/257/264/346/230/216.md +0 -418
package/src/style.css DELETED
@@ -1,4188 +0,0 @@
1
- :root {
2
- background: #f8f9fa;
3
- font-family:
4
- "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
5
- line-height: 1.5;
6
- font-weight: 400;
7
- }
8
-
9
- * {
10
- box-sizing: border-box;
11
- }
12
-
13
- html,
14
- body,
15
- #app {
16
- height: 100%;
17
- overflow: hidden;
18
- }
19
-
20
- body {
21
- margin: 0;
22
- min-width: 360px;
23
- }
24
-
25
- button,
26
- input,
27
- textarea,
28
- select {
29
- font: inherit;
30
- }
31
-
32
- .layout {
33
- display: grid;
34
- height: 100%;
35
- min-height: 0;
36
- overflow: hidden;
37
- }
38
-
39
- .layout-sidebar {
40
- display: flex;
41
- flex-direction: column;
42
- min-height: 0;
43
- }
44
-
45
- .layout-sidebar__top {
46
- display: flex;
47
- align-items: center;
48
- }
49
-
50
- .layout-sidebar__logo {
51
- display: grid;
52
- place-items: center;
53
- font-weight: 700;
54
- }
55
-
56
- .layout-menu {
57
- flex: 1;
58
- min-height: 0;
59
- border-right: 0;
60
- background: transparent;
61
- }
62
-
63
- .layout-main {
64
- overflow: hidden;
65
- }
66
-
67
- .action-dialog__body {
68
- display: flex;
69
- align-items: center;
70
- justify-content: center;
71
- gap: 10px;
72
- min-height: 72px;
73
- padding: 8px 0;
74
- color: var(--ui-text);
75
- font-size: 14px;
76
- }
77
-
78
- .action-dialog__spinner {
79
- color: var(--ui-primary);
80
- font-size: 18px;
81
- animation: action-dialog-spin 1s linear infinite;
82
- }
83
-
84
- .action-dialog__error {
85
- min-height: 72px;
86
- padding: 14px 16px;
87
- border: 1px solid #ffd6d6;
88
- border-radius: var(--ui-radius-control);
89
- background: #fff5f5;
90
- color: var(--ui-danger);
91
- font-size: 13px;
92
- line-height: 1.6;
93
- white-space: pre-wrap;
94
- }
95
-
96
- .action-dialog .el-dialog__body {
97
- padding-bottom: 14px;
98
- }
99
-
100
- .action-dialog__footer-actions {
101
- display: flex;
102
- justify-content: flex-end;
103
- gap: 8px;
104
- width: 100%;
105
- }
106
-
107
- .action-dialog__footer-button.el-button {
108
- min-width: 104px;
109
- }
110
-
111
- .action-dialog__footer-button.el-button + .action-dialog__footer-button.el-button {
112
- margin-left: 0;
113
- }
114
-
115
- @keyframes action-dialog-spin {
116
- from {
117
- transform: rotate(0deg);
118
- }
119
-
120
- to {
121
- transform: rotate(360deg);
122
- }
123
- }
124
-
125
- .layout-header {
126
- display: flex;
127
- align-items: center;
128
- justify-content: space-between;
129
- border-bottom: 1px solid var(--ui-border);
130
- }
131
-
132
- .layout-header__actions {
133
- display: flex;
134
- }
135
-
136
- .layout-header__button--loading .el-icon {
137
- animation: action-dialog-spin 1s linear infinite;
138
- }
139
-
140
- .page-body {
141
- height: 100%;
142
- overflow: auto;
143
- }
144
-
145
- .page-body--fixed {
146
- overflow: hidden;
147
- }
148
-
149
- .appium-recorder-page {
150
- display: flex;
151
- flex-direction: column;
152
- height: 100%;
153
- min-height: 0;
154
- }
155
-
156
- .appium-header-actions {
157
- display: flex;
158
- align-items: center;
159
- min-width: 0;
160
- }
161
-
162
- .appium-header-actions__script {
163
- width: 240px;
164
- }
165
-
166
- .appium-recorder-layout {
167
- display: grid;
168
- flex: 1 1 auto;
169
- grid-template-columns: minmax(320px, 2.8fr) minmax(0, 3fr) minmax(0, 4.2fr);
170
- align-items: stretch;
171
- height: auto;
172
- min-height: 0;
173
- }
174
-
175
- .appium-recorder-card.el-card {
176
- display: flex;
177
- min-height: 0;
178
- flex-direction: column;
179
- overflow: hidden;
180
- }
181
-
182
- .appium-recorder-card > .el-card__body {
183
- flex: 1 1 auto;
184
- min-height: 0;
185
- overflow: auto;
186
- }
187
-
188
- .appium-recorder-layout > .device-preview-card.el-card {
189
- display: flex;
190
- min-height: 0;
191
- flex-direction: column;
192
- overflow: hidden;
193
- }
194
-
195
- .appium-recorder-layout > .device-preview-card > .el-card__body {
196
- display: flex;
197
- min-height: 0;
198
- flex-direction: column;
199
- overflow: hidden;
200
- }
201
-
202
- .appium-recorder-layout > .device-preview-card .device-toolbar,
203
- .appium-recorder-layout > .device-preview-card .device-actions {
204
- flex: 0 0 auto;
205
- }
206
-
207
- .appium-recorder-card--workbench > .el-card__body {
208
- padding: 0;
209
- }
210
-
211
- .appium-workbench-tabs {
212
- display: flex;
213
- min-height: 0;
214
- height: 100%;
215
- flex-direction: column;
216
- }
217
-
218
- .appium-workbench-tabs > .el-tabs__header {
219
- margin: 0;
220
- }
221
-
222
- .appium-workbench-tabs > .el-tabs__content {
223
- flex: 1 1 auto;
224
- min-height: 0;
225
- overflow: auto;
226
- }
227
-
228
- .appium-workbench-tabs .el-tab-pane {
229
- min-height: 0;
230
- }
231
-
232
- .appium-workbench {
233
- display: grid;
234
- }
235
-
236
- .appium-workbench__section {
237
- min-width: 0;
238
- }
239
-
240
- .appium-workbench__section h3 {
241
- margin: 0 0 12px;
242
- }
243
-
244
- .appium-section-title {
245
- display: flex;
246
- align-items: center;
247
- justify-content: space-between;
248
- gap: 12px;
249
- }
250
-
251
- .appium-section-title h3 {
252
- margin-bottom: 12px;
253
- }
254
-
255
- .appium-section-title__actions {
256
- display: inline-flex;
257
- align-items: center;
258
- gap: 8px;
259
- flex-shrink: 0;
260
- margin-bottom: 12px;
261
- }
262
-
263
- .appium-tree {
264
- height: 100%;
265
- min-height: 0;
266
- overflow: auto;
267
- scrollbar-color: #cbd5e1 transparent;
268
- }
269
-
270
- .appium-tree .el-tree {
271
- min-width: max-content;
272
- }
273
-
274
- .appium-tree .el-tree-node__content {
275
- white-space: nowrap;
276
- }
277
-
278
- .appium-tree-node {
279
- display: inline-flex;
280
- align-items: center;
281
- gap: 6px;
282
- }
283
-
284
- .appium-tree-node__badge {
285
- flex: 0 0 auto;
286
- padding: 0 5px;
287
- border-radius: 999px;
288
- background: #f0f9eb;
289
- color: #529b2e;
290
- font-size: 11px;
291
- line-height: 18px;
292
- }
293
-
294
- .appium-tree-node__badge--duplicate {
295
- background: #fdf6ec;
296
- color: #b88230;
297
- }
298
-
299
- .appium-tree::-webkit-scrollbar {
300
- width: 8px;
301
- height: 8px;
302
- }
303
-
304
- .appium-tree::-webkit-scrollbar-track,
305
- .appium-tree::-webkit-scrollbar-corner {
306
- background: transparent;
307
- }
308
-
309
- .appium-tree::-webkit-scrollbar-thumb {
310
- border-radius: 4px;
311
- background: #cbd5e1;
312
- }
313
-
314
- .appium-tree-panel {
315
- display: grid;
316
- grid-template-rows: minmax(0, 1fr) auto;
317
- height: 100%;
318
- min-height: 0;
319
- }
320
-
321
- .appium-current-activity {
322
- display: grid;
323
- grid-template-columns: auto minmax(0, 1fr);
324
- align-items: start;
325
- gap: 12px;
326
- padding: 12px 0 0;
327
- border-top: 1px solid var(--ui-border);
328
- color: var(--ui-text-secondary);
329
- font-size: 13px;
330
- }
331
-
332
- .appium-current-activity code {
333
- display: -webkit-box;
334
- overflow: hidden;
335
- color: var(--ui-text);
336
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
337
- line-height: 1.45;
338
- overflow-wrap: anywhere;
339
- white-space: normal;
340
- -webkit-box-orient: vertical;
341
- -webkit-line-clamp: 3;
342
- }
343
-
344
- .appium-node-detail__title {
345
- margin-bottom: 12px;
346
- color: var(--ui-text);
347
- font-weight: 700;
348
- }
349
-
350
- .appium-side-form {
351
- display: grid;
352
- margin-bottom: 12px;
353
- }
354
-
355
- .appium-script-list {
356
- display: grid;
357
- gap: 10px;
358
- align-content: start;
359
- min-height: 0;
360
- padding: 16px;
361
- }
362
-
363
- .appium-script-list__toolbar {
364
- display: flex;
365
- justify-content: flex-end;
366
- align-items: center;
367
- }
368
-
369
- .appium-script-list__file-input {
370
- display: none;
371
- }
372
-
373
- .appium-script-list__item {
374
- display: grid;
375
- grid-template-columns: minmax(0, 1fr) auto;
376
- gap: 8px;
377
- align-items: center;
378
- padding: 10px;
379
- border: 1px solid var(--ui-border);
380
- }
381
-
382
- .appium-script-list__main {
383
- display: grid;
384
- gap: 3px;
385
- min-width: 0;
386
- }
387
-
388
- .appium-script-list__main strong,
389
- .appium-script-list__main span,
390
- .appium-script-list__main small {
391
- overflow: hidden;
392
- text-overflow: ellipsis;
393
- white-space: nowrap;
394
- }
395
-
396
- .appium-script-list__main strong {
397
- color: var(--ui-text);
398
- font-size: 13px;
399
- }
400
-
401
- .appium-script-list__main span,
402
- .appium-script-list__main small {
403
- color: #64748b;
404
- font-size: 12px;
405
- }
406
-
407
- .appium-script-list__actions {
408
- display: flex;
409
- gap: 6px;
410
- align-items: center;
411
- }
412
-
413
- .appium-action-dropdown {
414
- max-height: min(320px, calc(100vh - 96px));
415
- overflow: hidden;
416
- }
417
-
418
- .appium-action-dropdown .el-scrollbar__wrap {
419
- max-height: min(320px, calc(100vh - 96px));
420
- }
421
-
422
- .appium-action-dropdown__group {
423
- line-height: 18px;
424
- }
425
-
426
- .appium-action-dropdown__item {
427
- display: flex;
428
- align-items: center;
429
- gap: 8px;
430
- min-width: 128px;
431
- }
432
-
433
- .appium-action-dropdown__item img {
434
- width: 14px;
435
- height: 14px;
436
- flex: 0 0 auto;
437
- }
438
-
439
- .appium-recorded-steps-panel {
440
- display: grid;
441
- gap: 8px;
442
- min-width: 0;
443
- }
444
-
445
- .appium-recorded-steps {
446
- --appium-step-row-height: 88px;
447
- --appium-step-insert-height: 26px;
448
- display: grid;
449
- gap: 8px;
450
- align-content: start;
451
- height: calc((var(--appium-step-row-height) + var(--appium-step-insert-height) + 8px) * 4);
452
- min-width: 0;
453
- max-width: 100%;
454
- overflow-x: hidden;
455
- overflow-y: auto;
456
- padding-right: 4px;
457
- scrollbar-color: #cbd5e1 transparent;
458
- }
459
-
460
- .appium-recorded-steps::-webkit-scrollbar {
461
- width: 6px;
462
- }
463
-
464
- .appium-recorded-steps::-webkit-scrollbar-track {
465
- background: transparent;
466
- }
467
-
468
- .appium-recorded-steps::-webkit-scrollbar-thumb {
469
- border-radius: 3px;
470
- background: #cbd5e1;
471
- }
472
-
473
- .appium-step-item {
474
- display: grid;
475
- gap: 4px;
476
- min-width: 0;
477
- }
478
-
479
- .appium-step-row {
480
- display: grid;
481
- grid-template-columns: 28px minmax(0, 1fr) 54px;
482
- gap: 8px;
483
- align-items: center;
484
- padding: 8px;
485
- border: 1px solid var(--ui-border);
486
- border-radius: 6px;
487
- background: #fff;
488
- min-height: var(--appium-step-row-height);
489
- min-width: 0;
490
- max-width: 100%;
491
- overflow: hidden;
492
- }
493
-
494
- .appium-step-row--delay {
495
- border-style: dashed;
496
- background: #f8fafc;
497
- }
498
-
499
- .appium-step-row__index {
500
- display: grid;
501
- place-items: center;
502
- width: 24px;
503
- height: 24px;
504
- border-radius: 50%;
505
- background: #eef2ff;
506
- color: #475569;
507
- font-size: 12px;
508
- font-weight: 700;
509
- }
510
-
511
- .appium-step-row__main {
512
- display: grid;
513
- gap: 2px;
514
- min-width: 0;
515
- overflow: hidden;
516
- }
517
-
518
- .appium-step-row__main strong {
519
- display: block;
520
- min-width: 0;
521
- font-size: 13px;
522
- line-height: 1.4;
523
- overflow-wrap: anywhere;
524
- white-space: normal;
525
- }
526
-
527
- .appium-step-row__main small {
528
- display: block;
529
- min-width: 0;
530
- color: #64748b;
531
- font-size: 12px;
532
- line-height: 1.4;
533
- overflow-wrap: anywhere;
534
- white-space: normal;
535
- }
536
-
537
- .appium-step-row__actions {
538
- display: flex;
539
- justify-content: flex-end;
540
- gap: 2px;
541
- }
542
-
543
- .appium-step-row__actions .el-button {
544
- width: 24px;
545
- height: 24px;
546
- margin: 0;
547
- padding: 0;
548
- }
549
-
550
- .appium-step-insert-delay {
551
- display: flex;
552
- align-items: center;
553
- justify-content: center;
554
- gap: 4px;
555
- height: var(--appium-step-insert-height);
556
- border: 1px dashed #d6dde8;
557
- border-radius: 6px;
558
- background: #fff;
559
- color: #64748b;
560
- font-size: 12px;
561
- cursor: pointer;
562
- }
563
-
564
- .appium-step-insert-delay:hover {
565
- border-color: var(--ui-primary);
566
- color: var(--ui-primary);
567
- background: #f5f9ff;
568
- }
569
-
570
- .appium-step-insert-delay:disabled {
571
- cursor: not-allowed;
572
- opacity: 0.45;
573
- }
574
-
575
- .appium-flow-toolbar {
576
- display: flex;
577
- align-items: center;
578
- justify-content: flex-end;
579
- gap: 6px;
580
- margin-bottom: 6px;
581
- }
582
-
583
- .appium-flow-toolbar .el-button + .el-button {
584
- margin-left: 0;
585
- }
586
-
587
- .appium-flow-toolbar__status {
588
- margin-right: 2px;
589
- color: #64748b;
590
- font-size: 12px;
591
- }
592
-
593
- .appium-flow-canvas {
594
- position: relative;
595
- height: 460px;
596
- min-width: 0;
597
- overflow: hidden;
598
- border: 1px solid var(--ui-border);
599
- border-radius: 8px;
600
- background:
601
- radial-gradient(circle at 1px 1px, #e7edf6 1px, transparent 0) 0 0 / 18px 18px,
602
- #fff;
603
- cursor: grab;
604
- touch-action: none;
605
- user-select: none;
606
- }
607
-
608
- .appium-flow-canvas--dragging {
609
- cursor: grabbing;
610
- }
611
-
612
- .appium-flow-canvas .appium-flow-node {
613
- cursor: pointer;
614
- }
615
-
616
- .appium-flow-content {
617
- --appium-flow-line-width: 3px;
618
- --appium-flow-line-color: #dbe5f1;
619
- position: relative;
620
- display: grid;
621
- gap: 8px;
622
- align-content: start;
623
- width: max-content;
624
- min-width: 0;
625
- padding: 10px 12px 14px;
626
- transform-origin: 0 0;
627
- will-change: transform;
628
- }
629
-
630
- .appium-flow-dialog .el-dialog__body {
631
- padding-top: 8px;
632
- }
633
-
634
- .appium-flow-dialog-canvas {
635
- height: 72vh;
636
- overflow: auto;
637
- padding: 12px;
638
- border: 1px solid var(--ui-border);
639
- border-radius: 8px;
640
- background:
641
- radial-gradient(circle at 1px 1px, #e7edf6 1px, transparent 0) 0 0 / 18px 18px,
642
- #fff;
643
- cursor: grab;
644
- touch-action: none;
645
- user-select: none;
646
- }
647
-
648
- .appium-flow-dialog-canvas--dragging {
649
- cursor: grabbing;
650
- }
651
-
652
- .appium-flow-content--overview {
653
- width: max-content;
654
- min-width: max(980px, 100%);
655
- margin: 0 auto;
656
- transform-origin: 0 0;
657
- }
658
-
659
- .appium-flow-content .el-empty {
660
- pointer-events: none;
661
- }
662
-
663
- .appium-flow-item {
664
- --flow-axis: 50%;
665
- position: relative;
666
- display: grid;
667
- gap: 6px;
668
- justify-items: center;
669
- min-width: 0;
670
- }
671
-
672
- .appium-flow-start {
673
- position: relative;
674
- z-index: 1;
675
- display: grid;
676
- justify-items: center;
677
- gap: 6px;
678
- }
679
-
680
- .appium-flow-line {
681
- position: absolute;
682
- z-index: 0;
683
- width: 10px;
684
- overflow: visible;
685
- pointer-events: none;
686
- }
687
-
688
- .appium-flow-line path {
689
- fill: none;
690
- stroke: var(--appium-flow-line-color);
691
- stroke-width: var(--appium-flow-line-width);
692
- stroke-linecap: round;
693
- stroke-linejoin: round;
694
- vector-effect: non-scaling-stroke;
695
- }
696
-
697
- .appium-flow-start__line {
698
- top: 30px;
699
- bottom: -8px;
700
- left: 50%;
701
- height: calc(100% - 22px);
702
- transform: translateX(-50%);
703
- }
704
-
705
- .appium-flow-start__node {
706
- position: relative;
707
- z-index: 1;
708
- display: grid;
709
- place-items: center;
710
- box-sizing: border-box;
711
- width: 38px;
712
- height: 30px;
713
- padding: 0 6px;
714
- border: 1px solid var(--ui-primary);
715
- border-radius: 8px;
716
- background: #ecf5ff;
717
- color: var(--ui-primary-active);
718
- font-size: 12px;
719
- font-weight: 700;
720
- }
721
-
722
- .appium-flow-start > .el-dropdown {
723
- position: relative;
724
- z-index: 1;
725
- }
726
-
727
- .appium-flow-start--overview {
728
- padding-bottom: 2px;
729
- }
730
-
731
- .appium-flow-start--overview .appium-flow-start__line {
732
- bottom: -10px;
733
- height: calc(100% - 20px);
734
- }
735
-
736
- .appium-flow-item__line {
737
- position: absolute;
738
- left: var(--flow-axis);
739
- top: 40px;
740
- bottom: -8px;
741
- height: calc(100% - 32px);
742
- transform: translateX(-50%);
743
- }
744
-
745
- .appium-flow-item--condition > .appium-flow-item__line {
746
- display: none;
747
- }
748
-
749
- .appium-flow-node {
750
- position: relative;
751
- z-index: 1;
752
- display: grid;
753
- grid-template-columns: minmax(0, 1fr) auto;
754
- gap: 6px;
755
- align-items: center;
756
- width: 100%;
757
- min-width: 0;
758
- padding: 6px 8px;
759
- border: 1px solid #d8e0ea;
760
- border-radius: 8px;
761
- background: #fff;
762
- color: var(--ui-text);
763
- text-align: left;
764
- cursor: pointer;
765
- }
766
-
767
- .appium-flow-node__toggle {
768
- display: grid;
769
- grid-template-columns: minmax(0, 1fr);
770
- align-items: center;
771
- min-width: 0;
772
- padding: 0;
773
- border: 0;
774
- background: transparent;
775
- color: inherit;
776
- font: inherit;
777
- text-align: left;
778
- cursor: pointer;
779
- }
780
-
781
- .appium-flow-item > .appium-flow-node,
782
- .appium-flow-item > .appium-flow-editor {
783
- box-sizing: border-box;
784
- width: 100%;
785
- max-width: 420px;
786
- justify-self: center;
787
- left: calc(var(--flow-axis) - 50%);
788
- }
789
-
790
- .appium-flow-node--condition {
791
- border-color: #e6a23c;
792
- background: #fffaf0;
793
- }
794
-
795
- .appium-flow-node--assertion {
796
- border-color: #67c23a;
797
- background: #f6fff3;
798
- }
799
-
800
- .appium-flow-node--expanded {
801
- box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.12);
802
- border-color: var(--ui-primary);
803
- }
804
-
805
- .appium-flow-node--copying {
806
- cursor: copy;
807
- }
808
-
809
- .appium-flow-node--selected {
810
- border-color: var(--ui-primary-active);
811
- box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.32);
812
- background: #d9ecff;
813
- }
814
-
815
- .appium-flow-node__body {
816
- display: grid;
817
- gap: 2px;
818
- min-width: 0;
819
- }
820
-
821
- .appium-flow-node__title {
822
- min-width: 0;
823
- font-size: 12px;
824
- font-weight: 700;
825
- line-height: 1.35;
826
- overflow-wrap: anywhere;
827
- }
828
-
829
- .appium-flow-node__meta {
830
- min-width: 0;
831
- color: #64748b;
832
- font-size: 11px;
833
- line-height: 1.35;
834
- overflow-wrap: anywhere;
835
- }
836
-
837
- .appium-flow-node__meta--clamped {
838
- display: -webkit-box;
839
- overflow: hidden;
840
- text-overflow: ellipsis;
841
- -webkit-box-orient: vertical;
842
- -webkit-line-clamp: 3;
843
- }
844
-
845
- .appium-flow-node__note {
846
- min-width: 0;
847
- color: var(--ui-text);
848
- font-size: 11px;
849
- line-height: 1.4;
850
- overflow-wrap: anywhere;
851
- white-space: normal;
852
- }
853
-
854
- .appium-flow-node__actions {
855
- display: inline-flex;
856
- gap: 2px;
857
- }
858
-
859
- .appium-flow-node__actions .el-button {
860
- width: 22px;
861
- height: 22px;
862
- margin: 0;
863
- padding: 0;
864
- }
865
-
866
- .appium-flow-branches {
867
- position: relative;
868
- z-index: 1;
869
- display: grid;
870
- grid-template-columns: repeat(2, minmax(420px, 1fr));
871
- column-gap: 16px;
872
- width: max-content;
873
- min-width: 100%;
874
- justify-self: center;
875
- margin-left: 0;
876
- margin-right: 0;
877
- padding-top: 30px;
878
- }
879
-
880
- .appium-flow-nested-condition {
881
- position: relative;
882
- z-index: 1;
883
- width: max-content;
884
- min-width: 856px;
885
- justify-self: center;
886
- background:
887
- radial-gradient(circle at 1px 1px, #e7edf6 1px, transparent 0) 0 0 / 18px 18px,
888
- #fff;
889
- }
890
-
891
- .appium-flow-nested-condition > .appium-flow-branches {
892
- width: 100%;
893
- }
894
-
895
- .appium-flow-item--condition > .appium-flow-editor {
896
- order: 1;
897
- box-sizing: border-box;
898
- width: 100%;
899
- max-width: 420px;
900
- justify-self: center;
901
- }
902
-
903
- .appium-flow-item--condition > .appium-flow-branches {
904
- order: 2;
905
- justify-self: stretch;
906
- }
907
-
908
- .appium-flow-branch-lines {
909
- position: absolute;
910
- top: -6px;
911
- left: 0;
912
- width: 100%;
913
- height: 38px;
914
- overflow: visible;
915
- pointer-events: none;
916
- }
917
-
918
- .appium-flow-branch-lines path,
919
- .appium-flow-connection-layer path {
920
- fill: none;
921
- stroke: var(--appium-flow-line-color);
922
- stroke-width: var(--appium-flow-line-width);
923
- stroke-linecap: round;
924
- stroke-linejoin: round;
925
- vector-effect: non-scaling-stroke;
926
- }
927
-
928
- .appium-flow-branch {
929
- position: relative;
930
- display: grid;
931
- gap: 10px;
932
- align-self: start;
933
- align-content: start;
934
- justify-self: center;
935
- box-sizing: border-box;
936
- width: 100%;
937
- max-width: none;
938
- min-width: 420px;
939
- padding: 0;
940
- color: #64748b;
941
- font-size: 11px;
942
- }
943
-
944
- .appium-flow-branch__line {
945
- top: 18px;
946
- bottom: 12px;
947
- left: 50%;
948
- height: calc(100% - 30px);
949
- transform: translateX(-50%);
950
- }
951
-
952
- .appium-flow-branch__label {
953
- display: inline-flex;
954
- align-items: center;
955
- justify-content: center;
956
- width: fit-content;
957
- justify-self: center;
958
- min-width: 24px;
959
- height: 18px;
960
- padding: 0 6px;
961
- border-radius: 999px;
962
- color: #fff;
963
- font-size: 11px;
964
- font-weight: 700;
965
- line-height: 18px;
966
- position: relative;
967
- z-index: 1;
968
- }
969
-
970
- .appium-flow-branch__target {
971
- position: relative;
972
- z-index: 1;
973
- justify-self: center;
974
- min-height: 24px;
975
- padding: 4px 10px;
976
- border: 1px solid #d8e0ea;
977
- border-radius: 999px;
978
- background: #fff;
979
- color: var(--ui-text);
980
- font-weight: 600;
981
- line-height: 1.4;
982
- overflow-wrap: anywhere;
983
- }
984
-
985
- .appium-flow-branch-steps {
986
- position: relative;
987
- z-index: 1;
988
- display: grid;
989
- gap: 10px;
990
- justify-self: center;
991
- width: 100%;
992
- max-width: none;
993
- min-width: 420px;
994
- }
995
-
996
- .appium-flow-branch-step-group {
997
- display: grid;
998
- gap: 6px;
999
- width: 100%;
1000
- max-width: none;
1001
- min-width: 420px;
1002
- }
1003
-
1004
- .appium-flow-branch-step-group > .appium-flow-node,
1005
- .appium-flow-branch-step-group > .appium-flow-editor {
1006
- box-sizing: border-box;
1007
- width: 420px;
1008
- justify-self: center;
1009
- }
1010
-
1011
- .appium-flow-branch-step {
1012
- position: relative;
1013
- z-index: 1;
1014
- display: grid;
1015
- grid-template-columns: minmax(0, 1fr) auto;
1016
- gap: 6px;
1017
- align-items: center;
1018
- width: 100%;
1019
- max-width: 420px;
1020
- min-width: 0;
1021
- padding: 6px 8px;
1022
- border: 1px solid #d8e0ea;
1023
- border-radius: 8px;
1024
- background: #fff;
1025
- }
1026
-
1027
- .appium-flow-branch__insert {
1028
- position: relative;
1029
- z-index: 1;
1030
- justify-self: center;
1031
- height: 24px;
1032
- padding: 0 8px;
1033
- border-style: dashed;
1034
- border-radius: 999px;
1035
- font-size: 12px;
1036
- }
1037
-
1038
- .appium-flow-branch__actions {
1039
- position: relative;
1040
- z-index: 1;
1041
- display: flex;
1042
- align-items: center;
1043
- justify-content: center;
1044
- justify-self: center;
1045
- width: 100%;
1046
- }
1047
-
1048
- .appium-flow-branch:has(
1049
- .appium-flow-branch-step-group:last-child > .appium-flow-nested-condition
1050
- ) > .appium-flow-branch__actions {
1051
- background: #fff;
1052
- box-shadow: 0 -10px 0 #fff;
1053
- }
1054
-
1055
- .appium-flow-branch:has(
1056
- .appium-flow-branch-step-group:last-child > .appium-flow-nested-condition
1057
- ) > .appium-flow-branch__actions > .el-dropdown {
1058
- display: none;
1059
- }
1060
-
1061
- .appium-flow-branch--yes .appium-flow-branch__label {
1062
- background: #67c23a;
1063
- }
1064
-
1065
- .appium-flow-branch--no .appium-flow-branch__label {
1066
- background: #f56c6c;
1067
- }
1068
-
1069
- .appium-flow-branch--yes {
1070
- background: transparent;
1071
- }
1072
-
1073
- .appium-flow-branch--no {
1074
- background: transparent;
1075
- }
1076
-
1077
- .appium-flow-connection-space {
1078
- order: 4;
1079
- position: relative;
1080
- height: 36px;
1081
- margin: -6px 0 0;
1082
- pointer-events: none;
1083
- }
1084
-
1085
- .appium-flow-connection-layer {
1086
- position: absolute;
1087
- inset: 0;
1088
- z-index: 0;
1089
- width: 100%;
1090
- height: 100%;
1091
- overflow: visible;
1092
- pointer-events: none;
1093
- }
1094
-
1095
- .appium-flow-branch--yes .appium-flow-branch-step:not(.appium-flow-node--selected) {
1096
- border-color: #b3e19d;
1097
- }
1098
-
1099
- .appium-flow-branch--no .appium-flow-branch-step:not(.appium-flow-node--selected) {
1100
- border-color: #fab6b6;
1101
- }
1102
-
1103
- .appium-flow-editor {
1104
- position: relative;
1105
- z-index: 1;
1106
- min-width: 0;
1107
- padding: 10px;
1108
- border: 1px solid #dce7f5;
1109
- border-radius: 8px;
1110
- background: #f8fbff;
1111
- }
1112
-
1113
- .appium-flow-editor__grid {
1114
- display: grid;
1115
- grid-template-columns: repeat(2, minmax(0, 1fr));
1116
- gap: 8px;
1117
- }
1118
-
1119
- .appium-flow-editor__grid--swipe {
1120
- grid-template-columns: repeat(2, minmax(0, 1fr));
1121
- }
1122
-
1123
- .appium-flow-editor__grid--visual {
1124
- grid-template-columns: repeat(2, minmax(0, 1fr));
1125
- }
1126
-
1127
- .appium-swipe-message-box {
1128
- width: min(560px, calc(100vw - 32px));
1129
- }
1130
-
1131
- .appium-swipe-dialog-grid {
1132
- display: grid;
1133
- grid-template-columns: repeat(2, minmax(0, 1fr));
1134
- gap: 10px 12px;
1135
- }
1136
-
1137
- .appium-visual-change-dialog {
1138
- margin-left: auto;
1139
- margin-right: 32px;
1140
- }
1141
-
1142
- .appium-visual-change-dialog .el-dialog__body {
1143
- padding-top: 8px;
1144
- }
1145
-
1146
- .appium-visual-change-form {
1147
- display: grid;
1148
- gap: 10px;
1149
- }
1150
-
1151
- .appium-visual-change-form__grid {
1152
- display: grid;
1153
- grid-template-columns: repeat(2, minmax(0, 1fr));
1154
- gap: 10px 12px;
1155
- }
1156
-
1157
- .appium-flow-insert {
1158
- position: relative;
1159
- z-index: 1;
1160
- justify-self: center;
1161
- display: inline-flex;
1162
- align-items: center;
1163
- gap: 4px;
1164
- margin-left: 0;
1165
- padding: 3px 8px;
1166
- border: 1px dashed #d6dde8;
1167
- border-radius: 999px;
1168
- background: #fff;
1169
- color: #64748b;
1170
- font-size: 12px;
1171
- cursor: pointer;
1172
- }
1173
-
1174
- .appium-flow-insert:hover {
1175
- border-color: var(--ui-primary);
1176
- color: var(--ui-primary);
1177
- background: #f5f9ff;
1178
- }
1179
-
1180
- .appium-flow-insert:disabled {
1181
- cursor: not-allowed;
1182
- opacity: 0.45;
1183
- }
1184
-
1185
- .appium-flow-start .appium-flow-insert {
1186
- margin-left: 0;
1187
- }
1188
-
1189
- .appium-flow-start > .el-dropdown,
1190
- .appium-flow-item > .el-dropdown {
1191
- position: relative;
1192
- width: fit-content;
1193
- justify-self: center;
1194
- left: calc(var(--flow-axis, 50%) - 50%);
1195
- transform: translateX(calc(50% + 8px));
1196
- }
1197
-
1198
- .appium-linked-script-select {
1199
- width: 100%;
1200
- }
1201
-
1202
- .appium-linked-script-picker {
1203
- display: flex;
1204
- align-items: center;
1205
- gap: 8px;
1206
- width: 100%;
1207
- }
1208
-
1209
- .appium-linked-script-picker .appium-linked-script-select {
1210
- flex: 1;
1211
- min-width: 0;
1212
- }
1213
-
1214
- .appium-linked-script-activity {
1215
- display: block;
1216
- box-sizing: border-box;
1217
- width: 100%;
1218
- padding: 8px 10px;
1219
- border: 1px solid var(--ui-border);
1220
- border-radius: 6px;
1221
- background: #f7f8fa;
1222
- color: var(--ui-text-secondary);
1223
- font-family: inherit;
1224
- line-height: 1.5;
1225
- overflow-wrap: anywhere;
1226
- }
1227
-
1228
- .appium-linked-script-preview-dialog .el-dialog__body {
1229
- padding-top: 10px;
1230
- }
1231
-
1232
- .appium-linked-script-preview-meta {
1233
- display: grid;
1234
- gap: 4px;
1235
- margin-bottom: 10px;
1236
- color: #64748b;
1237
- font-size: 13px;
1238
- }
1239
-
1240
- .appium-linked-script-preview-meta strong {
1241
- color: #1f2937;
1242
- }
1243
-
1244
- .appium-linked-script-preview-canvas.appium-flow-canvas--vue {
1245
- height: 68vh;
1246
- min-height: 520px;
1247
- }
1248
-
1249
- .appium-replay-output {
1250
- min-height: 120px;
1251
- max-height: 260px;
1252
- margin: 0;
1253
- padding: 12px;
1254
- border: 1px solid #3c3c3c;
1255
- border-radius: 6px;
1256
- background: #1e1e1e;
1257
- color: #d4d4d4;
1258
- font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
1259
- font-size: 12px;
1260
- line-height: 1.6;
1261
- overflow: auto;
1262
- white-space: pre;
1263
- }
1264
-
1265
- .appium-replay-output--dialog {
1266
- box-sizing: border-box;
1267
- height: 100%;
1268
- min-height: 0;
1269
- max-height: none;
1270
- }
1271
-
1272
- .appium-replay-dialog.el-dialog {
1273
- display: flex;
1274
- padding: 0;
1275
- height: min(620px, calc(100vh - 64px));
1276
- min-width: 420px;
1277
- min-height: 280px;
1278
- max-width: calc(100vw - 32px);
1279
- max-height: calc(100vh - 32px);
1280
- flex-direction: column;
1281
- overflow: hidden;
1282
- resize: both;
1283
- }
1284
-
1285
- .appium-replay-dialog > .el-dialog__header,
1286
- .appium-replay-dialog > .el-dialog__footer {
1287
- flex: 0 0 auto;
1288
- }
1289
-
1290
- .appium-replay-dialog > .el-dialog__body {
1291
- flex: 1 1 auto;
1292
- min-height: 0;
1293
- overflow: hidden;
1294
- padding: 20px;
1295
- }
1296
-
1297
- .appium-replay-dialog .appium-replay-output {
1298
- border-color: #3c3c3c;
1299
- background: #1e1e1e;
1300
- color: #d4d4d4;
1301
- scrollbar-color: #424242 #1e1e1e;
1302
- }
1303
-
1304
- .appium-replay-dialog .appium-replay-output::-webkit-scrollbar {
1305
- width: 10px;
1306
- height: 10px;
1307
- }
1308
-
1309
- .appium-replay-dialog .appium-replay-output::-webkit-scrollbar-track {
1310
- background: #1e1e1e;
1311
- }
1312
-
1313
- .appium-replay-dialog .appium-replay-output::-webkit-scrollbar-thumb {
1314
- border: 2px solid #1e1e1e;
1315
- border-radius: 6px;
1316
- background: #424242;
1317
- }
1318
-
1319
- .appium-replay-dialog .appium-replay-output::-webkit-scrollbar-thumb:hover {
1320
- background: #4f4f4f;
1321
- }
1322
-
1323
- .appium-replay-output::selection {
1324
- background: #264f78;
1325
- color: #ffffff;
1326
- }
1327
-
1328
- .appium-replay-fab {
1329
- position: fixed;
1330
- right: 28px;
1331
- bottom: 28px;
1332
- z-index: 50;
1333
- }
1334
-
1335
- .appium-replay-fab .el-button {
1336
- width: 52px;
1337
- height: 52px;
1338
- font-size: 20px;
1339
- }
1340
-
1341
- .appium-replay-fab__button--running {
1342
- box-shadow:
1343
- 0 0 0 5px rgba(230, 162, 60, 0.18),
1344
- 0 8px 24px rgba(64, 158, 255, 0.28) !important;
1345
- }
1346
-
1347
- .appium-navigation-dialog {
1348
- display: grid;
1349
- gap: 12px;
1350
- color: #475569;
1351
- font-size: 13px;
1352
- }
1353
-
1354
- .appium-navigation-dialog p {
1355
- margin: 0;
1356
- }
1357
-
1358
- .appium-navigation-dialog dl {
1359
- display: grid;
1360
- gap: 8px;
1361
- margin: 0;
1362
- }
1363
-
1364
- .appium-navigation-dialog dl > div {
1365
- display: grid;
1366
- grid-template-columns: 64px minmax(0, 1fr);
1367
- gap: 10px;
1368
- align-items: start;
1369
- }
1370
-
1371
- .appium-navigation-dialog dt {
1372
- color: #64748b;
1373
- font-weight: 700;
1374
- }
1375
-
1376
- .appium-navigation-dialog dd {
1377
- min-width: 0;
1378
- margin: 0;
1379
- overflow-wrap: anywhere;
1380
- color: var(--ui-text);
1381
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
1382
- }
1383
-
1384
- .appium-navigation-footer {
1385
- display: flex;
1386
- justify-content: flex-end;
1387
- gap: 12px;
1388
- white-space: nowrap;
1389
- }
1390
-
1391
- .appium-navigation-footer .el-button + .el-button {
1392
- margin-left: 0;
1393
- }
1394
-
1395
- .subnav {
1396
- gap: 8px;
1397
- margin-bottom: 16px;
1398
- }
1399
-
1400
- .subnav__item {
1401
- cursor: pointer;
1402
- }
1403
-
1404
- .subnav__item--active {
1405
- border-color: var(--ui-primary);
1406
- }
1407
-
1408
- .page-grid {
1409
- display: grid;
1410
- grid-template-columns: repeat(2, minmax(0, 1fr));
1411
- gap: 16px;
1412
- margin-bottom: 16px;
1413
- }
1414
-
1415
- .page-grid--single {
1416
- grid-template-columns: 1fr;
1417
- }
1418
-
1419
- .config-grid {
1420
- display: grid;
1421
- grid-template-columns: 1fr;
1422
- gap: 16px;
1423
- margin-bottom: 16px;
1424
- }
1425
-
1426
- .generator-page {
1427
- min-height: 0;
1428
- }
1429
-
1430
- .generator-page--ai {
1431
- display: grid;
1432
- grid-template-rows: auto auto minmax(260px, 1fr);
1433
- gap: 16px;
1434
- height: auto;
1435
- min-height: 100%;
1436
- overflow: visible;
1437
- }
1438
-
1439
- .generator-page--manual {
1440
- display: block;
1441
- height: auto;
1442
- min-height: 100%;
1443
- overflow: visible;
1444
- }
1445
-
1446
- .generator-page--ai .subnav,
1447
- .generator-page--ai .page-grid {
1448
- margin-bottom: 0;
1449
- }
1450
-
1451
- .config-page {
1452
- height: 100%;
1453
- min-height: 0;
1454
- overflow: auto;
1455
- }
1456
-
1457
- .prompt-card.el-card,
1458
- .manual-steps-card.el-card,
1459
- .generator-code-card.el-card {
1460
- min-height: 0;
1461
- overflow: hidden;
1462
- }
1463
-
1464
- .prompt-card > .el-card__body,
1465
- .manual-steps-card > .el-card__body,
1466
- .generator-code-card > .el-card__body {
1467
- min-height: 0;
1468
- overflow: hidden;
1469
- }
1470
-
1471
- .manual-steps-card.el-card,
1472
- .generator-code-card.el-card {
1473
- display: flex;
1474
- flex-direction: column;
1475
- }
1476
-
1477
- .manual-steps-card > .el-card__body,
1478
- .generator-code-card > .el-card__body {
1479
- display: flex;
1480
- flex-direction: column;
1481
- }
1482
-
1483
- .generator-code-card > .el-card__body {
1484
- flex: 1 1 auto;
1485
- height: 100%;
1486
- padding-bottom: 28px;
1487
- }
1488
-
1489
- .source-prompt-input .el-textarea__inner {
1490
- height: 320px;
1491
- max-height: 320px;
1492
- overflow-y: auto;
1493
- resize: none;
1494
- }
1495
-
1496
- .manual-steps-card .method-guide {
1497
- flex: 0 0 auto;
1498
- }
1499
-
1500
- .manual-steps-card .step-list {
1501
- min-height: 0;
1502
- overflow: auto;
1503
- }
1504
-
1505
- .manual-steps-card .step-list__footer {
1506
- flex: 0 0 auto;
1507
- }
1508
-
1509
- .generator-page--manual .manual-steps-card.el-card {
1510
- display: block;
1511
- overflow: visible;
1512
- }
1513
-
1514
- .generator-page--manual .manual-steps-card > .el-card__body {
1515
- display: block;
1516
- overflow: visible;
1517
- }
1518
-
1519
- .generator-page--manual .manual-steps-card .step-list {
1520
- overflow: visible;
1521
- }
1522
-
1523
- .panel-header {
1524
- display: flex;
1525
- align-items: center;
1526
- justify-content: space-between;
1527
- gap: 12px;
1528
- }
1529
-
1530
- .panel-header__title {
1531
- display: flex;
1532
- align-items: center;
1533
- gap: 8px;
1534
- min-width: 0;
1535
- }
1536
-
1537
- .panel-header--sub {
1538
- min-height: 32px;
1539
- margin-bottom: 12px;
1540
- }
1541
-
1542
- .panel-header__actions {
1543
- display: flex;
1544
- gap: 8px;
1545
- }
1546
-
1547
- .config-model-help.el-button.is-text {
1548
- width: 28px;
1549
- height: 28px;
1550
- padding: 0;
1551
- font-size: 16px;
1552
- }
1553
-
1554
- .config-module-card {
1555
- min-width: 0;
1556
- }
1557
-
1558
- .config-model-grid {
1559
- display: grid;
1560
- grid-template-columns: repeat(2, minmax(0, 1fr));
1561
- }
1562
-
1563
- .app-preset-list {
1564
- display: grid;
1565
- gap: 8px;
1566
- margin-top: 16px;
1567
- max-height: 280px;
1568
- overflow-y: auto;
1569
- padding-right: 4px;
1570
- }
1571
-
1572
- .app-preset-row {
1573
- display: flex;
1574
- align-items: center;
1575
- justify-content: space-between;
1576
- gap: 12px;
1577
- min-height: 62px;
1578
- padding: 10px 12px;
1579
- border: 1px solid #ebeef5;
1580
- border-radius: 6px;
1581
- background: #fff;
1582
- }
1583
-
1584
- .app-preset-row__main {
1585
- display: grid;
1586
- gap: 4px;
1587
- min-width: 0;
1588
- }
1589
-
1590
- .app-preset-row__main strong,
1591
- .app-preset-row__main span {
1592
- overflow: hidden;
1593
- text-overflow: ellipsis;
1594
- white-space: nowrap;
1595
- }
1596
-
1597
- .app-preset-row__main span {
1598
- color: #64748b;
1599
- font-size: 12px;
1600
- }
1601
-
1602
- .prompt-example {
1603
- max-height: min(62vh, 640px);
1604
- overflow: auto;
1605
- margin: 0;
1606
- padding: 14px;
1607
- border-radius: 6px;
1608
- background: #f8fafc;
1609
- color: #334155;
1610
- font-size: 13px;
1611
- line-height: 1.7;
1612
- white-space: pre-wrap;
1613
- }
1614
-
1615
- .method-guide {
1616
- margin-bottom: 16px;
1617
- border: 1px solid #ebeef5;
1618
- border-radius: 6px;
1619
- }
1620
-
1621
- .method-guide__summary {
1622
- padding: 12px 16px;
1623
- cursor: pointer;
1624
- font-weight: 500;
1625
- user-select: none;
1626
- }
1627
-
1628
- .method-guide__content {
1629
- padding: 0 16px 16px;
1630
- border-top: 1px solid #f0f2f5;
1631
- }
1632
-
1633
- .method-guide__row {
1634
- display: grid;
1635
- grid-template-columns: 100px minmax(0, 1fr);
1636
- gap: 12px;
1637
- padding-top: 12px;
1638
- color: var(--ui-text-secondary);
1639
- font-size: 13px;
1640
- line-height: 1.6;
1641
- }
1642
-
1643
- .method-guide__row strong {
1644
- color: var(--ui-text);
1645
- }
1646
-
1647
- .method-guide__text {
1648
- display: grid;
1649
- gap: 4px;
1650
- }
1651
-
1652
- .method-guide__text code {
1653
- color: #1d4ed8;
1654
- font-size: 12px;
1655
- white-space: pre-wrap;
1656
- }
1657
-
1658
- .method-guide__footer,
1659
- .manual-steps-toolbar {
1660
- display: flex;
1661
- justify-content: flex-start;
1662
- gap: 8px;
1663
- padding-top: 12px;
1664
- }
1665
-
1666
- .manual-steps-toolbar {
1667
- padding-top: 0;
1668
- margin-bottom: 16px;
1669
- }
1670
-
1671
- .step-list {
1672
- display: grid;
1673
- gap: 12px;
1674
- }
1675
-
1676
- .step-list--dialog {
1677
- max-height: min(58vh, 620px);
1678
- overflow: auto;
1679
- padding-right: 4px;
1680
- }
1681
-
1682
- .generator-page--manual .manual-steps-card .step-list.step-list--dialog,
1683
- .steps-dialog .step-list.step-list--dialog {
1684
- max-height: min(58vh, 620px);
1685
- overflow-x: hidden;
1686
- overflow-y: auto;
1687
- overscroll-behavior: contain;
1688
- }
1689
-
1690
- .steps-dialog {
1691
- max-width: calc(100vw - 48px);
1692
- }
1693
-
1694
- .steps-dialog.el-dialog,
1695
- .steps-dialog .el-dialog {
1696
- display: flex;
1697
- flex-direction: column;
1698
- max-height: calc(100vh - 72px);
1699
- margin-top: 36px;
1700
- margin-bottom: 36px;
1701
- }
1702
-
1703
- .steps-dialog.el-dialog .el-dialog__body,
1704
- .steps-dialog .el-dialog__body {
1705
- flex: 1;
1706
- min-height: 0;
1707
- overflow: hidden;
1708
- padding-bottom: 12px;
1709
- }
1710
-
1711
- .steps-dialog.el-dialog .el-dialog__footer,
1712
- .steps-dialog .el-dialog__footer {
1713
- flex: 0 0 auto;
1714
- }
1715
-
1716
- .step-list__footer {
1717
- display: flex;
1718
- justify-content: center;
1719
- margin-top: 16px;
1720
- }
1721
-
1722
- .step-item {
1723
- padding: 16px;
1724
- border: 1px solid #ebeef5;
1725
- border-radius: 6px;
1726
- }
1727
-
1728
- .step-item--readonly {
1729
- background: #fff;
1730
- }
1731
-
1732
- .step-example-code {
1733
- margin: 10px 0 0;
1734
- padding: 10px;
1735
- border-radius: 4px;
1736
- background: #f8fafc;
1737
- color: #1d4ed8;
1738
- font-size: 12px;
1739
- line-height: 1.6;
1740
- white-space: pre-wrap;
1741
- }
1742
-
1743
- .step-item__top {
1744
- display: flex;
1745
- justify-content: space-between;
1746
- align-items: center;
1747
- margin-bottom: 12px;
1748
- }
1749
-
1750
- .step-item__index {
1751
- color: var(--ui-text-secondary);
1752
- font-size: 13px;
1753
- font-weight: 600;
1754
- }
1755
-
1756
- .step-item__actions {
1757
- display: flex;
1758
- align-items: center;
1759
- gap: 8px;
1760
- }
1761
-
1762
- .step-grid {
1763
- display: grid;
1764
- grid-template-columns: repeat(2, minmax(0, 1fr));
1765
- gap: 12px 16px;
1766
- align-items: start;
1767
- }
1768
-
1769
- .step-grid__wide {
1770
- grid-column: 1 / -1;
1771
- }
1772
-
1773
- .step-form .el-form-item {
1774
- margin-bottom: 0;
1775
- }
1776
-
1777
- .step-form .el-form-item__label {
1778
- padding-bottom: 8px;
1779
- line-height: 20px;
1780
- }
1781
-
1782
- .code-block,
1783
- .terminal-block {
1784
- overflow: auto;
1785
- margin: 0;
1786
- padding: 16px;
1787
- border-radius: 6px;
1788
- background: #0f172a;
1789
- color: #e2e8f0;
1790
- font-size: 13px;
1791
- line-height: 1.6;
1792
- white-space: pre-wrap;
1793
- }
1794
-
1795
- .code-block--small,
1796
- .terminal-block {
1797
- max-height: min(220px, 24vh);
1798
- }
1799
-
1800
- .generator-code-block {
1801
- flex: 0 0 auto;
1802
- height: clamp(240px, 34vh, 320px);
1803
- min-height: 240px;
1804
- max-height: 320px;
1805
- overflow: auto;
1806
- box-sizing: border-box;
1807
- padding-bottom: 56px;
1808
- scroll-padding-bottom: 56px;
1809
- }
1810
-
1811
- .generator-page--ai .generator-code-card {
1812
- min-height: 0;
1813
- }
1814
-
1815
- .generator-page--ai .generator-code-block {
1816
- flex: 1 1 auto;
1817
- height: auto;
1818
- min-height: 0;
1819
- max-height: none;
1820
- }
1821
-
1822
- .generator-code-block code {
1823
- display: block;
1824
- min-height: 100%;
1825
- padding-bottom: 24px;
1826
- }
1827
-
1828
- .generator-code-block code::after {
1829
- display: block;
1830
- height: 28px;
1831
- content: "";
1832
- }
1833
-
1834
- .generator-code-editor {
1835
- flex: 0 0 auto;
1836
- height: clamp(240px, 34vh, 320px);
1837
- min-height: 240px;
1838
- max-height: 320px;
1839
- }
1840
-
1841
- .generator-page--ai .generator-code-editor {
1842
- flex: 1 1 auto;
1843
- height: auto;
1844
- min-height: 0;
1845
- max-height: none;
1846
- }
1847
-
1848
- .generator-code-editor .el-textarea__inner {
1849
- height: 100%;
1850
- min-height: 100% !important;
1851
- overflow: auto;
1852
- padding: 16px 16px 56px;
1853
- border: 0;
1854
- border-radius: 6px;
1855
- background: #0f172a;
1856
- color: #e2e8f0;
1857
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
1858
- font-size: 13px;
1859
- line-height: 1.6;
1860
- white-space: pre;
1861
- }
1862
-
1863
- .code-dialog__body {
1864
- height: min(68vh, 720px);
1865
- max-height: min(68vh, 720px);
1866
- }
1867
-
1868
- .code-dialog__editor .el-textarea__inner {
1869
- height: min(68vh, 720px);
1870
- max-height: min(68vh, 720px);
1871
- overflow: auto;
1872
- border-radius: 6px;
1873
- background: #0f172a;
1874
- color: #e2e8f0;
1875
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
1876
- font-size: 13px;
1877
- line-height: 1.6;
1878
- white-space: pre;
1879
- }
1880
-
1881
- .code-empty {
1882
- display: flex;
1883
- align-items: center;
1884
- gap: 8px;
1885
- width: 100%;
1886
- min-height: 48px;
1887
- padding: 12px;
1888
- border: 1px dashed var(--ui-border-strong);
1889
- border-radius: 6px;
1890
- background: #f8fafc;
1891
- color: #909399;
1892
- font-size: 13px;
1893
- }
1894
-
1895
- .code-empty__dot {
1896
- width: 8px;
1897
- height: 8px;
1898
- border-radius: 50%;
1899
- background: #cbd5e1;
1900
- }
1901
-
1902
- .automation-layout {
1903
- display: grid;
1904
- grid-template-columns: 320px minmax(0, 1fr);
1905
- gap: 16px;
1906
- height: calc(100vh - 108px);
1907
- min-height: 0;
1908
- }
1909
-
1910
- .automation-stage {
1911
- display: grid;
1912
- grid-template-columns: 420px minmax(0, 1fr);
1913
- gap: 16px;
1914
- height: 100%;
1915
- min-height: 0;
1916
- }
1917
-
1918
- .automation-card {
1919
- min-height: 0;
1920
- overflow: hidden;
1921
- }
1922
-
1923
- .automation-card.el-card {
1924
- display: flex;
1925
- flex-direction: column;
1926
- }
1927
-
1928
- .automation-card > .el-card__body {
1929
- min-height: 0;
1930
- overflow: auto;
1931
- }
1932
-
1933
- .device-preview-card > .el-card__body,
1934
- .execution-card > .el-card__body {
1935
- overflow: hidden;
1936
- }
1937
-
1938
- .execution-card > .el-card__body {
1939
- display: flex;
1940
- flex: 1 1 auto;
1941
- min-height: 0;
1942
- }
1943
-
1944
- .execution-card.el-card {
1945
- height: 100%;
1946
- }
1947
-
1948
- .execution-card .el-form {
1949
- display: flex;
1950
- flex: 1;
1951
- width: 100%;
1952
- height: 100%;
1953
- min-width: 0;
1954
- min-height: 0;
1955
- flex-direction: column;
1956
- }
1957
-
1958
- .execution-card .el-form-item {
1959
- flex: 0 0 auto;
1960
- }
1961
-
1962
- .execution-card .execution-script-item {
1963
- margin-bottom: 12px;
1964
- }
1965
-
1966
- .execution-card .execution-output-item {
1967
- display: flex;
1968
- flex-direction: column;
1969
- align-items: stretch;
1970
- flex: 1 1 auto;
1971
- min-height: 0;
1972
- margin-bottom: 0;
1973
- }
1974
-
1975
- .execution-card .execution-output-item .el-form-item__content {
1976
- display: flex;
1977
- flex-direction: column;
1978
- flex: 1;
1979
- width: 100%;
1980
- min-width: 0;
1981
- min-height: 0;
1982
- overflow: hidden;
1983
- }
1984
-
1985
- .execution-card .execution-output-item .el-form-item__label {
1986
- display: block;
1987
- flex: 0 0 auto;
1988
- width: 100%;
1989
- padding-right: 0;
1990
- overflow: visible;
1991
- }
1992
-
1993
- .execution-output-section {
1994
- display: flex;
1995
- flex: 1 1 auto;
1996
- flex-direction: column;
1997
- gap: 8px;
1998
- width: 100%;
1999
- min-width: 0;
2000
- min-height: 0;
2001
- padding-right: 0;
2002
- box-sizing: border-box;
2003
- }
2004
-
2005
- .script-list {
2006
- display: grid;
2007
- gap: 8px;
2008
- }
2009
-
2010
- .script-row {
2011
- display: flex;
2012
- align-items: center;
2013
- justify-content: space-between;
2014
- width: 100%;
2015
- padding: 12px;
2016
- border: 1px solid #ebeef5;
2017
- border-radius: 6px;
2018
- background: #fff;
2019
- text-align: left;
2020
- cursor: pointer;
2021
- }
2022
-
2023
- .script-row__main {
2024
- display: grid;
2025
- gap: 4px;
2026
- min-width: 0;
2027
- }
2028
-
2029
- .script-row__main strong {
2030
- color: var(--ui-text);
2031
- overflow: hidden;
2032
- text-overflow: ellipsis;
2033
- white-space: nowrap;
2034
- }
2035
-
2036
- .script-row__main span,
2037
- .script-row__main small {
2038
- color: #909399;
2039
- font-size: 12px;
2040
- overflow: hidden;
2041
- text-overflow: ellipsis;
2042
- white-space: nowrap;
2043
- }
2044
-
2045
- .script-row__main span {
2046
- color: #475569;
2047
- }
2048
-
2049
- .script-row__actions {
2050
- display: flex;
2051
- align-items: center;
2052
- gap: 2px;
2053
- flex: 0 0 auto;
2054
- }
2055
-
2056
- .device-status {
2057
- display: flex;
2058
- align-items: center;
2059
- gap: 8px;
2060
- }
2061
-
2062
- .device-toolbar {
2063
- margin-bottom: 12px;
2064
- }
2065
-
2066
- .device-select {
2067
- width: 100%;
2068
- }
2069
-
2070
- .device-actions {
2071
- display: flex;
2072
- align-items: center;
2073
- gap: 6px;
2074
- margin-bottom: 14px;
2075
- }
2076
-
2077
- .device-action-button {
2078
- border: 0;
2079
- background: transparent;
2080
- color: #3f4752;
2081
- width: 30px;
2082
- height: 30px;
2083
- padding: 0;
2084
- display: grid;
2085
- place-items: center;
2086
- flex: 0 0 auto;
2087
- position: relative;
2088
- cursor: pointer;
2089
- }
2090
-
2091
- .device-action-button:disabled {
2092
- cursor: not-allowed;
2093
- opacity: 0.45;
2094
- }
2095
-
2096
- .device-action-button:disabled:hover {
2097
- background: transparent;
2098
- }
2099
-
2100
- .device-action-button__icon {
2101
- width: 17px;
2102
- height: 17px;
2103
- display: block;
2104
- color: inherit;
2105
- }
2106
-
2107
- .device-action-button__icon[alt='任务'] {
2108
- width: 14px;
2109
- height: 14px;
2110
- }
2111
-
2112
- .device-action-button__tooltip {
2113
- position: absolute;
2114
- left: 50%;
2115
- top: -30px;
2116
- transform: translateX(-50%);
2117
- padding: 2px 8px;
2118
- border-radius: 8px;
2119
- background: rgba(255, 255, 255, 0.96);
2120
- border: 1px solid #dbe3f0;
2121
- color: #475569;
2122
- font-size: 12px;
2123
- line-height: 18px;
2124
- white-space: nowrap;
2125
- box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
2126
- opacity: 0;
2127
- pointer-events: none;
2128
- transition: opacity 0.16s ease;
2129
- }
2130
-
2131
- .device-action-button:hover .device-action-button__tooltip {
2132
- opacity: 1;
2133
- }
2134
-
2135
- .device-actions::before {
2136
- content: '';
2137
- width: 1px;
2138
- height: 20px;
2139
- background: #d6dde8;
2140
- order: 3;
2141
- margin: 0 2px 0 4px;
2142
- }
2143
-
2144
- .device-actions > :nth-child(n + 4) {
2145
- order: 4;
2146
- }
2147
-
2148
- .device-actions > :nth-child(-n + 3) {
2149
- order: 2;
2150
- }
2151
-
2152
- .device-actions > :first-child {
2153
- order: 1;
2154
- }
2155
-
2156
- .device-action-button {
2157
- align-items: center;
2158
- justify-content: center;
2159
- }
2160
-
2161
- .device-preview {
2162
- flex: 1 1 auto;
2163
- overflow: hidden;
2164
- height: clamp(320px, calc(100vh - 300px), 680px);
2165
- min-height: 0;
2166
- position: relative;
2167
- display: flex;
2168
- align-items: center;
2169
- justify-content: center;
2170
- }
2171
-
2172
- .device-preview--image {
2173
- border-radius: 8px;
2174
- background: #f8fafc;
2175
- color: #334155;
2176
- border: 1px solid var(--ui-border);
2177
- }
2178
-
2179
- .device-preview__interactive {
2180
- width: 100%;
2181
- height: 100%;
2182
- display: block;
2183
- padding: 0;
2184
- position: relative;
2185
- }
2186
-
2187
- .device-preview__interactive--image {
2188
- width: auto;
2189
- max-width: 100%;
2190
- height: 100%;
2191
- }
2192
-
2193
- .device-preview__surface {
2194
- position: absolute;
2195
- inset: 0;
2196
- z-index: 2;
2197
- touch-action: none;
2198
- background: transparent;
2199
- cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='7' fill='none' stroke='%231f2937' stroke-width='2'/%3E%3Ccircle cx='14' cy='14' r='2' fill='%231f2937'/%3E%3C/svg%3E") 14 14, crosshair;
2200
- }
2201
-
2202
- .device-preview__surface--selecting {
2203
- cursor: crosshair;
2204
- }
2205
-
2206
- .device-preview__frame {
2207
- width: 100%;
2208
- height: 100%;
2209
- border: 0;
2210
- display: block;
2211
- background: #fff;
2212
- pointer-events: none;
2213
- }
2214
-
2215
- .device-preview__image {
2216
- object-fit: contain;
2217
- }
2218
-
2219
- .device-preview__overlay {
2220
- position: absolute;
2221
- inset: 0;
2222
- z-index: 3;
2223
- width: 100%;
2224
- height: 100%;
2225
- pointer-events: none;
2226
- }
2227
-
2228
- .device-preview__node-bound {
2229
- fill: transparent;
2230
- stroke: #35a853;
2231
- stroke-width: 1;
2232
- }
2233
-
2234
- .device-preview__selected-bound {
2235
- fill: rgba(147, 196, 125, 0.32);
2236
- stroke: #35a853;
2237
- stroke-width: 2;
2238
- }
2239
-
2240
- .device-preview__selected-region,
2241
- .device-preview__draft-region {
2242
- fill: rgba(22, 119, 255, 0.16);
2243
- stroke: #1677ff;
2244
- stroke-width: 2;
2245
- }
2246
-
2247
- .device-preview__draft-region {
2248
- stroke-dasharray: 8 5;
2249
- }
2250
-
2251
- @media (max-width: 1200px) {
2252
- .device-actions {
2253
- flex-wrap: wrap;
2254
- }
2255
-
2256
- .device-actions::before {
2257
- display: none;
2258
- }
2259
- }
2260
-
2261
- .device-preview__empty {
2262
- display: grid;
2263
- place-items: center;
2264
- height: 100%;
2265
- color: var(--ui-text-secondary);
2266
- text-align: center;
2267
- padding: 24px;
2268
- }
2269
-
2270
- .device-preview__icon {
2271
- width: 36px;
2272
- height: 36px;
2273
- margin-bottom: 12px;
2274
- }
2275
-
2276
- .device-preview__meta {
2277
- margin: 0 0 8px;
2278
- color: var(--ui-text);
2279
- font-weight: 600;
2280
- }
2281
-
2282
- .run-result,
2283
- .execution-output {
2284
- display: flex;
2285
- flex-direction: column;
2286
- width: 100%;
2287
- height: 100%;
2288
- min-height: 0;
2289
- padding: 12px;
2290
- border: 1px solid var(--ui-border);
2291
- border-radius: 6px;
2292
- background: #f8fafc;
2293
- }
2294
-
2295
- .run-result--success,
2296
- .execution-output--success {
2297
- border-color: #b7ebc6;
2298
- background: #f6ffed;
2299
- }
2300
-
2301
- .run-result--error,
2302
- .execution-output--error {
2303
- border-color: #fed7d7;
2304
- background: #fff5f5;
2305
- }
2306
-
2307
- .run-result--running,
2308
- .execution-output--running {
2309
- border-color: #fde68a;
2310
- background: #fffbeb;
2311
- }
2312
-
2313
- .run-result--stopped,
2314
- .execution-output--stopped {
2315
- border-color: #fde68a;
2316
- background: #fffbeb;
2317
- }
2318
-
2319
- .run-result__header,
2320
- .execution-output__header {
2321
- display: flex;
2322
- align-items: center;
2323
- gap: 8px;
2324
- min-height: 24px;
2325
- }
2326
-
2327
- .run-result__header strong,
2328
- .execution-output__header strong {
2329
- color: var(--ui-text);
2330
- font-size: 13px;
2331
- font-weight: 600;
2332
- }
2333
-
2334
- .run-result__dot,
2335
- .execution-output__dot {
2336
- width: 8px;
2337
- height: 8px;
2338
- border-radius: 50%;
2339
- background: #cbd5e1;
2340
- }
2341
-
2342
- .run-result--success .run-result__dot,
2343
- .execution-output--success .execution-output__dot {
2344
- background: #22c55e;
2345
- }
2346
-
2347
- .run-result--error .run-result__dot,
2348
- .execution-output--error .execution-output__dot {
2349
- background: #ef4444;
2350
- }
2351
-
2352
- .run-result--running .run-result__dot,
2353
- .execution-output--running .execution-output__dot {
2354
- background: #f59e0b;
2355
- }
2356
-
2357
- .run-result--stopped .run-result__dot,
2358
- .execution-output--stopped .execution-output__dot {
2359
- background: #f59e0b;
2360
- }
2361
-
2362
- .run-result__empty,
2363
- .execution-log__empty {
2364
- display: block;
2365
- margin-top: 8px;
2366
- color: #909399;
2367
- font-size: 12px;
2368
- }
2369
-
2370
- .run-result__output {
2371
- flex: 1;
2372
- min-height: 0;
2373
- max-height: none;
2374
- overflow: auto;
2375
- margin: 10px 0 0;
2376
- padding: 10px;
2377
- border-radius: 4px;
2378
- background: #fff;
2379
- color: #475569;
2380
- font-size: 12px;
2381
- line-height: 1.6;
2382
- white-space: pre-wrap;
2383
- }
2384
-
2385
- .execution-output__body {
2386
- display: grid;
2387
- grid-template-rows: minmax(0, 1fr) minmax(110px, 30%);
2388
- gap: 10px;
2389
- flex: 1;
2390
- min-height: 0;
2391
- margin-top: 10px;
2392
- }
2393
-
2394
- .execution-log {
2395
- display: block;
2396
- min-width: 0;
2397
- min-height: 0;
2398
- overflow: hidden;
2399
- }
2400
-
2401
- .execution-log--panel {
2402
- flex: 1 1 auto;
2403
- width: 100%;
2404
- min-width: 0;
2405
- height: 100%;
2406
- min-height: 0;
2407
- padding: 0;
2408
- border: 1px solid #263244;
2409
- border-radius: 6px;
2410
- background: #101722;
2411
- scrollbar-color: #526174 #101722;
2412
- }
2413
-
2414
- .execution-output-header {
2415
- display: flex;
2416
- align-items: center;
2417
- justify-content: space-between;
2418
- gap: 12px;
2419
- width: 100%;
2420
- min-width: 0;
2421
- padding-right: 0;
2422
- box-sizing: border-box;
2423
- }
2424
-
2425
- .execution-output-toolbar {
2426
- display: flex;
2427
- align-items: center;
2428
- justify-content: flex-end;
2429
- flex: 0 1 auto;
2430
- flex-wrap: wrap;
2431
- gap: 4px;
2432
- min-width: 0;
2433
- min-height: 24px;
2434
- color: #64748b;
2435
- font-size: 12px;
2436
- font-weight: 600;
2437
- }
2438
-
2439
- .execution-output-duration {
2440
- color: #64748b;
2441
- font-variant-numeric: tabular-nums;
2442
- line-height: 24px;
2443
- }
2444
-
2445
- .execution-log__output {
2446
- display: block;
2447
- width: 100%;
2448
- height: 100%;
2449
- min-height: 100%;
2450
- margin: 0;
2451
- padding: 10px;
2452
- box-sizing: border-box;
2453
- border: 0;
2454
- outline: 0;
2455
- resize: none;
2456
- color: #d7e0ea;
2457
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
2458
- font-size: 12px;
2459
- line-height: 1.6;
2460
- overflow: auto;
2461
- white-space: pre-wrap;
2462
- overflow-wrap: normal;
2463
- word-break: break-word;
2464
- }
2465
-
2466
- .execution-log__output::-webkit-scrollbar {
2467
- width: 10px;
2468
- height: 10px;
2469
- }
2470
-
2471
- .execution-log__output::-webkit-scrollbar-track {
2472
- background: #101722;
2473
- }
2474
-
2475
- .execution-log__output::-webkit-scrollbar-thumb {
2476
- border: 2px solid #101722;
2477
- border-radius: 6px;
2478
- background: #526174;
2479
- }
2480
-
2481
- .execution-process {
2482
- display: grid;
2483
- align-content: start;
2484
- gap: 10px;
2485
- width: 100%;
2486
- height: 100%;
2487
- min-height: 0;
2488
- max-height: none;
2489
- overflow: auto;
2490
- padding: 12px;
2491
- border: 1px solid var(--ui-border);
2492
- border-radius: 6px;
2493
- background: #f8fafc;
2494
- }
2495
-
2496
- .execution-step {
2497
- display: grid;
2498
- grid-template-columns: 28px minmax(0, 1fr);
2499
- gap: 10px;
2500
- }
2501
-
2502
- .execution-step__index {
2503
- display: grid;
2504
- place-items: center;
2505
- width: 28px;
2506
- height: 28px;
2507
- border-radius: 50%;
2508
- background: #dbe3ee;
2509
- color: #475569;
2510
- font-size: 12px;
2511
- font-weight: 700;
2512
- }
2513
-
2514
- .execution-step--running .execution-step__index {
2515
- background: #f59e0b;
2516
- color: #fff;
2517
- }
2518
-
2519
- .execution-step--success .execution-step__index {
2520
- background: #10b981;
2521
- color: #fff;
2522
- }
2523
-
2524
- .execution-step--error .execution-step__index {
2525
- background: #ef4444;
2526
- color: #fff;
2527
- }
2528
-
2529
- .execution-step__body {
2530
- min-width: 0;
2531
- padding: 10px 12px;
2532
- border: 1px solid #e2e8f0;
2533
- border-radius: 6px;
2534
- background: #fff;
2535
- }
2536
-
2537
- .execution-step__top {
2538
- display: flex;
2539
- align-items: center;
2540
- justify-content: space-between;
2541
- gap: 10px;
2542
- }
2543
-
2544
- .execution-step__top strong {
2545
- min-width: 0;
2546
- overflow: hidden;
2547
- color: #1f2937;
2548
- font-size: 13px;
2549
- text-overflow: ellipsis;
2550
- white-space: nowrap;
2551
- }
2552
-
2553
- .execution-step__meta {
2554
- margin-top: 4px;
2555
- color: #2563eb;
2556
- font-size: 12px;
2557
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
2558
- }
2559
-
2560
- .execution-step p {
2561
- margin: 6px 0 0;
2562
- color: #475569;
2563
- font-size: 12px;
2564
- line-height: 1.5;
2565
- }
2566
-
2567
- .execution-step__detail,
2568
- .execution-step__detail-text {
2569
- display: block;
2570
- margin-top: 8px;
2571
- color: #64748b;
2572
- font-size: 12px;
2573
- }
2574
-
2575
- .execution-step__detail {
2576
- max-height: 120px;
2577
- overflow: auto;
2578
- padding: 8px;
2579
- border-radius: 4px;
2580
- background: #fff1f2;
2581
- color: #be123c;
2582
- white-space: pre-wrap;
2583
- }
2584
-
2585
- @media (max-width: 1440px) {
2586
- body {
2587
- min-width: 0;
2588
- }
2589
-
2590
- .automation-layout {
2591
- height: auto;
2592
- min-height: calc(100vh - 108px);
2593
- }
2594
-
2595
- .automation-stage {
2596
- grid-template-columns: 1fr;
2597
- }
2598
-
2599
- .execution-card.el-card {
2600
- height: min(760px, calc(100vh - 120px));
2601
- min-height: 560px;
2602
- }
2603
-
2604
- .appium-recorder-layout {
2605
- grid-template-columns: 1fr;
2606
- height: auto;
2607
- }
2608
-
2609
- .appium-recorder-layout > .appium-recorder-card > .el-card__body {
2610
- height: min(640px, 58vh);
2611
- }
2612
-
2613
- .appium-recorder-layout > .device-preview-card.el-card {
2614
- height: clamp(620px, calc(100vh - 100px), 820px);
2615
- }
2616
-
2617
- .device-preview {
2618
- height: min(640px, 58vh);
2619
- }
2620
- }
2621
-
2622
- @media (max-width: 520px) {
2623
- .appium-replay-dialog.el-dialog {
2624
- min-width: calc(100vw - 32px);
2625
- }
2626
-
2627
- .appium-replay-fab {
2628
- right: 16px;
2629
- bottom: 16px;
2630
- }
2631
- }
2632
-
2633
- @media (max-width: 1200px) {
2634
- .layout {
2635
- grid-template-columns: 1fr;
2636
- }
2637
-
2638
- .layout-sidebar {
2639
- border-right: 0;
2640
- }
2641
-
2642
- .automation-layout,
2643
- .page-grid,
2644
- .config-grid {
2645
- grid-template-columns: 1fr;
2646
- }
2647
- }
2648
-
2649
- /* Vue Flow based Appium recorder canvas. Keep these rules after the legacy
2650
- flow styles so the old hand-drawn connector CSS cannot leak into it. */
2651
- .appium-flow-canvas--vue {
2652
- position: relative;
2653
- width: 100%;
2654
- height: clamp(520px, calc(100vh - 300px), 780px);
2655
- min-height: 520px;
2656
- overflow: hidden;
2657
- border: 1px solid #e6edf5;
2658
- border-radius: 12px;
2659
- background: var(--flow-background, var(--ui-bg-soft));
2660
- }
2661
-
2662
- .appium-flow-canvas--dialog.appium-flow-canvas--vue {
2663
- height: 72vh;
2664
- min-height: 620px;
2665
- }
2666
-
2667
- .appium-vue-flow {
2668
- width: 100%;
2669
- height: 100%;
2670
- background:
2671
- radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--flow-background) 75%, var(--ui-text-muted)) 1px, transparent 0) 0 0 / 22px 22px,
2672
- var(--flow-background, var(--ui-bg-soft));
2673
- }
2674
-
2675
- .appium-vue-flow .vue-flow__pane {
2676
- cursor: grab;
2677
- }
2678
-
2679
- .appium-vue-flow .vue-flow__pane:active {
2680
- cursor: grabbing;
2681
- }
2682
-
2683
- .appium-vue-flow .vue-flow__node {
2684
- border: 0;
2685
- background: transparent;
2686
- box-shadow: none;
2687
- pointer-events: all;
2688
- z-index: 2;
2689
- }
2690
-
2691
- .appium-vue-flow .vue-flow__edges {
2692
- z-index: 0;
2693
- }
2694
-
2695
- .appium-vue-flow .vue-flow__nodes {
2696
- z-index: 1;
2697
- }
2698
-
2699
- .appium-vue-flow .vue-flow__edge {
2700
- pointer-events: none;
2701
- }
2702
-
2703
- .appium-vue-flow .vue-flow__edge-path,
2704
- .appium-vue-flow .vue-flow__connection-path {
2705
- stroke: var(--appium-flow-line-color, #94a3b8);
2706
- stroke-width: 2.25;
2707
- stroke-linecap: round;
2708
- stroke-linejoin: round;
2709
- fill: none;
2710
- }
2711
-
2712
- .appium-flow-graph-node {
2713
- position: relative;
2714
- width: max-content;
2715
- min-width: 0;
2716
- pointer-events: auto;
2717
- }
2718
-
2719
- .appium-flow-graph-node--start {
2720
- width: 180px;
2721
- }
2722
-
2723
- .appium-flow-graph-node--step {
2724
- width: 340px;
2725
- }
2726
-
2727
- .appium-flow-graph-node--search-highlighted .appium-flow-step-card {
2728
- outline: 3px solid #168aad;
2729
- outline-offset: 4px;
2730
- }
2731
-
2732
- .appium-flow-graph-node--insert {
2733
- width: 34px;
2734
- height: 34px;
2735
- }
2736
-
2737
- .appium-flow-graph-node--branch {
2738
- width: 34px;
2739
- height: 26px;
2740
- }
2741
-
2742
- .appium-flow-graph-node--split {
2743
- width: 10px;
2744
- height: 10px;
2745
- }
2746
-
2747
- .appium-flow-handle {
2748
- width: 1px;
2749
- height: 1px;
2750
- border: 0;
2751
- opacity: 0;
2752
- pointer-events: none;
2753
- }
2754
-
2755
- .appium-flow-graph-node--step .appium-flow-handle {
2756
- width: 7px;
2757
- height: 7px;
2758
- min-width: 7px;
2759
- min-height: 7px;
2760
- border: 1px solid var(--ui-surface);
2761
- border-radius: 50%;
2762
- background: var(--appium-flow-line-color, #94a3b8);
2763
- opacity: 1;
2764
- }
2765
-
2766
- /* Invisible split handles share one point; Vue Flow's 5px minimum creates a gap. */
2767
- .appium-flow-graph-node--split .appium-flow-handle {
2768
- width: 0;
2769
- height: 0;
2770
- min-width: 0;
2771
- min-height: 0;
2772
- top: 50%;
2773
- bottom: auto;
2774
- left: 50%;
2775
- right: auto;
2776
- transform: translate(-50%, -50%);
2777
- }
2778
-
2779
- .appium-flow-start-card {
2780
- display: flex;
2781
- align-items: center;
2782
- gap: 10px;
2783
- width: 180px;
2784
- height: 62px;
2785
- padding: 10px 14px;
2786
- border: 1px solid var(--ui-border);
2787
- border-radius: 8px;
2788
- background: var(--ui-surface);
2789
- box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
2790
- }
2791
-
2792
- .appium-flow-start-card__icon {
2793
- display: inline-flex;
2794
- align-items: center;
2795
- justify-content: center;
2796
- width: 28px;
2797
- height: 28px;
2798
- border-radius: 8px;
2799
- background: #e8f1ff;
2800
- color: #1677ff;
2801
- font-weight: 700;
2802
- font-size: 13px;
2803
- }
2804
-
2805
- .appium-flow-start-card strong,
2806
- .appium-flow-start-card small {
2807
- display: block;
2808
- }
2809
-
2810
- .appium-flow-start-card strong {
2811
- color: var(--ui-text);
2812
- font-size: 14px;
2813
- line-height: 1.2;
2814
- }
2815
-
2816
- .appium-flow-start-card small {
2817
- margin-top: 4px;
2818
- color: var(--ui-text-muted);
2819
- font-size: 12px;
2820
- }
2821
-
2822
- .appium-flow-branch-pill {
2823
- position: relative;
2824
- z-index: 2;
2825
- display: inline-flex;
2826
- align-items: center;
2827
- justify-content: center;
2828
- width: 34px;
2829
- height: 26px;
2830
- border: 0;
2831
- border-radius: 999px;
2832
- color: #fff;
2833
- font-weight: 700;
2834
- font-size: 14px;
2835
- line-height: 1;
2836
- }
2837
-
2838
- .appium-flow-branch-pill--yes {
2839
- background: #5cc43a;
2840
- }
2841
-
2842
- .appium-flow-branch-pill--no {
2843
- background: #ff6872;
2844
- }
2845
-
2846
- .appium-flow-split-joint {
2847
- display: block;
2848
- width: 10px;
2849
- height: 10px;
2850
- border: 0;
2851
- background: transparent;
2852
- box-sizing: border-box;
2853
- }
2854
-
2855
- .appium-flow-insert-node {
2856
- position: relative;
2857
- z-index: 2;
2858
- display: flex;
2859
- align-items: center;
2860
- justify-content: center;
2861
- width: 34px;
2862
- height: 34px;
2863
- }
2864
-
2865
- .appium-flow-insert-node .el-button.is-circle {
2866
- width: 34px;
2867
- height: 34px;
2868
- border: 0;
2869
- background: #1677ff;
2870
- box-shadow: 0 8px 18px rgba(22, 119, 255, 0.25);
2871
- }
2872
-
2873
- .appium-flow-insert-preview-point {
2874
- width: 8px;
2875
- height: 8px;
2876
- border-radius: 999px;
2877
- background: #cbd5e1;
2878
- box-shadow: 0 0 0 4px rgba(203, 213, 225, 0.28);
2879
- }
2880
-
2881
- .appium-flow-step-shell {
2882
- position: relative;
2883
- display: grid;
2884
- grid-template-columns: minmax(0, 1fr);
2885
- width: 340px;
2886
- }
2887
-
2888
- .appium-flow-step-card {
2889
- grid-area: 1 / 1;
2890
- width: 340px;
2891
- min-height: 78px;
2892
- padding: 10px 14px;
2893
- border: 1px solid var(--ui-border);
2894
- border-radius: 8px;
2895
- background: var(--ui-surface);
2896
- box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
2897
- color: inherit;
2898
- text-align: left;
2899
- cursor: pointer;
2900
- }
2901
-
2902
- .appium-flow-step-shell:has(> .appium-flow-step-card__actions) > .appium-flow-step-card {
2903
- padding-bottom: 44px;
2904
- }
2905
-
2906
- .appium-flow-step-shell--readonly .appium-flow-step-card {
2907
- padding-right: 14px;
2908
- cursor: default;
2909
- }
2910
-
2911
- .appium-flow-step-card:hover {
2912
- border-color: #a7c7f9;
2913
- box-shadow: 0 10px 24px rgba(39, 111, 236, 0.12);
2914
- }
2915
-
2916
- .appium-flow-step-shell--condition .appium-flow-step-card {
2917
- border-color: var(--ui-border);
2918
- border-left: 3px solid #f6a23a;
2919
- background: color-mix(in srgb, var(--ui-surface) 94%, #f6a23a);
2920
- }
2921
-
2922
- .appium-flow-step-shell--assertion .appium-flow-step-card {
2923
- border-color: var(--ui-border);
2924
- border-left: 3px solid #95d475;
2925
- background: color-mix(in srgb, var(--ui-surface) 94%, #95d475);
2926
- }
2927
-
2928
- .appium-flow-step-shell--selected .appium-flow-step-card {
2929
- border-color: #2f7df6;
2930
- background: color-mix(in srgb, var(--ui-surface) 90%, var(--ui-primary));
2931
- box-shadow: 0 0 0 3px rgba(47, 125, 246, 0.16);
2932
- }
2933
-
2934
- .appium-flow-step-shell--copying .appium-flow-step-card {
2935
- cursor: copy;
2936
- }
2937
-
2938
- .appium-flow-step-card__content {
2939
- display: block;
2940
- min-width: 0;
2941
- }
2942
-
2943
- .appium-flow-step-card__content strong,
2944
- .appium-flow-step-card__content small,
2945
- .appium-flow-step-card__content em {
2946
- display: block;
2947
- min-width: 0;
2948
- overflow-wrap: anywhere;
2949
- word-break: break-word;
2950
- white-space: normal;
2951
- }
2952
-
2953
- .appium-flow-step-card__content strong {
2954
- color: var(--ui-text);
2955
- font-size: 14px;
2956
- line-height: 1.35;
2957
- }
2958
-
2959
- .appium-flow-step-card__content small {
2960
- margin-top: 3px;
2961
- color: var(--ui-text-muted);
2962
- font-size: 12px;
2963
- line-height: 1.35;
2964
- }
2965
-
2966
- .appium-flow-step-card__content em {
2967
- margin-top: 3px;
2968
- color: var(--ui-text);
2969
- font-style: normal;
2970
- font-size: 12px;
2971
- line-height: 1.35;
2972
- }
2973
-
2974
- .appium-flow-step-card__actions {
2975
- grid-area: 1 / 1;
2976
- position: relative;
2977
- align-self: end;
2978
- justify-self: end;
2979
- margin: 0 10px 10px;
2980
- display: inline-flex;
2981
- align-items: center;
2982
- gap: 2px;
2983
- }
2984
-
2985
- .appium-flow-step-card__actions .el-button {
2986
- width: 22px;
2987
- height: 22px;
2988
- margin: 0;
2989
- color: var(--ui-text-muted);
2990
- }
2991
-
2992
- .appium-flow-step-editor {
2993
- grid-area: 2 / 1;
2994
- width: 340px;
2995
- margin-top: 8px;
2996
- border-color: var(--ui-border);
2997
- border-radius: 8px;
2998
- background: var(--ui-surface);
2999
- }
3000
-
3001
- .appium-action-dropdown .el-dropdown-menu {
3002
- min-width: 180px;
3003
- }
3004
-
3005
- .appium-action-dropdown__group {
3006
- padding: 8px 14px 4px;
3007
- color: #94a3b8;
3008
- font-weight: 600;
3009
- font-size: 12px;
3010
- }
3011
-
3012
- /* Artemis visual language shared by every host page and Element Plus control. */
3013
- :root {
3014
- --ui-primary: #1a73e8;
3015
- --ui-primary-hover: #1557b0;
3016
- --ui-primary-active: #174ea6;
3017
- --ui-success: #059669;
3018
- --ui-warning: #d97706;
3019
- --ui-danger: #dc2626;
3020
- --ui-text: #0f172a;
3021
- --ui-text-secondary: #475569;
3022
- --ui-text-muted: #64748b;
3023
- --ui-border: #e2e8f0;
3024
- --ui-border-strong: #cbd5e1;
3025
- --ui-bg: #f8f9fa;
3026
- --ui-bg-soft: #f1f5f9;
3027
- --ui-surface: #ffffff;
3028
- --ui-radius: 20px;
3029
- --ui-radius-control: 12px;
3030
- --ui-radius-pill: 999px;
3031
- --ui-shadow-card: inset 0 1px 0 rgb(255 255 255 / 95%), 0 2px 4px rgb(15 23 42 / 5%), 0 10px 24px -8px rgb(15 23 42 / 14%);
3032
- --ui-shadow-control: inset 0 1px 0 rgb(255 255 255 / 90%), 0 2px 3px rgb(15 23 42 / 7%), 0 4px 8px -3px rgb(15 23 42 / 10%);
3033
- --ui-shadow-inset: inset 0 2px 4px rgb(15 23 42 / 5%), 0 1px 0 rgb(255 255 255 / 90%);
3034
- --ui-shadow-primary: inset 0 1px 0 rgb(255 255 255 / 25%), 0 2px 3px rgb(26 115 232 / 18%), 0 6px 12px -3px rgb(26 115 232 / 28%);
3035
- --ui-shadow-popover: inset 0 1px 0 rgb(255 255 255 / 95%), 0 4px 10px rgb(15 23 42 / 8%), 0 18px 40px -8px rgb(15 23 42 / 20%);
3036
- --ui-font: 'Google Sans Text', 'Google Sans', 'Inter', -apple-system, BlinkMacSystemFont,
3037
- 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
3038
-
3039
- --el-font-family: var(--ui-font);
3040
- --el-color-primary: var(--ui-primary);
3041
- --el-color-primary-light-3: #5f9aee;
3042
- --el-color-primary-light-5: #8cb9f4;
3043
- --el-color-primary-light-7: #bfdbfe;
3044
- --el-color-primary-light-8: #dbeafe;
3045
- --el-color-primary-light-9: #eff6ff;
3046
- --el-color-primary-dark-2: var(--ui-primary-active);
3047
- --el-color-success: var(--ui-success);
3048
- --el-color-success-light-3: #50b69b;
3049
- --el-color-success-light-5: #82ceba;
3050
- --el-color-success-light-7: #a7f3d0;
3051
- --el-color-success-light-8: #d1fae5;
3052
- --el-color-success-light-9: #ecfdf5;
3053
- --el-color-success-dark-2: #047857;
3054
- --el-color-warning: var(--ui-warning);
3055
- --el-color-warning-light-3: #e5a050;
3056
- --el-color-warning-light-5: #f2c082;
3057
- --el-color-warning-light-7: #fde68a;
3058
- --el-color-warning-light-8: #fef3c7;
3059
- --el-color-warning-light-9: #fffbeb;
3060
- --el-color-warning-dark-2: #b45309;
3061
- --el-color-danger: var(--ui-danger);
3062
- --el-color-danger-light-3: #e86b6b;
3063
- --el-color-danger-light-5: #f39b9b;
3064
- --el-color-danger-light-7: #fecaca;
3065
- --el-color-danger-light-8: #fee2e2;
3066
- --el-color-danger-light-9: #fef2f2;
3067
- --el-color-danger-dark-2: #b91c1c;
3068
- --el-text-color-primary: var(--ui-text);
3069
- --el-text-color-regular: var(--ui-text-secondary);
3070
- --el-text-color-secondary: var(--ui-text-secondary);
3071
- --el-text-color-placeholder: #94a3b8;
3072
- --el-border-color: var(--ui-border-strong);
3073
- --el-border-color-light: var(--ui-border);
3074
- --el-border-color-lighter: #f1f5f9;
3075
- --el-fill-color-light: var(--ui-bg-soft);
3076
- --el-fill-color-lighter: #f8fafc;
3077
- --el-bg-color-page: var(--ui-bg);
3078
- --el-border-radius-base: var(--ui-radius-control);
3079
- --el-border-radius-small: 8px;
3080
- --el-box-shadow-light: var(--ui-shadow-popover);
3081
- font-family: var(--ui-font);
3082
- color: var(--ui-text);
3083
- }
3084
-
3085
- body {
3086
- background: var(--ui-bg);
3087
- color: var(--ui-text);
3088
- letter-spacing: 0;
3089
- }
3090
-
3091
- ::selection {
3092
- background: #e8f0fe;
3093
- color: var(--ui-primary);
3094
- }
3095
-
3096
- .layout {
3097
- grid-template-columns: 224px minmax(0, 1fr);
3098
- background: var(--ui-bg);
3099
- }
3100
-
3101
- .layout-sidebar {
3102
- border-right: 1px solid var(--ui-border);
3103
- background: rgb(255 255 255 / 78%);
3104
- }
3105
-
3106
- .layout-sidebar__top {
3107
- height: 56px;
3108
- gap: 10px;
3109
- padding: 0 16px;
3110
- justify-content: flex-start;
3111
- border-bottom: 0;
3112
- }
3113
-
3114
- .layout-sidebar__logo {
3115
- border-radius: var(--ui-radius);
3116
- flex: none;
3117
- width: 32px;
3118
- height: 32px;
3119
- background: var(--ui-primary);
3120
- box-shadow: 0 2px 8px rgb(26 115 232 / 18%);
3121
- color: #fff;
3122
- font-size: 20px;
3123
- }
3124
-
3125
- .layout-menu.el-menu {
3126
- --el-menu-bg-color: #fff;
3127
- --el-menu-text-color: #4b5563;
3128
- --el-menu-hover-bg-color: #f1f5f9;
3129
- --el-menu-active-color: var(--ui-primary);
3130
- padding: 10px 8px;
3131
- }
3132
-
3133
- .layout-menu .el-menu-item,
3134
- .layout-menu .el-sub-menu__title {
3135
- height: 44px;
3136
- margin: 2px 0;
3137
- border-radius: var(--ui-radius-pill);
3138
- line-height: 44px;
3139
- }
3140
-
3141
- .layout-menu .el-menu-item.is-active {
3142
- background: #e8f0fe;
3143
- box-shadow: none;
3144
- font-weight: 600;
3145
- }
3146
-
3147
- .layout-menu .el-sub-menu .el-menu-item,
3148
- .layout-menu .el-sub-menu .el-sub-menu > .el-sub-menu__title {
3149
- min-width: 0;
3150
- padding-left: 48px !important;
3151
- }
3152
-
3153
- .layout-main {
3154
- grid-template-rows: 56px 40px minmax(0, 1fr);
3155
- min-width: 0;
3156
- }
3157
-
3158
- .layout-header {
3159
- padding: 0 20px;
3160
- border-bottom-color: var(--ui-border);
3161
- background: rgba(255, 255, 255, 0.96);
3162
- }
3163
-
3164
- .layout-header__title {
3165
- color: var(--ui-text);
3166
- display: flex;
3167
- align-items: center;
3168
- gap: 12px;
3169
- font-size: 14px;
3170
- font-weight: 400;
3171
- }
3172
-
3173
- .layout-header__actions {
3174
- align-items: center;
3175
- gap: 8px;
3176
- }
3177
-
3178
- .page-body {
3179
- padding: 20px 24px 24px;
3180
- scrollbar-gutter: stable;
3181
- }
3182
-
3183
- .page-body:not(.page-body--appium) > .generator-page,
3184
- .page-body:not(.page-body--appium) > .config-page,
3185
- .page-body:not(.page-body--appium) > .automation-layout {
3186
- width: 100%;
3187
- margin: 0;
3188
- }
3189
-
3190
- .page-alert,
3191
- .page-section {
3192
- margin-bottom: 16px;
3193
- }
3194
-
3195
- .el-card {
3196
- border-color: var(--ui-border);
3197
- border-radius: var(--ui-radius);
3198
- background: var(--ui-surface);
3199
- }
3200
-
3201
- .el-card__header {
3202
- min-height: 54px;
3203
- padding: 15px 18px;
3204
- border-bottom-color: var(--ui-border);
3205
- color: var(--ui-text);
3206
- font-size: 15px;
3207
- font-weight: 650;
3208
- }
3209
-
3210
- .el-card__body {
3211
- padding: 18px;
3212
- }
3213
-
3214
- .el-button {
3215
- font-weight: 500;
3216
- letter-spacing: 0;
3217
- }
3218
-
3219
- .el-button:not(.is-circle):not(.el-button--small) {
3220
- min-height: 32px;
3221
- padding-right: 14px;
3222
- padding-left: 14px;
3223
- }
3224
-
3225
- .el-button--primary:not(.is-disabled):not(.is-plain):not(.is-text):not(.is-link) {
3226
- --el-button-text-color: #fff;
3227
- --el-button-hover-text-color: #fff;
3228
- --el-button-active-text-color: #fff;
3229
- box-shadow: none;
3230
- }
3231
-
3232
- .layout-header .el-button--primary.is-disabled,
3233
- .generator-page .el-button--primary.is-disabled,
3234
- .appium-header-actions .el-button--primary.is-disabled {
3235
- --el-button-disabled-text-color: #9ca3af;
3236
- --el-button-disabled-bg-color: #f3f4f6;
3237
- --el-button-disabled-border-color: #e5e7eb;
3238
- }
3239
-
3240
- .el-button--danger:not(.is-disabled) {
3241
- box-shadow: 0 2px 5px rgba(255, 77, 79, 0.12);
3242
- }
3243
-
3244
- .el-input__wrapper,
3245
- .el-select__wrapper,
3246
- .el-textarea__inner,
3247
- .el-input-number .el-input__wrapper {
3248
- border-radius: var(--ui-radius-control);
3249
- box-shadow: 0 0 0 1px var(--ui-border-strong) inset;
3250
- }
3251
-
3252
- .el-input__wrapper:hover,
3253
- .el-select__wrapper:hover,
3254
- .el-textarea__inner:hover {
3255
- box-shadow: 0 0 0 1px #bfdbfe inset;
3256
- }
3257
-
3258
- .el-form-item__label {
3259
- color: #374151;
3260
- font-size: 13px;
3261
- font-weight: 500;
3262
- }
3263
-
3264
- .el-dialog {
3265
- --el-dialog-padding-primary: 0;
3266
- padding: 0;
3267
- margin-bottom: 24px;
3268
- max-width: calc(100vw - 32px);
3269
- overflow: hidden;
3270
- border: 1px solid var(--ui-border);
3271
- border-radius: var(--ui-radius);
3272
- box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
3273
- }
3274
-
3275
- .el-dialog__header {
3276
- margin-right: 0;
3277
- padding: 16px 20px;
3278
- border-bottom: 1px solid var(--ui-border);
3279
- }
3280
-
3281
- .el-dialog__header.show-close {
3282
- padding-right: 64px;
3283
- }
3284
-
3285
- .el-dialog__headerbtn {
3286
- top: 8px;
3287
- right: 12px;
3288
- width: 40px;
3289
- height: 40px;
3290
- border-radius: var(--ui-radius-control);
3291
- }
3292
-
3293
- .el-dialog__headerbtn:hover {
3294
- background: #eff6ff;
3295
- }
3296
-
3297
- .el-dialog__title {
3298
- color: var(--ui-text);
3299
- font-size: 16px;
3300
- font-weight: 650;
3301
- line-height: 24px;
3302
- }
3303
-
3304
- .el-dialog__body {
3305
- padding: 20px;
3306
- }
3307
-
3308
- .el-dialog__footer {
3309
- padding: 16px 20px;
3310
- border-top: 1px solid var(--ui-border);
3311
- background: #f8fafc;
3312
- }
3313
-
3314
- .el-message-box {
3315
- --el-messagebox-padding-primary: 0;
3316
- padding: 0;
3317
- overflow: hidden;
3318
- border: 1px solid var(--ui-border);
3319
- border-radius: var(--ui-radius);
3320
- box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
3321
- }
3322
-
3323
- .el-message-box__header {
3324
- box-sizing: border-box;
3325
- min-height: 56px;
3326
- padding: 16px 20px;
3327
- border-bottom: 1px solid var(--ui-border);
3328
- }
3329
-
3330
- .el-message-box__header.show-close {
3331
- padding-right: 64px;
3332
- }
3333
-
3334
- .el-message-box__headerbtn {
3335
- top: 8px;
3336
- right: 12px;
3337
- border-radius: var(--ui-radius-control);
3338
- }
3339
-
3340
- .el-message-box__headerbtn:hover {
3341
- background: #eff6ff;
3342
- }
3343
-
3344
- .el-message-box__title {
3345
- color: var(--ui-text);
3346
- font-size: 16px;
3347
- font-weight: 650;
3348
- line-height: 24px;
3349
- }
3350
-
3351
- .el-message-box__content {
3352
- display: grid;
3353
- align-content: center;
3354
- box-sizing: border-box;
3355
- min-height: 88px;
3356
- padding: 18px 24px;
3357
- }
3358
-
3359
- .el-message-box__container {
3360
- justify-content: center;
3361
- width: 100%;
3362
- }
3363
-
3364
- .el-message-box__message {
3365
- text-align: center;
3366
- }
3367
-
3368
- .el-message-box__input {
3369
- width: 100%;
3370
- padding-top: 14px;
3371
- }
3372
-
3373
- .el-message-box__btns {
3374
- gap: 10px;
3375
- min-height: 68px;
3376
- padding: 14px 20px;
3377
- border-top: 1px solid var(--ui-border);
3378
- background: #f8fafc;
3379
- }
3380
-
3381
- .el-message-box__btns .el-button + .el-button {
3382
- margin-left: 0;
3383
- }
3384
-
3385
- @media (max-width: 520px) {
3386
- .el-message-box__content { padding: 16px 18px; }
3387
- .el-message-box__btns { padding: 12px 16px; }
3388
- }
3389
-
3390
- .el-tabs__item {
3391
- color: var(--ui-text-secondary);
3392
- font-weight: 500;
3393
- }
3394
-
3395
- .el-tabs__item.is-active {
3396
- color: var(--ui-primary);
3397
- font-weight: 600;
3398
- }
3399
-
3400
- .el-alert {
3401
- border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
3402
- border-radius: var(--ui-radius-control);
3403
- }
3404
-
3405
- .el-tag {
3406
- border-radius: 4px;
3407
- font-weight: 500;
3408
- }
3409
-
3410
- .el-empty__description p {
3411
- color: var(--ui-text-muted);
3412
- font-size: 13px;
3413
- }
3414
-
3415
- .el-select-dropdown,
3416
- .el-dropdown__popper,
3417
- .el-picker__popper,
3418
- .el-popover.el-popper,
3419
- .el-tooltip__popper {
3420
- border-radius: var(--ui-radius-control);
3421
- box-shadow: var(--ui-shadow-popover);
3422
- }
3423
-
3424
- .subnav {
3425
- display: inline-flex;
3426
- width: fit-content;
3427
- padding: 4px;
3428
- border: 1px solid var(--ui-border);
3429
- border-radius: var(--ui-radius-pill);
3430
- background: var(--ui-bg-soft);
3431
- }
3432
-
3433
- .subnav__item {
3434
- min-height: 32px;
3435
- padding: 6px 14px;
3436
- border: 0;
3437
- border-radius: var(--ui-radius-pill);
3438
- background: transparent;
3439
- color: var(--ui-text-secondary);
3440
- font-size: 13px;
3441
- font-weight: 500;
3442
- }
3443
-
3444
- .subnav__item:hover {
3445
- color: var(--ui-text);
3446
- }
3447
-
3448
- .subnav__item--active {
3449
- border: 0;
3450
- background: #e8f0fe;
3451
- color: var(--ui-primary);
3452
- box-shadow: none;
3453
- }
3454
-
3455
- .page-grid,
3456
- .config-grid,
3457
- .generator-page--ai {
3458
- gap: 16px;
3459
- }
3460
-
3461
- .panel-header {
3462
- min-width: 0;
3463
- }
3464
-
3465
- .panel-header > span,
3466
- .panel-header__title {
3467
- color: var(--ui-text);
3468
- font-weight: 650;
3469
- }
3470
-
3471
- .panel-header__actions {
3472
- align-items: center;
3473
- }
3474
-
3475
- .config-model-grid {
3476
- gap: 32px;
3477
- }
3478
-
3479
- .config-model-grid > section {
3480
- min-width: 0;
3481
- padding: 0;
3482
- border: 0;
3483
- border-radius: 0;
3484
- }
3485
-
3486
- .config-model-grid > section + section {
3487
- padding-left: 32px;
3488
- border-left: 1px solid var(--ui-border);
3489
- }
3490
-
3491
- @media (max-width: 640px) {
3492
- .config-model-grid > section + section {
3493
- padding: 24px 0 0;
3494
- border-left: 0;
3495
- border-top: 1px solid var(--ui-border);
3496
- }
3497
- }
3498
-
3499
- .config-model-grid > section,
3500
- .config-page .config-grid > .config-module-card > .el-card__body,
3501
- .config-appium-card > .el-card__body {
3502
- background: var(--ui-surface);
3503
- }
3504
-
3505
- .model-usage-chart {
3506
- border-top-color: var(--ui-border);
3507
- }
3508
-
3509
- .model-usage-chart__svg {
3510
- border-color: var(--ui-border);
3511
- background: #fbfcfe;
3512
- }
3513
-
3514
- .model-usage-chart__record {
3515
- border: 1px solid transparent;
3516
- background: var(--ui-bg-soft);
3517
- }
3518
-
3519
- .model-usage-chart__record:not(.model-usage-chart__record--head):hover {
3520
- border-color: #bfdbfe;
3521
- background: #eff6ff;
3522
- }
3523
-
3524
- .model-usage-chart__record--head {
3525
- background: #eef1f5;
3526
- color: #374151;
3527
- }
3528
-
3529
- .app-preset-row,
3530
- .script-row,
3531
- .step-item {
3532
- border-color: var(--ui-border);
3533
- border-radius: var(--ui-radius-control);
3534
- }
3535
-
3536
- .app-preset-row:hover,
3537
- .script-row:hover {
3538
- border-color: #bfdbfe;
3539
- background: #eff6ff;
3540
- }
3541
-
3542
- .method-guide {
3543
- border-color: #cce1fa;
3544
- background: #eff6ff;
3545
- }
3546
-
3547
- .method-guide__summary {
3548
- color: #305a91;
3549
- }
3550
-
3551
- .step-item {
3552
- background: var(--ui-bg-soft);
3553
- }
3554
-
3555
- .code-block,
3556
- .terminal-block,
3557
- .generator-code-editor .el-textarea__inner {
3558
- background: #f8fafc;
3559
- color: #334155;
3560
- border: 1px solid var(--ui-border);
3561
- }
3562
-
3563
- .code-dialog__body,
3564
- .code-dialog__editor .el-textarea__inner {
3565
- box-sizing: border-box;
3566
- border: 1px solid #3c3c3c;
3567
- background: #1e1e1e;
3568
- color: #d4d4d4;
3569
- font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
3570
- scrollbar-color: #424242 #1e1e1e;
3571
- }
3572
-
3573
- .code-dialog__body {
3574
- white-space: pre;
3575
- }
3576
-
3577
- .code-dialog__body::-webkit-scrollbar,
3578
- .code-dialog__editor .el-textarea__inner::-webkit-scrollbar {
3579
- width: 10px;
3580
- height: 10px;
3581
- }
3582
-
3583
- .code-dialog__body::-webkit-scrollbar-track,
3584
- .code-dialog__editor .el-textarea__inner::-webkit-scrollbar-track {
3585
- background: #1e1e1e;
3586
- }
3587
-
3588
- .code-dialog__body::-webkit-scrollbar-thumb,
3589
- .code-dialog__editor .el-textarea__inner::-webkit-scrollbar-thumb {
3590
- border: 2px solid #1e1e1e;
3591
- border-radius: 6px;
3592
- background: #424242;
3593
- }
3594
-
3595
- .code-dialog__body::-webkit-scrollbar-thumb:hover,
3596
- .code-dialog__editor .el-textarea__inner::-webkit-scrollbar-thumb:hover {
3597
- background: #4f4f4f;
3598
- }
3599
-
3600
- .code-dialog__body::selection,
3601
- .code-dialog__body code::selection,
3602
- .code-dialog__editor .el-textarea__inner::selection {
3603
- background: #264f78;
3604
- color: #fff;
3605
- }
3606
-
3607
- .automation-layout,
3608
- .automation-stage {
3609
- gap: 16px;
3610
- }
3611
-
3612
- .script-row--active {
3613
- border-color: #bfdbfe;
3614
- background: #e8f0fe;
3615
- }
3616
-
3617
- .execution-output {
3618
- border-color: var(--ui-border);
3619
- border-radius: var(--ui-radius-control);
3620
- background: var(--ui-surface);
3621
- }
3622
-
3623
- .execution-log__output {
3624
- border-radius: var(--ui-radius-control);
3625
- background: #f8fafc;
3626
- color: #334155;
3627
- border: 1px solid var(--ui-border);
3628
- }
3629
-
3630
- .device-preview {
3631
- border-radius: var(--ui-radius-control);
3632
- background: #0f172a;
3633
- }
3634
-
3635
- .device-preview--empty {
3636
- border: 1px dashed var(--ui-border-strong);
3637
- background: #fafafa;
3638
- }
3639
-
3640
- .device-action-button {
3641
- border-radius: var(--ui-radius-control);
3642
- }
3643
-
3644
- .device-action-button:hover {
3645
- background: #e6f0fd;
3646
- }
3647
-
3648
- .appium-header-actions {
3649
- top: 0;
3650
- }
3651
-
3652
- .appium-recorder-page {
3653
- gap: 16px;
3654
- }
3655
-
3656
- .appium-recorder-layout {
3657
- gap: 16px;
3658
- }
3659
-
3660
- .appium-workbench-tabs > .el-tabs__header {
3661
- flex: none;
3662
- padding: 16px 16px 8px;
3663
- background: var(--ui-surface);
3664
- }
3665
-
3666
- .appium-workbench {
3667
- gap: 18px;
3668
- padding: 18px;
3669
- }
3670
-
3671
- .appium-workbench__section h3 {
3672
- color: var(--ui-text);
3673
- font-size: 15px;
3674
- font-weight: 650;
3675
- }
3676
-
3677
- .appium-tree .el-tree-node__content {
3678
- min-height: 30px;
3679
- border-radius: 4px;
3680
- }
3681
-
3682
- .appium-tree .el-tree-node__content:hover {
3683
- background: #eff6ff;
3684
- }
3685
-
3686
- .appium-tree .el-tree-node.is-current > .el-tree-node__content {
3687
- background: #e8f0fe;
3688
- color: var(--ui-primary);
3689
- }
3690
-
3691
- .appium-current-activity {
3692
- border-top-color: var(--ui-border);
3693
- background: #fbfcfe;
3694
- }
3695
-
3696
- .appium-current-activity > span {
3697
- color: var(--ui-text-secondary);
3698
- font-weight: 500;
3699
- }
3700
-
3701
- .appium-side-form {
3702
- gap: 10px;
3703
- }
3704
-
3705
- .appium-script-list__item {
3706
- border-color: var(--ui-border);
3707
- border-radius: var(--ui-radius-control);
3708
- background: var(--ui-surface);
3709
- }
3710
-
3711
- .appium-script-list__item:hover {
3712
- border-color: #bfdbfe;
3713
- background: #eff6ff;
3714
- }
3715
-
3716
- .appium-script-list__item--active {
3717
- border-color: #bfdbfe;
3718
- background: #e8f0fe;
3719
- }
3720
-
3721
- .appium-replay-fab .el-button {
3722
- box-shadow: 0 8px 24px rgba(0, 107, 230, 0.2);
3723
- }
3724
-
3725
- .appium-replay-output--dialog {
3726
- border-radius: var(--ui-radius-control);
3727
- background: #1e1e1e;
3728
- color: #d4d4d4;
3729
- border: 1px solid #3c3c3c;
3730
- box-shadow:
3731
- inset 0 1px 0 rgb(255 255 255 / 6%),
3732
- inset 0 4px 12px rgb(0 0 0 / 32%),
3733
- 0 4px 10px rgb(15 23 42 / 12%),
3734
- 0 18px 30px -20px rgb(15 23 42 / 45%);
3735
- }
3736
-
3737
- .el-button.recorder-panel-tool {
3738
- --el-button-text-color: var(--ui-text-secondary);
3739
- --el-button-border-color: var(--ui-border-strong);
3740
- --el-button-disabled-text-color: #a8abb2;
3741
- --el-button-disabled-border-color: var(--ui-border);
3742
- width: 30px;
3743
- min-width: 30px;
3744
- height: 32px;
3745
- min-height: 32px;
3746
- padding: 0;
3747
- margin: 0;
3748
- border-radius: 3px;
3749
- font-size: 12px;
3750
- font-weight: 400;
3751
- }
3752
-
3753
- .appium-flow-dialog.el-dialog {
3754
- display: flex;
3755
- flex-direction: column;
3756
- height: 86dvh;
3757
- min-width: min(420px, calc(100vw - 32px));
3758
- min-height: min(280px, calc(100dvh - 32px));
3759
- max-width: calc(100vw - 32px);
3760
- max-height: calc(100dvh - 32px);
3761
- overflow: hidden;
3762
- resize: both;
3763
- padding: 0;
3764
- border: 1px solid var(--ui-border);
3765
- border-radius: var(--ui-radius);
3766
- box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
3767
- }
3768
-
3769
- .appium-flow-dialog .el-dialog__body {
3770
- display: flex;
3771
- flex-direction: column;
3772
- flex: 1;
3773
- min-height: 0;
3774
- padding: 20px;
3775
- }
3776
-
3777
- .appium-flow-dialog__toolbar { flex: none; }
3778
-
3779
- /* Keep the canvas within the centered dialog even on short viewports. */
3780
-
3781
- .appium-flow-dialog .appium-flow-canvas--dialog.appium-flow-canvas--vue {
3782
- flex: 1;
3783
- height: auto;
3784
- min-height: 0;
3785
- }
3786
-
3787
- .appium-flow-dialog .appium-flow-canvas--dialog.appium-flow-canvas--vue,
3788
- .appium-linked-script-preview-dialog .appium-linked-script-preview-canvas.appium-flow-canvas--vue {
3789
- border-color: rgb(100 116 139 / 32%);
3790
- box-shadow:
3791
- 0 3px 7px rgb(15 23 42 / 9%),
3792
- 0 18px 34px -20px rgb(15 23 42 / 38%);
3793
- }
3794
-
3795
- .appium-flow-dialog .appium-flow-canvas--dialog.appium-flow-canvas--vue::after,
3796
- .appium-linked-script-preview-dialog .appium-linked-script-preview-canvas.appium-flow-canvas--vue::after {
3797
- content: '';
3798
- position: absolute;
3799
- inset: 0;
3800
- z-index: 4;
3801
- border-radius: inherit;
3802
- pointer-events: none;
3803
- box-shadow:
3804
- inset 0 4px 10px rgb(15 23 42 / 12%),
3805
- inset 0 1px 2px rgb(15 23 42 / 10%),
3806
- inset 0 -2px 3px rgb(255 255 255 / 82%);
3807
- }
3808
-
3809
- .appium-recorded-steps-panel .el-button,
3810
- .appium-flow-dialog .el-button {
3811
- --el-button-disabled-text-color: #a8abb2;
3812
- font-weight: 400;
3813
- }
3814
-
3815
- .appium-recorded-steps-panel .el-form-item__label,
3816
- .appium-flow-dialog .el-form-item__label {
3817
- color: var(--ui-text-secondary);
3818
- font-size: 14px;
3819
- font-weight: 400;
3820
- }
3821
-
3822
- .appium-recorded-steps-panel .el-button:not(.is-circle),
3823
- .appium-flow-dialog .el-button:not(.is-circle) {
3824
- min-height: var(--el-component-size, 32px);
3825
- padding-right: 15px;
3826
- padding-left: 15px;
3827
- }
3828
-
3829
- .appium-recorded-steps-panel .el-button--primary:not(.is-disabled):not(.is-plain):not(.is-text):not(.is-link),
3830
- .appium-flow-dialog .el-button--primary:not(.is-disabled):not(.is-plain):not(.is-text):not(.is-link) {
3831
- --el-button-text-color: #fff;
3832
- --el-button-hover-text-color: #fff;
3833
- --el-button-active-text-color: #fff;
3834
- box-shadow: none;
3835
- }
3836
-
3837
- @media (max-width: 1440px) {
3838
- .page-body {
3839
- padding-right: 18px;
3840
- padding-left: 18px;
3841
- }
3842
- }
3843
-
3844
- .layout--collapsed { grid-template-columns: 64px minmax(0, 1fr); }
3845
-
3846
- .layout-sidebar__brand { white-space: nowrap; font-size: 18px; font-weight: 650; letter-spacing: -0.4px; }
3847
-
3848
- .layout-sidebar__brand span { font-weight: 500; }
3849
-
3850
- .layout-menu.el-menu--collapse { width: 63px; padding-inline: 4px; }
3851
-
3852
- .layout--collapsed .layout-sidebar__top { padding-inline: 16px; }
3853
-
3854
- .layout-header__breadcrumb { display: flex; gap: 12px; color: var(--ui-text-secondary); }
3855
-
3856
- .layout-header__breadcrumb > span { color: var(--ui-border-strong); }
3857
-
3858
- .layout-collapse.el-button { width: 32px; padding: 0; font-size: 18px; }
3859
-
3860
- .layout-page-tabs { display: flex; align-items: center; gap: 6px; padding: 8px 20px; border-bottom: 1px solid var(--ui-border); background: var(--ui-surface); overflow-x: auto; }
3861
-
3862
- .layout-page-tab { display: inline-flex; flex: none; align-items: center; height: 35px; border: 0; border-radius: var(--ui-radius-pill); background: transparent; color: var(--ui-text); font-size: 13px; cursor: pointer; }
3863
-
3864
- .layout-page-tab:hover { background: var(--ui-bg); }
3865
-
3866
- .layout-page-tab.is-active { color: var(--ui-primary); background: #e8f0fe; }
3867
-
3868
- .page-body.page-body--config { padding: 0; overflow: hidden; scrollbar-gutter: auto; }
3869
- .page-body.page-body--artemis { padding: 0; overflow: hidden; scrollbar-gutter: auto; }
3870
-
3871
- button:focus-visible { outline: 2px solid var(--ui-primary); outline-offset: -2px; }
3872
-
3873
- /* Header controls participate in layout, including on narrow screens. */
3874
-
3875
- .layout-main { display: flex; flex-direction: column; min-height: 0; }
3876
-
3877
- .layout-header { flex: none; height: auto; min-height: 56px; flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
3878
-
3879
- .layout-header__actions { min-width: 0; max-width: 100%; }
3880
-
3881
- .appium-header-actions { height: auto; flex-wrap: wrap; gap: 8px; }
3882
-
3883
- .layout-page-tabs { flex: none; min-height: 52px; }
3884
-
3885
- .layout-page-tab { padding: 0 6px 0 0; gap: 0; }
3886
-
3887
- .layout-page-tab__select, .layout-page-tab__close { border: 0; background: transparent; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
3888
-
3889
- .layout-page-tab__select { gap: 8px; padding: 0 10px 0 14px; height: 100%; font: inherit; }
3890
-
3891
- .layout-page-tab__close { width: 24px; height: 24px; border-radius: 50%; }
3892
-
3893
- .layout-page-tab__close:hover:not(:disabled) { background: var(--el-color-primary-light-8); }
3894
-
3895
- .layout-page-tab__close:disabled { opacity: .3; cursor: default; }
3896
-
3897
- .layout-page-tab button:focus-visible { outline: 2px solid var(--ui-primary); outline-offset: -2px; }
3898
-
3899
- .page-body { flex: 1; min-height: 0; }
3900
-
3901
- .connection-status { display: flex; align-items: center; gap: 16px; flex: none; padding: 8px 20px; background: var(--el-color-warning-light-9); color: var(--el-color-warning-dark-2); font-size: 13px; }
3902
-
3903
- .page-loading { padding: 40px; color: var(--ui-text-secondary); text-align: center; }
3904
-
3905
- @media (max-width: 1000px) {
3906
- .layout:not(.layout--collapsed) { grid-template-columns: 180px minmax(0, 1fr); }
3907
- .layout-sidebar__brand { font-size: 16px; }
3908
- .layout-header__breadcrumb { display: none; }
3909
- .appium-header-actions__script { width: 170px; }
3910
- }
3911
-
3912
- /* Soft surfaces and pill controls match the embedded Artemis application. */
3913
- .layout {
3914
- background: radial-gradient(ellipse at 55% 0, rgb(232 240 254 / 45%), transparent 55%), var(--ui-bg);
3915
- }
3916
- .layout-header { background: rgb(255 255 255 / 76%); }
3917
- .layout-page-tabs { background: rgb(255 255 255 / 60%); }
3918
- .layout-page-tab.is-active {
3919
- background: var(--ui-primary);
3920
- color: #fff;
3921
- box-shadow: 0 2px 8px rgb(26 115 232 / 20%);
3922
- }
3923
- .layout-page-tab.is-active .layout-page-tab__close:hover:not(:disabled) { background: rgb(255 255 255 / 20%); }
3924
- .el-card, .el-card.is-never-shadow { box-shadow: var(--ui-shadow-card); }
3925
- .el-card__header { background: transparent; }
3926
- .el-button:not(.is-circle) { border-radius: var(--ui-radius-pill); }
3927
- .el-button:not(.is-text):not(.is-link):not(.is-disabled):hover { box-shadow: 0 2px 6px rgb(15 23 42 / 6%); }
3928
- .el-button--primary:not(.is-disabled):not(.is-plain):not(.is-text):not(.is-link) {
3929
- box-shadow: 0 2px 8px rgb(26 115 232 / 15%);
3930
- }
3931
- .el-tag { border-radius: var(--ui-radius-pill); }
3932
- .el-input__wrapper, .el-select__wrapper, .el-textarea__inner { background: var(--ui-surface); }
3933
- .el-table { --el-table-header-bg-color: #f8fafc; --el-table-row-hover-bg-color: #eff6ff; }
3934
- .el-table th.el-table__cell { color: var(--ui-text-secondary); font-weight: 600; }
3935
- .el-tabs__nav-wrap::after { background-color: var(--ui-border); }
3936
- .subnav__item--active { background: var(--ui-surface); box-shadow: var(--ui-shadow-card); }
3937
- .appium-flow-node, .appium-flow-branch-step, .appium-flow-step-card, .appium-flow-start-card {
3938
- border-radius: var(--ui-radius-control);
3939
- box-shadow: var(--ui-shadow-card);
3940
- }
3941
- .appium-flow-editor, .appium-flow-dialog-canvas, .appium-flow-canvas { border-radius: var(--ui-radius); }
3942
- .device-preview--empty { background: #f8fafc; }
3943
- .el-button.recorder-panel-tool { border-radius: 50%; }
3944
- @media (prefers-reduced-motion: reduce) {
3945
- .layout-menu .el-menu-item, .layout-page-tab, .el-button { transition: none; }
3946
- }
3947
-
3948
- /* Internal page tabs use the same segmented navigation as Artemis. */
3949
- .el-tabs:not(.el-tabs--card):not(.el-tabs--border-card) > .el-tabs__header .el-tabs__nav {
3950
- padding: 4px;
3951
- border: 1px solid var(--ui-border);
3952
- border-radius: var(--ui-radius-pill);
3953
- background: var(--ui-bg-soft);
3954
- }
3955
- .el-tabs:not(.el-tabs--card):not(.el-tabs--border-card) > .el-tabs__header .el-tabs__item {
3956
- height: 32px;
3957
- padding: 0 14px;
3958
- margin: 0 2px;
3959
- border-radius: var(--ui-radius-pill);
3960
- font-size: 13px;
3961
- }
3962
- .el-tabs:not(.el-tabs--card):not(.el-tabs--border-card) > .el-tabs__header .el-tabs__item.is-active {
3963
- background: var(--ui-surface);
3964
- box-shadow: var(--ui-shadow-card);
3965
- }
3966
- .el-tabs:not(.el-tabs--card):not(.el-tabs--border-card) > .el-tabs__header .el-tabs__active-bar,
3967
- .el-tabs:not(.el-tabs--card):not(.el-tabs--border-card) > .el-tabs__header .el-tabs__nav-wrap::after {
3968
- display: none;
3969
- }
3970
-
3971
- /* Keep action gaps predictable instead of combining flex gaps with library margins. */
3972
- :is(.layout-header__actions, .appium-header-actions, .panel-header__actions,
3973
- .prompt-template-actions, .appium-section-title__actions, .recorder-workspace__tools)
3974
- > .el-button + .el-button { margin-left: 0; }
3975
- .layout-sidebar__brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
3976
- .layout-menu .el-sub-menu .el-menu-item { padding-right: 16px !important; }
3977
- @media (max-width: 1000px) {
3978
- .layout-sidebar__brand span { display: none; }
3979
- }
3980
-
3981
- /* Long editors and reports scroll inside the dialog, keeping actions reachable. */
3982
- .el-dialog {
3983
- --el-dialog-margin-top: 24px;
3984
- display: flex;
3985
- flex-direction: column;
3986
- max-height: calc(100dvh - 48px);
3987
- }
3988
- .el-dialog > .el-dialog__header,
3989
- .el-dialog > .el-dialog__footer { flex: none; }
3990
- .el-dialog > .el-dialog__body { flex: 1; min-height: 0; overflow-y: auto; }
3991
-
3992
- /* One depth scale for raised surfaces, recessed fields and tactile controls. */
3993
- .layout-sidebar {
3994
- background: linear-gradient(120deg, #fff, #f8fafc);
3995
- box-shadow: 4px 0 18px -10px rgb(15 23 42 / 18%);
3996
- z-index: 1;
3997
- }
3998
- .layout-header { box-shadow: 0 2px 6px -3px rgb(15 23 42 / 12%); }
3999
- .layout-sidebar__logo, .layout-page-tab.is-active {
4000
- background: linear-gradient(180deg, #3588f3, var(--ui-primary));
4001
- box-shadow: var(--ui-shadow-primary);
4002
- }
4003
- .layout-menu .el-menu-item.is-active {
4004
- background: linear-gradient(180deg, #f3f7ff, #e8f0fe);
4005
- box-shadow: var(--ui-shadow-control);
4006
- }
4007
- .layout .el-card, .layout .help-center-page, .layout .help-center__version-card {
4008
- box-shadow: var(--ui-shadow-card);
4009
- }
4010
- .el-card__header {
4011
- background: linear-gradient(180deg, #fff, #f8fafc);
4012
- box-shadow: 0 1px 0 rgb(255 255 255 / 90%);
4013
- }
4014
- :is(.layout, .el-dialog, .el-message-box) .el-button:not(.is-text):not(.is-link):not(.is-disabled) {
4015
- background-image: linear-gradient(180deg, rgb(255 255 255 / 16%), rgb(15 23 42 / 3%));
4016
- box-shadow: var(--ui-shadow-control);
4017
- transition: box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
4018
- }
4019
- :is(.layout, .el-dialog, .el-message-box) .el-button--primary:not(.is-disabled):not(.is-plain):not(.is-text):not(.is-link) {
4020
- box-shadow: var(--ui-shadow-primary);
4021
- }
4022
- :is(.layout, .el-dialog, .el-message-box) .el-button:not(.is-text):not(.is-link):not(.is-disabled):hover {
4023
- box-shadow: inset 0 1px 0 rgb(255 255 255 / 70%), 0 3px 6px rgb(26 115 232 / 12%), 0 6px 12px -4px rgb(15 23 42 / 16%);
4024
- }
4025
- :is(.layout, .el-dialog, .el-message-box) .el-button:not(.is-text):not(.is-link):not(.is-disabled):active {
4026
- box-shadow: inset 0 2px 4px rgb(15 23 42 / 16%);
4027
- }
4028
- .el-input .el-input__wrapper, .el-select .el-select__wrapper, .el-textarea .el-textarea__inner {
4029
- background: linear-gradient(180deg, #f8fafc, #fff 12px);
4030
- box-shadow: inset 0 0 0 1px var(--ui-border-strong), var(--ui-shadow-inset);
4031
- transition: box-shadow 160ms ease;
4032
- }
4033
- .el-input .el-input__wrapper:hover, .el-select .el-select__wrapper:hover, .el-textarea .el-textarea__inner:hover {
4034
- box-shadow: inset 0 0 0 1px #94b9ea, var(--ui-shadow-inset);
4035
- }
4036
- .el-input .el-input__wrapper.is-focus, .el-select .el-select__wrapper.is-focused, .el-textarea .el-textarea__inner:focus {
4037
- box-shadow: inset 0 0 0 1px var(--ui-primary), 0 0 0 3px rgb(26 115 232 / 12%);
4038
- }
4039
- .el-input.is-disabled .el-input__wrapper, .el-select .el-select__wrapper.is-disabled, .el-textarea.is-disabled .el-textarea__inner {
4040
- background: var(--el-disabled-bg-color);
4041
- box-shadow: inset 0 0 0 1px var(--ui-border);
4042
- }
4043
- .layout .subnav, .layout .trend-tabs,
4044
- .el-tabs:not(.el-tabs--card):not(.el-tabs--border-card) > .el-tabs__header .el-tabs__nav {
4045
- box-shadow: var(--ui-shadow-inset);
4046
- }
4047
- .layout .subnav__item--active, .layout .trend-tabs button.active,
4048
- .el-tabs:not(.el-tabs--card):not(.el-tabs--border-card) > .el-tabs__header .el-tabs__item.is-active {
4049
- box-shadow: var(--ui-shadow-control);
4050
- }
4051
-
4052
- .el-radio-group:has(.el-radio-button) {
4053
- display: inline-flex;
4054
- align-items: stretch;
4055
- gap: 2px;
4056
- box-sizing: border-box;
4057
- width: fit-content;
4058
- max-width: 100%;
4059
- padding: 4px;
4060
- border: 1px solid var(--ui-border);
4061
- border-radius: var(--ui-radius-pill);
4062
- background: var(--ui-bg-soft);
4063
- box-shadow: var(--ui-shadow-inset);
4064
- }
4065
-
4066
- .el-radio-group:has(.el-radio-button) .el-radio-button {
4067
- flex: 1 1 auto;
4068
- min-width: 0;
4069
- }
4070
-
4071
- .el-radio-group:has(.el-radio-button) .el-radio-button__inner {
4072
- display: flex;
4073
- align-items: center;
4074
- justify-content: center;
4075
- box-sizing: border-box;
4076
- min-height: 32px;
4077
- padding: 6px 14px;
4078
- border: 0 !important;
4079
- border-radius: var(--ui-radius-pill) !important;
4080
- background: transparent;
4081
- box-shadow: none !important;
4082
- color: var(--ui-text-secondary);
4083
- font-size: 13px;
4084
- font-weight: 500;
4085
- line-height: 1.25;
4086
- white-space: normal;
4087
- text-align: center;
4088
- transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
4089
- }
4090
-
4091
- .el-radio-group:has(.el-radio-button) .el-radio-button:not(.is-active):not(.is-disabled) .el-radio-button__inner:hover {
4092
- background: transparent;
4093
- color: var(--ui-primary);
4094
- }
4095
-
4096
- .el-radio-group:has(.el-radio-button) .el-radio-button.is-active .el-radio-button__inner {
4097
- background: var(--ui-surface);
4098
- box-shadow: var(--ui-shadow-control) !important;
4099
- color: var(--ui-primary);
4100
- font-weight: 600;
4101
- }
4102
-
4103
- .el-radio-group:has(.el-radio-button) .el-radio-button.is-active:not(.is-disabled) .el-radio-button__inner:active {
4104
- box-shadow: var(--ui-shadow-inset) !important;
4105
- transform: translateY(1px);
4106
- }
4107
-
4108
- .el-radio-group:has(.el-radio-button) .el-radio-button.is-disabled .el-radio-button__inner {
4109
- background: transparent;
4110
- color: var(--el-disabled-text-color);
4111
- }
4112
-
4113
- .el-radio-group:has(.el-radio-button) .el-radio-button.is-active.is-disabled .el-radio-button__inner {
4114
- background: var(--ui-surface);
4115
- box-shadow: none !important;
4116
- color: var(--el-disabled-text-color);
4117
- }
4118
-
4119
- .el-radio-group:has(.el-radio-button) .el-radio-button__original-radio:focus-visible + .el-radio-button__inner {
4120
- outline: 2px solid var(--ui-primary);
4121
- outline-offset: 1px;
4122
- }
4123
-
4124
- .el-radio-group:has(.el-radio-button) .el-radio-button--small .el-radio-button__inner {
4125
- min-height: 27px;
4126
- padding: 4px 9px;
4127
- font-size: 12px;
4128
- }
4129
- .el-dialog, .el-message-box, .el-popper.is-light { box-shadow: var(--ui-shadow-popover); }
4130
- .el-dialog__header, .el-message-box__header { background: linear-gradient(180deg, #fff, #f8fafc); }
4131
- .el-table {
4132
- border-radius: var(--ui-radius-control);
4133
- box-shadow: 0 0 0 1px var(--ui-border), 0 3px 8px -4px rgb(15 23 42 / 12%);
4134
- }
4135
- .el-table th.el-table__cell { background: linear-gradient(180deg, #f8fafc, #eef2f6); }
4136
- .el-tag, .el-checkbox__inner, .el-radio__inner, .el-switch__core {
4137
- box-shadow: inset 0 1px 2px rgb(15 23 42 / 8%), 0 1px 0 rgb(255 255 255 / 90%);
4138
- }
4139
- .el-switch__action, .el-slider__button,
4140
- .layout .metric-card__value .el-icon, .layout .help-center__version-label .el-icon,
4141
- .appium-flow-start-card__icon, .execution-step__index { box-shadow: var(--ui-shadow-control); }
4142
- .layout .appium-flow-step-card, .layout .appium-flow-start-card,
4143
- .layout .execution-step__body { box-shadow: var(--ui-shadow-card); }
4144
- .layout .appium-flow-step-card:hover {
4145
- box-shadow: inset 0 1px 0 #fff, 0 3px 6px rgb(26 115 232 / 10%), 0 10px 20px -6px rgb(26 115 232 / 20%);
4146
- }
4147
- .layout .appium-flow-step-shell--selected .appium-flow-step-card {
4148
- box-shadow: 0 0 0 3px rgb(26 115 232 / 18%), var(--ui-shadow-card);
4149
- }
4150
- .layout .generator-code-block, .layout .execution-log, .layout .execution-process,
4151
- .layout .appium-flow-editor, .layout .device-preview {
4152
- box-shadow: var(--ui-shadow-inset);
4153
- }
4154
- .layout .appium-flow-canvas--vue:not(.appium-flow-canvas--dialog) {
4155
- border-color: rgb(100 116 139 / 25%);
4156
- box-shadow: 0 2px 4px rgb(15 23 42 / 6%), 0 10px 24px -12px rgb(15 23 42 / 20%);
4157
- }
4158
- .layout .appium-flow-canvas--vue:not(.appium-flow-canvas--dialog)::after {
4159
- content: '';
4160
- position: absolute;
4161
- inset: 0;
4162
- z-index: 4;
4163
- border-radius: inherit;
4164
- pointer-events: none;
4165
- box-shadow: inset 0 3px 8px rgb(15 23 42 / 10%), inset 0 1px 2px rgb(15 23 42 / 8%), inset 0 -2px 3px rgb(255 255 255 / 75%);
4166
- }
4167
- .layout .app-preset-row, .layout .script-row {
4168
- background-image: linear-gradient(180deg, #fff, #f8fafc);
4169
- box-shadow: var(--ui-shadow-control);
4170
- }
4171
- .layout .device-action-button:not(:disabled) {
4172
- border-radius: var(--ui-radius-control);
4173
- background-image: linear-gradient(180deg, rgb(255 255 255 / 80%), rgb(241 245 249 / 60%));
4174
- box-shadow: var(--ui-shadow-control);
4175
- }
4176
- .layout .device-action-button:not(:disabled):active { box-shadow: var(--ui-shadow-inset); }
4177
- @media (prefers-reduced-motion: reduce) {
4178
- :is(.layout, .el-dialog, .el-message-box) .el-button,
4179
- .el-input .el-input__wrapper, .el-select .el-select__wrapper,
4180
- .el-textarea .el-textarea__inner { transition: none; }
4181
- }
4182
-
4183
- /* Dark flow palettes are scoped to the canvas; the surrounding app keeps its theme. */
4184
- .appium-flow-canvas--dark-nodes {
4185
- --ui-shadow-card: 0 2px 10px rgb(0 0 0 / 20%);
4186
- --ui-shadow-control: 0 2px 5px rgb(0 0 0 / 20%);
4187
- --ui-shadow-inset: inset 0 1px 3px rgb(0 0 0 / 15%);
4188
- }