@ultrst-armada/kloks 3.0.0 → 3.0.2

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 (33) hide show
  1. package/.krusbl-release-attestation.json +3 -3
  2. package/package.json +1 -1
  3. package/packages/backend/dist/auth/index.js +1 -1
  4. package/packages/backend/dist/{chunk-UI7AYFAU.js → chunk-363J52AF.js} +0 -48
  5. package/packages/backend/dist/{chunk-GCVR257U.js → chunk-3SDRLTD6.js} +1 -1
  6. package/packages/backend/dist/{chunk-2SNWR4FI.js → chunk-6HGO6CUT.js} +3 -1
  7. package/packages/backend/dist/chunk-7HD7OEUY.js +177 -0
  8. package/packages/backend/dist/chunk-B5DCG4UC.js +602 -0
  9. package/packages/backend/dist/{chunk-7XTURV44.js → chunk-F7BO3GLA.js} +2 -2
  10. package/packages/backend/dist/{chunk-RHW75K46.js → chunk-IAW6N73D.js} +49 -1
  11. package/packages/backend/dist/{chunk-IRKJ6HKP.js → chunk-IXEKOWY4.js} +1 -1
  12. package/packages/backend/dist/{chunk-4X4QGVAO.js → chunk-NRW4TECO.js} +1 -1
  13. package/packages/backend/dist/{chunk-3ZL2DX73.js → chunk-PAU25K7F.js} +5 -172
  14. package/packages/backend/dist/{chunk-NUBA6A5T.js → chunk-VN2NR3KT.js} +1 -1
  15. package/packages/backend/dist/{chunk-B6BQPDJE.js → chunk-YFISFDBW.js} +5 -5
  16. package/packages/backend/dist/index.js +7 -7
  17. package/packages/backend/dist/krnl-services.js +6 -5
  18. package/packages/backend/dist/node.js +20 -11
  19. package/packages/backend/dist/provider-services/index.js +7 -7
  20. package/packages/backend/dist/provider-services/node.d.ts +2 -0
  21. package/packages/backend/dist/provider-services/node.js +15 -4
  22. package/packages/backend/dist/provider-services/saved-account-crypto.d.ts +19 -0
  23. package/packages/backend/dist/provider-services/saved-account-probe.d.ts +26 -0
  24. package/packages/backend/dist/provider-services/saved-account-store.d.ts +29 -0
  25. package/packages/backend/dist/provider-services/saved-account-store.test.d.ts +1 -0
  26. package/packages/backend/dist/services/node.js +5 -4
  27. package/packages/backend/dist/srkl/index.js +3 -2
  28. package/packages/backend/dist/workspace/node.js +5 -4
  29. package/packages/backend/dist/{workspaceFileCore-XPT6WTFY.js → workspaceFileCore-2KCVSECY.js} +3 -2
  30. package/packages/state-graph/dist/browser.js +16 -16
  31. package/packages/state-graph/dist/index.js +16 -16
  32. package/packages/backend/dist/chunk-U5VPYALB.js +0 -261
  33. package/packages/state-graph/dist/{chunk-UKTICGGV.js → chunk-YUJC367F.js} +3 -3
