@invarn/cli 0.9.444 → 0.9.446

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 CHANGED
@@ -192,11 +192,14 @@ 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 add --from-keychain` | On a Mac: export the distribution certificate with its private key from the Keychain (one macOS prompt) and upload it |
195
+ | `invarn signing add --from-keychain` | On a Mac: export the distribution certificate with its private key from the Keychain (one macOS prompt: click Allow, not Always Allow) and upload it |
196
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
197
  | `invarn signing list` | List the signing files Invarn keeps for the project, facts only |
198
198
  | `invarn capture evidence <session_id>` | Download a remote capture session's snapshots and screen recordings |
199
199
  | `invarn capture native-test <module> <Class>` | Run one native Android test class once, from this checkout, on the running emulator |
200
+ | `invarn capture build [--variant <name>] [--out <dir>]` | Android: build this checkout's app for capture in a build job (no session, no device) and print the APK's path and sha256, for `invarn capture replay --app`. Exits 0 built, 1 the app's own build failed, 2 refused |
201
+ | `invarn capture replay <flow> --project <owner/name>` | Replay one saved flow on this computer's emulator or iOS simulator, from this checkout, or with `--app <apk | .app folder>` from an app that is already built (an Android APK built for capture, or an iOS simulator build's .app folder; nothing is built). Exits 0 passed, 1 failed, 2 neutral or refused. Reads `INVARN_TOKEN` when there is no `--token` and no stored login |
202
+ | `invarn capture replay --all --project <owner/name>` | Replay every saved flow of the branch, one after another on the same device; with a checkout the app is built once. A flow that cannot run here is skipped with its reason. Exits 0 when none failed and at least one passed, 1 when any failed, 2 when nothing ran |
200
203
  | `invarn mcp serve` | Start MCP server for AI agents |
201
204
  | `invarn mcp tools [--json]` | List every MCP tool `mcp serve` exposes, capture tools included |
202
205
  | `invarn version` | Print the CLI version (also `--version`, `-v`) |
@@ -238,7 +241,7 @@ Secrets are managed on the Invarn dashboard, never through MCP, so their values
238
241
 
239
242
  On a Mac two commands find the files for you; upload the file yourself when they cannot:
240
243
 
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.
244
+ - `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 and no other key leaves the Keychain: click Allow, not Always Allow. 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
245
  - `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
246
 
244
247
  `invarn signing list` shows what Invarn keeps for the project (names, teams, end dates, a profile's device count), never the files.