@ultrst-armada/kloks 1.4.3 → 1.4.5

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 (79) hide show
  1. package/package.json +8 -20
  2. package/packages/audio-midi/dist/index.d.ts +23 -14
  3. package/packages/audio-midi/dist/index.js +170 -45
  4. package/packages/audio-midi/kloks.manifest.json +8 -8
  5. package/packages/audio-midi/package.json +1 -1
  6. package/packages/backend/dist/{WebSocketTransport-CxUzUfwl.d.ts → WebSocketTransport-CHmkJ0tj.d.ts} +109 -2
  7. package/packages/backend/dist/auth/index.js +6 -6
  8. package/packages/backend/dist/{chunk-T3NYNBDC.js → chunk-5E6JRFUH.js} +201 -3
  9. package/packages/backend/dist/{chunk-XTWHEZWS.js → chunk-7B24ZWB3.js} +16 -1
  10. package/packages/backend/dist/chunk-DULUHQ5S.js +597 -0
  11. package/packages/backend/dist/{chunk-4ZFXEFOE.js → chunk-MPYASJ5A.js} +2 -87
  12. package/packages/backend/dist/{chunk-KX3OTBQ3.js → chunk-OZDYAEH4.js} +0 -114
  13. package/packages/backend/dist/{chunk-FO6WYLW4.js → chunk-TQMLJ7NY.js} +131 -44
  14. package/packages/backend/dist/chunk-TY32TUNI.js +376 -0
  15. package/packages/backend/dist/chunk-VDROUXFT.js +116 -0
  16. package/packages/backend/dist/chunk-ZDH4XI7W.js +140 -0
  17. package/packages/backend/dist/{chunk-DZ4ZGIZM.js → chunk-ZO3PZGNQ.js} +96 -655
  18. package/packages/backend/dist/client/index.d.ts +2 -3
  19. package/packages/backend/dist/connectivity/index.d.ts +18 -6
  20. package/packages/backend/dist/connectivity/index.js +3 -7
  21. package/packages/backend/dist/index.d.ts +3 -6
  22. package/packages/backend/dist/index.js +98 -88
  23. package/packages/backend/dist/krnl-services.d.ts +84 -7
  24. package/packages/backend/dist/krnl-services.js +40 -12
  25. package/packages/backend/dist/services/index.d.ts +4 -6
  26. package/packages/backend/dist/services/index.js +2 -2
  27. package/packages/backend/dist/srkl/index.js +6 -4
  28. package/packages/backend/dist/storage/index.js +7 -7
  29. package/packages/backend/dist/workspace/index.js +2 -2
  30. package/packages/backend/kloks.manifest.json +47 -45
  31. package/packages/backend/package.json +3 -8
  32. package/packages/client/package.json +1 -1
  33. package/packages/contracts/dist/index.js +5 -10
  34. package/packages/contracts/package.json +1 -1
  35. package/packages/functions/dist/index.d.ts +12 -1
  36. package/packages/functions/dist/index.js +132 -24
  37. package/packages/functions/package.json +1 -1
  38. package/packages/orchestrations/dist/index.d.ts +33 -31
  39. package/packages/orchestrations/dist/index.js +81 -203
  40. package/packages/orchestrations/kloks.manifest.json +10 -2
  41. package/packages/orchestrations/package.json +2 -2
  42. package/packages/services/dist/index.d.ts +51 -1
  43. package/packages/services/dist/index.js +234 -36
  44. package/packages/services/kloks.manifest.json +69 -33
  45. package/packages/services/package.json +1 -1
  46. package/packages/state-graph/dist/{BaseGraph-BvkSYOTw.d.ts → BaseGraph-Bd5F1NMP.d.ts} +1 -1
  47. package/packages/state-graph/dist/{BaseNode-DTcd3K1B.d.ts → BaseNode-DKpGXMy8.d.ts} +6 -0
  48. package/packages/state-graph/dist/{CompatibilityMatrix-Dj-tCWUA.d.ts → CompatibilityMatrix-TiEJ3j3_.d.ts} +1 -1
  49. package/packages/state-graph/dist/domain/index.d.ts +3 -3
  50. package/packages/state-graph/dist/domain/index.js +0 -1
  51. package/packages/state-graph/dist/index.d.ts +40 -8
  52. package/packages/state-graph/dist/index.js +214 -65
  53. package/packages/state-graph/dist/rules/index.d.ts +3 -3
  54. package/packages/state-graph/dist/rules/index.js +0 -1
  55. package/packages/state-graph/dist/spatial/index.d.ts +4 -4
  56. package/packages/state-graph/dist/spatial/index.js +0 -1
  57. package/packages/state-graph/dist/state/index.js +1 -3
  58. package/packages/state-graph/dist/store/index.d.ts +4 -4
  59. package/packages/state-graph/dist/store/index.js +0 -1
  60. package/packages/state-graph/dist/{types-VDoc4FIc.d.ts → types-D5kQSa65.d.ts} +2 -2
  61. package/packages/state-graph/kloks.manifest.json +26 -10
  62. package/packages/state-graph/package.json +2 -8
  63. package/packages/backend/dist/IdempotencyManager-B5MjK871.d.ts +0 -16
  64. package/packages/backend/dist/chunk-25Y7AVTP.js +0 -55
  65. package/packages/backend/dist/chunk-3EPY34R6.js +0 -67
  66. package/packages/backend/dist/chunk-7KNGX522.js +0 -220
  67. package/packages/backend/dist/chunk-FZKBTF34.js +0 -15
  68. package/packages/backend/dist/chunk-QGHDJGYS.js +0 -92
  69. package/packages/backend/dist/chunk-UPFKBBQI.js +0 -138
  70. package/packages/backend/dist/chunk-VQEFULWT.js +0 -88
  71. package/packages/backend/dist/execution/index.d.ts +0 -124
  72. package/packages/backend/dist/execution/index.js +0 -20
  73. package/packages/backend/dist/types-BERZJ93O.d.ts +0 -110
  74. package/packages/state-graph/dist/chunk-3RG5ZIWI.js +0 -10
  75. package/packages/state-graph/dist/chunk-Q5I42UX7.js +0 -0
  76. package/packages/state-graph/dist/chunk-ZTHBPV24.js +0 -267
  77. package/packages/state-graph/dist/execution/index.d.ts +0 -152
  78. package/packages/state-graph/dist/execution/index.js +0 -16
  79. /package/packages/state-graph/dist/{chunk-SHIBCPGQ.js → chunk-EW4ACSZB.js} +0 -0
