@togglhq/mcp 1.13.41 → 1.13.43
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-EJP4FsyV.js → src-sgGd6ozO.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-sgGd6ozO.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.43";
|
|
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-sgGd6ozO.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38453,7 +38453,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38453
38453
|
]))
|
|
38454
38454
|
});
|
|
38455
38455
|
//#endregion
|
|
38456
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38456
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.239_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a247355960ef89e50e2c06218284a572/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38457
38457
|
async function getInvitations(httpClient, signal) {
|
|
38458
38458
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38459
38459
|
}
|
|
@@ -38470,7 +38470,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38470
38470
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38471
38471
|
}
|
|
38472
38472
|
//#endregion
|
|
38473
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38473
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.239_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a247355960ef89e50e2c06218284a572/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38474
38474
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38475
38475
|
const searchParams = new URLSearchParams();
|
|
38476
38476
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38482,7 +38482,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38482
38482
|
return searchParams;
|
|
38483
38483
|
}
|
|
38484
38484
|
//#endregion
|
|
38485
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38485
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.239_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a247355960ef89e50e2c06218284a572/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38486
38486
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38487
38487
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38488
38488
|
}
|
|
@@ -38496,7 +38496,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38496
38496
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38497
38497
|
}
|
|
38498
38498
|
//#endregion
|
|
38499
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38499
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.239_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a247355960ef89e50e2c06218284a572/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38500
38500
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38501
38501
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38502
38502
|
}
|
|
@@ -38516,7 +38516,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38516
38516
|
});
|
|
38517
38517
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38518
38518
|
//#endregion
|
|
38519
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38519
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.239_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a247355960ef89e50e2c06218284a572/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38520
38520
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38521
38521
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38522
38522
|
signal,
|
|
@@ -38527,12 +38527,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38527
38527
|
})).json();
|
|
38528
38528
|
}
|
|
38529
38529
|
//#endregion
|
|
38530
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38530
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.239_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a247355960ef89e50e2c06218284a572/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38531
38531
|
async function getStatus(httpClient, signal) {
|
|
38532
38532
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38533
38533
|
}
|
|
38534
38534
|
//#endregion
|
|
38535
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38535
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.239_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a247355960ef89e50e2c06218284a572/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38536
38536
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38537
38537
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38538
38538
|
signal,
|
|
@@ -38560,7 +38560,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38560
38560
|
return response.json();
|
|
38561
38561
|
}
|
|
38562
38562
|
//#endregion
|
|
38563
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38563
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.239_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a247355960ef89e50e2c06218284a572/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38564
38564
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38565
38565
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38566
38566
|
}
|
|
@@ -57260,7 +57260,7 @@ function registerWorkspaceTools(server) {
|
|
|
57260
57260
|
//#region src/package-version.ts
|
|
57261
57261
|
function mcpPackageVersion() {
|
|
57262
57262
|
try {
|
|
57263
|
-
return "1.13.
|
|
57263
|
+
return "1.13.43";
|
|
57264
57264
|
} catch {
|
|
57265
57265
|
return "unknown";
|
|
57266
57266
|
}
|
|
@@ -57441,7 +57441,7 @@ import_main.default.config({
|
|
|
57441
57441
|
quiet: true,
|
|
57442
57442
|
ignore: ["MISSING_ENV_FILE"]
|
|
57443
57443
|
});
|
|
57444
|
-
const packageVersion = "1.13.
|
|
57444
|
+
const packageVersion = "1.13.43";
|
|
57445
57445
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
57446
57446
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
57447
57447
|
function resolvePublicUrls() {
|
|
@@ -57561,4 +57561,4 @@ function bootstrapServer(options = {}) {
|
|
|
57561
57561
|
//#endregion
|
|
57562
57562
|
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 };
|
|
57563
57563
|
|
|
57564
|
-
//# sourceMappingURL=src-
|
|
57564
|
+
//# sourceMappingURL=src-sgGd6ozO.js.map
|