@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.
Files changed (79) hide show
  1. package/dist/{chunk-WYCRYHHY.js → chunk-22WYCMVS.js} +3 -3
  2. package/dist/chunk-22WYCMVS.js.map +1 -0
  3. package/dist/{chunk-LUXDBCVJ.js → chunk-M5LRGPF7.js} +3 -3
  4. package/dist/{chunk-LUXDBCVJ.js.map → chunk-M5LRGPF7.js.map} +1 -1
  5. package/dist/core/index.cjs +1 -1
  6. package/dist/core/index.cjs.map +1 -1
  7. package/dist/core/index.js +1 -1
  8. package/dist/index.cjs +1 -1
  9. package/dist/index.cjs.map +1 -1
  10. package/dist/index.js +1 -1
  11. package/dist/modules/adaptercloud/index.js +1 -1
  12. package/dist/modules/artistrybase/index.js +1 -1
  13. package/dist/modules/assethandler/index.js +1 -1
  14. package/dist/modules/atheletebridge/index.js +1 -1
  15. package/dist/modules/auth/index.js +3 -3
  16. package/dist/modules/billing/index.js +1 -1
  17. package/dist/modules/brainyrich/index.js +1 -1
  18. package/dist/modules/buildmyiq/index.js +1 -1
  19. package/dist/modules/channels/index.js +1 -1
  20. package/dist/modules/collabkin/index.js +1 -1
  21. package/dist/modules/comradecircle/index.js +1 -1
  22. package/dist/modules/conversations/index.js +1 -1
  23. package/dist/modules/coolandlovely/index.js +1 -1
  24. package/dist/modules/cosmicintersection/index.js +1 -1
  25. package/dist/modules/crewfoundry/index.js +1 -1
  26. package/dist/modules/devportal/index.js +1 -1
  27. package/dist/modules/ecoimpacthub/index.js +1 -1
  28. package/dist/modules/eventfullymanaged/index.js +1 -1
  29. package/dist/modules/export/index.js +1 -1
  30. package/dist/modules/files/index.js +1 -1
  31. package/dist/modules/fluidgrids/index.js +1 -1
  32. package/dist/modules/ggnomad/index.cjs +58 -25
  33. package/dist/modules/ggnomad/index.cjs.map +1 -1
  34. package/dist/modules/ggnomad/index.js +59 -26
  35. package/dist/modules/ggnomad/index.js.map +1 -1
  36. package/dist/modules/ggnomad/operations.d.ts +8 -8
  37. package/dist/modules/govcitizenhub/index.js +1 -1
  38. package/dist/modules/groups/index.js +1 -1
  39. package/dist/modules/headshotmarketing/index.js +1 -1
  40. package/dist/modules/health/index.js +1 -1
  41. package/dist/modules/healthybowl/index.js +1 -1
  42. package/dist/modules/hookmovies/index.js +1 -1
  43. package/dist/modules/housingvista/index.js +1 -1
  44. package/dist/modules/integrations/index.js +1 -1
  45. package/dist/modules/intelwatchtower/index.js +1 -1
  46. package/dist/modules/kadaikodi/index.js +1 -1
  47. package/dist/modules/labsofscience/index.js +1 -1
  48. package/dist/modules/manufacturedops/index.js +1 -1
  49. package/dist/modules/movethewheels/index.js +1 -1
  50. package/dist/modules/mybodyshield/index.cjs +344 -28
  51. package/dist/modules/mybodyshield/index.cjs.map +1 -1
  52. package/dist/modules/mybodyshield/index.js +345 -29
  53. package/dist/modules/mybodyshield/index.js.map +1 -1
  54. package/dist/modules/mybodyshield/operations.d.ts +29 -10
  55. package/dist/modules/mybodyshield/tools/capabilities.d.ts +3 -0
  56. package/dist/modules/mybodyshield/tools/continuations.d.ts +3 -0
  57. package/dist/modules/notifications/index.js +1 -1
  58. package/dist/modules/organizations/index.js +1 -1
  59. package/dist/modules/planmagnet/index.js +1 -1
  60. package/dist/modules/products/index.js +1 -1
  61. package/dist/modules/proserviceworld/index.js +1 -1
  62. package/dist/modules/rbac/index.js +1 -1
  63. package/dist/modules/sandbox/index.js +1 -1
  64. package/dist/modules/scheduler/index.js +1 -1
  65. package/dist/modules/security/index.js +1 -1
  66. package/dist/modules/semanticfed/index.js +1 -1
  67. package/dist/modules/store/index.js +1 -1
  68. package/dist/modules/subscriberbot/index.js +1 -1
  69. package/dist/modules/support/index.js +1 -1
  70. package/dist/modules/tags/index.js +1 -1
  71. package/dist/modules/technospam/index.js +1 -1
  72. package/dist/modules/theculturepost/index.js +1 -1
  73. package/dist/modules/theglobalfuel/index.js +1 -1
  74. package/dist/modules/timecampus/index.js +1 -1
  75. package/dist/modules/tours/index.js +1 -1
  76. package/dist/modules/vibecontrols/index.js +2 -2
  77. package/dist/modules/workspaces/index.js +1 -1
  78. package/package.json +1 -1
  79. package/dist/chunk-WYCRYHHY.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export { startHttpServer, startStdioServer } from './chunk-JFEQYSWM.js';
