@togglhq/mcp 1.13.76 → 1.13.77
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-p23eoN1Q.js} +43 -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-p23eoN1Q.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.77";
|
|
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-p23eoN1Q.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.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/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.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/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.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/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.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/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.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/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.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/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.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/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.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/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
|
}
|
|
@@ -42625,6 +42626,9 @@ async function getArchivedTimeEntriesClassic(httpClient, organization_id, worksp
|
|
|
42625
42626
|
})
|
|
42626
42627
|
}).json();
|
|
42627
42628
|
}
|
|
42629
|
+
async function getArchivedTimeEntry(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
42630
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries/${time_entry_id}`, { signal }).json();
|
|
42631
|
+
}
|
|
42628
42632
|
//#endregion
|
|
42629
42633
|
//#region ../focus-queries/dist/attachments/requests.ts
|
|
42630
42634
|
async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
|
|
@@ -44794,6 +44798,33 @@ const generatedFocusOperations = [
|
|
|
44794
44798
|
]));
|
|
44795
44799
|
}
|
|
44796
44800
|
},
|
|
44801
|
+
{
|
|
44802
|
+
id: "focus.archived-time-entries.get-get",
|
|
44803
|
+
family: "focus",
|
|
44804
|
+
resource: "archived-time-entries",
|
|
44805
|
+
action: "get-get",
|
|
44806
|
+
title: "Get Get Archived Time Entries",
|
|
44807
|
+
description: "Get Get Archived Time Entries.",
|
|
44808
|
+
safety: "read",
|
|
44809
|
+
destructive: false,
|
|
44810
|
+
cli: {
|
|
44811
|
+
group: ["archived-time-entries"],
|
|
44812
|
+
command: "get-get",
|
|
44813
|
+
interactive: "available"
|
|
44814
|
+
},
|
|
44815
|
+
mcp: { entityTool: "archived-time-entries" },
|
|
44816
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
44817
|
+
execute: (input, { client }) => {
|
|
44818
|
+
const data = input;
|
|
44819
|
+
return client.runGeneratedRequest("getArchivedTimeEntry", () => callGeneratedRequest(getArchivedTimeEntry, [
|
|
44820
|
+
client.httpClient,
|
|
44821
|
+
client.organizationId,
|
|
44822
|
+
client.workspaceIdNumber,
|
|
44823
|
+
data.time_entry_id,
|
|
44824
|
+
void 0
|
|
44825
|
+
]));
|
|
44826
|
+
}
|
|
44827
|
+
},
|
|
44797
44828
|
{
|
|
44798
44829
|
id: "focus.attachments.get-workspace-attachment-storage",
|
|
44799
44830
|
family: "focus",
|
|
@@ -57982,7 +58013,7 @@ function registerWorkspaceTools(server) {
|
|
|
57982
58013
|
//#region src/package-version.ts
|
|
57983
58014
|
function mcpPackageVersion() {
|
|
57984
58015
|
try {
|
|
57985
|
-
return "1.13.
|
|
58016
|
+
return "1.13.77";
|
|
57986
58017
|
} catch {
|
|
57987
58018
|
return "unknown";
|
|
57988
58019
|
}
|
|
@@ -58163,7 +58194,7 @@ import_main.default.config({
|
|
|
58163
58194
|
quiet: true,
|
|
58164
58195
|
ignore: ["MISSING_ENV_FILE"]
|
|
58165
58196
|
});
|
|
58166
|
-
const packageVersion = "1.13.
|
|
58197
|
+
const packageVersion = "1.13.77";
|
|
58167
58198
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58168
58199
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58169
58200
|
function resolvePublicUrls() {
|
|
@@ -58283,4 +58314,4 @@ function bootstrapServer(options = {}) {
|
|
|
58283
58314
|
//#endregion
|
|
58284
58315
|
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
58316
|
|
|
58286
|
-
//# sourceMappingURL=src-
|
|
58317
|
+
//# sourceMappingURL=src-p23eoN1Q.js.map
|