@@ -1,31 +1,13 @@
1
- import { CounterState, TelemetryEvents } from '@ultrst-armada/kloks/services';
2
- import { ExecutableBackendFacade, WorkerExecutionBoundary } from '@ultrst-armada/kloks/backend/execution';
3
-
4
- /**
5
- * @file backendExecutionFacade.ts
6
- * @description Registers backend services on ExecutableBackendFacade and connects BullMQ workers.
7
- * Enforces SKIPO::STATE_EXECUTION_ARCHITECTURE (Worker-only access to Backend Facade).
8
- */
9
-
10
- declare class WorkspaceBackendFacade extends ExecutableBackendFacade {
11
- }
12
- declare const backendFacade: WorkspaceBackendFacade;
13
- declare const workerExecutionBoundary: WorkerExecutionBoundary;
1
+ import { OrchestrationDefinition } from '@ultrst-armada/krnl';
14
2
 
15
3
  /**
16
4
  * @file index.ts
17
- * @description @ultrst-armada/kloks/orchestrations — Canonical Orchestrators A & B built on KrnlTS & @ultrst-armada/kloks/services.
18
- * Orchestrator A: Service A (Pure) -> Service B (Stateful)
19
- * Orchestrator B: Service B (Stateful) -> Service C (Event-Emitting)
5
+ * @description @ultrst-armada/kloks/orchestrations — Canonical pure Orchestration Definitions A & B.
6
+ * STRICT INVARIANT: Kloks is a pure distribution catalog and NEVER owns execution,
7
+ * queues, workers, schedulers, or dispatchers. Kloks exports pure serializable definitions
8
+ * conforming to OrchestrationDefinition<TInput, TOutput>.
20
9
  */
