@ultrst-armada/kloks 1.26.1 → 1.26.3

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.
Files changed (36) hide show
  1. package/package.json +12 -3
  2. package/packages/backend/dist/chunk-3S2NSIFA.js +80 -0
  3. package/packages/backend/dist/{chunk-JRNH5KPV.js → chunk-EDKCP5CQ.js} +2 -2
  4. package/packages/backend/dist/{chunk-3W4TN6XB.js → chunk-FU6TYLI2.js} +5 -5
  5. package/packages/backend/dist/chunk-KPZQUA7R.js +406 -0
  6. package/packages/backend/dist/{chunk-IB5SLBHT.js → chunk-U4UI6KK4.js} +1 -1
  7. package/packages/backend/dist/{chunk-QXIMZLGS.js → chunk-WAQDOIGQ.js} +1 -1
  8. package/packages/backend/dist/development/index.js +5 -5
  9. package/packages/backend/dist/index.js +19 -17
  10. package/packages/backend/dist/krnl-ai-services.js +2 -2
  11. package/packages/backend/dist/krnl-services.js +4 -4
  12. package/packages/backend/dist/services/index.js +3 -3
  13. package/packages/backend/dist/storage/GoogleDriveAdapter.d.ts +23 -1
  14. package/packages/backend/dist/storage/GoogleDriveOAuth.d.ts +20 -2
  15. package/packages/backend/dist/storage/GoogleDriveStorageService.d.ts +7 -1
  16. package/packages/backend/dist/storage/GoogleDriveWorkspaceService.d.ts +69 -0
  17. package/packages/backend/dist/storage/GoogleDriveWorkspaceService.test.d.ts +1 -0
  18. package/packages/backend/dist/storage/StorageAdapterFactory.d.ts +6 -1
  19. package/packages/backend/dist/storage/googleDriveSdk.d.ts +7 -0
  20. package/packages/backend/dist/storage/index.js +5 -3
  21. package/packages/backend/dist/storage/types.d.ts +13 -0
  22. package/packages/backend/dist/storage-workspace.d.ts +2 -0
  23. package/packages/backend/dist/storage-workspace.js +339 -0
  24. package/packages/backend/dist/workspace/index.js +2 -2
  25. package/packages/backend/package.json +6 -1
  26. package/packages/state-graph/dist/browser.d.ts +28 -0
  27. package/packages/state-graph/dist/browser.js +302 -0
  28. package/packages/state-graph/dist/chunk-2CQQGFMF.js +7339 -0
  29. package/packages/state-graph/dist/index.js +283 -7260
  30. package/packages/state-graph/dist/runtime-entrypoint.test.d.ts +1 -0
  31. package/packages/state-graph/dist/store/CommandApi.d.ts +4 -4
  32. package/packages/state-graph/package.json +2 -1
  33. package/packages/backend/dist/chunk-52M4L74T.js +0 -247
  34. package/packages/backend/dist/chunk-GZD5A54P.js +0 -67
  35. package/packages/backend/dist/{chunk-M45KQRPR.js → chunk-GWCLYVJT.js} +3 -3
  36. /package/packages/state-graph/dist/{dist-es-OECEAUXH.js → dist-es-QZ6GKMM7.js} +0 -0
