@togglhq/mcp 1.11.201 → 1.11.203

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 getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-E4ov9x0n.js";
2
+ import { a as getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-Bcpd7Uh5.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.11.201";
165
+ const packageVersion = "1.11.203";
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 { n as runMcpCli, t as bootstrapServer } from "./src-E4ov9x0n.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-Bcpd7Uh5.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -38302,7 +38302,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38302
38302
  ]))
38303
38303
  });
38304
38304
  //#endregion
38305
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.171_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_53d5d776b4a683093a6e91c468d4e28d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38305
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.172_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_72aa2d7f8c76e90b08aceb247e1c8e7b/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38306
38306
  async function getInvitations(httpClient, signal) {
38307
38307
  return (await httpClient.get(`invitations`, { signal })).json();
38308
38308
  }
@@ -38319,7 +38319,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38319
38319
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38320
38320
  }
38321
38321
  //#endregion
38322
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.171_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_53d5d776b4a683093a6e91c468d4e28d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38322
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.172_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_72aa2d7f8c76e90b08aceb247e1c8e7b/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38323
38323
  function buildSearchParams(params, flattenArrays = false) {
38324
38324
  const searchParams = new URLSearchParams();
38325
38325
  Object.entries(params).forEach(([key, value]) => {
@@ -38331,7 +38331,7 @@ function buildSearchParams(params, flattenArrays = false) {
38331
38331
  return searchParams;
38332
38332
  }
38333
38333
  //#endregion
38334
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.171_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_53d5d776b4a683093a6e91c468d4e28d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38334
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.172_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_72aa2d7f8c76e90b08aceb247e1c8e7b/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38335
38335
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38336
38336
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38337
38337
  }
@@ -38345,7 +38345,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38345
38345
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38346
38346
  }
38347
38347
  //#endregion
38348
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.171_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_53d5d776b4a683093a6e91c468d4e28d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38348
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.172_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_72aa2d7f8c76e90b08aceb247e1c8e7b/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38349
38349
  async function getWorkspaces(httpClient, organization_id, signal) {
38350
38350
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38351
38351
  }
@@ -38365,7 +38365,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38365
38365
  });
38366
38366
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38367
38367
  //#endregion
38368
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.171_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_53d5d776b4a683093a6e91c468d4e28d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38368
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.172_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_72aa2d7f8c76e90b08aceb247e1c8e7b/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38369
38369
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38370
38370
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38371
38371
  signal,
@@ -38376,12 +38376,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38376
38376
  })).json();
38377
38377
  }
38378
38378
  //#endregion
38379
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.171_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_53d5d776b4a683093a6e91c468d4e28d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38379
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.172_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_72aa2d7f8c76e90b08aceb247e1c8e7b/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38380
38380
  async function getStatus(httpClient, signal) {
38381
38381
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38382
38382
  }
38383
38383
  //#endregion
38384
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.171_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_53d5d776b4a683093a6e91c468d4e28d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38384
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.172_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_72aa2d7f8c76e90b08aceb247e1c8e7b/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38385
38385
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38386
38386
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38387
38387
  signal,
@@ -38409,7 +38409,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38409
38409
  return response.json();
38410
38410
  }
38411
38411
  //#endregion
38412
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.171_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_53d5d776b4a683093a6e91c468d4e28d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38412
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.172_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_72aa2d7f8c76e90b08aceb247e1c8e7b/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38413
38413
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38414
38414
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38415
38415
  }
@@ -56124,7 +56124,7 @@ function registerWorkspaceTools(server) {
56124
56124
  //#region src/package-version.ts
56125
56125
  function mcpPackageVersion() {
56126
56126
  try {
56127
- return "1.11.201";
56127
+ return "1.11.203";
56128
56128
  } catch {
56129
56129
  return "unknown";
56130
56130
  }
@@ -56299,7 +56299,7 @@ import_main.default.config({
56299
56299
  quiet: true,
56300
56300
  ignore: ["MISSING_ENV_FILE"]
56301
56301
  });
56302
- const packageVersion = "1.11.201";
56302
+ const packageVersion = "1.11.203";
56303
56303
  function resolvePublicUrls() {
56304
56304
  return {
56305
56305
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56364,4 +56364,4 @@ function bootstrapServer(options = {}) {
56364
56364
  //#endregion
56365
56365
  export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
56366
56366
 
56367
- //# sourceMappingURL=src-E4ov9x0n.js.map
56367
+ //# sourceMappingURL=src-Bcpd7Uh5.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.201",
3
+ "version": "1.11.203",
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",