@togglhq/mcp 1.13.234 → 1.13.236

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-BI4H5Zxi.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-D00auYyq.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.234";
165
+ const packageVersion = "1.13.236";
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-BI4H5Zxi.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-D00auYyq.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -38682,7 +38682,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38682
38682
  ]))
38683
38683
  });
38684
38684
  //#endregion
38685
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38685
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38686
38686
  async function getInvitations(httpClient, signal) {
38687
38687
  return (await httpClient.get(`invitations`, { signal })).json();
38688
38688
  }
@@ -38699,7 +38699,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38699
38699
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38700
38700
  }
38701
38701
  //#endregion
38702
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38702
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38703
38703
  function buildSearchParams(params, flattenArrays = false) {
38704
38704
  const searchParams = new URLSearchParams();
38705
38705
  Object.entries(params).forEach(([key, value]) => {
@@ -38711,7 +38711,7 @@ function buildSearchParams(params, flattenArrays = false) {
38711
38711
  return searchParams;
38712
38712
  }
38713
38713
  //#endregion
38714
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38714
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38715
38715
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38716
38716
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38717
38717
  }
@@ -38726,7 +38726,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38726
38726
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38727
38727
  }
38728
38728
  //#endregion
38729
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38729
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38730
38730
  async function getWorkspaces(httpClient, organization_id, signal) {
38731
38731
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38732
38732
  }
@@ -38746,7 +38746,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38746
38746
  });
38747
38747
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38748
38748
  //#endregion
38749
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38749
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38750
38750
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38751
38751
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38752
38752
  signal,
@@ -38757,12 +38757,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38757
38757
  })).json();
38758
38758
  }
38759
38759
  //#endregion
38760
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38760
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38761
38761
  async function getStatus(httpClient, signal) {
38762
38762
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38763
38763
  }
38764
38764
  //#endregion
38765
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38765
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38766
38766
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38767
38767
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38768
38768
  signal,
@@ -38790,7 +38790,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38790
38790
  return response.json();
38791
38791
  }
38792
38792
  //#endregion
38793
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38793
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38794
38794
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38795
38795
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38796
38796
  }
@@ -47533,19 +47533,26 @@ const generatedFocusOperations = [
47533
47533
  "amount",
47534
47534
  "labor_cost",
47535
47535
  "profit",
47536
- "billable_percentage"
47536
+ "billable_percentage",
47537
+ "non_billable_percentage"
47537
47538
  ])
47538
47539
  })),
47539
47540
  groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ picklist$1([
47540
47541
  "project_id",
47541
47542
  "client_id",
47542
47543
  "user_account_id",
47544
+ "user_group_id",
47543
47545
  "task_id",
47544
47546
  "tag_id",
47547
+ "description",
47545
47548
  "time_entry_billable",
47549
+ "currency",
47546
47550
  "start_date",
47551
+ "weekday",
47547
47552
  "year_week",
47548
- "year_month"
47553
+ "year_month",
47554
+ "year_quarter",
47555
+ "year"
47549
47556
  ]) }))
47550
47557
  }),
47551
47558
  type: /* @__PURE__ */ picklist$1([
@@ -47558,6 +47565,7 @@ const generatedFocusOperations = [
47558
47565
  "table",
47559
47566
  "pivot_table"
47560
47567
  ]),
47568
+ columns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
47561
47569
  filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
47562
47570
  period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
47563
47571
  })),
@@ -47692,19 +47700,26 @@ const generatedFocusOperations = [
47692
47700
  "amount",
47693
47701
  "labor_cost",
47694
47702
  "profit",
47695
- "billable_percentage"
47703
+ "billable_percentage",
47704
+ "non_billable_percentage"
47696
47705
  ])
47697
47706
  })),
47698
47707
  groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ picklist$1([
47699
47708
  "project_id",
47700
47709
  "client_id",
47701
47710
  "user_account_id",
47711
+ "user_group_id",
47702
47712
  "task_id",
47703
47713
  "tag_id",
47714
+ "description",
47704
47715
  "time_entry_billable",
47716
+ "currency",
47705
47717
  "start_date",
47718
+ "weekday",
47706
47719
  "year_week",
47707
- "year_month"
47720
+ "year_month",
47721
+ "year_quarter",
47722
+ "year"
47708
47723
  ]) }))
47709
47724
  }),
47710
47725
  type: /* @__PURE__ */ picklist$1([
@@ -47717,6 +47732,7 @@ const generatedFocusOperations = [
47717
47732
  "table",
47718
47733
  "pivot_table"
47719
47734
  ]),
47735
+ columns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
47720
47736
  filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
47721
47737
  period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
47722
47738
  })),
@@ -60998,7 +61014,7 @@ function registerWorkspaceTools(server) {
60998
61014
  //#region src/package-version.ts
60999
61015
  function mcpPackageVersion() {
61000
61016
  try {
61001
- return "1.13.234";
61017
+ return "1.13.236";
61002
61018
  } catch {
61003
61019
  return "unknown";
61004
61020
  }
@@ -61180,7 +61196,7 @@ import_main.default.config({
61180
61196
  quiet: true,
61181
61197
  ignore: ["MISSING_ENV_FILE"]
61182
61198
  });
61183
- const packageVersion = "1.13.234";
61199
+ const packageVersion = "1.13.236";
61184
61200
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61185
61201
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61186
61202
  function resolvePublicUrls() {
@@ -61300,4 +61316,4 @@ function bootstrapServer(options = {}) {
61300
61316
  //#endregion
61301
61317
  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 };
61302
61318
 
61303
- //# sourceMappingURL=src-BI4H5Zxi.js.map
61319
+ //# sourceMappingURL=src-D00auYyq.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.234",
3
+ "version": "1.13.236",
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",