@togglhq/mcp 1.11.216 → 1.11.217

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-DAy3AqYM.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-CpuowgkD.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.11.216";
165
+ const packageVersion = "1.11.217";
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-DAy3AqYM.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-CpuowgkD.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -35089,68 +35089,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35089
35089
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35090
35090
  source_template_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35091
35091
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35092
- task_group_counts: /* @__PURE__ */ optional(/* @__PURE__ */ object({
35093
- eligible_total: /* @__PURE__ */ number(),
35094
- matching_total: /* @__PURE__ */ number()
35095
- })),
35096
- tasks: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
35097
- allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
35098
- created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
35099
- eligible_child_count: /* @__PURE__ */ number(),
35100
- estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
35101
- group_id: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("GroupID stays stable when a hidden parent is represented by an eligible child.")),
35102
- id: /* @__PURE__ */ number(),
35103
- is_template: /* @__PURE__ */ boolean(),
35104
- matching_child_count: /* @__PURE__ */ number(),
35105
- name: /* @__PURE__ */ string(),
35106
- parent_visible: /* @__PURE__ */ boolean(),
35107
- pinned: /* @__PURE__ */ boolean(),
35108
- position: /* @__PURE__ */ number(),
35109
- priority: /* @__PURE__ */ picklist([
35110
- "none",
35111
- "low",
35112
- "medium",
35113
- "high"
35114
- ]),
35115
- private: /* @__PURE__ */ boolean(),
35116
- selectable: /* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Selectable is false for ineligible parents and nonmatching context parents under unified_search.")),
35117
- source: /* @__PURE__ */ string(),
35118
- status_id: /* @__PURE__ */ number(),
35119
- subtasks: /* @__PURE__ */ array(TaskSchema),
35120
- tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
35121
- tags: /* @__PURE__ */ array(TagLiteSchema),
35122
- toggl_user_id: /* @__PURE__ */ number(),
35123
- workspace_id: /* @__PURE__ */ number(),
35124
- archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35125
- assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
35126
- assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
35127
- auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35128
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35129
- client: /* @__PURE__ */ optional(ClientLiteSchema),
35130
- color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35131
- custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35132
- deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35133
- description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35134
- end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35135
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35136
- 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."))),
35137
- metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
35138
- notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35139
- parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35140
- parent_task_name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35141
- priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35142
- project: /* @__PURE__ */ optional(ProjectLiteSchema),
35143
- project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35144
- recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35145
- recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35146
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35147
- rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35148
- source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35149
- start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35150
- status: /* @__PURE__ */ optional(StatusLiteSchema),
35151
- status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35152
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35153
- }))),
35154
35092
  total_tasks: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35155
35093
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35156
35094
  });
@@ -37531,14 +37469,12 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37531
37469
  }
37532
37470
  //#endregion
37533
37471
  //#region ../focus-queries/dist/projects/requests.ts
37534
- 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, 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) {
37472
+ 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, 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) {
37535
37473
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37536
37474
  signal,
37537
37475
  searchParams: buildSearchParams$2({
37538
37476
  member_only,
37539
37477
  include_task_counts,
37540
- include_tasks,
37541
- unified_search,
37542
37478
  include_picker_parent_group_counts,
37543
37479
  task_archived,
37544
37480
  task_recurring,
@@ -37933,7 +37869,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37933
37869
  })
37934
37870
  }).json();
37935
37871
  }
37936
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, unified_search, search, only_me, page, per_page } = {}, signal) {
37872
+ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37937
37873
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
37938
37874
  signal,
37939
37875
  searchParams: buildSearchParams$2({
@@ -37941,7 +37877,6 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
37941
37877
  without_project,
37942
37878
  pinned_only,
37943
37879
  include_unassigned,
37944
- unified_search,
37945
37880
  search,
37946
37881
  only_me,
37947
37882
  page,
@@ -37949,14 +37884,13 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
37949
37884
  })
37950
37885
  }).json();
37951
37886
  }
37952
- 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) {
37887
+ async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37953
37888
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
37954
37889
  signal,
37955
37890
  searchParams: buildSearchParams$2({
37956
37891
  project_id,
37957
37892
  without_project,
37958
37893
  include_unassigned,
37959
- unified_search,
37960
37894
  search,
37961
37895
  only_me,
37962
37896
  page,
@@ -51161,7 +51095,6 @@ const generatedFocusOperations = [
51161
51095
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51162
51096
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51163
51097
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51164
- unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51165
51098
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51166
51099
  }),
51167
51100
  execute: (input, { client }) => {
@@ -51199,7 +51132,6 @@ const generatedFocusOperations = [
51199
51132
  pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51200
51133
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51201
51134
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51202
- unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51203
51135
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51204
51136
  }),
51205
51137
  execute: (input, { client }) => {
@@ -56278,7 +56210,7 @@ function registerWorkspaceTools(server) {
56278
56210
  //#region src/package-version.ts
56279
56211
  function mcpPackageVersion() {
56280
56212
  try {
56281
- return "1.11.216";
56213
+ return "1.11.217";
56282
56214
  } catch {
56283
56215
  return "unknown";
56284
56216
  }
@@ -56453,7 +56385,7 @@ import_main.default.config({
56453
56385
  quiet: true,
56454
56386
  ignore: ["MISSING_ENV_FILE"]
56455
56387
  });
56456
- const packageVersion = "1.11.216";
56388
+ const packageVersion = "1.11.217";
56457
56389
  function resolvePublicUrls() {
56458
56390
  return {
56459
56391
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56518,4 +56450,4 @@ function bootstrapServer(options = {}) {
56518
56450
  //#endregion
56519
56451
  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 };
56520
56452
 
56521
- //# sourceMappingURL=src-DAy3AqYM.js.map
56453
+ //# sourceMappingURL=src-CpuowgkD.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.216",
3
+ "version": "1.11.217",
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",