Camel-case capability IDs and rename the MCP gateway pair

This commit is contained in:
gitea committed 2026-09-30 16:17:33 +08:00
1 parent 7f36cd1d39
commit 4f0d955e06
41 files changed
+466 -466

No files matched your search

+5 -5
View File
@@ -316,7 +316,7 @@ export async function handleWebhookCommand(
}
if (action === "list") {
await runCapability(
"seal_webhook_list",
"sealWebhookList",
client,
corp,
{
@@ -332,7 +332,7 @@ export async function handleWebhookCommand(
const selector = maybeName ?? stringOption(args.options.selector) ?? stringOption(args.options.id);
if (!selector) throw new Error("Usage: seal-use webhook get <idOrName> [--show-secret]");
await runCapability(
"seal_webhook_get",
"sealWebhookGet",
client,
corp,
{
@@ -358,7 +358,7 @@ export async function handleWebhookCommand(
const materialPackFilePolicy = materialPackFilePolicyOptions(args.options);
const dryRun = booleanOption(args.options.dryRun) ?? booleanOption(args.options["dry-run"]);
await runCapability(
"seal_webhook_add",
"sealWebhookAdd",
client,
corp,
{
@@ -406,7 +406,7 @@ export async function handleWebhookCommand(
throw usageError("Webhook update requires at least one field option");
}
await runCapability(
"seal_webhook_update",
"sealWebhookUpdate",
client,
corp,
{
@@ -436,7 +436,7 @@ export async function handleWebhookCommand(
);
}
await runCapability(
"seal_webhook_delete",
"sealWebhookDelete",
client,
corp,
{