@togglhq/mcp 1.13.51 → 1.13.53
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/build/cli.js +2 -2
- package/build/index.js +1 -1
- package/build/{src-DlhZm1t5.js → src-DSx97p6Q.js} +72 -3
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-
|
|
2
|
+
import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-DSx97p6Q.js";
|
|
3
3
|
import * as Sentry from "@sentry/node";
|
|
4
4
|
//#region src/analytics-tool-metadata.ts
|
|
5
5
|
/**
|
|
@@ -162,7 +162,7 @@ function wrapServerWithProductAnalytics(server) {
|
|
|
162
162
|
}
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/cli.ts
|
|
165
|
-
const packageVersion = "1.13.
|
|
165
|
+
const packageVersion = "1.13.53";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-
|
|
2
|
+
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DSx97p6Q.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -37511,6 +37511,15 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37511
37511
|
});
|
|
37512
37512
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
37513
37513
|
}
|
|
37514
|
+
async function updateOrganizationUserActiveStatus(httpClient, organization_id, organization_user_id, status, signal) {
|
|
37515
|
+
return await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal }).json();
|
|
37516
|
+
}
|
|
37517
|
+
async function createWorkspaceInvitations(httpClient, organization_id, workspace_id, data, signal) {
|
|
37518
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/invitations`, {
|
|
37519
|
+
signal,
|
|
37520
|
+
json: data
|
|
37521
|
+
}).json();
|
|
37522
|
+
}
|
|
37514
37523
|
//#endregion
|
|
37515
37524
|
//#region ../focus-queries/out/utils/requests.js
|
|
37516
37525
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
@@ -46388,6 +46397,36 @@ const generatedFocusOperations = [
|
|
|
46388
46397
|
]));
|
|
46389
46398
|
}
|
|
46390
46399
|
},
|
|
46400
|
+
{
|
|
46401
|
+
id: "focus.organization.create-workspace-invitations",
|
|
46402
|
+
family: "focus",
|
|
46403
|
+
resource: "organization",
|
|
46404
|
+
action: "create-workspace-invitations",
|
|
46405
|
+
title: "Create Workspace Invitations Organization",
|
|
46406
|
+
description: "Create Workspace Invitations Organization.",
|
|
46407
|
+
safety: "create",
|
|
46408
|
+
destructive: false,
|
|
46409
|
+
cli: {
|
|
46410
|
+
group: ["organization"],
|
|
46411
|
+
command: "create-workspace-invitations",
|
|
46412
|
+
interactive: "default"
|
|
46413
|
+
},
|
|
46414
|
+
mcp: { entityTool: "organization" },
|
|
46415
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
46416
|
+
emails: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
46417
|
+
focus_role_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
46418
|
+
}) }),
|
|
46419
|
+
execute: (input, { client }) => {
|
|
46420
|
+
const data = input;
|
|
46421
|
+
return client.runGeneratedRequest("createWorkspaceInvitations", () => callGeneratedRequest(createWorkspaceInvitations, [
|
|
46422
|
+
client.httpClient,
|
|
46423
|
+
client.organizationId,
|
|
46424
|
+
client.workspaceIdNumber,
|
|
46425
|
+
data.payload ?? data.data ?? data,
|
|
46426
|
+
void 0
|
|
46427
|
+
]));
|
|
46428
|
+
}
|
|
46429
|
+
},
|
|
46391
46430
|
{
|
|
46392
46431
|
id: "focus.organization.delete-group",
|
|
46393
46432
|
family: "focus",
|
|
@@ -46589,6 +46628,36 @@ const generatedFocusOperations = [
|
|
|
46589
46628
|
]));
|
|
46590
46629
|
}
|
|
46591
46630
|
},
|
|
46631
|
+
{
|
|
46632
|
+
id: "focus.organization.update-user-active-status",
|
|
46633
|
+
family: "focus",
|
|
46634
|
+
resource: "organization",
|
|
46635
|
+
action: "update-user-active-status",
|
|
46636
|
+
title: "Update User Active Status Organization",
|
|
46637
|
+
description: "Update User Active Status Organization.",
|
|
46638
|
+
safety: "update",
|
|
46639
|
+
destructive: false,
|
|
46640
|
+
cli: {
|
|
46641
|
+
group: ["organization"],
|
|
46642
|
+
command: "update-user-active-status",
|
|
46643
|
+
interactive: "default"
|
|
46644
|
+
},
|
|
46645
|
+
mcp: { entityTool: "organization" },
|
|
46646
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46647
|
+
organization_user_id: /* @__PURE__ */ number$2(),
|
|
46648
|
+
status: /* @__PURE__ */ picklist$1(["active", "inactive"])
|
|
46649
|
+
}),
|
|
46650
|
+
execute: (input, { client }) => {
|
|
46651
|
+
const data = input;
|
|
46652
|
+
return client.runGeneratedRequest("updateOrganizationUserActiveStatus", () => callGeneratedRequest(updateOrganizationUserActiveStatus, [
|
|
46653
|
+
client.httpClient,
|
|
46654
|
+
client.organizationId,
|
|
46655
|
+
data.organization_user_id,
|
|
46656
|
+
data.status,
|
|
46657
|
+
void 0
|
|
46658
|
+
]));
|
|
46659
|
+
}
|
|
46660
|
+
},
|
|
46592
46661
|
{
|
|
46593
46662
|
id: "focus.projects.add-project-members",
|
|
46594
46663
|
family: "focus",
|
|
@@ -57266,7 +57335,7 @@ function registerWorkspaceTools(server) {
|
|
|
57266
57335
|
//#region src/package-version.ts
|
|
57267
57336
|
function mcpPackageVersion() {
|
|
57268
57337
|
try {
|
|
57269
|
-
return "1.13.
|
|
57338
|
+
return "1.13.53";
|
|
57270
57339
|
} catch {
|
|
57271
57340
|
return "unknown";
|
|
57272
57341
|
}
|
|
@@ -57447,7 +57516,7 @@ import_main.default.config({
|
|
|
57447
57516
|
quiet: true,
|
|
57448
57517
|
ignore: ["MISSING_ENV_FILE"]
|
|
57449
57518
|
});
|
|
57450
|
-
const packageVersion = "1.13.
|
|
57519
|
+
const packageVersion = "1.13.53";
|
|
57451
57520
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
57452
57521
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
57453
57522
|
function resolvePublicUrls() {
|
|
@@ -57567,4 +57636,4 @@ function bootstrapServer(options = {}) {
|
|
|
57567
57636
|
//#endregion
|
|
57568
57637
|
export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
|
|
57569
57638
|
|
|
57570
|
-
//# sourceMappingURL=src-
|
|
57639
|
+
//# sourceMappingURL=src-DSx97p6Q.js.map
|