@togglhq/mcp 1.13.38 → 1.13.40

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-CiM0WBdB.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-CLmmSIwT.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.38";
165
+ const packageVersion = "1.13.40";
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-CiM0WBdB.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-CLmmSIwT.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -34706,7 +34706,11 @@ const CustomFieldValueSchema = /* @__PURE__ */ object({
34706
34706
  })),
34707
34707
  value: /* @__PURE__ */ unknown()
34708
34708
  });
34709
- const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist(["manual", "tasks"]);
34709
+ const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist([
34710
+ "manual",
34711
+ "tasks",
34712
+ "designation"
34713
+ ]);
34710
34714
  const EffectiveProjectRatesSummarySchema = /* @__PURE__ */ object({
34711
34715
  billable: /* @__PURE__ */ boolean(),
34712
34716
  currency: /* @__PURE__ */ string(),
@@ -34962,7 +34966,11 @@ const ProjectPayloadSchema = /* @__PURE__ */ object({
34962
34966
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34963
34967
  draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34964
34968
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34965
- estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["manual", "tasks"]))),
34969
+ estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist([
34970
+ "manual",
34971
+ "tasks",
34972
+ "designation"
34973
+ ]))),
34966
34974
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
34967
34975
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeePayloadSchema),
34968
34976
  is_template: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35095,6 +35103,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35095
35103
  billable: /* @__PURE__ */ boolean(),
35096
35104
  completion_mode: /* @__PURE__ */ picklist(["manual", "automatic"]),
35097
35105
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
35106
+ designation_estimated_mins: /* @__PURE__ */ number(),
35098
35107
  draft: /* @__PURE__ */ boolean(),
35099
35108
  estimate_source: ProjectEstimateSourceSchema,
35100
35109
  id: /* @__PURE__ */ number(),
@@ -35377,7 +35386,11 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35377
35386
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35378
35387
  draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35379
35388
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35380
- estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
35389
+ estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
35390
+ "manual",
35391
+ "tasks",
35392
+ "designation"
35393
+ ])),
35381
35394
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35382
35395
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
35383
35396
  name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
@@ -35404,7 +35417,11 @@ const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35404
35417
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35405
35418
  draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35406
35419
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35407
- estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
35420
+ estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
35421
+ "manual",
35422
+ "tasks",
35423
+ "designation"
35424
+ ])),
35408
35425
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35409
35426
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
35410
35427
  groups: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(ProjectBulkGroupEntrySchema))),
@@ -42821,12 +42838,13 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
42821
42838
  }
42822
42839
  //#endregion
42823
42840
  //#region ../focus-queries/dist/designations/requests.ts
42824
- async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, page, per_page, order_by } = {}, signal) {
42841
+ async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, page, per_page, order_by } = {}, signal) {
42825
42842
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
42826
42843
  signal,
42827
42844
  searchParams: buildSearchParams$2({
42828
42845
  designation_id,
42829
42846
  name,
42847
+ include_members,
42830
42848
  page,
42831
42849
  per_page,
42832
42850
  order_by
@@ -45688,6 +45706,7 @@ const generatedFocusOperations = [
45688
45706
  mcp: { entityTool: "designations" },
45689
45707
  inputSchema: /* @__PURE__ */ looseObject({
45690
45708
  designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45709
+ include_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45691
45710
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45692
45711
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45693
45712
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -46964,7 +46983,11 @@ const generatedFocusOperations = [
46964
46983
  auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46965
46984
  completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
46966
46985
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
46967
- estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
46986
+ estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46987
+ "manual",
46988
+ "tasks",
46989
+ "designation"
46990
+ ])),
46968
46991
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
46969
46992
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46970
46993
  rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -47008,7 +47031,11 @@ const generatedFocusOperations = [
47008
47031
  date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
47009
47032
  payload: /* @__PURE__ */ looseObject({
47010
47033
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
47011
- estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
47034
+ estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
47035
+ "manual",
47036
+ "tasks",
47037
+ "designation"
47038
+ ])),
47012
47039
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
47013
47040
  }),
47014
47041
  project_id: /* @__PURE__ */ number$2()
@@ -47044,7 +47071,11 @@ const generatedFocusOperations = [
47044
47071
  inputSchema: /* @__PURE__ */ looseObject({
47045
47072
  payload: /* @__PURE__ */ looseObject({
47046
47073
  auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
47047
- estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
47074
+ estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
47075
+ "manual",
47076
+ "tasks",
47077
+ "designation"
47078
+ ])),
47048
47079
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
47049
47080
  fixed_fee: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
47050
47081
  amount: /* @__PURE__ */ number$2(),
@@ -57229,7 +57260,7 @@ function registerWorkspaceTools(server) {
57229
57260
  //#region src/package-version.ts
57230
57261
  function mcpPackageVersion() {
57231
57262
  try {
57232
- return "1.13.38";
57263
+ return "1.13.40";
57233
57264
  } catch {
57234
57265
  return "unknown";
57235
57266
  }
@@ -57410,7 +57441,7 @@ import_main.default.config({
57410
57441
  quiet: true,
57411
57442
  ignore: ["MISSING_ENV_FILE"]
57412
57443
  });
57413
- const packageVersion = "1.13.38";
57444
+ const packageVersion = "1.13.40";
57414
57445
  const MCP_CACHE_TTL_MS = 300 * 1e3;
57415
57446
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
57416
57447
  function resolvePublicUrls() {
@@ -57530,4 +57561,4 @@ function bootstrapServer(options = {}) {
57530
57561
  //#endregion
57531
57562
  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 };
57532
57563
 
57533
- //# sourceMappingURL=src-CiM0WBdB.js.map
57564
+ //# sourceMappingURL=src-CLmmSIwT.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.38",
3
+ "version": "1.13.40",
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",