@@ -0,0 +1,339 @@
1
+ // src/storage/GoogleDriveWorkspaceService.ts
2
+ var GOOGLE_DRIVE_WORKSPACE_SCOPE = "https://www.googleapis.com/auth/drive";
3
+ var GOOGLE_TOKEN_URL = "https://oauth2.googleapis.com/token";
4
+ var GOOGLE_API_URL = "https://www.googleapis.com/drive/v3";
5
+ var GOOGLE_UPLOAD_URL = "https://www.googleapis.com/upload/drive/v3";
6
+ var FOLDER_MIME_TYPE = "application/vnd.google-apps.folder";
7
+ function encodeBytes(parts) {
8
+ const encoder = new TextEncoder();
9
+ const buffers = parts.map((part) => typeof part === "string" ? encoder.encode(part) : part);
10
+ const output = new Uint8Array(buffers.reduce((sum, item) => sum + item.length, 0));
11
+ let offset = 0;
12
+ for (const item of buffers) {
13
+ output.set(item, offset);
14
+ offset += item.length;
15
+ }
16
+ return output;
17
+ }
18
+ function quoteDriveQuery(value) {
19
+ return value.replace(/\\/g, "\\\\").replace(/'/g, "\\'");
20
+ }
21
+ async function parseJson(response) {
22
+ return response.json().catch(() => ({}));
23
+ }
24
+ var GoogleDriveWorkspaceService = class _GoogleDriveWorkspaceService {
25
+ options;
26
+ fetcher;
27
+ tokens;
28
+ refreshPromise;
29
+ constructor(options) {
30
+ if (!options.clientId?.trim()) throw new Error("Google Drive OAuth client ID is required.");
31
+ if (!options.redirectUri?.trim()) throw new Error("Google Drive OAuth redirect URI is required.");
32
+ this.options = options;
33
+ this.fetcher = options.fetcher || fetch;
34
+ this.tokens = { ...options.tokens || { accessToken: "" } };
35
+ }
36
+ static createAuthorizationUrl(options, state, scopes = [GOOGLE_DRIVE_WORKSPACE_SCOPE]) {
37
+ if (!options.clientId?.trim() || !options.redirectUri?.trim()) {
38
+ throw new Error("Google Drive OAuth client ID and redirect URI are required.");
39
+ }
40
+ if (!state?.trim()) throw new Error("A non-empty Google Drive OAuth state is required.");
41
+ const url = new URL("https://accounts.google.com/o/oauth2/v2/auth");
42
+ url.searchParams.set("client_id", options.clientId);
43
+ url.searchParams.set("redirect_uri", options.redirectUri);
44
+ url.searchParams.set("response_type", "code");
45
+ url.searchParams.set("access_type", "offline");
46
+ url.searchParams.set("prompt", "consent");
47
+ url.searchParams.set("include_granted_scopes", "true");
48
+ url.searchParams.set("scope", scopes.join(" "));
49
+ url.searchParams.set("state", state);
50
+ return url.toString();
51
+ }
52
+ static async exchangeAuthorizationCode(options, code, existingRefreshToken, codeVerifier) {
53
+ if (!code?.trim()) throw new Error("Google Drive authorization code is required.");
54
+ return _GoogleDriveWorkspaceService.requestTokens(
55
+ options.fetcher || fetch,
56
+ {
57
+ client_id: options.clientId,
58
+ client_secret: options.clientSecret || "",
59
+ redirect_uri: options.redirectUri,
60
+ grant_type: "authorization_code",
61
+ code,
62
+ ...codeVerifier ? { code_verifier: codeVerifier } : {}
63
+ },
64
+ existingRefreshToken
65
+ );
66
+ }
67
+ static async requestTokens(fetcher, fields, existingRefreshToken) {
68
+ const response = await fetcher(GOOGLE_TOKEN_URL, {
69
+ method: "POST",
70
+ headers: { "Content-Type": "application/x-www-form-urlencoded" },
71
+ body: new URLSearchParams(fields),
72
+ cache: "no-store"
73
+ });
74
+ const data = await parseJson(response);
75
+ if (!response.ok || typeof data.access_token !== "string" || !data.access_token) {
76
+ const reason = typeof data.error === "string" ? data.error : "token_exchange_failed";
77
+ throw new Error(`Google Drive OAuth token request failed (${reason}).`);
78
+ }
79
+ return {
80
+ accessToken: data.access_token,
81
+ ...data.refresh_token || existingRefreshToken ? { refreshToken: data.refresh_token || existingRefreshToken } : {},
82
+ ...Number.isFinite(Number(data.expires_in)) ? { expiresAt: Date.now() + Number(data.expires_in) * 1e3 } : {},
83
+ ...typeof data.token_type === "string" ? { tokenType: data.token_type } : {}
84
+ };
85
+ }
86
+ async getAccessToken(forceRefresh = false) {
87
+ const expiresSoon = Boolean(this.tokens.expiresAt && this.tokens.expiresAt <= Date.now() + 6e4);
88
+ if (!forceRefresh && this.tokens.accessToken && !expiresSoon) return this.tokens.accessToken;
89
+ if (!this.tokens.refreshToken || !this.options.clientSecret) {
90
+ throw new Error("Google Drive credentials are missing or expired. Reconnect the Google account.");
91
+ }
92
+ if (!this.refreshPromise) {
93
+ this.refreshPromise = _GoogleDriveWorkspaceService.requestTokens(
94
+ this.fetcher,
95
+ {
96
+ client_id: this.options.clientId,
97
+ client_secret: this.options.clientSecret,
98
+ refresh_token: this.tokens.refreshToken,
99
+ grant_type: "refresh_token"
100
+ },
101
+ this.tokens.refreshToken
102
+ ).then(async (tokens) => {
103
+ this.tokens = tokens;
104
+ await this.options.persistTokens?.(tokens);
105
+ return tokens;
106
+ }).finally(() => {
107
+ this.refreshPromise = void 0;
108
+ });
109
+ }
110
+ const refreshed = await this.refreshPromise;
111
+ return refreshed.accessToken;
112
+ }
113
+ async api(path, init = {}, retry = true) {
114
+ const token = await this.getAccessToken();
115
+ const response = await this.fetcher(
116
+ path.startsWith("https://") ? path : `${GOOGLE_API_URL}/${path.replace(/^\/+/, "")}`,
117
+ {
118
+ ...init,
119
+ headers: {
120
+ ...init.headers || {},
121
+ Authorization: `Bearer ${token}`
122
+ },
123
+ cache: "no-store"
124
+ }
125
+ );
126
+ if (response.status === 401 && retry && this.tokens.refreshToken) {
127
+ await this.getAccessToken(true);
128
+ return this.api(path, init, false);
129
+ }
130
+ if (!response.ok) {
131
+ const data = await parseJson(response);
132
+ const message = typeof data.error?.message === "string" ? data.error.message : `Google Drive request failed with HTTP ${response.status}.`;
133
+ throw new Error(message);
134
+ }
135
+ return response;
136
+ }
137
+ async listFiles(parentId, query = "trashed = false") {
138
+ const files = [];
139
+ let pageToken = "";
140
+ do {
141
+ const url = new URL(`${GOOGLE_API_URL}/files`);
142
+ url.searchParams.set("q", `'${quoteDriveQuery(parentId)}' in parents and ${query}`);
143
+ url.searchParams.set("fields", "nextPageToken,files(id,name,mimeType,size,modifiedTime,parents)");
144
+ url.searchParams.set("pageSize", "1000");
145
+ url.searchParams.set("supportsAllDrives", "true");
146
+ url.searchParams.set("includeItemsFromAllDrives", "true");
147
+ if (pageToken) url.searchParams.set("pageToken", pageToken);
148
+ const data = await parseJson(await this.api(url.toString()));
149
+ if (Array.isArray(data.files)) files.push(...data.files);
150
+ pageToken = typeof data.nextPageToken === "string" ? data.nextPageToken : "";
151
+ } while (pageToken);
152
+ return files;
153
+ }
154
+ async findChild(parentId, name) {
155
+ const matches = await this.listFiles(
156
+ parentId,
157
+ `name = '${quoteDriveQuery(name)}' and trashed = false`
158
+ );
159
+ return matches.find((item) => Boolean(item.id));
160
+ }
161
+ async resolveParent(relativePath, create = false) {
162
+ let parent = this.options.rootFolderId || "root";
163
+ for (const segment of relativePath.replace(/\\/g, "/").split("/").filter(Boolean)) {
164
+ let child = await this.findChild(parent, segment);
165
+ if (!child && create) {
166
+ const data = await parseJson(await this.api("files", {
167
+ method: "POST",
168
+ headers: { "Content-Type": "application/json" },
169
+ body: JSON.stringify({
170
+ name: segment,
171
+ mimeType: FOLDER_MIME_TYPE,
172
+ parents: [parent]
173
+ })
174
+ }));
175
+ child = data;
176
+ }
177
+ if (!child?.id || child.mimeType !== FOLDER_MIME_TYPE) {
178
+ throw new Error(`Google Drive folder not found: ${segment}`);
179
+ }
180
+ parent = child.id;
181
+ }
182
+ return parent;
183
+ }
184
+ splitPath(value) {
185
+ const normalized = value.replace(/\\/g, "/").replace(/^\/+|\/+$/g, "");
186
+ const index = normalized.lastIndexOf("/");
187
+ return index < 0 ? { parent: "", name: normalized } : { parent: normalized.slice(0, index), name: normalized.slice(index + 1) };
188
+ }
189
+ async getAccountIdentity() {
190
+ const url = new URL(`${GOOGLE_API_URL}/about`);
191
+ url.searchParams.set("fields", "user(permissionId,emailAddress)");
192
+ const data = await parseJson(await this.api(url.toString()));
193
+ const accountId = data.user?.permissionId || data.user?.emailAddress;
194
+ if (typeof accountId !== "string" || !accountId) {
195
+ throw new Error("Google Drive did not return a stable account identity.");
196
+ }
197
+ return {
198
+ accountId,
199
+ ...typeof data.user?.emailAddress === "string" ? { email: data.user.emailAddress } : {}
200
+ };
201
+ }
202
+ async listFolders(parentFolderId = this.options.rootFolderId || "root") {
203
+ const files = await this.listFiles(
204
+ parentFolderId,
205
+ `mimeType = '${FOLDER_MIME_TYPE}' and trashed = false`
206
+ );
207
+ return files.flatMap((file) => file.id && file.name ? [{
208
+ id: file.id,
209
+ name: file.name,
210
+ mimeType: FOLDER_MIME_TYPE,
211
+ parentIds: file.parents || [],
212
+ modifiedAt: file.modifiedTime ? Date.parse(file.modifiedTime) : 0
213
+ }] : []);
214
+ }
215
+ async resolveFolder(folderId) {
216
+ if (!folderId?.trim()) throw new Error("A Google Drive folder ID is required.");
217
+ const url = new URL(`${GOOGLE_API_URL}/files/${encodeURIComponent(folderId)}`);
218
+ url.searchParams.set("fields", "id,name,mimeType,parents,modifiedTime");
219
+ url.searchParams.set("supportsAllDrives", "true");
220
+ const file = await parseJson(await this.api(url.toString()));
221
+ if (!file.id || !file.name || file.mimeType !== FOLDER_MIME_TYPE) {
222
+ throw new Error("The selected Google Drive item is not a folder.");
223
+ }
224
+ return {
225
+ id: file.id,
226
+ name: file.name,
227
+ mimeType: file.mimeType,
228
+ parentIds: file.parents || [],
229
+ modifiedAt: file.modifiedTime ? Date.parse(file.modifiedTime) : 0
230
+ };
231
+ }
232
+ async selectRootFolder(folderId) {
233
+ const folder = await this.resolveFolder(folderId);
234
+ this.options.rootFolderId = folder.id;
235
+ return folder;
236
+ }
237
+ async read(path) {
238
+ const { parent, name } = this.splitPath(path);
239
+ if (!name) throw new Error("A Google Drive file path is required.");
240
+ const parentId = await this.resolveParent(parent);
241
+ const file = await this.findChild(parentId, name);
242
+ if (!file?.id || file.mimeType === FOLDER_MIME_TYPE) throw new Error(`Google Drive file not found: ${path}`);
243
+ const url = new URL(`${GOOGLE_API_URL}/files/${encodeURIComponent(file.id)}`);
244
+ url.searchParams.set("alt", "media");
245
+ return new Uint8Array(await (await this.api(url.toString())).arrayBuffer());
246
+ }
247
+ async write(path, bytes, contentType = "application/octet-stream") {
248
+ const { parent, name } = this.splitPath(path);
249
+ if (!name) throw new Error("A Google Drive file name is required.");
250
+ const parentId = await this.resolveParent(parent, true);
251
+ const existing = await this.findChild(parentId, name);
252
+ if (existing?.mimeType === FOLDER_MIME_TYPE) throw new Error(`Google Drive path is a folder: ${path}`);
253
+ const data = typeof bytes === "string" ? new TextEncoder().encode(bytes) : bytes;
254
+ const boundary = `kloks-drive-${crypto.randomUUID()}`;
255
+ const body = encodeBytes([
256
+ `--${boundary}\\r\\nContent-Type: application/json; charset=UTF-8\\r\\n\\r\\n`,
257
+ JSON.stringify({
258
+ name,
259
+ mimeType: contentType,
260
+ ...!existing?.id ? { parents: [parentId] } : {}
261
+ }),
262
+ `\\r\\n--${boundary}\\r\\nContent-Type: ${contentType}\\r\\n\\r\\n`,
263
+ data,
264
+ `\\r\\n--${boundary}--`
265
+ ]);
266
+ const endpoint = existing?.id ? `${GOOGLE_UPLOAD_URL}/files/${encodeURIComponent(existing.id)}?uploadType=multipart&supportsAllDrives=true` : `${GOOGLE_UPLOAD_URL}/files?uploadType=multipart&supportsAllDrives=true`;
267
+ await this.api(endpoint, {
268
+ method: existing?.id ? "PATCH" : "POST",
269
+ headers: { "Content-Type": `multipart/related; boundary=${boundary}` },
270
+ body: body.buffer
271
+ });
272
+ }
273
+ async delete(path) {
274
+ const { parent, name } = this.splitPath(path);
275
+ const parentId = await this.resolveParent(parent);
276
+ const file = await this.findChild(parentId, name);
277
+ if (!file?.id) return;
278
+ await this.api(`files/${encodeURIComponent(file.id)}?supportsAllDrives=true`, { method: "DELETE" });
279
+ }
280
+ async exists(path) {
281
+ try {
282
+ await this.stat(path);
283
+ return true;
284
+ } catch (error) {
285
+ if (error instanceof Error && /not found|404/i.test(error.message)) return false;
286
+ throw error;
287
+ }
288
+ }
289
+ async list(path = "") {
290
+ const parentId = await this.resolveParent(path);
291
+ const files = await this.listFiles(parentId);
292
+ return files.flatMap((file) => file.name ? [{
293
+ path: path ? `${path.replace(/\/+$/, "")}/${file.name}` : file.name,
294
+ size: Number(file.size || 0),
295
+ modifiedAt: file.modifiedTime ? Date.parse(file.modifiedTime) : 0
296
+ }] : []);
297
+ }
298
+ async stat(path) {
299
+ const { parent, name } = this.splitPath(path);
300
+ const parentId = await this.resolveParent(parent);
301
+ const file = await this.findChild(parentId, name);
302
+ if (!file?.id) throw new Error(`Google Drive file not found: ${path}`);
303
+ return {
304
+ path,
305
+ size: Number(file.size || 0),
306
+ modifiedAt: file.modifiedTime ? Date.parse(file.modifiedTime) : 0
307
+ };
308
+ }
309
+ async mkdir(path) {
310
+ await this.resolveParent(path, true);
311
+ }
312
+ async testConnection() {
313
+ const started = Date.now();
314
+ try {
315
+ const identity = await this.getAccountIdentity();
316
+ return {
317
+ ok: true,
318
+ latencyMs: Date.now() - started,
319
+ details: { accountId: identity.accountId, email: identity.email, rootFolderId: this.options.rootFolderId || "root" }
320
+ };
321
+ } catch (error) {
322
+ return {
323
+ ok: false,
324
+ latencyMs: Date.now() - started,
325
+ error: error instanceof Error ? error.message : "Google Drive connection failed."
326
+ };
327
+ }
328
+ }
329
+ getConnectionMetadata() {
330
+ return {
331
+ provider: "google_drive",
332
+ ...this.options.rootFolderId ? { googleRootFolderId: this.options.rootFolderId } : {}
333
+ };
334
+ }
335
+ };
336
+ export {
337
+ GOOGLE_DRIVE_WORKSPACE_SCOPE,
338
+ GoogleDriveWorkspaceService
339
+ };
@@ -6,14 +6,14 @@ import {
6
6
  WorkspaceFS,
7
7
  remoteWorkspaceService,
8
8
  workingWorkspaceService
9
- } from "../chunk-IB5SLBHT.js";
9
+ } from "../chunk-U4UI6KK4.js";
10
10
  import {
11
11
  formatCanonicalWorkspaceFolderName,
12
12
  sanitizeWorkspaceName
13
13
  } from "../chunk-FZKBTF34.js";
