@togglhq/mcp 1.13.296 → 1.13.298

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-DBlfzGGK.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-CcJnAcPK.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.296";
165
+ const packageVersion = "1.13.298";
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-DBlfzGGK.js";
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";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -34960,6 +34960,22 @@ const AlertRuleSchema = /* @__PURE__ */ object({
34960
34960
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34961
34961
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
34962
34962
  });
34963
+ const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
34964
+ aggregation: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
34965
+ function: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("One of `sum`, `avg`, `min`, `max`, `count`, `array` or `array_ordered`.")),
34966
+ property: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Property name, e.g. `user_name` or `project_custom_field:42`; see the endpoint description for every accepted name."))
34967
+ }), /* @__PURE__ */ description("Aggregation whose result is filtered, as in a HAVING clause."))),
34968
+ conditions: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema), /* @__PURE__ */ description("Nested aggregation filters, combined by an `and` / `or` operator."))),
34969
+ operator: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Operator such as `>`, `<=` or `is between`, or `and` / `or` to combine `conditions`."))),
34970
+ property: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The aggregation written as `function(property)`, e.g. `sum(duration)`; send it or `aggregation`, not both."))),
34971
+ value: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ unknown(), /* @__PURE__ */ description("Value compared against the aggregated result.")))
34972
+ });
34973
+ const DtoFilterRequestSchema = /* @__PURE__ */ object({
34974
+ conditions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema))),
34975
+ operator: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Operator such as `=`, `in` or `is between`, or `and` / `or` to combine `conditions`."))),
34976
+ property: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Property name, e.g. `user_name` or `project_custom_field:42`; see the endpoint description for every accepted name."))),
34977
+ value: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ unknown(), /* @__PURE__ */ description("Value compared against; an array for `in`, `contains one of` and the between operators.")))
34978
+ });
34963
34979
  const ClientPayloadSchema = /* @__PURE__ */ object({
34964
34980
  name: /* @__PURE__ */ string(),
34965
34981
  address: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ string()), /* @__PURE__ */ description("Omit to keep the stored value on update; send null or a blank string to clear it."))),
@@ -35099,23 +35115,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
35099
35115
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35100
35116
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35101
35117
  });
35102
- const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
35103
- aggregation: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
35104
- function: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("One of `sum`, `avg`, `min`, `max`, `count`, `array` or `array_ordered`.")),
35105
- property: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Property name, e.g. `user_name` or `project_custom_field:42`; see the endpoint description for every accepted name."))
35106
- }), /* @__PURE__ */ description("Aggregation whose result is filtered, as in a HAVING clause."))),
35107
- conditions: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema), /* @__PURE__ */ description("Nested aggregation filters, combined by an `and` / `or` operator."))),
35108
- operator: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Operator such as `>`, `<=` or `is between`, or `and` / `or` to combine `conditions`."))),
35109
- property: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The aggregation written as `function(property)`, e.g. `sum(duration)`; send it or `aggregation`, not both."))),
35110
- value: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ unknown(), /* @__PURE__ */ description("Value compared against the aggregated result.")))
35111
- });
35112
35118
  const DtoAggregationsFilterRequestSchema = /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoAggregationFilterRequestSchema));
35113
- const DtoFilterRequestSchema = /* @__PURE__ */ object({
35114
- conditions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema))),
35115
- operator: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Operator such as `=`, `in` or `is between`, or `and` / `or` to combine `conditions`."))),
35116
- property: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Property name, e.g. `user_name` or `project_custom_field:42`; see the endpoint description for every accepted name."))),
35117
- value: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ unknown(), /* @__PURE__ */ description("Value compared against; an array for `in`, `contains one of` and the between operators.")))
35118
- });
35119
35119
  const InvoicedAmountSchema = /* @__PURE__ */ object({
35120
35120
  amount_minor: /* @__PURE__ */ number(),
35121
35121
  currency: /* @__PURE__ */ string()
@@ -61586,7 +61586,7 @@ function registerWorkspaceTools(server) {
61586
61586
  //#region src/package-version.ts
61587
61587
  function mcpPackageVersion() {
61588
61588
  try {
61589
- return "1.13.296";
61589
+ return "1.13.298";
61590
61590
  } catch {
61591
61591
  return "unknown";
61592
61592
  }
@@ -61768,7 +61768,7 @@ import_main.default.config({
61768
61768
  quiet: true,
61769
61769
  ignore: ["MISSING_ENV_FILE"]
61770
61770
  });
61771
- const packageVersion = "1.13.296";
61771
+ const packageVersion = "1.13.298";
61772
61772
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61773
61773
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61774
61774
  function resolvePublicUrls() {
@@ -61888,4 +61888,4 @@ function bootstrapServer(options = {}) {
61888
61888
  //#endregion
61889
61889
  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
61890
 
61891
- //# sourceMappingURL=src-DBlfzGGK.js.map
61891
+ //# sourceMappingURL=src-CcJnAcPK.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.296",
3
+ "version": "1.13.298",
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",