Camel-case capability IDs and rename the MCP gateway pair
This commit is contained in:
1 parent
7f36cd1d39
commit
4f0d955e06
41 files changed
+466
-466
No files matched your search
@@ -39,7 +39,7 @@ export async function handleDocumentsCommand(
|
||||
const limit = numberOption(args.options.limit);
|
||||
const offset = numberOption(args.options.offset);
|
||||
await runCapability(
|
||||
"seal_approval_documents_list",
|
||||
"sealApprovalDocumentsList",
|
||||
client,
|
||||
corp,
|
||||
{ scenarios, limit, offset },
|
||||
@@ -58,7 +58,7 @@ export async function handleDocumentsCommand(
|
||||
throw new Error("Usage: seal-use documents get <documentId> [--corp <corpId>]");
|
||||
}
|
||||
await runCapability(
|
||||
"seal_approval_document_get",
|
||||
"sealApprovalDocumentGet",
|
||||
client,
|
||||
corp,
|
||||
{ documentId },
|
||||
@@ -73,7 +73,7 @@ export async function handleDocumentsCommand(
|
||||
throw new Error("Usage: seal-use documents search <keyword> [--maxResults 20] [--corp <corpId>]");
|
||||
}
|
||||
await runCapability(
|
||||
"seal_approval_search",
|
||||
"sealApprovalSearch",
|
||||
client,
|
||||
corp,
|
||||
{
|
||||
@@ -121,7 +121,7 @@ export async function handleDocumentsCommand(
|
||||
}
|
||||
|
||||
await runCapability(
|
||||
"seal_approval_document_create",
|
||||
"sealApprovalDocumentCreate",
|
||||
client,
|
||||
corp,
|
||||
{
|
||||
@@ -185,7 +185,7 @@ export async function handleDocumentsCommand(
|
||||
}
|
||||
|
||||
await runCapability(
|
||||
"seal_approval_document_update",
|
||||
"sealApprovalDocumentUpdate",
|
||||
client,
|
||||
corp,
|
||||
{
|
||||
@@ -221,7 +221,7 @@ export async function handleDocumentsCommand(
|
||||
);
|
||||
}
|
||||
await runCapability(
|
||||
"seal_approval_delete_document",
|
||||
"sealApprovalDeleteDocument",
|
||||
client,
|
||||
corp,
|
||||
{ documentId },
|
||||
|
||||
Reference in new issue
Block a user