@ultrst-armada/kloks 2.0.4 → 2.1.0
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/package.json +76 -1
- package/packages/backend/dist/api/index.js +2 -1
- package/packages/backend/dist/chunk-23LS4LWC.js +746 -0
- package/packages/backend/dist/chunk-3UZFKB4M.js +28 -0
- package/packages/backend/dist/chunk-5GW5PJWQ.js +96 -0
- package/packages/backend/dist/chunk-5SXOQAAX.js +41 -0
- package/packages/backend/dist/chunk-5UVJDX7Q.js +44 -0
- package/packages/backend/dist/{chunk-5F5V7NAG.js → chunk-5Y7K7HAT.js} +4 -1
- package/packages/backend/dist/chunk-6BL5DXFZ.js +43 -0
- package/packages/backend/dist/{chunk-OXEP3AP6.js → chunk-6I7I4C6H.js} +158 -1
- package/packages/backend/dist/{chunk-SQKG3S6P.js → chunk-AUNIGE6Q.js} +2 -2
- package/packages/backend/dist/{chunk-NY2SQOXI.js → chunk-CDRHYO44.js} +4 -1
- package/packages/backend/dist/{chunk-ZBNSK26X.js → chunk-CV55JMT7.js} +6 -5
- package/packages/backend/dist/{chunk-KPLDYX5Z.js → chunk-DJ457D5D.js} +33 -26
- package/packages/backend/dist/{chunk-FK3OAUXM.js → chunk-DTPCWHQJ.js} +4 -2
- package/packages/backend/dist/{chunk-OWMQLML7.js → chunk-EMSSTOOK.js} +33 -2
- package/packages/backend/dist/{chunk-Z6G32NQQ.js → chunk-ENMIBY2V.js} +12 -9
- package/packages/backend/dist/chunk-EQFZX3JT.js +63 -0
- package/packages/backend/dist/chunk-FKK23J2A.js +363 -0
- package/packages/backend/dist/chunk-GTKW4IGC.js +197 -0
- package/packages/backend/dist/chunk-GVMVYC6C.js +0 -0
- package/packages/backend/dist/chunk-HRJCGJTR.js +261 -0
- package/packages/backend/dist/chunk-I6T64MLT.js +171 -0
- package/packages/backend/dist/chunk-IKDYKRVH.js +51 -0
- package/packages/backend/dist/chunk-IP6XWQU2.js +48 -0
- package/packages/backend/dist/chunk-JGR6BJVX.js +74 -0
- package/packages/backend/dist/{chunk-POLVHTHJ.js → chunk-KCPQWJBO.js} +4 -1
- package/packages/backend/dist/chunk-LC6ULEM2.js +125 -0
- package/packages/backend/dist/{chunk-NTKUQVCQ.js → chunk-LMUMMVTU.js} +14 -2
- package/packages/backend/dist/chunk-LMY6MGFD.js +78 -0
- package/packages/backend/dist/chunk-NFK6YFTA.js +157 -0
- package/packages/backend/dist/chunk-NZWCPJDJ.js +82 -0
- package/packages/backend/dist/chunk-OT2PSPBK.js +74 -0
- package/packages/backend/dist/chunk-QYWVZBI6.js +54 -0
- package/packages/backend/dist/chunk-TOLAWKAY.js +1132 -0
- package/packages/backend/dist/{chunk-OQRQCDS6.js → chunk-TRJVVNO7.js} +2 -2
- package/packages/backend/dist/chunk-U7T65YUP.js +889 -0
- package/packages/backend/dist/chunk-YFMHT77Z.js +58 -0
- package/packages/backend/dist/client-JXGCPWEA.js +7 -0
- package/packages/backend/dist/control-plane/index.js +3 -1
- package/packages/backend/dist/core/b2DirectCore.test.d.ts +1 -0
- package/packages/backend/dist/core/cloudflareIntegrationCore.test.d.ts +1 -0
- package/packages/backend/dist/core/googleDriveOAuthCore.d.ts +51 -0
- package/packages/backend/dist/core/googleDriveOAuthCore.test.d.ts +1 -0
- package/packages/backend/dist/core/index.d.ts +3 -0
- package/packages/backend/dist/core/storageConnectionCore.d.ts +136 -0
- package/packages/backend/dist/core/storageConnectionCore.test.d.ts +1 -0
- package/packages/backend/dist/core/storageConnectionRuntimeCore.d.ts +57 -0
- package/packages/backend/dist/core/storageConnectionRuntimeCore.test.d.ts +1 -0
- package/packages/backend/dist/core/storageContracts.d.ts +77 -0
- package/packages/backend/dist/core/storageProviderRegistry.d.ts +7 -0
- package/packages/backend/dist/core/systemCredentialsCore.d.ts +46 -0
- package/packages/backend/dist/core/unifiedDb.d.ts +12 -2
- package/packages/backend/dist/core/unifiedDb.errors.test.d.ts +1 -0
- package/packages/backend/dist/core/unifiedDbNodeAdapter.d.ts +6 -0
- package/packages/backend/dist/core/workspaceBucketSyncCore.d.ts +3 -4
- package/packages/backend/dist/core/workspaceBucketSyncCore.test.d.ts +1 -0
- package/packages/backend/dist/core/workspaceCore.d.ts +25 -6
- package/packages/backend/dist/core/workspaceDataCore.test.d.ts +1 -0
- package/packages/backend/dist/core/workspaceFileCore.d.ts +25 -7
- package/packages/backend/dist/core/workspaceFileCore.test.d.ts +1 -0
- package/packages/backend/dist/core/workspaceFileNodeAdapter.d.ts +6 -0
- package/packages/backend/dist/core/workspaceStorageDetailsCore.d.ts +4 -8
- package/packages/backend/dist/core/workspaceStorageDetailsCore.test.d.ts +1 -0
- package/packages/backend/dist/development/index.js +1 -1
- package/packages/backend/dist/development/playwrightInspectionService.js +1 -1
- package/packages/backend/dist/development/playwrightInspectionSupport.d.ts +1 -0
- package/packages/backend/dist/index.d.ts +1 -0
- package/packages/backend/dist/index.js +130 -15
- package/packages/backend/dist/krnl-services.d.ts +0 -22
- package/packages/backend/dist/krnl-services.js +8 -19
- package/packages/backend/dist/krnl-services.node.d.ts +28 -0
- package/packages/backend/dist/node.d.ts +4 -0
- package/packages/backend/dist/node.js +670 -454
- package/packages/backend/dist/provider-services/capacity.d.ts +2 -0
- package/packages/backend/dist/provider-services/client.d.ts +18 -0
- package/packages/backend/dist/provider-services/cloudflare.d.ts +6 -0
- package/packages/backend/dist/provider-services/facades.d.ts +44 -0
- package/packages/backend/dist/provider-services/gemini.d.ts +8 -0
- package/packages/backend/dist/provider-services/google/cloud-run.d.ts +1 -0
- package/packages/backend/dist/provider-services/google/cloud-run.js +9 -0
- package/packages/backend/dist/provider-services/google/cloud-shell.d.ts +1 -0
- package/packages/backend/dist/provider-services/google/cloud-shell.js +9 -0
- package/packages/backend/dist/provider-services/google/cloud-storage.d.ts +1 -0
- package/packages/backend/dist/provider-services/google/cloud-storage.js +9 -0
- package/packages/backend/dist/provider-services/google/drive.d.ts +4 -0
- package/packages/backend/dist/provider-services/google/drive.js +20 -0
- package/packages/backend/dist/provider-services/google/gemini.d.ts +2 -0
- package/packages/backend/dist/provider-services/google/gemini.js +10 -0
- package/packages/backend/dist/provider-services/google/index.d.ts +3 -0
- package/packages/backend/dist/provider-services/google/index.js +17 -0
- package/packages/backend/dist/provider-services/google/vertex-ai.d.ts +1 -0
- package/packages/backend/dist/provider-services/google/vertex-ai.js +9 -0
- package/packages/backend/dist/provider-services/index.d.ts +11 -0
- package/packages/backend/dist/provider-services/index.js +118 -0
- package/packages/backend/dist/provider-services/node.d.ts +4 -0
- package/packages/backend/dist/provider-services/node.js +40 -0
- package/packages/backend/dist/provider-services/operations.d.ts +28 -0
- package/packages/backend/dist/provider-services/operations.test.d.ts +1 -0
- package/packages/backend/dist/provider-services/provider-services.test.d.ts +1 -0
- package/packages/backend/dist/provider-services/registry.d.ts +16 -0
- package/packages/backend/dist/provider-services/storage/backblaze-b2.d.ts +7 -0
- package/packages/backend/dist/provider-services/storage/backblaze-b2.js +8 -0
- package/packages/backend/dist/provider-services/storage/contract.d.ts +45 -0
- package/packages/backend/dist/provider-services/storage/dropbox.d.ts +3 -0
- package/packages/backend/dist/provider-services/storage/dropbox.js +12 -0
- package/packages/backend/dist/provider-services/storage/github.d.ts +4 -0
- package/packages/backend/dist/provider-services/storage/github.js +12 -0
- package/packages/backend/dist/provider-services/storage/google-drive.d.ts +4 -0
- package/packages/backend/dist/provider-services/storage/index.d.ts +7 -0
- package/packages/backend/dist/provider-services/storage/node.d.ts +2 -0
- package/packages/backend/dist/provider-services/storage/node.js +17 -0
- package/packages/backend/dist/provider-services/storage/service.d.ts +27 -0
- package/packages/backend/dist/provider-services/storage/storage-contract.test.d.ts +1 -0
- package/packages/backend/dist/provider-services/storage-facades.d.ts +55 -0
- package/packages/backend/dist/provider-services/storage-node.d.ts +11 -0
- package/packages/backend/dist/provider-services/storage-providers.d.ts +30 -0
- package/packages/backend/dist/provider-services/storage-providers.test.d.ts +1 -0
- package/packages/backend/dist/provider-services/storage.d.ts +3 -0
- package/packages/backend/dist/provider-services/storage.js +29 -0
- package/packages/backend/dist/provider-services/types.d.ts +61 -0
- package/packages/backend/dist/provider-services/vercel.d.ts +13 -0
- package/packages/backend/dist/resolver/index.js +13 -0
- package/packages/backend/dist/resolver/systemDatabaseUrl.d.ts +16 -12
- package/packages/backend/dist/services/node.js +12 -10
- package/packages/backend/dist/srkl/index.js +6 -4
- package/packages/backend/dist/storage/B2DirectClient.d.ts +7 -13
- package/packages/backend/dist/storage/B2DirectClient.test.d.ts +1 -0
- package/packages/backend/dist/storage/GoogleDriveWorkspaceService.d.ts +5 -0
- package/packages/backend/dist/storage/index.js +4 -3
- package/packages/backend/dist/storage/node.js +7 -6
- package/packages/backend/dist/storage-workspace.js +1 -1
- package/packages/backend/dist/workspace/index.js +2 -1
- package/packages/backend/dist/workspace/node.js +12 -7
- package/packages/backend/dist/workspaceFileCore-RQO7YMRD.js +28 -0
- package/packages/backend/package.json +78 -3
- package/packages/services/dist/index.js +8 -2
- package/packages/backend/dist/chunk-4QEMALXF.js +0 -90
- package/packages/backend/dist/chunk-AOZSDRNY.js +0 -159
- package/packages/backend/dist/chunk-GYSZ6CAX.js +0 -19
- package/packages/backend/dist/chunk-JCMB7BIM.js +0 -211
- package/packages/backend/dist/chunk-JGUWYVOL.js +0 -570
- package/packages/backend/dist/chunk-LMOM7CST.js +0 -427
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @description Inspection of workspace cloud storage directly via Backblaze B2.
|
|
4
4
|
* Runs identically in Node.js, Vercel Serverless, and Cloudflare Workers (< 200 lines).
|
|
5
5
|
*/
|
|
6
|
-
export declare function getWorkspaceStorageDetails(workspaceId: string, env?: Record<string, unknown
|
|
6
|
+
export declare function getWorkspaceStorageDetails(workspaceId: string, env?: Record<string, unknown>, verifiedUserId?: string): Promise<{
|
|
7
7
|
success: boolean;
|
|
8
8
|
error: string;
|
|
9
9
|
workspaceId?: undefined;
|
|
@@ -18,7 +18,7 @@ export declare function getWorkspaceStorageDetails(workspaceId: string, env?: Re
|
|
|
18
18
|
success: boolean;
|
|
19
19
|
workspaceId: string;
|
|
20
20
|
storageProvider: any;
|
|
21
|
-
connection:
|
|
21
|
+
connection: import("./storageConnectionCore.js").PublicStorageConnection;
|
|
22
22
|
folderPrefix: any;
|
|
23
23
|
localStats: {
|
|
24
24
|
exists: boolean;
|
|
@@ -33,11 +33,7 @@ export declare function getWorkspaceStorageDetails(workspaceId: string, env?: Re
|
|
|
33
33
|
success: boolean;
|
|
34
34
|
workspaceId: string;
|
|
35
35
|
storageProvider: string;
|
|
36
|
-
connection:
|
|
37
|
-
id: any;
|
|
38
|
-
label: any;
|
|
39
|
-
provider: any;
|
|
40
|
-
};
|
|
36
|
+
connection: import("./storageConnectionCore.js").PublicStorageConnection;
|
|
41
37
|
folderPrefix: any;
|
|
42
38
|
bucket: {
|
|
43
39
|
name: any;
|
|
@@ -81,7 +77,7 @@ export declare function getWorkspaceStorageDetails(workspaceId: string, env?: Re
|
|
|
81
77
|
success: boolean;
|
|
82
78
|
workspaceId: string;
|
|
83
79
|
storageProvider: string;
|
|
84
|
-
error:
|
|
80
|
+
error: string;
|
|
85
81
|
folderPrefix: any;
|
|
86
82
|
connection?: undefined;
|
|
87
83
|
localStats?: undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -7,3 +7,4 @@ export * from './connectivity/index.js';
|
|
|
7
7
|
export * from './services/index.js';
|
|
8
8
|
export * from './resolver/index.js';
|
|
9
9
|
export type { Runtime, Deployment, FunctionSet, ServiceFacade, OrchestrationFn, BackendFacade, ServiceRegistryRecord, } from './architecture/types.js';
|
|
10
|
+
export * from './provider-services/index.js';
|
|
@@ -1,19 +1,86 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-GVMVYC6C.js";
|
|
2
2
|
import "./chunk-2Y2EXYDK.js";
|
|
3
|
+
import "./chunk-RABSY2JU.js";
|
|
3
4
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "./chunk-GYSZ6CAX.js";
|
|
5
|
+
calculateProviderCapacity
|
|
6
|
+
} from "./chunk-5SXOQAAX.js";
|
|
7
7
|
import "./chunk-DAG2L4RN.js";
|
|
8
|
+
import {
|
|
9
|
+
isSecretMasked,
|
|
10
|
+
normalizeBackblazeCredentials,
|
|
11
|
+
resolveBackblazeEndpoint
|
|
12
|
+
} from "./chunk-HUY4272L.js";
|
|
13
|
+
import {
|
|
14
|
+
BaseStorageAdapter
|
|
15
|
+
} from "./chunk-5Y7K7HAT.js";
|
|
8
16
|
import {
|
|
9
17
|
WorkspaceCloneSyncEngine
|
|
10
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CDRHYO44.js";
|
|
19
|
+
import {
|
|
20
|
+
fetchCloudflareCapacity,
|
|
21
|
+
fetchVercelCapacity
|
|
22
|
+
} from "./chunk-NFK6YFTA.js";
|
|
23
|
+
import {
|
|
24
|
+
getGeminiQuotaStatus,
|
|
25
|
+
listGeminiModels
|
|
26
|
+
} from "./chunk-3UZFKB4M.js";
|
|
27
|
+
import {
|
|
28
|
+
getGoogleAccountProfile,
|
|
29
|
+
listCloudflareAccounts,
|
|
30
|
+
listCloudflarePages,
|
|
31
|
+
listCloudflareWorkers,
|
|
32
|
+
listVercelDeployments,
|
|
33
|
+
listVercelProjects
|
|
34
|
+
} from "./chunk-EQFZX3JT.js";
|
|
35
|
+
import {
|
|
36
|
+
createCanonicalStorageService,
|
|
37
|
+
getCanonicalStorageCapabilities,
|
|
38
|
+
listCanonicalStorageProviders
|
|
39
|
+
} from "./chunk-IKDYKRVH.js";
|
|
40
|
+
import {
|
|
41
|
+
createDropboxStorageService
|
|
42
|
+
} from "./chunk-OT2PSPBK.js";
|
|
43
|
+
import {
|
|
44
|
+
createGitHubStorageService
|
|
45
|
+
} from "./chunk-NZWCPJDJ.js";
|
|
46
|
+
import {
|
|
47
|
+
continueDropboxFolder,
|
|
48
|
+
listDropboxFolder,
|
|
49
|
+
listGitHubRepositories,
|
|
50
|
+
listGitHubRepositoryContents,
|
|
51
|
+
listGitLabProjects,
|
|
52
|
+
listGitLabRepositoryTree
|
|
53
|
+
} from "./chunk-5GW5PJWQ.js";
|
|
54
|
+
import {
|
|
55
|
+
createGoogleDriveStorageService
|
|
56
|
+
} from "./chunk-6BL5DXFZ.js";
|
|
57
|
+
import {
|
|
58
|
+
createProviderClient
|
|
59
|
+
} from "./chunk-YFMHT77Z.js";
|
|
60
|
+
import {
|
|
61
|
+
getProviderService,
|
|
62
|
+
getProviderServicePath,
|
|
63
|
+
listProviderServiceChildren,
|
|
64
|
+
listProviderServiceTree,
|
|
65
|
+
listProviderServices,
|
|
66
|
+
listRecognizedAccountServices,
|
|
67
|
+
resolveProviderServiceId
|
|
68
|
+
} from "./chunk-FKK23J2A.js";
|
|
69
|
+
import {
|
|
70
|
+
createBackblazeB2StorageService
|
|
71
|
+
} from "./chunk-JGR6BJVX.js";
|
|
72
|
+
import {
|
|
73
|
+
UnsupportedStorageOperation,
|
|
74
|
+
assertStorageOperation,
|
|
75
|
+
normalizeStoragePath,
|
|
76
|
+
readOnlyService
|
|
77
|
+
} from "./chunk-5UVJDX7Q.js";
|
|
11
78
|
import {
|
|
12
79
|
BaseApiRoute,
|
|
13
80
|
createSSEResponse,
|
|
14
81
|
withAuth,
|
|
15
82
|
withCors
|
|
16
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-KCPQWJBO.js";
|
|
17
84
|
import {
|
|
18
85
|
LuthAuthClient,
|
|
19
86
|
LuthAuthClient2,
|
|
@@ -47,21 +114,24 @@ import {
|
|
|
47
114
|
WebSocketTransport,
|
|
48
115
|
createBackendClient
|
|
49
116
|
} from "./chunk-NIP22V2G.js";
|
|
117
|
+
import "./chunk-LMY6MGFD.js";
|
|
50
118
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
BaseStorageAdapter
|
|
57
|
-
} from "./chunk-5F5V7NAG.js";
|
|
119
|
+
normalizeSystemEnvironment,
|
|
120
|
+
resolveSystemDatabaseUrl,
|
|
121
|
+
resolveSystemDatabaseUrlCandidates,
|
|
122
|
+
tryResolveSystemDatabaseUrl
|
|
123
|
+
} from "./chunk-IP6XWQU2.js";
|
|
58
124
|
import {
|
|
59
125
|
authorizeB2,
|
|
60
126
|
b2DownloadFile,
|
|
61
127
|
b2ListBuckets,
|
|
62
128
|
b2ListFileNames,
|
|
63
|
-
b2UploadFile
|
|
64
|
-
} from "./chunk-
|
|
129
|
+
b2UploadFile2 as b2UploadFile
|
|
130
|
+
} from "./chunk-I6T64MLT.js";
|
|
131
|
+
import {
|
|
132
|
+
GOOGLE_DRIVE_WORKSPACE_SCOPE,
|
|
133
|
+
GoogleDriveWorkspaceService
|
|
134
|
+
} from "./chunk-EMSSTOOK.js";
|
|
65
135
|
export {
|
|
66
136
|
BackendClient,
|
|
67
137
|
BackendRegistry,
|
|
@@ -74,6 +144,8 @@ export {
|
|
|
74
144
|
ConcurrencyManager,
|
|
75
145
|
EventBus,
|
|
76
146
|
FrontendSession,
|
|
147
|
+
GOOGLE_DRIVE_WORKSPACE_SCOPE,
|
|
148
|
+
GoogleDriveWorkspaceService,
|
|
77
149
|
HTTPTransport,
|
|
78
150
|
HealthMonitor,
|
|
79
151
|
IdempotencyManager,
|
|
@@ -85,25 +157,68 @@ export {
|
|
|
85
157
|
LuthAuthError,
|
|
86
158
|
RemoteExecutor,
|
|
87
159
|
SequenceTracker,
|
|
160
|
+
UnsupportedStorageOperation,
|
|
88
161
|
WebSocketTransport,
|
|
89
162
|
WorkspaceCloneSyncEngine,
|
|
163
|
+
assertStorageOperation,
|
|
90
164
|
authorizeB2,
|
|
165
|
+
authorizeB2 as authorizeBackblazeB2,
|
|
91
166
|
b2DownloadFile,
|
|
92
167
|
b2ListBuckets,
|
|
93
168
|
b2ListFileNames,
|
|
94
169
|
b2UploadFile,
|
|
170
|
+
calculateProviderCapacity,
|
|
171
|
+
continueDropboxFolder,
|
|
172
|
+
createBackblazeB2StorageService,
|
|
95
173
|
createBackendClient,
|
|
96
174
|
createLuthAuthClient2 as createCanonicalAuthClient,
|
|
175
|
+
createCanonicalStorageService,
|
|
176
|
+
createDropboxStorageService,
|
|
97
177
|
createEmptyContract,
|
|
178
|
+
createGitHubStorageService,
|
|
179
|
+
createGoogleDriveStorageService,
|
|
98
180
|
createLuthAuthClient,
|
|
181
|
+
createProviderClient,
|
|
99
182
|
createSSEResponse,
|
|
183
|
+
b2DownloadFile as downloadBackblazeB2File,
|
|
184
|
+
fetchCloudflareCapacity,
|
|
185
|
+
fetchVercelCapacity,
|
|
186
|
+
getCanonicalStorageCapabilities,
|
|
187
|
+
getGeminiQuotaStatus,
|
|
188
|
+
getGoogleAccountProfile,
|
|
189
|
+
getProviderService,
|
|
190
|
+
getProviderServicePath,
|
|
100
191
|
isSecretMasked,
|
|
192
|
+
b2ListBuckets as listBackblazeB2Buckets,
|
|
193
|
+
b2ListFileNames as listBackblazeB2Files,
|
|
194
|
+
listCanonicalStorageProviders,
|
|
195
|
+
listCloudflareAccounts,
|
|
196
|
+
listCloudflarePages,
|
|
197
|
+
listCloudflareWorkers,
|
|
198
|
+
listDropboxFolder,
|
|
199
|
+
listGeminiModels,
|
|
200
|
+
listGitHubRepositories,
|
|
201
|
+
listGitHubRepositoryContents,
|
|
202
|
+
listGitLabProjects,
|
|
203
|
+
listGitLabRepositoryTree,
|
|
204
|
+
listProviderServiceChildren,
|
|
205
|
+
listProviderServiceTree,
|
|
206
|
+
listProviderServices,
|
|
207
|
+
listRecognizedAccountServices,
|
|
208
|
+
listVercelDeployments,
|
|
209
|
+
listVercelProjects,
|
|
101
210
|
normalizeBackblazeCredentials,
|
|
211
|
+
normalizeStoragePath,
|
|
212
|
+
normalizeSystemEnvironment,
|
|
213
|
+
readOnlyService,
|
|
102
214
|
resolveBackblazeEndpoint,
|
|
103
215
|
resolveClientEnvironment,
|
|
104
216
|
resolveClientOrigin,
|
|
217
|
+
resolveProviderServiceId,
|
|
105
218
|
resolveSystemDatabaseUrl,
|
|
219
|
+
resolveSystemDatabaseUrlCandidates,
|
|
106
220
|
tryResolveSystemDatabaseUrl,
|
|
221
|
+
b2UploadFile as uploadBackblazeB2File,
|
|
107
222
|
withAuth,
|
|
108
223
|
withCors
|
|
109
224
|
};
|
|
@@ -169,25 +169,3 @@ export declare const krnlSrklServiceFacade: {
|
|
|
169
169
|
createInstance: () => import("@ultrst-armada/krnl").ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
170
170
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
171
171
|
};
|
|
172
|
-
export declare const WorkspaceGraphServiceDefinition: ServiceDefinition;
|
|
173
|
-
export declare const WorkspaceGraphServiceFacade: {
|
|
174
|
-
id: string;
|
|
175
|
-
name: string;
|
|
176
|
-
version: string;
|
|
177
|
-
runtime: "server";
|
|
178
|
-
deployment: "local";
|
|
179
|
-
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
180
|
-
createInstance: () => import("@ultrst-armada/krnl").ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
181
|
-
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
182
|
-
};
|
|
183
|
-
export declare const krnlWorkspaceGraphServiceDefinition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
184
|
-
export declare const krnlWorkspaceGraphServiceFacade: {
|
|
185
|
-
id: string;
|
|
186
|
-
name: string;
|
|
187
|
-
version: string;
|
|
188
|
-
runtime: "server";
|
|
189
|
-
deployment: "local";
|
|
190
|
-
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
191
|
-
createInstance: () => import("@ultrst-armada/krnl").ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
192
|
-
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
193
|
-
};
|
|
@@ -11,8 +11,6 @@ import {
|
|
|
11
11
|
SrklServiceFacade,
|
|
12
12
|
StorageServiceDefinition,
|
|
13
13
|
StorageServiceFacade,
|
|
14
|
-
WorkspaceGraphServiceDefinition,
|
|
15
|
-
WorkspaceGraphServiceFacade,
|
|
16
14
|
WorkspaceServiceDefinition,
|
|
17
15
|
WorkspaceServiceFacade,
|
|
18
16
|
krnlAuthServiceDefinition,
|
|
@@ -27,23 +25,18 @@ import {
|
|
|
27
25
|
krnlSrklServiceFacade,
|
|
28
26
|
krnlStorageServiceDefinition,
|
|
29
27
|
krnlStorageServiceFacade,
|
|
30
|
-
krnlWorkspaceGraphServiceDefinition,
|
|
31
|
-
krnlWorkspaceGraphServiceFacade,
|
|
32
28
|
krnlWorkspaceServiceDefinition,
|
|
33
29
|
krnlWorkspaceServiceFacade
|
|
34
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-U7T65YUP.js";
|
|
31
|
+
import "./chunk-DJ457D5D.js";
|
|
35
32
|
import "./chunk-FZKBTF34.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-OQRQCDS6.js";
|
|
40
|
-
import "./chunk-KPLDYX5Z.js";
|
|
41
|
-
import "./chunk-JCMB7BIM.js";
|
|
33
|
+
import "./chunk-23LS4LWC.js";
|
|
34
|
+
import "./chunk-GTKW4IGC.js";
|
|
35
|
+
import "./chunk-TOLAWKAY.js";
|
|
42
36
|
import "./chunk-2COYZMUJ.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-OWMQLML7.js";
|
|
37
|
+
import "./chunk-IP6XWQU2.js";
|
|
38
|
+
import "./chunk-I6T64MLT.js";
|
|
39
|
+
import "./chunk-EMSSTOOK.js";
|
|
47
40
|
export {
|
|
48
41
|
AuthServiceDefinition,
|
|
49
42
|
AuthServiceFacade,
|
|
@@ -57,8 +50,6 @@ export {
|
|
|
57
50
|
SrklServiceFacade,
|
|
58
51
|
StorageServiceDefinition,
|
|
59
52
|
StorageServiceFacade,
|
|
60
|
-
WorkspaceGraphServiceDefinition,
|
|
61
|
-
WorkspaceGraphServiceFacade,
|
|
62
53
|
WorkspaceServiceDefinition,
|
|
63
54
|
WorkspaceServiceFacade,
|
|
64
55
|
krnlAuthServiceDefinition,
|
|
@@ -73,8 +64,6 @@ export {
|
|
|
73
64
|
krnlSrklServiceFacade,
|
|
74
65
|
krnlStorageServiceDefinition,
|
|
75
66
|
krnlStorageServiceFacade,
|
|
76
|
-
krnlWorkspaceGraphServiceDefinition,
|
|
77
|
-
krnlWorkspaceGraphServiceFacade,
|
|
78
67
|
krnlWorkspaceServiceDefinition,
|
|
79
68
|
krnlWorkspaceServiceFacade
|
|
80
69
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file krnl-services.node.ts
|
|
3
|
+
* @description Node-only service extensions. Keep filesystem-backed services
|
|
4
|
+
* out of the portable Fetch service entrypoint.
|
|
5
|
+
*/
|
|
6
|
+
import { type ServiceDefinition } from '@ultrst-armada/krnl';
|
|
7
|
+
export declare const WorkspaceGraphServiceDefinition: ServiceDefinition;
|
|
8
|
+
export declare const WorkspaceGraphServiceFacade: {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
version: string;
|
|
12
|
+
runtime: "server";
|
|
13
|
+
deployment: "local";
|
|
14
|
+
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
15
|
+
createInstance: () => import("@ultrst-armada/krnl").ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
16
|
+
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
17
|
+
};
|
|
18
|
+
export declare const krnlWorkspaceGraphServiceDefinition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
19
|
+
export declare const krnlWorkspaceGraphServiceFacade: {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
version: string;
|
|
23
|
+
runtime: "server";
|
|
24
|
+
deployment: "local";
|
|
25
|
+
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
26
|
+
createInstance: () => import("@ultrst-armada/krnl").ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
27
|
+
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
28
|
+
};
|
|
@@ -11,9 +11,12 @@ export * from './luth/index.js';
|
|
|
11
11
|
export type { Runtime, Deployment, FunctionSet, ServiceFacade, OrchestrationFn, BackendFacade, ServiceRegistryRecord, } from './architecture/types.js';
|
|
12
12
|
export { validateServiceDefinition } from './architecture/types.js';
|
|
13
13
|
export * from './services/node.js';
|
|
14
|
+
import './core/workspaceFileNodeAdapter.js';
|
|
15
|
+
import './core/unifiedDbNodeAdapter.js';
|
|
14
16
|
export * from './core/index.js';
|
|
15
17
|
export * from './server/index.js';
|
|
16
18
|
export * from './krnl-services.js';
|
|
19
|
+
export * from './krnl-services.node.js';
|
|
17
20
|
export * from './resourceEngine/index.js';
|
|
18
21
|
export * from './resolver/systemDatabaseUrl.js';
|
|
19
22
|
export { authorizeB2, b2DownloadFile, b2ListBuckets, b2ListFileNames, b2UploadFile, } from './storage/index.js';
|
|
@@ -26,3 +29,4 @@ export * from './ai-keys/index.js';
|
|
|
26
29
|
export * from './ai-tools/index.js';
|
|
27
30
|
export * from './krnl-ai-services.js';
|
|
28
31
|
export * from './development/wasmRuntimeService.js';
|
|
32
|
+
export * from './provider-services/node.js';
|