@togglhq/mcp 1.13.16 → 1.13.18

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-BdEimoN8.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-Ctefe7OA.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.16";
165
+ const packageVersion = "1.13.18";
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-BdEimoN8.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-Ctefe7OA.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -35038,6 +35038,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
35038
35038
  calendar_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("CalendarID is the calendar service's calendar PK. It stays set after a calendar deselect clears calendar_event_id."))),
35039
35039
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35040
35040
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35041
+ designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
35041
35042
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("Tracked duration in seconds; omitted while the timer is running and for an entry that is only planned."))),
35042
35043
  pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
35043
35044
  pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
@@ -35250,6 +35251,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35250
35251
  calendar_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("CalendarID is the calendar service's calendar PK. It stays set after a calendar deselect clears calendar_event_id."))),
35251
35252
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35252
35253
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35254
+ designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
35253
35255
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("Tracked duration in seconds; omitted while the timer is running and for an entry that is only planned."))),
35254
35256
  pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
35255
35257
  pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
@@ -35543,6 +35545,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
35543
35545
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35544
35546
  calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35545
35547
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35548
+ designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
35546
35549
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35547
35550
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35548
35551
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
@@ -35558,6 +35561,7 @@ const TimeEntryPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35558
35561
  id: /* @__PURE__ */ number(),
35559
35562
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35560
35563
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35564
+ designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35561
35565
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35562
35566
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))),
35563
35567
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
@@ -35576,6 +35580,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
35576
35580
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35577
35581
  calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35578
35582
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35583
+ designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
35579
35584
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35580
35585
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35581
35586
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
@@ -38431,7 +38436,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38431
38436
  ]))
38432
38437
  });
38433
38438
  //#endregion
38434
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38439
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a280eb28ec35ad385a37ea4f164354cc/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38435
38440
  async function getInvitations(httpClient, signal) {
38436
38441
  return (await httpClient.get(`invitations`, { signal })).json();
38437
38442
  }
@@ -38448,7 +38453,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38448
38453
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38449
38454
  }
38450
38455
  //#endregion
38451
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38456
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a280eb28ec35ad385a37ea4f164354cc/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38452
38457
  function buildSearchParams(params, flattenArrays = false) {
38453
38458
  const searchParams = new URLSearchParams();
38454
38459
  Object.entries(params).forEach(([key, value]) => {
@@ -38460,7 +38465,7 @@ function buildSearchParams(params, flattenArrays = false) {
38460
38465
  return searchParams;
38461
38466
  }
38462
38467
  //#endregion
38463
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38468
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a280eb28ec35ad385a37ea4f164354cc/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38464
38469
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38465
38470
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38466
38471
  }
@@ -38474,7 +38479,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38474
38479
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38475
38480
  }
38476
38481
  //#endregion
38477
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38482
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a280eb28ec35ad385a37ea4f164354cc/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38478
38483
  async function getWorkspaces(httpClient, organization_id, signal) {
38479
38484
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38480
38485
  }
@@ -38494,7 +38499,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38494
38499
  });
38495
38500
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38496
38501
  //#endregion
38497
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38502
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a280eb28ec35ad385a37ea4f164354cc/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38498
38503
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38499
38504
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38500
38505
  signal,
@@ -38505,12 +38510,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38505
38510
  })).json();
38506
38511
  }
38507
38512
  //#endregion
38508
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38513
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a280eb28ec35ad385a37ea4f164354cc/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38509
38514
  async function getStatus(httpClient, signal) {
38510
38515
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38511
38516
  }
38512
38517
  //#endregion
38513
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38518
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a280eb28ec35ad385a37ea4f164354cc/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38514
38519
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38515
38520
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38516
38521
  signal,
@@ -38538,7 +38543,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38538
38543
  return response.json();
38539
38544
  }
38540
38545
  //#endregion
38541
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38546
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a280eb28ec35ad385a37ea4f164354cc/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38542
38547
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38543
38548
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38544
38549
  }
@@ -56757,7 +56762,7 @@ function registerWorkspaceTools(server) {
56757
56762
  //#region src/package-version.ts
56758
56763
  function mcpPackageVersion() {
56759
56764
  try {
56760
- return "1.13.16";
56765
+ return "1.13.18";
56761
56766
  } catch {
56762
56767
  return "unknown";
56763
56768
  }
@@ -56938,7 +56943,7 @@ import_main.default.config({
56938
56943
  quiet: true,
56939
56944
  ignore: ["MISSING_ENV_FILE"]
56940
56945
  });
56941
- const packageVersion = "1.13.16";
56946
+ const packageVersion = "1.13.18";
56942
56947
  const MCP_CACHE_TTL_MS = 300 * 1e3;
56943
56948
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
56944
56949
  function resolvePublicUrls() {
@@ -57058,4 +57063,4 @@ function bootstrapServer(options = {}) {
57058
57063
  //#endregion
57059
57064
  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 };
57060
57065
 
57061
- //# sourceMappingURL=src-BdEimoN8.js.map
57066
+ //# sourceMappingURL=src-Ctefe7OA.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.16",
3
+ "version": "1.13.18",
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",