@togglhq/mcp 1.13.330 → 1.13.332

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-DDg7YENu.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-C9T7oUwb.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.330";
165
+ const packageVersion = "1.13.332";
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-DDg7YENu.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-C9T7oUwb.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -38493,6 +38493,12 @@ async function bulkEditTimeEntriesWithOrg(httpClient, organization_id, workspace
38493
38493
  if ([204, 205].includes(response.status)) return null;
38494
38494
  return response.json();
38495
38495
  }
38496
+ async function retimeDraftTimeEntriesWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38497
+ return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk/drafts`, {
38498
+ signal,
38499
+ json: data
38500
+ })).json();
38501
+ }
38496
38502
  async function bulkRestoreTimeEntryWithOrg(httpClient, organization_id, workspace_id, ids, signal) {
38497
38503
  const response = await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk/restore`, {
38498
38504
  signal,
@@ -43137,6 +43143,12 @@ async function dayRebuildName(httpClient, organization_id, workspace_id, data, s
43137
43143
  json: data
43138
43144
  })).json();
43139
43145
  }
43146
+ async function dayRebuildProjectHints(httpClient, organization_id, workspace_id, data, signal) {
43147
+ return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/project-hints`, {
43148
+ signal,
43149
+ json: data
43150
+ })).json();
43151
+ }
43140
43152
  async function dayRebuildProjects(httpClient, organization_id, workspace_id, data, signal) {
43141
43153
  return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/projects`, {
43142
43154
  signal,
@@ -45708,6 +45720,33 @@ const generatedFocusOperations = [
45708
45720
  ]));
45709
45721
  }
45710
45722
  },
45723
+ {
45724
+ id: "focus.ai.day-rebuild-project-hints",
45725
+ family: "focus",
45726
+ resource: "ai",
45727
+ action: "day-rebuild-project-hints",
45728
+ title: "Day Rebuild Project Hints Ai",
45729
+ description: "Day Rebuild Project Hints Ai.",
45730
+ safety: "update",
45731
+ destructive: false,
45732
+ cli: {
45733
+ group: ["ai"],
45734
+ command: "day-rebuild-project-hints",
45735
+ interactive: "hidden"
45736
+ },
45737
+ mcp: { entityTool: "ai" },
45738
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ evidence: /* @__PURE__ */ unknown$1() }) }),
45739
+ execute: (input, { client }) => {
45740
+ const data = input;
45741
+ return client.runGeneratedRequest("dayRebuildProjectHints", () => callGeneratedRequest(dayRebuildProjectHints, [
45742
+ client.httpClient,
45743
+ client.organizationId,
45744
+ client.workspaceIdNumber,
45745
+ data.payload ?? data.data ?? data,
45746
+ void 0
45747
+ ]));
45748
+ }
45749
+ },
45711
45750
  {
45712
45751
  id: "focus.ai.day-rebuild-projects",
45713
45752
  family: "focus",
@@ -57684,6 +57723,33 @@ const generatedFocusOperations = [
57684
57723
  ]));
57685
57724
  }
57686
57725
  },
57726
+ {
57727
+ id: "focus.time-entries.retime-draft",
57728
+ family: "focus",
57729
+ resource: "time-entries",
57730
+ action: "retime-draft",
57731
+ title: "Retime Draft Time Entries",
57732
+ description: "Retime Draft Time Entries.",
57733
+ safety: "update",
57734
+ destructive: false,
57735
+ cli: {
57736
+ group: ["time-entries"],
57737
+ command: "retime-draft",
57738
+ interactive: "hidden"
57739
+ },
57740
+ mcp: { entityTool: "time-entries" },
57741
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
57742
+ execute: (input, { client }) => {
57743
+ const data = input;
57744
+ return client.runGeneratedRequest("retimeDraftTimeEntriesWithOrg", () => callGeneratedRequest(retimeDraftTimeEntriesWithOrg, [
57745
+ client.httpClient,
57746
+ client.organizationId,
57747
+ client.workspaceIdNumber,
57748
+ data.payload ?? data.data ?? data,
57749
+ void 0
57750
+ ]));
57751
+ }
57752
+ },
57687
57753
  {
57688
57754
  id: "focus.time-entries.set-day-duration",
57689
57755
  family: "focus",
@@ -61896,7 +61962,7 @@ function registerWorkspaceTools(server) {
61896
61962
  //#region src/package-version.ts
61897
61963
  function mcpPackageVersion() {
61898
61964
  try {
61899
- return "1.13.330";
61965
+ return "1.13.332";
61900
61966
  } catch {
61901
61967
  return "unknown";
61902
61968
  }
@@ -62078,7 +62144,7 @@ import_main.default.config({
62078
62144
  quiet: true,
62079
62145
  ignore: ["MISSING_ENV_FILE"]
62080
62146
  });
62081
- const packageVersion = "1.13.330";
62147
+ const packageVersion = "1.13.332";
62082
62148
  const MCP_CACHE_TTL_MS = 300 * 1e3;
62083
62149
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
62084
62150
  function resolvePublicUrls() {
@@ -62198,4 +62264,4 @@ function bootstrapServer(options = {}) {
62198
62264
  //#endregion
62199
62265
  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 };
62200
62266
 
62201
- //# sourceMappingURL=src-DDg7YENu.js.map
62267
+ //# sourceMappingURL=src-C9T7oUwb.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.330",
3
+ "version": "1.13.332",
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",