@togglhq/mcp 1.13.236 → 1.13.238

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 PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-D00auYyq.js";
2
+ import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-CFG7ZtYc.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.13.236";
165
+ const packageVersion = "1.13.238";
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 { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-D00auYyq.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-CFG7ZtYc.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -34775,6 +34775,11 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
34775
34775
  })),
34776
34776
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
34777
34777
  });
34778
+ const RecurringPatternSchema = /* @__PURE__ */ object({
34779
+ duration_mins: /* @__PURE__ */ number(),
34780
+ start_time: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The local time in timezone, HH:MM.")),
34781
+ timezone: /* @__PURE__ */ string()
34782
+ });
34778
34783
  const StatusTypeSchema = /* @__PURE__ */ picklist([
34779
34784
  "todo",
34780
34785
  "done",
@@ -34835,7 +34840,8 @@ const TaskSchema = /* @__PURE__ */ object({
34835
34840
  project: /* @__PURE__ */ optional(ProjectLiteSchema),
34836
34841
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34837
34842
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34838
- recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped."))),
34843
+ recurring_pattern: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(RecurringPatternSchema, /* @__PURE__ */ description("The planned time of the task's series; omitted for a normal task, a deleted series and a series without one."))),
34844
+ recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped or is deleted."))),
34839
34845
  recurring_series_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("The series this task is an occurrence of; omitted for a normal task. Only the server sets it."))),
34840
34846
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34841
34847
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -34894,7 +34900,8 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34894
34900
  project: /* @__PURE__ */ optional(ProjectLiteSchema),
34895
34901
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34896
34902
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34897
- recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped."))),
34903
+ recurring_pattern: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(RecurringPatternSchema, /* @__PURE__ */ description("The planned time of the task's series; omitted for a normal task, a deleted series and a series without one."))),
34904
+ recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped or is deleted."))),
34898
34905
  recurring_series_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("The series this task is an occurrence of; omitted for a normal task. Only the server sets it."))),
34899
34906
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34900
34907
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35224,7 +35231,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35224
35231
  project: /* @__PURE__ */ optional(ProjectLiteSchema),
35225
35232
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35226
35233
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35227
- recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped."))),
35234
+ recurring_pattern: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(RecurringPatternSchema, /* @__PURE__ */ description("The planned time of the task's series; omitted for a normal task, a deleted series and a series without one."))),
35235
+ recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped or is deleted."))),
35228
35236
  recurring_series_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("The series this task is an occurrence of; omitted for a normal task. Only the server sets it."))),
35229
35237
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35230
35238
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -38682,7 +38690,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38682
38690
  ]))
38683
38691
  });
38684
38692
  //#endregion
38685
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38693
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38686
38694
  async function getInvitations(httpClient, signal) {
38687
38695
  return (await httpClient.get(`invitations`, { signal })).json();
38688
38696
  }
@@ -38699,7 +38707,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38699
38707
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38700
38708
  }
38701
38709
  //#endregion
38702
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38710
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38703
38711
  function buildSearchParams(params, flattenArrays = false) {
38704
38712
  const searchParams = new URLSearchParams();
38705
38713
  Object.entries(params).forEach(([key, value]) => {
@@ -38711,7 +38719,7 @@ function buildSearchParams(params, flattenArrays = false) {
38711
38719
  return searchParams;
38712
38720
  }
38713
38721
  //#endregion
38714
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38722
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38715
38723
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38716
38724
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38717
38725
  }
@@ -38726,7 +38734,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38726
38734
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38727
38735
  }
38728
38736
  //#endregion
38729
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38737
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38730
38738
  async function getWorkspaces(httpClient, organization_id, signal) {
38731
38739
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38732
38740
  }
@@ -38746,7 +38754,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38746
38754
  });
38747
38755
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38748
38756
  //#endregion
38749
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38757
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38750
38758
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38751
38759
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38752
38760
  signal,
@@ -38757,12 +38765,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38757
38765
  })).json();
38758
38766
  }
38759
38767
  //#endregion
38760
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38768
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38761
38769
  async function getStatus(httpClient, signal) {
38762
38770
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38763
38771
  }
38764
38772
  //#endregion
38765
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38773
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38766
38774
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38767
38775
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38768
38776
  signal,
@@ -38790,7 +38798,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38790
38798
  return response.json();
38791
38799
  }
38792
38800
  //#endregion
38793
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38801
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38794
38802
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38795
38803
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38796
38804
  }
@@ -61014,7 +61022,7 @@ function registerWorkspaceTools(server) {
61014
61022
  //#region src/package-version.ts
61015
61023
  function mcpPackageVersion() {
61016
61024
  try {
61017
- return "1.13.236";
61025
+ return "1.13.238";
61018
61026
  } catch {
61019
61027
  return "unknown";
61020
61028
  }
@@ -61196,7 +61204,7 @@ import_main.default.config({
61196
61204
  quiet: true,
61197
61205
  ignore: ["MISSING_ENV_FILE"]
61198
61206
  });
61199
- const packageVersion = "1.13.236";
61207
+ const packageVersion = "1.13.238";
61200
61208
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61201
61209
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61202
61210
  function resolvePublicUrls() {
@@ -61316,4 +61324,4 @@ function bootstrapServer(options = {}) {
61316
61324
  //#endregion
61317
61325
  export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
61318
61326
 
61319
- //# sourceMappingURL=src-D00auYyq.js.map
61327
+ //# sourceMappingURL=src-CFG7ZtYc.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.236",
3
+ "version": "1.13.238",
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",