@togglhq/mcp 1.12.2 → 1.12.3

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 getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-CpEh6i_Z.js";
2
+ import { a as getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-BrxAkZDF.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.12.2";
165
+ const packageVersion = "1.12.3";
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 { n as runMcpCli, t as bootstrapServer } from "./src-CpEh6i_Z.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-BrxAkZDF.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -37382,7 +37382,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37382
37382
  }
37383
37383
  //#endregion
37384
37384
  //#region ../focus-queries/dist/projects/requests.ts
37385
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37385
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37386
37386
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37387
37387
  signal,
37388
37388
  searchParams: buildSearchParams$2({
@@ -37397,6 +37397,8 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
37397
37397
  task_assignee_team_id,
37398
37398
  task_include_unassigned,
37399
37399
  task_name,
37400
+ task_occurrence_window_date,
37401
+ task_occurrence_window_days,
37400
37402
  page,
37401
37403
  per_page,
37402
37404
  order_by,
@@ -37780,7 +37782,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37780
37782
  })
37781
37783
  }).json();
37782
37784
  }
37783
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37785
+ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, occurrence_window_date, occurrence_window_days, page, per_page } = {}, signal) {
37784
37786
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
37785
37787
  signal,
37786
37788
  searchParams: buildSearchParams$2({
@@ -37790,6 +37792,8 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
37790
37792
  include_unassigned,
37791
37793
  search,
37792
37794
  only_me,
37795
+ occurrence_window_date,
37796
+ occurrence_window_days,
37793
37797
  page,
37794
37798
  per_page
37795
37799
  })
@@ -51388,6 +51392,8 @@ const generatedFocusOperations = [
51388
51392
  mcp: { entityTool: "tasks" },
51389
51393
  inputSchema: /* @__PURE__ */ looseObject({
51390
51394
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51395
+ occurrence_window_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
51396
+ occurrence_window_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51391
51397
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51392
51398
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51393
51399
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -56522,7 +56528,7 @@ function registerWorkspaceTools(server) {
56522
56528
  //#region src/package-version.ts
56523
56529
  function mcpPackageVersion() {
56524
56530
  try {
56525
- return "1.12.2";
56531
+ return "1.12.3";
56526
56532
  } catch {
56527
56533
  return "unknown";
56528
56534
  }
@@ -56703,7 +56709,7 @@ import_main.default.config({
56703
56709
  quiet: true,
56704
56710
  ignore: ["MISSING_ENV_FILE"]
56705
56711
  });
56706
- const packageVersion = "1.12.2";
56712
+ const packageVersion = "1.12.3";
56707
56713
  function resolvePublicUrls() {
56708
56714
  return {
56709
56715
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56808,4 +56814,4 @@ function bootstrapServer(options = {}) {
56808
56814
  //#endregion
56809
56815
  export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
56810
56816
 
56811
- //# sourceMappingURL=src-CpEh6i_Z.js.map
56817
+ //# sourceMappingURL=src-BrxAkZDF.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.12.2",
3
+ "version": "1.12.3",
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",