@togglhq/mcp 1.13.49 → 1.13.50

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-D-3q_lq4.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-DGj6TlKF.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.49";
165
+ const packageVersion = "1.13.50";
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-D-3q_lq4.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DGj6TlKF.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -38457,7 +38457,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38457
38457
  ]))
38458
38458
  });
38459
38459
  //#endregion
38460
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38460
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38461
38461
  async function getInvitations(httpClient, signal) {
38462
38462
  return (await httpClient.get(`invitations`, { signal })).json();
38463
38463
  }
@@ -38474,7 +38474,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38474
38474
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38475
38475
  }
38476
38476
  //#endregion
38477
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38477
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38478
38478
  function buildSearchParams(params, flattenArrays = false) {
38479
38479
  const searchParams = new URLSearchParams();
38480
38480
  Object.entries(params).forEach(([key, value]) => {
@@ -38486,7 +38486,7 @@ function buildSearchParams(params, flattenArrays = false) {
38486
38486
  return searchParams;
38487
38487
  }
38488
38488
  //#endregion
38489
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38489
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38490
38490
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38491
38491
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38492
38492
  }
@@ -38500,7 +38500,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38500
38500
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38501
38501
  }
38502
38502
  //#endregion
38503
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38503
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38504
38504
  async function getWorkspaces(httpClient, organization_id, signal) {
38505
38505
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38506
38506
  }
@@ -38520,7 +38520,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38520
38520
  });
38521
38521
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38522
38522
  //#endregion
38523
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38523
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38524
38524
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38525
38525
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38526
38526
  signal,
@@ -38531,12 +38531,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38531
38531
  })).json();
38532
38532
  }
38533
38533
  //#endregion
38534
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38534
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38535
38535
  async function getStatus(httpClient, signal) {
38536
38536
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38537
38537
  }
38538
38538
  //#endregion
38539
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38539
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38540
38540
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38541
38541
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38542
38542
  signal,
@@ -38564,7 +38564,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38564
38564
  return response.json();
38565
38565
  }
38566
38566
  //#endregion
38567
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38567
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38568
38568
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38569
38569
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38570
38570
  }
@@ -57266,7 +57266,7 @@ function registerWorkspaceTools(server) {
57266
57266
  //#region src/package-version.ts
57267
57267
  function mcpPackageVersion() {
57268
57268
  try {
57269
- return "1.13.49";
57269
+ return "1.13.50";
57270
57270
  } catch {
57271
57271
  return "unknown";
57272
57272
  }
@@ -57447,7 +57447,7 @@ import_main.default.config({
57447
57447
  quiet: true,
57448
57448
  ignore: ["MISSING_ENV_FILE"]
57449
57449
  });
57450
- const packageVersion = "1.13.49";
57450
+ const packageVersion = "1.13.50";
57451
57451
  const MCP_CACHE_TTL_MS = 300 * 1e3;
57452
57452
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
57453
57453
  function resolvePublicUrls() {
@@ -57567,4 +57567,4 @@ function bootstrapServer(options = {}) {
57567
57567
  //#endregion
57568
57568
  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
57569
 
57570
- //# sourceMappingURL=src-D-3q_lq4.js.map
57570
+ //# sourceMappingURL=src-DGj6TlKF.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.49",
3
+ "version": "1.13.50",
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",