@togglhq/mcp 1.13.340 → 1.13.342

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-Dkr2cxqj.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-DFK7rK4C.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.340";
165
+ const packageVersion = "1.13.342";
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-Dkr2cxqj.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DFK7rK4C.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -37998,6 +37998,15 @@ async function restoreProject(httpClient, organization_id, workspace_id, project
37998
37998
  if ([204, 205].includes(response.status)) return null;
37999
37999
  return response.json();
38000
38000
  }
38001
+ async function getTimeLogMove(httpClient, organization_id, workspace_id, project_id, { rrule } = {}, signal) {
38002
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/time-log-move`, {
38003
+ signal,
38004
+ searchParams: buildSearchParams$2({ rrule })
38005
+ })).json();
38006
+ }
38007
+ async function moveTimeLogs(httpClient, organization_id, workspace_id, project_id, signal) {
38008
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/time-log-move`, { signal })).json();
38009
+ }
38001
38010
  async function unarchiveProject(httpClient, organization_id, workspace_id, project_id, signal) {
38002
38011
  const response = await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/unarchive`, { signal });
38003
38012
  if ([204, 205].includes(response.status)) return null;
@@ -50134,6 +50143,7 @@ const generatedFocusOperations = [
50134
50143
  amount: /* @__PURE__ */ number$2(),
50135
50144
  currency: /* @__PURE__ */ string$1()
50136
50145
  })),
50146
+ move_time_logs: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50137
50147
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50138
50148
  rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
50139
50149
  "expire",
@@ -50717,6 +50727,37 @@ const generatedFocusOperations = [
50717
50727
  ]));
50718
50728
  }
50719
50729
  },
50730
+ {
50731
+ id: "focus.projects.get-time-log-move",
50732
+ family: "focus",
50733
+ resource: "projects",
50734
+ action: "get-time-log-move",
50735
+ title: "Get Time Log Move Projects",
50736
+ description: "Get Time Log Move Projects.",
50737
+ safety: "read",
50738
+ destructive: false,
50739
+ cli: {
50740
+ group: ["projects"],
50741
+ command: "get-time-log-move",
50742
+ interactive: "hidden"
50743
+ },
50744
+ mcp: { entityTool: "projects" },
50745
+ inputSchema: /* @__PURE__ */ looseObject({
50746
+ project_id: /* @__PURE__ */ number$2(),
50747
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50748
+ }),
50749
+ execute: (input, { client }) => {
50750
+ const data = input;
50751
+ return client.runGeneratedRequest("getTimeLogMove", () => callGeneratedRequest(getTimeLogMove, [
50752
+ client.httpClient,
50753
+ client.organizationId,
50754
+ client.workspaceIdNumber,
50755
+ data.project_id,
50756
+ data,
50757
+ void 0
50758
+ ]));
50759
+ }
50760
+ },
50720
50761
  {
50721
50762
  id: "focus.projects.get-with-children",
50722
50763
  family: "focus",
@@ -51042,6 +51083,33 @@ const generatedFocusOperations = [
51042
51083
  ]));
51043
51084
  }
51044
51085
  },
51086
+ {
51087
+ id: "focus.projects.move-time-logs",
51088
+ family: "focus",
51089
+ resource: "projects",
51090
+ action: "move-time-logs",
51091
+ title: "Move Time Logs Projects",
51092
+ description: "Move Time Logs Projects.",
51093
+ safety: "update",
51094
+ destructive: false,
51095
+ cli: {
51096
+ group: ["projects"],
51097
+ command: "move-time-logs",
51098
+ interactive: "default"
51099
+ },
51100
+ mcp: { entityTool: "projects" },
51101
+ inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
51102
+ execute: (input, { client }) => {
51103
+ const data = input;
51104
+ return client.runGeneratedRequest("moveTimeLogs", () => callGeneratedRequest(moveTimeLogs, [
51105
+ client.httpClient,
51106
+ client.organizationId,
51107
+ client.workspaceIdNumber,
51108
+ data.project_id,
51109
+ void 0
51110
+ ]));
51111
+ }
51112
+ },
51045
51113
  {
51046
51114
  id: "focus.projects.pin",
51047
51115
  family: "focus",
@@ -62112,7 +62180,7 @@ function registerWorkspaceTools(server) {
62112
62180
  //#region src/package-version.ts
62113
62181
  function mcpPackageVersion() {
62114
62182
  try {
62115
- return "1.13.340";
62183
+ return "1.13.342";
62116
62184
  } catch {
62117
62185
  return "unknown";
62118
62186
  }
@@ -62294,7 +62362,7 @@ import_main.default.config({
62294
62362
  quiet: true,
62295
62363
  ignore: ["MISSING_ENV_FILE"]
62296
62364
  });
62297
- const packageVersion = "1.13.340";
62365
+ const packageVersion = "1.13.342";
62298
62366
  const MCP_CACHE_TTL_MS = 300 * 1e3;
62299
62367
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
62300
62368
  function resolvePublicUrls() {
@@ -62414,4 +62482,4 @@ function bootstrapServer(options = {}) {
62414
62482
  //#endregion
62415
62483
  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 };
62416
62484
 
62417
- //# sourceMappingURL=src-Dkr2cxqj.js.map
62485
+ //# sourceMappingURL=src-DFK7rK4C.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.340",
3
+ "version": "1.13.342",
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",