@togglhq/mcp 1.11.47 → 1.11.48

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 initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-C9OtOH4R.js";
2
+ import { a as initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-CQEl4Mnr.js";
3
3
  import * as Sentry from "@sentry/node";
4
4
  //#region src/analytics-tool-metadata.ts
5
5
  /**
@@ -165,7 +165,7 @@ function wrapServerWithProductAnalytics(server) {
165
165
  }
166
166
  //#endregion
167
167
  //#region src/cli.ts
168
- const packageVersion = "1.11.47";
168
+ const packageVersion = "1.11.48";
169
169
  let sentryEnabled = false;
170
170
  let productAnalyticsEnabled = false;
171
171
  runMcpCli({
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { n as runMcpCli, t as bootstrapServer } from "./src-C9OtOH4R.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-CQEl4Mnr.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -38431,7 +38431,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38431
38431
  ]))
38432
38432
  });
38433
38433
  //#endregion
38434
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38434
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38435
38435
  async function getInvitations(httpClient, signal) {
38436
38436
  return (await httpClient.get(`invitations`, { signal })).json();
38437
38437
  }
@@ -38448,7 +38448,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38448
38448
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38449
38449
  }
38450
38450
  //#endregion
38451
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38451
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38452
38452
  function buildSearchParams(params, flattenArrays = false) {
38453
38453
  const searchParams = new URLSearchParams();
38454
38454
  Object.entries(params).forEach(([key, value]) => {
@@ -38460,7 +38460,7 @@ function buildSearchParams(params, flattenArrays = false) {
38460
38460
  return searchParams;
38461
38461
  }
38462
38462
  //#endregion
38463
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38463
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38464
38464
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38465
38465
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38466
38466
  }
@@ -38474,7 +38474,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38474
38474
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38475
38475
  }
38476
38476
  //#endregion
38477
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38477
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38478
38478
  async function getWorkspaces(httpClient, organization_id, signal) {
38479
38479
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38480
38480
  }
@@ -38494,7 +38494,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38494
38494
  });
38495
38495
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38496
38496
  //#endregion
38497
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38497
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38498
38498
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38499
38499
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38500
38500
  signal,
@@ -38505,12 +38505,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38505
38505
  })).json();
38506
38506
  }
38507
38507
  //#endregion
38508
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38508
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38509
38509
  async function getStatus(httpClient, signal) {
38510
38510
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38511
38511
  }
38512
38512
  //#endregion
38513
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38513
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38514
38514
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38515
38515
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38516
38516
  signal,
@@ -38538,7 +38538,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38538
38538
  return response.json();
38539
38539
  }
38540
38540
  //#endregion
38541
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38541
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38542
38542
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38543
38543
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38544
38544
  }
@@ -42799,6 +42799,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
42799
42799
  }).json();
42800
42800
  }
42801
42801
  //#endregion
42802
+ //#region ../focus-queries/dist/publicsharedreports/requests.ts
42803
+ async function openPublicSharedReport(httpClient, token, signal) {
42804
+ return await httpClient.get(`shared/${token}`, { signal }).json();
42805
+ }
42806
+ async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42807
+ return await httpClient.post(`shared/${token}/profitability`, {
42808
+ signal,
42809
+ json: data,
42810
+ searchParams: buildSearchParams$2({
42811
+ response_format,
42812
+ include_dicts
42813
+ })
42814
+ }).json();
42815
+ }
42816
+ async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42817
+ return await httpClient.post(`shared/${token}/query`, {
42818
+ signal,
42819
+ json: data,
42820
+ searchParams: buildSearchParams$2({
42821
+ response_format,
42822
+ include_dicts
42823
+ })
42824
+ }).json();
42825
+ }
42826
+ async function workloadPublicSharedReport(httpClient, token, data, signal) {
42827
+ return await httpClient.post(`shared/${token}/workload`, {
42828
+ signal,
42829
+ json: data
42830
+ }).json();
42831
+ }
42832
+ //#endregion
42802
42833
  //#region ../focus-queries/dist/rates/requests.ts
42803
42834
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
42804
42835
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -43012,6 +43043,9 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
43012
43043
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
43013
43044
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
43014
43045
  }
43046
+ async function unshareSharedReport(httpClient, workspace_id, id, signal) {
43047
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
43048
+ }
43015
43049
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
43016
43050
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
43017
43051
  signal,
@@ -43021,6 +43055,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
43021
43055
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
43022
43056
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
43023
43057
  }
43058
+ async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
43059
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
43060
+ signal,
43061
+ json: data
43062
+ }).json();
43063
+ }
43064
+ async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
43065
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
43066
+ }
43067
+ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
43068
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
43069
+ signal,
43070
+ json: data
43071
+ }).json();
43072
+ }
43024
43073
  //#endregion
43025
43074
  //#region ../focus-queries/dist/subscriptions/requests.ts
43026
43075
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -46707,6 +46756,130 @@ const generatedFocusOperations = [
46707
46756
  ]));
46708
46757
  }
46709
46758
  },
46759
+ {
46760
+ id: "focus.publicsharedreports.open-public-shared-report",
46761
+ family: "focus",
46762
+ resource: "publicsharedreports",
46763
+ action: "open-public-shared-report",
46764
+ title: "Open Public Shared Report Publicsharedreports",
46765
+ description: "Open Public Shared Report Publicsharedreports.",
46766
+ safety: "read",
46767
+ destructive: false,
46768
+ cli: {
46769
+ group: ["publicsharedreports"],
46770
+ command: "open-public-shared-report",
46771
+ interactive: "available"
46772
+ },
46773
+ mcp: { entityTool: "publicsharedreports" },
46774
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
46775
+ execute: (input, { client }) => {
46776
+ const data = input;
46777
+ return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
46778
+ client.httpClient,
46779
+ data.token,
46780
+ void 0
46781
+ ]));
46782
+ }
46783
+ },
46784
+ {
46785
+ id: "focus.publicsharedreports.profitability-public-shared-report",
46786
+ family: "focus",
46787
+ resource: "publicsharedreports",
46788
+ action: "profitability-public-shared-report",
46789
+ title: "Profitability Public Shared Report Publicsharedreports",
46790
+ description: "Profitability Public Shared Report Publicsharedreports.",
46791
+ safety: "update",
46792
+ destructive: false,
46793
+ cli: {
46794
+ group: ["publicsharedreports"],
46795
+ command: "profitability-public-shared-report",
46796
+ interactive: "default"
46797
+ },
46798
+ mcp: { entityTool: "publicsharedreports" },
46799
+ inputSchema: /* @__PURE__ */ looseObject({
46800
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46801
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46802
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
46803
+ token: /* @__PURE__ */ string$1()
46804
+ }),
46805
+ execute: (input, { client }) => {
46806
+ const data = input;
46807
+ return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
46808
+ client.httpClient,
46809
+ data.token,
46810
+ data.payload ?? data.data ?? data,
46811
+ data.response_format,
46812
+ data.include_dicts,
46813
+ void 0
46814
+ ]));
46815
+ }
46816
+ },
46817
+ {
46818
+ id: "focus.publicsharedreports.query-public-shared-report",
46819
+ family: "focus",
46820
+ resource: "publicsharedreports",
46821
+ action: "query-public-shared-report",
46822
+ title: "Query Public Shared Report Publicsharedreports",
46823
+ description: "Query Public Shared Report Publicsharedreports.",
46824
+ safety: "update",
46825
+ destructive: false,
46826
+ cli: {
46827
+ group: ["publicsharedreports"],
46828
+ command: "query-public-shared-report",
46829
+ interactive: "default"
46830
+ },
46831
+ mcp: { entityTool: "publicsharedreports" },
46832
+ inputSchema: /* @__PURE__ */ looseObject({
46833
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46834
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46835
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46836
+ "json_row",
46837
+ "table",
46838
+ "hierarchical"
46839
+ ])),
46840
+ token: /* @__PURE__ */ string$1()
46841
+ }),
46842
+ execute: (input, { client }) => {
46843
+ const data = input;
46844
+ return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
46845
+ client.httpClient,
46846
+ data.token,
46847
+ data.payload ?? data.data ?? data,
46848
+ data.response_format,
46849
+ data.include_dicts,
46850
+ void 0
46851
+ ]));
46852
+ }
46853
+ },
46854
+ {
46855
+ id: "focus.publicsharedreports.workload-public-shared-report",
46856
+ family: "focus",
46857
+ resource: "publicsharedreports",
46858
+ action: "workload-public-shared-report",
46859
+ title: "Workload Public Shared Report Publicsharedreports",
46860
+ description: "Workload Public Shared Report Publicsharedreports.",
46861
+ safety: "update",
46862
+ destructive: false,
46863
+ cli: {
46864
+ group: ["publicsharedreports"],
46865
+ command: "workload-public-shared-report",
46866
+ interactive: "default"
46867
+ },
46868
+ mcp: { entityTool: "publicsharedreports" },
46869
+ inputSchema: /* @__PURE__ */ looseObject({
46870
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46871
+ token: /* @__PURE__ */ string$1()
46872
+ }),
46873
+ execute: (input, { client }) => {
46874
+ const data = input;
46875
+ return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
46876
+ client.httpClient,
46877
+ data.token,
46878
+ data.payload ?? data.data ?? data,
46879
+ void 0
46880
+ ]));
46881
+ }
46882
+ },
46710
46883
  {
46711
46884
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
46712
46885
  family: "focus",
@@ -49082,6 +49255,36 @@ const generatedFocusOperations = [
49082
49255
  void 0
49083
49256
  ]))
