@togglhq/mcp 1.11.160 → 1.11.162

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-dlt2Z5Qw.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-DR1oXrCU.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.160";
165
+ const packageVersion = "1.11.162";
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-dlt2Z5Qw.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-DR1oXrCU.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -38050,7 +38050,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38050
38050
  json: data
38051
38051
  }).json();
38052
38052
  }
38053
- async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
38053
+ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
38054
38054
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38055
38055
  signal,
38056
38056
  searchParams: buildSearchParams$2({
@@ -38058,6 +38058,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38058
38058
  date_to,
38059
38059
  task_id,
38060
38060
  status_id,
38061
+ project_id,
38061
38062
  type,
38062
38063
  order_by,
38063
38064
  archived,
@@ -42092,13 +42093,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42092
42093
  }
42093
42094
  //#endregion
42094
42095
  //#region ../focus-queries/dist/capacities/requests.ts
42095
- async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
42096
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
42096
42097
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42097
42098
  signal,
42098
42099
  searchParams: buildSearchParams$2({
42099
- user_id,
42100
42100
  start_date,
42101
42101
  end_date,
42102
+ user_id,
42103
+ team_id,
42102
42104
  private: private_,
42103
42105
  task_source,
42104
42106
  unit,
@@ -42158,6 +42160,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42158
42160
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42159
42161
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42160
42162
  }
42163
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42164
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42165
+ }
42166
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42167
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42168
+ signal,
42169
+ json: data
42170
+ }).json();
42171
+ }
42161
42172
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42162
42173
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42163
42174
  signal,
@@ -42465,9 +42476,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42465
42476
  json: data
42466
42477
  }).json();
42467
42478
  }
42468
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42469
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42470
- }
42471
42479
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42472
42480
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42473
42481
  }
@@ -42771,9 +42779,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42771
42779
  }
42772
42780
  //#endregion
42773
42781
  //#region ../focus-queries/dist/task-groups/requests.ts
42774
- async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
42782
+ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, xTimelineFetchTrigger }, signal) {
42775
42783
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42776
42784
  signal,
42785
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42777
42786
  searchParams: buildSearchParams$2({
42778
42787
  project_id,
42779
42788
  source,
@@ -42806,9 +42815,10 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
42806
42815
  })
42807
42816
  }).json();
42808
42817
  }
42809
- async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
42818
+ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, xTimelineFetchTrigger } = {}, signal) {
42810
42819
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42811
42820
  signal,
42821
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42812
42822
  searchParams: buildSearchParams$2({
42813
42823
  team_id,
42814
42824
  project_id,
@@ -42841,9 +42851,10 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
42841
42851
  })
42842
42852
  }).json();
42843
42853
  }
42844
- async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
42854
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
42845
42855
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42846
42856
  signal,
42857
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42847
42858
  searchParams: buildSearchParams$2({
42848
42859
  source,
42849
42860
  priority,
@@ -43531,6 +43542,7 @@ const generatedFocusOperations = [
43531
43542
  private_: /* @__PURE__ */ unknown$1(),
43532
43543
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43533
43544
  task_source: /* @__PURE__ */ unknown$1(),
43545
+ team_id: /* @__PURE__ */ number$2(),
43534
43546
  unit: /* @__PURE__ */ unknown$1(),
43535
43547
  user_id: /* @__PURE__ */ number$2()
43536
43548
  }),
@@ -43971,6 +43983,33 @@ const generatedFocusOperations = [
43971
43983
  ]));
43972
43984
  }
43973
43985
  },
43986
+ {
43987
+ id: "focus.custom-fields.get-allowed-users",
43988
+ family: "focus",
43989
+ resource: "custom-fields",
43990
+ action: "get-allowed-users",
43991
+ title: "Get Allowed Users Custom Fields",
43992
+ description: "Get Allowed Users Custom Fields.",
43993
+ safety: "read",
43994
+ destructive: false,
43995
+ cli: {
43996
+ group: ["custom-fields"],
43997
+ command: "get-allowed-users",
43998
+ interactive: "available"
43999
+ },
44000
+ mcp: { entityTool: "custom-fields" },
44001
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
44002
+ execute: (input, { client }) => {
44003
+ const data = input;
44004
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
44005
+ client.httpClient,
44006
+ client.organizationId,
44007
+ client.workspaceIdNumber,
44008
+ data.custom_field_id,
44009
+ void 0
44010
+ ]));
44011
+ }
44012
+ },
43974
44013
  {
43975
44014
  id: "focus.custom-fields.list",
43976
44015
  family: "focus",
@@ -44140,6 +44179,37 @@ const generatedFocusOperations = [
44140
44179
  ]));
