@nomac/cli 0.26.1 → 0.26.2
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 +1 -1
- package/skill/SKILL.md +11 -6
- package/src/cli.mjs +1 -1
- package/src/mcp.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomac/cli",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.2",
|
|
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 (bigger refills earn bonus credit; the answer suggests how many packs).
|
|
41
|
-
2. Install `npm install -g @nomac/cli@0.26.
|
|
41
|
+
2. Install `npm install -g @nomac/cli@0.26.2` (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.26.
|
|
44
|
+
`NOMAC_API_KEY`. MCP: `claude mcp add nomac -- npx -y @nomac/cli@0.26.2 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
|
|
@@ -175,11 +175,16 @@ secrets as variables and files, masked in command output, and a change
|
|
|
175
175
|
reaches running Macs within a minute; `nomac secrets install NAME` adds one
|
|
176
176
|
set to on request.
|
|
177
177
|
|
|
178
|
-
The human connects Apple once at https://nomac.app/apple
|
|
179
|
-
|
|
178
|
+
The human connects Apple once at https://nomac.app/apple: they sign in with
|
|
179
|
+
their Apple Developer account (NoMac makes the App Store Connect key and
|
|
180
|
+
keeps only the key) or upload a key they made. Never ask them for an Apple
|
|
181
|
+
password. The key stays on NoMac's server. Check `nomac apple` (MCP
|
|
180
182
|
`connect_status`) before asking them: it shows the key, certificates and
|
|
181
|
-
profiles already there.
|
|
182
|
-
|
|
183
|
+
profiles already there. Not in the Apple Developer Program yet: the human
|
|
184
|
+
enrolls at https://developer.apple.com/programs/enroll in any browser, Safari
|
|
185
|
+
on the NoMac Mac included (the Apple Developer app does not install on a
|
|
186
|
+
virtual Mac; in India Apple enrolls only in that app, on their own device).
|
|
187
|
+
Then, from your project folder (the CLI acts on the Mac):
|
|
183
188
|
|
|
184
189
|
1. `nomac sign [path]` (MCP `set_up_signing`) makes and installs the App Store
|
|
185
190
|
profiles the project needs and prints the files, the reserved build number
|
package/src/cli.mjs
CHANGED
|
@@ -246,7 +246,7 @@ async function readStdin() {
|
|
|
246
246
|
export function describeApple(view) {
|
|
247
247
|
const accounts = view.apple_accounts ?? [], identities = (view.identities ?? []).filter(id => id.state === "active"), profiles = view.profiles ?? [];
|
|
248
248
|
if (!accounts.length && !identities.length) {
|
|
249
|
-
return "Apple: not connected. The account owner connects
|
|
249
|
+
return "Apple: not connected. The account owner connects Apple once at https://nomac.app/apple (only a person can): they sign in with their Apple Developer account there, or upload an App Store Connect team key; until then nomac sign and nomac testflight cannot reach Apple.";
|
|
250
250
|
}
|
|
251
251
|
const lines = accounts.map(a => `Apple: connected (App Store Connect key ${a.key_id}, issuer ${a.issuer_id}), ${a.status}, since ${String(a.connected_at).slice(0, 10)}.`);
|
|
252
252
|
if (!accounts.length) lines.push("Apple: no App Store Connect key connected; the certificates below still reach every Mac. Connect one at https://nomac.app/apple to make profiles and send to TestFlight.");
|
package/src/mcp.mjs
CHANGED
|
@@ -87,7 +87,7 @@ export const TOOLS = [
|
|
|
87
87
|
org: me.org,
|
|
88
88
|
connections: [],
|
|
89
89
|
next_step:
|
|
90
|
-
"No Apple connection. The human connects once at https://nomac.app/dash/apple
|
|
90
|
+
"No Apple connection. The human connects once at https://nomac.app/dash/apple, in about a minute: they sign in as the team's Account Holder or an Admin and NoMac makes the App Store Connect key, or they upload a key they made. Never ask them for an Apple password.",
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
const detail = await api("GET", `/api/v1/connections/${conns.connections[0].id}`);
|