@togglhq/mcp 1.6.3 → 1.6.5

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-DLYOjxYJ.js";
2
+ import { n as runMcpCli } from "./src-pbVHp4ta.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-DLYOjxYJ.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-pbVHp4ta.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -30738,7 +30738,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
30738
30738
  ]))
30739
30739
  });
30740
30740
  //#endregion
30741
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.139_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_332ef732d6c2cb5df2cecd3223636cfa/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30741
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.146_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ffd88e721c4d498d2e8339316c669569/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30742
30742
  async function getInvitations(httpClient, signal) {
30743
30743
  return (await httpClient.get(`invitations`, { signal })).json();
30744
30744
  }
@@ -30755,7 +30755,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
30755
30755
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
30756
30756
  }
30757
30757
  //#endregion
30758
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.139_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_332ef732d6c2cb5df2cecd3223636cfa/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30758
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.146_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ffd88e721c4d498d2e8339316c669569/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30759
30759
  function buildSearchParams$1(params, flattenArrays = false) {
30760
30760
  const searchParams = new URLSearchParams();
30761
30761
  Object.entries(params).forEach(([key, value]) => {
@@ -30767,7 +30767,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
30767
30767
  return searchParams;
30768
30768
  }
30769
30769
  //#endregion
30770
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.139_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_332ef732d6c2cb5df2cecd3223636cfa/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30770
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.146_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ffd88e721c4d498d2e8339316c669569/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30771
30771
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
30772
30772
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
30773
30773
  }
@@ -30781,7 +30781,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
30781
30781
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
30782
30782
  }
30783
30783
  //#endregion
30784
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.139_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_332ef732d6c2cb5df2cecd3223636cfa/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30784
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.146_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ffd88e721c4d498d2e8339316c669569/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30785
30785
  async function getWorkspaces(httpClient, organization_id, signal) {
30786
30786
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
30787
30787
  }
@@ -30801,7 +30801,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
30801
30801
  });
30802
30802
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
30803
30803
  //#endregion
30804
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.139_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_332ef732d6c2cb5df2cecd3223636cfa/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
30804
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.146_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ffd88e721c4d498d2e8339316c669569/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
30805
30805
  const META_SYMBOL = Symbol.for("querygen:response:meta");
30806
30806
  function withResponseMeta(data, headers, status) {
30807
30807
  if (!data) return data;
@@ -30828,7 +30828,7 @@ function buildSearchParams(params, flattenArrays = false) {
30828
30828
  return searchParams;
30829
30829
  }
30830
30830
  //#endregion
30831
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.139_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_332ef732d6c2cb5df2cecd3223636cfa/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
30831
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.146_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ffd88e721c4d498d2e8339316c669569/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
30832
30832
  async function getPublicHolidays(httpClient, year, { country, organization_id } = {}, signal) {
30833
30833
  const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
30834
30834
  signal,
@@ -30840,12 +30840,12 @@ async function getPublicHolidays(httpClient, year, { country, organization_id }
30840
30840
  return withResponseMeta(await response.json(), response.headers, response.status);
30841
30841
  }
30842
30842
  //#endregion
30843
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.139_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_332ef732d6c2cb5df2cecd3223636cfa/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
30843
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.146_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ffd88e721c4d498d2e8339316c669569/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
30844
30844
  async function getStatus(httpClient, signal) {
30845
30845
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
30846
30846
  }
30847
30847
  //#endregion
30848
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.139_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_332ef732d6c2cb5df2cecd3223636cfa/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
30848
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.146_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ffd88e721c4d498d2e8339316c669569/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
30849
30849
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
30850
30850
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
30851
30851
  signal,
@@ -30873,7 +30873,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
30873
30873
  return response.json();
30874
30874
  }
30875
30875
  //#endregion
30876
- //#region ../../node_modules/.pnpm/@toggl+queries@2.1.139_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_332ef732d6c2cb5df2cecd3223636cfa/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
30876
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.1.146_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ffd88e721c4d498d2e8339316c669569/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
30877
30877
  async function getMyWorkingHours(httpClient, organization_id, signal) {
30878
30878
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
30879
30879
  }
@@ -44935,7 +44935,7 @@ import_main.default.config({
44935
44935
  quiet: true,
44936
44936
  ignore: ["MISSING_ENV_FILE"]
44937
44937
  });
44938
- const packageVersion = "1.6.3";
44938
+ const packageVersion = "1.6.5";
44939
44939
  function resolvePublicUrls() {
44940
44940
  return {
44941
44941
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -45000,4 +45000,4 @@ function bootstrapServer(options = {}) {
45000
45000
  //#endregion
45001
45001
  export { runMcpCli as n, bootstrapServer as t };
45002
45002
 
45003
- //# sourceMappingURL=src-DLYOjxYJ.js.map
45003
+ //# sourceMappingURL=src-pbVHp4ta.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
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",