44141
44180
  }
44142
44181
  },
44182
+ {
44183
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
44184
+ family: "focus",
44185
+ resource: "custom-fields",
44186
+ action: "replace-custom-field-allowed-users",
44187
+ title: "Replace Custom Field Allowed Users Custom Fields",
44188
+ description: "Replace Custom Field Allowed Users Custom Fields.",
44189
+ safety: "update",
44190
+ destructive: false,
44191
+ cli: {
44192
+ group: ["custom-fields"],
44193
+ command: "replace-custom-field-allowed-users",
44194
+ interactive: "default"
44195
+ },
44196
+ mcp: { entityTool: "custom-fields" },
44197
+ inputSchema: /* @__PURE__ */ looseObject({
44198
+ custom_field_id: /* @__PURE__ */ number$2(),
44199
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44200
+ }),
44201
+ execute: (input, { client }) => {
44202
+ const data = input;
44203
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44204
+ client.httpClient,
44205
+ client.organizationId,
44206
+ client.workspaceIdNumber,
44207
+ data.custom_field_id,
44208
+ data.payload ?? data.data ?? data,
44209
+ void 0
44210
+ ]));
44211
+ }
44212
+ },
44143
44213
  {
44144
44214
  id: "focus.custom-fields.update",
44145
44215
  family: "focus",
@@ -44286,13 +44356,7 @@ const generatedFocusOperations = [
44286
44356
  },
44287
44357
  mcp: { entityTool: "goals" },
44288
44358
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44289
- billable: /* @__PURE__ */ boolean$1(),
44290
44359
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44291
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44292
- icon: /* @__PURE__ */ string$1(),
44293
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44294
- name: /* @__PURE__ */ string$1(),
44295
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44296
44360
  recurrence: /* @__PURE__ */ picklist$1([
44297
44361
  "daily",
44298
44362
  "weekly",
@@ -44300,12 +44364,18 @@ const generatedFocusOperations = [
44300
44364
  "monthly"
44301
44365
  ]),
44302
44366
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44303
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44304
44367
  target_seconds: /* @__PURE__ */ number$2(),
44305
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44306
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44368
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44307
44369
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44308
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44370
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44371
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44372
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44373
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44374
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44375
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44376
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44377
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44378
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44309
44379
  }) }),
44310
44380
  execute: (input, { client }) => {
44311
44381
  const data = input;
@@ -44411,13 +44481,6 @@ const generatedFocusOperations = [
44411
44481
  },
44412
44482
  mcp: { entityTool: "goals" },
44413
44483
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44414
- billable: /* @__PURE__ */ boolean$1(),
44415
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44416
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44417
- icon: /* @__PURE__ */ string$1(),
44418
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44419
- name: /* @__PURE__ */ string$1(),
44420
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44421
44484
  recurrence: /* @__PURE__ */ picklist$1([
44422
44485
  "daily",
44423
44486
  "weekly",
@@ -44425,12 +44488,19 @@ const generatedFocusOperations = [
44425
44488
  "monthly"
44426
44489
  ]),
44427
44490
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44428
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44429
- target_seconds: /* @__PURE__ */ number$2(),
44430
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44431
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44491
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44432
44492
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44433
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44493
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44494
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44495
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44496
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44497
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44498
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44499
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44500
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44501
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44502
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44503
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44434
44504
  }) }),
44435
44505
  execute: (input, { client }) => {
44436
44506
  const data = input;
@@ -45945,29 +46015,6 @@ const generatedFocusOperations = [
45945
46015
  ]));
45946
46016
  }
45947
46017
  },
