@togglhq/mcp 1.13.169 → 1.13.170
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-e-0W-aOg.js → src-B7H0XggX.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-B7H0XggX.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.170";
|
|
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-B7H0XggX.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38540,7 +38540,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38540
38540
|
]))
|
|
38541
38541
|
});
|
|
38542
38542
|
//#endregion
|
|
38543
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38543
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.310_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1886201c971b241b4b9d25328b7ca2b/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38544
38544
|
async function getInvitations(httpClient, signal) {
|
|
38545
38545
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38546
38546
|
}
|
|
@@ -38557,7 +38557,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38557
38557
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38558
38558
|
}
|
|
38559
38559
|
//#endregion
|
|
38560
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38560
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.310_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1886201c971b241b4b9d25328b7ca2b/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38561
38561
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38562
38562
|
const searchParams = new URLSearchParams();
|
|
38563
38563
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38569,7 +38569,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38569
38569
|
return searchParams;
|
|
38570
38570
|
}
|
|
38571
38571
|
//#endregion
|
|
38572
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38572
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.310_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1886201c971b241b4b9d25328b7ca2b/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38573
38573
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38574
38574
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38575
38575
|
}
|
|
@@ -38584,7 +38584,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38584
38584
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38585
38585
|
}
|
|
38586
38586
|
//#endregion
|
|
38587
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38587
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.310_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1886201c971b241b4b9d25328b7ca2b/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38588
38588
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38589
38589
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38590
38590
|
}
|
|
@@ -38604,7 +38604,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38604
38604
|
});
|
|
38605
38605
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38606
38606
|
//#endregion
|
|
38607
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38607
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.310_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1886201c971b241b4b9d25328b7ca2b/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38608
38608
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38609
38609
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38610
38610
|
signal,
|
|
@@ -38615,12 +38615,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38615
38615
|
})).json();
|
|
38616
38616
|
}
|
|
38617
38617
|
//#endregion
|
|
38618
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38618
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.310_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1886201c971b241b4b9d25328b7ca2b/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38619
38619
|
async function getStatus(httpClient, signal) {
|
|
38620
38620
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38621
38621
|
}
|
|
38622
38622
|
//#endregion
|
|
38623
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38623
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.310_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1886201c971b241b4b9d25328b7ca2b/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38624
38624
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38625
38625
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38626
38626
|
signal,
|
|
@@ -38648,7 +38648,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38648
38648
|
return response.json();
|
|
38649
38649
|
}
|
|
38650
38650
|
//#endregion
|
|
38651
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38651
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.310_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1886201c971b241b4b9d25328b7ca2b/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38652
38652
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38653
38653
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38654
38654
|
}
|
|
@@ -59311,7 +59311,7 @@ function registerWorkspaceTools(server) {
|
|
|
59311
59311
|
//#region src/package-version.ts
|
|
59312
59312
|
function mcpPackageVersion() {
|
|
59313
59313
|
try {
|
|
59314
|
-
return "1.13.
|
|
59314
|
+
return "1.13.170";
|
|
59315
59315
|
} catch {
|
|
59316
59316
|
return "unknown";
|
|
59317
59317
|
}
|
|
@@ -59492,7 +59492,7 @@ import_main.default.config({
|
|
|
59492
59492
|
quiet: true,
|
|
59493
59493
|
ignore: ["MISSING_ENV_FILE"]
|
|
59494
59494
|
});
|
|
59495
|
-
const packageVersion = "1.13.
|
|
59495
|
+
const packageVersion = "1.13.170";
|
|
59496
59496
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
59497
59497
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
59498
59498
|
function resolvePublicUrls() {
|
|
@@ -59612,4 +59612,4 @@ function bootstrapServer(options = {}) {
|
|
|
59612
59612
|
//#endregion
|
|
59613
59613
|
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 };
|
|
59614
59614
|
|
|
59615
|
-
//# sourceMappingURL=src-
|
|
59615
|
+
//# sourceMappingURL=src-B7H0XggX.js.map
|