@togglhq/mcp 1.13.259 → 1.13.261

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-6Qb-U3pg.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-B9M2-__b.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.259";
165
+ const packageVersion = "1.13.261";
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-6Qb-U3pg.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-B9M2-__b.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -43217,6 +43217,12 @@ async function getArchivedTasksClassic(httpClient, organization_id, workspace_id
43217
43217
  async function getArchivedTask(httpClient, organization_id, workspace_id, task_id, signal) {
43218
43218
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/tasks/${task_id}`, { signal })).json();
43219
43219
  }
43220
+ async function restoreArchivedTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
43221
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/archived/tasks/${task_id}/restore`, {
43222
+ signal,
43223
+ json: data
43224
+ })).json();
43225
+ }
43220
43226
  //#endregion
43221
43227
  //#region ../focus-queries/dist/archived-time-entries/requests.ts
43222
43228
  async function getArchivedTimeEntriesClassic(httpClient, organization_id, workspace_id, { date_from, date_to, page = 1, per_page, task_id, project_id }, signal) {
@@ -46406,6 +46412,37 @@ const generatedFocusOperations = [
46406
46412
  ]));
46407
46413
  }
46408
46414
  },
46415
+ {
46416
+ id: "focus.archived-tasks.restore",
46417
+ family: "focus",
46418
+ resource: "archived-tasks",
46419
+ action: "restore",
46420
+ title: "Restore Archived Tasks",
46421
+ description: "Restore Archived Tasks.",
46422
+ safety: "update",
46423
+ destructive: false,
46424
+ cli: {
46425
+ group: ["archived-tasks"],
46426
+ command: "restore",
46427
+ interactive: "default"
46428
+ },
46429
+ mcp: { entityTool: "archived-tasks" },
46430
+ inputSchema: /* @__PURE__ */ looseObject({
46431
+ payload: /* @__PURE__ */ looseObject({ request_id: /* @__PURE__ */ string$1() }),
46432
+ task_id: /* @__PURE__ */ number$2()
46433
+ }),
46434
+ execute: (input, { client }) => {
46435
+ const data = input;
46436
+ return client.runGeneratedRequest("restoreArchivedTask", () => callGeneratedRequest(restoreArchivedTask, [
46437
+ client.httpClient,
46438
+ client.organizationId,
46439
+ client.workspaceIdNumber,
46440
+ data.task_id,
46441
+ data.payload ?? data.data ?? data,
46442
+ void 0
46443
+ ]));
46444
+ }
46445
+ },
46409
46446
  {
46410
46447
  id: "focus.archived-time-entries.get",
46411
46448
  family: "focus",
@@ -61076,7 +61113,7 @@ function registerWorkspaceTools(server) {
61076
61113
  //#region src/package-version.ts
61077
61114
  function mcpPackageVersion() {
61078
61115
  try {
61079
- return "1.13.259";
61116
+ return "1.13.261";
61080
61117
  } catch {
61081
61118
  return "unknown";
61082
61119
  }
@@ -61258,7 +61295,7 @@ import_main.default.config({
61258
61295
  quiet: true,
61259
61296
  ignore: ["MISSING_ENV_FILE"]
61260
61297
  });
61261
- const packageVersion = "1.13.259";
61298
+ const packageVersion = "1.13.261";
61262
61299
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61263
61300
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61264
61301
  function resolvePublicUrls() {
@@ -61378,4 +61415,4 @@ function bootstrapServer(options = {}) {
61378
61415
  //#endregion
61379
61416
  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 };
61380
61417
 
61381
- //# sourceMappingURL=src-6Qb-U3pg.js.map
61418
+ //# sourceMappingURL=src-B9M2-__b.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.259",
3
+ "version": "1.13.261",
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",