@togglhq/mcp 1.13.20 → 1.13.22
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-C1tBYzQ0.js → src-DavExieV.js} +11 -11
- 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-DavExieV.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.22";
|
|
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-DavExieV.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38437,7 +38437,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38437
38437
|
]))
|
|
38438
38438
|
});
|
|
38439
38439
|
//#endregion
|
|
38440
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38440
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.218_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b09d83e157ca794398c814e7cb494c55/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38441
38441
|
async function getInvitations(httpClient, signal) {
|
|
38442
38442
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38443
38443
|
}
|
|
@@ -38454,7 +38454,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38454
38454
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38455
38455
|
}
|
|
38456
38456
|
//#endregion
|
|
38457
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38457
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.218_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b09d83e157ca794398c814e7cb494c55/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38458
38458
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38459
38459
|
const searchParams = new URLSearchParams();
|
|
38460
38460
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38466,7 +38466,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38466
38466
|
return searchParams;
|
|
38467
38467
|
}
|
|
38468
38468
|
//#endregion
|
|
38469
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38469
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.218_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b09d83e157ca794398c814e7cb494c55/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38470
38470
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38471
38471
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38472
38472
|
}
|
|
@@ -38480,7 +38480,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38480
38480
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38481
38481
|
}
|
|
38482
38482
|
//#endregion
|
|
38483
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38483
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.218_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b09d83e157ca794398c814e7cb494c55/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38484
38484
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38485
38485
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38486
38486
|
}
|
|
@@ -38500,7 +38500,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38500
38500
|
});
|
|
38501
38501
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38502
38502
|
//#endregion
|
|
38503
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38503
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.218_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b09d83e157ca794398c814e7cb494c55/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38504
38504
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38505
38505
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38506
38506
|
signal,
|
|
@@ -38511,12 +38511,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38511
38511
|
})).json();
|
|
38512
38512
|
}
|
|
38513
38513
|
//#endregion
|
|
38514
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38514
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.218_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b09d83e157ca794398c814e7cb494c55/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38515
38515
|
async function getStatus(httpClient, signal) {
|
|
38516
38516
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38517
38517
|
}
|
|
38518
38518
|
//#endregion
|
|
38519
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38519
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.218_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b09d83e157ca794398c814e7cb494c55/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38520
38520
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38521
38521
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38522
38522
|
signal,
|
|
@@ -38544,7 +38544,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38544
38544
|
return response.json();
|
|
38545
38545
|
}
|
|
38546
38546
|
//#endregion
|
|
38547
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38547
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.218_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b09d83e157ca794398c814e7cb494c55/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38548
38548
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38549
38549
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38550
38550
|
}
|
|
@@ -56763,7 +56763,7 @@ function registerWorkspaceTools(server) {
|
|
|
56763
56763
|
//#region src/package-version.ts
|
|
56764
56764
|
function mcpPackageVersion() {
|
|
56765
56765
|
try {
|
|
56766
|
-
return "1.13.
|
|
56766
|
+
return "1.13.22";
|
|
56767
56767
|
} catch {
|
|
56768
56768
|
return "unknown";
|
|
56769
56769
|
}
|
|
@@ -56944,7 +56944,7 @@ import_main.default.config({
|
|
|
56944
56944
|
quiet: true,
|
|
56945
56945
|
ignore: ["MISSING_ENV_FILE"]
|
|
56946
56946
|
});
|
|
56947
|
-
const packageVersion = "1.13.
|
|
56947
|
+
const packageVersion = "1.13.22";
|
|
56948
56948
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
56949
56949
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
56950
56950
|
function resolvePublicUrls() {
|
|
@@ -57064,4 +57064,4 @@ function bootstrapServer(options = {}) {
|
|
|
57064
57064
|
//#endregion
|
|
57065
57065
|
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 };
|
|
57066
57066
|
|
|
57067
|
-
//# sourceMappingURL=src-
|
|
57067
|
+
//# sourceMappingURL=src-DavExieV.js.map
|