@togglhq/mcp 1.11.27 → 1.11.28
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-CuXxZWE_.js → src-C-HuGKEK.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 initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-
|
|
2
|
+
import { a as initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-C-HuGKEK.js";
|
|
3
3
|
import * as Sentry from "@sentry/node";
|
|
4
4
|
//#region src/analytics-tool-metadata.ts
|
|
5
5
|
/**
|
|
@@ -165,7 +165,7 @@ function wrapServerWithProductAnalytics(server) {
|
|
|
165
165
|
}
|
|
166
166
|
//#endregion
|
|
167
167
|
//#region src/cli.ts
|
|
168
|
-
const packageVersion = "1.11.
|
|
168
|
+
const packageVersion = "1.11.28";
|
|
169
169
|
let sentryEnabled = false;
|
|
170
170
|
let productAnalyticsEnabled = false;
|
|
171
171
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38372,7 +38372,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38372
38372
|
]))
|
|
38373
38373
|
});
|
|
38374
38374
|
//#endregion
|
|
38375
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38375
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.40_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_808568d6d7f6bd297a549bede60d08d3/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38376
38376
|
async function getInvitations(httpClient, signal) {
|
|
38377
38377
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38378
38378
|
}
|
|
@@ -38389,7 +38389,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38389
38389
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38390
38390
|
}
|
|
38391
38391
|
//#endregion
|
|
38392
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38392
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.40_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_808568d6d7f6bd297a549bede60d08d3/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38393
38393
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38394
38394
|
const searchParams = new URLSearchParams();
|
|
38395
38395
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38401,7 +38401,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38401
38401
|
return searchParams;
|
|
38402
38402
|
}
|
|
38403
38403
|
//#endregion
|
|
38404
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38404
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.40_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_808568d6d7f6bd297a549bede60d08d3/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38405
38405
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38406
38406
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38407
38407
|
}
|
|
@@ -38415,7 +38415,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38415
38415
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38416
38416
|
}
|
|
38417
38417
|
//#endregion
|
|
38418
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38418
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.40_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_808568d6d7f6bd297a549bede60d08d3/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38419
38419
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38420
38420
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38421
38421
|
}
|
|
@@ -38435,7 +38435,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38435
38435
|
});
|
|
38436
38436
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38437
38437
|
//#endregion
|
|
38438
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38438
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.40_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_808568d6d7f6bd297a549bede60d08d3/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38439
38439
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38440
38440
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38441
38441
|
signal,
|
|
@@ -38446,12 +38446,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38446
38446
|
})).json();
|
|
38447
38447
|
}
|
|
38448
38448
|
//#endregion
|
|
38449
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38449
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.40_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_808568d6d7f6bd297a549bede60d08d3/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38450
38450
|
async function getStatus(httpClient, signal) {
|
|
38451
38451
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38452
38452
|
}
|
|
38453
38453
|
//#endregion
|
|
38454
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38454
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.40_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_808568d6d7f6bd297a549bede60d08d3/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38455
38455
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38456
38456
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38457
38457
|
signal,
|
|
@@ -38479,7 +38479,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38479
38479
|
return response.json();
|
|
38480
38480
|
}
|
|
38481
38481
|
//#endregion
|
|
38482
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38482
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.40_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_808568d6d7f6bd297a549bede60d08d3/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38483
38483
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38484
38484
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38485
38485
|
}
|
|
@@ -54853,7 +54853,7 @@ function registerWorkspaceTools(server) {
|
|
|
54853
54853
|
//#region src/package-version.ts
|
|
54854
54854
|
function mcpPackageVersion() {
|
|
54855
54855
|
try {
|
|
54856
|
-
return "1.11.
|
|
54856
|
+
return "1.11.28";
|
|
54857
54857
|
} catch {
|
|
54858
54858
|
return "unknown";
|
|
54859
54859
|
}
|
|
@@ -55028,7 +55028,7 @@ import_main.default.config({
|
|
|
55028
55028
|
quiet: true,
|
|
55029
55029
|
ignore: ["MISSING_ENV_FILE"]
|
|
55030
55030
|
});
|
|
55031
|
-
const packageVersion = "1.11.
|
|
55031
|
+
const packageVersion = "1.11.28";
|
|
55032
55032
|
function resolvePublicUrls() {
|
|
55033
55033
|
return {
|
|
55034
55034
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55093,4 +55093,4 @@ function bootstrapServer(options = {}) {
|
|
|
55093
55093
|
//#endregion
|
|
55094
55094
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55095
55095
|
|
|
55096
|
-
//# sourceMappingURL=src-
|
|
55096
|
+
//# sourceMappingURL=src-C-HuGKEK.js.map
|