@togglhq/mcp 1.12.4 → 1.12.5

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-BILS6weB.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-gEFohsVR.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.12.4";
165
+ const packageVersion = "1.12.5";
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-BILS6weB.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-gEFohsVR.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -38215,7 +38215,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38215
38215
  ]))
38216
38216
  });
38217
38217
  //#endregion
38218
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38218
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38219
38219
  async function getInvitations(httpClient, signal) {
38220
38220
  return (await httpClient.get(`invitations`, { signal })).json();
38221
38221
  }
@@ -38232,7 +38232,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38232
38232
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38233
38233
  }
38234
38234
  //#endregion
38235
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38235
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38236
38236
  function buildSearchParams(params, flattenArrays = false) {
38237
38237
  const searchParams = new URLSearchParams();
38238
38238
  Object.entries(params).forEach(([key, value]) => {
@@ -38244,7 +38244,7 @@ function buildSearchParams(params, flattenArrays = false) {
38244
38244
  return searchParams;
38245
38245
  }
38246
38246
  //#endregion
38247
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38247
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38248
38248
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38249
38249
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38250
38250
  }
@@ -38258,7 +38258,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38258
38258
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38259
38259
  }
38260
38260
  //#endregion
38261
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38261
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38262
38262
  async function getWorkspaces(httpClient, organization_id, signal) {
38263
38263
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38264
38264
  }
@@ -38278,7 +38278,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38278
38278
  });
38279
38279
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38280
38280
  //#endregion
38281
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38281
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38282
38282
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38283
38283
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38284
38284
  signal,
@@ -38289,12 +38289,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38289
38289
  })).json();
38290
38290
  }
38291
38291
  //#endregion
38292
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38292
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38293
38293
  async function getStatus(httpClient, signal) {
38294
38294
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38295
38295
  }
38296
38296
  //#endregion
38297
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38297
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38298
38298
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38299
38299
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38300
38300
  signal,
@@ -38322,7 +38322,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38322
38322
  return response.json();
38323
38323
  }
38324
38324
  //#endregion
38325
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38325
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38326
38326
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38327
38327
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38328
38328
  }
@@ -56528,7 +56528,7 @@ function registerWorkspaceTools(server) {
56528
56528
  //#region src/package-version.ts
56529
56529
  function mcpPackageVersion() {
56530
56530
  try {
56531
- return "1.12.4";
56531
+ return "1.12.5";
56532
56532
  } catch {
56533
56533
  return "unknown";
56534
56534
  }
@@ -56709,7 +56709,7 @@ import_main.default.config({
56709
56709
  quiet: true,
56710
56710
  ignore: ["MISSING_ENV_FILE"]
56711
56711
  });
56712
- const packageVersion = "1.12.4";
56712
+ const packageVersion = "1.12.5";
56713
56713
  function resolvePublicUrls() {
56714
56714
  return {
56715
56715
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56814,4 +56814,4 @@ function bootstrapServer(options = {}) {
56814
56814
  //#endregion
56815
56815
  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 };
56816
56816
 
56817
- //# sourceMappingURL=src-BILS6weB.js.map
56817
+ //# sourceMappingURL=src-gEFohsVR.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.12.4",
3
+ "version": "1.12.5",
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",