@togglhq/mcp 1.13.72 → 1.13.74
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-SWoQ7LOL.js → src-drTTnonx.js} +14 -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-drTTnonx.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.74";
|
|
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-drTTnonx.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -35358,6 +35358,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35358
35358
|
workspace_user_id: /* @__PURE__ */ number()
|
|
35359
35359
|
})),
|
|
35360
35360
|
account_locked_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35361
|
+
can_receive_shared_reports: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("CanReceiveSharedReports is false for a member who may not receive a report shared in the requested workspace (a Guest). Present only when the request sets include_shared_report_receiver to true, the member has joined, and the lookup succeeded; always absent for a pending invitee. Absent means unknown, not false."))),
|
|
35361
35362
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
35362
35363
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35363
35364
|
designations: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
@@ -37481,7 +37482,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37481
37482
|
})
|
|
37482
37483
|
}).json();
|
|
37483
37484
|
}
|
|
37484
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, has_designations } = {}, signal) {
|
|
37485
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, include_shared_report_receiver, has_designations } = {}, signal) {
|
|
37485
37486
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37486
37487
|
signal,
|
|
37487
37488
|
searchParams: buildSearchParams$2({
|
|
@@ -37507,6 +37508,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37507
37508
|
include_custom_fields,
|
|
37508
37509
|
include_calendar_integration,
|
|
37509
37510
|
include_designations,
|
|
37511
|
+
include_shared_report_receiver,
|
|
37510
37512
|
has_designations
|
|
37511
37513
|
}, true)
|
|
37512
37514
|
});
|
|
@@ -38486,7 +38488,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38486
38488
|
]))
|
|
38487
38489
|
});
|
|
38488
38490
|
//#endregion
|
|
38489
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38491
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38490
38492
|
async function getInvitations(httpClient, signal) {
|
|
38491
38493
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38492
38494
|
}
|
|
@@ -38503,7 +38505,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38503
38505
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38504
38506
|
}
|
|
38505
38507
|
//#endregion
|
|
38506
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38508
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38507
38509
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38508
38510
|
const searchParams = new URLSearchParams();
|
|
38509
38511
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38515,7 +38517,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38515
38517
|
return searchParams;
|
|
38516
38518
|
}
|
|
38517
38519
|
//#endregion
|
|
38518
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38520
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38519
38521
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38520
38522
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38521
38523
|
}
|
|
@@ -38529,7 +38531,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38529
38531
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38530
38532
|
}
|
|
38531
38533
|
//#endregion
|
|
38532
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38534
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38533
38535
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38534
38536
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38535
38537
|
}
|
|
@@ -38549,7 +38551,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38549
38551
|
});
|
|
38550
38552
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38551
38553
|
//#endregion
|
|
38552
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38554
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38553
38555
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38554
38556
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38555
38557
|
signal,
|
|
@@ -38560,12 +38562,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38560
38562
|
})).json();
|
|
38561
38563
|
}
|
|
38562
38564
|
//#endregion
|
|
38563
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38565
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38564
38566
|
async function getStatus(httpClient, signal) {
|
|
38565
38567
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38566
38568
|
}
|
|
38567
38569
|
//#endregion
|
|
38568
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38570
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38569
38571
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38570
38572
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38571
38573
|
signal,
|
|
@@ -38593,7 +38595,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38593
38595
|
return response.json();
|
|
38594
38596
|
}
|
|
38595
38597
|
//#endregion
|
|
38596
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38598
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38597
38599
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38598
38600
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38599
38601
|
}
|
|
@@ -57931,7 +57933,7 @@ function registerWorkspaceTools(server) {
|
|
|
57931
57933
|
//#region src/package-version.ts
|
|
57932
57934
|
function mcpPackageVersion() {
|
|
57933
57935
|
try {
|
|
57934
|
-
return "1.13.
|
|
57936
|
+
return "1.13.74";
|
|
57935
57937
|
} catch {
|
|
57936
57938
|
return "unknown";
|
|
57937
57939
|
}
|
|
@@ -58112,7 +58114,7 @@ import_main.default.config({
|
|
|
58112
58114
|
quiet: true,
|
|
58113
58115
|
ignore: ["MISSING_ENV_FILE"]
|
|
58114
58116
|
});
|
|
58115
|
-
const packageVersion = "1.13.
|
|
58117
|
+
const packageVersion = "1.13.74";
|
|
58116
58118
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58117
58119
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58118
58120
|
function resolvePublicUrls() {
|
|
@@ -58232,4 +58234,4 @@ function bootstrapServer(options = {}) {
|
|
|
58232
58234
|
//#endregion
|
|
58233
58235
|
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 };
|
|
58234
58236
|
|
|
58235
|
-
//# sourceMappingURL=src-
|
|
58237
|
+
//# sourceMappingURL=src-drTTnonx.js.map
|