@nomac/cli 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/bin/nomac.mjs +1 -1
  2. package/package.json +1 -1
package/bin/nomac.mjs CHANGED
@@ -3,7 +3,7 @@ import { main } from "../src/cli.mjs";
3
3
 
4
4
  main(process.argv.slice(2)).catch((err) => {
5
5
  const args = process.argv.slice(2);
6
- if (["start", "sync", "pull", "stop", "session", "transport"].includes(args[0]) && args.includes("--json")) {
6
+ if (["start", "sync", "pull", "stop", "session", "transport", "exec", "job", "output"].includes(args[0]) && args.includes("--json")) {
7
7
  console.error(JSON.stringify({ error: { code: err?.code ?? "session_error", message: err?.friendly ?? err?.message ?? String(err), ...(err?.details ? { details: err.details } : {}) } }));
8
8
  } else console.error(err?.friendly ?? err?.message ?? String(err));
9
9
  process.exit(err?.exitCode ?? 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomac/cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Cloud Mac sessions over SSH and HTTPS, plus iOS builds and publishing — built for agents.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",