@togglhq/mcp 1.12.5 → 1.12.7

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 getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-gEFohsVR.js";
2
+ import { a as getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-RGqqLBRK.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.12.5";
165
+ const packageVersion = "1.12.7";
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 { n as runMcpCli, t as bootstrapServer } from "./src-gEFohsVR.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-RGqqLBRK.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -34997,6 +34997,70 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
34997
34997
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34998
34998
  source_template_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34999
34999
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35000
+ task_group_counts: /* @__PURE__ */ optional(/* @__PURE__ */ object({
35001
+ eligible_total: /* @__PURE__ */ number(),
35002
+ matching_total: /* @__PURE__ */ number()
35003
+ })),
35004
+ tasks: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
35005
+ allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
35006
+ created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
35007
+ eligible_child_count: /* @__PURE__ */ number(),
35008
+ estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
35009
+ group_id: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("GroupID stays stable when a hidden parent is represented by an eligible child.")),
35010
+ id: /* @__PURE__ */ number(),
35011
+ is_template: /* @__PURE__ */ boolean(),
35012
+ matching_child_count: /* @__PURE__ */ number(),
35013
+ name: /* @__PURE__ */ string(),
35014
+ parent_visible: /* @__PURE__ */ boolean(),
35015
+ pinned: /* @__PURE__ */ boolean(),
35016
+ position: /* @__PURE__ */ number(),
35017
+ priority: /* @__PURE__ */ picklist([
35018
+ "none",
35019
+ "low",
35020
+ "medium",
35021
+ "high"
35022
+ ]),
35023
+ private: /* @__PURE__ */ boolean(),
35024
+ selectable: /* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Selectable is false for ineligible parents and nonmatching context parents under unified_search.")),
35025
+ source: /* @__PURE__ */ string(),
35026
+ status_id: /* @__PURE__ */ number(),
35027
+ subtasks: /* @__PURE__ */ array(TaskSchema),
35028
+ tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
35029
+ tags: /* @__PURE__ */ array(TagLiteSchema),
35030
+ toggl_user_id: /* @__PURE__ */ number(),
35031
+ workspace_id: /* @__PURE__ */ number(),
35032
+ archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35033
+ assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
35034
+ assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
35035
+ auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35036
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35037
+ client: /* @__PURE__ */ optional(ClientLiteSchema),
35038
+ color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35039
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35040
+ deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35041
+ description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35042
+ end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35043
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35044
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
35045
+ metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
35046
+ notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35047
+ parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35048
+ parent_task_name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35049
+ priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35050
+ project: /* @__PURE__ */ optional(ProjectLiteSchema),
35051
+ project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35052
+ recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35053
+ recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped."))),
35054
+ recurring_series_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("The series this task is an occurrence of; omitted for a normal task. Only the server sets it."))),
35055
+ recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35056
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35057
+ rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35058
+ source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35059
+ start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35060
+ status: /* @__PURE__ */ optional(StatusLiteSchema),
35061
+ status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35062
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35063
+ }))),
35000
35064
  total_tasks: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35001
35065
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35002
35066
  });
@@ -35173,7 +35237,7 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35173
35237
  estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
35174
35238
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35175
35239
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
35176
- name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35240
+ name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
35177
35241
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35178
35242
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35179
35243
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35201,7 +35265,7 @@ const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35201
35265
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35202
35266
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
35203
35267
  groups: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(ProjectBulkGroupEntrySchema))),
35204
- name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35268
+ name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
35205
35269
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35206
35270
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35207
35271
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35262,7 +35326,7 @@ const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PU
35262
35326
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35263
35327
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35264
35328
  after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35265
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35329
+ allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["percent", "flat"])),
35266
35330
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35267
35331
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35268
35332
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
@@ -35272,7 +35336,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35272
35336
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Send together with start_date; must be on or after start_date."))),
35273
35337
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35274
35338
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35275
- name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35339
+ name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
35276
35340
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35277
35341
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35278
35342
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
@@ -35300,7 +35364,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35300
35364
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35301
35365
  id: /* @__PURE__ */ number(),
35302
35366
  after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35303
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35367
+ allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["percent", "flat"])),
35304
35368
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35305
35369
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35306
35370
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
@@ -35310,7 +35374,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35310
35374
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Send together with start_date; must be on or after start_date."))),
35311
35375
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35312
35376
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35313
- name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35377
+ name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
35314
35378
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35315
35379
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35316
35380
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
@@ -37382,12 +37446,14 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37382
37446
  }
37383
37447
  //#endregion
37384
37448
  //#region ../focus-queries/dist/projects/requests.ts
37385
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37449
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37386
37450
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37387
37451
  signal,
37388
37452
  searchParams: buildSearchParams$2({
37389
37453
  member_only,
37390
37454
  include_task_counts,
37455
+ include_tasks,
37456
+ unified_search,
37391
37457
  include_picker_parent_group_counts,
37392
37458
  task_archived,
37393
37459
  task_recurring,
@@ -37782,7 +37848,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37782
37848
  })
