@ultrst-armada/kloks 1.2.0 → 1.2.1
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 -1
- package/packages/audio-midi/dist/chunk-3GRGELA4.js +6 -6
- package/packages/audio-midi/dist/index.d.ts +3 -3
- package/packages/audio-midi/dist/index.js +10 -10
- package/packages/backend/dist/BaseAccountProvider-DduKf5HG.d.ts +1 -1
- package/packages/backend/dist/BaseStorageAdapter-tosOoSUg.d.ts +1 -1
- package/packages/backend/dist/api/index.d.ts +1 -1
- package/packages/backend/dist/auth/index.d.ts +1 -1
- package/packages/backend/dist/chunk-4ZFXEFOE.js +2 -2
- package/packages/backend/dist/chunk-J2J24JVC.js +1 -1
- package/packages/backend/dist/chunk-KTLD7Z4L.js +3 -3
- package/packages/backend/dist/chunk-RCCQ7IRM.js +3 -3
- package/packages/backend/dist/chunk-TWCEVES2.js +1 -1
- package/packages/backend/dist/control-plane/index.d.ts +1 -1
- package/packages/backend/dist/index.d.ts +2 -2
- package/packages/backend/dist/index.js +2 -2
- package/packages/backend/dist/storage/index.d.ts +1 -1
- package/packages/backend/dist/workspace/index.d.ts +1 -1
- package/packages/orchestrations/dist/index.d.ts +3 -3
- package/packages/orchestrations/dist/index.js +3 -3
- package/packages/services/dist/index.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultrst-armada/kloks",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
"scripts": {
|
|
104
104
|
"build": "pnpm -r run build",
|
|
105
105
|
"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); } } } })\"",
|
|
106
|
+
"prepublishOnly": "npm run postbuild",
|
|
106
107
|
"test": "vitest run",
|
|
107
108
|
"typecheck": "pnpm -r run typecheck",
|
|
108
109
|
"clean": "pnpm -r run clean"
|
|
@@ -33,7 +33,7 @@ var DEFAULT_NAMED_BUSSES = [
|
|
|
33
33
|
];
|
|
34
34
|
|
|
35
35
|
// src/engine/audio/synthEngine/synthEngine.ts
|
|
36
|
-
import { midiToFreq } from "@kloks/state-graph";
|
|
36
|
+
import { midiToFreq } from "@ultrst-armada/kloks/state-graph";
|
|
37
37
|
|
|
38
38
|
// src/engine/audio/outputRouter.ts
|
|
39
39
|
var MultiChannelOutputRouter = class {
|
|
@@ -320,7 +320,7 @@ function createAudioGraphNode(node) {
|
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
// src/engine/audio/synthEngine/synthEngine.ts
|
|
323
|
-
import { getActiveEffectsForNode } from "@kloks/state-graph";
|
|
323
|
+
import { getActiveEffectsForNode } from "@ultrst-armada/kloks/state-graph";
|
|
324
324
|
|
|
325
325
|
// src/engine/audio/dsp/saturationCurves.ts
|
|
326
326
|
function generateSaturationCurve(type, drive = 1.5, samples = 4096) {
|
|
@@ -2090,14 +2090,14 @@ function buildOutputChannelList(totalChannels, descriptions = {}) {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
|
|
2092
2092
|
// src/engine/audio/audioInputManager/audioInputManager.ts
|
|
2093
|
-
import { topLevelIoRegistry } from "@kloks/state-graph";
|
|
2093
|
+
import { topLevelIoRegistry } from "@ultrst-armada/kloks/state-graph";
|
|
2094
2094
|
import {
|
|
2095
2095
|
loadStoredConfig,
|
|
2096
2096
|
saveStoredConfig,
|
|
2097
2097
|
enumerateSystemAudioDevices
|
|
2098
|
-
} from "@kloks/state-graph";
|
|
2099
|
-
import { acquireAudioInputStream, stopAudioMediaStream } from "@kloks/state-graph";
|
|
2100
|
-
import { AudioBusDriver } from "@kloks/state-graph";
|
|
2098
|
+
} from "@ultrst-armada/kloks/state-graph";
|
|
2099
|
+
import { acquireAudioInputStream, stopAudioMediaStream } from "@ultrst-armada/kloks/state-graph";
|
|
2100
|
+
import { AudioBusDriver } from "@ultrst-armada/kloks/state-graph";
|
|
2101
2101
|
var DEFAULT_NAMED_INPUTS = DEFAULT_NAMED_BUSSES;
|
|
2102
2102
|
var AudioInputManager = class {
|
|
2103
2103
|
audioCtx = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _ultrst_armada_krnl from '@ultrst-armada/krnl';
|
|
2
2
|
import { ServiceDefinition, IService } from '@ultrst-armada/krnl';
|
|
3
|
-
import { INodeVisuals, SpaceNode, NodeConnection, MidiNote, SynthPreset, ContainerNode, PlayerNode, SamplePresetType, AudioTrackData, HardwareChannelInfo, NamedAudioBus, AudioDeviceInfo, ConnectionsConfig, MidiInputDevice, StoredPacket, RecorderNode, CurveTrackData, CurvePoint, EffectNode, CompressorEffectConfig, MultibandCompressorEffectConfig } from '@kloks/state-graph';
|
|
4
|
-
export { AudioConcepts, BufferConcepts, BufferCycleCalculation } from '@kloks/state-graph';
|
|
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';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Pro-Audio Hardware Input/Output Manager (Named Bus Architecture)
|
|
@@ -934,7 +934,7 @@ declare const OscServiceFacade: {
|
|
|
934
934
|
|
|
935
935
|
/**
|
|
936
936
|
* @file index.ts
|
|
937
|
-
* @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.
|
|
938
938
|
* Converted from Skipo audio-midi engine into first-class KrnlTS services and orchestrators.
|
|
939
939
|
*/
|
|
940
940
|
|
|
@@ -607,7 +607,7 @@ var MidiManager = class {
|
|
|
607
607
|
import {
|
|
608
608
|
AudioConcepts,
|
|
609
609
|
BufferConcepts
|
|
610
|
-
} from "@kloks/state-graph";
|
|
610
|
+
} from "@ultrst-armada/kloks/state-graph";
|
|
611
611
|
|
|
612
612
|
// src/engine/index.ts
|
|
613
613
|
import {
|
|
@@ -615,7 +615,7 @@ import {
|
|
|
615
615
|
configureControlDispatcher,
|
|
616
616
|
configureNodePerformanceTracker,
|
|
617
617
|
configureSolidifyExecution
|
|
618
|
-
} from "@kloks/state-graph";
|
|
618
|
+
} from "@ultrst-armada/kloks/state-graph";
|
|
619
619
|
|
|
620
620
|
// src/engine/audio/retrospectiveBufferEngine/retrospectiveBufferEngine.ts
|
|
621
621
|
var RetrospectiveBufferEngine = class {
|
|
@@ -896,9 +896,9 @@ var RetrospectiveBufferEngine = class {
|
|
|
896
896
|
var retrospectiveBufferEngine = new RetrospectiveBufferEngine();
|
|
897
897
|
|
|
898
898
|
// src/engine/audio/sequencerEngine/sequencerEngine.ts
|
|
899
|
-
import { shouldTriggerFireAtClock } from "@kloks/state-graph";
|
|
900
|
-
import { getEffectsAffectingWire } from "@kloks/state-graph";
|
|
901
|
-
import { getActiveEffectsForNode as getActiveEffectsForNode2 } from "@kloks/state-graph";
|
|
899
|
+
import { shouldTriggerFireAtClock } from "@ultrst-armada/kloks/state-graph";
|
|
900
|
+
import { getEffectsAffectingWire } from "@ultrst-armada/kloks/state-graph";
|
|
901
|
+
import { getActiveEffectsForNode as getActiveEffectsForNode2 } from "@ultrst-armada/kloks/state-graph";
|
|
902
902
|
|
|
903
903
|
// src/engine/audio/curveEngine.ts
|
|
904
904
|
var CurveEngine = class {
|
|
@@ -1010,7 +1010,7 @@ var CurveEngine = class {
|
|
|
1010
1010
|
var curveEngine = new CurveEngine();
|
|
1011
1011
|
|
|
1012
1012
|
// src/engine/audio/sequencerStepProcessor.ts
|
|
1013
|
-
import { getActiveEffectsForNode } from "@kloks/state-graph";
|
|
1013
|
+
import { getActiveEffectsForNode } from "@ultrst-armada/kloks/state-graph";
|
|
1014
1014
|
function playContainerNoteWithEffects(container, note, nodes, connections, bpm, isPlaying, nodeVisuals) {
|
|
1015
1015
|
const activeEffects = getActiveEffectsForNode(container, nodes, connections);
|
|
1016
1016
|
const delayEffect = activeEffects.find((e) => e.effectType === "delay");
|
|
@@ -1088,8 +1088,8 @@ function processActiveContainers(activeContainerPlayheads, containerMap, prevBea
|
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
1090
|
// src/engine/audio/sequencerEngine/sequencerEngine.ts
|
|
1091
|
-
import { calculateNextQuantizeBeat } from "@kloks/state-graph";
|
|
1092
|
-
import { executeCodeNodeScript } from "@kloks/state-graph";
|
|
1091
|
+
import { calculateNextQuantizeBeat } from "@ultrst-armada/kloks/state-graph";
|
|
1092
|
+
import { executeCodeNodeScript } from "@ultrst-armada/kloks/state-graph";
|
|
1093
1093
|
var SequencerEngine = class {
|
|
1094
1094
|
bpm = 120;
|
|
1095
1095
|
isPlaying = false;
|
|
@@ -1669,8 +1669,8 @@ var SequencerEngine = class {
|
|
|
1669
1669
|
var sequencerEngine = new SequencerEngine();
|
|
1670
1670
|
|
|
1671
1671
|
// src/engine/midi/midiManager/midiManager.ts
|
|
1672
|
-
import { midiToNoteName } from "@kloks/state-graph";
|
|
1673
|
-
import { topLevelIoRegistry } from "@kloks/state-graph";
|
|
1672
|
+
import { midiToNoteName } from "@ultrst-armada/kloks/state-graph";
|
|
1673
|
+
import { topLevelIoRegistry } from "@ultrst-armada/kloks/state-graph";
|
|
1674
1674
|
var MidiManager2 = class {
|
|
1675
1675
|
midiAccess = null;
|
|
1676
1676
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SkipoBase } from '@kloks/functions';
|
|
1
|
+
import { SkipoBase } from '@ultrst-armada/kloks/functions';
|
|
2
2
|
|
|
3
3
|
type StorageMode = 'local' | 'local_hosted' | 'remote';
|
|
4
4
|
type StorageProviderType = 'local_fs' | 's3' | 'backblaze_b2' | 'b2' | 'cloudflare_r2' | 'r2' | 'supabase' | 'firebase' | 'google_drive';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as BaseAccountProvider, U as User, C as CreateUserData, a as AuthSession } from '../BaseAccountProvider-DduKf5HG.js';
|
|
2
2
|
export { A as AuthCredentials, R as RateLimiter, S as SessionManager, b as SignupInput, c as UserRole } from '../BaseAccountProvider-DduKf5HG.js';
|
|
3
|
-
import { SkipoBase } from '@kloks/functions';
|
|
3
|
+
import { SkipoBase } from '@ultrst-armada/kloks/functions';
|
|
4
4
|
|
|
5
5
|
declare class PasswordHasher {
|
|
6
6
|
static hash(password: string, saltRounds?: number): Promise<string>;
|
|
@@ -26,7 +26,7 @@ var PasswordHasher = class {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
// src/auth/BaseAccountProvider.ts
|
|
29
|
-
import { SkipoBase } from "@kloks/functions";
|
|
29
|
+
import { SkipoBase } from "@ultrst-armada/kloks/functions";
|
|
30
30
|
var BaseAccountProvider = class extends SkipoBase {
|
|
31
31
|
rateLimiter = new RateLimiter();
|
|
32
32
|
sessionManager = new SessionManager();
|
|
@@ -153,7 +153,7 @@ var LocalAccountProvider = class extends BaseAccountProvider {
|
|
|
153
153
|
};
|
|
154
154
|
|
|
155
155
|
// src/auth/AdminGuard.ts
|
|
156
|
-
import { SkipoBase as SkipoBase2 } from "@kloks/functions";
|
|
156
|
+
import { SkipoBase as SkipoBase2 } from "@ultrst-armada/kloks/functions";
|
|
157
157
|
var AdminGuard = class _AdminGuard extends SkipoBase2 {
|
|
158
158
|
static async verify(authHeaderOrToken, provider) {
|
|
159
159
|
const session = await _AdminGuard.verifyUser(authHeaderOrToken, provider);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/workspace/WorkspaceFS.ts
|
|
2
|
-
import { SkipoBase } from "@kloks/functions";
|
|
2
|
+
import { SkipoBase } from "@ultrst-armada/kloks/functions";
|
|
3
3
|
var WorkspaceFS = class extends SkipoBase {
|
|
4
4
|
primary;
|
|
5
5
|
syncEngine;
|
|
@@ -54,7 +54,7 @@ var WorkspaceFS = class extends SkipoBase {
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
// src/workspace/SyncEngine.ts
|
|
57
|
-
import { SkipoBase as SkipoBase2 } from "@kloks/functions";
|
|
57
|
+
import { SkipoBase as SkipoBase2 } from "@ultrst-armada/kloks/functions";
|
|
58
58
|
var SyncEngine = class extends SkipoBase2 {
|
|
59
59
|
primary;
|
|
60
60
|
backups;
|
|
@@ -87,7 +87,7 @@ var SyncEngine = class extends SkipoBase2 {
|
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
// src/workspace/WorkspaceCloneSyncEngine.ts
|
|
90
|
-
import { SkipoBase as SkipoBase3 } from "@kloks/functions";
|
|
90
|
+
import { SkipoBase as SkipoBase3 } from "@ultrst-armada/kloks/functions";
|
|
91
91
|
var WorkspaceCloneSyncEngine = class extends SkipoBase3 {
|
|
92
92
|
constructor() {
|
|
93
93
|
super({ name: "WorkspaceCloneSyncEngine" });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/control-plane/AuditLogger.ts
|
|
2
2
|
import { promises as fs } from "fs";
|
|
3
3
|
import path from "path";
|
|
4
|
-
import { SkipoBase } from "@kloks/functions";
|
|
4
|
+
import { SkipoBase } from "@ultrst-armada/kloks/functions";
|
|
5
5
|
var AuditLogger = class extends SkipoBase {
|
|
6
6
|
logFile;
|
|
7
7
|
constructor(logFile = ".skipo/audit.jsonl") {
|
|
@@ -41,7 +41,7 @@ var AuditLogger = class extends SkipoBase {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
// src/control-plane/DatabaseClusterManager.ts
|
|
44
|
-
import { SkipoBase as SkipoBase2 } from "@kloks/functions";
|
|
44
|
+
import { SkipoBase as SkipoBase2 } from "@ultrst-armada/kloks/functions";
|
|
45
45
|
var DatabaseClusterManager = class _DatabaseClusterManager extends SkipoBase2 {
|
|
46
46
|
config;
|
|
47
47
|
health = /* @__PURE__ */ new Map();
|
|
@@ -116,7 +116,7 @@ function resolveSystemDatabaseClusterNodes(env = process.env) {
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
// src/control-plane/ControlPlaneManager.ts
|
|
119
|
-
import { SkipoBase as SkipoBase3 } from "@kloks/functions";
|
|
119
|
+
import { SkipoBase as SkipoBase3 } from "@ultrst-armada/kloks/functions";
|
|
120
120
|
var ControlPlaneManager = class extends SkipoBase3 {
|
|
121
121
|
auth;
|
|
122
122
|
audit;
|
|
@@ -5,7 +5,7 @@ export { B2AuthToken, BackblazeB2Adapter, LocalFSAdapter, S3Adapter, StorageAdap
|
|
|
5
5
|
export { CloneReplicationResult, ConflictPolicy, SyncEngine, SyncState, WorkspaceCloneSyncEngine, WorkspaceConfig, WorkspaceDescriptor, WorkspaceFS, WorkspaceSecondaryClone, WorkspaceSyncSummary, formatCanonicalWorkspaceFolderName, sanitizeWorkspaceName } from './workspace/index.js';
|
|
6
6
|
export { AuditEvent, AuditLogger, ClusterConfig, ControlPlaneManager, DatabaseClusterManager, HealthStatus, detectDatabaseEngine, getSystemDatabaseUrls, resolveSystemDatabaseClusterNodes } from './control-plane/index.js';
|
|
7
7
|
export { ApiError, ApiResponse, BaseApiRoute, Middleware, RouteConfig, createSSEResponse, withAuth, withCors } from './api/index.js';
|
|
8
|
-
import { SkipoBase } from '@kloks/functions';
|
|
8
|
+
import { SkipoBase } from '@ultrst-armada/kloks/functions';
|
|
9
9
|
export { A as AuthContext, B as BackendExecutor, a as BackendInstance, C as CallbackHandle, b as CapabilityContext, D as Delegation, c as DistributedLock, I as IdempotentRequest, J as Job, d as JobPriority, e as JobState, M as Message, f as MessageType, R as ResolutionStrategy, g as ResourceVersion, h as RoutingStrategy } from './types-BERZJ93O.js';
|
|
10
10
|
export { BackendContract, BackendRegistry, CallbackDefinition, ConcurrencyConflictError, ConcurrencyManager, DomainContract, EventDefinition, HealthMonitor, InProcessExecutor, JobDefinition, JobHandler, JobScheduler, LoadBalancer, LockManager, OperationDefinition, RemoteExecutor, RemoteExecutorOptions, createEmptyContract } from './connectivity/index.js';
|
|
11
11
|
export { B as BackendClient, a as BackendClientOptions, b as BackendResolver, c as BackendResolverOptions, C as CallbackFn, d as CallbackRegistry, D as DomainProxy, E as ErrorHandler, e as EventBus, f as EventHandler, F as FrontendSession, g as FrontendSessionOptions, G as GapHandler, H as HTTPTransport, h as HTTPTransportOptions, I as ITransport, M as MessageHandler, S as SequenceCheckResult, i as SequenceTracker, W as WebSocketTransport, j as WebSocketTransportOptions, k as createBackendClient } from './WebSocketTransport-CxUzUfwl.js';
|
|
@@ -14,7 +14,7 @@ export { BackendClientInstance, BackendProvider, BackendProviderProps, useBacken
|
|
|
14
14
|
export { AdaptedStorageConnection, AppAccountManifest, AppServiceDeclaration, CANONICAL_SRKL_URL, EcosystemAccount, EcosystemAccountsRequest, EcosystemAccountsResponse, EcosystemServiceCategory, SrklClient, SrklClientOptions, SrklEcosystemQueryOptions, SrklEcosystemResponse, SrklServiceAccount, UseSrklServicesOptions, UseSrklServicesResult, createSrklClient, getPrimarySrklDeploymentUrl, getSrklAccounts, srklListBackblazeBuckets, useSrklServices } from './srkl/index.js';
|
|
15
15
|
export { BackendCommand, DomainService, ExecutableBackendFacade, ExecutionContext, JobDependencyGraph, NormalizedResult, OperationComponent, ResultFlowBridge, ServiceDispatcher, StateUpdateEvent, WorkerExecutionBoundary, createOperationComponent } from './execution/index.js';
|
|
16
16
|
export { CompositeBackend, EndpointGenerator, GeneratedEndpointSummary, LocalService, RemoteServiceProxy, createBackend, createCompositeService, createLocalService, createRemoteService } from './services/index.js';
|
|
17
|
-
import { AssetDataType as AssetDataType$1, AssetChannelType as AssetChannelType$1, GraphFolderInfo as GraphFolderInfo$1, GraphAssetItem as GraphAssetItem$1, SpaceNode, NodeConnection, DawProject } from '@kloks/state-graph';
|
|
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
19
|
export { EndpointDescriptor, IService, ProtocolAdapter, ServiceDefinition } from '@ultrst-armada/krnl';
|
|
20
20
|
import 'react';
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
import "./chunk-IPP4VURQ.js";
|
|
136
136
|
|
|
137
137
|
// src/data/BaseDataProvider.ts
|
|
138
|
-
import { SkipoBase } from "@kloks/functions";
|
|
138
|
+
import { SkipoBase } from "@ultrst-armada/kloks/functions";
|
|
139
139
|
var BaseDataProvider = class extends SkipoBase {
|
|
140
140
|
};
|
|
141
141
|
|
|
@@ -4276,7 +4276,7 @@ async function deleteAssetFromGraph(params) {
|
|
|
4276
4276
|
// src/server/services/graphPackageService.ts
|
|
4277
4277
|
import fs6 from "fs";
|
|
4278
4278
|
import path6 from "path";
|
|
4279
|
-
import { validateGraphImport } from "@kloks/state-graph";
|
|
4279
|
+
import { validateGraphImport } from "@ultrst-armada/kloks/state-graph";
|
|
4280
4280
|
var WORKSPACE_ROOT2 = path6.join(process.cwd(), "workspaces", "default");
|
|
4281
4281
|
var GRAPHS_ROOT2 = path6.join(WORKSPACE_ROOT2, "graphs");
|
|
4282
4282
|
var LEGACY_PROJECTS_ROOT = path6.join(process.cwd(), "projects");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as BaseStorageAdapter, S as StorageConfig, F as FileInfo, D as DeleteFolderResult, R as RenameFolderResult, C as ConnectionTestResult } from '../BaseStorageAdapter-tosOoSUg.js';
|
|
2
2
|
export { a as StorageMode, b as StorageProviderType, U as UploadResult } from '../BaseStorageAdapter-tosOoSUg.js';
|
|
3
|
-
import '@kloks/functions';
|
|
3
|
+
import '@ultrst-armada/kloks/functions';
|
|
4
4
|
|
|
5
5
|
declare class LocalFSAdapter extends BaseStorageAdapter {
|
|
6
6
|
private basePath;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CounterState, TelemetryEvents } from '@kloks/services';
|
|
2
|
-
import { ExecutableBackendFacade, WorkerExecutionBoundary } from '@kloks/backend/execution';
|
|
1
|
+
import { CounterState, TelemetryEvents } from '@ultrst-armada/kloks/services';
|
|
2
|
+
import { ExecutableBackendFacade, WorkerExecutionBoundary } from '@ultrst-armada/kloks/backend/execution';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @file backendExecutionFacade.ts
|
|
@@ -14,7 +14,7 @@ declare const workerExecutionBoundary: WorkerExecutionBoundary;
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @file index.ts
|
|
17
|
-
* @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.
|
|
18
18
|
* Orchestrator A: Service A (Pure) -> Service B (Stateful)
|
|
19
19
|
* Orchestrator B: Service B (Stateful) -> Service C (Event-Emitting)
|
|
20
20
|
*/
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ServiceAFacade,
|
|
4
4
|
ServiceBFacade,
|
|
5
5
|
ServiceCFacade
|
|
6
|
-
} from "@kloks/services";
|
|
6
|
+
} from "@ultrst-armada/kloks/services";
|
|
7
7
|
|
|
8
8
|
// src/worker-facade/backendExecutionFacade.ts
|
|
9
9
|
import {
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
WorkerExecutionBoundary,
|
|
12
12
|
ServiceDispatcher,
|
|
13
13
|
createOperationComponent
|
|
14
|
-
} from "@kloks/backend/execution";
|
|
15
|
-
import { SKIPO_EXECUTION } from "@kloks/state-graph";
|
|
14
|
+
} from "@ultrst-armada/kloks/backend/execution";
|
|
15
|
+
import { SKIPO_EXECUTION } from "@ultrst-armada/kloks/state-graph";
|
|
16
16
|
var WorkspaceBackendFacade = class extends ExecutableBackendFacade {
|
|
17
17
|
};
|
|
18
18
|
var backendFacade = new WorkspaceBackendFacade("WorkspaceBackendFacade");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _ultrst_armada_krnl from '@ultrst-armada/krnl';
|
|
2
2
|
import { ServiceDefinition, IService, EndpointDescriptor, ProtocolAdapter } from '@ultrst-armada/krnl';
|
|
3
|
-
import { AdminDatabaseClusterConfig, DatabaseConnectionEntry, UserStorageConnection, AuthState, UserAccount, UserRole, UserWorkspaceRecord } from '@kloks/state-graph';
|
|
4
|
-
export { AuthState, UserAccount, UserRole, UserSession, UserStorageConnection, UserWorkspaceRecord } from '@kloks/state-graph';
|
|
3
|
+
import { AdminDatabaseClusterConfig, DatabaseConnectionEntry, UserStorageConnection, AuthState, UserAccount, UserRole, UserWorkspaceRecord } from '@ultrst-armada/kloks/state-graph';
|
|
4
|
+
export { AuthState, UserAccount, UserRole, UserSession, UserStorageConnection, UserWorkspaceRecord } from '@ultrst-armada/kloks/state-graph';
|
|
5
5
|
|
|
6
6
|
interface SystemEnvironmentStatus {
|
|
7
7
|
databaseUrlConfigured: boolean;
|
|
@@ -282,7 +282,7 @@ declare const SystemDbClientServiceFacade: {
|
|
|
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
|
*/
|