@togglhq/mcp 1.13.208 → 1.13.210

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-BKwOAaFF.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-CGw0lwDJ.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.208";
165
+ const packageVersion = "1.13.210";
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-BKwOAaFF.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-CGw0lwDJ.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
  }
@@ -42988,13 +42988,14 @@ function formatValibotError(issues, maxLength = MAX_ERROR_LENGTH) {
42988
42988
  }
42989
42989
  //#endregion
42990
42990
  //#region ../focus-queries/dist/ai/requests.ts
42991
- async function getAiConversations(httpClient, organization_id, workspace_id, { search, before, limit } = {}, signal) {
42991
+ async function getAiConversations(httpClient, organization_id, workspace_id, { search, before, limit, product } = {}, signal) {
42992
42992
  return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations`, {
42993
42993
  signal,
42994
42994
  searchParams: buildSearchParams$2({
42995
42995
  search,
42996
42996
  before,
42997
- limit
42997
+ limit,
42998
+ product
42998
42999
  })
42999
43000
  })).json();
43000
43001
  }
@@ -43009,32 +43010,51 @@ async function removeAiAttachment(httpClient, organization_id, workspace_id, con
43009
43010
  if ([204, 205].includes(response.status)) return null;
43010
43011
  return response.json();
43011
43012
  }
43012
- async function getAiMessages(httpClient, organization_id, workspace_id, conversation_id, { limit } = {}, signal) {
43013
+ async function getAiMessages(httpClient, organization_id, workspace_id, conversation_id, { limit, product } = {}, signal) {
43013
43014
  return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
43014
43015
  signal,
43015
- searchParams: buildSearchParams$2({ limit })
43016
+ searchParams: buildSearchParams$2({
43017
+ limit,
43018
+ product
43019
+ })
43016
43020
  })).json();
43017
43021
  }
43018
- async function sendAiMessage(httpClient, organization_id, workspace_id, conversation_id, data, signal) {
43022
+ async function sendAiMessage(httpClient, organization_id, workspace_id, conversation_id, data, product, signal) {
43019
43023
  return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
43020
43024
  signal,
43021
- json: data
43025
+ json: data,
43026
+ searchParams: buildSearchParams$2({ product })
43022
43027
  })).json();
43023
43028
  }
43024
- async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, signal) {
43025
- return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, { signal })).json();
43029
+ async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, product, signal) {
43030
+ return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, {
43031
+ signal,
43032
+ searchParams: buildSearchParams$2({ product })
43033
+ })).json();
43026
43034
  }
43027
- async function acceptAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
43028
- return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/accept`, { signal })).json();
43035
+ async function acceptAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, product, signal) {
43036
+ return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/accept`, {
43037
+ signal,
43038
+ searchParams: buildSearchParams$2({ product })
43039
+ })).json();
43029
43040
  }
43030
- async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
43031
- return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal })).json();
43041
+ async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, product, signal) {
43042
+ return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, {
43043
+ signal,
43044
+ searchParams: buildSearchParams$2({ product })
43045
+ })).json();
43032
43046
  }
43033
- async function discardAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
43034
- return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/discard`, { signal })).json();
43047
+ async function discardAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, product, signal) {
43048
+ return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/discard`, {
43049
+ signal,
43050
+ searchParams: buildSearchParams$2({ product })
43051
+ })).json();
43035
43052
  }
43036
- async function undoAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
43037
- return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/undo`, { signal })).json();
43053
+ async function undoAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, product, signal) {
43054
+ return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/undo`, {
43055
+ signal,
43056
+ searchParams: buildSearchParams$2({ product })
43057
+ })).json();
43038
43058
  }
43039
43059
  async function dayRebuildGroup(httpClient, organization_id, workspace_id, data, signal) {
43040
43060
  return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/group`, {
@@ -43091,10 +43111,11 @@ async function connectAiSource(httpClient, organization_id, workspace_id, source
43091
43111
  async function getAiUsage(httpClient, organization_id, workspace_id, signal) {
43092
43112
  return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/usage`, { signal })).json();
43093
43113
  }
43094
- async function runAiView(httpClient, organization_id, workspace_id, data, signal) {
43114
+ async function runAiView(httpClient, organization_id, workspace_id, data, product, signal) {
43095
43115
  return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/views/run`, {
43096
43116
  signal,
43097
- json: data
43117
+ json: data,
43118
+ searchParams: buildSearchParams$2({ product })
43098
43119
  })).json();
43099
43120
  }
43100
43121
  //#endregion
@@ -45091,6 +45112,15 @@ async function partialUpdateUserSettings(httpClient, data, signal) {
45091
45112
  json: data
45092
45113
  })).json();
