@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.
Files changed (75) hide show
  1. package/.krusbl-release-attestation.json +3 -3
  2. package/package.json +4 -4
  3. package/packages/audio-midi/dist/{audioClipEngine-BOT33JKI.js → audioClipEngine-E5ODQNYR.js} +3 -2
  4. package/packages/audio-midi/dist/{audioInputManager-BLDGGLAR.js → audioInputManager-OOH3TOJ6.js} +2 -1
  5. package/packages/audio-midi/dist/{chunk-N55BWOC6.js → chunk-2U7VIADS.js} +1 -1
  6. package/packages/audio-midi/dist/{chunk-3GRGELA4.js → chunk-3FXNT6PF.js} +2 -2
  7. package/packages/audio-midi/dist/chunk-QGM4M3NI.js +37 -0
  8. package/packages/audio-midi/dist/dist-XMSSRYDR.js +899 -0
  9. package/packages/audio-midi/dist/index.js +534 -75
  10. package/packages/audio-midi/dist/transformers.node-HWHOAE4H.js +43879 -0
  11. package/packages/audio-midi/package.json +1 -1
  12. package/packages/backend/dist/ai-inference/index.js +1 -0
  13. package/packages/backend/dist/ai-keys/index.d.ts +1 -0
  14. package/packages/backend/dist/ai-keys/index.js +2 -1
  15. package/packages/backend/dist/ai-models/index.js +3 -2
  16. package/packages/backend/dist/ai-provider/index.js +1 -0
  17. package/packages/backend/dist/ai-routing/index.js +4 -3
  18. package/packages/backend/dist/ai-tools/index.js +1 -0
  19. package/packages/backend/dist/api/index.js +1 -0
  20. package/packages/backend/dist/auth/index.js +1 -0
  21. package/packages/backend/dist/{chunk-RBF2OGMC.js → chunk-B3VJ4HDV.js} +4 -15
  22. package/packages/backend/dist/{chunk-OYVHKYJW.js → chunk-IJ5QNZCY.js} +1 -1
  23. package/packages/backend/dist/{chunk-4WUVDLIQ.js → chunk-LMWXONZG.js} +1 -1
  24. package/packages/backend/dist/chunk-MWSYNRNZ.js +871 -0
  25. package/packages/backend/dist/{chunk-4ONX56XS.js → chunk-NB2X3HEX.js} +26 -14
  26. package/packages/backend/dist/{chunk-RSKFM7AC.js → chunk-OB65KZ2M.js} +8 -5
  27. package/packages/backend/dist/{chunk-F7JDIU2C.js → chunk-P7H6TIEA.js} +3 -0
  28. package/packages/backend/dist/{chunk-UYXROZPP.js → chunk-PT6J6UEU.js} +2 -2
  29. package/packages/backend/dist/chunk-QGM4M3NI.js +37 -0
  30. package/packages/backend/dist/client/index.js +1 -0
  31. package/packages/backend/dist/connectivity/index.js +1 -0
  32. package/packages/backend/dist/control-plane/index.js +1 -0
  33. package/packages/backend/dist/development/index.js +3 -2
  34. package/packages/backend/dist/dist-XMSSRYDR.js +899 -0
  35. package/packages/backend/dist/index.js +77 -76
  36. package/packages/backend/dist/krnl-ai-services.d.ts +12 -2
  37. package/packages/backend/dist/krnl-ai-services.js +6 -5
  38. package/packages/backend/dist/krnl-services.d.ts +8 -0
  39. package/packages/backend/dist/krnl-services.js +7 -6
  40. package/packages/backend/dist/services/index.d.ts +2 -3
  41. package/packages/backend/dist/services/index.js +4 -3
  42. package/packages/backend/dist/srkl/index.js +1 -0
  43. package/packages/backend/dist/storage/index.js +8 -7
  44. package/packages/backend/dist/transformers.node-HWHOAE4H.js +43879 -0
  45. package/packages/backend/dist/workspace/index.js +3 -2
  46. package/packages/backend/package.json +5 -5
  47. package/packages/client/package.json +1 -1
  48. package/packages/contracts/package.json +1 -1
  49. package/packages/fod/dist/index.js +2 -2
  50. package/packages/fod/package.json +24 -13
  51. package/packages/functions/dist/chunk-QGM4M3NI.js +37 -0
  52. package/packages/functions/dist/dist-XMSSRYDR.js +899 -0
  53. package/packages/functions/dist/index.d.ts +2 -0
  54. package/packages/functions/dist/index.js +581 -94
  55. package/packages/functions/dist/transformers.node-HWHOAE4H.js +43879 -0
  56. package/packages/functions/package.json +1 -1
  57. package/packages/orchestrations/package.json +3 -3
  58. package/packages/services/dist/chunk-QGM4M3NI.js +37 -0
  59. package/packages/services/dist/dist-XMSSRYDR.js +899 -0
  60. package/packages/services/dist/index.d.ts +55 -8
  61. package/packages/services/dist/index.js +640 -85
  62. package/packages/services/dist/transformers.node-HWHOAE4H.js +43879 -0
  63. package/packages/services/package.json +1 -1
  64. package/packages/state-graph/dist/chunk-QGM4M3NI.js +37 -0
  65. package/packages/state-graph/dist/dist-XMSSRYDR.js +899 -0
  66. package/packages/state-graph/dist/domain/index.js +1 -0
  67. package/packages/state-graph/dist/index.js +602 -119
  68. package/packages/state-graph/dist/rules/index.js +1 -0
  69. package/packages/state-graph/dist/spatial/index.js +1 -0
  70. package/packages/state-graph/dist/state/index.js +1 -0
  71. package/packages/state-graph/dist/store/index.js +1 -0
  72. package/packages/state-graph/dist/transformers.node-HWHOAE4H.js +43879 -0
  73. package/packages/state-graph/package.json +1 -1
  74. package/packages/backend/dist/chunk-TY32TUNI.js +0 -376
  75. package/packages/backend/dist/{chunk-2XTHJI4I.js → chunk-6DNGLKAV.js} +3 -3