45948
- {
45949
- id: "focus.projects.margin-targets-clear-workspace",
45950
- family: "focus",
45951
- resource: "projects",
45952
- action: "margin-targets-clear-workspace",
45953
- title: "Margin Targets Clear Workspace Projects",
45954
- description: "Margin Targets Clear Workspace Projects.",
45955
- safety: "delete",
45956
- destructive: true,
45957
- cli: {
45958
- group: ["projects", "margin-targets"],
45959
- command: "clear-workspace",
45960
- interactive: "default"
45961
- },
45962
- mcp: { entityTool: "projects" },
45963
- inputSchema: /* @__PURE__ */ looseObject({}),
45964
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
45965
- client.httpClient,
45966
- client.organizationId,
45967
- client.workspaceIdNumber,
45968
- void 0
45969
- ]))
45970
- },
45971
46018
  {
45972
46019
  id: "focus.projects.margin-targets-get",
45973
46020
  family: "focus",
@@ -48370,7 +48417,7 @@ const generatedFocusOperations = [
48370
48417
  cli: {
48371
48418
  group: ["reportschedules"],
48372
48419
  command: "upsert-saved-view-schedule",
48373
- interactive: "default"
48420
+ interactive: "hidden"
48374
48421
  },
48375
48422
  mcp: { entityTool: "reportschedules" },
48376
48423
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48381,8 +48428,10 @@ const generatedFocusOperations = [
48381
48428
  "weekly",
48382
48429
  "monthly"
48383
48430
  ]),
48431
+ charts: /* @__PURE__ */ unknown$1(),
48384
48432
  time: /* @__PURE__ */ string$1(),
48385
48433
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48434
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48386
48435
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48387
48436
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48388
48437
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -50397,7 +50446,8 @@ const generatedFocusOperations = [
50397
50446
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50398
50447
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50399
50448
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50400
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50449
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50450
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50401
50451
  }),
50402
50452
  execute: (input, { client }) => {
50403
50453
  const data = input;
@@ -50454,7 +50504,8 @@ const generatedFocusOperations = [
50454
50504
  tag_id: /* @__PURE__ */ number$2(),
50455
50505
  team_id: /* @__PURE__ */ number$2(),
50456
50506
  user_cf_filter: /* @__PURE__ */ unknown$1(),
50457
- user_tag_id: /* @__PURE__ */ number$2()
50507
+ user_tag_id: /* @__PURE__ */ number$2(),
50508
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50458
50509
  }),
50459
50510
  execute: (input, { client }) => {
50460
50511
  const data = input;
@@ -50510,7 +50561,8 @@ const generatedFocusOperations = [
50510
50561
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50511
50562
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50512
50563
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50513
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50564
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50565
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50514
50566
  }),
50515
50567
  execute: (input, { client }) => {
50516
50568
  const data = input;
@@ -51475,7 +51527,8 @@ const generatedFocusOperations = [
51475
51527
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51476
51528
  "project",
51477
51529
  "task",
51478
- "description"
51530
+ "description",
51531
+ "tags"
51479
51532
  ]) })),
51480
51533
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51481
51534
  }) }),
@@ -51678,6 +51731,7 @@ const generatedFocusOperations = [
51678
51731
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51679
51732
  include_taskless: /* @__PURE__ */ unknown$1(),
51680
51733
  order_by: /* @__PURE__ */ unknown$1(),
51734
+ project_id: /* @__PURE__ */ number$2(),
51681
51735
  status_id: /* @__PURE__ */ number$2(),
51682
51736
  task_id: /* @__PURE__ */ number$2(),
51683
51737
  type: /* @__PURE__ */ unknown$1()
@@ -53295,6 +53349,9 @@ const generatedFocusOperations = [
53295
53349
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53296
53350
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53297
53351
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53352
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53353
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53354
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53298
53355
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53299
53356
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53300
53357
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -54837,7 +54894,7 @@ function registerWorkspaceTools(server) {
54837
54894
  //#region src/package-version.ts
54838
54895
  function mcpPackageVersion() {
54839
54896
  try {
54840
- return "1.11.160";
54897
+ return "1.11.162";
54841
54898
  } catch {
54842
54899
  return "unknown";
54843
54900
  }
@@ -55012,7 +55069,7 @@ import_main.default.config({
55012
55069
  quiet: true,
55013
55070
  ignore: ["MISSING_ENV_FILE"]
55014
55071
  });
55015
- const packageVersion = "1.11.160";
55072
+ const packageVersion = "1.11.162";
55016
55073
  function resolvePublicUrls() {
55017
55074
  return {
55018
55075
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55077,4 +55134,4 @@ function bootstrapServer(options = {}) {
55077
55134
  //#endregion
55078
55135
  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 };
55079
55136
 
55080
- //# sourceMappingURL=src-dlt2Z5Qw.js.map
55137
+ //# sourceMappingURL=src-DR1oXrCU.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.160",
3
+ "version": "1.11.162",
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",