@togglhq/mcp 1.13.48 → 1.13.50

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-CKeK3Glh.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-DGj6TlKF.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.48";
165
+ const packageVersion = "1.13.50";
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-CKeK3Glh.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DGj6TlKF.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -34750,6 +34750,10 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
34750
34750
  external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34751
34751
  ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34752
34752
  last_asserted_track_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("LastAssertedTrackProjectID is the Track planned_task.project_id that the Focus→Track mirror last successfully wrote for this task. Track→Focus uses it to distinguish a stale echo (Track still holds this value after a Focus-side project move) from an intentional Track-side project move. Internal mirror state, written by toggl_api focus_sync_worker; not user-facing."))),
34753
+ last_integration_dates: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
34754
+ end: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34755
+ start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))
34756
+ }), /* @__PURE__ */ description("LastIntegrationDates are the start and end dates the task's integration last sent. Integration sync overwrites the task's dates only when the source's dates differ from these, so dates set in Focus survive unrelated source edits. Internal sync state; not user-facing."))),
34753
34757
  meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34754
34758
  project_assignment: /* @__PURE__ */ optional(/* @__PURE__ */ object({
34755
34759
  origin: /* @__PURE__ */ picklist([
@@ -38453,7 +38457,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38453
38457
  ]))
38454
38458
  });
38455
38459
  //#endregion
38456
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38460
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38457
38461
  async function getInvitations(httpClient, signal) {
38458
38462
  return (await httpClient.get(`invitations`, { signal })).json();
38459
38463
  }
@@ -38470,7 +38474,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38470
38474
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38471
38475
  }
38472
38476
  //#endregion
38473
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38477
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38474
38478
  function buildSearchParams(params, flattenArrays = false) {
38475
38479
  const searchParams = new URLSearchParams();
38476
38480
  Object.entries(params).forEach(([key, value]) => {
@@ -38482,7 +38486,7 @@ function buildSearchParams(params, flattenArrays = false) {
38482
38486
  return searchParams;
38483
38487
  }
38484
38488
  //#endregion
38485
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38489
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38486
38490
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38487
38491
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38488
38492
  }
@@ -38496,7 +38500,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38496
38500
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38497
38501
  }
38498
38502
  //#endregion
38499
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38503
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38500
38504
  async function getWorkspaces(httpClient, organization_id, signal) {
38501
38505
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38502
38506
  }
@@ -38516,7 +38520,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38516
38520
  });
38517
38521
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38518
38522
  //#endregion
38519
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38523
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38520
38524
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38521
38525
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38522
38526
  signal,
@@ -38527,12 +38531,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38527
38531
  })).json();
38528
38532
  }
38529
38533
  //#endregion
38530
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38534
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38531
38535
  async function getStatus(httpClient, signal) {
38532
38536
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38533
38537
  }
38534
38538
  //#endregion
38535
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38539
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38536
38540
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38537
38541
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38538
38542
  signal,
@@ -38560,7 +38564,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38560
38564
  return response.json();
38561
38565
  }
38562
38566
  //#endregion
38563
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38567
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.245_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_60e07bb58dc3fa5bf96f85332219a3d9/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38564
38568
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38565
38569
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38566
38570
  }
@@ -57262,7 +57266,7 @@ function registerWorkspaceTools(server) {
57262
57266
  //#region src/package-version.ts
57263
57267
  function mcpPackageVersion() {
57264
57268
  try {
57265
- return "1.13.48";
57269
+ return "1.13.50";
57266
57270
  } catch {
57267
57271
  return "unknown";
57268
57272
  }
@@ -57443,7 +57447,7 @@ import_main.default.config({
57443
57447
  quiet: true,
57444
57448
  ignore: ["MISSING_ENV_FILE"]
57445
57449
  });
57446
- const packageVersion = "1.13.48";
57450
+ const packageVersion = "1.13.50";
57447
57451
  const MCP_CACHE_TTL_MS = 300 * 1e3;
57448
57452
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
57449
57453
  function resolvePublicUrls() {
@@ -57563,4 +57567,4 @@ function bootstrapServer(options = {}) {
57563
57567
  //#endregion
57564
57568
  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 };
57565
57569
 
57566
- //# sourceMappingURL=src-CKeK3Glh.js.map
57570
+ //# sourceMappingURL=src-DGj6TlKF.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.48",
3
+ "version": "1.13.50",
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",