@ultrst-armada/kloks 1.0.0 → 1.0.2
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/package.json +2 -3
- package/packages/audio-midi/dist/index.d.ts +7 -6
- package/packages/audio-midi/dist/index.js +9 -1
- package/packages/audio-midi/package.json +2 -2
- package/packages/backend/dist/{chunk-53WQNION.js → chunk-CU7RZBMF.js} +4 -4
- package/packages/backend/dist/{chunk-KPUGS64G.js → chunk-IPP4VURQ.js} +1 -1
- package/packages/backend/dist/{chunk-5MUQSPG4.js → chunk-P4HL4C6V.js} +1 -1
- package/packages/backend/dist/index.d.ts +1 -1
- package/packages/backend/dist/index.js +26 -26
- package/packages/backend/dist/krnl-services.d.ts +9 -9
- package/packages/backend/dist/krnl-services.js +3 -3
- package/packages/backend/dist/services/index.d.ts +2 -2
- package/packages/backend/dist/services/index.js +2 -2
- package/packages/backend/package.json +3 -3
- package/packages/functions/dist/index.d.ts +3 -3
- package/packages/functions/dist/index.js +1 -1
- package/packages/functions/package.json +1 -1
- package/packages/orchestrations/dist/index.d.ts +5 -3
- package/packages/orchestrations/dist/index.js +4 -1
- package/packages/orchestrations/package.json +4 -4
- package/packages/services/dist/index.d.ts +6 -6
- package/packages/services/dist/index.js +1 -1
- package/packages/services/package.json +2 -2
- package/packages/state-graph/dist/index.d.ts +175 -19
- package/packages/state-graph/dist/index.js +260 -20
- package/packages/state-graph/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultrst-armada/kloks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -91,7 +91,6 @@
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"scripts": {
|
|
94
|
-
"prebuild": "npm --prefix ../KrnlTS run build",
|
|
95
94
|
"build": "pnpm -r run build",
|
|
96
95
|
"postbuild": "node -e \"import('fs').then(fs => { for (const pkg of fs.readdirSync('packages')) { const d = 'packages/' + pkg + '/dist'; if (!fs.existsSync(d)) continue; for (const f of fs.readdirSync(d, { recursive: true })) { const p = d + '/' + f; if (fs.statSync(p).isFile() && (p.endsWith('.js') || p.endsWith('.d.ts'))) { const c = fs.readFileSync(p, 'utf8'); const n = c.replaceAll('@kloks/', '@ultrst-armada/kloks/').replaceAll('@ultrst/kloks/', '@ultrst-armada/kloks/').replaceAll('\\\"kloks/', '\\\"@ultrst-armada/kloks/').replaceAll('\\'kloks/', '\\'@ultrst-armada/kloks/'); if (c !== n) fs.writeFileSync(p, n); } } } })\"",
|
|
97
96
|
"test": "vitest run",
|
|
@@ -106,13 +105,13 @@
|
|
|
106
105
|
"devDependencies": {
|
|
107
106
|
"@aws-sdk/client-s3": "^3.600.0",
|
|
108
107
|
"@aws-sdk/lib-storage": "^3.600.0",
|
|
109
|
-
"@dinilmusick/krnl": "file:../KrnlTS",
|
|
110
108
|
"@neondatabase/serverless": "^0.10.0",
|
|
111
109
|
"@supabase/supabase-js": "^2.45.0",
|
|
112
110
|
"@types/bcryptjs": "^2.4.0",
|
|
113
111
|
"@types/better-sqlite3": "^7.6.0",
|
|
114
112
|
"@types/node": "^22.0.0",
|
|
115
113
|
"@types/react": "^19.0.0",
|
|
114
|
+
"@ultrst-armada/krnl": "^1.0.0",
|
|
116
115
|
"bcryptjs": "^2.4.3",
|
|
117
116
|
"better-sqlite3": "^11.0.0",
|
|
118
117
|
"react": "^19.0.1",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ServiceDefinition, IService } from '@
|
|
1
|
+
import * as _ultrst_armada_krnl from '@ultrst-armada/krnl';
|
|
2
|
+
import { ServiceDefinition, IService } from '@ultrst-armada/krnl';
|
|
3
3
|
import { INodeVisuals, SpaceNode, NodeConnection, MidiNote, SynthPreset, ContainerNode, PlayerNode, SamplePresetType, AudioTrackData, HardwareChannelInfo, NamedAudioBus, AudioDeviceInfo, ConnectionsConfig, MidiInputDevice, StoredPacket, RecorderNode, CurveTrackData, CurvePoint, EffectNode, CompressorEffectConfig, MultibandCompressorEffectConfig } from '@ultrst-armada/kloks/state-graph';
|
|
4
|
+
export { AudioConcepts, BufferConcepts, BufferCycleCalculation } from '@ultrst-armada/kloks/state-graph';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Pro-Audio Hardware Input/Output Manager (Named Bus Architecture)
|
|
@@ -903,7 +904,7 @@ declare const SynthEngineServiceFacade: {
|
|
|
903
904
|
deployment: "local";
|
|
904
905
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
905
906
|
engine: SynthEngine;
|
|
906
|
-
createInstance: () =>
|
|
907
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
907
908
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
908
909
|
};
|
|
909
910
|
declare const SequencerEngineServiceDefinition: ServiceDefinition;
|
|
@@ -915,7 +916,7 @@ declare const SequencerEngineServiceFacade: {
|
|
|
915
916
|
deployment: "local";
|
|
916
917
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
917
918
|
engine: SequencerEngine;
|
|
918
|
-
createInstance: () =>
|
|
919
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
919
920
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
920
921
|
};
|
|
921
922
|
declare const OscServiceDefinition: ServiceDefinition;
|
|
@@ -927,13 +928,13 @@ declare const OscServiceFacade: {
|
|
|
927
928
|
deployment: "local";
|
|
928
929
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
929
930
|
engine: OscManager;
|
|
930
|
-
createInstance: () =>
|
|
931
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
931
932
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
932
933
|
};
|
|
933
934
|
|
|
934
935
|
/**
|
|
935
936
|
* @file index.ts
|
|
936
|
-
* @description kloks/audio-midi — KrnlTS-backed Pro-Audio Named Bus & Reactive Web MIDI Services.
|
|
937
|
+
* @description @ultrst-armada/kloks/audio-midi — KrnlTS-backed Pro-Audio Named Bus & Reactive Web MIDI Services.
|
|
937
938
|
* Converted from Skipo audio-midi engine into first-class KrnlTS services and orchestrators.
|
|
938
939
|
*/
|
|
939
940
|
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
synthEngine
|
|
38
38
|
} from "./chunk-3GRGELA4.js";
|
|
39
39
|
|
|
40
|
-
// ../../node_modules/.pnpm/@
|
|
40
|
+
// ../../node_modules/.pnpm/@ultrst-armada+krnl@1.0.0/node_modules/@ultrst-armada/krnl/packages/core/dist/index.js
|
|
41
41
|
import { WebSocketServer, WebSocket } from "ws";
|
|
42
42
|
var ServiceStateStore = class {
|
|
43
43
|
state;
|
|
@@ -603,6 +603,12 @@ var MidiManager = class {
|
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
605
|
|
|
606
|
+
// src/index.ts
|
|
607
|
+
import {
|
|
608
|
+
AudioConcepts,
|
|
609
|
+
BufferConcepts
|
|
610
|
+
} from "@ultrst-armada/kloks/state-graph";
|
|
611
|
+
|
|
606
612
|
// src/engine/index.ts
|
|
607
613
|
import {
|
|
608
614
|
configureCanonicalMidiBridge,
|
|
@@ -2524,6 +2530,7 @@ var AudioMidiOrchestratorFacade = {
|
|
|
2524
2530
|
};
|
|
2525
2531
|
export {
|
|
2526
2532
|
AudioClipEngine,
|
|
2533
|
+
AudioConcepts,
|
|
2527
2534
|
AudioContainerGraphNode,
|
|
2528
2535
|
AudioContextManager,
|
|
2529
2536
|
AudioEffects,
|
|
@@ -2534,6 +2541,7 @@ export {
|
|
|
2534
2541
|
BaseAudioGraphNode,
|
|
2535
2542
|
BaseProcessorAudioGraphNode,
|
|
2536
2543
|
BaseSourceAudioGraphNode,
|
|
2544
|
+
BufferConcepts,
|
|
2537
2545
|
CurveEngine,
|
|
2538
2546
|
DEFAULT_AUDIO_CONFIG,
|
|
2539
2547
|
DEFAULT_NAMED_BUSSES,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createService,
|
|
3
3
|
createServiceDefinition
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IPP4VURQ.js";
|
|
5
|
+
import {
|
|
6
|
+
StorageAdapterFactory
|
|
7
|
+
} from "./chunk-J2J24JVC.js";
|
|
5
8
|
import {
|
|
6
9
|
formatCanonicalWorkspaceFolderName,
|
|
7
10
|
sanitizeWorkspaceName
|
|
8
11
|
} from "./chunk-FZKBTF34.js";
|
|
9
|
-
import {
|
|
10
|
-
StorageAdapterFactory
|
|
11
|
-
} from "./chunk-J2J24JVC.js";
|
|
12
12
|
import {
|
|
13
13
|
RateLimiter,
|
|
14
14
|
SessionManager
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@
|
|
1
|
+
// ../../node_modules/.pnpm/@ultrst-armada+krnl@1.0.0/node_modules/@ultrst-armada/krnl/packages/core/dist/index.js
|
|
2
2
|
import { WebSocketServer, WebSocket } from "ws";
|
|
3
3
|
var ServiceStateStore = class {
|
|
4
4
|
state;
|
|
@@ -16,7 +16,7 @@ export { BackendCommand, DomainService, ExecutableBackendFacade, ExecutionContex
|
|
|
16
16
|
export { CompositeBackend, EndpointGenerator, GeneratedEndpointSummary, LocalService, RemoteServiceProxy, createBackend, createCompositeService, createLocalService, createRemoteService } from './services/index.js';
|
|
17
17
|
import { AssetDataType as AssetDataType$1, AssetChannelType as AssetChannelType$1, GraphFolderInfo as GraphFolderInfo$1, GraphAssetItem as GraphAssetItem$1, SpaceNode, NodeConnection, DawProject } from '@ultrst-armada/kloks/state-graph';
|
|
18
18
|
export { AuthServiceDefinition, AuthServiceFacade, ControlPlaneServiceDefinition, ControlPlaneServiceFacade, DatabaseServiceDefinition, DatabaseServiceFacade, ExecutionServiceDefinition, ExecutionServiceFacade, GeminiServiceDefinition, GeminiServiceFacade, StorageServiceDefinition, StorageServiceFacade, WorkspaceServiceDefinition, WorkspaceServiceFacade } from './krnl-services.js';
|
|
19
|
-
export { EndpointDescriptor, IService, ProtocolAdapter, ServiceDefinition } from '@
|
|
19
|
+
export { EndpointDescriptor, IService, ProtocolAdapter, ServiceDefinition } from '@ultrst-armada/krnl';
|
|
20
20
|
import 'react';
|
|
21
21
|
|
|
22
22
|
interface QueryFilter {
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CompositeBackend,
|
|
3
|
-
EndpointGenerator,
|
|
4
|
-
createBackend,
|
|
5
|
-
createCompositeService,
|
|
6
|
-
createLocalService,
|
|
7
|
-
createRemoteService
|
|
8
|
-
} from "./chunk-5MUQSPG4.js";
|
|
9
1
|
import {
|
|
10
2
|
CANONICAL_SRKL_URL,
|
|
11
3
|
SrklClient,
|
|
@@ -16,10 +8,13 @@ import {
|
|
|
16
8
|
useSrklServices
|
|
17
9
|
} from "./chunk-MN54ZIKZ.js";
|
|
18
10
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
CompositeBackend,
|
|
12
|
+
EndpointGenerator,
|
|
13
|
+
createBackend,
|
|
14
|
+
createCompositeService,
|
|
15
|
+
createLocalService,
|
|
16
|
+
createRemoteService
|
|
17
|
+
} from "./chunk-P4HL4C6V.js";
|
|
23
18
|
import "./chunk-LS3HWJBX.js";
|
|
24
19
|
import {
|
|
25
20
|
authorizeB2,
|
|
@@ -28,6 +23,11 @@ import {
|
|
|
28
23
|
b2ListFileNames,
|
|
29
24
|
b2UploadFile
|
|
30
25
|
} from "./chunk-4QEMALXF.js";
|
|
26
|
+
import {
|
|
27
|
+
SyncEngine,
|
|
28
|
+
WorkspaceCloneSyncEngine,
|
|
29
|
+
WorkspaceFS
|
|
30
|
+
} from "./chunk-KTLD7Z4L.js";
|
|
31
31
|
import {
|
|
32
32
|
AuthServiceDefinition,
|
|
33
33
|
AuthServiceFacade,
|
|
@@ -43,12 +43,8 @@ import {
|
|
|
43
43
|
StorageServiceFacade,
|
|
44
44
|
WorkspaceServiceDefinition,
|
|
45
45
|
WorkspaceServiceFacade
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import {
|
|
49
|
-
formatCanonicalWorkspaceFolderName,
|
|
50
|
-
sanitizeWorkspaceName
|
|
51
|
-
} from "./chunk-FZKBTF34.js";
|
|
46
|
+
} from "./chunk-CU7RZBMF.js";
|
|
47
|
+
import "./chunk-IPP4VURQ.js";
|
|
52
48
|
import {
|
|
53
49
|
BackblazeB2Adapter,
|
|
54
50
|
BaseStorageAdapter,
|
|
@@ -64,6 +60,10 @@ import {
|
|
|
64
60
|
renameS3Folder,
|
|
65
61
|
resolveBackblazeEndpoint
|
|
66
62
|
} from "./chunk-J2J24JVC.js";
|
|
63
|
+
import {
|
|
64
|
+
formatCanonicalWorkspaceFolderName,
|
|
65
|
+
sanitizeWorkspaceName
|
|
66
|
+
} from "./chunk-FZKBTF34.js";
|
|
67
67
|
import {
|
|
68
68
|
BaseApiRoute,
|
|
69
69
|
createSSEResponse,
|
|
@@ -82,14 +82,6 @@ import {
|
|
|
82
82
|
RateLimiter,
|
|
83
83
|
SessionManager
|
|
84
84
|
} from "./chunk-25Y7AVTP.js";
|
|
85
|
-
import {
|
|
86
|
-
AuditLogger,
|
|
87
|
-
ControlPlaneManager,
|
|
88
|
-
DatabaseClusterManager,
|
|
89
|
-
detectDatabaseEngine,
|
|
90
|
-
getSystemDatabaseUrls,
|
|
91
|
-
resolveSystemDatabaseClusterNodes
|
|
92
|
-
} from "./chunk-RCCQ7IRM.js";
|
|
93
85
|
import {
|
|
94
86
|
BackendProvider,
|
|
95
87
|
useBackend,
|
|
@@ -117,6 +109,14 @@ import {
|
|
|
117
109
|
WebSocketTransport,
|
|
118
110
|
createBackendClient
|
|
119
111
|
} from "./chunk-NIP22V2G.js";
|
|
112
|
+
import {
|
|
113
|
+
AuditLogger,
|
|
114
|
+
ControlPlaneManager,
|
|
115
|
+
DatabaseClusterManager,
|
|
116
|
+
detectDatabaseEngine,
|
|
117
|
+
getSystemDatabaseUrls,
|
|
118
|
+
resolveSystemDatabaseClusterNodes
|
|
119
|
+
} from "./chunk-RCCQ7IRM.js";
|
|
120
120
|
import {
|
|
121
121
|
JobDependencyGraph,
|
|
122
122
|
ResultFlowBridge,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ServiceDefinition } from '@
|
|
1
|
+
import * as _ultrst_armada_krnl from '@ultrst-armada/krnl';
|
|
2
|
+
import { ServiceDefinition } from '@ultrst-armada/krnl';
|
|
3
3
|
|
|
4
4
|
declare const AuthServiceDefinition: ServiceDefinition;
|
|
5
5
|
declare const AuthServiceFacade: {
|
|
@@ -9,7 +9,7 @@ declare const AuthServiceFacade: {
|
|
|
9
9
|
runtime: "server";
|
|
10
10
|
deployment: "local";
|
|
11
11
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
12
|
-
createInstance: () =>
|
|
12
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
13
13
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
14
14
|
};
|
|
15
15
|
declare const StorageServiceDefinition: ServiceDefinition;
|
|
@@ -20,7 +20,7 @@ declare const StorageServiceFacade: {
|
|
|
20
20
|
runtime: "server";
|
|
21
21
|
deployment: "local";
|
|
22
22
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
23
|
-
createInstance: () =>
|
|
23
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
24
24
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
25
25
|
};
|
|
26
26
|
declare const WorkspaceServiceDefinition: ServiceDefinition;
|
|
@@ -31,7 +31,7 @@ declare const WorkspaceServiceFacade: {
|
|
|
31
31
|
runtime: "server";
|
|
32
32
|
deployment: "local";
|
|
33
33
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
34
|
-
createInstance: () =>
|
|
34
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
35
35
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
36
36
|
};
|
|
37
37
|
declare const ControlPlaneServiceDefinition: ServiceDefinition;
|
|
@@ -42,7 +42,7 @@ declare const ControlPlaneServiceFacade: {
|
|
|
42
42
|
runtime: "server";
|
|
43
43
|
deployment: "local";
|
|
44
44
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
45
|
-
createInstance: () =>
|
|
45
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
46
46
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
47
47
|
};
|
|
48
48
|
declare const ExecutionServiceDefinition: ServiceDefinition;
|
|
@@ -53,7 +53,7 @@ declare const ExecutionServiceFacade: {
|
|
|
53
53
|
runtime: "server";
|
|
54
54
|
deployment: "local";
|
|
55
55
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
56
|
-
createInstance: () =>
|
|
56
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
57
57
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
58
58
|
};
|
|
59
59
|
declare const DatabaseServiceDefinition: ServiceDefinition;
|
|
@@ -64,7 +64,7 @@ declare const DatabaseServiceFacade: {
|
|
|
64
64
|
runtime: "server";
|
|
65
65
|
deployment: "local";
|
|
66
66
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
67
|
-
createInstance: () =>
|
|
67
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
68
68
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
69
69
|
};
|
|
70
70
|
declare const GeminiServiceDefinition: ServiceDefinition;
|
|
@@ -75,7 +75,7 @@ declare const GeminiServiceFacade: {
|
|
|
75
75
|
runtime: "server";
|
|
76
76
|
deployment: "remote";
|
|
77
77
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
78
|
-
createInstance: () =>
|
|
78
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
79
79
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
80
80
|
};
|
|
81
81
|
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
StorageServiceFacade,
|
|
14
14
|
WorkspaceServiceDefinition,
|
|
15
15
|
WorkspaceServiceFacade
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-FZKBTF34.js";
|
|
16
|
+
} from "./chunk-CU7RZBMF.js";
|
|
17
|
+
import "./chunk-IPP4VURQ.js";
|
|
19
18
|
import "./chunk-J2J24JVC.js";
|
|
19
|
+
import "./chunk-FZKBTF34.js";
|
|
20
20
|
import "./chunk-25Y7AVTP.js";
|
|
21
21
|
import "./chunk-QGHDJGYS.js";
|
|
22
22
|
import "./chunk-3EPY34R6.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IService, ServiceDefinition, ProtocolAdapter, EndpointDescriptor, OperationContext } from '@
|
|
2
|
-
export { EndpointDescriptor, IService, ProtocolAdapter, ServiceDefinition } from '@
|
|
1
|
+
import { IService, ServiceDefinition, ProtocolAdapter, EndpointDescriptor, OperationContext } from '@ultrst-armada/krnl';
|
|
2
|
+
export { EndpointDescriptor, IService, ProtocolAdapter, ServiceDefinition } from '@ultrst-armada/krnl';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @file ServiceBoundary.ts
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
createCompositeService,
|
|
6
6
|
createLocalService,
|
|
7
7
|
createRemoteService
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-P4HL4C6V.js";
|
|
9
|
+
import "../chunk-IPP4VURQ.js";
|
|
10
10
|
export {
|
|
11
11
|
CompositeBackend,
|
|
12
12
|
EndpointGenerator,
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"clean": "rm -rf dist"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@kloks/functions": "
|
|
84
|
-
"@kloks/state-graph": "
|
|
83
|
+
"@kloks/functions": "workspace:*",
|
|
84
|
+
"@kloks/state-graph": "workspace:*"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"better-sqlite3": "^11.0.0",
|
|
@@ -120,6 +120,6 @@
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
|
-
"@
|
|
123
|
+
"@ultrst-armada/krnl": "^1.0.0"
|
|
124
124
|
}
|
|
125
125
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ServiceDefinition } from '@
|
|
1
|
+
import * as _ultrst_armada_krnl from '@ultrst-armada/krnl';
|
|
2
|
+
import { ServiceDefinition } from '@ultrst-armada/krnl';
|
|
3
3
|
import { ZodTypeAny } from 'zod';
|
|
4
4
|
import { ExecOptions, SpawnOptions } from 'child_process';
|
|
5
5
|
import fs from 'fs';
|
|
@@ -381,7 +381,7 @@ declare const FunctionsServiceFacade: {
|
|
|
381
381
|
runtime: "server";
|
|
382
382
|
deployment: "local";
|
|
383
383
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
384
|
-
createInstance: () =>
|
|
384
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
385
385
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
386
386
|
};
|
|
387
387
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@
|
|
1
|
+
// ../../node_modules/.pnpm/@ultrst-armada+krnl@1.0.0/node_modules/@ultrst-armada/krnl/packages/core/dist/index.js
|
|
2
2
|
import { WebSocketServer, WebSocket } from "ws";
|
|
3
3
|
var ServiceStateStore = class {
|
|
4
4
|
state;
|
|
@@ -7,12 +7,14 @@ import { ExecutableBackendFacade, WorkerExecutionBoundary } from '@ultrst-armada
|
|
|
7
7
|
* Enforces SKIPO::STATE_EXECUTION_ARCHITECTURE (Worker-only access to Backend Facade).
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
declare
|
|
10
|
+
declare class WorkspaceBackendFacade extends ExecutableBackendFacade {
|
|
11
|
+
}
|
|
12
|
+
declare const backendFacade: WorkspaceBackendFacade;
|
|
11
13
|
declare const workerExecutionBoundary: WorkerExecutionBoundary;
|
|
12
14
|
|
|
13
15
|
/**
|
|
14
16
|
* @file index.ts
|
|
15
|
-
* @description kloks/orchestrations — Canonical Orchestrators A & B built on KrnlTS & kloks/services.
|
|
17
|
+
* @description @ultrst-armada/kloks/orchestrations — Canonical Orchestrators A & B built on KrnlTS & @ultrst-armada/kloks/services.
|
|
16
18
|
* Orchestrator A: Service A (Pure) -> Service B (Stateful)
|
|
17
19
|
* Orchestrator B: Service B (Stateful) -> Service C (Event-Emitting)
|
|
18
20
|
*/
|
|
@@ -50,4 +52,4 @@ interface OrchestratorBOutput {
|
|
|
50
52
|
*/
|
|
51
53
|
declare const OrchestratorBFacade: OrchestratorFacade<OrchestratorBInput, OrchestratorBOutput>;
|
|
52
54
|
|
|
53
|
-
export { OrchestratorAFacade, type OrchestratorAInput, type OrchestratorAOutput, OrchestratorBFacade, type OrchestratorBInput, type OrchestratorBOutput, type OrchestratorFacade, backendFacade, workerExecutionBoundary };
|
|
55
|
+
export { OrchestratorAFacade, type OrchestratorAInput, type OrchestratorAOutput, OrchestratorBFacade, type OrchestratorBInput, type OrchestratorBOutput, type OrchestratorFacade, WorkspaceBackendFacade, backendFacade, workerExecutionBoundary };
|
|
@@ -13,7 +13,9 @@ import {
|
|
|
13
13
|
createOperationComponent
|
|
14
14
|
} from "@ultrst-armada/kloks/backend/execution";
|
|
15
15
|
import { SKIPO_EXECUTION } from "@ultrst-armada/kloks/state-graph";
|
|
16
|
-
var
|
|
16
|
+
var WorkspaceBackendFacade = class extends ExecutableBackendFacade {
|
|
17
|
+
};
|
|
18
|
+
var backendFacade = new WorkspaceBackendFacade("WorkspaceBackendFacade");
|
|
17
19
|
var projectService = new ServiceDispatcher("project");
|
|
18
20
|
projectService.registerOperation(
|
|
19
21
|
"list",
|
|
@@ -206,6 +208,7 @@ var OrchestratorBFacade = {
|
|
|
206
208
|
export {
|
|
207
209
|
OrchestratorAFacade,
|
|
208
210
|
OrchestratorBFacade,
|
|
211
|
+
WorkspaceBackendFacade,
|
|
209
212
|
backendFacade,
|
|
210
213
|
workerExecutionBoundary
|
|
211
214
|
};
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"clean": "rm -rf dist"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@kloks/services": "
|
|
29
|
-
"@kloks/state-graph": "
|
|
30
|
-
"@kloks/backend": "
|
|
28
|
+
"@kloks/services": "workspace:*",
|
|
29
|
+
"@kloks/state-graph": "workspace:*",
|
|
30
|
+
"@kloks/backend": "workspace:*"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@
|
|
33
|
+
"@ultrst-armada/krnl": "^1.0.0"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ServiceDefinition, IService, EndpointDescriptor, ProtocolAdapter } from '@
|
|
1
|
+
import * as _ultrst_armada_krnl from '@ultrst-armada/krnl';
|
|
2
|
+
import { ServiceDefinition, IService, EndpointDescriptor, ProtocolAdapter } from '@ultrst-armada/krnl';
|
|
3
3
|
import { AdminDatabaseClusterConfig, DatabaseConnectionEntry, UserStorageConnection, AuthState, UserAccount, UserRole, UserWorkspaceRecord } from '@ultrst-armada/kloks/state-graph';
|
|
4
4
|
export { AuthState, UserAccount, UserRole, UserSession, UserStorageConnection, UserWorkspaceRecord } from '@ultrst-armada/kloks/state-graph';
|
|
5
5
|
|
|
@@ -252,7 +252,7 @@ declare const AuthClientServiceFacade: {
|
|
|
252
252
|
deployment: "local";
|
|
253
253
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
254
254
|
service: AuthService;
|
|
255
|
-
createInstance: () =>
|
|
255
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
256
256
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
257
257
|
};
|
|
258
258
|
declare const StorageClientServiceDefinition: ServiceDefinition;
|
|
@@ -264,7 +264,7 @@ declare const StorageClientServiceFacade: {
|
|
|
264
264
|
deployment: "local";
|
|
265
265
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
266
266
|
service: StorageService;
|
|
267
|
-
createInstance: () =>
|
|
267
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
268
268
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
269
269
|
};
|
|
270
270
|
declare const SystemDbClientServiceDefinition: ServiceDefinition;
|
|
@@ -276,13 +276,13 @@ declare const SystemDbClientServiceFacade: {
|
|
|
276
276
|
deployment: "local";
|
|
277
277
|
definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
278
278
|
service: SystemDbService;
|
|
279
|
-
createInstance: () =>
|
|
279
|
+
createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
|
|
280
280
|
execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
|
|
281
281
|
};
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* @file index.ts
|
|
285
|
-
* @description kloks/services — Canonical KrnlTS Services A, B, C, D.
|
|
285
|
+
* @description @ultrst-armada/kloks/services — Canonical KrnlTS Services A, B, C, D.
|
|
286
286
|
* Exports ServiceFacade, ServiceDefinition, and related types for each service.
|
|
287
287
|
* Built strictly on KrnlTS with zero dependency on Skipo or Floks.
|
|
288
288
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@
|
|
1
|
+
// ../../node_modules/.pnpm/@ultrst-armada+krnl@1.0.0/node_modules/@ultrst-armada/krnl/packages/core/dist/index.js
|
|
2
2
|
import http from "http";
|
|
3
3
|
import { WebSocketServer, WebSocket } from "ws";
|
|
4
4
|
var ServiceStateStore = class {
|