@ultrst-armada/kloks 1.4.4 → 1.4.6
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/README.md +2 -1
- package/package.json +2 -2
- package/packages/backend/dist/{chunk-5336MTXD.js → chunk-DULUHQ5S.js} +1 -1
- package/packages/backend/dist/{chunk-JXUSBKJ2.js → chunk-ZO3PZGNQ.js} +5 -1
- package/packages/backend/dist/{chunk-KI3LHMUN.js → chunk-ZRYACED2.js} +1 -1
- package/packages/backend/dist/index.js +3 -3
- package/packages/backend/dist/krnl-services.js +2 -2
- package/packages/backend/dist/workspace/index.js +2 -2
package/README.md
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
# Kloks
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
Kloks stands for KrnlTS BLOcKS. It is the reusable library layer for services built on KrnlTS, including service definitions, functionalities, functionality orchestrations, and concept libraries. These assets make assembling KrnlTS services similar to building with modular blocks.
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultrst-armada/kloks",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
8
8
|
},
|
|
9
|
-
"description": "Kloks
|
|
9
|
+
"description": "Kloks — Public Backend, State-Graph, Audio/MIDI & Service Package Library built on KrnlTS (@kloks/*)",
|
|
10
10
|
"type": "module",
|
|
11
11
|
"main": "./index.js",
|
|
12
12
|
"module": "./index.js",
|
|
@@ -10,7 +10,7 @@ function sanitizeWorkspaceName(name) {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
// src/core/unifiedDb.ts
|
|
13
|
-
|
|
13
|
+
var neon;
|
|
14
14
|
function cleanDbUrl(url) {
|
|
15
15
|
if (!url || typeof url !== "string") return "";
|
|
16
16
|
return url.trim().replace(/^["']|["']$/g, "");
|
|
@@ -28,6 +28,10 @@ async function queryUnifiedDb(sqlText, params = [], env) {
|
|
|
28
28
|
if (!dbUrl) {
|
|
29
29
|
throw new Error("[UnifiedDB] No database URL configured in environment.");
|
|
30
30
|
}
|
|
31
|
+
if (!neon) {
|
|
32
|
+
const mod = await import("@neondatabase/serverless");
|
|
33
|
+
neon = mod.neon;
|
|
34
|
+
}
|
|
31
35
|
const sql = neon(dbUrl);
|
|
32
36
|
try {
|
|
33
37
|
const rows = await (sql.query ? sql.query(sqlText, params) : sql(sqlText, params));
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
setWorkingWorkspaceConfig,
|
|
28
28
|
syncWorkspace,
|
|
29
29
|
workingWorkspaceService
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DULUHQ5S.js";
|
|
31
31
|
import {
|
|
32
32
|
AuthServiceDefinition,
|
|
33
33
|
AuthServiceFacade,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
krnlStorageServiceFacade,
|
|
58
58
|
krnlWorkspaceServiceDefinition,
|
|
59
59
|
krnlWorkspaceServiceFacade
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-ZRYACED2.js";
|
|
61
61
|
import {
|
|
62
62
|
getPrimarySrklDeploymentUrl,
|
|
63
63
|
getSrklAccounts,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
syncWorkspaceDeleteToBucket,
|
|
116
116
|
updateWorkspace,
|
|
117
117
|
writeWorkspaceFile
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-ZO3PZGNQ.js";
|
|
119
119
|
import {
|
|
120
120
|
BaseApiRoute,
|
|
121
121
|
createSSEResponse,
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
krnlStorageServiceFacade,
|
|
28
28
|
krnlWorkspaceServiceDefinition,
|
|
29
29
|
krnlWorkspaceServiceFacade
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZRYACED2.js";
|
|
31
31
|
import "./chunk-VDROUXFT.js";
|
|
32
32
|
import "./chunk-J2J24JVC.js";
|
|
33
33
|
import "./chunk-4QEMALXF.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-ZO3PZGNQ.js";
|
|
35
35
|
import "./chunk-ZDH4XI7W.js";
|
|
36
36
|
import "./chunk-TY32TUNI.js";
|
|
37
37
|
export {
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
WorkspaceFS,
|
|
7
7
|
remoteWorkspaceService,
|
|
8
8
|
workingWorkspaceService
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-DULUHQ5S.js";
|
|
10
10
|
import {
|
|
11
11
|
formatCanonicalWorkspaceFolderName,
|
|
12
12
|
sanitizeWorkspaceName
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-ZO3PZGNQ.js";
|
|
14
14
|
export {
|
|
15
15
|
RemoteWorkspaceService,
|
|
16
16
|
SyncEngine,
|