49084
49257
  },
49258
+ {
49259
+ id: "focus.sharedreports.mint-shared-report-link",
49260
+ family: "focus",
49261
+ resource: "sharedreports",
49262
+ action: "mint-shared-report-link",
49263
+ title: "Mint Shared Report Link Sharedreports",
49264
+ description: "Mint Shared Report Link Sharedreports.",
49265
+ safety: "update",
49266
+ destructive: false,
49267
+ cli: {
49268
+ group: ["sharedreports"],
49269
+ command: "mint-shared-report-link",
49270
+ interactive: "default"
49271
+ },
49272
+ mcp: { entityTool: "sharedreports" },
49273
+ inputSchema: /* @__PURE__ */ looseObject({
49274
+ id: /* @__PURE__ */ number$2(),
49275
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
49276
+ }),
49277
+ execute: (input, { client }) => {
49278
+ const data = input;
49279
+ return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
49280
+ client.httpClient,
49281
+ client.workspaceIdNumber,
49282
+ data.id,
49283
+ data.payload ?? data.data ?? data,
49284
+ void 0
49285
+ ]));
49286
+ }
49287
+ },
49085
49288
  {
49086
49289
  id: "focus.sharedreports.revoke-shared-report-grant",
49087
49290
  family: "focus",
@@ -49112,6 +49315,62 @@ const generatedFocusOperations = [
49112
49315
  ]));
