@togglhq/mcp 1.13.301 → 1.13.303

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-PrL_s3ri.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-vukpWARW.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.301";
165
+ const packageVersion = "1.13.303";
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-PrL_s3ri.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-vukpWARW.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -35563,11 +35563,11 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35563
35563
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35564
35564
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35565
35565
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35566
- recurring_pattern: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
35566
+ recurring_pattern: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
35567
35567
  duration_mins: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(1), /* @__PURE__ */ maxValue(1440)),
35568
35568
  start_time: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The local time in timezone, HH:MM.")),
35569
35569
  timezone: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ maxLength(64))
35570
- }), /* @__PURE__ */ description("The planned time of the series, sent only with a recurring_rule that makes the task repeat."))),
35570
+ })), /* @__PURE__ */ description("The planned time of the series: sent with a recurring_rule that makes the task repeat, it sets it up. On an occurrence, sent alone with scope=following or all, it adds the planned time or changes it, and null stops it."))),
35571
35571
  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."))),
35572
35572
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35573
35573
  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."))),
@@ -38703,7 +38703,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38703
38703
  ]))
38704
38704
  });
38705
38705
  //#endregion
38706
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38706
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38707
38707
  async function getInvitations(httpClient, signal) {
38708
38708
  return (await httpClient.get(`invitations`, { signal })).json();
38709
38709
  }
@@ -38720,7 +38720,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38720
38720
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38721
38721
  }
38722
38722
  //#endregion
38723
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38723
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38724
38724
  function buildSearchParams(params, flattenArrays = false) {
38725
38725
  const searchParams = new URLSearchParams();
38726
38726
  Object.entries(params).forEach(([key, value]) => {
@@ -38732,7 +38732,7 @@ function buildSearchParams(params, flattenArrays = false) {
38732
38732
  return searchParams;
38733
38733
  }
38734
38734
  //#endregion
38735
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38735
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38736
38736
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38737
38737
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38738
38738
  }
@@ -38747,7 +38747,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38747
38747
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38748
38748
  }
38749
38749
  //#endregion
38750
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38750
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38751
38751
  async function getWorkspaces(httpClient, organization_id, signal) {
38752
38752
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38753
38753
  }
@@ -38767,7 +38767,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38767
38767
  });
38768
38768
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38769
38769
  //#endregion
38770
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38770
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38771
38771
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38772
38772
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38773
38773
  signal,
@@ -38778,12 +38778,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38778
38778
  })).json();
38779
38779
  }
38780
38780
  //#endregion
38781
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38781
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38782
38782
  async function getStatus(httpClient, signal) {
38783
38783
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38784
38784
  }
38785
38785
  //#endregion
38786
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38786
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38787
38787
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38788
38788
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38789
38789
  signal,
@@ -38811,7 +38811,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38811
38811
  return response.json();
38812
38812
  }
38813
38813
  //#endregion
38814
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38814
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38815
38815
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38816
38816
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38817
38817
  }
@@ -61646,7 +61646,7 @@ function registerWorkspaceTools(server) {
61646
61646
  //#region src/package-version.ts
61647
61647
  function mcpPackageVersion() {
61648
61648
  try {
61649
- return "1.13.301";
61649
+ return "1.13.303";
61650
61650
  } catch {
61651
61651
  return "unknown";
61652
61652
  }
@@ -61828,7 +61828,7 @@ import_main.default.config({
61828
61828
  quiet: true,
61829
61829
  ignore: ["MISSING_ENV_FILE"]
61830
61830
  });
61831
- const packageVersion = "1.13.301";
61831
+ const packageVersion = "1.13.303";
61832
61832
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61833
61833
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61834
61834
  function resolvePublicUrls() {
@@ -61948,4 +61948,4 @@ function bootstrapServer(options = {}) {
61948
61948
  //#endregion
61949
61949
  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 };
61950
61950
 
61951
- //# sourceMappingURL=src-PrL_s3ri.js.map
61951
+ //# sourceMappingURL=src-vukpWARW.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.301",
3
+ "version": "1.13.303",
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",