2
- export { McpAuthError, McpInternalError, McpUserError, buildContext, createMcpServer, errorResult, jsonResult, mcpPromptName, mcpResourceUri, mcpToolName, registerTool, textResult } from './chunk-WYCRYHHY.js';
2
+ export { McpAuthError, McpInternalError, McpUserError, buildContext, createMcpServer, errorResult, jsonResult, mcpPromptName, mcpResourceUri, mcpToolName, registerTool, textResult } from './chunk-22WYCMVS.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/adaptercloud/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/artistrybase/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/assethandler/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/atheletebridge/operations.ts
@@ -1,6 +1,6 @@
1
- import { getAuth } from '../../chunk-LUXDBCVJ.js';
2
- export { getAuth } from '../../chunk-LUXDBCVJ.js';
3
- import { mcpToolName, jsonResult, errorResult, clientCredentialsFlow } from '../../chunk-WYCRYHHY.js';
1
+ import { getAuth } from '../../chunk-M5LRGPF7.js';
2
+ export { getAuth } from '../../chunk-M5LRGPF7.js';
3
+ import { mcpToolName, jsonResult, errorResult, clientCredentialsFlow } from '../../chunk-22WYCMVS.js';
4
4
  import { z } from 'zod';
5
5
 
6
6
  function registerAuthTools(server, ctx, track) {
@@ -1,4 +1,4 @@
1
- import { mcpToolName, jsonResult, errorResult } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, jsonResult, errorResult } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/billing/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/brainyrich/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/buildmyiq/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, jsonResult, errorResult } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, jsonResult, errorResult } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/channels/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, jsonResult, errorResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, jsonResult, errorResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/collabkin/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/comradecircle/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, jsonResult, errorResult } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, jsonResult, errorResult } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/conversations/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/coolandlovely/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/cosmicintersection/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, jsonResult, errorResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, jsonResult, errorResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/crewfoundry/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, jsonResult, errorResult } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, jsonResult, errorResult } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/devportal/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/ecoimpacthub/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, jsonResult, errorResult, mcpResourceUri, mcpPromptName } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, jsonResult, errorResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/eventfullymanaged/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult } from '../../chunk-22WYCMVS.js';
2
2
  import { writeFile } from 'fs/promises';
3
3
  import { z } from 'zod';
4
4
 
