@togglhq/mcp 1.13.68 → 1.13.70

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-gYulc-AO.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-B5XrdYdH.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.68";
165
+ const packageVersion = "1.13.70";
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-gYulc-AO.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-B5XrdYdH.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -35504,7 +35504,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35504
35504
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35505
35505
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35506
35506
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35507
- pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35507
+ pinned: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Deprecated: use POST or DELETE .../tasks/{task_id}/pinned. Sets the current user's own pin only."))),
35508
35508
  position: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(1)))),
35509
35509
  priority: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
35510
35510
  "none",
@@ -35542,7 +35542,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35542
35542
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35543
35543
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35544
35544
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35545
- pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35545
+ pinned: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Deprecated: use POST or DELETE .../tasks/{task_id}/pinned. Sets the current user's own pin only."))),
35546
35546
  position: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(1)))),
35547
35547
  priority: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
35548
35548
  "none",
@@ -38208,6 +38208,12 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
38208
38208
  })
38209
38209
  }).json();
38210
38210
  }
38211
+ async function pinTask(httpClient, organization_id, workspace_id, task_id, signal) {
38212
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/pinned`, { signal }).json();
38213
+ }
38214
+ async function unpinTask(httpClient, organization_id, workspace_id, task_id, signal) {
38215
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/pinned`, { signal }).json();
38216
+ }
38211
38217
  async function restoreTask(httpClient, organization_id, workspace_id, task_id, scope, signal) {
38212
38218
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/restore`, {
38213
38219
  signal,
@@ -38480,7 +38486,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38480
38486
  ]))
38481
38487
  });
38482
38488
  //#endregion
38483
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.251_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_042d155575ee5893a6d42534b8baac06/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38489
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.252_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3d12709e3c840c2aa3d5413ec6673fa7/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38484
38490
  async function getInvitations(httpClient, signal) {
38485
38491
  return (await httpClient.get(`invitations`, { signal })).json();
38486
38492
  }
@@ -38497,7 +38503,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38497
38503
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38498
38504
  }
38499
38505
  //#endregion
38500
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.251_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_042d155575ee5893a6d42534b8baac06/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38506
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.252_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3d12709e3c840c2aa3d5413ec6673fa7/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38501
38507
  function buildSearchParams(params, flattenArrays = false) {
38502
38508
  const searchParams = new URLSearchParams();
38503
38509
  Object.entries(params).forEach(([key, value]) => {
@@ -38509,7 +38515,7 @@ function buildSearchParams(params, flattenArrays = false) {
38509
38515
  return searchParams;
38510
38516
  }
38511
38517
  //#endregion
38512
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.251_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_042d155575ee5893a6d42534b8baac06/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38518
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.252_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3d12709e3c840c2aa3d5413ec6673fa7/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38513
38519
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38514
38520
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38515
38521
  }
@@ -38523,7 +38529,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38523
38529
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38524
38530
  }
38525
38531
  //#endregion
38526
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.251_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_042d155575ee5893a6d42534b8baac06/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38532
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.252_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3d12709e3c840c2aa3d5413ec6673fa7/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38527
38533
  async function getWorkspaces(httpClient, organization_id, signal) {
38528
38534
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38529
38535
  }
@@ -38543,7 +38549,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38543
38549
  });
38544
38550
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38545
38551
  //#endregion
38546
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.251_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_042d155575ee5893a6d42534b8baac06/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38552
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.252_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3d12709e3c840c2aa3d5413ec6673fa7/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38547
38553
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38548
38554
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38549
38555
  signal,
@@ -38554,12 +38560,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38554
38560
  })).json();
38555
38561
  }
38556
38562
  //#endregion
38557
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.251_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_042d155575ee5893a6d42534b8baac06/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38563
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.252_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3d12709e3c840c2aa3d5413ec6673fa7/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38558
38564
  async function getStatus(httpClient, signal) {
38559
38565
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38560
38566
  }
38561
38567
  //#endregion
38562
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.251_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_042d155575ee5893a6d42534b8baac06/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38568
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.252_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3d12709e3c840c2aa3d5413ec6673fa7/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38563
38569
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38564
38570
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38565
38571
  signal,
@@ -38587,7 +38593,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38587
38593
  return response.json();
38588
38594
  }
38589
38595
  //#endregion
38590
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.251_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_042d155575ee5893a6d42534b8baac06/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38596
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.252_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3d12709e3c840c2aa3d5413ec6673fa7/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38591
38597
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38592
38598
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38593
38599
  }
@@ -42565,6 +42571,27 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
42565
42571
  json: data
42566
42572
  }).json();
42567
42573
  }
42574
+ async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
42575
+ return await httpClient.post(`ai/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal }).json();
42576
+ }
42577
+ async function discardAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
42578
+ return await httpClient.post(`ai/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/discard`, { signal }).json();
42579
+ }
42580
+ async function undoAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
42581
+ return await httpClient.post(`ai/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/undo`, { signal }).json();
42582
+ }
42583
+ async function searchAi(httpClient, organization_id, workspace_id, { q }, signal) {
42584
+ return await httpClient.get(`ai/organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42585
+ signal,
42586
+ searchParams: buildSearchParams$2({ q })
42587
+ }).json();
42588
+ }
42589
+ async function runAiView(httpClient, organization_id, workspace_id, data, signal) {
42590
+ return await httpClient.post(`ai/organizations/${organization_id}/workspaces/${workspace_id}/views/run`, {
42591
+ signal,
42592
+ json: data
42593
+ }).json();
42594
+ }
42568
42595
  //#endregion
42569
42596
  //#region ../focus-queries/dist/archived-projects/requests.ts
42570
42597
  async function getArchivedProjectsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name, client_id } = {}, signal) {
@@ -44243,6 +44270,72 @@ function callGeneratedRequest(request, args) {
44243
44270
  return request(...args);
44244
44271
  }
44245
44272
  const generatedFocusOperations = [
44273
+ {
44274
+ id: "focus.ai.apply-ai-change",
44275
+ family: "focus",
44276
+ resource: "ai",
44277
+ action: "apply-ai-change",
44278
+ title: "Apply Ai Change Ai",
44279
+ description: "Apply Ai Change Ai.",
44280
+ safety: "update",
44281
+ destructive: false,
44282
+ cli: {
44283
+ group: ["ai"],
44284
+ command: "apply-ai-change",
44285
+ interactive: "default"
44286
+ },
44287
+ mcp: { entityTool: "ai" },
44288
+ inputSchema: /* @__PURE__ */ looseObject({
44289
+ conversation_id: /* @__PURE__ */ string$1(),
44290
+ message_id: /* @__PURE__ */ number$2(),
44291
+ view_id: /* @__PURE__ */ string$1()
44292
+ }),
44293
+ execute: (input, { client }) => {
44294
+ const data = input;
44295
+ return client.runGeneratedRequest("applyAiChange", () => callGeneratedRequest(applyAiChange, [
44296
+ client.httpClient,
44297
+ client.organizationId,
44298
+ client.workspaceIdNumber,
44299
+ data.conversation_id,
44300
+ data.message_id,
44301
+ data.view_id,
44302
+ void 0
44303
+ ]));
44304
+ }
44305
+ },
44306
+ {
44307
+ id: "focus.ai.discard-ai-change",
44308
+ family: "focus",
44309
+ resource: "ai",
44310
+ action: "discard-ai-change",
44311
+ title: "Discard Ai Change Ai",
44312
+ description: "Discard Ai Change Ai.",
44313
+ safety: "update",
44314
+ destructive: false,
44315
+ cli: {
44316
+ group: ["ai"],
44317
+ command: "discard-ai-change",
44318
+ interactive: "default"
44319
+ },
44320
+ mcp: { entityTool: "ai" },
44321
+ inputSchema: /* @__PURE__ */ looseObject({
44322
+ conversation_id: /* @__PURE__ */ string$1(),
44323
+ message_id: /* @__PURE__ */ number$2(),
44324
+ view_id: /* @__PURE__ */ string$1()
44325
+ }),
44326
+ execute: (input, { client }) => {
44327
+ const data = input;
44328
+ return client.runGeneratedRequest("discardAiChange", () => callGeneratedRequest(discardAiChange, [
44329
+ client.httpClient,
44330
+ client.organizationId,
44331
+ client.workspaceIdNumber,
44332
+ data.conversation_id,
44333
+ data.message_id,
44334
+ data.view_id,
44335
+ void 0
44336
+ ]));
44337
+ }
44338
+ },
44246
44339
  {
44247
44340
  id: "focus.ai.get-messages",
44248
44341
  family: "focus",
@@ -44274,6 +44367,63 @@ const generatedFocusOperations = [
44274
44367
  ]));
44275
44368
  }
44276
44369
  },
44370
+ {
44371
+ id: "focus.ai.run-ai-view",
44372
+ family: "focus",
44373
+ resource: "ai",
44374
+ action: "run-ai-view",
44375
+ title: "Run Ai View Ai",
44376
+ description: "Run Ai View Ai.",
44377
+ safety: "update",
44378
+ destructive: false,
44379
+ cli: {
44380
+ group: ["ai"],
44381
+ command: "run-ai-view",
44382
+ interactive: "default"
44383
+ },
44384
+ mcp: { entityTool: "ai" },
44385
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44386
+ input: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44387
+ tool: /* @__PURE__ */ string$1()
44388
+ }) }),
44389
+ execute: (input, { client }) => {
44390
+ const data = input;
44391
+ return client.runGeneratedRequest("runAiView", () => callGeneratedRequest(runAiView, [
44392
+ client.httpClient,
44393
+ client.organizationId,
44394
+ client.workspaceIdNumber,
44395
+ data.payload ?? data.data ?? data,
44396
+ void 0
44397
+ ]));
44398
+ }
44399
+ },
44400
+ {
44401
+ id: "focus.ai.search",
44402
+ family: "focus",
44403
+ resource: "ai",
44404
+ action: "search",
44405
+ title: "Search Ai",
44406
+ description: "Search Ai.",
44407
+ safety: "read",
44408
+ destructive: false,
44409
+ cli: {
44410
+ group: ["ai"],
44411
+ command: "search",
44412
+ interactive: "hidden"
44413
+ },
44414
+ mcp: { entityTool: "ai" },
44415
+ inputSchema: /* @__PURE__ */ looseObject({ q: /* @__PURE__ */ unknown$1() }),
44416
+ execute: (input, { client }) => {
44417
+ const data = input;
44418
+ return client.runGeneratedRequest("searchAi", () => callGeneratedRequest(searchAi, [
44419
+ client.httpClient,
44420
+ client.organizationId,
44421
+ client.workspaceIdNumber,
44422
+ data,
44423
+ void 0
44424
+ ]));
44425
+ }
44426
+ },
44277
44427
  {
44278
44428
  id: "focus.ai.send-ai-message",
44279
44429
  family: "focus",
@@ -44396,6 +44546,39 @@ const generatedFocusOperations = [
44396
44546
  ]));
44397
44547
  }
44398
44548
  },
44549
+ {
44550
+ id: "focus.ai.undo-ai-change",
44551
+ family: "focus",
44552
+ resource: "ai",
44553
+ action: "undo-ai-change",
44554
+ title: "Undo Ai Change Ai",
44555
+ description: "Undo Ai Change Ai.",
44556
+ safety: "update",
44557
+ destructive: false,
44558
+ cli: {
44559
+ group: ["ai"],
44560
+ command: "undo-ai-change",
44561
+ interactive: "default"
44562
+ },
44563
+ mcp: { entityTool: "ai" },
44564
+ inputSchema: /* @__PURE__ */ looseObject({
44565
+ conversation_id: /* @__PURE__ */ string$1(),
44566
+ message_id: /* @__PURE__ */ number$2(),
44567
+ view_id: /* @__PURE__ */ string$1()
44568
+ }),
44569
+ execute: (input, { client }) => {
44570
+ const data = input;
44571
+ return client.runGeneratedRequest("undoAiChange", () => callGeneratedRequest(undoAiChange, [
44572
+ client.httpClient,
44573
+ client.organizationId,
44574
+ client.workspaceIdNumber,
44575
+ data.conversation_id,
44576
+ data.message_id,
44577
+ data.view_id,
44578
+ void 0
44579
+ ]));
44580
+ }
44581
+ },
44399
44582
  {
44400
44583
  id: "focus.alerts.create",
44401
44584
  family: "focus",
@@ -52984,6 +53167,33 @@ const generatedFocusOperations = [
52984
53167
  return client.listTasks(data);
52985
53168
  }
52986
53169
  },
53170
+ {
53171
+ id: "focus.tasks.pin",
53172
+ family: "focus",
53173
+ resource: "tasks",
53174
+ action: "pin",
53175
+ title: "Pin Tasks",
53176
+ description: "Pin Tasks.",
53177
+ safety: "update",
53178
+ destructive: false,
53179
+ cli: {
53180
+ group: ["tasks"],
53181
+ command: "pin",
53182
+ interactive: "default"
53183
+ },
53184
+ mcp: { entityTool: "tasks" },
53185
+ inputSchema: /* @__PURE__ */ looseObject({ task_id: /* @__PURE__ */ number$2() }),
53186
+ execute: (input, { client }) => {
53187
+ const data = input;
53188
+ return client.runGeneratedRequest("pinTask", () => callGeneratedRequest(pinTask, [
53189
+ client.httpClient,
53190
+ client.organizationId,
53191
+ client.workspaceIdNumber,
53192
+ data.task_id,
53193
+ void 0
53194
+ ]));
53195
+ }
53196
+ },
52987
53197
  {
52988
53198
  id: "focus.tasks.restore",
52989
53199
  family: "focus",
@@ -53108,6 +53318,33 @@ const generatedFocusOperations = [
53108
53318
  ]));
53109
53319
  }
53110
53320
  },
53321
+ {
53322
+ id: "focus.tasks.unpin",
53323
+ family: "focus",
53324
+ resource: "tasks",
53325
+ action: "unpin",
53326
+ title: "Unpin Tasks",
53327
+ description: "Unpin Tasks.",
53328
+ safety: "delete",
53329
+ destructive: true,
53330
+ cli: {
53331
+ group: ["tasks"],
53332
+ command: "unpin",
53333
+ interactive: "default"
53334
+ },
53335
+ mcp: { entityTool: "tasks" },
53336
+ inputSchema: /* @__PURE__ */ looseObject({ task_id: /* @__PURE__ */ number$2() }),
53337
+ execute: (input, { client }) => {
53338
+ const data = input;
53339
+ return client.runGeneratedRequest("unpinTask", () => callGeneratedRequest(unpinTask, [
53340
+ client.httpClient,
53341
+ client.organizationId,
53342
+ client.workspaceIdNumber,
53343
+ data.task_id,
53344
+ void 0
53345
+ ]));
53346
+ }
53347
+ },
53111
53348
  {
53112
53349
  id: "focus.tasks.update",
53113
53350
  family: "focus",
@@ -57694,7 +57931,7 @@ function registerWorkspaceTools(server) {
57694
57931
  //#region src/package-version.ts
57695
57932
  function mcpPackageVersion() {
57696
57933
  try {
57697
- return "1.13.68";
57934
+ return "1.13.70";
57698
57935
  } catch {
57699
57936
  return "unknown";
57700
57937
  }
@@ -57875,7 +58112,7 @@ import_main.default.config({
57875
58112
  quiet: true,
57876
58113
  ignore: ["MISSING_ENV_FILE"]
57877
58114
  });
57878
- const packageVersion = "1.13.68";
58115
+ const packageVersion = "1.13.70";
57879
58116
  const MCP_CACHE_TTL_MS = 300 * 1e3;
57880
58117
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
57881
58118
  function resolvePublicUrls() {
@@ -57995,4 +58232,4 @@ function bootstrapServer(options = {}) {
57995
58232
  //#endregion
57996
58233
  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 };
57997
58234
 
57998
- //# sourceMappingURL=src-gYulc-AO.js.map
58235
+ //# sourceMappingURL=src-B5XrdYdH.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.68",
3
+ "version": "1.13.70",
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",