49113
49316
  }
49114
49317
  },
49318
+ {
49319
+ id: "focus.sharedreports.revoke-shared-report-link",
49320
+ family: "focus",
49321
+ resource: "sharedreports",
49322
+ action: "revoke-shared-report-link",
49323
+ title: "Revoke Shared Report Link Sharedreports",
49324
+ description: "Revoke Shared Report Link Sharedreports.",
49325
+ safety: "delete",
49326
+ destructive: true,
49327
+ cli: {
49328
+ group: ["sharedreports"],
49329
+ command: "revoke-shared-report-link",
49330
+ interactive: "default"
49331
+ },
49332
+ mcp: { entityTool: "sharedreports" },
49333
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49334
+ execute: (input, { client }) => {
49335
+ const data = input;
49336
+ return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
49337
+ client.httpClient,
49338
+ client.workspaceIdNumber,
49339
+ data.id,
49340
+ void 0
49341
+ ]));
49342
+ }
49343
+ },
49344
+ {
49345
+ id: "focus.sharedreports.rotate-shared-report-link",
49346
+ family: "focus",
49347
+ resource: "sharedreports",
49348
+ action: "rotate-shared-report-link",
49349
+ title: "Rotate Shared Report Link Sharedreports",
49350
+ description: "Rotate Shared Report Link Sharedreports.",
49351
+ safety: "update",
49352
+ destructive: false,
49353
+ cli: {
49354
+ group: ["sharedreports"],
49355
+ command: "rotate-shared-report-link",
49356
+ interactive: "default"
49357
+ },
49358
+ mcp: { entityTool: "sharedreports" },
49359
+ inputSchema: /* @__PURE__ */ looseObject({
49360
+ id: /* @__PURE__ */ number$2(),
49361
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
49362
+ }),
49363
+ execute: (input, { client }) => {
49364
+ const data = input;
49365
+ return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
49366
+ client.httpClient,
49367
+ client.workspaceIdNumber,
49368
+ data.id,
49369
+ data.payload ?? data.data ?? data,
49370
+ void 0
49371
+ ]));
49372
+ }
49373
+ },
49115
49374
  {
49116
49375
  id: "focus.sharedreports.share-saved-view",
49117
49376
  family: "focus",
@@ -49186,6 +49445,32 @@ const generatedFocusOperations = [
49186
49445
  ]));
