@togglhq/mcp 1.13.62 → 1.13.63
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-r5Yw9lPd.js → src-CGcaHPf0.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-CGcaHPf0.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.63";
|
|
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-CGcaHPf0.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38480,7 +38480,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38480
38480
|
]))
|
|
38481
38481
|
});
|
|
38482
38482
|
//#endregion
|
|
38483
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38483
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.249_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ab5579077a8b9d5b52b556cd174b69/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38484
38484
|
async function getInvitations(httpClient, signal) {
|
|
38485
38485
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38486
38486
|
}
|
|
@@ -38497,7 +38497,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38497
38497
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38498
38498
|
}
|
|
38499
38499
|
//#endregion
|
|
38500
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38500
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.249_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ab5579077a8b9d5b52b556cd174b69/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38501
38501
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38502
38502
|
const searchParams = new URLSearchParams();
|
|
38503
38503
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38509,7 +38509,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38509
38509
|
return searchParams;
|
|
38510
38510
|
}
|
|
38511
38511
|
//#endregion
|
|
38512
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38512
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.249_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ab5579077a8b9d5b52b556cd174b69/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38513
38513
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38514
38514
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38515
38515
|
}
|
|
@@ -38523,7 +38523,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38523
38523
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38524
38524
|
}
|
|
38525
38525
|
//#endregion
|
|
38526
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38526
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.249_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ab5579077a8b9d5b52b556cd174b69/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38527
38527
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38528
38528
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38529
38529
|
}
|
|
@@ -38543,7 +38543,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38543
38543
|
});
|
|
38544
38544
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38545
38545
|
//#endregion
|
|
38546
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38546
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.249_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ab5579077a8b9d5b52b556cd174b69/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38547
38547
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38548
38548
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38549
38549
|
signal,
|
|
@@ -38554,12 +38554,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38554
38554
|
})).json();
|
|
38555
38555
|
}
|
|
38556
38556
|
//#endregion
|
|
38557
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38557
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.249_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ab5579077a8b9d5b52b556cd174b69/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38558
38558
|
async function getStatus(httpClient, signal) {
|
|
38559
38559
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38560
38560
|
}
|
|
38561
38561
|
//#endregion
|
|
38562
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38562
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.249_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ab5579077a8b9d5b52b556cd174b69/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38563
38563
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38564
38564
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38565
38565
|
signal,
|
|
@@ -38587,7 +38587,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38587
38587
|
return response.json();
|
|
38588
38588
|
}
|
|
38589
38589
|
//#endregion
|
|
38590
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38590
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.249_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ab5579077a8b9d5b52b556cd174b69/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38591
38591
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38592
38592
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38593
38593
|
}
|
|
@@ -57372,7 +57372,7 @@ function registerWorkspaceTools(server) {
|
|
|
57372
57372
|
//#region src/package-version.ts
|
|
57373
57373
|
function mcpPackageVersion() {
|
|
57374
57374
|
try {
|
|
57375
|
-
return "1.13.
|
|
57375
|
+
return "1.13.63";
|
|
57376
57376
|
} catch {
|
|
57377
57377
|
return "unknown";
|
|
57378
57378
|
}
|
|
@@ -57553,7 +57553,7 @@ import_main.default.config({
|
|
|
57553
57553
|
quiet: true,
|
|
57554
57554
|
ignore: ["MISSING_ENV_FILE"]
|
|
57555
57555
|
});
|
|
57556
|
-
const packageVersion = "1.13.
|
|
57556
|
+
const packageVersion = "1.13.63";
|
|
57557
57557
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
57558
57558
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
57559
57559
|
function resolvePublicUrls() {
|
|
@@ -57673,4 +57673,4 @@ function bootstrapServer(options = {}) {
|
|
|
57673
57673
|
//#endregion
|
|
57674
57674
|
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 };
|
|
57675
57675
|
|
|
57676
|
-
//# sourceMappingURL=src-
|
|
57676
|
+
//# sourceMappingURL=src-CGcaHPf0.js.map
|