@togglhq/mcp 1.11.23 → 1.11.25

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-CJHazAc5.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-D5d4Pijz.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.23";
168
+ const packageVersion = "1.11.25";
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-CJHazAc5.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-D5d4Pijz.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -38431,7 +38431,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38431
38431
  ]))
38432
38432
  });
38433
38433
  //#endregion
38434
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.36_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4f75fc8bfde5a10800df658c6270273b/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38434
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.38_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1343532ad181c1301a8081233308410/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38435
38435
  async function getInvitations(httpClient, signal) {
38436
38436
  return (await httpClient.get(`invitations`, { signal })).json();
38437
38437
  }
@@ -38448,7 +38448,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38448
38448
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38449
38449
  }
38450
38450
  //#endregion
38451
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.36_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4f75fc8bfde5a10800df658c6270273b/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38451
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.38_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1343532ad181c1301a8081233308410/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38452
38452
  function buildSearchParams(params, flattenArrays = false) {
38453
38453
  const searchParams = new URLSearchParams();
38454
38454
  Object.entries(params).forEach(([key, value]) => {
@@ -38460,7 +38460,7 @@ function buildSearchParams(params, flattenArrays = false) {
38460
38460
  return searchParams;
38461
38461
  }
38462
38462
  //#endregion
38463
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.36_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4f75fc8bfde5a10800df658c6270273b/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38463
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.38_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1343532ad181c1301a8081233308410/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38464
38464
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38465
38465
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38466
38466
  }
@@ -38474,7 +38474,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38474
38474
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38475
38475
  }
38476
38476
  //#endregion
38477
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.36_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4f75fc8bfde5a10800df658c6270273b/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38477
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.38_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1343532ad181c1301a8081233308410/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38478
38478
  async function getWorkspaces(httpClient, organization_id, signal) {
38479
38479
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38480
38480
  }
@@ -38494,7 +38494,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38494
38494
  });
38495
38495
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38496
38496
  //#endregion
38497
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.36_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4f75fc8bfde5a10800df658c6270273b/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38497
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.38_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1343532ad181c1301a8081233308410/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38498
38498
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38499
38499
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38500
38500
  signal,
@@ -38505,12 +38505,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38505
38505
  })).json();
38506
38506
  }
38507
38507
  //#endregion
38508
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.36_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4f75fc8bfde5a10800df658c6270273b/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38508
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.38_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1343532ad181c1301a8081233308410/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38509
38509
  async function getStatus(httpClient, signal) {
38510
38510
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38511
38511
  }
38512
38512
  //#endregion
38513
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.36_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4f75fc8bfde5a10800df658c6270273b/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38513
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.38_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1343532ad181c1301a8081233308410/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38514
38514
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38515
38515
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38516
38516
  signal,
@@ -38538,7 +38538,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38538
38538
  return response.json();
38539
38539
  }
38540
38540
  //#endregion
38541
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.36_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4f75fc8bfde5a10800df658c6270273b/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38541
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.38_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1343532ad181c1301a8081233308410/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38542
38542
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38543
38543
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38544
38544
  }
@@ -55131,7 +55131,7 @@ function registerWorkspaceTools(server) {
55131
55131
  //#region src/package-version.ts
55132
55132
  function mcpPackageVersion() {
55133
55133
  try {
55134
- return "1.11.23";
55134
+ return "1.11.25";
55135
55135
  } catch {
55136
55136
  return "unknown";
55137
55137
  }
@@ -55306,7 +55306,7 @@ import_main.default.config({
55306
55306
  quiet: true,
55307
55307
  ignore: ["MISSING_ENV_FILE"]
55308
55308
  });
55309
- const packageVersion = "1.11.23";
55309
+ const packageVersion = "1.11.25";
55310
55310
  function resolvePublicUrls() {
55311
55311
  return {
55312
55312
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55371,4 +55371,4 @@ function bootstrapServer(options = {}) {
55371
55371
  //#endregion
55372
55372
  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 };
55373
55373
 
55374
- //# sourceMappingURL=src-CJHazAc5.js.map
55374
+ //# sourceMappingURL=src-D5d4Pijz.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.23",
3
+ "version": "1.11.25",
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",