37783
37849
  }).json();
37784
37850
  }
37785
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, occurrence_window_date, occurrence_window_days, page, per_page } = {}, signal) {
37851
+ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, unified_search, search, only_me, occurrence_window_date, occurrence_window_days, page, per_page } = {}, signal) {
37786
37852
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
37787
37853
  signal,
37788
37854
  searchParams: buildSearchParams$2({
@@ -37790,6 +37856,7 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
37790
37856
  without_project,
37791
37857
  pinned_only,
37792
37858
  include_unassigned,
37859
+ unified_search,
37793
37860
  search,
37794
37861
  only_me,
37795
37862
  occurrence_window_date,
@@ -37799,13 +37866,14 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
37799
37866
  })
37800
37867
  }).json();
37801
37868
  }
37802
- async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37869
+ async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, unified_search, search, only_me, page, per_page } = {}, signal) {
37803
37870
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
37804
37871
  signal,
37805
37872
  searchParams: buildSearchParams$2({
37806
37873
  project_id,
37807
37874
  without_project,
37808
37875
  include_unassigned,
37876
+ unified_search,
37809
37877
  search,
37810
37878
  only_me,
37811
37879
  page,
@@ -38215,7 +38283,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38215
38283
  ]))
38216
38284
  });
38217
38285
  //#endregion
38218
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38286
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38219
38287
  async function getInvitations(httpClient, signal) {
38220
38288
  return (await httpClient.get(`invitations`, { signal })).json();
38221
38289
  }
@@ -38232,7 +38300,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38232
38300
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38233
38301
  }
38234
38302
  //#endregion
38235
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38303
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38236
38304
  function buildSearchParams(params, flattenArrays = false) {
38237
38305
  const searchParams = new URLSearchParams();
38238
38306
  Object.entries(params).forEach(([key, value]) => {
@@ -38244,7 +38312,7 @@ function buildSearchParams(params, flattenArrays = false) {
38244
38312
  return searchParams;
38245
38313
  }
38246
38314
  //#endregion
38247
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38315
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38248
38316
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38249
38317
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38250
38318
  }
@@ -38258,7 +38326,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38258
38326
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38259
38327
  }
38260
38328
  //#endregion
38261
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38329
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38262
38330
  async function getWorkspaces(httpClient, organization_id, signal) {
38263
38331
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38264
38332
  }
@@ -38278,7 +38346,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38278
38346
  });
38279
38347
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38280
38348
  //#endregion
38281
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38349
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38282
38350
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38283
38351
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38284
38352
  signal,
@@ -38289,12 +38357,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38289
38357
  })).json();
38290
38358
  }
38291
38359
  //#endregion
38292
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38360
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38293
38361
  async function getStatus(httpClient, signal) {
38294
38362
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38295
38363
  }
38296
38364
  //#endregion
38297
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38365
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38298
38366
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38299
38367
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38300
38368
  signal,
@@ -38322,7 +38390,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38322
38390
  return response.json();
38323
38391
  }
38324
38392
  //#endregion
38325
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38393
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38326
38394
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38327
38395
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38328
38396
  }
@@ -45558,6 +45626,7 @@ const generatedFocusOperations = [
45558
45626
  inputSchema: /* @__PURE__ */ looseObject({
45559
45627
  milestone_id: /* @__PURE__ */ number$2(),
45560
45628
  payload: /* @__PURE__ */ looseObject({
45629
+ color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45561
45630
  due_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45562
45631
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45563
45632
  project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
@@ -51361,6 +51430,7 @@ const generatedFocusOperations = [
51361
51430
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51362
51431
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51363
51432
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51433
+ unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51364
51434
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51365
51435
  }),
51366
51436
  execute: (input, { client }) => {
@@ -51400,6 +51470,7 @@ const generatedFocusOperations = [
51400
51470
  pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51401
51471
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51402
51472
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51473
+ unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51403
51474
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51404
51475
  }),
51405
51476
  execute: (input, { client }) => {
@@ -56528,7 +56599,7 @@ function registerWorkspaceTools(server) {
56528
56599
  //#region src/package-version.ts
56529
56600
  function mcpPackageVersion() {
56530
56601
  try {
56531
- return "1.12.5";
56602
+ return "1.12.7";
56532
56603
  } catch {
56533
56604
  return "unknown";
56534
56605
  }
@@ -56709,7 +56780,7 @@ import_main.default.config({
56709
56780
  quiet: true,
56710
56781
  ignore: ["MISSING_ENV_FILE"]
56711
56782
  });
56712
- const packageVersion = "1.12.5";
56783
+ const packageVersion = "1.12.7";
56713
56784
  function resolvePublicUrls() {
56714
56785
  return {
56715
56786
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56814,4 +56885,4 @@ function bootstrapServer(options = {}) {
56814
56885
  //#endregion
56815
56886
  export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
56816
56887
 
56817
- //# sourceMappingURL=src-gEFohsVR.js.map
56888
+ //# sourceMappingURL=src-RGqqLBRK.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.12.5",
3
+ "version": "1.12.7",
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",