@togglhq/mcp 1.11.222 → 1.11.224

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-DuWfE0zq.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--XsWyZn0.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.222";
165
+ const packageVersion = "1.11.224";
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-DuWfE0zq.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src--XsWyZn0.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -35325,7 +35325,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35325
35325
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35326
35326
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
35327
35327
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35328
- end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35328
+ end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()), /* @__PURE__ */ description("Send together with start_date; must be on or after start_date."))),
35329
35329
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35330
35330
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35331
35331
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35343,7 +35343,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35343
35343
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35344
35344
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35345
35345
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35346
- start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35346
+ start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()), /* @__PURE__ */ description("Send together with end_date; a date without the other is rejected."))),
35347
35347
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35348
35348
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35349
35349
  team_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number())))
@@ -35365,7 +35365,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35365
35365
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35366
35366
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35367
35367
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35368
- end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35368
+ end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Send together with start_date; must be on or after start_date."))),
35369
35369
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35370
35370
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35371
35371
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35388,7 +35388,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35388
35388
  repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
35389
35389
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35390
35390
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35391
- start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35391
+ start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Send together with end_date; a date without the other is rejected."))),
35392
35392
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35393
35393
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35394
35394
  team_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number())))
@@ -35403,7 +35403,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35403
35403
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35404
35404
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35405
35405
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35406
- end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35406
+ end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Send together with start_date; must be on or after start_date."))),
35407
35407
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35408
35408
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35409
35409
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35425,7 +35425,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35425
35425
  repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
35426
35426
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35427
35427
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35428
- start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35428
+ start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Send together with end_date; a date without the other is rejected."))),
35429
35429
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35430
35430
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35431
35431
  team_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number())))
@@ -56221,7 +56221,7 @@ function registerWorkspaceTools(server) {
56221
56221
  //#region src/package-version.ts
56222
56222
  function mcpPackageVersion() {
56223
56223
  try {
56224
- return "1.11.222";
56224
+ return "1.11.224";
56225
56225
  } catch {
56226
56226
  return "unknown";
56227
56227
  }
@@ -56396,7 +56396,7 @@ import_main.default.config({
56396
56396
  quiet: true,
56397
56397
  ignore: ["MISSING_ENV_FILE"]
56398
56398
  });
56399
- const packageVersion = "1.11.222";
56399
+ const packageVersion = "1.11.224";
56400
56400
  function resolvePublicUrls() {
56401
56401
  return {
56402
56402
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56461,4 +56461,4 @@ function bootstrapServer(options = {}) {
56461
56461
  //#endregion
56462
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 };
56463
56463
 
56464
- //# sourceMappingURL=src-DuWfE0zq.js.map
56464
+ //# sourceMappingURL=src--XsWyZn0.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.222",
3
+ "version": "1.11.224",
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",