@@ -40,13 +40,9 @@ public function resolve(): CommandProviderStatus {
4040 $ notes = [];
4141
4242 if ($ provider === CommandProviderStatus::EMBEDDED_LEGACY ) {
43- if (\LibraryModules::isLegacyEmbeddedEnabled ($ this ->host )) {
44- $ warnings [] = 'EasyLibrary internal commands are currently using the embedded legacy LibCommand classes. ' ;
45- $ notes [] = 'Do not remove src/imperazim/command until package-backed or standalone LibCommand is guaranteed for command registration. ' ;
46- } else {
47- $ notes [] = 'Embedded legacy LibCommand classes were removed from EasyLibrary 3.x. ' ;
48- $ notes [] = 'EasyLibrary will use the native recovery command unless package-backed or standalone LibCommand is active. ' ;
49- }
43+ $ warnings [] = 'LibCommand classes appear to be loaded from the removed EasyLibrary embedded source path. ' ;
44+ $ notes [] = 'EasyLibrary 3.x does not accept embedded LibCommand as a rich command provider. ' ;
45+ $ notes [] = 'Install package-backed or standalone LibCommand, then restart. ' ;
5046 }
5147 if ($ provider === CommandProviderStatus::MISSING ) {
5248 $ warnings [] = 'imperazim \\command \\Command is not loaded; EasyLibrary command registration would fail. ' ;
@@ -65,7 +61,7 @@ public function resolve(): CommandProviderStatus {
6561 } elseif ($ plugin instanceof Plugin) {
6662 $ notes [] = 'LibCommand plugin exists but is not recognized as active package-backed or standalone. ' ;
6763 } else {
68- $ notes [] = 'No LibCommand plugin identity is active; EasyLibrary can only rely on embedded command classes right now . ' ;
64+ $ notes [] = 'No LibCommand plugin identity is active; EasyLibrary will use the native recovery command. ' ;
6965 }
7066
7167 return new CommandProviderStatus (
@@ -123,7 +119,7 @@ private function hookProvider(): string {
123119 return 'unavailable ' ;
124120 }
125121 if (\imperazim \command \LibCommandHooker::isHostedBy ($ this ->host )) {
126- return 'EasyLibrary embedded hook ' ;
122+ return 'legacy EasyLibrary hook ' ;
127123 }
128124 if (\imperazim \command \LibCommandHooker::isRegistered ()) {
129125 return 'external LibCommand hook ' ;
@@ -178,7 +174,7 @@ private function embeddedConsumers(): array {
178174 'Module command tree: imperazim \\module \\command \\* ' ,
179175 'Default command overrides: imperazim \\library \\command \\override \\PluginsCommand and VersionCommand ' ,
180176 'PluginToolkit command registration helper: imperazim \\components \\plugin \\PluginToolkit ' ,
181- 'Embedded runtime commands while legacy packages exist: LibPlaceholder, LibWorld and Agent Bridge command classes ' ,
177+ 'External package commands when their package-backed or standalone providers are active ' ,
182178 ];
183179 }
184180}
0 commit comments