@togglhq/mcp 1.13.337 → 1.13.339

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-D8sC9nJh.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-BlOnL5_i.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.337";
165
+ const packageVersion = "1.13.339";
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-D8sC9nJh.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-BlOnL5_i.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -35069,6 +35069,8 @@ const ProjectSchema = /* @__PURE__ */ object({
35069
35069
  client_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35070
35070
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35071
35071
  completed_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35072
+ converted_from_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("Set on a conversion response or a single-project read of a recurring template made from an existing project: that project's id."))),
35073
+ converted_to_template_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("Set on a single-project read of a project that was made recurring: the id of its recurring template."))),
35072
35074
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35073
35075
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35074
35076
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35164,6 +35166,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35164
35166
  client_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35165
35167
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35166
35168
  completed_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35169
+ converted_from_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("Set on a conversion response or a single-project read of a recurring template made from an existing project: that project's id."))),
35170
+ converted_to_template_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("Set on a single-project read of a project that was made recurring: the id of its recurring template."))),
35167
35171
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35168
35172
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35169
35173
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -38719,7 +38723,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38719
38723
  ]))
38720
38724
  });
38721
38725
  //#endregion
38722
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.413_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8555bdfc4fd3cfd15960341ca91d3fbc/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38726
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38723
38727
  async function getInvitations(httpClient, signal) {
38724
38728
  return (await httpClient.get(`invitations`, { signal })).json();
38725
38729
  }
@@ -38736,7 +38740,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38736
38740
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38737
38741
  }
38738
38742
  //#endregion
38739
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.413_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8555bdfc4fd3cfd15960341ca91d3fbc/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38743
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38740
38744
  function buildSearchParams(params, flattenArrays = false) {
38741
38745
  const searchParams = new URLSearchParams();
38742
38746
  Object.entries(params).forEach(([key, value]) => {
@@ -38748,7 +38752,7 @@ function buildSearchParams(params, flattenArrays = false) {
38748
38752
  return searchParams;
38749
38753
  }
38750
38754
  //#endregion
38751
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.413_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8555bdfc4fd3cfd15960341ca91d3fbc/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38755
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38752
38756
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38753
38757
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38754
38758
  }
@@ -38763,7 +38767,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38763
38767
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38764
38768
  }
38765
38769
  //#endregion
38766
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.413_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8555bdfc4fd3cfd15960341ca91d3fbc/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38770
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38767
38771
  async function getWorkspaces(httpClient, organization_id, signal) {
38768
38772
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38769
38773
  }
@@ -38783,7 +38787,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38783
38787
  });
38784
38788
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38785
38789
  //#endregion
38786
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.413_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8555bdfc4fd3cfd15960341ca91d3fbc/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38790
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38787
38791
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38788
38792
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38789
38793
  signal,
@@ -38794,12 +38798,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38794
38798
  })).json();
38795
38799
  }
38796
38800
  //#endregion
38797
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.413_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8555bdfc4fd3cfd15960341ca91d3fbc/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38801
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38798
38802
  async function getStatus(httpClient, signal) {
38799
38803
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38800
38804
  }
38801
38805
  //#endregion
38802
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.413_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8555bdfc4fd3cfd15960341ca91d3fbc/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38806
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38803
38807
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38804
38808
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38805
38809
  signal,
@@ -38827,7 +38831,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38827
38831
  return response.json();
38828
38832
  }
38829
38833
  //#endregion
38830
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.413_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8555bdfc4fd3cfd15960341ca91d3fbc/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38834
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.414_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_eec3ec74b8e8522b9b150d5578b1f4b4/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38831
38835
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38832
38836
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38833
38837
  }
@@ -50117,6 +50121,8 @@ const generatedFocusOperations = [
50117
50121
  inputSchema: /* @__PURE__ */ looseObject({
50118
50122
  payload: /* @__PURE__ */ looseObject({
50119
50123
  auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50124
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
50125
+ convert: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50120
50126
  estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
50121
50127
  "manual",
50122
50128
  "tasks",
@@ -50128,6 +50134,11 @@ const generatedFocusOperations = [
50128
50134
  currency: /* @__PURE__ */ string$1()
50129
50135
  })),
50130
50136
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50137
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
50138
+ "expire",
50139
+ "carry_all",
50140
+ "carry_over"
50141
+ ])),
50131
50142
  rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
50132
50143
  }),
50133
50144
  project_id: /* @__PURE__ */ number$2()
@@ -62099,7 +62110,7 @@ function registerWorkspaceTools(server) {
62099
62110
  //#region src/package-version.ts
62100
62111
  function mcpPackageVersion() {
62101
62112
  try {
62102
- return "1.13.337";
62113
+ return "1.13.339";
62103
62114
  } catch {
62104
62115
  return "unknown";
62105
62116
  }
@@ -62281,7 +62292,7 @@ import_main.default.config({
62281
62292
  quiet: true,
62282
62293
  ignore: ["MISSING_ENV_FILE"]
62283
62294
  });
62284
- const packageVersion = "1.13.337";
62295
+ const packageVersion = "1.13.339";
62285
62296
  const MCP_CACHE_TTL_MS = 300 * 1e3;
62286
62297
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
62287
62298
  function resolvePublicUrls() {
@@ -62401,4 +62412,4 @@ function bootstrapServer(options = {}) {
62401
62412
  //#endregion
62402
62413
  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 };
62403
62414
 
62404
- //# sourceMappingURL=src-D8sC9nJh.js.map
62415
+ //# sourceMappingURL=src-BlOnL5_i.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.337",
3
+ "version": "1.13.339",
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",