@togglhq/mcp 1.13.36 → 1.13.37
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-CO-yo5gD.js → src-CCrw6sJD.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-CCrw6sJD.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.37";
|
|
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-CCrw6sJD.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38436,7 +38436,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38436
38436
|
]))
|
|
38437
38437
|
});
|
|
38438
38438
|
//#endregion
|
|
38439
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38439
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.238_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_473ff1639e08ba4de5c675c9fb78399a/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38440
38440
|
async function getInvitations(httpClient, signal) {
|
|
38441
38441
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38442
38442
|
}
|
|
@@ -38453,7 +38453,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38453
38453
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38454
38454
|
}
|
|
38455
38455
|
//#endregion
|
|
38456
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38456
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.238_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_473ff1639e08ba4de5c675c9fb78399a/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38457
38457
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38458
38458
|
const searchParams = new URLSearchParams();
|
|
38459
38459
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38465,7 +38465,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38465
38465
|
return searchParams;
|
|
38466
38466
|
}
|
|
38467
38467
|
//#endregion
|
|
38468
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38468
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.238_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_473ff1639e08ba4de5c675c9fb78399a/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38469
38469
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38470
38470
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38471
38471
|
}
|
|
@@ -38479,7 +38479,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38479
38479
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38480
38480
|
}
|
|
38481
38481
|
//#endregion
|
|
38482
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38482
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.238_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_473ff1639e08ba4de5c675c9fb78399a/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38483
38483
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38484
38484
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38485
38485
|
}
|
|
@@ -38499,7 +38499,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38499
38499
|
});
|
|
38500
38500
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38501
38501
|
//#endregion
|
|
38502
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38502
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.238_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_473ff1639e08ba4de5c675c9fb78399a/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38503
38503
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38504
38504
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38505
38505
|
signal,
|
|
@@ -38510,12 +38510,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38510
38510
|
})).json();
|
|
38511
38511
|
}
|
|
38512
38512
|
//#endregion
|
|
38513
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38513
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.238_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_473ff1639e08ba4de5c675c9fb78399a/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38514
38514
|
async function getStatus(httpClient, signal) {
|
|
38515
38515
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38516
38516
|
}
|
|
38517
38517
|
//#endregion
|
|
38518
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38518
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.238_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_473ff1639e08ba4de5c675c9fb78399a/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38519
38519
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38520
38520
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38521
38521
|
signal,
|
|
@@ -38543,7 +38543,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38543
38543
|
return response.json();
|
|
38544
38544
|
}
|
|
38545
38545
|
//#endregion
|
|
38546
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38546
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.238_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_473ff1639e08ba4de5c675c9fb78399a/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38547
38547
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38548
38548
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38549
38549
|
}
|
|
@@ -57229,7 +57229,7 @@ function registerWorkspaceTools(server) {
|
|
|
57229
57229
|
//#region src/package-version.ts
|
|
57230
57230
|
function mcpPackageVersion() {
|
|
57231
57231
|
try {
|
|
57232
|
-
return "1.13.
|
|
57232
|
+
return "1.13.37";
|
|
57233
57233
|
} catch {
|
|
57234
57234
|
return "unknown";
|
|
57235
57235
|
}
|
|
@@ -57410,7 +57410,7 @@ import_main.default.config({
|
|
|
57410
57410
|
quiet: true,
|
|
57411
57411
|
ignore: ["MISSING_ENV_FILE"]
|
|
57412
57412
|
});
|
|
57413
|
-
const packageVersion = "1.13.
|
|
57413
|
+
const packageVersion = "1.13.37";
|
|
57414
57414
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
57415
57415
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
57416
57416
|
function resolvePublicUrls() {
|
|
@@ -57530,4 +57530,4 @@ function bootstrapServer(options = {}) {
|
|
|
57530
57530
|
//#endregion
|
|
57531
57531
|
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 };
|
|
57532
57532
|
|
|
57533
|
-
//# sourceMappingURL=src-
|
|
57533
|
+
//# sourceMappingURL=src-CCrw6sJD.js.map
|