@@ -252,7 +252,7 @@ import {
252
252
  validateProjectGraph,
253
253
  validateUniversalConnection,
254
254
  zoomAtPoint
255
- } from "./chunk-UKTICGGV.js";
255
+ } from "./chunk-YUJC367F.js";
256
256
  import {
257
257
  BaseHandle,
258
258
  DataHandle,
@@ -262,6 +262,21 @@ import {
262
262
  instantiateSubgraph
263
263
  } from "./chunk-OXUDG6HE.js";
264
264
  import "./chunk-RHRXPY2U.js";
265
+ import {
266
+ AttractionEngine,
267
+ GhostInferenceEngine,
268
+ GhostLayoutResolver,
269
+ GhostTracePathBuilder,
270
+ calculateSocketCoordinates,
271
+ getBeamPoints,
272
+ useMagneticTraces
273
+ } from "./chunk-JXDJZSFW.js";
274
+ import {
275
+ ConnectionRuleStore,
276
+ HandleTypeRegistry,
277
+ WireTypeRegistry,
278
+ initializeDefaultGraphRules
279
+ } from "./chunk-TZOL3RN7.js";
265
280
  import {
266
281
  LifecycleCycleError,
267
282
  LifecycleGraph,
@@ -285,21 +300,6 @@ import {
285
300
  CustomViewWindow,
286
301
  DEFAULT_GRAPH_SETTINGS
287
302
  } from "./chunk-5KP74NMF.js";
288
- import {
289
- AttractionEngine,
290
- GhostInferenceEngine,
291
- GhostLayoutResolver,
292
- GhostTracePathBuilder,
293
- calculateSocketCoordinates,
294
- getBeamPoints,
295
- useMagneticTraces
296
- } from "./chunk-JXDJZSFW.js";
297
- import {
298
- ConnectionRuleStore,
299
- HandleTypeRegistry,
300
- WireTypeRegistry,
301
- initializeDefaultGraphRules
302
- } from "./chunk-TZOL3RN7.js";
303
303
  import {
304
304
  AutoSolidify,
305
305
  SpatialEngine,
@@ -252,7 +252,7 @@ import {
252
252
  validateProjectGraph,
253
253
  validateUniversalConnection,
254
254
  zoomAtPoint
255
- } from "./chunk-UKTICGGV.js";
255
+ } from "./chunk-YUJC367F.js";
256
256
  import {
257
257
  BaseHandle,
258
258
  DataHandle,
@@ -262,6 +262,21 @@ import {
262
262
  instantiateSubgraph
263
263
  } from "./chunk-OXUDG6HE.js";
264
264
  import "./chunk-RHRXPY2U.js";
265
+ import {
266
+ AttractionEngine,
267
+ GhostInferenceEngine,
268
+ GhostLayoutResolver,
269
+ GhostTracePathBuilder,
270
+ calculateSocketCoordinates,
271
+ getBeamPoints,
272
+ useMagneticTraces
273
+ } from "./chunk-JXDJZSFW.js";
274
+ import {
275
+ ConnectionRuleStore,
276
+ HandleTypeRegistry,
277
+ WireTypeRegistry,
278
+ initializeDefaultGraphRules
279
+ } from "./chunk-TZOL3RN7.js";
265
280
  import {
266
281
  LifecycleCycleError,
267
282
  LifecycleGraph,
@@ -285,21 +300,6 @@ import {
285
300
  CustomViewWindow,
286
301
  DEFAULT_GRAPH_SETTINGS
287
302
  } from "./chunk-5KP74NMF.js";
288
- import {
289
- AttractionEngine,
290
- GhostInferenceEngine,
291
- GhostLayoutResolver,
292
- GhostTracePathBuilder,
293
- calculateSocketCoordinates,
294
- getBeamPoints,
295
- useMagneticTraces
296
- } from "./chunk-JXDJZSFW.js";
297
- import {
298
- ConnectionRuleStore,
299
- HandleTypeRegistry,
300
- WireTypeRegistry,
301
- initializeDefaultGraphRules
302
- } from "./chunk-TZOL3RN7.js";
303
303
  import {
304
304
  AutoSolidify,
305
305
  SpatialEngine,
@@ -1,261 +0,0 @@
1
- import {
2
- fetchCloudflareCapacity,
3
- fetchVercelCapacity
4
- } from "./chunk-RHW75K46.js";
5
- import {
6
- getGeminiQuotaStatus,
7
- listGeminiModels
8
- } from "./chunk-GIUAFRAA.js";
9
- import {
10
- getGoogleAccountProfile,
11
- listCloudflareAccounts,
12
- listCloudflarePages,
13
- listCloudflareWorkers,
14
- listVercelDeployments,
15
- listVercelProjects
16
- } from "./chunk-LAKCKX3I.js";
17
- import {
18
- continueDropboxFolder,
19
- listDropboxFolder,
20
- listGitHubRepositories,
21
- listGitHubRepositoryContents,
22
- listGitLabProjects,
23
- listGitLabRepositoryTree
24
- } from "./chunk-AMI5MY6E.js";
25
- import {
26
- b2ListBuckets,
27
- b2ListFileNames
28
- } from "./chunk-I6T64MLT.js";
29
- import {
30
- GoogleDriveWorkspaceService
31
- } from "./chunk-EMSSTOOK.js";
32
-
33
- // src/provider-services/facades.ts
34
- import { createService, createServiceDefinition } from "@ultrst-armada/krnl";
35
- var defs = {
36
- cloudflare: createServiceDefinition({
37
- id: "kloks.external.cloudflare",
38
- name: "Cloudflare Provider Service",
39
- version: "1.0.0",
40
- operations: {
41
- listAccounts: {
42
- id: "cloudflare.listAccounts",
43
- name: "listAccounts",
44
- handler: (input) => listCloudflareAccounts(input.connection)
45
- },
46
- listWorkers: {
47
- id: "cloudflare.listWorkers",
48
- name: "listWorkers",
49
- handler: (input) => listCloudflareWorkers(input.connection)
50
- },
51
- listPages: {
52
- id: "cloudflare.listPages",
53
- name: "listPages",
54
- handler: (input) => listCloudflarePages(input.connection)
55
- },
56
- quota: {
57
- id: "cloudflare.quota",
58
- name: "quota",
59
- handler: (input) => fetchCloudflareCapacity(input.connection, input.plan)
60
- }
61
- }
62
- }),
63
- vercel: createServiceDefinition({
64
- id: "kloks.external.vercel",
65
- name: "Vercel Provider Service",
66
- version: "1.0.0",
67
- operations: {
68
- listProjects: {
69
- id: "vercel.listProjects",
70
- name: "listProjects",
71
- handler: (input) => listVercelProjects(input.connection)
72
- },
73
- listDeployments: {
74
- id: "vercel.listDeployments",
75
- name: "listDeployments",
76
- handler: (input) => listVercelDeployments(input.connection)
77
- },
78
- quota: {
79
- id: "vercel.quota",
80
- name: "quota",
81
- handler: (input) => fetchVercelCapacity(input.connection, input.options)
82
- }
83
- }
84
- }),
85
- google: createServiceDefinition({
86
- id: "kloks.external.google",
87
- name: "Google Account Service",
88
- version: "1.0.0",
89
- operations: {
90
- profile: {
91
- id: "google.profile",
92
- name: "profile",
93
- handler: (input) => getGoogleAccountProfile(input.connection)
94
- }
95
- }
96
- }),
97
- gemini: createServiceDefinition({
98
- id: "kloks.external.google.gemini",
99
- name: "Google Gemini Service",
100
- version: "1.0.0",
101
- operations: {
102
- listModels: {
103
- id: "gemini.listModels",
104
- name: "listModels",
105
- handler: (input) => listGeminiModels(input.connection)
106
- },
107
- quota: {
108
- id: "gemini.quota",
109
- name: "quota",
110
- handler: (input) => getGeminiQuotaStatus(input.connection.accountId)
111
- }
112
- }
113
- })
114
- };
115
- function facade(definition) {
116
- const instance = createService(definition);
117
- return {
118
- id: definition.id,
119
- name: definition.name,
120
- version: definition.version,
121
- runtime: "server",
122
- deployment: "local",
123
- definition,
124
- get telemetry() {
125
- return instance.telemetry;
126
- },
127
- createInstance: () => createService(definition),
128
- execute: async (operation, input) => {
129
- await instance.start();
130
- return instance.call(operation, input);
131
- }
132
- };
133
- }
134
- var CloudflareProviderService = facade(defs.cloudflare);
135
- var VercelProviderService = facade(defs.vercel);
136
- var GoogleAccountProviderService = facade(defs.google);
137
- var GeminiProviderService = facade(defs.gemini);
138
-
139
- // src/provider-services/storage-facades.ts
140
- import { createService as createService2, createServiceDefinition as createServiceDefinition2 } from "@ultrst-armada/krnl";
141
- var github = createServiceDefinition2({
142
- id: "kloks.external.github",
143
- name: "GitHub Provider Service",
144
- version: "1.0.0",
145
- operations: {
146
- listRepositories: {
147
- id: "github.listRepositories",
148
- name: "listRepositories",
149
- handler: ({ connection }) => listGitHubRepositories(connection)
150
- },
151
- listContents: {
152
- id: "github.listContents",
153
- name: "listContents",
154
- handler: (input) => listGitHubRepositoryContents(input.connection, input.owner, input.repo, input.path)
155
- }
156
- }
157
- });
158
- var gitlab = createServiceDefinition2({
159
- id: "kloks.external.gitlab",
160
- name: "GitLab Provider Service",
161
- version: "1.0.0",
162
- operations: {
163
- listProjects: {
164
- id: "gitlab.listProjects",
165
- name: "listProjects",
166
- handler: ({ connection }) => listGitLabProjects(connection)
167
- },
168
- listTree: {
169
- id: "gitlab.listTree",
170
- name: "listTree",
171
- handler: (input) => listGitLabRepositoryTree(input.connection, input.project, input.path)
172
- }
173
- }
174
- });
175
- var dropbox = createServiceDefinition2({
176
- id: "kloks.external.dropbox",
177
- name: "Dropbox Provider Service",
178
- version: "1.0.0",
179
- operations: {
180
- listFolder: {
181
- id: "dropbox.listFolder",
182
- name: "listFolder",
183
- handler: (input) => listDropboxFolder(input.connection, input.path)
184
- },
185
- continueFolder: {
186
- id: "dropbox.continueFolder",
187
- name: "continueFolder",
188
- handler: (input) => continueDropboxFolder(input.connection, input.cursor)
189
- }
190
- }
191
- });
192
- var backblaze = createServiceDefinition2({
193
- id: "kloks.external.backblaze-b2",
194
- name: "Backblaze B2 Provider Service",
195
- version: "1.0.0",
196
- operations: {
197
- listBuckets: {
198
- id: "backblaze.listBuckets",
199
- name: "listBuckets",
200
- handler: (input) => b2ListBuckets(input.keyId, input.applicationKey)
201
- },
202
- listFiles: {
203
- id: "backblaze.listFiles",
204
- name: "listFiles",
205
- handler: (input) => b2ListFileNames(input.keyId, input.applicationKey, input.bucketName)
206
- }
207
- }
208
- });
209
- var drive = createServiceDefinition2({
210
- id: "kloks.external.google.drive",
211
- name: "Google Drive Provider Service",
212
- version: "1.0.0",
213
- operations: {
214
- listFolders: {
215
- id: "google.drive.listFolders",
216
- name: "listFolders",
217
- handler: (input) => new GoogleDriveWorkspaceService(input.options).listFolders(input.parentFolderId)
218
- },
219
- listFiles: {
220
- id: "google.drive.listFiles",
221
- name: "listFiles",
222
- handler: (input) => new GoogleDriveWorkspaceService(input.options).list(input.path)
223
- }
224
- }
225
- });
226
- function serviceFacade(definition) {
227
- const instance = createService2(definition);
228
- return {
229
- id: definition.id,
230
- name: definition.name,
231
- version: definition.version,
232
- runtime: "server",
233
- deployment: "local",
234
- definition,
235
- get telemetry() {
236
- return instance.telemetry;
237
- },
238
- createInstance: () => createService2(definition),
239
- execute: async (operation, input) => {
240
- await instance.start();
241
- return instance.call(operation, input);
242
- }
243
- };
244
- }
245
- var GitHubProviderService = serviceFacade(github);
246
- var GitLabProviderService = serviceFacade(gitlab);
247
- var DropboxProviderService = serviceFacade(dropbox);
248
- var BackblazeB2ProviderService = serviceFacade(backblaze);
249
- var GoogleDriveProviderService = serviceFacade(drive);
250
-
251
- export {
252
- CloudflareProviderService,
253
- VercelProviderService,
254
- GoogleAccountProviderService,
255
- GeminiProviderService,
256
- GitHubProviderService,
257
- GitLabProviderService,
258
- DropboxProviderService,
259
- BackblazeB2ProviderService,
260
- GoogleDriveProviderService
261
- };
@@ -1,9 +1,6 @@
1
1
  import {
2
2
  DataHandle
3
3
  } from "./chunk-OXUDG6HE.js";
4
- import {
5
- BaseNode
6
- } from "./chunk-5KP74NMF.js";
7
4
  import {
8
5
  AttractionEngine
9
6
  } from "./chunk-JXDJZSFW.js";
@@ -11,6 +8,9 @@ import {
11
8
  HandleTypeRegistry,
12
9
  WireTypeRegistry
13
10
  } from "./chunk-TZOL3RN7.js";
11
+ import {
12
+ BaseNode
13
+ } from "./chunk-5KP74NMF.js";
14
14
  import {
15
15
  AutoSolidify,
16
16
  TraceEngine