49187
49446
  }
49188
49447
  },
49448
+ {
49449
+ id: "focus.sharedreports.unshare-shared-report",
49450
+ family: "focus",
49451
+ resource: "sharedreports",
49452
+ action: "unshare-shared-report",
49453
+ title: "Unshare Shared Report Sharedreports",
49454
+ description: "Unshare Shared Report Sharedreports.",
49455
+ safety: "delete",
49456
+ destructive: true,
49457
+ cli: {
49458
+ group: ["sharedreports"],
49459
+ command: "unshare-shared-report",
49460
+ interactive: "default"
49461
+ },
49462
+ mcp: { entityTool: "sharedreports" },
49463
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49464
+ execute: (input, { client }) => {
49465
+ const data = input;
49466
+ return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
49467
+ client.httpClient,
49468
+ client.workspaceIdNumber,
49469
+ data.id,
49470
+ void 0
49471
+ ]));
49472
+ }
49473
+ },
49189
49474
  {
49190
49475
  id: "focus.statuses.create-status",
49191
49476
  family: "focus",
@@ -55235,7 +55520,7 @@ function registerWorkspaceTools(server) {
55235
55520
  //#region src/package-version.ts
55236
55521
  function mcpPackageVersion() {
55237
55522
  try {
55238
- return "1.11.47";
55523
+ return "1.11.48";
55239
55524
  } catch {
55240
55525
  return "unknown";
55241
55526
  }
@@ -55410,7 +55695,7 @@ import_main.default.config({
55410
55695
  quiet: true,
55411
55696
  ignore: ["MISSING_ENV_FILE"]
55412
55697
  });
55413
- const packageVersion = "1.11.47";
55698
+ const packageVersion = "1.11.48";
55414
55699
  function resolvePublicUrls() {
55415
55700
  return {
55416
55701
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55475,4 +55760,4 @@ function bootstrapServer(options = {}) {
55475
55760
  //#endregion
55476
55761
  export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
55477
55762
 
55478
- //# sourceMappingURL=src-C9OtOH4R.js.map
55763
+ //# sourceMappingURL=src-CQEl4Mnr.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.47",
3
+ "version": "1.11.48",
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",