@togglhq/mcp 1.11.73 → 1.11.75

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-Bwou3m38.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-DqNdwFc7.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.73";
168
+ const packageVersion = "1.11.75";
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-Bwou3m38.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-DqNdwFc7.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",
@@ -38208,7 +38188,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38208
38188
  ]))
38209
38189
  });
38210
38190
  //#endregion
38211
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.72_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a7b9cc7c1213385fc1887e389d6b502a/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38191
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38212
38192
  async function getInvitations(httpClient, signal) {
38213
38193
  return (await httpClient.get(`invitations`, { signal })).json();
38214
38194
  }
@@ -38225,7 +38205,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38225
38205
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38226
38206
  }
38227
38207
  //#endregion
38228
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.72_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a7b9cc7c1213385fc1887e389d6b502a/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38208
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38229
38209
  function buildSearchParams(params, flattenArrays = false) {
38230
38210
  const searchParams = new URLSearchParams();
38231
38211
  Object.entries(params).forEach(([key, value]) => {
@@ -38237,7 +38217,7 @@ function buildSearchParams(params, flattenArrays = false) {
38237
38217
  return searchParams;
38238
38218
  }
38239
38219
  //#endregion
38240
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.72_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a7b9cc7c1213385fc1887e389d6b502a/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38220
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38241
38221
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38242
38222
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38243
38223
  }
@@ -38251,7 +38231,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38251
38231
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38252
38232
  }
38253
38233
  //#endregion
38254
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.72_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a7b9cc7c1213385fc1887e389d6b502a/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38234
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38255
38235
  async function getWorkspaces(httpClient, organization_id, signal) {
38256
38236
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38257
38237
  }
@@ -38271,7 +38251,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38271
38251
  });
38272
38252
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38273
38253
  //#endregion
38274
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.72_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a7b9cc7c1213385fc1887e389d6b502a/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38254
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38275
38255
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38276
38256
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38277
38257
  signal,
@@ -38282,12 +38262,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38282
38262
  })).json();
38283
38263
  }
38284
38264
  //#endregion
38285
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.72_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a7b9cc7c1213385fc1887e389d6b502a/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38265
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38286
38266
  async function getStatus(httpClient, signal) {
38287
38267
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38288
38268
  }
38289
38269
  //#endregion
38290
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.72_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a7b9cc7c1213385fc1887e389d6b502a/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38270
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38291
38271
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38292
38272
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38293
38273
  signal,
@@ -38315,7 +38295,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38315
38295
  return response.json();
38316
38296
  }
38317
38297
  //#endregion
38318
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.72_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a7b9cc7c1213385fc1887e389d6b502a/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38298
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38319
38299
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38320
38300
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38321
38301
  }
@@ -54723,7 +54703,7 @@ function registerWorkspaceTools(server) {
54723
54703
  //#region src/package-version.ts
54724
54704
  function mcpPackageVersion() {
54725
54705
  try {
54726
- return "1.11.73";
54706
+ return "1.11.75";
54727
54707
  } catch {
54728
54708
  return "unknown";
54729
54709
  }
@@ -54898,7 +54878,7 @@ import_main.default.config({
54898
54878
  quiet: true,
54899
54879
  ignore: ["MISSING_ENV_FILE"]
54900
54880
  });
54901
- const packageVersion = "1.11.73";
54881
+ const packageVersion = "1.11.75";
54902
54882
  function resolvePublicUrls() {
54903
54883
  return {
54904
54884
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -54963,4 +54943,4 @@ function bootstrapServer(options = {}) {
54963
54943
  //#endregion
54964
54944
  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 };
54965
54945
 
54966
- //# sourceMappingURL=src-Bwou3m38.js.map
54946
+ //# sourceMappingURL=src-DqNdwFc7.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.73",
3
+ "version": "1.11.75",
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",