@togglhq/mcp 1.5.31 → 1.5.33

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-rv4SDBdD.js";
2
+ import { n as runMcpCli } from "./src-drNRwZie.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-rv4SDBdD.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-drNRwZie.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -34707,7 +34707,7 @@ async function upsertTaskConstraints(httpClient, workspace_id, data, signal) {
34707
34707
  }
34708
34708
  //#endregion
34709
34709
  //#region ../focus-queries/dist/task-groups/requests.ts
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, 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) {
34711
34711
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
34712
34712
  signal,
34713
34713
  searchParams: buildSearchParams$3({
@@ -34733,9 +34733,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
34733
34733
  include_ghosts,
34734
34734
  include_assignees,
34735
34735
  min_days,
34736
- tasks_per_group,
34737
- include_group_totals,
34738
- include_unassigned,
34739
34736
  include_drafts,
34740
34737
  cf_filter,
34741
34738
  page,
@@ -34916,8 +34913,11 @@ async function addTimesheetSetupMember(httpClient, organization_id, workspace_id
34916
34913
  async function deleteTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
34917
34914
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
34918
34915
  }
34919
- async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
34920
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, { signal }).json();
34916
+ async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, data, signal) {
34917
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, {
34918
+ signal,
34919
+ json: data
34920
+ }).json();
34921
34921
  }
34922
34922
  async function reactivateTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
34923
34923
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/reactivate`, { signal }).json();
@@ -41201,8 +41201,6 @@ const generatedFocusOperations = [
41201
41201
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41202
41202
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41203
41203
  include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41204
- include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41205
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41206
41204
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41207
41205
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41208
41206
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -41217,7 +41215,6 @@ const generatedFocusOperations = [
41217
41215
  start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41218
41216
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41219
41217
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41220
- tasks_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41221
41218
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
41222
41219
  }),
41223
41220
  execute: (input, { client }) => {
@@ -43590,6 +43587,7 @@ const generatedFocusOperations = [
43590
43587
  },
43591
43588
  mcp: { entityTool: "timesheets" },
43592
43589
  inputSchema: /* @__PURE__ */ looseObject({
43590
+ payload: /* @__PURE__ */ looseObject({ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())) }),
43593
43591
  setup_id: /* @__PURE__ */ number$2(),
43594
43592
  user_account_id: /* @__PURE__ */ number$2()
43595
43593
  }),
@@ -43601,6 +43599,7 @@ const generatedFocusOperations = [
43601
43599
  client.workspaceIdNumber,
43602
43600
  data.setup_id,
43603
43601
  data.user_account_id,
43602
+ data.payload ?? data.data ?? data,
43604
43603
  void 0
43605
43604
  ]));
43606
43605
  }
@@ -45632,7 +45631,7 @@ import_main.default.config({
45632
45631
  quiet: true,
45633
45632
  ignore: ["MISSING_ENV_FILE"]
45634
45633
  });
45635
- const packageVersion = "1.5.31";
45634
+ const packageVersion = "1.5.33";
45636
45635
  function resolvePublicUrls() {
45637
45636
  return {
45638
45637
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -45697,4 +45696,4 @@ function bootstrapServer(options = {}) {
45697
45696
  //#endregion
45698
45697
  export { runMcpCli as n, bootstrapServer as t };
45699
45698
 
45700
- //# sourceMappingURL=src-rv4SDBdD.js.map
45699
+ //# sourceMappingURL=src-drNRwZie.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.5.31",
3
+ "version": "1.5.33",
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",