@togglhq/mcp 1.13.12 → 1.13.14
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-DnFDiAD4.js → src-CjHXSRD4.js} +14 -13
- 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-CjHXSRD4.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.14";
|
|
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-CjHXSRD4.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -37453,7 +37453,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37453
37453
|
})
|
|
37454
37454
|
}).json();
|
|
37455
37455
|
}
|
|
37456
|
-
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 } = {}, signal) {
|
|
37456
|
+
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) {
|
|
37457
37457
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37458
37458
|
signal,
|
|
37459
37459
|
searchParams: buildSearchParams$2({
|
|
@@ -37478,7 +37478,8 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37478
37478
|
cf_filter,
|
|
37479
37479
|
include_custom_fields,
|
|
37480
37480
|
include_calendar_integration,
|
|
37481
|
-
include_designations
|
|
37481
|
+
include_designations,
|
|
37482
|
+
has_designations
|
|
37482
37483
|
}, true)
|
|
37483
37484
|
});
|
|
37484
37485
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -38430,7 +38431,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38430
38431
|
]))
|
|
38431
38432
|
});
|
|
38432
38433
|
//#endregion
|
|
38433
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38434
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.213_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ff28ed38c885a525105fcb346d38fb17/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38434
38435
|
async function getInvitations(httpClient, signal) {
|
|
38435
38436
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38436
38437
|
}
|
|
@@ -38447,7 +38448,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38447
38448
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38448
38449
|
}
|
|
38449
38450
|
//#endregion
|
|
38450
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38451
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.213_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ff28ed38c885a525105fcb346d38fb17/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38451
38452
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38452
38453
|
const searchParams = new URLSearchParams();
|
|
38453
38454
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38459,7 +38460,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38459
38460
|
return searchParams;
|
|
38460
38461
|
}
|
|
38461
38462
|
//#endregion
|
|
38462
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38463
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.213_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ff28ed38c885a525105fcb346d38fb17/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38463
38464
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38464
38465
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38465
38466
|
}
|
|
@@ -38473,7 +38474,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38473
38474
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38474
38475
|
}
|
|
38475
38476
|
//#endregion
|
|
38476
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38477
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.213_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ff28ed38c885a525105fcb346d38fb17/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38477
38478
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38478
38479
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38479
38480
|
}
|
|
@@ -38493,7 +38494,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38493
38494
|
});
|
|
38494
38495
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38495
38496
|
//#endregion
|
|
38496
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38497
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.213_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ff28ed38c885a525105fcb346d38fb17/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38497
38498
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38498
38499
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38499
38500
|
signal,
|
|
@@ -38504,12 +38505,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38504
38505
|
})).json();
|
|
38505
38506
|
}
|
|
38506
38507
|
//#endregion
|
|
38507
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38508
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.213_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ff28ed38c885a525105fcb346d38fb17/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38508
38509
|
async function getStatus(httpClient, signal) {
|
|
38509
38510
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38510
38511
|
}
|
|
38511
38512
|
//#endregion
|
|
38512
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38513
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.213_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ff28ed38c885a525105fcb346d38fb17/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38513
38514
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38514
38515
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38515
38516
|
signal,
|
|
@@ -38537,7 +38538,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38537
38538
|
return response.json();
|
|
38538
38539
|
}
|
|
38539
38540
|
//#endregion
|
|
38540
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38541
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.213_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ff28ed38c885a525105fcb346d38fb17/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38541
38542
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38542
38543
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38543
38544
|
}
|
|
@@ -56756,7 +56757,7 @@ function registerWorkspaceTools(server) {
|
|
|
56756
56757
|
//#region src/package-version.ts
|
|
56757
56758
|
function mcpPackageVersion() {
|
|
56758
56759
|
try {
|
|
56759
|
-
return "1.13.
|
|
56760
|
+
return "1.13.14";
|
|
56760
56761
|
} catch {
|
|
56761
56762
|
return "unknown";
|
|
56762
56763
|
}
|
|
@@ -56937,7 +56938,7 @@ import_main.default.config({
|
|
|
56937
56938
|
quiet: true,
|
|
56938
56939
|
ignore: ["MISSING_ENV_FILE"]
|
|
56939
56940
|
});
|
|
56940
|
-
const packageVersion = "1.13.
|
|
56941
|
+
const packageVersion = "1.13.14";
|
|
56941
56942
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
56942
56943
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
56943
56944
|
function resolvePublicUrls() {
|
|
@@ -57057,4 +57058,4 @@ function bootstrapServer(options = {}) {
|
|
|
57057
57058
|
//#endregion
|
|
57058
57059
|
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 };
|
|
57059
57060
|
|
|
57060
|
-
//# sourceMappingURL=src-
|
|
57061
|
+
//# sourceMappingURL=src-CjHXSRD4.js.map
|