@togglhq/mcp 1.11.220 → 1.11.221

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-CtLMaFwk.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-BKCNU1H3.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.220";
165
+ const packageVersion = "1.11.221";
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-CtLMaFwk.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-BKCNU1H3.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -35239,6 +35239,10 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35239
35239
  workspace_user_id: /* @__PURE__ */ number()
35240
35240
  })),
35241
35241
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35242
+ designations: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
35243
+ id: /* @__PURE__ */ number(),
35244
+ name: /* @__PURE__ */ string()
35245
+ }))),
35242
35246
  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.")))
35243
35247
  });
35244
35248
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -37341,7 +37345,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37341
37345
  })
37342
37346
  }).json();
37343
37347
  }
37344
- 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, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
37348
+ 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, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations } = {}, signal) {
37345
37349
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37346
37350
  signal,
37347
37351
  searchParams: buildSearchParams$2({
@@ -37365,7 +37369,8 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37365
37369
  track_without_focus,
37366
37370
  cf_filter,
37367
37371
  include_custom_fields,
37368
- include_calendar_integration
37372
+ include_calendar_integration,
37373
+ include_designations
37369
37374
  }, true)
37370
37375
  });
37371
37376
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -42314,10 +42319,11 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
42314
42319
  }
42315
42320
  //#endregion
42316
42321
  //#region ../focus-queries/dist/designations/requests.ts
42317
- async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
42322
+ async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, page, per_page, order_by } = {}, signal) {
42318
42323
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
42319
42324
  signal,
42320
42325
  searchParams: buildSearchParams$2({
42326
+ designation_id,
42321
42327
  name,
42322
42328
  page,
42323
42329
  per_page,
@@ -44797,6 +44803,7 @@ const generatedFocusOperations = [
44797
44803
  },
44798
44804
  mcp: { entityTool: "designations" },
44799
44805
  inputSchema: /* @__PURE__ */ looseObject({
44806
+ designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44800
44807
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44801
44808
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44802
44809
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -56214,7 +56221,7 @@ function registerWorkspaceTools(server) {
56214
56221
  //#region src/package-version.ts
56215
56222
  function mcpPackageVersion() {
56216
56223
  try {
56217
- return "1.11.220";
56224
+ return "1.11.221";
56218
56225
  } catch {
56219
56226
  return "unknown";
56220
56227
  }
@@ -56389,7 +56396,7 @@ import_main.default.config({
56389
56396
  quiet: true,
56390
56397
  ignore: ["MISSING_ENV_FILE"]
56391
56398
  });
56392
- const packageVersion = "1.11.220";
56399
+ const packageVersion = "1.11.221";
56393
56400
  function resolvePublicUrls() {
56394
56401
  return {
56395
56402
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56454,4 +56461,4 @@ function bootstrapServer(options = {}) {
56454
56461
  //#endregion
56455
56462
  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 };
56456
56463
 
56457
- //# sourceMappingURL=src-CtLMaFwk.js.map
56464
+ //# sourceMappingURL=src-BKCNU1H3.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.220",
3
+ "version": "1.11.221",
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",