@ultrst-armada/kloks 1.26.3 → 1.26.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 (267) hide show
  1. package/README.md +39 -0
  2. package/index.d.ts +16 -10
  3. package/index.js +3 -0
  4. package/package.json +60 -7
  5. package/packages/audio-midi/dist/{audioClipEngine-BOT33JKI.js → audioClipEngine-LKZRWTJ3.js} +2 -2
  6. package/packages/audio-midi/dist/{audioInputManager-BLDGGLAR.js → audioInputManager-5BNHLOJM.js} +1 -1
  7. package/packages/audio-midi/dist/{chunk-N55BWOC6.js → chunk-M4JFGTHE.js} +1 -1
  8. package/packages/audio-midi/dist/{chunk-3GRGELA4.js → chunk-OUOFTYHY.js} +50 -11
  9. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Compressor/manifest.json +7 -0
  10. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Delay/manifest.json +7 -0
  11. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Equalizer/manifest.json +7 -0
  12. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Limiter/manifest.json +7 -0
  13. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/MultibandCompressor/manifest.json +7 -0
  14. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Reverb/manifest.json +7 -0
  15. package/packages/audio-midi/dist/engine/audio/entities/AudioEffects/functionalities/Saturation/manifest.json +7 -0
  16. package/packages/audio-midi/dist/index.d.ts +10 -1
  17. package/packages/audio-midi/dist/index.js +36 -20
  18. package/packages/audio-midi/package.json +8 -0
  19. package/packages/backend/dist/ai-models/index.js +2 -2
  20. package/packages/backend/dist/ai-routing/index.js +3 -3
  21. package/packages/backend/dist/api/BaseApiRoute.d.ts +1 -1
  22. package/packages/backend/dist/api/index.js +1 -1
  23. package/packages/backend/dist/auth/CanonicalAuthClient.d.ts +6 -6
  24. package/packages/backend/dist/auth/index.js +2 -1
  25. package/packages/backend/dist/chunk-2Y2EXYDK.js +0 -0
  26. package/packages/backend/dist/{chunk-3S2NSIFA.js → chunk-3FZSYSJC.js} +16 -10
  27. package/packages/backend/dist/chunk-5F5V7NAG.js +54 -0
  28. package/packages/backend/dist/{chunk-WAQDOIGQ.js → chunk-BVXGUHLZ.js} +1 -1
  29. package/packages/backend/dist/chunk-DAG2L4RN.js +0 -0
  30. package/packages/backend/dist/{chunk-KPZQUA7R.js → chunk-G7PPVOFP.js} +16 -53
  31. package/packages/backend/dist/{chunk-GKQ42CYW.js → chunk-H6ET362U.js} +3 -3
  32. package/packages/backend/dist/chunk-HUY4272L.js +69 -0
  33. package/packages/backend/dist/chunk-JQKKMUCT.js +0 -0
  34. package/packages/backend/dist/{chunk-PT6J6UEU.js → chunk-LMAU62ZG.js} +4 -4
  35. package/packages/backend/dist/{chunk-EDKCP5CQ.js → chunk-MZK362U4.js} +16 -16
  36. package/packages/backend/dist/{chunk-U4UI6KK4.js → chunk-NGEB3CF5.js} +3 -35
  37. package/packages/backend/dist/{chunk-3VWBZEMG.js → chunk-NTKUQVCQ.js} +4 -5
  38. package/packages/backend/dist/chunk-NY2SQOXI.js +34 -0
  39. package/packages/backend/dist/{chunk-JOTDEFRG.js → chunk-OXEP3AP6.js} +5 -4
  40. package/packages/backend/dist/chunk-RABSY2JU.js +0 -0
  41. package/packages/backend/dist/{chunk-GWCLYVJT.js → chunk-RFPGUJAZ.js} +9 -9
  42. package/packages/backend/dist/{chunk-TWCEVES2.js → chunk-WC6EPW3A.js} +1 -1
  43. package/packages/backend/dist/{chunk-FU6TYLI2.js → chunk-Y5ENDXU2.js} +72 -129
  44. package/packages/backend/dist/{chunk-EO5VUYYU.js → chunk-Y7ZE6D5H.js} +4 -4
  45. package/packages/backend/dist/{chunk-RCCQ7IRM.js → chunk-ZBNSK26X.js} +2 -2
  46. package/packages/backend/dist/control-plane/AuditLogger.d.ts +1 -1
  47. package/packages/backend/dist/control-plane/ControlPlaneManager.d.ts +1 -1
  48. package/packages/backend/dist/control-plane/index.js +1 -1
  49. package/packages/backend/dist/core/dynamicRouteResolver.d.ts +1 -1
  50. package/packages/backend/dist/core/routesCore.d.ts +1 -1
  51. package/packages/backend/dist/core/vercelTransformer.d.ts +1 -1
  52. package/packages/backend/dist/core/workspaceCore.d.ts +2 -2
  53. package/packages/backend/dist/data/BaseDataProvider.d.ts +1 -1
  54. package/packages/backend/dist/development/index.js +30 -17
  55. package/packages/backend/dist/development/playwrightInspectionService.js +1 -2
  56. package/packages/backend/dist/development/webContainerService.js +1 -2
  57. package/packages/backend/dist/index.d.ts +4 -24
  58. package/packages/backend/dist/index.js +12 -4655
  59. package/packages/backend/dist/krnl-ai-services.d.ts +9 -9
  60. package/packages/backend/dist/krnl-ai-services.js +5 -6
  61. package/packages/backend/dist/krnl-services.js +8 -7
  62. package/packages/backend/dist/node.d.ts +28 -0
  63. package/packages/backend/dist/node.js +4761 -0
  64. package/packages/backend/dist/resourceEngine/BaseResourceFetcher.d.ts +3 -3
  65. package/packages/backend/dist/resourceEngine/CloudflareResourceFetcher.d.ts +3 -3
  66. package/packages/backend/dist/resourceEngine/ResourceFetcherRegistry.d.ts +5 -5
  67. package/packages/backend/dist/resourceEngine/VercelResourceFetcher.d.ts +3 -3
  68. package/packages/backend/dist/resourceEngine/adapters/CloudflareResourceAdapter.d.ts +2 -2
  69. package/packages/backend/dist/resourceEngine/adapters/VercelResourceAdapter.d.ts +2 -2
  70. package/packages/backend/dist/resourceEngine/calculator/UniversalResourceCalculator.d.ts +1 -1
  71. package/packages/backend/dist/resourceEngine/calculator/types.d.ts +1 -1
  72. package/packages/backend/dist/resourceEngine/index.d.ts +6 -6
  73. package/packages/backend/dist/resourceEngine/types/depm/entities.d.ts +2 -2
  74. package/packages/backend/dist/resourceEngine/types.d.ts +1 -1
  75. package/packages/backend/dist/resourceEngine/weightEngine/helpers.d.ts +1 -1
  76. package/packages/backend/dist/resourceEngine/weightEngine/index.d.ts +2 -2
  77. package/packages/backend/dist/resourceEngine/weightEngine/weightEngine.d.ts +1 -1
  78. package/packages/backend/dist/resourceEngine/weightEngine.d.ts +1 -1
  79. package/packages/backend/dist/server/services/assetPoolService/assetPoolService.d.ts +3 -3
  80. package/packages/backend/dist/server/services/projectService/projectService.d.ts +3 -3
  81. package/packages/backend/dist/services/index.d.ts +2 -10
  82. package/packages/backend/dist/services/index.js +1 -37
  83. package/packages/backend/dist/services/node.d.ts +10 -0
  84. package/packages/backend/dist/services/node.js +38 -0
  85. package/packages/backend/dist/srkl/index.js +1 -1
  86. package/packages/backend/dist/storage/BaseStorageAdapter.d.ts +1 -1
  87. package/packages/backend/dist/storage/S3Adapter.d.ts +5 -0
  88. package/packages/backend/dist/storage/googleDriveSdk.d.ts +1 -7
  89. package/packages/backend/dist/storage/index.d.ts +1 -10
  90. package/packages/backend/dist/storage/index.js +5 -40
  91. package/packages/backend/dist/storage/node.d.ts +14 -0
  92. package/packages/backend/dist/storage/node.js +66 -0
  93. package/packages/backend/dist/workspace/WorkspaceCloneSyncEngine.d.ts +1 -1
  94. package/packages/backend/dist/workspace/index.d.ts +1 -5
  95. package/packages/backend/dist/workspace/index.js +4 -24
  96. package/packages/backend/dist/workspace/node.d.ts +8 -0
  97. package/packages/backend/dist/workspace/node.js +30 -0
  98. package/packages/backend/package.json +35 -3
  99. package/packages/functions/dist/base-DDYO-DzM.d.ts +64 -0
  100. package/packages/functions/dist/base.d.ts +1 -0
  101. package/packages/functions/dist/base.js +6 -0
  102. package/packages/functions/dist/chunk-6EHIZHO4.js +555 -0
  103. package/packages/functions/dist/chunk-Z4LM5TOJ.js +114 -0
  104. package/packages/functions/dist/index.d.ts +4 -373
  105. package/packages/functions/dist/index.js +53 -1693
  106. package/packages/functions/dist/node.d.ts +110 -0
  107. package/packages/functions/dist/node.js +442 -0
  108. package/packages/functions/dist/portable.d.ts +207 -0
  109. package/packages/functions/dist/portable.js +94 -0
  110. package/packages/functions/package.json +23 -1
  111. package/packages/{functions/dist/chunk-K6H7T3EP.js → services/dist/chunk-P54QSKOQ.js} +1 -3
  112. package/packages/{state-graph/dist/dist-es-TLPJYZTE.js → services/dist/dist-es-2P6LFFZL.js} +1 -1
  113. package/packages/{state-graph/dist/dist-es-5IACWOIO.js → services/dist/dist-es-OZCE67MW.js} +1 -1
  114. package/packages/services/dist/{dist-es-3DGJJFOU.js → dist-es-RUJB3ALN.js} +3 -3
  115. package/packages/{state-graph/dist/dist-es-QZ6GKMM7.js → services/dist/dist-es-SSJGP5AI.js} +4 -4
  116. package/packages/services/dist/{loadSso-M3ZIZDGO.js → loadSso-3PZYFUB7.js} +1 -1
  117. package/packages/{functions/dist/signin-YXALFRYB.js → services/dist/signin-WYPGSXHF.js} +1 -1
  118. package/packages/{state-graph/dist/sso-oidc-NXFKRL6O.js → services/dist/sso-oidc-PQMIMLJU.js} +1 -1
  119. package/packages/{state-graph/dist/sts-MICPT37B.js → services/dist/sts-Z7LR3AZH.js} +1 -1
  120. package/packages/state-graph/dist/browser.d.ts +8 -18
  121. package/packages/state-graph/dist/browser.js +334 -23
  122. package/packages/state-graph/dist/browser.test.d.ts +1 -0
  123. package/packages/state-graph/dist/{chunk-KG6QYS26.js → chunk-5KP74NMF.js} +80 -80
  124. package/packages/state-graph/dist/{chunk-4UVGXFEM.js → chunk-LVULR5M4.js} +1 -1
  125. package/packages/state-graph/dist/{chunk-S22PMERU.js → chunk-OXUDG6HE.js} +1 -1
  126. package/packages/state-graph/dist/{chunk-2CQQGFMF.js → chunk-UKTICGGV.js} +2616 -432
  127. package/packages/state-graph/dist/domain/index.js +2 -3
  128. package/packages/state-graph/dist/engine/AudioConcepts.d.ts +1 -1
  129. package/packages/state-graph/dist/engine/GraphConcepts.d.ts +1 -1
  130. package/packages/state-graph/dist/engine/core/archetypes/audioArchetypes.d.ts +1 -1
  131. package/packages/state-graph/dist/engine/core/archetypes/effectArchetypes.d.ts +1 -1
  132. package/packages/state-graph/dist/engine/core/archetypes/primitiveArchetypes.d.ts +1 -1
  133. package/packages/state-graph/dist/engine/core/archetypes/routingArchetypes.d.ts +1 -1
  134. package/packages/state-graph/dist/engine/core/archetypes/triggerModuleArchetypes.d.ts +1 -1
  135. package/packages/state-graph/dist/engine/core/assets/containerSprites.d.ts +1 -1
  136. package/packages/state-graph/dist/engine/core/assets/effectSprites.d.ts +1 -1
  137. package/packages/state-graph/dist/engine/core/assets/primitiveSprites.d.ts +1 -1
  138. package/packages/state-graph/dist/engine/core/assets/routingSprites.d.ts +1 -1
  139. package/packages/state-graph/dist/engine/core/canonicalIo/CanonicalAudioInputEndpoint.d.ts +1 -1
  140. package/packages/state-graph/dist/engine/core/canonicalIo/CanonicalMidiInputEndpoint.d.ts +1 -1
  141. package/packages/state-graph/dist/engine/core/canonicalIo/topLevelIoRegistry.d.ts +6 -6
  142. package/packages/state-graph/dist/engine/core/canonicalIo/types.d.ts +1 -1
  143. package/packages/state-graph/dist/engine/core/graphDataService.d.ts +1 -1
  144. package/packages/state-graph/dist/engine/core/hierarchy/index.d.ts +11 -11
  145. package/packages/state-graph/dist/engine/core/hierarchy/nodes/GraphNodeParent.d.ts +3 -3
  146. package/packages/state-graph/dist/engine/core/hierarchy/nodes/GraphNodeTypes.d.ts +1 -1
  147. package/packages/state-graph/dist/engine/core/hierarchy/sockets/GraphSocketParent.d.ts +2 -2
  148. package/packages/state-graph/dist/engine/core/hierarchy/sockets/GraphSocketTypes.d.ts +1 -1
  149. package/packages/state-graph/dist/engine/core/hierarchy/ui/UIElementBase.d.ts +3 -3
  150. package/packages/state-graph/dist/engine/core/hierarchy/wires/GraphWireParent.d.ts +2 -2
  151. package/packages/state-graph/dist/engine/core/hierarchy/wires/GraphWireTypes.d.ts +1 -1
  152. package/packages/state-graph/dist/engine/core/nodeArchetypeRegistry.d.ts +1 -1
  153. package/packages/state-graph/dist/engine/core/socketRegistry/containersSockets.d.ts +1 -1
  154. package/packages/state-graph/dist/engine/core/socketRegistry/customRegistry.d.ts +1 -1
  155. package/packages/state-graph/dist/engine/core/socketRegistry/landmarksSockets.d.ts +1 -1
  156. package/packages/state-graph/dist/engine/core/socketRegistry/primitivesSockets.d.ts +1 -1
  157. package/packages/state-graph/dist/engine/core/socketRegistry/processorsSockets.d.ts +1 -1
  158. package/packages/state-graph/dist/engine/core/sockets/arrangementControlSockets.d.ts +1 -1
  159. package/packages/state-graph/dist/engine/core/sockets/audioSockets.d.ts +1 -1
  160. package/packages/state-graph/dist/engine/core/sockets/folderButtonSockets.d.ts +1 -1
  161. package/packages/state-graph/dist/engine/core/sockets/moduleSockets.d.ts +1 -1
  162. package/packages/state-graph/dist/engine/core/sockets/playbackSockets.d.ts +1 -1
  163. package/packages/state-graph/dist/engine/core/sockets/primitiveSockets.d.ts +1 -1
  164. package/packages/state-graph/dist/engine/core/sockets/routingSockets.d.ts +1 -1
  165. package/packages/state-graph/dist/engine/core/sockets/samplerSockets.d.ts +1 -1
  166. package/packages/state-graph/dist/engine/core/sockets/stripSockets.d.ts +1 -1
  167. package/packages/state-graph/dist/engine/functions/arrangementFactory.d.ts +1 -1
  168. package/packages/state-graph/dist/engine/functions/codeNodeParser/codeNodeParser.d.ts +2 -2
  169. package/packages/state-graph/dist/engine/functions/codeNodeParser/helpers.d.ts +1 -1
  170. package/packages/state-graph/dist/engine/functions/connection/portMatching.d.ts +1 -1
  171. package/packages/state-graph/dist/engine/functions/connection/signalCompatibility/helpers.d.ts +1 -1
  172. package/packages/state-graph/dist/engine/functions/connection/signalCompatibility/signalCompatibility.d.ts +1 -1
  173. package/packages/state-graph/dist/engine/functions/connection/signalCompatibility.d.ts +1 -1
  174. package/packages/state-graph/dist/engine/functions/connection/wireValidation.d.ts +1 -1
  175. package/packages/state-graph/dist/engine/functions/containerClipSync.d.ts +1 -1
  176. package/packages/state-graph/dist/engine/functions/containerFactory/containerFactory.d.ts +1 -1
  177. package/packages/state-graph/dist/engine/functions/effectLogic.d.ts +1 -1
  178. package/packages/state-graph/dist/engine/functions/graphManager/graphManager.d.ts +1 -1
  179. package/packages/state-graph/dist/engine/functions/graphManager.d.ts +1 -1
  180. package/packages/state-graph/dist/engine/functions/nodeFactory/nodeFactory.d.ts +8 -8
  181. package/packages/state-graph/dist/engine/functions/nodeFactory.d.ts +2 -2
  182. package/packages/state-graph/dist/engine/functions/signalTable/audioMidiSignals.d.ts +1 -1
  183. package/packages/state-graph/dist/engine/functions/signalTable/canonicalEffectsTable.d.ts +1 -1
  184. package/packages/state-graph/dist/engine/functions/signalTable/dataSignals.d.ts +1 -1
  185. package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner/helpers.d.ts +1 -1
  186. package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner/socketCompatibilitySpawner.d.ts +1 -1
  187. package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner.d.ts +1 -1
  188. package/packages/state-graph/dist/engine/functions/spawnNodeFactory.d.ts +1 -1
  189. package/packages/state-graph/dist/engine/predictive/predictiveGraphEngine/helpers.d.ts +1 -1
  190. package/packages/state-graph/dist/engine/predictive/predictiveGraphEngine.d.ts +2 -2
  191. package/packages/state-graph/dist/engine/types/auth.d.ts +1 -1
  192. package/packages/state-graph/dist/engine/types/hardwareBus.d.ts +1 -1
  193. package/packages/state-graph/dist/engine/types/legacyTypes.d.ts +1 -1
  194. package/packages/state-graph/dist/engine/types/nodesArrangement.d.ts +2 -2
  195. package/packages/state-graph/dist/engine/types/nodesAudio.d.ts +5 -5
  196. package/packages/state-graph/dist/engine/types/nodesControl.d.ts +2 -2
  197. package/packages/state-graph/dist/engine/types/nodesPlayback.d.ts +2 -2
  198. package/packages/state-graph/dist/engine/types/nodesPrimitives.d.ts +6 -6
  199. package/packages/state-graph/dist/engine/types/nodesRouting.d.ts +2 -2
  200. package/packages/state-graph/dist/engine/types/sceneData.d.ts +2 -2
  201. package/packages/state-graph/dist/engine/types/sceneState.d.ts +4 -4
  202. package/packages/state-graph/dist/engine/types/signals.d.ts +2 -2
  203. package/packages/state-graph/dist/engine/types/stripsTypes.d.ts +2 -2
  204. package/packages/state-graph/dist/index.js +110 -2850
  205. package/packages/state-graph/dist/rules/index.js +0 -1
  206. package/packages/state-graph/dist/spatial/index.js +0 -1
  207. package/packages/state-graph/dist/state/index.js +0 -1
  208. package/packages/state-graph/dist/store/CommandApi.d.ts +2 -2
  209. package/packages/state-graph/dist/store/index.js +2 -3
  210. package/packages/state-graph/package.json +7 -2
  211. package/scripts/normalize-package-declarations.mjs +63 -0
  212. package/packages/backend/dist/chunk-SXDYW3QA.js +0 -579
  213. package/packages/functions/dist/bowser-F6LIZBYW.js +0 -2821
  214. package/packages/functions/dist/chunk-34KJBG4F.js +0 -357
  215. package/packages/functions/dist/chunk-EAQYK3U2.js +0 -41
  216. package/packages/functions/dist/chunk-IOAPEUC7.js +0 -3424
  217. package/packages/functions/dist/chunk-J64ZDIIX.js +0 -2753
  218. package/packages/functions/dist/chunk-N3MSTUJN.js +0 -4785
  219. package/packages/functions/dist/chunk-VP26OHBN.js +0 -480
  220. package/packages/functions/dist/chunk-VRLVLNLG.js +0 -1727
  221. package/packages/functions/dist/dist-TKZ5TDRN.js +0 -1124
  222. package/packages/functions/dist/dist-W7ZJS3LZ.js +0 -899
  223. package/packages/functions/dist/dist-es-3DGJJFOU.js +0 -338
  224. package/packages/functions/dist/dist-es-5IACWOIO.js +0 -69
  225. package/packages/functions/dist/dist-es-BWLDIBIA.js +0 -47
  226. package/packages/functions/dist/dist-es-DO3F4OBN.js +0 -377
  227. package/packages/functions/dist/dist-es-NN7AKU7P.js +0 -175
  228. package/packages/functions/dist/dist-es-QZ6GKMM7.js +0 -220
  229. package/packages/functions/dist/dist-es-R3VEGXOP.js +0 -87
  230. package/packages/functions/dist/dist-es-TLPJYZTE.js +0 -294
  231. package/packages/functions/dist/event-streams-DRE6QVD6.js +0 -940
  232. package/packages/functions/dist/loadSso-M3ZIZDGO.js +0 -586
  233. package/packages/functions/dist/multipart-parser-YYFFJ4QD.js +0 -371
  234. package/packages/functions/dist/src-2QCYQXYH.js +0 -1396
  235. package/packages/functions/dist/sso-oidc-NXFKRL6O.js +0 -847
  236. package/packages/functions/dist/sts-MICPT37B.js +0 -1253
  237. package/packages/functions/dist/transformers.node-R6VHTGC2.js +0 -43879
  238. package/packages/services/dist/chunk-K6H7T3EP.js +0 -1991
  239. package/packages/services/dist/dist-es-5IACWOIO.js +0 -69
  240. package/packages/services/dist/dist-es-QZ6GKMM7.js +0 -220
  241. package/packages/services/dist/dist-es-TLPJYZTE.js +0 -294
  242. package/packages/services/dist/signin-YXALFRYB.js +0 -831
  243. package/packages/services/dist/sso-oidc-NXFKRL6O.js +0 -847
  244. package/packages/services/dist/sts-MICPT37B.js +0 -1253
  245. package/packages/state-graph/dist/bowser-F6LIZBYW.js +0 -2821
  246. package/packages/state-graph/dist/chunk-34KJBG4F.js +0 -357
  247. package/packages/state-graph/dist/chunk-EAQYK3U2.js +0 -41
  248. package/packages/state-graph/dist/chunk-IOAPEUC7.js +0 -3424
  249. package/packages/state-graph/dist/chunk-J64ZDIIX.js +0 -2753
  250. package/packages/state-graph/dist/chunk-K6H7T3EP.js +0 -1991
  251. package/packages/state-graph/dist/chunk-N3MSTUJN.js +0 -4785
  252. package/packages/state-graph/dist/chunk-VP26OHBN.js +0 -480
  253. package/packages/state-graph/dist/chunk-VRLVLNLG.js +0 -1727
  254. package/packages/state-graph/dist/dist-TKZ5TDRN.js +0 -1124
  255. package/packages/state-graph/dist/dist-W7ZJS3LZ.js +0 -899
  256. package/packages/state-graph/dist/dist-es-3DGJJFOU.js +0 -338
  257. package/packages/state-graph/dist/dist-es-BWLDIBIA.js +0 -47
  258. package/packages/state-graph/dist/dist-es-DO3F4OBN.js +0 -377
  259. package/packages/state-graph/dist/dist-es-NN7AKU7P.js +0 -175
  260. package/packages/state-graph/dist/dist-es-R3VEGXOP.js +0 -87
  261. package/packages/state-graph/dist/event-streams-DRE6QVD6.js +0 -940
  262. package/packages/state-graph/dist/loadSso-M3ZIZDGO.js +0 -586
  263. package/packages/state-graph/dist/multipart-parser-YYFFJ4QD.js +0 -371
  264. package/packages/state-graph/dist/signin-YXALFRYB.js +0 -831
  265. package/packages/state-graph/dist/src-2QCYQXYH.js +0 -1396
  266. package/packages/state-graph/dist/transformers.node-R6VHTGC2.js +0 -43879
  267. package/packages/backend/dist/{chunk-LMWXONZG.js → chunk-EREYT3WJ.js} +3 -3
