@togglhq/mcp 1.13.209 → 1.13.211

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-Ulfh0KQr.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-CmAwAeQB.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.209";
165
+ const packageVersion = "1.13.211";
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-Ulfh0KQr.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-CmAwAeQB.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -38677,7 +38677,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38677
38677
  ]))
38678
38678
  });
38679
38679
  //#endregion
38680
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38680
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38681
38681
  async function getInvitations(httpClient, signal) {
38682
38682
  return (await httpClient.get(`invitations`, { signal })).json();
38683
38683
  }
@@ -38694,7 +38694,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38694
38694
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38695
38695
  }
38696
38696
  //#endregion
38697
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38697
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38698
38698
  function buildSearchParams(params, flattenArrays = false) {
38699
38699
  const searchParams = new URLSearchParams();
38700
38700
  Object.entries(params).forEach(([key, value]) => {
@@ -38706,7 +38706,7 @@ function buildSearchParams(params, flattenArrays = false) {
38706
38706
  return searchParams;
38707
38707
  }
38708
38708
  //#endregion
38709
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38709
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38710
38710
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38711
38711
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38712
38712
  }
@@ -38721,7 +38721,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38721
38721
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38722
38722
  }
38723
38723
  //#endregion
38724
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38724
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38725
38725
  async function getWorkspaces(httpClient, organization_id, signal) {
38726
38726
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38727
38727
  }
@@ -38741,7 +38741,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38741
38741
  });
38742
38742
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38743
38743
  //#endregion
38744
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38744
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38745
38745
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38746
38746
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38747
38747
  signal,
@@ -38752,12 +38752,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38752
38752
  })).json();
38753
38753
  }
38754
38754
  //#endregion
38755
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38755
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38756
38756
  async function getStatus(httpClient, signal) {
38757
38757
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38758
38758
  }
38759
38759
  //#endregion
38760
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38760
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38761
38761
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38762
38762
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38763
38763
  signal,
@@ -38785,7 +38785,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38785
38785
  return response.json();
38786
38786
  }
38787
38787
  //#endregion
38788
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38788
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38789
38789
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38790
38790
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38791
38791
  }
@@ -45112,6 +45112,15 @@ async function partialUpdateUserSettings(httpClient, data, signal) {
45112
45112
  json: data
45113
45113
  })).json();
45114
45114
  }
45115
+ async function getDesktopUserSettings(httpClient, signal) {
45116
+ return (await httpClient.get(`users/me/settings/desktop`, { signal })).json();
45117
+ }
45118
+ async function partialUpdateDesktopUserSettings(httpClient, data, signal) {
45119
+ return (await httpClient.patch(`users/me/settings/desktop`, {
45120
+ signal,
45121
+ json: data
45122
+ })).json();
45123
+ }
45115
45124
  //#endregion
45116
45125
  //#region ../focus-queries/dist/user-workspace-settings/requests.ts
