@togglhq/mcp 1.13.316 → 1.13.318

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-B98KExKj.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-DSHrUI1l.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.316";
165
+ const packageVersion = "1.13.318";
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-B98KExKj.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DSHrUI1l.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -38515,7 +38515,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38515
38515
  if ([204, 205].includes(response.status)) return null;
38516
38516
  return response.json();
38517
38517
  }
38518
- async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, project_completed, project_draft, expand_calendar_event }, signal) {
38518
+ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, project_completed, project_draft, expand_calendar_event, include_lock_reason }, signal) {
38519
38519
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38520
38520
  signal,
38521
38521
  searchParams: buildSearchParams$2({
@@ -38530,7 +38530,8 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38530
38530
  include_taskless,
38531
38531
  project_completed,
38532
38532
  project_draft,
38533
- expand_calendar_event
38533
+ expand_calendar_event,
38534
+ include_lock_reason
38534
38535
  })
38535
38536
  })).json();
38536
38537
  }
@@ -38706,7 +38707,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38706
38707
  ]))
38707
38708
  });
38708
38709
  //#endregion
38709
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38710
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38710
38711
  async function getInvitations(httpClient, signal) {
38711
38712
  return (await httpClient.get(`invitations`, { signal })).json();
38712
38713
  }
@@ -38723,7 +38724,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38723
38724
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38724
38725
  }
38725
38726
  //#endregion
38726
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38727
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38727
38728
  function buildSearchParams(params, flattenArrays = false) {
38728
38729
  const searchParams = new URLSearchParams();
38729
38730
  Object.entries(params).forEach(([key, value]) => {
@@ -38735,7 +38736,7 @@ function buildSearchParams(params, flattenArrays = false) {
38735
38736
  return searchParams;
38736
38737
  }
38737
38738
  //#endregion
38738
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38739
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38739
38740
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38740
38741
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38741
38742
  }
@@ -38750,7 +38751,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38750
38751
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38751
38752
  }
38752
38753
  //#endregion
38753
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38754
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38754
38755
  async function getWorkspaces(httpClient, organization_id, signal) {
38755
38756
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38756
38757
  }
@@ -38770,7 +38771,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38770
38771
  });
38771
38772
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38772
38773
  //#endregion
38773
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38774
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38774
38775
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38775
38776
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38776
38777
  signal,
@@ -38781,12 +38782,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38781
38782
  })).json();
38782
38783
  }
38783
38784
  //#endregion
38784
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38785
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38785
38786
  async function getStatus(httpClient, signal) {
38786
38787
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38787
38788
  }
38788
38789
  //#endregion
38789
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38790
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38790
38791
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38791
38792
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38792
38793
  signal,
@@ -38814,7 +38815,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38814
38815
  return response.json();
38815
38816
  }
38816
38817
  //#endregion
38817
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38818
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38818
38819
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38819
38820
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38820
38821
  }
@@ -57469,6 +57470,7 @@ const generatedFocusOperations = [
57469
57470
  date_from: /* @__PURE__ */ unknown$1(),
57470
57471
  date_to: /* @__PURE__ */ unknown$1(),
57471
57472
  expand_calendar_event: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
57473
+ include_lock_reason: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
57472
57474
  include_taskless: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
57473
57475
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
57474
57476
  project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -61889,7 +61891,7 @@ function registerWorkspaceTools(server) {
61889
61891
  //#region src/package-version.ts
61890
61892
  function mcpPackageVersion() {
61891
61893
  try {
61892
- return "1.13.316";
61894
+ return "1.13.318";
61893
61895
  } catch {
61894
61896
  return "unknown";
61895
61897
  }
@@ -62071,7 +62073,7 @@ import_main.default.config({
62071
62073
  quiet: true,
62072
62074
  ignore: ["MISSING_ENV_FILE"]
62073
62075
  });
62074
- const packageVersion = "1.13.316";
62076
+ const packageVersion = "1.13.318";
62075
62077
  const MCP_CACHE_TTL_MS = 300 * 1e3;
62076
62078
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
62077
62079
  function resolvePublicUrls() {
@@ -62191,4 +62193,4 @@ function bootstrapServer(options = {}) {
62191
62193
  //#endregion
62192
62194
  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 };
62193
62195
 
62194
- //# sourceMappingURL=src-B98KExKj.js.map
62196
+ //# sourceMappingURL=src-DSHrUI1l.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.316",
3
+ "version": "1.13.318",
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",