mindwire 0.1.45 → 0.1.47
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/{chunk-7NLK636R.js → chunk-7QLYFISG.js} +10 -6
- package/dist/chunk-7QLYFISG.js.map +1 -0
- package/dist/{chunk-XGTG3DYE.js → chunk-ZL4EIEF7.js} +3 -3
- package/dist/{chunk-XGTG3DYE.js.map → chunk-ZL4EIEF7.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{connection-change-DRBAPLGD.js → connection-change-LCT3UM7M.js} +3 -3
- package/dist/{connection-change-DRBAPLGD.js.map → connection-change-LCT3UM7M.js.map} +1 -1
- package/dist/{controller-75KVB27Q.js → controller-I7A3APTF.js} +4 -4
- package/dist/{controller-75KVB27Q.js.map → controller-I7A3APTF.js.map} +1 -1
- package/dist/{controller-handoff-DXG2BW6L.js → controller-handoff-RPZJDZJR.js} +3 -3
- package/dist/{controller-handoff-DXG2BW6L.js.map → controller-handoff-RPZJDZJR.js.map} +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/workspace.d.ts +18 -1
- package/package.json +1 -1
- package/dist/chunk-7NLK636R.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export type { Conversation, ConversationQuery, ConversationPage, ConversationOpe
|
|
|
40
40
|
export { ProjectSyncApi, ProjectSyncError } from "./project-sync.js";
|
|
41
41
|
export type { ProjectSyncEntry, ProjectSyncCheckpoint, ProjectSyncRequest, ProjectSyncOperation, ProjectSyncConflict, ProjectSyncProgress, ProjectSyncPreview, ProjectSyncPreviewRequest, ProjectSyncIgnoredPath } from "./project-sync.js";
|
|
42
42
|
export type { ProjectRequest, ProjectAuth, ProjectOperation, ProjectRemoveRequest, GitConnection, GitAccessState, ProjectGitState, GitAction, GitIdentity, GitIdentityScope, GitIdentitySettings, GitIdentityUpdate, GitOperationRequest, GitOperation } from "./workspace.js";
|
|
43
|
-
export type { WorkspaceRecord, WorkspaceAgent, WorkspaceProject, WorkspaceChat, WorkspaceKind, WorkspaceInput, WorkspaceImport, WorkspaceSnapshot, ProjectIcon, ProjectFolder, ProjectLibrary, ProjectLibraryEdit } from "./workspace.js";
|
|
43
|
+
export type { WorkspaceRecord, WorkspaceAgent, WorkspaceProject, WorkspaceChat, WorkspaceKind, EnsureAgentRequest, EnsureAgentResult, WorkspaceInput, WorkspaceImport, WorkspaceSnapshot, ProjectIcon, ProjectFolder, ProjectLibrary, ProjectLibraryEdit } from "./workspace.js";
|
|
44
44
|
export * from "./surfaces.js";
|
|
45
45
|
export * from "./execution.js";
|
|
46
46
|
export * from "./computer.js";
|
package/dist/index.js
CHANGED
|
@@ -720,6 +720,10 @@ var WorkspaceApi = class {
|
|
|
720
720
|
snapshot(options = {}) {
|
|
721
721
|
return this.mw.http.request("GET", "/workspace", { query: options });
|
|
722
722
|
}
|
|
723
|
+
/** Reuse the workspace's existing harness profile or create one for setup. Atomic across clients. */
|
|
724
|
+
ensureAgent(request) {
|
|
725
|
+
return this.mw.http.request("POST", "/workspace/agents/ensure", { body: request });
|
|
726
|
+
}
|
|
723
727
|
library() {
|
|
724
728
|
return this.mw.http.request("GET", "/workspace/project-library");
|
|
725
729
|
}
|
|
@@ -1114,7 +1118,7 @@ function computerPairingURI(invitation) {
|
|
|
1114
1118
|
}
|
|
1115
1119
|
|
|
1116
1120
|
// src/version.ts
|
|
1117
|
-
var SDK_VERSION = "0.1.
|
|
1121
|
+
var SDK_VERSION = "0.1.47" ;
|
|
1118
1122
|
function versionAtLeast(actual, desired) {
|
|
1119
1123
|
if (actual === desired) return true;
|
|
1120
1124
|
if (!actual || !/^\d+\.\d+\.\d+$/.test(actual) || !/^\d+\.\d+\.\d+$/.test(desired)) return false;
|