@togglhq/mcp 1.11.16 → 1.11.17
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-bFTvwOa3.js → src-DGDBq7KJ.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-DGDBq7KJ.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.17";
|
|
169
169
|
let sentryEnabled = false;
|
|
170
170
|
let productAnalyticsEnabled = false;
|
|
171
171
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38422,7 +38422,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38422
38422
|
]))
|
|
38423
38423
|
});
|
|
38424
38424
|
//#endregion
|
|
38425
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38425
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.27_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a6d26e07263f2a63be273a04e83ccb45/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38426
38426
|
async function getInvitations(httpClient, signal) {
|
|
38427
38427
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38428
38428
|
}
|
|
@@ -38439,7 +38439,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38439
38439
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38440
38440
|
}
|
|
38441
38441
|
//#endregion
|
|
38442
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38442
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.27_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a6d26e07263f2a63be273a04e83ccb45/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38443
38443
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38444
38444
|
const searchParams = new URLSearchParams();
|
|
38445
38445
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38451,7 +38451,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38451
38451
|
return searchParams;
|
|
38452
38452
|
}
|
|
38453
38453
|
//#endregion
|
|
38454
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38454
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.27_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a6d26e07263f2a63be273a04e83ccb45/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38455
38455
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38456
38456
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38457
38457
|
}
|
|
@@ -38465,7 +38465,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38465
38465
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38466
38466
|
}
|
|
38467
38467
|
//#endregion
|
|
38468
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38468
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.27_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a6d26e07263f2a63be273a04e83ccb45/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38469
38469
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38470
38470
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38471
38471
|
}
|
|
@@ -38485,7 +38485,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38485
38485
|
});
|
|
38486
38486
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38487
38487
|
//#endregion
|
|
38488
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38488
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.27_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a6d26e07263f2a63be273a04e83ccb45/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38489
38489
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38490
38490
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38491
38491
|
signal,
|
|
@@ -38496,12 +38496,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38496
38496
|
})).json();
|
|
38497
38497
|
}
|
|
38498
38498
|
//#endregion
|
|
38499
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38499
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.27_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a6d26e07263f2a63be273a04e83ccb45/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38500
38500
|
async function getStatus(httpClient, signal) {
|
|
38501
38501
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38502
38502
|
}
|
|
38503
38503
|
//#endregion
|
|
38504
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38504
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.27_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a6d26e07263f2a63be273a04e83ccb45/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38505
38505
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38506
38506
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38507
38507
|
signal,
|
|
@@ -38529,7 +38529,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38529
38529
|
return response.json();
|
|
38530
38530
|
}
|
|
38531
38531
|
//#endregion
|
|
38532
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38532
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.27_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a6d26e07263f2a63be273a04e83ccb45/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38533
38533
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38534
38534
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38535
38535
|
}
|
|
@@ -55122,7 +55122,7 @@ function registerWorkspaceTools(server) {
|
|
|
55122
55122
|
//#region src/package-version.ts
|
|
55123
55123
|
function mcpPackageVersion() {
|
|
55124
55124
|
try {
|
|
55125
|
-
return "1.11.
|
|
55125
|
+
return "1.11.17";
|
|
55126
55126
|
} catch {
|
|
55127
55127
|
return "unknown";
|
|
55128
55128
|
}
|
|
@@ -55297,7 +55297,7 @@ import_main.default.config({
|
|
|
55297
55297
|
quiet: true,
|
|
55298
55298
|
ignore: ["MISSING_ENV_FILE"]
|
|
55299
55299
|
});
|
|
55300
|
-
const packageVersion = "1.11.
|
|
55300
|
+
const packageVersion = "1.11.17";
|
|
55301
55301
|
function resolvePublicUrls() {
|
|
55302
55302
|
return {
|
|
55303
55303
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55362,4 +55362,4 @@ function bootstrapServer(options = {}) {
|
|
|
55362
55362
|
//#endregion
|
|
55363
55363
|
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 };
|
|
55364
55364
|
|
|
55365
|
-
//# sourceMappingURL=src-
|
|
55365
|
+
//# sourceMappingURL=src-DGDBq7KJ.js.map
|