Merge branch 'main' into feat/memory-vector-module

This commit is contained in:
tianrking 2026-01-28 23:11:18 +08:00 committed by GitHub
commit 04df8f3a83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,6 +168,11 @@ const entries: SubCliEntry[] = [
name: "pairing",
description: "Pairing helpers",
register: async (program) => {
// Initialize plugins before registering pairing CLI.
// The pairing CLI calls listPairingChannels() at registration time,
// which requires the plugin registry to be populated with channel plugins.
const { registerPluginCliCommands } = await import("../../plugins/cli.js");
registerPluginCliCommands(program, await loadConfig());
const mod = await import("../pairing-cli.js");
mod.registerPairingCli(program);
},