mindwire 0.1.19 → 0.1.22
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/binary-cache-CG52TXCZ.js +3 -0
- package/dist/binary-cache-CG52TXCZ.js.map +1 -0
- package/dist/binary-cache-ZTEYICUF.js +51 -0
- package/dist/binary-cache-ZTEYICUF.js.map +1 -0
- package/dist/binary-cache.d.ts +5 -0
- package/dist/chunk-PFYKJ6LX.js +103 -0
- package/dist/chunk-PFYKJ6LX.js.map +1 -0
- package/dist/chunk-T6TD76UA.js +57 -0
- package/dist/chunk-T6TD76UA.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +2395 -0
- package/dist/cli.js.map +1 -0
- package/dist/client.d.ts +4 -0
- package/dist/computer/cloudflare-binary.d.ts +9 -0
- package/dist/computer/lifecycle.d.ts +24 -0
- package/dist/computer/relay.d.ts +19 -0
- package/dist/computer.d.ts +80 -0
- package/dist/execution.d.ts +111 -0
- package/dist/index.cjs +321 -118
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +139 -79
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +5 -0
- package/dist/workspace.d.ts +27 -0
- package/package.json +7 -2
package/dist/types.d.ts
CHANGED
|
@@ -986,6 +986,8 @@ export interface Health {
|
|
|
986
986
|
gitAccessVersion?: number;
|
|
987
987
|
/** Durable Git writes: v2 adds branches; v3 adds repository-scoped commit author setup. */
|
|
988
988
|
gitOperationsVersion?: number;
|
|
989
|
+
/** Independent author settings with repository/workspace/shared-default inheritance. */
|
|
990
|
+
gitIdentityVersion?: number;
|
|
989
991
|
/** Persistent profile/chat mutes enforced before every notification delivery. */
|
|
990
992
|
notificationPreferencesVersion?: number;
|
|
991
993
|
harnessPolicyVersion?: number;
|
|
@@ -996,6 +998,9 @@ export interface Health {
|
|
|
996
998
|
serviceUpdateVersion?: number;
|
|
997
999
|
/** Container placement supplies the sandbox boundary; approval policy is independent. */
|
|
998
1000
|
workspaceIsolationVersion?: number;
|
|
1001
|
+
workspaceExecutionVersion?: number;
|
|
1002
|
+
terminalProtocolVersion?: number;
|
|
1003
|
+
computerConnectionVersion?: number;
|
|
999
1004
|
workspaceIsolation?: "direct" | "container";
|
|
1000
1005
|
}
|
|
1001
1006
|
/**
|
package/dist/workspace.d.ts
CHANGED
|
@@ -37,6 +37,22 @@ export interface GitIdentity {
|
|
|
37
37
|
name: string;
|
|
38
38
|
email: string;
|
|
39
39
|
}
|
|
40
|
+
export type GitIdentityScope = "repository" | "workspace" | "all_workspaces";
|
|
41
|
+
export interface GitIdentitySettings {
|
|
42
|
+
effective: GitIdentity;
|
|
43
|
+
repository: GitIdentity | null;
|
|
44
|
+
workspace: GitIdentity | null;
|
|
45
|
+
allWorkspaces: GitIdentity | null;
|
|
46
|
+
defaultRevision: string;
|
|
47
|
+
}
|
|
48
|
+
export interface GitIdentityUpdate {
|
|
49
|
+
scope: GitIdentityScope;
|
|
50
|
+
/** null removes this override, allowing a broader default to apply. */
|
|
51
|
+
identity: GitIdentity | null;
|
|
52
|
+
/** Required for all_workspaces; keep this ID and expectedRevision until acknowledged. */
|
|
53
|
+
requestId?: string;
|
|
54
|
+
expectedRevision?: string;
|
|
55
|
+
}
|
|
40
56
|
export interface GitOperationRequest {
|
|
41
57
|
/** Stable ID. Reuse this exact intent after a lost acknowledgement. */
|
|
42
58
|
id: string;
|
|
@@ -217,6 +233,17 @@ export declare class WorkspaceApi {
|
|
|
217
233
|
export declare class GitAccessApi {
|
|
218
234
|
private readonly mw;
|
|
219
235
|
constructor(mw: Mindwire);
|
|
236
|
+
/** Reads attribution independently of GitHub authentication. Requires gitIdentityVersion >= 1. */
|
|
237
|
+
identity(context?: {
|
|
238
|
+
projectId?: string;
|
|
239
|
+
path?: string;
|
|
240
|
+
}): Promise<GitIdentitySettings>;
|
|
241
|
+
/** Saves settings only; never stages or commits. all_workspaces installs this
|
|
242
|
+
* workspace's copy of a client-managed default; the client handles fan-out. */
|
|
243
|
+
setIdentity(update: GitIdentityUpdate, context?: {
|
|
244
|
+
projectId?: string;
|
|
245
|
+
path?: string;
|
|
246
|
+
}): Promise<GitIdentitySettings>;
|
|
220
247
|
state(): Promise<GitAccessState>;
|
|
221
248
|
setDefault(connection: GitConnection | null, auth?: ProjectAuth): Promise<GitAccessState>;
|
|
222
249
|
forget(connectionId: string): Promise<GitAccessState>;
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mindwire",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
|
+
"bin": { "mindwire": "./dist/cli.js" },
|
|
6
7
|
"devDependencies": {
|
|
7
8
|
"@types/node": "26.1.1",
|
|
9
|
+
"@types/qrcode": "^1.5.5",
|
|
8
10
|
"tsup": "8.5.1",
|
|
9
11
|
"typedoc": "^0.28.20",
|
|
10
12
|
"typedoc-plugin-markdown": "^4.12.0",
|
|
@@ -71,5 +73,8 @@
|
|
|
71
73
|
},
|
|
72
74
|
"sideEffects": false,
|
|
73
75
|
"type": "module",
|
|
74
|
-
"types": "./dist/index.d.ts"
|
|
76
|
+
"types": "./dist/index.d.ts",
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"qrcode": "^1.5.4"
|
|
79
|
+
}
|
|
75
80
|
}
|