@tokenoftrust/cli 7.2.1 → 7.3.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenoftrust/cli",
3
- "version": "7.2.1",
3
+ "version": "7.3.0",
4
4
  "description": "Token of Trust developer CLI — clone a tenant store, run it locally with save→reload, and submit it for preview. Installs the `tot` command.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Token of Trust",
@@ -1905,6 +1905,15 @@ export async function run(argv, ctx, {
1905
1905
  if (showQr && !status?.previewUrl && previewPrUrl) {
1906
1906
  console.log(formatTerminalQrBlock(previewPrUrl));
1907
1907
  }
1908
+ if (showQr && (status?.previewUrl || previewPrUrl)) {
1909
+ emitGitOp("preview_qr", true, { command: verb });
1910
+ }
1911
+ if (args.page) {
1912
+ emitGitOp("preview_subpage", true, { command: verb });
1913
+ }
1914
+ if (args.revoke) {
1915
+ emitGitOp("preview_revoke", true, { command: verb });
1916
+ }
1908
1917
  const ok = previewSubmitSucceeded(status);
1909
1918
  const degradation = invocationDegradedResult();
1910
1919
  if (degradation.degraded && !args.json) {