@togglhq/mcp 1.11.135 → 1.11.137

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-CCfUOoxA.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-HUmGCHZM.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.11.135";
165
+ const packageVersion = "1.11.137";
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-CCfUOoxA.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-HUmGCHZM.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -35205,8 +35205,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35205
35205
  work_role_id: /* @__PURE__ */ number(),
35206
35206
  workspace_user_id: /* @__PURE__ */ number()
35207
35207
  })),
35208
- custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35209
- has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
35208
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema))
35210
35209
  });
35211
35210
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35212
35211
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -37302,7 +37301,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37302
37301
  })
37303
37302
  }).json();
37304
37303
  }
37305
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
37304
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields } = {}, signal) {
37306
37305
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37307
37306
  signal,
37308
37307
  searchParams: buildSearchParams$2({
@@ -37324,8 +37323,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37324
37323
  pinned_ids,
37325
37324
  has_group,
37326
37325
  cf_filter,
37327
- include_custom_fields,
37328
- include_calendar_integration
37326
+ include_custom_fields
37329
37327
  }, true)
37330
37328
  });
37331
37329
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -42541,9 +42539,6 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
42541
42539
  }
42542
42540
  //#endregion
42543
42541
  //#region ../focus-queries/dist/reports/requests.ts
42544
- async function getForecastAvailability(httpClient, workspace_id, signal) {
42545
- return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
42546
- }
42547
42542
  async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
42548
42543
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
42549
42544
  signal,
@@ -42989,21 +42984,6 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
42989
42984
  }).json();
42990
42985
  }
42991
42986
  //#endregion
42992
- //#region ../focus-queries/dist/time-entry-groups/requests.ts
42993
- async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
42994
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
42995
- signal,
42996
- searchParams: buildSearchParams$2({
42997
- start_date,
42998
- end_date,
42999
- user_id,
43000
- page,
43001
- per_page,
43002
- order_by
43003
- })
43004
- }).json();
43005
- }
43006
- //#endregion
43007
42987
  //#region ../focus-queries/dist/time-off/requests.ts
43008
42988
  async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, start_date, end_date }, signal) {
43009
42989
  return await httpClient.get(`organizations/${organization_id}/timeoff`, {
@@ -48054,28 +48034,6 @@ const generatedFocusOperations = [
48054
48034
  ]));
48055
48035
  }
48056
48036
  },
48057
- {
48058
- id: "focus.reports.get-forecast-availability",
48059
- family: "focus",
48060
- resource: "reports",
48061
- action: "get-forecast-availability",
48062
- title: "Get Forecast Availability Reports",
48063
- description: "Get Forecast Availability Reports.",
48064
- safety: "read",
48065
- destructive: false,
48066
- cli: {
48067
- group: ["reports"],
48068
- command: "get-forecast-availability",
48069
- interactive: "hidden"
48070
- },
48071
- mcp: { entityTool: "reports" },
48072
- inputSchema: /* @__PURE__ */ looseObject({}),
48073
- execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
48074
- client.httpClient,
48075
- client.workspaceIdNumber,
48076
- void 0
48077
- ]))
48078
- },
48079
48037
  {
48080
48038
  id: "focus.reports.get-profitability",
48081
48039
  family: "focus",
@@ -51736,40 +51694,6 @@ const generatedFocusOperations = [
51736
51694
  ]));
51737
51695
  }
51738
51696
  },
51739
- {
51740
- id: "focus.time-entries.groups-get-users",
51741
- family: "focus",
51742
- resource: "time-entries",
51743
- action: "groups-get-users",
51744
- title: "Groups Get Users Time Entries",
51745
- description: "Groups Get Users Time Entries.",
51746
- safety: "read",
51747
- destructive: false,
51748
- cli: {
51749
- group: ["time-entries", "groups"],
51750
- command: "get-users",
51751
- interactive: "hidden"
51752
- },
51753
- mcp: { entityTool: "time-entries" },
51754
- inputSchema: /* @__PURE__ */ looseObject({
51755
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51756
- order_by: /* @__PURE__ */ unknown$1(),
51757
- page: /* @__PURE__ */ number$2(),
51758
- per_page: /* @__PURE__ */ unknown$1(),
51759
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51760
- user_id: /* @__PURE__ */ number$2()
51761
- }),
51762
- execute: (input, { client }) => {
51763
- const data = input;
51764
- return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
51765
- client.httpClient,
51766
- client.organizationId,
51767
- client.workspaceIdNumber,
51768
- data,
51769
- void 0
51770
- ]));
51771
- }
51772
- },
51773
51697
  {
51774
51698
  id: "focus.time-entries.list",
51775
51699
  family: "focus",
@@ -54817,7 +54741,7 @@ function registerWorkspaceTools(server) {
54817
54741
  //#region src/package-version.ts
54818
54742
  function mcpPackageVersion() {
54819
54743
  try {
54820
- return "1.11.135";
54744
+ return "1.11.137";
54821
54745
  } catch {
54822
54746
  return "unknown";
54823
54747
  }
@@ -54992,7 +54916,7 @@ import_main.default.config({
54992
54916
  quiet: true,
54993
54917
  ignore: ["MISSING_ENV_FILE"]
54994
54918
  });
54995
- const packageVersion = "1.11.135";
54919
+ const packageVersion = "1.11.137";
54996
54920
  function resolvePublicUrls() {
54997
54921
  return {
54998
54922
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55057,4 +54981,4 @@ function bootstrapServer(options = {}) {
55057
54981
  //#endregion
55058
54982
  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 };
55059
54983
 
55060
- //# sourceMappingURL=src-CCfUOoxA.js.map
54984
+ //# sourceMappingURL=src-HUmGCHZM.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.135",
3
+ "version": "1.11.137",
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",