@togglhq/mcp 1.13.339 → 1.13.340

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-BlOnL5_i.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-Dkr2cxqj.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.339";
165
+ const packageVersion = "1.13.340";
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-BlOnL5_i.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-Dkr2cxqj.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -38723,7 +38723,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38723
38723
  ]))
38724
38724
  });
38725
38725
  //#endregion
38726
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38726
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.415_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb8fa417767a50e3af1109c5200bf012/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38727
38727
  async function getInvitations(httpClient, signal) {
38728
38728
  return (await httpClient.get(`invitations`, { signal })).json();
38729
38729
  }
@@ -38740,7 +38740,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38740
38740
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38741
38741
  }
38742
38742
  //#endregion
38743
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38743
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.415_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb8fa417767a50e3af1109c5200bf012/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38744
38744
  function buildSearchParams(params, flattenArrays = false) {
38745
38745
  const searchParams = new URLSearchParams();
38746
38746
  Object.entries(params).forEach(([key, value]) => {
@@ -38752,7 +38752,7 @@ function buildSearchParams(params, flattenArrays = false) {
38752
38752
  return searchParams;
38753
38753
  }
38754
38754
  //#endregion
38755
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38755
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.415_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb8fa417767a50e3af1109c5200bf012/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38756
38756
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38757
38757
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38758
38758
  }
@@ -38767,7 +38767,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38767
38767
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38768
38768
  }
38769
38769
  //#endregion
38770
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38770
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.415_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb8fa417767a50e3af1109c5200bf012/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38771
38771
  async function getWorkspaces(httpClient, organization_id, signal) {
38772
38772
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38773
38773
  }
@@ -38787,7 +38787,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38787
38787
  });
38788
38788
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38789
38789
  //#endregion
38790
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38790
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.415_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb8fa417767a50e3af1109c5200bf012/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38791
38791
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38792
38792
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38793
38793
  signal,
@@ -38798,12 +38798,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38798
38798
  })).json();
38799
38799
  }
38800
38800
  //#endregion
38801
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38801
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.415_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb8fa417767a50e3af1109c5200bf012/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38802
38802
  async function getStatus(httpClient, signal) {
38803
38803
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38804
38804
  }
38805
38805
  //#endregion
38806
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38806
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.415_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb8fa417767a50e3af1109c5200bf012/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38807
38807
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38808
38808
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38809
38809
  signal,
@@ -38831,7 +38831,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38831
38831
  return response.json();
38832
38832
  }
38833
38833
  //#endregion
38834
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38834
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.415_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb8fa417767a50e3af1109c5200bf012/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38835
38835
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38836
38836
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38837
38837
  }
@@ -44227,7 +44227,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
44227
44227
  }
44228
44228
  //#endregion
44229
44229
  //#region ../focus-queries/dist/project-designations/requests.ts
44230
- async function getProjectDesignations(httpClient, organization_id, workspace_id, { project_ids, order_by, start_date, end_date, min_days }, signal) {
44230
+ async function getProjectDesignations(httpClient, organization_id, workspace_id, { project_ids, order_by, start_date, end_date, min_days, project_designation_id } = {}, signal) {
44231
44231
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
44232
44232
  signal,
44233
44233
  searchParams: buildSearchParams$2({
@@ -44235,7 +44235,8 @@ async function getProjectDesignations(httpClient, organization_id, workspace_id,
44235
44235
  order_by,
44236
44236
  start_date,
44237
44237
  end_date,
44238
- min_days
44238
+ min_days,
44239
+ project_designation_id
44239
44240
  })
44240
44241
  })).json();
44241
44242
  }
@@ -50374,7 +50375,8 @@ const generatedFocusOperations = [
50374
50375
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50375
50376
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50376
50377
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50377
- project_ids: /* @__PURE__ */ unknown$1(),
50378
+ project_designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50379
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50378
50380
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
50379
50381
  }),
50380
50382
  execute: (input, { client }) => {
@@ -62110,7 +62112,7 @@ function registerWorkspaceTools(server) {
62110
62112
  //#region src/package-version.ts
62111
62113
  function mcpPackageVersion() {
62112
62114
  try {
62113
- return "1.13.339";
62115
+ return "1.13.340";
62114
62116
  } catch {
62115
62117
  return "unknown";
62116
62118
  }
@@ -62292,7 +62294,7 @@ import_main.default.config({
62292
62294
  quiet: true,
62293
62295
  ignore: ["MISSING_ENV_FILE"]
62294
62296
  });
62295
- const packageVersion = "1.13.339";
62297
+ const packageVersion = "1.13.340";
62296
62298
  const MCP_CACHE_TTL_MS = 300 * 1e3;
62297
62299
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
62298
62300
  function resolvePublicUrls() {
@@ -62412,4 +62414,4 @@ function bootstrapServer(options = {}) {
62412
62414
  //#endregion
62413
62415
  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 };
62414
62416
 
62415
- //# sourceMappingURL=src-BlOnL5_i.js.map
62417
+ //# sourceMappingURL=src-Dkr2cxqj.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.339",
3
+ "version": "1.13.340",
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",