21
10
 
22
- interface OrchestratorFacade<TInput = unknown, TOutput = unknown> {
23
- readonly id: string;
24
- readonly name: string;
25
- readonly version: string;
26
- readonly dependencies: string[];
27
- execute(input: TInput): Promise<TOutput>;
28
- }
29
11
  interface OrchestratorAInput {
30
12
  a: number;
31
13
  b: number;
@@ -33,23 +15,43 @@ interface OrchestratorAInput {
33
15
  }
34
16
  interface OrchestratorAOutput {
35
17
  computed: number;
36
- state: CounterState;
18
+ state: {
19
+ count: number;
20
+ };
37
21
  }
38
22
  /**
39
- * Orchestrator A: Sequences Service A (Pure Math) -> Service B (Stateful Counter)
23
+ * Pure serializable definition for Orchestrator A.
24
+ * Sequences Service A (Pure Math) -> Service B (Stateful Counter).
25
+ * Free from execution machinery. To be instantiated and executed by Skipo/runtime.
40
26
  */
41
- declare const OrchestratorAFacade: OrchestratorFacade<OrchestratorAInput, OrchestratorAOutput>;
27
+ declare const OrchestratorADefinition: OrchestrationDefinition<OrchestratorAInput, OrchestratorAOutput>;
42
28
  interface OrchestratorBInput {
43
29
  delta?: number;
44
30
  metricName?: string;
45
31
  }
46
32
  interface OrchestratorBOutput {
47
- state: CounterState;
48
- emitted: TelemetryEvents['reading'];
33
+ state: {
34
+ count: number;
35
+ };
36
+ emitted: {
37
+ metric: string;
38
+ value: number;
39
+ timestamp: number;
40
+ };
49
41
  }
50
42
  /**
51
- * Orchestrator B: Sequences Service B (Stateful Counter) -> Service C (Event-Emitting Telemetry)
43
+ * Pure serializable definition for Orchestrator B.
44
+ * Sequences Service B (Stateful Counter) -> Service C (Event-Emitting Telemetry).
45
+ * Free from execution machinery. To be instantiated and executed by Skipo/runtime.
46
+ */
47
+ declare const OrchestratorBDefinition: OrchestrationDefinition<OrchestratorBInput, OrchestratorBOutput>;
48
+ /**
49
+ * Pure serializable definition for Audio-Midi Orchestrator.
50
+ * Sequences MidiService -> AudioHardwareService.
52
51
  */
53
- declare const OrchestratorBFacade: OrchestratorFacade<OrchestratorBInput, OrchestratorBOutput>;
52
+ declare const AudioMidiOrchestratorDefinition: OrchestrationDefinition;
53
+ declare const krnlOrchestratorADefinition: OrchestrationDefinition<OrchestratorAInput, OrchestratorAOutput>;
54
+ declare const krnlOrchestratorBDefinition: OrchestrationDefinition<OrchestratorBInput, OrchestratorBOutput>;
55
+ declare const krnlAudioMidiOrchestratorDefinition: OrchestrationDefinition<unknown, unknown>;
54
56
 
55
- export { OrchestratorAFacade, type OrchestratorAInput, type OrchestratorAOutput, OrchestratorBFacade, type OrchestratorBInput, type OrchestratorBOutput, type OrchestratorFacade, WorkspaceBackendFacade, backendFacade, workerExecutionBoundary };
57
+ export { AudioMidiOrchestratorDefinition, OrchestratorADefinition, type OrchestratorAInput, type OrchestratorAOutput, OrchestratorBDefinition, type OrchestratorBInput, type OrchestratorBOutput, krnlAudioMidiOrchestratorDefinition, krnlOrchestratorADefinition, krnlOrchestratorBDefinition };
@@ -1,214 +1,92 @@
1
1
  // src/index.ts
2
- import {
3
- ServiceAFacade,
4
- ServiceBFacade,
5
- ServiceCFacade
6
- } from "@ultrst-armada/kloks/services";
7
-
8
- // src/worker-facade/backendExecutionFacade.ts
9
- import {
10
- ExecutableBackendFacade,
11
- WorkerExecutionBoundary,
12
- ServiceDispatcher,
13
- createOperationComponent
14
- } from "@ultrst-armada/kloks/backend/execution";
15
- import { SKIPO_EXECUTION } from "@ultrst-armada/kloks/state-graph";
16
- var WorkspaceBackendFacade = class extends ExecutableBackendFacade {
17
- };
18
- var backendFacade = new WorkspaceBackendFacade("WorkspaceBackendFacade");
19
- var projectService = new ServiceDispatcher("project");
20
- projectService.registerOperation(
21
- "list",
22
- createOperationComponent("list", async (input) => {
23
- const wsId = input && typeof input === "object" && "workspaceId" in input ? input.workspaceId : void 0;
24
- const url = wsId ? `/api/workspaces/${encodeURIComponent(wsId)}/graphs` : "/api/projects";
25
- const res = await fetch(url);
26
- return await res.json();
27
- })
28
- );
29
- projectService.registerOperation(
30
- "get",
31
- createOperationComponent("get", async (input) => {
32
- const url = input.workspaceId ? `/api/workspaces/${encodeURIComponent(input.workspaceId)}/graphs/${encodeURIComponent(input.id)}` : `/api/projects/${input.id}`;
33
- const res = await fetch(url);
34
- return await res.json();
35
- })
36
- );
37
- projectService.registerOperation(
38
- "save",
39
- createOperationComponent("save", async (input) => {
40
- const url = input.workspaceId ? `/api/workspaces/${encodeURIComponent(input.workspaceId)}/graphs/${encodeURIComponent(input.id)}` : `/api/projects/${input.id}`;
41
- const res = await fetch(url, {
42
- method: "PUT",
43
- headers: { "Content-Type": "application/json" },
44
- body: JSON.stringify(input.projectData)
45
- });
46
- return await res.json();
47
- })
48
- );
49
- projectService.registerOperation(
50
- "create",
51
- createOperationComponent("create", async (input) => {
52
- const wsId = input?.workspaceId;
53
- const url = wsId ? `/api/workspaces/${encodeURIComponent(wsId)}/graphs` : "/api/projects";
54
- const res = await fetch(url, {
55
- method: "POST",
56
- headers: { "Content-Type": "application/json" },
57
- body: JSON.stringify(input)
58
- });
59
- return await res.json();
60
- })
61
- );
62
- projectService.registerOperation(
63
- "delete",
64
- createOperationComponent("delete", async (input) => {
65
- const url = input.workspaceId ? `/api/workspaces/${encodeURIComponent(input.workspaceId)}/graphs/${encodeURIComponent(input.id)}` : `/api/projects/${input.id}`;
66
- const res = await fetch(url, {
67
- method: "DELETE"
68
- });
69
- return await res.json();
70
- })
71
- );
72
- var sampleService = new ServiceDispatcher("sample");
73
- sampleService.registerOperation(
74
- "list",
75
- createOperationComponent("list", async (input) => {
76
- const projectId = input && typeof input === "object" && "projectId" in input ? input.projectId : null;
77
- const globalRes = await fetch("/api/samples/global");
78
- const globalData = await globalRes.json();
79
- let projectSamples = [];
80
- if (projectId) {
81
- try {
82
- const projRes = await fetch(`/api/samples/projects/${encodeURIComponent(projectId)}/samples`);
83
- const projData = await projRes.json();
84
- projectSamples = projData.samples || [];
85
- } catch (err) {
86
- console.error("Failed to fetch project samples in facade:", err);
87
- }
88
- }
89
- return {
90
- globalSamples: globalData.samples || [],
91
- projectSamples
92
- };
93
- })
94
- );
95
- sampleService.registerOperation(
96
- "upload",
97
- createOperationComponent("upload", async (input) => {
98
- const res = await fetch("/api/samples", {
99
- method: "POST",
100
- body: input
101
- });
102
- return await res.json();
103
- })
104
- );
105
- sampleService.registerOperation(
106
- "delete",
107
- createOperationComponent("delete", async (input) => {
108
- const res = await fetch(`/api/samples/${input.id}`, {
109
- method: "DELETE"
110
- });
111
- return await res.json();
112
- })
113
- );
114
- var assetPoolService = new ServiceDispatcher("asset");
115
- assetPoolService.registerOperation(
116
- "listPool",
117
- createOperationComponent("listPool", async (input) => {
118
- const params = new URLSearchParams();
119
- if (input?.scope) params.set("scope", input.scope);
120
- if (input?.projectId) params.set("projectId", input.projectId);
121
- const res = await fetch(`/api/assets/pools?${params.toString()}`);
122
- return await res.json();
123
- })
124
- );
125
- assetPoolService.registerOperation(
126
- "createFolder",
127
- createOperationComponent(
128
- "createFolder",
129
- async (input) => {
130
- const res = await fetch("/api/assets/folder", {
131
- method: "POST",
132
- headers: { "Content-Type": "application/json" },
133
- body: JSON.stringify(input)
134
- });
135
- return await res.json();
136
- }
137
- )
138
- );
139
- assetPoolService.registerOperation(
140
- "upload",
141
- createOperationComponent("upload", async (input) => {
142
- const res = await fetch("/api/assets/upload", {
143
- method: "POST",
144
- headers: { "Content-Type": "application/json" },
145
- body: JSON.stringify(input)
146
- });
147
- return await res.json();
148
- })
149
- );
150
- assetPoolService.registerOperation(
151
- "delete",
152
- createOperationComponent("delete", async (input) => {
153
- const params = new URLSearchParams(input);
154
- const res = await fetch(`/api/assets/file?${params.toString()}`, {
155
- method: "DELETE"
156
- });
157
- return await res.json();
158
- })
159
- );
160
- backendFacade.registerService(projectService);
161
- backendFacade.registerService(sampleService);
162
- backendFacade.registerService(assetPoolService);
163
- var workerExecutionBoundary = new WorkerExecutionBoundary("workspace_worker_pool_1", backendFacade);
164
- SKIPO_EXECUTION.registerWorkerHandler?.(async (command) => {
165
- return await workerExecutionBoundary.processJob(command);
166
- });
167
-
168
- // src/index.ts
169
- var OrchestratorAFacade = {
2
+ var OrchestratorADefinition = {
170
3
  id: "kloks.orchestrator.a",
171
4
  name: "OrchestratorA",
172
5
  version: "1.0.0",
173
- dependencies: [ServiceAFacade.id, ServiceBFacade.id],
174
- execute: async (input) => {
175
- const op = input.operation ?? "add";
176
- const mathOut = await ServiceAFacade.execute(op, {
177
- a: input.a,
178
- b: input.b
179
- });
180
- const stateOut = await ServiceBFacade.execute("increment", {
181
- delta: mathOut.result
182
- });
183
- return {
184
- computed: mathOut.result,
185
- state: stateOut
186
- };
187
- }
6
+ description: "Pure serializable orchestration definition: Service A -> Service B",
7
+ scope: "service",
8
+ dependencies: ["kloks.service.a", "kloks.service.b"],
9
+ steps: [
10
+ {
11
+ id: "step_math",
12
+ name: "Execute Math Operation",
13
+ type: "task",
14
+ target: "kloks.service.a",
15
+ operation: "add",
16
+ retryPolicy: {
17
+ maxAttempts: 2,
18
+ backoff: "exponential",
19
+ backoffMs: 50
20
+ }
21
+ },
22
+ {
23
+ id: "step_counter",
24
+ name: "Increment Counter",
25
+ type: "task",
26
+ target: "kloks.service.b",
27
+ operation: "increment",
28
+ dependsOn: ["step_math"]
29
+ }
30
+ ]
188
31
  };
189
- var OrchestratorBFacade = {
32
+ var OrchestratorBDefinition = {
190
33
  id: "kloks.orchestrator.b",
191
34
  name: "OrchestratorB",
192
35
  version: "1.0.0",
193
- dependencies: [ServiceBFacade.id, ServiceCFacade.id],
194
- execute: async (input = {}) => {
195
- const state = await ServiceBFacade.execute("increment", {
196
- delta: input.delta ?? 1
197
- });
198
- const emitted = await ServiceCFacade.execute("publishReading", {
199
- metric: input.metricName ?? "counter.value",
200
- value: state.count
201
- });
202
- return {
203
- state,
204
- emitted
205
- };
206
- }
36
+ description: "Pure serializable orchestration definition: Service B -> Service C",
37
+ scope: "service",
38
+ dependencies: ["kloks.service.b", "kloks.service.c"],
39
+ steps: [
40
+ {
41
+ id: "step_counter",
42
+ name: "Increment Counter",
43
+ type: "task",
44
+ target: "kloks.service.b",
45
+ operation: "increment"
46
+ },
47
+ {
48
+ id: "step_telemetry",
49
+ name: "Publish Telemetry Reading",
50
+ type: "task",
51
+ target: "kloks.service.c",
52
+ operation: "publishReading",
53
+ dependsOn: ["step_counter"]
54
+ }
55
+ ]
56
+ };
57
+ var AudioMidiOrchestratorDefinition = {
58
+ id: "kloks.orchestrator.audioMidi",
59
+ name: "AudioMidiOrchestrator",
60
+ version: "1.0.0",
61
+ description: "Pure serializable orchestration definition: Midi -> AudioHardware",
62
+ scope: "service",
63
+ dependencies: ["kloks.midi.subsystem", "kloks.audio.hardware"],
64
+ steps: [
65
+ {
66
+ id: "step_midi",
67
+ name: "Emit Virtual MIDI",
68
+ type: "task",
69
+ target: "kloks.midi.subsystem",
70
+ operation: "emitVirtualMidi"
71
+ },
72
+ {
73
+ id: "step_audio",
74
+ name: "Get Audio Hardware State",
75
+ type: "task",
76
+ target: "kloks.audio.hardware",
77
+ operation: "getState",
78
+ dependsOn: ["step_midi"]
79
+ }
80
+ ]
207
81
  };
82
+ var krnlOrchestratorADefinition = OrchestratorADefinition;
83
+ var krnlOrchestratorBDefinition = OrchestratorBDefinition;
84
+ var krnlAudioMidiOrchestratorDefinition = AudioMidiOrchestratorDefinition;
208
85
  export {
209
- OrchestratorAFacade,
210
- OrchestratorBFacade,
211
- WorkspaceBackendFacade,
212
- backendFacade,
213
- workerExecutionBoundary
86
+ AudioMidiOrchestratorDefinition,
87
+ OrchestratorADefinition,
88
+ OrchestratorBDefinition,
89
+ krnlAudioMidiOrchestratorDefinition,
90
+ krnlOrchestratorADefinition,
91
+ krnlOrchestratorBDefinition
214
92
  };
@@ -8,7 +8,7 @@
8
8
  "name": "Orchestrator A (Service A -> Service B)",
9
9
  "version": "1.0.0",
10
10
  "package": "@kloks/orchestrations",
11
- "export": "OrchestratorAFacade",
11
+ "export": "OrchestratorADefinition",
12
12
  "targetTypes": ["BackendFacade.orchestrations"]
13
13
  },
14
14
  {
@@ -16,7 +16,15 @@
16
16
  "name": "Orchestrator B (Service B -> Service C)",
17
17
  "version": "1.0.0",
18
18
  "package": "@kloks/orchestrations",
19
- "export": "OrchestratorBFacade",
19
+ "export": "OrchestratorBDefinition",
20
+ "targetTypes": ["BackendFacade.orchestrations"]
21
+ },
22
+ {
23
+ "id": "orchestrator-audio-midi",
24
+ "name": "Audio-Midi Orchestrator (Midi -> AudioHardware)",
25
+ "version": "1.0.0",
26
+ "package": "@kloks/orchestrations",
27
+ "export": "AudioMidiOrchestratorDefinition",
20
28
  "targetTypes": ["BackendFacade.orchestrations"]
21
29
  }
22
30
  ]
@@ -20,7 +20,7 @@
20
20
  }
