@uapkg/cli 1.2.0 → 1.3.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.
Files changed (412) hide show
  1. package/dist/app/CompositionRoot.d.ts +36 -33
  2. package/dist/app/CompositionRoot.d.ts.map +1 -1
  3. package/dist/app/CompositionRoot.js +91 -109
  4. package/dist/app/CompositionRoot.js.map +1 -1
  5. package/dist/app/UAPKGApplication.d.ts +6 -3
  6. package/dist/app/UAPKGApplication.d.ts.map +1 -1
  7. package/dist/app/UAPKGApplication.js +155 -169
  8. package/dist/app/UAPKGApplication.js.map +1 -1
  9. package/dist/build/BuildMetadata.d.ts +9 -6
  10. package/dist/build/BuildMetadata.d.ts.map +1 -1
  11. package/dist/build/BuildMetadata.js +2 -2
  12. package/dist/cli/UAPKGCommandLine.d.ts +259 -257
  13. package/dist/cli/UAPKGCommandLine.d.ts.map +1 -1
  14. package/dist/cli/UAPKGCommandLine.js +248 -239
  15. package/dist/cli/UAPKGCommandLine.js.map +1 -1
  16. package/dist/cli/parseCommandLine.d.ts +5 -1
  17. package/dist/cli/parseCommandLine.d.ts.map +1 -1
  18. package/dist/cli/parseCommandLine.js +8 -3
  19. package/dist/cli/parseCommandLine.js.map +1 -1
  20. package/dist/cli/parsing/UAPKGCommandLineParser.d.ts +9 -6
  21. package/dist/cli/parsing/UAPKGCommandLineParser.d.ts.map +1 -1
  22. package/dist/cli/parsing/UAPKGCommandLineParser.js +23 -31
  23. package/dist/cli/parsing/UAPKGCommandLineParser.js.map +1 -1
  24. package/dist/cli/parsing/UAPKGParserRegistry.d.ts +12 -9
  25. package/dist/cli/parsing/UAPKGParserRegistry.d.ts.map +1 -1
  26. package/dist/cli/parsing/UAPKGParserRegistry.js +53 -50
  27. package/dist/cli/parsing/UAPKGParserRegistry.js.map +1 -1
  28. package/dist/cli/parsing/contracts/UAPKGCommandModule.d.ts +9 -6
  29. package/dist/cli/parsing/contracts/UAPKGCommandModule.d.ts.map +1 -1
  30. package/dist/cli/parsing/contracts/UAPKGCommandModule.js +1 -2
  31. package/dist/cli/parsing/modules/AddCommandModule.d.ts +8 -5
  32. package/dist/cli/parsing/modules/AddCommandModule.d.ts.map +1 -1
  33. package/dist/cli/parsing/modules/AddCommandModule.js +49 -36
  34. package/dist/cli/parsing/modules/AddCommandModule.js.map +1 -1
  35. package/dist/cli/parsing/modules/ConfigCommandModule.d.ts +8 -5
  36. package/dist/cli/parsing/modules/ConfigCommandModule.d.ts.map +1 -1
  37. package/dist/cli/parsing/modules/ConfigCommandModule.js +87 -83
  38. package/dist/cli/parsing/modules/ConfigCommandModule.js.map +1 -1
  39. package/dist/cli/parsing/modules/InitCommandModule.d.ts +8 -5
  40. package/dist/cli/parsing/modules/InitCommandModule.d.ts.map +1 -1
  41. package/dist/cli/parsing/modules/InitCommandModule.js +25 -22
  42. package/dist/cli/parsing/modules/InitCommandModule.js.map +1 -1
  43. package/dist/cli/parsing/modules/InstallCommandModule.d.ts +8 -5
  44. package/dist/cli/parsing/modules/InstallCommandModule.d.ts.map +1 -1
  45. package/dist/cli/parsing/modules/InstallCommandModule.js +36 -28
  46. package/dist/cli/parsing/modules/InstallCommandModule.js.map +1 -1
  47. package/dist/cli/parsing/modules/LifecycleCommandModule.d.ts +8 -5
  48. package/dist/cli/parsing/modules/LifecycleCommandModule.d.ts.map +1 -1
  49. package/dist/cli/parsing/modules/LifecycleCommandModule.js +78 -50
  50. package/dist/cli/parsing/modules/LifecycleCommandModule.js.map +1 -1
  51. package/dist/cli/parsing/modules/ListCommandModule.d.ts +8 -5
  52. package/dist/cli/parsing/modules/ListCommandModule.d.ts.map +1 -1
  53. package/dist/cli/parsing/modules/ListCommandModule.js +26 -15
  54. package/dist/cli/parsing/modules/ListCommandModule.js.map +1 -1
  55. package/dist/cli/parsing/modules/LoginCommandModule.d.ts +8 -5
  56. package/dist/cli/parsing/modules/LoginCommandModule.d.ts.map +1 -1
  57. package/dist/cli/parsing/modules/LoginCommandModule.js +34 -33
  58. package/dist/cli/parsing/modules/LoginCommandModule.js.map +1 -1
  59. package/dist/cli/parsing/modules/LogoutCommandModule.d.ts +8 -5
  60. package/dist/cli/parsing/modules/LogoutCommandModule.d.ts.map +1 -1
  61. package/dist/cli/parsing/modules/LogoutCommandModule.js +30 -28
  62. package/dist/cli/parsing/modules/LogoutCommandModule.js.map +1 -1
  63. package/dist/cli/parsing/modules/OutdatedCommandModule.d.ts +8 -5
  64. package/dist/cli/parsing/modules/OutdatedCommandModule.d.ts.map +1 -1
  65. package/dist/cli/parsing/modules/OutdatedCommandModule.js +21 -16
  66. package/dist/cli/parsing/modules/OutdatedCommandModule.js.map +1 -1
  67. package/dist/cli/parsing/modules/PackCommandModule.d.ts +8 -5
  68. package/dist/cli/parsing/modules/PackCommandModule.d.ts.map +1 -1
  69. package/dist/cli/parsing/modules/PackCommandModule.js +30 -28
  70. package/dist/cli/parsing/modules/PackCommandModule.js.map +1 -1
  71. package/dist/cli/parsing/modules/ProjectGetNameCommandModule.d.ts +8 -5
  72. package/dist/cli/parsing/modules/ProjectGetNameCommandModule.d.ts.map +1 -1
  73. package/dist/cli/parsing/modules/ProjectGetNameCommandModule.js +14 -11
  74. package/dist/cli/parsing/modules/ProjectGetNameCommandModule.js.map +1 -1
  75. package/dist/cli/parsing/modules/PublishCommandModule.d.ts +8 -5
  76. package/dist/cli/parsing/modules/PublishCommandModule.d.ts.map +1 -1
  77. package/dist/cli/parsing/modules/PublishCommandModule.js +63 -47
  78. package/dist/cli/parsing/modules/PublishCommandModule.js.map +1 -1
  79. package/dist/cli/parsing/modules/RegistryCommandModule.d.ts +8 -5
  80. package/dist/cli/parsing/modules/RegistryCommandModule.d.ts.map +1 -1
  81. package/dist/cli/parsing/modules/RegistryCommandModule.js +117 -120
  82. package/dist/cli/parsing/modules/RegistryCommandModule.js.map +1 -1
  83. package/dist/cli/parsing/modules/RemoveCommandModule.d.ts +8 -5
  84. package/dist/cli/parsing/modules/RemoveCommandModule.d.ts.map +1 -1
  85. package/dist/cli/parsing/modules/RemoveCommandModule.js +25 -14
  86. package/dist/cli/parsing/modules/RemoveCommandModule.js.map +1 -1
  87. package/dist/cli/parsing/modules/RequestsCommandModule.d.ts +8 -5
  88. package/dist/cli/parsing/modules/RequestsCommandModule.d.ts.map +1 -1
  89. package/dist/cli/parsing/modules/RequestsCommandModule.js +56 -60
  90. package/dist/cli/parsing/modules/RequestsCommandModule.js.map +1 -1
  91. package/dist/cli/parsing/modules/UpdateCommandModule.d.ts +8 -5
  92. package/dist/cli/parsing/modules/UpdateCommandModule.d.ts.map +1 -1
  93. package/dist/cli/parsing/modules/UpdateCommandModule.js +38 -25
  94. package/dist/cli/parsing/modules/UpdateCommandModule.js.map +1 -1
  95. package/dist/cli/parsing/modules/WhoamiCommandModule.d.ts +8 -5
  96. package/dist/cli/parsing/modules/WhoamiCommandModule.d.ts.map +1 -1
  97. package/dist/cli/parsing/modules/WhoamiCommandModule.js +30 -28
  98. package/dist/cli/parsing/modules/WhoamiCommandModule.js.map +1 -1
  99. package/dist/cli/parsing/modules/WhyCommandModule.d.ts +8 -5
  100. package/dist/cli/parsing/modules/WhyCommandModule.d.ts.map +1 -1
  101. package/dist/cli/parsing/modules/WhyCommandModule.js +25 -14
  102. package/dist/cli/parsing/modules/WhyCommandModule.js.map +1 -1
  103. package/dist/cli/parsing/modules/sharedOptions.d.ts +8 -5
  104. package/dist/cli/parsing/modules/sharedOptions.d.ts.map +1 -1
  105. package/dist/cli/parsing/modules/sharedOptions.js +18 -23
  106. package/dist/cli/parsing/modules/sharedOptions.js.map +1 -1
  107. package/dist/cli/runUAPKGCLI.d.ts +4 -1
  108. package/dist/cli/runUAPKGCLI.d.ts.map +1 -1
  109. package/dist/cli/runUAPKGCLI.js +10 -5
  110. package/dist/cli/runUAPKGCLI.js.map +1 -1
  111. package/dist/cli-bootstrap.d.ts +1 -2
  112. package/dist/cli-bootstrap.js +15 -12
  113. package/dist/cli-bootstrap.js.map +1 -1
  114. package/dist/commands/AddCommand.d.ts +19 -16
  115. package/dist/commands/AddCommand.d.ts.map +1 -1
  116. package/dist/commands/AddCommand.js +49 -53
  117. package/dist/commands/AddCommand.js.map +1 -1
  118. package/dist/commands/Command.d.ts +5 -2
  119. package/dist/commands/Command.d.ts.map +1 -1
  120. package/dist/commands/Command.js +1 -2
  121. package/dist/commands/ConfigCommand.d.ts +28 -25
  122. package/dist/commands/ConfigCommand.d.ts.map +1 -1
  123. package/dist/commands/ConfigCommand.js +165 -186
  124. package/dist/commands/ConfigCommand.js.map +1 -1
  125. package/dist/commands/InitCommand.d.ts +19 -16
  126. package/dist/commands/InitCommand.d.ts.map +1 -1
  127. package/dist/commands/InitCommand.js +65 -60
  128. package/dist/commands/InitCommand.js.map +1 -1
  129. package/dist/commands/InstallCommand.d.ts +16 -13
  130. package/dist/commands/InstallCommand.d.ts.map +1 -1
  131. package/dist/commands/InstallCommand.js +118 -110
  132. package/dist/commands/InstallCommand.js.map +1 -1
  133. package/dist/commands/ListCommand.d.ts +13 -10
  134. package/dist/commands/ListCommand.d.ts.map +1 -1
  135. package/dist/commands/ListCommand.js +76 -81
  136. package/dist/commands/ListCommand.js.map +1 -1
  137. package/dist/commands/LoginCommand.d.ts +17 -14
  138. package/dist/commands/LoginCommand.d.ts.map +1 -1
  139. package/dist/commands/LoginCommand.js +66 -72
  140. package/dist/commands/LoginCommand.js.map +1 -1
  141. package/dist/commands/LogoutCommand.d.ts +15 -12
  142. package/dist/commands/LogoutCommand.d.ts.map +1 -1
  143. package/dist/commands/LogoutCommand.js +36 -37
  144. package/dist/commands/LogoutCommand.js.map +1 -1
  145. package/dist/commands/OutdatedCommand.d.ts +12 -9
  146. package/dist/commands/OutdatedCommand.d.ts.map +1 -1
  147. package/dist/commands/OutdatedCommand.js +41 -40
  148. package/dist/commands/OutdatedCommand.js.map +1 -1
  149. package/dist/commands/PackCommand.d.ts +13 -10
  150. package/dist/commands/PackCommand.d.ts.map +1 -1
  151. package/dist/commands/PackCommand.js +26 -21
  152. package/dist/commands/PackCommand.js.map +1 -1
  153. package/dist/commands/PackageLifecycleCommand.d.ts +23 -19
  154. package/dist/commands/PackageLifecycleCommand.d.ts.map +1 -1
  155. package/dist/commands/PackageLifecycleCommand.js +144 -129
  156. package/dist/commands/PackageLifecycleCommand.js.map +1 -1
  157. package/dist/commands/PostinstallCandidateBuilder.d.ts +11 -8
  158. package/dist/commands/PostinstallCandidateBuilder.d.ts.map +1 -1
  159. package/dist/commands/PostinstallCandidateBuilder.js +42 -42
  160. package/dist/commands/PostinstallCandidateBuilder.js.map +1 -1
  161. package/dist/commands/ProjectGetNameCommand.d.ts +10 -7
  162. package/dist/commands/ProjectGetNameCommand.d.ts.map +1 -1
  163. package/dist/commands/ProjectGetNameCommand.js +25 -25
  164. package/dist/commands/ProjectGetNameCommand.js.map +1 -1
  165. package/dist/commands/PublishCommand.d.ts +29 -23
  166. package/dist/commands/PublishCommand.d.ts.map +1 -1
  167. package/dist/commands/PublishCommand.js +243 -244
  168. package/dist/commands/PublishCommand.js.map +1 -1
  169. package/dist/commands/RegistryCommand.d.ts +38 -35
  170. package/dist/commands/RegistryCommand.d.ts.map +1 -1
  171. package/dist/commands/RegistryCommand.js +195 -223
  172. package/dist/commands/RegistryCommand.js.map +1 -1
  173. package/dist/commands/RemoveCommand.d.ts +14 -11
  174. package/dist/commands/RemoveCommand.d.ts.map +1 -1
  175. package/dist/commands/RemoveCommand.js +47 -54
  176. package/dist/commands/RemoveCommand.js.map +1 -1
  177. package/dist/commands/RequestsCommand.d.ts +21 -18
  178. package/dist/commands/RequestsCommand.d.ts.map +1 -1
  179. package/dist/commands/RequestsCommand.js +82 -95
  180. package/dist/commands/RequestsCommand.js.map +1 -1
  181. package/dist/commands/UpdateCommand.d.ts +29 -26
  182. package/dist/commands/UpdateCommand.d.ts.map +1 -1
  183. package/dist/commands/UpdateCommand.js +111 -111
  184. package/dist/commands/UpdateCommand.js.map +1 -1
  185. package/dist/commands/WhoamiCommand.d.ts +30 -27
  186. package/dist/commands/WhoamiCommand.d.ts.map +1 -1
  187. package/dist/commands/WhoamiCommand.js +63 -72
  188. package/dist/commands/WhoamiCommand.js.map +1 -1
  189. package/dist/commands/WhyCommand.d.ts +13 -10
  190. package/dist/commands/WhyCommand.d.ts.map +1 -1
  191. package/dist/commands/WhyCommand.js +45 -44
  192. package/dist/commands/WhyCommand.js.map +1 -1
  193. package/dist/commands/add/DependencyAddResolver.d.ts +14 -11
  194. package/dist/commands/add/DependencyAddResolver.d.ts.map +1 -1
  195. package/dist/commands/add/DependencyAddResolver.js +36 -36
  196. package/dist/commands/add/DependencyAddResolver.js.map +1 -1
  197. package/dist/control-plane/AccountManager.d.ts +96 -94
  198. package/dist/control-plane/AccountManager.d.ts.map +1 -1
  199. package/dist/control-plane/AccountManager.js +775 -967
  200. package/dist/control-plane/AccountManager.js.map +1 -1
  201. package/dist/control-plane/ArtifactObserver.d.ts +19 -16
  202. package/dist/control-plane/ArtifactObserver.d.ts.map +1 -1
  203. package/dist/control-plane/ArtifactObserver.js +73 -59
  204. package/dist/control-plane/ArtifactObserver.js.map +1 -1
  205. package/dist/control-plane/AuthMetadataStore.d.ts +16 -13
  206. package/dist/control-plane/AuthMetadataStore.d.ts.map +1 -1
  207. package/dist/control-plane/AuthMetadataStore.js +111 -113
  208. package/dist/control-plane/AuthMetadataStore.js.map +1 -1
  209. package/dist/control-plane/AuthStoragePaths.d.ts +7 -4
  210. package/dist/control-plane/AuthStoragePaths.d.ts.map +1 -1
  211. package/dist/control-plane/AuthStoragePaths.js +19 -14
  212. package/dist/control-plane/AuthStoragePaths.js.map +1 -1
  213. package/dist/control-plane/AuthenticationSelector.d.ts +21 -18
  214. package/dist/control-plane/AuthenticationSelector.d.ts.map +1 -1
  215. package/dist/control-plane/AuthenticationSelector.js +69 -63
  216. package/dist/control-plane/AuthenticationSelector.js.map +1 -1
  217. package/dist/control-plane/ControlPlaneClient.d.ts +37 -28
  218. package/dist/control-plane/ControlPlaneClient.d.ts.map +1 -1
  219. package/dist/control-plane/ControlPlaneClient.js +265 -254
  220. package/dist/control-plane/ControlPlaneClient.js.map +1 -1
  221. package/dist/control-plane/ControlPlaneEndpoints.d.ts +9 -6
  222. package/dist/control-plane/ControlPlaneEndpoints.d.ts.map +1 -1
  223. package/dist/control-plane/ControlPlaneEndpoints.js +17 -12
  224. package/dist/control-plane/ControlPlaneEndpoints.js.map +1 -1
  225. package/dist/control-plane/ControlPlaneTypes.d.ts +176 -152
  226. package/dist/control-plane/ControlPlaneTypes.d.ts.map +1 -1
  227. package/dist/control-plane/ControlPlaneTypes.js +88 -81
  228. package/dist/control-plane/ControlPlaneTypes.js.map +1 -1
  229. package/dist/control-plane/CredentialStore.d.ts +20 -18
  230. package/dist/control-plane/CredentialStore.d.ts.map +1 -1
  231. package/dist/control-plane/CredentialStore.js +66 -83
  232. package/dist/control-plane/CredentialStore.js.map +1 -1
  233. package/dist/control-plane/DPoPKeyStore.d.ts +12 -9
  234. package/dist/control-plane/DPoPKeyStore.d.ts.map +1 -1
  235. package/dist/control-plane/DPoPKeyStore.js +57 -53
  236. package/dist/control-plane/DPoPKeyStore.js.map +1 -1
  237. package/dist/control-plane/GitHubActionsOidcCredentialProvider.d.ts +37 -4
  238. package/dist/control-plane/GitHubActionsOidcCredentialProvider.d.ts.map +1 -1
  239. package/dist/control-plane/GitHubActionsOidcCredentialProvider.js +197 -63
  240. package/dist/control-plane/GitHubActionsOidcCredentialProvider.js.map +1 -1
  241. package/dist/control-plane/PublishIdempotencyStore.d.ts +25 -9
  242. package/dist/control-plane/PublishIdempotencyStore.d.ts.map +1 -1
  243. package/dist/control-plane/PublishIdempotencyStore.js +97 -68
  244. package/dist/control-plane/PublishIdempotencyStore.js.map +1 -1
  245. package/dist/control-plane/PublishRequestErrorMapper.d.ts +155 -0
  246. package/dist/control-plane/PublishRequestErrorMapper.d.ts.map +1 -0
  247. package/dist/control-plane/PublishRequestErrorMapper.js +597 -0
  248. package/dist/control-plane/PublishRequestErrorMapper.js.map +1 -0
  249. package/dist/control-plane/RegistryGrantLock.d.ts +29 -26
  250. package/dist/control-plane/RegistryGrantLock.d.ts.map +1 -1
  251. package/dist/control-plane/RegistryGrantLock.js +149 -185
  252. package/dist/control-plane/RegistryGrantLock.js.map +1 -1
  253. package/dist/control-plane/RegistryTrustResolver.d.ts +13 -10
  254. package/dist/control-plane/RegistryTrustResolver.d.ts.map +1 -1
  255. package/dist/control-plane/RegistryTrustResolver.js +97 -132
  256. package/dist/control-plane/RegistryTrustResolver.js.map +1 -1
  257. package/dist/index.d.ts +62 -39
  258. package/dist/index.js +60 -53
  259. package/dist/postinstall/api/PostinstallDsl.d.ts +24 -21
  260. package/dist/postinstall/api/PostinstallDsl.d.ts.map +1 -1
  261. package/dist/postinstall/api/PostinstallDsl.js +32 -35
  262. package/dist/postinstall/api/PostinstallDsl.js.map +1 -1
  263. package/dist/postinstall/api/definePostinstall.d.ts +5 -2
  264. package/dist/postinstall/api/definePostinstall.d.ts.map +1 -1
  265. package/dist/postinstall/api/definePostinstall.js +20 -16
  266. package/dist/postinstall/api/definePostinstall.js.map +1 -1
  267. package/dist/postinstall/index.d.ts +25 -26
  268. package/dist/postinstall/index.js +25 -37
  269. package/dist/postinstall/loader/EntryResolver.d.ts +11 -9
  270. package/dist/postinstall/loader/EntryResolver.d.ts.map +1 -1
  271. package/dist/postinstall/loader/EntryResolver.js +36 -32
  272. package/dist/postinstall/loader/EntryResolver.js.map +1 -1
  273. package/dist/postinstall/loader/EsbuildTranspiler.d.ts +6 -3
  274. package/dist/postinstall/loader/EsbuildTranspiler.d.ts.map +1 -1
  275. package/dist/postinstall/loader/EsbuildTranspiler.js +52 -56
  276. package/dist/postinstall/loader/EsbuildTranspiler.js.map +1 -1
  277. package/dist/postinstall/loader/ExportValidator.d.ts +8 -5
  278. package/dist/postinstall/loader/ExportValidator.d.ts.map +1 -1
  279. package/dist/postinstall/loader/ExportValidator.js +36 -32
  280. package/dist/postinstall/loader/ExportValidator.js.map +1 -1
  281. package/dist/postinstall/loader/ModuleImporter.d.ts +17 -14
  282. package/dist/postinstall/loader/ModuleImporter.d.ts.map +1 -1
  283. package/dist/postinstall/loader/ModuleImporter.js +50 -58
  284. package/dist/postinstall/loader/ModuleImporter.js.map +1 -1
  285. package/dist/postinstall/loader/PostinstallLoader.d.ts +22 -19
  286. package/dist/postinstall/loader/PostinstallLoader.d.ts.map +1 -1
  287. package/dist/postinstall/loader/PostinstallLoader.js +62 -58
  288. package/dist/postinstall/loader/PostinstallLoader.js.map +1 -1
  289. package/dist/postinstall/markers/MarkerBlockEditor.d.ts +19 -16
  290. package/dist/postinstall/markers/MarkerBlockEditor.d.ts.map +1 -1
  291. package/dist/postinstall/markers/MarkerBlockEditor.js +48 -44
  292. package/dist/postinstall/markers/MarkerBlockEditor.js.map +1 -1
  293. package/dist/postinstall/markers/MarkerBlockService.d.ts +10 -7
  294. package/dist/postinstall/markers/MarkerBlockService.d.ts.map +1 -1
  295. package/dist/postinstall/markers/MarkerBlockService.js +44 -44
  296. package/dist/postinstall/markers/MarkerBlockService.js.map +1 -1
  297. package/dist/postinstall/markers/MarkerIntegrityValidator.d.ts +12 -9
  298. package/dist/postinstall/markers/MarkerIntegrityValidator.d.ts.map +1 -1
  299. package/dist/postinstall/markers/MarkerIntegrityValidator.js +47 -52
  300. package/dist/postinstall/markers/MarkerIntegrityValidator.js.map +1 -1
  301. package/dist/postinstall/policy/PostinstallPolicyGate.d.ts +25 -23
  302. package/dist/postinstall/policy/PostinstallPolicyGate.d.ts.map +1 -1
  303. package/dist/postinstall/policy/PostinstallPolicyGate.js +63 -52
  304. package/dist/postinstall/policy/PostinstallPolicyGate.js.map +1 -1
  305. package/dist/postinstall/runner/PostinstallOrchestrator.d.ts +48 -45
  306. package/dist/postinstall/runner/PostinstallOrchestrator.d.ts.map +1 -1
  307. package/dist/postinstall/runner/PostinstallOrchestrator.js +172 -170
  308. package/dist/postinstall/runner/PostinstallOrchestrator.js.map +1 -1
  309. package/dist/postinstall/unreal/BuildCsInjector.d.ts +16 -13
  310. package/dist/postinstall/unreal/BuildCsInjector.d.ts.map +1 -1
  311. package/dist/postinstall/unreal/BuildCsInjector.js +58 -53
  312. package/dist/postinstall/unreal/BuildCsInjector.js.map +1 -1
  313. package/dist/postinstall/unreal/CSharpInjectionEngine.d.ts +13 -10
  314. package/dist/postinstall/unreal/CSharpInjectionEngine.d.ts.map +1 -1
  315. package/dist/postinstall/unreal/CSharpInjectionEngine.js +56 -59
  316. package/dist/postinstall/unreal/CSharpInjectionEngine.js.map +1 -1
  317. package/dist/postinstall/unreal/CSharpStructureAnalyzer.d.ts +11 -8
  318. package/dist/postinstall/unreal/CSharpStructureAnalyzer.d.ts.map +1 -1
  319. package/dist/postinstall/unreal/CSharpStructureAnalyzer.js +123 -127
  320. package/dist/postinstall/unreal/CSharpStructureAnalyzer.js.map +1 -1
  321. package/dist/postinstall/unreal/CSharpStructures.d.ts +18 -15
  322. package/dist/postinstall/unreal/CSharpStructures.d.ts.map +1 -1
  323. package/dist/postinstall/unreal/CSharpStructures.js +1 -2
  324. package/dist/postinstall/unreal/CSharpWrapperFactory.d.ts +7 -4
  325. package/dist/postinstall/unreal/CSharpWrapperFactory.d.ts.map +1 -1
  326. package/dist/postinstall/unreal/CSharpWrapperFactory.js +54 -58
  327. package/dist/postinstall/unreal/CSharpWrapperFactory.js.map +1 -1
  328. package/dist/postinstall/unreal/PluginHash.d.ts +5 -2
  329. package/dist/postinstall/unreal/PluginHash.d.ts.map +1 -1
  330. package/dist/postinstall/unreal/PluginHash.js +13 -8
  331. package/dist/postinstall/unreal/PluginHash.js.map +1 -1
  332. package/dist/postinstall/unreal/PrettyParseError.d.ts +8 -5
  333. package/dist/postinstall/unreal/PrettyParseError.d.ts.map +1 -1
  334. package/dist/postinstall/unreal/PrettyParseError.js +37 -37
  335. package/dist/postinstall/unreal/PrettyParseError.js.map +1 -1
  336. package/dist/postinstall/unreal/ProjectFileLocator.d.ts +12 -9
  337. package/dist/postinstall/unreal/ProjectFileLocator.d.ts.map +1 -1
  338. package/dist/postinstall/unreal/ProjectFileLocator.js +49 -51
  339. package/dist/postinstall/unreal/ProjectFileLocator.js.map +1 -1
  340. package/dist/postinstall/unreal/TargetCsInjector.d.ts +16 -13
  341. package/dist/postinstall/unreal/TargetCsInjector.d.ts.map +1 -1
  342. package/dist/postinstall/unreal/TargetCsInjector.js +58 -53
  343. package/dist/postinstall/unreal/TargetCsInjector.js.map +1 -1
  344. package/dist/postinstall/unreal/UProjectInjector.d.ts +6 -3
  345. package/dist/postinstall/unreal/UProjectInjector.d.ts.map +1 -1
  346. package/dist/postinstall/unreal/UProjectInjector.js +56 -52
  347. package/dist/postinstall/unreal/UProjectInjector.js.map +1 -1
  348. package/dist/postinstall/unreal/UProjectMetadataReader.d.ts +5 -2
  349. package/dist/postinstall/unreal/UProjectMetadataReader.d.ts.map +1 -1
  350. package/dist/postinstall/unreal/UProjectMetadataReader.js +22 -18
  351. package/dist/postinstall/unreal/UProjectMetadataReader.js.map +1 -1
  352. package/dist/postinstall/unreal/UnrealSourceCatalog.d.ts +17 -14
  353. package/dist/postinstall/unreal/UnrealSourceCatalog.d.ts.map +1 -1
  354. package/dist/postinstall/unreal/UnrealSourceCatalog.js +50 -50
  355. package/dist/postinstall/unreal/UnrealSourceCatalog.js.map +1 -1
  356. package/dist/prompts/InkPromptService.d.ts +10 -7
  357. package/dist/prompts/InkPromptService.d.ts.map +1 -1
  358. package/dist/prompts/InkPromptService.js +100 -71
  359. package/dist/prompts/InkPromptService.js.map +1 -1
  360. package/dist/prompts/ProjectContextDetector.d.ts +10 -7
  361. package/dist/prompts/ProjectContextDetector.d.ts.map +1 -1
  362. package/dist/prompts/ProjectContextDetector.js +32 -26
  363. package/dist/prompts/ProjectContextDetector.js.map +1 -1
  364. package/dist/prompts/PromptService.d.ts +11 -8
  365. package/dist/prompts/PromptService.d.ts.map +1 -1
  366. package/dist/prompts/PromptService.js +1 -8
  367. package/dist/reporting/DiagnosticDeduplicator.d.ts +8 -5
  368. package/dist/reporting/DiagnosticDeduplicator.d.ts.map +1 -1
  369. package/dist/reporting/DiagnosticDeduplicator.js +36 -35
  370. package/dist/reporting/DiagnosticDeduplicator.js.map +1 -1
  371. package/dist/reporting/DiagnosticRenderer.d.ts +11 -8
  372. package/dist/reporting/DiagnosticRenderer.d.ts.map +1 -1
  373. package/dist/reporting/DiagnosticRenderer.js +1 -2
  374. package/dist/reporting/DiagnosticReporter.d.ts +12 -9
  375. package/dist/reporting/DiagnosticReporter.d.ts.map +1 -1
  376. package/dist/reporting/DiagnosticReporter.js +40 -39
  377. package/dist/reporting/DiagnosticReporter.js.map +1 -1
  378. package/dist/reporting/InkDiagnosticRenderer.d.ts +12 -9
  379. package/dist/reporting/InkDiagnosticRenderer.d.ts.map +1 -1
  380. package/dist/reporting/InkDiagnosticRenderer.js +50 -42
  381. package/dist/reporting/InkDiagnosticRenderer.js.map +1 -1
  382. package/dist/reporting/InstallProgressReporter.d.ts +23 -20
  383. package/dist/reporting/InstallProgressReporter.d.ts.map +1 -1
  384. package/dist/reporting/InstallProgressReporter.js +48 -47
  385. package/dist/reporting/InstallProgressReporter.js.map +1 -1
  386. package/dist/reporting/JsonReporter.d.ts +16 -13
  387. package/dist/reporting/JsonReporter.d.ts.map +1 -1
  388. package/dist/reporting/JsonReporter.js +34 -20
  389. package/dist/reporting/JsonReporter.js.map +1 -1
  390. package/dist/reporting/RegistryRequestTerminalFormatter.d.ts +36 -0
  391. package/dist/reporting/RegistryRequestTerminalFormatter.d.ts.map +1 -0
  392. package/dist/reporting/RegistryRequestTerminalFormatter.js +90 -0
  393. package/dist/reporting/RegistryRequestTerminalFormatter.js.map +1 -0
  394. package/dist/reporting/TextDiagnosticRenderer.d.ts +11 -8
  395. package/dist/reporting/TextDiagnosticRenderer.d.ts.map +1 -1
  396. package/dist/reporting/TextDiagnosticRenderer.js +36 -28
  397. package/dist/reporting/TextDiagnosticRenderer.js.map +1 -1
  398. package/dist/reporting/TextSink.d.ts +14 -11
  399. package/dist/reporting/TextSink.d.ts.map +1 -1
  400. package/dist/reporting/TextSink.js +24 -20
  401. package/dist/reporting/TextSink.js.map +1 -1
  402. package/package.json +31 -32
  403. package/dist/cli/parsing/contracts/UAPKGCommandModule.js.map +0 -1
  404. package/dist/cli-bootstrap.d.ts.map +0 -1
  405. package/dist/commands/Command.js.map +0 -1
  406. package/dist/index.d.ts.map +0 -1
  407. package/dist/index.js.map +0 -1
  408. package/dist/postinstall/index.d.ts.map +0 -1
  409. package/dist/postinstall/index.js.map +0 -1
  410. package/dist/postinstall/unreal/CSharpStructures.js.map +0 -1
  411. package/dist/prompts/PromptService.js.map +0 -1
  412. package/dist/reporting/DiagnosticRenderer.js.map +0 -1
