@togglhq/mcp 1.13.93 → 1.13.95

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 PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-DG09AmTN.js";
2
+ import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-B1bUC1p9.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.13.93";
165
+ const packageVersion = "1.13.95";
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 { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DG09AmTN.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-B1bUC1p9.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -37980,12 +37980,13 @@ async function bulkCreateTask(httpClient, organization_id, workspace_id, data, s
37980
37980
  json: data
37981
37981
  }).json();
37982
37982
  }
37983
- async function bulkDeleteTask(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
37983
+ async function bulkDeleteTask(httpClient, organization_id, workspace_id, ids, outbound_sync, move_time_to_task_id, signal) {
37984
37984
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/bulk`, {
37985
37985
  signal,
37986
37986
  searchParams: buildSearchParams$2({
37987
37987
  ids,
37988
- outbound_sync
37988
+ outbound_sync,
37989
+ move_time_to_task_id
37989
37990
  })
37990
37991
  }).json();
37991
37992
  }
@@ -38049,6 +38050,15 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
38049
38050
  })
38050
38051
  }).json();
38051
38052
  }
38053
+ async function getTaskDeleteImpact(httpClient, organization_id, workspace_id, { ids, from_recurring_task_id }, signal) {
38054
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/delete-impact`, {
38055
+ signal,
38056
+ searchParams: buildSearchParams$2({
38057
+ ids,
38058
+ from_recurring_task_id
38059
+ })
38060
+ }).json();
38061
+ }
38052
38062
  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) {
38053
38063
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
38054
38064
  signal,
@@ -38163,13 +38173,14 @@ async function updateTask(httpClient, organization_id, workspace_id, task_id, da
38163
38173
  json: data
38164
38174
  }).json();
38165
38175
  }
38166
- async function deleteTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, scope, outbound_sync, signal) {
38176
+ async function deleteTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, scope, outbound_sync, move_time_to_task_id, signal) {
38167
38177
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
38168
38178
  signal,
38169
38179
  searchParams: buildSearchParams$2({
38170
38180
  from_recurring_task_id,
38171
38181
  scope,
38172
- outbound_sync
38182
+ outbound_sync,
38183
+ move_time_to_task_id
38173
38184
  })
38174
38185
  }).json();
38175
38186
  }
@@ -53084,6 +53095,36 @@ const generatedFocusOperations = [
53084
53095
  ]));
53085
53096
  }
53086
53097
  },
53098
+ {
53099
+ id: "focus.tasks.get-delete-impact",
53100
+ family: "focus",
53101
+ resource: "tasks",
53102
+ action: "get-delete-impact",
53103
+ title: "Get Delete Impact Tasks",
53104
+ description: "Get Delete Impact Tasks.",
53105
+ safety: "read",
53106
+ destructive: false,
53107
+ cli: {
53108
+ group: ["tasks"],
53109
+ command: "get-delete-impact",
53110
+ interactive: "hidden"
53111
+ },
53112
+ mcp: { entityTool: "tasks" },
53113
+ inputSchema: /* @__PURE__ */ looseObject({
53114
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53115
+ ids: /* @__PURE__ */ unknown$1()
53116
+ }),
53117
+ execute: (input, { client }) => {
53118
+ const data = input;
53119
+ return client.runGeneratedRequest("getTaskDeleteImpact", () => callGeneratedRequest(getTaskDeleteImpact, [
53120
+ client.httpClient,
53121
+ client.organizationId,
53122
+ client.workspaceIdNumber,
53123
+ data,
53124
+ void 0
53125
+ ]));
53126
+ }
53127
+ },
53087
53128
  {
53088
53129
  id: "focus.tasks.get-picker-task-children",
53089
53130
  family: "focus",
@@ -58354,7 +58395,7 @@ function registerWorkspaceTools(server) {
58354
58395
  //#region src/package-version.ts
58355
58396
  function mcpPackageVersion() {
58356
58397
  try {
58357
- return "1.13.93";
58398
+ return "1.13.95";
58358
58399
  } catch {
58359
58400
  return "unknown";
58360
58401
  }
@@ -58535,7 +58576,7 @@ import_main.default.config({
58535
58576
  quiet: true,
58536
58577
  ignore: ["MISSING_ENV_FILE"]
58537
58578
  });
58538
- const packageVersion = "1.13.93";
58579
+ const packageVersion = "1.13.95";
58539
58580
  const MCP_CACHE_TTL_MS = 300 * 1e3;
58540
58581
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
58541
58582
  function resolvePublicUrls() {
@@ -58655,4 +58696,4 @@ function bootstrapServer(options = {}) {
58655
58696
  //#endregion
58656
58697
  export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
58657
58698
 
58658
- //# sourceMappingURL=src-DG09AmTN.js.map
58699
+ //# sourceMappingURL=src-B1bUC1p9.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.93",
3
+ "version": "1.13.95",
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",