@burdenoff/mcp-libs 2026.1101.1 → 2026.1101.3
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/README.md +30 -0
- 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/adaptercloud/tools/shared.d.ts +91 -13
- package/dist/modules/artistrybase/index.js +1 -1
- package/dist/modules/artistrybase/tools/shared.d.ts +80 -12
- package/dist/modules/assethandler/index.js +1 -1
- package/dist/modules/assethandler/tools/shared.d.ts +52 -8
- package/dist/modules/atheletebridge/index.js +1 -1
- package/dist/modules/atheletebridge/tools/shared.d.ts +83 -12
- 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/brainyrich/tools/shared.d.ts +102 -14
- package/dist/modules/buildmyiq/index.js +1 -1
- package/dist/modules/buildmyiq/tools/shared.d.ts +75 -12
- package/dist/modules/channels/index.js +1 -1
- package/dist/modules/collabkin/index.js +1 -1
- package/dist/modules/collabkin/tools/shared.d.ts +66 -10
- package/dist/modules/comradecircle/index.js +1 -1
- package/dist/modules/comradecircle/tools/shared.d.ts +78 -14
- package/dist/modules/conversations/index.js +1 -1
- package/dist/modules/coolandlovely/index.js +1 -1
- package/dist/modules/coolandlovely/tools/shared.d.ts +76 -19
- package/dist/modules/cosmicintersection/index.js +1 -1
- package/dist/modules/cosmicintersection/tools/shared.d.ts +94 -13
- 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/ecoimpacthub/tools/shared.d.ts +130 -17
- 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/durable-operations.d.ts +23 -0
- package/dist/modules/fluidgrids/index.cjs +566 -13
- package/dist/modules/fluidgrids/index.cjs.map +1 -1
- package/dist/modules/fluidgrids/index.js +490 -12
- package/dist/modules/fluidgrids/index.js.map +1 -1
- package/dist/modules/fluidgrids/operations.d.ts +4 -3
- package/dist/modules/fluidgrids/tools/durable.d.ts +3 -0
- package/dist/modules/ggnomad/index.cjs +29 -21
- package/dist/modules/ggnomad/index.cjs.map +1 -1
- package/dist/modules/ggnomad/index.js +30 -22
- package/dist/modules/ggnomad/index.js.map +1 -1
- package/dist/modules/ggnomad/operations.d.ts +8 -8
- package/dist/modules/ggnomad/tools/shared.d.ts +23 -3
- package/dist/modules/govcitizenhub/index.js +1 -1
- package/dist/modules/govcitizenhub/tools/shared.d.ts +68 -10
- package/dist/modules/groups/index.js +1 -1
- package/dist/modules/headshotmarketing/index.js +1 -1
- package/dist/modules/headshotmarketing/tools/shared.d.ts +299 -42
- package/dist/modules/health/index.js +1 -1
- package/dist/modules/healthybowl/index.js +1 -1
- package/dist/modules/healthybowl/tools/shared.d.ts +5 -1
- package/dist/modules/hookmovies/index.js +1 -1
- package/dist/modules/hookmovies/tools/shared.d.ts +93 -13
- package/dist/modules/housingvista/index.js +1 -1
- package/dist/modules/housingvista/tools/shared.d.ts +15 -2
- package/dist/modules/integrations/index.js +1 -1
- package/dist/modules/intelwatchtower/index.js +1 -1
- package/dist/modules/intelwatchtower/tools/shared.d.ts +121 -16
- package/dist/modules/kadaikodi/index.js +1 -1
- package/dist/modules/kadaikodi/tools/shared.d.ts +52 -7
- package/dist/modules/labsofscience/index.js +1 -1
- package/dist/modules/labsofscience/tools/shared.d.ts +85 -13
- package/dist/modules/manufacturedops/index.js +1 -1
- package/dist/modules/manufacturedops/tools/shared.d.ts +95 -14
- package/dist/modules/movethewheels/index.js +1 -1
- package/dist/modules/movethewheels/tools/shared.d.ts +111 -14
- 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/mybodyshield/tools/shared.d.ts +84 -12
- 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/planmagnet/tools/shared.d.ts +231 -31
- package/dist/modules/products/index.js +1 -1
- package/dist/modules/proserviceworld/index.js +1 -1
- package/dist/modules/proserviceworld/tools/shared.d.ts +53 -9
- 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/semanticfed/tools/shared.d.ts +87 -12
- package/dist/modules/store/index.js +1 -1
- package/dist/modules/subscriberbot/index.js +1 -1
- package/dist/modules/subscriberbot/tools/shared.d.ts +157 -19
- 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/technospam/tools/shared.d.ts +63 -10
- package/dist/modules/theculturepost/index.js +1 -1
- package/dist/modules/theculturepost/tools/shared.d.ts +63 -8
- package/dist/modules/theglobalfuel/index.js +1 -1
- package/dist/modules/theglobalfuel/tools/shared.d.ts +117 -14
- package/dist/modules/timecampus/index.js +1 -1
- package/dist/modules/timecampus/tools/shared.d.ts +131 -21
- 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 +16 -15
- package/dist/chunk-WYCRYHHY.js.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
export * from './durable-operations.js';
|
|
1
2
|
export declare const LIST_WORKFLOWS = "\n query ListWorkflows($input: ListWorkflowDefinitionsInput!) {\n workflowDefinitions(input: $input) {\n items {\n id\n workflowKey\n name\n description\n version\n status\n category\n tags\n isActive\n totalVersions\n createdAt\n updatedAt\n }\n total\n hasMore\n }\n }\n";
|
|
2
3
|
export declare const GET_WORKFLOW = "\n query GetWorkflow($id: ID, $workflowKey: String, $version: String) {\n workflowDefinition(id: $id, workflowKey: $workflowKey, version: $version) {\n id\n workflowKey\n name\n description\n version\n status\n category\n tags\n icon\n isActive\n totalVersions\n definitionJson\n createdAt\n updatedAt\n }\n }\n";
|
|
3
4
|
export declare const GET_WORKFLOW_VERSIONS = "\n query GetWorkflowVersions($workflowKey: String!) {\n workflowVersions(workflowKey: $workflowKey) {\n id\n workflowKey\n name\n description\n version\n status\n category\n tags\n icon\n isActive\n totalVersions\n createdAt\n updatedAt\n }\n }\n";
|
|
4
5
|
export declare const LIST_RUNS = "\n query ListRuns($input: ListWorkflowRunsInput!) {\n workflowRuns(input: $input) {\n items {\n id\n workflowId\n workflowKey\n version\n status\n startedAt\n completedAt\n duration\n triggeredById\n errorMessage\n errorType\n progress\n totalNodes\n completedNodes\n failedNodes\n }\n total\n hasMore\n }\n }\n";
|
|
5
|
-
export declare const GET_RUN = "\n query GetRun($id: ID!) {\n workflowRun(id: $id) {\n id\n workflowId\n workflowKey\n version\n status\n startedAt\n completedAt\n duration\n triggeredById\n triggerData\n triggerNodeId\n errorMessage\n errorType\n progress\n totalNodes\n completedNodes\n failedNodes\n skippedNodes\n nodeStates {\n nodeId\n nodeType\n status\n error\n output\n }\n }\n }\n";
|
|
6
|
+
export declare const GET_RUN = "\n query GetRun($id: ID!) {\n workflowRun(id: $id) {\n id\n workflowId\n workflowKey\n version\n status\n startedAt\n completedAt\n duration\n triggeredById\n triggerData\n triggerNodeId\n errorMessage\n errorType\n progress\n totalNodes\n completedNodes\n failedNodes\n skippedNodes\n nodeStates {\n id\n nodeId\n nodeType\n status\n error\n output\n }\n }\n }\n";
|
|
6
7
|
export declare const GET_RUN_LOGS = "\n query GetRunLogs(\n $runId: ID!\n $nodeId: String\n $minLevel: RunLogLevel\n $limit: Int\n $after: String\n $search: String\n $includeChildRuns: Boolean\n ) {\n workflowRunLogs(\n runId: $runId\n nodeId: $nodeId\n minLevel: $minLevel\n limit: $limit\n after: $after\n search: $search\n includeChildRuns: $includeChildRuns\n ) {\n lines {\n id\n runId\n nodeId\n level\n message\n timestamp\n data\n attempt\n phase\n stream\n truncated\n }\n hasMore\n nextCursor\n limitReached\n }\n }\n";
|
|
7
8
|
export declare const LIST_NODES = "\n query ListNodes(\n $nodeType: String\n $publishType: PublishType\n $status: NodeConfigStatus\n $pagination: WorkflowPaginationInput\n ) {\n nodeEndpointConfigs(\n nodeType: $nodeType\n publishType: $publishType\n status: $status\n pagination: $pagination\n ) {\n configs {\n id\n nodeType\n nodeVersion\n name\n description\n category\n icon\n logo\n keywords\n kind\n author\n publishType\n status\n isLatest\n endpointUrl\n operations\n supportsAdapterMode\n adapterOutputType\n createdAt\n updatedAt\n }\n pagination {\n total\n limit\n offset\n hasMore\n }\n }\n }\n";
|
|
8
9
|
export declare const GET_NODE = "\n query GetNode($nodeType: String!, $nodeVersion: String!) {\n nodeEndpointConfig(nodeType: $nodeType, nodeVersion: $nodeVersion) {\n id\n nodeType\n nodeVersion\n name\n description\n category\n icon\n logo\n keywords\n kind\n author\n publishType\n status\n isLatest\n endpointUrl\n operations\n supportsAdapterMode\n adapterOutputType\n createdAt\n updatedAt\n healthCheckUrl\n nodeAdapters\n }\n }\n";
|
|
@@ -30,7 +31,7 @@ export declare const ARCHIVE_WORKFLOW = "\n mutation ArchiveWorkflow($id: ID!)
|
|
|
30
31
|
export declare const CANCEL_RUN = "\n mutation CancelRun($id: ID!) {\n cancelWorkflowRun(id: $id) {\n id\n status\n completedAt\n errorMessage\n }\n }\n";
|
|
31
32
|
export declare const PAUSE_RUN = "\n mutation PauseRun($id: ID!) {\n pauseWorkflowRun(id: $id) {\n id\n status\n completedAt\n errorMessage\n }\n }\n";
|
|
32
33
|
export declare const RESUME_RUN = "\n mutation ResumeRun($id: ID!, $payload: JSON) {\n resumeWorkflowRun(id: $id, payload: $payload) {\n success\n message\n resumedFromNodeId\n run {\n id\n status\n completedAt\n errorMessage\n }\n }\n }\n";
|
|
33
|
-
export declare const RETRY_RUN = "\n mutation RetryNode($id: ID!) {\n retryNode(id: $id) {\n id\n nodeId\n nodeType\n status\n error\n attemptCount\n }\n }\n";
|
|
34
|
+
export declare const RETRY_RUN = "\n mutation RetryNode($id: ID!, $nodeId: String!) {\n retryNode(id: $id, nodeId: $nodeId) {\n id\n nodeId\n nodeType\n status\n error\n attemptCount\n }\n }\n";
|
|
34
35
|
export declare const CREATE_CREDENTIAL = "\n mutation CreateCredential($input: CreateConnectionInput!) {\n createConnection(input: $input) {\n id\n name\n description\n status\n providerId\n provider {\n id\n key\n name\n authType\n }\n credentialSource\n createdAt\n }\n }\n";
|
|
35
36
|
export declare const AUTHENTICATE_CREDENTIAL_API_KEY = "\n mutation AuthenticateCredentialApiKey($input: ApiKeyAuthInput!) {\n authenticateWithApiKey(input: $input) {\n id\n name\n status\n grantedScopes\n externalAccountName\n errorMessage\n updatedAt\n }\n }\n";
|
|
36
37
|
export declare const AUTHENTICATE_CREDENTIAL_BASIC = "\n mutation AuthenticateCredentialBasic($input: BasicAuthInput!) {\n authenticateWithBasicAuth(input: $input) {\n id\n name\n status\n grantedScopes\n externalAccountName\n errorMessage\n updatedAt\n }\n }\n";
|
|
@@ -42,5 +43,5 @@ export declare const UPDATE_WEBHOOK = "\n mutation UpdateWebhook($id: ID!, $inp
|
|
|
42
43
|
export declare const DELETE_WEBHOOK = "\n mutation DeleteWebhook($id: ID!) {\n deleteEventRegistration(id: $id)\n }\n";
|
|
43
44
|
export declare const TOGGLE_WEBHOOK = "\n mutation ToggleWebhook($id: ID!, $isActive: Boolean!) {\n toggleEventRegistration(id: $id, isActive: $isActive) {\n id\n name\n workflowKey\n triggerNodeId\n isActive\n status\n webhookUrl\n webhookToken\n updatedAt\n }\n }\n";
|
|
44
45
|
export declare const CREATE_SCHEDULED_JOB = "\n mutation CreateScheduledJob($input: ScheduledJobInput!) {\n createWorkflowScheduledJob(input: $input) {\n success\n message\n job {\n id\n name\n workflowKey\n version\n schedule\n enabled\n nextRun\n lastRun\n config\n createdAt\n updatedAt\n }\n }\n }\n";
|
|
45
|
-
export declare const UPDATE_SCHEDULED_JOB = "\n mutation UpdateScheduledJob($
|
|
46
|
+
export declare const UPDATE_SCHEDULED_JOB = "\n mutation UpdateScheduledJob($jobId: ID!, $input: WorkflowUpdateScheduledJobInput!) {\n updateWorkflowScheduledJob(jobId: $jobId, input: $input) {\n success\n message\n job {\n id\n name\n workflowKey\n version\n schedule\n enabled\n nextRun\n lastRun\n config\n createdAt\n updatedAt\n }\n }\n }\n";
|
|
46
47
|
export declare const DELETE_SCHEDULED_JOB = "\n mutation DeleteScheduledJob($jobId: ID!) {\n deleteWorkflowScheduledJob(jobId: $jobId) {\n success\n message\n }\n }\n";
|
|
@@ -116,7 +116,7 @@ var GET_PROVIDER = `
|
|
|
116
116
|
}
|
|
117
117
|
`;
|
|
118
118
|
var LIST_PROVIDERS = `
|
|
119
|
-
query GgnomadListProviders($pagination:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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: {
|
|
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,10 +293,16 @@ function registerProviderTools(server, ctx, track) {
|
|
|
293
293
|
track(mcpToolName(ctx.productName, "providers_create")),
|
|
294
294
|
{
|
|
295
295
|
title: "Create Provider",
|
|
296
|
-
description:
|
|
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.
|
|
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"),
|
|
@@ -360,7 +366,7 @@ function registerPropertyTools(server, ctx, track) {
|
|
|
360
366
|
},
|
|
361
367
|
async ({ first, skip }) => {
|
|
362
368
|
try {
|
|
363
|
-
const data = await ctx.gql.workspace.request(LIST_PROPERTIES, { pagination: {
|
|
369
|
+
const data = await ctx.gql.workspace.request(LIST_PROPERTIES, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
364
370
|
return jsonResult(data.ggnomadProperties);
|
|
365
371
|
} catch (error) {
|
|
366
372
|
ctx.logger.error("ggnomad properties_list failed", { error: String(error) });
|
|
@@ -469,7 +475,7 @@ function registerActivityTools(server, ctx, track) {
|
|
|
469
475
|
},
|
|
470
476
|
async ({ first, skip }) => {
|
|
471
477
|
try {
|
|
472
|
-
const data = await ctx.gql.workspace.request(LIST_ACTIVITIES, { pagination: {
|
|
478
|
+
const data = await ctx.gql.workspace.request(LIST_ACTIVITIES, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
473
479
|
return jsonResult(data.ggnomadActivities);
|
|
474
480
|
} catch (error) {
|
|
475
481
|
ctx.logger.error("ggnomad activities_list failed", { error: String(error) });
|
|
@@ -513,7 +519,7 @@ function registerEventTools(server, ctx, track) {
|
|
|
513
519
|
},
|
|
514
520
|
async ({ first, skip }) => {
|
|
515
521
|
try {
|
|
516
|
-
const data = await ctx.gql.workspace.request(LIST_EVENTS, { pagination: {
|
|
522
|
+
const data = await ctx.gql.workspace.request(LIST_EVENTS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
517
523
|
return jsonResult(data.ggnomadEvents);
|
|
518
524
|
} catch (error) {
|
|
519
525
|
ctx.logger.error("ggnomad events_list failed", { error: String(error) });
|
|
@@ -557,7 +563,7 @@ function registerTourTools(server, ctx, track) {
|
|
|
557
563
|
},
|
|
558
564
|
async ({ first, skip }) => {
|
|
559
565
|
try {
|
|
560
|
-
const data = await ctx.gql.workspace.request(LIST_TOURS, { pagination: {
|
|
566
|
+
const data = await ctx.gql.workspace.request(LIST_TOURS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
561
567
|
return jsonResult(data.ggnomadTours);
|
|
562
568
|
} catch (error) {
|
|
563
569
|
ctx.logger.error("ggnomad experiences_list failed", { error: String(error) });
|
|
@@ -581,7 +587,7 @@ function registerTripTools(server, ctx, track) {
|
|
|
581
587
|
},
|
|
582
588
|
async ({ first, skip }) => {
|
|
583
589
|
try {
|
|
584
|
-
const data = await ctx.gql.workspace.request(LIST_TRIPS, { pagination: {
|
|
590
|
+
const data = await ctx.gql.workspace.request(LIST_TRIPS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
585
591
|
return jsonResult(data.ggnomadTrips);
|
|
586
592
|
} catch (error) {
|
|
587
593
|
ctx.logger.error("ggnomad trips_list failed", { error: String(error) });
|
|
@@ -605,7 +611,7 @@ function registerBookingTools(server, ctx, track) {
|
|
|
605
611
|
},
|
|
606
612
|
async ({ first, skip }) => {
|
|
607
613
|
try {
|
|
608
|
-
const data = await ctx.gql.workspace.request(LIST_BOOKINGS, { pagination: {
|
|
614
|
+
const data = await ctx.gql.workspace.request(LIST_BOOKINGS, { pagination: { limit: first ?? 20, offset: skip ?? 0 } });
|
|
609
615
|
return jsonResult(data.ggnomadBookings);
|
|
610
616
|
} catch (error) {
|
|
611
617
|
ctx.logger.error("ggnomad bookings_list failed", { error: String(error) });
|
|
@@ -716,7 +722,7 @@ function registerFavoriteTools(server, ctx, track) {
|
|
|
716
722
|
},
|
|
717
723
|
async ({ first, skip }) => {
|
|
718
724
|
try {
|
|
719
|
-
const data = await ctx.gql.workspace.request(LIST_FAVORITES, { pagination: {
|
|
725
|
+
const data = await ctx.gql.workspace.request(LIST_FAVORITES, { pagination: { limit: first ?? 50, offset: skip ?? 0 } });
|
|
720
726
|
return jsonResult(data.ggnomadFavorites);
|
|
721
727
|
} catch (error) {
|
|
722
728
|
ctx.logger.error("ggnomad favorites_list failed", { error: String(error) });
|
|
@@ -927,7 +933,7 @@ All run against the WORKSPACE gateway (workspace-scoped). Pagination is { first,
|
|
|
927
933
|
try {
|
|
928
934
|
const data = await ctx.gql.workspace.request(
|
|
929
935
|
LIST_PROPERTIES,
|
|
930
|
-
{ pagination: {
|
|
936
|
+
{ pagination: { limit: 50, offset: 0 } }
|
|
931
937
|
);
|
|
932
938
|
return {
|
|
933
939
|
contents: [
|
|
@@ -965,13 +971,15 @@ function registerGgnomadPrompts(server, ctx, track) {
|
|
|
965
971
|
description: "Guide for onboarding a new GGNomad hospitality provider end to end: create the provider and list its first bookable property.",
|
|
966
972
|
argsSchema: {
|
|
967
973
|
name: zod.z.string().optional().describe("Provider/business name"),
|
|
968
|
-
type: zod.z.string().
|
|
974
|
+
type: zod.z.string().regex(
|
|
975
|
+
/^(HOTEL_OPERATOR|TOUR_OPERATOR|ACTIVITY_PROVIDER|TRANSPORT_PROVIDER|EVENT_ORGANIZER)$/
|
|
976
|
+
).optional().describe('Provider type, e.g. "HOTEL_OPERATOR", "TOUR_OPERATOR"')
|
|
969
977
|
}
|
|
970
978
|
},
|
|
971
979
|
({ name, type }) => {
|
|
972
980
|
ctx.logger.debug(`Prompt ${onboardingName} called`, { name, type });
|
|
973
981
|
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
|
|
982
|
+
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
983
|
return {
|
|
976
984
|
messages: [
|
|
977
985
|
{
|