@togglhq/mcp 1.13.172 → 1.13.173

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-CPogC-C9.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-DTVv0jL2.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.172";
165
+ const packageVersion = "1.13.173";
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-CPogC-C9.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DTVv0jL2.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -44258,7 +44258,9 @@ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal
44258
44258
  //#endregion
44259
44259
  //#region ../focus-queries/dist/subscriptions/requests.ts
44260
44260
  async function getCurrentSubscription(httpClient, organization_id, signal) {
44261
- return (await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal })).json();
44261
+ const response = await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal });
44262
+ if ([204, 205].includes(response.status)) return null;
44263
+ return response.json();
44262
44264
  }
44263
44265
  async function getFeaturesUpsell(httpClient, organization_id, signal) {
44264
44266
  return (await httpClient.get(`organizations/${organization_id}/subscriptions/features-upsell`, { signal })).json();
@@ -59562,7 +59564,7 @@ function registerWorkspaceTools(server) {
59562
59564
  //#region src/package-version.ts
59563
59565
  function mcpPackageVersion() {
59564
59566
  try {
59565
- return "1.13.172";
59567
+ return "1.13.173";
59566
59568
  } catch {
59567
59569
  return "unknown";
59568
59570
  }
@@ -59743,7 +59745,7 @@ import_main.default.config({
59743
59745
  quiet: true,
59744
59746
  ignore: ["MISSING_ENV_FILE"]
59745
59747
  });
59746
- const packageVersion = "1.13.172";
59748
+ const packageVersion = "1.13.173";
59747
59749
  const MCP_CACHE_TTL_MS = 300 * 1e3;
59748
59750
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
59749
59751
  function resolvePublicUrls() {
@@ -59863,4 +59865,4 @@ function bootstrapServer(options = {}) {
59863
59865
  //#endregion
59864
59866
  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 };
59865
59867
 
59866
- //# sourceMappingURL=src-CPogC-C9.js.map
59868
+ //# sourceMappingURL=src-DTVv0jL2.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.172",
3
+ "version": "1.13.173",
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",