@@ -1,4 +1,4 @@
1
- import { mcpToolName, errorResult, jsonResult } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, errorResult, jsonResult } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/files/operations.ts
@@ -1,4 +1,4 @@
1
- import { mcpToolName, mcpResourceUri, mcpPromptName, errorResult, registerTool, jsonResult, McpUserError } from '../../chunk-WYCRYHHY.js';
1
+ import { mcpToolName, mcpResourceUri, mcpPromptName, errorResult, registerTool, jsonResult, McpUserError } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/fluidgrids/durable-operations.ts
@@ -116,7 +116,7 @@ var GET_PROVIDER = `
116
116
  }
117
117
  `;
118
118
  var LIST_PROVIDERS = `
119
- query GgnomadListProviders($pagination: GgnomadPaginationInput) {
119
+ query GgnomadListProviders($pagination: PaginationInput) {
120
120
  ggnomadProviders(pagination: $pagination) {
121
121
  ${PROVIDER_FIELDS}
122
122
  }
@@ -137,7 +137,7 @@ var GET_PROPERTY = `
137
137
  }
138
138
  `;
139
139
  var LIST_PROPERTIES = `
140
- query GgnomadListProperties($pagination: GgnomadPaginationInput) {
140
+ query GgnomadListProperties($pagination: PaginationInput) {
141
141
  ggnomadProperties(pagination: $pagination) {
142
142
  ${PROPERTY_FIELDS}
143
143
  }
@@ -158,7 +158,7 @@ var GET_ACTIVITY = `
158
158
  }
159
159
  `;
160
160
  var LIST_ACTIVITIES = `
161
- query GgnomadListActivities($pagination: GgnomadPaginationInput) {
161
+ query GgnomadListActivities($pagination: PaginationInput) {
162
162
  ggnomadActivities(pagination: $pagination) {
163
163
  ${ACTIVITY_FIELDS}
164
164
  }
@@ -172,7 +172,7 @@ var GET_EVENT = `
172
172
  }
173
173
  `;
174
174
  var LIST_EVENTS = `
175
- query GgnomadListEvents($pagination: GgnomadPaginationInput) {
175
+ query GgnomadListEvents($pagination: PaginationInput) {
176
176
  ggnomadEvents(pagination: $pagination) {
177
177
  ${EVENT_FIELDS}
178
178
  }
@@ -186,21 +186,21 @@ var GET_TOUR = `
186
186
  }
187
187
  `;
188
188
  var LIST_TOURS = `
189
- query GgnomadListTours($pagination: GgnomadPaginationInput) {
189
+ query GgnomadListTours($pagination: PaginationInput) {
190
190
  ggnomadTours(pagination: $pagination) {
191
191
  ${TOUR_FIELDS}
192
192
  }
193
193
  }
194
194
  `;
195
195
  var LIST_TRIPS = `
196
- query GgnomadListTrips($pagination: GgnomadPaginationInput) {
196
+ query GgnomadListTrips($pagination: PaginationInput) {
197
197
  ggnomadTrips(pagination: $pagination) {
198
198
  ${TRIP_FIELDS}
199
199
  }
200
200
  }
201
201
  `;
202
202
  var LIST_BOOKINGS = `
203
- query GgnomadListBookings($pagination: GgnomadPaginationInput) {
203
+ query GgnomadListBookings($pagination: PaginationInput) {
204
204
  ggnomadBookings(pagination: $pagination) {
205
205
  ${BOOKING_FIELDS}
206
206
  }
@@ -221,7 +221,7 @@ var CANCEL_BOOKING = `
221
221
  }
222
222
  `;
223
223
  var LIST_FAVORITES = `
224
- query GgnomadListFavorites($pagination: GgnomadFavoritesPaginationInput) {
224
+ query GgnomadListFavorites($pagination: PaginationInput) {
225
225
  ggnomadFavorites(pagination: $pagination)
226
226
  }
227
227
  `;
@@ -279,7 +279,7 @@ function registerProviderTools(server, ctx, track) {
279
279
  },
280
280
  async ({ first, skip }) => {
281
281
  try {
282
- const data = await ctx.gql.workspace.request(LIST_PROVIDERS, { pagination: { first: first ?? 20, skip: skip ?? 0 } });
282
+ const data = await ctx.gql.workspace.request(LIST_PROVIDERS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
283
283
  return jsonResult(data.ggnomadProviders);
284
284
  } catch (error) {
285
285
  ctx.logger.error("ggnomad providers_list failed", { error: String(error) });
@@ -293,15 +293,26 @@ function registerProviderTools(server, ctx, track) {
293
293
  track(mcpToolName(ctx.productName, "providers_create")),
294
294
  {
295
295
  title: "Create Provider",
296
- description: 'Onboard a new hospitality provider. `name` and `type` are required (type is a free-form provider class, e.g. "hotel", "tour_operator", "transport").',
296
+ description: "Onboard a new hospitality provider. `name` and `type` are required; select a supported provider type from the input schema.",
297
297
  inputSchema: {
298
298
  name: zod.z.string().min(1).describe("Provider display name"),
299
- type: zod.z.string().min(1).describe('Provider type, e.g. "hotel", "tour_operator", "transport"'),
299
+ type: zod.z.enum([
300
+ "HOTEL_OPERATOR",
301
+ "TOUR_OPERATOR",
302
+ "ACTIVITY_PROVIDER",
303
+ "TRANSPORT_PROVIDER",
304
+ "EVENT_ORGANIZER"
305
+ ]).describe("Supported provider type"),
300
306
  description: zod.z.string().optional().describe("Provider description"),
301
307
  contactEmail: zod.z.string().optional().describe("Contact email"),
302
308
  contactPhone: zod.z.string().optional().describe("Contact phone"),
303
309
  website: zod.z.string().optional().describe("Provider website URL")
304
- }
310
+ },
311
+ // BOFF-5746: onboarding a provider creates a real business entity that
312
+ // owns listings, so it goes through the confirmation gate that
313
+ // ggnomad-mcp/src/index.ts enables via enforceDestructiveConfirmation.
314
+ // `create` is not in the name-inference verb set — annotate explicitly.
315
+ annotations: { destructiveHint: true }
305
316
  },
306
317
  async ({ name, type, description, contactEmail, contactPhone, website }) => {
307
318
  try {
@@ -360,7 +371,7 @@ function registerPropertyTools(server, ctx, track) {
360
371
  },
361
372
  async ({ first, skip }) => {
362
373
  try {
363
- const data = await ctx.gql.workspace.request(LIST_PROPERTIES, { pagination: { first: first ?? 20, skip: skip ?? 0 } });
374
+ const data = await ctx.gql.workspace.request(LIST_PROPERTIES, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
364
375
  return jsonResult(data.ggnomadProperties);
365
376
  } catch (error) {
366
377
  ctx.logger.error("ggnomad properties_list failed", { error: String(error) });
@@ -390,7 +401,12 @@ function registerPropertyTools(server, ctx, track) {
390
401
  currency: zod.z.string().optional().describe("ISO currency code (default service currency)"),
391
402
  description: zod.z.string().optional().describe("Property description"),
392
403
  providerId: zod.z.string().optional().describe("Owning provider ID")
393
- }
404
+ },
405
+ // BOFF-5746: listing a property publishes bookable inventory (and a
406
+ // price) to real guests, so it goes through the confirmation gate that
407
+ // ggnomad-mcp/src/index.ts enables via enforceDestructiveConfirmation.
408
+ // `create` is not in the name-inference verb set — annotate explicitly.
409
+ annotations: { destructiveHint: true }
394
410
  },
395
411
  async ({
396
412
  name,
@@ -469,7 +485,7 @@ function registerActivityTools(server, ctx, track) {
469
485
  },
470
486
  async ({ first, skip }) => {
471
487
  try {
472
- const data = await ctx.gql.workspace.request(LIST_ACTIVITIES, { pagination: { first: first ?? 20, skip: skip ?? 0 } });
488
+ const data = await ctx.gql.workspace.request(LIST_ACTIVITIES, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
473
489
  return jsonResult(data.ggnomadActivities);
474
490
  } catch (error) {
475
491
  ctx.logger.error("ggnomad activities_list failed", { error: String(error) });
@@ -513,7 +529,7 @@ function registerEventTools(server, ctx, track) {
513
529
  },
514
530
  async ({ first, skip }) => {
515
531
  try {
516
- const data = await ctx.gql.workspace.request(LIST_EVENTS, { pagination: { first: first ?? 20, skip: skip ?? 0 } });
532
+ const data = await ctx.gql.workspace.request(LIST_EVENTS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
517
533
  return jsonResult(data.ggnomadEvents);
518
534
  } catch (error) {
519
535
  ctx.logger.error("ggnomad events_list failed", { error: String(error) });
@@ -557,7 +573,7 @@ function registerTourTools(server, ctx, track) {
557
573
  },
558
574
  async ({ first, skip }) => {
559
575
  try {
560
- const data = await ctx.gql.workspace.request(LIST_TOURS, { pagination: { first: first ?? 20, skip: skip ?? 0 } });
576
+ const data = await ctx.gql.workspace.request(LIST_TOURS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
561
577
  return jsonResult(data.ggnomadTours);
562
578
  } catch (error) {
563
579
  ctx.logger.error("ggnomad experiences_list failed", { error: String(error) });
@@ -581,7 +597,7 @@ function registerTripTools(server, ctx, track) {
581
597
  },
582
598
  async ({ first, skip }) => {
583
599
  try {
584
- const data = await ctx.gql.workspace.request(LIST_TRIPS, { pagination: { first: first ?? 20, skip: skip ?? 0 } });
600
+ const data = await ctx.gql.workspace.request(LIST_TRIPS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
585
601
  return jsonResult(data.ggnomadTrips);
586
602
  } catch (error) {
587
603
  ctx.logger.error("ggnomad trips_list failed", { error: String(error) });
@@ -605,7 +621,7 @@ function registerBookingTools(server, ctx, track) {
605
621
  },
606
622
  async ({ first, skip }) => {
607
623
  try {
608
- const data = await ctx.gql.workspace.request(LIST_BOOKINGS, { pagination: { first: first ?? 20, skip: skip ?? 0 } });
624
+ const data = await ctx.gql.workspace.request(LIST_BOOKINGS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
609
625
  return jsonResult(data.ggnomadBookings);
610
626
  } catch (error) {
611
627
  ctx.logger.error("ggnomad bookings_list failed", { error: String(error) });
@@ -635,7 +651,13 @@ function registerBookingTools(server, ctx, track) {
635
651
  currency: zod.z.string().optional().describe("ISO currency code (default service currency)"),
636
652
  paymentMethod: zod.z.string().optional().describe('Payment method, e.g. "card", "upi"'),
637
653
  specialRequests: zod.z.string().optional().describe("Free-text special requests")
638
- }
654
+ },
655
+ // BOFF-5746: a created booking commits money/inventory on a real listing,
656
+ // so it must pass the confirmation gate that ggnomad-mcp/src/index.ts
657
+ // enables via enforceDestructiveConfirmation. The name-inference verb set
658
+ // (tool-name.ts) only covers irreversible verbs like `delete`, so write
659
+ // actions need this explicit annotation.
660
+ annotations: { destructiveHint: true }
639
661
  },
640
662
  async ({
641
663
  bookingType,
@@ -688,7 +710,12 @@ function registerBookingTools(server, ctx, track) {
688
710
  inputSchema: {
689
711
  id: zod.z.string().describe("Booking ID"),
690
712
  reason: zod.z.string().optional().describe("Cancellation reason")
691
- }
713
+ },
714
+ // BOFF-5746: cancelling a booking is irreversible for the guest and the
715
+ // provider, and `cancel` is not in the name-inference verb set
716
+ // (tool-name.ts) — same gap the atheletebridge sessions_cancel
717
+ // annotation closes (BOFF-3616). Gate via explicit annotation.
718
+ annotations: { destructiveHint: true }
692
719
  },
693
720
  async ({ id, reason }) => {
694
721
  try {
@@ -716,7 +743,7 @@ function registerFavoriteTools(server, ctx, track) {
716
743
  },
717
744
  async ({ first, skip }) => {
718
745
  try {
719
- const data = await ctx.gql.workspace.request(LIST_FAVORITES, { pagination: { first: first ?? 50, skip: skip ?? 0 } });
746
+ const data = await ctx.gql.workspace.request(LIST_FAVORITES, { pagination: { limit: first ?? 50, offset: skip ?? 0 } });
720
747
  return jsonResult(data.ggnomadFavorites);
721
748
  } catch (error) {
722
749
  ctx.logger.error("ggnomad favorites_list failed", { error: String(error) });
@@ -927,7 +954,7 @@ All run against the WORKSPACE gateway (workspace-scoped). Pagination is { first,
927
954
  try {
928
955
  const data = await ctx.gql.workspace.request(
929
956
  LIST_PROPERTIES,
930
- { pagination: { first: 50, skip: 0 } }
957
+ { pagination: { limit: 50, offset: 0 } }
931
958
  );
932
959
  return {
933
960
  contents: [
@@ -965,13 +992,15 @@ function registerGgnomadPrompts(server, ctx, track) {
965
992
  description: "Guide for onboarding a new GGNomad hospitality provider end to end: create the provider and list its first bookable property.",
966
993
  argsSchema: {
967
994
  name: zod.z.string().optional().describe("Provider/business name"),
968
- type: zod.z.string().optional().describe('Provider type, e.g. "hotel", "tour_operator"')
995
+ type: zod.z.string().regex(
996
+ /^(HOTEL_OPERATOR|TOUR_OPERATOR|ACTIVITY_PROVIDER|TRANSPORT_PROVIDER|EVENT_ORGANIZER)$/
997
+ ).optional().describe('Provider type, e.g. "HOTEL_OPERATOR", "TOUR_OPERATOR"')
969
998
  }
970
999
  },
971
1000
  ({ name, type }) => {
972
1001
  ctx.logger.debug(`Prompt ${onboardingName} called`, { name, type });
973
1002
  const nameNote = name ? `Use the business name "${name}".` : "Ask the user for the business name.";
974
- const typeNote = type ? `Use provider type "${type}".` : "Help the user pick a provider type.";
1003
+ const typeNote = type ? `Use provider type "${type}".` : "Help the user pick one of HOTEL_OPERATOR, TOUR_OPERATOR, ACTIVITY_PROVIDER, TRANSPORT_PROVIDER or EVENT_ORGANIZER.";
975
1004
  return {
976
1005
  messages: [
977
1006
  {
@@ -984,6 +1013,8 @@ function registerGgnomadPrompts(server, ctx, track) {
984
1013
  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.
985
1014
  3. **Verify**: Use ${p}_properties_list to confirm the property appears, and ${p}_providers_get to confirm the provider's listingCount.
986
1015
 
1016
+ 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.
1017
+
987
1018
  Show results at each step and confirm before listing more inventory.`
988
1019
  }
989
1020
  }
@@ -1016,6 +1047,8 @@ Show results at each step and confirm before listing more inventory.`
1016
1047
  3. **Cancellations**: For any booking that must be cancelled, use ${p}_bookings_cancel with a clear reason.
1017
1048
  4. **Inventory**: Scan ${p}_properties_list, ${p}_activities_list, ${p}_events_list, ${p}_experiences_list, and ${p}_trips_list for listings needing updates.
1018
1049
 
1050
+ ${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.
1051
+
1019
1052
  Summarize what needs attention after each step.`
1020
1053
  }
1021
1054
  }