21
21
  },
22
22
  "scripts": {
23
- "build": "tsup src/index.ts --format esm --dts --clean --external @kloks/services --external @kloks/state-graph --external @kloks/backend --external @kloks/backend/execution --external ws",
23
+ "build": "tsup src/index.ts --format esm --dts --clean --external @kloks/services --external @kloks/state-graph --external @kloks/backend --external ws",
24
24
  "typecheck": "tsc --noEmit",
25
25
  "clean": "rm -rf dist"
26
26
  },
@@ -30,6 +30,6 @@
30
30
  "@kloks/backend": "workspace:*"
31
31
  },
32
32
  "devDependencies": {
33
- "@ultrst-armada/krnl": "^1.0.2"
33
+ "@ultrst-armada/krnl": "^1.0.3"
34
34
  }
35
35
  }
@@ -315,6 +315,45 @@ declare const SystemDbClientServiceFacade: {
315
315
  createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
316
316
  execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
317
317
  };
318
+ declare const krnlAuthClientServiceDefinition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
319
+ declare const krnlAuthClientServiceFacade: {
320
+ id: string;
321
+ name: string;
322
+ version: string;
323
+ runtime: "client";
324
+ deployment: "local";
325
+ definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
326
+ service: AuthService;
327
+ ui: _kloks_contracts.ServiceUISchema;
328
+ createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
329
+ execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
330
+ };
331
+ declare const krnlStorageClientServiceDefinition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
332
+ declare const krnlStorageClientServiceFacade: {
333
+ id: string;
334
+ name: string;
335
+ version: string;
336
+ runtime: "client";
337
+ deployment: "local";
338
+ definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
339
+ service: StorageService;
340
+ ui: _kloks_contracts.ServiceUISchema;
341
+ createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
342
+ execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
343
+ };
344
+ declare const krnlSystemDbClientServiceDefinition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
345
+ declare const krnlSystemDbClientServiceFacade: {
346
+ id: string;
347
+ name: string;
348
+ version: string;
349
+ runtime: "client";
350
+ deployment: "local";
351
+ definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
352
+ service: SystemDbService;
353
+ ui: _kloks_contracts.ServiceUISchema;
354
+ createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
355
+ execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
356
+ };
318
357
 
