@togglhq/mcp 1.11.171 → 1.11.172

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 getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-DQTJcnPY.js";
2
+ import { a as getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-B-g_wVRU.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.11.171";
165
+ const packageVersion = "1.11.172";
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 { n as runMcpCli, t as bootstrapServer } from "./src-DQTJcnPY.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-B-g_wVRU.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -38172,6 +38172,7 @@ const InvitationsRequestSchema = /* @__PURE__ */ object$2({
38172
38172
  invitations: /* @__PURE__ */ array$1(/* @__PURE__ */ object$2({
38173
38173
  accounts_role_id: /* @__PURE__ */ number$2(),
38174
38174
  admin: /* @__PURE__ */ pipe$2(/* @__PURE__ */ boolean$1(), /* @__PURE__ */ description$1("A pointer so an omitted flag does not read as admin=false.")),
38175
+ display_name: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ description$1("DisplayName is stored only when this invitation creates the account. An existing account keeps its current name. A missing, blank, control-only, or format-only value falls back to the name derived from the email. Whitespace controls become spaces. Other controls and format characters (zero-width spaces, bidi overrides) are removed. Longer than 100 characters is cut to that limit and trimmed again, which is what user_account accepts.")),
38175
38176
  email: /* @__PURE__ */ string$1(),
38176
38177
  groups: /* @__PURE__ */ array$1(/* @__PURE__ */ object$2({ group_id: /* @__PURE__ */ number$2() })),
38177
38178
  workspaces: /* @__PURE__ */ array$1(/* @__PURE__ */ object$2({
@@ -38208,7 +38209,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38208
38209
  ]))
38209
38210
  });
38210
38211
  //#endregion
38211
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38212
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38212
38213
  async function getInvitations(httpClient, signal) {
38213
38214
  return (await httpClient.get(`invitations`, { signal })).json();
38214
38215
  }
@@ -38225,7 +38226,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38225
38226
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38226
38227
  }
38227
38228
  //#endregion
38228
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38229
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38229
38230
  function buildSearchParams(params, flattenArrays = false) {
38230
38231
  const searchParams = new URLSearchParams();
38231
38232
  Object.entries(params).forEach(([key, value]) => {
@@ -38237,7 +38238,7 @@ function buildSearchParams(params, flattenArrays = false) {
38237
38238
  return searchParams;
38238
38239
  }
38239
38240
  //#endregion
38240
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38241
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38241
38242
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38242
38243
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38243
38244
  }
@@ -38251,7 +38252,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38251
38252
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38252
38253
  }
38253
38254
  //#endregion
38254
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38255
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38255
38256
  async function getWorkspaces(httpClient, organization_id, signal) {
38256
38257
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38257
38258
  }
@@ -38271,7 +38272,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38271
38272
  });
38272
38273
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38273
38274
  //#endregion
38274
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38275
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38275
38276
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38276
38277
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38277
38278
  signal,
@@ -38282,12 +38283,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38282
38283
  })).json();
38283
38284
  }
38284
38285
  //#endregion
38285
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38286
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38286
38287
  async function getStatus(httpClient, signal) {
38287
38288
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38288
38289
  }
38289
38290
  //#endregion
38290
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38291
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38291
38292
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38292
38293
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38293
38294
  signal,
@@ -38315,7 +38316,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38315
38316
  return response.json();
38316
38317
  }
38317
38318
  //#endregion
38318
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38319
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38319
38320
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38320
38321
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38321
38322
  }
@@ -54837,7 +54838,7 @@ function registerWorkspaceTools(server) {
54837
54838
  //#region src/package-version.ts
54838
54839
  function mcpPackageVersion() {
54839
54840
  try {
54840
- return "1.11.171";
54841
+ return "1.11.172";
54841
54842
  } catch {
54842
54843
  return "unknown";
54843
54844
  }
@@ -55012,7 +55013,7 @@ import_main.default.config({
55012
55013
  quiet: true,
55013
55014
  ignore: ["MISSING_ENV_FILE"]
55014
55015
  });
55015
- const packageVersion = "1.11.171";
55016
+ const packageVersion = "1.11.172";
55016
55017
  function resolvePublicUrls() {
55017
55018
  return {
55018
55019
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55077,4 +55078,4 @@ function bootstrapServer(options = {}) {
55077
55078
  //#endregion
55078
55079
  export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
55079
55080
 
55080
- //# sourceMappingURL=src-DQTJcnPY.js.map
55081
+ //# sourceMappingURL=src-B-g_wVRU.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.171",
3
+ "version": "1.11.172",
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",