14
14
  import "../chunk-JGUWYVOL.js";
15
15
  import "../chunk-JCMB7BIM.js";
16
- import "../chunk-52M4L74T.js";
16
+ import "../chunk-KPZQUA7R.js";
17
17
  export {
18
18
  RemoteWorkspaceService,
19
19
  SyncEngine,
@@ -112,10 +112,15 @@
112
112
  "import": "./dist/krnl-ai-services.js",
113
113
  "types": "./dist/krnl-ai-services.d.ts",
114
114
  "default": "./dist/krnl-ai-services.js"
115
+ },
116
+ "./storage-workspace": {
117
+ "import": "./dist/storage-workspace.js",
118
+ "types": "./dist/storage-workspace.d.ts",
119
+ "default": "./dist/storage-workspace.js"
115
120
  }
116
121
  },
117
122
  "scripts": {
118
- "build": "tsup src/index.ts src/krnl-services.ts src/krnl-ai-services.ts src/services/index.ts src/auth/index.ts src/storage/index.ts src/workspace/index.ts src/control-plane/index.ts src/api/index.ts src/connectivity/index.ts src/client/index.ts src/srkl/index.ts src/development/index.ts src/development/webContainerService.ts src/development/webContainerRuntime.ts src/development/playwrightInspectionService.ts src/development/playwrightInspectionTypes.ts src/ai-provider/index.ts src/ai-inference/index.ts src/ai-models/index.ts src/ai-routing/index.ts src/ai-keys/index.ts src/ai-tools/index.ts --format esm --clean --external @kloks/functions --external @kloks/wasm-runtime --external react --external @kloks/state-graph --external @neondatabase/serverless --external @supabase/supabase-js --external @aws-sdk/client-s3 --external @aws-sdk/lib-storage --external zod --external ws --external @webcontainer/api --external playwright --external @dinilmusick/gutts && tsc --emitDeclarationOnly --declaration --project tsconfig.json && tsup src/development/client.ts --format esm --dts --out-dir dist/development --splitting false --platform browser --external @ultrst-armada/krnl",
123
+ "build": "tsup src/index.ts src/krnl-services.ts src/krnl-ai-services.ts src/services/index.ts src/auth/index.ts src/storage/index.ts src/storage-workspace.ts src/workspace/index.ts src/control-plane/index.ts src/api/index.ts src/connectivity/index.ts src/client/index.ts src/srkl/index.ts src/development/index.ts src/development/webContainerService.ts src/development/webContainerRuntime.ts src/development/playwrightInspectionService.ts src/development/playwrightInspectionTypes.ts src/ai-provider/index.ts src/ai-inference/index.ts src/ai-models/index.ts src/ai-routing/index.ts src/ai-keys/index.ts src/ai-tools/index.ts --format esm --clean --external @kloks/functions --external @kloks/wasm-runtime --external react --external @kloks/state-graph --external @neondatabase/serverless --external @supabase/supabase-js --external @aws-sdk/client-s3 --external @aws-sdk/lib-storage --external zod --external ws --external @webcontainer/api --external playwright --external @dinilmusick/gutts && tsc --emitDeclarationOnly --declaration --project tsconfig.json && tsup src/development/client.ts --format esm --dts --out-dir dist/development --splitting false --platform browser --external @ultrst-armada/krnl",
119
124
  "typecheck": "tsc --noEmit",
120
125
  "clean": "rm -rf dist"
121
126
  },
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Browser-safe Kloks state-graph entry.
3
+ *
4
+ * The aggregate state-graph entry also exposes KrnlTS service facades intended
5
+ * for server/runtime use. Browser consumers such as Floks need only the pure
6
+ * graph/state/rules/spatial and graph-engine primitives below.
7
+ */
8
+ export * from './state/index.js';
9
+ export * from './domain/index.js';
10
+ export * from './rules/index.js';
11
+ export * from './spatial/index.js';
12
+ export * from './engine/core/hierarchy/core/GraphEntityParent.js';
13
+ export * from './engine/core/hierarchy/sockets/GraphSocketParent.js';
14
+ export * from './engine/core/hierarchy/sockets/GraphSocketTypes.js';
15
+ export * from './engine/core/hierarchy/wires/GraphWireParent.js';
16
+ export * from './engine/core/hierarchy/wires/GraphWireTypes.js';
17
+ export * from './engine/core/hierarchy/nodes/GraphNodeParent.js';
18
+ export * from './engine/core/hierarchy/nodes/GraphNodeTypes.js';
19
+ export * from './engine/core/hierarchy/nodes/nodeGeometry.js';
20
+ export * from './engine/core/hierarchy/ui/UIElementBase.js';
21
+ export * from './engine/core/hierarchy/magnetic/magneticGraphBridge.js';
22
+ export { MagneticGraphManager } from './engine/core/hierarchy/magnetic/magneticGraphManager.js';
23
+ export * from './engine/core/nodeSocketRegistry.js';
24
+ export * from './engine/core/nodeAssetRegistry.js';
25
+ export * from './engine/functions/canonicalSignalTable.js';
26
+ export * from './engine/functions/rotaryGeometry.js';
27
+ export * from './engine/GraphConcepts.js';
28
+ export * from './engine/predictive/index.js';