45117
45126
  async function getUserWorkspaceSettings(httpClient, workspace_id, signal) {
@@ -47380,7 +47389,10 @@ const generatedFocusOperations = [
47380
47389
  params: /* @__PURE__ */ looseObject({
47381
47390
  charts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47382
47391
  id: /* @__PURE__ */ string$1(),
47383
- layout: /* @__PURE__ */ looseObject({ width: /* @__PURE__ */ number$2() }),
47392
+ layout: /* @__PURE__ */ looseObject({
47393
+ width: /* @__PURE__ */ number$2(),
47394
+ height: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47395
+ }),
47384
47396
  name: /* @__PURE__ */ string$1(),
47385
47397
  query: /* @__PURE__ */ looseObject({
47386
47398
  aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
@@ -47536,7 +47548,10 @@ const generatedFocusOperations = [
47536
47548
  params: /* @__PURE__ */ looseObject({
47537
47549
  charts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47538
47550
  id: /* @__PURE__ */ string$1(),
47539
- layout: /* @__PURE__ */ looseObject({ width: /* @__PURE__ */ number$2() }),
47551
+ layout: /* @__PURE__ */ looseObject({
47552
+ width: /* @__PURE__ */ number$2(),
47553
+ height: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47554
+ }),
47540
47555
  name: /* @__PURE__ */ string$1(),
47541
47556
  query: /* @__PURE__ */ looseObject({
47542
47557
  aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
@@ -59028,6 +59043,24 @@ const generatedFocusOperations = [
59028
59043
  ]));
59029
59044
  }
59030
59045
  },
59046
+ {
59047
+ id: "focus.users.settings-get-desktop",
59048
+ family: "focus",
59049
+ resource: "users",
59050
+ action: "settings-get-desktop",
59051
+ title: "Settings Get Desktop Users",
59052
+ description: "Settings Get Desktop Users.",
59053
+ safety: "read",
59054
+ destructive: false,
59055
+ cli: {
59056
+ group: ["users", "settings"],
59057
+ command: "get-desktop",
59058
+ interactive: "hidden"
59059
+ },
59060
+ mcp: { entityTool: "users" },
59061
+ inputSchema: /* @__PURE__ */ looseObject({}),
59062
+ execute: (_input, { client }) => client.runGeneratedRequest("getDesktopUserSettings", () => callGeneratedRequest(getDesktopUserSettings, [client.httpClient, void 0]))
59063
+ },
59031
59064
  {
59032
59065
  id: "focus.users.settings-list",
59033
59066
  family: "focus",
@@ -59149,6 +59182,41 @@ const generatedFocusOperations = [
59149
59182
  ]));
59150
59183
  }
59151
59184
  },
59185
+ {
59186
+ id: "focus.users.settings-update-desktop",
59187
+ family: "focus",
59188
+ resource: "users",
59189
+ action: "settings-update-desktop",
59190
+ title: "Settings Update Desktop Users",
59191
+ description: "Settings Update Desktop Users.",
59192
+ safety: "update",
59193
+ destructive: false,
59194
+ cli: {
59195
+ group: ["users", "settings"],
59196
+ command: "update-desktop",
59197
+ interactive: "default"
59198
+ },
59199
+ mcp: { entityTool: "users" },
59200
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ desktop_autotracker_rules: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
59201
+ enabled: /* @__PURE__ */ boolean$1(),
59202
+ id: /* @__PURE__ */ string$1(),
59203
+ keyword: /* @__PURE__ */ string$1(),
59204
+ keyword_mode: /* @__PURE__ */ picklist$1(["contains_phrase", "all_words"]),
59205
+ start_without_asking: /* @__PURE__ */ boolean$1(),
59206
+ stop_when_meeting_ends: /* @__PURE__ */ boolean$1(),
59207
+ trigger: /* @__PURE__ */ picklist$1(["window", "meeting"]),
59208
+ trigger_when_timer_is_running: /* @__PURE__ */ boolean$1(),
59209
+ updated_at: apiDateTimeString
59210
+ }))) }) }),
59211
+ execute: (input, { client }) => {
59212
+ const data = input;
59213
+ return client.runGeneratedRequest("partialUpdateDesktopUserSettings", () => callGeneratedRequest(partialUpdateDesktopUserSettings, [
59214
+ client.httpClient,
59215
+ data.payload ?? data.data ?? data,
59216
+ void 0
59217
+ ]));
59218
+ }
59219
+ },
59152
59220
  {
59153
59221
  id: "focus.users.workspace-settings-list",
59154
59222
  family: "focus",
@@ -60800,7 +60868,7 @@ function registerWorkspaceTools(server) {
60800
60868
  //#region src/package-version.ts
60801
60869
  function mcpPackageVersion() {
60802
60870
  try {
60803
- return "1.13.209";
60871
+ return "1.13.211";
60804
60872
  } catch {
60805
60873
  return "unknown";
60806
60874
  }
@@ -60982,7 +61050,7 @@ import_main.default.config({
60982
61050
  quiet: true,
60983
61051
  ignore: ["MISSING_ENV_FILE"]
60984
61052
  });
60985
- const packageVersion = "1.13.209";
61053
+ const packageVersion = "1.13.211";
60986
61054
  const MCP_CACHE_TTL_MS = 300 * 1e3;
60987
61055
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
60988
61056
  function resolvePublicUrls() {
@@ -61102,4 +61170,4 @@ function bootstrapServer(options = {}) {
61102
61170
  //#endregion
61103
61171
  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 };
61104
61172
 
61105
- //# sourceMappingURL=src-Ulfh0KQr.js.map
61173
+ //# sourceMappingURL=src-CmAwAeQB.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.209",
3
+ "version": "1.13.211",
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",