@@ -1,7 +1,20 @@
1
+ import {
2
+ getSrklAccounts,
3
+ srklListBackblazeBuckets
4
+ } from "./chunk-XHADDA75.js";
5
+ import {
6
+ b2ListBuckets
7
+ } from "./chunk-4QEMALXF.js";
1
8
  import {
2
9
  formatCanonicalWorkspaceFolderName,
3
10
  sanitizeWorkspaceName
4
11
  } from "./chunk-FZKBTF34.js";
12
+ import {
13
+ RateLimiter,
14
+ SessionManager,
15
+ loginSystemUser,
16
+ resolveUserFromToken
17
+ } from "./chunk-WTBAG4AV.js";
5
18
  import {
6
19
  workspaceGraphService
7
20
  } from "./chunk-47IVAXPJ.js";
@@ -15,26 +28,13 @@ import {
15
28
  getWorkspaces,
16
29
  updateWorkspace
17
30
  } from "./chunk-VN2YMZJO.js";
18
- import {
19
- RateLimiter,
20
- SessionManager,
21
- loginSystemUser,
22
- resolveUserFromToken
23
- } from "./chunk-WTBAG4AV.js";
24
- import {
25
- getSrklAccounts,
26
- srklListBackblazeBuckets
27
- } from "./chunk-XHADDA75.js";
28
- import {
29
- b2ListBuckets
30
- } from "./chunk-4QEMALXF.js";
31
31
  import {
32
32
  queryUnifiedDb
33
33
  } from "./chunk-VAFCR2MS.js";
34
34
  import {
35
35
  createService,
36
36
  createServiceDefinition
37
- } from "./chunk-TY32TUNI.js";
37
+ } from "./chunk-MWSYNRNZ.js";
38
38
 
39
39
  // src/krnl-services.ts
