Add hose-ebot command for Hose outbound discovery and approval callback

This commit is contained in:
gitea committed 2026-10-16 11:19:50 +08:00
1 parent 21e1a9d27a
commit bbff9338a0
15 files changed
+1242 -17

No files matched your search

+6
View File
@@ -39,6 +39,7 @@ export const KNOWN_AREAS = new Set([
"corps",
"corp",
"source",
"hose-ebot",
"auth",
"users",
"contacts",
@@ -416,6 +417,11 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
return;
}
if (area === "hose-ebot") {
await (await import("./commands/hose-ebot.js")).handleHoseEbotCommand(action, maybeName, client, corp, args);
return;
}
if (area === "preference" || area === "preferences") {
await (await import("./commands/preference.js")).handlePreferenceCommand(action, maybeName, args.command[3], args.command[4], client, corp, args);
return;