@togglhq/mcp 1.11.225 → 1.11.227

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-H-pxotgE.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-CStKKXpP.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.225";
165
+ const packageVersion = "1.11.227";
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-H-pxotgE.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-CStKKXpP.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -40592,7 +40592,7 @@ function createAuthenticatedClientProxy() {
40592
40592
  } });
40593
40593
  }
40594
40594
  //#endregion
40595
- //#region ../operations/build/validation-B7kaDM75.js
40595
+ //#region ../operations/build/validation-Byte2z0O.js
40596
40596
  const optionalNumber = /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2());
40597
40597
  const perPageField = (max) => /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ integer(), /* @__PURE__ */ minValue$1(1), /* @__PURE__ */ maxValue$1(max), /* @__PURE__ */ description$1(`Results per page (1-${max})`)));
40598
40598
  const perPageSchema = perPageField(100);
@@ -40812,8 +40812,8 @@ const capacityOverrides = { "focus.capacities.get-computations": {
40812
40812
  start_date: "2026-05-01",
40813
40813
  end_date: "2026-05-31",
40814
40814
  unit: "day",
40815
- group: "user",
40816
- private_: false,
40815
+ group: "users",
40816
+ private: false,
40817
40817
  task_source: "all"
40818
40818
  }
40819
40819
  }]
