@togglhq/mcp 1.11.212 → 1.11.214

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-CY3iNPdT.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-BgV-bzTu.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.212";
165
+ const packageVersion = "1.11.214";
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-CY3iNPdT.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-BgV-bzTu.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -38306,7 +38306,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38306
38306
  ]))
38307
38307
  });
38308
38308
  //#endregion
38309
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38309
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38310
38310
  async function getInvitations(httpClient, signal) {
38311
38311
  return (await httpClient.get(`invitations`, { signal })).json();
38312
38312
  }
@@ -38323,7 +38323,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38323
38323
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38324
38324
  }
38325
38325
  //#endregion
38326
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38326
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38327
38327
  function buildSearchParams(params, flattenArrays = false) {
38328
38328
  const searchParams = new URLSearchParams();
38329
38329
  Object.entries(params).forEach(([key, value]) => {
@@ -38335,7 +38335,7 @@ function buildSearchParams(params, flattenArrays = false) {
38335
38335
  return searchParams;
38336
38336
  }
38337
38337
  //#endregion
38338
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38338
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38339
38339
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38340
38340
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38341
38341
  }
@@ -38349,7 +38349,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38349
38349
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38350
38350
  }
38351
38351
  //#endregion
38352
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38352
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38353
38353
  async function getWorkspaces(httpClient, organization_id, signal) {
38354
38354
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38355
38355
  }
@@ -38369,7 +38369,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38369
38369
  });
38370
38370
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38371
38371
  //#endregion
38372
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38372
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38373
38373
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38374
38374
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38375
38375
  signal,
@@ -38380,12 +38380,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38380
38380
  })).json();
38381
38381
  }
38382
38382
  //#endregion
38383
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38383
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38384
38384
  async function getStatus(httpClient, signal) {
38385
38385
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38386
38386
  }
38387
38387
  //#endregion
38388
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38388
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38389
38389
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38390
38390
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38391
38391
  signal,
@@ -38413,7 +38413,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38413
38413
  return response.json();
38414
38414
  }
38415
38415
  //#endregion
38416
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38416
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38417
38417
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38418
38418
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38419
38419
  }
@@ -54653,6 +54653,40 @@ const generatedFocusOperations = [
54653
54653
  mcp: { entityTool: "users" },
54654
54654
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
54655
54655
  has_opened_focus: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
54656
+ onboarding_intent: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
54657
+ "track",
54658
+ "plan",
54659
+ "projects"
54660
+ ])),
54661
+ onboarding_invited_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
54662
+ onboarding_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
54663
+ onboarding_step: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
54664
+ "team-size",
54665
+ "invite",
54666
+ "calendar",
54667
+ "first-entry",
54668
+ "welcome",
54669
+ "track",
54670
+ "project-sidebar",
54671
+ "project-list",
54672
+ "project-details",
54673
+ "project-estimate",
54674
+ "plan-calendar",
54675
+ "plan-task",
54676
+ "plan-details",
54677
+ "timeline",
54678
+ "capacity",
54679
+ "done"
54680
+ ])),
54681
+ onboarding_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
54682
+ onboarding_team_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
54683
+ "just-me",
54684
+ "2-5",
54685
+ "6-20",
54686
+ "21-50",
54687
+ "50+",
54688
+ "skipped"
54689
+ ])),
54656
54690
  work_introduction_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
54657
54691
  }) }),
54658
54692
  execute: (input, { client }) => {
@@ -56176,7 +56210,7 @@ function registerWorkspaceTools(server) {
56176
56210
  //#region src/package-version.ts
56177
56211
  function mcpPackageVersion() {
56178
56212
  try {
56179
- return "1.11.212";
56213
+ return "1.11.214";
56180
56214
  } catch {
56181
56215
  return "unknown";
56182
56216
  }
@@ -56351,7 +56385,7 @@ import_main.default.config({
56351
56385
  quiet: true,
56352
56386
  ignore: ["MISSING_ENV_FILE"]
56353
56387
  });
56354
- const packageVersion = "1.11.212";
56388
+ const packageVersion = "1.11.214";
56355
56389
  function resolvePublicUrls() {
56356
56390
  return {
56357
56391
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56416,4 +56450,4 @@ function bootstrapServer(options = {}) {
56416
56450
  //#endregion
56417
56451
  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 };
56418
56452
 
56419
- //# sourceMappingURL=src-CY3iNPdT.js.map
56453
+ //# sourceMappingURL=src-BgV-bzTu.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.212",
3
+ "version": "1.11.214",
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",