mindwire 0.1.22 → 0.1.24

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/index.cjs CHANGED
@@ -697,7 +697,7 @@ var GitAccessApi = class {
697
697
  run(projectId, operation, auth) {
698
698
  return this.mw.http.request("POST", `/workspace/projects/${encodeURIComponent(projectId)}/git/${operation}`, { body: { auth } });
699
699
  }
700
- /** Requires health.gitOperationsVersion >= 1 (>= 2 for branch changes). Acceptance persists before Git runs;
700
+ /** Requires health.gitOperationsVersion >= 1 (>= 2 for branches, >= 4 for restore_commit). Acceptance persists before Git runs;
701
701
  * disconnecting only detaches the client. The same ID/intent never runs twice.
702
702
  */
703
703
  start(projectId, request) {
@@ -707,7 +707,7 @@ var GitAccessApi = class {
707
707
  const result = await this.mw.http.request(
708
708
  "GET",
709
709
  `/workspace/projects/${encodeURIComponent(projectId)}/git/operations`,
710
- { query: { active: activeOnly, actionsVersion: 2 } }
710
+ { query: { active: activeOnly, actionsVersion: 4 } }
711
711
  );
712
712
  return result.operations;
713
713
  }
@@ -940,7 +940,7 @@ init_errors();
940
940
  init_errors();
941
941
 
942
942
  // src/version.ts
943
- var SDK_VERSION = "0.1.22" ;
943
+ var SDK_VERSION = "0.1.24" ;
944
944
 
945
945
  // src/daemon-binary.ts
946
946
  function supported(platform, arch) {