@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
@@ -28,6 +28,6 @@
28
28
  "@kloks/state-graph": "workspace:*"
29
29
  },
30
30
  "devDependencies": {
31
- "@ultrst-armada/krnl": "^1.0.3"
31
+ "@ultrst-armada/krnl": "^1.0.9"
32
32
  }
33
33
  }
@@ -10,6 +10,7 @@ import {
10
10
  performInference
11
11
  } from "../chunk-GCTQY24J.js";
12
12
  import "../chunk-MAMK4GDH.js";
13
+ import "../chunk-QGM4M3NI.js";
13
14
  export {
14
15
  DeterministicEndpointExecutor,
15
16
  InferenceExecutorService,
@@ -46,6 +46,7 @@ declare class KeyStoreService {
46
46
  peekNextKey(providerId: ProviderId, _modelId?: string): ApiKeyEntry | null;
47
47
  getNextKey(providerId: ProviderId, modelId?: string): ApiKeyEntry | null;
48
48
  selectNextKey(providerId: ProviderId, _modelId?: string): ApiKeyEntry | undefined;
49
+ rotateKey(providerId: ProviderId): ApiKeyEntry | null;
49
50
  updateKeyLabel(id: string, label: string): ApiKeyEntry | undefined;
50
51
  deleteKey(id: string): boolean;
51
52
  resetKeyProbabilities(id: string): ApiKeyEntry | undefined;
@@ -5,8 +5,9 @@ import {
5
5
  keyStore,
6
6
  keysStorage,
7
7
  validateApiKey
8
- } from "../chunk-F7JDIU2C.js";
8
+ } from "../chunk-P7H6TIEA.js";
9
9
  import "../chunk-JSQZAFBU.js";
10
+ import "../chunk-QGM4M3NI.js";
10
11
  export {
11
12
  KeyStoreService,
12
13
  KeysStorage,
@@ -7,10 +7,11 @@ import {
7
7
  endpointRefresher,
8
8
  modelCatalog,
9
9
  modelHealthService
10
- } from "../chunk-4WUVDLIQ.js";
11
- import "../chunk-F7JDIU2C.js";
10
+ } from "../chunk-LMWXONZG.js";
11
+ import "../chunk-P7H6TIEA.js";
12
12
  import "../chunk-MAMK4GDH.js";
13
13
  import "../chunk-JSQZAFBU.js";
14
+ import "../chunk-QGM4M3NI.js";
14
15
  export {
15
16
  EndpointRefresher,
16
17
  ModelCatalogService,
@@ -12,6 +12,7 @@ import {
12
12
  getProviderMeta,
13
13
  listProviders
14
14
  } from "../chunk-JSQZAFBU.js";
15
+ import "../chunk-QGM4M3NI.js";
15
16
  export {
16
17
  AIProviderService,
17
18
  AITransportClient,
@@ -6,12 +6,13 @@ import {
6
6
  failoverExecutionEngine,
7
7
  healthCheckService,
8
8
  metricsLogger
9
- } from "../chunk-UYXROZPP.js";
10
- import "../chunk-4WUVDLIQ.js";
11
- import "../chunk-F7JDIU2C.js";
9
+ } from "../chunk-PT6J6UEU.js";
10
+ import "../chunk-LMWXONZG.js";
11
+ import "../chunk-P7H6TIEA.js";
12
12
  import "../chunk-SLR6SIEU.js";
13
13
  import "../chunk-MAMK4GDH.js";
14
14
  import "../chunk-JSQZAFBU.js";
15
+ import "../chunk-QGM4M3NI.js";
15
16
  export {
16
17
  FailoverExecutionEngine,
17
18
  HealthCheckService,
@@ -7,6 +7,7 @@ import {
7
7
  mcpEngine,
8
8
  toolManagerService
9
9
  } from "../chunk-U4HUGPRH.js";
10
+ import "../chunk-QGM4M3NI.js";
10
11
  export {
11
12
  MCPEngine,
12
13
  ToolManagerService,
@@ -4,6 +4,7 @@ import {
4
4
  withAuth,
5
5
  withCors
6
6
  } from "../chunk-TWCEVES2.js";
7
+ import "../chunk-QGM4M3NI.js";
7
8
  export {
8
9
  BaseApiRoute,
9
10
  createSSEResponse,
@@ -12,6 +12,7 @@ import {
12
12
  loginSystemUser,
13
13
  resolveUserFromToken
14
14
  } from "../chunk-WTBAG4AV.js";
15
+ import "../chunk-QGM4M3NI.js";
15
16
  export {
16
17
  AdminGuard,
17
18
  BaseAccountProvider,
@@ -1,8 +1,9 @@
1
1
  import {
2
+ TelemetryController,
2
3
  createService,
3
4
  createServiceDefinition,
4
5
  createServiceProxy
5
- } from "./chunk-TY32TUNI.js";
6
+ } from "./chunk-MWSYNRNZ.js";
6
7
 
7
8
  // src/services/ServiceBoundary.ts
8
9
  function createLocalService(definition) {
@@ -17,12 +18,14 @@ var CompositeBackend = class {
17
18
  id;
18
19
  name;
19
20
  version;
21
+ telemetry;
20
22
  services = /* @__PURE__ */ new Map();
21
23
  capabilitiesList = [];
22
24
  constructor(name, version = "1.0.0") {
23
25
  this.name = name;
24
26
  this.id = `backend-${name}`;
25
27
  this.version = version;
28
+ this.telemetry = new TelemetryController(this.id);
26
29
  }
27
30
  registerService(service) {
28
31
  this.services.set(service.name, service);
@@ -87,20 +90,6 @@ var CompositeBackend = class {
87
90
  }
88
91
  setState(_mutation) {
89
92
  }
90
- on(event, handler) {
91
- const [serviceName, eventName] = event.split(".");
92
- const service = this.services.get(serviceName);
93
- if (!service) return () => {
94
- };
95
- return service.on(eventName, handler);
96
- }
97
- emit(event, payload) {
98
- const [serviceName, eventName] = event.split(".");
99
- const service = this.services.get(serviceName);
100
- if (service) {
101
- service.emit(eventName, payload);
102
- }
103
- }
104
93
  getDefinition() {
105
94
  const ops = {};
106
95
  for (const service of this.services.values()) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createService,
3
3
  createServiceDefinition
4
- } from "./chunk-TY32TUNI.js";
4
+ } from "./chunk-MWSYNRNZ.js";
5
5
 
6
6
  // src/development/githubActionsService.ts
7
7
  var GitHubActionsClient = class {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  keyStore
3
- } from "./chunk-F7JDIU2C.js";
3
+ } from "./chunk-P7H6TIEA.js";
4
4
  import {
5
5
  AITransportClient
6
6
  } from "./chunk-MAMK4GDH.js";