mindwire 0.1.38 → 0.1.40
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/README.md +16 -0
- package/dist/{chunk-CKTVMUS4.js → chunk-BJL5K6M7.js} +50 -16
- package/dist/chunk-BJL5K6M7.js.map +1 -0
- package/dist/chunk-ZP7F7LP7.js +306 -0
- package/dist/chunk-ZP7F7LP7.js.map +1 -0
- package/dist/cli.js +499 -250
- package/dist/cli.js.map +1 -1
- package/dist/computer/dashboard.d.ts +1 -0
- package/dist/computer/desktop.d.ts +17 -0
- package/dist/computer/directory-http.d.ts +1 -1
- package/dist/computer/discovery.d.ts +22 -0
- package/dist/computer/inspection.d.ts +30 -0
- package/dist/computer/lifecycle.d.ts +4 -2
- package/dist/computer/runtime-version.d.ts +6 -0
- package/dist/computer/service-update.d.ts +26 -0
- package/dist/computer/setup-prompt.d.ts +2 -0
- package/dist/computer/startup.d.ts +7 -0
- package/dist/computer/terminal-ui.d.ts +9 -0
- package/dist/computer.d.ts +2 -0
- package/dist/{connection-change-5F4WNCYV.js → connection-change-7ZV6O75Q.js} +3 -3
- package/dist/{connection-change-5F4WNCYV.js.map → connection-change-7ZV6O75Q.js.map} +1 -1
- package/dist/{controller-3SZI7TBW.js → controller-FBMGMSLM.js} +67 -9
- package/dist/controller-FBMGMSLM.js.map +1 -0
- package/dist/{controller-handoff-KV7WRDAI.js → controller-handoff-CJKXUFQI.js} +3 -3
- package/dist/{controller-handoff-KV7WRDAI.js.map → controller-handoff-CJKXUFQI.js.map} +1 -1
- package/dist/daemon-binary.d.ts +2 -0
- package/dist/index.cjs +41 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +41 -7
- package/dist/index.js.map +1 -1
- package/dist/project-sync.d.ts +29 -0
- package/dist/surfaces.d.ts +20 -1
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/chunk-CKTVMUS4.js.map +0 -1
- package/dist/chunk-QODJKRFK.js +0 -20
- package/dist/chunk-QODJKRFK.js.map +0 -1
- package/dist/controller-3SZI7TBW.js.map +0 -1
package/dist/project-sync.d.ts
CHANGED
|
@@ -23,6 +23,31 @@ export interface ProjectSyncRequest {
|
|
|
23
23
|
checkpointId?: string;
|
|
24
24
|
/** Only needed on first import; subsequent imports find the preserved replica. */
|
|
25
25
|
path?: string;
|
|
26
|
+
/** Literal project-relative ignored files/folders to include. Default: respect Git ignores. */
|
|
27
|
+
includeIgnored?: string[];
|
|
28
|
+
/** Preview scope token. Re-review if ignore rules or tracked paths change. */
|
|
29
|
+
selectionToken?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ProjectSyncPreviewRequest {
|
|
32
|
+
projectId: string;
|
|
33
|
+
includeIgnored?: string[];
|
|
34
|
+
cursor?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface ProjectSyncIgnoredPath {
|
|
37
|
+
path: string;
|
|
38
|
+
kind: "file" | "directory";
|
|
39
|
+
included: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface ProjectSyncPreview {
|
|
42
|
+
version: number;
|
|
43
|
+
fileCount: number;
|
|
44
|
+
/** Selected working-file bytes; Git history and conversations are additional. */
|
|
45
|
+
bytes: number;
|
|
46
|
+
ignoredCount: number;
|
|
47
|
+
ignored: ProjectSyncIgnoredPath[];
|
|
48
|
+
includeIgnored: string[];
|
|
49
|
+
next?: number;
|
|
50
|
+
selectionToken: string;
|
|
26
51
|
}
|
|
27
52
|
export interface ProjectSyncConflict {
|
|
28
53
|
path: string;
|
|
@@ -62,6 +87,8 @@ export declare class ProjectSyncApi {
|
|
|
62
87
|
private readonly mw;
|
|
63
88
|
private readonly flights;
|
|
64
89
|
constructor(mw: Mindwire);
|
|
90
|
+
private requireSelectionSupport;
|
|
91
|
+
preview(request: ProjectSyncPreviewRequest, options?: Options): Promise<ProjectSyncPreview>;
|
|
65
92
|
export(request: ProjectSyncRequest, options?: Options): Promise<ProjectSyncOperation>;
|
|
66
93
|
import(request: ProjectSyncRequest, options?: Options): Promise<ProjectSyncOperation>;
|
|
67
94
|
list(options?: Options): Promise<ProjectSyncOperation[]>;
|
|
@@ -94,6 +121,8 @@ export declare class ProjectSyncApi {
|
|
|
94
121
|
id: string;
|
|
95
122
|
projectId: string;
|
|
96
123
|
path?: string;
|
|
124
|
+
includeIgnored?: string[];
|
|
125
|
+
selectionToken?: string;
|
|
97
126
|
}, options?: Options & {
|
|
98
127
|
onProgress?: (progress: ProjectSyncProgress) => void;
|
|
99
128
|
}): Promise<ProjectSyncOperation>;
|
package/dist/surfaces.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface SurfaceSnapshot {
|
|
|
32
32
|
id: string;
|
|
33
33
|
workspaceId: string;
|
|
34
34
|
kind: "desktop";
|
|
35
|
-
provider: "oblien";
|
|
35
|
+
provider: "oblien" | "macos";
|
|
36
36
|
version: number;
|
|
37
37
|
revision: number;
|
|
38
38
|
instanceId: string;
|
|
@@ -48,6 +48,22 @@ export interface SurfaceSnapshot {
|
|
|
48
48
|
controller?: SurfaceController;
|
|
49
49
|
authorizationExpiresAt?: string;
|
|
50
50
|
error?: SurfaceProblem;
|
|
51
|
+
setup?: {
|
|
52
|
+
reason: string;
|
|
53
|
+
command: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export interface LocalDesktopInfo {
|
|
57
|
+
supported: boolean;
|
|
58
|
+
enabled: boolean;
|
|
59
|
+
screenSharing: boolean;
|
|
60
|
+
username: string;
|
|
61
|
+
}
|
|
62
|
+
/** Write-only Mac configuration. The CLI prompts locally; never include this in a QR or workspace metadata. */
|
|
63
|
+
export interface LocalDesktopSettings {
|
|
64
|
+
enabled: boolean;
|
|
65
|
+
username?: string;
|
|
66
|
+
password?: string;
|
|
51
67
|
}
|
|
52
68
|
/** Write-only, desktop-only, expiring provider grant. Never pass a user's session JWT. */
|
|
53
69
|
export interface SurfaceBinding {
|
|
@@ -165,6 +181,9 @@ export declare class SurfacesApi {
|
|
|
165
181
|
list(): Promise<SurfaceSnapshot[]>;
|
|
166
182
|
status(refresh?: boolean): Promise<SurfaceSnapshot>;
|
|
167
183
|
bind(binding: SurfaceBinding): Promise<SurfaceSnapshot>;
|
|
184
|
+
localStatus(): Promise<LocalDesktopInfo>;
|
|
185
|
+
/** Local CLI only. The separate 0600 control credential is not part of phone pairing. */
|
|
186
|
+
configureLocal(settings: LocalDesktopSettings, localControlToken: string): Promise<SurfaceSnapshot>;
|
|
168
187
|
open(request: SurfaceOpenRequest): Promise<SurfaceSession>;
|
|
169
188
|
control(id: string, request: SurfaceControlRequest): Promise<SurfaceSession>;
|
|
170
189
|
close(id: string): Promise<{
|
package/dist/types.d.ts
CHANGED
|
@@ -1002,6 +1002,8 @@ export interface NotifyChannelTestResult {
|
|
|
1002
1002
|
export interface Health {
|
|
1003
1003
|
historyPageVersion?: number;
|
|
1004
1004
|
surfaceProtocolVersion?: number;
|
|
1005
|
+
/** Opt-in Mac Screen Sharing through the existing paired SSH connection. */
|
|
1006
|
+
localDesktopVersion?: number;
|
|
1005
1007
|
/** Workspace registry protocol version; absent on daemons predating workspace metadata. */
|
|
1006
1008
|
workspaceMetadataVersion?: number;
|
|
1007
1009
|
/** Durable project creation/clone operations; absent on older daemons. */
|