@togglhq/mcp 1.13.344 → 1.13.346
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-Bv8avF9L.js → src-Dfb96GKW.js} +78 -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-Dfb96GKW.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.346";
|
|
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-Dfb96GKW.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -44693,6 +44693,15 @@ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal
|
|
|
44693
44693
|
json: data
|
|
44694
44694
|
})).json();
|
|
44695
44695
|
}
|
|
44696
|
+
async function getSharedReportManagement(httpClient, workspace_id, id, signal) {
|
|
44697
|
+
return (await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/management`, { signal })).json();
|
|
44698
|
+
}
|
|
44699
|
+
async function renameSharedReport(httpClient, workspace_id, id, data, signal) {
|
|
44700
|
+
return (await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/name`, {
|
|
44701
|
+
signal,
|
|
44702
|
+
json: data
|
|
44703
|
+
})).json();
|
|
44704
|
+
}
|
|
44696
44705
|
//#endregion
|
|
44697
44706
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
44698
44707
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -54657,6 +54666,11 @@ const generatedFocusOperations = [
|
|
|
54657
54666
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
54658
54667
|
id: /* @__PURE__ */ number$2(),
|
|
54659
54668
|
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
54669
|
+
permission: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
54670
|
+
"view",
|
|
54671
|
+
"edit",
|
|
54672
|
+
"full"
|
|
54673
|
+
])),
|
|
54660
54674
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
54661
54675
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
54662
54676
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -54777,6 +54791,32 @@ const generatedFocusOperations = [
|
|
|
54777
54791
|
]));
|
|
54778
54792
|
}
|
|
54779
54793
|
},
|
|
54794
|
+
{
|
|
54795
|
+
id: "focus.sharedreports.get-shared-report-management",
|
|
54796
|
+
family: "focus",
|
|
54797
|
+
resource: "sharedreports",
|
|
54798
|
+
action: "get-shared-report-management",
|
|
54799
|
+
title: "Get Shared Report Management Sharedreports",
|
|
54800
|
+
description: "Get Shared Report Management Sharedreports.",
|
|
54801
|
+
safety: "read",
|
|
54802
|
+
destructive: false,
|
|
54803
|
+
cli: {
|
|
54804
|
+
group: ["sharedreports"],
|
|
54805
|
+
command: "get-shared-report-management",
|
|
54806
|
+
interactive: "available"
|
|
54807
|
+
},
|
|
54808
|
+
mcp: { entityTool: "sharedreports" },
|
|
54809
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
54810
|
+
execute: (input, { client }) => {
|
|
54811
|
+
const data = input;
|
|
54812
|
+
return client.runGeneratedRequest("getSharedReportManagement", () => callGeneratedRequest(getSharedReportManagement, [
|
|
54813
|
+
client.httpClient,
|
|
54814
|
+
client.workspaceIdNumber,
|
|
54815
|
+
data.id,
|
|
54816
|
+
void 0
|
|
54817
|
+
]));
|
|
54818
|
+
}
|
|
54819
|
+
},
|
|
54780
54820
|
{
|
|
54781
54821
|
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
54782
54822
|
family: "focus",
|
|
@@ -54851,6 +54891,36 @@ const generatedFocusOperations = [
|
|
|
54851
54891
|
]));
|
|
54852
54892
|
}
|
|
54853
54893
|
},
|
|
54894
|
+
{
|
|
54895
|
+
id: "focus.sharedreports.rename-shared-report",
|
|
54896
|
+
family: "focus",
|
|
54897
|
+
resource: "sharedreports",
|
|
54898
|
+
action: "rename-shared-report",
|
|
54899
|
+
title: "Rename Shared Report Sharedreports",
|
|
54900
|
+
description: "Rename Shared Report Sharedreports.",
|
|
54901
|
+
safety: "update",
|
|
54902
|
+
destructive: false,
|
|
54903
|
+
cli: {
|
|
54904
|
+
group: ["sharedreports"],
|
|
54905
|
+
command: "rename-shared-report",
|
|
54906
|
+
interactive: "default"
|
|
54907
|
+
},
|
|
54908
|
+
mcp: { entityTool: "sharedreports" },
|
|
54909
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
54910
|
+
id: /* @__PURE__ */ number$2(),
|
|
54911
|
+
payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
|
|
54912
|
+
}),
|
|
54913
|
+
execute: (input, { client }) => {
|
|
54914
|
+
const data = input;
|
|
54915
|
+
return client.runGeneratedRequest("renameSharedReport", () => callGeneratedRequest(renameSharedReport, [
|
|
54916
|
+
client.httpClient,
|
|
54917
|
+
client.workspaceIdNumber,
|
|
54918
|
+
data.id,
|
|
54919
|
+
data.payload ?? data.data ?? data,
|
|
54920
|
+
void 0
|
|
54921
|
+
]));
|
|
54922
|
+
}
|
|
54923
|
+
},
|
|
54854
54924
|
{
|
|
54855
54925
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
54856
54926
|
family: "focus",
|
|
@@ -55023,6 +55093,11 @@ const generatedFocusOperations = [
|
|
|
55023
55093
|
payload: /* @__PURE__ */ looseObject({
|
|
55024
55094
|
charts: /* @__PURE__ */ unknown$1(),
|
|
55025
55095
|
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
55096
|
+
permission: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
55097
|
+
"view",
|
|
55098
|
+
"edit",
|
|
55099
|
+
"full"
|
|
55100
|
+
])),
|
|
55026
55101
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
55027
55102
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
55028
55103
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -62180,7 +62255,7 @@ function registerWorkspaceTools(server) {
|
|
|
62180
62255
|
//#region src/package-version.ts
|
|
62181
62256
|
function mcpPackageVersion() {
|
|
62182
62257
|
try {
|
|
62183
|
-
return "1.13.
|
|
62258
|
+
return "1.13.346";
|
|
62184
62259
|
} catch {
|
|
62185
62260
|
return "unknown";
|
|
62186
62261
|
}
|
|
@@ -62362,7 +62437,7 @@ import_main.default.config({
|
|
|
62362
62437
|
quiet: true,
|
|
62363
62438
|
ignore: ["MISSING_ENV_FILE"]
|
|
62364
62439
|
});
|
|
62365
|
-
const packageVersion = "1.13.
|
|
62440
|
+
const packageVersion = "1.13.346";
|
|
62366
62441
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
62367
62442
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
62368
62443
|
function resolvePublicUrls() {
|
|
@@ -62482,4 +62557,4 @@ function bootstrapServer(options = {}) {
|
|
|
62482
62557
|
//#endregion
|
|
62483
62558
|
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 };
|
|
62484
62559
|
|
|
62485
|
-
//# sourceMappingURL=src-
|
|
62560
|
+
//# sourceMappingURL=src-Dfb96GKW.js.map
|