@togglhq/mcp 1.11.2 → 1.11.4
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-CX4gwVKi.js → src-Us_sEvGs.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-Us_sEvGs.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.4";
|
|
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.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/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.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38393
38393
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
38394
38394
|
function withResponseMeta(data, headers, status) {
|
|
38395
38395
|
if (!data) return data;
|
|
@@ -38416,7 +38416,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38416
38416
|
return searchParams;
|
|
38417
38417
|
}
|
|
38418
38418
|
//#endregion
|
|
38419
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38419
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38420
38420
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38421
38421
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38422
38422
|
}
|
|
@@ -38430,7 +38430,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38430
38430
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38431
38431
|
}
|
|
38432
38432
|
//#endregion
|
|
38433
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38433
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38434
38434
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38435
38435
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38436
38436
|
}
|
|
@@ -38450,7 +38450,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38450
38450
|
});
|
|
38451
38451
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38452
38452
|
//#endregion
|
|
38453
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38453
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/public-holidays/requests.mjs
|
|
38454
38454
|
async function getPublicHolidaysHolidayDomain(httpClient, year, { country, organization_id } = {}, signal) {
|
|
38455
38455
|
const response = await httpClient.get(`holidays/publicholidays/${year}`, {
|
|
38456
38456
|
signal,
|
|
@@ -38462,12 +38462,12 @@ async function getPublicHolidaysHolidayDomain(httpClient, year, { country, organ
|
|
|
38462
38462
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
38463
38463
|
}
|
|
38464
38464
|
//#endregion
|
|
38465
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38465
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38466
38466
|
async function getStatus(httpClient, signal) {
|
|
38467
38467
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38468
38468
|
}
|
|
38469
38469
|
//#endregion
|
|
38470
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38470
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38471
38471
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38472
38472
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38473
38473
|
signal,
|
|
@@ -38495,7 +38495,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38495
38495
|
return response.json();
|
|
38496
38496
|
}
|
|
38497
38497
|
//#endregion
|
|
38498
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38498
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38499
38499
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38500
38500
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38501
38501
|
}
|
|
@@ -54849,7 +54849,7 @@ function registerWorkspaceTools(server) {
|
|
|
54849
54849
|
//#region src/package-version.ts
|
|
54850
54850
|
function mcpPackageVersion() {
|
|
54851
54851
|
try {
|
|
54852
|
-
return "1.11.
|
|
54852
|
+
return "1.11.4";
|
|
54853
54853
|
} catch {
|
|
54854
54854
|
return "unknown";
|
|
54855
54855
|
}
|
|
@@ -55024,7 +55024,7 @@ import_main.default.config({
|
|
|
55024
55024
|
quiet: true,
|
|
55025
55025
|
ignore: ["MISSING_ENV_FILE"]
|
|
55026
55026
|
});
|
|
55027
|
-
const packageVersion = "1.11.
|
|
55027
|
+
const packageVersion = "1.11.4";
|
|
55028
55028
|
function resolvePublicUrls() {
|
|
55029
55029
|
return {
|
|
55030
55030
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55089,4 +55089,4 @@ function bootstrapServer(options = {}) {
|
|
|
55089
55089
|
//#endregion
|
|
55090
55090
|
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 };
|
|
55091
55091
|
|
|
55092
|
-
//# sourceMappingURL=src-
|
|
55092
|
+
//# sourceMappingURL=src-Us_sEvGs.js.map
|