@togglhq/mcp 1.13.298 → 1.13.299

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-CcJnAcPK.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-D-k2RmDK.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.298";
165
+ const packageVersion = "1.13.299";
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-CcJnAcPK.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-D-k2RmDK.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -45234,6 +45234,17 @@ async function emailUnsubscribePage(httpClient, token, signal) {
45234
45234
  async function emailUnsubscribe(httpClient, token, signal) {
45235
45235
  return (await httpClient.post(`email/unsubscribe/${token}`, { signal })).json();
45236
45236
  }
45237
+ async function recordWorkspaceOpened(httpClient, organization_id, workspace_id, signal) {
45238
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/users/me/opened`, { signal })).json();
45239
+ }
45240
+ async function getLandingWorkspace(httpClient, { first_launch } = {}, signal) {
45241
+ const response = await httpClient.get(`users/me/landing-workspace`, {
45242
+ signal,
45243
+ searchParams: buildSearchParams$2({ first_launch })
45244
+ });
45245
+ if ([204, 205].includes(response.status)) return null;
45246
+ return response.json();
45247
+ }
45237
45248
  async function getUserSettings(httpClient, signal) {
45238
45249
  return (await httpClient.get(`users/me/settings`, { signal })).json();
45239
45250
  }
@@ -59776,6 +59787,31 @@ const generatedFocusOperations = [
59776
59787
  inputSchema: /* @__PURE__ */ looseObject({}),
59777
59788
  execute: (_input, { client }) => client.runGeneratedRequest("getDesktopUserSettings", () => callGeneratedRequest(getDesktopUserSettings, [client.httpClient, void 0]))
59778
59789
  },
59790
+ {
59791
+ id: "focus.users.settings-get-landing-workspace",
59792
+ family: "focus",
59793
+ resource: "users",
59794
+ action: "settings-get-landing-workspace",
59795
+ title: "Settings Get Landing Workspace Users",
59796
+ description: "Settings Get Landing Workspace Users.",
59797
+ safety: "read",
59798
+ destructive: false,
59799
+ cli: {
59800
+ group: ["users", "settings"],
59801
+ command: "get-landing-workspace",
59802
+ interactive: "hidden"
59803
+ },
59804
+ mcp: { entityTool: "users" },
59805
+ inputSchema: /* @__PURE__ */ looseObject({ first_launch: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()) }),
59806
+ execute: (input, { client }) => {
59807
+ const data = input;
59808
+ return client.runGeneratedRequest("getLandingWorkspace", () => callGeneratedRequest(getLandingWorkspace, [
59809
+ client.httpClient,
59810
+ data,
59811
+ void 0
59812
+ ]));
59813
+ }
59814
+ },
59779
59815
  {
59780
59816
  id: "focus.users.settings-list",
59781
59817
  family: "focus",
@@ -59821,6 +59857,7 @@ const generatedFocusOperations = [
59821
59857
  "do_nothing",
59822
59858
  "match_existing"
59823
59859
  ])),
59860
+ current_workspace_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["explicit", "inferred"])),
59824
59861
  date_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
59825
59862
  "US",
59826
59863
  "EU",
@@ -59894,6 +59931,29 @@ const generatedFocusOperations = [
59894
59931
  ]));
59895
59932
  }
59896
59933
  },
59934
+ {
59935
+ id: "focus.users.settings-record-workspace-opened",
59936
+ family: "focus",
59937
+ resource: "users",
59938
+ action: "settings-record-workspace-opened",
59939
+ title: "Settings Record Workspace Opened Users",
59940
+ description: "Settings Record Workspace Opened Users.",
59941
+ safety: "update",
59942
+ destructive: false,
59943
+ cli: {
59944
+ group: ["users", "settings"],
59945
+ command: "record-workspace-opened",
59946
+ interactive: "default"
59947
+ },
59948
+ mcp: { entityTool: "users" },
59949
+ inputSchema: /* @__PURE__ */ looseObject({}),
59950
+ execute: (_input, { client }) => client.runGeneratedRequest("recordWorkspaceOpened", () => callGeneratedRequest(recordWorkspaceOpened, [
59951
+ client.httpClient,
59952
+ client.organizationId,
59953
+ client.workspaceIdNumber,
59954
+ void 0
59955
+ ]))
59956
+ },
59897
59957
  {
59898
59958
  id: "focus.users.settings-update-desktop",
59899
59959
  family: "focus",
@@ -61586,7 +61646,7 @@ function registerWorkspaceTools(server) {
61586
61646
  //#region src/package-version.ts
61587
61647
  function mcpPackageVersion() {
61588
61648
  try {
61589
- return "1.13.298";
61649
+ return "1.13.299";
61590
61650
  } catch {
61591
61651
  return "unknown";
61592
61652
  }
@@ -61768,7 +61828,7 @@ import_main.default.config({
61768
61828
  quiet: true,
61769
61829
  ignore: ["MISSING_ENV_FILE"]
61770
61830
  });
61771
- const packageVersion = "1.13.298";
61831
+ const packageVersion = "1.13.299";
61772
61832
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61773
61833
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61774
61834
  function resolvePublicUrls() {
@@ -61888,4 +61948,4 @@ function bootstrapServer(options = {}) {
61888
61948
  //#endregion
61889
61949
  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 };
61890
61950
 
61891
- //# sourceMappingURL=src-CcJnAcPK.js.map
61951
+ //# sourceMappingURL=src-D-k2RmDK.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.298",
3
+ "version": "1.13.299",
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",