@nomac/cli 0.13.4 → 0.13.5

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 (3) hide show
  1. package/README.md +30 -0
  2. package/package.json +1 -1
  3. package/src/mcp.mjs +1 -1
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # @nomac/cli
2
+
3
+ A real cloud Mac for AI agents and for you: macOS on Apple silicon with Xcode and the iOS Simulator, administrator access and nothing blocked, billed from prepaid credit at $0.80 an hour by the minute. Build, run and test iOS and macOS apps from Linux, Windows or a cloud sandbox, then sign, send to TestFlight and publish.
4
+
5
+ ```sh
6
+ npm install -g @nomac/cli
7
+ nomac login # approve the code in your browser
8
+ nomac start # a Mac, usually ready within a minute
9
+ nomac sync . # upload this project (to ~/drive/src, kept between sessions)
10
+ nomac exec --wait 600 -- xcodebuild -scheme App -destination 'platform=iOS Simulator,name=iPhone 17 Pro' build
11
+ nomac pull ./build # download results
12
+ nomac stop # the Mac and its files are deleted, except ~/drive; billing ends
13
+ ```
14
+
15
+ ## For agents
16
+
17
+ `nomac mcp` is an MCP server over stdio for Claude Code, Codex, Cursor and others:
18
+
19
+ ```sh
20
+ claude mcp add nomac -- npx @nomac/cli mcp
21
+ codex mcp add nomac -- npx @nomac/cli mcp
22
+ ```
23
+
24
+ Hosted MCP needs no install: `https://mcp.nomac.app/mcp` (the Mac) and `https://mcp.nomac.app/appstore` (signing, TestFlight and App Store Connect), one sign-in for both.
25
+
26
+ ## What else
27
+
28
+ `nomac --help` lists every command: SSH (`nomac ssh`, `nomac ssh-config`), the desktop in your browser, screenshots and screen recordings, real keyboard and mouse input, secrets that reach every Mac, App Store signing (`nomac sign`), TestFlight (`nomac testflight`), App Review (`nomac publish`) and notarization (`nomac notarize`).
29
+
30
+ The full guide for agents is https://nomac.app/llms.txt; the CLI reference is https://nomac.app/docs/cli and the API https://nomac.app/docs/api. The CLI updates itself in the background (`NOMAC_NO_AUTO_UPDATE=1` turns that off).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomac/cli",
3
- "version": "0.13.4",
3
+ "version": "0.13.5",
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/src/mcp.mjs CHANGED
@@ -23,7 +23,7 @@ const INSTRUCTIONS = [
23
23
  "For the iOS Simulator, simulator-use is on the Mac (run it with exec_mac): simulator-use look reads the screen as text, simulator-use act 'tap \"Sign In\"' taps and types by label, and simulator-use run builds, installs and launches the app; ~/NOMAC.md has the rest.",
24
24
  "When an answer says low_credit (under an hour of Mac time left), tell the human before a long build and offer its buy_url: a Mac stops when the credit runs out. For a refill, suggest 3 packs ($30, +5%).",
25
25
  "One Mac runs per account at a time: start_mac while one runs answers session_limit_reached with its id, to use. For work that needs two at once, start_mac with parallel: true starts a second (accounts that bought credit, while NoMac has a Mac to spare); it runs without the drive.",
26
- "exec_mac returns a quick command's output in the same call; pass wait_seconds: 50 for builds and tests. A command still running comes back as a job: poll get_mac_job with its job_id, then read_mac_output.",
26
+ "exec_mac returns a quick command's output in the same call; pass wait_seconds: 40 for builds and tests (a call answers within 45 s). A command still running comes back as a job: poll get_mac_job with its job_id, then read_mac_output.",
27
27
  "Never rerun a command to get its output; after a lost response, repeat the call with the same request_key and arguments.",
28
28
  "Write files with write_mac_file, not heredocs in exec_mac: a command is at most 64 KiB.",
29
29
  "Shipping without the Apple key on the Mac: set_up_signing on the project returns the files and commands that sign a build with the agent's own tools; send_to_testflight sends the signed .ipa to TestFlight; publish submits it for App Review; notarize notarizes and staples a Developer ID-signed Mac app. Never ask for a secret in the chat: request_secret gives the human a link, and every Mac receives the account's secrets.",