@togglhq/mcp 1.5.30 → 1.5.32

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-DSUxKCOR.js";
2
+ import { n as runMcpCli } from "./src-CRCU5Uld.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-DSUxKCOR.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-CRCU5Uld.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -28918,6 +28918,7 @@ const TagLiteSchema = /* @__PURE__ */ object({
28918
28918
  });
28919
28919
  const TaskSchema = /* @__PURE__ */ object({
28920
28920
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
28921
+ estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
28921
28922
  id: /* @__PURE__ */ number(),
28922
28923
  is_template: /* @__PURE__ */ boolean(),
28923
28924
  name: /* @__PURE__ */ string(),
@@ -28967,6 +28968,7 @@ const TaskSchema = /* @__PURE__ */ object({
28967
28968
  });
28968
28969
  const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
28969
28970
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
28971
+ estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
28970
28972
  id: /* @__PURE__ */ number(),
28971
28973
  is_template: /* @__PURE__ */ boolean(),
28972
28974
  name: /* @__PURE__ */ string(),
@@ -29510,6 +29512,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
29510
29512
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
29511
29513
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
29512
29514
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
29515
+ estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
29513
29516
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29514
29517
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
29515
29518
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -29548,6 +29551,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
29548
29551
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
29549
29552
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
29550
29553
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
29554
+ estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
29551
29555
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
29552
29556
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
29553
29557
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -29581,6 +29585,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
29581
29585
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
29582
29586
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
29583
29587
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
29588
+ estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
29584
29589
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
29585
29590
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
29586
29591
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -34702,7 +34707,7 @@ async function upsertTaskConstraints(httpClient, workspace_id, data, signal) {
34702
34707
  }
34703
34708
  //#endregion
34704
34709
  //#region ../focus-queries/dist/task-groups/requests.ts
34705
- async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, tasks_per_group, include_group_totals, include_unassigned, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
34710
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
34706
34711
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
34707
34712
  signal,
34708
34713
  searchParams: buildSearchParams$3({
@@ -34728,9 +34733,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
34728
34733
  include_ghosts,
34729
34734
  include_assignees,
34730
34735
  min_days,
34731
- tasks_per_group,
34732
- include_group_totals,
34733
- include_unassigned,
34734
34736
  include_drafts,
34735
34737
  cf_filter,
34736
34738
  page,
@@ -35535,6 +35537,7 @@ const generatedFocusOperations = [
35535
35537
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
35536
35538
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
35537
35539
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
35540
+ estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
35538
35541
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
35539
35542
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
35540
35543
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -35562,6 +35565,7 @@ const generatedFocusOperations = [
35562
35565
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
35563
35566
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
35564
35567
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
35568
+ estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
35565
35569
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
35566
35570
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
35567
35571
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -41194,8 +41198,6 @@ const generatedFocusOperations = [
41194
41198
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41195
41199
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41196
41200
  include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41197
- include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41198
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41199
41201
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41200
41202
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41201
41203
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -41210,7 +41212,6 @@ const generatedFocusOperations = [
41210
41212
  start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41211
41213
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41212
41214
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41213
- tasks_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41214
41215
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
41215
41216
  }),
41216
41217
  execute: (input, { client }) => {
@@ -41431,6 +41432,7 @@ const generatedFocusOperations = [
41431
41432
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41432
41433
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
41433
41434
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
41435
+ estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
41434
41436
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41435
41437
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
41436
41438
  outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -45624,7 +45626,7 @@ import_main.default.config({
45624
45626
  quiet: true,
45625
45627
  ignore: ["MISSING_ENV_FILE"]
45626
45628
  });
45627
- const packageVersion = "1.5.30";
45629
+ const packageVersion = "1.5.32";
45628
45630
  function resolvePublicUrls() {
45629
45631
  return {
45630
45632
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -45689,4 +45691,4 @@ function bootstrapServer(options = {}) {
45689
45691
  //#endregion
45690
45692
  export { runMcpCli as n, bootstrapServer as t };
45691
45693
 
45692
- //# sourceMappingURL=src-DSUxKCOR.js.map
45694
+ //# sourceMappingURL=src-CRCU5Uld.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.5.30",
3
+ "version": "1.5.32",
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",