45093
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
+ }
45094
45124
  //#endregion
45095
45125
  //#region ../focus-queries/dist/user-workspace-settings/requests.ts
45096
45126
  async function getUserWorkspaceSettings(httpClient, workspace_id, signal) {
@@ -45210,6 +45240,7 @@ const generatedFocusOperations = [
45210
45240
  inputSchema: /* @__PURE__ */ looseObject({
45211
45241
  conversation_id: /* @__PURE__ */ string$1(),
45212
45242
  message_id: /* @__PURE__ */ number$2(),
45243
+ product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"])),
45213
45244
  view_id: /* @__PURE__ */ string$1()
45214
45245
  }),
45215
45246
  execute: (input, { client }) => {
@@ -45221,6 +45252,7 @@ const generatedFocusOperations = [
45221
45252
  data.conversation_id,
45222
45253
  data.message_id,
45223
45254
  data.view_id,
45255
+ data.product,
45224
45256
  void 0
45225
45257
  ]));
45226
45258
  }
@@ -45243,6 +45275,7 @@ const generatedFocusOperations = [
45243
45275
  inputSchema: /* @__PURE__ */ looseObject({
45244
45276
  conversation_id: /* @__PURE__ */ string$1(),
45245
45277
  message_id: /* @__PURE__ */ number$2(),
45278
+ product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"])),
45246
45279
  view_id: /* @__PURE__ */ string$1()
45247
45280
  }),
45248
45281
  execute: (input, { client }) => {
@@ -45254,6 +45287,7 @@ const generatedFocusOperations = [
45254
45287
  data.conversation_id,
45255
45288
  data.message_id,
45256
45289
  data.view_id,
45290
+ data.product,
45257
45291
  void 0
45258
45292
  ]));
45259
45293
  }
@@ -45434,6 +45468,7 @@ const generatedFocusOperations = [
45434
45468
  inputSchema: /* @__PURE__ */ looseObject({
45435
45469
  conversation_id: /* @__PURE__ */ string$1(),
45436
45470
  message_id: /* @__PURE__ */ number$2(),
45471
+ product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"])),
45437
45472
  view_id: /* @__PURE__ */ string$1()
45438
45473
  }),
45439
45474
  execute: (input, { client }) => {
@@ -45445,6 +45480,7 @@ const generatedFocusOperations = [
45445
45480
  data.conversation_id,
45446
45481
  data.message_id,
45447
45482
  data.view_id,
45483
+ data.product,
45448
45484
  void 0
45449
45485
  ]));
45450
45486
  }
