@ultrst-armada/kloks 1.21.0 → 1.22.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/.krusbl-release-attestation.json +3 -3
- package/package.json +4 -4
- package/packages/audio-midi/dist/{audioClipEngine-BOT33JKI.js → audioClipEngine-E5ODQNYR.js} +3 -2
- package/packages/audio-midi/dist/{audioInputManager-BLDGGLAR.js → audioInputManager-OOH3TOJ6.js} +2 -1
- package/packages/audio-midi/dist/{chunk-N55BWOC6.js → chunk-2U7VIADS.js} +1 -1
- package/packages/audio-midi/dist/{chunk-3GRGELA4.js → chunk-3FXNT6PF.js} +2 -2
- package/packages/audio-midi/dist/chunk-QGM4M3NI.js +37 -0
- package/packages/audio-midi/dist/dist-XMSSRYDR.js +899 -0
- package/packages/audio-midi/dist/index.js +534 -75
- package/packages/audio-midi/dist/transformers.node-HWHOAE4H.js +43879 -0
- package/packages/audio-midi/package.json +1 -1
- package/packages/backend/dist/ai-inference/index.js +1 -0
- package/packages/backend/dist/ai-keys/index.d.ts +1 -0
- package/packages/backend/dist/ai-keys/index.js +2 -1
- package/packages/backend/dist/ai-models/index.js +3 -2
- package/packages/backend/dist/ai-provider/index.js +1 -0
- package/packages/backend/dist/ai-routing/index.js +4 -3
- package/packages/backend/dist/ai-tools/index.js +1 -0
- package/packages/backend/dist/api/index.js +1 -0
- package/packages/backend/dist/auth/index.js +1 -0
- package/packages/backend/dist/{chunk-RBF2OGMC.js → chunk-B3VJ4HDV.js} +4 -15
- package/packages/backend/dist/{chunk-OYVHKYJW.js → chunk-IJ5QNZCY.js} +1 -1
- package/packages/backend/dist/{chunk-4WUVDLIQ.js → chunk-LMWXONZG.js} +1 -1
- package/packages/backend/dist/chunk-MWSYNRNZ.js +871 -0
- package/packages/backend/dist/{chunk-4ONX56XS.js → chunk-NB2X3HEX.js} +26 -14
- package/packages/backend/dist/{chunk-RSKFM7AC.js → chunk-OB65KZ2M.js} +8 -5
- package/packages/backend/dist/{chunk-F7JDIU2C.js → chunk-P7H6TIEA.js} +3 -0
- package/packages/backend/dist/{chunk-UYXROZPP.js → chunk-PT6J6UEU.js} +2 -2
- package/packages/backend/dist/chunk-QGM4M3NI.js +37 -0
- package/packages/backend/dist/client/index.js +1 -0
- package/packages/backend/dist/connectivity/index.js +1 -0
- package/packages/backend/dist/control-plane/index.js +1 -0
- package/packages/backend/dist/development/index.js +3 -2
- package/packages/backend/dist/dist-XMSSRYDR.js +899 -0
- package/packages/backend/dist/index.js +77 -76
- package/packages/backend/dist/krnl-ai-services.d.ts +12 -2
- package/packages/backend/dist/krnl-ai-services.js +6 -5
- package/packages/backend/dist/krnl-services.d.ts +8 -0
- package/packages/backend/dist/krnl-services.js +7 -6
- package/packages/backend/dist/services/index.d.ts +2 -3
- package/packages/backend/dist/services/index.js +4 -3
- package/packages/backend/dist/srkl/index.js +1 -0
- package/packages/backend/dist/storage/index.js +8 -7
- package/packages/backend/dist/transformers.node-HWHOAE4H.js +43879 -0
- package/packages/backend/dist/workspace/index.js +3 -2
- package/packages/backend/package.json +5 -5
- package/packages/client/package.json +1 -1
- package/packages/contracts/package.json +1 -1
- package/packages/fod/dist/index.js +2 -2
- package/packages/fod/package.json +24 -13
- package/packages/functions/dist/chunk-QGM4M3NI.js +37 -0
- package/packages/functions/dist/dist-XMSSRYDR.js +899 -0
- package/packages/functions/dist/index.d.ts +2 -0
- package/packages/functions/dist/index.js +581 -94
- package/packages/functions/dist/transformers.node-HWHOAE4H.js +43879 -0
- package/packages/functions/package.json +1 -1
- package/packages/orchestrations/package.json +3 -3
- package/packages/services/dist/chunk-QGM4M3NI.js +37 -0
- package/packages/services/dist/dist-XMSSRYDR.js +899 -0
- package/packages/services/dist/index.d.ts +55 -8
- package/packages/services/dist/index.js +640 -85
- package/packages/services/dist/transformers.node-HWHOAE4H.js +43879 -0
- package/packages/services/package.json +1 -1
- package/packages/state-graph/dist/chunk-QGM4M3NI.js +37 -0
- package/packages/state-graph/dist/dist-XMSSRYDR.js +899 -0
- package/packages/state-graph/dist/domain/index.js +1 -0
- package/packages/state-graph/dist/index.js +602 -119
- package/packages/state-graph/dist/rules/index.js +1 -0
- package/packages/state-graph/dist/spatial/index.js +1 -0
- package/packages/state-graph/dist/state/index.js +1 -0
- package/packages/state-graph/dist/store/index.js +1 -0
- package/packages/state-graph/dist/transformers.node-HWHOAE4H.js +43879 -0
- package/packages/state-graph/package.json +1 -1
- package/packages/backend/dist/chunk-TY32TUNI.js +0 -376
- package/packages/backend/dist/{chunk-2XTHJI4I.js → chunk-6DNGLKAV.js} +3 -3
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CANONICAL_SRKL_URL,
|
|
3
|
+
SrklClient,
|
|
4
|
+
SrklCredentialRegistry,
|
|
5
|
+
SrklVaultAccessClient,
|
|
6
|
+
createSrklClient,
|
|
7
|
+
decryptVaultBufferInBrowser,
|
|
8
|
+
getPrimarySrklDeploymentUrl as getPrimarySrklDeploymentUrl2,
|
|
9
|
+
getSrklAccounts as getSrklAccounts2,
|
|
10
|
+
getSrklStatus,
|
|
11
|
+
globalCredentialRegistry,
|
|
12
|
+
hexToBytes,
|
|
13
|
+
listBackblazeBuckets,
|
|
14
|
+
srklListBackblazeBuckets as srklListBackblazeBuckets2,
|
|
15
|
+
srklService,
|
|
16
|
+
syncSrklAccounts,
|
|
17
|
+
useSrklServices
|
|
18
|
+
} from "./chunk-3IUA66RS.js";
|
|
1
19
|
import {
|
|
2
20
|
S3Adapter
|
|
3
21
|
} from "./chunk-RBQ4CW3T.js";
|
|
@@ -16,30 +34,16 @@ import {
|
|
|
16
34
|
setWorkingWorkspaceConfig,
|
|
17
35
|
syncWorkspace,
|
|
18
36
|
workingWorkspaceService
|
|
19
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6DNGLKAV.js";
|
|
20
38
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
LOCAL_STORAGE_GRAPHS_PREFIX,
|
|
24
|
-
NodeGraphPersistenceService,
|
|
25
|
-
createBackend,
|
|
26
|
-
createCompositeService,
|
|
27
|
-
createLocalService,
|
|
28
|
-
createRemoteService,
|
|
29
|
-
exportGraphAsJsonFile,
|
|
30
|
-
nodeGraphPersistence,
|
|
31
|
-
parseGraphJsonFile,
|
|
32
|
-
validateGraphDocument
|
|
33
|
-
} from "./chunk-RBF2OGMC.js";
|
|
39
|
+
validateToolInput
|
|
40
|
+
} from "./chunk-6GQNYRD6.js";
|
|
34
41
|
import {
|
|
35
42
|
BaseApiRoute,
|
|
36
43
|
createSSEResponse,
|
|
37
44
|
withAuth,
|
|
38
45
|
withCors
|
|
39
46
|
} from "./chunk-TWCEVES2.js";
|
|
40
|
-
import {
|
|
41
|
-
validateToolInput
|
|
42
|
-
} from "./chunk-6GQNYRD6.js";
|
|
43
47
|
import {
|
|
44
48
|
AdminGuard,
|
|
45
49
|
BaseAccountProvider,
|
|
@@ -51,6 +55,14 @@ import {
|
|
|
51
55
|
useBackend,
|
|
52
56
|
useBackendClient
|
|
53
57
|
} from "./chunk-N7OUR5R5.js";
|
|
58
|
+
import {
|
|
59
|
+
AuditLogger,
|
|
60
|
+
ControlPlaneManager,
|
|
61
|
+
DatabaseClusterManager,
|
|
62
|
+
detectDatabaseEngine,
|
|
63
|
+
getSystemDatabaseUrls,
|
|
64
|
+
resolveSystemDatabaseClusterNodes
|
|
65
|
+
} from "./chunk-RCCQ7IRM.js";
|
|
54
66
|
import {
|
|
55
67
|
BackendRegistry,
|
|
56
68
|
ConcurrencyConflictError,
|
|
@@ -75,14 +87,6 @@ import {
|
|
|
75
87
|
WebSocketTransport,
|
|
76
88
|
createBackendClient
|
|
77
89
|
} from "./chunk-NIP22V2G.js";
|
|
78
|
-
import {
|
|
79
|
-
AuditLogger,
|
|
80
|
-
ControlPlaneManager,
|
|
81
|
-
DatabaseClusterManager,
|
|
82
|
-
detectDatabaseEngine,
|
|
83
|
-
getSystemDatabaseUrls,
|
|
84
|
-
resolveSystemDatabaseClusterNodes
|
|
85
|
-
} from "./chunk-RCCQ7IRM.js";
|
|
86
90
|
import {
|
|
87
91
|
AgentHarnessRuntime,
|
|
88
92
|
AgentHarnessServiceDefinition,
|
|
@@ -106,25 +110,21 @@ import {
|
|
|
106
110
|
WebContainerServiceFacade,
|
|
107
111
|
codeDiagnosticsService,
|
|
108
112
|
resolveDevelopmentCommand
|
|
109
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-IJ5QNZCY.js";
|
|
110
114
|
import {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
srklService,
|
|
125
|
-
syncSrklAccounts,
|
|
126
|
-
useSrklServices
|
|
127
|
-
} from "./chunk-3IUA66RS.js";
|
|
115
|
+
CompositeBackend,
|
|
116
|
+
EndpointGenerator,
|
|
117
|
+
LOCAL_STORAGE_GRAPHS_PREFIX,
|
|
118
|
+
NodeGraphPersistenceService,
|
|
119
|
+
createBackend,
|
|
120
|
+
createCompositeService,
|
|
121
|
+
createLocalService,
|
|
122
|
+
createRemoteService,
|
|
123
|
+
exportGraphAsJsonFile,
|
|
124
|
+
nodeGraphPersistence,
|
|
125
|
+
parseGraphJsonFile,
|
|
126
|
+
validateGraphDocument
|
|
127
|
+
} from "./chunk-B3VJ4HDV.js";
|
|
128
128
|
import {
|
|
129
129
|
AIInferenceServiceDefinition,
|
|
130
130
|
AIInferenceServiceFacade,
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
AIRoutingServiceFacade,
|
|
139
139
|
AIToolServiceDefinition,
|
|
140
140
|
AIToolServiceFacade
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-OB65KZ2M.js";
|
|
142
142
|
import {
|
|
143
143
|
MCPEngine,
|
|
144
144
|
ToolManagerService,
|
|
@@ -178,11 +178,31 @@ import {
|
|
|
178
178
|
krnlWorkspaceGraphServiceFacade,
|
|
179
179
|
krnlWorkspaceServiceDefinition,
|
|
180
180
|
krnlWorkspaceServiceFacade
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-NB2X3HEX.js";
|
|
182
|
+
import {
|
|
183
|
+
getPrimarySrklDeploymentUrl,
|
|
184
|
+
getSrklAccounts,
|
|
185
|
+
srklListBackblazeBuckets
|
|
186
|
+
} from "./chunk-XHADDA75.js";
|
|
187
|
+
import {
|
|
188
|
+
authorizeB2,
|
|
189
|
+
b2DownloadFile,
|
|
190
|
+
b2ListBuckets,
|
|
191
|
+
b2ListFileNames,
|
|
192
|
+
b2UploadFile
|
|
193
|
+
} from "./chunk-4QEMALXF.js";
|
|
182
194
|
import {
|
|
183
195
|
formatCanonicalWorkspaceFolderName,
|
|
184
196
|
sanitizeWorkspaceName
|
|
185
197
|
} from "./chunk-FZKBTF34.js";
|
|
198
|
+
import {
|
|
199
|
+
CanonicalAuthClient,
|
|
200
|
+
RateLimiter,
|
|
201
|
+
SessionManager,
|
|
202
|
+
createCanonicalAuthClient,
|
|
203
|
+
loginSystemUser,
|
|
204
|
+
resolveUserFromToken
|
|
205
|
+
} from "./chunk-WTBAG4AV.js";
|
|
186
206
|
import {
|
|
187
207
|
workspaceGraphService
|
|
188
208
|
} from "./chunk-47IVAXPJ.js";
|
|
@@ -221,33 +241,6 @@ import {
|
|
|
221
241
|
updateWorkspace,
|
|
222
242
|
writeWorkspaceFile
|
|
223
243
|
} from "./chunk-VN2YMZJO.js";
|
|
224
|
-
import {
|
|
225
|
-
BaseStorageAdapter,
|
|
226
|
-
GoogleDriveAdapter,
|
|
227
|
-
createGoogleDriveAuthorizationUrl,
|
|
228
|
-
exchangeGoogleDriveCode,
|
|
229
|
-
refreshGoogleDriveAccessToken
|
|
230
|
-
} from "./chunk-KKRWZDMN.js";
|
|
231
|
-
import {
|
|
232
|
-
CanonicalAuthClient,
|
|
233
|
-
RateLimiter,
|
|
234
|
-
SessionManager,
|
|
235
|
-
createCanonicalAuthClient,
|
|
236
|
-
loginSystemUser,
|
|
237
|
-
resolveUserFromToken
|
|
238
|
-
} from "./chunk-WTBAG4AV.js";
|
|
239
|
-
import {
|
|
240
|
-
getPrimarySrklDeploymentUrl,
|
|
241
|
-
getSrklAccounts,
|
|
242
|
-
srklListBackblazeBuckets
|
|
243
|
-
} from "./chunk-XHADDA75.js";
|
|
244
|
-
import {
|
|
245
|
-
authorizeB2,
|
|
246
|
-
b2DownloadFile,
|
|
247
|
-
b2ListBuckets,
|
|
248
|
-
b2ListFileNames,
|
|
249
|
-
b2UploadFile
|
|
250
|
-
} from "./chunk-4QEMALXF.js";
|
|
251
244
|
import {
|
|
252
245
|
b2DeleteFileVersion,
|
|
253
246
|
b2DeleteFolder,
|
|
@@ -256,7 +249,14 @@ import {
|
|
|
256
249
|
getUnifiedDbUrl,
|
|
257
250
|
queryUnifiedDb
|
|
258
251
|
} from "./chunk-VAFCR2MS.js";
|
|
259
|
-
import
|
|
252
|
+
import {
|
|
253
|
+
BaseStorageAdapter,
|
|
254
|
+
GoogleDriveAdapter,
|
|
255
|
+
createGoogleDriveAuthorizationUrl,
|
|
256
|
+
exchangeGoogleDriveCode,
|
|
257
|
+
refreshGoogleDriveAccessToken
|
|
258
|
+
} from "./chunk-KKRWZDMN.js";
|
|
259
|
+
import "./chunk-MWSYNRNZ.js";
|
|
260
260
|
import {
|
|
261
261
|
DeterministicEndpointExecutor,
|
|
262
262
|
deterministicEndpointExecutor
|
|
@@ -279,7 +279,7 @@ import {
|
|
|
279
279
|
failoverExecutionEngine,
|
|
280
280
|
healthCheckService,
|
|
281
281
|
metricsLogger
|
|
282
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-PT6J6UEU.js";
|
|
283
283
|
import {
|
|
284
284
|
EndpointRefresher,
|
|
285
285
|
ModelCatalogService,
|
|
@@ -288,14 +288,14 @@ import {
|
|
|
288
288
|
endpointRefresher,
|
|
289
289
|
modelCatalog,
|
|
290
290
|
modelHealthService
|
|
291
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-LMWXONZG.js";
|
|
292
292
|
import {
|
|
293
293
|
KeyStoreService,
|
|
294
294
|
KeysStorage,
|
|
295
295
|
keyStore,
|
|
296
296
|
keysStorage,
|
|
297
297
|
validateApiKey
|
|
298
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-P7H6TIEA.js";
|
|
299
299
|
import {
|
|
300
300
|
AIProviderService,
|
|
301
301
|
aiProviderService
|
|
@@ -309,6 +309,7 @@ import {
|
|
|
309
309
|
getProviderMeta,
|
|
310
310
|
listProviders
|
|
311
311
|
} from "./chunk-JSQZAFBU.js";
|
|
312
|
+
import "./chunk-QGM4M3NI.js";
|
|
312
313
|
|
|
313
314
|
// src/data/BaseDataProvider.ts
|
|
314
315
|
import { SkipoBase } from "@ultrst-armada/kloks/functions";
|
|
@@ -2,7 +2,7 @@ import * as _ultrst_armada_krnl from '@ultrst-armada/krnl';
|
|
|
2
2
|
import { ServiceDefinition } from '@ultrst-armada/krnl';
|
|
3
3
|
import { P as ProviderId } from './types-Di4ZAQYA.js';
|
|
4
4
|
import { M as ModelCatalogEntry } from './types-fYUdf9oB.js';
|
|
5
|
-
import { A as ApiKeyEntry, R as RotationStrategy
|
|
5
|
+
import { A as ApiKeyEntry, R as RotationStrategy } from './types-NITEaxAh.js';
|
|
6
6
|
|
|
7
7
|
declare const AIProviderServiceDefinition: ServiceDefinition;
|
|
8
8
|
declare const AIProviderServiceFacade: {
|
|
@@ -68,8 +68,18 @@ declare const AIKeyServiceFacade: {
|
|
|
68
68
|
deployment: "local";
|
|
69
69
|
getKeys: (providerId?: string, modelId?: string) => ApiKeyEntry[];
|
|
70
70
|
getStrategy: () => RotationStrategy;
|
|
71
|
-
getUsageStats: (keyId?: string, modelId?: string) => KeyModelUsageStats[];
|
|
72
71
|
addKey: (input: any) => ApiKeyEntry;
|
|
72
|
+
getActiveKey: (providerId: string) => ApiKeyEntry;
|
|
73
|
+
rotateKey: (providerId: string) => ApiKeyEntry;
|
|
74
|
+
importKeys: (payload: unknown) => Promise<{
|
|
75
|
+
importedCount: number;
|
|
76
|
+
keys: ApiKeyEntry[];
|
|
77
|
+
}>;
|
|
78
|
+
exportKeysStructured: () => {
|
|
79
|
+
version: 1;
|
|
80
|
+
exportedAt: string;
|
|
81
|
+
keys: ApiKeyEntry[];
|
|
82
|
+
};
|
|
73
83
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
74
84
|
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
75
85
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
@@ -11,16 +11,17 @@ import {
|
|
|
11
11
|
AIRoutingServiceFacade,
|
|
12
12
|
AIToolServiceDefinition,
|
|
13
13
|
AIToolServiceFacade
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OB65KZ2M.js";
|
|
15
15
|
import "./chunk-U4HUGPRH.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-MWSYNRNZ.js";
|
|
17
17
|
import "./chunk-GCTQY24J.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PT6J6UEU.js";
|
|
19
|
+
import "./chunk-LMWXONZG.js";
|
|
20
|
+
import "./chunk-P7H6TIEA.js";
|
|
21
21
|
import "./chunk-SLR6SIEU.js";
|
|
22
22
|
import "./chunk-MAMK4GDH.js";
|
|
23
23
|
import "./chunk-JSQZAFBU.js";
|
|
24
|
+
import "./chunk-QGM4M3NI.js";
|
|
24
25
|
export {
|
|
25
26
|
AIInferenceServiceDefinition,
|
|
26
27
|
AIInferenceServiceFacade,
|
|
@@ -9,6 +9,7 @@ declare const AuthServiceFacade: {
|
|
|
9
9
|
runtime: "server";
|
|
10
10
|
deployment: "local";
|
|
11
11
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
12
|
+
readonly telemetry: _ultrst_armada_krnl.TelemetryController;
|
|
12
13
|
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
13
14
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
14
15
|
};
|
|
@@ -20,6 +21,7 @@ declare const StorageServiceFacade: {
|
|
|
20
21
|
runtime: "server";
|
|
21
22
|
deployment: "local";
|
|
22
23
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
24
|
+
readonly telemetry: _ultrst_armada_krnl.TelemetryController;
|
|
23
25
|
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
24
26
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
25
27
|
};
|
|
@@ -31,6 +33,7 @@ declare const WorkspaceServiceFacade: {
|
|
|
31
33
|
runtime: "server";
|
|
32
34
|
deployment: "local";
|
|
33
35
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
36
|
+
readonly telemetry: _ultrst_armada_krnl.TelemetryController;
|
|
34
37
|
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
35
38
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
36
39
|
};
|
|
@@ -42,6 +45,7 @@ declare const ControlPlaneServiceFacade: {
|
|
|
42
45
|
runtime: "server";
|
|
43
46
|
deployment: "local";
|
|
44
47
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
48
|
+
readonly telemetry: _ultrst_armada_krnl.TelemetryController;
|
|
45
49
|
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
46
50
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
47
51
|
};
|
|
@@ -75,6 +79,7 @@ declare const krnlAuthServiceFacade: {
|
|
|
75
79
|
runtime: "server";
|
|
76
80
|
deployment: "local";
|
|
77
81
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
82
|
+
readonly telemetry: _ultrst_armada_krnl.TelemetryController;
|
|
78
83
|
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
79
84
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
80
85
|
};
|
|
@@ -86,6 +91,7 @@ declare const krnlStorageServiceFacade: {
|
|
|
86
91
|
runtime: "server";
|
|
87
92
|
deployment: "local";
|
|
88
93
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
94
|
+
readonly telemetry: _ultrst_armada_krnl.TelemetryController;
|
|
89
95
|
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
90
96
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
91
97
|
};
|
|
@@ -97,6 +103,7 @@ declare const krnlWorkspaceServiceFacade: {
|
|
|
97
103
|
runtime: "server";
|
|
98
104
|
deployment: "local";
|
|
99
105
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
106
|
+
readonly telemetry: _ultrst_armada_krnl.TelemetryController;
|
|
100
107
|
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
101
108
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
102
109
|
};
|
|
@@ -108,6 +115,7 @@ declare const krnlControlPlaneServiceFacade: {
|
|
|
108
115
|
runtime: "server";
|
|
109
116
|
deployment: "local";
|
|
110
117
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
118
|
+
readonly telemetry: _ultrst_armada_krnl.TelemetryController;
|
|
111
119
|
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
112
120
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
113
121
|
};
|
|
@@ -31,17 +31,18 @@ import {
|
|
|
31
31
|
krnlWorkspaceGraphServiceFacade,
|
|
32
32
|
krnlWorkspaceServiceDefinition,
|
|
33
33
|
krnlWorkspaceServiceFacade
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NB2X3HEX.js";
|
|
35
|
+
import "./chunk-XHADDA75.js";
|
|
36
|
+
import "./chunk-4QEMALXF.js";
|
|
35
37
|
import "./chunk-FZKBTF34.js";
|
|
38
|
+
import "./chunk-WTBAG4AV.js";
|
|
36
39
|
import "./chunk-47IVAXPJ.js";
|
|
37
40
|
import "./chunk-SHZAQTIT.js";
|
|
38
41
|
import "./chunk-VN2YMZJO.js";
|
|
39
|
-
import "./chunk-KKRWZDMN.js";
|
|
40
|
-
import "./chunk-WTBAG4AV.js";
|
|
41
|
-
import "./chunk-XHADDA75.js";
|
|
42
|
-
import "./chunk-4QEMALXF.js";
|
|
43
42
|
import "./chunk-VAFCR2MS.js";
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-KKRWZDMN.js";
|
|
44
|
+
import "./chunk-MWSYNRNZ.js";
|
|
45
|
+
import "./chunk-QGM4M3NI.js";
|
|
45
46
|
export {
|
|
46
47
|
AuthServiceDefinition,
|
|
47
48
|
AuthServiceFacade,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _ultrst_armada_krnl from '@ultrst-armada/krnl';
|
|
2
|
-
import { IService, ServiceDefinition, ProtocolAdapter, EndpointDescriptor, OperationContext } from '@ultrst-armada/krnl';
|
|
2
|
+
import { IService, ServiceDefinition, ProtocolAdapter, EndpointDescriptor, TelemetryController, OperationContext } from '@ultrst-armada/krnl';
|
|
3
3
|
export { EndpointDescriptor, IService, ProtocolAdapter, ServiceDefinition } from '@ultrst-armada/krnl';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -17,6 +17,7 @@ declare class CompositeBackend implements IService {
|
|
|
17
17
|
readonly id: string;
|
|
18
18
|
readonly name: string;
|
|
19
19
|
readonly version: string;
|
|
20
|
+
readonly telemetry: TelemetryController;
|
|
20
21
|
private services;
|
|
21
22
|
private capabilitiesList;
|
|
22
23
|
constructor(name: string, version?: string);
|
|
@@ -32,8 +33,6 @@ declare class CompositeBackend implements IService {
|
|
|
32
33
|
call<TIn = unknown, TOut = unknown>(op: string, input?: TIn, ctx?: OperationContext): Promise<TOut>;
|
|
33
34
|
getState(): Readonly<Record<string, unknown>>;
|
|
34
35
|
setState(_mutation: Partial<Record<string, unknown>>): void;
|
|
35
|
-
on(event: string, handler: (payload: any) => void): () => void;
|
|
36
|
-
emit(event: string, payload: any): void;
|
|
37
36
|
getDefinition(): ServiceDefinition;
|
|
38
37
|
}
|
|
39
38
|
|
|
@@ -11,15 +11,16 @@ import {
|
|
|
11
11
|
nodeGraphPersistence,
|
|
12
12
|
parseGraphJsonFile,
|
|
13
13
|
validateGraphDocument
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-B3VJ4HDV.js";
|
|
15
15
|
import {
|
|
16
16
|
workspaceGraphService
|
|
17
17
|
} from "../chunk-47IVAXPJ.js";
|
|
18
18
|
import "../chunk-SHZAQTIT.js";
|
|
19
19
|
import "../chunk-VN2YMZJO.js";
|
|
20
|
-
import "../chunk-KKRWZDMN.js";
|
|
21
20
|
import "../chunk-VAFCR2MS.js";
|
|
22
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-KKRWZDMN.js";
|
|
22
|
+
import "../chunk-MWSYNRNZ.js";
|
|
23
|
+
import "../chunk-QGM4M3NI.js";
|
|
23
24
|
export {
|
|
24
25
|
CompositeBackend,
|
|
25
26
|
EndpointGenerator,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
S3Adapter
|
|
3
3
|
} from "../chunk-RBQ4CW3T.js";
|
|
4
|
+
import {
|
|
5
|
+
authorizeB2,
|
|
6
|
+
b2DownloadFile,
|
|
7
|
+
b2ListBuckets,
|
|
8
|
+
b2ListFileNames,
|
|
9
|
+
b2UploadFile
|
|
10
|
+
} from "../chunk-4QEMALXF.js";
|
|
4
11
|
import {
|
|
5
12
|
BackblazeB2Adapter,
|
|
6
13
|
LocalFSAdapter,
|
|
@@ -21,13 +28,7 @@ import {
|
|
|
21
28
|
exchangeGoogleDriveCode,
|
|
22
29
|
refreshGoogleDriveAccessToken
|
|
23
30
|
} from "../chunk-KKRWZDMN.js";
|
|
24
|
-
import
|
|
25
|
-
authorizeB2,
|
|
26
|
-
b2DownloadFile,
|
|
27
|
-
b2ListBuckets,
|
|
28
|
-
b2ListFileNames,
|
|
29
|
-
b2UploadFile
|
|
30
|
-
} from "../chunk-4QEMALXF.js";
|
|
31
|
+
import "../chunk-QGM4M3NI.js";
|
|
31
32
|
export {
|
|
32
33
|
BackblazeB2Adapter,
|
|
33
34
|
BaseStorageAdapter,
|