@togglhq/mcp 1.11.19 → 1.11.20

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-BDkKaiqO.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-D2NLtqv5.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.19";
168
+ const packageVersion = "1.11.20";
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-BDkKaiqO.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-D2NLtqv5.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -32773,10 +32773,6 @@ function _joinExpects$1(values$1, separator) {
32773
32773
  */
32774
32774
  const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
32775
32775
  /**
32776
- * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
32777
- */
32778
- const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
32779
- /**
32780
32776
  * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
32781
32777
  * space as a date/time separator and an optional space before the UTC offset.
32782
32778
  */
@@ -32830,22 +32826,6 @@ function isoDate$1(message$1) {
32830
32826
  };
32831
32827
  }
32832
32828
  /* @__NO_SIDE_EFFECTS__ */
32833
- function isoDateTime$1(message$1) {
32834
- return {
32835
- kind: "validation",
32836
- type: "iso_date_time",
32837
- reference: isoDateTime$1,
32838
- async: false,
32839
- expects: null,
32840
- requirement: ISO_DATE_TIME_REGEX$1,
32841
- message: message$1,
32842
- "~run"(dataset, config$1) {
32843
- if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
32844
- return dataset;
32845
- }
32846
- };
32847
- }
32848
- /* @__NO_SIDE_EFFECTS__ */
32849
32829
  function isoTimestamp(message$1) {
32850
32830
  return {
32851
32831
  kind: "validation",
@@ -38372,7 +38352,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38372
38352
  ]))
38373
38353
  });
38374
38354
  //#endregion
38375
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.28_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1377dce73253ea099bc6943b2548716/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38355
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.32_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_22cced4e1db8d0a26fe3fb0f9722c2cb/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38376
38356
  async function getInvitations(httpClient, signal) {
38377
38357
  return (await httpClient.get(`invitations`, { signal })).json();
38378
38358
  }
@@ -38389,7 +38369,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38389
38369
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38390
38370
  }
38391
38371
  //#endregion
38392
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.28_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1377dce73253ea099bc6943b2548716/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38372
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.32_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_22cced4e1db8d0a26fe3fb0f9722c2cb/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38393
38373
  function buildSearchParams(params, flattenArrays = false) {
38394
38374
  const searchParams = new URLSearchParams();
38395
38375
  Object.entries(params).forEach(([key, value]) => {
@@ -38401,7 +38381,7 @@ function buildSearchParams(params, flattenArrays = false) {
38401
38381
  return searchParams;
38402
38382
  }
38403
38383
  //#endregion
38404
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.28_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1377dce73253ea099bc6943b2548716/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38384
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.32_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_22cced4e1db8d0a26fe3fb0f9722c2cb/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38405
38385
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38406
38386
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38407
38387
  }
@@ -38415,7 +38395,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38415
38395
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38416
38396
  }
38417
38397
  //#endregion
38418
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.28_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1377dce73253ea099bc6943b2548716/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38398
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.32_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_22cced4e1db8d0a26fe3fb0f9722c2cb/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38419
38399
  async function getWorkspaces(httpClient, organization_id, signal) {
38420
38400
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38421
38401
  }
@@ -38435,7 +38415,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38435
38415
  });
38436
38416
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38437
38417
  //#endregion
38438
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.28_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1377dce73253ea099bc6943b2548716/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38418
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.32_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_22cced4e1db8d0a26fe3fb0f9722c2cb/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38439
38419
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38440
38420
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38441
38421
  signal,
@@ -38446,12 +38426,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38446
38426
  })).json();
38447
38427
  }
38448
38428
  //#endregion
38449
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.28_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1377dce73253ea099bc6943b2548716/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38429
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.32_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_22cced4e1db8d0a26fe3fb0f9722c2cb/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38450
38430
  async function getStatus(httpClient, signal) {
38451
38431
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38452
38432
  }
38453
38433
  //#endregion
38454
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.28_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1377dce73253ea099bc6943b2548716/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38434
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.32_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_22cced4e1db8d0a26fe3fb0f9722c2cb/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38455
38435
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38456
38436
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38457
38437
  signal,
@@ -38479,7 +38459,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38479
38459
  return response.json();
38480
38460
  }
38481
38461
  //#endregion
38482
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.28_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c1377dce73253ea099bc6943b2548716/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38462
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.32_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_22cced4e1db8d0a26fe3fb0f9722c2cb/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38483
38463
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38484
38464
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38485
38465
  }
@@ -54853,7 +54833,7 @@ function registerWorkspaceTools(server) {
54853
54833
  //#region src/package-version.ts
54854
54834
  function mcpPackageVersion() {
54855
54835
  try {
54856
- return "1.11.19";
54836
+ return "1.11.20";
54857
54837
  } catch {
54858
54838
  return "unknown";
54859
54839
  }
@@ -55028,7 +55008,7 @@ import_main.default.config({
55028
55008
  quiet: true,
55029
55009
  ignore: ["MISSING_ENV_FILE"]
55030
55010
  });
55031
- const packageVersion = "1.11.19";
55011
+ const packageVersion = "1.11.20";
55032
55012
  function resolvePublicUrls() {
55033
55013
  return {
55034
55014
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55093,4 +55073,4 @@ function bootstrapServer(options = {}) {
55093
55073
  //#endregion
55094
55074
  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 };
55095
55075
 
55096
- //# sourceMappingURL=src-BDkKaiqO.js.map
55076
+ //# sourceMappingURL=src-D2NLtqv5.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.19",
3
+ "version": "1.11.20",
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",