Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,20 @@ ADB 调试能力,可通过 WiFi 或网络连接设备,实现灵活的远程

### 1. 安装依赖

推荐使用 `uv` 进行依赖管理:

```bash
pip install -r requirements.txt
# 初始化环境并安装依赖
uv sync

# 激活环境
source .venv/bin/activate
```

或者使用 `pip`:

```bash
pip install -r requirements.txt
pip install -e .
```

Expand Down Expand Up @@ -607,7 +619,7 @@ Agent 可以执行以下操作:

| 操作 | 描述 |
|--------------|-----------------|
| `Launch` | 启动应用 |
| `Launch` | 启动应用 |
| `Tap` | 点击指定坐标 |
| `Type` | 输入文本 |
| `Swipe` | 滑动屏幕 |
Expand Down
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[project]
name = "phone-agent"
version = "0.1.0"
description = "AI-powered phone automation framework"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"openai>=2.9.0",
"Pillow>=12.0.0",
"requests>=2.31.0",
]

[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"black>=23.0.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
"pre-commit>=4.5.0",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
Loading