@@ -1,7 +1,13 @@
1
1
  import {
2
- BaseStorageAdapter,
3
2
  GoogleDriveAdapter
4
- } from "./chunk-KPZQUA7R.js";
3
+ } from "./chunk-G7PPVOFP.js";
4
+ import {
5
+ normalizeBackblazeCredentials,
6
+ resolveBackblazeEndpoint
7
+ } from "./chunk-HUY4272L.js";
8
+ import {
9
+ BaseStorageAdapter
10
+ } from "./chunk-5F5V7NAG.js";
5
11
 
6
12
  // src/storage/LocalFSAdapter.ts
7
13
  import { promises as fs } from "fs";
@@ -97,9 +103,9 @@ var LocalFSAdapter = class extends BaseStorageAdapter {
97
103
  async function ensureS3DirectoryMarker(s3, bucketName, folderPrefix) {
98
104
  const clean = folderPrefix.replace(/^\/+|\/+$/g, "");
99
105
  if (!clean) return;
100
- const { PutObjectCommand: PutObjectCommand3 } = await import("@dinilmusick/gutts/storage");
106
+ const { PutObjectCommand: PutObjectCommand2 } = await import("@aws-sdk/client-s3");
101
107
  try {
102
- await s3.send(new PutObjectCommand3({
108
+ await s3.send(new PutObjectCommand2({
103
109
  Bucket: bucketName,
104
110
  Key: `${clean}/`,
105
111
  Body: Buffer.alloc(0),
@@ -111,7 +117,7 @@ async function ensureS3DirectoryMarker(s3, bucketName, folderPrefix) {
111
117
  }
112
118
  async function permanentDeleteS3Object(s3, bucketName, fullKey) {
113
119
  try {
114
- const { DeleteObjectCommand } = await import("@dinilmusick/gutts/storage");
120
+ const { DeleteObjectCommand } = await import("@aws-sdk/client-s3");
115
121
  await s3.send(new DeleteObjectCommand({ Bucket: bucketName, Key: fullKey }));
116
122
  return true;
117
123
  } catch (err) {
@@ -124,11 +130,11 @@ async function permanentDeleteS3Folder(s3, bucketName, targetPrefix) {
124
130
  const bare = targetPrefix.replace(/\/+$/, "");
125
131
  const isMatch = (k) => k === bare || k === `${bare}/` || k.startsWith(`${bare}/`);
126
132
  try {
127
- const { DeleteObjectsCommand, DeleteObjectCommand, ListObjectsV2Command: ListObjectsV2Command3 } = await import("@dinilmusick/gutts/storage");
133
+ const { DeleteObjectsCommand, DeleteObjectCommand, ListObjectsV2Command: ListObjectsV2Command2 } = await import("@aws-sdk/client-s3");
128
134
  let contToken;
129
135
  let more = true;
130
136
  while (more) {
131
- const v2Res = await s3.send(new ListObjectsV2Command3({ Bucket: bucketName, Prefix: bare, ContinuationToken: contToken }));
137
+ const v2Res = await s3.send(new ListObjectsV2Command2({ Bucket: bucketName, Prefix: bare, ContinuationToken: contToken }));
132
138
  const items = [];
133
139
  for (const obj of v2Res.Contents || []) {
134
140
  if (obj.Key && isMatch(obj.Key)) {
@@ -170,12 +176,12 @@ async function renameS3Folder(s3, bucketName, oldPrefix, newPrefix) {
170
176
  const newDir = `${newClean}/`;
171
177
  let movedCount = 0;
172
178
  try {
173
- const { ListObjectsV2Command: ListObjectsV2Command3, GetObjectCommand: GetObjectCommand3, PutObjectCommand: PutObjectCommand3 } = await import("@dinilmusick/gutts/storage");
179
+ const { ListObjectsV2Command: ListObjectsV2Command2, GetObjectCommand: GetObjectCommand2, PutObjectCommand: PutObjectCommand2 } = await import("@aws-sdk/client-s3");
174
180
  let contToken;
175
181
  let more = true;
176
182
  const items = [];
177
183
  while (more) {
178
- const res = await s3.send(new ListObjectsV2Command3({ Bucket: bucketName, Prefix: oldFolderKey, ContinuationToken: contToken }));
184
+ const res = await s3.send(new ListObjectsV2Command2({ Bucket: bucketName, Prefix: oldFolderKey, ContinuationToken: contToken }));
179
185
  for (const obj of res.Contents || []) {
180
186
  if (!obj.Key) continue;
181
187
  if (obj.Key === oldFolderKey || obj.Key === oldDir) items.push({ Key: obj.Key, isDir: true, subRel: "" });
@@ -191,10 +197,10 @@ async function renameS3Folder(s3, bucketName, oldPrefix, newPrefix) {
191
197
  continue;
192
198
  }
193
199
  const newKey = `${newDir}${item.subRel}`;
194
- const getRes = await s3.send(new GetObjectCommand3({ Bucket: bucketName, Key: item.Key }));
200
+ const getRes = await s3.send(new GetObjectCommand2({ Bucket: bucketName, Key: item.Key }));
195
201
  if (getRes.Body) {
196
202
  const bytes = await getRes.Body.transformToByteArray();
197
- await s3.send(new PutObjectCommand3({ Bucket: bucketName, Key: newKey, Body: bytes, ContentType: getRes.ContentType || "application/octet-stream" }));
203
+ await s3.send(new PutObjectCommand2({ Bucket: bucketName, Key: newKey, Body: bytes, ContentType: getRes.ContentType || "application/octet-stream" }));
198
204
  movedCount++;
199
205
  }
200
206
  }
@@ -207,23 +213,27 @@ async function renameS3Folder(s3, bucketName, oldPrefix, newPrefix) {
207
213
  }
208
214
 
209
215
  // src/storage/S3Adapter.ts
210
- import {
211
- S3Client,
212
- PutObjectCommand,
213
- GetObjectCommand,
214
- ListObjectsV2Command,
215
- HeadObjectCommand
216
- } from "@dinilmusick/gutts/storage";
217
216
  var S3Adapter = class extends BaseStorageAdapter {
218
217
  client;
219
218
  bucket;
219
+ S3ClientCtor;
220
+ PutObjectCommandCtor;
221
+ GetObjectCommandCtor;
222
+ ListObjectsV2CommandCtor;
223
+ HeadObjectCommandCtor;
220
224
  constructor(config) {
221
225
  super(config);
222
226
  this.bucket = config.bucket || "";
223
227
  }
224
- ensureClient() {
228
+ async ensureClient() {
225
229
  if (this.client) return;
226
- this.client = new S3Client({
230
+ const storage = await import("@aws-sdk/client-s3");
231
+ this.S3ClientCtor = storage.S3Client;
232
+ this.PutObjectCommandCtor = storage.PutObjectCommand;
233
+ this.GetObjectCommandCtor = storage.GetObjectCommand;
234
+ this.ListObjectsV2CommandCtor = storage.ListObjectsV2Command;
235
+ this.HeadObjectCommandCtor = storage.HeadObjectCommand;
236
+ this.client = new this.S3ClientCtor({
227
237
  region: this.config.region || "us-east-1",
228
238
  endpoint: this.config.endpoint,
229
239
  credentials: {
@@ -234,15 +244,15 @@ var S3Adapter = class extends BaseStorageAdapter {
234
244
  });
235
245
  }
236
246
  async read(pathStr) {
237
- this.ensureClient();
238
- const command = new GetObjectCommand({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
247
+ await this.ensureClient();
248
+ const command = new this.GetObjectCommandCtor({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
239
249
  const response = await this.client.send(command);
240
250
  return response.Body ? await response.Body.transformToByteArray() : new Uint8Array();
241
251
  }
242
252
  async write(pathStr, data, contentType = "application/octet-stream") {
243
- this.ensureClient();
253
+ await this.ensureClient();
244
254
  const body = typeof data === "string" ? Buffer.from(data, "utf-8") : Buffer.from(data);
245
- const command = new PutObjectCommand({
255
+ const command = new this.PutObjectCommandCtor({
246
256
  Bucket: this.bucket,
247
257
  Key: this.normalizePath(pathStr),
248
258
  Body: body,
@@ -251,25 +261,25 @@ var S3Adapter = class extends BaseStorageAdapter {
251
261
  await this.client.send(command);
252
262
  }
253
263
  async delete(pathStr) {
254
- this.ensureClient();
264
+ await this.ensureClient();
255
265
  await permanentDeleteS3Object(this.client, this.bucket, this.normalizePath(pathStr));
256
266
  }
257
267
  async deleteFolder(pathStr) {
258
- this.ensureClient();
268
+ await this.ensureClient();
259
269
  return await permanentDeleteS3Folder(this.client, this.bucket, this.normalizePath(pathStr));
260
270
  }
261
271
  async renameFolder(oldPath, newPath) {
262
- this.ensureClient();
272
+ await this.ensureClient();
263
273
  return await renameS3Folder(this.client, this.bucket, this.normalizePath(oldPath), this.normalizePath(newPath));
264
274
  }
265
275
  async ensureDirectory(pathStr) {
266
- this.ensureClient();
276
+ await this.ensureClient();
267
277
  await ensureS3DirectoryMarker(this.client, this.bucket, this.normalizePath(pathStr));
268
278
  }
269
279
  async exists(pathStr) {
270
- this.ensureClient();
280
+ await this.ensureClient();
271
281
  try {
272
- const command = new HeadObjectCommand({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
282
+ const command = new this.HeadObjectCommandCtor({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
273
283
  await this.client.send(command);
274
284
  return true;
275
285
  } catch (e) {
@@ -278,9 +288,9 @@ var S3Adapter = class extends BaseStorageAdapter {
278
288
  }
279
289
  }
280
290
  async list(pathStr = "") {
281
- this.ensureClient();
291
+ await this.ensureClient();
282
292
  const prefix = pathStr ? this.normalizePath(pathStr).replace(/\/+$/, "") + "/" : "";
283
- const command = new ListObjectsV2Command({ Bucket: this.bucket, Prefix: prefix });
293
+ const command = new this.ListObjectsV2CommandCtor({ Bucket: this.bucket, Prefix: prefix });
284
294
  const response = await this.client.send(command);
285
295
  return (response.Contents || []).map((item) => ({
286
296
  path: item.Key,
@@ -289,8 +299,8 @@ var S3Adapter = class extends BaseStorageAdapter {
289
299
  }));
290
300
  }
291
301
  async stat(pathStr) {
292
- this.ensureClient();
293
- const command = new HeadObjectCommand({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
302
+ await this.ensureClient();
303
+ const command = new this.HeadObjectCommandCtor({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
294
304
  const response = await this.client.send(command);
295
305
  return {
296
306
  path: pathStr,
@@ -304,8 +314,8 @@ var S3Adapter = class extends BaseStorageAdapter {
304
314
  async testConnection() {
305
315
  const start = performance.now();
306
316
  try {
307
- this.ensureClient();
308
- const res = await this.client.send(new ListObjectsV2Command({ Bucket: this.bucket, MaxKeys: 1 }));
317
+ await this.ensureClient();
318
+ const res = await this.client.send(new this.ListObjectsV2CommandCtor({ Bucket: this.bucket, MaxKeys: 1 }));
309
319
  return {
310
320
  ok: true,
311
321
  latencyMs: Math.round(performance.now() - start),
@@ -328,76 +338,12 @@ var BucketStorageService = class extends S3Adapter {
328
338
  }
329
339
  };
330
340
 
331
- // src/storage/b2Endpoint.ts
332
- function isSecretMasked(str) {
333
- return Boolean(str && (str.includes("\u2022") || str.includes("***")));
334
- }
335
- function resolveBackblazeEndpoint(inputEndpointOrRegion, keyId) {
336
- let raw = (inputEndpointOrRegion || "").trim().toLowerCase();
337
- raw = raw.replace(/^https?:\/\//, "").replace(/[\/?#].*$/, "").trim();
338
- const endpointMatch = raw.match(/(?:s3\.)?([a-z0-9-]+)\.backblazeb2\.com/i);
339
- if (endpointMatch) {
340
- const region = endpointMatch[1];
341
- return {
342
- region,
343
- endpoint: `https://s3.${region}.backblazeb2.com`
344
- };
345
- }
346
- if (raw && /^[a-z0-9-]+$/.test(raw) && !raw.includes(".")) {
347
- return {
348
- region: raw,
349
- endpoint: `https://s3.${raw}.backblazeb2.com`
350
- };
351
- }
352
- if (raw && raw.includes(".")) {
353
- return {
354
- region: "us-west-004",
355
- endpoint: `https://${raw}`
356
- };
357
- }
358
- let derivedRegion = "us-west-004";
359
- if (keyId) {
360
- const cleanKey = keyId.trim();
361
- if (cleanKey.startsWith("005")) derivedRegion = "us-east-005";
362
- else if (cleanKey.startsWith("004")) derivedRegion = "us-west-004";
363
- else if (cleanKey.startsWith("003")) derivedRegion = "eu-central-003";
364
- else if (cleanKey.startsWith("002")) derivedRegion = "us-west-002";
365
- else if (cleanKey.startsWith("001")) derivedRegion = "us-west-001";
366
- else if (cleanKey.startsWith("000")) derivedRegion = "us-west-000";
367
- }
368
- return {
369
- region: derivedRegion,
370
- endpoint: `https://s3.${derivedRegion}.backblazeb2.com`
371
- };
372
- }
373
- function normalizeBackblazeCredentials(inputKeyId, inputAppKey) {
374
- let keyId = (inputKeyId || "").trim();
375
- let appKey = (inputAppKey || "").trim();
376
- const rawCombined = `${keyId}
377
- ${appKey}`;
378
- const idMatch = rawCombined.match(/keyID[:\s]+([0-9a-zA-Z]{12,36})/i);
379
- const secretMatch = rawCombined.match(/applicationKey[:\s]+([0-9a-zA-Z/+=_-]{20,64})/i);
380
- if (idMatch && secretMatch) {
381
- keyId = idMatch[1].trim();
382
- appKey = secretMatch[1].trim();
383
- }
384
- if (keyId.startsWith("K00") && (!appKey || appKey.startsWith("00") || appKey.length === 25)) {
385
- const temp = keyId;
386
- keyId = appKey || temp;
387
- appKey = temp;
388
- }
389
- if (isSecretMasked(appKey)) {
390
- throw new Error("BACKBLAZE_APP_KEY_MASKED: Application Key secret is masked.");
391
- }
392
- return { keyId, appKey };
393
- }
394
-
395
341
  // src/storage/BackblazeB2Adapter.ts
396
- var S3Client2;
397
- var PutObjectCommand2;
398
- var GetObjectCommand2;
399
- var ListObjectsV2Command2;
400
- var HeadObjectCommand2;
342
+ var S3Client;
343
+ var PutObjectCommand;
344
+ var GetObjectCommand;
345
+ var ListObjectsV2Command;
346
+ var HeadObjectCommand;
401
347
  var BackblazeB2Adapter = class extends BaseStorageAdapter {
402
348
  client;
403
349
  bucket;
@@ -408,18 +354,18 @@ var BackblazeB2Adapter = class extends BaseStorageAdapter {
408
354
  async ensureClient() {
409
355
  if (this.client) return;
410
356
  try {
411
- const aws = await import("@dinilmusick/gutts/storage");
412
- S3Client2 = aws.S3Client;
413
- PutObjectCommand2 = aws.PutObjectCommand;
414
- GetObjectCommand2 = aws.GetObjectCommand;
415
- ListObjectsV2Command2 = aws.ListObjectsV2Command;
416
- HeadObjectCommand2 = aws.HeadObjectCommand;
357
+ const aws = await import("@aws-sdk/client-s3");
358
+ S3Client = aws.S3Client;
359
+ PutObjectCommand = aws.PutObjectCommand;
360
+ GetObjectCommand = aws.GetObjectCommand;
361
+ ListObjectsV2Command = aws.ListObjectsV2Command;
362
+ HeadObjectCommand = aws.HeadObjectCommand;
417
363
  const rawKeyId = this.config.b2KeyId || this.config.accessKey || this.config.keyId;
418
364
  const rawAppKey = this.config.b2ApplicationKey || this.config.secretKey || this.config.applicationKey;
419
365
  const { keyId, appKey } = normalizeBackblazeCredentials(rawKeyId, rawAppKey);
420
366
  const rawEndpoint = this.config.b2Endpoint || this.config.endpoint || this.config.b2Region || this.config.region;
421
367
  const { endpoint, region } = resolveBackblazeEndpoint(rawEndpoint, keyId);
422
- this.client = new S3Client2({
368
+ this.client = new S3Client({
423
369
  region,
424
370
  endpoint,
425
371
  forcePathStyle: true,
@@ -434,14 +380,14 @@ var BackblazeB2Adapter = class extends BaseStorageAdapter {
434
380
  }
435
381
  async read(pathStr) {
436
382
  await this.ensureClient();
437
- const command = new GetObjectCommand2({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
383
+ const command = new GetObjectCommand({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
438
384
  const response = await this.client.send(command);
439
385
  return response.Body ? await response.Body.transformToByteArray() : new Uint8Array();
440
386
  }
441
387
  async write(pathStr, data, contentType = "text/plain") {
442
388
  await this.ensureClient();
443
389
  const body = typeof data === "string" ? Buffer.from(data, "utf-8") : Buffer.from(data);
444
- const command = new PutObjectCommand2({
390
+ const command = new PutObjectCommand({
445
391
  Bucket: this.bucket,
446
392
  Key: this.normalizePath(pathStr),
447
393
  Body: body,
@@ -473,7 +419,7 @@ var BackblazeB2Adapter = class extends BaseStorageAdapter {
473
419
  async exists(pathStr) {
474
420
  await this.ensureClient();
475
421
  try {
476
- const command = new HeadObjectCommand2({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
422
+ const command = new HeadObjectCommand({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
477
423
  await this.client.send(command);
478
424
  return true;
479
425
  } catch (e) {
@@ -484,7 +430,7 @@ var BackblazeB2Adapter = class extends BaseStorageAdapter {
484
430
  async list(pathStr = "") {
485
431
  await this.ensureClient();
486
432
  const prefix = pathStr ? this.normalizePath(pathStr).replace(/\/+$/, "") + "/" : "";
487
- const command = new ListObjectsV2Command2({ Bucket: this.bucket, Prefix: prefix });
433
+ const command = new ListObjectsV2Command({ Bucket: this.bucket, Prefix: prefix });
488
434
  const response = await this.client.send(command);
489
435
  return (response.Contents || []).map((item) => ({
490
436
  path: item.Key,
@@ -494,7 +440,7 @@ var BackblazeB2Adapter = class extends BaseStorageAdapter {
494
440
  }
495
441
  async stat(pathStr) {
496
442
  await this.ensureClient();
497
- const command = new HeadObjectCommand2({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
443
+ const command = new HeadObjectCommand({ Bucket: this.bucket, Key: this.normalizePath(pathStr) });
498
444
  const response = await this.client.send(command);
499
445
  return {
500
446
  path: pathStr,
@@ -509,7 +455,7 @@ var BackblazeB2Adapter = class extends BaseStorageAdapter {
509
455
  const start = performance.now();
510
456
  try {
511
457
  await this.ensureClient();
512
- const res = await this.client.send(new ListObjectsV2Command2({ Bucket: this.bucket, MaxKeys: 1 }));
458
+ const res = await this.client.send(new ListObjectsV2Command({ Bucket: this.bucket, MaxKeys: 1 }));
513
459
  return {
514
460
  ok: true,
515
461
  latencyMs: Math.round(performance.now() - start),
@@ -525,13 +471,6 @@ var BackblazeB2Adapter = class extends BaseStorageAdapter {
525
471
  }
526
472
  };
527
473
 
528
- // src/storage/GoogleDriveStorageService.ts
529
- var GoogleDriveStorageService = class extends GoogleDriveAdapter {
530
- constructor(config, runtimeAuth = {}) {
531
- super({ ...config, provider: "google_drive" }, runtimeAuth);
532
- }
533
- };
534
-
535
474
  // src/storage/SupabaseStorageAdapter.ts
536
475
  var createClient;
537
476
  var SupabaseStorageAdapter = class extends BaseStorageAdapter {
@@ -607,6 +546,13 @@ var SupabaseStorageAdapter = class extends BaseStorageAdapter {
607
546
  }
608
547
  };
609
548
 
549
+ // src/storage/GoogleDriveStorageService.ts
550
+ var GoogleDriveStorageService = class extends GoogleDriveAdapter {
551
+ constructor(config, runtimeAuth = {}) {
552
+ super({ ...config, provider: "google_drive" }, runtimeAuth);
553
+ }
554
+ };
555
+
610
556
  // src/storage/StorageAdapterFactory.ts
611
557
  var StorageAdapterFactory = class {
612
558
  static create(config, runtimeOptions = {}) {
@@ -637,11 +583,8 @@ export {
637
583
  renameS3Folder,
638
584
  S3Adapter,
639
585
  BucketStorageService,
640
- isSecretMasked,
641
- resolveBackblazeEndpoint,
642
- normalizeBackblazeCredentials,
643
586
  BackblazeB2Adapter,
644
- GoogleDriveStorageService,
645
587
  SupabaseStorageAdapter,
588
+ GoogleDriveStorageService,
646
589
  StorageAdapterFactory
647
590
  };
@@ -4,10 +4,10 @@ import {
4
4
  createLuthAuthClient,
5
5
  resolveClientOrigin,
6
6
  resolveClientEnvironment
7
- } from "@dinilmusick/gutts";
8
- import { LuthAuthError } from "@dinilmusick/gutts";
9
- import { LuthAuthClient as LuthAuthClient2 } from "@dinilmusick/gutts";
10
- import { createLuthAuthClient as createLuthAuthClient2 } from "@dinilmusick/gutts";
7
+ } from "@dinilmusick/gutts/auth";
8
+ import { LuthAuthError } from "@dinilmusick/gutts/auth";
9
+ import { LuthAuthClient as LuthAuthClient2 } from "@dinilmusick/gutts/auth";
10
+ import { createLuthAuthClient as createLuthAuthClient2 } from "@dinilmusick/gutts/auth";
11
11
 
12
12
  export {
13
13
  LuthAuthClient,
@@ -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 "@ultrst-armada/kloks/functions";
4
+ import { SkipoBase } from "@ultrst-armada/kloks/functions/base";
5
5
  var AuditLogger = class extends SkipoBase {
6
6
  logFile;
7
7
  constructor(logFile = ".skipo/audit.jsonl") {
@@ -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 "@ultrst-armada/kloks/functions";
119
+ import { SkipoBase as SkipoBase3 } from "@ultrst-armada/kloks/functions/base";
120
120
  var ControlPlaneManager = class extends SkipoBase3 {
121
121
  auth;
122
122
  audit;
@@ -1,4 +1,4 @@
1
- import { SkipoBase } from '@ultrst-armada/kloks/functions';
1
+ import { SkipoBase } from '@ultrst-armada/kloks/functions/base';
2
2
  import { AuditEvent } from './types.js';
3
3
  export declare class AuditLogger extends SkipoBase {
4
4
  private logFile;
@@ -1,4 +1,4 @@
1
- import { SkipoBase } from '@ultrst-armada/kloks/functions';
1
+ import { SkipoBase } from '@ultrst-armada/kloks/functions/base';
2
2
  import { BaseAccountProvider } from '../auth/BaseAccountProvider.js';
3
3
  import { AuditLogger } from './AuditLogger.js';
4
4
  import { DatabaseClusterManager } from './DatabaseClusterManager.js';
@@ -5,7 +5,7 @@ import {
5
5
  detectDatabaseEngine,
6
6
  getSystemDatabaseUrls,
7
7
  resolveSystemDatabaseClusterNodes
8
- } from "../chunk-RCCQ7IRM.js";
8
+ } from "../chunk-ZBNSK26X.js";
9
9
  export {
10
10
  AuditLogger,
11
11
  ControlPlaneManager,
@@ -4,5 +4,5 @@
4
4
  * directly from live database user profiles and account resources.
5
5
  * Works across Node.js, Vercel Serverless, and Cloudflare Workers (< 160 lines).
6
6
  */
7
- import { PublicRouteRecord } from './publicRoutesStore';
7
+ import { PublicRouteRecord } from './publicRoutesStore.js';
8
8
  export declare function resolveDynamicRouteFromDb(rawPath: string, env?: Record<string, unknown>): Promise<PublicRouteRecord | null>;
@@ -4,7 +4,7 @@
4
4
  * Governs public routes resolution, dynamic database hydration, and load-balancing ingress.
5
5
  * Runs identically in Node.js, Vercel Serverless, and Cloudflare Workers (< 200 lines).
6
6
  */
7
- import { PublicRouteRecord } from './publicRoutesStore';
7
+ import { PublicRouteRecord } from './publicRoutesStore.js';
8
8
  export declare function getPublicRoutes(): {
9
9
  success: boolean;
10
10
  count: number;
@@ -7,7 +7,7 @@ export declare function buildProjectObservability(projects: any[], deployments:
7
7
  projectId: any;
8
8
  projectName: any;
9
9
  framework: any;
10
- status: "ACTIVE" | "ERROR" | "PAUSED" | "BUILDING";
10
+ status: "ERROR" | "ACTIVE" | "PAUSED" | "BUILDING";
11
11
  displayStatus: string;
12
12
  isPaused: boolean;
13
13
  deploymentUrl: string;
@@ -4,8 +4,8 @@
4
4
  * Governs workspaces CRUD and Workspace Cloud Storage (Backblaze B2 via SRKL).
5
5
  * Runs identically in Node.js, Vercel Serverless, and Cloudflare Workers (< 200 lines).
6
6
  */
7
- export { loadWorkspaceData, saveWorkspaceData, renameAppInWorkspaceData } from './workspaceDataCore';
8
- export { getWorkspaceStorageDetails } from './workspaceStorageDetailsCore';
7
+ export { loadWorkspaceData, saveWorkspaceData, renameAppInWorkspaceData } from './workspaceDataCore.js';
8
+ export { getWorkspaceStorageDetails } from './workspaceStorageDetailsCore.js';
9
9
  export declare function findUserWorkspace(workspaceId: string, env?: Record<string, unknown>): Promise<{
10
10
  user: any;
11
11
  workspace: any;
@@ -1,4 +1,4 @@
1
- import { SkipoBase } from '@ultrst-armada/kloks/functions';
1
+ import { SkipoBase } from '@ultrst-armada/kloks/functions/base';
2
2
  import { IDataProvider, QueryFilter, SortOrder } from './types.js';
3
3
  export declare abstract class BaseDataProvider<T> extends SkipoBase implements IDataProvider<T> {
4
4
  abstract query(filters?: QueryFilter[], sort?: SortOrder[], limit?: number): Promise<T[]>;
@@ -2,24 +2,24 @@ import {
2
2
  PlaywrightInspectionRuntime,
3
3
  PlaywrightInspectionServiceDefinition,
4
4
  PlaywrightInspectionServiceFacade
5
- } from "../chunk-3VWBZEMG.js";
5
+ } from "../chunk-NTKUQVCQ.js";
6
6
  import "../chunk-YEGS4HTA.js";
7
7
  import {
8
8
  WebContainerServiceDefinition,
9
9
  WebContainerServiceFacade
10
- } from "../chunk-GKQ42CYW.js";
10
+ } from "../chunk-H6ET362U.js";
11
11
  import {
12
12
  WebContainerRuntime,
13
13
  captureDevelopmentProcess,
14
14
  parseDevelopmentDiagnostics,
15
15
  resolveWebContainerCommand
16
16
  } from "../chunk-CA5HVC4X.js";
17
+
18
+ // src/development/githubActionsService.ts
17
19
  import {
18
20
  createService,
19
21
  createServiceDefinition
20
- } from "../chunk-SXDYW3QA.js";
21
-
22
- // src/development/githubActionsService.ts
22
+ } from "@ultrst-armada/krnl";
23
23
  var GitHubActionsClient = class {
24
24
  constructor(config) {
25
25
  this.config = config;
@@ -115,11 +115,15 @@ var GitHubActionsServiceFacade = {
115
115
  };
116
116
 
117
117
  // src/development/developmentService.ts
118
+ import {
119
+ createService as createService2,
120
+ createServiceDefinition as createServiceDefinition2
121
+ } from "@ultrst-armada/krnl";
118
122
  function resolveDevelopmentCommand(task) {
119
123
  const { command, args } = resolveWebContainerCommand(task);
120
124
  return [command, args];
121
125
  }
122
- var DevelopmentServiceDefinition = createServiceDefinition({
126
+ var DevelopmentServiceDefinition = createServiceDefinition2({
123
127
  id: "kloks.backend.development",
124
128
  name: "DevelopmentService",
125
129
  version: "1.1.0",
@@ -175,15 +179,16 @@ var DevelopmentServiceFacade = {
175
179
  runtime: "server",
176
180
  deployment: "local",
177
181
  definition: DevelopmentServiceDefinition,
178
- createInstance: () => createService(DevelopmentServiceDefinition),
182
+ createInstance: () => createService2(DevelopmentServiceDefinition),
179
183
  execute: async (op, input) => {
180
- const instance = createService(DevelopmentServiceDefinition);
184
+ const instance = createService2(DevelopmentServiceDefinition);
181
185
  await instance.start();
182
186
  return instance.call(op, input);
183
187
  }
184
188
  };
185
189
 
186
190
  // src/development/codeValidationService.ts
191
+ import { createService as createService3, createServiceDefinition as createServiceDefinition3 } from "@ultrst-armada/krnl";
187
192
  var COMMANDS = {
188
193
  syntax: { command: "pnpm", args: ["exec", "tsc", "--noEmit"] },
189
194
  lint: { command: "pnpm", args: ["run", "lint", "--if-present"] },
@@ -228,7 +233,7 @@ var CodeValidationRuntime = class {
228
233
  }
229
234
  };
230
235
  var runtime = new CodeValidationRuntime();
231
- var CodeValidationServiceDefinition = createServiceDefinition({
236
+ var CodeValidationServiceDefinition = createServiceDefinition3({
232
237
  id: "kloks.backend.codeValidation",
233
238
  name: "CodeValidationService",
234
239
  version: "1.1.0",
@@ -241,9 +246,9 @@ var CodeValidationServiceFacade = {
241
246
  runtime: "client",
242
247
  deployment: "local",
243
248
  definition: CodeValidationServiceDefinition,
244
- createInstance: () => createService(CodeValidationServiceDefinition),
249
+ createInstance: () => createService3(CodeValidationServiceDefinition),
245
250
  execute: async (op, input) => {
246
- const instance = createService(CodeValidationServiceDefinition);
251
+ const instance = createService3(CodeValidationServiceDefinition);
247
252
  await instance.start();
248
253
  return instance.call(op, input);
249
254
  }
@@ -265,6 +270,10 @@ var CodeDiagnosticsService = class {
265
270
  var codeDiagnosticsService = new CodeDiagnosticsService();
266
271
 
267
272
  // src/development/typescriptLanguageServerService.ts
273
+ import {
274
+ createService as createService4,
275
+ createServiceDefinition as createServiceDefinition4
276
+ } from "@ultrst-armada/krnl";
268
277
  var TYPESCRIPT_LANGUAGE_SERVER_PACKAGE = "typescript-language-server";
269
278
  var TYPESCRIPT_LANGUAGE_SERVER_VERSION = "6.0.2";
270
279
  var PACKAGE = TYPESCRIPT_LANGUAGE_SERVER_PACKAGE;
@@ -370,7 +379,7 @@ var TypeScriptLanguageServerRuntime = class {
370
379
  }
371
380
  };
372
381
  var runtime2 = new TypeScriptLanguageServerRuntime();
373
- var TypeScriptLanguageServerServiceDefinition = createServiceDefinition({
382
+ var TypeScriptLanguageServerServiceDefinition = createServiceDefinition4({
374
383
  id: "kloks.backend.typescriptLanguageServer",
375
384
  name: "TypeScriptLanguageServerService",
376
385
  version: "1.0.0",
@@ -389,15 +398,19 @@ var TypeScriptLanguageServerServiceFacade = {
389
398
  runtime: "client",
390
399
  deployment: "local",
391
400
  definition: TypeScriptLanguageServerServiceDefinition,
392
- createInstance: () => createService(TypeScriptLanguageServerServiceDefinition),
401
+ createInstance: () => createService4(TypeScriptLanguageServerServiceDefinition),
393
402
  execute: async (op, input) => {
394
- const instance = createService(TypeScriptLanguageServerServiceDefinition);
403
+ const instance = createService4(TypeScriptLanguageServerServiceDefinition);
395
404
  await instance.start();
396
405
  return instance.call(op, input);
397
406
  }
398
407
  };
399
408
 
400
409
  // src/development/agentHarnessService.ts
410
+ import {
411
+ createService as createService5,
412
+ createServiceDefinition as createServiceDefinition5
413
+ } from "@ultrst-armada/krnl";
401
414
  var PROVIDERS = [
402
415
  {
403
416
  id: "deepseek",
@@ -451,7 +464,7 @@ var AgentHarnessRuntime = class {
451
464
  }
452
465
  };
453
466
  var runtime3 = new AgentHarnessRuntime();
454
- var AgentHarnessServiceDefinition = createServiceDefinition({
467
+ var AgentHarnessServiceDefinition = createServiceDefinition5({
455
468
  id: "kloks.backend.agentHarness",
456
469
  name: "AgentHarnessService",
457
470
  version: "1.0.0",
@@ -475,9 +488,9 @@ var AgentHarnessServiceFacade = {
475
488
  runtime: "client",
476
489
  deployment: "local",
477
490
  definition: AgentHarnessServiceDefinition,
478
- createInstance: () => createService(AgentHarnessServiceDefinition),
491
+ createInstance: () => createService5(AgentHarnessServiceDefinition),
479
492
  execute: async (op, input) => {
480
- const instance = createService(AgentHarnessServiceDefinition);
493
+ const instance = createService5(AgentHarnessServiceDefinition);
481
494
  await instance.start();
482
495
  return instance.call(op, input);
483
496
  }
@@ -2,8 +2,7 @@ import {
2
2
  PlaywrightInspectionRuntime,
3
3
  PlaywrightInspectionServiceDefinition,
4
4
  PlaywrightInspectionServiceFacade
5
- } from "../chunk-3VWBZEMG.js";
6
- import "../chunk-SXDYW3QA.js";
5
+ } from "../chunk-NTKUQVCQ.js";
7
6
  export {
8
7
  PlaywrightInspectionRuntime,
9
8
  PlaywrightInspectionServiceDefinition,