@ycodium-ai/plugin-devices 0.2.5407 → 0.2.5503

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +2 -2
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 = 170;
6
+ var PLUGIN_API_VERSION = 173;
7
7
 
8
8
  // src/types.ts
9
9
  var DEVICE_PLATFORMS = ["ios", "android"];
@@ -3633,6 +3633,7 @@ var deviceToolkit = (service) => ({
3633
3633
  {
3634
3634
  name: "device_list",
3635
3635
  description: "List iOS Simulators and Android Emulators on this machine for mobile app UI and interaction verification, including SwiftUI, UIKit, Jetpack Compose, Flutter and React Native apps. Reports which platforms this machine can run and which devices are already open in this conversation's Devices panel. Call this before device_open when you do not know a device id.",
3636
+ argumentUsage: { valid: {} },
3636
3637
  inputSchema: { type: "object", properties: { hostId: HOST_ID_PROPERTY } },
3637
3638
  handle: guard(async (input, invocation) => {
3638
3639
  const threadId = requireThread(invocation);
@@ -3649,6 +3650,7 @@ var deviceToolkit = (service) => ({
3649
3650
  {
3650
3651
  name: "device_open",
3651
3652
  description: "Open an iOS simulator or Android emulator for this conversation, such as when checking a mobile app's screens, navigation, forms and interactions. Boots it if needed, starts its live stream, and shows it in the user's Devices panel. Returns the agent-device command line pinned to the device; use that command to inspect and drive the app afterwards.",
3653
+ argumentUsage: { valid: { deviceId: "<deviceId>" } },
3652
3654
  inputSchema: {
3653
3655
  type: "object",
3654
3656
  properties: {
@@ -3697,6 +3699,7 @@ var deviceToolkit = (service) => ({
3697
3699
  {
3698
3700
  name: "device_screenshot",
3699
3701
  description: "Capture the current screen of an open device as a PNG image. Use it to see what the user sees; for taps and text use the agent-device command line.",
3702
+ argumentUsage: { valid: { deviceId: "<deviceId>" } },
3700
3703
  inputSchema: {
3701
3704
  type: "object",
3702
3705
  properties: {
@@ -3728,6 +3731,7 @@ var deviceToolkit = (service) => ({
3728
3731
  {
3729
3732
  name: "device_close",
3730
3733
  description: "Remove a device from this conversation's Devices panel. Pass shutdown=true to also power the simulator or emulator off.",
3734
+ argumentUsage: { valid: { deviceId: "<deviceId>" } },
3731
3735
  inputSchema: {
3732
3736
  type: "object",
3733
3737
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-devices",
3
- "version": "0.2.5407",
3
+ "version": "0.2.5503",
4
4
  "description": "Lets agents drive iOS Simulators and Android Emulators on this machine.",
5
5
  "keywords": [
6
6
  "android",
@@ -34,8 +34,8 @@
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.5503",
37
38
  "ycodium-fetch-ports": "0.0.0",
38
- "@ycodium-ai/plugin-api": "0.2.0",
39
39
  "ycodium-sse-stream": "0.0.0"
40
40
  },
41
41
  "ycodium": {