@invarn/cli 0.9.440 → 0.9.442
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 +10 -3
- package/dist/invarn.cjs +170 -95
- package/dist/sdk.mjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -192,7 +192,9 @@ Thirteen top-level commands; `invarn help` lists them with every option.
|
|
|
192
192
|
| `invarn artifact list <build-id>` | List a build's artifacts |
|
|
193
193
|
| `invarn artifact download <build-id> [--out <dir>]` | Download a build's artifact bundle |
|
|
194
194
|
| `invarn signing add <file>` | Upload an iOS signing certificate (.p12, with its password), a provisioning profile (.mobileprovision) or an App Store Connect API key (.p8), and print what Invarn read from it |
|
|
195
|
-
| `invarn signing
|
|
195
|
+
| `invarn signing add --from-keychain` | On a Mac: export the distribution certificate with its private key from the Keychain (one macOS prompt) and upload it |
|
|
196
|
+
| `invarn signing add --from-xcode` | On a Mac: upload, for each app part with no profile on Invarn, the newest matching profile from Xcode's profile folders |
|
|
197
|
+
| `invarn signing list` | List the signing files Invarn keeps for the project, facts only |
|
|
196
198
|
| `invarn capture evidence <session_id>` | Download a remote capture session's snapshots and screen recordings |
|
|
197
199
|
| `invarn capture native-test <module> <Class>` | Run one native Android test class once, from this checkout, on the running emulator |
|
|
198
200
|
| `invarn mcp serve` | Start MCP server for AI agents |
|
|
@@ -232,9 +234,14 @@ Secrets are managed on the Invarn dashboard, never through MCP, so their values
|
|
|
232
234
|
|
|
233
235
|
## iOS signing files
|
|
234
236
|
|
|
235
|
-
`invarn signing add <file>` uploads one file you name, and nothing else
|
|
237
|
+
`invarn signing add <file>` uploads one file you name, and nothing else. Export the certificate from Keychain Access as a .p12; the password is asked for without being shown, or a script gives it as `INVARN_CERTIFICATE_PASSWORD` or on stdin with `--password-stdin`. Every signing file is kept on its project: the checkout's origin remote, or `--repo owner/name`. An API key needs `--issuer-id`; its key id is read from the `AuthKey_<key id>.p8` file name, or given with `--key-id` (any case; it is sent upper-case). The file is read on your computer first, so a wrong password is said before anything is sent. Owners and admins only, with their own login.
|
|
236
238
|
|
|
237
|
-
|
|
239
|
+
On a Mac two commands find the files for you; upload the file yourself when they cannot:
|
|
240
|
+
|
|
241
|
+
- `invarn signing add --from-keychain` exports the distribution certificate and its private key from your Keychain: the one your project's profiles were made with, else the only one, else it asks you to pick (with `--json` or no terminal it lists them and stops). Only that certificate and its key are exported, with macOS's own Keychain API through its built-in scripting (`osascript`, no Xcode needed), so macOS asks once to allow it and no other key leaves the Keychain. The CLI makes the .p12's password, never shows it or puts it on a command line, and deletes the exported file. When the certificate is on this Mac but its private key is not (it was made on another Mac), it says so and stops.
|
|
242
|
+
- `invarn signing add --from-xcode` looks in `~/Library/MobileDevice/Provisioning Profiles` and `~/Library/Developer/Xcode/UserData/Provisioning Profiles`. For every app part of the project (the app and each extension, as Invarn read them from the Xcode project) with no profile on Invarn, it uploads the newest unexpired profile whose app id matches the part's bundle id, then says which parts still have none. It exits 1 while any part has none.
|
|
243
|
+
|
|
244
|
+
`invarn signing list` shows what Invarn keeps for the project (names, teams, end dates, a profile's device count), never the files.
|
|
238
245
|
|
|
239
246
|
## In-process SDK (for agent hosts)
|
|
240
247
|
|