mindwire 0.1.18 → 0.1.19

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.d.ts CHANGED
@@ -35,6 +35,6 @@ export * from "./types.js";
35
35
  export { ServiceApi } from "./service.js";
36
36
  export type { ServiceUpdateState, ServiceUpdateLease } from "./service.js";
37
37
  export { WorkspaceApi, WorkspaceCollection, ProjectOperationsApi, GitAccessApi } from "./workspace.js";
38
- export type { ProjectRequest, ProjectAuth, ProjectOperation, ProjectRemoveRequest, GitConnection, GitAccessState, ProjectGitState, GitAction, GitOperationRequest, GitOperation } from "./workspace.js";
38
+ export type { ProjectRequest, ProjectAuth, ProjectOperation, ProjectRemoveRequest, GitConnection, GitAccessState, ProjectGitState, GitAction, GitIdentity, GitOperationRequest, GitOperation } from "./workspace.js";
39
39
  export type { WorkspaceRecord, WorkspaceAgent, WorkspaceProject, WorkspaceChat, WorkspaceKind, WorkspaceInput, WorkspaceImport, WorkspaceSnapshot } from "./workspace.js";
40
40
  export * from "./surfaces.js";
package/dist/index.js CHANGED
@@ -608,7 +608,7 @@ var GitAccessApi = class {
608
608
  run(projectId, operation, auth) {
609
609
  return this.mw.http.request("POST", `/workspace/projects/${encodeURIComponent(projectId)}/git/${operation}`, { body: { auth } });
610
610
  }
611
- /** Requires health.gitOperationsVersion >= 1. Acceptance persists before Git runs;
611
+ /** Requires health.gitOperationsVersion >= 1 (>= 2 for branch changes). Acceptance persists before Git runs;
612
612
  * disconnecting only detaches the client. The same ID/intent never runs twice.
613
613
  */
614
614
  start(projectId, request) {
@@ -618,7 +618,7 @@ var GitAccessApi = class {
618
618
  const result = await this.mw.http.request(
619
619
  "GET",
620
620
  `/workspace/projects/${encodeURIComponent(projectId)}/git/operations`,
621
- { query: { active: activeOnly } }
621
+ { query: { active: activeOnly, actionsVersion: 2 } }
622
622
  );
623
623
  return result.operations;
624
624
  }
@@ -732,7 +732,7 @@ var ServiceApi = class {
732
732
  };
733
733
 
734
734
  // src/version.ts
735
- var SDK_VERSION = "0.1.18" ;
735
+ var SDK_VERSION = "0.1.19" ;
736
736
 
737
737
  // src/daemon-binary.ts
738
738
  function supported(platform, arch) {