@togglhq/mcp 1.13.76 → 1.13.78
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-CIFDmVsQ.js → src-DWxs9sON.js} +191 -12
- package/package.json +1 -1
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-
|
|
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-DWxs9sON.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.
|
|
165
|
+
const packageVersion = "1.13.78";
|
|
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-
|
|
2
|
+
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DWxs9sON.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -37626,7 +37626,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37626
37626
|
}
|
|
37627
37627
|
//#endregion
|
|
37628
37628
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37629
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, 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, 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) {
|
|
37629
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, include_picker_pinned_tasks, 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, 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) {
|
|
37630
37630
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37631
37631
|
signal,
|
|
37632
37632
|
searchParams: buildSearchParams$2({
|
|
@@ -37635,6 +37635,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
|
|
|
37635
37635
|
include_tasks,
|
|
37636
37636
|
unified_search,
|
|
37637
37637
|
include_picker_parent_group_counts,
|
|
37638
|
+
include_picker_pinned_tasks,
|
|
37638
37639
|
task_archived,
|
|
37639
37640
|
task_recurring,
|
|
37640
37641
|
task_state,
|
|
@@ -38488,7 +38489,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38488
38489
|
]))
|
|
38489
38490
|
});
|
|
38490
38491
|
//#endregion
|
|
38491
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38492
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.258_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6b7bc9c86b6ebd72f15d1b5aca14fb35/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38492
38493
|
async function getInvitations(httpClient, signal) {
|
|
38493
38494
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38494
38495
|
}
|
|
@@ -38505,7 +38506,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38505
38506
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38506
38507
|
}
|
|
38507
38508
|
//#endregion
|
|
38508
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38509
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.258_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6b7bc9c86b6ebd72f15d1b5aca14fb35/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38509
38510
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38510
38511
|
const searchParams = new URLSearchParams();
|
|
38511
38512
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38517,7 +38518,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38517
38518
|
return searchParams;
|
|
38518
38519
|
}
|
|
38519
38520
|
//#endregion
|
|
38520
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38521
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.258_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6b7bc9c86b6ebd72f15d1b5aca14fb35/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38521
38522
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38522
38523
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38523
38524
|
}
|
|
@@ -38531,7 +38532,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38531
38532
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38532
38533
|
}
|
|
38533
38534
|
//#endregion
|
|
38534
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38535
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.258_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6b7bc9c86b6ebd72f15d1b5aca14fb35/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38535
38536
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38536
38537
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38537
38538
|
}
|
|
@@ -38551,7 +38552,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38551
38552
|
});
|
|
38552
38553
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38553
38554
|
//#endregion
|
|
38554
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38555
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.258_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6b7bc9c86b6ebd72f15d1b5aca14fb35/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38555
38556
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38556
38557
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38557
38558
|
signal,
|
|
@@ -38562,12 +38563,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38562
38563
|
})).json();
|
|
38563
38564
|
}
|
|
38564
38565
|
//#endregion
|
|
38565
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38566
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.258_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6b7bc9c86b6ebd72f15d1b5aca14fb35/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38566
38567
|
async function getStatus(httpClient, signal) {
|
|
38567
38568
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38568
38569
|
}
|
|
38569
38570
|
//#endregion
|
|
38570
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38571
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.258_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6b7bc9c86b6ebd72f15d1b5aca14fb35/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38571
38572
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38572
38573
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38573
38574
|
signal,
|
|
@@ -38595,7 +38596,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38595
38596
|
return response.json();
|
|
38596
38597
|
}
|
|
38597
38598
|
//#endregion
|
|
38598
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38599
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.258_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6b7bc9c86b6ebd72f15d1b5aca14fb35/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38599
38600
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38600
38601
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38601
38602
|
}
|
|
@@ -42595,6 +42596,21 @@ async function runAiView(httpClient, organization_id, workspace_id, data, signal
|
|
|
42595
42596
|
}).json();
|
|
42596
42597
|
}
|
|
42597
42598
|
//#endregion
|
|
42599
|
+
//#region ../focus-queries/dist/archived-clients/requests.ts
|
|
42600
|
+
async function getArchivedClientsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name } = {}, signal) {
|
|
42601
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/clients`, {
|
|
42602
|
+
signal,
|
|
42603
|
+
searchParams: buildSearchParams$2({
|
|
42604
|
+
page,
|
|
42605
|
+
per_page,
|
|
42606
|
+
name
|
|
42607
|
+
})
|
|
42608
|
+
}).json();
|
|
42609
|
+
}
|
|
42610
|
+
async function getArchivedClient(httpClient, organization_id, workspace_id, client_id, signal) {
|
|
42611
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/clients/${client_id}`, { signal }).json();
|
|
42612
|
+
}
|
|
42613
|
+
//#endregion
|
|
42598
42614
|
//#region ../focus-queries/dist/archived-projects/requests.ts
|
|
42599
42615
|
async function getArchivedProjectsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name, client_id } = {}, signal) {
|
|
42600
42616
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/projects`, {
|
|
@@ -42611,6 +42627,22 @@ async function getArchivedProject(httpClient, organization_id, workspace_id, pro
|
|
|
42611
42627
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/projects/${project_id}`, { signal }).json();
|
|
42612
42628
|
}
|
|
42613
42629
|
//#endregion
|
|
42630
|
+
//#region ../focus-queries/dist/archived-tasks/requests.ts
|
|
42631
|
+
async function getArchivedTasksClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name, project_id } = {}, signal) {
|
|
42632
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/tasks`, {
|
|
42633
|
+
signal,
|
|
42634
|
+
searchParams: buildSearchParams$2({
|
|
42635
|
+
page,
|
|
42636
|
+
per_page,
|
|
42637
|
+
name,
|
|
42638
|
+
project_id
|
|
42639
|
+
})
|
|
42640
|
+
}).json();
|
|
42641
|
+
}
|
|
42642
|
+
async function getArchivedTask(httpClient, organization_id, workspace_id, task_id, signal) {
|
|
42643
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/tasks/${task_id}`, { signal }).json();
|
|
42644
|
+
}
|
|
42645
|
+
//#endregion
|
|
42614
42646
|
//#region ../focus-queries/dist/archived-time-entries/requests.ts
|
|
42615
42647
|
async function getArchivedTimeEntriesClassic(httpClient, organization_id, workspace_id, { date_from, date_to, page = 1, per_page, task_id, project_id }, signal) {
|
|
42616
42648
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries`, {
|
|
@@ -42625,6 +42657,9 @@ async function getArchivedTimeEntriesClassic(httpClient, organization_id, worksp
|
|
|
42625
42657
|
})
|
|
42626
42658
|
}).json();
|
|
42627
42659
|
}
|
|
42660
|
+
async function getArchivedTimeEntry(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
42661
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries/${time_entry_id}`, { signal }).json();
|
|
42662
|
+
}
|
|
42628
42663
|
//#endregion
|
|
42629
42664
|
//#region ../focus-queries/dist/attachments/requests.ts
|
|
42630
42665
|
async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
|
|
@@ -44701,6 +44736,64 @@ const generatedFocusOperations = [
|
|
|
44701
44736
|
return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
|
|
44702
44737
|
}
|
|
44703
44738
|
},
|
|
44739
|
+
{
|
|
44740
|
+
id: "focus.archived-clients.get",
|
|
44741
|
+
family: "focus",
|
|
44742
|
+
resource: "archived-clients",
|
|
44743
|
+
action: "get",
|
|
44744
|
+
title: "Get Archived Clients",
|
|
44745
|
+
description: "Get Archived Clients.",
|
|
44746
|
+
safety: "read",
|
|
44747
|
+
destructive: false,
|
|
44748
|
+
cli: {
|
|
44749
|
+
group: ["archived-clients"],
|
|
44750
|
+
command: "get",
|
|
44751
|
+
interactive: "available"
|
|
44752
|
+
},
|
|
44753
|
+
mcp: { entityTool: "archived-clients" },
|
|
44754
|
+
inputSchema: /* @__PURE__ */ looseObject({ client_id: /* @__PURE__ */ number$2() }),
|
|
44755
|
+
execute: (input, { client }) => {
|
|
44756
|
+
const data = input;
|
|
44757
|
+
return client.runGeneratedRequest("getArchivedClient", () => callGeneratedRequest(getArchivedClient, [
|
|
44758
|
+
client.httpClient,
|
|
44759
|
+
client.organizationId,
|
|
44760
|
+
client.workspaceIdNumber,
|
|
44761
|
+
data.client_id,
|
|
44762
|
+
void 0
|
|
44763
|
+
]));
|
|
44764
|
+
}
|
|
44765
|
+
},
|
|
44766
|
+
{
|
|
44767
|
+
id: "focus.archived-clients.get-classic",
|
|
44768
|
+
family: "focus",
|
|
44769
|
+
resource: "archived-clients",
|
|
44770
|
+
action: "get-classic",
|
|
44771
|
+
title: "Get Classic Archived Clients",
|
|
44772
|
+
description: "Get Classic Archived Clients.",
|
|
44773
|
+
safety: "read",
|
|
44774
|
+
destructive: false,
|
|
44775
|
+
cli: {
|
|
44776
|
+
group: ["archived-clients"],
|
|
44777
|
+
command: "get-classic",
|
|
44778
|
+
interactive: "hidden"
|
|
44779
|
+
},
|
|
44780
|
+
mcp: { entityTool: "archived-clients" },
|
|
44781
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44782
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44783
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44784
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
44785
|
+
}),
|
|
44786
|
+
execute: (input, { client }) => {
|
|
44787
|
+
const data = input;
|
|
44788
|
+
return client.runGeneratedRequest("getArchivedClientsClassic", () => callGeneratedRequest(getArchivedClientsClassic, [
|
|
44789
|
+
client.httpClient,
|
|
44790
|
+
client.organizationId,
|
|
44791
|
+
client.workspaceIdNumber,
|
|
44792
|
+
data,
|
|
44793
|
+
void 0
|
|
44794
|
+
]));
|
|
44795
|
+
}
|
|
44796
|
+
},
|
|
44704
44797
|
{
|
|
44705
44798
|
id: "focus.archived-projects.get",
|
|
44706
44799
|
family: "focus",
|
|
@@ -44760,6 +44853,65 @@ const generatedFocusOperations = [
|
|
|
44760
44853
|
]));
|
|
44761
44854
|
}
|
|
44762
44855
|
},
|
|
44856
|
+
{
|
|
44857
|
+
id: "focus.archived-tasks.get",
|
|
44858
|
+
family: "focus",
|
|
44859
|
+
resource: "archived-tasks",
|
|
44860
|
+
action: "get",
|
|
44861
|
+
title: "Get Archived Tasks",
|
|
44862
|
+
description: "Get Archived Tasks.",
|
|
44863
|
+
safety: "read",
|
|
44864
|
+
destructive: false,
|
|
44865
|
+
cli: {
|
|
44866
|
+
group: ["archived-tasks"],
|
|
44867
|
+
command: "get",
|
|
44868
|
+
interactive: "available"
|
|
44869
|
+
},
|
|
44870
|
+
mcp: { entityTool: "archived-tasks" },
|
|
44871
|
+
inputSchema: /* @__PURE__ */ looseObject({ task_id: /* @__PURE__ */ number$2() }),
|
|
44872
|
+
execute: (input, { client }) => {
|
|
44873
|
+
const data = input;
|
|
44874
|
+
return client.runGeneratedRequest("getArchivedTask", () => callGeneratedRequest(getArchivedTask, [
|
|
44875
|
+
client.httpClient,
|
|
44876
|
+
client.organizationId,
|
|
44877
|
+
client.workspaceIdNumber,
|
|
44878
|
+
data.task_id,
|
|
44879
|
+
void 0
|
|
44880
|
+
]));
|
|
44881
|
+
}
|
|
44882
|
+
},
|
|
44883
|
+
{
|
|
44884
|
+
id: "focus.archived-tasks.get-classic",
|
|
44885
|
+
family: "focus",
|
|
44886
|
+
resource: "archived-tasks",
|
|
44887
|
+
action: "get-classic",
|
|
44888
|
+
title: "Get Classic Archived Tasks",
|
|
44889
|
+
description: "Get Classic Archived Tasks.",
|
|
44890
|
+
safety: "read",
|
|
44891
|
+
destructive: false,
|
|
44892
|
+
cli: {
|
|
44893
|
+
group: ["archived-tasks"],
|
|
44894
|
+
command: "get-classic",
|
|
44895
|
+
interactive: "hidden"
|
|
44896
|
+
},
|
|
44897
|
+
mcp: { entityTool: "archived-tasks" },
|
|
44898
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44899
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44900
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44901
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44902
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44903
|
+
}),
|
|
44904
|
+
execute: (input, { client }) => {
|
|
44905
|
+
const data = input;
|
|
44906
|
+
return client.runGeneratedRequest("getArchivedTasksClassic", () => callGeneratedRequest(getArchivedTasksClassic, [
|
|
44907
|
+
client.httpClient,
|
|
44908
|
+
client.organizationId,
|
|
44909
|
+
client.workspaceIdNumber,
|
|
44910
|
+
data,
|
|
44911
|
+
void 0
|
|
44912
|
+
]));
|
|
44913
|
+
}
|
|
44914
|
+
},
|
|
44763
44915
|
{
|
|
44764
44916
|
id: "focus.archived-time-entries.get",
|
|
44765
44917
|
family: "focus",
|
|
@@ -44794,6 +44946,33 @@ const generatedFocusOperations = [
|
|
|
44794
44946
|
]));
|
|
44795
44947
|
}
|
|
44796
44948
|
},
|
|
44949
|
+
{
|
|
44950
|
+
id: "focus.archived-time-entries.get-get",
|
|
44951
|
+
family: "focus",
|
|
44952
|
+
resource: "archived-time-entries",
|
|
44953
|
+
action: "get-get",
|
|
44954
|
+
title: "Get Get Archived Time Entries",
|
|
44955
|
+
description: "Get Get Archived Time Entries.",
|
|
44956
|
+
safety: "read",
|
|
44957
|
+
destructive: false,
|
|
44958
|
+
cli: {
|
|
44959
|
+
group: ["archived-time-entries"],
|
|
44960
|
+
command: "get-get",
|
|
44961
|
+
interactive: "available"
|
|
44962
|
+
},
|
|
44963
|
+
mcp: { entityTool: "archived-time-entries" },
|
|
44964
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
44965
|
+
execute: (input, { client }) => {
|
|
44966
|
+
const data = input;
|
|
44967
|
+
return client.runGeneratedRequest("getArchivedTimeEntry", () => callGeneratedRequest(getArchivedTimeEntry, [
|
|
44968
|
+
client.httpClient,
|
|
44969
|
+
client.organizationId,
|
|
44970
|
+
client.workspaceIdNumber,
|
|
44971
|
+
data.time_entry_id,
|
|
44972
|
+
void 0
|
|
44973
|
+
]));
|
|
44974
|
+
}
|
|
44975
|
+
},
|
|
44797
44976
|
{
|
|
44798
44977
|
id: "focus.attachments.get-workspace-attachment-storage",
|
|
44799
44978
|
family: "focus",
|
|
@@ -57982,7 +58161,7 @@ function registerWorkspaceTools(server) {
|
|
|
57982
58161
|
//#region src/package-version.ts
|
|
57983
58162
|
function mcpPackageVersion() {
|
|
57984
58163
|
try {
|
|
57985
|
-
return "1.13.
|
|
58164
|
+
return "1.13.78";
|
|
57986
58165
|
} catch {
|
|
57987
58166
|
return "unknown";
|
|
57988
58167
|
}
|
|
@@ -58163,7 +58342,7 @@ import_main.default.config({
|
|
|
58163
58342
|
quiet: true,
|
|
58164
58343
|
ignore: ["MISSING_ENV_FILE"]
|
|
58165
58344
|
});
|
|
58166
|
-
const packageVersion = "1.13.
|
|
58345
|
+
const packageVersion = "1.13.78";
|
|
58167
58346
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58168
58347
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58169
58348
|
function resolvePublicUrls() {
|
|
@@ -58283,4 +58462,4 @@ function bootstrapServer(options = {}) {
|
|
|
58283
58462
|
//#endregion
|
|
58284
58463
|
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 };
|
|
58285
58464
|
|
|
58286
|
-
//# sourceMappingURL=src-
|
|
58465
|
+
//# sourceMappingURL=src-DWxs9sON.js.map
|