@togglhq/mcp 1.11.215 → 1.11.216

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-DwLFziwY.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-DAy3AqYM.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.215";
165
+ const packageVersion = "1.11.216";
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-DwLFziwY.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-DAy3AqYM.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -35089,6 +35089,68 @@ 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
+ }))),
35092
35154
  total_tasks: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35093
35155
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35094
35156
  });
@@ -37469,12 +37531,14 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37469
37531
  }
37470
37532
  //#endregion
37471
37533
  //#region ../focus-queries/dist/projects/requests.ts
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) {
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) {
37473
37535
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37474
37536
  signal,
37475
37537
  searchParams: buildSearchParams$2({
37476
37538
  member_only,
37477
37539
  include_task_counts,
37540
+ include_tasks,
37541
+ unified_search,
37478
37542
  include_picker_parent_group_counts,
37479
37543
  task_archived,
37480
37544
  task_recurring,
@@ -37869,7 +37933,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37869
37933
  })
37870
37934
  }).json();
37871
37935
  }
37872
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
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) {
37873
37937
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
37874
37938
  signal,
37875
37939
  searchParams: buildSearchParams$2({
@@ -37877,6 +37941,7 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
37877
37941
  without_project,
37878
37942
  pinned_only,
37879
37943
  include_unassigned,
37944
+ unified_search,
37880
37945
  search,
37881
37946
  only_me,
37882
37947
  page,
@@ -37884,13 +37949,14 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
37884
37949
  })
37885
37950
  }).json();
37886
37951
  }
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) {
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) {
37888
37953
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
37889
37954
  signal,
37890
37955
  searchParams: buildSearchParams$2({
37891
37956
  project_id,
37892
37957
  without_project,
37893
37958
  include_unassigned,
37959
+ unified_search,
37894
37960
  search,
37895
37961
  only_me,
37896
37962
  page,
@@ -51095,6 +51161,7 @@ const generatedFocusOperations = [
51095
51161
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51096
51162
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51097
51163
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51164
+ unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51098
51165
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51099
51166
  }),
51100
51167
  execute: (input, { client }) => {
@@ -51132,6 +51199,7 @@ const generatedFocusOperations = [
51132
51199
  pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51133
51200
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51134
51201
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51202
+ unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51135
51203
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51136
51204
  }),
51137
51205
  execute: (input, { client }) => {
@@ -56210,7 +56278,7 @@ function registerWorkspaceTools(server) {
56210
56278
  //#region src/package-version.ts
56211
56279
  function mcpPackageVersion() {
56212
56280
  try {
56213
- return "1.11.215";
56281
+ return "1.11.216";
56214
56282
  } catch {
56215
56283
  return "unknown";
56216
56284
  }
@@ -56385,7 +56453,7 @@ import_main.default.config({
56385
56453
  quiet: true,
56386
56454
  ignore: ["MISSING_ENV_FILE"]
56387
56455
  });
56388
- const packageVersion = "1.11.215";
56456
+ const packageVersion = "1.11.216";
56389
56457
  function resolvePublicUrls() {
56390
56458
  return {
56391
56459
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56450,4 +56518,4 @@ function bootstrapServer(options = {}) {
56450
56518
  //#endregion
56451
56519
  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 };
56452
56520
 
56453
- //# sourceMappingURL=src-DwLFziwY.js.map
56521
+ //# sourceMappingURL=src-DAy3AqYM.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.215",
3
+ "version": "1.11.216",
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",