@ultrst-armada/kloks 2.0.5 → 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 +71 -1
- package/packages/backend/dist/{chunk-IRNQXVYA.js → chunk-23LS4LWC.js} +2 -2
- 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-6BL5DXFZ.js +43 -0
- package/packages/backend/dist/{chunk-Z2CT2MJ2.js → chunk-6I7I4C6H.js} +1 -1
- package/packages/backend/dist/{chunk-TRP76UR2.js → chunk-DJ457D5D.js} +1 -1
- package/packages/backend/dist/{chunk-WYEVA4RC.js → chunk-DTPCWHQJ.js} +1 -1
- package/packages/backend/dist/{chunk-XKUWLO2M.js → chunk-ENMIBY2V.js} +2 -2
- package/packages/backend/dist/chunk-EQFZX3JT.js +63 -0
- package/packages/backend/dist/chunk-FKK23J2A.js +363 -0
- package/packages/backend/dist/{chunk-BRNWUIH5.js → chunk-GTKW4IGC.js} +1 -1
- package/packages/backend/dist/chunk-HRJCGJTR.js +261 -0
- package/packages/backend/dist/chunk-IKDYKRVH.js +51 -0
- package/packages/backend/dist/chunk-JGR6BJVX.js +74 -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-ICVDGH2I.js → chunk-U7T65YUP.js} +5 -5
- package/packages/backend/dist/chunk-YFMHT77Z.js +58 -0
- package/packages/backend/dist/client-JXGCPWEA.js +7 -0
- package/packages/backend/dist/index.d.ts +1 -0
- package/packages/backend/dist/index.js +118 -9
- package/packages/backend/dist/krnl-services.js +6 -6
- package/packages/backend/dist/node.d.ts +1 -0
- package/packages/backend/dist/node.js +79 -43
- 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/services/node.js +5 -5
- package/packages/backend/dist/srkl/index.js +4 -4
- package/packages/backend/dist/workspace/node.js +6 -6
- package/packages/backend/dist/{workspaceFileCore-UURQPP62.js → workspaceFileCore-RQO7YMRD.js} +3 -3
- package/packages/backend/package.json +71 -1
- package/packages/state-graph/dist/browser.js +16 -16
- package/packages/state-graph/dist/index.js +16 -16
- package/packages/backend/dist/{chunk-FSOOAU6G.js → chunk-TOLAWKAY.js} +4 -4
- package/packages/state-graph/dist/{chunk-YUJC367F.js → chunk-UKTICGGV.js} +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./chunk-RABSY2JU.js";
|
|
2
1
|
import "./chunk-GVMVYC6C.js";
|
|
3
2
|
import "./chunk-2Y2EXYDK.js";
|
|
4
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-RABSY2JU.js";
|
|
5
4
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
5
|
+
calculateProviderCapacity
|
|
6
|
+
} from "./chunk-5SXOQAAX.js";
|
|
7
|
+
import "./chunk-DAG2L4RN.js";
|
|
8
8
|
import {
|
|
9
9
|
isSecretMasked,
|
|
10
10
|
normalizeBackblazeCredentials,
|
|
@@ -13,6 +13,68 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
BaseStorageAdapter
|
|
15
15
|
} from "./chunk-5Y7K7HAT.js";
|
|
16
|
+
import {
|
|
17
|
+
WorkspaceCloneSyncEngine
|
|
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";
|
|
16
78
|
import {
|
|
17
79
|
BaseApiRoute,
|
|
18
80
|
createSSEResponse,
|
|
@@ -53,6 +115,12 @@ import {
|
|
|
53
115
|
createBackendClient
|
|
54
116
|
} from "./chunk-NIP22V2G.js";
|
|
55
117
|
import "./chunk-LMY6MGFD.js";
|
|
118
|
+
import {
|
|
119
|
+
normalizeSystemEnvironment,
|
|
120
|
+
resolveSystemDatabaseUrl,
|
|
121
|
+
resolveSystemDatabaseUrlCandidates,
|
|
122
|
+
tryResolveSystemDatabaseUrl
|
|
123
|
+
} from "./chunk-IP6XWQU2.js";
|
|
56
124
|
import {
|
|
57
125
|
authorizeB2,
|
|
58
126
|
b2DownloadFile,
|
|
@@ -61,11 +129,9 @@ import {
|
|
|
61
129
|
b2UploadFile2 as b2UploadFile
|
|
62
130
|
} from "./chunk-I6T64MLT.js";
|
|
63
131
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
tryResolveSystemDatabaseUrl
|
|
68
|
-
} from "./chunk-IP6XWQU2.js";
|
|
132
|
+
GOOGLE_DRIVE_WORKSPACE_SCOPE,
|
|
133
|
+
GoogleDriveWorkspaceService
|
|
134
|
+
} from "./chunk-EMSSTOOK.js";
|
|
69
135
|
export {
|
|
70
136
|
BackendClient,
|
|
71
137
|
BackendRegistry,
|
|
@@ -78,6 +144,8 @@ export {
|
|
|
78
144
|
ConcurrencyManager,
|
|
79
145
|
EventBus,
|
|
80
146
|
FrontendSession,
|
|
147
|
+
GOOGLE_DRIVE_WORKSPACE_SCOPE,
|
|
148
|
+
GoogleDriveWorkspaceService,
|
|
81
149
|
HTTPTransport,
|
|
82
150
|
HealthMonitor,
|
|
83
151
|
IdempotencyManager,
|
|
@@ -89,27 +157,68 @@ export {
|
|
|
89
157
|
LuthAuthError,
|
|
90
158
|
RemoteExecutor,
|
|
91
159
|
SequenceTracker,
|
|
160
|
+
UnsupportedStorageOperation,
|
|
92
161
|
WebSocketTransport,
|
|
93
162
|
WorkspaceCloneSyncEngine,
|
|
163
|
+
assertStorageOperation,
|
|
94
164
|
authorizeB2,
|
|
165
|
+
authorizeB2 as authorizeBackblazeB2,
|
|
95
166
|
b2DownloadFile,
|
|
96
167
|
b2ListBuckets,
|
|
97
168
|
b2ListFileNames,
|
|
98
169
|
b2UploadFile,
|
|
170
|
+
calculateProviderCapacity,
|
|
171
|
+
continueDropboxFolder,
|
|
172
|
+
createBackblazeB2StorageService,
|
|
99
173
|
createBackendClient,
|
|
100
174
|
createLuthAuthClient2 as createCanonicalAuthClient,
|
|
175
|
+
createCanonicalStorageService,
|
|
176
|
+
createDropboxStorageService,
|
|
101
177
|
createEmptyContract,
|
|
178
|
+
createGitHubStorageService,
|
|
179
|
+
createGoogleDriveStorageService,
|
|
102
180
|
createLuthAuthClient,
|
|
181
|
+
createProviderClient,
|
|
103
182
|
createSSEResponse,
|
|
183
|
+
b2DownloadFile as downloadBackblazeB2File,
|
|
184
|
+
fetchCloudflareCapacity,
|
|
185
|
+
fetchVercelCapacity,
|
|
186
|
+
getCanonicalStorageCapabilities,
|
|
187
|
+
getGeminiQuotaStatus,
|
|
188
|
+
getGoogleAccountProfile,
|
|
189
|
+
getProviderService,
|
|
190
|
+
getProviderServicePath,
|
|
104
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,
|
|
105
210
|
normalizeBackblazeCredentials,
|
|
211
|
+
normalizeStoragePath,
|
|
106
212
|
normalizeSystemEnvironment,
|
|
213
|
+
readOnlyService,
|
|
107
214
|
resolveBackblazeEndpoint,
|
|
108
215
|
resolveClientEnvironment,
|
|
109
216
|
resolveClientOrigin,
|
|
217
|
+
resolveProviderServiceId,
|
|
110
218
|
resolveSystemDatabaseUrl,
|
|
111
219
|
resolveSystemDatabaseUrlCandidates,
|
|
112
220
|
tryResolveSystemDatabaseUrl,
|
|
221
|
+
b2UploadFile as uploadBackblazeB2File,
|
|
113
222
|
withAuth,
|
|
114
223
|
withCors
|
|
115
224
|
};
|
|
@@ -27,15 +27,15 @@ import {
|
|
|
27
27
|
krnlStorageServiceFacade,
|
|
28
28
|
krnlWorkspaceServiceDefinition,
|
|
29
29
|
krnlWorkspaceServiceFacade
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-U7T65YUP.js";
|
|
31
|
+
import "./chunk-DJ457D5D.js";
|
|
32
32
|
import "./chunk-FZKBTF34.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-23LS4LWC.js";
|
|
34
|
+
import "./chunk-GTKW4IGC.js";
|
|
35
|
+
import "./chunk-TOLAWKAY.js";
|
|
36
36
|
import "./chunk-2COYZMUJ.js";
|
|
37
|
-
import "./chunk-I6T64MLT.js";
|
|
38
37
|
import "./chunk-IP6XWQU2.js";
|
|
38
|
+
import "./chunk-I6T64MLT.js";
|
|
39
39
|
import "./chunk-EMSSTOOK.js";
|
|
40
40
|
export {
|
|
41
41
|
AuthServiceDefinition,
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CompositeBackend,
|
|
3
|
+
EndpointGenerator,
|
|
4
|
+
LOCAL_STORAGE_GRAPHS_PREFIX,
|
|
5
|
+
NodeGraphPersistenceService,
|
|
6
|
+
createBackend,
|
|
7
|
+
createCompositeService,
|
|
8
|
+
createLocalService,
|
|
9
|
+
createRemoteService,
|
|
10
|
+
exportGraphAsJsonFile,
|
|
11
|
+
nodeGraphPersistence,
|
|
12
|
+
parseGraphJsonFile,
|
|
13
|
+
validateGraphDocument,
|
|
14
|
+
workspaceGraphService
|
|
15
|
+
} from "./chunk-6I7I4C6H.js";
|
|
1
16
|
import {
|
|
2
17
|
CANONICAL_SRKL_URL,
|
|
3
18
|
SrklClient,
|
|
@@ -15,8 +30,20 @@ import {
|
|
|
15
30
|
srklService,
|
|
16
31
|
syncSrklAccounts,
|
|
17
32
|
useSrklServices
|
|
18
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-DTPCWHQJ.js";
|
|
19
34
|
import "./chunk-G4EDIAHW.js";
|
|
35
|
+
import {
|
|
36
|
+
BackblazeB2Adapter,
|
|
37
|
+
BucketStorageService,
|
|
38
|
+
LocalFSAdapter,
|
|
39
|
+
S3Adapter,
|
|
40
|
+
StorageAdapterFactory,
|
|
41
|
+
SupabaseStorageAdapter,
|
|
42
|
+
ensureS3DirectoryMarker,
|
|
43
|
+
permanentDeleteS3Folder,
|
|
44
|
+
permanentDeleteS3Object,
|
|
45
|
+
renameS3Folder
|
|
46
|
+
} from "./chunk-AUNIGE6Q.js";
|
|
20
47
|
import {
|
|
21
48
|
RemoteWorkspaceService,
|
|
22
49
|
SyncEngine,
|
|
@@ -31,37 +58,24 @@ import {
|
|
|
31
58
|
setWorkingWorkspaceConfig,
|
|
32
59
|
syncWorkspace,
|
|
33
60
|
workingWorkspaceService
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import {
|
|
36
|
-
CompositeBackend,
|
|
37
|
-
EndpointGenerator,
|
|
38
|
-
LOCAL_STORAGE_GRAPHS_PREFIX,
|
|
39
|
-
NodeGraphPersistenceService,
|
|
40
|
-
createBackend,
|
|
41
|
-
createCompositeService,
|
|
42
|
-
createLocalService,
|
|
43
|
-
createRemoteService,
|
|
44
|
-
exportGraphAsJsonFile,
|
|
45
|
-
nodeGraphPersistence,
|
|
46
|
-
parseGraphJsonFile,
|
|
47
|
-
validateGraphDocument,
|
|
48
|
-
workspaceGraphService
|
|
49
|
-
} from "./chunk-Z2CT2MJ2.js";
|
|
50
|
-
import {
|
|
51
|
-
BackblazeB2Adapter,
|
|
52
|
-
BucketStorageService,
|
|
53
|
-
LocalFSAdapter,
|
|
54
|
-
S3Adapter,
|
|
55
|
-
StorageAdapterFactory,
|
|
56
|
-
SupabaseStorageAdapter,
|
|
57
|
-
ensureS3DirectoryMarker,
|
|
58
|
-
permanentDeleteS3Folder,
|
|
59
|
-
permanentDeleteS3Object,
|
|
60
|
-
renameS3Folder
|
|
61
|
-
} from "./chunk-AUNIGE6Q.js";
|
|
61
|
+
} from "./chunk-ENMIBY2V.js";
|
|
62
62
|
import {
|
|
63
63
|
GoogleDriveStorageService
|
|
64
64
|
} from "./chunk-TRJVVNO7.js";
|
|
65
|
+
import {
|
|
66
|
+
BackblazeB2ProviderService,
|
|
67
|
+
CloudflareProviderService,
|
|
68
|
+
DropboxProviderService,
|
|
69
|
+
GeminiProviderService,
|
|
70
|
+
GitHubProviderService,
|
|
71
|
+
GitLabProviderService,
|
|
72
|
+
GoogleAccountProviderService,
|
|
73
|
+
GoogleDriveProviderService,
|
|
74
|
+
VercelProviderService
|
|
75
|
+
} from "./chunk-HRJCGJTR.js";
|
|
76
|
+
import {
|
|
77
|
+
CanonicalStorageProviderService
|
|
78
|
+
} from "./chunk-QYWVZBI6.js";
|
|
65
79
|
import "./chunk-LV55WKZR.js";
|
|
66
80
|
import "./chunk-WVDSMTW3.js";
|
|
67
81
|
import {
|
|
@@ -83,9 +97,6 @@ import {
|
|
|
83
97
|
} from "./chunk-CV55JMT7.js";
|
|
84
98
|
import "./chunk-LC6ULEM2.js";
|
|
85
99
|
import "./chunk-DAG2L4RN.js";
|
|
86
|
-
import {
|
|
87
|
-
WorkspaceCloneSyncEngine
|
|
88
|
-
} from "./chunk-CDRHYO44.js";
|
|
89
100
|
import {
|
|
90
101
|
isSecretMasked,
|
|
91
102
|
normalizeBackblazeCredentials,
|
|
@@ -94,6 +105,21 @@ import {
|
|
|
94
105
|
import {
|
|
95
106
|
BaseStorageAdapter
|
|
96
107
|
} from "./chunk-5Y7K7HAT.js";
|
|
108
|
+
import {
|
|
109
|
+
WorkspaceCloneSyncEngine
|
|
110
|
+
} from "./chunk-CDRHYO44.js";
|
|
111
|
+
import "./chunk-NFK6YFTA.js";
|
|
112
|
+
import "./chunk-3UZFKB4M.js";
|
|
113
|
+
import "./chunk-EQFZX3JT.js";
|
|
114
|
+
import "./chunk-IKDYKRVH.js";
|
|
115
|
+
import "./chunk-OT2PSPBK.js";
|
|
116
|
+
import "./chunk-NZWCPJDJ.js";
|
|
117
|
+
import "./chunk-5GW5PJWQ.js";
|
|
118
|
+
import "./chunk-6BL5DXFZ.js";
|
|
119
|
+
import "./chunk-YFMHT77Z.js";
|
|
120
|
+
import "./chunk-FKK23J2A.js";
|
|
121
|
+
import "./chunk-JGR6BJVX.js";
|
|
122
|
+
import "./chunk-5UVJDX7Q.js";
|
|
97
123
|
import {
|
|
98
124
|
BaseApiRoute,
|
|
99
125
|
createSSEResponse,
|
|
@@ -205,12 +231,12 @@ import {
|
|
|
205
231
|
readUserWorkspaceStorageFile,
|
|
206
232
|
verifyGoogleDriveAuthorizationState,
|
|
207
233
|
writeUserWorkspaceStorageFile
|
|
208
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-U7T65YUP.js";
|
|
209
235
|
import {
|
|
210
236
|
getPrimarySrklDeploymentUrl,
|
|
211
237
|
getSrklAccounts,
|
|
212
238
|
srklListBackblazeBuckets
|
|
213
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-DJ457D5D.js";
|
|
214
240
|
import {
|
|
215
241
|
formatCanonicalWorkspaceFolderName,
|
|
216
242
|
sanitizeWorkspaceName
|
|
@@ -229,7 +255,7 @@ import {
|
|
|
229
255
|
syncWorkspaceDataToBucket,
|
|
230
256
|
syncWorkspaceDeleteToBucket,
|
|
231
257
|
updateWorkspace
|
|
232
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-23LS4LWC.js";
|
|
233
259
|
import {
|
|
234
260
|
configureLocalWorkspaceFileAdapter,
|
|
235
261
|
deleteWorkspaceFile,
|
|
@@ -241,7 +267,7 @@ import {
|
|
|
241
267
|
normalizeWorkspaceStoragePath,
|
|
242
268
|
readWorkspaceFile,
|
|
243
269
|
writeWorkspaceFile
|
|
244
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-GTKW4IGC.js";
|
|
245
271
|
import {
|
|
246
272
|
cleanDbUrl,
|
|
247
273
|
completeGoogleDriveAuthorization,
|
|
@@ -270,11 +296,17 @@ import {
|
|
|
270
296
|
testGoogleDriveConnectionForUser,
|
|
271
297
|
toPublicStorageConnection,
|
|
272
298
|
writeGoogleDriveFileForConnection
|
|
273
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-TOLAWKAY.js";
|
|
274
300
|
import {
|
|
275
301
|
loginSystemUser,
|
|
276
302
|
resolveUserFromToken
|
|
277
303
|
} from "./chunk-2COYZMUJ.js";
|
|
304
|
+
import {
|
|
305
|
+
normalizeSystemEnvironment,
|
|
306
|
+
resolveSystemDatabaseUrl,
|
|
307
|
+
resolveSystemDatabaseUrlCandidates,
|
|
308
|
+
tryResolveSystemDatabaseUrl
|
|
309
|
+
} from "./chunk-IP6XWQU2.js";
|
|
278
310
|
import {
|
|
279
311
|
authorizeB2,
|
|
280
312
|
b2DeleteFileVersion,
|
|
@@ -285,12 +317,6 @@ import {
|
|
|
285
317
|
b2UploadFile2 as b2UploadFile,
|
|
286
318
|
getB2BucketId
|
|
287
319
|
} from "./chunk-I6T64MLT.js";
|
|
288
|
-
import {
|
|
289
|
-
normalizeSystemEnvironment,
|
|
290
|
-
resolveSystemDatabaseUrl,
|
|
291
|
-
resolveSystemDatabaseUrlCandidates,
|
|
292
|
-
tryResolveSystemDatabaseUrl
|
|
293
|
-
} from "./chunk-IP6XWQU2.js";
|
|
294
320
|
import "./chunk-EMSSTOOK.js";
|
|
295
321
|
import {
|
|
296
322
|
DeterministicEndpointExecutor,
|
|
@@ -4574,6 +4600,7 @@ export {
|
|
|
4574
4600
|
AuthServiceDefinition,
|
|
4575
4601
|
AuthServiceFacade,
|
|
4576
4602
|
BackblazeB2Adapter,
|
|
4603
|
+
BackblazeB2ProviderService,
|
|
4577
4604
|
BackendClient,
|
|
4578
4605
|
BackendProvider,
|
|
4579
4606
|
BackendRegistry,
|
|
@@ -4586,6 +4613,8 @@ export {
|
|
|
4586
4613
|
CANONICAL_SRKL_URL,
|
|
4587
4614
|
CallbackRegistry,
|
|
4588
4615
|
LuthAuthClient2 as CanonicalAuthClient,
|
|
4616
|
+
CanonicalStorageProviderService,
|
|
4617
|
+
CloudflareProviderService,
|
|
4589
4618
|
CloudflareResourceFetcher,
|
|
4590
4619
|
CompositeBackend,
|
|
4591
4620
|
ConcurrencyConflictError,
|
|
@@ -4597,6 +4626,7 @@ export {
|
|
|
4597
4626
|
DatabaseServiceDefinition,
|
|
4598
4627
|
DatabaseServiceFacade,
|
|
4599
4628
|
DeterministicEndpointExecutor,
|
|
4629
|
+
DropboxProviderService,
|
|
4600
4630
|
EndpointGenerator,
|
|
4601
4631
|
EndpointRefresher,
|
|
4602
4632
|
EventBus,
|
|
@@ -4604,8 +4634,13 @@ export {
|
|
|
4604
4634
|
FrontendSession,
|
|
4605
4635
|
FunctionalityTable,
|
|
4606
4636
|
GRAPHS_ROOT,
|
|
4637
|
+
GeminiProviderService,
|
|
4607
4638
|
GeminiServiceDefinition,
|
|
4608
4639
|
GeminiServiceFacade,
|
|
4640
|
+
GitHubProviderService,
|
|
4641
|
+
GitLabProviderService,
|
|
4642
|
+
GoogleAccountProviderService,
|
|
4643
|
+
GoogleDriveProviderService,
|
|
4609
4644
|
GoogleDriveStorageService,
|
|
4610
4645
|
HTTPTransport,
|
|
4611
4646
|
HealthCheckService,
|
|
@@ -4652,6 +4687,7 @@ export {
|
|
|
4652
4687
|
SupabaseStorageAdapter,
|
|
4653
4688
|
SyncEngine,
|
|
4654
4689
|
ToolManagerService,
|
|
4690
|
+
VercelProviderService,
|
|
4655
4691
|
VercelResourceFetcher,
|
|
4656
4692
|
WORKSPACE_ASSETS_ROOT,
|
|
4657
4693
|
WORKSPACE_ROOT,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ProviderConnection } from './types.js';
|
|
2
|
+
export interface ProviderRequest {
|
|
3
|
+
path: string;
|
|
4
|
+
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
5
|
+
body?: unknown;
|
|
6
|
+
timeoutMs?: number;
|
|
7
|
+
query?: Record<string, string | number | boolean>;
|
|
8
|
+
}
|
|
9
|
+
export interface ProviderResponse<T> {
|
|
10
|
+
data: T;
|
|
11
|
+
status: number;
|
|
12
|
+
headers: Headers;
|
|
13
|
+
}
|
|
14
|
+
/** Server-side only: callers resolve scoped credentials from SRKL/Luth before creation. */
|
|
15
|
+
export declare function createProviderClient(connection: ProviderConnection, transport?: typeof fetch): {
|
|
16
|
+
providerId: string;
|
|
17
|
+
request: <T = unknown>(options: ProviderRequest) => Promise<ProviderResponse<T>>;
|
|
18
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ProviderConnection, ProviderUsageSnapshot } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Measure Cloudflare Workers Free DAILY requests, not a fictional monthly quota.
|
|
4
|
+
* Paid plans require an explicit budget policy and are not eligible by default.
|
|
5
|
+
*/
|
|
6
|
+
export declare function fetchCloudflareCapacity(connection: ProviderConnection, plan: 'free' | 'paid', now?: Date, transport?: typeof fetch): Promise<ProviderUsageSnapshot>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const CloudflareProviderService: {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
version: string;
|
|
5
|
+
runtime: "server";
|
|
6
|
+
deployment: "local";
|
|
7
|
+
definition: import("@ultrst-armada/krnl").ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
8
|
+
readonly telemetry: import("@ultrst-armada/krnl").TelemetryController;
|
|
9
|
+
createInstance: () => import("@ultrst-armada/krnl").ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
10
|
+
execute: <TIn = unknown, TOut = unknown>(operation: string, input: TIn) => Promise<TOut>;
|
|
11
|
+
};
|
|
12
|
+
export declare const VercelProviderService: {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
version: string;
|
|
16
|
+
runtime: "server";
|
|
17
|
+
deployment: "local";
|
|
18
|
+
definition: import("@ultrst-armada/krnl").ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
19
|
+
readonly telemetry: import("@ultrst-armada/krnl").TelemetryController;
|
|
20
|
+
createInstance: () => import("@ultrst-armada/krnl").ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
21
|
+
execute: <TIn = unknown, TOut = unknown>(operation: string, input: TIn) => Promise<TOut>;
|
|
22
|
+
};
|
|
23
|
+
export declare const GoogleAccountProviderService: {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
version: string;
|
|
27
|
+
runtime: "server";
|
|
28
|
+
deployment: "local";
|
|
29
|
+
definition: import("@ultrst-armada/krnl").ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
30
|
+
readonly telemetry: import("@ultrst-armada/krnl").TelemetryController;
|
|
31
|
+
createInstance: () => import("@ultrst-armada/krnl").ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
32
|
+
execute: <TIn = unknown, TOut = unknown>(operation: string, input: TIn) => Promise<TOut>;
|
|
33
|
+
};
|
|
34
|
+
export declare const GeminiProviderService: {
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
version: string;
|
|
38
|
+
runtime: "server";
|
|
39
|
+
deployment: "local";
|
|
40
|
+
definition: import("@ultrst-armada/krnl").ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
41
|
+
readonly telemetry: import("@ultrst-armada/krnl").TelemetryController;
|
|
42
|
+
createInstance: () => import("@ultrst-armada/krnl").ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
43
|
+
execute: <TIn = unknown, TOut = unknown>(operation: string, input: TIn) => Promise<TOut>;
|
|
44
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ProviderConnection, ProviderUsageSnapshot } from './types.js';
|
|
2
|
+
/** Gemini key can enumerate models, but does not imply Google OAuth/Drive grants. */
|
|
3
|
+
export declare function listGeminiModels(connection: ProviderConnection, transport?: typeof fetch): Promise<Array<{
|
|
4
|
+
name: string;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
}>>;
|
|
7
|
+
/** Model/project-specific quotas cannot be inferred from an account's API key. */
|
|
8
|
+
export declare function getGeminiQuotaStatus(accountId: string): ProviderUsageSnapshot;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cloudRunService: import("../types.js").ProviderDefinition;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cloudShellService: import("../types.js").ProviderDefinition;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cloudStorageService: import("../types.js").ProviderDefinition;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Selectively import Google Drive. No Gemini API or other Google Cloud services. */
|
|
2
|
+
export { GoogleDriveWorkspaceService, GOOGLE_DRIVE_WORKSPACE_SCOPE } from '../../storage/GoogleDriveWorkspaceService.js';
|
|
3
|
+
export { createGoogleDriveStorageService } from '../storage/google-drive.js';
|
|
4
|
+
export declare const driveService: import("../types.js").ProviderDefinition;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createGoogleDriveStorageService
|
|
3
|
+
} from "../../chunk-6BL5DXFZ.js";
|
|
4
|
+
import {
|
|
5
|
+
getProviderService
|
|
6
|
+
} from "../../chunk-FKK23J2A.js";
|
|
7
|
+
import "../../chunk-5UVJDX7Q.js";
|
|
8
|
+
import {
|
|
9
|
+
GOOGLE_DRIVE_WORKSPACE_SCOPE,
|
|
10
|
+
GoogleDriveWorkspaceService
|
|
11
|
+
} from "../../chunk-EMSSTOOK.js";
|
|
12
|
+
|
|
13
|
+
// src/provider-services/google/drive.ts
|
|
14
|
+
var driveService = getProviderService("google-drive");
|
|
15
|
+
export {
|
|
16
|
+
GOOGLE_DRIVE_WORKSPACE_SCOPE,
|
|
17
|
+
GoogleDriveWorkspaceService,
|
|
18
|
+
createGoogleDriveStorageService,
|
|
19
|
+
driveService
|
|
20
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getGoogleAccountProfile
|
|
3
|
+
} from "../../chunk-EQFZX3JT.js";
|
|
4
|
+
import "../../chunk-YFMHT77Z.js";
|
|
5
|
+
import {
|
|
6
|
+
getProviderService,
|
|
7
|
+
listProviderServiceChildren
|
|
8
|
+
} from "../../chunk-FKK23J2A.js";
|
|
9
|
+
|
|
10
|
+
// src/provider-services/google/index.ts
|
|
11
|
+
var getGoogleSuite = () => getProviderService("google");
|
|
12
|
+
var listGoogleServices = () => listProviderServiceChildren("google");
|
|
13
|
+
export {
|
|
14
|
+
getGoogleAccountProfile,
|
|
15
|
+
getGoogleSuite,
|
|
16
|
+
listGoogleServices
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const vertexAiService: import("../types.js").ProviderDefinition;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Stable, portable entrypoint for SRKL, DEPM, and other application consumers. */
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './registry.js';
|
|
4
|
+
export * from './capacity.js';
|
|
5
|
+
export * from './client.js';
|
|
6
|
+
export * from './cloudflare.js';
|
|
7
|
+
export * from './vercel.js';
|
|
8
|
+
export * from './gemini.js';
|
|
9
|
+
export * from './operations.js';
|
|
10
|
+
export * from './storage-providers.js';
|
|
11
|
+
export * from './storage/index.js';
|