@@ -43773,7 +43773,6 @@ const generatedFocusOperations = [
43773
43773
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43774
43774
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43775
43775
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43776
- export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43777
43776
  from: /* @__PURE__ */ string$1(),
43778
43777
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43779
43778
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43815,7 +43814,6 @@ const generatedFocusOperations = [
43815
43814
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43816
43815
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43817
43816
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43818
- export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43819
43817
  from: /* @__PURE__ */ string$1(),
43820
43818
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43821
43819
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43854,14 +43852,14 @@ const generatedFocusOperations = [
43854
43852
  inputSchema: /* @__PURE__ */ looseObject({
43855
43853
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43856
43854
  group: /* @__PURE__ */ picklist$1(["users"]),
43857
- include_drafts: /* @__PURE__ */ unknown$1(),
43858
- include_task_estimates: /* @__PURE__ */ unknown$1(),
43859
- private_: /* @__PURE__ */ unknown$1(),
43855
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43856
+ include_task_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43857
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43860
43858
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43861
- task_source: /* @__PURE__ */ unknown$1(),
43862
- team_id: /* @__PURE__ */ number$2(),
43863
- unit: /* @__PURE__ */ unknown$1(),
43864
- user_id: /* @__PURE__ */ number$2()
43859
+ task_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43860
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43861
+ unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43862
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43865
43863
  }),
43866
43864
  execute: (input, { client }) => {
43867
43865
  const data = input;
@@ -45533,14 +45531,14 @@ const generatedFocusOperations = [
45533
45531
  },
45534
45532
  mcp: { entityTool: "organization" },
45535
45533
  inputSchema: /* @__PURE__ */ looseObject({
45536
- active_members_only: /* @__PURE__ */ unknown$1(),
45537
- filter: /* @__PURE__ */ unknown$1(),
45538
- group_ids: /* @__PURE__ */ unknown$1(),
45539
- organization_user_id: /* @__PURE__ */ number$2(),
45540
- page: /* @__PURE__ */ number$2(),
45541
- per_page: /* @__PURE__ */ unknown$1(),
45542
- query: /* @__PURE__ */ unknown$1(),
45543
- sort_dir: /* @__PURE__ */ unknown$1(),
45534
+ active_members_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45535
+ filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45536
+ group_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45537
+ organization_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45538
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45539
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45540
+ query: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45541
+ sort_dir: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45544
45542
  workspace_id: /* @__PURE__ */ number$2()
45545
45543
  }),
45546
45544
  execute: (input, { client }) => {
@@ -46482,7 +46480,7 @@ const generatedFocusOperations = [
46482
46480
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
46483
46481
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
46484
46482
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46485
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46483
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46486
46484
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
46487
46485
  project_order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46488
46486
  projects_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -48690,6 +48688,7 @@ const generatedFocusOperations = [
48690
48688
  },
48691
48689
  mcp: { entityTool: "reports" },
48692
48690
  inputSchema: /* @__PURE__ */ looseObject({
48691
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48693
48692
  payload: /* @__PURE__ */ looseObject({
48694
48693
  aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48695
48694
  aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
@@ -48737,7 +48736,8 @@ const generatedFocusOperations = [
48737
48736
  }))),
48738
48737
  view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48739
48738
  }),
48740
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48739
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48740
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48741
48741
  }),
48742
48742
  execute: (input, { client }) => {
48743
48743
  const data = input;
@@ -51249,7 +51249,7 @@ const generatedFocusOperations = [
51249
51249
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51250
51250
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51251
51251
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51252
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51252
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51253
51253
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51254
51254
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51255
51255
  recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -51400,7 +51400,7 @@ const generatedFocusOperations = [
51400
51400
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51401
51401
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51402
51402
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51403
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51403
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51404
51404
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51405
51405
  recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51406
51406
  recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -51443,39 +51443,39 @@ const generatedFocusOperations = [
51443
51443
  },
51444
51444
  mcp: { entityTool: "tasks" },
51445
51445
  inputSchema: /* @__PURE__ */ looseObject({
51446
- assignee_user_id: /* @__PURE__ */ number$2(),
51447
- cf_filter: /* @__PURE__ */ unknown$1(),
51448
- client_id: /* @__PURE__ */ number$2(),
51449
- collapse_recurring: /* @__PURE__ */ unknown$1(),
51450
- creator_id: /* @__PURE__ */ number$2(),
51451
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51452
- end_date_from: /* @__PURE__ */ unknown$1(),
51453
- end_date_to: /* @__PURE__ */ unknown$1(),
51454
- exclude_empty: /* @__PURE__ */ unknown$1(),
51455
- group_id: /* @__PURE__ */ number$2(),
51456
- include_assignees: /* @__PURE__ */ unknown$1(),
51457
- include_drafts: /* @__PURE__ */ unknown$1(),
51458
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
51459
- include_unassigned: /* @__PURE__ */ unknown$1(),
51460
- include_unmaterialized: /* @__PURE__ */ unknown$1(),
51461
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
51462
- min_days: /* @__PURE__ */ unknown$1(),
51463
- name: /* @__PURE__ */ unknown$1(),
51464
- priority: /* @__PURE__ */ unknown$1(),
51465
- private_: /* @__PURE__ */ unknown$1(),
51446
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51447
+ cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51448
+ client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51449
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51450
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51451
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
51452
+ end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51453
+ end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51454
+ exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51455
+ group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51456
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51457
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51458
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51459
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51460
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51461
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51462
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51463
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51464
+ priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51465
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51466
51466
  project_id: /* @__PURE__ */ number$2(),
51467
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
51468
- recurring_task_read: /* @__PURE__ */ unknown$1(),
51469
- source: /* @__PURE__ */ unknown$1(),
51470
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51471
- start_date_from: /* @__PURE__ */ unknown$1(),
51472
- start_date_to: /* @__PURE__ */ unknown$1(),
51473
- status_id: /* @__PURE__ */ number$2(),
51474
- tag_id: /* @__PURE__ */ number$2(),
51475
- team_id: /* @__PURE__ */ number$2(),
51476
- user_cf_filter: /* @__PURE__ */ unknown$1(),
51477
- user_tag_id: /* @__PURE__ */ number$2(),
51478
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
51467
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51468
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51469
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51470
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
51471
+ start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51472
+ start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51473
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51474
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51475
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51476
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51477
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51478
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51479
51479
  }),
51480
51480
  execute: (input, { client }) => {
51481
51481
  const data = input;
@@ -51523,7 +51523,7 @@ const generatedFocusOperations = [
51523
51523
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51524
51524
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51525
51525
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51526
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51526
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51527
51527
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51528
51528
  recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51529
51529
  recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -52252,18 +52252,18 @@ const generatedFocusOperations = [
52252
52252
  },
52253
52253
  mcp: { entityTool: "time-entries" },
52254
52254
  inputSchema: /* @__PURE__ */ looseObject({
52255
- archived: /* @__PURE__ */ unknown$1(),
52255
+ archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52256
52256
  date_from: /* @__PURE__ */ unknown$1(),
52257
52257
  date_to: /* @__PURE__ */ unknown$1(),
52258
- expand_calendar_event: /* @__PURE__ */ unknown$1(),
52259
- include_taskless: /* @__PURE__ */ unknown$1(),
52260
- order_by: /* @__PURE__ */ unknown$1(),
52261
- project_completed: /* @__PURE__ */ unknown$1(),
52262
- project_draft: /* @__PURE__ */ unknown$1(),
52263
- project_id: /* @__PURE__ */ number$2(),
52264
- status_id: /* @__PURE__ */ number$2(),
52265
- task_id: /* @__PURE__ */ number$2(),
52266
- type: /* @__PURE__ */ unknown$1()
52258
+ expand_calendar_event: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52259
+ include_taskless: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52260
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52261
+ project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52262
+ project_draft: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52263
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52264
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52265
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52266
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
52267
52267
  }),
52268
52268
  execute: (input, { client }) => {
52269
52269
  const data = input;
@@ -52329,11 +52329,11 @@ const generatedFocusOperations = [
52329
52329
  mcp: { entityTool: "time-entries" },
52330
52330
  inputSchema: /* @__PURE__ */ looseObject({
52331
52331
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
52332
- order_by: /* @__PURE__ */ unknown$1(),
52333
- page: /* @__PURE__ */ number$2(),
52334
- per_page: /* @__PURE__ */ unknown$1(),
52332
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52333
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52334
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52335
52335
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
52336
- user_id: /* @__PURE__ */ number$2()
52336
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
52337
52337
  }),
52338
52338
  execute: (input, { client }) => {
52339
52339
  const data = input;
@@ -52971,12 +52971,12 @@ const generatedFocusOperations = [
52971
52971
  },
52972
52972
  mcp: { entityTool: "time-off" },
52973
52973
  inputSchema: /* @__PURE__ */ looseObject({
52974
- category_id: /* @__PURE__ */ number$2(),
52974
+ category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52975
52975
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
52976
- include_pending: /* @__PURE__ */ unknown$1(),
52976
+ include_pending: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52977
52977
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
52978
- team_id: /* @__PURE__ */ number$2(),
52979
- user_id: /* @__PURE__ */ number$2()
52978
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52979
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
52980
52980
  }),
52981
52981
  execute: (input, { client }) => {
52982
52982
  const data = input;
@@ -53005,10 +53005,10 @@ const generatedFocusOperations = [
53005
53005
  mcp: { entityTool: "time-off" },
53006
53006
  inputSchema: /* @__PURE__ */ looseObject({
53007
53007
  category_id: /* @__PURE__ */ number$2(),
53008
- page: /* @__PURE__ */ number$2(),
53009
- rows: /* @__PURE__ */ unknown$1(),
53008
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53009
+ rows: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
53010
53010
  user_id: /* @__PURE__ */ number$2(),
53011
- year: /* @__PURE__ */ unknown$1()
53011
+ year: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
53012
53012
  }),
53013
53013
  execute: (input, { client }) => {
53014
53014
  const data = input;
@@ -53656,16 +53656,16 @@ const generatedFocusOperations = [
53656
53656
  },
53657
53657
  mcp: { entityTool: "timesheets" },
53658
53658
  inputSchema: /* @__PURE__ */ looseObject({
53659
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
53660
- current_layer_approver_user_account_id: /* @__PURE__ */ number$2(),
53659
+ approver_user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
53660
+ current_layer_approver_user_account_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53661
53661
  date_from: /* @__PURE__ */ unknown$1(),
53662
53662
  date_to: /* @__PURE__ */ unknown$1(),
53663
- page: /* @__PURE__ */ number$2(),
53664
- per_page: /* @__PURE__ */ unknown$1(),
53665
- setup_id: /* @__PURE__ */ number$2(),
53666
- statuses: /* @__PURE__ */ unknown$1(),
53667
- team_ids: /* @__PURE__ */ unknown$1(),
53668
- user_account_ids: /* @__PURE__ */ unknown$1()
53663
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53664
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
53665
+ setup_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53666
+ statuses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
53667
+ team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
53668
+ user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
53669
53669
  }),
53670
53670
  execute: (input, { client }) => {
53671
53671
  const data = input;
@@ -53849,12 +53849,12 @@ const generatedFocusOperations = [
53849
53849
  },
53850
53850
  mcp: { entityTool: "timesheets" },
53851
53851
  inputSchema: /* @__PURE__ */ looseObject({
53852
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
53852
+ approver_user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
53853
53853
  date_from: /* @__PURE__ */ unknown$1(),
53854
53854
  date_to: /* @__PURE__ */ unknown$1(),
53855
- setup_id: /* @__PURE__ */ number$2(),
53856
- team_ids: /* @__PURE__ */ unknown$1(),
53857
- user_account_ids: /* @__PURE__ */ unknown$1()
53855
+ setup_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53856
+ team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
53857
+ user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
53858
53858
  }),
53859
53859
  execute: (input, { client }) => {
53860
53860
  const data = input;
@@ -56225,7 +56225,7 @@ function registerWorkspaceTools(server) {
56225
56225
  //#region src/package-version.ts
56226
56226
  function mcpPackageVersion() {
56227
56227
  try {
56228
- return "1.11.225";
56228
+ return "1.11.227";
56229
56229
  } catch {
56230
56230
  return "unknown";
56231
56231
  }
@@ -56400,7 +56400,7 @@ import_main.default.config({
56400
56400
  quiet: true,
56401
56401
  ignore: ["MISSING_ENV_FILE"]
56402
56402
  });
56403
- const packageVersion = "1.11.225";
56403
+ const packageVersion = "1.11.227";
56404
56404
  function resolvePublicUrls() {
56405
56405
  return {
56406
56406
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -56465,4 +56465,4 @@ function bootstrapServer(options = {}) {
56465
56465
  //#endregion
56466
56466
  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 };
56467
56467
 
56468
- //# sourceMappingURL=src-H-pxotgE.js.map
56468
+ //# sourceMappingURL=src-CStKKXpP.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.225",
3
+ "version": "1.11.227",
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",