Repository navigation
v1.0.4
What's New
Install or upgrade with the one-liner:
curl -fsSL https://get.phonebase.cloud | sh
Verify afterwards:
pb --version
pb skills install
Device Control
pb installsupports local files, URLs, and XAPK — Install apps from a local APK/XAPK file, an HTTP URL, or a device path. Large files show a real-time progress bar with speed and ETA. Example:pb install ~/Downloads/app.xapkpb pushuploads files to the device — Push local files with--destfor custom paths, or pass a URL to let the device download directly. Example:pb push photo.jpg --dest /sdcard/Pictures/- Smart error recovery — Missing arguments, invalid paths, and interrupted transfers give clear suggestions. Partial uploads are cleaned up automatically
New Commands
pb daemon status/stop/restart/logs— Full daemon lifecycle management. Check connection status, restart after issues, or tail the log file for debuggingpb skills new <name>— Scaffold a new skill interactively: pick the target app from a live device list, auto-extract the app icon, pre-fill package name and categorypb icon <package>— Show any installed app's launcher icon in the terminal
Skills
pb skills install <name>from the skill hub — Install skills by name with automatic dependency resolution. Example:pb skills install googleplaypulls GooglePlay + its dependency GoogleServices in one commandpb skills listshows icons, versions, and status — Visual skill overview at a glance: app icon, enabled/disabled state, version, and description- Streaming install progress — Watch installs happen in real time:
↓ downloaded,→ found dependency,✓ installed - Remote skill templates —
pb skills newpulls the latest templates automatically — no CLI update needed to get template improvements
UI
- App icons everywhere —
pb packagesandpb skills listnow display launcher icons inline (iTerm2 / Kitty) with colored letter fallback in other terminals - Cleaner
pb listoutput — Commands already available as aliases are hidden, giving you a focused view of what's actually useful - Reorganized
pb --help— Commands grouped into Device Management, Device Control, Skills, and Connection sections - Seamless upgrades —
pb updateautomatically restarts the daemon so the new version takes effect immediately
Connection
- Idle timeout — Auto-disconnects after 10 minutes of inactivity to save resources. Configure with
pb config set idle_timeout <seconds> - Faster sequential commands — Reduced overhead when running multiple pb commands in a row (e.g., AI agent workflows)
- More reliable connections — Rearchitected CLI-to-device communication for better stability under load
Config
- Underscore-style config keys —
network_timeout,idle_timeout(old dash-style keys removed)
更新内容
一键安装或升级:
curl -fsSL https://get.phonebase.cloud | sh
验证安装:
pb --version
pb skills install
设备控制
pb install支持本地文件、URL 和 XAPK — 本地 APK/XAPK、HTTP 链接、设备路径三种方式安装应用,大文件实时显示进度条和预估时间。示例:pb install ~/Downloads/app.xapkpb push上传文件到设备 — 本地文件用--dest指定目标路径,也可传 URL 让设备直接下载。示例:pb push photo.jpg --dest /sdcard/Pictures/- 智能错误恢复 — 缺参数、路径不存在、传输中断都给出清晰的操作建议,失败时自动清理残留文件
新增命令
pb daemon status/stop/restart/logs— 完整的守护进程管理:查看连接状态、重启、查看日志pb skills new <name>— 交互式创建 skill:从已连接设备的应用列表中选择目标应用,自动提取图标,预填包名和分类pb icon <package>— 在终端显示任意已安装应用的图标
Skills
pb skills install <name>从 skill hub 安装 — 按名字安装 skill,自动解析依赖。示例:pb skills install googleplay一条命令拉取 GooglePlay 及其依赖 GoogleServicespb skills list展示图标、版本和状态 — 一览:应用图标、启用/禁用状态、版本号、描述- 流式安装进度 — 实时看到安装过程:
↓ 下载、→ 发现依赖、✓ 安装 - 远程 skill 模板 —
pb skills new自动拉取最新模板,不需要更新 CLI 就能获得模板改进
界面
- 应用图标随处可见 —
pb packages和pb skills list都内联显示应用图标(iTerm2 / Kitty),其他终端用彩色首字母代替 - 更干净的
pb list输出 — 已被别名覆盖的命令自动隐藏,只显示真正需要关注的接口 pb --help分类重组 — 按设备管理、设备操作、Skills、连接分组,快速找到需要的命令- 无缝升级 —
pb update自动重启守护进程,新版本立即生效
连接
- 空闲超时 — 10 分钟无操作自动断连以节省资源,可配置:
pb config set idle_timeout <秒数> - 连续命令更快 — 连续执行多条 pb 命令时开销更低(AI agent 工作流受益明显)
- 连接更稳定 — 重新设计了 CLI 到设备的通信架构,高负载下更可靠
配置
- Config key 统一下划线风格 —
network_timeout、idle_timeout(不再支持横杠风格)