Skip to content

Commit 06824b4

Browse files
committed
chore(runtime): retire embedded runtime wording
1 parent a1a23a9 commit 06824b4

9 files changed

Lines changed: 27 additions & 27 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ Example real staging after enabling writes in `config.yml`:
400400
## Runtime diagnostics
401401

402402
EasyLibrary keeps runtime diagnostics for packages, standalone providers and
403-
command backend selection. Embedded runtime control was removed with the legacy
404-
embedded source. Use `/easylibrary packages` to install, repair, update, remove
403+
command backend selection. Legacy runtime control was removed with the 2.x
404+
full-bundle source layout. Use `/easylibrary packages` to install, repair, update, remove
405405
or roll back official packages.
406406

407407
The standalone installer remains available for compatibility. The preferred 3.x path is `/easylibrary packages install`, but `/easylibrary libs install` can still download official standalone PHARs after `confirm`, checksum validation and `library-installer.enabled=true`. It still does not hot-load the PHAR; restart is required.

src/imperazim/library/LibraryStatusService.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private function inspect(OfficialLibrarySource $source): LibraryStatus {
140140
LibraryRuntimeState::EMBEDDED_CLASSPATH,
141141
$this->host->getName(),
142142
$source->getExpectedVersion(),
143-
['Provided by EasyLibrary embedded source; no standalone runtime is active.']
143+
['Provided by a legacy EasyLibrary classpath provider; no standalone runtime is active.']
144144
),
145145
};
146146
}
@@ -152,7 +152,7 @@ private function legacyEmbeddedDisabledStatus(OfficialLibrarySource $source): Li
152152
$this->host->getName(),
153153
$source->getExpectedVersion(),
154154
[
155-
'Legacy embedded fallback was removed from EasyLibrary 3.x.',
155+
'Legacy 2.x full-bundle fallback was removed from EasyLibrary 3.x.',
156156
'Install the official package or standalone plugin to provide this library.',
157157
]
158158
);
@@ -211,7 +211,7 @@ private function standaloneStatus(
211211
$embeddedHost = $this->embeddedRuntimeHostName($source);
212212
if ($embeddedHost === $this->host->getName()) {
213213
$state = LibraryRuntimeState::DUPLICATE_RUNTIME;
214-
$problems[] = 'Standalone is active while EasyLibrary still owns the embedded runtime.';
214+
$problems[] = 'Standalone is active while EasyLibrary still owns a legacy runtime provider.';
215215
}
216216

217217
if ($files === []) {
@@ -256,7 +256,7 @@ private function embeddedCommandStatus(OfficialLibrarySource $source): LibrarySt
256256
LibraryRuntimeState::EMBEDDED_CLASSPATH,
257257
$this->host->getName(),
258258
$source->getExpectedVersion(),
259-
['Command classes are embedded; dynamic packet hook is not active.']
259+
['Command classes are available without an active package-backed or standalone plugin; dynamic packet hook is not active.']
260260
);
261261
}
262262

@@ -299,7 +299,7 @@ private function embeddedPlaceholderStatus(OfficialLibrarySource $source): Libra
299299
null,
300300
null,
301301
[],
302-
['No standalone LibPlaceholder and embedded PlaceholderManager is not initialized.']
302+
['No package-backed or standalone LibPlaceholder provider is active and PlaceholderManager is not initialized.']
303303
);
304304
}
305305

@@ -342,7 +342,7 @@ private function embeddedTriggerStatus(OfficialLibrarySource $source): LibrarySt
342342
null,
343343
null,
344344
[],
345-
['No standalone LibTrigger and embedded TriggerManager is not initialized.']
345+
['No package-backed or standalone LibTrigger provider is active and TriggerManager is not initialized.']
346346
);
347347
}
348348

@@ -385,7 +385,7 @@ private function embeddedWorldStatus(OfficialLibrarySource $source): LibraryStat
385385
null,
386386
null,
387387
[],
388-
['No standalone LibWorld and embedded WorldManager is not initialized.']
388+
['No package-backed or standalone LibWorld provider is active and WorldManager is not initialized.']
389389
);
390390
}
391391

@@ -396,7 +396,7 @@ private function embeddedAgentBridgeStatus(OfficialLibrarySource $source): Libra
396396
LibraryRuntimeState::EMBEDDED_RUNTIME,
397397
$this->host->getName(),
398398
$source->getExpectedVersion(),
399-
['Embedded Agent Bridge is enabled by EasyLibrary config.']
399+
['Agent Bridge runtime is managed by EasyLibrary.']
400400
);
401401
}
402402

@@ -416,7 +416,7 @@ private function embeddedAgentBridgeStatus(OfficialLibrarySource $source): Libra
416416
LibraryRuntimeState::EMBEDDED_DISABLED,
417417
$this->host->getName(),
418418
$source->getExpectedVersion(),
419-
['Embedded Agent Bridge is available but disabled by config.']
419+
['Agent Bridge is not active. Install the package-backed or standalone provider to enable it.']
420420
);
421421
}
422422

