@togglhq/mcp 1.13.74 → 1.13.76

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-drTTnonx.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-CIFDmVsQ.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.74";
165
+ const packageVersion = "1.13.76";
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-drTTnonx.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-CIFDmVsQ.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -42611,6 +42611,21 @@ async function getArchivedProject(httpClient, organization_id, workspace_id, pro
42611
42611
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/projects/${project_id}`, { signal }).json();
42612
42612
  }
42613
42613
  //#endregion
42614
+ //#region ../focus-queries/dist/archived-time-entries/requests.ts
42615
+ async function getArchivedTimeEntriesClassic(httpClient, organization_id, workspace_id, { date_from, date_to, page = 1, per_page, task_id, project_id }, signal) {
42616
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries`, {
42617
+ signal,
42618
+ searchParams: buildSearchParams$2({
42619
+ date_from,
42620
+ date_to,
42621
+ page,
42622
+ per_page,
42623
+ task_id,
42624
+ project_id
42625
+ })
42626
+ }).json();
42627
+ }
42628
+ //#endregion
42614
42629
  //#region ../focus-queries/dist/attachments/requests.ts
42615
42630
  async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
42616
42631
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/attachments/storage`, { signal }).json();
@@ -44745,6 +44760,40 @@ const generatedFocusOperations = [
44745
44760
  ]));
44746
44761
  }
44747
44762
  },
44763
+ {
44764
+ id: "focus.archived-time-entries.get",
44765
+ family: "focus",
44766
+ resource: "archived-time-entries",
44767
+ action: "get",
44768
+ title: "Get Archived Time Entries",
44769
+ description: "Get Archived Time Entries.",
44770
+ safety: "read",
44771
+ destructive: false,
44772
+ cli: {
44773
+ group: ["archived-time-entries"],
44774
+ command: "get",
44775
+ interactive: "hidden"
44776
+ },
44777
+ mcp: { entityTool: "archived-time-entries" },
44778
+ inputSchema: /* @__PURE__ */ looseObject({
44779
+ date_from: /* @__PURE__ */ unknown$1(),
44780
+ date_to: /* @__PURE__ */ unknown$1(),
44781
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44782
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44783
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44784
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44785
+ }),
44786
+ execute: (input, { client }) => {
44787
+ const data = input;
44788
+ return client.runGeneratedRequest("getArchivedTimeEntriesClassic", () => callGeneratedRequest(getArchivedTimeEntriesClassic, [
44789
+ client.httpClient,
44790
+ client.organizationId,
44791
+ client.workspaceIdNumber,
44792
+ data,
44793
+ void 0
44794
+ ]));
44795
+ }
44796
+ },
44748
44797
  {
44749
44798
  id: "focus.attachments.get-workspace-attachment-storage",
44750
44799
  family: "focus",
@@ -57933,7 +57982,7 @@ function registerWorkspaceTools(server) {
57933
57982
  //#region src/package-version.ts
57934
57983
  function mcpPackageVersion() {
57935
57984
  try {
57936
- return "1.13.74";
57985
+ return "1.13.76";
57937
57986
  } catch {
57938
57987
  return "unknown";
57939
57988
  }
@@ -58114,7 +58163,7 @@ import_main.default.config({
58114
58163
  quiet: true,
58115
58164
  ignore: ["MISSING_ENV_FILE"]
58116
58165
  });
58117
- const packageVersion = "1.13.74";
58166
+ const packageVersion = "1.13.76";
58118
58167
  const MCP_CACHE_TTL_MS = 300 * 1e3;
58119
58168
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
58120
58169
  function resolvePublicUrls() {
@@ -58234,4 +58283,4 @@ function bootstrapServer(options = {}) {
58234
58283
  //#endregion
58235
58284
  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 };
58236
58285
 
58237
- //# sourceMappingURL=src-drTTnonx.js.map
58286
+ //# sourceMappingURL=src-CIFDmVsQ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.74",
3
+ "version": "1.13.76",
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",