@togglhq/mcp 1.5.59 → 1.5.61

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-0Yjy1NfE.js";
2
+ import { n as runMcpCli } from "./src-CF9cVXZ1.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-0Yjy1NfE.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-CF9cVXZ1.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -29010,9 +29010,19 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
29010
29010
  private: /* @__PURE__ */ boolean(),
29011
29011
  source: /* @__PURE__ */ string(),
29012
29012
  status_id: /* @__PURE__ */ number(),
29013
+ sub_task_done_count: /* @__PURE__ */ number(),
29014
+ sub_task_total_count: /* @__PURE__ */ number(),
29013
29015
  tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
29014
29016
  tags: /* @__PURE__ */ array(TagLiteSchema),
29017
+ time_block_completed_count: /* @__PURE__ */ number(),
29018
+ time_block_scheduled_completed_count: /* @__PURE__ */ number(),
29019
+ time_block_scheduled_total_count: /* @__PURE__ */ number(),
29020
+ time_block_total_count: /* @__PURE__ */ number(),
29021
+ time_entry_total_count: /* @__PURE__ */ number(),
29015
29022
  toggl_user_id: /* @__PURE__ */ number(),
29023
+ total_blocked_time: /* @__PURE__ */ number(),
29024
+ total_scheduled_blocked_time: /* @__PURE__ */ number(),
29025
+ total_tracked_time: /* @__PURE__ */ number(),
29016
29026
  workspace_id: /* @__PURE__ */ number(),
29017
29027
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29018
29028
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
@@ -29042,16 +29052,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
29042
29052
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
29043
29053
  status: /* @__PURE__ */ optional(StatusLiteSchema),
29044
29054
  status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
29045
- sub_task_done_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29046
- sub_task_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29047
- time_block_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29048
- time_block_scheduled_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29049
- time_block_scheduled_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29050
- time_block_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("TODO: Set as `required` after FE adjusts things on their end"))),
29051
- time_entry_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29052
- total_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29053
- total_scheduled_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29054
- total_tracked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29055
29055
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
29056
29056
  });
29057
29057
  const PaginatedTasksWithMetaAndTotalSchema = /* @__PURE__ */ object({
@@ -29335,6 +29335,7 @@ const PaginatedStatussSchema = /* @__PURE__ */ object({
29335
29335
  const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
29336
29336
  data: /* @__PURE__ */ array(/* @__PURE__ */ object({
29337
29337
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
29338
+ has_time_entry: /* @__PURE__ */ boolean(),
29338
29339
  id: /* @__PURE__ */ number(),
29339
29340
  start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
29340
29341
  task_id: /* @__PURE__ */ number(),
@@ -29346,7 +29347,6 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
29346
29347
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29347
29348
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
29348
29349
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29349
- has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
29350
29350
  task: /* @__PURE__ */ optional(TaskSchema),
29351
29351
  timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
29352
29352
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
@@ -30729,7 +30729,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
30729
30729
  ]))
30730
30730
  });
30731
30731
  //#endregion
30732
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_59c8dd09211a4199ae98158ed8b48c86/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30732
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30733
30733
  async function getInvitations(httpClient, signal) {
30734
30734
  return (await httpClient.get(`invitations`, { signal })).json();
30735
30735
  }
@@ -30746,7 +30746,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
30746
30746
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
30747
30747
  }
30748
30748
  //#endregion
30749
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_59c8dd09211a4199ae98158ed8b48c86/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30749
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30750
30750
  function buildSearchParams$1(params, flattenArrays = false) {
30751
30751
  const searchParams = new URLSearchParams();
30752
30752
  Object.entries(params).forEach(([key, value]) => {
@@ -30758,7 +30758,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
30758
30758
  return searchParams;
30759
30759
  }
30760
30760
  //#endregion
30761
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_59c8dd09211a4199ae98158ed8b48c86/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30761
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30762
30762
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
30763
30763
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
30764
30764
  }
@@ -30772,7 +30772,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
30772
30772
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
30773
30773
  }
30774
30774
  //#endregion
30775
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_59c8dd09211a4199ae98158ed8b48c86/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30775
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30776
30776
  async function getWorkspaces(httpClient, organization_id, signal) {
30777
30777
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
30778
30778
  }
@@ -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@1.1.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_59c8dd09211a4199ae98158ed8b48c86/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
30804
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/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@1.1.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_59c8dd09211a4199ae98158ed8b48c86/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
30831
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
30832
30832
  async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
30833
30833
  const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
30834
30834
  signal,
@@ -30837,12 +30837,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
30837
30837
  return withResponseMeta(await response.json(), response.headers, response.status);
30838
30838
  }
30839
30839
  //#endregion
30840
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_59c8dd09211a4199ae98158ed8b48c86/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
30840
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
30841
30841
  async function getStatus(httpClient, signal) {
30842
30842
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
30843
30843
  }
30844
30844
  //#endregion
30845
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_59c8dd09211a4199ae98158ed8b48c86/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
30845
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
30846
30846
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
30847
30847
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
30848
30848
  signal,
@@ -30870,7 +30870,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
30870
30870
  return response.json();
30871
30871
  }
30872
30872
  //#endregion
30873
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_59c8dd09211a4199ae98158ed8b48c86/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
30873
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
30874
30874
  async function getMyWorkingHours(httpClient, organization_id, signal) {
30875
30875
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
30876
30876
  }
@@ -45851,7 +45851,7 @@ import_main.default.config({
45851
45851
  quiet: true,
45852
45852
  ignore: ["MISSING_ENV_FILE"]
45853
45853
  });
45854
- const packageVersion = "1.5.59";
45854
+ const packageVersion = "1.5.61";
45855
45855
  function resolvePublicUrls() {
45856
45856
  return {
45857
45857
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -45916,4 +45916,4 @@ function bootstrapServer(options = {}) {
45916
45916
  //#endregion
45917
45917
  export { runMcpCli as n, bootstrapServer as t };
45918
45918
 
45919
- //# sourceMappingURL=src-0Yjy1NfE.js.map
45919
+ //# sourceMappingURL=src-CF9cVXZ1.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.5.59",
3
+ "version": "1.5.61",
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",