src/imperazim/library/command/LibraryCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static function sendHelp(CommandResult $result): void {
7272
'/easylibrary packages proxies [status|prepare|reconcile|cleanup] - inspect and repair package proxies',
7373
'/easylibrary packages repair <package|all> [confirm] - repair package state, lock and proxy metadata',
7474
'/easylibrary packages doctor - diagnose package state',
75-
'/easylibrary runtime - retired embedded runtime boundary; use packages commands instead',
75+
'/easylibrary runtime - retired legacy runtime boundary; use packages commands instead',
7676
'/easylibrary config doctor - diagnose modular config source and migration state',
7777
'/easylibrary config reload - reload config files without hot-swapping packages',
7878
'/easylibrary config migrate [confirm] - create split config files from legacy config.yml blocks',

src/imperazim/library/command/subcommand/LibrariesSubCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class LibrariesSubCommand extends LibrarySubCommand {
2020
public function onBuild(): array {
2121
return $this->definition(
2222
'libs',
23-
'Inspect official EasyLibrary standalone and embedded libraries',
23+
'Inspect official EasyLibrary standalone and package-backed libraries',
2424
LibraryPermissions::LIBS,
2525
aliases: ['libraries', 'lib'],
2626
subcommands: [

src/imperazim/library/command/subcommand/runtime/DisableRuntimeSubCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class DisableRuntimeSubCommand extends LibrarySubCommand {
1818
public function onBuild(): array {
1919
return $this->definition(
2020
'disable',
21-
'Stop an EasyLibrary-owned embedded runtime',
21+
'Compatibility command for retired runtime providers',
2222
LibraryPermissions::RUNTIME_CONTROL,
2323
arguments: [
2424
new StringArgument('runtime'),

src/imperazim/library/command/subcommand/runtime/EnableRuntimeSubCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class EnableRuntimeSubCommand extends LibrarySubCommand {
1818
public function onBuild(): array {
1919
return $this->definition(
2020
'enable',
21-
'Start an EasyLibrary-owned embedded runtime',
21+
'Compatibility command for retired runtime providers',
2222
LibraryPermissions::RUNTIME_CONTROL,
2323
arguments: [
2424
new StringArgument('runtime'),

src/imperazim/library/command/subcommand/runtime/ReloadRuntimeSubCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class ReloadRuntimeSubCommand extends LibrarySubCommand {
1818
public function onBuild(): array {
1919
return $this->definition(
2020
'reload',
21-
'Run a controlled stop/start for an EasyLibrary-owned embedded runtime',
21+
'Compatibility command for retired runtime providers',
2222
LibraryPermissions::RUNTIME_CONTROL,
2323
arguments: [
2424
new StringArgument('runtime'),

src/imperazim/library/command/subcommand/runtime/TargetsRuntimeSubCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class TargetsRuntimeSubCommand extends LibrarySubCommand {
1717
public function onBuild(): array {
1818
return $this->definition(
1919
'targets',
20-
'List embedded runtimes that can be controlled by EasyLibrary',
20+
'List legacy runtime-control targets retained for compatibility',
2121
LibraryPermissions::RUNTIME,
2222
aliases: ['available', 'list']
2323
);

src/imperazim/library/runtime/LibraryRuntimeControlService.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ public function enable(string $lookup): LibraryRuntimeOperationResult {
6262
self::ACTION_ENABLE,
6363
$changed,
6464
$changed
65-
? "Embedded {$source->getPluginName()} runtime started."
66-
: "Embedded {$source->getPluginName()} runtime was already active.",
65+
? "Legacy {$source->getPluginName()} runtime started."
66+
: "Legacy {$source->getPluginName()} runtime was already active.",
6767
$status,
68-
['This is a runtime-only change. Restart still follows plugin.yml, config and standalone plugin state.']
68+
['Runtime control is retained for legacy compatibility only. Package-backed and standalone plugins are managed through package/plugin lifecycle commands.']
6969
);
7070
}
7171

@@ -80,10 +80,10 @@ public function disable(string $lookup, bool $confirmed = false): LibraryRuntime
8080
self::ACTION_DISABLE,
8181
$changed,
8282
$changed
83-
? "Embedded {$source->getPluginName()} runtime stopped."
84-
: "Embedded {$source->getPluginName()} runtime was not active.",
83+
? "Legacy {$source->getPluginName()} runtime stopped."
84+
: "Legacy {$source->getPluginName()} runtime was not active.",
8585
$status,
86-
['Only EasyLibrary-owned embedded runtime is controlled. Standalone plugins are not loaded or unloaded.']
86+
['Runtime control is retained for legacy compatibility only. Package-backed and standalone plugins are managed through package/plugin lifecycle commands.']
8787
);
8888
}
8989

@@ -101,10 +101,10 @@ public function reload(string $lookup, bool $confirmed = false): LibraryRuntimeO
101101
self::ACTION_RELOAD,
102102
$changed,
103103
$changed
104-
? "Embedded {$source->getPluginName()} runtime reloaded."
105-
: "Embedded {$source->getPluginName()} runtime was already in the requested state.",
104+
? "Legacy {$source->getPluginName()} runtime reloaded."
105+
: "Legacy {$source->getPluginName()} runtime was already in the requested state.",
106106
$status,
107-
['Reload is implemented as controlled stop/start. It does not reload PHP classes or PHAR files.']
107+
['Runtime control is retained for legacy compatibility only. Package-backed and standalone plugins are managed through package/plugin lifecycle commands.']
108108
);
109109
}
110110

@@ -116,7 +116,7 @@ private function source(string $lookup): OfficialLibrarySource {
116116
$source = OfficialLibraryRegistry::find($lookup);
117117
if ($source === null || !$this->isControllable($source)) {
118118
throw new RuntimeException(
119-
"Runtime '{$lookup}' is not controllable because embedded library runtimes were removed from EasyLibrary 3.x. Use /easylibrary packages instead."
119+
"Runtime '{$lookup}' is not controllable because legacy runtime control was removed from EasyLibrary 3.x. Use /easylibrary packages instead."
120120
);
121121
}
122122

0 commit comments

Comments
 (0)