@ycodium-ai/plugin-devices 0.2.6054 → 0.2.6114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import * as NodePath9 from "node:path";
3
3
  import { definePlugin, PLUGIN_PROXY_DIRECT } from "@ycodium-ai/plugin-api";
4
4
 
5
5
  // ../../packages/plugin-api/src/version.ts
6
- var PLUGIN_API_VERSION = 196;
6
+ var PLUGIN_API_VERSION = 198;
7
7
 
8
8
  // src/types.ts
9
9
  var DEVICE_PLATFORMS = ["ios", "android"];
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "presentation": {
3
3
  "name": "设备",
4
- "description": "让 agent 操作这台机器上的 iOS 模拟器与安卓模拟器。"
4
+ "description": "让 agent 操作这台机器上的 iOS 模拟器与 Android 模拟器。"
5
5
  },
6
6
  "environment": {
7
7
  "title": "准备模拟器环境",
@@ -30,7 +30,7 @@
30
30
  "unknownSize": "尚不确定,请预留额外空间",
31
31
  "external": "默认复用已有 SDK。准备私有环境后会接入它,但设置中明确指定的 SDK 位置优先。正常使用已有虚拟设备会写入其数据;私有准备不会修改外部 SDK。",
32
32
  "guide": "官方设置指引",
33
- "appleOwnership": "Apple 会将运行时安装到共享模拟器环境,只有下载归档存放在私有目录。不会升级或删除已有运行时。Xcode 如需权限或首次初始化,须由你自行完成。",
33
+ "appleOwnership": "Apple 会将运行时安装到共享模拟器环境,只有下载归档存放在私有目录。不会更新或删除已有运行时。Xcode 如需权限或首次初始化,须由你自行完成。",
34
34
  "privateOwnership": "从 Google 下载固定版本的所选 Android AOSP 镜像、Platform-Tools 和 Emulator。SDK、虚拟设备数据、配置和临时文件保存在私有目录。虚拟设备中安装的应用属于用户数据。",
35
35
  "appleLicense": "Apple 软件许可协议",
36
36
  "androidLicense": "Android SDK 许可协议",
@@ -53,7 +53,7 @@
53
53
  "ios-version-required": "请选择当前 Xcode 支持的明确 iOS 版本。下载大小和最终安装位置由 Apple 决定。",
54
54
  "android-platform-unsupported": "Google 没有为这台机器的系统和架构提供此固定版本的模拟器。",
55
55
  "virtualization-unavailable": "模拟器需要的系统加速功能不可用或无法访问。请按官方指引检查 WHPX、KVM 或 Hypervisor.framework。Ycodium 不会启用系统功能、提权或安装驱动。",
56
- "windows-hypervisor-platform-disabled": "安卓模拟器需要「Windows 虚拟机监控程序平台」,它目前没有开启,所以还不能准备。请用管理员身份在「启用或关闭 Windows 功能」里勾选「Windows 虚拟机监控程序平台」,重启电脑后再检查一次。Ycodium 不会修改系统功能。",
56
+ "windows-hypervisor-platform-disabled": "Android 模拟器需要「Windows 虚拟机监控程序平台」,它目前没有开启,所以还不能准备。请用管理员身份在「启用或关闭 Windows 功能」里勾选「Windows 虚拟机监控程序平台」,重启电脑后再检查一次。Ycodium 不会修改系统功能。",
57
57
  "windows-hypervisor-not-running": "Windows Hypervisor Platform 已启用,但 Windows hypervisor 当前没有运行。请按官方指引检查是否需要重启及启动配置;Ycodium 不会修改启动设置。",
58
58
  "virtualization-firmware-disabled": "Windows 报告 BIOS/UEFI 中的虚拟化未开启。请按电脑厂商的说明检查固件设置。",
59
59
  "virtualization-probe-failed": "无法确定模拟器加速状态,不能据此认定硬件虚拟化未开启。请重试检查或参考官方设置指引。"
@@ -121,31 +121,31 @@
121
121
  "panel": {
122
122
  "title": "设备",
123
123
  "platformIos": "iOS 模拟器",
124
- "platformAndroid": "安卓模拟器",
124
+ "platformAndroid": "Android 模拟器",
125
125
  "empty": "这台机器上没有找到模拟器。",
126
- "hubFailed": "设备 hub 没能启动。",
127
- "noAvd": "没有找到安卓虚拟设备。可在上方准备私有模拟器,或在 Android Studio 的 Device Manager 中创建后刷新。",
126
+ "hubFailed": "设备中枢没能启动。",
127
+ "noAvd": "没有找到 Android 虚拟设备。可在上方准备私有模拟器,或在 Android Studio 的 Device Manager 中创建后刷新。",
128
128
  "refresh": "刷新设备",
129
129
  "open": "打开",
130
130
  "start": "启动",
131
131
  "running": "运行中",
132
132
  "stopped": "已停止",
133
- "booting": "正在启动 {{names}}……可能要一分钟。",
134
- "opening": "正在打开设备……",
135
- "starting": "正在启动设备……",
136
- "finding": "正在查找设备……",
137
- "installing": "正在安装设备支持……",
133
+ "booting": "正在启动 {{names}}…可能要一分钟。",
134
+ "opening": "正在打开设备…",
135
+ "starting": "正在启动设备…",
136
+ "finding": "正在查找设备…",
137
+ "installing": "正在安装设备支持…",
138
138
  "dismissError": "关闭设备错误提示",
139
139
  "openFailed": "没能打开设备",
140
140
  "closeFailed": "没能关闭设备",
141
141
  "refreshFailed": "没能刷新设备",
142
142
  "unavailable": "这台机器上没有启用设备插件。到 设置 → 插件 里打开。",
143
- "startingHost": "正在启动设备支持……",
144
- "installingTool": "正在安装{{tool}} {{to}}……",
145
- "updatingTool": "正在把{{tool}}从 {{from}} 更新到 {{to}}……",
143
+ "startingHost": "正在启动设备支持…",
144
+ "installingTool": "正在安装{{tool}} {{to}}…",
145
+ "updatingTool": "正在把{{tool}}从 {{from}} 更新到 {{to}}…",
146
146
  "hostFailed": "设备支持没能启动。",
147
147
  "retry": "重试",
148
- "retrying": "正在重试……"
148
+ "retrying": "正在重试…"
149
149
  },
150
150
  "rail": {
151
151
  "label": "设备操作",
@@ -173,12 +173,12 @@
173
173
  },
174
174
  "stream": {
175
175
  "iosScreen": "iOS 模拟器画面",
176
- "androidScreen": "安卓模拟器画面",
177
- "connecting": "正在连接画面……",
176
+ "androidScreen": "Android 模拟器画面",
177
+ "connecting": "正在连接画面…",
178
178
  "failed": "画面流中断了。",
179
179
  "reconnect": "重新连接",
180
- "inputLost": "输入断开了,正在重连……",
181
- "inputLostDetail": "输入断开了({{detail}}),正在重连……"
180
+ "inputLost": "输入断开了,正在重连…",
181
+ "inputLostDetail": "输入断开了({{detail}}),正在重连…"
182
182
  },
183
183
  "workspace": {
184
184
  "needsNewerApp": "这个应用显示不了设备画面,请更新应用。",
@@ -291,7 +291,7 @@
291
291
  },
292
292
  "versions": {
293
293
  "title": "工具版本",
294
- "hubName": "设备 hub",
294
+ "hubName": "设备中枢",
295
295
  "agentName": "agent 工具",
296
296
  "required": "需要",
297
297
  "installed": "已安装",
@@ -312,7 +312,7 @@
312
312
  "xcode-missing": "没有找到 Xcode 命令行工具。",
313
313
  "ios-runtime-missing": "缺少 iOS 模拟器运行时。请在「准备模拟器环境」里选一个明确版本,或在 Xcode 设置中安装。",
314
314
  "android-sdk-invalid": "Android SDK 工具无法运行。请检查 SDK 安装,或在上方准备私有环境。",
315
- "android-sdk-missing": "这台机器上没有找到 Android SDK。可以用上方的「准备模拟器环境」准备一套,或在 Devices 设置中指定已有 SDK 的位置。",
315
+ "android-sdk-missing": "这台机器上没有找到 Android SDK。可以用上方的「准备模拟器环境」准备一套,或在设备设置中指定已有 SDK 的位置。",
316
316
  "android-platform-tools-missing": "{{root}} 中缺少 Android SDK Platform-Tools。请在 Android Studio 的 SDK Manager 中安装,或在上方准备私有环境。",
317
317
  "android-emulator-missing": "{{root}} 中缺少 Android Emulator。请在 Android Studio 的 SDK Manager 中安装,或在上方准备私有环境。",
318
318
  "android-cmdline-tools-missing": "{{root}} 中缺少 Android SDK 命令行工具。请在 Android Studio 的 SDK Manager 中安装,或在上方准备私有环境。",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-devices",
3
- "version": "0.2.6054",
3
+ "version": "0.2.6114",
4
4
  "description": "Lets agents drive iOS Simulators and Android Emulators on this machine.",
5
5
  "keywords": [
6
6
  "android",
@@ -34,7 +34,7 @@
34
34
  "tailwindcss": "^4.0.0",
35
35
  "typescript": "~6.0.3",
36
36
  "vite-plus": "0.2.2",
37
- "@ycodium-ai/plugin-api": "0.2.6054",
37
+ "@ycodium-ai/plugin-api": "0.2.6114",
38
38
  "ycodium-sse-stream": "0.0.0"
39
39
  },
40
40
  "ycodium": {