@togglhq/mcp 1.13.238 → 1.13.239

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-CFG7ZtYc.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-B8rpfX_z.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.238";
165
+ const packageVersion = "1.13.239";
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-CFG7ZtYc.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-B8rpfX_z.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -35556,7 +35556,12 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35556
35556
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35557
35557
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35558
35558
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35559
- recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ string()), /* @__PURE__ */ description("Makes the task repeat (PATCH /tasks/{id} only, sent alone): an RRULE whose DTSTART gives the dates if none are set. On an occurrence, a rule sent with scope=following or all changes the series' rule, or starts a stopped series again, and null stops the series; an empty string is invalid."))),
35559
+ recurring_pattern: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
35560
+ duration_mins: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(1), /* @__PURE__ */ maxValue(1440)),
35561
+ start_time: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The local time in timezone, HH:MM.")),
35562
+ timezone: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ maxLength(64))
35563
+ }), /* @__PURE__ */ description("The planned time of the series, sent only with a recurring_rule that makes the task repeat."))),
35564
+ recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ string()), /* @__PURE__ */ description("Makes the task repeat (PATCH /tasks/{id} only, sent alone or with recurring_pattern): an RRULE whose DTSTART gives the dates if none are set. On an occurrence, a rule sent with scope=following or all changes the series' rule, or starts a stopped series again, and null stops the series; an empty string is invalid."))),
35560
35565
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35561
35566
  repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
35562
35567
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -38690,7 +38695,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38690
38695
  ]))
38691
38696
  });
38692
38697
  //#endregion
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
38698
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38694
38699
  async function getInvitations(httpClient, signal) {
38695
38700
  return (await httpClient.get(`invitations`, { signal })).json();
38696
38701
  }
@@ -38707,7 +38712,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38707
38712
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38708
38713
  }
38709
38714
  //#endregion
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
38715
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38711
38716
  function buildSearchParams(params, flattenArrays = false) {
38712
38717
  const searchParams = new URLSearchParams();
38713
38718
  Object.entries(params).forEach(([key, value]) => {
@@ -38719,7 +38724,7 @@ function buildSearchParams(params, flattenArrays = false) {
38719
38724
  return searchParams;
38720
38725
  }
38721
38726
  //#endregion
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
38727
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38723
38728
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38724
38729
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38725
38730
  }
@@ -38734,7 +38739,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38734
38739
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38735
38740
  }
38736
38741
  //#endregion
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
38742
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38738
38743
  async function getWorkspaces(httpClient, organization_id, signal) {
38739
38744
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38740
38745
  }
@@ -38754,7 +38759,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38754
38759
  });
38755
38760
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38756
38761
  //#endregion
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
38762
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38758
38763
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38759
38764
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38760
38765
  signal,
@@ -38765,12 +38770,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38765
38770
  })).json();
38766
38771
  }
38767
38772
  //#endregion
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
38773
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38769
38774
  async function getStatus(httpClient, signal) {
38770
38775
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38771
38776
  }
38772
38777
  //#endregion
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
38778
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38774
38779
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38775
38780
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38776
38781
  signal,
@@ -38798,7 +38803,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38798
38803
  return response.json();
38799
38804
  }
38800
38805
  //#endregion
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
38806
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38802
38807
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38803
38808
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38804
38809
  }
@@ -61022,7 +61027,7 @@ function registerWorkspaceTools(server) {
61022
61027
  //#region src/package-version.ts
61023
61028
  function mcpPackageVersion() {
61024
61029
  try {
61025
- return "1.13.238";
61030
+ return "1.13.239";
61026
61031
  } catch {
61027
61032
  return "unknown";
61028
61033
  }
@@ -61204,7 +61209,7 @@ import_main.default.config({
61204
61209
  quiet: true,
61205
61210
  ignore: ["MISSING_ENV_FILE"]
61206
61211
  });
61207
- const packageVersion = "1.13.238";
61212
+ const packageVersion = "1.13.239";
61208
61213
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61209
61214
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61210
61215
  function resolvePublicUrls() {
@@ -61324,4 +61329,4 @@ function bootstrapServer(options = {}) {
61324
61329
  //#endregion
61325
61330
  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 };
61326
61331
 
61327
- //# sourceMappingURL=src-CFG7ZtYc.js.map
61332
+ //# sourceMappingURL=src-B8rpfX_z.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.238",
3
+ "version": "1.13.239",
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",