From 371aa6df56880643da57b30da936e9812fb0ec66 Mon Sep 17 00:00:00 2001 From: somew1nd Date: Fri, 11 Sep 2026 19:59:21 -0700 Subject: [PATCH] fix: complete README and relevant file headers per Apache 2.0 requirements --- README.md | 2 ++ README_CN.md | 2 ++ artemis/agents/hopper/hopper.md | 5 +++++ artemis/agents/hopper/hopper.py | 3 +++ artemis/agents/outputter/outputter.py | 3 +++ artemis/clients/adb_tunnel.py | 3 +++ artemis/clients/ui_automator_client.py | 3 +++ artemis/context.py | 3 +++ artemis/controllers/device_controller.py | 3 +++ artemis/controllers/platform_specific_commands_controller.py | 3 +++ artemis/controllers/unified_controller.py | 3 +++ artemis/sdk/agent.py | 3 +++ artemis/sdk/builders/agent_config_builder.py | 3 +++ artemis/sdk/builders/task_request_builder.py | 3 +++ artemis/sdk/examples/app_lock_messaging.py | 3 +++ artemis/sdk/types/agent.py | 3 +++ artemis/sdk/types/task.py | 3 +++ artemis/tools/utils.py | 3 +++ artemis/utils/app_launch_utils.py | 3 +++ artemis/utils/logger.py | 3 +++ artemis/utils/media.py | 3 +++ artemis/utils/video.py | 3 +++ tests/unit/utils/test_ui_hierarchy.py | 3 +++ 23 files changed, 69 insertions(+) diff --git a/README.md b/README.md index 0c6e2c6..d188360 100644 --- a/README.md +++ b/README.md @@ -314,3 +314,5 @@ Contributions are warmly welcomed! ## License This project is licensed under the [Apache License 2.0](LICENSE). + +This project includes source code developed by [Minitap, Inc.](https://github.com/minitap-ai/mobile-use). \ No newline at end of file diff --git a/README_CN.md b/README_CN.md index 9b1995a..7c425c6 100644 --- a/README_CN.md +++ b/README_CN.md @@ -312,3 +312,5 @@ ARTEMIS 提供两种运行模式以适应不同的自动化需求: ## 开源许可证 本项目基于 [Apache License 2.0](LICENSE) 协议开源。 + +本项目包含由 [Minitap, Inc.](https://github.com/minitap-ai/mobile-use) 开发的源代码。 diff --git a/artemis/agents/hopper/hopper.md b/artemis/agents/hopper/hopper.md index 27c9d1a..6637ff5 100644 --- a/artemis/agents/hopper/hopper.md +++ b/artemis/agents/hopper/hopper.md @@ -1,3 +1,8 @@ + + ## Hopper Extract relevant information from batch data. **Keep extracted data exactly as-is** - no reformatting. diff --git a/artemis/agents/hopper/hopper.py b/artemis/agents/hopper/hopper.py index 0c1cb9f..ad9e23b 100644 --- a/artemis/agents/hopper/hopper.py +++ b/artemis/agents/hopper/hopper.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. from pathlib import Path diff --git a/artemis/agents/outputter/outputter.py b/artemis/agents/outputter/outputter.py index b84f429..aed600d 100644 --- a/artemis/agents/outputter/outputter.py +++ b/artemis/agents/outputter/outputter.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. import json from pathlib import Path diff --git a/artemis/clients/adb_tunnel.py b/artemis/clients/adb_tunnel.py index 2cd79b6..e129a6e 100644 --- a/artemis/clients/adb_tunnel.py +++ b/artemis/clients/adb_tunnel.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. """ADB WebSocket tunnel implementation. diff --git a/artemis/clients/ui_automator_client.py b/artemis/clients/ui_automator_client.py index 34c1d21..12a73fb 100644 --- a/artemis/clients/ui_automator_client.py +++ b/artemis/clients/ui_automator_client.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. """UIAutomator2 client for Android device screen data retrieval. diff --git a/artemis/context.py b/artemis/context.py index 9e51ed7..fa698db 100644 --- a/artemis/context.py +++ b/artemis/context.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. """Context variables for global state management. diff --git a/artemis/controllers/device_controller.py b/artemis/controllers/device_controller.py index d5c2457..fd5e43a 100644 --- a/artemis/controllers/device_controller.py +++ b/artemis/controllers/device_controller.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. from abc import ABC, abstractmethod from typing import Any diff --git a/artemis/controllers/platform_specific_commands_controller.py b/artemis/controllers/platform_specific_commands_controller.py index d32832d..97041fb 100644 --- a/artemis/controllers/platform_specific_commands_controller.py +++ b/artemis/controllers/platform_specific_commands_controller.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. import os from shutil import which diff --git a/artemis/controllers/unified_controller.py b/artemis/controllers/unified_controller.py index 56e57b8..201abfe 100644 --- a/artemis/controllers/unified_controller.py +++ b/artemis/controllers/unified_controller.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. import asyncio import os diff --git a/artemis/sdk/agent.py b/artemis/sdk/agent.py index 389e677..a0028eb 100644 --- a/artemis/sdk/agent.py +++ b/artemis/sdk/agent.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. import asyncio import inspect diff --git a/artemis/sdk/builders/agent_config_builder.py b/artemis/sdk/builders/agent_config_builder.py index 4786005..4d4b870 100644 --- a/artemis/sdk/builders/agent_config_builder.py +++ b/artemis/sdk/builders/agent_config_builder.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. """Builder for AgentConfig objects using a fluent interface.""" diff --git a/artemis/sdk/builders/task_request_builder.py b/artemis/sdk/builders/task_request_builder.py index 320c9e5..706802c 100644 --- a/artemis/sdk/builders/task_request_builder.py +++ b/artemis/sdk/builders/task_request_builder.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. """Builder for TaskRequest objects using a fluent interface.""" diff --git a/artemis/sdk/examples/app_lock_messaging.py b/artemis/sdk/examples/app_lock_messaging.py index e89e7fb..e598aeb 100644 --- a/artemis/sdk/examples/app_lock_messaging.py +++ b/artemis/sdk/examples/app_lock_messaging.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. import asyncio diff --git a/artemis/sdk/types/agent.py b/artemis/sdk/types/agent.py index 79a934a..2b4359a 100644 --- a/artemis/sdk/types/agent.py +++ b/artemis/sdk/types/agent.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. from typing import Literal from urllib.parse import urlparse diff --git a/artemis/sdk/types/task.py b/artemis/sdk/types/task.py index 8a9d482..7c4a0be 100644 --- a/artemis/sdk/types/task.py +++ b/artemis/sdk/types/task.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. """Task-related type definitions for the ARTEMIS SDK.""" diff --git a/artemis/tools/utils.py b/artemis/tools/utils.py index 47e4f68..ecc8e48 100644 --- a/artemis/tools/utils.py +++ b/artemis/tools/utils.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. from __future__ import annotations diff --git a/artemis/utils/app_launch_utils.py b/artemis/utils/app_launch_utils.py index a7b3468..6a9ecfa 100644 --- a/artemis/utils/app_launch_utils.py +++ b/artemis/utils/app_launch_utils.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. """Utilities for handling app locking and initial app launch logic.""" diff --git a/artemis/utils/logger.py b/artemis/utils/logger.py index 4d863f6..321d278 100644 --- a/artemis/utils/logger.py +++ b/artemis/utils/logger.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. from enum import Enum import logging diff --git a/artemis/utils/media.py b/artemis/utils/media.py index 4b5680a..b6069af 100644 --- a/artemis/utils/media.py +++ b/artemis/utils/media.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. import json import os diff --git a/artemis/utils/video.py b/artemis/utils/video.py index a81bedd..a069d12 100644 --- a/artemis/utils/video.py +++ b/artemis/utils/video.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. """Video recording utilities for mobile devices. diff --git a/tests/unit/utils/test_ui_hierarchy.py b/tests/unit/utils/test_ui_hierarchy.py index 9a8642a..3ceade4 100644 --- a/tests/unit/utils/test_ui_hierarchy.py +++ b/tests/unit/utils/test_ui_hierarchy.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# Portions of this file are derived from mobile-use (https://github.com/minitap-ai/mobile-use) +# Copyright 2025-2026 Minitap, Inc. Licensed under the Apache License 2.0. from unittest.mock import patch