@@ -45528,6 +45564,7 @@ const generatedFocusOperations = [
45528
45564
  inputSchema: /* @__PURE__ */ looseObject({
45529
45565
  before: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45530
45566
  limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45567
+ product: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45531
45568
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
45532
45569
  }),
45533
45570
  execute: (input, { client }) => {
@@ -45558,7 +45595,8 @@ const generatedFocusOperations = [
45558
45595
  mcp: { entityTool: "ai" },
45559
45596
  inputSchema: /* @__PURE__ */ looseObject({
45560
45597
  conversation_id: /* @__PURE__ */ string$1(),
45561
- limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
45598
+ limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45599
+ product: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
45562
45600
  }),
45563
45601
  execute: (input, { client }) => {
45564
45602
  const data = input;
@@ -45635,7 +45673,8 @@ const generatedFocusOperations = [
45635
45673
  mcp: { entityTool: "ai" },
45636
45674
  inputSchema: /* @__PURE__ */ looseObject({
45637
45675
  conversation_id: /* @__PURE__ */ string$1(),
45638
- message_id: /* @__PURE__ */ number$2()
45676
+ message_id: /* @__PURE__ */ number$2(),
45677
+ product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
45639
45678
  }),
45640
45679
  execute: (input, { client }) => {
45641
45680
  const data = input;
@@ -45645,6 +45684,7 @@ const generatedFocusOperations = [
45645
45684
  client.workspaceIdNumber,
45646
45685
  data.conversation_id,
45647
45686
  data.message_id,
45687
+ data.product,
45648
45688
  void 0
45649
45689
  ]));
45650
45690
  }
@@ -45695,10 +45735,13 @@ const generatedFocusOperations = [
45695
45735
  interactive: "default"
45696
45736
  },
45697
45737
  mcp: { entityTool: "ai" },
45698
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
45699
- input: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
45700
- tool: /* @__PURE__ */ string$1()
45701
- }) }),
45738
+ inputSchema: /* @__PURE__ */ looseObject({
45739
+ payload: /* @__PURE__ */ looseObject({
45740
+ input: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
45741
+ tool: /* @__PURE__ */ string$1()
45742
+ }),
45743
+ product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
45744
+ }),
45702
45745
  execute: (input, { client }) => {
45703
45746
  const data = input;
45704
45747
  return client.runGeneratedRequest("runAiView", () => callGeneratedRequest(runAiView, [
@@ -45706,6 +45749,7 @@ const generatedFocusOperations = [
45706
45749
  client.organizationId,
45707
45750
  client.workspaceIdNumber,
45708
45751
  data.payload ?? data.data ?? data,
45752
+ data.product,
45709
45753
  void 0
45710
45754
  ]));
45711
45755
  }
@@ -45846,7 +45890,8 @@ const generatedFocusOperations = [
45846
45890
  page_label: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45847
45891
  url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
45848
45892
  }))
45849
- })
45893
+ }),
45894
+ product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
45850
45895
  }),
45851
45896
  execute: (input, { client }) => {
45852
45897
  const data = input;
@@ -45856,6 +45901,7 @@ const generatedFocusOperations = [
45856
45901
  client.workspaceIdNumber,
45857
45902
  data.conversation_id,
45858
45903
  data.payload ?? data.data ?? data,
45904
+ data.product,
45859
45905
  void 0
45860
45906
  ]));
45861
45907
  }
@@ -45878,6 +45924,7 @@ const generatedFocusOperations = [
45878
45924
  inputSchema: /* @__PURE__ */ looseObject({
45879
45925
  conversation_id: /* @__PURE__ */ string$1(),
45880
45926
  message_id: /* @__PURE__ */ number$2(),
45927
+ product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"])),
45881
45928
  view_id: /* @__PURE__ */ string$1()
45882
45929
  }),
45883
45930
  execute: (input, { client }) => {
@@ -45889,6 +45936,7 @@ const generatedFocusOperations = [
45889
45936
  data.conversation_id,
45890
45937
  data.message_id,
45891
45938
  data.view_id,
45939
+ data.product,
45892
45940
  void 0
45893
45941
  ]));
45894
45942
  }
@@ -58989,6 +59037,24 @@ const generatedFocusOperations = [
58989
59037
  ]));
58990
59038
  }
58991
59039
  },
