@togglhq/mcp 1.13.52 → 1.13.53

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-Cf9lyOfs.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-DSx97p6Q.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.52";
165
+ const packageVersion = "1.13.53";
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-Cf9lyOfs.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DSx97p6Q.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -37514,6 +37514,12 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37514
37514
  async function updateOrganizationUserActiveStatus(httpClient, organization_id, organization_user_id, status, signal) {
37515
37515
  return await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal }).json();
37516
37516
  }
37517
+ async function createWorkspaceInvitations(httpClient, organization_id, workspace_id, data, signal) {
37518
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/invitations`, {
37519
+ signal,
37520
+ json: data
37521
+ }).json();
37522
+ }
37517
37523
  //#endregion
37518
37524
  //#region ../focus-queries/out/utils/requests.js
37519
37525
  function buildSearchParams$1(params, flattenArrays = false) {
@@ -46391,6 +46397,36 @@ const generatedFocusOperations = [
46391
46397
  ]));
46392
46398
  }
46393
46399
  },
46400
+ {
46401
+ id: "focus.organization.create-workspace-invitations",
46402
+ family: "focus",
46403
+ resource: "organization",
46404
+ action: "create-workspace-invitations",
46405
+ title: "Create Workspace Invitations Organization",
46406
+ description: "Create Workspace Invitations Organization.",
46407
+ safety: "create",
46408
+ destructive: false,
46409
+ cli: {
46410
+ group: ["organization"],
46411
+ command: "create-workspace-invitations",
46412
+ interactive: "default"
46413
+ },
46414
+ mcp: { entityTool: "organization" },
46415
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
46416
+ emails: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
46417
+ focus_role_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
46418
+ }) }),
46419
+ execute: (input, { client }) => {
46420
+ const data = input;
46421
+ return client.runGeneratedRequest("createWorkspaceInvitations", () => callGeneratedRequest(createWorkspaceInvitations, [
46422
+ client.httpClient,
46423
+ client.organizationId,
46424
+ client.workspaceIdNumber,
46425
+ data.payload ?? data.data ?? data,
46426
+ void 0
46427
+ ]));
46428
+ }
46429
+ },
46394
46430
  {
46395
46431
  id: "focus.organization.delete-group",
46396
46432
  family: "focus",
@@ -57299,7 +57335,7 @@ function registerWorkspaceTools(server) {
57299
57335
  //#region src/package-version.ts
57300
57336
  function mcpPackageVersion() {
57301
57337
  try {
57302
- return "1.13.52";
57338
+ return "1.13.53";
57303
57339
  } catch {
57304
57340
  return "unknown";
57305
57341
  }
@@ -57480,7 +57516,7 @@ import_main.default.config({
57480
57516
  quiet: true,
57481
57517
  ignore: ["MISSING_ENV_FILE"]
57482
57518
  });
57483
- const packageVersion = "1.13.52";
57519
+ const packageVersion = "1.13.53";
57484
57520
  const MCP_CACHE_TTL_MS = 300 * 1e3;
57485
57521
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
57486
57522
  function resolvePublicUrls() {
@@ -57600,4 +57636,4 @@ function bootstrapServer(options = {}) {
57600
57636
  //#endregion
57601
57637
  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 };
57602
57638
 
57603
- //# sourceMappingURL=src-Cf9lyOfs.js.map
57639
+ //# sourceMappingURL=src-DSx97p6Q.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.52",
3
+ "version": "1.13.53",
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",