319
358
  /**
320
359
  * @file index.ts
@@ -366,5 +405,16 @@ interface ProtocolExposureHandle {
366
405
  }
367
406
  declare function exposeServiceD(adapter?: ProtocolAdapter, port?: number): Promise<ProtocolExposureHandle>;
368
407
  declare const ServiceDFacade: ServiceFacade;
408
+ declare const krnlServiceADefinition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
409
+ declare const krnlServiceAFacade: ServiceFacade<Record<string, unknown>, Record<string, unknown>>;
410
+ declare const krnlServiceBDefinition: ServiceDefinition<CounterState, Record<string, unknown>>;
411
+ declare const krnlServiceBFacade: ServiceFacade<CounterState, Record<string, unknown>>;
412
+ declare const krnlCreateServiceB: typeof createServiceB;
413
+ declare const krnlServiceCDefinition: ServiceDefinition<Record<string, unknown>, TelemetryEvents>;
414
+ declare const krnlServiceCFacade: ServiceFacade<Record<string, unknown>, TelemetryEvents>;
415
+ declare const krnlCreateServiceC: typeof createServiceC;
416
+ declare const krnlServiceDDefinition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
417
+ declare const krnlServiceDFacade: ServiceFacade<Record<string, unknown>, Record<string, unknown>>;
418
+ declare const krnlExposeServiceD: typeof exposeServiceD;
369
419
 
370
- export { AuthClientServiceDefinition, AuthClientServiceFacade, type AuthListener, AuthService, AuthServiceUISchema, CLEAN_DATABASE_CLUSTER, type CounterState, DEFAULT_CONNECTIONS, type IAuthStore, type MathInput, type ProtocolExposureHandle, STORAGE_KEY_CONNECTIONS, ServiceADefinition, ServiceAFacade, ServiceBDefinition, ServiceBFacade, ServiceCDefinition, ServiceCFacade, ServiceDDefinition, ServiceDFacade, type ServiceFacade, StorageClientServiceDefinition, StorageClientServiceFacade, StorageService, StorageServiceUISchema, SystemDbClientServiceDefinition, SystemDbClientServiceFacade, SystemDbService, SystemDbServiceUISchema, type SystemEnvironmentStatus, type SystemTelemetry, type TelemetryEvents, authService, clearSession, createServiceB, createServiceC, createWorkspace, deleteWorkspace, exposeServiceD, fetchWorkspaces, loadDatabase, loginAdmin, loginUser, persistDatabase, register, restoreSession, setActiveWorkspace, setSession, storageService, systemDbService, updateWorkspace, verifyPassword };
420
+ export { AuthClientServiceDefinition, AuthClientServiceFacade, type AuthListener, AuthService, AuthServiceUISchema, CLEAN_DATABASE_CLUSTER, type CounterState, DEFAULT_CONNECTIONS, type IAuthStore, type MathInput, type ProtocolExposureHandle, STORAGE_KEY_CONNECTIONS, ServiceADefinition, ServiceAFacade, ServiceBDefinition, ServiceBFacade, ServiceCDefinition, ServiceCFacade, ServiceDDefinition, ServiceDFacade, type ServiceFacade, StorageClientServiceDefinition, StorageClientServiceFacade, StorageService, StorageServiceUISchema, SystemDbClientServiceDefinition, SystemDbClientServiceFacade, SystemDbService, SystemDbServiceUISchema, type SystemEnvironmentStatus, type SystemTelemetry, type TelemetryEvents, authService, clearSession, createServiceB, createServiceC, createWorkspace, deleteWorkspace, exposeServiceD, fetchWorkspaces, krnlAuthClientServiceDefinition, krnlAuthClientServiceFacade, krnlCreateServiceB, krnlCreateServiceC, krnlExposeServiceD, krnlServiceADefinition, krnlServiceAFacade, krnlServiceBDefinition, krnlServiceBFacade, krnlServiceCDefinition, krnlServiceCFacade, krnlServiceDDefinition, krnlServiceDFacade, krnlStorageClientServiceDefinition, krnlStorageClientServiceFacade, krnlSystemDbClientServiceDefinition, krnlSystemDbClientServiceFacade, loadDatabase, loginAdmin, loginUser, persistDatabase, register, restoreSession, setActiveWorkspace, setSession, storageService, systemDbService, updateWorkspace, verifyPassword };