@togglhq/mcp 1.13.23 → 1.13.25
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-D0dlLbuz.js → src-VGae1AO2.js} +13 -16
- 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-VGae1AO2.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.25";
|
|
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-VGae1AO2.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -37593,7 +37593,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37593
37593
|
}
|
|
37594
37594
|
//#endregion
|
|
37595
37595
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37596
|
-
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,
|
|
37596
|
+
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) {
|
|
37597
37597
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37598
37598
|
signal,
|
|
37599
37599
|
searchParams: buildSearchParams$2({
|
|
@@ -37623,7 +37623,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
|
|
|
37623
37623
|
client_id,
|
|
37624
37624
|
creator_id,
|
|
37625
37625
|
tag_id,
|
|
37626
|
-
assignee_user_id,
|
|
37627
37626
|
project_id,
|
|
37628
37627
|
user_id,
|
|
37629
37628
|
only_me,
|
|
@@ -38437,7 +38436,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38437
38436
|
]))
|
|
38438
38437
|
});
|
|
38439
38438
|
//#endregion
|
|
38440
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38439
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38441
38440
|
async function getInvitations(httpClient, signal) {
|
|
38442
38441
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38443
38442
|
}
|
|
@@ -38454,7 +38453,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38454
38453
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38455
38454
|
}
|
|
38456
38455
|
//#endregion
|
|
38457
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38456
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38458
38457
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38459
38458
|
const searchParams = new URLSearchParams();
|
|
38460
38459
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38466,7 +38465,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38466
38465
|
return searchParams;
|
|
38467
38466
|
}
|
|
38468
38467
|
//#endregion
|
|
38469
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38468
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38470
38469
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38471
38470
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38472
38471
|
}
|
|
@@ -38480,7 +38479,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38480
38479
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38481
38480
|
}
|
|
38482
38481
|
//#endregion
|
|
38483
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38482
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38484
38483
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38485
38484
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38486
38485
|
}
|
|
@@ -38500,7 +38499,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38500
38499
|
});
|
|
38501
38500
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38502
38501
|
//#endregion
|
|
38503
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38502
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38504
38503
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38505
38504
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38506
38505
|
signal,
|
|
@@ -38511,12 +38510,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38511
38510
|
})).json();
|
|
38512
38511
|
}
|
|
38513
38512
|
//#endregion
|
|
38514
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38513
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38515
38514
|
async function getStatus(httpClient, signal) {
|
|
38516
38515
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38517
38516
|
}
|
|
38518
38517
|
//#endregion
|
|
38519
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38518
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38520
38519
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38521
38520
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38522
38521
|
signal,
|
|
@@ -38544,7 +38543,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38544
38543
|
return response.json();
|
|
38545
38544
|
}
|
|
38546
38545
|
//#endregion
|
|
38547
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38546
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38548
38547
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38549
38548
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38550
38549
|
}
|
|
@@ -43101,7 +43100,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
43101
43100
|
}
|
|
43102
43101
|
//#endregion
|
|
43103
43102
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
43104
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id,
|
|
43103
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
|
|
43105
43104
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
43106
43105
|
signal,
|
|
43107
43106
|
searchParams: buildSearchParams$2({
|
|
@@ -43120,7 +43119,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
43120
43119
|
creator_id,
|
|
43121
43120
|
tag_id,
|
|
43122
43121
|
parent_project_id,
|
|
43123
|
-
assignee_user_id,
|
|
43124
43122
|
project_id,
|
|
43125
43123
|
start_date,
|
|
43126
43124
|
end_date,
|
|
@@ -47107,7 +47105,6 @@ const generatedFocusOperations = [
|
|
|
47107
47105
|
mcp: { entityTool: "projects" },
|
|
47108
47106
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
47109
47107
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
47110
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
47111
47108
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
47112
47109
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
47113
47110
|
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -56929,7 +56926,7 @@ function registerWorkspaceTools(server) {
|
|
|
56929
56926
|
//#region src/package-version.ts
|
|
56930
56927
|
function mcpPackageVersion() {
|
|
56931
56928
|
try {
|
|
56932
|
-
return "1.13.
|
|
56929
|
+
return "1.13.25";
|
|
56933
56930
|
} catch {
|
|
56934
56931
|
return "unknown";
|
|
56935
56932
|
}
|
|
@@ -57110,7 +57107,7 @@ import_main.default.config({
|
|
|
57110
57107
|
quiet: true,
|
|
57111
57108
|
ignore: ["MISSING_ENV_FILE"]
|
|
57112
57109
|
});
|
|
57113
|
-
const packageVersion = "1.13.
|
|
57110
|
+
const packageVersion = "1.13.25";
|
|
57114
57111
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
57115
57112
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
57116
57113
|
function resolvePublicUrls() {
|
|
@@ -57230,4 +57227,4 @@ function bootstrapServer(options = {}) {
|
|
|
57230
57227
|
//#endregion
|
|
57231
57228
|
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 };
|
|
57232
57229
|
|
|
57233
|
-
//# sourceMappingURL=src-
|
|
57230
|
+
//# sourceMappingURL=src-VGae1AO2.js.map
|