@ycodium-ai/plugin-devices 0.2.4021 → 0.2.4053

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 = 81;
6
+ var PLUGIN_API_VERSION = 87;
7
7
 
8
8
  // src/types.ts
9
9
  var DEVICE_PLATFORMS = ["ios", "android"];
package/locales/en.json CHANGED
@@ -313,5 +313,11 @@
313
313
  "android-emulator-missing": "Android Emulator is missing from {{root}}. Install it in Android Studio's SDK Manager, or prepare a private environment above.",
314
314
  "android-cmdline-tools-missing": "Android SDK command-line tools are missing from {{root}}. Install them in Android Studio's SDK Manager, or prepare a private environment above.",
315
315
  "android-cmdline-tools-legacy": "The Android SDK command-line tools in {{root}} are too old. Update them in Android Studio's SDK Manager, or prepare a private environment above."
316
+ },
317
+ "tool": {
318
+ "device_list": "List devices",
319
+ "device_open": "Open device",
320
+ "device_screenshot": "Take device screenshot",
321
+ "device_close": "Close device"
316
322
  }
317
323
  }
@@ -313,5 +313,11 @@
313
313
  "android-emulator-missing": "{{root}} 中缺少 Android Emulator。请在 Android Studio 的 SDK Manager 中安装,或在上方准备私有环境。",
314
314
  "android-cmdline-tools-missing": "{{root}} 中缺少 Android SDK 命令行工具。请在 Android Studio 的 SDK Manager 中安装,或在上方准备私有环境。",
315
315
  "android-cmdline-tools-legacy": "{{root}} 中的 Android SDK 命令行工具版本过旧。请在 Android Studio 的 SDK Manager 中更新,或在上方准备私有环境。"
316
+ },
317
+ "tool": {
318
+ "device_list": "列出设备",
319
+ "device_open": "打开设备",
320
+ "device_screenshot": "设备截图",
321
+ "device_close": "关闭设备"
316
322
  }
317
323
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-devices",
3
- "version": "0.2.4021",
3
+ "version": "0.2.4053",
4
4
  "description": "Lets agents drive iOS Simulators and Android Emulators on this machine.",
5
5
  "keywords": [
6
6
  "android",
@@ -34,9 +34,9 @@
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.4053",
37
38
  "ycodium-fetch-ports": "0.0.0",
38
- "ycodium-sse-stream": "0.0.0",
39
- "@ycodium-ai/plugin-api": "0.2.4021"
39
+ "ycodium-sse-stream": "0.0.0"
40
40
  },
41
41
  "ycodium": {
42
42
  "plugin": "./dist/index.js",
@@ -62,6 +62,34 @@
62
62
  ],
63
63
  "chatWatchers": [
64
64
  "deviceSessions"
65
+ ],
66
+ "toolViews": [
67
+ {
68
+ "tool": "device_list",
69
+ "titleKey": "tool.device_list"
70
+ },
71
+ {
72
+ "tool": "device_open",
73
+ "titleKey": "tool.device_open",
74
+ "summary": [
75
+ "deviceId",
76
+ "platform"
77
+ ]
78
+ },
79
+ {
80
+ "tool": "device_screenshot",
81
+ "titleKey": "tool.device_screenshot",
82
+ "summary": [
83
+ "deviceId"
84
+ ]
85
+ },
86
+ {
87
+ "tool": "device_close",
88
+ "titleKey": "tool.device_close",
89
+ "summary": [
90
+ "deviceId"
91
+ ]
92
+ }
65
93
  ]
66
94
  },
67
95
  "permissions": [