@@ -1,14 +1,15 @@
1
- import { ConfigInstance } from '@uapkg/config';
2
- import { Installer } from '@uapkg/installer';
3
- import { PackageManifest } from '@uapkg/package-manifest';
4
- import { RegistryCore } from '@uapkg/registry-core';
5
- import { AccountManager } from '../control-plane/AccountManager.js';
6
- import { RegistryTrustResolver } from '../control-plane/RegistryTrustResolver.js';
7
- import { PostinstallOrchestrator } from '../postinstall/runner/PostinstallOrchestrator.js';
8
- import { DiagnosticReporter } from '../reporting/DiagnosticReporter.js';
9
- import { JsonReporter } from '../reporting/JsonReporter.js';
10
- export interface CompositionRootOptions {
11
- readonly cwd: string;
1
+ import { AccountManager } from "../control-plane/AccountManager.js";
2
+ import { RegistryTrustResolver } from "../control-plane/RegistryTrustResolver.js";
3
+ import { PostinstallOrchestrator } from "../postinstall/runner/PostinstallOrchestrator.js";
4
+ import { DiagnosticReporter } from "../reporting/DiagnosticReporter.js";
5
+ import { JsonReporter } from "../reporting/JsonReporter.js";
6
+ import { ConfigInstance } from "@uapkg/config";
7
+ import { PackageManifest } from "@uapkg/package-manifest";
8
+ import { RegistryCore } from "@uapkg/registry-core";
9
+ import { Installer } from "@uapkg/installer";
10
+ //#region src/app/CompositionRoot.d.ts
11
+ interface CompositionRootOptions {
12
+ readonly cwd: string;
12
13
  }
13
14
  /**
14
15
  * Central dependency-injection root for the uapkg CLI.
@@ -27,27 +28,29 @@ export interface CompositionRootOptions {
27
28
  * PostinstallOrchestrator
28
29
  * DiagnosticReporter / JsonReporter
29
30
  */
30
- export declare class CompositionRoot {
31
- private readonly options;
32
- private _config?;
33
- private _registryCore?;
34
- private _packageManifest?;
35
- private _installer?;
36
- private _postinstall?;
37
- private _diagnostics?;
38
- private _json?;
39
- private _accountManager?;
40
- private _registryTrustResolver?;
41
- constructor(options: CompositionRootOptions);
42
- get cwd(): string;
43
- get config(): InstanceType<typeof ConfigInstance>;
44
- get registryCore(): RegistryCore;
45
- get packageManifest(): PackageManifest;
46
- get installer(): Installer;
47
- get postinstall(): PostinstallOrchestrator;
48
- get diagnostics(): DiagnosticReporter;
49
- get json(): JsonReporter;
50
- get accountManager(): AccountManager;
51
- get registryTrustResolver(): RegistryTrustResolver;
31
+ declare class CompositionRoot {
32
+ private readonly options;
33
+ private _config?;
34
+ private _registryCore?;
35
+ private _packageManifest?;
36
+ private _installer?;
37
+ private _postinstall?;
38
+ private _diagnostics?;
39
+ private _json?;
40
+ private _accountManager?;
41
+ private _registryTrustResolver?;
42
+ constructor(options: CompositionRootOptions);
43
+ get cwd(): string;
44
+ get config(): InstanceType<typeof ConfigInstance>;
45
+ get registryCore(): RegistryCore;
46
+ get packageManifest(): PackageManifest;
47
+ get installer(): Installer;
48
+ get postinstall(): PostinstallOrchestrator;
49
+ get diagnostics(): DiagnosticReporter;
50
+ get json(): JsonReporter;
51
+ get accountManager(): AccountManager;
52
+ get registryTrustResolver(): RegistryTrustResolver;
52
53
  }
54
+ //#endregion
55
+ export { CompositionRoot, CompositionRootOptions };
53
56
  //# sourceMappingURL=CompositionRoot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CompositionRoot.d.ts","sourceRoot":"","sources":["../../src/app/CompositionRoot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,eAAe;IAWP,OAAO,CAAC,QAAQ,CAAC,OAAO;IAV3C,OAAO,CAAC,OAAO,CAAC,CAAsC;IACtD,OAAO,CAAC,aAAa,CAAC,CAAe;IACrC,OAAO,CAAC,gBAAgB,CAAC,CAAkB;IAC3C,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,OAAO,CAAC,YAAY,CAAC,CAA0B;IAC/C,OAAO,CAAC,YAAY,CAAC,CAAqB;IAC1C,OAAO,CAAC,KAAK,CAAC,CAAe;IAC7B,OAAO,CAAC,eAAe,CAAC,CAAiB;IACzC,OAAO,CAAC,sBAAsB,CAAC,CAAwB;gBAEnB,OAAO,EAAE,sBAAsB;IAEnE,IAAW,GAAG,IAAI,MAAM,CAEvB;IAED,IAAW,MAAM,IAAI,YAAY,CAAC,OAAO,cAAc,CAAC,CAKvD;IAED,IAAW,YAAY,IAAI,YAAY,CActC;IAED,IAAW,eAAe,IAAI,eAAe,CAS5C;IAED,IAAW,SAAS,IAAI,SAAS,CAQhC;IAED,IAAW,WAAW,IAAI,uBAAuB,CAKhD;IAED,IAAW,WAAW,IAAI,kBAAkB,CAK3C;IAED,IAAW,IAAI,IAAI,YAAY,CAK9B;IAED,IAAW,cAAc,IAAI,cAAc,CAK1C;IAED,IAAW,qBAAqB,IAAI,qBAAqB,CAKxD;CACF"}
1
+ {"version":3,"file":"CompositionRoot.d.ts","names":[],"sources":["../../src/app/CompositionRoot.ts"],"mappings":";;;;;;;;;;UAUiB;WACN;;;;;;;;;;;;;;;;;;;cAoBE;mBAWyB;UAV5B;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;EAER,YAAoC,SAAS;MAElC;MAIA,UAAU,oBAAoB;MAO9B,gBAAgB;MAgBhB,mBAAmB;MAWnB,aAAa;MAUb,eAAe;MAOf,eAAe;MAOf,QAAQ;MAOR,kBAAkB;MAOlB,yBAAyB"}
@@ -1,111 +1,93 @@
1
- import { ConfigInstance } from '@uapkg/config';
2
- import { Installer } from '@uapkg/installer';
3
- import { PackageManifest } from '@uapkg/package-manifest';
4
- import { RegistryCore } from '@uapkg/registry-core';
5
- import { AccountManager } from '../control-plane/AccountManager.js';
6
- import { RegistryTrustResolver } from '../control-plane/RegistryTrustResolver.js';
7
- import { PostinstallOrchestrator } from '../postinstall/runner/PostinstallOrchestrator.js';
8
- import { DiagnosticReporter } from '../reporting/DiagnosticReporter.js';
9
- import { JsonReporter } from '../reporting/JsonReporter.js';
1
+ import { DiagnosticReporter } from "../reporting/DiagnosticReporter.js";
2
+ import { AccountManager } from "../control-plane/AccountManager.js";
3
+ import { RegistryTrustResolver } from "../control-plane/RegistryTrustResolver.js";
4
+ import { PostinstallOrchestrator } from "../postinstall/runner/PostinstallOrchestrator.js";
5
+ import { JsonReporter } from "../reporting/JsonReporter.js";
6
+ import { ConfigInstance } from "@uapkg/config";
7
+ import { PackageManifest } from "@uapkg/package-manifest";
8
+ import { RegistryCore } from "@uapkg/registry-core";
9
+ import { Installer } from "@uapkg/installer";
10
+
11
+ //#region src/app/CompositionRoot.ts
10
12
  /**
11
- * Central dependency-injection root for the uapkg CLI.
12
- *
13
- * One instance is created per CLI invocation. It lazily constructs shared
14
- * services so commands that don't need them pay nothing. Every service this
15
- * root owns is either a pure facade (`PackageManifest`, `RegistryCore`) or a
16
- * stateless collaborator — there is no mutable shared state outside the
17
- * wrapped config/registry caches.
18
- *
19
- * Dependency graph (no cycles):
20
- *
21
- * ConfigInstance ──► RegistryCore ──► PackageManifest
22
- * │ │
23
- * └──► Installer ◄────┘
24
- * PostinstallOrchestrator
25
- * DiagnosticReporter / JsonReporter
26
- */
27
- export class CompositionRoot {
28
- options;
29
- _config;
30
- _registryCore;
31
- _packageManifest;
32
- _installer;
33
- _postinstall;
34
- _diagnostics;
35
- _json;
36
- _accountManager;
37
- _registryTrustResolver;
38
- constructor(options) {
39
- this.options = options;
40
- }
41
- get cwd() {
42
- return this.options.cwd;
43
- }
44
- get config() {
45
- if (!this._config) {
46
- this._config = new ConfigInstance({ cwd: this.options.cwd });
47
- }
48
- return this._config;
49
- }
50
- get registryCore() {
51
- if (!this._registryCore) {
52
- // RegistryCore accepts a duck-typed config surface; ConfigInstance has
53
- // wider return types, so cast through `unknown` to satisfy the narrower
54
- // structural type.
55
- this._registryCore = new RegistryCore({
56
- configInstance: this.config,
57
- });
58
- }
59
- return this._registryCore;
60
- }
61
- get packageManifest() {
62
- if (!this._packageManifest) {
63
- this._packageManifest = new PackageManifest({
64
- manifestRoot: this.options.cwd,
65
- registryCore: this.registryCore,
66
- configInstance: this.config,
67
- });
68
- }
69
- return this._packageManifest;
70
- }
71
- get installer() {
72
- if (!this._installer) {
73
- this._installer = new Installer({
74
- registryCore: this.registryCore,
75
- config: this.config,
76
- });
77
- }
78
- return this._installer;
79
- }
80
- get postinstall() {
81
- if (!this._postinstall) {
82
- this._postinstall = new PostinstallOrchestrator();
83
- }
84
- return this._postinstall;
85
- }
86
- get diagnostics() {
87
- if (!this._diagnostics) {
88
- this._diagnostics = new DiagnosticReporter();
89
- }
90
- return this._diagnostics;
91
- }
92
- get json() {
93
- if (!this._json) {
94
- this._json = new JsonReporter();
95
- }
96
- return this._json;
97
- }
98
- get accountManager() {
99
- if (!this._accountManager) {
100
- this._accountManager = new AccountManager();
101
- }
102
- return this._accountManager;
103
- }
104
- get registryTrustResolver() {
105
- if (!this._registryTrustResolver) {
106
- this._registryTrustResolver = new RegistryTrustResolver(this);
107
- }
108
- return this._registryTrustResolver;
109
- }
110
- }
13
+ * Central dependency-injection root for the uapkg CLI.
14
+ *
15
+ * One instance is created per CLI invocation. It lazily constructs shared
16
+ * services so commands that don't need them pay nothing. Every service this
17
+ * root owns is either a pure facade (`PackageManifest`, `RegistryCore`) or a
18
+ * stateless collaborator — there is no mutable shared state outside the
19
+ * wrapped config/registry caches.
20
+ *
21
+ * Dependency graph (no cycles):
22
+ *
23
+ * ConfigInstance ──► RegistryCore ──► PackageManifest
24
+ * │ │
25
+ * └──► Installer ◄────┘
26
+ * PostinstallOrchestrator
27
+ * DiagnosticReporter / JsonReporter
28
+ */
29
+ var CompositionRoot = class {
30
+ options;
31
+ _config;
32
+ _registryCore;
33
+ _packageManifest;
34
+ _installer;
35
+ _postinstall;
36
+ _diagnostics;
37
+ _json;
38
+ _accountManager;
39
+ _registryTrustResolver;
40
+ constructor(options) {
41
+ this.options = options;
42
+ }
43
+ get cwd() {
44
+ return this.options.cwd;
45
+ }
46
+ get config() {
47
+ if (!this._config) this._config = new ConfigInstance({ cwd: this.options.cwd });
48
+ return this._config;
49
+ }
50
+ get registryCore() {
51
+ if (!this._registryCore) this._registryCore = new RegistryCore({ configInstance: this.config });
52
+ return this._registryCore;
53
+ }
54
+ get packageManifest() {
55
+ if (!this._packageManifest) this._packageManifest = new PackageManifest({
56
+ manifestRoot: this.options.cwd,
57
+ registryCore: this.registryCore,
58
+ configInstance: this.config
59
+ });
60
+ return this._packageManifest;
61
+ }
62
+ get installer() {
63
+ if (!this._installer) this._installer = new Installer({
64
+ registryCore: this.registryCore,
65
+ config: this.config
66
+ });
67
+ return this._installer;
68
+ }
69
+ get postinstall() {
70
+ if (!this._postinstall) this._postinstall = new PostinstallOrchestrator();
71
+ return this._postinstall;
72
+ }
73
+ get diagnostics() {
74
+ if (!this._diagnostics) this._diagnostics = new DiagnosticReporter();
75
+ return this._diagnostics;
76
+ }
77
+ get json() {
78
+ if (!this._json) this._json = new JsonReporter();
79
+ return this._json;
80
+ }
81
+ get accountManager() {
82
+ if (!this._accountManager) this._accountManager = new AccountManager();
83
+ return this._accountManager;
84
+ }
85
+ get registryTrustResolver() {
86
+ if (!this._registryTrustResolver) this._registryTrustResolver = new RegistryTrustResolver(this);
87
+ return this._registryTrustResolver;
88
+ }
89
+ };
90
+
91
+ //#endregion
92
+ export { CompositionRoot };
111
93
  //# sourceMappingURL=CompositionRoot.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CompositionRoot.js","sourceRoot":"","sources":["../../src/app/CompositionRoot.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"CompositionRoot.js","names":[],"sources":["../../src/app/CompositionRoot.ts"],"sourcesContent":["import { ConfigInstance } from '@uapkg/config';\nimport { Installer } from '@uapkg/installer';\nimport { PackageManifest } from '@uapkg/package-manifest';\nimport { RegistryCore } from '@uapkg/registry-core';\nimport { AccountManager } from '../control-plane/AccountManager.js';\nimport { RegistryTrustResolver } from '../control-plane/RegistryTrustResolver.js';\nimport { PostinstallOrchestrator } from '../postinstall/runner/PostinstallOrchestrator.js';\nimport { DiagnosticReporter } from '../reporting/DiagnosticReporter.js';\nimport { JsonReporter } from '../reporting/JsonReporter.js';\n\nexport interface CompositionRootOptions {\n readonly cwd: string;\n}\n\n/**\n * Central dependency-injection root for the uapkg CLI.\n *\n * One instance is created per CLI invocation. It lazily constructs shared\n * services so commands that don't need them pay nothing. Every service this\n * root owns is either a pure facade (`PackageManifest`, `RegistryCore`) or a\n * stateless collaborator — there is no mutable shared state outside the\n * wrapped config/registry caches.\n *\n * Dependency graph (no cycles):\n *\n * ConfigInstance ──► RegistryCore ──► PackageManifest\n * │ │\n * └──► Installer ◄────┘\n * PostinstallOrchestrator\n * DiagnosticReporter / JsonReporter\n */\nexport class CompositionRoot {\n private _config?: InstanceType<typeof ConfigInstance>;\n private _registryCore?: RegistryCore;\n private _packageManifest?: PackageManifest;\n private _installer?: Installer;\n private _postinstall?: PostinstallOrchestrator;\n private _diagnostics?: DiagnosticReporter;\n private _json?: JsonReporter;\n private _accountManager?: AccountManager;\n private _registryTrustResolver?: RegistryTrustResolver;\n\n public constructor(private readonly options: CompositionRootOptions) {}\n\n public get cwd(): string {\n return this.options.cwd;\n }\n\n public get config(): InstanceType<typeof ConfigInstance> {\n if (!this._config) {\n this._config = new ConfigInstance({ cwd: this.options.cwd });\n }\n return this._config;\n }\n\n public get registryCore(): RegistryCore {\n if (!this._registryCore) {\n // RegistryCore accepts a duck-typed config surface; ConfigInstance has\n // wider return types, so cast through `unknown` to satisfy the narrower\n // structural type.\n this._registryCore = new RegistryCore({\n configInstance: this.config as unknown as {\n get: (p?: string) => unknown;\n getAll: () => Record<string, unknown>;\n getDefaultRegistry: () => { url: string; ref: { type: string; value: string } } | null;\n },\n });\n }\n return this._registryCore;\n }\n\n public get packageManifest(): PackageManifest {\n if (!this._packageManifest) {\n this._packageManifest = new PackageManifest({\n manifestRoot: this.options.cwd,\n registryCore: this.registryCore,\n configInstance: this.config,\n });\n }\n return this._packageManifest;\n }\n\n public get installer(): Installer {\n if (!this._installer) {\n this._installer = new Installer({\n registryCore: this.registryCore,\n config: this.config,\n });\n }\n return this._installer;\n }\n\n public get postinstall(): PostinstallOrchestrator {\n if (!this._postinstall) {\n this._postinstall = new PostinstallOrchestrator();\n }\n return this._postinstall;\n }\n\n public get diagnostics(): DiagnosticReporter {\n if (!this._diagnostics) {\n this._diagnostics = new DiagnosticReporter();\n }\n return this._diagnostics;\n }\n\n public get json(): JsonReporter {\n if (!this._json) {\n this._json = new JsonReporter();\n }\n return this._json;\n }\n\n public get accountManager(): AccountManager {\n if (!this._accountManager) {\n this._accountManager = new AccountManager();\n }\n return this._accountManager;\n }\n\n public get registryTrustResolver(): RegistryTrustResolver {\n if (!this._registryTrustResolver) {\n this._registryTrustResolver = new RegistryTrustResolver(this);\n }\n return this._registryTrustResolver;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,IAAa,kBAAb,MAA6B;CAWS;CAVpC,AAAQ;CACR,AAAQ;CACR,AAAQ;CACR,AAAQ;CACR,AAAQ;CACR,AAAQ;CACR,AAAQ;CACR,AAAQ;CACR,AAAQ;CAER,AAAO,YAAY,AAAiB,SAAiC;EAAjC;CAAkC;CAEtE,IAAW,MAAc;EACvB,OAAO,KAAK,QAAQ;CACtB;CAEA,IAAW,SAA8C;EACvD,IAAI,CAAC,KAAK,SACR,KAAK,UAAU,IAAI,eAAe,EAAE,KAAK,KAAK,QAAQ,IAAI,CAAC;EAE7D,OAAO,KAAK;CACd;CAEA,IAAW,eAA6B;EACtC,IAAI,CAAC,KAAK,eAIR,KAAK,gBAAgB,IAAI,aAAa,EACpC,gBAAgB,KAAK,OAKvB,CAAC;EAEH,OAAO,KAAK;CACd;CAEA,IAAW,kBAAmC;EAC5C,IAAI,CAAC,KAAK,kBACR,KAAK,mBAAmB,IAAI,gBAAgB;GAC1C,cAAc,KAAK,QAAQ;GAC3B,cAAc,KAAK;GACnB,gBAAgB,KAAK;EACvB,CAAC;EAEH,OAAO,KAAK;CACd;CAEA,IAAW,YAAuB;EAChC,IAAI,CAAC,KAAK,YACR,KAAK,aAAa,IAAI,UAAU;GAC9B,cAAc,KAAK;GACnB,QAAQ,KAAK;EACf,CAAC;EAEH,OAAO,KAAK;CACd;CAEA,IAAW,cAAuC;EAChD,IAAI,CAAC,KAAK,cACR,KAAK,eAAe,IAAI,wBAAwB;EAElD,OAAO,KAAK;CACd;CAEA,IAAW,cAAkC;EAC3C,IAAI,CAAC,KAAK,cACR,KAAK,eAAe,IAAI,mBAAmB;EAE7C,OAAO,KAAK;CACd;CAEA,IAAW,OAAqB;EAC9B,IAAI,CAAC,KAAK,OACR,KAAK,QAAQ,IAAI,aAAa;EAEhC,OAAO,KAAK;CACd;CAEA,IAAW,iBAAiC;EAC1C,IAAI,CAAC,KAAK,iBACR,KAAK,kBAAkB,IAAI,eAAe;EAE5C,OAAO,KAAK;CACd;CAEA,IAAW,wBAA+C;EACxD,IAAI,CAAC,KAAK,wBACR,KAAK,yBAAyB,IAAI,sBAAsB,IAAI;EAE9D,OAAO,KAAK;CACd;AACF"}
@@ -1,4 +1,5 @@
1
- import type { UAPKGCommandLine } from '../cli/UAPKGCommandLine.js';
1
+ import { UAPKGCommandLine } from "../cli/UAPKGCommandLine.js";
2
+ //#region src/app/UAPKGApplication.d.ts
2
3
  /**
3
4
  * Dispatcher: maps the parsed command-line shape to a concrete command
4
5
  * implementation, wiring dependencies via {@link CompositionRoot}.
@@ -8,7 +9,9 @@ import type { UAPKGCommandLine } from '../cli/UAPKGCommandLine.js';
8
9
  * project-context detector (split out of the legacy `ui/` + `services/`
9
10
  * folders in Phase 10).
10
11
  */
11
- export declare class UAPKGApplication {
12
- run(commandLine: UAPKGCommandLine): Promise<number>;
12
+ declare class UAPKGApplication {
13
+ run(commandLine: UAPKGCommandLine): Promise<number>;
13
14
  }
15
+ //#endregion
16
+ export { UAPKGApplication };
14
17
  //# sourceMappingURL=UAPKGApplication.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UAPKGApplication.d.ts","sourceRoot":"","sources":["../../src/app/UAPKGApplication.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAuBnE;;;;;;;;GAQG;AACH,qBAAa,gBAAgB;IACrB,GAAG,CAAC,WAAW,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;CAkK1D"}
1
+ {"version":3,"file":"UAPKGApplication.d.ts","names":[],"sources":["../../src/app/UAPKGApplication.ts"],"mappings":";;;;;;;;;;;cAgCa;EACL,IAAI,aAAa,mBAAmB"}