@openacp/cli 2026.414.3 → 2026.414.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +6 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -18459,7 +18459,6 @@ var init_adapter2 = __esm({
|
|
|
18459
18459
|
return prev(method, payload, signal);
|
|
18460
18460
|
});
|
|
18461
18461
|
const onCommandsReady = ({ commands }) => {
|
|
18462
|
-
this.core.eventBus.off(BusEvent.SYSTEM_COMMANDS_READY, onCommandsReady);
|
|
18463
18462
|
this.syncCommandsWithRetry(commands);
|
|
18464
18463
|
};
|
|
18465
18464
|
this.core.eventBus.on(BusEvent.SYSTEM_COMMANDS_READY, onCommandsReady);
|
|
@@ -30126,6 +30125,7 @@ async function startServer(opts) {
|
|
|
30126
30125
|
const fieldRegistry = new PluginFieldRegistry();
|
|
30127
30126
|
serviceRegistry.register("field-registry", fieldRegistry, "core");
|
|
30128
30127
|
registerSystemCommands(commandRegistry, core);
|
|
30128
|
+
let loadedDevPlugin;
|
|
30129
30129
|
try {
|
|
30130
30130
|
core.eventBus.emit(BusEvent.KERNEL_BOOTED);
|
|
30131
30131
|
core.lifecycleManager.settingsManager = settingsManager;
|
|
@@ -30202,6 +30202,7 @@ async function startServer(opts) {
|
|
|
30202
30202
|
try {
|
|
30203
30203
|
const devPlugin = await devLoader.load();
|
|
30204
30204
|
await core.lifecycleManager.boot([devPlugin]);
|
|
30205
|
+
loadedDevPlugin = { name: devPlugin.name, version: devPlugin.version };
|
|
30205
30206
|
log.info({ plugin: devPlugin.name, version: devPlugin.version }, "Dev plugin loaded");
|
|
30206
30207
|
if (!opts.noWatch) {
|
|
30207
30208
|
const distPath = devLoader.getDistPath();
|
|
@@ -30216,6 +30217,7 @@ async function startServer(opts) {
|
|
|
30216
30217
|
const reloaded = await devLoader.load();
|
|
30217
30218
|
await core.lifecycleManager.boot([reloaded]);
|
|
30218
30219
|
log.info({ plugin: reloaded.name, version: reloaded.version }, "Dev plugin reloaded");
|
|
30220
|
+
core.eventBus.emit(BusEvent.SYSTEM_COMMANDS_READY, { commands: commandRegistry.getAll() });
|
|
30219
30221
|
} catch (err) {
|
|
30220
30222
|
log.error({ err }, "Dev plugin reload failed");
|
|
30221
30223
|
}
|
|
@@ -30375,6 +30377,9 @@ async function startServer(opts) {
|
|
|
30375
30377
|
for (const [name] of core.adapters) {
|
|
30376
30378
|
ok3(`${name.charAt(0).toUpperCase() + name.slice(1)} connected`);
|
|
30377
30379
|
}
|
|
30380
|
+
if (loadedDevPlugin) {
|
|
30381
|
+
ok3(`Dev plugin: ${loadedDevPlugin.name} v${loadedDevPlugin.version}`);
|
|
30382
|
+
}
|
|
30378
30383
|
const apiSvc = core.lifecycleManager.serviceRegistry.get("api-server");
|
|
30379
30384
|
let apiPort = apiSvc ? apiSvc.getPort() : 21420;
|
|
30380
30385
|
if (apiSvc && apiPort === 0) {
|