mindwire 0.1.22 → 0.1.23

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/dist/cli.js CHANGED
@@ -57,7 +57,7 @@ function computerPairingURI(invitation) {
57
57
  }
58
58
 
59
59
  // src/version.ts
60
- var SDK_VERSION = "0.1.22" ;
60
+ var SDK_VERSION = "0.1.23" ;
61
61
 
62
62
  // src/http.ts
63
63
  var DEFAULT_TIMEOUT_MS = 12e4;
@@ -625,7 +625,7 @@ var GitAccessApi = class {
625
625
  run(projectId, operation, auth) {
626
626
  return this.mw.http.request("POST", `/workspace/projects/${encodeURIComponent(projectId)}/git/${operation}`, { body: { auth } });
627
627
  }
628
- /** Requires health.gitOperationsVersion >= 1 (>= 2 for branch changes). Acceptance persists before Git runs;
628
+ /** Requires health.gitOperationsVersion >= 1 (>= 2 for branches, >= 4 for restore_commit). Acceptance persists before Git runs;
629
629
  * disconnecting only detaches the client. The same ID/intent never runs twice.
630
630
  */
631
631
  start(projectId, request) {
@@ -635,7 +635,7 @@ var GitAccessApi = class {
635
635
  const result = await this.mw.http.request(
636
636
  "GET",
637
637
  `/workspace/projects/${encodeURIComponent(projectId)}/git/operations`,
638
- { query: { active: activeOnly, actionsVersion: 2 } }
638
+ { query: { active: activeOnly, actionsVersion: 4 } }
639
639
  );
640
640
  return result.operations;
641
641
  }