@togglhq/mcp 1.11.58 → 1.11.59

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 initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-DHbGwJ9Y.js";
2
+ import { a as initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-CGE3aOAk.js";
3
3
  import * as Sentry from "@sentry/node";
4
4
  //#region src/analytics-tool-metadata.ts
5
5
  /**
@@ -165,7 +165,7 @@ function wrapServerWithProductAnalytics(server) {
165
165
  }
166
166
  //#endregion
167
167
  //#region src/cli.ts
168
- const packageVersion = "1.11.58";
168
+ const packageVersion = "1.11.59";
169
169
  let sentryEnabled = false;
170
170
  let productAnalyticsEnabled = false;
171
171
  runMcpCli({
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { n as runMcpCli, t as bootstrapServer } from "./src-DHbGwJ9Y.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-CGE3aOAk.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -38372,7 +38372,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38372
38372
  ]))
38373
38373
  });
38374
38374
  //#endregion
38375
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.56_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_077408ac3365945bac6d015e6fab91dd/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38375
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.58_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60798b972129b5d05c9f2b3243c39264/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38376
38376
  async function getInvitations(httpClient, signal) {
38377
38377
  return (await httpClient.get(`invitations`, { signal })).json();
38378
38378
  }
@@ -38389,7 +38389,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38389
38389
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38390
38390
  }
38391
38391
  //#endregion
38392
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.56_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_077408ac3365945bac6d015e6fab91dd/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38392
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.58_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60798b972129b5d05c9f2b3243c39264/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38393
38393
  function buildSearchParams(params, flattenArrays = false) {
38394
38394
  const searchParams = new URLSearchParams();
38395
38395
  Object.entries(params).forEach(([key, value]) => {
@@ -38401,7 +38401,7 @@ function buildSearchParams(params, flattenArrays = false) {
38401
38401
  return searchParams;
38402
38402
  }
38403
38403
  //#endregion
38404
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.56_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_077408ac3365945bac6d015e6fab91dd/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38404
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.58_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60798b972129b5d05c9f2b3243c39264/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38405
38405
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38406
38406
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38407
38407
  }
@@ -38415,7 +38415,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38415
38415
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38416
38416
  }
38417
38417
  //#endregion
38418
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.56_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_077408ac3365945bac6d015e6fab91dd/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38418
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.58_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60798b972129b5d05c9f2b3243c39264/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38419
38419
  async function getWorkspaces(httpClient, organization_id, signal) {
38420
38420
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38421
38421
  }
@@ -38435,7 +38435,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38435
38435
  });
38436
38436
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38437
38437
  //#endregion
38438
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.56_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_077408ac3365945bac6d015e6fab91dd/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38438
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.58_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60798b972129b5d05c9f2b3243c39264/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38439
38439
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38440
38440
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38441
38441
  signal,
@@ -38446,12 +38446,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38446
38446
  })).json();
38447
38447
  }
38448
38448
  //#endregion
38449
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.56_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_077408ac3365945bac6d015e6fab91dd/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38449
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.58_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60798b972129b5d05c9f2b3243c39264/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38450
38450
  async function getStatus(httpClient, signal) {
38451
38451
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38452
38452
  }
38453
38453
  //#endregion
38454
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.56_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_077408ac3365945bac6d015e6fab91dd/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38454
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.58_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60798b972129b5d05c9f2b3243c39264/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38455
38455
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38456
38456
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38457
38457
  signal,
@@ -38479,7 +38479,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38479
38479
  return response.json();
38480
38480
  }
38481
38481
  //#endregion
38482
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.56_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_077408ac3365945bac6d015e6fab91dd/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38482
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.58_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60798b972129b5d05c9f2b3243c39264/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38483
38483
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38484
38484
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38485
38485
  }
@@ -54877,7 +54877,7 @@ function registerWorkspaceTools(server) {
54877
54877
  //#region src/package-version.ts
54878
54878
  function mcpPackageVersion() {
54879
54879
  try {
54880
- return "1.11.58";
54880
+ return "1.11.59";
54881
54881
  } catch {
54882
54882
  return "unknown";
54883
54883
  }
@@ -55052,7 +55052,7 @@ import_main.default.config({
55052
55052
  quiet: true,
55053
55053
  ignore: ["MISSING_ENV_FILE"]
55054
55054
  });
55055
- const packageVersion = "1.11.58";
55055
+ const packageVersion = "1.11.59";
55056
55056
  function resolvePublicUrls() {
55057
55057
  return {
55058
55058
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55117,4 +55117,4 @@ function bootstrapServer(options = {}) {
55117
55117
  //#endregion
55118
55118
  export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
55119
55119
 
55120
- //# sourceMappingURL=src-DHbGwJ9Y.js.map
55120
+ //# sourceMappingURL=src-CGE3aOAk.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.58",
3
+ "version": "1.11.59",
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",