@togglhq/mcp 1.13.253 → 1.13.255

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-CM-2o9AS.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-B2yy-gjM.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.253";
165
+ const packageVersion = "1.13.255";
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-CM-2o9AS.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-B2yy-gjM.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -34974,6 +34974,7 @@ const ProjectFixedFeePayloadSchema = /* @__PURE__ */ object({
34974
34974
  const ProjectPayloadSchema = /* @__PURE__ */ object({
34975
34975
  name: /* @__PURE__ */ string(),
34976
34976
  auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Deprecated by estimate_source. Sets it to \"tasks\" if true."))),
34977
+ auto_start_on: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Recurring templates only: the date the first period is created without a user action. A date before the recurrence start is moved to it."))),
34977
34978
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34978
34979
  client_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34979
34980
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35030,6 +35031,7 @@ const ProjectSchema = /* @__PURE__ */ object({
35030
35031
  toggl_user_id: /* @__PURE__ */ number(),
35031
35032
  workspace_id: /* @__PURE__ */ number(),
35032
35033
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35034
+ auto_start_on: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Set on a recurring template only: the date its first period is created without a user action. Null once that has happened, or when auto-start is off."))),
35033
35035
  client: /* @__PURE__ */ optional(ClientLiteSchema),
35034
35036
  client_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35035
35037
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35154,6 +35156,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35154
35156
  highest_triggered_threshold: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35155
35157
  })),
35156
35158
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35159
+ auto_start_on: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Set on a recurring template only: the date its first period is created without a user action. Null once that has happened, or when auto-start is off."))),
35157
35160
  client: /* @__PURE__ */ optional(ClientLiteSchema),
35158
35161
  client_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35159
35162
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35423,6 +35426,7 @@ const ProjectBulkUserEntrySchema = /* @__PURE__ */ object({
35423
35426
  });
35424
35427
  const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35425
35428
  auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Deprecated by estimate_source. Sets it to \"tasks\" if true."))),
35429
+ auto_start_on: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Recurring templates only: the date the first period is created without a user action. Null turns auto-start off. A date before the recurrence start is moved to it."))),
35426
35430
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35427
35431
  client_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35428
35432
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
@@ -35454,6 +35458,7 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35454
35458
  const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35455
35459
  id: /* @__PURE__ */ number(),
35456
35460
  auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Deprecated by estimate_source. Sets it to \"tasks\" if true."))),
35461
+ auto_start_on: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Recurring templates only: the date the first period is created without a user action. Null turns auto-start off. A date before the recurrence start is moved to it."))),
35457
35462
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35458
35463
  client_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35459
35464
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
@@ -38695,7 +38700,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38695
38700
  ]))
38696
38701
  });
38697
38702
  //#endregion
38698
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.360_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fe5ed030a68053b0153ed7144f735c76/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38703
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.361_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_12c4bfe90c1f7003f3fe8c37db122ced/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38699
38704
  async function getInvitations(httpClient, signal) {
38700
38705
  return (await httpClient.get(`invitations`, { signal })).json();
38701
38706
  }
@@ -38712,7 +38717,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38712
38717
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38713
38718
  }
38714
38719
  //#endregion
38715
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.360_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fe5ed030a68053b0153ed7144f735c76/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38720
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.361_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_12c4bfe90c1f7003f3fe8c37db122ced/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38716
38721
  function buildSearchParams(params, flattenArrays = false) {
38717
38722
  const searchParams = new URLSearchParams();
38718
38723
  Object.entries(params).forEach(([key, value]) => {
@@ -38724,7 +38729,7 @@ function buildSearchParams(params, flattenArrays = false) {
38724
38729
  return searchParams;
38725
38730
  }
38726
38731
  //#endregion
38727
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.360_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fe5ed030a68053b0153ed7144f735c76/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38732
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.361_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_12c4bfe90c1f7003f3fe8c37db122ced/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38728
38733
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38729
38734
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38730
38735
  }
@@ -38739,7 +38744,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38739
38744
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38740
38745
  }
38741
38746
  //#endregion
38742
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.360_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fe5ed030a68053b0153ed7144f735c76/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38747
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.361_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_12c4bfe90c1f7003f3fe8c37db122ced/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38743
38748
  async function getWorkspaces(httpClient, organization_id, signal) {
38744
38749
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38745
38750
  }
@@ -38759,7 +38764,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38759
38764
  });
38760
38765
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38761
38766
  //#endregion
38762
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.360_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fe5ed030a68053b0153ed7144f735c76/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38767
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.361_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_12c4bfe90c1f7003f3fe8c37db122ced/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38763
38768
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38764
38769
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38765
38770
  signal,
@@ -38770,12 +38775,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38770
38775
  })).json();
38771
38776
  }
38772
38777
  //#endregion
38773
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.360_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fe5ed030a68053b0153ed7144f735c76/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38778
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.361_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_12c4bfe90c1f7003f3fe8c37db122ced/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38774
38779
  async function getStatus(httpClient, signal) {
38775
38780
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38776
38781
  }
38777
38782
  //#endregion
38778
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.360_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fe5ed030a68053b0153ed7144f735c76/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38783
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.361_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_12c4bfe90c1f7003f3fe8c37db122ced/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38779
38784
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38780
38785
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38781
38786
  signal,
@@ -38803,7 +38808,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38803
38808
  return response.json();
38804
38809
  }
38805
38810
  //#endregion
38806
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.360_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fe5ed030a68053b0153ed7144f735c76/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38811
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.361_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_12c4bfe90c1f7003f3fe8c37db122ced/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38807
38812
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38808
38813
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38809
38814
  }
@@ -61071,7 +61076,7 @@ function registerWorkspaceTools(server) {
61071
61076
  //#region src/package-version.ts
61072
61077
  function mcpPackageVersion() {
61073
61078
  try {
61074
- return "1.13.253";
61079
+ return "1.13.255";
61075
61080
  } catch {
61076
61081
  return "unknown";
61077
61082
  }
@@ -61253,7 +61258,7 @@ import_main.default.config({
61253
61258
  quiet: true,
61254
61259
  ignore: ["MISSING_ENV_FILE"]
61255
61260
  });
61256
- const packageVersion = "1.13.253";
61261
+ const packageVersion = "1.13.255";
61257
61262
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61258
61263
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61259
61264
  function resolvePublicUrls() {
@@ -61373,4 +61378,4 @@ function bootstrapServer(options = {}) {
61373
61378
  //#endregion
61374
61379
  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 };
61375
61380
 
61376
- //# sourceMappingURL=src-CM-2o9AS.js.map
61381
+ //# sourceMappingURL=src-B2yy-gjM.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.253",
3
+ "version": "1.13.255",
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",