59040
+ {
59041
+ id: "focus.users.settings-get-desktop",
59042
+ family: "focus",
59043
+ resource: "users",
59044
+ action: "settings-get-desktop",
59045
+ title: "Settings Get Desktop Users",
59046
+ description: "Settings Get Desktop Users.",
59047
+ safety: "read",
59048
+ destructive: false,
59049
+ cli: {
59050
+ group: ["users", "settings"],
59051
+ command: "get-desktop",
59052
+ interactive: "hidden"
59053
+ },
59054
+ mcp: { entityTool: "users" },
59055
+ inputSchema: /* @__PURE__ */ looseObject({}),
59056
+ execute: (_input, { client }) => client.runGeneratedRequest("getDesktopUserSettings", () => callGeneratedRequest(getDesktopUserSettings, [client.httpClient, void 0]))
59057
+ },
58992
59058
  {
58993
59059
  id: "focus.users.settings-list",
58994
59060
  family: "focus",
@@ -59110,6 +59176,41 @@ const generatedFocusOperations = [
59110
59176
  ]));
59111
59177
  }
59112
59178
  },
59179
+ {
59180
+ id: "focus.users.settings-update-desktop",
59181
+ family: "focus",
59182
+ resource: "users",
59183
+ action: "settings-update-desktop",
59184
+ title: "Settings Update Desktop Users",
59185
+ description: "Settings Update Desktop Users.",
59186
+ safety: "update",
59187
+ destructive: false,
59188
+ cli: {
59189
+ group: ["users", "settings"],
59190
+ command: "update-desktop",
59191
+ interactive: "default"
59192
+ },
59193
+ mcp: { entityTool: "users" },
59194
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ desktop_autotracker_rules: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
59195
+ enabled: /* @__PURE__ */ boolean$1(),
59196
+ id: /* @__PURE__ */ string$1(),
59197
+ keyword: /* @__PURE__ */ string$1(),
59198
+ keyword_mode: /* @__PURE__ */ picklist$1(["contains_phrase", "all_words"]),
59199
+ start_without_asking: /* @__PURE__ */ boolean$1(),
59200
+ stop_when_meeting_ends: /* @__PURE__ */ boolean$1(),
59201
+ trigger: /* @__PURE__ */ picklist$1(["window", "meeting"]),
59202
+ trigger_when_timer_is_running: /* @__PURE__ */ boolean$1(),
59203
+ updated_at: apiDateTimeString
59204
+ }))) }) }),
59205
+ execute: (input, { client }) => {
59206
+ const data = input;
59207
+ return client.runGeneratedRequest("partialUpdateDesktopUserSettings", () => callGeneratedRequest(partialUpdateDesktopUserSettings, [
59208
+ client.httpClient,
59209
+ data.payload ?? data.data ?? data,
59210
+ void 0
59211
+ ]));
59212
+ }
59213
+ },
59113
59214
  {
59114
59215
  id: "focus.users.workspace-settings-list",
59115
59216
  family: "focus",
@@ -60761,7 +60862,7 @@ function registerWorkspaceTools(server) {
60761
60862
  //#region src/package-version.ts
60762
60863
  function mcpPackageVersion() {
60763
60864
  try {
60764
- return "1.13.208";
60865
+ return "1.13.210";
60765
60866
  } catch {
60766
60867
  return "unknown";
60767
60868
  }
@@ -60943,7 +61044,7 @@ import_main.default.config({
60943
61044
  quiet: true,
60944
61045
  ignore: ["MISSING_ENV_FILE"]
60945
61046
  });
60946
- const packageVersion = "1.13.208";
61047
+ const packageVersion = "1.13.210";
60947
61048
  const MCP_CACHE_TTL_MS = 300 * 1e3;
60948
61049
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
60949
61050
  function resolvePublicUrls() {
@@ -61063,4 +61164,4 @@ function bootstrapServer(options = {}) {
61063
61164
  //#endregion
61064
61165
  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 };
61065
61166
 
61066
- //# sourceMappingURL=src-BKwOAaFF.js.map
61167
+ //# sourceMappingURL=src-CGw0lwDJ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.208",
3
+ "version": "1.13.210",
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",