@togglhq/mcp 1.13.2 → 1.13.3
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-B6rTtBIK.js → src-BMQRIg24.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-BMQRIg24.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.3";
|
|
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-BMQRIg24.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38423,7 +38423,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38423
38423
|
]))
|
|
38424
38424
|
});
|
|
38425
38425
|
//#endregion
|
|
38426
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38426
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38427
38427
|
async function getInvitations(httpClient, signal) {
|
|
38428
38428
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38429
38429
|
}
|
|
@@ -38440,7 +38440,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38440
38440
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38441
38441
|
}
|
|
38442
38442
|
//#endregion
|
|
38443
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38443
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38444
38444
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38445
38445
|
const searchParams = new URLSearchParams();
|
|
38446
38446
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38452,7 +38452,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38452
38452
|
return searchParams;
|
|
38453
38453
|
}
|
|
38454
38454
|
//#endregion
|
|
38455
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38455
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38456
38456
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38457
38457
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38458
38458
|
}
|
|
@@ -38466,7 +38466,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38466
38466
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38467
38467
|
}
|
|
38468
38468
|
//#endregion
|
|
38469
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38469
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38470
38470
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38471
38471
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38472
38472
|
}
|
|
@@ -38486,7 +38486,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38486
38486
|
});
|
|
38487
38487
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38488
38488
|
//#endregion
|
|
38489
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38489
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38490
38490
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38491
38491
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38492
38492
|
signal,
|
|
@@ -38497,12 +38497,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38497
38497
|
})).json();
|
|
38498
38498
|
}
|
|
38499
38499
|
//#endregion
|
|
38500
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38500
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38501
38501
|
async function getStatus(httpClient, signal) {
|
|
38502
38502
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38503
38503
|
}
|
|
38504
38504
|
//#endregion
|
|
38505
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38505
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38506
38506
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38507
38507
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38508
38508
|
signal,
|
|
@@ -38530,7 +38530,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38530
38530
|
return response.json();
|
|
38531
38531
|
}
|
|
38532
38532
|
//#endregion
|
|
38533
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38533
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38534
38534
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38535
38535
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38536
38536
|
}
|
|
@@ -56727,7 +56727,7 @@ function registerWorkspaceTools(server) {
|
|
|
56727
56727
|
//#region src/package-version.ts
|
|
56728
56728
|
function mcpPackageVersion() {
|
|
56729
56729
|
try {
|
|
56730
|
-
return "1.13.
|
|
56730
|
+
return "1.13.3";
|
|
56731
56731
|
} catch {
|
|
56732
56732
|
return "unknown";
|
|
56733
56733
|
}
|
|
@@ -56908,7 +56908,7 @@ import_main.default.config({
|
|
|
56908
56908
|
quiet: true,
|
|
56909
56909
|
ignore: ["MISSING_ENV_FILE"]
|
|
56910
56910
|
});
|
|
56911
|
-
const packageVersion = "1.13.
|
|
56911
|
+
const packageVersion = "1.13.3";
|
|
56912
56912
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
56913
56913
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
56914
56914
|
function resolvePublicUrls() {
|
|
@@ -57028,4 +57028,4 @@ function bootstrapServer(options = {}) {
|
|
|
57028
57028
|
//#endregion
|
|
57029
57029
|
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 };
|
|
57030
57030
|
|
|
57031
|
-
//# sourceMappingURL=src-
|
|
57031
|
+
//# sourceMappingURL=src-BMQRIg24.js.map
|