@nomac/cli 0.22.0 → 0.22.1

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.22.0",
3
+ "version": "0.22.1",
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
@@ -38,10 +38,10 @@ Store screenshots start the phone with `device: "iphone-pro-max"` (6.9-inch,
38
38
  not a payment. No Apple Developer account is needed for an unsigned build.
39
39
  Under an hour left, answers say `low_credit` with a `buy_url`: tell the
40
40
  human before a long build (a refill of 3 packs, $30, earns bonus credit).
41
- 2. Install `npm install -g @nomac/cli@0.22.0` (it updates itself after), run `nomac login`, and give the human
41
+ 2. Install `npm install -g @nomac/cli@0.22.1` (it updates itself after), run `nomac login`, and give the human
42
42
  the printed device URL and code. With a key the human made at
43
43
  https://nomac.app/keys: `nomac login --with-token < key.txt`, or set
44
- `NOMAC_API_KEY`. MCP: `claude mcp add nomac -- npx -y @nomac/cli@0.22.0 mcp`.
44
+ `NOMAC_API_KEY`. MCP: `claude mcp add nomac -- npx -y @nomac/cli@0.22.1 mcp`.
45
45
  Hosted MCP: https://mcp.nomac.app/mcp with `Authorization: Bearer <nmk_key>`.
46
46
  3. `nomac start --json`, wait until ready, `nomac sync .`, then `nomac ssh`.
47
47
  Run commands with `nomac exec -- COMMAND`: it prints the output as it
@@ -33,10 +33,12 @@ export const GUEST_BUSY_RETRY = { budgetMs: 120_000, pauseMs: 3_000 };
33
33
  /**
34
34
  * Passing failures: a saturated guest (a first Simulator boot answers slowly for a minute or
35
35
  * two), a Mac whose network dropped for a moment (most nights at its provider, October 2026),
36
- * an answer lost on the way, or the same request still starting (copies of it that waited out
37
- * an outage reach the Mac together).
36
+ * an answer lost on the way, the same request still starting (copies of it that waited out
37
+ * an outage reach the Mac together), or a Mac already handling eight requests or too many
38
+ * uploads at once, which the gateway refuses before running anything (November 6, 2026: an
39
+ * agent running several builds got 194 such refusals as failures in a day).
38
40
  */
39
- const PASSING = new Set(["guest_busy", "host_unavailable", "outcome_unknown", "operation_pending"]);
41
+ const PASSING = new Set(["guest_busy", "host_unavailable", "outcome_unknown", "operation_pending", "too_many_requests", "probe_capacity"]);
40
42
 
41
43
  /**
42
44
  * Guest operations are idempotent by job ID, request key and blob offset (a job start always