@togglhq/mcp 1.13.351 → 1.13.352

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-BxxZqB4b.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-D6aOY6Sa.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.351";
165
+ const packageVersion = "1.13.352";
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-BxxZqB4b.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-D6aOY6Sa.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -44896,6 +44896,12 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
44896
44896
  json: data
44897
44897
  })).json();
44898
44898
  }
44899
+ async function getProjectAndTaskSuggestionForATimeLog(httpClient, organization_id, workspace_id, data, signal) {
44900
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/task-suggestions/time-log`, {
44901
+ signal,
44902
+ json: data
44903
+ })).json();
44904
+ }
44899
44905
  //#endregion
44900
44906
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
44901
44907
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
@@ -57100,6 +57106,33 @@ const generatedFocusOperations = [
57100
57106
  ]));
57101
57107
  }
57102
57108
  },
57109
+ {
57110
+ id: "focus.tasks.suggestions-get-project-and-task-suggestion-for-atime-log",
57111
+ family: "focus",
57112
+ resource: "tasks",
57113
+ action: "suggestions-get-project-and-task-suggestion-for-atime-log",
57114
+ title: "Suggestions Get Project And Task Suggestion For Atime Log Tasks",
57115
+ description: "Suggestions Get Project And Task Suggestion For Atime Log Tasks.",
57116
+ safety: "update",
57117
+ destructive: false,
57118
+ cli: {
57119
+ group: ["tasks", "suggestions"],
57120
+ command: "get-project-and-task-suggestion-for-atime-log",
57121
+ interactive: "default"
57122
+ },
57123
+ mcp: { entityTool: "tasks" },
57124
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ description: /* @__PURE__ */ string$1() }) }),
57125
+ execute: (input, { client }) => {
57126
+ const data = input;
57127
+ return client.runGeneratedRequest("getProjectAndTaskSuggestionForATimeLog", () => callGeneratedRequest(getProjectAndTaskSuggestionForATimeLog, [
57128
+ client.httpClient,
57129
+ client.organizationId,
57130
+ client.workspaceIdNumber,
57131
+ data.payload ?? data.data ?? data,
57132
+ void 0
57133
+ ]));
57134
+ }
57135
+ },
57103
57136
  {
57104
57137
  id: "focus.tasks.suggestions-get-project-suggestion-for-atask",
57105
57138
  family: "focus",
@@ -62259,7 +62292,7 @@ function registerWorkspaceTools(server) {
62259
62292
  //#region src/package-version.ts
62260
62293
  function mcpPackageVersion() {
62261
62294
  try {
62262
- return "1.13.351";
62295
+ return "1.13.352";
62263
62296
  } catch {
62264
62297
  return "unknown";
62265
62298
  }
@@ -62441,7 +62474,7 @@ import_main.default.config({
62441
62474
  quiet: true,
62442
62475
  ignore: ["MISSING_ENV_FILE"]
62443
62476
  });
62444
- const packageVersion = "1.13.351";
62477
+ const packageVersion = "1.13.352";
62445
62478
  const MCP_CACHE_TTL_MS = 300 * 1e3;
62446
62479
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
62447
62480
  function resolvePublicUrls() {
@@ -62561,4 +62594,4 @@ function bootstrapServer(options = {}) {
62561
62594
  //#endregion
62562
62595
  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 };
62563
62596
 
62564
- //# sourceMappingURL=src-BxxZqB4b.js.map
62597
+ //# sourceMappingURL=src-D6aOY6Sa.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.351",
3
+ "version": "1.13.352",
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",