@togglhq/mcp 1.13.157 → 1.13.159

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-BIqV0E3K.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-As0nYUc8.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.157";
165
+ const packageVersion = "1.13.159";
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-BIqV0E3K.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-As0nYUc8.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -37929,7 +37929,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37929
37929
  }
37930
37930
  //#endregion
37931
37931
  //#region ../focus-queries/dist/tasks/requests.ts
37932
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
37932
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
37933
37933
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37934
37934
  signal,
37935
37935
  searchParams: buildSearchParams$2({
@@ -37973,6 +37973,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37973
37973
  tag_id,
37974
37974
  recurring,
37975
37975
  recurring_task_ids,
37976
+ ids,
37976
37977
  client_id,
37977
37978
  include_rates,
37978
37979
  include_assignees,
@@ -38126,7 +38127,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
38126
38127
  })
38127
38128
  }).json();
38128
38129
  }
38129
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
38130
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, ids, client_id, include_assignees, cf_filter } = {}, signal) {
38130
38131
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
38131
38132
  signal,
38132
38133
  searchParams: buildSearchParams$2({
@@ -38169,6 +38170,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
38169
38170
  tag_id,
38170
38171
  recurring,
38171
38172
  recurring_task_ids,
38173
+ ids,
38172
38174
  client_id,
38173
38175
  include_assignees,
38174
38176
  cf_filter
@@ -38538,7 +38540,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38538
38540
  ]))
38539
38541
  });
38540
38542
  //#endregion
38541
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38543
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38542
38544
  async function getInvitations(httpClient, signal) {
38543
38545
  return (await httpClient.get(`invitations`, { signal })).json();
38544
38546
  }
@@ -38555,7 +38557,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38555
38557
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38556
38558
  }
38557
38559
  //#endregion
38558
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38560
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38559
38561
  function buildSearchParams(params, flattenArrays = false) {
38560
38562
  const searchParams = new URLSearchParams();
38561
38563
  Object.entries(params).forEach(([key, value]) => {
@@ -38567,7 +38569,7 @@ function buildSearchParams(params, flattenArrays = false) {
38567
38569
  return searchParams;
38568
38570
  }
38569
38571
  //#endregion
38570
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38572
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38571
38573
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38572
38574
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38573
38575
  }
@@ -38582,7 +38584,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38582
38584
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38583
38585
  }
38584
38586
  //#endregion
38585
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38587
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38586
38588
  async function getWorkspaces(httpClient, organization_id, signal) {
38587
38589
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38588
38590
  }
@@ -38602,7 +38604,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38602
38604
  });
38603
38605
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38604
38606
  //#endregion
38605
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38607
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38606
38608
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38607
38609
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38608
38610
  signal,
@@ -38613,12 +38615,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38613
38615
  })).json();
38614
38616
  }
38615
38617
  //#endregion
38616
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38618
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38617
38619
  async function getStatus(httpClient, signal) {
38618
38620
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38619
38621
  }
38620
38622
  //#endregion
38621
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38623
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38622
38624
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38623
38625
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38624
38626
  signal,
@@ -38646,7 +38648,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38646
38648
  return response.json();
38647
38649
  }
38648
38650
  //#endregion
38649
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38651
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38650
38652
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38651
38653
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38652
38654
  }
@@ -54146,6 +54148,7 @@ const generatedFocusOperations = [
54146
54148
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
54147
54149
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
54148
54150
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
54151
+ ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
54149
54152
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
54150
54153
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
54151
54154
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -59305,7 +59308,7 @@ function registerWorkspaceTools(server) {
59305
59308
  //#region src/package-version.ts
59306
59309
  function mcpPackageVersion() {
59307
59310
  try {
59308
- return "1.13.157";
59311
+ return "1.13.159";
59309
59312
  } catch {
59310
59313
  return "unknown";
59311
59314
  }
@@ -59486,7 +59489,7 @@ import_main.default.config({
59486
59489
  quiet: true,
59487
59490
  ignore: ["MISSING_ENV_FILE"]
59488
59491
  });
59489
- const packageVersion = "1.13.157";
59492
+ const packageVersion = "1.13.159";
59490
59493
  const MCP_CACHE_TTL_MS = 300 * 1e3;
59491
59494
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
59492
59495
  function resolvePublicUrls() {
@@ -59606,4 +59609,4 @@ function bootstrapServer(options = {}) {
59606
59609
  //#endregion
59607
59610
  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 };
59608
59611
 
59609
- //# sourceMappingURL=src-BIqV0E3K.js.map
59612
+ //# sourceMappingURL=src-As0nYUc8.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.157",
3
+ "version": "1.13.159",
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",