serve-sim 0.1.29 → 0.1.30

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/README.md CHANGED
@@ -40,6 +40,8 @@ serve-sim [device...] Start preview server (default: localhost:3
40
40
  serve-sim --no-preview [device...] Stream in foreground without a preview server
41
41
  serve-sim gesture '<json>' [-d udid] Send a touch gesture
42
42
  serve-sim button [name] [-d udid] Send a button press (default: home)
43
+ serve-sim type <text> [-d udid] Type text via the simulator keyboard
44
+ (US keyboard only; also --stdin / --file <path>)
43
45
  serve-sim rotate <orientation> [-d udid]
44
46
  portrait | portrait_upside_down |
45
47
  landscape_left | landscape_right
@@ -88,6 +90,11 @@ serve-sim --detach # start a background helper, return JSON
88
90
  serve-sim --list # show running streams
89
91
  serve-sim --kill # stop all helpers
90
92
 
93
+ # Type text into the focused field
94
+ serve-sim type "Hello, world!"
95
+ echo "from stdin" | serve-sim type --stdin
96
+ serve-sim type --file ./snippet.txt
97
+
91
98
  # Camera injection
92
99
  serve-sim camera com.acme.MyApp # animated placeholder
93
100
  serve-sim camera com.acme.MyApp --webcam # default webcam
@@ -125,6 +132,18 @@ Sources:
125
132
 
126
133
  `serve-sim` can be used with dev servers, browser, and AI editors for more seamless integration.
127
134
 
135
+ ### Agent Skill
136
+
137
+ An [Agent Skill](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview) ships in [`skills/serve-sim`](skills/serve-sim) — it teaches AI coding agents (Claude Code, Cursor, Codex CLI, Gemini CLI, and any host implementing the open Agent Skills standard) how to drive a simulator through the CLI: taps, gestures, hardware buttons, rotation, camera injection, and handing the stream off to the host's preview pane.
138
+
139
+ ```sh
140
+ bunx add-skill EvanBacon/serve-sim
141
+ # in Claude Code:
142
+ /plugin marketplace add EvanBacon/serve-sim
143
+ ```
144
+
145
+ See [`skills/serve-sim/README.md`](skills/serve-sim/README.md) for the full capability list.
146
+
128
147
  ### Claude Code Desktop
129
148
 
130
149
  Create a `.claude/launch.json` and define a server:
package/bin/serve-sim-bin CHANGED
Binary file