@togglhq/mcp 1.13.119 → 1.13.120

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 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-BnfC3ear.js";
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-_1lJXdwy.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.119";
165
+ const packageVersion = "1.13.120";
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-BnfC3ear.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-_1lJXdwy.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -43652,6 +43652,12 @@ async function searchMentions(httpClient, organization_id, workspace_id, { keywo
43652
43652
  }
43653
43653
  //#endregion
43654
43654
  //#region ../focus-queries/dist/sharedreports/requests.ts
43655
+ async function getMemberOwnedSharedReports(httpClient, organization_id, user_id, signal) {
43656
+ return await httpClient.get(`organizations/${organization_id}/users/${user_id}/shared-reports`, { signal }).json();
43657
+ }
43658
+ async function takeOverMemberSharedReports(httpClient, organization_id, user_id, signal) {
43659
+ return await httpClient.post(`organizations/${organization_id}/users/${user_id}/shared-reports/take-over`, { signal }).json();
43660
+ }
43655
43661
  async function shareSavedView(httpClient, workspace_id, id, data, signal) {
43656
43662
  return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
43657
43663
  signal,
@@ -51440,6 +51446,32 @@ const generatedFocusOperations = [
51440
51446
  ]));
51441
51447
  }
51442
51448
  },
51449
+ {
51450
+ id: "focus.sharedreports.get-member-owned-shared-reports",
51451
+ family: "focus",
51452
+ resource: "sharedreports",
51453
+ action: "get-member-owned-shared-reports",
51454
+ title: "Get Member Owned Shared Reports Sharedreports",
51455
+ description: "Get Member Owned Shared Reports Sharedreports.",
51456
+ safety: "read",
51457
+ destructive: false,
51458
+ cli: {
51459
+ group: ["sharedreports"],
51460
+ command: "get-member-owned-shared-reports",
51461
+ interactive: "available"
51462
+ },
51463
+ mcp: { entityTool: "sharedreports" },
51464
+ inputSchema: /* @__PURE__ */ looseObject({ user_id: /* @__PURE__ */ number$2() }),
51465
+ execute: (input, { client }) => {
51466
+ const data = input;
51467
+ return client.runGeneratedRequest("getMemberOwnedSharedReports", () => callGeneratedRequest(getMemberOwnedSharedReports, [
51468
+ client.httpClient,
51469
+ client.organizationId,
51470
+ data.user_id,
51471
+ void 0
51472
+ ]));
51473
+ }
51474
+ },
51443
51475
  {
51444
51476
  id: "focus.sharedreports.get-saved-view-shared-report",
51445
51477
  family: "focus",
@@ -51782,6 +51814,32 @@ const generatedFocusOperations = [
51782
51814
  ]));
51783
51815
  }
51784
51816
  },
51817
+ {
51818
+ id: "focus.sharedreports.take-over-member-shared-reports",
51819
+ family: "focus",
51820
+ resource: "sharedreports",
51821
+ action: "take-over-member-shared-reports",
51822
+ title: "Take Over Member Shared Reports Sharedreports",
51823
+ description: "Take Over Member Shared Reports Sharedreports.",
51824
+ safety: "update",
51825
+ destructive: false,
51826
+ cli: {
51827
+ group: ["sharedreports"],
51828
+ command: "take-over-member-shared-reports",
51829
+ interactive: "default"
51830
+ },
51831
+ mcp: { entityTool: "sharedreports" },
51832
+ inputSchema: /* @__PURE__ */ looseObject({ user_id: /* @__PURE__ */ number$2() }),
51833
+ execute: (input, { client }) => {
51834
+ const data = input;
51835
+ return client.runGeneratedRequest("takeOverMemberSharedReports", () => callGeneratedRequest(takeOverMemberSharedReports, [
51836
+ client.httpClient,
51837
+ client.organizationId,
51838
+ data.user_id,
51839
+ void 0
51840
+ ]));
51841
+ }
51842
+ },
51785
51843
  {
51786
51844
  id: "focus.sharedreports.unshare-shared-report",
51787
51845
  family: "focus",
@@ -58444,7 +58502,7 @@ function registerWorkspaceTools(server) {
58444
58502
  //#region src/package-version.ts
58445
58503
  function mcpPackageVersion() {
58446
58504
  try {
58447
- return "1.13.119";
58505
+ return "1.13.120";
58448
58506
  } catch {
58449
58507
  return "unknown";
58450
58508
  }
@@ -58625,7 +58683,7 @@ import_main.default.config({
58625
58683
  quiet: true,
58626
58684
  ignore: ["MISSING_ENV_FILE"]
58627
58685
  });
58628
- const packageVersion = "1.13.119";
58686
+ const packageVersion = "1.13.120";
58629
58687
  const MCP_CACHE_TTL_MS = 300 * 1e3;
58630
58688
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
58631
58689
  function resolvePublicUrls() {
@@ -58745,4 +58803,4 @@ function bootstrapServer(options = {}) {
58745
58803
  //#endregion
58746
58804
  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 };
58747
58805
 
58748
- //# sourceMappingURL=src-BnfC3ear.js.map
58806
+ //# sourceMappingURL=src-_1lJXdwy.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.119",
3
+ "version": "1.13.120",
4
4
  "description": "Toggl 2.0 MCP server for Claude Code, Claude Desktop, and other MCP clients.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",