@burdenoff/mcp-libs 2026.1013.1 → 2026.1013.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/dist/modules/auth/index.cjs +0 -58
- package/dist/modules/auth/index.cjs.map +1 -1
- package/dist/modules/auth/index.js +0 -58
- package/dist/modules/auth/index.js.map +1 -1
- package/dist/modules/devportal/index.cjs +32 -39
- package/dist/modules/devportal/index.cjs.map +1 -1
- package/dist/modules/devportal/index.js +32 -39
- package/dist/modules/devportal/index.js.map +1 -1
- package/dist/modules/healthybowl/index.cjs +865 -0
- package/dist/modules/healthybowl/index.cjs.map +1 -0
- package/dist/modules/healthybowl/index.d.cts +8 -0
- package/dist/modules/healthybowl/index.d.ts +8 -0
- package/dist/modules/healthybowl/index.js +804 -0
- package/dist/modules/healthybowl/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -177,11 +177,6 @@ var AUTHENTICATE_APP = `
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
`;
|
|
180
|
-
var ME = `
|
|
181
|
-
query Me {
|
|
182
|
-
me { id email username isActive emailVerified }
|
|
183
|
-
}
|
|
184
|
-
`;
|
|
185
180
|
var CURRENT_USER = `
|
|
186
181
|
query currentUser {
|
|
187
182
|
currentUser {
|
|
@@ -370,13 +365,6 @@ var UPDATE_USER = `
|
|
|
370
365
|
}
|
|
371
366
|
}
|
|
372
367
|
`;
|
|
373
|
-
var INVITE_USER = `
|
|
374
|
-
mutation inviteUser($input: InviteUserInput!) {
|
|
375
|
-
inviteUser(input: $input) {
|
|
376
|
-
id email status invitedAt expiresAt
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
`;
|
|
380
368
|
|
|
381
369
|
// src/modules/auth/more-tools.ts
|
|
382
370
|
function err(ctx, name, message, error) {
|
|
@@ -487,22 +475,6 @@ function registerAuthMoreTools(server, ctx, track) {
|
|
|
487
475
|
}
|
|
488
476
|
}
|
|
489
477
|
);
|
|
490
|
-
server.registerTool(
|
|
491
|
-
track(mcpToolName(ctx.productName, "auth_get_current_user")),
|
|
492
|
-
{
|
|
493
|
-
title: "Get Current User",
|
|
494
|
-
description: "Fetch the authenticated user via the SDK `me` query (id, email, username, isActive, emailVerified). Lighter than auth_profile_get and matches the SDK shape. Use auth_status to check authentication state locally without a network round-trip.",
|
|
495
|
-
inputSchema: {}
|
|
496
|
-
},
|
|
497
|
-
async () => {
|
|
498
|
-
try {
|
|
499
|
-
const d = await ctx.gql.global.request(ME);
|
|
500
|
-
return jsonResult(d.me);
|
|
501
|
-
} catch (e) {
|
|
502
|
-
return err(ctx, "auth_get_current_user", "Failed to fetch current user", e);
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
);
|
|
506
478
|
server.registerTool(
|
|
507
479
|
track(mcpToolName(ctx.productName, "auth_authenticate_app")),
|
|
508
480
|
{
|
|
@@ -1285,36 +1257,6 @@ function registerAuthExtraTools(server, ctx, track) {
|
|
|
1285
1257
|
}
|
|
1286
1258
|
}
|
|
1287
1259
|
);
|
|
1288
|
-
server.registerTool(
|
|
1289
|
-
track(mcpToolName(ctx.productName, "auth_users_invite")),
|
|
1290
|
-
{
|
|
1291
|
-
title: "Invite User (admin)",
|
|
1292
|
-
description: "Send an invitation email to a new user.",
|
|
1293
|
-
inputSchema: {
|
|
1294
|
-
email: z.string().describe("Invitee email"),
|
|
1295
|
-
role: z.string().optional().describe("Role to assign on accept"),
|
|
1296
|
-
firstName: z.string().optional(),
|
|
1297
|
-
lastName: z.string().optional(),
|
|
1298
|
-
workspaceIds: z.array(z.string()).optional()
|
|
1299
|
-
}
|
|
1300
|
-
},
|
|
1301
|
-
async ({ email, role, firstName, lastName, workspaceIds }) => {
|
|
1302
|
-
try {
|
|
1303
|
-
const input = { email };
|
|
1304
|
-
if (role !== void 0) input.role = role.toUpperCase();
|
|
1305
|
-
if (firstName !== void 0) input.firstName = firstName;
|
|
1306
|
-
if (lastName !== void 0) input.lastName = lastName;
|
|
1307
|
-
if (workspaceIds !== void 0) input.workspaceIds = workspaceIds;
|
|
1308
|
-
const d = await ctx.gql.global.request(
|
|
1309
|
-
INVITE_USER,
|
|
1310
|
-
{ input }
|
|
1311
|
-
);
|
|
1312
|
-
return jsonResult({ status: "success", invitation: d.inviteUser });
|
|
1313
|
-
} catch (e) {
|
|
1314
|
-
return err2(ctx, "auth_users_invite", "Failed to invite user", e);
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
);
|
|
1318
1260
|
server.registerTool(
|
|
1319
1261
|
track(mcpToolName(ctx.productName, "auth_users_update")),
|
|
1320
1262
|
{
|