@burdenoff/mcp-libs 2026.805.1 → 2026.819.1
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.
|
@@ -505,7 +505,12 @@ function registerAgencyTools(server, ctx, track) {
|
|
|
505
505
|
{
|
|
506
506
|
title: "Archive Agency",
|
|
507
507
|
description: "Archive (soft-delete) a government agency. Returns true on success.",
|
|
508
|
-
inputSchema: { id: z.string().describe("Agency ID") }
|
|
508
|
+
inputSchema: { id: z.string().describe("Agency ID") },
|
|
509
|
+
// BOFF-3907: the fleet destructiveHint inference (tool-name.ts) only
|
|
510
|
+
// matches a `delete` name segment, so an irreversible archive action
|
|
511
|
+
// needs an explicit annotation to be caught by the confirmation gate that
|
|
512
|
+
// govcitizenhub-mcp/src/index.ts enables via enforceDestructiveConfirmation.
|
|
513
|
+
annotations: { destructiveHint: true }
|
|
509
514
|
},
|
|
510
515
|
async ({ id }) => {
|
|
511
516
|
try {
|
|
@@ -1046,7 +1051,12 @@ function registerPermitTools(server, ctx, track) {
|
|
|
1046
1051
|
inputSchema: {
|
|
1047
1052
|
id: z.string().describe("Permit ID"),
|
|
1048
1053
|
reason: z.string().optional().describe("Reason for revocation")
|
|
1049
|
-
}
|
|
1054
|
+
},
|
|
1055
|
+
// BOFF-3907: the fleet destructiveHint inference (tool-name.ts) only
|
|
1056
|
+
// matches a `delete` name segment, so an irreversible revocation action
|
|
1057
|
+
// needs an explicit annotation to be caught by the confirmation gate that
|
|
1058
|
+
// govcitizenhub-mcp/src/index.ts enables via enforceDestructiveConfirmation.
|
|
1059
|
+
annotations: { destructiveHint: true }
|
|
1050
1060
|
},
|
|
1051
1061
|
async ({ id, reason }) => {
|
|
1052
1062
|
try {
|
|
@@ -1333,7 +1343,12 @@ function registerPaymentTools(server, ctx, track) {
|
|
|
1333
1343
|
{
|
|
1334
1344
|
title: "Refund Payment",
|
|
1335
1345
|
description: "Refund a paid payment (moves it to REFUNDED).",
|
|
1336
|
-
inputSchema: { id: z.string().describe("Payment ID") }
|
|
1346
|
+
inputSchema: { id: z.string().describe("Payment ID") },
|
|
1347
|
+
// BOFF-3907: the fleet destructiveHint inference (tool-name.ts) only
|
|
1348
|
+
// matches a `delete` name segment, so an irreversible refund action
|
|
1349
|
+
// needs an explicit annotation to be caught by the confirmation gate that
|
|
1350
|
+
// govcitizenhub-mcp/src/index.ts enables via enforceDestructiveConfirmation.
|
|
1351
|
+
annotations: { destructiveHint: true }
|
|
1337
1352
|
},
|
|
1338
1353
|
async ({ id }) => {
|
|
1339
1354
|
try {
|