@ultrst-armada/kloks 1.24.2 → 1.24.4
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 +11 -2
- package/packages/backend/dist/chunk-2OPIDIIB.js +191 -0
- package/packages/backend/dist/{chunk-6TRVGWXP.js → chunk-FJ5LZFBV.js} +20 -204
- package/packages/backend/dist/chunk-YEGS4HTA.js +0 -0
- package/packages/backend/dist/development/client.d.ts +142 -0
- package/packages/backend/dist/development/client.js +252 -0
- package/packages/backend/dist/development/index.d.ts +3 -74
- package/packages/backend/dist/development/index.js +7 -4
- package/packages/backend/dist/development/playwrightInspectionService.d.ts +20 -0
- package/packages/backend/dist/development/playwrightInspectionService.js +12 -0
- package/packages/backend/dist/development/playwrightInspectionTypes.d.ts +59 -0
- package/packages/backend/dist/development/playwrightInspectionTypes.js +1 -0
- package/packages/backend/dist/index.d.ts +3 -1
- package/packages/backend/dist/index.js +43 -40
- package/packages/backend/dist/krnl-services.js +4 -4
- package/packages/backend/dist/storage/index.js +7 -7
- package/packages/backend/package.json +1 -1
- package/packages/services/dist/index.js +8 -3
- package/packages/backend/dist/{chunk-VTU6CNZD.js → chunk-AHJ2EWQW.js} +12 -12
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
} from "./chunk-B3VJ4HDV.js";
|
|
1
15
|
import {
|
|
2
16
|
CANONICAL_SRKL_URL,
|
|
3
17
|
SrklClient,
|
|
@@ -101,9 +115,6 @@ import {
|
|
|
101
115
|
GitHubActionsClient,
|
|
102
116
|
GitHubActionsServiceDefinition,
|
|
103
117
|
GitHubActionsServiceFacade,
|
|
104
|
-
PlaywrightInspectionRuntime,
|
|
105
|
-
PlaywrightInspectionServiceDefinition,
|
|
106
|
-
PlaywrightInspectionServiceFacade,
|
|
107
118
|
TYPESCRIPT_LANGUAGE_SERVER_PACKAGE,
|
|
108
119
|
TYPESCRIPT_LANGUAGE_SERVER_VERSION,
|
|
109
120
|
TypeScriptLanguageServerServiceDefinition,
|
|
@@ -116,21 +127,13 @@ import {
|
|
|
116
127
|
parseDevelopmentDiagnostics,
|
|
117
128
|
resolveDevelopmentCommand,
|
|
118
129
|
resolveWebContainerCommand
|
|
119
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-FJ5LZFBV.js";
|
|
131
|
+
import "./chunk-YEGS4HTA.js";
|
|
120
132
|
import {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
createBackend,
|
|
126
|
-
createCompositeService,
|
|
127
|
-
createLocalService,
|
|
128
|
-
createRemoteService,
|
|
129
|
-
exportGraphAsJsonFile,
|
|
130
|
-
nodeGraphPersistence,
|
|
131
|
-
parseGraphJsonFile,
|
|
132
|
-
validateGraphDocument
|
|
133
|
-
} from "./chunk-B3VJ4HDV.js";
|
|
133
|
+
PlaywrightInspectionRuntime,
|
|
134
|
+
PlaywrightInspectionServiceDefinition,
|
|
135
|
+
PlaywrightInspectionServiceFacade
|
|
136
|
+
} from "./chunk-2OPIDIIB.js";
|
|
134
137
|
import {
|
|
135
138
|
AIInferenceServiceDefinition,
|
|
136
139
|
AIInferenceServiceFacade,
|
|
@@ -184,34 +187,15 @@ import {
|
|
|
184
187
|
krnlWorkspaceGraphServiceFacade,
|
|
185
188
|
krnlWorkspaceServiceDefinition,
|
|
186
189
|
krnlWorkspaceServiceFacade
|
|
187
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-AHJ2EWQW.js";
|
|
191
|
+
import {
|
|
192
|
+
workspaceGraphService
|
|
193
|
+
} from "./chunk-IGZB4RYT.js";
|
|
188
194
|
import {
|
|
189
195
|
getPrimarySrklDeploymentUrl,
|
|
190
196
|
getSrklAccounts,
|
|
191
197
|
srklListBackblazeBuckets
|
|
192
198
|
} from "./chunk-XHADDA75.js";
|
|
193
|
-
import {
|
|
194
|
-
authorizeB2,
|
|
195
|
-
b2DownloadFile,
|
|
196
|
-
b2ListBuckets,
|
|
197
|
-
b2ListFileNames,
|
|
198
|
-
b2UploadFile
|
|
199
|
-
} from "./chunk-4QEMALXF.js";
|
|
200
|
-
import {
|
|
201
|
-
formatCanonicalWorkspaceFolderName,
|
|
202
|
-
sanitizeWorkspaceName
|
|
203
|
-
} from "./chunk-FZKBTF34.js";
|
|
204
|
-
import {
|
|
205
|
-
CanonicalAuthClient,
|
|
206
|
-
RateLimiter,
|
|
207
|
-
SessionManager,
|
|
208
|
-
createCanonicalAuthClient,
|
|
209
|
-
loginSystemUser,
|
|
210
|
-
resolveUserFromToken
|
|
211
|
-
} from "./chunk-2HCQ2SIR.js";
|
|
212
|
-
import {
|
|
213
|
-
workspaceGraphService
|
|
214
|
-
} from "./chunk-IGZB4RYT.js";
|
|
215
199
|
import {
|
|
216
200
|
BackblazeB2Adapter,
|
|
217
201
|
LocalFSAdapter,
|
|
@@ -225,6 +209,17 @@ import {
|
|
|
225
209
|
renameS3Folder,
|
|
226
210
|
resolveBackblazeEndpoint
|
|
227
211
|
} from "./chunk-SHZAQTIT.js";
|
|
212
|
+
import {
|
|
213
|
+
authorizeB2,
|
|
214
|
+
b2DownloadFile,
|
|
215
|
+
b2ListBuckets,
|
|
216
|
+
b2ListFileNames,
|
|
217
|
+
b2UploadFile
|
|
218
|
+
} from "./chunk-4QEMALXF.js";
|
|
219
|
+
import {
|
|
220
|
+
formatCanonicalWorkspaceFolderName,
|
|
221
|
+
sanitizeWorkspaceName
|
|
222
|
+
} from "./chunk-FZKBTF34.js";
|
|
228
223
|
import {
|
|
229
224
|
createWorkspace,
|
|
230
225
|
deleteWorkspace,
|
|
@@ -262,6 +257,14 @@ import {
|
|
|
262
257
|
exchangeGoogleDriveCode,
|
|
263
258
|
refreshGoogleDriveAccessToken
|
|
264
259
|
} from "./chunk-KKRWZDMN.js";
|
|
260
|
+
import {
|
|
261
|
+
CanonicalAuthClient,
|
|
262
|
+
RateLimiter,
|
|
263
|
+
SessionManager,
|
|
264
|
+
createCanonicalAuthClient,
|
|
265
|
+
loginSystemUser,
|
|
266
|
+
resolveUserFromToken
|
|
267
|
+
} from "./chunk-2HCQ2SIR.js";
|
|
265
268
|
import "./chunk-MWSYNRNZ.js";
|
|
266
269
|
import {
|
|
267
270
|
DeterministicEndpointExecutor,
|
|
@@ -31,16 +31,16 @@ import {
|
|
|
31
31
|
krnlWorkspaceGraphServiceFacade,
|
|
32
32
|
krnlWorkspaceServiceDefinition,
|
|
33
33
|
krnlWorkspaceServiceFacade
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AHJ2EWQW.js";
|
|
35
|
+
import "./chunk-IGZB4RYT.js";
|
|
35
36
|
import "./chunk-XHADDA75.js";
|
|
37
|
+
import "./chunk-SHZAQTIT.js";
|
|
36
38
|
import "./chunk-4QEMALXF.js";
|
|
37
39
|
import "./chunk-FZKBTF34.js";
|
|
38
|
-
import "./chunk-2HCQ2SIR.js";
|
|
39
|
-
import "./chunk-IGZB4RYT.js";
|
|
40
|
-
import "./chunk-SHZAQTIT.js";
|
|
41
40
|
import "./chunk-JGUWYVOL.js";
|
|
42
41
|
import "./chunk-JCMB7BIM.js";
|
|
43
42
|
import "./chunk-KKRWZDMN.js";
|
|
43
|
+
import "./chunk-2HCQ2SIR.js";
|
|
44
44
|
import "./chunk-MWSYNRNZ.js";
|
|
45
45
|
import "./chunk-QGM4M3NI.js";
|
|
46
46
|
export {
|
|
@@ -1,13 +1,6 @@
|
|
|
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";
|
|
11
4
|
import {
|
|
12
5
|
BackblazeB2Adapter,
|
|
13
6
|
LocalFSAdapter,
|
|
@@ -21,6 +14,13 @@ import {
|
|
|
21
14
|
renameS3Folder,
|
|
22
15
|
resolveBackblazeEndpoint
|
|
23
16
|
} from "../chunk-SHZAQTIT.js";
|
|
17
|
+
import {
|
|
18
|
+
authorizeB2,
|
|
19
|
+
b2DownloadFile,
|
|
20
|
+
b2ListBuckets,
|
|
21
|
+
b2ListFileNames,
|
|
22
|
+
b2UploadFile
|
|
23
|
+
} from "../chunk-4QEMALXF.js";
|
|
24
24
|
import {
|
|
25
25
|
BaseStorageAdapter,
|
|
26
26
|
GoogleDriveAdapter,
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"scripts": {
|
|
113
|
-
"build": "tsup src/index.ts src/krnl-services.ts src/krnl-ai-services.ts src/services/index.ts src/auth/index.ts src/storage/index.ts src/workspace/index.ts src/control-plane/index.ts src/api/index.ts src/connectivity/index.ts src/client/index.ts src/srkl/index.ts src/development/index.ts src/ai-provider/index.ts src/ai-inference/index.ts src/ai-models/index.ts src/ai-routing/index.ts src/ai-keys/index.ts src/ai-tools/index.ts --format esm --dts --clean --external @kloks/functions --external react --external @kloks/state-graph --external @neondatabase/serverless --external @supabase/supabase-js --external @aws-sdk/client-s3 --external @aws-sdk/lib-storage --external bcryptjs --external better-sqlite3 --external zod --external ws --external @webcontainer/api --external playwright",
|
|
113
|
+
"build": "tsup src/index.ts src/krnl-services.ts src/krnl-ai-services.ts src/services/index.ts src/auth/index.ts src/storage/index.ts src/workspace/index.ts src/control-plane/index.ts src/api/index.ts src/connectivity/index.ts src/client/index.ts src/srkl/index.ts src/development/index.ts src/development/playwrightInspectionService.ts src/development/playwrightInspectionTypes.ts src/ai-provider/index.ts src/ai-inference/index.ts src/ai-models/index.ts src/ai-routing/index.ts src/ai-keys/index.ts src/ai-tools/index.ts --format esm --dts --clean --external @kloks/functions --external react --external @kloks/state-graph --external @neondatabase/serverless --external @supabase/supabase-js --external @aws-sdk/client-s3 --external @aws-sdk/lib-storage --external bcryptjs --external better-sqlite3 --external zod --external ws --external @webcontainer/api --external playwright && tsup src/development/client.ts --format esm --dts --out-dir dist/development --splitting false --platform browser --external @ultrst-armada/krnl",
|
|
114
114
|
"typecheck": "tsc --noEmit",
|
|
115
115
|
"clean": "rm -rf dist"
|
|
116
116
|
},
|
|
@@ -1696,7 +1696,6 @@ var SystemDbService = class {
|
|
|
1696
1696
|
};
|
|
1697
1697
|
listeners = /* @__PURE__ */ new Set();
|
|
1698
1698
|
constructor() {
|
|
1699
|
-
this.refreshStatus();
|
|
1700
1699
|
}
|
|
1701
1700
|
async refreshStatus() {
|
|
1702
1701
|
try {
|
|
@@ -2755,12 +2754,18 @@ var SystemDbClientServiceDefinition = createServiceDefinition({
|
|
|
2755
2754
|
getEnvStatus: {
|
|
2756
2755
|
id: "SystemDbClientService.getEnvStatus",
|
|
2757
2756
|
name: "getEnvStatus",
|
|
2758
|
-
handler: async () =>
|
|
2757
|
+
handler: async () => {
|
|
2758
|
+
await systemDbService.refreshStatus();
|
|
2759
|
+
return systemDbService.getEnvStatus();
|
|
2760
|
+
}
|
|
2759
2761
|
},
|
|
2760
2762
|
getTelemetry: {
|
|
2761
2763
|
id: "SystemDbClientService.getTelemetry",
|
|
2762
2764
|
name: "getTelemetry",
|
|
2763
|
-
handler: async () =>
|
|
2765
|
+
handler: async () => {
|
|
2766
|
+
await systemDbService.refreshStatus();
|
|
2767
|
+
return systemDbService.getTelemetry();
|
|
2768
|
+
}
|
|
2764
2769
|
}
|
|
2765
2770
|
}
|
|
2766
2771
|
});
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
workspaceGraphService
|
|
3
|
+
} from "./chunk-IGZB4RYT.js";
|
|
1
4
|
import {
|
|
2
5
|
getSrklAccounts,
|
|
3
6
|
srklListBackblazeBuckets
|
|
4
7
|
} from "./chunk-XHADDA75.js";
|
|
8
|
+
import {
|
|
9
|
+
StorageAdapterFactory
|
|
10
|
+
} from "./chunk-SHZAQTIT.js";
|
|
5
11
|
import {
|
|
6
12
|
b2ListBuckets
|
|
7
13
|
} from "./chunk-4QEMALXF.js";
|
|
@@ -9,18 +15,6 @@ import {
|
|
|
9
15
|
formatCanonicalWorkspaceFolderName,
|
|
10
16
|
sanitizeWorkspaceName
|
|
11
17
|
} from "./chunk-FZKBTF34.js";
|
|
12
|
-
import {
|
|
13
|
-
RateLimiter,
|
|
14
|
-
SessionManager,
|
|
15
|
-
loginSystemUser,
|
|
16
|
-
resolveUserFromToken
|
|
17
|
-
} from "./chunk-2HCQ2SIR.js";
|
|
18
|
-
import {
|
|
19
|
-
workspaceGraphService
|
|
20
|
-
} from "./chunk-IGZB4RYT.js";
|
|
21
|
-
import {
|
|
22
|
-
StorageAdapterFactory
|
|
23
|
-
} from "./chunk-SHZAQTIT.js";
|
|
24
18
|
import {
|
|
25
19
|
createWorkspace,
|
|
26
20
|
deleteWorkspace,
|
|
@@ -31,6 +25,12 @@ import {
|
|
|
31
25
|
import {
|
|
32
26
|
queryUnifiedDb
|
|
33
27
|
} from "./chunk-JCMB7BIM.js";
|
|
28
|
+
import {
|
|
29
|
+
RateLimiter,
|
|
30
|
+
SessionManager,
|
|
31
|
+
loginSystemUser,
|
|
32
|
+
resolveUserFromToken
|
|
33
|
+
} from "./chunk-2HCQ2SIR.js";
|
|
34
34
|
import {
|
|
35
35
|
createService,
|
|
36
36
|
createServiceDefinition
|