@burdenoff/mcp-libs 2026.1101.2 → 2026.1101.4
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.
- package/dist/{chunk-WYCRYHHY.js → chunk-22WYCMVS.js} +3 -3
- package/dist/chunk-22WYCMVS.js.map +1 -0
- package/dist/{chunk-LUXDBCVJ.js → chunk-M5LRGPF7.js} +3 -3
- package/dist/{chunk-LUXDBCVJ.js.map → chunk-M5LRGPF7.js.map} +1 -1
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/modules/adaptercloud/index.js +1 -1
- package/dist/modules/artistrybase/index.js +1 -1
- package/dist/modules/assethandler/index.js +1 -1
- package/dist/modules/atheletebridge/index.js +1 -1
- package/dist/modules/auth/index.js +3 -3
- package/dist/modules/billing/index.js +1 -1
- package/dist/modules/brainyrich/index.js +1 -1
- package/dist/modules/buildmyiq/index.js +1 -1
- package/dist/modules/channels/index.js +1 -1
- package/dist/modules/collabkin/index.js +1 -1
- package/dist/modules/comradecircle/index.js +1 -1
- package/dist/modules/conversations/index.js +1 -1
- package/dist/modules/coolandlovely/index.js +1 -1
- package/dist/modules/cosmicintersection/index.js +1 -1
- package/dist/modules/crewfoundry/index.js +1 -1
- package/dist/modules/devportal/index.js +1 -1
- package/dist/modules/ecoimpacthub/index.js +1 -1
- package/dist/modules/eventfullymanaged/index.js +1 -1
- package/dist/modules/export/index.js +1 -1
- package/dist/modules/files/index.js +1 -1
- package/dist/modules/fluidgrids/index.js +1 -1
- package/dist/modules/ggnomad/index.cjs +58 -25
- package/dist/modules/ggnomad/index.cjs.map +1 -1
- package/dist/modules/ggnomad/index.js +59 -26
- package/dist/modules/ggnomad/index.js.map +1 -1
- package/dist/modules/ggnomad/operations.d.ts +8 -8
- package/dist/modules/govcitizenhub/index.js +1 -1
- package/dist/modules/groups/index.js +1 -1
- package/dist/modules/headshotmarketing/index.js +1 -1
- package/dist/modules/health/index.js +1 -1
- package/dist/modules/healthybowl/index.js +1 -1
- package/dist/modules/hookmovies/index.js +1 -1
- package/dist/modules/housingvista/index.js +1 -1
- package/dist/modules/integrations/index.js +1 -1
- package/dist/modules/intelwatchtower/index.js +1 -1
- package/dist/modules/kadaikodi/index.js +1 -1
- package/dist/modules/labsofscience/index.js +1 -1
- package/dist/modules/manufacturedops/index.js +1 -1
- package/dist/modules/movethewheels/index.js +1 -1
- package/dist/modules/mybodyshield/index.cjs +344 -28
- package/dist/modules/mybodyshield/index.cjs.map +1 -1
- package/dist/modules/mybodyshield/index.js +345 -29
- package/dist/modules/mybodyshield/index.js.map +1 -1
- package/dist/modules/mybodyshield/operations.d.ts +29 -10
- package/dist/modules/mybodyshield/tools/capabilities.d.ts +3 -0
- package/dist/modules/mybodyshield/tools/continuations.d.ts +3 -0
- package/dist/modules/notifications/index.js +1 -1
- package/dist/modules/organizations/index.js +1 -1
- package/dist/modules/planmagnet/index.js +1 -1
- package/dist/modules/products/index.js +1 -1
- package/dist/modules/proserviceworld/index.js +1 -1
- package/dist/modules/rbac/index.js +1 -1
- package/dist/modules/sandbox/index.js +1 -1
- package/dist/modules/scheduler/index.js +1 -1
- package/dist/modules/security/index.js +1 -1
- package/dist/modules/semanticfed/index.js +1 -1
- package/dist/modules/store/index.js +1 -1
- package/dist/modules/subscriberbot/index.js +1 -1
- package/dist/modules/support/index.js +1 -1
- package/dist/modules/tags/index.js +1 -1
- package/dist/modules/technospam/index.js +1 -1
- package/dist/modules/theculturepost/index.js +1 -1
- package/dist/modules/theglobalfuel/index.js +1 -1
- package/dist/modules/timecampus/index.js +1 -1
- package/dist/modules/tours/index.js +1 -1
- package/dist/modules/vibecontrols/index.js +2 -2
- package/dist/modules/workspaces/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-WYCRYHHY.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-
|
|
1
|
+
import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
// src/modules/ggnomad/operations.ts
|
|
@@ -54,7 +54,7 @@ var GET_PROVIDER = `
|
|
|
54
54
|
}
|
|
55
55
|
`;
|
|
56
56
|
var LIST_PROVIDERS = `
|
|
57
|
-
query GgnomadListProviders($pagination:
|
|
57
|
+
query GgnomadListProviders($pagination: PaginationInput) {
|
|
58
58
|
ggnomadProviders(pagination: $pagination) {
|
|
59
59
|
${PROVIDER_FIELDS}
|
|
60
60
|
}
|
|
@@ -75,7 +75,7 @@ var GET_PROPERTY = `
|
|
|
75
75
|
}
|
|
76
76
|
`;
|
|
77
77
|
var LIST_PROPERTIES = `
|
|
78
|
-
query GgnomadListProperties($pagination:
|
|
78
|
+
query GgnomadListProperties($pagination: PaginationInput) {
|
|
79
79
|
ggnomadProperties(pagination: $pagination) {
|
|
80
80
|
${PROPERTY_FIELDS}
|
|
81
81
|
}
|
|
@@ -96,7 +96,7 @@ var GET_ACTIVITY = `
|
|
|
96
96
|
}
|
|
97
97
|
`;
|
|
98
98
|
var LIST_ACTIVITIES = `
|
|
99
|
-
query GgnomadListActivities($pagination:
|
|
99
|
+
query GgnomadListActivities($pagination: PaginationInput) {
|
|
100
100
|
ggnomadActivities(pagination: $pagination) {
|
|
101
101
|
${ACTIVITY_FIELDS}
|
|
102
102
|
}
|
|
@@ -110,7 +110,7 @@ var GET_EVENT = `
|
|
|
110
110
|
}
|
|
111
111
|
`;
|
|
112
112
|
var LIST_EVENTS = `
|
|
113
|
-
query GgnomadListEvents($pagination:
|
|
113
|
+
query GgnomadListEvents($pagination: PaginationInput) {
|
|
114
114
|
ggnomadEvents(pagination: $pagination) {
|
|
115
115
|
${EVENT_FIELDS}
|
|
116
116
|
}
|
|
@@ -124,21 +124,21 @@ var GET_TOUR = `
|
|
|
124
124
|
}
|
|
125
125
|
`;
|
|
126
126
|
var LIST_TOURS = `
|
|
127
|
-
query GgnomadListTours($pagination:
|
|
127
|
+
query GgnomadListTours($pagination: PaginationInput) {
|
|
128
128
|
ggnomadTours(pagination: $pagination) {
|
|
129
129
|
${TOUR_FIELDS}
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
`;
|
|
133
133
|
var LIST_TRIPS = `
|
|
134
|
-
query GgnomadListTrips($pagination:
|
|
134
|
+
query GgnomadListTrips($pagination: PaginationInput) {
|
|
135
135
|
ggnomadTrips(pagination: $pagination) {
|
|
136
136
|
${TRIP_FIELDS}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
`;
|
|
140
140
|
var LIST_BOOKINGS = `
|
|
141
|
-
query GgnomadListBookings($pagination:
|
|
141
|
+
query GgnomadListBookings($pagination: PaginationInput) {
|
|
142
142
|
ggnomadBookings(pagination: $pagination) {
|
|
143
143
|
${BOOKING_FIELDS}
|
|
144
144
|
}
|
|
@@ -159,7 +159,7 @@ var CANCEL_BOOKING = `
|
|
|
159
159
|
}
|
|
160
160
|
`;
|
|
161
161
|
var LIST_FAVORITES = `
|
|
162
|
-
query GgnomadListFavorites($pagination:
|
|
162
|
+
query GgnomadListFavorites($pagination: PaginationInput) {
|
|
163
163
|
ggnomadFavorites(pagination: $pagination)
|
|
164
164
|
}
|
|
165
165
|
`;
|
|
@@ -217,7 +217,7 @@ function registerProviderTools(server, ctx, track) {
|
|
|
217
217
|
},
|
|
218
218
|
async ({ first, skip }) => {
|
|
219
219
|
try {
|
|
220
|
-
const data = await ctx.gql.workspace.request(LIST_PROVIDERS, { pagination: {
|
|
220
|
+
const data = await ctx.gql.workspace.request(LIST_PROVIDERS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
221
221
|
return jsonResult(data.ggnomadProviders);
|
|
222
222
|
} catch (error) {
|
|
223
223
|
ctx.logger.error("ggnomad providers_list failed", { error: String(error) });
|
|
@@ -231,15 +231,26 @@ function registerProviderTools(server, ctx, track) {
|
|
|
231
231
|
track(mcpToolName(ctx.productName, "providers_create")),
|
|
232
232
|
{
|
|
233
233
|
title: "Create Provider",
|
|
234
|
-
description:
|
|
234
|
+
description: "Onboard a new hospitality provider. `name` and `type` are required; select a supported provider type from the input schema.",
|
|
235
235
|
inputSchema: {
|
|
236
236
|
name: z.string().min(1).describe("Provider display name"),
|
|
237
|
-
type: z.
|
|
237
|
+
type: z.enum([
|
|
238
|
+
"HOTEL_OPERATOR",
|
|
239
|
+
"TOUR_OPERATOR",
|
|
240
|
+
"ACTIVITY_PROVIDER",
|
|
241
|
+
"TRANSPORT_PROVIDER",
|
|
242
|
+
"EVENT_ORGANIZER"
|
|
243
|
+
]).describe("Supported provider type"),
|
|
238
244
|
description: z.string().optional().describe("Provider description"),
|
|
239
245
|
contactEmail: z.string().optional().describe("Contact email"),
|
|
240
246
|
contactPhone: z.string().optional().describe("Contact phone"),
|
|
241
247
|
website: z.string().optional().describe("Provider website URL")
|
|
242
|
-
}
|
|
248
|
+
},
|
|
249
|
+
// BOFF-5746: onboarding a provider creates a real business entity that
|
|
250
|
+
// owns listings, so it goes through the confirmation gate that
|
|
251
|
+
// ggnomad-mcp/src/index.ts enables via enforceDestructiveConfirmation.
|
|
252
|
+
// `create` is not in the name-inference verb set — annotate explicitly.
|
|
253
|
+
annotations: { destructiveHint: true }
|
|
243
254
|
},
|
|
244
255
|
async ({ name, type, description, contactEmail, contactPhone, website }) => {
|
|
245
256
|
try {
|
|
@@ -298,7 +309,7 @@ function registerPropertyTools(server, ctx, track) {
|
|
|
298
309
|
},
|
|
299
310
|
async ({ first, skip }) => {
|
|
300
311
|
try {
|
|
301
|
-
const data = await ctx.gql.workspace.request(LIST_PROPERTIES, { pagination: {
|
|
312
|
+
const data = await ctx.gql.workspace.request(LIST_PROPERTIES, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
302
313
|
return jsonResult(data.ggnomadProperties);
|
|
303
314
|
} catch (error) {
|
|
304
315
|
ctx.logger.error("ggnomad properties_list failed", { error: String(error) });
|
|
@@ -328,7 +339,12 @@ function registerPropertyTools(server, ctx, track) {
|
|
|
328
339
|
currency: z.string().optional().describe("ISO currency code (default service currency)"),
|
|
329
340
|
description: z.string().optional().describe("Property description"),
|
|
330
341
|
providerId: z.string().optional().describe("Owning provider ID")
|
|
331
|
-
}
|
|
342
|
+
},
|
|
343
|
+
// BOFF-5746: listing a property publishes bookable inventory (and a
|
|
344
|
+
// price) to real guests, so it goes through the confirmation gate that
|
|
345
|
+
// ggnomad-mcp/src/index.ts enables via enforceDestructiveConfirmation.
|
|
346
|
+
// `create` is not in the name-inference verb set — annotate explicitly.
|
|
347
|
+
annotations: { destructiveHint: true }
|
|
332
348
|
},
|
|
333
349
|
async ({
|
|
334
350
|
name,
|
|
@@ -407,7 +423,7 @@ function registerActivityTools(server, ctx, track) {
|
|
|
407
423
|
},
|
|
408
424
|
async ({ first, skip }) => {
|
|
409
425
|
try {
|
|
410
|
-
const data = await ctx.gql.workspace.request(LIST_ACTIVITIES, { pagination: {
|
|
426
|
+
const data = await ctx.gql.workspace.request(LIST_ACTIVITIES, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
411
427
|
return jsonResult(data.ggnomadActivities);
|
|
412
428
|
} catch (error) {
|
|
413
429
|
ctx.logger.error("ggnomad activities_list failed", { error: String(error) });
|
|
@@ -451,7 +467,7 @@ function registerEventTools(server, ctx, track) {
|
|
|
451
467
|
},
|
|
452
468
|
async ({ first, skip }) => {
|
|
453
469
|
try {
|
|
454
|
-
const data = await ctx.gql.workspace.request(LIST_EVENTS, { pagination: {
|
|
470
|
+
const data = await ctx.gql.workspace.request(LIST_EVENTS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
455
471
|
return jsonResult(data.ggnomadEvents);
|
|
456
472
|
} catch (error) {
|
|
457
473
|
ctx.logger.error("ggnomad events_list failed", { error: String(error) });
|
|
@@ -495,7 +511,7 @@ function registerTourTools(server, ctx, track) {
|
|
|
495
511
|
},
|
|
496
512
|
async ({ first, skip }) => {
|
|
497
513
|
try {
|
|
498
|
-
const data = await ctx.gql.workspace.request(LIST_TOURS, { pagination: {
|
|
514
|
+
const data = await ctx.gql.workspace.request(LIST_TOURS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
499
515
|
return jsonResult(data.ggnomadTours);
|
|
500
516
|
} catch (error) {
|
|
501
517
|
ctx.logger.error("ggnomad experiences_list failed", { error: String(error) });
|
|
@@ -519,7 +535,7 @@ function registerTripTools(server, ctx, track) {
|
|
|
519
535
|
},
|
|
520
536
|
async ({ first, skip }) => {
|
|
521
537
|
try {
|
|
522
|
-
const data = await ctx.gql.workspace.request(LIST_TRIPS, { pagination: {
|
|
538
|
+
const data = await ctx.gql.workspace.request(LIST_TRIPS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
523
539
|
return jsonResult(data.ggnomadTrips);
|
|
524
540
|
} catch (error) {
|
|
525
541
|
ctx.logger.error("ggnomad trips_list failed", { error: String(error) });
|
|
@@ -543,7 +559,7 @@ function registerBookingTools(server, ctx, track) {
|
|
|
543
559
|
},
|
|
544
560
|
async ({ first, skip }) => {
|
|
545
561
|
try {
|
|
546
|
-
const data = await ctx.gql.workspace.request(LIST_BOOKINGS, { pagination: {
|
|
562
|
+
const data = await ctx.gql.workspace.request(LIST_BOOKINGS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
547
563
|
return jsonResult(data.ggnomadBookings);
|
|
548
564
|
} catch (error) {
|
|
549
565
|
ctx.logger.error("ggnomad bookings_list failed", { error: String(error) });
|
|
@@ -573,7 +589,13 @@ function registerBookingTools(server, ctx, track) {
|
|
|
573
589
|
currency: z.string().optional().describe("ISO currency code (default service currency)"),
|
|
574
590
|
paymentMethod: z.string().optional().describe('Payment method, e.g. "card", "upi"'),
|
|
575
591
|
specialRequests: z.string().optional().describe("Free-text special requests")
|
|
576
|
-
}
|
|
592
|
+
},
|
|
593
|
+
// BOFF-5746: a created booking commits money/inventory on a real listing,
|
|
594
|
+
// so it must pass the confirmation gate that ggnomad-mcp/src/index.ts
|
|
595
|
+
// enables via enforceDestructiveConfirmation. The name-inference verb set
|
|
596
|
+
// (tool-name.ts) only covers irreversible verbs like `delete`, so write
|
|
597
|
+
// actions need this explicit annotation.
|
|
598
|
+
annotations: { destructiveHint: true }
|
|
577
599
|
},
|
|
578
600
|
async ({
|
|
579
601
|
bookingType,
|
|
@@ -626,7 +648,12 @@ function registerBookingTools(server, ctx, track) {
|
|
|
626
648
|
inputSchema: {
|
|
627
649
|
id: z.string().describe("Booking ID"),
|
|
628
650
|
reason: z.string().optional().describe("Cancellation reason")
|
|
629
|
-
}
|
|
651
|
+
},
|
|
652
|
+
// BOFF-5746: cancelling a booking is irreversible for the guest and the
|
|
653
|
+
// provider, and `cancel` is not in the name-inference verb set
|
|
654
|
+
// (tool-name.ts) — same gap the atheletebridge sessions_cancel
|
|
655
|
+
// annotation closes (BOFF-3616). Gate via explicit annotation.
|
|
656
|
+
annotations: { destructiveHint: true }
|
|
630
657
|
},
|
|
631
658
|
async ({ id, reason }) => {
|
|
632
659
|
try {
|
|
@@ -654,7 +681,7 @@ function registerFavoriteTools(server, ctx, track) {
|
|
|
654
681
|
},
|
|
655
682
|
async ({ first, skip }) => {
|
|
656
683
|
try {
|
|
657
|
-
const data = await ctx.gql.workspace.request(LIST_FAVORITES, { pagination: {
|
|
684
|
+
const data = await ctx.gql.workspace.request(LIST_FAVORITES, { pagination: { limit: first ?? 50, offset: skip ?? 0 } });
|
|
658
685
|
return jsonResult(data.ggnomadFavorites);
|
|
659
686
|
} catch (error) {
|
|
660
687
|
ctx.logger.error("ggnomad favorites_list failed", { error: String(error) });
|
|
@@ -865,7 +892,7 @@ All run against the WORKSPACE gateway (workspace-scoped). Pagination is { first,
|
|
|
865
892
|
try {
|
|
866
893
|
const data = await ctx.gql.workspace.request(
|
|
867
894
|
LIST_PROPERTIES,
|
|
868
|
-
{ pagination: {
|
|
895
|
+
{ pagination: { limit: 50, offset: 0 } }
|
|
869
896
|
);
|
|
870
897
|
return {
|
|
871
898
|
contents: [
|
|
@@ -903,13 +930,15 @@ function registerGgnomadPrompts(server, ctx, track) {
|
|
|
903
930
|
description: "Guide for onboarding a new GGNomad hospitality provider end to end: create the provider and list its first bookable property.",
|
|
904
931
|
argsSchema: {
|
|
905
932
|
name: z.string().optional().describe("Provider/business name"),
|
|
906
|
-
type: z.string().
|
|
933
|
+
type: z.string().regex(
|
|
934
|
+
/^(HOTEL_OPERATOR|TOUR_OPERATOR|ACTIVITY_PROVIDER|TRANSPORT_PROVIDER|EVENT_ORGANIZER)$/
|
|
935
|
+
).optional().describe('Provider type, e.g. "HOTEL_OPERATOR", "TOUR_OPERATOR"')
|
|
907
936
|
}
|
|
908
937
|
},
|
|
909
938
|
({ name, type }) => {
|
|
910
939
|
ctx.logger.debug(`Prompt ${onboardingName} called`, { name, type });
|
|
911
940
|
const nameNote = name ? `Use the business name "${name}".` : "Ask the user for the business name.";
|
|
912
|
-
const typeNote = type ? `Use provider type "${type}".` : "Help the user pick
|
|
941
|
+
const typeNote = type ? `Use provider type "${type}".` : "Help the user pick one of HOTEL_OPERATOR, TOUR_OPERATOR, ACTIVITY_PROVIDER, TRANSPORT_PROVIDER or EVENT_ORGANIZER.";
|
|
913
942
|
return {
|
|
914
943
|
messages: [
|
|
915
944
|
{
|
|
@@ -922,6 +951,8 @@ function registerGgnomadPrompts(server, ctx, track) {
|
|
|
922
951
|
2. **List a Property**: Use ${p}_properties_create for the first stay \u2014 set the providerId from step 1, plus address JSON, amenities, images, maxGuests, and pricePerNight.
|
|
923
952
|
3. **Verify**: Use ${p}_properties_list to confirm the property appears, and ${p}_providers_get to confirm the provider's listingCount.
|
|
924
953
|
|
|
954
|
+
Write tools (${p}_providers_create, ${p}_properties_create, ${p}_bookings_create, ${p}_bookings_cancel) are confirmation-gated: before each one, show the human exactly what will change and get their explicit approval, then pass confirm: true. Never pass confirm: true on your own initiative \u2014 an unconfirmed call is refused without changes.
|
|
955
|
+
|
|
925
956
|
Show results at each step and confirm before listing more inventory.`
|
|
926
957
|
}
|
|
927
958
|
}
|
|
@@ -954,6 +985,8 @@ Show results at each step and confirm before listing more inventory.`
|
|
|
954
985
|
3. **Cancellations**: For any booking that must be cancelled, use ${p}_bookings_cancel with a clear reason.
|
|
955
986
|
4. **Inventory**: Scan ${p}_properties_list, ${p}_activities_list, ${p}_events_list, ${p}_experiences_list, and ${p}_trips_list for listings needing updates.
|
|
956
987
|
|
|
988
|
+
${p}_bookings_cancel is confirmation-gated: show the human the booking and the reason, get their explicit approval, then pass confirm: true. Never pass confirm: true on your own initiative \u2014 an unconfirmed call is refused without changes.
|
|
989
|
+
|
|
957
990
|
Summarize what needs attention after each step.`
|
|
958
991
|
}
|
|
959
992
|
}
|