40
40
  var AuthServiceDefinition = createServiceDefinition({
@@ -82,6 +82,9 @@ var AuthServiceFacade = {
82
82
  runtime: "server",
83
83
  deployment: "local",
84
84
  definition: AuthServiceDefinition,
85
+ get telemetry() {
86
+ return authServiceInstance.telemetry;
87
+ },
85
88
  createInstance: () => createService(AuthServiceDefinition),
86
89
  execute: async (op, input) => {
87
90
  await authServiceInstance.start();
@@ -123,6 +126,9 @@ var StorageServiceFacade = {
123
126
  runtime: "server",
124
127
  deployment: "local",
125
128
  definition: StorageServiceDefinition,
129
+ get telemetry() {
130
+ return storageServiceInstance.telemetry;
131
+ },
126
132
  createInstance: () => createService(StorageServiceDefinition),
127
133
  execute: async (op, input) => {
128
134
  await storageServiceInstance.start();
@@ -188,6 +194,9 @@ var WorkspaceServiceFacade = {
188
194
  runtime: "server",
189
195
  deployment: "local",
190
196
  definition: WorkspaceServiceDefinition,
197
+ get telemetry() {
198
+ return workspaceServiceInstance.telemetry;
199
+ },
191
200
  createInstance: () => createService(WorkspaceServiceDefinition),
192
201
  execute: async (op, input) => {
193
202
  await workspaceServiceInstance.start();
@@ -217,6 +226,9 @@ var ControlPlaneServiceFacade = {
217
226
  runtime: "server",
218
227
  deployment: "local",
219
228
  definition: ControlPlaneServiceDefinition,
229
+ get telemetry() {
230
+ return controlPlaneServiceInstance.telemetry;
231
+ },
220
232
  createInstance: () => createService(ControlPlaneServiceDefinition),
221
233
  execute: async (op, input) => {
222
234
  await controlPlaneServiceInstance.start();
@@ -4,19 +4,19 @@ import {
4
4
  import {
5
5
  createService,
6
6
  createServiceDefinition
7
- } from "./chunk-TY32TUNI.js";
7
+ } from "./chunk-MWSYNRNZ.js";
8
8
  import {
9
9
  inferenceExecutor
10
10
  } from "./chunk-GCTQY24J.js";
11
11
  import {
12
12
  failoverExecutionEngine
13
- } from "./chunk-UYXROZPP.js";
13
+ } from "./chunk-PT6J6UEU.js";
14
14
  import {
15
15
  modelCatalog
16
- } from "./chunk-4WUVDLIQ.js";
16
+ } from "./chunk-LMWXONZG.js";
17
17
  import {
18
18
  keyStore
19
- } from "./chunk-F7JDIU2C.js";
19
+ } from "./chunk-P7H6TIEA.js";
20
20
  import {
21
21
  aiProviderService
22
22
  } from "./chunk-SLR6SIEU.js";
@@ -175,8 +175,11 @@ var AIKeyServiceFacade = {
175
175
  deployment: "local",
176
176
  getKeys: (providerId, modelId) => keyStore.getKeys(providerId, modelId),
177
177
  getStrategy: () => keyStore.getStrategy(),
178
- getUsageStats: (keyId, modelId) => keyStore.getUsageStats(keyId, modelId),
179
178
  addKey: (input) => keyStore.addKey(input),
179
+ getActiveKey: (providerId) => keyStore.getActiveKey(providerId),
180
+ rotateKey: (providerId) => keyStore.rotateKey(providerId),
181
+ importKeys: (payload) => keyStore.importKeys(payload),
182
+ exportKeysStructured: () => keyStore.exportKeysStructured(),
180
183
  definition: AIKeyServiceDefinition,
181
184
  createInstance: () => createService(AIKeyServiceDefinition),
182
185
  execute: async (op, input) => {
@@ -175,6 +175,9 @@ var KeyStoreService = class {
175
175
  selectNextKey(providerId, _modelId) {
176
176
  return this.getActiveKey(providerId);
177
177
  }
178
+ rotateKey(providerId) {
179
+ return this.getNextKey(providerId);
180
+ }
178
181
  updateKeyLabel(id, label) {
179
182
  const key = this.getKey(id);
180
183
  if (!key) return void 0;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  modelCatalog,
3
3
  modelHealthService
4
- } from "./chunk-4WUVDLIQ.js";
4
+ } from "./chunk-LMWXONZG.js";
5
5
  import {
6
6
  keyStore
7
- } from "./chunk-F7JDIU2C.js";
7
+ } from "./chunk-P7H6TIEA.js";
8
8
  import {
9
9
  aiProviderService
10
10
  } from "./chunk-SLR6SIEU.js";
@@ -0,0 +1,37 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
9
+ }) : x)(function(x) {
10
+ if (typeof require !== "undefined") return require.apply(this, arguments);
11
+ throw Error('Dynamic require of "' + x + '" is not supported');
12
+ });
13
+ var __commonJS = (cb, mod) => function __require2() {
14
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
15
+ };
16
+ var __copyProps = (to, from, except, desc) => {
17
+ if (from && typeof from === "object" || typeof from === "function") {
18
+ for (let key of __getOwnPropNames(from))
19
+ if (!__hasOwnProp.call(to, key) && key !== except)
20
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
30
+ mod
31
+ ));
32
+
33
+ export {
34
+ __require,
35
+ __commonJS,
36
+ __toESM
37
+ };
@@ -14,6 +14,7 @@ import {
14
14
  WebSocketTransport,
15
15
  createBackendClient
16
16
  } from "../chunk-NIP22V2G.js";
17
+ import "../chunk-QGM4M3NI.js";
17
18
  export {
18
19
  BackendClient,
19
20
  BackendProvider,
@@ -22,6 +22,7 @@ import {
22
22
  WebSocketTransport,
23
23
  createBackendClient
24
24
  } from "../chunk-NIP22V2G.js";
25
+ import "../chunk-QGM4M3NI.js";
25
26
  export {
26
27
  BackendClient,
27
28
  BackendRegistry,
@@ -6,6 +6,7 @@ import {
6
6
  getSystemDatabaseUrls,
7
7
  resolveSystemDatabaseClusterNodes
8
8
  } from "../chunk-RCCQ7IRM.js";
9
+ import "../chunk-QGM4M3NI.js";
9
10
  export {
10
11
  AuditLogger,
11
12
  ControlPlaneManager,
@@ -21,8 +21,9 @@ import {
21
21
  WebContainerServiceFacade,
22
22
  codeDiagnosticsService,
23
23
  resolveDevelopmentCommand
24
- } from "../chunk-OYVHKYJW.js";
25
- import "../chunk-TY32TUNI.js";
24
+ } from "../chunk-IJ5QNZCY.js";
25
+ import "../chunk-MWSYNRNZ.js";
26
+ import "../chunk-QGM4M3NI.js";
26
27
  export {
27
28
  AgentHarnessRuntime,
28
29
  AgentHarnessServiceDefinition,