@togglhq/mcp 1.12.1 → 1.12.3
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 +2 -2
- package/build/index.js +1 -1
- package/build/{src-DYV7bKjL.js → src-BrxAkZDF.js} +28 -60
- package/package.json +1 -1
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-
|
|
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-BrxAkZDF.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.12.
|
|
165
|
+
const packageVersion = "1.12.3";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -37382,7 +37382,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37382
37382
|
}
|
|
37383
37383
|
//#endregion
|
|
37384
37384
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37385
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37385
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37386
37386
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37387
37387
|
signal,
|
|
37388
37388
|
searchParams: buildSearchParams$2({
|
|
@@ -37397,6 +37397,8 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
|
|
|
37397
37397
|
task_assignee_team_id,
|
|
37398
37398
|
task_include_unassigned,
|
|
37399
37399
|
task_name,
|
|
37400
|
+
task_occurrence_window_date,
|
|
37401
|
+
task_occurrence_window_days,
|
|
37400
37402
|
page,
|
|
37401
37403
|
per_page,
|
|
37402
37404
|
order_by,
|
|
@@ -37646,7 +37648,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37646
37648
|
}
|
|
37647
37649
|
//#endregion
|
|
37648
37650
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37649
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter
|
|
37651
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
37650
37652
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37651
37653
|
signal,
|
|
37652
37654
|
searchParams: buildSearchParams$2({
|
|
@@ -37676,6 +37678,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37676
37678
|
end_date_to,
|
|
37677
37679
|
dates_overlap_start,
|
|
37678
37680
|
dates_overlap_end,
|
|
37681
|
+
occurrence_window_date,
|
|
37682
|
+
occurrence_window_days,
|
|
37679
37683
|
estimated_mins_min,
|
|
37680
37684
|
estimated_mins_max,
|
|
37681
37685
|
source,
|
|
@@ -37693,11 +37697,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37693
37697
|
include_assignees,
|
|
37694
37698
|
include_parent_matches,
|
|
37695
37699
|
disable_aggregations,
|
|
37696
|
-
cf_filter
|
|
37697
|
-
recurring_occurrences_after,
|
|
37698
|
-
max_recurring_occurrences_after,
|
|
37699
|
-
recurring_task_read,
|
|
37700
|
-
include_projected_occurrences
|
|
37700
|
+
cf_filter
|
|
37701
37701
|
})
|
|
37702
37702
|
}).json();
|
|
37703
37703
|
}
|
|
@@ -37782,7 +37782,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
37782
37782
|
})
|
|
37783
37783
|
}).json();
|
|
37784
37784
|
}
|
|
37785
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37785
|
+
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, occurrence_window_date, occurrence_window_days, page, per_page } = {}, signal) {
|
|
37786
37786
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
37787
37787
|
signal,
|
|
37788
37788
|
searchParams: buildSearchParams$2({
|
|
@@ -37792,6 +37792,8 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
|
|
|
37792
37792
|
include_unassigned,
|
|
37793
37793
|
search,
|
|
37794
37794
|
only_me,
|
|
37795
|
+
occurrence_window_date,
|
|
37796
|
+
occurrence_window_days,
|
|
37795
37797
|
page,
|
|
37796
37798
|
per_page
|
|
37797
37799
|
})
|
|
@@ -37811,7 +37813,7 @@ async function getPickerTaskChildrenClassic(httpClient, organization_id, workspa
|
|
|
37811
37813
|
})
|
|
37812
37814
|
}).json();
|
|
37813
37815
|
}
|
|
37814
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees
|
|
37816
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
37815
37817
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37816
37818
|
signal,
|
|
37817
37819
|
searchParams: buildSearchParams$2({
|
|
@@ -37827,15 +37829,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37827
37829
|
assignee_team_id,
|
|
37828
37830
|
assignee_user_id,
|
|
37829
37831
|
tag_id,
|
|
37830
|
-
include_assignees
|
|
37831
|
-
recurring_occurrences_after,
|
|
37832
|
-
max_recurring_occurrences_after,
|
|
37833
|
-
recurring_task_read,
|
|
37834
|
-
include_projected_occurrences
|
|
37832
|
+
include_assignees
|
|
37835
37833
|
})
|
|
37836
37834
|
}).json();
|
|
37837
37835
|
}
|
|
37838
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter
|
|
37836
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
37839
37837
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37840
37838
|
signal,
|
|
37841
37839
|
searchParams: buildSearchParams$2({
|
|
@@ -37864,6 +37862,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37864
37862
|
end_date_to,
|
|
37865
37863
|
dates_overlap_start,
|
|
37866
37864
|
dates_overlap_end,
|
|
37865
|
+
occurrence_window_date,
|
|
37866
|
+
occurrence_window_days,
|
|
37867
37867
|
estimated_mins_min,
|
|
37868
37868
|
estimated_mins_max,
|
|
37869
37869
|
source,
|
|
@@ -37878,11 +37878,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37878
37878
|
recurring_task_ids,
|
|
37879
37879
|
client_id,
|
|
37880
37880
|
include_assignees,
|
|
37881
|
-
cf_filter
|
|
37882
|
-
recurring_occurrences_after,
|
|
37883
|
-
max_recurring_occurrences_after,
|
|
37884
|
-
recurring_task_read,
|
|
37885
|
-
include_projected_occurrences
|
|
37881
|
+
cf_filter
|
|
37886
37882
|
})
|
|
37887
37883
|
}).json();
|
|
37888
37884
|
}
|
|
@@ -43270,7 +43266,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43270
43266
|
}
|
|
43271
43267
|
//#endregion
|
|
43272
43268
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
43273
|
-
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,
|
|
43269
|
+
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) {
|
|
43274
43270
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43275
43271
|
signal,
|
|
43276
43272
|
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
@@ -43302,15 +43298,11 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43302
43298
|
min_days,
|
|
43303
43299
|
include_drafts,
|
|
43304
43300
|
cf_filter,
|
|
43305
|
-
user_cf_filter
|
|
43306
|
-
recurring_occurrences_after,
|
|
43307
|
-
max_recurring_occurrences_after,
|
|
43308
|
-
recurring_task_read,
|
|
43309
|
-
include_projected_occurrences
|
|
43301
|
+
user_cf_filter
|
|
43310
43302
|
})
|
|
43311
43303
|
}).json();
|
|
43312
43304
|
}
|
|
43313
|
-
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,
|
|
43305
|
+
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) {
|
|
43314
43306
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43315
43307
|
signal,
|
|
43316
43308
|
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
@@ -43342,15 +43334,11 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43342
43334
|
min_days,
|
|
43343
43335
|
include_drafts,
|
|
43344
43336
|
cf_filter,
|
|
43345
|
-
user_cf_filter
|
|
43346
|
-
recurring_occurrences_after,
|
|
43347
|
-
max_recurring_occurrences_after,
|
|
43348
|
-
recurring_task_read,
|
|
43349
|
-
include_projected_occurrences
|
|
43337
|
+
user_cf_filter
|
|
43350
43338
|
})
|
|
43351
43339
|
}).json();
|
|
43352
43340
|
}
|
|
43353
|
-
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,
|
|
43341
|
+
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) {
|
|
43354
43342
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43355
43343
|
signal,
|
|
43356
43344
|
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
@@ -43383,10 +43371,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43383
43371
|
include_drafts,
|
|
43384
43372
|
cf_filter,
|
|
43385
43373
|
user_cf_filter,
|
|
43386
|
-
recurring_occurrences_after,
|
|
43387
|
-
max_recurring_occurrences_after,
|
|
43388
|
-
recurring_task_read,
|
|
43389
|
-
include_projected_occurrences,
|
|
43390
43374
|
page,
|
|
43391
43375
|
per_page,
|
|
43392
43376
|
order_by
|
|
@@ -51408,6 +51392,8 @@ const generatedFocusOperations = [
|
|
|
51408
51392
|
mcp: { entityTool: "tasks" },
|
|
51409
51393
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51410
51394
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51395
|
+
occurrence_window_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51396
|
+
occurrence_window_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51411
51397
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51412
51398
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51413
51399
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51450,13 +51436,9 @@ const generatedFocusOperations = [
|
|
|
51450
51436
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51451
51437
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51452
51438
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51453
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51454
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51455
51439
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51456
51440
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51457
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51458
51441
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51459
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51460
51442
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51461
51443
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51462
51444
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -51508,10 +51490,10 @@ const generatedFocusOperations = [
|
|
|
51508
51490
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51509
51491
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51510
51492
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51511
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51512
51493
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51513
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51514
51494
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51495
|
+
occurrence_window_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51496
|
+
occurrence_window_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51515
51497
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51516
51498
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51517
51499
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51519,9 +51501,7 @@ const generatedFocusOperations = [
|
|
|
51519
51501
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51520
51502
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51521
51503
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51522
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51523
51504
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51524
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51525
51505
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51526
51506
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51527
51507
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51657,10 +51637,8 @@ const generatedFocusOperations = [
|
|
|
51657
51637
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51658
51638
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51659
51639
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51660
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51661
51640
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51662
51641
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51663
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51664
51642
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51665
51643
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51666
51644
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51669,8 +51647,6 @@ const generatedFocusOperations = [
|
|
|
51669
51647
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51670
51648
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51671
51649
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51672
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51673
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51674
51650
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51675
51651
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51676
51652
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51722,17 +51698,13 @@ const generatedFocusOperations = [
|
|
|
51722
51698
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51723
51699
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51724
51700
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51725
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51726
51701
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51727
51702
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51728
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51729
51703
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51730
51704
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51731
51705
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51732
51706
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51733
51707
|
project_id: /* @__PURE__ */ number$2(),
|
|
51734
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51735
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51736
51708
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51737
51709
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51738
51710
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51783,17 +51755,13 @@ const generatedFocusOperations = [
|
|
|
51783
51755
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51784
51756
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51785
51757
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51786
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51787
51758
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51788
51759
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51789
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51790
51760
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51791
51761
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51792
51762
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51793
51763
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51794
51764
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51795
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51796
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51797
51765
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51798
51766
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51799
51767
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -56560,7 +56528,7 @@ function registerWorkspaceTools(server) {
|
|
|
56560
56528
|
//#region src/package-version.ts
|
|
56561
56529
|
function mcpPackageVersion() {
|
|
56562
56530
|
try {
|
|
56563
|
-
return "1.12.
|
|
56531
|
+
return "1.12.3";
|
|
56564
56532
|
} catch {
|
|
56565
56533
|
return "unknown";
|
|
56566
56534
|
}
|
|
@@ -56741,7 +56709,7 @@ import_main.default.config({
|
|
|
56741
56709
|
quiet: true,
|
|
56742
56710
|
ignore: ["MISSING_ENV_FILE"]
|
|
56743
56711
|
});
|
|
56744
|
-
const packageVersion = "1.12.
|
|
56712
|
+
const packageVersion = "1.12.3";
|
|
56745
56713
|
function resolvePublicUrls() {
|
|
56746
56714
|
return {
|
|
56747
56715
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56846,4 +56814,4 @@ function bootstrapServer(options = {}) {
|
|
|
56846
56814
|
//#endregion
|
|
56847
56815
|
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 };
|
|
56848
56816
|
|
|
56849
|
-
//# sourceMappingURL=src-
|
|
56817
|
+
//# sourceMappingURL=src-BrxAkZDF.js.map
|