@togglhq/mcp 1.7.0 → 1.7.2

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 { n as runMcpCli } from "./src-BlWD3FwF.js";
2
+ import { n as runMcpCli } from "./src-BSqkikrb.js";
3
3
  //#region src/cli.ts
4
4
  runMcpCli();
5
5
  //#endregion
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-BlWD3FwF.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-BSqkikrb.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -30952,7 +30952,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
30952
30952
  ]))
30953
30953
  });
30954
30954
  //#endregion
30955
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30955
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30956
30956
  async function getInvitations(httpClient, signal) {
30957
30957
  return (await httpClient.get(`invitations`, { signal })).json();
30958
30958
  }
@@ -30969,7 +30969,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
30969
30969
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
30970
30970
  }
30971
30971
  //#endregion
30972
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30972
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30973
30973
  function buildSearchParams$1(params, flattenArrays = false) {
30974
30974
  const searchParams = new URLSearchParams();
30975
30975
  Object.entries(params).forEach(([key, value]) => {
@@ -30981,7 +30981,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
30981
30981
  return searchParams;
30982
30982
  }
30983
30983
  //#endregion
30984
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30984
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30985
30985
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
30986
30986
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
30987
30987
  }
@@ -30995,7 +30995,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
30995
30995
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
30996
30996
  }
30997
30997
  //#endregion
30998
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30998
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30999
30999
  async function getWorkspaces(httpClient, organization_id, signal) {
31000
31000
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
31001
31001
  }
@@ -31015,7 +31015,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
31015
31015
  });
31016
31016
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
31017
31017
  //#endregion
31018
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
31018
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
31019
31019
  const META_SYMBOL = Symbol.for("querygen:response:meta");
31020
31020
  function withResponseMeta(data, headers, status) {
31021
31021
  if (!data) return data;
@@ -31042,7 +31042,7 @@ function buildSearchParams(params, flattenArrays = false) {
31042
31042
  return searchParams;
31043
31043
  }
31044
31044
  //#endregion
31045
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
31045
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
31046
31046
  async function getPublicHolidays(httpClient, year, { country, organization_id } = {}, signal) {
31047
31047
  const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
31048
31048
  signal,
@@ -31054,12 +31054,12 @@ async function getPublicHolidays(httpClient, year, { country, organization_id }
31054
31054
  return withResponseMeta(await response.json(), response.headers, response.status);
31055
31055
  }
31056
31056
  //#endregion
31057
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
31057
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
31058
31058
  async function getStatus(httpClient, signal) {
31059
31059
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
31060
31060
  }
31061
31061
  //#endregion
31062
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
31062
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
31063
31063
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
31064
31064
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
31065
31065
  signal,
@@ -31087,7 +31087,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
31087
31087
  return response.json();
31088
31088
  }
31089
31089
  //#endregion
31090
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
31090
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
31091
31091
  async function getMyWorkingHours(httpClient, organization_id, signal) {
31092
31092
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
31093
31093
  }
@@ -34961,14 +34961,17 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
34961
34961
  }
34962
34962
  //#endregion
34963
34963
  //#region ../focus-queries/dist/search/requests.ts
34964
- async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, include_drafts }, signal) {
34964
+ async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, project_id, task_id, include_drafts, exclude_calendar_events }, signal) {
34965
34965
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
34966
34966
  signal,
34967
34967
  searchParams: buildSearchParams$3({
34968
34968
  keyword,
34969
34969
  per_group,
34970
34970
  assignee_user_id,
34971
- include_drafts
34971
+ project_id,
34972
+ task_id,
34973
+ include_drafts,
34974
+ exclude_calendar_events
34972
34975
  })
34973
34976
  }).json();
34974
34977
  }
@@ -45213,7 +45216,7 @@ import_main.default.config({
45213
45216
  quiet: true,
45214
45217
  ignore: ["MISSING_ENV_FILE"]
45215
45218
  });
45216
- const packageVersion = "1.7.0";
45219
+ const packageVersion = "1.7.2";
45217
45220
  function resolvePublicUrls() {
45218
45221
  return {
45219
45222
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -45277,4 +45280,4 @@ function bootstrapServer(options = {}) {
45277
45280
  //#endregion
45278
45281
  export { runMcpCli as n, bootstrapServer as t };
45279
45282
 
45280
- //# sourceMappingURL=src-BlWD3FwF.js.map
45283
+ //# sourceMappingURL=src-BSqkikrb.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
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",