@nomac/cli 0.13.5 → 0.13.7
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 +1 -1
- package/package.json +1 -1
- package/skill/SKILL.md +7 -1
- package/src/login.mjs +1 -1
- package/src/mcp.mjs +1 -0
- package/src/sessions.mjs +1 -1
- package/src/transport-command.mjs +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ claude mcp add nomac -- npx @nomac/cli mcp
|
|
|
21
21
|
codex mcp add nomac -- npx @nomac/cli mcp
|
|
22
22
|
```
|
|
23
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.
|
|
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. A cloud iPhone alone (NoMac Simulator): `https://mcp.nomac.app/simulator-use`, or `npx simulator-use cloud start` from any terminal.
|
|
25
25
|
|
|
26
26
|
## What else
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomac/cli",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.7",
|
|
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
|
@@ -13,6 +13,11 @@ NoMac gives your agent a full macOS VM that is entirely its own: administrator,
|
|
|
13
13
|
no prompts, nothing blocked, with Xcode and the iOS Simulator. You choose the
|
|
14
14
|
commands and tools. Mac time is prepaid credit.
|
|
15
15
|
|
|
16
|
+
For an iPhone alone (an iOS Simulator with the app built on the same Mac, no
|
|
17
|
+
shell), NoMac Simulator is the lighter choice, from the same credit:
|
|
18
|
+
https://mcp.nomac.app/simulator-use over MCP, or `npx simulator-use cloud
|
|
19
|
+
start` from a terminal (https://nomac.app/simulator).
|
|
20
|
+
|
|
16
21
|
## Cloud Mac setup and workflow
|
|
17
22
|
|
|
18
23
|
1. Check credit with `nomac credits --json` or `get_mac_credits`. Mac time is
|
|
@@ -176,4 +181,5 @@ When you stop a Mac, its answer asks for feedback. If anything got in your
|
|
|
176
181
|
way, failed, was missing from the Mac or the tools, or would have saved you
|
|
177
182
|
time, send it in a sentence or two: `report_issue` with `kind: "feedback"` and
|
|
178
183
|
the `session_id`. Leave out code, secrets and personal data; skip it if nothing
|
|
179
|
-
did.
|
|
184
|
+
did. Send it once: a person at NoMac reads it and answers in that ticket
|
|
185
|
+
(`report_issue` with no description shows the answer).
|
package/src/login.mjs
CHANGED
|
@@ -35,7 +35,7 @@ export async function deviceLogin() {
|
|
|
35
35
|
if (status === "approved" && r.json.api_key) {
|
|
36
36
|
saveApiKey(r.json.api_key);
|
|
37
37
|
const me = await api("GET", "/api/v1/me");
|
|
38
|
-
console.log(`\
|
|
38
|
+
console.log(`\nConnected to the NoMac account "${me.org.name}" (${me.org.id}).`);
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
41
|
if (status === "denied") throw new CliError("denied", "Login was denied in the dashboard.");
|
package/src/mcp.mjs
CHANGED
|
@@ -17,6 +17,7 @@ const PROTOCOL_FALLBACK = "2025-06-18";
|
|
|
17
17
|
/** How the tools fit together, sent once at initialize (the hosted server sends the same kind of text). */
|
|
18
18
|
const INSTRUCTIONS = [
|
|
19
19
|
"NoMac gives you a cloud Mac with Xcode, billed from prepaid credit ($0.80 an hour, by the minute).",
|
|
20
|
+
"For an iPhone alone (an iOS Simulator with the app built on the same Mac, no shell): NoMac Simulator, https://mcp.nomac.app/simulator-use or npx simulator-use cloud, from the same credit.",
|
|
20
21
|
"Use it when work needs macOS that this machine does not have (Windows, Linux or a cloud sandbox): building, running or testing an iOS, iPadOS, watchOS, visionOS or macOS app (Swift, SwiftUI, React Native, Expo, Flutter, Capacitor), the iOS Simulator, Xcode, code signing, TestFlight or App Store submission.",
|
|
21
22
|
"Typical flow: get_mac_credits, start_mac, poll get_mac_session until ready, put code there (exec_mac with git clone into ~/drive/src, write_mac_file, fetch_to_mac, create_mac_upload_link), run exec_mac, get results with read_mac_file or create_mac_download_link, then stop_mac.",
|
|
22
23
|
"The account's drive at ~/drive (20 GB) is on every Mac and kept between sessions; everything outside it is deleted at stop. Clone and build in ~/drive/src/<repo>, so the next session rebuilds only what changed. Keep it under 10 GB: a Mac that does not hold it yet downloads all of it before it boots; nomac-drive on the Mac shows what takes the space, and nomac-drive clean deletes stale build products.",
|
package/src/sessions.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { sessionStore } from "./session-store.mjs";
|
|
|
7
7
|
import { forwardingArg, prepareWorkspace, runProcess, shellQuote, sshArgs, validateTarget, workspaceCommand } from "./session-ssh.mjs";
|
|
8
8
|
import { describePull, describeSync, pullProject, syncProject } from "./session-transfer.mjs";
|
|
9
9
|
|
|
10
|
-
export const SESSION_HELP = `
|
|
10
|
+
export const SESSION_HELP = `NoMac SSH workspace on your own Mac (preview)
|
|
11
11
|
|
|
12
12
|
First connection (use a dedicated Mac you control):
|
|
13
13
|
nomac start --host dev@my-mac [--identity ~/.ssh/id_ed25519] [--port 22]
|
|
@@ -4,7 +4,7 @@ import { resolve, dirname, join } from "node:path";
|
|
|
4
4
|
import { CliError } from "./api.mjs";
|
|
5
5
|
import { macRequest, sessionId } from "./mac-transport.mjs";
|
|
6
6
|
|
|
7
|
-
const HELP = `
|
|
7
|
+
const HELP = `NoMac transport probe (an operator-configured SSH target; no allocation or billing)
|
|
8
8
|
|
|
9
9
|
Set NOMAC_GATEWAY_URL and NOMAC_SESSION_TOKEN outside the project.
|
|
10
10
|
nomac tunnel <session> SSH ProxyCommand byte stream
|