@nomac/cli 0.27.2 → 0.28.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomac/cli",
3
- "version": "0.27.2",
3
+ "version": "0.28.0",
4
4
  "description": "A real cloud Mac for AI agents: Xcode, the iOS Simulator, signing, TestFlight and App Store publishing, by the minute, over MCP, SSH and HTTPS.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
package/skill/SKILL.md CHANGED
@@ -27,7 +27,9 @@ full-size PNG (in `nomac mcp`, a file here; hosted, a download link). A
27
27
  screenshot's link and `phone_screen_record`'s MP4 link work at once and for 7
28
28
  days, also after the phone stops. For App Store screenshots start the phone
29
29
  with `device: "iphone-pro-max"` (6.9-inch, 1320x2868); `upload_screenshots`
30
- takes the hosted links.
30
+ takes the hosted links. An iPhone Duo: start with `device: "iphone-duo"`; it
31
+ boots closed, `phone_device_use` with `fold` (`closed`, `book` or `open`) folds
32
+ it, and reads and taps follow the screen in use.
31
33
 
32
34
  ## Cloud Mac setup and workflow
33
35
 
@@ -40,10 +42,10 @@ takes the hosted links.
40
42
  not a payment. No Apple Developer account is needed for an unsigned build.
41
43
  Under an hour left, answers say `low_credit` with a `buy_url`: tell the
42
44
  human before a long build (bigger refills earn bonus credit; the answer suggests how many packs).
43
- 2. Install `npm install -g @nomac/cli@0.27.2` (it updates itself after), run `nomac login`, and give the human
45
+ 2. Install `npm install -g @nomac/cli@0.28.0` (it updates itself after), run `nomac login`, and give the human
44
46
  the printed device URL and code. With a key the human made at
45
47
  https://nomac.app/keys: `nomac login --with-token < key.txt`, or set
46
- `NOMAC_API_KEY`. MCP: `claude mcp add nomac -- npx -y @nomac/cli@0.27.2 mcp`.
48
+ `NOMAC_API_KEY`. MCP: `claude mcp add nomac -- npx -y @nomac/cli@0.28.0 mcp`.
47
49
  Hosted MCP: https://mcp.nomac.app/mcp with `Authorization: Bearer <nmk_key>`.
48
50
  3. `nomac start --json`, wait until ready, `nomac sync .`, then `nomac ssh`.
49
51
  Run commands with `nomac exec -- COMMAND`: it prints the output as it
@@ -139,7 +141,7 @@ is installed: Node, Python, uv, nvm, Ruby with CocoaPods, xcbeautify, xcodegen,
139
141
  gh, Git LFS, jq and simulator-use.
140
142
  Pipe xcodebuild through `xcbeautify`. Simulator devices share names across iOS
141
143
  runtimes: pick one by ID (`xcrun simctl list devices available`) or with
142
- `OS=27.0` in `-destination`; an older iOS downloads in about 6 minutes
144
+ `OS=latest` in `-destination`; an older iOS downloads in about 6 minutes
143
145
  (`xcodebuild -downloadPlatform iOS -buildVersion 26.5`). Apple Intelligence cannot generate on a virtual
144
146
  Mac, in the Simulator either: test it on a device.
145
147
  Report failures using `report_issue` with `session_id`, optional `job_id` and
@@ -20,7 +20,7 @@
20
20
  },
21
21
  {
22
22
  "name": "phone_device_use",
23
- "description": "Cloud iPhone: Choose the Simulator the other tools use, booting it if needed (one boot at a time), and optionally set dark or light appearance and a clean status bar (9:41, full battery) for screenshots.",
23
+ "description": "Cloud iPhone: Choose the Simulator the other tools use, booting it if needed (one boot at a time), and optionally set dark or light appearance, a clean status bar (9:41, full battery) for screenshots, or fold an iPhone Duo.",
24
24
  "inputSchema": {
25
25
  "type": "object",
26
26
  "properties": {
@@ -44,6 +44,15 @@
44
44
  "real"
45
45
  ]
46
46
  },
47
+ "fold": {
48
+ "description": "iPhone Duo: answers once that screen is in use",
49
+ "type": "string",
50
+ "enum": [
51
+ "closed",
52
+ "book",
53
+ "open"
54
+ ]
55
+ },
47
56
  "session_id": {
48
57
  "description": "The phone; default: the account's running phone",
49
58
  "type": "string",
@@ -546,12 +555,13 @@
546
555
  "pattern": "^[A-Za-z0-9._-]{1,64}$"
547
556
  },
548
557
  "device": {
549
- "description": "start: iphone (iPhone 17 Pro), ipad (iPad Pro 11-inch (M5)), iphone-pro-max (iPhone 17 Pro Max); the first is quickest",
558
+ "description": "start: iphone (iPhone 17 Pro), ipad (iPad Pro 11-inch (M5)), iphone-pro-max (iPhone 17 Pro Max), iphone-duo (iPhone Duo); the first is quickest",
550
559
  "type": "string",
551
560
  "enum": [
552
561
  "iphone",
553
562
  "ipad",
554
- "iphone-pro-max"
563
+ "iphone-pro-max",
564
+ "iphone-duo"
555
565
  ]
556
566
  },
557
567
  "appearance": {