@togglhq/mcp 1.13.249 → 1.13.251

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-DnxRQ-LH.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-ByzZjKt6.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.249";
165
+ const packageVersion = "1.13.251";
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-DnxRQ-LH.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-ByzZjKt6.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -43230,6 +43230,12 @@ async function getArchivedTimeEntriesClassic(httpClient, organization_id, worksp
43230
43230
  async function getArchivedTimeEntry(httpClient, organization_id, workspace_id, time_entry_id, signal) {
43231
43231
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries/${time_entry_id}`, { signal })).json();
43232
43232
  }
43233
+ async function restoreArchivedTimeEntry(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
43234
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries/${time_entry_id}/restore`, {
43235
+ signal,
43236
+ json: data
43237
+ })).json();
43238
+ }
43233
43239
  //#endregion
43234
43240
  //#region ../focus-queries/dist/attachments/requests.ts
43235
43241
  async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
@@ -46456,6 +46462,37 @@ const generatedFocusOperations = [
46456
46462
  ]));
46457
46463
  }
46458
46464
  },
46465
+ {
46466
+ id: "focus.archived-time-entries.restore",
46467
+ family: "focus",
46468
+ resource: "archived-time-entries",
46469
+ action: "restore",
46470
+ title: "Restore Archived Time Entries",
46471
+ description: "Restore Archived Time Entries.",
46472
+ safety: "update",
46473
+ destructive: false,
46474
+ cli: {
46475
+ group: ["archived-time-entries"],
46476
+ command: "restore",
46477
+ interactive: "default"
46478
+ },
46479
+ mcp: { entityTool: "archived-time-entries" },
46480
+ inputSchema: /* @__PURE__ */ looseObject({
46481
+ payload: /* @__PURE__ */ looseObject({ request_id: /* @__PURE__ */ string$1() }),
46482
+ time_entry_id: /* @__PURE__ */ number$2()
46483
+ }),
46484
+ execute: (input, { client }) => {
46485
+ const data = input;
46486
+ return client.runGeneratedRequest("restoreArchivedTimeEntry", () => callGeneratedRequest(restoreArchivedTimeEntry, [
46487
+ client.httpClient,
46488
+ client.organizationId,
46489
+ client.workspaceIdNumber,
46490
+ data.time_entry_id,
46491
+ data.payload ?? data.data ?? data,
46492
+ void 0
46493
+ ]));
46494
+ }
46495
+ },
46459
46496
  {
46460
46497
  id: "focus.attachments.get-workspace-attachment-storage",
46461
46498
  family: "focus",
@@ -59307,6 +59344,7 @@ const generatedFocusOperations = [
59307
59344
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
59308
59345
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
59309
59346
  show_google_calendar_events: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
59347
+ slack_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
59310
59348
  start_week_on: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
59311
59349
  switch_to_focus_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
59312
59350
  sync_external_calendar: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -61033,7 +61071,7 @@ function registerWorkspaceTools(server) {
61033
61071
  //#region src/package-version.ts
61034
61072
  function mcpPackageVersion() {
61035
61073
  try {
61036
- return "1.13.249";
61074
+ return "1.13.251";
61037
61075
  } catch {
61038
61076
  return "unknown";
61039
61077
  }
@@ -61215,7 +61253,7 @@ import_main.default.config({
61215
61253
  quiet: true,
61216
61254
  ignore: ["MISSING_ENV_FILE"]
61217
61255
  });
61218
- const packageVersion = "1.13.249";
61256
+ const packageVersion = "1.13.251";
61219
61257
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61220
61258
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61221
61259
  function resolvePublicUrls() {
@@ -61335,4 +61373,4 @@ function bootstrapServer(options = {}) {
61335
61373
  //#endregion
61336
61374
  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 };
61337
61375
 
61338
- //# sourceMappingURL=src-DnxRQ-LH.js.map
61376
+ //# sourceMappingURL=src-ByzZjKt6.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.249",
3
+ "version": "1.13.251",
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",